@unocss/inspector 0.49.1 → 0.49.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,280 +0,0 @@
1
- (function(){const h=document.createElement("link").relList;if(h&&h.supports&&h.supports("modulepreload"))return;for(const x of document.querySelectorAll('link[rel="modulepreload"]'))g(x);new MutationObserver(x=>{for(const S of x)if(S.type==="childList")for(const W of S.addedNodes)W.tagName==="LINK"&&W.rel==="modulepreload"&&g(W)}).observe(document,{childList:!0,subtree:!0});function c(x){const S={};return x.integrity&&(S.integrity=x.integrity),x.referrerpolicy&&(S.referrerPolicy=x.referrerpolicy),x.crossorigin==="use-credentials"?S.credentials="include":x.crossorigin==="anonymous"?S.credentials="omit":S.credentials="same-origin",S}function g(x){if(x.ep)return;x.ep=!0;const S=c(x);fetch(x.href,S)}})();const Km="modulepreload",Jm=function(i){return"/__unocss/"+i},rf={},kh=function(h,c,g){if(!c||c.length===0)return h();const x=document.getElementsByTagName("link");return Promise.all(c.map(S=>{if(S=Jm(S),S in rf)return;rf[S]=!0;const W=S.endsWith(".css"),ie=W?'[rel="stylesheet"]':"";if(!!g)for(let De=x.length-1;De>=0;De--){const Ve=x[De];if(Ve.href===S&&(!W||Ve.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${S}"]${ie}`))return;const ve=document.createElement("link");if(ve.rel=W?"stylesheet":Km,W||(ve.as="script",ve.crossOrigin=""),ve.href=S,document.head.appendChild(ve),W)return new Promise((De,Ve)=>{ve.addEventListener("load",De),ve.addEventListener("error",()=>Ve(new Error(`Unable to preload CSS for ${S}`)))})})).then(()=>h())};function Ph(i,h){const c=Object.create(null),g=i.split(",");for(let x=0;x<g.length;x++)c[g[x]]=!0;return h?x=>!!c[x.toLowerCase()]:x=>!!c[x]}const Xm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ym=Ph(Xm);function xd(i){return!!i||i===""}function tp(i){if(Qi(i)){const h={};for(let c=0;c<i.length;c++){const g=i[c],x=io(g)?eg(g):tp(g);if(x)for(const S in x)h[S]=x[S]}return h}else{if(io(i))return i;if(ea(i))return i}}const Qm=/;(?![^(]*\))/g,Zm=/:(.+)/;function eg(i){const h={};return i.split(Qm).forEach(c=>{if(c){const g=c.split(Zm);g.length>1&&(h[g[0].trim()]=g[1].trim())}}),h}function Ac(i){let h="";if(io(i))h=i;else if(Qi(i))for(let c=0;c<i.length;c++){const g=Ac(i[c]);g&&(h+=g+" ")}else if(ea(i))for(const c in i)i[c]&&(h+=c+" ");return h.trim()}function tg(i,h){if(i.length!==h.length)return!1;let c=!0;for(let g=0;c&&g<i.length;g++)c=kp(i[g],h[g]);return c}function kp(i,h){if(i===h)return!0;let c=nf(i),g=nf(h);if(c||g)return c&&g?i.getTime()===h.getTime():!1;if(c=Gc(i),g=Gc(h),c||g)return i===h;if(c=Qi(i),g=Qi(h),c||g)return c&&g?tg(i,h):!1;if(c=ea(i),g=ea(h),c||g){if(!c||!g)return!1;const x=Object.keys(i).length,S=Object.keys(h).length;if(x!==S)return!1;for(const W in i){const ie=i.hasOwnProperty(W),de=h.hasOwnProperty(W);if(ie&&!de||!ie&&de||!kp(i[W],h[W]))return!1}}return String(i)===String(h)}function Cd(i,h){return i.findIndex(c=>kp(c,h))}const jo=i=>io(i)?i:i==null?"":Qi(i)||ea(i)&&(i.toString===Ad||!ys(i.toString))?JSON.stringify(i,Ed,2):String(i),Ed=(i,h)=>h&&h.__v_isRef?Ed(i,h.value):Cc(h)?{[`Map(${h.size})`]:[...h.entries()].reduce((c,[g,x])=>(c[`${g} =>`]=x,c),{})}:Np(h)?{[`Set(${h.size})`]:[...h.values()]}:ea(h)&&!Qi(h)&&!wd(h)?String(h):h,Ks={},xc=[],Ju=()=>{},rg=()=>!1,ng=/^on[^a-z]/,Pp=i=>ng.test(i),Nh=i=>i.startsWith("onUpdate:"),To=Object.assign,Bh=(i,h)=>{const c=i.indexOf(h);c>-1&&i.splice(c,1)},ig=Object.prototype.hasOwnProperty,_s=(i,h)=>ig.call(i,h),Qi=Array.isArray,Cc=i=>rp(i)==="[object Map]",Np=i=>rp(i)==="[object Set]",nf=i=>rp(i)==="[object Date]",ys=i=>typeof i=="function",io=i=>typeof i=="string",Gc=i=>typeof i=="symbol",ea=i=>i!==null&&typeof i=="object",bd=i=>ea(i)&&ys(i.then)&&ys(i.catch),Ad=Object.prototype.toString,rp=i=>Ad.call(i),sg=i=>rp(i).slice(8,-1),wd=i=>rp(i)==="[object Object]",_h=i=>io(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,hp=Ph(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bp=i=>{const h=Object.create(null);return c=>h[c]||(h[c]=i(c))},ag=/-(\w)/g,Dl=Bp(i=>i.replace(ag,(h,c)=>c?c.toUpperCase():"")),og=/\B([A-Z])/g,Pc=Bp(i=>i.replace(og,"-$1").toLowerCase()),_p=Bp(i=>i.charAt(0).toUpperCase()+i.slice(1)),Jp=Bp(i=>i?`on${_p(i)}`:""),Kc=(i,h)=>!Object.is(i,h),fp=(i,h)=>{for(let c=0;c<i.length;c++)i[c](h)},yp=(i,h,c)=>{Object.defineProperty(i,h,{configurable:!0,enumerable:!1,value:c})},ug=i=>{const h=parseFloat(i);return isNaN(h)?i:h};let sf;const lg=()=>sf||(sf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let au;class cg{constructor(h=!1){this.active=!0,this.effects=[],this.cleanups=[],!h&&au&&(this.parent=au,this.index=(au.scopes||(au.scopes=[])).push(this)-1)}run(h){if(this.active){const c=au;try{return au=this,h()}finally{au=c}}}on(){au=this}off(){au=this.parent}stop(h){if(this.active){let c,g;for(c=0,g=this.effects.length;c<g;c++)this.effects[c].stop();for(c=0,g=this.cleanups.length;c<g;c++)this.cleanups[c]();if(this.scopes)for(c=0,g=this.scopes.length;c<g;c++)this.scopes[c].stop(!0);if(this.parent&&!h){const x=this.parent.scopes.pop();x&&x!==this&&(this.parent.scopes[this.index]=x,x.index=this.index)}this.active=!1}}}function pg(i,h=au){h&&h.active&&h.effects.push(i)}function hg(){return au}function fg(i){au&&au.cleanups.push(i)}const Ih=i=>{const h=new Set(i);return h.w=0,h.n=0,h},Td=i=>(i.w&tc)>0,Sd=i=>(i.n&tc)>0,dg=({deps:i})=>{if(i.length)for(let h=0;h<i.length;h++)i[h].w|=tc},mg=i=>{const{deps:h}=i;if(h.length){let c=0;for(let g=0;g<h.length;g++){const x=h[g];Td(x)&&!Sd(x)?x.delete(i):h[c++]=x,x.w&=~tc,x.n&=~tc}h.length=c}},ih=new WeakMap;let $c=0,tc=1;const sh=30;let Gu;const mc=Symbol(""),ah=Symbol("");class Oh{constructor(h,c=null,g){this.fn=h,this.scheduler=c,this.active=!0,this.deps=[],this.parent=void 0,pg(this,g)}run(){if(!this.active)return this.fn();let h=Gu,c=Zl;for(;h;){if(h===this)return;h=h.parent}try{return this.parent=Gu,Gu=this,Zl=!0,tc=1<<++$c,$c<=sh?dg(this):af(this),this.fn()}finally{$c<=sh&&mg(this),tc=1<<--$c,Gu=this.parent,Zl=c,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Gu===this?this.deferStop=!0:this.active&&(af(this),this.onStop&&this.onStop(),this.active=!1)}}function af(i){const{deps:h}=i;if(h.length){for(let c=0;c<h.length;c++)h[c].delete(i);h.length=0}}let Zl=!0;const Fd=[];function Nc(){Fd.push(Zl),Zl=!1}function Bc(){const i=Fd.pop();Zl=i===void 0?!0:i}function ou(i,h,c){if(Zl&&Gu){let g=ih.get(i);g||ih.set(i,g=new Map);let x=g.get(c);x||g.set(c,x=Ih()),kd(x)}}function kd(i,h){let c=!1;$c<=sh?Sd(i)||(i.n|=tc,c=!Td(i)):c=!i.has(Gu),c&&(i.add(Gu),Gu.deps.push(i))}function $l(i,h,c,g,x,S){const W=ih.get(i);if(!W)return;let ie=[];if(h==="clear")ie=[...W.values()];else if(c==="length"&&Qi(i))W.forEach((de,ve)=>{(ve==="length"||ve>=g)&&ie.push(de)});else switch(c!==void 0&&ie.push(W.get(c)),h){case"add":Qi(i)?_h(c)&&ie.push(W.get("length")):(ie.push(W.get(mc)),Cc(i)&&ie.push(W.get(ah)));break;case"delete":Qi(i)||(ie.push(W.get(mc)),Cc(i)&&ie.push(W.get(ah)));break;case"set":Cc(i)&&ie.push(W.get(mc));break}if(ie.length===1)ie[0]&&oh(ie[0]);else{const de=[];for(const ve of ie)ve&&de.push(...ve);oh(Ih(de))}}function oh(i,h){const c=Qi(i)?i:[...i];for(const g of c)g.computed&&of(g);for(const g of c)g.computed||of(g)}function of(i,h){(i!==Gu||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}const gg=Ph("__proto__,__v_isRef,__isVue"),Pd=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(Gc)),yg=Lh(),Dg=Lh(!1,!0),vg=Lh(!0),uf=xg();function xg(){const i={};return["includes","indexOf","lastIndexOf"].forEach(h=>{i[h]=function(...c){const g=Ls(this);for(let S=0,W=this.length;S<W;S++)ou(g,"get",S+"");const x=g[h](...c);return x===-1||x===!1?g[h](...c.map(Ls)):x}}),["push","pop","shift","unshift","splice"].forEach(h=>{i[h]=function(...c){Nc();const g=Ls(this)[h].apply(this,c);return Bc(),g}}),i}function Lh(i=!1,h=!1){return function(g,x,S){if(x==="__v_isReactive")return!i;if(x==="__v_isReadonly")return i;if(x==="__v_isShallow")return h;if(x==="__v_raw"&&S===(i?h?Lg:Od:h?Id:_d).get(g))return g;const W=Qi(g);if(!i&&W&&_s(uf,x))return Reflect.get(uf,x,S);const ie=Reflect.get(g,x,S);return(Gc(x)?Pd.has(x):gg(x))||(i||ou(g,"get",x),h)?ie:wa(ie)?W&&_h(x)?ie:ie.value:ea(ie)?i?Ld(ie):_c(ie):ie}}const Cg=Nd(),Eg=Nd(!0);function Nd(i=!1){return function(c,g,x,S){let W=c[g];if(wc(W)&&wa(W)&&!wa(x))return!1;if(!i&&(!Dp(x)&&!wc(x)&&(W=Ls(W),x=Ls(x)),!Qi(c)&&wa(W)&&!wa(x)))return W.value=x,!0;const ie=Qi(c)&&_h(g)?Number(g)<c.length:_s(c,g),de=Reflect.set(c,g,x,S);return c===Ls(S)&&(ie?Kc(x,W)&&$l(c,"set",g,x):$l(c,"add",g,x)),de}}function bg(i,h){const c=_s(i,h);i[h];const g=Reflect.deleteProperty(i,h);return g&&c&&$l(i,"delete",h,void 0),g}function Ag(i,h){const c=Reflect.has(i,h);return(!Gc(h)||!Pd.has(h))&&ou(i,"has",h),c}function wg(i){return ou(i,"iterate",Qi(i)?"length":mc),Reflect.ownKeys(i)}const Bd={get:yg,set:Cg,deleteProperty:bg,has:Ag,ownKeys:wg},Tg={get:vg,set(i,h){return!0},deleteProperty(i,h){return!0}},Sg=To({},Bd,{get:Dg,set:Eg}),Mh=i=>i,Ip=i=>Reflect.getPrototypeOf(i);function ip(i,h,c=!1,g=!1){i=i.__v_raw;const x=Ls(i),S=Ls(h);c||(h!==S&&ou(x,"get",h),ou(x,"get",S));const{has:W}=Ip(x),ie=g?Mh:c?$h:Jc;if(W.call(x,h))return ie(i.get(h));if(W.call(x,S))return ie(i.get(S));i!==x&&i.get(h)}function sp(i,h=!1){const c=this.__v_raw,g=Ls(c),x=Ls(i);return h||(i!==x&&ou(g,"has",i),ou(g,"has",x)),i===x?c.has(i):c.has(i)||c.has(x)}function ap(i,h=!1){return i=i.__v_raw,!h&&ou(Ls(i),"iterate",mc),Reflect.get(i,"size",i)}function lf(i){i=Ls(i);const h=Ls(this);return Ip(h).has.call(h,i)||(h.add(i),$l(h,"add",i,i)),this}function cf(i,h){h=Ls(h);const c=Ls(this),{has:g,get:x}=Ip(c);let S=g.call(c,i);S||(i=Ls(i),S=g.call(c,i));const W=x.call(c,i);return c.set(i,h),S?Kc(h,W)&&$l(c,"set",i,h):$l(c,"add",i,h),this}function pf(i){const h=Ls(this),{has:c,get:g}=Ip(h);let x=c.call(h,i);x||(i=Ls(i),x=c.call(h,i)),g&&g.call(h,i);const S=h.delete(i);return x&&$l(h,"delete",i,void 0),S}function hf(){const i=Ls(this),h=i.size!==0,c=i.clear();return h&&$l(i,"clear",void 0,void 0),c}function op(i,h){return function(g,x){const S=this,W=S.__v_raw,ie=Ls(W),de=h?Mh:i?$h:Jc;return!i&&ou(ie,"iterate",mc),W.forEach((ve,De)=>g.call(x,de(ve),de(De),S))}}function up(i,h,c){return function(...g){const x=this.__v_raw,S=Ls(x),W=Cc(S),ie=i==="entries"||i===Symbol.iterator&&W,de=i==="keys"&&W,ve=x[i](...g),De=c?Mh:h?$h:Jc;return!h&&ou(S,"iterate",de?ah:mc),{next(){const{value:Ve,done:tt}=ve.next();return tt?{value:Ve,done:tt}:{value:ie?[De(Ve[0]),De(Ve[1])]:De(Ve),done:tt}},[Symbol.iterator](){return this}}}}function Jl(i){return function(...h){return i==="delete"?!1:this}}function Fg(){const i={get(S){return ip(this,S)},get size(){return ap(this)},has:sp,add:lf,set:cf,delete:pf,clear:hf,forEach:op(!1,!1)},h={get(S){return ip(this,S,!1,!0)},get size(){return ap(this)},has:sp,add:lf,set:cf,delete:pf,clear:hf,forEach:op(!1,!0)},c={get(S){return ip(this,S,!0)},get size(){return ap(this,!0)},has(S){return sp.call(this,S,!0)},add:Jl("add"),set:Jl("set"),delete:Jl("delete"),clear:Jl("clear"),forEach:op(!0,!1)},g={get(S){return ip(this,S,!0,!0)},get size(){return ap(this,!0)},has(S){return sp.call(this,S,!0)},add:Jl("add"),set:Jl("set"),delete:Jl("delete"),clear:Jl("clear"),forEach:op(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(S=>{i[S]=up(S,!1,!1),c[S]=up(S,!0,!1),h[S]=up(S,!1,!0),g[S]=up(S,!0,!0)}),[i,c,h,g]}const[kg,Pg,Ng,Bg]=Fg();function jh(i,h){const c=h?i?Bg:Ng:i?Pg:kg;return(g,x,S)=>x==="__v_isReactive"?!i:x==="__v_isReadonly"?i:x==="__v_raw"?g:Reflect.get(_s(c,x)&&x in g?c:g,x,S)}const _g={get:jh(!1,!1)},Ig={get:jh(!1,!0)},Og={get:jh(!0,!1)},_d=new WeakMap,Id=new WeakMap,Od=new WeakMap,Lg=new WeakMap;function Mg(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jg(i){return i.__v_skip||!Object.isExtensible(i)?0:Mg(sg(i))}function _c(i){return wc(i)?i:Rh(i,!1,Bd,_g,_d)}function Rg(i){return Rh(i,!1,Sg,Ig,Id)}function Ld(i){return Rh(i,!0,Tg,Og,Od)}function Rh(i,h,c,g,x){if(!ea(i)||i.__v_raw&&!(h&&i.__v_isReactive))return i;const S=x.get(i);if(S)return S;const W=jg(i);if(W===0)return i;const ie=new Proxy(i,W===2?g:c);return x.set(i,ie),ie}function Ec(i){return wc(i)?Ec(i.__v_raw):!!(i&&i.__v_isReactive)}function wc(i){return!!(i&&i.__v_isReadonly)}function Dp(i){return!!(i&&i.__v_isShallow)}function Md(i){return Ec(i)||wc(i)}function Ls(i){const h=i&&i.__v_raw;return h?Ls(h):i}function jd(i){return yp(i,"__v_skip",!0),i}const Jc=i=>ea(i)?_c(i):i,$h=i=>ea(i)?Ld(i):i;function Rd(i){Zl&&Gu&&(i=Ls(i),kd(i.dep||(i.dep=Ih())))}function $d(i,h){i=Ls(i),i.dep&&oh(i.dep)}function wa(i){return!!(i&&i.__v_isRef===!0)}function Ta(i){return zd(i,!1)}function zc(i){return zd(i,!0)}function zd(i,h){return wa(i)?i:new $g(i,h)}class $g{constructor(h,c){this.__v_isShallow=c,this.dep=void 0,this.__v_isRef=!0,this._rawValue=c?h:Ls(h),this._value=c?h:Jc(h)}get value(){return Rd(this),this._value}set value(h){const c=this.__v_isShallow||Dp(h)||wc(h);h=c?h:Ls(h),Kc(h,this._rawValue)&&(this._rawValue=h,this._value=c?h:Jc(h),$d(this))}}function hs(i){return wa(i)?i.value:i}const zg={get:(i,h,c)=>hs(Reflect.get(i,h,c)),set:(i,h,c,g)=>{const x=i[h];return wa(x)&&!wa(c)?(x.value=c,!0):Reflect.set(i,h,c,g)}};function Ud(i){return Ec(i)?i:new Proxy(i,zg)}function Ug(i){const h=Qi(i)?new Array(i.length):{};for(const c in i)h[c]=qg(i,c);return h}class Hg{constructor(h,c,g){this._object=h,this._key=c,this._defaultValue=g,this.__v_isRef=!0}get value(){const h=this._object[this._key];return h===void 0?this._defaultValue:h}set value(h){this._object[this._key]=h}}function qg(i,h,c){const g=i[h];return wa(g)?g:new Hg(i,h,c)}var Hd;class Wg{constructor(h,c,g,x){this._setter=c,this.dep=void 0,this.__v_isRef=!0,this[Hd]=!1,this._dirty=!0,this.effect=new Oh(h,()=>{this._dirty||(this._dirty=!0,$d(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!x,this.__v_isReadonly=g}get value(){const h=Ls(this);return Rd(h),(h._dirty||!h._cacheable)&&(h._dirty=!1,h._value=h.effect.run()),h._value}set value(h){this._setter(h)}}Hd="__v_isReadonly";function Vg(i,h,c=!1){let g,x;const S=ys(i);return S?(g=i,x=Ju):(g=i.get,x=i.set),new Wg(g,x,S||!x,c)}function ec(i,h,c,g){let x;try{x=g?i(...g):i()}catch(S){Op(S,h,c)}return x}function Tu(i,h,c,g){if(ys(i)){const S=ec(i,h,c,g);return S&&bd(S)&&S.catch(W=>{Op(W,h,c)}),S}const x=[];for(let S=0;S<i.length;S++)x.push(Tu(i[S],h,c,g));return x}function Op(i,h,c,g=!0){const x=h?h.vnode:null;if(h){let S=h.parent;const W=h.proxy,ie=c;for(;S;){const ve=S.ec;if(ve){for(let De=0;De<ve.length;De++)if(ve[De](i,W,ie)===!1)return}S=S.parent}const de=h.appContext.config.errorHandler;if(de){ec(de,null,10,[i,W,ie]);return}}Gg(i,c,x,g)}function Gg(i,h,c,g=!0){console.error(i)}let Xc=!1,uh=!1;const Ao=[];let yl=0;const bc=[];let Ml=null,pc=0;const qd=Promise.resolve();let zh=null;function Lp(i){const h=zh||qd;return i?h.then(this?i.bind(this):i):h}function Kg(i){let h=yl+1,c=Ao.length;for(;h<c;){const g=h+c>>>1;Yc(Ao[g])<i?h=g+1:c=g}return h}function Uh(i){(!Ao.length||!Ao.includes(i,Xc&&i.allowRecurse?yl+1:yl))&&(i.id==null?Ao.push(i):Ao.splice(Kg(i.id),0,i),Wd())}function Wd(){!Xc&&!uh&&(uh=!0,zh=qd.then(Gd))}function Jg(i){const h=Ao.indexOf(i);h>yl&&Ao.splice(h,1)}function Xg(i){Qi(i)?bc.push(...i):(!Ml||!Ml.includes(i,i.allowRecurse?pc+1:pc))&&bc.push(i),Wd()}function ff(i,h=Xc?yl+1:0){for(;h<Ao.length;h++){const c=Ao[h];c&&c.pre&&(Ao.splice(h,1),h--,c())}}function Vd(i){if(bc.length){const h=[...new Set(bc)];if(bc.length=0,Ml){Ml.push(...h);return}for(Ml=h,Ml.sort((c,g)=>Yc(c)-Yc(g)),pc=0;pc<Ml.length;pc++)Ml[pc]();Ml=null,pc=0}}const Yc=i=>i.id==null?1/0:i.id,Yg=(i,h)=>{const c=Yc(i)-Yc(h);if(c===0){if(i.pre&&!h.pre)return-1;if(h.pre&&!i.pre)return 1}return c};function Gd(i){uh=!1,Xc=!0,Ao.sort(Yg);const h=Ju;try{for(yl=0;yl<Ao.length;yl++){const c=Ao[yl];c&&c.active!==!1&&ec(c,null,14)}}finally{yl=0,Ao.length=0,Vd(),Xc=!1,zh=null,(Ao.length||bc.length)&&Gd()}}function Qg(i,h,...c){if(i.isUnmounted)return;const g=i.vnode.props||Ks;let x=c;const S=h.startsWith("update:"),W=S&&h.slice(7);if(W&&W in g){const De=`${W==="modelValue"?"model":W}Modifiers`,{number:Ve,trim:tt}=g[De]||Ks;tt&&(x=c.map(Ct=>Ct.trim())),Ve&&(x=c.map(ug))}let ie,de=g[ie=Jp(h)]||g[ie=Jp(Dl(h))];!de&&S&&(de=g[ie=Jp(Pc(h))]),de&&Tu(de,i,6,x);const ve=g[ie+"Once"];if(ve){if(!i.emitted)i.emitted={};else if(i.emitted[ie])return;i.emitted[ie]=!0,Tu(ve,i,6,x)}}function Kd(i,h,c=!1){const g=h.emitsCache,x=g.get(i);if(x!==void 0)return x;const S=i.emits;let W={},ie=!1;if(!ys(i)){const de=ve=>{const De=Kd(ve,h,!0);De&&(ie=!0,To(W,De))};!c&&h.mixins.length&&h.mixins.forEach(de),i.extends&&de(i.extends),i.mixins&&i.mixins.forEach(de)}return!S&&!ie?(ea(i)&&g.set(i,null),null):(Qi(S)?S.forEach(de=>W[de]=null):To(W,S),ea(i)&&g.set(i,W),W)}function Mp(i,h){return!i||!Pp(h)?!1:(h=h.slice(2).replace(/Once$/,""),_s(i,h[0].toLowerCase()+h.slice(1))||_s(i,Pc(h))||_s(i,h))}let wo=null,Jd=null;function vp(i){const h=wo;return wo=i,Jd=i&&i.type.__scopeId||null,h}function jl(i,h=wo,c){if(!h||i._n)return i;const g=(...x)=>{g._d&&wf(-1);const S=vp(h),W=i(...x);return vp(S),g._d&&wf(1),W};return g._n=!0,g._c=!0,g._d=!0,g}function Xp(i){const{type:h,vnode:c,proxy:g,withProxy:x,props:S,propsOptions:[W],slots:ie,attrs:de,emit:ve,render:De,renderCache:Ve,data:tt,setupState:Ct,ctx:Rt,inheritAttrs:$t}=i;let Sr,Ze;const ct=vp(i);try{if(c.shapeFlag&4){const er=x||g;Sr=gl(De.call(er,er,Ve,S,Ct,tt,Rt)),Ze=de}else{const er=h;Sr=gl(er.length>1?er(S,{attrs:de,slots:ie,emit:ve}):er(S,null)),Ze=h.props?de:Zg(de)}}catch(er){Hc.length=0,Op(er,i,1),Sr=Gs(Su)}let Et=Sr;if(Ze&&$t!==!1){const er=Object.keys(Ze),{shapeFlag:gr}=Et;er.length&&gr&7&&(W&&er.some(Nh)&&(Ze=e0(Ze,W)),Et=rc(Et,Ze))}return c.dirs&&(Et=rc(Et),Et.dirs=Et.dirs?Et.dirs.concat(c.dirs):c.dirs),c.transition&&(Et.transition=c.transition),Sr=Et,vp(ct),Sr}const Zg=i=>{let h;for(const c in i)(c==="class"||c==="style"||Pp(c))&&((h||(h={}))[c]=i[c]);return h},e0=(i,h)=>{const c={};for(const g in i)(!Nh(g)||!(g.slice(9)in h))&&(c[g]=i[g]);return c};function t0(i,h,c){const{props:g,children:x,component:S}=i,{props:W,children:ie,patchFlag:de}=h,ve=S.emitsOptions;if(h.dirs||h.transition)return!0;if(c&&de>=0){if(de&1024)return!0;if(de&16)return g?df(g,W,ve):!!W;if(de&8){const De=h.dynamicProps;for(let Ve=0;Ve<De.length;Ve++){const tt=De[Ve];if(W[tt]!==g[tt]&&!Mp(ve,tt))return!0}}}else return(x||ie)&&(!ie||!ie.$stable)?!0:g===W?!1:g?W?df(g,W,ve):!0:!!W;return!1}function df(i,h,c){const g=Object.keys(h);if(g.length!==Object.keys(i).length)return!0;for(let x=0;x<g.length;x++){const S=g[x];if(h[S]!==i[S]&&!Mp(c,S))return!0}return!1}function r0({vnode:i,parent:h},c){for(;h&&h.subTree===i;)(i=h.vnode).el=c,h=h.parent}const n0=i=>i.__isSuspense;function i0(i,h){h&&h.pendingBranch?Qi(i)?h.effects.push(...i):h.effects.push(i):Xg(i)}function dp(i,h){if(no){let c=no.provides;const g=no.parent&&no.parent.provides;g===c&&(c=no.provides=Object.create(g)),c[i]=h}}function Rl(i,h,c=!1){const g=no||wo;if(g){const x=g.parent==null?g.vnode.appContext&&g.vnode.appContext.provides:g.parent.provides;if(x&&i in x)return x[i];if(arguments.length>1)return c&&ys(h)?h.call(g.proxy):h}}function Xd(i,h){return Hh(i,null,h)}const mf={};function Ua(i,h,c){return Hh(i,h,c)}function Hh(i,h,{immediate:c,deep:g,flush:x,onTrack:S,onTrigger:W}=Ks){const ie=no;let de,ve=!1,De=!1;if(wa(i)?(de=()=>i.value,ve=Dp(i)):Ec(i)?(de=()=>i,g=!0):Qi(i)?(De=!0,ve=i.some(Ze=>Ec(Ze)||Dp(Ze)),de=()=>i.map(Ze=>{if(wa(Ze))return Ze.value;if(Ec(Ze))return dc(Ze);if(ys(Ze))return ec(Ze,ie,2)})):ys(i)?h?de=()=>ec(i,ie,2):de=()=>{if(!(ie&&ie.isUnmounted))return Ve&&Ve(),Tu(i,ie,3,[tt])}:de=Ju,h&&g){const Ze=de;de=()=>dc(Ze())}let Ve,tt=Ze=>{Ve=Sr.onStop=()=>{ec(Ze,ie,4)}};if(Zc)return tt=Ju,h?c&&Tu(h,ie,3,[de(),De?[]:void 0,tt]):de(),Ju;let Ct=De?[]:mf;const Rt=()=>{if(!!Sr.active)if(h){const Ze=Sr.run();(g||ve||(De?Ze.some((ct,Et)=>Kc(ct,Ct[Et])):Kc(Ze,Ct)))&&(Ve&&Ve(),Tu(h,ie,3,[Ze,Ct===mf?void 0:Ct,tt]),Ct=Ze)}else Sr.run()};Rt.allowRecurse=!!h;let $t;x==="sync"?$t=Rt:x==="post"?$t=()=>Zo(Rt,ie&&ie.suspense):(Rt.pre=!0,ie&&(Rt.id=ie.uid),$t=()=>Uh(Rt));const Sr=new Oh(de,$t);return h?c?Rt():Ct=Sr.run():x==="post"?Zo(Sr.run.bind(Sr),ie&&ie.suspense):Sr.run(),()=>{Sr.stop(),ie&&ie.scope&&Bh(ie.scope.effects,Sr)}}function s0(i,h,c){const g=this.proxy,x=io(i)?i.includes(".")?Yd(g,i):()=>g[i]:i.bind(g,g);let S;ys(h)?S=h:(S=h.handler,c=h);const W=no;Sc(this);const ie=Hh(x,S.bind(g),c);return W?Sc(W):gc(),ie}function Yd(i,h){const c=h.split(".");return()=>{let g=i;for(let x=0;x<c.length&&g;x++)g=g[c[x]];return g}}function dc(i,h){if(!ea(i)||i.__v_skip||(h=h||new Set,h.has(i)))return i;if(h.add(i),wa(i))dc(i.value,h);else if(Qi(i))for(let c=0;c<i.length;c++)dc(i[c],h);else if(Np(i)||Cc(i))i.forEach(c=>{dc(c,h)});else if(wd(i))for(const c in i)dc(i[c],h);return i}function a0(){const i={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $p(()=>{i.isMounted=!0}),tm(()=>{i.isUnmounting=!0}),i}const wu=[Function,Array],o0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wu,onEnter:wu,onAfterEnter:wu,onEnterCancelled:wu,onBeforeLeave:wu,onLeave:wu,onAfterLeave:wu,onLeaveCancelled:wu,onBeforeAppear:wu,onAppear:wu,onAfterAppear:wu,onAppearCancelled:wu},setup(i,{slots:h}){const c=Kh(),g=a0();let x;return()=>{const S=h.default&&Zd(h.default(),!0);if(!S||!S.length)return;let W=S[0];if(S.length>1){for(const $t of S)if($t.type!==Su){W=$t;break}}const ie=Ls(i),{mode:de}=ie;if(g.isLeaving)return Yp(W);const ve=gf(W);if(!ve)return Yp(W);const De=lh(ve,ie,g,c);ch(ve,De);const Ve=c.subTree,tt=Ve&&gf(Ve);let Ct=!1;const{getTransitionKey:Rt}=ve.type;if(Rt){const $t=Rt();x===void 0?x=$t:$t!==x&&(x=$t,Ct=!0)}if(tt&&tt.type!==Su&&(!hc(ve,tt)||Ct)){const $t=lh(tt,ie,g,c);if(ch(tt,$t),de==="out-in")return g.isLeaving=!0,$t.afterLeave=()=>{g.isLeaving=!1,c.update()},Yp(W);de==="in-out"&&ve.type!==Su&&($t.delayLeave=(Sr,Ze,ct)=>{const Et=Qd(g,tt);Et[String(tt.key)]=tt,Sr._leaveCb=()=>{Ze(),Sr._leaveCb=void 0,delete De.delayedLeave},De.delayedLeave=ct})}return W}}},u0=o0;function Qd(i,h){const{leavingVNodes:c}=i;let g=c.get(h.type);return g||(g=Object.create(null),c.set(h.type,g)),g}function lh(i,h,c,g){const{appear:x,mode:S,persisted:W=!1,onBeforeEnter:ie,onEnter:de,onAfterEnter:ve,onEnterCancelled:De,onBeforeLeave:Ve,onLeave:tt,onAfterLeave:Ct,onLeaveCancelled:Rt,onBeforeAppear:$t,onAppear:Sr,onAfterAppear:Ze,onAppearCancelled:ct}=h,Et=String(i.key),er=Qd(c,i),gr=(ln,Dn)=>{ln&&Tu(ln,g,9,Dn)},Pn=(ln,Dn)=>{const mn=Dn[1];gr(ln,Dn),Qi(ln)?ln.every(gn=>gn.length<=1)&&mn():ln.length<=1&&mn()},kr={mode:S,persisted:W,beforeEnter(ln){let Dn=ie;if(!c.isMounted)if(x)Dn=$t||ie;else return;ln._leaveCb&&ln._leaveCb(!0);const mn=er[Et];mn&&hc(i,mn)&&mn.el._leaveCb&&mn.el._leaveCb(),gr(Dn,[ln])},enter(ln){let Dn=de,mn=ve,gn=De;if(!c.isMounted)if(x)Dn=Sr||de,mn=Ze||ve,gn=ct||De;else return;let Xn=!1;const hr=ln._enterCb=Tn=>{Xn||(Xn=!0,Tn?gr(gn,[ln]):gr(mn,[ln]),kr.delayedLeave&&kr.delayedLeave(),ln._enterCb=void 0)};Dn?Pn(Dn,[ln,hr]):hr()},leave(ln,Dn){const mn=String(i.key);if(ln._enterCb&&ln._enterCb(!0),c.isUnmounting)return Dn();gr(Ve,[ln]);let gn=!1;const Xn=ln._leaveCb=hr=>{gn||(gn=!0,Dn(),hr?gr(Rt,[ln]):gr(Ct,[ln]),ln._leaveCb=void 0,er[mn]===i&&delete er[mn])};er[mn]=i,tt?Pn(tt,[ln,Xn]):Xn()},clone(ln){return lh(ln,h,c,g)}};return kr}function Yp(i){if(jp(i))return i=rc(i),i.children=null,i}function gf(i){return jp(i)?i.children?i.children[0]:void 0:i}function ch(i,h){i.shapeFlag&6&&i.component?ch(i.component.subTree,h):i.shapeFlag&128?(i.ssContent.transition=h.clone(i.ssContent),i.ssFallback.transition=h.clone(i.ssFallback)):i.transition=h}function Zd(i,h=!1,c){let g=[],x=0;for(let S=0;S<i.length;S++){let W=i[S];const ie=c==null?W.key:String(c)+String(W.key!=null?W.key:S);W.type===Ro?(W.patchFlag&128&&x++,g=g.concat(Zd(W.children,h,ie))):(h||W.type!==Su)&&g.push(ie!=null?rc(W,{key:ie}):W)}if(x>1)for(let S=0;S<g.length;S++)g[S].patchFlag=-2;return g}function Yu(i){return ys(i)?{setup:i,name:i.name}:i}const Uc=i=>!!i.type.__asyncLoader,jp=i=>i.type.__isKeepAlive;function l0(i,h){em(i,"a",h)}function c0(i,h){em(i,"da",h)}function em(i,h,c=no){const g=i.__wdc||(i.__wdc=()=>{let x=c;for(;x;){if(x.isDeactivated)return;x=x.parent}return i()});if(Rp(h,g,c),c){let x=c.parent;for(;x&&x.parent;)jp(x.parent.vnode)&&p0(g,h,c,x),x=x.parent}}function p0(i,h,c,g){const x=Rp(h,i,g,!0);rm(()=>{Bh(g[h],x)},c)}function Rp(i,h,c=no,g=!1){if(c){const x=c[i]||(c[i]=[]),S=h.__weh||(h.__weh=(...W)=>{if(c.isUnmounted)return;Nc(),Sc(c);const ie=Tu(h,c,i,W);return gc(),Bc(),ie});return g?x.unshift(S):x.push(S),S}}const Ul=i=>(h,c=no)=>(!Zc||i==="sp")&&Rp(i,(...g)=>h(...g),c),h0=Ul("bm"),$p=Ul("m"),f0=Ul("bu"),d0=Ul("u"),tm=Ul("bum"),rm=Ul("um"),m0=Ul("sp"),g0=Ul("rtg"),y0=Ul("rtc");function D0(i,h=no){Rp("ec",i,h)}function v0(i,h){const c=wo;if(c===null)return i;const g=Up(c)||c.proxy,x=i.dirs||(i.dirs=[]);for(let S=0;S<h.length;S++){let[W,ie,de,ve=Ks]=h[S];ys(W)&&(W={mounted:W,updated:W}),W.deep&&dc(ie),x.push({dir:W,instance:g,value:ie,oldValue:void 0,arg:de,modifiers:ve})}return i}function uc(i,h,c,g){const x=i.dirs,S=h&&h.dirs;for(let W=0;W<x.length;W++){const ie=x[W];S&&(ie.oldValue=S[W].value);let de=ie.dir[g];de&&(Nc(),Tu(de,c,8,[i.el,ie,i,h]),Bc())}}const nm="components";function xp(i,h){return C0(nm,i,!0,h)||i}const x0=Symbol();function C0(i,h,c=!0,g=!1){const x=wo||no;if(x){const S=x.type;if(i===nm){const ie=X0(S,!1);if(ie&&(ie===h||ie===Dl(h)||ie===_p(Dl(h))))return S}const W=yf(x[i]||S[i],h)||yf(x.appContext[i],h);return!W&&g?S:W}}function yf(i,h){return i&&(i[h]||i[Dl(h)]||i[_p(Dl(h))])}function Df(i,h,c,g){let x;const S=c&&c[g];if(Qi(i)||io(i)){x=new Array(i.length);for(let W=0,ie=i.length;W<ie;W++)x[W]=h(i[W],W,void 0,S&&S[W])}else if(typeof i=="number"){x=new Array(i);for(let W=0;W<i;W++)x[W]=h(W+1,W,void 0,S&&S[W])}else if(ea(i))if(i[Symbol.iterator])x=Array.from(i,(W,ie)=>h(W,ie,void 0,S&&S[ie]));else{const W=Object.keys(i);x=new Array(W.length);for(let ie=0,de=W.length;ie<de;ie++){const ve=W[ie];x[ie]=h(i[ve],ve,ie,S&&S[ie])}}else x=[];return c&&(c[g]=x),x}function Cp(i,h,c={},g,x){if(wo.isCE||wo.parent&&Uc(wo.parent)&&wo.parent.isCE)return Gs("slot",h==="default"?null:{name:h},g&&g());let S=i[h];S&&S._c&&(S._d=!1),ma();const W=S&&im(S(c)),ie=Tc(Ro,{key:c.key||W&&W.key||`_${h}`},W||(g?g():[]),W&&i._===1?64:-2);return!x&&ie.scopeId&&(ie.slotScopeIds=[ie.scopeId+"-s"]),S&&S._c&&(S._d=!0),ie}function im(i){return i.some(h=>Ap(h)?!(h.type===Su||h.type===Ro&&!im(h.children)):!0)?i:null}const ph=i=>i?mm(i)?Up(i)||i.proxy:ph(i.parent):null,Ep=To(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>ph(i.parent),$root:i=>ph(i.root),$emit:i=>i.emit,$options:i=>qh(i),$forceUpdate:i=>i.f||(i.f=()=>Uh(i.update)),$nextTick:i=>i.n||(i.n=Lp.bind(i.proxy)),$watch:i=>s0.bind(i)}),E0={get({_:i},h){const{ctx:c,setupState:g,data:x,props:S,accessCache:W,type:ie,appContext:de}=i;let ve;if(h[0]!=="$"){const Ct=W[h];if(Ct!==void 0)switch(Ct){case 1:return g[h];case 2:return x[h];case 4:return c[h];case 3:return S[h]}else{if(g!==Ks&&_s(g,h))return W[h]=1,g[h];if(x!==Ks&&_s(x,h))return W[h]=2,x[h];if((ve=i.propsOptions[0])&&_s(ve,h))return W[h]=3,S[h];if(c!==Ks&&_s(c,h))return W[h]=4,c[h];hh&&(W[h]=0)}}const De=Ep[h];let Ve,tt;if(De)return h==="$attrs"&&ou(i,"get",h),De(i);if((Ve=ie.__cssModules)&&(Ve=Ve[h]))return Ve;if(c!==Ks&&_s(c,h))return W[h]=4,c[h];if(tt=de.config.globalProperties,_s(tt,h))return tt[h]},set({_:i},h,c){const{data:g,setupState:x,ctx:S}=i;return x!==Ks&&_s(x,h)?(x[h]=c,!0):g!==Ks&&_s(g,h)?(g[h]=c,!0):_s(i.props,h)||h[0]==="$"&&h.slice(1)in i?!1:(S[h]=c,!0)},has({_:{data:i,setupState:h,accessCache:c,ctx:g,appContext:x,propsOptions:S}},W){let ie;return!!c[W]||i!==Ks&&_s(i,W)||h!==Ks&&_s(h,W)||(ie=S[0])&&_s(ie,W)||_s(g,W)||_s(Ep,W)||_s(x.config.globalProperties,W)},defineProperty(i,h,c){return c.get!=null?i._.accessCache[h]=0:_s(c,"value")&&this.set(i,h,c.value,null),Reflect.defineProperty(i,h,c)}};let hh=!0;function b0(i){const h=qh(i),c=i.proxy,g=i.ctx;hh=!1,h.beforeCreate&&vf(h.beforeCreate,i,"bc");const{data:x,computed:S,methods:W,watch:ie,provide:de,inject:ve,created:De,beforeMount:Ve,mounted:tt,beforeUpdate:Ct,updated:Rt,activated:$t,deactivated:Sr,beforeDestroy:Ze,beforeUnmount:ct,destroyed:Et,unmounted:er,render:gr,renderTracked:Pn,renderTriggered:kr,errorCaptured:ln,serverPrefetch:Dn,expose:mn,inheritAttrs:gn,components:Xn,directives:hr,filters:Tn}=h;if(ve&&A0(ve,g,null,i.appContext.config.unwrapInjectedRef),W)for(const ur in W){const kn=W[ur];ys(kn)&&(g[ur]=kn.bind(c))}if(x){const ur=x.call(c,c);ea(ur)&&(i.data=_c(ur))}if(hh=!0,S)for(const ur in S){const kn=S[ur],ti=ys(kn)?kn.bind(c,c):ys(kn.get)?kn.get.bind(c,c):Ju,Vi=!ys(kn)&&ys(kn.set)?kn.set.bind(c):Ju,as=Ws({get:ti,set:Vi});Object.defineProperty(g,ur,{enumerable:!0,configurable:!0,get:()=>as.value,set:fs=>as.value=fs})}if(ie)for(const ur in ie)sm(ie[ur],g,c,ur);if(de){const ur=ys(de)?de.call(c):de;Reflect.ownKeys(ur).forEach(kn=>{dp(kn,ur[kn])})}De&&vf(De,i,"c");function tn(ur,kn){Qi(kn)?kn.forEach(ti=>ur(ti.bind(c))):kn&&ur(kn.bind(c))}if(tn(h0,Ve),tn($p,tt),tn(f0,Ct),tn(d0,Rt),tn(l0,$t),tn(c0,Sr),tn(D0,ln),tn(y0,Pn),tn(g0,kr),tn(tm,ct),tn(rm,er),tn(m0,Dn),Qi(mn))if(mn.length){const ur=i.exposed||(i.exposed={});mn.forEach(kn=>{Object.defineProperty(ur,kn,{get:()=>c[kn],set:ti=>c[kn]=ti})})}else i.exposed||(i.exposed={});gr&&i.render===Ju&&(i.render=gr),gn!=null&&(i.inheritAttrs=gn),Xn&&(i.components=Xn),hr&&(i.directives=hr)}function A0(i,h,c=Ju,g=!1){Qi(i)&&(i=fh(i));for(const x in i){const S=i[x];let W;ea(S)?"default"in S?W=Rl(S.from||x,S.default,!0):W=Rl(S.from||x):W=Rl(S),wa(W)&&g?Object.defineProperty(h,x,{enumerable:!0,configurable:!0,get:()=>W.value,set:ie=>W.value=ie}):h[x]=W}}function vf(i,h,c){Tu(Qi(i)?i.map(g=>g.bind(h.proxy)):i.bind(h.proxy),h,c)}function sm(i,h,c,g){const x=g.includes(".")?Yd(c,g):()=>c[g];if(io(i)){const S=h[i];ys(S)&&Ua(x,S)}else if(ys(i))Ua(x,i.bind(c));else if(ea(i))if(Qi(i))i.forEach(S=>sm(S,h,c,g));else{const S=ys(i.handler)?i.handler.bind(c):h[i.handler];ys(S)&&Ua(x,S,i)}}function qh(i){const h=i.type,{mixins:c,extends:g}=h,{mixins:x,optionsCache:S,config:{optionMergeStrategies:W}}=i.appContext,ie=S.get(h);let de;return ie?de=ie:!x.length&&!c&&!g?de=h:(de={},x.length&&x.forEach(ve=>bp(de,ve,W,!0)),bp(de,h,W)),ea(h)&&S.set(h,de),de}function bp(i,h,c,g=!1){const{mixins:x,extends:S}=h;S&&bp(i,S,c,!0),x&&x.forEach(W=>bp(i,W,c,!0));for(const W in h)if(!(g&&W==="expose")){const ie=w0[W]||c&&c[W];i[W]=ie?ie(i[W],h[W]):h[W]}return i}const w0={data:xf,props:cc,emits:cc,methods:cc,computed:cc,beforeCreate:Mo,created:Mo,beforeMount:Mo,mounted:Mo,beforeUpdate:Mo,updated:Mo,beforeDestroy:Mo,beforeUnmount:Mo,destroyed:Mo,unmounted:Mo,activated:Mo,deactivated:Mo,errorCaptured:Mo,serverPrefetch:Mo,components:cc,directives:cc,watch:S0,provide:xf,inject:T0};function xf(i,h){return h?i?function(){return To(ys(i)?i.call(this,this):i,ys(h)?h.call(this,this):h)}:h:i}function T0(i,h){return cc(fh(i),fh(h))}function fh(i){if(Qi(i)){const h={};for(let c=0;c<i.length;c++)h[i[c]]=i[c];return h}return i}function Mo(i,h){return i?[...new Set([].concat(i,h))]:h}function cc(i,h){return i?To(To(Object.create(null),i),h):h}function S0(i,h){if(!i)return h;if(!h)return i;const c=To(Object.create(null),i);for(const g in h)c[g]=Mo(i[g],h[g]);return c}function F0(i,h,c,g=!1){const x={},S={};yp(S,zp,1),i.propsDefaults=Object.create(null),am(i,h,x,S);for(const W in i.propsOptions[0])W in x||(x[W]=void 0);c?i.props=g?x:Rg(x):i.type.props?i.props=x:i.props=S,i.attrs=S}function k0(i,h,c,g){const{props:x,attrs:S,vnode:{patchFlag:W}}=i,ie=Ls(x),[de]=i.propsOptions;let ve=!1;if((g||W>0)&&!(W&16)){if(W&8){const De=i.vnode.dynamicProps;for(let Ve=0;Ve<De.length;Ve++){let tt=De[Ve];if(Mp(i.emitsOptions,tt))continue;const Ct=h[tt];if(de)if(_s(S,tt))Ct!==S[tt]&&(S[tt]=Ct,ve=!0);else{const Rt=Dl(tt);x[Rt]=dh(de,ie,Rt,Ct,i,!1)}else Ct!==S[tt]&&(S[tt]=Ct,ve=!0)}}}else{am(i,h,x,S)&&(ve=!0);let De;for(const Ve in ie)(!h||!_s(h,Ve)&&((De=Pc(Ve))===Ve||!_s(h,De)))&&(de?c&&(c[Ve]!==void 0||c[De]!==void 0)&&(x[Ve]=dh(de,ie,Ve,void 0,i,!0)):delete x[Ve]);if(S!==ie)for(const Ve in S)(!h||!_s(h,Ve)&&!0)&&(delete S[Ve],ve=!0)}ve&&$l(i,"set","$attrs")}function am(i,h,c,g){const[x,S]=i.propsOptions;let W=!1,ie;if(h)for(let de in h){if(hp(de))continue;const ve=h[de];let De;x&&_s(x,De=Dl(de))?!S||!S.includes(De)?c[De]=ve:(ie||(ie={}))[De]=ve:Mp(i.emitsOptions,de)||(!(de in g)||ve!==g[de])&&(g[de]=ve,W=!0)}if(S){const de=Ls(c),ve=ie||Ks;for(let De=0;De<S.length;De++){const Ve=S[De];c[Ve]=dh(x,de,Ve,ve[Ve],i,!_s(ve,Ve))}}return W}function dh(i,h,c,g,x,S){const W=i[c];if(W!=null){const ie=_s(W,"default");if(ie&&g===void 0){const de=W.default;if(W.type!==Function&&ys(de)){const{propsDefaults:ve}=x;c in ve?g=ve[c]:(Sc(x),g=ve[c]=de.call(null,h),gc())}else g=de}W[0]&&(S&&!ie?g=!1:W[1]&&(g===""||g===Pc(c))&&(g=!0))}return g}function om(i,h,c=!1){const g=h.propsCache,x=g.get(i);if(x)return x;const S=i.props,W={},ie=[];let de=!1;if(!ys(i)){const De=Ve=>{de=!0;const[tt,Ct]=om(Ve,h,!0);To(W,tt),Ct&&ie.push(...Ct)};!c&&h.mixins.length&&h.mixins.forEach(De),i.extends&&De(i.extends),i.mixins&&i.mixins.forEach(De)}if(!S&&!de)return ea(i)&&g.set(i,xc),xc;if(Qi(S))for(let De=0;De<S.length;De++){const Ve=Dl(S[De]);Cf(Ve)&&(W[Ve]=Ks)}else if(S)for(const De in S){const Ve=Dl(De);if(Cf(Ve)){const tt=S[De],Ct=W[Ve]=Qi(tt)||ys(tt)?{type:tt}:tt;if(Ct){const Rt=Af(Boolean,Ct.type),$t=Af(String,Ct.type);Ct[0]=Rt>-1,Ct[1]=$t<0||Rt<$t,(Rt>-1||_s(Ct,"default"))&&ie.push(Ve)}}}const ve=[W,ie];return ea(i)&&g.set(i,ve),ve}function Cf(i){return i[0]!=="$"}function Ef(i){const h=i&&i.toString().match(/^\s*function (\w+)/);return h?h[1]:i===null?"null":""}function bf(i,h){return Ef(i)===Ef(h)}function Af(i,h){return Qi(h)?h.findIndex(c=>bf(c,i)):ys(h)&&bf(h,i)?0:-1}const um=i=>i[0]==="_"||i==="$stable",Wh=i=>Qi(i)?i.map(gl):[gl(i)],P0=(i,h,c)=>{if(h._n)return h;const g=jl((...x)=>Wh(h(...x)),c);return g._c=!1,g},lm=(i,h,c)=>{const g=i._ctx;for(const x in i){if(um(x))continue;const S=i[x];if(ys(S))h[x]=P0(x,S,g);else if(S!=null){const W=Wh(S);h[x]=()=>W}}},cm=(i,h)=>{const c=Wh(h);i.slots.default=()=>c},N0=(i,h)=>{if(i.vnode.shapeFlag&32){const c=h._;c?(i.slots=Ls(h),yp(h,"_",c)):lm(h,i.slots={})}else i.slots={},h&&cm(i,h);yp(i.slots,zp,1)},B0=(i,h,c)=>{const{vnode:g,slots:x}=i;let S=!0,W=Ks;if(g.shapeFlag&32){const ie=h._;ie?c&&ie===1?S=!1:(To(x,h),!c&&ie===1&&delete x._):(S=!h.$stable,lm(h,x)),W=h}else h&&(cm(i,h),W={default:1});if(S)for(const ie in x)!um(ie)&&!(ie in W)&&delete x[ie]};function pm(){return{app:null,config:{isNativeTag:rg,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 _0=0;function I0(i,h){return function(g,x=null){ys(g)||(g=Object.assign({},g)),x!=null&&!ea(x)&&(x=null);const S=pm(),W=new Set;let ie=!1;const de=S.app={_uid:_0++,_component:g,_props:x,_container:null,_context:S,_instance:null,version:Q0,get config(){return S.config},set config(ve){},use(ve,...De){return W.has(ve)||(ve&&ys(ve.install)?(W.add(ve),ve.install(de,...De)):ys(ve)&&(W.add(ve),ve(de,...De))),de},mixin(ve){return S.mixins.includes(ve)||S.mixins.push(ve),de},component(ve,De){return De?(S.components[ve]=De,de):S.components[ve]},directive(ve,De){return De?(S.directives[ve]=De,de):S.directives[ve]},mount(ve,De,Ve){if(!ie){const tt=Gs(g,x);return tt.appContext=S,De&&h?h(tt,ve):i(tt,ve,Ve),ie=!0,de._container=ve,ve.__vue_app__=de,Up(tt.component)||tt.component.proxy}},unmount(){ie&&(i(null,de._container),delete de._container.__vue_app__)},provide(ve,De){return S.provides[ve]=De,de}};return de}}function mh(i,h,c,g,x=!1){if(Qi(i)){i.forEach((tt,Ct)=>mh(tt,h&&(Qi(h)?h[Ct]:h),c,g,x));return}if(Uc(g)&&!x)return;const S=g.shapeFlag&4?Up(g.component)||g.component.proxy:g.el,W=x?null:S,{i:ie,r:de}=i,ve=h&&h.r,De=ie.refs===Ks?ie.refs={}:ie.refs,Ve=ie.setupState;if(ve!=null&&ve!==de&&(io(ve)?(De[ve]=null,_s(Ve,ve)&&(Ve[ve]=null)):wa(ve)&&(ve.value=null)),ys(de))ec(de,ie,12,[W,De]);else{const tt=io(de),Ct=wa(de);if(tt||Ct){const Rt=()=>{if(i.f){const $t=tt?De[de]:de.value;x?Qi($t)&&Bh($t,S):Qi($t)?$t.includes(S)||$t.push(S):tt?(De[de]=[S],_s(Ve,de)&&(Ve[de]=De[de])):(de.value=[S],i.k&&(De[i.k]=de.value))}else tt?(De[de]=W,_s(Ve,de)&&(Ve[de]=W)):Ct&&(de.value=W,i.k&&(De[i.k]=W))};W?(Rt.id=-1,Zo(Rt,c)):Rt()}}}const Zo=i0;function O0(i){return L0(i)}function L0(i,h){const c=lg();c.__VUE__=!0;const{insert:g,remove:x,patchProp:S,createElement:W,createText:ie,createComment:de,setText:ve,setElementText:De,parentNode:Ve,nextSibling:tt,setScopeId:Ct=Ju,insertStaticContent:Rt}=i,$t=(Xe,At,wr,Hr=null,Fr=null,nn=null,Jr=!1,pn=null,jn=!!At.dynamicChildren)=>{if(Xe===At)return;Xe&&!hc(Xe,At)&&(Hr=yr(Xe),fs(Xe,Fr,nn,!0),Xe=null),At.patchFlag===-2&&(jn=!1,At.dynamicChildren=null);const{type:Zr,ref:Tt,shapeFlag:mr}=At;switch(Zr){case Vh:Sr(Xe,At,wr,Hr);break;case Su:Ze(Xe,At,wr,Hr);break;case Qp:Xe==null&&ct(At,wr,Hr,Jr);break;case Ro:Xn(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn);break;default:mr&1?gr(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn):mr&6?hr(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn):(mr&64||mr&128)&&Zr.process(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn,$n)}Tt!=null&&Fr&&mh(Tt,Xe&&Xe.ref,nn,At||Xe,!At)},Sr=(Xe,At,wr,Hr)=>{if(Xe==null)g(At.el=ie(At.children),wr,Hr);else{const Fr=At.el=Xe.el;At.children!==Xe.children&&ve(Fr,At.children)}},Ze=(Xe,At,wr,Hr)=>{Xe==null?g(At.el=de(At.children||""),wr,Hr):At.el=Xe.el},ct=(Xe,At,wr,Hr)=>{[Xe.el,Xe.anchor]=Rt(Xe.children,At,wr,Hr,Xe.el,Xe.anchor)},Et=({el:Xe,anchor:At},wr,Hr)=>{let Fr;for(;Xe&&Xe!==At;)Fr=tt(Xe),g(Xe,wr,Hr),Xe=Fr;g(At,wr,Hr)},er=({el:Xe,anchor:At})=>{let wr;for(;Xe&&Xe!==At;)wr=tt(Xe),x(Xe),Xe=wr;x(At)},gr=(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn)=>{Jr=Jr||At.type==="svg",Xe==null?Pn(At,wr,Hr,Fr,nn,Jr,pn,jn):Dn(Xe,At,Fr,nn,Jr,pn,jn)},Pn=(Xe,At,wr,Hr,Fr,nn,Jr,pn)=>{let jn,Zr;const{type:Tt,props:mr,shapeFlag:Vt,transition:Wn,dirs:ki}=Xe;if(jn=Xe.el=W(Xe.type,nn,mr&&mr.is,mr),Vt&8?De(jn,Xe.children):Vt&16&&ln(Xe.children,jn,null,Hr,Fr,nn&&Tt!=="foreignObject",Jr,pn),ki&&uc(Xe,null,Hr,"created"),mr){for(const Zi in mr)Zi!=="value"&&!hp(Zi)&&S(jn,Zi,null,mr[Zi],nn,Xe.children,Hr,Fr,$r);"value"in mr&&S(jn,"value",null,mr.value),(Zr=mr.onVnodeBeforeMount)&&ml(Zr,Hr,Xe)}kr(jn,Xe,Xe.scopeId,Jr,Hr),ki&&uc(Xe,null,Hr,"beforeMount");const ds=(!Fr||Fr&&!Fr.pendingBranch)&&Wn&&!Wn.persisted;ds&&Wn.beforeEnter(jn),g(jn,At,wr),((Zr=mr&&mr.onVnodeMounted)||ds||ki)&&Zo(()=>{Zr&&ml(Zr,Hr,Xe),ds&&Wn.enter(jn),ki&&uc(Xe,null,Hr,"mounted")},Fr)},kr=(Xe,At,wr,Hr,Fr)=>{if(wr&&Ct(Xe,wr),Hr)for(let nn=0;nn<Hr.length;nn++)Ct(Xe,Hr[nn]);if(Fr){let nn=Fr.subTree;if(At===nn){const Jr=Fr.vnode;kr(Xe,Jr,Jr.scopeId,Jr.slotScopeIds,Fr.parent)}}},ln=(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn=0)=>{for(let Zr=jn;Zr<Xe.length;Zr++){const Tt=Xe[Zr]=pn?Yl(Xe[Zr]):gl(Xe[Zr]);$t(null,Tt,At,wr,Hr,Fr,nn,Jr,pn)}},Dn=(Xe,At,wr,Hr,Fr,nn,Jr)=>{const pn=At.el=Xe.el;let{patchFlag:jn,dynamicChildren:Zr,dirs:Tt}=At;jn|=Xe.patchFlag&16;const mr=Xe.props||Ks,Vt=At.props||Ks;let Wn;wr&&lc(wr,!1),(Wn=Vt.onVnodeBeforeUpdate)&&ml(Wn,wr,At,Xe),Tt&&uc(At,Xe,wr,"beforeUpdate"),wr&&lc(wr,!0);const ki=Fr&&At.type!=="foreignObject";if(Zr?mn(Xe.dynamicChildren,Zr,pn,wr,Hr,ki,nn):Jr||kn(Xe,At,pn,null,wr,Hr,ki,nn,!1),jn>0){if(jn&16)gn(pn,At,mr,Vt,wr,Hr,Fr);else if(jn&2&&mr.class!==Vt.class&&S(pn,"class",null,Vt.class,Fr),jn&4&&S(pn,"style",mr.style,Vt.style,Fr),jn&8){const ds=At.dynamicProps;for(let Zi=0;Zi<ds.length;Zi++){const Ds=ds[Zi],os=mr[Ds],ta=Vt[Ds];(ta!==os||Ds==="value")&&S(pn,Ds,os,ta,Fr,Xe.children,wr,Hr,$r)}}jn&1&&Xe.children!==At.children&&De(pn,At.children)}else!Jr&&Zr==null&&gn(pn,At,mr,Vt,wr,Hr,Fr);((Wn=Vt.onVnodeUpdated)||Tt)&&Zo(()=>{Wn&&ml(Wn,wr,At,Xe),Tt&&uc(At,Xe,wr,"updated")},Hr)},mn=(Xe,At,wr,Hr,Fr,nn,Jr)=>{for(let pn=0;pn<At.length;pn++){const jn=Xe[pn],Zr=At[pn],Tt=jn.el&&(jn.type===Ro||!hc(jn,Zr)||jn.shapeFlag&70)?Ve(jn.el):wr;$t(jn,Zr,Tt,null,Hr,Fr,nn,Jr,!0)}},gn=(Xe,At,wr,Hr,Fr,nn,Jr)=>{if(wr!==Hr){if(wr!==Ks)for(const pn in wr)!hp(pn)&&!(pn in Hr)&&S(Xe,pn,wr[pn],null,Jr,At.children,Fr,nn,$r);for(const pn in Hr){if(hp(pn))continue;const jn=Hr[pn],Zr=wr[pn];jn!==Zr&&pn!=="value"&&S(Xe,pn,Zr,jn,Jr,At.children,Fr,nn,$r)}"value"in Hr&&S(Xe,"value",wr.value,Hr.value)}},Xn=(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn)=>{const Zr=At.el=Xe?Xe.el:ie(""),Tt=At.anchor=Xe?Xe.anchor:ie("");let{patchFlag:mr,dynamicChildren:Vt,slotScopeIds:Wn}=At;Wn&&(pn=pn?pn.concat(Wn):Wn),Xe==null?(g(Zr,wr,Hr),g(Tt,wr,Hr),ln(At.children,wr,Tt,Fr,nn,Jr,pn,jn)):mr>0&&mr&64&&Vt&&Xe.dynamicChildren?(mn(Xe.dynamicChildren,Vt,wr,Fr,nn,Jr,pn),(At.key!=null||Fr&&At===Fr.subTree)&&hm(Xe,At,!0)):kn(Xe,At,wr,Tt,Fr,nn,Jr,pn,jn)},hr=(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn)=>{At.slotScopeIds=pn,Xe==null?At.shapeFlag&512?Fr.ctx.activate(At,wr,Hr,Jr,jn):Tn(At,wr,Hr,Fr,nn,Jr,jn):Ee(Xe,At,jn)},Tn=(Xe,At,wr,Hr,Fr,nn,Jr)=>{const pn=Xe.component=W0(Xe,Hr,Fr);if(jp(Xe)&&(pn.ctx.renderer=$n),V0(pn),pn.asyncDep){if(Fr&&Fr.registerDep(pn,tn),!Xe.el){const jn=pn.subTree=Gs(Su);Ze(null,jn,At,wr)}return}tn(pn,Xe,At,wr,Fr,nn,Jr)},Ee=(Xe,At,wr)=>{const Hr=At.component=Xe.component;if(t0(Xe,At,wr))if(Hr.asyncDep&&!Hr.asyncResolved){ur(Hr,At,wr);return}else Hr.next=At,Jg(Hr.update),Hr.update();else At.el=Xe.el,Hr.vnode=At},tn=(Xe,At,wr,Hr,Fr,nn,Jr)=>{const pn=()=>{if(Xe.isMounted){let{next:Tt,bu:mr,u:Vt,parent:Wn,vnode:ki}=Xe,ds=Tt,Zi;lc(Xe,!1),Tt?(Tt.el=ki.el,ur(Xe,Tt,Jr)):Tt=ki,mr&&fp(mr),(Zi=Tt.props&&Tt.props.onVnodeBeforeUpdate)&&ml(Zi,Wn,Tt,ki),lc(Xe,!0);const Ds=Xp(Xe),os=Xe.subTree;Xe.subTree=Ds,$t(os,Ds,Ve(os.el),yr(os),Xe,Fr,nn),Tt.el=Ds.el,ds===null&&r0(Xe,Ds.el),Vt&&Zo(Vt,Fr),(Zi=Tt.props&&Tt.props.onVnodeUpdated)&&Zo(()=>ml(Zi,Wn,Tt,ki),Fr)}else{let Tt;const{el:mr,props:Vt}=At,{bm:Wn,m:ki,parent:ds}=Xe,Zi=Uc(At);if(lc(Xe,!1),Wn&&fp(Wn),!Zi&&(Tt=Vt&&Vt.onVnodeBeforeMount)&&ml(Tt,ds,At),lc(Xe,!0),mr&&Mn){const Ds=()=>{Xe.subTree=Xp(Xe),Mn(mr,Xe.subTree,Xe,Fr,null)};Zi?At.type.__asyncLoader().then(()=>!Xe.isUnmounted&&Ds()):Ds()}else{const Ds=Xe.subTree=Xp(Xe);$t(null,Ds,wr,Hr,Xe,Fr,nn),At.el=Ds.el}if(ki&&Zo(ki,Fr),!Zi&&(Tt=Vt&&Vt.onVnodeMounted)){const Ds=At;Zo(()=>ml(Tt,ds,Ds),Fr)}(At.shapeFlag&256||ds&&Uc(ds.vnode)&&ds.vnode.shapeFlag&256)&&Xe.a&&Zo(Xe.a,Fr),Xe.isMounted=!0,At=wr=Hr=null}},jn=Xe.effect=new Oh(pn,()=>Uh(Zr),Xe.scope),Zr=Xe.update=()=>jn.run();Zr.id=Xe.uid,lc(Xe,!0),Zr()},ur=(Xe,At,wr)=>{At.component=Xe;const Hr=Xe.vnode.props;Xe.vnode=At,Xe.next=null,k0(Xe,At.props,Hr,wr),B0(Xe,At.children,wr),Nc(),ff(),Bc()},kn=(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn=!1)=>{const Zr=Xe&&Xe.children,Tt=Xe?Xe.shapeFlag:0,mr=At.children,{patchFlag:Vt,shapeFlag:Wn}=At;if(Vt>0){if(Vt&128){Vi(Zr,mr,wr,Hr,Fr,nn,Jr,pn,jn);return}else if(Vt&256){ti(Zr,mr,wr,Hr,Fr,nn,Jr,pn,jn);return}}Wn&8?(Tt&16&&$r(Zr,Fr,nn),mr!==Zr&&De(wr,mr)):Tt&16?Wn&16?Vi(Zr,mr,wr,Hr,Fr,nn,Jr,pn,jn):$r(Zr,Fr,nn,!0):(Tt&8&&De(wr,""),Wn&16&&ln(mr,wr,Hr,Fr,nn,Jr,pn,jn))},ti=(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn)=>{Xe=Xe||xc,At=At||xc;const Zr=Xe.length,Tt=At.length,mr=Math.min(Zr,Tt);let Vt;for(Vt=0;Vt<mr;Vt++){const Wn=At[Vt]=jn?Yl(At[Vt]):gl(At[Vt]);$t(Xe[Vt],Wn,wr,null,Fr,nn,Jr,pn,jn)}Zr>Tt?$r(Xe,Fr,nn,!0,!1,mr):ln(At,wr,Hr,Fr,nn,Jr,pn,jn,mr)},Vi=(Xe,At,wr,Hr,Fr,nn,Jr,pn,jn)=>{let Zr=0;const Tt=At.length;let mr=Xe.length-1,Vt=Tt-1;for(;Zr<=mr&&Zr<=Vt;){const Wn=Xe[Zr],ki=At[Zr]=jn?Yl(At[Zr]):gl(At[Zr]);if(hc(Wn,ki))$t(Wn,ki,wr,null,Fr,nn,Jr,pn,jn);else break;Zr++}for(;Zr<=mr&&Zr<=Vt;){const Wn=Xe[mr],ki=At[Vt]=jn?Yl(At[Vt]):gl(At[Vt]);if(hc(Wn,ki))$t(Wn,ki,wr,null,Fr,nn,Jr,pn,jn);else break;mr--,Vt--}if(Zr>mr){if(Zr<=Vt){const Wn=Vt+1,ki=Wn<Tt?At[Wn].el:Hr;for(;Zr<=Vt;)$t(null,At[Zr]=jn?Yl(At[Zr]):gl(At[Zr]),wr,ki,Fr,nn,Jr,pn,jn),Zr++}}else if(Zr>Vt)for(;Zr<=mr;)fs(Xe[Zr],Fr,nn,!0),Zr++;else{const Wn=Zr,ki=Zr,ds=new Map;for(Zr=ki;Zr<=Vt;Zr++){const vr=At[Zr]=jn?Yl(At[Zr]):gl(At[Zr]);vr.key!=null&&ds.set(vr.key,Zr)}let Zi,Ds=0;const os=Vt-ki+1;let ta=!1,Vn=0;const Cr=new Array(os);for(Zr=0;Zr<os;Zr++)Cr[Zr]=0;for(Zr=Wn;Zr<=mr;Zr++){const vr=Xe[Zr];if(Ds>=os){fs(vr,Fr,nn,!0);continue}let Kr;if(vr.key!=null)Kr=ds.get(vr.key);else for(Zi=ki;Zi<=Vt;Zi++)if(Cr[Zi-ki]===0&&hc(vr,At[Zi])){Kr=Zi;break}Kr===void 0?fs(vr,Fr,nn,!0):(Cr[Kr-ki]=Zr+1,Kr>=Vn?Vn=Kr:ta=!0,$t(vr,At[Kr],wr,null,Fr,nn,Jr,pn,jn),Ds++)}const Tr=ta?M0(Cr):xc;for(Zi=Tr.length-1,Zr=os-1;Zr>=0;Zr--){const vr=ki+Zr,Kr=At[vr],_t=vr+1<Tt?At[vr+1].el:Hr;Cr[Zr]===0?$t(null,Kr,wr,_t,Fr,nn,Jr,pn,jn):ta&&(Zi<0||Zr!==Tr[Zi]?as(Kr,wr,_t,2):Zi--)}}},as=(Xe,At,wr,Hr,Fr=null)=>{const{el:nn,type:Jr,transition:pn,children:jn,shapeFlag:Zr}=Xe;if(Zr&6){as(Xe.component.subTree,At,wr,Hr);return}if(Zr&128){Xe.suspense.move(At,wr,Hr);return}if(Zr&64){Jr.move(Xe,At,wr,$n);return}if(Jr===Ro){g(nn,At,wr);for(let mr=0;mr<jn.length;mr++)as(jn[mr],At,wr,Hr);g(Xe.anchor,At,wr);return}if(Jr===Qp){Et(Xe,At,wr);return}if(Hr!==2&&Zr&1&&pn)if(Hr===0)pn.beforeEnter(nn),g(nn,At,wr),Zo(()=>pn.enter(nn),Fr);else{const{leave:mr,delayLeave:Vt,afterLeave:Wn}=pn,ki=()=>g(nn,At,wr),ds=()=>{mr(nn,()=>{ki(),Wn&&Wn()})};Vt?Vt(nn,ki,ds):ds()}else g(nn,At,wr)},fs=(Xe,At,wr,Hr=!1,Fr=!1)=>{const{type:nn,props:Jr,ref:pn,children:jn,dynamicChildren:Zr,shapeFlag:Tt,patchFlag:mr,dirs:Vt}=Xe;if(pn!=null&&mh(pn,null,wr,Xe,!0),Tt&256){At.ctx.deactivate(Xe);return}const Wn=Tt&1&&Vt,ki=!Uc(Xe);let ds;if(ki&&(ds=Jr&&Jr.onVnodeBeforeUnmount)&&ml(ds,At,Xe),Tt&6)Mr(Xe.component,wr,Hr);else{if(Tt&128){Xe.suspense.unmount(wr,Hr);return}Wn&&uc(Xe,null,At,"beforeUnmount"),Tt&64?Xe.type.remove(Xe,At,wr,Fr,$n,Hr):Zr&&(nn!==Ro||mr>0&&mr&64)?$r(Zr,At,wr,!1,!0):(nn===Ro&&mr&384||!Fr&&Tt&16)&&$r(jn,At,wr),Hr&&es(Xe)}(ki&&(ds=Jr&&Jr.onVnodeUnmounted)||Wn)&&Zo(()=>{ds&&ml(ds,At,Xe),Wn&&uc(Xe,null,At,"unmounted")},wr)},es=Xe=>{const{type:At,el:wr,anchor:Hr,transition:Fr}=Xe;if(At===Ro){ts(wr,Hr);return}if(At===Qp){er(Xe);return}const nn=()=>{x(wr),Fr&&!Fr.persisted&&Fr.afterLeave&&Fr.afterLeave()};if(Xe.shapeFlag&1&&Fr&&!Fr.persisted){const{leave:Jr,delayLeave:pn}=Fr,jn=()=>Jr(wr,nn);pn?pn(Xe.el,nn,jn):jn()}else nn()},ts=(Xe,At)=>{let wr;for(;Xe!==At;)wr=tt(Xe),x(Xe),Xe=wr;x(At)},Mr=(Xe,At,wr)=>{const{bum:Hr,scope:Fr,update:nn,subTree:Jr,um:pn}=Xe;Hr&&fp(Hr),Fr.stop(),nn&&(nn.active=!1,fs(Jr,Xe,At,wr)),pn&&Zo(pn,At),Zo(()=>{Xe.isUnmounted=!0},At),At&&At.pendingBranch&&!At.isUnmounted&&Xe.asyncDep&&!Xe.asyncResolved&&Xe.suspenseId===At.pendingId&&(At.deps--,At.deps===0&&At.resolve())},$r=(Xe,At,wr,Hr=!1,Fr=!1,nn=0)=>{for(let Jr=nn;Jr<Xe.length;Jr++)fs(Xe[Jr],At,wr,Hr,Fr)},yr=Xe=>Xe.shapeFlag&6?yr(Xe.component.subTree):Xe.shapeFlag&128?Xe.suspense.next():tt(Xe.anchor||Xe.el),cn=(Xe,At,wr)=>{Xe==null?At._vnode&&fs(At._vnode,null,null,!0):$t(At._vnode||null,Xe,At,null,null,null,wr),ff(),Vd(),At._vnode=Xe},$n={p:$t,um:fs,m:as,r:es,mt:Tn,mc:ln,pc:kn,pbc:mn,n:yr,o:i};let ci,Mn;return h&&([ci,Mn]=h($n)),{render:cn,hydrate:ci,createApp:I0(cn,ci)}}function lc({effect:i,update:h},c){i.allowRecurse=h.allowRecurse=c}function hm(i,h,c=!1){const g=i.children,x=h.children;if(Qi(g)&&Qi(x))for(let S=0;S<g.length;S++){const W=g[S];let ie=x[S];ie.shapeFlag&1&&!ie.dynamicChildren&&((ie.patchFlag<=0||ie.patchFlag===32)&&(ie=x[S]=Yl(x[S]),ie.el=W.el),c||hm(W,ie))}}function M0(i){const h=i.slice(),c=[0];let g,x,S,W,ie;const de=i.length;for(g=0;g<de;g++){const ve=i[g];if(ve!==0){if(x=c[c.length-1],i[x]<ve){h[g]=x,c.push(g);continue}for(S=0,W=c.length-1;S<W;)ie=S+W>>1,i[c[ie]]<ve?S=ie+1:W=ie;ve<i[c[S]]&&(S>0&&(h[g]=c[S-1]),c[S]=g)}}for(S=c.length,W=c[S-1];S-- >0;)c[S]=W,W=h[W];return c}const j0=i=>i.__isTeleport,Ro=Symbol(void 0),Vh=Symbol(void 0),Su=Symbol(void 0),Qp=Symbol(void 0),Hc=[];let Ku=null;function ma(i=!1){Hc.push(Ku=i?null:[])}function R0(){Hc.pop(),Ku=Hc[Hc.length-1]||null}let Qc=1;function wf(i){Qc+=i}function fm(i){return i.dynamicChildren=Qc>0?Ku||xc:null,R0(),Qc>0&&Ku&&Ku.push(i),i}function go(i,h,c,g,x,S){return fm(qi(i,h,c,g,x,S,!0))}function Tc(i,h,c,g,x){return fm(Gs(i,h,c,g,x,!0))}function Ap(i){return i?i.__v_isVNode===!0:!1}function hc(i,h){return i.type===h.type&&i.key===h.key}const zp="__vInternal",dm=({key:i})=>i??null,mp=({ref:i,ref_key:h,ref_for:c})=>i!=null?io(i)||wa(i)||ys(i)?{i:wo,r:i,k:h,f:!!c}:i:null;function qi(i,h=null,c=null,g=0,x=null,S=i===Ro?0:1,W=!1,ie=!1){const de={__v_isVNode:!0,__v_skip:!0,type:i,props:h,key:h&&dm(h),ref:h&&mp(h),scopeId:Jd,slotScopeIds:null,children:c,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:g,dynamicProps:x,dynamicChildren:null,appContext:null};return ie?(Gh(de,c),S&128&&i.normalize(de)):c&&(de.shapeFlag|=io(c)?8:16),Qc>0&&!W&&Ku&&(de.patchFlag>0||S&6)&&de.patchFlag!==32&&Ku.push(de),de}const Gs=$0;function $0(i,h=null,c=null,g=0,x=null,S=!1){if((!i||i===x0)&&(i=Su),Ap(i)){const ie=rc(i,h,!0);return c&&Gh(ie,c),Qc>0&&!S&&Ku&&(ie.shapeFlag&6?Ku[Ku.indexOf(i)]=ie:Ku.push(ie)),ie.patchFlag|=-2,ie}if(Y0(i)&&(i=i.__vccOpts),h){h=z0(h);let{class:ie,style:de}=h;ie&&!io(ie)&&(h.class=Ac(ie)),ea(de)&&(Md(de)&&!Qi(de)&&(de=To({},de)),h.style=tp(de))}const W=io(i)?1:n0(i)?128:j0(i)?64:ea(i)?4:ys(i)?2:0;return qi(i,h,c,g,x,W,S,!0)}function z0(i){return i?Md(i)||zp in i?To({},i):i:null}function rc(i,h,c=!1){const{props:g,ref:x,patchFlag:S,children:W}=i,ie=h?U0(g||{},h):g;return{__v_isVNode:!0,__v_skip:!0,type:i.type,props:ie,key:ie&&dm(ie),ref:h&&h.ref?c&&x?Qi(x)?x.concat(mp(h)):[x,mp(h)]:mp(h):x,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:W,target:i.target,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:h&&i.type!==Ro?S===-1?16:S|16:S,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:i.transition,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&rc(i.ssContent),ssFallback:i.ssFallback&&rc(i.ssFallback),el:i.el,anchor:i.anchor}}function Vu(i=" ",h=0){return Gs(Vh,null,i,h)}function wp(i="",h=!1){return h?(ma(),Tc(Su,null,i)):Gs(Su,null,i)}function gl(i){return i==null||typeof i=="boolean"?Gs(Su):Qi(i)?Gs(Ro,null,i.slice()):typeof i=="object"?Yl(i):Gs(Vh,null,String(i))}function Yl(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:rc(i)}function Gh(i,h){let c=0;const{shapeFlag:g}=i;if(h==null)h=null;else if(Qi(h))c=16;else if(typeof h=="object")if(g&65){const x=h.default;x&&(x._c&&(x._d=!1),Gh(i,x()),x._c&&(x._d=!0));return}else{c=32;const x=h._;!x&&!(zp in h)?h._ctx=wo:x===3&&wo&&(wo.slots._===1?h._=1:(h._=2,i.patchFlag|=1024))}else ys(h)?(h={default:h,_ctx:wo},c=32):(h=String(h),g&64?(c=16,h=[Vu(h)]):c=8);i.children=h,i.shapeFlag|=c}function U0(...i){const h={};for(let c=0;c<i.length;c++){const g=i[c];for(const x in g)if(x==="class")h.class!==g.class&&(h.class=Ac([h.class,g.class]));else if(x==="style")h.style=tp([h.style,g.style]);else if(Pp(x)){const S=h[x],W=g[x];W&&S!==W&&!(Qi(S)&&S.includes(W))&&(h[x]=S?[].concat(S,W):W)}else x!==""&&(h[x]=g[x])}return h}function ml(i,h,c,g=null){Tu(i,h,7,[c,g])}const H0=pm();let q0=0;function W0(i,h,c){const g=i.type,x=(h?h.appContext:i.appContext)||H0,S={uid:q0++,vnode:i,type:g,parent:h,appContext:x,root:null,next:null,subTree:null,effect:null,update:null,scope:new cg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:h?h.provides:Object.create(x.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:om(g,x),emitsOptions:Kd(g,x),emit:null,emitted:null,propsDefaults:Ks,inheritAttrs:g.inheritAttrs,ctx:Ks,data:Ks,props:Ks,attrs:Ks,slots:Ks,refs:Ks,setupState:Ks,setupContext:null,suspense:c,suspenseId:c?c.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=h?h.root:S,S.emit=Qg.bind(null,S),i.ce&&i.ce(S),S}let no=null;const Kh=()=>no||wo,Sc=i=>{no=i,i.scope.on()},gc=()=>{no&&no.scope.off(),no=null};function mm(i){return i.vnode.shapeFlag&4}let Zc=!1;function V0(i,h=!1){Zc=h;const{props:c,children:g}=i.vnode,x=mm(i);F0(i,c,x,h),N0(i,g);const S=x?G0(i,h):void 0;return Zc=!1,S}function G0(i,h){const c=i.type;i.accessCache=Object.create(null),i.proxy=jd(new Proxy(i.ctx,E0));const{setup:g}=c;if(g){const x=i.setupContext=g.length>1?J0(i):null;Sc(i),Nc();const S=ec(g,i,0,[i.props,x]);if(Bc(),gc(),bd(S)){if(S.then(gc,gc),h)return S.then(W=>{Tf(i,W,h)}).catch(W=>{Op(W,i,0)});i.asyncDep=S}else Tf(i,S,h)}else gm(i,h)}function Tf(i,h,c){ys(h)?i.type.__ssrInlineRender?i.ssrRender=h:i.render=h:ea(h)&&(i.setupState=Ud(h)),gm(i,c)}let Sf;function gm(i,h,c){const g=i.type;if(!i.render){if(!h&&Sf&&!g.render){const x=g.template||qh(i).template;if(x){const{isCustomElement:S,compilerOptions:W}=i.appContext.config,{delimiters:ie,compilerOptions:de}=g,ve=To(To({isCustomElement:S,delimiters:ie},W),de);g.render=Sf(x,ve)}}i.render=g.render||Ju}Sc(i),Nc(),b0(i),Bc(),gc()}function K0(i){return new Proxy(i.attrs,{get(h,c){return ou(i,"get","$attrs"),h[c]}})}function J0(i){const h=g=>{i.exposed=g||{}};let c;return{get attrs(){return c||(c=K0(i))},slots:i.slots,emit:i.emit,expose:h}}function Up(i){if(i.exposed)return i.exposeProxy||(i.exposeProxy=new Proxy(Ud(jd(i.exposed)),{get(h,c){if(c in h)return h[c];if(c in Ep)return Ep[c](i)}}))}function X0(i,h=!0){return ys(i)?i.displayName||i.name:i.name||h&&i.__name}function Y0(i){return ys(i)&&"__vccOpts"in i}const Ws=(i,h)=>Vg(i,h,Zc);function Jh(i,h,c){const g=arguments.length;return g===2?ea(h)&&!Qi(h)?Ap(h)?Gs(i,null,[h]):Gs(i,h):Gs(i,null,h):(g>3?c=Array.prototype.slice.call(arguments,2):g===3&&Ap(c)&&(c=[c]),Gs(i,h,c))}const Q0="3.2.40",Z0="http://www.w3.org/2000/svg",fc=typeof document<"u"?document:null,Ff=fc&&fc.createElement("template"),ey={insert:(i,h,c)=>{h.insertBefore(i,c||null)},remove:i=>{const h=i.parentNode;h&&h.removeChild(i)},createElement:(i,h,c,g)=>{const x=h?fc.createElementNS(Z0,i):fc.createElement(i,c?{is:c}:void 0);return i==="select"&&g&&g.multiple!=null&&x.setAttribute("multiple",g.multiple),x},createText:i=>fc.createTextNode(i),createComment:i=>fc.createComment(i),setText:(i,h)=>{i.nodeValue=h},setElementText:(i,h)=>{i.textContent=h},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>fc.querySelector(i),setScopeId(i,h){i.setAttribute(h,"")},insertStaticContent(i,h,c,g,x,S){const W=c?c.previousSibling:h.lastChild;if(x&&(x===S||x.nextSibling))for(;h.insertBefore(x.cloneNode(!0),c),!(x===S||!(x=x.nextSibling)););else{Ff.innerHTML=g?`<svg>${i}</svg>`:i;const ie=Ff.content;if(g){const de=ie.firstChild;for(;de.firstChild;)ie.appendChild(de.firstChild);ie.removeChild(de)}h.insertBefore(ie,c)}return[W?W.nextSibling:h.firstChild,c?c.previousSibling:h.lastChild]}};function ty(i,h,c){const g=i._vtc;g&&(h=(h?[h,...g]:[...g]).join(" ")),h==null?i.removeAttribute("class"):c?i.setAttribute("class",h):i.className=h}function ry(i,h,c){const g=i.style,x=io(c);if(c&&!x){for(const S in c)gh(g,S,c[S]);if(h&&!io(h))for(const S in h)c[S]==null&&gh(g,S,"")}else{const S=g.display;x?h!==c&&(g.cssText=c):h&&i.removeAttribute("style"),"_vod"in i&&(g.display=S)}}const kf=/\s*!important$/;function gh(i,h,c){if(Qi(c))c.forEach(g=>gh(i,h,g));else if(c==null&&(c=""),h.startsWith("--"))i.setProperty(h,c);else{const g=ny(i,h);kf.test(c)?i.setProperty(Pc(g),c.replace(kf,""),"important"):i[g]=c}}const Pf=["Webkit","Moz","ms"],Zp={};function ny(i,h){const c=Zp[h];if(c)return c;let g=Dl(h);if(g!=="filter"&&g in i)return Zp[h]=g;g=_p(g);for(let x=0;x<Pf.length;x++){const S=Pf[x]+g;if(S in i)return Zp[h]=S}return h}const Nf="http://www.w3.org/1999/xlink";function iy(i,h,c,g,x){if(g&&h.startsWith("xlink:"))c==null?i.removeAttributeNS(Nf,h.slice(6,h.length)):i.setAttributeNS(Nf,h,c);else{const S=Ym(h);c==null||S&&!xd(c)?i.removeAttribute(h):i.setAttribute(h,S?"":c)}}function sy(i,h,c,g,x,S,W){if(h==="innerHTML"||h==="textContent"){g&&W(g,x,S),i[h]=c??"";return}if(h==="value"&&i.tagName!=="PROGRESS"&&!i.tagName.includes("-")){i._value=c;const de=c??"";(i.value!==de||i.tagName==="OPTION")&&(i.value=de),c==null&&i.removeAttribute(h);return}let ie=!1;if(c===""||c==null){const de=typeof i[h];de==="boolean"?c=xd(c):c==null&&de==="string"?(c="",ie=!0):de==="number"&&(c=0,ie=!0)}try{i[h]=c}catch{}ie&&i.removeAttribute(h)}const[ym,ay]=(()=>{let i=Date.now,h=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(i=performance.now.bind(performance));const c=navigator.userAgent.match(/firefox\/(\d+)/i);h=!!(c&&Number(c[1])<=53)}return[i,h]})();let yh=0;const oy=Promise.resolve(),uy=()=>{yh=0},ly=()=>yh||(oy.then(uy),yh=ym());function Dm(i,h,c,g){i.addEventListener(h,c,g)}function cy(i,h,c,g){i.removeEventListener(h,c,g)}function py(i,h,c,g,x=null){const S=i._vei||(i._vei={}),W=S[h];if(g&&W)W.value=g;else{const[ie,de]=hy(h);if(g){const ve=S[h]=fy(g,x);Dm(i,ie,ve,de)}else W&&(cy(i,ie,W,de),S[h]=void 0)}}const Bf=/(?:Once|Passive|Capture)$/;function hy(i){let h;if(Bf.test(i)){h={};let g;for(;g=i.match(Bf);)i=i.slice(0,i.length-g[0].length),h[g[0].toLowerCase()]=!0}return[i[2]===":"?i.slice(3):Pc(i.slice(2)),h]}function fy(i,h){const c=g=>{const x=g.timeStamp||ym();(ay||x>=c.attached-1)&&Tu(dy(g,c.value),h,5,[g])};return c.value=i,c.attached=ly(),c}function dy(i,h){if(Qi(h)){const c=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{c.call(i),i._stopped=!0},h.map(g=>x=>!x._stopped&&g&&g(x))}else return h}const _f=/^on[a-z]/,my=(i,h,c,g,x=!1,S,W,ie,de)=>{h==="class"?ty(i,g,x):h==="style"?ry(i,c,g):Pp(h)?Nh(h)||py(i,h,c,g,W):(h[0]==="."?(h=h.slice(1),!0):h[0]==="^"?(h=h.slice(1),!1):gy(i,h,g,x))?sy(i,h,g,S,W,ie,de):(h==="true-value"?i._trueValue=g:h==="false-value"&&(i._falseValue=g),iy(i,h,g,x))};function gy(i,h,c,g){return g?!!(h==="innerHTML"||h==="textContent"||h in i&&_f.test(h)&&ys(c)):h==="spellcheck"||h==="draggable"||h==="translate"||h==="form"||h==="list"&&i.tagName==="INPUT"||h==="type"&&i.tagName==="TEXTAREA"||_f.test(h)&&io(c)?!1:h in i}const yy={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};u0.props;const If=i=>{const h=i.props["onUpdate:modelValue"]||!1;return Qi(h)?c=>fp(h,c):h},Dy={deep:!0,created(i,h,c){i._assign=If(c),Dm(i,"change",()=>{const g=i._modelValue,x=vy(i),S=i.checked,W=i._assign;if(Qi(g)){const ie=Cd(g,x),de=ie!==-1;if(S&&!de)W(g.concat(x));else if(!S&&de){const ve=[...g];ve.splice(ie,1),W(ve)}}else if(Np(g)){const ie=new Set(g);S?ie.add(x):ie.delete(x),W(ie)}else W(vm(i,S))})},mounted:Of,beforeUpdate(i,h,c){i._assign=If(c),Of(i,h,c)}};function Of(i,{value:h,oldValue:c},g){i._modelValue=h,Qi(h)?i.checked=Cd(h,g.props.value)>-1:Np(h)?i.checked=h.has(g.props.value):h!==c&&(i.checked=kp(h,vm(i,!0)))}function vy(i){return"_value"in i?i._value:i.value}function vm(i,h){const c=h?"_trueValue":"_falseValue";return c in i?i[c]:h}const xy=To({patchProp:my},ey);let Lf;function Cy(){return Lf||(Lf=O0(xy))}const Ey=(...i)=>{const h=Cy().createApp(...i),{mount:c}=h;return h.mount=g=>{const x=by(g);if(!x)return;const S=h._component;!ys(S)&&!S.render&&!S.template&&(S.template=x.innerHTML),x.innerHTML="";const W=c(x,!1,x instanceof SVGElement);return x instanceof Element&&(x.removeAttribute("v-cloak"),x.setAttribute("data-v-app","")),W},h};function by(i){return io(i)?document.querySelector(i):i}var Mf;const Ic=typeof window<"u",Ay=i=>typeof i<"u",xm=i=>typeof i=="function",wy=i=>typeof i=="string",Tp=()=>{};Ic&&((Mf=window==null?void 0:window.navigator)==null?void 0:Mf.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function $o(i){return typeof i=="function"?i():hs(i)}function Cm(i,h){function c(...g){return new Promise((x,S)=>{Promise.resolve(i(()=>h.apply(this,g),{fn:h,thisArg:this,args:g})).then(x).catch(S)})}return c}const Em=i=>i();function Ty(i,h={}){let c,g,x=Tp;const S=ie=>{clearTimeout(ie),x(),x=Tp};return ie=>{const de=$o(i),ve=$o(h.maxWait);return c&&S(c),de<=0||ve!==void 0&&ve<=0?(g&&(S(g),g=null),Promise.resolve(ie())):new Promise((De,Ve)=>{x=h.rejectOnCancel?Ve:De,ve&&!g&&(g=setTimeout(()=>{c&&S(c),g=null,De(ie())},ve)),c=setTimeout(()=>{g&&S(g),g=null,De(ie())},de)})}}function Sy(i=Em){const h=Ta(!0);function c(){h.value=!1}function g(){h.value=!0}return{isActive:h,pause:c,resume:g,eventFilter:(...S)=>{h.value&&i(...S)}}}function jf(i,h=!1,c="Timeout"){return new Promise((g,x)=>{setTimeout(h?()=>x(c):g,i)})}function Fy(i){return i}function ky(i,...h){return h.some(c=>c in i)}function np(i){return hg()?(fg(i),!0):!1}function qc(){const i=[],h=x=>{const S=i.indexOf(x);S!==-1&&i.splice(S,1)};return{on:x=>{i.push(x);const S=()=>h(x);return np(S),{off:S}},off:h,trigger:x=>{i.forEach(S=>S(x))}}}function Py(i,h=200,c={}){return Cm(Ty(h,c),i)}function Ny(i,h=200,c={}){const g=Ta(i.value),x=Py(()=>{g.value=i.value},h,c);return Ua(i,()=>x()),g}function gp(i){return typeof i=="function"?Ws(i):Ta(i)}function bm(i,h=!0){Kh()?$p(i):h?i():Lp(i)}function Dh(i,h=!1){function c(Ve,{flush:tt="sync",deep:Ct=!1,timeout:Rt,throwOnTimeout:$t}={}){let Sr=null;const ct=[new Promise(Et=>{Sr=Ua(i,er=>{Ve(er)!==h&&(Sr==null||Sr(),Et(er))},{flush:tt,deep:Ct,immediate:!0})})];return Rt!=null&&ct.push(jf(Rt,$t).then(()=>$o(i)).finally(()=>Sr==null?void 0:Sr())),Promise.race(ct)}function g(Ve,tt){if(!wa(Ve))return c(er=>er===Ve,tt);const{flush:Ct="sync",deep:Rt=!1,timeout:$t,throwOnTimeout:Sr}=tt??{};let Ze=null;const Et=[new Promise(er=>{Ze=Ua([i,Ve],([gr,Pn])=>{h!==(gr===Pn)&&(Ze==null||Ze(),er(gr))},{flush:Ct,deep:Rt,immediate:!0})})];return $t!=null&&Et.push(jf($t,Sr).then(()=>$o(i)).finally(()=>(Ze==null||Ze(),$o(i)))),Promise.race(Et)}function x(Ve){return c(tt=>Boolean(tt),Ve)}function S(Ve){return g(null,Ve)}function W(Ve){return g(void 0,Ve)}function ie(Ve){return c(Number.isNaN,Ve)}function de(Ve,tt){return c(Ct=>{const Rt=Array.from(Ct);return Rt.includes(Ve)||Rt.includes($o(Ve))},tt)}function ve(Ve){return De(1,Ve)}function De(Ve=1,tt){let Ct=-1;return c(()=>(Ct+=1,Ct>=Ve),tt)}return Array.isArray($o(i))?{toMatch:c,toContains:de,changed:ve,changedTimes:De,get not(){return Dh(i,!h)}}:{toMatch:c,toBe:g,toBeTruthy:x,toBeNull:S,toBeNaN:ie,toBeUndefined:W,changed:ve,changedTimes:De,get not(){return Dh(i,!h)}}}function By(i){return Dh(i)}function _y(i,h,c={}){const{immediate:g=!0}=c,x=Ta(!1);let S=null;function W(){S&&(clearTimeout(S),S=null)}function ie(){x.value=!1,W()}function de(...ve){W(),x.value=!0,S=setTimeout(()=>{x.value=!1,S=null,i(...ve)},$o(h))}return g&&(x.value=!0,Ic&&de()),np(ie),{isPending:x,start:de,stop:ie}}function Iy(i=!1,h={}){const{truthyValue:c=!0,falsyValue:g=!1}=h,x=wa(i),S=Ta(i);function W(ie){if(arguments.length)return S.value=ie,S.value;{const de=$o(c);return S.value=S.value===de?$o(g):de,S.value}}return x?W:[S,W]}var Rf=Object.getOwnPropertySymbols,Oy=Object.prototype.hasOwnProperty,Ly=Object.prototype.propertyIsEnumerable,My=(i,h)=>{var c={};for(var g in i)Oy.call(i,g)&&h.indexOf(g)<0&&(c[g]=i[g]);if(i!=null&&Rf)for(var g of Rf(i))h.indexOf(g)<0&&Ly.call(i,g)&&(c[g]=i[g]);return c};function jy(i,h,c={}){const g=c,{eventFilter:x=Em}=g,S=My(g,["eventFilter"]);return Ua(i,Cm(x,h),S)}var Ry=Object.defineProperty,$y=Object.defineProperties,zy=Object.getOwnPropertyDescriptors,Sp=Object.getOwnPropertySymbols,Am=Object.prototype.hasOwnProperty,wm=Object.prototype.propertyIsEnumerable,$f=(i,h,c)=>h in i?Ry(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,Uy=(i,h)=>{for(var c in h||(h={}))Am.call(h,c)&&$f(i,c,h[c]);if(Sp)for(var c of Sp(h))wm.call(h,c)&&$f(i,c,h[c]);return i},Hy=(i,h)=>$y(i,zy(h)),qy=(i,h)=>{var c={};for(var g in i)Am.call(i,g)&&h.indexOf(g)<0&&(c[g]=i[g]);if(i!=null&&Sp)for(var g of Sp(i))h.indexOf(g)<0&&wm.call(i,g)&&(c[g]=i[g]);return c};function Wy(i,h,c={}){const g=c,{eventFilter:x}=g,S=qy(g,["eventFilter"]),{eventFilter:W,pause:ie,resume:de,isActive:ve}=Sy(x);return{stop:jy(i,h,Hy(Uy({},S),{eventFilter:W})),pause:ie,resume:de,isActive:ve}}function Ax(i,h,c){let g;wa(c)?g={evaluating:c}:g=c||{};const{lazy:x=!1,evaluating:S=void 0,onError:W=Tp}=g,ie=Ta(!x),de=Ta(h);let ve=0;return Xd(async De=>{if(!ie.value)return;ve++;const Ve=ve;let tt=!1;S&&Promise.resolve().then(()=>{S.value=!0});try{const Ct=await i(Rt=>{De(()=>{S&&(S.value=!1),tt||Rt()})});Ve===ve&&(de.value=Ct)}catch(Ct){W(Ct)}finally{S&&Ve===ve&&(S.value=!1),tt=!0}}),x?Ws(()=>(ie.value=!0,de.value)):de}function Xh(i){var h;const c=$o(i);return(h=c==null?void 0:c.$el)!=null?h:c}const zl=Ic?window:void 0;Ic&&window.document;Ic&&window.navigator;Ic&&window.location;function Vy(...i){let h,c,g,x;if(wy(i[0])||Array.isArray(i[0])?([c,g,x]=i,h=zl):[h,c,g,x]=i,!h)return Tp;Array.isArray(c)||(c=[c]),Array.isArray(g)||(g=[g]);const S=[],W=()=>{S.forEach(De=>De()),S.length=0},ie=(De,Ve,tt)=>(De.addEventListener(Ve,tt,x),()=>De.removeEventListener(Ve,tt,x)),de=Ua(()=>Xh(h),De=>{W(),De&&S.push(...c.flatMap(Ve=>g.map(tt=>ie(De,Ve,tt))))},{immediate:!0,flush:"post"}),ve=()=>{de(),W()};return np(ve),ve}function Tm(i,h=!1){const c=Ta(),g=()=>c.value=Boolean(i());return g(),bm(g,h),c}function Gy(i,h={}){const{window:c=zl}=h,g=Tm(()=>c&&"matchMedia"in c&&typeof c.matchMedia=="function");let x;const S=Ta(!1),W=()=>{!x||("removeEventListener"in x?x.removeEventListener("change",ie):x.removeListener(ie))},ie=()=>{!g.value||(W(),x=c.matchMedia(gp(i).value),S.value=x.matches,"addEventListener"in x?x.addEventListener("change",ie):x.addListener(ie))};return Xd(ie),np(()=>W()),S}function Ky(i){return JSON.parse(JSON.stringify(i))}const vh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xh="__vueuse_ssr_handlers__";vh[xh]=vh[xh]||{};const Jy=vh[xh];function Sm(i,h){return Jy[i]||h}function Xy(i){return i==null?"any":i instanceof Set?"set":i instanceof Map?"map":i instanceof Date?"date":typeof i=="boolean"?"boolean":typeof i=="string"?"string":typeof i=="object"?"object":Number.isNaN(i)?"any":"number"}var Yy=Object.defineProperty,zf=Object.getOwnPropertySymbols,Qy=Object.prototype.hasOwnProperty,Zy=Object.prototype.propertyIsEnumerable,Uf=(i,h,c)=>h in i?Yy(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,Hf=(i,h)=>{for(var c in h||(h={}))Qy.call(h,c)&&Uf(i,c,h[c]);if(zf)for(var c of zf(h))Zy.call(h,c)&&Uf(i,c,h[c]);return i};const eD={boolean:{read:i=>i==="true",write:i=>String(i)},object:{read:i=>JSON.parse(i),write:i=>JSON.stringify(i)},number:{read:i=>Number.parseFloat(i),write:i=>String(i)},any:{read:i=>i,write:i=>String(i)},string:{read:i=>i,write:i=>String(i)},map:{read:i=>new Map(JSON.parse(i)),write:i=>JSON.stringify(Array.from(i.entries()))},set:{read:i=>new Set(JSON.parse(i)),write:i=>JSON.stringify(Array.from(i))},date:{read:i=>new Date(i),write:i=>i.toISOString()}};function Fm(i,h,c,g={}){var x;const{flush:S="pre",deep:W=!0,listenToStorageChanges:ie=!0,writeDefaults:de=!0,mergeDefaults:ve=!1,shallow:De,window:Ve=zl,eventFilter:tt,onError:Ct=kr=>{console.error(kr)}}=g,Rt=(De?zc:Ta)(h);if(!c)try{c=Sm("getDefaultStorage",()=>{var kr;return(kr=zl)==null?void 0:kr.localStorage})()}catch(kr){Ct(kr)}if(!c)return Rt;const $t=$o(h),Sr=Xy($t),Ze=(x=g.serializer)!=null?x:eD[Sr],{pause:ct,resume:Et}=Wy(Rt,()=>er(Rt.value),{flush:S,deep:W,eventFilter:tt});return Ve&&ie&&Vy(Ve,"storage",Pn),Pn(),Rt;function er(kr){try{if(kr==null)c.removeItem(i);else{const ln=Ze.write(kr),Dn=c.getItem(i);Dn!==ln&&(c.setItem(i,ln),Ve&&(Ve==null||Ve.dispatchEvent(new StorageEvent("storage",{key:i,oldValue:Dn,newValue:ln,storageArea:c}))))}}catch(ln){Ct(ln)}}function gr(kr){const ln=kr?kr.newValue:c.getItem(i);if(ln==null)return de&&$t!==null&&c.setItem(i,Ze.write($t)),$t;if(!kr&&ve){const Dn=Ze.read(ln);return xm(ve)?ve(Dn,$t):Sr==="object"&&!Array.isArray(Dn)?Hf(Hf({},$t),Dn):Dn}else return typeof ln!="string"?ln:Ze.read(ln)}function Pn(kr){if(!(kr&&kr.storageArea!==c)){if(kr&&kr.key==null){Rt.value=$t;return}if(!(kr&&kr.key!==i)){ct();try{Rt.value=gr(kr)}catch(ln){Ct(ln)}finally{kr?Lp(Et):Et()}}}}}function km(i){return Gy("(prefers-color-scheme: dark)",i)}var tD=Object.defineProperty,qf=Object.getOwnPropertySymbols,rD=Object.prototype.hasOwnProperty,nD=Object.prototype.propertyIsEnumerable,Wf=(i,h,c)=>h in i?tD(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,iD=(i,h)=>{for(var c in h||(h={}))rD.call(h,c)&&Wf(i,c,h[c]);if(qf)for(var c of qf(h))nD.call(h,c)&&Wf(i,c,h[c]);return i};function sD(i={}){const{selector:h="html",attribute:c="class",initialValue:g="auto",window:x=zl,storage:S,storageKey:W="vueuse-color-scheme",listenToStorageChanges:ie=!0,storageRef:de,emitAuto:ve}=i,De=iD({auto:"",light:"light",dark:"dark"},i.modes||{}),Ve=km({window:x}),tt=Ws(()=>Ve.value?"dark":"light"),Ct=de||(W==null?Ta(g):Fm(W,g,S,{window:x,listenToStorageChanges:ie})),Rt=Ws({get(){return Ct.value==="auto"&&!ve?tt.value:Ct.value},set(ct){Ct.value=ct}}),$t=Sm("updateHTMLAttrs",(ct,Et,er)=>{const gr=x==null?void 0:x.document.querySelector(ct);if(!!gr)if(Et==="class"){const Pn=er.split(/\s/g);Object.values(De).flatMap(kr=>(kr||"").split(/\s/g)).filter(Boolean).forEach(kr=>{Pn.includes(kr)?gr.classList.add(kr):gr.classList.remove(kr)})}else gr.setAttribute(Et,er)});function Sr(ct){var Et;const er=ct==="auto"?tt.value:ct;$t(h,c,(Et=De[er])!=null?Et:er)}function Ze(ct){i.onChanged?i.onChanged(ct,Sr):Sr(ct)}return Ua(Rt,Ze,{flush:"post",immediate:!0}),ve&&Ua(tt,()=>Ze(Rt.value),{flush:"post"}),bm(()=>Ze(Rt.value)),Rt}var aD=Object.defineProperty,oD=Object.defineProperties,uD=Object.getOwnPropertyDescriptors,Vf=Object.getOwnPropertySymbols,lD=Object.prototype.hasOwnProperty,cD=Object.prototype.propertyIsEnumerable,Gf=(i,h,c)=>h in i?aD(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,pD=(i,h)=>{for(var c in h||(h={}))lD.call(h,c)&&Gf(i,c,h[c]);if(Vf)for(var c of Vf(h))cD.call(h,c)&&Gf(i,c,h[c]);return i},hD=(i,h)=>oD(i,uD(h));function fD(i={}){const{valueDark:h="dark",valueLight:c="",window:g=zl}=i,x=sD(hD(pD({},i),{onChanged:(ie,de)=>{var ve;i.onChanged?(ve=i.onChanged)==null||ve.call(i,ie==="dark"):de(ie)},modes:{dark:h,light:c}})),S=km({window:g});return Ws({get(){return x.value==="dark"},set(ie){ie===S.value?x.value="auto":x.value=ie?"dark":"light"}})}var Kf=Object.getOwnPropertySymbols,dD=Object.prototype.hasOwnProperty,mD=Object.prototype.propertyIsEnumerable,gD=(i,h)=>{var c={};for(var g in i)dD.call(i,g)&&h.indexOf(g)<0&&(c[g]=i[g]);if(i!=null&&Kf)for(var g of Kf(i))h.indexOf(g)<0&&mD.call(i,g)&&(c[g]=i[g]);return c};function yD(i,h,c={}){const g=c,{window:x=zl}=g,S=gD(g,["window"]);let W;const ie=Tm(()=>x&&"ResizeObserver"in x),de=()=>{W&&(W.disconnect(),W=void 0)},ve=Ua(()=>Xh(i),Ve=>{de(),ie.value&&x&&Ve&&(W=new ResizeObserver(h),W.observe(Ve,S))},{immediate:!0,flush:"post"}),De=()=>{de(),ve()};return np(De),{isSupported:ie,stop:De}}var DD=Object.defineProperty,vD=Object.defineProperties,xD=Object.getOwnPropertyDescriptors,Jf=Object.getOwnPropertySymbols,CD=Object.prototype.hasOwnProperty,ED=Object.prototype.propertyIsEnumerable,Xf=(i,h,c)=>h in i?DD(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,Qo=(i,h)=>{for(var c in h||(h={}))CD.call(h,c)&&Xf(i,c,h[c]);if(Jf)for(var c of Jf(h))ED.call(h,c)&&Xf(i,c,h[c]);return i},jc=(i,h)=>vD(i,xD(h));const bD={json:"application/json",text:"text/plain"};function Yf(i){return ky(i,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function eh(i){return typeof Headers<"u"&&i instanceof Headers?Object.fromEntries([...i.entries()]):i}function Hp(i,...h){var c;const g=typeof AbortController=="function";let x={},S={immediate:!0,refetch:!1,timeout:0};const W={method:"GET",type:"text",payload:void 0};h.length>0&&(Yf(h[0])?S=Qo(Qo({},S),h[0]):x=h[0]),h.length>1&&Yf(h[1])&&(S=Qo(Qo({},S),h[1]));const{fetch:ie=(c=zl)==null?void 0:c.fetch,initialData:de,timeout:ve}=S,De=qc(),Ve=qc(),tt=qc(),Ct=Ta(!1),Rt=Ta(!1),$t=Ta(!1),Sr=Ta(null),Ze=zc(null),ct=zc(null),Et=zc(de),er=Ws(()=>g&&Rt.value);let gr,Pn;const kr=()=>{g&&gr&&gr.abort()},ln=Ee=>{Rt.value=Ee,Ct.value=!Ee};ve&&(Pn=_y(kr,ve,{immediate:!1}));const Dn=async(Ee=!1)=>{var tn;ln(!0),ct.value=null,Sr.value=null,$t.value=!1,gr=void 0,g&&(gr=new AbortController,gr.signal.onabort=()=>$t.value=!0,x=jc(Qo({},x),{signal:gr.signal}));const ur={method:W.method,headers:{}};if(W.payload){const as=eh(ur.headers);W.payloadType&&(as["Content-Type"]=(tn=bD[W.payloadType])!=null?tn:W.payloadType);const fs=$o(W.payload);ur.body=W.payloadType==="json"?JSON.stringify(fs):fs}let kn=!1;const ti={url:$o(i),options:Qo(Qo({},ur),x),cancel:()=>{kn=!0}};if(S.beforeFetch&&Object.assign(ti,await S.beforeFetch(ti)),kn||!ie)return ln(!1),Promise.resolve(null);let Vi=null;return Pn&&Pn.start(),new Promise((as,fs)=>{var es;ie(ti.url,jc(Qo(Qo({},ur),ti.options),{headers:Qo(Qo({},eh(ur.headers)),eh((es=ti.options)==null?void 0:es.headers))})).then(async ts=>{if(Ze.value=ts,Sr.value=ts.status,Vi=await ts[W.type](),S.afterFetch&&Sr.value>=200&&Sr.value<300&&({data:Vi}=await S.afterFetch({data:Vi,response:ts})),Et.value=Vi,!ts.ok)throw new Error(ts.statusText);return De.trigger(ts),as(ts)}).catch(async ts=>{let Mr=ts.message||ts.name;return S.onFetchError&&({data:Vi,error:Mr}=await S.onFetchError({data:Vi,error:ts,response:Ze.value})),Et.value=Vi,ct.value=Mr,Ve.trigger(ts),Ee?fs(ts):as(null)}).finally(()=>{ln(!1),Pn&&Pn.stop(),tt.trigger(null)})})},mn=gp(S.refetch);Ua([mn,gp(i)],([Ee])=>Ee&&Dn(),{deep:!0});const gn={isFinished:Ct,statusCode:Sr,response:Ze,error:ct,data:Et,isFetching:Rt,canAbort:er,aborted:$t,abort:kr,execute:Dn,onFetchResponse:De.on,onFetchError:Ve.on,onFetchFinally:tt.on,get:Xn("GET"),put:Xn("PUT"),post:Xn("POST"),delete:Xn("DELETE"),patch:Xn("PATCH"),head:Xn("HEAD"),options:Xn("OPTIONS"),json:Tn("json"),text:Tn("text"),blob:Tn("blob"),arrayBuffer:Tn("arrayBuffer"),formData:Tn("formData")};function Xn(Ee){return(tn,ur)=>{if(!Rt.value){W.method=Ee,W.payload=tn,W.payloadType=ur,wa(W.payload)&&Ua([mn,gp(W.payload)],([ti])=>ti&&Dn(),{deep:!0});const kn=$o(W.payload);return!ur&&kn&&Object.getPrototypeOf(kn)===Object.prototype&&!(kn instanceof FormData)&&(W.payloadType="json"),jc(Qo({},gn),{then(ti,Vi){return hr().then(ti,Vi)}})}}}function hr(){return new Promise((Ee,tn)=>{By(Ct).toBe(!0).then(()=>Ee(gn)).catch(ur=>tn(ur))})}function Tn(Ee){return()=>{if(!Rt.value)return W.type=Ee,jc(Qo({},gn),{then(tn,ur){return hr().then(tn,ur)}})}}return S.immediate&&setTimeout(Dn,0),jc(Qo({},gn),{then(Ee,tn){return hr().then(Ee,tn)}})}function wx(i,h,c={}){const{window:g=zl}=c;return Fm(i,h,g==null?void 0:g.localStorage,c)}var Qf;(function(i){i.UP="UP",i.RIGHT="RIGHT",i.DOWN="DOWN",i.LEFT="LEFT",i.NONE="NONE"})(Qf||(Qf={}));var AD=Object.defineProperty,Zf=Object.getOwnPropertySymbols,wD=Object.prototype.hasOwnProperty,TD=Object.prototype.propertyIsEnumerable,ed=(i,h,c)=>h in i?AD(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,SD=(i,h)=>{for(var c in h||(h={}))wD.call(h,c)&&ed(i,c,h[c]);if(Zf)for(var c of Zf(h))TD.call(h,c)&&ed(i,c,h[c]);return i};const FD={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};SD({linear:Fy},FD);function kD(i,h,c,g={}){var x,S,W;const{clone:ie=!1,passive:de=!1,eventName:ve,deep:De=!1,defaultValue:Ve}=g,tt=Kh(),Ct=c||(tt==null?void 0:tt.emit)||((x=tt==null?void 0:tt.$emit)==null?void 0:x.bind(tt))||((W=(S=tt==null?void 0:tt.proxy)==null?void 0:S.$emit)==null?void 0:W.bind(tt==null?void 0:tt.proxy));let Rt=ve;h||(h="modelValue"),Rt=ve||Rt||`update:${h.toString()}`;const $t=Ze=>ie?xm(ie)?ie(Ze):Ky(Ze):Ze,Sr=()=>Ay(i[h])?$t(i[h]):Ve;if(de){const Ze=Sr(),ct=Ta(Ze);return Ua(()=>i[h],Et=>ct.value=$t(Et)),Ua(ct,Et=>{(Et!==i[h]||De)&&Ct(Rt,Et)},{deep:De}),ct}else return Ws({get(){return Sr()},set(Ze){Ct(Rt,Ze)}})}function td(i){return i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const PD=/^\[(.+?)~?="(.*)"\]$/,ND=/[\w\u00A0-\uFFFF-_:%-?]/;function BD(i){return i.match(PD)}function _D(i=""){return ND.test(i)}const lp={};function ID(i=["-",":"]){const h=i.join("|");return lp[h]||(lp[h]=new RegExp(`((?:[!@\\w+:_/-]|\\[&?>?:?.*\\])+?)(${h})\\(((?:[~!\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),lp[h].lastIndex=0,lp[h]}const OD=/\\?[\s'"`;{}]+/g,Yh=/\[(\\\W|[\w-])+:['"]?\S+?['"]?\]/g,LD=new RegExp(`^${Yh.source}$`),MD=i=>{var c;const h=new Set;for(const g of i.matchAll(Yh))!((c=i[g.index-1])!=null&&c.match(/^[\s'"`]/))||h.add(g[0]);return i.split(OD).forEach(g=>{_D(g)&&!LD.test(g)&&h.add(g)}),[...h]},Tx={name:"split",order:0,extract({code:i}){return MD(i)}};var vl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qp(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ch={},jD={get exports(){return Ch},set exports(i){Ch=i}};(function(i,h){(function(c,g){g(h)})(vl,function(c){const g=",".charCodeAt(0),x=";".charCodeAt(0),S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W=new Uint8Array(64),ie=new Uint8Array(128);for(let Ze=0;Ze<S.length;Ze++){const ct=S.charCodeAt(Ze);W[Ze]=ct,ie[ct]=Ze}const de=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(Ze){return Buffer.from(Ze.buffer,Ze.byteOffset,Ze.byteLength).toString()}}:{decode(Ze){let ct="";for(let Et=0;Et<Ze.length;Et++)ct+=String.fromCharCode(Ze[Et]);return ct}};function ve(Ze){const ct=new Int32Array(5),Et=[];let er=0;do{const gr=De(Ze,er),Pn=[];let kr=!0,ln=0;ct[0]=0;for(let Dn=er;Dn<gr;Dn++){let mn;Dn=Ve(Ze,Dn,ct,0);const gn=ct[0];gn<ln&&(kr=!1),ln=gn,tt(Ze,Dn,gr)?(Dn=Ve(Ze,Dn,ct,1),Dn=Ve(Ze,Dn,ct,2),Dn=Ve(Ze,Dn,ct,3),tt(Ze,Dn,gr)?(Dn=Ve(Ze,Dn,ct,4),mn=[gn,ct[1],ct[2],ct[3],ct[4]]):mn=[gn,ct[1],ct[2],ct[3]]):mn=[gn],Pn.push(mn)}kr||Ct(Pn),Et.push(Pn),er=gr+1}while(er<=Ze.length);return Et}function De(Ze,ct){const Et=Ze.indexOf(";",ct);return Et===-1?Ze.length:Et}function Ve(Ze,ct,Et,er){let gr=0,Pn=0,kr=0;do{const Dn=Ze.charCodeAt(ct++);kr=ie[Dn],gr|=(kr&31)<<Pn,Pn+=5}while(kr&32);const ln=gr&1;return gr>>>=1,ln&&(gr=-2147483648|-gr),Et[er]+=gr,ct}function tt(Ze,ct,Et){return ct>=Et?!1:Ze.charCodeAt(ct)!==g}function Ct(Ze){Ze.sort(Rt)}function Rt(Ze,ct){return Ze[0]-ct[0]}function $t(Ze){const ct=new Int32Array(5),Et=1024*16,er=Et-36,gr=new Uint8Array(Et),Pn=gr.subarray(0,er);let kr=0,ln="";for(let Dn=0;Dn<Ze.length;Dn++){const mn=Ze[Dn];if(Dn>0&&(kr===Et&&(ln+=de.decode(gr),kr=0),gr[kr++]=x),mn.length!==0){ct[0]=0;for(let gn=0;gn<mn.length;gn++){const Xn=mn[gn];kr>er&&(ln+=de.decode(Pn),gr.copyWithin(0,er,kr),kr-=er),gn>0&&(gr[kr++]=g),kr=Sr(gr,kr,ct,Xn,0),Xn.length!==1&&(kr=Sr(gr,kr,ct,Xn,1),kr=Sr(gr,kr,ct,Xn,2),kr=Sr(gr,kr,ct,Xn,3),Xn.length!==4&&(kr=Sr(gr,kr,ct,Xn,4)))}}}return ln+de.decode(gr.subarray(0,kr))}function Sr(Ze,ct,Et,er,gr){const Pn=er[gr];let kr=Pn-Et[gr];Et[gr]=Pn,kr=kr<0?-kr<<1|1:kr<<1;do{let ln=kr&31;kr>>>=5,kr>0&&(ln|=32),Ze[ct++]=W[ln]}while(kr>0);return ct}c.decode=ve,c.encode=$t,Object.defineProperty(c,"__esModule",{value:!0})})})(jD,Ch);function RD(i,h,c){const g=[];return h.forEach(x=>{if(x.includes(":"))x===i&&g.push([c,c+x.length,x]);else{const W=new RegExp(`.(${x})[.#=s(]|.(${x})$`).exec(i);W?g.push([c+W.index+1,c+W.index+x.length+1,x]):x===i&&g.push([c,c+x.length,x])}}),g}function $D(i,h,c=!1,g=!1,x=void 0){const S=[],W=[],ie=new Set;Array.from(h).forEach(ve=>{const De=BD(ve);De?De[2]?W.push(De):ie.add(De[1]):ie.add(ve)});let de=0;i.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(ve=>{const De=de+ve.length;g?S.push(...RD(ve,ie,de)):ie.has(ve)&&S.push([de,De,ve]),de=De});for(const ve of i.matchAll(Yh)){const De=ve.index,Ve=De+ve[0].length;ie.has(ve[0])&&S.push([De,Ve,ve[0]])}return c&&Array.from(i.matchAll(ID(x==null?void 0:x.config.separators))).forEach(ve=>{const[,De,Ve,tt]=ve;let Rt=ve.index+De.length+Ve.length+1;tt.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach($t=>{const Sr=Rt+$t.length,Ze=De+Ve+$t;if(ie.has(Ze)){const ct=S.findIndex(([Et,er])=>Et===Rt&&er===Sr);ct<0?S.push([Rt,Sr,Ze]):S[ct][2]=Ze}Rt=Sr})}),W.forEach(([,ve,De])=>{const Ve=new RegExp(`(${td(ve)}=)(['"])[^\\2]*?${td(De)}[^\\2]*?\\2`,"g");Array.from(i.matchAll(Ve)).forEach(tt=>{const Ct=tt[1],$t=tt[0].slice(Ct.length).indexOf(De);if($t<0)return;const Sr=tt.index+Ct.length+$t,Ze=Sr+De.length;S.push([Sr,Ze,`[${ve}="${De}"]`])})}),S.sort((ve,De)=>ve[0]-De[0])}var xl={},zD={get exports(){return xl},set exports(i){xl=i}};(function(i,h){(function(c,g){i.exports=g()})(vl,function(){var c=navigator.userAgent,g=navigator.platform,x=/gecko\/\d/i.test(c),S=/MSIE \d/.test(c),W=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(c),ie=/Edge\/(\d+)/.exec(c),de=S||W||ie,ve=de&&(S?document.documentMode||6:+(ie||W)[1]),De=!ie&&/WebKit\//.test(c),Ve=De&&/Qt\/\d+\.\d+/.test(c),tt=!ie&&/Chrome\/(\d+)/.exec(c),Ct=tt&&+tt[1],Rt=/Opera\//.test(c),$t=/Apple Computer/.test(navigator.vendor),Sr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(c),Ze=/PhantomJS/.test(c),ct=$t&&(/Mobile\/\w+/.test(c)||navigator.maxTouchPoints>2),Et=/Android/.test(c),er=ct||Et||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(c),gr=ct||/Mac/.test(g),Pn=/\bCrOS\b/.test(c),kr=/win/i.test(g),ln=Rt&&c.match(/Version\/(\d*\.\d*)/);ln&&(ln=Number(ln[1])),ln&&ln>=15&&(Rt=!1,De=!0);var Dn=gr&&(Ve||Rt&&(ln==null||ln<12.11)),mn=x||de&&ve>=9;function gn(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var Xn=function(e,n){var o=e.className,u=gn(n).exec(o);if(u){var p=o.slice(u.index+u[0].length);e.className=o.slice(0,u.index)+(p?u[1]+p:"")}};function hr(e){for(var n=e.childNodes.length;n>0;--n)e.removeChild(e.firstChild);return e}function Tn(e,n){return hr(e).appendChild(n)}function Ee(e,n,o,u){var p=document.createElement(e);if(o&&(p.className=o),u&&(p.style.cssText=u),typeof n=="string")p.appendChild(document.createTextNode(n));else if(n)for(var D=0;D<n.length;++D)p.appendChild(n[D]);return p}function tn(e,n,o,u){var p=Ee(e,n,o,u);return p.setAttribute("role","presentation"),p}var ur;document.createRange?ur=function(e,n,o,u){var p=document.createRange();return p.setEnd(u||e,o),p.setStart(e,n),p}:ur=function(e,n,o){var u=document.body.createTextRange();try{u.moveToElementText(e.parentNode)}catch{return u}return u.collapse(!0),u.moveEnd("character",o),u.moveStart("character",n),u};function kn(e,n){if(n.nodeType==3&&(n=n.parentNode),e.contains)return e.contains(n);do if(n.nodeType==11&&(n=n.host),n==e)return!0;while(n=n.parentNode)}function ti(e){var n;try{n=e.activeElement}catch{n=e.body||null}for(;n&&n.shadowRoot&&n.shadowRoot.activeElement;)n=n.shadowRoot.activeElement;return n}function Vi(e,n){var o=e.className;gn(n).test(o)||(e.className+=(o?" ":"")+n)}function as(e,n){for(var o=e.split(" "),u=0;u<o.length;u++)o[u]&&!gn(o[u]).test(n)&&(n+=" "+o[u]);return n}var fs=function(e){e.select()};ct?fs=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:de&&(fs=function(e){try{e.select()}catch{}});function es(e){return e.display.wrapper.ownerDocument}function ts(e){return es(e).defaultView}function Mr(e){var n=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,n)}}function $r(e,n,o){n||(n={});for(var u in e)e.hasOwnProperty(u)&&(o!==!1||!n.hasOwnProperty(u))&&(n[u]=e[u]);return n}function yr(e,n,o,u,p){n==null&&(n=e.search(/[^\s\u00a0]/),n==-1&&(n=e.length));for(var D=u||0,E=p||0;;){var k=e.indexOf(" ",D);if(k<0||k>=n)return E+(n-D);E+=k-D,E+=o-E%o,D=k+1}}var cn=function(){this.id=null,this.f=null,this.time=0,this.handler=Mr(this.onTimeout,this)};cn.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},cn.prototype.set=function(e,n){this.f=n;var o=+new Date+e;(!this.id||o<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=o)};function $n(e,n){for(var o=0;o<e.length;++o)if(e[o]==n)return o;return-1}var ci=50,Mn={toString:function(){return"CodeMirror.Pass"}},Xe={scroll:!1},At={origin:"*mouse"},wr={origin:"+move"};function Hr(e,n,o){for(var u=0,p=0;;){var D=e.indexOf(" ",u);D==-1&&(D=e.length);var E=D-u;if(D==e.length||p+E>=n)return u+Math.min(E,n-p);if(p+=D-u,p+=o-p%o,u=D+1,p>=n)return u}}var Fr=[""];function nn(e){for(;Fr.length<=e;)Fr.push(Jr(Fr)+" ");return Fr[e]}function Jr(e){return e[e.length-1]}function pn(e,n){for(var o=[],u=0;u<e.length;u++)o[u]=n(e[u],u);return o}function jn(e,n,o){for(var u=0,p=o(n);u<e.length&&o(e[u])<=p;)u++;e.splice(u,0,n)}function Zr(){}function Tt(e,n){var o;return Object.create?o=Object.create(e):(Zr.prototype=e,o=new Zr),n&&$r(n,o),o}var mr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Vt(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||mr.test(e))}function Wn(e,n){return n?n.source.indexOf("\\w")>-1&&Vt(e)?!0:n.test(e):Vt(e)}function ki(e){for(var n in e)if(e.hasOwnProperty(n)&&e[n])return!1;return!0}var ds=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Zi(e){return e.charCodeAt(0)>=768&&ds.test(e)}function Ds(e,n,o){for(;(o<0?n>0:n<e.length)&&Zi(e.charAt(n));)n+=o;return n}function os(e,n,o){for(var u=n>o?-1:1;;){if(n==o)return n;var p=(n+o)/2,D=u<0?Math.ceil(p):Math.floor(p);if(D==n)return e(D)?n:o;e(D)?o=D:n=D+u}}function ta(e,n,o,u){if(!e)return u(n,o,"ltr",0);for(var p=!1,D=0;D<e.length;++D){var E=e[D];(E.from<o&&E.to>n||n==o&&E.to==n)&&(u(Math.max(E.from,n),Math.min(E.to,o),E.level==1?"rtl":"ltr",D),p=!0)}p||u(n,o,"ltr")}var Vn=null;function Cr(e,n,o){var u;Vn=null;for(var p=0;p<e.length;++p){var D=e[p];if(D.from<n&&D.to>n)return p;D.to==n&&(D.from!=D.to&&o=="before"?u=p:Vn=p),D.from==n&&(D.from!=D.to&&o!="before"?u=p:Vn=p)}return u??Vn}var Tr=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",n="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function o($){return $<=247?e.charAt($):1424<=$&&$<=1524?"R":1536<=$&&$<=1785?n.charAt($-1536):1774<=$&&$<=2220?"r":8192<=$&&$<=8203?"w":$==8204?"b":"L"}var u=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,p=/[stwN]/,D=/[LRr]/,E=/[Lb1n]/,k=/[1n]/;function j($,ke,qe){this.level=$,this.from=ke,this.to=qe}return function($,ke){var qe=ke=="ltr"?"L":"R";if($.length==0||ke=="ltr"&&!u.test($))return!1;for(var be=$.length,Pt=[],Dr=0;Dr<be;++Dr)Pt.push(o($.charCodeAt(Dr)));for(var dr=0,Ur=qe;dr<be;++dr){var fn=Pt[dr];fn=="m"?Pt[dr]=Ur:Ur=fn}for(var Kn=0,Bn=qe;Kn<be;++Kn){var le=Pt[Kn];le=="1"&&Bn=="r"?Pt[Kn]="n":D.test(le)&&(Bn=le,le=="r"&&(Pt[Kn]="R"))}for(var St=1,Xr=Pt[0];St<be-1;++St){var In=Pt[St];In=="+"&&Xr=="1"&&Pt[St+1]=="1"?Pt[St]="1":In==","&&Xr==Pt[St+1]&&(Xr=="1"||Xr=="n")&&(Pt[St]=Xr),Xr=In}for(var Oi=0;Oi<be;++Oi){var As=Pt[Oi];if(As==",")Pt[Oi]="N";else if(As=="%"){var Mi=void 0;for(Mi=Oi+1;Mi<be&&Pt[Mi]=="%";++Mi);for(var Vs=Oi&&Pt[Oi-1]=="!"||Mi<be&&Pt[Mi]=="1"?"1":"N",Bs=Oi;Bs<Mi;++Bs)Pt[Bs]=Vs;Oi=Mi-1}}for(var fi=0,Fi=qe;fi<be;++fi){var fa=Pt[fi];Fi=="L"&&fa=="1"?Pt[fi]="L":D.test(fa)&&(Fi=fa)}for(var Da=0;Da<be;++Da)if(p.test(Pt[Da])){var da=void 0;for(da=Da+1;da<be&&p.test(Pt[da]);++da);for(var Zs=(Da?Pt[Da-1]:qe)=="L",to=(da<be?Pt[da]:qe)=="L",Kl=Zs==to?Zs?"L":"R":qe,Wu=Da;Wu<da;++Wu)Pt[Wu]=Kl;Da=da-1}for(var Pa=[],dl,za=0;za<be;)if(E.test(Pt[za])){var Gp=za;for(++za;za<be&&E.test(Pt[za]);++za);Pa.push(new j(0,Gp,za))}else{var Ol=za,ac=Pa.length,oc=ke=="rtl"?1:0;for(++za;za<be&&Pt[za]!="L";++za);for(var bo=Ol;bo<za;)if(k.test(Pt[bo])){Ol<bo&&(Pa.splice(ac,0,new j(1,Ol,bo)),ac+=oc);var yc=bo;for(++bo;bo<za&&k.test(Pt[bo]);++bo);Pa.splice(ac,0,new j(2,yc,bo)),ac+=oc,Ol=bo}else++bo;Ol<za&&Pa.splice(ac,0,new j(1,Ol,za))}return ke=="ltr"&&(Pa[0].level==1&&(dl=$.match(/^\s+/))&&(Pa[0].from=dl[0].length,Pa.unshift(new j(0,0,dl[0].length))),Jr(Pa).level==1&&(dl=$.match(/\s+$/))&&(Jr(Pa).to-=dl[0].length,Pa.push(new j(0,be-dl[0].length,be)))),ke=="rtl"?Pa.reverse():Pa}}();function vr(e,n){var o=e.order;return o==null&&(o=e.order=Tr(e.text,n)),o}var Kr=[],_t=function(e,n,o){if(e.addEventListener)e.addEventListener(n,o,!1);else if(e.attachEvent)e.attachEvent("on"+n,o);else{var u=e._handlers||(e._handlers={});u[n]=(u[n]||Kr).concat(o)}};function Gn(e,n){return e._handlers&&e._handlers[n]||Kr}function Xt(e,n,o){if(e.removeEventListener)e.removeEventListener(n,o,!1);else if(e.detachEvent)e.detachEvent("on"+n,o);else{var u=e._handlers,p=u&&u[n];if(p){var D=$n(p,o);D>-1&&(u[n]=p.slice(0,D).concat(p.slice(D+1)))}}}function On(e,n){var o=Gn(e,n);if(!!o.length)for(var u=Array.prototype.slice.call(arguments,2),p=0;p<o.length;++p)o[p].apply(null,u)}function fr(e,n,o){return typeof n=="string"&&(n={type:n,preventDefault:function(){this.defaultPrevented=!0}}),On(e,o||n.type,e,n),Ir(n)||n.codemirrorIgnore}function Bt(e){var n=e._handlers&&e._handlers.cursorActivity;if(!!n)for(var o=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),u=0;u<n.length;++u)$n(o,n[u])==-1&&o.push(n[u])}function Me(e,n){return Gn(e,n).length>0}function kt(e){e.prototype.on=function(n,o){_t(this,n,o)},e.prototype.off=function(n,o){Xt(this,n,o)}}function jt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function nr(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ir(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Pr(e){jt(e),nr(e)}function zt(e){return e.target||e.srcElement}function _e(e){var n=e.which;return n==null&&(e.button&1?n=1:e.button&2?n=3:e.button&4&&(n=2)),gr&&e.ctrlKey&&n==1&&(n=3),n}var ue=function(){if(de&&ve<9)return!1;var e=Ee("div");return"draggable"in e||"dragDrop"in e}(),re;function xe(e){if(re==null){var n=Ee("span","​");Tn(e,Ee("span",[n,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(re=n.offsetWidth<=1&&n.offsetHeight>2&&!(de&&ve<8))}var o=re?Ee("span","​"):Ee("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var Fe;function Re(e){if(Fe!=null)return Fe;var n=Tn(e,document.createTextNode("AخA")),o=ur(n,0,1).getBoundingClientRect(),u=ur(n,1,2).getBoundingClientRect();return hr(e),!o||o.left==o.right?!1:Fe=u.right-o.right<3}var Qe=`
2
-
3
- b`.split(/\n/).length!=3?function(e){for(var n=0,o=[],u=e.length;n<=u;){var p=e.indexOf(`
4
- `,n);p==-1&&(p=e.length);var D=e.slice(n,e.charAt(p-1)=="\r"?p-1:p),E=D.indexOf("\r");E!=-1?(o.push(D.slice(0,E)),n+=E+1):(o.push(D),n=p+1)}return o}:function(e){return e.split(/\r\n?|\n/)},it=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var n;try{n=e.ownerDocument.selection.createRange()}catch{}return!n||n.parentElement()!=e?!1:n.compareEndPoints("StartToEnd",n)!=0},Ft=function(){var e=Ee("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Qt=null;function sr(e){if(Qt!=null)return Qt;var n=Tn(e,Ee("span","x")),o=n.getBoundingClientRect(),u=ur(n,0,1).getBoundingClientRect();return Qt=Math.abs(o.left-u.left)>1}var Nt={},Nr={};function Yr(e,n){arguments.length>2&&(n.dependencies=Array.prototype.slice.call(arguments,2)),Nt[e]=n}function Be(e,n){Nr[e]=n}function xr(e){if(typeof e=="string"&&Nr.hasOwnProperty(e))e=Nr[e];else if(e&&typeof e.name=="string"&&Nr.hasOwnProperty(e.name)){var n=Nr[e.name];typeof n=="string"&&(n={name:n}),e=Tt(n,e),e.name=n.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return xr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return xr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Sn(e,n){n=xr(n);var o=Nt[n.name];if(!o)return Sn(e,"text/plain");var u=o(e,n);if(bi.hasOwnProperty(n.name)){var p=bi[n.name];for(var D in p)!p.hasOwnProperty(D)||(u.hasOwnProperty(D)&&(u["_"+D]=u[D]),u[D]=p[D])}if(u.name=n.name,n.helperType&&(u.helperType=n.helperType),n.modeProps)for(var E in n.modeProps)u[E]=n.modeProps[E];return u}var bi={};function ui(e,n){var o=bi.hasOwnProperty(e)?bi[e]:bi[e]={};$r(n,o)}function vn(e,n){if(n===!0)return n;if(e.copyState)return e.copyState(n);var o={};for(var u in n){var p=n[u];p instanceof Array&&(p=p.concat([])),o[u]=p}return o}function ns(e,n){for(var o;e.innerMode&&(o=e.innerMode(n),!(!o||o.mode==e));)n=o.state,e=o.mode;return o||{mode:e,state:n}}function Fs(e,n,o){return e.startState?e.startState(n,o):!0}var at=function(e,n,o){this.pos=this.start=0,this.string=e,this.tabSize=n||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};at.prototype.eol=function(){return this.pos>=this.string.length},at.prototype.sol=function(){return this.pos==this.lineStart},at.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},at.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},at.prototype.eat=function(e){var n=this.string.charAt(this.pos),o;if(typeof e=="string"?o=n==e:o=n&&(e.test?e.test(n):e(n)),o)return++this.pos,n},at.prototype.eatWhile=function(e){for(var n=this.pos;this.eat(e););return this.pos>n},at.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},at.prototype.skipToEnd=function(){this.pos=this.string.length},at.prototype.skipTo=function(e){var n=this.string.indexOf(e,this.pos);if(n>-1)return this.pos=n,!0},at.prototype.backUp=function(e){this.pos-=e},at.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=yr(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?yr(this.string,this.lineStart,this.tabSize):0)},at.prototype.indentation=function(){return yr(this.string,null,this.tabSize)-(this.lineStart?yr(this.string,this.lineStart,this.tabSize):0)},at.prototype.match=function(e,n,o){if(typeof e=="string"){var u=function(E){return o?E.toLowerCase():E},p=this.string.substr(this.pos,e.length);if(u(p)==u(e))return n!==!1&&(this.pos+=e.length),!0}else{var D=this.string.slice(this.pos).match(e);return D&&D.index>0?null:(D&&n!==!1&&(this.pos+=D[0].length),D)}},at.prototype.current=function(){return this.string.slice(this.start,this.pos)},at.prototype.hideFirstChars=function(e,n){this.lineStart+=e;try{return n()}finally{this.lineStart-=e}},at.prototype.lookAhead=function(e){var n=this.lineOracle;return n&&n.lookAhead(e)},at.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function hn(e,n){if(n-=e.first,n<0||n>=e.size)throw new Error("There is no line "+(n+e.first)+" in the document.");for(var o=e;!o.lines;)for(var u=0;;++u){var p=o.children[u],D=p.chunkSize();if(n<D){o=p;break}n-=D}return o.lines[n]}function di(e,n,o){var u=[],p=n.line;return e.iter(n.line,o.line+1,function(D){var E=D.text;p==o.line&&(E=E.slice(0,o.ch)),p==n.line&&(E=E.slice(n.ch)),u.push(E),++p}),u}function ms(e,n,o){var u=[];return e.iter(n,o,function(p){u.push(p.text)}),u}function ws(e,n){var o=n-e.height;if(o)for(var u=e;u;u=u.parent)u.height+=o}function ji(e){if(e.parent==null)return null;for(var n=e.parent,o=$n(n.lines,e),u=n.parent;u;n=u,u=u.parent)for(var p=0;u.children[p]!=n;++p)o+=u.children[p].chunkSize();return o+n.first}function is(e,n){var o=e.first;e:do{for(var u=0;u<e.children.length;++u){var p=e.children[u],D=p.height;if(n<D){e=p;continue e}n-=D,o+=p.chunkSize()}return o}while(!e.lines);for(var E=0;E<e.lines.length;++E){var k=e.lines[E],j=k.height;if(n<j)break;n-=j}return o+E}function ye(e,n){return n>=e.first&&n<e.first+e.size}function nt(e,n){return String(e.lineNumberFormatter(n+e.firstLineNumber))}function dt(e,n,o){if(o===void 0&&(o=null),!(this instanceof dt))return new dt(e,n,o);this.line=e,this.ch=n,this.sticky=o}function pr(e,n){return e.line-n.line||e.ch-n.ch}function gi(e,n){return e.sticky==n.sticky&&pr(e,n)==0}function ss(e){return dt(e.line,e.ch)}function us(e,n){return pr(e,n)<0?n:e}function xs(e,n){return pr(e,n)<0?e:n}function ks(e,n){return Math.max(e.first,Math.min(n,e.first+e.size-1))}function Bi(e,n){if(n.line<e.first)return dt(e.first,0);var o=e.first+e.size-1;return n.line>o?dt(o,hn(e,o).text.length):Fu(n,hn(e,n.line).text.length)}function Fu(e,n){var o=e.ch;return o==null||o>n?dt(e.line,n):o<0?dt(e.line,0):e}function uu(e,n){for(var o=[],u=0;u<n.length;u++)o[u]=Bi(e,n[u]);return o}var so=function(e,n){this.state=e,this.lookAhead=n},Na=function(e,n,o,u){this.state=n,this.doc=e,this.line=o,this.maxLookAhead=u||0,this.baseTokens=null,this.baseTokenPos=1};Na.prototype.lookAhead=function(e){var n=this.doc.getLine(this.line+e);return n!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),n},Na.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Na.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Na.fromSaved=function(e,n,o){return n instanceof so?new Na(e,vn(e.mode,n.state),o,n.lookAhead):new Na(e,vn(e.mode,n),o)},Na.prototype.save=function(e){var n=e!==!1?vn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new so(n,this.maxLookAhead):n};function ku(e,n,o,u){var p=[e.state.modeGen],D={};_u(e,n.text,e.doc.mode,o,function($,ke){return p.push($,ke)},D,u);for(var E=o.state,k=function($){o.baseTokens=p;var ke=e.state.overlays[$],qe=1,be=0;o.state=!0,_u(e,n.text,ke.mode,o,function(Pt,Dr){for(var dr=qe;be<Pt;){var Ur=p[qe];Ur>Pt&&p.splice(qe,1,Pt,p[qe+1],Ur),qe+=2,be=Math.min(Pt,Ur)}if(!!Dr)if(ke.opaque)p.splice(dr,qe-dr,Pt,"overlay "+Dr),qe=dr+2;else for(;dr<qe;dr+=2){var fn=p[dr+1];p[dr+1]=(fn?fn+" ":"")+"overlay "+Dr}},D),o.state=E,o.baseTokens=null,o.baseTokenPos=1},j=0;j<e.state.overlays.length;++j)k(j);return{styles:p,classes:D.bgClass||D.textClass?D:null}}function xi(e,n,o){if(!n.styles||n.styles[0]!=e.state.modeGen){var u=yo(e,ji(n)),p=n.text.length>e.options.maxHighlightLength&&vn(e.doc.mode,u.state),D=ku(e,n,u);p&&(u.state=p),n.stateAfter=u.save(!p),n.styles=D.styles,D.classes?n.styleClasses=D.classes:n.styleClasses&&(n.styleClasses=null),o===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return n.styles}function yo(e,n,o){var u=e.doc,p=e.display;if(!u.mode.startState)return new Na(u,!0,n);var D=Do(e,n,o),E=D>u.first&&hn(u,D-1).stateAfter,k=E?Na.fromSaved(u,E,D):new Na(u,Fs(u.mode),D);return u.iter(D,n,function(j){lu(e,j.text,k);var $=k.line;j.stateAfter=$==n-1||$%5==0||$>=p.viewFrom&&$<p.viewTo?k.save():null,k.nextLine()}),o&&(u.modeFrontier=k.line),k}function lu(e,n,o,u){var p=e.doc.mode,D=new at(n,e.options.tabSize,o);for(D.start=D.pos=u||0,n==""&&Pu(p,o.state);!D.eol();)zo(p,D,o.state),D.start=D.pos}function Pu(e,n){if(e.blankLine)return e.blankLine(n);if(!!e.innerMode){var o=ns(e,n);if(o.mode.blankLine)return o.mode.blankLine(o.state)}}function zo(e,n,o,u){for(var p=0;p<10;p++){u&&(u[0]=ns(e,o).mode);var D=e.token(n,o);if(n.pos>n.start)return D}throw new Error("Mode "+e.name+" failed to advance stream.")}var cu=function(e,n,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=n||null,this.state=o};function Nu(e,n,o,u){var p=e.doc,D=p.mode,E;n=Bi(p,n);var k=hn(p,n.line),j=yo(e,n.line,o),$=new at(k.text,e.options.tabSize,j),ke;for(u&&(ke=[]);(u||$.pos<n.ch)&&!$.eol();)$.start=$.pos,E=zo(D,$,j.state),u&&ke.push(new cu($,E,vn(p.mode,j.state)));return u?ke:new cu($,E,j.state)}function Bu(e,n){if(e)for(;;){var o=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!o)break;e=e.slice(0,o.index)+e.slice(o.index+o[0].length);var u=o[1]?"bgClass":"textClass";n[u]==null?n[u]=o[2]:new RegExp("(?:^|\\s)"+o[2]+"(?:$|\\s)").test(n[u])||(n[u]+=" "+o[2])}return e}function _u(e,n,o,u,p,D,E){var k=o.flattenSpans;k==null&&(k=e.options.flattenSpans);var j=0,$=null,ke=new at(n,e.options.tabSize,u),qe,be=e.options.addModeClass&&[null];for(n==""&&Bu(Pu(o,u.state),D);!ke.eol();){if(ke.pos>e.options.maxHighlightLength?(k=!1,E&&lu(e,n,u,ke.pos),ke.pos=n.length,qe=null):qe=Bu(zo(o,ke,u.state,be),D),be){var Pt=be[0].name;Pt&&(qe="m-"+(qe?Pt+" "+qe:Pt))}if(!k||$!=qe){for(;j<ke.start;)j=Math.min(ke.start,j+5e3),p(j,$);$=qe}ke.start=ke.pos}for(;j<ke.pos;){var Dr=Math.min(ke.pos,j+5e3);p(Dr,$),j=Dr}}function Do(e,n,o){for(var u,p,D=e.doc,E=o?-1:n-(e.doc.mode.innerMode?1e3:100),k=n;k>E;--k){if(k<=D.first)return D.first;var j=hn(D,k-1),$=j.stateAfter;if($&&(!o||k+($ instanceof so?$.lookAhead:0)<=D.modeFrontier))return k;var ke=yr(j.text,null,e.options.tabSize);(p==null||u>ke)&&(p=k-1,u=ke)}return p}function Iu(e,n){if(e.modeFrontier=Math.min(e.modeFrontier,n),!(e.highlightFrontier<n-10)){for(var o=e.first,u=n-1;u>o;u--){var p=hn(e,u).stateAfter;if(p&&(!(p instanceof so)||u+p.lookAhead<n)){o=u+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,o)}}var Ou=!1,Ha=!1;function Cl(){Ou=!0}function pu(){Ha=!0}function Sa(e,n,o){this.marker=e,this.from=n,this.to=o}function ao(e,n){if(e)for(var o=0;o<e.length;++o){var u=e[o];if(u.marker==n)return u}}function va(e,n){for(var o,u=0;u<e.length;++u)e[u]!=n&&(o||(o=[])).push(e[u]);return o}function hu(e,n,o){var u=o&&window.WeakSet&&(o.markedSpans||(o.markedSpans=new WeakSet));u&&e.markedSpans&&u.has(e.markedSpans)?e.markedSpans.push(n):(e.markedSpans=e.markedSpans?e.markedSpans.concat([n]):[n],u&&u.add(e.markedSpans)),n.marker.attachLine(e)}function Qu(e,n,o){var u;if(e)for(var p=0;p<e.length;++p){var D=e[p],E=D.marker,k=D.from==null||(E.inclusiveLeft?D.from<=n:D.from<n);if(k||D.from==n&&E.type=="bookmark"&&(!o||!D.marker.insertLeft)){var j=D.to==null||(E.inclusiveRight?D.to>=n:D.to>n);(u||(u=[])).push(new Sa(E,D.from,j?null:D.to))}}return u}function Zu(e,n,o){var u;if(e)for(var p=0;p<e.length;++p){var D=e[p],E=D.marker,k=D.to==null||(E.inclusiveRight?D.to>=n:D.to>n);if(k||D.from==n&&E.type=="bookmark"&&(!o||D.marker.insertLeft)){var j=D.from==null||(E.inclusiveLeft?D.from<=n:D.from<n);(u||(u=[])).push(new Sa(E,j?null:D.from-n,D.to==null?null:D.to-n))}}return u}function qa(e,n){if(n.full)return null;var o=ye(e,n.from.line)&&hn(e,n.from.line).markedSpans,u=ye(e,n.to.line)&&hn(e,n.to.line).markedSpans;if(!o&&!u)return null;var p=n.from.ch,D=n.to.ch,E=pr(n.from,n.to)==0,k=Qu(o,p,E),j=Zu(u,D,E),$=n.text.length==1,ke=Jr(n.text).length+($?p:0);if(k)for(var qe=0;qe<k.length;++qe){var be=k[qe];if(be.to==null){var Pt=ao(j,be.marker);Pt?$&&(be.to=Pt.to==null?null:Pt.to+ke):be.to=p}}if(j)for(var Dr=0;Dr<j.length;++Dr){var dr=j[Dr];if(dr.to!=null&&(dr.to+=ke),dr.from==null){var Ur=ao(k,dr.marker);Ur||(dr.from=ke,$&&(k||(k=[])).push(dr))}else dr.from+=ke,$&&(k||(k=[])).push(dr)}k&&(k=Wa(k)),j&&j!=k&&(j=Wa(j));var fn=[k];if(!$){var Kn=n.text.length-2,Bn;if(Kn>0&&k)for(var le=0;le<k.length;++le)k[le].to==null&&(Bn||(Bn=[])).push(new Sa(k[le].marker,null,null));for(var St=0;St<Kn;++St)fn.push(Bn);fn.push(j)}return fn}function Wa(e){for(var n=0;n<e.length;++n){var o=e[n];o.from!=null&&o.from==o.to&&o.marker.clearWhenEmpty!==!1&&e.splice(n--,1)}return e.length?e:null}function Pi(e,n,o){var u=null;if(e.iter(n.line,o.line+1,function(Pt){if(Pt.markedSpans)for(var Dr=0;Dr<Pt.markedSpans.length;++Dr){var dr=Pt.markedSpans[Dr].marker;dr.readOnly&&(!u||$n(u,dr)==-1)&&(u||(u=[])).push(dr)}}),!u)return null;for(var p=[{from:n,to:o}],D=0;D<u.length;++D)for(var E=u[D],k=E.find(0),j=0;j<p.length;++j){var $=p[j];if(!(pr($.to,k.from)<0||pr($.from,k.to)>0)){var ke=[j,1],qe=pr($.from,k.from),be=pr($.to,k.to);(qe<0||!E.inclusiveLeft&&!qe)&&ke.push({from:$.from,to:k.from}),(be>0||!E.inclusiveRight&&!be)&&ke.push({from:k.to,to:$.to}),p.splice.apply(p,ke),j+=ke.length-3}}return p}function Fa(e){var n=e.markedSpans;if(!!n){for(var o=0;o<n.length;++o)n[o].marker.detachLine(e);e.markedSpans=null}}function oo(e,n){if(!!n){for(var o=0;o<n.length;++o)n[o].marker.attachLine(e);e.markedSpans=n}}function xa(e){return e.inclusiveLeft?-1:0}function Va(e){return e.inclusiveRight?1:0}function Uo(e,n){var o=e.lines.length-n.lines.length;if(o!=0)return o;var u=e.find(),p=n.find(),D=pr(u.from,p.from)||xa(e)-xa(n);if(D)return-D;var E=pr(u.to,p.to)||Va(e)-Va(n);return E||n.id-e.id}function eu(e,n){var o=Ha&&e.markedSpans,u;if(o)for(var p=void 0,D=0;D<o.length;++D)p=o[D],p.marker.collapsed&&(n?p.from:p.to)==null&&(!u||Uo(u,p.marker)<0)&&(u=p.marker);return u}function tu(e){return eu(e,!0)}function Ga(e){return eu(e,!1)}function fu(e,n){var o=Ha&&e.markedSpans,u;if(o)for(var p=0;p<o.length;++p){var D=o[p];D.marker.collapsed&&(D.from==null||D.from<n)&&(D.to==null||D.to>n)&&(!u||Uo(u,D.marker)<0)&&(u=D.marker)}return u}function ri(e,n,o,u,p){var D=hn(e,n),E=Ha&&D.markedSpans;if(E)for(var k=0;k<E.length;++k){var j=E[k];if(!!j.marker.collapsed){var $=j.marker.find(0),ke=pr($.from,o)||xa(j.marker)-xa(p),qe=pr($.to,u)||Va(j.marker)-Va(p);if(!(ke>=0&&qe<=0||ke<=0&&qe>=0)&&(ke<=0&&(j.marker.inclusiveRight&&p.inclusiveLeft?pr($.to,o)>=0:pr($.to,o)>0)||ke>=0&&(j.marker.inclusiveRight&&p.inclusiveLeft?pr($.from,u)<=0:pr($.from,u)<0)))return!0}}}function yn(e){for(var n;n=tu(e);)e=n.find(-1,!0).line;return e}function bn(e){for(var n;n=Ga(e);)e=n.find(1,!0).line;return e}function an(e){for(var n,o;n=Ga(e);)e=n.find(1,!0).line,(o||(o=[])).push(e);return o}function on(e,n){var o=hn(e,n),u=yn(o);return o==u?n:ji(u)}function ni(e,n){if(n>e.lastLine())return n;var o=hn(e,n),u;if(!Qn(e,o))return n;for(;u=Ga(o);)o=u.find(1,!0).line;return ji(o)+1}function Qn(e,n){var o=Ha&&n.markedSpans;if(o){for(var u=void 0,p=0;p<o.length;++p)if(u=o[p],!!u.marker.collapsed){if(u.from==null)return!0;if(!u.marker.widgetNode&&u.from==0&&u.marker.inclusiveLeft&&oi(e,n,u))return!0}}}function oi(e,n,o){if(o.to==null){var u=o.marker.find(1,!0);return oi(e,u.line,ao(u.line.markedSpans,o.marker))}if(o.marker.inclusiveRight&&o.to==n.text.length)return!0;for(var p=void 0,D=0;D<n.markedSpans.length;++D)if(p=n.markedSpans[D],p.marker.collapsed&&!p.marker.widgetNode&&p.from==o.to&&(p.to==null||p.to!=o.from)&&(p.marker.inclusiveLeft||o.marker.inclusiveRight)&&oi(e,n,p))return!0}function yi(e){e=yn(e);for(var n=0,o=e.parent,u=0;u<o.lines.length;++u){var p=o.lines[u];if(p==e)break;n+=p.height}for(var D=o.parent;D;o=D,D=o.parent)for(var E=0;E<D.children.length;++E){var k=D.children[E];if(k==o)break;n+=k.height}return n}function Ki(e){if(e.height==0)return 0;for(var n=e.text.length,o,u=e;o=tu(u);){var p=o.find(0,!0);u=p.from.line,n+=p.from.ch-p.to.ch}for(u=e;o=Ga(u);){var D=o.find(0,!0);n-=u.text.length-D.from.ch,u=D.to.line,n+=u.text.length-D.to.ch}return n}function Ci(e){var n=e.display,o=e.doc;n.maxLine=hn(o,o.first),n.maxLineLength=Ki(n.maxLine),n.maxLineChanged=!0,o.iter(function(u){var p=Ki(u);p>n.maxLineLength&&(n.maxLineLength=p,n.maxLine=u)})}var Rn=function(e,n,o){this.text=e,oo(this,n),this.height=o?o(this):1};Rn.prototype.lineNo=function(){return ji(this)},kt(Rn);function Ri(e,n,o,u){e.text=n,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Fa(e),oo(e,o);var p=u?u(e):1;p!=e.height&&ws(e,p)}function rs(e){e.parent=null,Fa(e)}var wi={},Xi={};function js(e,n){if(!e||/^\s*$/.test(e))return null;var o=n.addModeClass?Xi:wi;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function _i(e,n){var o=tn("span",null,null,De?"padding-right: .1px":null),u={pre:tn("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};n.measure={};for(var p=0;p<=(n.rest?n.rest.length:0);p++){var D=p?n.rest[p-1]:n.line,E=void 0;u.pos=0,u.addToken=st,Re(e.display.measure)&&(E=vr(D,e.doc.direction))&&(u.addToken=ra(u.addToken,E)),u.map=[];var k=n!=e.display.externalMeasured&&ji(D);So(D,u,xi(e,D,k)),D.styleClasses&&(D.styleClasses.bgClass&&(u.bgClass=as(D.styleClasses.bgClass,u.bgClass||"")),D.styleClasses.textClass&&(u.textClass=as(D.styleClasses.textClass,u.textClass||""))),u.map.length==0&&u.map.push(0,0,u.content.appendChild(xe(e.display.measure))),p==0?(n.measure.map=u.map,n.measure.cache={}):((n.measure.maps||(n.measure.maps=[])).push(u.map),(n.measure.caches||(n.measure.caches=[])).push({}))}if(De){var j=u.content.lastChild;(/\bcm-tab\b/.test(j.className)||j.querySelector&&j.querySelector(".cm-tab"))&&(u.content.className="cm-tab-wrap-hack")}return On(e,"renderLine",e,n.line,u.pre),u.pre.className&&(u.textClass=as(u.pre.className,u.textClass||"")),u}function Ui(e){var n=Ee("span","•","cm-invalidchar");return n.title="\\u"+e.charCodeAt(0).toString(16),n.setAttribute("aria-label",n.title),n}function st(e,n,o,u,p,D,E){if(!!n){var k=e.splitSpaces?Ms(n,e.trailingSpace):n,j=e.cm.state.specialChars,$=!1,ke;if(!j.test(n))e.col+=n.length,ke=document.createTextNode(k),e.map.push(e.pos,e.pos+n.length,ke),de&&ve<9&&($=!0),e.pos+=n.length;else{ke=document.createDocumentFragment();for(var qe=0;;){j.lastIndex=qe;var be=j.exec(n),Pt=be?be.index-qe:n.length-qe;if(Pt){var Dr=document.createTextNode(k.slice(qe,qe+Pt));de&&ve<9?ke.appendChild(Ee("span",[Dr])):ke.appendChild(Dr),e.map.push(e.pos,e.pos+Pt,Dr),e.col+=Pt,e.pos+=Pt}if(!be)break;qe+=Pt+1;var dr=void 0;if(be[0]==" "){var Ur=e.cm.options.tabSize,fn=Ur-e.col%Ur;dr=ke.appendChild(Ee("span",nn(fn),"cm-tab")),dr.setAttribute("role","presentation"),dr.setAttribute("cm-text"," "),e.col+=fn}else be[0]=="\r"||be[0]==`
5
- `?(dr=ke.appendChild(Ee("span",be[0]=="\r"?"␍":"␤","cm-invalidchar")),dr.setAttribute("cm-text",be[0]),e.col+=1):(dr=e.cm.options.specialCharPlaceholder(be[0]),dr.setAttribute("cm-text",be[0]),de&&ve<9?ke.appendChild(Ee("span",[dr])):ke.appendChild(dr),e.col+=1);e.map.push(e.pos,e.pos+1,dr),e.pos++}}if(e.trailingSpace=k.charCodeAt(n.length-1)==32,o||u||p||$||D||E){var Kn=o||"";u&&(Kn+=u),p&&(Kn+=p);var Bn=Ee("span",[ke],Kn,D);if(E)for(var le in E)E.hasOwnProperty(le)&&le!="style"&&le!="class"&&Bn.setAttribute(le,E[le]);return e.content.appendChild(Bn)}e.content.appendChild(ke)}}function Ms(e,n){if(e.length>1&&!/ /.test(e))return e;for(var o=n,u="",p=0;p<e.length;p++){var D=e.charAt(p);D==" "&&o&&(p==e.length-1||e.charCodeAt(p+1)==32)&&(D=" "),u+=D,o=D==" "}return u}function ra(e,n){return function(o,u,p,D,E,k,j){p=p?p+" cm-force-border":"cm-force-border";for(var $=o.pos,ke=$+u.length;;){for(var qe=void 0,be=0;be<n.length&&(qe=n[be],!(qe.to>$&&qe.from<=$));be++);if(qe.to>=ke)return e(o,u,p,D,E,k,j);e(o,u.slice(0,qe.to-$),p,D,null,k,j),D=null,u=u.slice(qe.to-$),$=qe.to}}}function Os(e,n,o,u){var p=!u&&o.widgetNode;p&&e.map.push(e.pos,e.pos+n,p),!u&&e.cm.display.input.needsContentAttribute&&(p||(p=e.content.appendChild(document.createElement("span"))),p.setAttribute("cm-marker",o.id)),p&&(e.cm.display.input.setUneditable(p),e.content.appendChild(p)),e.pos+=n,e.trailingSpace=!1}function So(e,n,o){var u=e.markedSpans,p=e.text,D=0;if(!u){for(var E=1;E<o.length;E+=2)n.addToken(n,p.slice(D,D=o[E]),js(o[E+1],n.cm.options));return}for(var k=p.length,j=0,$=1,ke="",qe,be,Pt=0,Dr,dr,Ur,fn,Kn;;){if(Pt==j){Dr=dr=Ur=be="",Kn=null,fn=null,Pt=1/0;for(var Bn=[],le=void 0,St=0;St<u.length;++St){var Xr=u[St],In=Xr.marker;if(In.type=="bookmark"&&Xr.from==j&&In.widgetNode)Bn.push(In);else if(Xr.from<=j&&(Xr.to==null||Xr.to>j||In.collapsed&&Xr.to==j&&Xr.from==j)){if(Xr.to!=null&&Xr.to!=j&&Pt>Xr.to&&(Pt=Xr.to,dr=""),In.className&&(Dr+=" "+In.className),In.css&&(be=(be?be+";":"")+In.css),In.startStyle&&Xr.from==j&&(Ur+=" "+In.startStyle),In.endStyle&&Xr.to==Pt&&(le||(le=[])).push(In.endStyle,Xr.to),In.title&&((Kn||(Kn={})).title=In.title),In.attributes)for(var Oi in In.attributes)(Kn||(Kn={}))[Oi]=In.attributes[Oi];In.collapsed&&(!fn||Uo(fn.marker,In)<0)&&(fn=Xr)}else Xr.from>j&&Pt>Xr.from&&(Pt=Xr.from)}if(le)for(var As=0;As<le.length;As+=2)le[As+1]==Pt&&(dr+=" "+le[As]);if(!fn||fn.from==j)for(var Mi=0;Mi<Bn.length;++Mi)Os(n,0,Bn[Mi]);if(fn&&(fn.from||0)==j){if(Os(n,(fn.to==null?k+1:fn.to)-j,fn.marker,fn.from==null),fn.to==null)return;fn.to==j&&(fn=!1)}}if(j>=k)break;for(var Vs=Math.min(k,Pt);;){if(ke){var Bs=j+ke.length;if(!fn){var fi=Bs>Vs?ke.slice(0,Vs-j):ke;n.addToken(n,fi,qe?qe+Dr:Dr,Ur,j+fi.length==Pt?dr:"",be,Kn)}if(Bs>=Vs){ke=ke.slice(Vs-j),j=Vs;break}j=Bs,Ur=""}ke=p.slice(D,D=o[$++]),qe=js(o[$++],n.cm.options)}}}function Ps(e,n,o){this.line=n,this.rest=an(n),this.size=this.rest?ji(Jr(this.rest))-o+1:1,this.node=this.text=null,this.hidden=Qn(e,n)}function Gi(e,n,o){for(var u=[],p,D=n;D<o;D=p){var E=new Ps(e.doc,hn(e.doc,D),D);p=D+E.size,u.push(E)}return u}var ce=null;function Oe(e){ce?ce.ops.push(e):e.ownsGroup=ce={ops:[e],delayedCallbacks:[]}}function vt(e){var n=e.delayedCallbacks,o=0;do{for(;o<n.length;o++)n[o].call(null);for(var u=0;u<e.ops.length;u++){var p=e.ops[u];if(p.cursorActivityHandlers)for(;p.cursorActivityCalled<p.cursorActivityHandlers.length;)p.cursorActivityHandlers[p.cursorActivityCalled++].call(null,p.cm)}}while(o<n.length)}function wt(e,n){var o=e.ownsGroup;if(!!o)try{vt(o)}finally{ce=null,n(o)}}var Ut=null;function et(e,n){var o=Gn(e,n);if(!!o.length){var u=Array.prototype.slice.call(arguments,2),p;ce?p=ce.delayedCallbacks:Ut?p=Ut:(p=Ut=[],setTimeout(gt,0));for(var D=function(k){p.push(function(){return o[k].apply(null,u)})},E=0;E<o.length;++E)D(E)}}function gt(){var e=Ut;Ut=null;for(var n=0;n<e.length;++n)e[n]()}function lr(e,n,o,u){for(var p=0;p<n.changes.length;p++){var D=n.changes[p];D=="text"?It(e,n):D=="gutter"?qr(e,n,o,u):D=="class"?ar(e,n):D=="widget"&&br(e,n,u)}n.changes=null}function Ot(e){return e.node==e.text&&(e.node=Ee("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),de&&ve<8&&(e.node.style.zIndex=2)),e.node}function An(e,n){var o=n.bgClass?n.bgClass+" "+(n.line.bgClass||""):n.line.bgClass;if(o&&(o+=" CodeMirror-linebackground"),n.background)o?n.background.className=o:(n.background.parentNode.removeChild(n.background),n.background=null);else if(o){var u=Ot(n);n.background=u.insertBefore(Ee("div",null,o),u.firstChild),e.display.input.setUneditable(n.background)}}function ut(e,n){var o=e.display.externalMeasured;return o&&o.line==n.line?(e.display.externalMeasured=null,n.measure=o.measure,o.built):_i(e,n)}function It(e,n){var o=n.text.className,u=ut(e,n);n.text==n.node&&(n.node=u.pre),n.text.parentNode.replaceChild(u.pre,n.text),n.text=u.pre,u.bgClass!=n.bgClass||u.textClass!=n.textClass?(n.bgClass=u.bgClass,n.textClass=u.textClass,ar(e,n)):o&&(n.text.className=o)}function ar(e,n){An(e,n),n.line.wrapClass?Ot(n).className=n.line.wrapClass:n.node!=n.text&&(n.node.className="");var o=n.textClass?n.textClass+" "+(n.line.textClass||""):n.line.textClass;n.text.className=o||""}function qr(e,n,o,u){if(n.gutter&&(n.node.removeChild(n.gutter),n.gutter=null),n.gutterBackground&&(n.node.removeChild(n.gutterBackground),n.gutterBackground=null),n.line.gutterClass){var p=Ot(n);n.gutterBackground=Ee("div",null,"CodeMirror-gutter-background "+n.line.gutterClass,"left: "+(e.options.fixedGutter?u.fixedPos:-u.gutterTotalWidth)+"px; width: "+u.gutterTotalWidth+"px"),e.display.input.setUneditable(n.gutterBackground),p.insertBefore(n.gutterBackground,n.text)}var D=n.line.gutterMarkers;if(e.options.lineNumbers||D){var E=Ot(n),k=n.gutter=Ee("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?u.fixedPos:-u.gutterTotalWidth)+"px");if(k.setAttribute("aria-hidden","true"),e.display.input.setUneditable(k),E.insertBefore(k,n.text),n.line.gutterClass&&(k.className+=" "+n.line.gutterClass),e.options.lineNumbers&&(!D||!D["CodeMirror-linenumbers"])&&(n.lineNumber=k.appendChild(Ee("div",nt(e.options,o),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+u.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),D)for(var j=0;j<e.display.gutterSpecs.length;++j){var $=e.display.gutterSpecs[j].className,ke=D.hasOwnProperty($)&&D[$];ke&&k.appendChild(Ee("div",[ke],"CodeMirror-gutter-elt","left: "+u.gutterLeft[$]+"px; width: "+u.gutterWidth[$]+"px"))}}}function br(e,n,o){n.alignable&&(n.alignable=null);for(var u=gn("CodeMirror-linewidget"),p=n.node.firstChild,D=void 0;p;p=D)D=p.nextSibling,u.test(p.className)&&n.node.removeChild(p);Hn(e,n,o)}function zr(e,n,o,u){var p=ut(e,n);return n.text=n.node=p.pre,p.bgClass&&(n.bgClass=p.bgClass),p.textClass&&(n.textClass=p.textClass),ar(e,n),qr(e,n,o,u),Hn(e,n,u),n.node}function Hn(e,n,o){if(rn(e,n.line,n,o,!0),n.rest)for(var u=0;u<n.rest.length;u++)rn(e,n.rest[u],n,o,!1)}function rn(e,n,o,u,p){if(!!n.widgets)for(var D=Ot(o),E=0,k=n.widgets;E<k.length;++E){var j=k[E],$=Ee("div",[j.node],"CodeMirror-linewidget"+(j.className?" "+j.className:""));j.handleMouseEvents||$.setAttribute("cm-ignore-events","true"),Wr(j,$,o,u),e.display.input.setUneditable($),p&&j.above?D.insertBefore($,o.gutter||o.text):D.appendChild($),et(j,"redraw")}}function Wr(e,n,o,u){if(e.noHScroll){(o.alignable||(o.alignable=[])).push(n);var p=u.wrapperWidth;n.style.left=u.fixedPos+"px",e.coverGutter||(p-=u.gutterTotalWidth,n.style.paddingLeft=u.gutterTotalWidth+"px"),n.style.width=p+"px"}e.coverGutter&&(n.style.zIndex=5,n.style.position="relative",e.noHScroll||(n.style.marginLeft=-u.gutterTotalWidth+"px"))}function pi(e){if(e.height!=null)return e.height;var n=e.doc.cm;if(!n)return 0;if(!kn(document.body,e.node)){var o="position: relative;";e.coverGutter&&(o+="margin-left: -"+n.display.gutters.offsetWidth+"px;"),e.noHScroll&&(o+="width: "+n.display.wrapper.clientWidth+"px;"),Tn(n.display.measure,Ee("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function Ln(e,n){for(var o=zt(n);o!=e.wrapper;o=o.parentNode)if(!o||o.nodeType==1&&o.getAttribute("cm-ignore-events")=="true"||o.parentNode==e.sizer&&o!=e.mover)return!0}function Cs(e){return e.lineSpace.offsetTop}function en(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Si(e){if(e.cachedPaddingH)return e.cachedPaddingH;var n=Tn(e.measure,Ee("pre","x","CodeMirror-line-like")),o=window.getComputedStyle?window.getComputedStyle(n):n.currentStyle,u={left:parseInt(o.paddingLeft),right:parseInt(o.paddingRight)};return!isNaN(u.left)&&!isNaN(u.right)&&(e.cachedPaddingH=u),u}function Ai(e){return ci-e.display.nativeBarWidth}function Wi(e){return e.display.scroller.clientWidth-Ai(e)-e.display.barWidth}function cs(e){return e.display.scroller.clientHeight-Ai(e)-e.display.barHeight}function We(e,n,o){var u=e.options.lineWrapping,p=u&&Wi(e);if(!n.measure.heights||u&&n.measure.width!=p){var D=n.measure.heights=[];if(u){n.measure.width=p;for(var E=n.text.firstChild.getClientRects(),k=0;k<E.length-1;k++){var j=E[k],$=E[k+1];Math.abs(j.bottom-$.bottom)>2&&D.push((j.bottom+$.top)/2-o.top)}}D.push(o.bottom-o.top)}}function ft(e,n,o){if(e.line==n)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var u=0;u<e.rest.length;u++)if(e.rest[u]==n)return{map:e.measure.maps[u],cache:e.measure.caches[u]};for(var p=0;p<e.rest.length;p++)if(ji(e.rest[p])>o)return{map:e.measure.maps[p],cache:e.measure.caches[p],before:!0}}}function Or(e,n){n=yn(n);var o=ji(n),u=e.display.externalMeasured=new Ps(e.doc,n,o);u.lineN=o;var p=u.built=_i(e,u);return u.text=p.pre,Tn(e.display.lineMeasure,p.pre),u}function ir(e,n,o,u){return Ji(e,$i(e,n),o,u)}function xn(e,n){if(n>=e.display.viewFrom&&n<e.display.viewTo)return e.display.view[lo(e,n)];var o=e.display.externalMeasured;if(o&&n>=o.lineN&&n<o.lineN+o.size)return o}function $i(e,n){var o=ji(n),u=xn(e,o);u&&!u.text?u=null:u&&u.changes&&(lr(e,u,o,qo(e)),e.curOp.forceUpdate=!0),u||(u=Or(e,n));var p=ft(u,n,o);return{line:n,view:u,rect:null,map:p.map,cache:p.cache,before:p.before,hasHeights:!1}}function Ji(e,n,o,u,p){n.before&&(o=-1);var D=o+(u||""),E;return n.cache.hasOwnProperty(D)?E=n.cache[D]:(n.rect||(n.rect=n.view.text.getBoundingClientRect()),n.hasHeights||(We(e,n.view,n.rect),n.hasHeights=!0),E=Ts(e,n,o,u),E.bogus||(n.cache[D]=E)),{left:E.left,right:E.right,top:p?E.rtop:E.top,bottom:p?E.rbottom:E.bottom}}var Js={left:0,right:0,top:0,bottom:0};function Ns(e,n,o){for(var u,p,D,E,k,j,$=0;$<e.length;$+=3)if(k=e[$],j=e[$+1],n<k?(p=0,D=1,E="left"):n<j?(p=n-k,D=p+1):($==e.length-3||n==j&&e[$+3]>n)&&(D=j-k,p=D-1,n>=j&&(E="right")),p!=null){if(u=e[$+2],k==j&&o==(u.insertLeft?"left":"right")&&(E=o),o=="left"&&p==0)for(;$&&e[$-2]==e[$-3]&&e[$-1].insertLeft;)u=e[($-=3)+2],E="left";if(o=="right"&&p==j-k)for(;$<e.length-3&&e[$+3]==e[$+4]&&!e[$+5].insertLeft;)u=e[($+=3)+2],E="right";break}return{node:u,start:p,end:D,collapse:E,coverStart:k,coverEnd:j}}function na(e,n){var o=Js;if(n=="left")for(var u=0;u<e.length&&(o=e[u]).left==o.right;u++);else for(var p=e.length-1;p>=0&&(o=e[p]).left==o.right;p--);return o}function Ts(e,n,o,u){var p=Ns(n.map,o,u),D=p.node,E=p.start,k=p.end,j=p.collapse,$;if(D.nodeType==3){for(var ke=0;ke<4;ke++){for(;E&&Zi(n.line.text.charAt(p.coverStart+E));)--E;for(;p.coverStart+k<p.coverEnd&&Zi(n.line.text.charAt(p.coverStart+k));)++k;if(de&&ve<9&&E==0&&k==p.coverEnd-p.coverStart?$=D.parentNode.getBoundingClientRect():$=na(ur(D,E,k).getClientRects(),u),$.left||$.right||E==0)break;k=E,E=E-1,j="right"}de&&ve<11&&($=la(e.display.measure,$))}else{E>0&&(j=u="right");var qe;e.options.lineWrapping&&(qe=D.getClientRects()).length>1?$=qe[u=="right"?qe.length-1:0]:$=D.getBoundingClientRect()}if(de&&ve<9&&!E&&(!$||!$.left&&!$.right)){var be=D.parentNode.getClientRects()[0];be?$={left:be.left,right:be.left+uo(e.display),top:be.top,bottom:be.bottom}:$=Js}for(var Pt=$.top-n.rect.top,Dr=$.bottom-n.rect.top,dr=(Pt+Dr)/2,Ur=n.view.measure.heights,fn=0;fn<Ur.length-1&&!(dr<Ur[fn]);fn++);var Kn=fn?Ur[fn-1]:0,Bn=Ur[fn],le={left:(j=="right"?$.right:$.left)-n.rect.left,right:(j=="left"?$.left:$.right)-n.rect.left,top:Kn,bottom:Bn};return!$.left&&!$.right&&(le.bogus=!0),e.options.singleCursorHeightPerLine||(le.rtop=Pt,le.rbottom=Dr),le}function la(e,n){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!sr(e))return n;var o=screen.logicalXDPI/screen.deviceXDPI,u=screen.logicalYDPI/screen.deviceYDPI;return{left:n.left*o,right:n.right*o,top:n.top*u,bottom:n.bottom*u}}function Rs(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var n=0;n<e.rest.length;n++)e.measure.caches[n]={}}function ca(e){e.display.externalMeasure=null,hr(e.display.lineMeasure);for(var n=0;n<e.display.view.length;n++)Rs(e.display.view[n])}function En(e){ca(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function qn(e){return tt&&Et?-(e.body.getBoundingClientRect().left-parseInt(getComputedStyle(e.body).marginLeft)):e.defaultView.pageXOffset||(e.documentElement||e.body).scrollLeft}function hi(e){return tt&&Et?-(e.body.getBoundingClientRect().top-parseInt(getComputedStyle(e.body).marginTop)):e.defaultView.pageYOffset||(e.documentElement||e.body).scrollTop}function si(e){var n=yn(e),o=n.widgets,u=0;if(o)for(var p=0;p<o.length;++p)o[p].above&&(u+=pi(o[p]));return u}function ai(e,n,o,u,p){if(!p){var D=si(n);o.top+=D,o.bottom+=D}if(u=="line")return o;u||(u="local");var E=yi(n);if(u=="local"?E+=Cs(e.display):E-=e.display.viewOffset,u=="page"||u=="window"){var k=e.display.lineSpace.getBoundingClientRect();E+=k.top+(u=="window"?0:hi(es(e)));var j=k.left+(u=="window"?0:qn(es(e)));o.left+=j,o.right+=j}return o.top+=E,o.bottom+=E,o}function vs(e,n,o){if(o=="div")return n;var u=n.left,p=n.top;if(o=="page")u-=qn(es(e)),p-=hi(es(e));else if(o=="local"||!o){var D=e.display.sizer.getBoundingClientRect();u+=D.left,p+=D.top}var E=e.display.lineSpace.getBoundingClientRect();return{left:u-E.left,top:p-E.top}}function ps(e,n,o,u,p){return u||(u=hn(e.doc,n.line)),ai(e,u,ir(e,u,n.ch,p),o)}function bs(e,n,o,u,p,D){u=u||hn(e.doc,n.line),p||(p=$i(e,u));function E(Dr,dr){var Ur=Ji(e,p,Dr,dr?"right":"left",D);return dr?Ur.left=Ur.right:Ur.right=Ur.left,ai(e,u,Ur,o)}var k=vr(u,e.doc.direction),j=n.ch,$=n.sticky;if(j>=u.text.length?(j=u.text.length,$="before"):j<=0&&(j=0,$="after"),!k)return E($=="before"?j-1:j,$=="before");function ke(Dr,dr,Ur){var fn=k[dr],Kn=fn.level==1;return E(Ur?Dr-1:Dr,Kn!=Ur)}var qe=Cr(k,j,$),be=Vn,Pt=ke(j,qe,$=="before");return be!=null&&(Pt.other=ke(j,be,$!="before")),Pt}function aa(e,n){var o=0;n=Bi(e.doc,n),e.options.lineWrapping||(o=uo(e.display)*n.ch);var u=hn(e.doc,n.line),p=yi(u)+Cs(e.display);return{left:o,right:o,top:p,bottom:p+u.height}}function Fo(e,n,o,u,p){var D=dt(e,n,o);return D.xRel=p,u&&(D.outside=u),D}function ko(e,n,o){var u=e.doc;if(o+=e.display.viewOffset,o<0)return Fo(u.first,0,null,-1,-1);var p=is(u,o),D=u.first+u.size-1;if(p>D)return Fo(u.first+u.size-1,hn(u,D).text.length,null,1,1);n<0&&(n=0);for(var E=hn(u,p);;){var k=Ca(e,E,p,n,o),j=fu(E,k.ch+(k.xRel>0||k.outside>0?1:0));if(!j)return k;var $=j.find(1);if($.line==p)return $;E=hn(u,p=$.line)}}function Ka(e,n,o,u){u-=si(n);var p=n.text.length,D=os(function(E){return Ji(e,o,E-1).bottom<=u},p,0);return p=os(function(E){return Ji(e,o,E).top>u},D,p),{begin:D,end:p}}function ru(e,n,o,u){o||(o=$i(e,n));var p=ai(e,n,Ji(e,o,u),"line").top;return Ka(e,n,o,p)}function Po(e,n,o,u){return e.bottom<=o?!1:e.top>o?!0:(u?e.left:e.right)>n}function Ca(e,n,o,u,p){p-=yi(n);var D=$i(e,n),E=si(n),k=0,j=n.text.length,$=!0,ke=vr(n,e.doc.direction);if(ke){var qe=(e.options.lineWrapping?_a:Ba)(e,n,o,D,ke,u,p);$=qe.level!=1,k=$?qe.from:qe.to-1,j=$?qe.to:qe.from-1}var be=null,Pt=null,Dr=os(function(St){var Xr=Ji(e,D,St);return Xr.top+=E,Xr.bottom+=E,Po(Xr,u,p,!1)?(Xr.top<=p&&Xr.left<=u&&(be=St,Pt=Xr),!0):!1},k,j),dr,Ur,fn=!1;if(Pt){var Kn=u-Pt.left<Pt.right-u,Bn=Kn==$;Dr=be+(Bn?0:1),Ur=Bn?"after":"before",dr=Kn?Pt.left:Pt.right}else{!$&&(Dr==j||Dr==k)&&Dr++,Ur=Dr==0?"after":Dr==n.text.length?"before":Ji(e,D,Dr-($?1:0)).bottom+E<=p==$?"after":"before";var le=bs(e,dt(o,Dr,Ur),"line",n,D);dr=le.left,fn=p<le.top?-1:p>=le.bottom?1:0}return Dr=Ds(n.text,Dr,1),Fo(o,Dr,Ur,fn,u-dr)}function Ba(e,n,o,u,p,D,E){var k=os(function(qe){var be=p[qe],Pt=be.level!=1;return Po(bs(e,dt(o,Pt?be.to:be.from,Pt?"before":"after"),"line",n,u),D,E,!0)},0,p.length-1),j=p[k];if(k>0){var $=j.level!=1,ke=bs(e,dt(o,$?j.from:j.to,$?"after":"before"),"line",n,u);Po(ke,D,E,!0)&&ke.top>E&&(j=p[k-1])}return j}function _a(e,n,o,u,p,D,E){var k=Ka(e,n,u,E),j=k.begin,$=k.end;/\s/.test(n.text.charAt($-1))&&$--;for(var ke=null,qe=null,be=0;be<p.length;be++){var Pt=p[be];if(!(Pt.from>=$||Pt.to<=j)){var Dr=Pt.level!=1,dr=Ji(e,u,Dr?Math.min($,Pt.to)-1:Math.max(j,Pt.from)).right,Ur=dr<D?D-dr+1e9:dr-D;(!ke||qe>Ur)&&(ke=Pt,qe=Ur)}}return ke||(ke=p[p.length-1]),ke.from<j&&(ke={from:j,to:ke.to,level:ke.level}),ke.to>$&&(ke={from:ke.from,to:$,level:ke.level}),ke}var Ho;function ls(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(Ho==null){Ho=Ee("pre",null,"CodeMirror-line-like");for(var n=0;n<49;++n)Ho.appendChild(document.createTextNode("x")),Ho.appendChild(Ee("br"));Ho.appendChild(document.createTextNode("x"))}Tn(e.measure,Ho);var o=Ho.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),hr(e.measure),o||1}function uo(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var n=Ee("span","xxxxxxxxxx"),o=Ee("pre",[n],"CodeMirror-line-like");Tn(e.measure,o);var u=n.getBoundingClientRect(),p=(u.right-u.left)/10;return p>2&&(e.cachedCharWidth=p),p||10}function qo(e){for(var n=e.display,o={},u={},p=n.gutters.clientLeft,D=n.gutters.firstChild,E=0;D;D=D.nextSibling,++E){var k=e.display.gutterSpecs[E].className;o[k]=D.offsetLeft+D.clientLeft+p,u[k]=D.clientWidth}return{fixedPos:Wo(n),gutterTotalWidth:n.gutters.offsetWidth,gutterLeft:o,gutterWidth:u,wrapperWidth:n.wrapper.clientWidth}}function Wo(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function vo(e){var n=ls(e.display),o=e.options.lineWrapping,u=o&&Math.max(5,e.display.scroller.clientWidth/uo(e.display)-3);return function(p){if(Qn(e.doc,p))return 0;var D=0;if(p.widgets)for(var E=0;E<p.widgets.length;E++)p.widgets[E].height&&(D+=p.widgets[E].height);return o?D+(Math.ceil(p.text.length/u)||1)*n:D+n}}function Lu(e){var n=e.doc,o=vo(e);n.iter(function(u){var p=o(u);p!=u.height&&ws(u,p)})}function No(e,n,o,u){var p=e.display;if(!o&&zt(n).getAttribute("cm-not-content")=="true")return null;var D,E,k=p.lineSpace.getBoundingClientRect();try{D=n.clientX-k.left,E=n.clientY-k.top}catch{return null}var j=ko(e,D,E),$;if(u&&j.xRel>0&&($=hn(e.doc,j.line).text).length==j.ch){var ke=yr($,$.length,e.options.tabSize)-$.length;j=dt(j.line,Math.max(0,Math.round((D-Si(e.display).left)/uo(e.display))-ke))}return j}function lo(e,n){if(n>=e.display.viewTo||(n-=e.display.viewFrom,n<0))return null;for(var o=e.display.view,u=0;u<o.length;u++)if(n-=o[u].size,n<0)return u}function pa(e,n,o,u){n==null&&(n=e.doc.first),o==null&&(o=e.doc.first+e.doc.size),u||(u=0);var p=e.display;if(u&&o<p.viewTo&&(p.updateLineNumbers==null||p.updateLineNumbers>n)&&(p.updateLineNumbers=n),e.curOp.viewChanged=!0,n>=p.viewTo)Ha&&on(e.doc,n)<p.viewTo&&Ia(e);else if(o<=p.viewFrom)Ha&&ni(e.doc,o+u)>p.viewFrom?Ia(e):(p.viewFrom+=u,p.viewTo+=u);else if(n<=p.viewFrom&&o>=p.viewTo)Ia(e);else if(n<=p.viewFrom){var D=co(e,o,o+u,1);D?(p.view=p.view.slice(D.index),p.viewFrom=D.lineN,p.viewTo+=u):Ia(e)}else if(o>=p.viewTo){var E=co(e,n,n,-1);E?(p.view=p.view.slice(0,E.index),p.viewTo=E.lineN):Ia(e)}else{var k=co(e,n,n,-1),j=co(e,o,o+u,1);k&&j?(p.view=p.view.slice(0,k.index).concat(Gi(e,k.lineN,j.lineN)).concat(p.view.slice(j.index)),p.viewTo+=u):Ia(e)}var $=p.externalMeasured;$&&(o<$.lineN?$.lineN+=u:n<$.lineN+$.size&&(p.externalMeasured=null))}function Ea(e,n,o){e.curOp.viewChanged=!0;var u=e.display,p=e.display.externalMeasured;if(p&&n>=p.lineN&&n<p.lineN+p.size&&(u.externalMeasured=null),!(n<u.viewFrom||n>=u.viewTo)){var D=u.view[lo(e,n)];if(D.node!=null){var E=D.changes||(D.changes=[]);$n(E,o)==-1&&E.push(o)}}}function Ia(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function co(e,n,o,u){var p=lo(e,n),D,E=e.display.view;if(!Ha||o==e.doc.first+e.doc.size)return{index:p,lineN:o};for(var k=e.display.viewFrom,j=0;j<p;j++)k+=E[j].size;if(k!=n){if(u>0){if(p==E.length-1)return null;D=k+E[p].size-n,p++}else D=k-n;n+=D,o+=D}for(;on(e.doc,o)!=o;){if(p==(u<0?0:E.length-1))return null;o+=u*E[p-(u<0?1:0)].size,p+=u}return{index:p,lineN:o}}function Vo(e,n,o){var u=e.display,p=u.view;p.length==0||n>=u.viewTo||o<=u.viewFrom?(u.view=Gi(e,n,o),u.viewFrom=n):(u.viewFrom>n?u.view=Gi(e,n,u.viewFrom).concat(u.view):u.viewFrom<n&&(u.view=u.view.slice(lo(e,n))),u.viewFrom=n,u.viewTo<o?u.view=u.view.concat(Gi(e,u.viewTo,o)):u.viewTo>o&&(u.view=u.view.slice(0,lo(e,o)))),u.viewTo=o}function Oa(e){for(var n=e.display.view,o=0,u=0;u<n.length;u++){var p=n[u];!p.hidden&&(!p.node||p.changes)&&++o}return o}function ka(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Mu(e,n){n===void 0&&(n=!0);var o=e.doc,u={},p=u.cursors=document.createDocumentFragment(),D=u.selection=document.createDocumentFragment(),E=e.options.$customCursor;E&&(n=!0);for(var k=0;k<o.sel.ranges.length;k++)if(!(!n&&k==o.sel.primIndex)){var j=o.sel.ranges[k];if(!(j.from().line>=e.display.viewTo||j.to().line<e.display.viewFrom)){var $=j.empty();if(E){var ke=E(e,j);ke&&Ja(e,ke,p)}else($||e.options.showCursorWhenSelecting)&&Ja(e,j.head,p);$||el(e,j,D)}}return u}function Ja(e,n,o){var u=bs(e,n,"div",null,null,!e.options.singleCursorHeightPerLine),p=o.appendChild(Ee("div"," ","CodeMirror-cursor"));if(p.style.left=u.left+"px",p.style.top=u.top+"px",p.style.height=Math.max(0,u.bottom-u.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var D=ps(e,n,"div",null,null),E=D.right-D.left;p.style.width=(E>0?E:e.defaultCharWidth())+"px"}if(u.other){var k=o.appendChild(Ee("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));k.style.display="",k.style.left=u.other.left+"px",k.style.top=u.other.top+"px",k.style.height=(u.other.bottom-u.other.top)*.85+"px"}}function Bo(e,n){return e.top-n.top||e.left-n.left}function el(e,n,o){var u=e.display,p=e.doc,D=document.createDocumentFragment(),E=Si(e.display),k=E.left,j=Math.max(u.sizerWidth,Wi(e)-u.sizer.offsetLeft)-E.right,$=p.direction=="ltr";function ke(Bn,le,St,Xr){le<0&&(le=0),le=Math.round(le),Xr=Math.round(Xr),D.appendChild(Ee("div",null,"CodeMirror-selected","position: absolute; left: "+Bn+`px;
6
- top: `+le+"px; width: "+(St??j-Bn)+`px;
7
- height: `+(Xr-le)+"px"))}function qe(Bn,le,St){var Xr=hn(p,Bn),In=Xr.text.length,Oi,As;function Mi(fi,Fi){return ps(e,dt(Bn,fi),"div",Xr,Fi)}function Vs(fi,Fi,fa){var Da=ru(e,Xr,null,fi),da=Fi=="ltr"==(fa=="after")?"left":"right",Zs=fa=="after"?Da.begin:Da.end-(/\s/.test(Xr.text.charAt(Da.end-1))?2:1);return Mi(Zs,da)[da]}var Bs=vr(Xr,p.direction);return ta(Bs,le||0,St??In,function(fi,Fi,fa,Da){var da=fa=="ltr",Zs=Mi(fi,da?"left":"right"),to=Mi(Fi-1,da?"right":"left"),Kl=le==null&&fi==0,Wu=St==null&&Fi==In,Pa=Da==0,dl=!Bs||Da==Bs.length-1;if(to.top-Zs.top<=3){var za=($?Kl:Wu)&&Pa,Gp=($?Wu:Kl)&&dl,Ol=za?k:(da?Zs:to).left,ac=Gp?j:(da?to:Zs).right;ke(Ol,Zs.top,ac-Ol,Zs.bottom)}else{var oc,bo,yc,Kp;da?(oc=$&&Kl&&Pa?k:Zs.left,bo=$?j:Vs(fi,fa,"before"),yc=$?k:Vs(Fi,fa,"after"),Kp=$&&Wu&&dl?j:to.right):(oc=$?Vs(fi,fa,"before"):k,bo=!$&&Kl&&Pa?j:Zs.right,yc=!$&&Wu&&dl?k:to.left,Kp=$?Vs(Fi,fa,"after"):j),ke(oc,Zs.top,bo-oc,Zs.bottom),Zs.bottom<to.top&&ke(k,Zs.bottom,null,to.top),ke(yc,to.top,Kp-yc,to.bottom)}(!Oi||Bo(Zs,Oi)<0)&&(Oi=Zs),Bo(to,Oi)<0&&(Oi=to),(!As||Bo(Zs,As)<0)&&(As=Zs),Bo(to,As)<0&&(As=to)}),{start:Oi,end:As}}var be=n.from(),Pt=n.to();if(be.line==Pt.line)qe(be.line,be.ch,Pt.ch);else{var Dr=hn(p,be.line),dr=hn(p,Pt.line),Ur=yn(Dr)==yn(dr),fn=qe(be.line,be.ch,Ur?Dr.text.length+1:null).end,Kn=qe(Pt.line,Ur?0:null,Pt.ch).start;Ur&&(fn.top<Kn.top-2?(ke(fn.right,fn.top,null,fn.bottom),ke(k,Kn.top,Kn.left,Kn.bottom)):ke(fn.right,fn.top,Kn.left-fn.right,fn.bottom)),fn.bottom<Kn.top&&ke(k,fn.bottom,null,Kn.top)}o.appendChild(D)}function Go(e){if(!!e.state.focused){var n=e.display;clearInterval(n.blinker);var o=!0;n.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?n.blinker=setInterval(function(){e.hasFocus()||La(e),n.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(n.cursorDiv.style.visibility="hidden")}}function du(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||xo(e))}function mu(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&La(e))},100)}function xo(e,n){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(On(e,"focus",e,n),e.state.focused=!0,Vi(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),De&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Go(e))}function La(e,n){e.state.delayingBlurEvent||(e.state.focused&&(On(e,"blur",e,n),e.state.focused=!1,Xn(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Xa(e){for(var n=e.display,o=n.lineDiv.offsetTop,u=Math.max(0,n.scroller.getBoundingClientRect().top),p=n.lineDiv.getBoundingClientRect().top,D=0,E=0;E<n.view.length;E++){var k=n.view[E],j=e.options.lineWrapping,$=void 0,ke=0;if(!k.hidden){if(p+=k.line.height,de&&ve<8){var qe=k.node.offsetTop+k.node.offsetHeight;$=qe-o,o=qe}else{var be=k.node.getBoundingClientRect();$=be.bottom-be.top,!j&&k.text.firstChild&&(ke=k.text.firstChild.getBoundingClientRect().right-be.left-1)}var Pt=k.line.height-$;if((Pt>.005||Pt<-.005)&&(p<u&&(D-=Pt),ws(k.line,$),gu(k.line),k.rest))for(var Dr=0;Dr<k.rest.length;Dr++)gu(k.rest[Dr]);if(ke>e.display.sizerWidth){var dr=Math.ceil(ke/uo(e.display));dr>e.display.maxLineLength&&(e.display.maxLineLength=dr,e.display.maxLine=k.line,e.display.maxLineChanged=!0)}}}Math.abs(D)>2&&(n.scroller.scrollTop+=D)}function gu(e){if(e.widgets)for(var n=0;n<e.widgets.length;++n){var o=e.widgets[n],u=o.node.parentNode;u&&(o.height=u.offsetHeight)}}function Ya(e,n,o){var u=o&&o.top!=null?Math.max(0,o.top):e.scroller.scrollTop;u=Math.floor(u-Cs(e));var p=o&&o.bottom!=null?o.bottom:u+e.wrapper.clientHeight,D=is(n,u),E=is(n,p);if(o&&o.ensure){var k=o.ensure.from.line,j=o.ensure.to.line;k<D?(D=k,E=is(n,yi(hn(n,k))+e.wrapper.clientHeight)):Math.min(j,n.lastLine())>=E&&(D=is(n,yi(hn(n,j))-e.wrapper.clientHeight),E=j)}return{from:D,to:Math.max(E,D+1)}}function tl(e,n){if(!fr(e,"scrollCursorIntoView")){var o=e.display,u=o.sizer.getBoundingClientRect(),p=null,D=o.wrapper.ownerDocument;if(n.top+u.top<0?p=!0:n.bottom+u.top>(D.defaultView.innerHeight||D.documentElement.clientHeight)&&(p=!1),p!=null&&!Ze){var E=Ee("div","​",null,`position: absolute;
8
- top: `+(n.top-o.viewOffset-Cs(e.display))+`px;
9
- height: `+(n.bottom-n.top+Ai(e)+o.barHeight)+`px;
10
- left: `+n.left+"px; width: "+Math.max(2,n.right-n.left)+"px;");e.display.lineSpace.appendChild(E),E.scrollIntoView(p),e.display.lineSpace.removeChild(E)}}}function Hl(e,n,o,u){u==null&&(u=0);var p;!e.options.lineWrapping&&n==o&&(o=n.sticky=="before"?dt(n.line,n.ch+1,"before"):n,n=n.ch?dt(n.line,n.sticky=="before"?n.ch-1:n.ch,"after"):n);for(var D=0;D<5;D++){var E=!1,k=bs(e,n),j=!o||o==n?k:bs(e,o);p={left:Math.min(k.left,j.left),top:Math.min(k.top,j.top)-u,right:Math.max(k.left,j.left),bottom:Math.max(k.bottom,j.bottom)+u};var $=El(e,p),ke=e.doc.scrollTop,qe=e.doc.scrollLeft;if($.scrollTop!=null&&(po(e,$.scrollTop),Math.abs(e.doc.scrollTop-ke)>1&&(E=!0)),$.scrollLeft!=null&&(Qa(e,$.scrollLeft),Math.abs(e.doc.scrollLeft-qe)>1&&(E=!0)),!E)break}return p}function nc(e,n){var o=El(e,n);o.scrollTop!=null&&po(e,o.scrollTop),o.scrollLeft!=null&&Qa(e,o.scrollLeft)}function El(e,n){var o=e.display,u=ls(e.display);n.top<0&&(n.top=0);var p=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,D=cs(e),E={};n.bottom-n.top>D&&(n.bottom=n.top+D);var k=e.doc.height+en(o),j=n.top<u,$=n.bottom>k-u;if(n.top<p)E.scrollTop=j?0:n.top;else if(n.bottom>p+D){var ke=Math.min(n.top,($?k:n.bottom)-D);ke!=p&&(E.scrollTop=ke)}var qe=e.options.fixedGutter?0:o.gutters.offsetWidth,be=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-qe,Pt=Wi(e)-o.gutters.offsetWidth,Dr=n.right-n.left>Pt;return Dr&&(n.right=n.left+Pt),n.left<10?E.scrollLeft=0:n.left<be?E.scrollLeft=Math.max(0,n.left+qe-(Dr?0:10)):n.right>Pt+be-3&&(E.scrollLeft=n.right+(Dr?0:10)-Pt),E}function ju(e,n){n!=null&&(yu(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+n)}function Ko(e){yu(e);var n=e.getCursor();e.curOp.scrollToPos={from:n,to:n,margin:e.options.cursorScrollMargin}}function ga(e,n,o){(n!=null||o!=null)&&yu(e),n!=null&&(e.curOp.scrollLeft=n),o!=null&&(e.curOp.scrollTop=o)}function _o(e,n){yu(e),e.curOp.scrollToPos=n}function yu(e){var n=e.curOp.scrollToPos;if(n){e.curOp.scrollToPos=null;var o=aa(e,n.from),u=aa(e,n.to);rl(e,o,u,n.margin)}}function rl(e,n,o,u){var p=El(e,{left:Math.min(n.left,o.left),top:Math.min(n.top,o.top)-u,right:Math.max(n.right,o.right),bottom:Math.max(n.bottom,o.bottom)+u});ga(e,p.scrollLeft,p.scrollTop)}function po(e,n){Math.abs(e.doc.scrollTop-n)<2||(x||Eu(e,{top:n}),bl(e,n,!0),x&&Eu(e),Eo(e,100))}function bl(e,n,o){n=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,n)),!(e.display.scroller.scrollTop==n&&!o)&&(e.doc.scrollTop=n,e.display.scrollbars.setScrollTop(n),e.display.scroller.scrollTop!=n&&(e.display.scroller.scrollTop=n))}function Qa(e,n,o,u){n=Math.max(0,Math.min(n,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((o?n==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-n)<2)&&!u)&&(e.doc.scrollLeft=n,ol(e),e.display.scroller.scrollLeft!=n&&(e.display.scroller.scrollLeft=n),e.display.scrollbars.setScrollLeft(n))}function ia(e){var n=e.display,o=n.gutters.offsetWidth,u=Math.round(e.doc.height+en(e.display));return{clientHeight:n.scroller.clientHeight,viewHeight:n.wrapper.clientHeight,scrollWidth:n.scroller.scrollWidth,clientWidth:n.scroller.clientWidth,viewWidth:n.wrapper.clientWidth,barLeft:e.options.fixedGutter?o:0,docHeight:u,scrollHeight:u+Ai(e)+n.barHeight,nativeBarWidth:n.nativeBarWidth,gutterWidth:o}}var Ma=function(e,n,o){this.cm=o;var u=this.vert=Ee("div",[Ee("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),p=this.horiz=Ee("div",[Ee("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");u.tabIndex=p.tabIndex=-1,e(u),e(p),_t(u,"scroll",function(){u.clientHeight&&n(u.scrollTop,"vertical")}),_t(p,"scroll",function(){p.clientWidth&&n(p.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,de&&ve<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ma.prototype.update=function(e){var n=e.scrollWidth>e.clientWidth+1,o=e.scrollHeight>e.clientHeight+1,u=e.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=n?u+"px":"0";var p=e.viewHeight-(n?u:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+p)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(n){this.horiz.style.display="block",this.horiz.style.right=o?u+"px":"0",this.horiz.style.left=e.barLeft+"px";var D=e.viewWidth-e.barLeft-(o?u:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+D)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(u==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?u:0,bottom:n?u:0}},Ma.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ma.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ma.prototype.zeroWidthHack=function(){var e=gr&&!Sr?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new cn,this.disableVert=new cn},Ma.prototype.enableZeroWidthBar=function(e,n,o){e.style.visibility="";function u(){var p=e.getBoundingClientRect(),D=o=="vert"?document.elementFromPoint(p.right-1,(p.top+p.bottom)/2):document.elementFromPoint((p.right+p.left)/2,p.bottom-1);D!=e?e.style.visibility="hidden":n.set(1e3,u)}n.set(1e3,u)},Ma.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Io=function(){};Io.prototype.update=function(){return{bottom:0,right:0}},Io.prototype.setScrollLeft=function(){},Io.prototype.setScrollTop=function(){},Io.prototype.clear=function(){};function Co(e,n){n||(n=ia(e));var o=e.display.barWidth,u=e.display.barHeight;Al(e,n);for(var p=0;p<4&&o!=e.display.barWidth||u!=e.display.barHeight;p++)o!=e.display.barWidth&&e.options.lineWrapping&&Xa(e),Al(e,ia(e)),o=e.display.barWidth,u=e.display.barHeight}function Al(e,n){var o=e.display,u=o.scrollbars.update(n);o.sizer.style.paddingRight=(o.barWidth=u.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=u.bottom)+"px",o.heightForcer.style.borderBottom=u.bottom+"px solid transparent",u.right&&u.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=u.bottom+"px",o.scrollbarFiller.style.width=u.right+"px"):o.scrollbarFiller.style.display="",u.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=u.bottom+"px",o.gutterFiller.style.width=n.gutterWidth+"px"):o.gutterFiller.style.display=""}var wl={native:Ma,null:Io};function Du(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&Xn(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new wl[e.options.scrollbarStyle](function(n){e.display.wrapper.insertBefore(n,e.display.scrollbarFiller),_t(n,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),n.setAttribute("cm-not-content","true")},function(n,o){o=="horizontal"?Qa(e,n):po(e,n)},e),e.display.scrollbars.addClass&&Vi(e.display.wrapper,e.display.scrollbars.addClass)}var vu=0;function Za(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++vu,markArrays:null},Oe(e.curOp)}function ja(e){var n=e.curOp;n&&wt(n,function(o){for(var u=0;u<o.ops.length;u++)o.ops[u].cm.curOp=null;Ru(o)})}function Ru(e){for(var n=e.ops,o=0;o<n.length;o++)nl(n[o]);for(var u=0;u<n.length;u++)$u(n[u]);for(var p=0;p<n.length;p++)xu(n[p]);for(var D=0;D<n.length;D++)ql(n[D]);for(var E=0;E<n.length;E++)Cu(n[E])}function nl(e){var n=e.cm,o=n.display;Wl(n),e.updateMaxLine&&Ci(n),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<o.viewFrom||e.scrollToPos.to.line>=o.viewTo)||o.maxLineChanged&&n.options.lineWrapping,e.update=e.mustUpdate&&new sl(n,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function $u(e){e.updatedDisplay=e.mustUpdate&&Tl(e.cm,e.update)}function xu(e){var n=e.cm,o=n.display;e.updatedDisplay&&Xa(n),e.barMeasure=ia(n),o.maxLineChanged&&!n.options.lineWrapping&&(e.adjustWidthTo=ir(n,o.maxLine,o.maxLine.text.length).left+3,n.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+e.adjustWidthTo+Ai(n)+n.display.barWidth),e.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+e.adjustWidthTo-Wi(n))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function ql(e){var n=e.cm;e.adjustWidthTo!=null&&(n.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<n.doc.scrollLeft&&Qa(n,Math.min(n.display.scroller.scrollLeft,e.maxScrollLeft),!0),n.display.maxLineChanged=!1);var o=e.focus&&e.focus==ti(es(n));e.preparedSelection&&n.display.input.showSelection(e.preparedSelection,o),(e.updatedDisplay||e.startHeight!=n.doc.height)&&Co(n,e.barMeasure),e.updatedDisplay&&Sl(n,e.barMeasure),e.selectionChanged&&Go(n),n.state.focused&&e.updateInput&&n.display.input.reset(e.typing),o&&du(e.cm)}function Cu(e){var n=e.cm,o=n.display,u=n.doc;if(e.updatedDisplay&&Jo(n,e.update),o.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(o.wheelStartX=o.wheelStartY=null),e.scrollTop!=null&&bl(n,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&Qa(n,e.scrollLeft,!0,!0),e.scrollToPos){var p=Hl(n,Bi(u,e.scrollToPos.from),Bi(u,e.scrollToPos.to),e.scrollToPos.margin);tl(n,p)}var D=e.maybeHiddenMarkers,E=e.maybeUnhiddenMarkers;if(D)for(var k=0;k<D.length;++k)D[k].lines.length||On(D[k],"hide");if(E)for(var j=0;j<E.length;++j)E[j].lines.length&&On(E[j],"unhide");o.wrapper.offsetHeight&&(u.scrollTop=n.display.scroller.scrollTop),e.changeObjs&&On(n,"changes",n,e.changeObjs),e.update&&e.update.finish()}function Xs(e,n){if(e.curOp)return n();Za(e);try{return n()}finally{ja(e)}}function sa(e,n){return function(){if(e.curOp)return n.apply(e,arguments);Za(e);try{return n.apply(e,arguments)}finally{ja(e)}}}function oa(e){return function(){if(this.curOp)return e.apply(this,arguments);Za(this);try{return e.apply(this,arguments)}finally{ja(this)}}}function $s(e){return function(){var n=this.cm;if(!n||n.curOp)return e.apply(this,arguments);Za(n);try{return e.apply(this,arguments)}finally{ja(n)}}}function Eo(e,n){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(n,Mr(il,e))}function il(e){var n=e.doc;if(!(n.highlightFrontier>=e.display.viewTo)){var o=+new Date+e.options.workTime,u=yo(e,n.highlightFrontier),p=[];n.iter(u.line,Math.min(n.first+n.size,e.display.viewTo+500),function(D){if(u.line>=e.display.viewFrom){var E=D.styles,k=D.text.length>e.options.maxHighlightLength?vn(n.mode,u.state):null,j=ku(e,D,u,!0);k&&(u.state=k),D.styles=j.styles;var $=D.styleClasses,ke=j.classes;ke?D.styleClasses=ke:$&&(D.styleClasses=null);for(var qe=!E||E.length!=D.styles.length||$!=ke&&(!$||!ke||$.bgClass!=ke.bgClass||$.textClass!=ke.textClass),be=0;!qe&&be<E.length;++be)qe=E[be]!=D.styles[be];qe&&p.push(u.line),D.stateAfter=u.save(),u.nextLine()}else D.text.length<=e.options.maxHighlightLength&&lu(e,D.text,u),D.stateAfter=u.line%5==0?u.save():null,u.nextLine();if(+new Date>o)return Eo(e,e.options.workDelay),!0}),n.highlightFrontier=u.line,n.modeFrontier=Math.max(n.modeFrontier,u.line),p.length&&Xs(e,function(){for(var D=0;D<p.length;D++)Ea(e,p[D],"text")})}}var sl=function(e,n,o){var u=e.display;this.viewport=n,this.visible=Ya(u,e.doc,n),this.editorIsHidden=!u.wrapper.offsetWidth,this.wrapperHeight=u.wrapper.clientHeight,this.wrapperWidth=u.wrapper.clientWidth,this.oldDisplayWidth=Wi(e),this.force=o,this.dims=qo(e),this.events=[]};sl.prototype.signal=function(e,n){Me(e,n)&&this.events.push(arguments)},sl.prototype.finish=function(){for(var e=0;e<this.events.length;e++)On.apply(null,this.events[e])};function Wl(e){var n=e.display;!n.scrollbarsClipped&&n.scroller.offsetWidth&&(n.nativeBarWidth=n.scroller.offsetWidth-n.scroller.clientWidth,n.heightForcer.style.height=Ai(e)+"px",n.sizer.style.marginBottom=-n.nativeBarWidth+"px",n.sizer.style.borderRightWidth=Ai(e)+"px",n.scrollbarsClipped=!0)}function ic(e){if(e.hasFocus())return null;var n=ti(es(e));if(!n||!kn(e.display.lineDiv,n))return null;var o={activeElt:n};if(window.getSelection){var u=ts(e).getSelection();u.anchorNode&&u.extend&&kn(e.display.lineDiv,u.anchorNode)&&(o.anchorNode=u.anchorNode,o.anchorOffset=u.anchorOffset,o.focusNode=u.focusNode,o.focusOffset=u.focusOffset)}return o}function Vl(e){if(!(!e||!e.activeElt||e.activeElt==ti(e.activeElt.ownerDocument))&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&kn(document.body,e.anchorNode)&&kn(document.body,e.focusNode))){var n=e.activeElt.ownerDocument,o=n.defaultView.getSelection(),u=n.createRange();u.setEnd(e.anchorNode,e.anchorOffset),u.collapse(!1),o.removeAllRanges(),o.addRange(u),o.extend(e.focusNode,e.focusOffset)}}function Tl(e,n){var o=e.display,u=e.doc;if(n.editorIsHidden)return Ia(e),!1;if(!n.force&&n.visible.from>=o.viewFrom&&n.visible.to<=o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&Oa(e)==0)return!1;ul(e)&&(Ia(e),n.dims=qo(e));var p=u.first+u.size,D=Math.max(n.visible.from-e.options.viewportMargin,u.first),E=Math.min(p,n.visible.to+e.options.viewportMargin);o.viewFrom<D&&D-o.viewFrom<20&&(D=Math.max(u.first,o.viewFrom)),o.viewTo>E&&o.viewTo-E<20&&(E=Math.min(p,o.viewTo)),Ha&&(D=on(e.doc,D),E=ni(e.doc,E));var k=D!=o.viewFrom||E!=o.viewTo||o.lastWrapHeight!=n.wrapperHeight||o.lastWrapWidth!=n.wrapperWidth;Vo(e,D,E),o.viewOffset=yi(hn(e.doc,o.viewFrom)),e.display.mover.style.top=o.viewOffset+"px";var j=Oa(e);if(!k&&j==0&&!n.force&&o.renderedView==o.view&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo))return!1;var $=ic(e);return j>4&&(o.lineDiv.style.display="none"),al(e,o.updateLineNumbers,n.dims),j>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,Vl($),hr(o.cursorDiv),hr(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,k&&(o.lastWrapHeight=n.wrapperHeight,o.lastWrapWidth=n.wrapperWidth,Eo(e,400)),o.updateLineNumbers=null,!0}function Jo(e,n){for(var o=n.viewport,u=!0;;u=!1){if(!u||!e.options.lineWrapping||n.oldDisplayWidth==Wi(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+en(e.display)-cs(e),o.top)}),n.visible=Ya(e.display,e.doc,o),n.visible.from>=e.display.viewFrom&&n.visible.to<=e.display.viewTo)break}else u&&(n.visible=Ya(e.display,e.doc,o));if(!Tl(e,n))break;Xa(e);var p=ia(e);ka(e),Co(e,p),Sl(e,p),n.force=!1}n.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(n.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Eu(e,n){var o=new sl(e,n);if(Tl(e,o)){Xa(e),Jo(e,o);var u=ia(e);ka(e),Co(e,u),Sl(e,u),o.finish()}}function al(e,n,o){var u=e.display,p=e.options.lineNumbers,D=u.lineDiv,E=D.firstChild;function k(Dr){var dr=Dr.nextSibling;return De&&gr&&e.display.currentWheelTarget==Dr?Dr.style.display="none":Dr.parentNode.removeChild(Dr),dr}for(var j=u.view,$=u.viewFrom,ke=0;ke<j.length;ke++){var qe=j[ke];if(!qe.hidden)if(!qe.node||qe.node.parentNode!=D){var be=zr(e,qe,$,o);D.insertBefore(be,E)}else{for(;E!=qe.node;)E=k(E);var Pt=p&&n!=null&&n<=$&&qe.lineNumber;qe.changes&&($n(qe.changes,"gutter")>-1&&(Pt=!1),lr(e,qe,$,o)),Pt&&(hr(qe.lineNumber),qe.lineNumber.appendChild(document.createTextNode(nt(e.options,$)))),E=qe.node.nextSibling}$+=qe.size}for(;E;)E=k(E)}function zu(e){var n=e.gutters.offsetWidth;e.sizer.style.marginLeft=n+"px",et(e,"gutterChanged",e)}function Sl(e,n){e.display.sizer.style.minHeight=n.docHeight+"px",e.display.heightForcer.style.top=n.docHeight+"px",e.display.gutters.style.height=n.docHeight+e.display.barHeight+Ai(e)+"px"}function ol(e){var n=e.display,o=n.view;if(!(!n.alignWidgets&&(!n.gutters.firstChild||!e.options.fixedGutter))){for(var u=Wo(n)-n.scroller.scrollLeft+e.doc.scrollLeft,p=n.gutters.offsetWidth,D=u+"px",E=0;E<o.length;E++)if(!o[E].hidden){e.options.fixedGutter&&(o[E].gutter&&(o[E].gutter.style.left=D),o[E].gutterBackground&&(o[E].gutterBackground.style.left=D));var k=o[E].alignable;if(k)for(var j=0;j<k.length;j++)k[j].style.left=D}e.options.fixedGutter&&(n.gutters.style.left=u+p+"px")}}function ul(e){if(!e.options.lineNumbers)return!1;var n=e.doc,o=nt(e.options,n.first+n.size-1),u=e.display;if(o.length!=u.lineNumChars){var p=u.measure.appendChild(Ee("div",[Ee("div",o)],"CodeMirror-linenumber CodeMirror-gutter-elt")),D=p.firstChild.offsetWidth,E=p.offsetWidth-D;return u.lineGutter.style.width="",u.lineNumInnerWidth=Math.max(D,u.lineGutter.offsetWidth-E)+1,u.lineNumWidth=u.lineNumInnerWidth+E,u.lineNumChars=u.lineNumInnerWidth?o.length:-1,u.lineGutter.style.width=u.lineNumWidth+"px",zu(e.display),!0}return!1}function ll(e,n){for(var o=[],u=!1,p=0;p<e.length;p++){var D=e[p],E=null;if(typeof D!="string"&&(E=D.style,D=D.className),D=="CodeMirror-linenumbers")if(n)u=!0;else continue;o.push({className:D,style:E})}return n&&!u&&o.push({className:"CodeMirror-linenumbers",style:null}),o}function Gl(e){var n=e.gutters,o=e.gutterSpecs;hr(n),e.lineGutter=null;for(var u=0;u<o.length;++u){var p=o[u],D=p.className,E=p.style,k=n.appendChild(Ee("div",null,"CodeMirror-gutter "+D));E&&(k.style.cssText=E),D=="CodeMirror-linenumbers"&&(e.lineGutter=k,k.style.width=(e.lineNumWidth||1)+"px")}n.style.display=o.length?"":"none",zu(e)}function Uu(e){Gl(e.display),pa(e),ol(e)}function Hu(e,n,o,u){var p=this;this.input=o,p.scrollbarFiller=Ee("div",null,"CodeMirror-scrollbar-filler"),p.scrollbarFiller.setAttribute("cm-not-content","true"),p.gutterFiller=Ee("div",null,"CodeMirror-gutter-filler"),p.gutterFiller.setAttribute("cm-not-content","true"),p.lineDiv=tn("div",null,"CodeMirror-code"),p.selectionDiv=Ee("div",null,null,"position: relative; z-index: 1"),p.cursorDiv=Ee("div",null,"CodeMirror-cursors"),p.measure=Ee("div",null,"CodeMirror-measure"),p.lineMeasure=Ee("div",null,"CodeMirror-measure"),p.lineSpace=tn("div",[p.measure,p.lineMeasure,p.selectionDiv,p.cursorDiv,p.lineDiv],null,"position: relative; outline: none");var D=tn("div",[p.lineSpace],"CodeMirror-lines");p.mover=Ee("div",[D],null,"position: relative"),p.sizer=Ee("div",[p.mover],"CodeMirror-sizer"),p.sizerWidth=null,p.heightForcer=Ee("div",null,null,"position: absolute; height: "+ci+"px; width: 1px;"),p.gutters=Ee("div",null,"CodeMirror-gutters"),p.lineGutter=null,p.scroller=Ee("div",[p.sizer,p.heightForcer,p.gutters],"CodeMirror-scroll"),p.scroller.setAttribute("tabIndex","-1"),p.wrapper=Ee("div",[p.scrollbarFiller,p.gutterFiller,p.scroller],"CodeMirror"),tt&&Ct>=105&&(p.wrapper.style.clipPath="inset(0px)"),p.wrapper.setAttribute("translate","no"),de&&ve<8&&(p.gutters.style.zIndex=-1,p.scroller.style.paddingRight=0),!De&&!(x&&er)&&(p.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(p.wrapper):e(p.wrapper)),p.viewFrom=p.viewTo=n.first,p.reportedViewFrom=p.reportedViewTo=n.first,p.view=[],p.renderedView=null,p.externalMeasured=null,p.viewOffset=0,p.lastWrapHeight=p.lastWrapWidth=0,p.updateLineNumbers=null,p.nativeBarWidth=p.barHeight=p.barWidth=0,p.scrollbarsClipped=!1,p.lineNumWidth=p.lineNumInnerWidth=p.lineNumChars=null,p.alignWidgets=!1,p.cachedCharWidth=p.cachedTextHeight=p.cachedPaddingH=null,p.maxLine=null,p.maxLineLength=0,p.maxLineChanged=!1,p.wheelDX=p.wheelDY=p.wheelStartX=p.wheelStartY=null,p.shift=!1,p.selForContextMenu=null,p.activeTouch=null,p.gutterSpecs=ll(u.gutters,u.lineNumbers),Gl(p),o.init(p)}var Xo=0,ha=null;de?ha=-.53:x?ha=15:tt?ha=-.7:$t&&(ha=-1/3);function Fl(e){var n=e.wheelDeltaX,o=e.wheelDeltaY;return n==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(n=e.detail),o==null&&e.detail&&e.axis==e.VERTICAL_AXIS?o=e.detail:o==null&&(o=e.wheelDelta),{x:n,y:o}}function sc(e){var n=Fl(e);return n.x*=ha,n.y*=ha,n}function kl(e,n){tt&&Ct==102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var o=Fl(n),u=o.x,p=o.y,D=ha;n.deltaMode===0&&(u=n.deltaX,p=n.deltaY,D=1);var E=e.display,k=E.scroller,j=k.scrollWidth>k.clientWidth,$=k.scrollHeight>k.clientHeight;if(!!(u&&j||p&&$)){if(p&&gr&&De){e:for(var ke=n.target,qe=E.view;ke!=k;ke=ke.parentNode)for(var be=0;be<qe.length;be++)if(qe[be].node==ke){e.display.currentWheelTarget=ke;break e}}if(u&&!x&&!Rt&&D!=null){p&&$&&po(e,Math.max(0,k.scrollTop+p*D)),Qa(e,Math.max(0,k.scrollLeft+u*D)),(!p||p&&$)&&jt(n),E.wheelStartX=null;return}if(p&&D!=null){var Pt=p*D,Dr=e.doc.scrollTop,dr=Dr+E.wrapper.clientHeight;Pt<0?Dr=Math.max(0,Dr+Pt-50):dr=Math.min(e.doc.height,dr+Pt+50),Eu(e,{top:Dr,bottom:dr})}Xo<20&&n.deltaMode!==0&&(E.wheelStartX==null?(E.wheelStartX=k.scrollLeft,E.wheelStartY=k.scrollTop,E.wheelDX=u,E.wheelDY=p,setTimeout(function(){if(E.wheelStartX!=null){var Ur=k.scrollLeft-E.wheelStartX,fn=k.scrollTop-E.wheelStartY,Kn=fn&&E.wheelDY&&fn/E.wheelDY||Ur&&E.wheelDX&&Ur/E.wheelDX;E.wheelStartX=E.wheelStartY=null,Kn&&(ha=(ha*Xo+Kn)/(Xo+1),++Xo)}},200)):(E.wheelDX+=u,E.wheelDY+=p))}}var Ra=function(e,n){this.ranges=e,this.primIndex=n};Ra.prototype.primary=function(){return this.ranges[this.primIndex]},Ra.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var o=this.ranges[n],u=e.ranges[n];if(!gi(o.anchor,u.anchor)||!gi(o.head,u.head))return!1}return!0},Ra.prototype.deepCopy=function(){for(var e=[],n=0;n<this.ranges.length;n++)e[n]=new Es(ss(this.ranges[n].anchor),ss(this.ranges[n].head));return new Ra(e,this.primIndex)},Ra.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Ra.prototype.contains=function(e,n){n||(n=e);for(var o=0;o<this.ranges.length;o++){var u=this.ranges[o];if(pr(n,u.from())>=0&&pr(e,u.to())<=0)return o}return-1};var Es=function(e,n){this.anchor=e,this.head=n};Es.prototype.from=function(){return xs(this.anchor,this.head)},Es.prototype.to=function(){return us(this.anchor,this.head)},Es.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function $a(e,n,o){var u=e&&e.options.selectionsMayTouch,p=n[o];n.sort(function(be,Pt){return pr(be.from(),Pt.from())}),o=$n(n,p);for(var D=1;D<n.length;D++){var E=n[D],k=n[D-1],j=pr(k.to(),E.from());if(u&&!E.empty()?j>0:j>=0){var $=xs(k.from(),E.from()),ke=us(k.to(),E.to()),qe=k.empty()?E.from()==E.head:k.from()==k.head;D<=o&&--o,n.splice(--D,2,new Es(qe?ke:$,qe?$:ke))}}return new Ra(n,o)}function ho(e,n){return new Ra([new Es(e,n||e)],0)}function ba(e){return e.text?dt(e.from.line+e.text.length-1,Jr(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function cl(e,n){if(pr(e,n.from)<0)return e;if(pr(e,n.to)<=0)return ba(n);var o=e.line+n.text.length-(n.to.line-n.from.line)-1,u=e.ch;return e.line==n.to.line&&(u+=ba(n).ch-n.to.ch),dt(o,u)}function pl(e,n){for(var o=[],u=0;u<e.sel.ranges.length;u++){var p=e.sel.ranges[u];o.push(new Es(cl(p.anchor,n),cl(p.head,n)))}return $a(e.cm,o,e.sel.primIndex)}function Yo(e,n,o){return e.line==n.line?dt(o.line,e.ch-n.ch+o.ch):dt(o.line+(e.line-n.line),e.ch)}function nu(e,n,o){for(var u=[],p=dt(e.first,0),D=p,E=0;E<n.length;E++){var k=n[E],j=Yo(k.from,p,D),$=Yo(ba(k),p,D);if(p=k.to,D=$,o=="around"){var ke=e.sel.ranges[E],qe=pr(ke.head,ke.anchor)<0;u[E]=new Es(qe?$:j,qe?j:$)}else u[E]=new Es(j,j)}return new Ra(u,e.sel.primIndex)}function Pl(e){e.doc.mode=Sn(e.options,e.doc.modeOption),bu(e)}function bu(e){e.doc.iter(function(n){n.stateAfter&&(n.stateAfter=null),n.styles&&(n.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Eo(e,100),e.state.modeGen++,e.curOp&&pa(e)}function iu(e,n){return n.from.ch==0&&n.to.ch==0&&Jr(n.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function qu(e,n,o,u){function p(Kn){return o?o[Kn]:null}function D(Kn,Bn,le){Ri(Kn,Bn,le,u),et(Kn,"change",Kn,n)}function E(Kn,Bn){for(var le=[],St=Kn;St<Bn;++St)le.push(new Rn($[St],p(St),u));return le}var k=n.from,j=n.to,$=n.text,ke=hn(e,k.line),qe=hn(e,j.line),be=Jr($),Pt=p($.length-1),Dr=j.line-k.line;if(n.full)e.insert(0,E(0,$.length)),e.remove($.length,e.size-$.length);else if(iu(e,n)){var dr=E(0,$.length-1);D(qe,qe.text,Pt),Dr&&e.remove(k.line,Dr),dr.length&&e.insert(k.line,dr)}else if(ke==qe)if($.length==1)D(ke,ke.text.slice(0,k.ch)+be+ke.text.slice(j.ch),Pt);else{var Ur=E(1,$.length-1);Ur.push(new Rn(be+ke.text.slice(j.ch),Pt,u)),D(ke,ke.text.slice(0,k.ch)+$[0],p(0)),e.insert(k.line+1,Ur)}else if($.length==1)D(ke,ke.text.slice(0,k.ch)+$[0]+qe.text.slice(j.ch),p(0)),e.remove(k.line+1,Dr);else{D(ke,ke.text.slice(0,k.ch)+$[0],p(0)),D(qe,be+qe.text.slice(j.ch),Pt);var fn=E(1,$.length-1);Dr>1&&e.remove(k.line+1,Dr-1),e.insert(k.line+1,fn)}et(e,"change",e,n)}function eo(e,n,o){function u(p,D,E){if(p.linked)for(var k=0;k<p.linked.length;++k){var j=p.linked[k];if(j.doc!=D){var $=E&&j.sharedHist;o&&!$||(n(j.doc,$),u(j.doc,p,$))}}}u(e,null,!0)}function Nl(e,n){if(n.cm)throw new Error("This document is already in use.");e.doc=n,n.cm=e,Lu(e),Pl(e),Oo(e),e.options.direction=n.direction,e.options.lineWrapping||Ci(e),e.options.mode=n.modeOption,pa(e)}function Oo(e){(e.doc.direction=="rtl"?Vi:Xn)(e.display.lineDiv,"CodeMirror-rtl")}function Bl(e){Xs(e,function(){Oo(e),pa(e)})}function Lo(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function w(e,n){var o={from:ss(n.from),to:ba(n),text:di(e,n.from,n.to)};return Ae(e,o,n.from.line,n.to.line+1),eo(e,function(u){return Ae(u,o,n.from.line,n.to.line+1)},!0),o}function te(e){for(;e.length;){var n=Jr(e);if(n.ranges)e.pop();else break}}function X(e,n){if(n)return te(e.done),Jr(e.done);if(e.done.length&&!Jr(e.done).ranges)return Jr(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Jr(e.done)}function Y(e,n,o,u){var p=e.history;p.undone.length=0;var D=+new Date,E,k;if((p.lastOp==u||p.lastOrigin==n.origin&&n.origin&&(n.origin.charAt(0)=="+"&&p.lastModTime>D-(e.cm?e.cm.options.historyEventDelay:500)||n.origin.charAt(0)=="*"))&&(E=X(p,p.lastOp==u)))k=Jr(E.changes),pr(n.from,n.to)==0&&pr(n.from,k.to)==0?k.to=ba(n):E.changes.push(w(e,n));else{var j=Jr(p.done);for((!j||!j.ranges)&&ge(e.sel,p.done),E={changes:[w(e,n)],generation:p.generation},p.done.push(E);p.done.length>p.undoDepth;)p.done.shift(),p.done[0].ranges||p.done.shift()}p.done.push(o),p.generation=++p.maxGeneration,p.lastModTime=p.lastSelTime=D,p.lastOp=p.lastSelOp=u,p.lastOrigin=p.lastSelOrigin=n.origin,k||On(e,"historyAdded")}function fe(e,n,o,u){var p=n.charAt(0);return p=="*"||p=="+"&&o.ranges.length==u.ranges.length&&o.somethingSelected()==u.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Ce(e,n,o,u){var p=e.history,D=u&&u.origin;o==p.lastSelOp||D&&p.lastSelOrigin==D&&(p.lastModTime==p.lastSelTime&&p.lastOrigin==D||fe(e,D,Jr(p.done),n))?p.done[p.done.length-1]=n:ge(n,p.done),p.lastSelTime=+new Date,p.lastSelOrigin=D,p.lastSelOp=o,u&&u.clearRedo!==!1&&te(p.undone)}function ge(e,n){var o=Jr(n);o&&o.ranges&&o.equals(e)||n.push(e)}function Ae(e,n,o,u){var p=n["spans_"+e.id],D=0;e.iter(Math.max(e.first,o),Math.min(e.first+e.size,u),function(E){E.markedSpans&&((p||(p=n["spans_"+e.id]={}))[D]=E.markedSpans),++D})}function pe(e){if(!e)return null;for(var n,o=0;o<e.length;++o)e[o].marker.explicitlyCleared?n||(n=e.slice(0,o)):n&&n.push(e[o]);return n?n.length?n:null:e}function ae(e,n){var o=n["spans_"+e.id];if(!o)return null;for(var u=[],p=0;p<n.text.length;++p)u.push(pe(o[p]));return u}function F(e,n){var o=ae(e,n),u=qa(e,n);if(!o)return u;if(!u)return o;for(var p=0;p<o.length;++p){var D=o[p],E=u[p];if(D&&E){e:for(var k=0;k<E.length;++k){for(var j=E[k],$=0;$<D.length;++$)if(D[$].marker==j.marker)continue e;D.push(j)}}else E&&(o[p]=E)}return o}function b(e,n,o){for(var u=[],p=0;p<e.length;++p){var D=e[p];if(D.ranges){u.push(o?Ra.prototype.deepCopy.call(D):D);continue}var E=D.changes,k=[];u.push({changes:k});for(var j=0;j<E.length;++j){var $=E[j],ke=void 0;if(k.push({from:$.from,to:$.to,text:$.text}),n)for(var qe in $)(ke=qe.match(/^spans_(\d+)$/))&&$n(n,Number(ke[1]))>-1&&(Jr(k)[qe]=$[qe],delete $[qe])}}return u}function Z(e,n,o,u){if(u){var p=e.anchor;if(o){var D=pr(n,p)<0;D!=pr(o,p)<0?(p=n,n=o):D!=pr(n,o)<0&&(n=o)}return new Es(p,n)}else return new Es(o||n,n)}function V(e,n,o,u,p){p==null&&(p=e.cm&&(e.cm.display.shift||e.extend)),pt(e,new Ra([Z(e.sel.primary(),n,o,p)],0),u)}function Ie(e,n,o){for(var u=[],p=e.cm&&(e.cm.display.shift||e.extend),D=0;D<e.sel.ranges.length;D++)u[D]=Z(e.sel.ranges[D],n[D],null,p);var E=$a(e.cm,u,e.sel.primIndex);pt(e,E,o)}function Te(e,n,o,u){var p=e.sel.ranges.slice(0);p[n]=o,pt(e,$a(e.cm,p,e.sel.primIndex),u)}function Ke(e,n,o,u){pt(e,ho(n,o),u)}function Ge(e,n,o){var u={ranges:n.ranges,update:function(p){this.ranges=[];for(var D=0;D<p.length;D++)this.ranges[D]=new Es(Bi(e,p[D].anchor),Bi(e,p[D].head))},origin:o&&o.origin};return On(e,"beforeSelectionChange",e,u),e.cm&&On(e.cm,"beforeSelectionChange",e.cm,u),u.ranges!=n.ranges?$a(e.cm,u.ranges,u.ranges.length-1):n}function Ne(e,n,o){var u=e.history.done,p=Jr(u);p&&p.ranges?(u[u.length-1]=n,bt(e,n,o)):pt(e,n,o)}function pt(e,n,o){bt(e,n,o),Ce(e,e.sel,e.cm?e.cm.curOp.id:NaN,o)}function bt(e,n,o){(Me(e,"beforeSelectionChange")||e.cm&&Me(e.cm,"beforeSelectionChange"))&&(n=Ge(e,n,o));var u=o&&o.bias||(pr(n.primary().head,e.sel.primary().head)<0?-1:1);Gt(e,zn(e,n,u,!0)),!(o&&o.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&Ko(e.cm)}function Gt(e,n){n.equals(e.sel)||(e.sel=n,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Bt(e.cm)),et(e,"cursorActivity",e))}function dn(e){Gt(e,zn(e,e.sel,null,!1))}function zn(e,n,o,u){for(var p,D=0;D<n.ranges.length;D++){var E=n.ranges[D],k=n.ranges.length==e.sel.ranges.length&&e.sel.ranges[D],j=Di(e,E.anchor,k&&k.anchor,o,u),$=E.head==E.anchor?j:Di(e,E.head,k&&k.head,o,u);(p||j!=E.anchor||$!=E.head)&&(p||(p=n.ranges.slice(0,D)),p[D]=new Es(j,$))}return p?$a(e.cm,p,n.primIndex):n}function Un(e,n,o,u,p){var D=hn(e,n.line);if(D.markedSpans)for(var E=0;E<D.markedSpans.length;++E){var k=D.markedSpans[E],j=k.marker,$="selectLeft"in j?!j.selectLeft:j.inclusiveLeft,ke="selectRight"in j?!j.selectRight:j.inclusiveRight;if((k.from==null||($?k.from<=n.ch:k.from<n.ch))&&(k.to==null||(ke?k.to>=n.ch:k.to>n.ch))){if(p&&(On(j,"beforeCursorEnter"),j.explicitlyCleared))if(D.markedSpans){--E;continue}else break;if(!j.atomic)continue;if(o){var qe=j.find(u<0?1:-1),be=void 0;if((u<0?ke:$)&&(qe=li(e,qe,-u,qe&&qe.line==n.line?D:null)),qe&&qe.line==n.line&&(be=pr(qe,o))&&(u<0?be<0:be>0))return Un(e,qe,n,u,p)}var Pt=j.find(u<0?-1:1);return(u<0?$:ke)&&(Pt=li(e,Pt,u,Pt.line==n.line?D:null)),Pt?Un(e,Pt,n,u,p):null}}return n}function Di(e,n,o,u,p){var D=u||1,E=Un(e,n,o,D,p)||!p&&Un(e,n,o,D,!0)||Un(e,n,o,-D,p)||!p&&Un(e,n,o,-D,!0);return E||(e.cantEdit=!0,dt(e.first,0))}function li(e,n,o,u){return o<0&&n.ch==0?n.line>e.first?Bi(e,dt(n.line-1)):null:o>0&&n.ch==(u||hn(e,n.line)).text.length?n.line<e.first+e.size-1?dt(n.line+1,0):null:new dt(n.line,n.ch+o)}function un(e){e.setSelection(dt(e.firstLine(),0),dt(e.lastLine()),Xe)}function Ei(e,n,o){var u={canceled:!1,from:n.from,to:n.to,text:n.text,origin:n.origin,cancel:function(){return u.canceled=!0}};return o&&(u.update=function(p,D,E,k){p&&(u.from=Bi(e,p)),D&&(u.to=Bi(e,D)),E&&(u.text=E),k!==void 0&&(u.origin=k)}),On(e,"beforeChange",e,u),e.cm&&On(e.cm,"beforeChange",e.cm,u),u.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:u.from,to:u.to,text:u.text,origin:u.origin}}function mi(e,n,o){if(e.cm){if(!e.cm.curOp)return sa(e.cm,mi)(e,n,o);if(e.cm.state.suppressEdits)return}if(!((Me(e,"beforeChange")||e.cm&&Me(e.cm,"beforeChange"))&&(n=Ei(e,n,!0),!n))){var u=Ou&&!o&&Pi(e,n.from,n.to);if(u)for(var p=u.length-1;p>=0;--p)Fn(e,{from:u[p].from,to:u[p].to,text:p?[""]:n.text,origin:n.origin});else Fn(e,n)}}function Fn(e,n){if(!(n.text.length==1&&n.text[0]==""&&pr(n.from,n.to)==0)){var o=pl(e,n);Y(e,n,o,e.cm?e.cm.curOp.id:NaN),jr(e,n,o,qa(e,n));var u=[];eo(e,function(p,D){!D&&$n(u,p.history)==-1&&(zi(p.history,n),u.push(p.history)),jr(p,n,null,qa(p,n))})}}function Gr(e,n,o){var u=e.cm&&e.cm.state.suppressEdits;if(!(u&&!o)){for(var p=e.history,D,E=e.sel,k=n=="undo"?p.done:p.undone,j=n=="undo"?p.undone:p.done,$=0;$<k.length&&(D=k[$],!(o?D.ranges&&!D.equals(e.sel):!D.ranges));$++);if($!=k.length){for(p.lastOrigin=p.lastSelOrigin=null;;)if(D=k.pop(),D.ranges){if(ge(D,j),o&&!D.equals(e.sel)){pt(e,D,{clearRedo:!1});return}E=D}else if(u){k.push(D);return}else break;var ke=[];ge(E,j),j.push({changes:ke,generation:p.generation}),p.generation=D.generation||++p.maxGeneration;for(var qe=Me(e,"beforeChange")||e.cm&&Me(e.cm,"beforeChange"),be=function(dr){var Ur=D.changes[dr];if(Ur.origin=n,qe&&!Ei(e,Ur,!1))return k.length=0,{};ke.push(w(e,Ur));var fn=dr?pl(e,Ur):Jr(k);jr(e,Ur,fn,F(e,Ur)),!dr&&e.cm&&e.cm.scrollIntoView({from:Ur.from,to:ba(Ur)});var Kn=[];eo(e,function(Bn,le){!le&&$n(Kn,Bn.history)==-1&&(zi(Bn.history,Ur),Kn.push(Bn.history)),jr(Bn,Ur,null,F(Bn,Ur))})},Pt=D.changes.length-1;Pt>=0;--Pt){var Dr=be(Pt);if(Dr)return Dr.v}}}}function Cn(e,n){if(n!=0&&(e.first+=n,e.sel=new Ra(pn(e.sel.ranges,function(p){return new Es(dt(p.anchor.line+n,p.anchor.ch),dt(p.head.line+n,p.head.ch))}),e.sel.primIndex),e.cm)){pa(e.cm,e.first,e.first-n,n);for(var o=e.cm.display,u=o.viewFrom;u<o.viewTo;u++)Ea(e.cm,u,"gutter")}}function jr(e,n,o,u){if(e.cm&&!e.cm.curOp)return sa(e.cm,jr)(e,n,o,u);if(n.to.line<e.first){Cn(e,n.text.length-1-(n.to.line-n.from.line));return}if(!(n.from.line>e.lastLine())){if(n.from.line<e.first){var p=n.text.length-1-(e.first-n.from.line);Cn(e,p),n={from:dt(e.first,0),to:dt(n.to.line+p,n.to.ch),text:[Jr(n.text)],origin:n.origin}}var D=e.lastLine();n.to.line>D&&(n={from:n.from,to:dt(D,hn(e,D).text.length),text:[n.text[0]],origin:n.origin}),n.removed=di(e,n.from,n.to),o||(o=pl(e,n)),e.cm?Is(e.cm,n,u):qu(e,n,u),bt(e,o,Xe),e.cantEdit&&Di(e,dt(e.firstLine(),0))&&(e.cantEdit=!1)}}function Is(e,n,o){var u=e.doc,p=e.display,D=n.from,E=n.to,k=!1,j=D.line;e.options.lineWrapping||(j=ji(yn(hn(u,D.line))),u.iter(j,E.line+1,function(Pt){if(Pt==p.maxLine)return k=!0,!0})),u.sel.contains(n.from,n.to)>-1&&Bt(e),qu(u,n,o,vo(e)),e.options.lineWrapping||(u.iter(j,D.line+n.text.length,function(Pt){var Dr=Ki(Pt);Dr>p.maxLineLength&&(p.maxLine=Pt,p.maxLineLength=Dr,p.maxLineChanged=!0,k=!1)}),k&&(e.curOp.updateMaxLine=!0)),Iu(u,D.line),Eo(e,400);var $=n.text.length-(E.line-D.line)-1;n.full?pa(e):D.line==E.line&&n.text.length==1&&!iu(e.doc,n)?Ea(e,D.line,"text"):pa(e,D.line,E.line+1,$);var ke=Me(e,"changes"),qe=Me(e,"change");if(qe||ke){var be={from:D,to:E,text:n.text,removed:n.removed,origin:n.origin};qe&&et(e,"change",e,be),ke&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(be)}e.display.selForContextMenu=null}function Yi(e,n,o,u,p){var D;u||(u=o),pr(u,o)<0&&(D=[u,o],o=D[0],u=D[1]),typeof n=="string"&&(n=e.splitLines(n)),mi(e,{from:o,to:u,text:n,origin:p})}function Ss(e,n,o,u){o<e.line?e.line+=u:n<e.line&&(e.line=n,e.ch=0)}function Li(e,n,o,u){for(var p=0;p<e.length;++p){var D=e[p],E=!0;if(D.ranges){D.copied||(D=e[p]=D.deepCopy(),D.copied=!0);for(var k=0;k<D.ranges.length;k++)Ss(D.ranges[k].anchor,n,o,u),Ss(D.ranges[k].head,n,o,u);continue}for(var j=0;j<D.changes.length;++j){var $=D.changes[j];if(o<$.from.line)$.from=dt($.from.line+u,$.from.ch),$.to=dt($.to.line+u,$.to.ch);else if(n<=$.to.line){E=!1;break}}E||(e.splice(0,p+1),p=0)}}function zi(e,n){var o=n.from.line,u=n.to.line,p=n.text.length-(u-o)-1;Li(e.done,o,u,p),Li(e.undone,o,u,p)}function Zn(e,n,o,u){var p=n,D=n;return typeof n=="number"?D=hn(e,ks(e,n)):p=ji(n),p==null?null:(u(D,p)&&e.cm&&Ea(e.cm,p,o),D)}function Ni(e){this.lines=e,this.parent=null;for(var n=0,o=0;o<e.length;++o)e[o].parent=this,n+=e[o].height;this.height=n}Ni.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,n){for(var o=e,u=e+n;o<u;++o){var p=this.lines[o];this.height-=p.height,rs(p),et(p,"delete")}this.lines.splice(e,n)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,n,o){this.height+=o,this.lines=this.lines.slice(0,e).concat(n).concat(this.lines.slice(e));for(var u=0;u<n.length;++u)n[u].parent=this},iterN:function(e,n,o){for(var u=e+n;e<u;++e)if(o(this.lines[e]))return!0}};function vi(e){this.children=e;for(var n=0,o=0,u=0;u<e.length;++u){var p=e[u];n+=p.chunkSize(),o+=p.height,p.parent=this}this.size=n,this.height=o,this.parent=null}vi.prototype={chunkSize:function(){return this.size},removeInner:function(e,n){this.size-=n;for(var o=0;o<this.children.length;++o){var u=this.children[o],p=u.chunkSize();if(e<p){var D=Math.min(n,p-e),E=u.height;if(u.removeInner(e,D),this.height-=E-u.height,p==D&&(this.children.splice(o--,1),u.parent=null),(n-=D)==0)break;e=0}else e-=p}if(this.size-n<25&&(this.children.length>1||!(this.children[0]instanceof Ni))){var k=[];this.collapse(k),this.children=[new Ni(k)],this.children[0].parent=this}},collapse:function(e){for(var n=0;n<this.children.length;++n)this.children[n].collapse(e)},insertInner:function(e,n,o){this.size+=n.length,this.height+=o;for(var u=0;u<this.children.length;++u){var p=this.children[u],D=p.chunkSize();if(e<=D){if(p.insertInner(e,n,o),p.lines&&p.lines.length>50){for(var E=p.lines.length%25+25,k=E;k<p.lines.length;){var j=new Ni(p.lines.slice(k,k+=25));p.height-=j.height,this.children.splice(++u,0,j),j.parent=this}p.lines=p.lines.slice(0,E),this.maybeSpill()}break}e-=D}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var n=e.children.splice(e.children.length-5,5),o=new vi(n);if(e.parent){e.size-=o.size,e.height-=o.height;var p=$n(e.parent.children,e);e.parent.children.splice(p+1,0,o)}else{var u=new vi(e.children);u.parent=e,e.children=[u,o],e=u}o.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,n,o){for(var u=0;u<this.children.length;++u){var p=this.children[u],D=p.chunkSize();if(e<D){var E=Math.min(n,D-e);if(p.iterN(e,E,o))return!0;if((n-=E)==0)break;e=0}else e-=D}}};var Ti=function(e,n,o){if(o)for(var u in o)o.hasOwnProperty(u)&&(this[u]=o[u]);this.doc=e,this.node=n};Ti.prototype.clear=function(){var e=this.doc.cm,n=this.line.widgets,o=this.line,u=ji(o);if(!(u==null||!n)){for(var p=0;p<n.length;++p)n[p]==this&&n.splice(p--,1);n.length||(o.widgets=null);var D=pi(this);ws(o,Math.max(0,o.height-D)),e&&(Xs(e,function(){Wt(e,o,-D),Ea(e,u,"widget")}),et(e,"lineWidgetCleared",e,this,u))}},Ti.prototype.changed=function(){var e=this,n=this.height,o=this.doc.cm,u=this.line;this.height=null;var p=pi(this)-n;!p||(Qn(this.doc,u)||ws(u,u.height+p),o&&Xs(o,function(){o.curOp.forceUpdate=!0,Wt(o,u,p),et(o,"lineWidgetChanged",o,e,ji(u))}))},kt(Ti);function Wt(e,n,o){yi(n)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&ju(e,o)}function Ar(e,n,o,u){var p=new Ti(e,o,u),D=e.cm;return D&&p.noHScroll&&(D.display.alignWidgets=!0),Zn(e,n,"widget",function(E){var k=E.widgets||(E.widgets=[]);if(p.insertAt==null?k.push(p):k.splice(Math.min(k.length,Math.max(0,p.insertAt)),0,p),p.line=E,D&&!Qn(e,E)){var j=yi(E)<e.scrollTop;ws(E,E.height+pi(p)),j&&ju(D,p.height),D.curOp.forceUpdate=!0}return!0}),D&&et(D,"lineWidgetAdded",D,p,typeof n=="number"?n:ji(n)),p}var Br=0,_n=function(e,n){this.lines=[],this.type=n,this.doc=e,this.id=++Br};_n.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,n=e&&!e.curOp;if(n&&Za(e),Me(this,"clear")){var o=this.find();o&&et(this,"clear",o.from,o.to)}for(var u=null,p=null,D=0;D<this.lines.length;++D){var E=this.lines[D],k=ao(E.markedSpans,this);e&&!this.collapsed?Ea(e,ji(E),"text"):e&&(k.to!=null&&(p=ji(E)),k.from!=null&&(u=ji(E))),E.markedSpans=va(E.markedSpans,k),k.from==null&&this.collapsed&&!Qn(this.doc,E)&&e&&ws(E,ls(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var j=0;j<this.lines.length;++j){var $=yn(this.lines[j]),ke=Ki($);ke>e.display.maxLineLength&&(e.display.maxLine=$,e.display.maxLineLength=ke,e.display.maxLineChanged=!0)}u!=null&&e&&this.collapsed&&pa(e,u,p+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&dn(e.doc)),e&&et(e,"markerCleared",e,this,u,p),n&&ja(e),this.parent&&this.parent.clear()}},_n.prototype.find=function(e,n){e==null&&this.type=="bookmark"&&(e=1);for(var o,u,p=0;p<this.lines.length;++p){var D=this.lines[p],E=ao(D.markedSpans,this);if(E.from!=null&&(o=dt(n?D:ji(D),E.from),e==-1))return o;if(E.to!=null&&(u=dt(n?D:ji(D),E.to),e==1))return u}return o&&{from:o,to:u}},_n.prototype.changed=function(){var e=this,n=this.find(-1,!0),o=this,u=this.doc.cm;!n||!u||Xs(u,function(){var p=n.line,D=ji(n.line),E=xn(u,D);if(E&&(Rs(E),u.curOp.selectionChanged=u.curOp.forceUpdate=!0),u.curOp.updateMaxLine=!0,!Qn(o.doc,p)&&o.height!=null){var k=o.height;o.height=null;var j=pi(o)-k;j&&ws(p,p.height+j)}et(u,"markerChanged",u,e)})},_n.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var n=this.doc.cm.curOp;(!n.maybeHiddenMarkers||$n(n.maybeHiddenMarkers,this)==-1)&&(n.maybeUnhiddenMarkers||(n.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},_n.prototype.detachLine=function(e){if(this.lines.splice($n(this.lines,e),1),!this.lines.length&&this.doc.cm){var n=this.doc.cm.curOp;(n.maybeHiddenMarkers||(n.maybeHiddenMarkers=[])).push(this)}},kt(_n);function Lt(e,n,o,u,p){if(u&&u.shared)return Yn(e,n,o,u,p);if(e.cm&&!e.cm.curOp)return sa(e.cm,Lt)(e,n,o,u,p);var D=new _n(e,p),E=pr(n,o);if(u&&$r(u,D,!1),E>0||E==0&&D.clearWhenEmpty!==!1)return D;if(D.replacedWith&&(D.collapsed=!0,D.widgetNode=tn("span",[D.replacedWith],"CodeMirror-widget"),u.handleMouseEvents||D.widgetNode.setAttribute("cm-ignore-events","true"),u.insertLeft&&(D.widgetNode.insertLeft=!0)),D.collapsed){if(ri(e,n.line,n,o,D)||n.line!=o.line&&ri(e,o.line,n,o,D))throw new Error("Inserting collapsed marker partially overlapping an existing one");pu()}D.addToHistory&&Y(e,{from:n,to:o,origin:"markText"},e.sel,NaN);var k=n.line,j=e.cm,$;if(e.iter(k,o.line+1,function(qe){j&&D.collapsed&&!j.options.lineWrapping&&yn(qe)==j.display.maxLine&&($=!0),D.collapsed&&k!=n.line&&ws(qe,0),hu(qe,new Sa(D,k==n.line?n.ch:null,k==o.line?o.ch:null),e.cm&&e.cm.curOp),++k}),D.collapsed&&e.iter(n.line,o.line+1,function(qe){Qn(e,qe)&&ws(qe,0)}),D.clearOnEnter&&_t(D,"beforeCursorEnter",function(){return D.clear()}),D.readOnly&&(Cl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),D.collapsed&&(D.id=++Br,D.atomic=!0),j){if($&&(j.curOp.updateMaxLine=!0),D.collapsed)pa(j,n.line,o.line+1);else if(D.className||D.startStyle||D.endStyle||D.css||D.attributes||D.title)for(var ke=n.line;ke<=o.line;ke++)Ea(j,ke,"text");D.atomic&&dn(j.doc),et(j,"markerAdded",j,D)}return D}var ii=function(e,n){this.markers=e,this.primary=n;for(var o=0;o<e.length;++o)e[o].parent=this};ii.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();et(this,"clear")}},ii.prototype.find=function(e,n){return this.primary.find(e,n)},kt(ii);function Yn(e,n,o,u,p){u=$r(u),u.shared=!1;var D=[Lt(e,n,o,u,p)],E=D[0],k=u.widgetNode;return eo(e,function(j){k&&(u.widgetNode=k.cloneNode(!0)),D.push(Lt(j,Bi(j,n),Bi(j,o),u,p));for(var $=0;$<j.linked.length;++$)if(j.linked[$].isParent)return;E=Jr(D)}),new ii(D,E)}function Ys(e){return e.findMarks(dt(e.first,0),e.clipPos(dt(e.lastLine())),function(n){return n.parent})}function zs(e,n){for(var o=0;o<n.length;o++){var u=n[o],p=u.find(),D=e.clipPos(p.from),E=e.clipPos(p.to);if(pr(D,E)){var k=Lt(e,D,E,u.primary,u.primary.type);u.markers.push(k),k.parent=u}}}function Qs(e){for(var n=function(u){var p=e[u],D=[p.primary.doc];eo(p.primary.doc,function(j){return D.push(j)});for(var E=0;E<p.markers.length;E++){var k=p.markers[E];$n(D,k.doc)==-1&&(k.parent=null,p.markers.splice(E--,1))}},o=0;o<e.length;o++)n(o)}var fo=0,gs=function(e,n,o,u,p){if(!(this instanceof gs))return new gs(e,n,o,u,p);o==null&&(o=0),vi.call(this,[new Ni([new Rn("",null)])]),this.first=o,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=o;var D=dt(o,0);this.sel=ho(D),this.history=new Lo(null),this.id=++fo,this.modeOption=n,this.lineSep=u,this.direction=p=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),qu(this,{from:D,to:D,text:e}),pt(this,ho(D),Xe)};gs.prototype=Tt(vi.prototype,{constructor:gs,iter:function(e,n,o){o?this.iterN(e-this.first,n-e,o):this.iterN(this.first,this.first+this.size,e)},insert:function(e,n){for(var o=0,u=0;u<n.length;++u)o+=n[u].height;this.insertInner(e-this.first,n,o)},remove:function(e,n){this.removeInner(e-this.first,n)},getValue:function(e){var n=ms(this,this.first,this.first+this.size);return e===!1?n:n.join(e||this.lineSeparator())},setValue:$s(function(e){var n=dt(this.first,0),o=this.first+this.size-1;mi(this,{from:n,to:dt(o,hn(this,o).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&ga(this.cm,0,0),pt(this,ho(n),Xe)}),replaceRange:function(e,n,o,u){n=Bi(this,n),o=o?Bi(this,o):n,Yi(this,e,n,o,u)},getRange:function(e,n,o){var u=di(this,Bi(this,e),Bi(this,n));return o===!1?u:o===""?u.join(""):u.join(o||this.lineSeparator())},getLine:function(e){var n=this.getLineHandle(e);return n&&n.text},getLineHandle:function(e){if(ye(this,e))return hn(this,e)},getLineNumber:function(e){return ji(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=hn(this,e)),yn(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return Bi(this,e)},getCursor:function(e){var n=this.sel.primary(),o;return e==null||e=="head"?o=n.head:e=="anchor"?o=n.anchor:e=="end"||e=="to"||e===!1?o=n.to():o=n.from(),o},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:$s(function(e,n,o){Ke(this,Bi(this,typeof e=="number"?dt(e,n||0):e),null,o)}),setSelection:$s(function(e,n,o){Ke(this,Bi(this,e),Bi(this,n||e),o)}),extendSelection:$s(function(e,n,o){V(this,Bi(this,e),n&&Bi(this,n),o)}),extendSelections:$s(function(e,n){Ie(this,uu(this,e),n)}),extendSelectionsBy:$s(function(e,n){var o=pn(this.sel.ranges,e);Ie(this,uu(this,o),n)}),setSelections:$s(function(e,n,o){if(!!e.length){for(var u=[],p=0;p<e.length;p++)u[p]=new Es(Bi(this,e[p].anchor),Bi(this,e[p].head||e[p].anchor));n==null&&(n=Math.min(e.length-1,this.sel.primIndex)),pt(this,$a(this.cm,u,n),o)}}),addSelection:$s(function(e,n,o){var u=this.sel.ranges.slice(0);u.push(new Es(Bi(this,e),Bi(this,n||e))),pt(this,$a(this.cm,u,u.length-1),o)}),getSelection:function(e){for(var n=this.sel.ranges,o,u=0;u<n.length;u++){var p=di(this,n[u].from(),n[u].to());o=o?o.concat(p):p}return e===!1?o:o.join(e||this.lineSeparator())},getSelections:function(e){for(var n=[],o=this.sel.ranges,u=0;u<o.length;u++){var p=di(this,o[u].from(),o[u].to());e!==!1&&(p=p.join(e||this.lineSeparator())),n[u]=p}return n},replaceSelection:function(e,n,o){for(var u=[],p=0;p<this.sel.ranges.length;p++)u[p]=e;this.replaceSelections(u,n,o||"+input")},replaceSelections:$s(function(e,n,o){for(var u=[],p=this.sel,D=0;D<p.ranges.length;D++){var E=p.ranges[D];u[D]={from:E.from(),to:E.to(),text:this.splitLines(e[D]),origin:o}}for(var k=n&&n!="end"&&nu(this,u,n),j=u.length-1;j>=0;j--)mi(this,u[j]);k?Ne(this,k):this.cm&&Ko(this.cm)}),undo:$s(function(){Gr(this,"undo")}),redo:$s(function(){Gr(this,"redo")}),undoSelection:$s(function(){Gr(this,"undo",!0)}),redoSelection:$s(function(){Gr(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,n=0,o=0,u=0;u<e.done.length;u++)e.done[u].ranges||++n;for(var p=0;p<e.undone.length;p++)e.undone[p].ranges||++o;return{undo:n,redo:o}},clearHistory:function(){var e=this;this.history=new Lo(this.history),eo(this,function(n){return n.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:b(this.history.done),undone:b(this.history.undone)}},setHistory:function(e){var n=this.history=new Lo(this.history);n.done=b(e.done.slice(0),null,!0),n.undone=b(e.undone.slice(0),null,!0)},setGutterMarker:$s(function(e,n,o){return Zn(this,e,"gutter",function(u){var p=u.gutterMarkers||(u.gutterMarkers={});return p[n]=o,!o&&ki(p)&&(u.gutterMarkers=null),!0})}),clearGutter:$s(function(e){var n=this;this.iter(function(o){o.gutterMarkers&&o.gutterMarkers[e]&&Zn(n,o,"gutter",function(){return o.gutterMarkers[e]=null,ki(o.gutterMarkers)&&(o.gutterMarkers=null),!0})})}),lineInfo:function(e){var n;if(typeof e=="number"){if(!ye(this,e)||(n=e,e=hn(this,e),!e))return null}else if(n=ji(e),n==null)return null;return{line:n,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:$s(function(e,n,o){return Zn(this,e,n=="gutter"?"gutter":"class",function(u){var p=n=="text"?"textClass":n=="background"?"bgClass":n=="gutter"?"gutterClass":"wrapClass";if(!u[p])u[p]=o;else{if(gn(o).test(u[p]))return!1;u[p]+=" "+o}return!0})}),removeLineClass:$s(function(e,n,o){return Zn(this,e,n=="gutter"?"gutter":"class",function(u){var p=n=="text"?"textClass":n=="background"?"bgClass":n=="gutter"?"gutterClass":"wrapClass",D=u[p];if(D)if(o==null)u[p]=null;else{var E=D.match(gn(o));if(!E)return!1;var k=E.index+E[0].length;u[p]=D.slice(0,E.index)+(!E.index||k==D.length?"":" ")+D.slice(k)||null}else return!1;return!0})}),addLineWidget:$s(function(e,n,o){return Ar(this,e,n,o)}),removeLineWidget:function(e){e.clear()},markText:function(e,n,o){return Lt(this,Bi(this,e),Bi(this,n),o,o&&o.type||"range")},setBookmark:function(e,n){var o={replacedWith:n&&(n.nodeType==null?n.widget:n),insertLeft:n&&n.insertLeft,clearWhenEmpty:!1,shared:n&&n.shared,handleMouseEvents:n&&n.handleMouseEvents};return e=Bi(this,e),Lt(this,e,e,o,"bookmark")},findMarksAt:function(e){e=Bi(this,e);var n=[],o=hn(this,e.line).markedSpans;if(o)for(var u=0;u<o.length;++u){var p=o[u];(p.from==null||p.from<=e.ch)&&(p.to==null||p.to>=e.ch)&&n.push(p.marker.parent||p.marker)}return n},findMarks:function(e,n,o){e=Bi(this,e),n=Bi(this,n);var u=[],p=e.line;return this.iter(e.line,n.line+1,function(D){var E=D.markedSpans;if(E)for(var k=0;k<E.length;k++){var j=E[k];!(j.to!=null&&p==e.line&&e.ch>=j.to||j.from==null&&p!=e.line||j.from!=null&&p==n.line&&j.from>=n.ch)&&(!o||o(j.marker))&&u.push(j.marker.parent||j.marker)}++p}),u},getAllMarks:function(){var e=[];return this.iter(function(n){var o=n.markedSpans;if(o)for(var u=0;u<o.length;++u)o[u].from!=null&&e.push(o[u].marker)}),e},posFromIndex:function(e){var n,o=this.first,u=this.lineSeparator().length;return this.iter(function(p){var D=p.text.length+u;if(D>e)return n=e,!0;e-=D,++o}),Bi(this,dt(o,n))},indexFromPos:function(e){e=Bi(this,e);var n=e.ch;if(e.line<this.first||e.ch<0)return 0;var o=this.lineSeparator().length;return this.iter(this.first,e.line,function(u){n+=u.text.length+o}),n},copy:function(e){var n=new gs(ms(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return n.scrollTop=this.scrollTop,n.scrollLeft=this.scrollLeft,n.sel=this.sel,n.extend=!1,e&&(n.history.undoDepth=this.history.undoDepth,n.setHistory(this.getHistory())),n},linkedDoc:function(e){e||(e={});var n=this.first,o=this.first+this.size;e.from!=null&&e.from>n&&(n=e.from),e.to!=null&&e.to<o&&(o=e.to);var u=new gs(ms(this,n,o),e.mode||this.modeOption,n,this.lineSep,this.direction);return e.sharedHist&&(u.history=this.history),(this.linked||(this.linked=[])).push({doc:u,sharedHist:e.sharedHist}),u.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],zs(u,Ys(this)),u},unlinkDoc:function(e){if(e instanceof Yt&&(e=e.doc),this.linked)for(var n=0;n<this.linked.length;++n){var o=this.linked[n];if(o.doc==e){this.linked.splice(n,1),e.unlinkDoc(this),Qs(Ys(this));break}}if(e.history==this.history){var u=[e.id];eo(e,function(p){return u.push(p.id)},!0),e.history=new Lo(null),e.history.done=b(this.history.done,u),e.history.undone=b(this.history.undone,u)}},iterLinkedDocs:function(e){eo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Qe(e)},lineSeparator:function(){return this.lineSep||`
11
- `},setDirection:$s(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(n){return n.order=null}),this.cm&&Bl(this.cm))})}),gs.prototype.eachLine=gs.prototype.iter;var Us=0;function Aa(e){var n=this;if(ya(n),!(fr(n,e)||Ln(n.display,e))){jt(e),de&&(Us=+new Date);var o=No(n,e,!0),u=e.dataTransfer.files;if(!(!o||n.isReadOnly()))if(u&&u.length&&window.FileReader&&window.File)for(var p=u.length,D=Array(p),E=0,k=function(){++E==p&&sa(n,function(){o=Bi(n.doc,o);var Pt={from:o,to:o,text:n.doc.splitLines(D.filter(function(Dr){return Dr!=null}).join(n.doc.lineSeparator())),origin:"paste"};mi(n.doc,Pt),Ne(n.doc,ho(Bi(n.doc,o),Bi(n.doc,ba(Pt))))})()},j=function(Pt,Dr){if(n.options.allowDropFileTypes&&$n(n.options.allowDropFileTypes,Pt.type)==-1){k();return}var dr=new FileReader;dr.onerror=function(){return k()},dr.onload=function(){var Ur=dr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Ur)){k();return}D[Dr]=Ur,k()},dr.readAsText(Pt)},$=0;$<u.length;$++)j(u[$],$);else{if(n.state.draggingText&&n.doc.sel.contains(o)>-1){n.state.draggingText(e),setTimeout(function(){return n.display.input.focus()},20);return}try{var ke=e.dataTransfer.getData("Text");if(ke){var qe;if(n.state.draggingText&&!n.state.draggingText.copy&&(qe=n.listSelections()),bt(n.doc,ho(o,o)),qe)for(var be=0;be<qe.length;++be)Yi(n.doc,"",qe[be].anchor,qe[be].head,"drag");n.replaceSelection(ke,"around","paste"),n.display.input.focus()}}catch{}}}}function ua(e,n){if(de&&(!e.state.draggingText||+new Date-Us<100)){Pr(n);return}if(!(fr(e,n)||Ln(e.display,n))&&(n.dataTransfer.setData("Text",e.getSelection()),n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setDragImage&&!$t)){var o=Ee("img",null,null,"position: fixed; left: 0; top: 0;");o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Rt&&(o.width=o.height=1,e.display.wrapper.appendChild(o),o._top=o.offsetTop),n.dataTransfer.setDragImage(o,0,0),Rt&&o.parentNode.removeChild(o)}}function Hs(e,n){var o=No(e,n);if(!!o){var u=document.createDocumentFragment();Ja(e,o,u),e.display.dragCursor||(e.display.dragCursor=Ee("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),Tn(e.display.dragCursor,u)}}function ya(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function _l(e){if(!!document.getElementsByClassName){for(var n=document.getElementsByClassName("CodeMirror"),o=[],u=0;u<n.length;u++){var p=n[u].CodeMirror;p&&o.push(p)}o.length&&o[0].operation(function(){for(var D=0;D<o.length;D++)e(o[D])})}}var hl=!1;function Oc(){hl||(Lc(),hl=!0)}function Lc(){var e;_t(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,_l(Mc)},100))}),_t(window,"blur",function(){return _l(La)})}function Mc(e){var n=e.display;n.cachedCharWidth=n.cachedTextHeight=n.cachedPaddingH=null,n.scrollbarsClipped=!1,e.setSize()}for(var mo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Il=0;Il<10;Il++)mo[Il+48]=mo[Il+96]=String(Il);for(var Au=65;Au<=90;Au++)mo[Au]=String.fromCharCode(Au);for(var fl=1;fl<=12;fl++)mo[fl+111]=mo[fl+63235]="F"+fl;var su={};su.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},su.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},su.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},su.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},su.default=gr?su.macDefault:su.pcDefault;function s(e){var n=e.split(/-(?!$)/);e=n[n.length-1];for(var o,u,p,D,E=0;E<n.length-1;E++){var k=n[E];if(/^(cmd|meta|m)$/i.test(k))D=!0;else if(/^a(lt)?$/i.test(k))o=!0;else if(/^(c|ctrl|control)$/i.test(k))u=!0;else if(/^s(hift)?$/i.test(k))p=!0;else throw new Error("Unrecognized modifier name: "+k)}return o&&(e="Alt-"+e),u&&(e="Ctrl-"+e),D&&(e="Cmd-"+e),p&&(e="Shift-"+e),e}function t(e){var n={};for(var o in e)if(e.hasOwnProperty(o)){var u=e[o];if(/^(name|fallthrough|(de|at)tach)$/.test(o))continue;if(u=="..."){delete e[o];continue}for(var p=pn(o.split(" "),s),D=0;D<p.length;D++){var E=void 0,k=void 0;D==p.length-1?(k=p.join(" "),E=u):(k=p.slice(0,D+1).join(" "),E="...");var j=n[k];if(!j)n[k]=E;else if(j!=E)throw new Error("Inconsistent bindings for "+k)}delete e[o]}for(var $ in n)e[$]=n[$];return e}function r(e,n,o,u){n=m(n);var p=n.call?n.call(e,u):n[e];if(p===!1)return"nothing";if(p==="...")return"multi";if(p!=null&&o(p))return"handled";if(n.fallthrough){if(Object.prototype.toString.call(n.fallthrough)!="[object Array]")return r(e,n.fallthrough,o,u);for(var D=0;D<n.fallthrough.length;D++){var E=r(e,n.fallthrough[D],o,u);if(E)return E}}}function a(e){var n=typeof e=="string"?e:mo[e.keyCode];return n=="Ctrl"||n=="Alt"||n=="Shift"||n=="Mod"}function l(e,n,o){var u=e;return n.altKey&&u!="Alt"&&(e="Alt-"+e),(Dn?n.metaKey:n.ctrlKey)&&u!="Ctrl"&&(e="Ctrl-"+e),(Dn?n.ctrlKey:n.metaKey)&&u!="Mod"&&(e="Cmd-"+e),!o&&n.shiftKey&&u!="Shift"&&(e="Shift-"+e),e}function f(e,n){if(Rt&&e.keyCode==34&&e.char)return!1;var o=mo[e.keyCode];return o==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(o=e.code),l(o,e,n))}function m(e){return typeof e=="string"?su[e]:e}function d(e,n){for(var o=e.doc.sel.ranges,u=[],p=0;p<o.length;p++){for(var D=n(o[p]);u.length&&pr(D.from,Jr(u).to)<=0;){var E=u.pop();if(pr(E.from,D.from)<0){D.from=E.from;break}}u.push(D)}Xs(e,function(){for(var k=u.length-1;k>=0;k--)Yi(e.doc,"",u[k].from,u[k].to,"+delete");Ko(e)})}function y(e,n,o){var u=Ds(e.text,n+o,o);return u<0||u>e.text.length?null:u}function v(e,n,o){var u=y(e,n.ch,o);return u==null?null:new dt(n.line,u,o<0?"after":"before")}function C(e,n,o,u,p){if(e){n.doc.direction=="rtl"&&(p=-p);var D=vr(o,n.doc.direction);if(D){var E=p<0?Jr(D):D[0],k=p<0==(E.level==1),j=k?"after":"before",$;if(E.level>0||n.doc.direction=="rtl"){var ke=$i(n,o);$=p<0?o.text.length-1:0;var qe=Ji(n,ke,$).top;$=os(function(be){return Ji(n,ke,be).top==qe},p<0==(E.level==1)?E.from:E.to-1,$),j=="before"&&($=y(o,$,1))}else $=p<0?E.to:E.from;return new dt(u,$,j)}}return new dt(u,p<0?o.text.length:0,p<0?"before":"after")}function A(e,n,o,u){var p=vr(n,e.doc.direction);if(!p)return v(n,o,u);o.ch>=n.text.length?(o.ch=n.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var D=Cr(p,o.ch,o.sticky),E=p[D];if(e.doc.direction=="ltr"&&E.level%2==0&&(u>0?E.to>o.ch:E.from<o.ch))return v(n,o,u);var k=function(fn,Kn){return y(n,fn instanceof dt?fn.ch:fn,Kn)},j,$=function(fn){return e.options.lineWrapping?(j=j||$i(e,n),ru(e,n,j,fn)):{begin:0,end:n.text.length}},ke=$(o.sticky=="before"?k(o,-1):o.ch);if(e.doc.direction=="rtl"||E.level==1){var qe=E.level==1==u<0,be=k(o,qe?1:-1);if(be!=null&&(qe?be<=E.to&&be<=ke.end:be>=E.from&&be>=ke.begin)){var Pt=qe?"before":"after";return new dt(o.line,be,Pt)}}var Dr=function(fn,Kn,Bn){for(var le=function(Oi,As){return As?new dt(o.line,k(Oi,1),"before"):new dt(o.line,Oi,"after")};fn>=0&&fn<p.length;fn+=Kn){var St=p[fn],Xr=Kn>0==(St.level!=1),In=Xr?Bn.begin:k(Bn.end,-1);if(St.from<=In&&In<St.to||(In=Xr?St.from:k(St.to,-1),Bn.begin<=In&&In<Bn.end))return le(In,Xr)}},dr=Dr(D+u,u,ke);if(dr)return dr;var Ur=u>0?ke.end:k(ke.begin,-1);return Ur!=null&&!(u>0&&Ur==n.text.length)&&(dr=Dr(u>0?0:p.length-1,u,$(Ur)),dr)?dr:null}var B={selectAll:un,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Xe)},killLine:function(e){return d(e,function(n){if(n.empty()){var o=hn(e.doc,n.head.line).text.length;return n.head.ch==o&&n.head.line<e.lastLine()?{from:n.head,to:dt(n.head.line+1,0)}:{from:n.head,to:dt(n.head.line,o)}}else return{from:n.from(),to:n.to()}})},deleteLine:function(e){return d(e,function(n){return{from:dt(n.from().line,0),to:Bi(e.doc,dt(n.to().line+1,0))}})},delLineLeft:function(e){return d(e,function(n){return{from:dt(n.from().line,0),to:n.from()}})},delWrappedLineLeft:function(e){return d(e,function(n){var o=e.charCoords(n.head,"div").top+5,u=e.coordsChar({left:0,top:o},"div");return{from:u,to:n.from()}})},delWrappedLineRight:function(e){return d(e,function(n){var o=e.charCoords(n.head,"div").top+5,u=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div");return{from:n.from(),to:u}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(dt(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(dt(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(n){return N(e,n.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(n){return P(e,n.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(n){return L(e,n.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(n){var o=e.cursorCoords(n.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div")},wr)},goLineLeft:function(e){return e.extendSelectionsBy(function(n){var o=e.cursorCoords(n.head,"div").top+5;return e.coordsChar({left:0,top:o},"div")},wr)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(n){var o=e.cursorCoords(n.head,"div").top+5,u=e.coordsChar({left:0,top:o},"div");return u.ch<e.getLine(u.line).search(/\S/)?P(e,n.head):u},wr)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var n=[],o=e.listSelections(),u=e.options.tabSize,p=0;p<o.length;p++){var D=o[p].from(),E=yr(e.getLine(D.line),D.ch,u);n.push(nn(u-E%u))}e.replaceSelections(n)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Xs(e,function(){for(var n=e.listSelections(),o=[],u=0;u<n.length;u++)if(!!n[u].empty()){var p=n[u].head,D=hn(e.doc,p.line).text;if(D){if(p.ch==D.length&&(p=new dt(p.line,p.ch-1)),p.ch>0)p=new dt(p.line,p.ch+1),e.replaceRange(D.charAt(p.ch-1)+D.charAt(p.ch-2),dt(p.line,p.ch-2),p,"+transpose");else if(p.line>e.doc.first){var E=hn(e.doc,p.line-1).text;E&&(p=new dt(p.line,1),e.replaceRange(D.charAt(0)+e.doc.lineSeparator()+E.charAt(E.length-1),dt(p.line-1,E.length-1),p,"+transpose"))}}o.push(new Es(p,p))}e.setSelections(o)})},newlineAndIndent:function(e){return Xs(e,function(){for(var n=e.listSelections(),o=n.length-1;o>=0;o--)e.replaceRange(e.doc.lineSeparator(),n[o].anchor,n[o].head,"+input");n=e.listSelections();for(var u=0;u<n.length;u++)e.indentLine(n[u].from().line,null,!0);Ko(e)})},openLine:function(e){return e.replaceSelection(`
12
- `,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function N(e,n){var o=hn(e.doc,n),u=yn(o);return u!=o&&(n=ji(u)),C(!0,e,u,n,1)}function L(e,n){var o=hn(e.doc,n),u=bn(o);return u!=o&&(n=ji(u)),C(!0,e,o,n,-1)}function P(e,n){var o=N(e,n.line),u=hn(e.doc,o.line),p=vr(u,e.doc.direction);if(!p||p[0].level==0){var D=Math.max(o.ch,u.text.search(/\S/)),E=n.line==o.line&&n.ch<=D&&n.ch;return dt(o.line,E?0:D,o.sticky)}return o}function _(e,n,o){if(typeof n=="string"&&(n=B[n],!n))return!1;e.display.input.ensurePolled();var u=e.display.shift,p=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),o&&(e.display.shift=!1),p=n(e)!=Mn}finally{e.display.shift=u,e.state.suppressEdits=!1}return p}function R(e,n,o){for(var u=0;u<e.state.keyMaps.length;u++){var p=r(n,e.state.keyMaps[u],o,e);if(p)return p}return e.options.extraKeys&&r(n,e.options.extraKeys,o,e)||r(n,e.options.keyMap,o,e)}var J=new cn;function oe(e,n,o,u){var p=e.state.keySeq;if(p){if(a(n))return"handled";if(/\'$/.test(n)?e.state.keySeq=null:J.set(50,function(){e.state.keySeq==p&&(e.state.keySeq=null,e.display.input.reset())}),H(e,p+" "+n,o,u))return!0}return H(e,n,o,u)}function H(e,n,o,u){var p=R(e,n,u);return p=="multi"&&(e.state.keySeq=n),p=="handled"&&et(e,"keyHandled",e,n,o),(p=="handled"||p=="multi")&&(jt(o),Go(e)),!!p}function G(e,n){var o=f(n,!0);return o?n.shiftKey&&!e.state.keySeq?oe(e,"Shift-"+o,n,function(u){return _(e,u,!0)})||oe(e,o,n,function(u){if(typeof u=="string"?/^go[A-Z]/.test(u):u.motion)return _(e,u)}):oe(e,o,n,function(u){return _(e,u)}):!1}function ne(e,n,o){return oe(e,"'"+o+"'",n,function(u){return _(e,u,!0)})}var me=null;function he(e){var n=this;if(!(e.target&&e.target!=n.display.input.getField())&&(n.curOp.focus=ti(es(n)),!fr(n,e))){de&&ve<11&&e.keyCode==27&&(e.returnValue=!1);var o=e.keyCode;n.display.shift=o==16||e.shiftKey;var u=G(n,e);Rt&&(me=u?o:null,!u&&o==88&&!Ft&&(gr?e.metaKey:e.ctrlKey)&&n.replaceSelection("",null,"cut")),x&&!gr&&!u&&o==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),o==18&&!/\bCodeMirror-crosshair\b/.test(n.display.lineDiv.className)&&ze(n)}}function ze(e){var n=e.display.lineDiv;Vi(n,"CodeMirror-crosshair");function o(u){(u.keyCode==18||!u.altKey)&&(Xn(n,"CodeMirror-crosshair"),Xt(document,"keyup",o),Xt(document,"mouseover",o))}_t(document,"keyup",o),_t(document,"mouseover",o)}function O(e){e.keyCode==16&&(this.doc.sel.shift=!1),fr(this,e)}function Q(e){var n=this;if(!(e.target&&e.target!=n.display.input.getField())&&!(Ln(n.display,e)||fr(n,e)||e.ctrlKey&&!e.altKey||gr&&e.metaKey)){var o=e.keyCode,u=e.charCode;if(Rt&&o==me){me=null,jt(e);return}if(!(Rt&&(!e.which||e.which<10)&&G(n,e))){var p=String.fromCharCode(u??o);p!="\b"&&(ne(n,e,p)||n.display.input.onKeyPress(e))}}}var I=400,U=function(e,n,o){this.time=e,this.pos=n,this.button=o};U.prototype.compare=function(e,n,o){return this.time+I>e&&pr(n,this.pos)==0&&o==this.button};var T,M;function z(e,n){var o=+new Date;return M&&M.compare(o,e,n)?(T=M=null,"triple"):T&&T.compare(o,e,n)?(M=new U(o,e,n),T=null,"double"):(T=new U(o,e,n),M=null,"single")}function se(e){var n=this,o=n.display;if(!(fr(n,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,Ln(o,e)){De||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!yt(n,e)){var u=No(n,e),p=_e(e),D=u?z(u,p):"single";ts(n).focus(),p==1&&n.state.selectingText&&n.state.selectingText(e),!(u&&K(n,p,u,D,e))&&(p==1?u?we(n,u,D,e):zt(e)==o.scroller&&jt(e):p==2?(u&&V(n.doc,u),setTimeout(function(){return o.input.focus()},20)):p==3&&(mn?n.display.input.onContextMenu(e):mu(n)))}}}function K(e,n,o,u,p){var D="Click";return u=="double"?D="Double"+D:u=="triple"&&(D="Triple"+D),D=(n==1?"Left":n==2?"Middle":"Right")+D,oe(e,l(D,p),p,function(E){if(typeof E=="string"&&(E=B[E]),!E)return!1;var k=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),k=E(e,o)!=Mn}finally{e.state.suppressEdits=!1}return k})}function ee(e,n,o){var u=e.getOption("configureMouse"),p=u?u(e,n,o):{};if(p.unit==null){var D=Pn?o.shiftKey&&o.metaKey:o.altKey;p.unit=D?"rectangle":n=="single"?"char":n=="double"?"word":"line"}return(p.extend==null||e.doc.extend)&&(p.extend=e.doc.extend||o.shiftKey),p.addNew==null&&(p.addNew=gr?o.metaKey:o.ctrlKey),p.moveOnDrag==null&&(p.moveOnDrag=!(gr?o.altKey:o.ctrlKey)),p}function we(e,n,o,u){de?setTimeout(Mr(du,e),0):e.curOp.focus=ti(es(e));var p=ee(e,o,u),D=e.doc.sel,E;e.options.dragDrop&&ue&&!e.isReadOnly()&&o=="single"&&(E=D.contains(n))>-1&&(pr((E=D.ranges[E]).from(),n)<0||n.xRel>0)&&(pr(E.to(),n)>0||n.xRel<0)?je(e,u,n,p):Le(e,u,n,p)}function je(e,n,o,u){var p=e.display,D=!1,E=sa(e,function($){De&&(p.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:mu(e)),Xt(p.wrapper.ownerDocument,"mouseup",E),Xt(p.wrapper.ownerDocument,"mousemove",k),Xt(p.scroller,"dragstart",j),Xt(p.scroller,"drop",E),D||(jt($),u.addNew||V(e.doc,o,null,null,u.extend),De&&!$t||de&&ve==9?setTimeout(function(){p.wrapper.ownerDocument.body.focus({preventScroll:!0}),p.input.focus()},20):p.input.focus())}),k=function($){D=D||Math.abs(n.clientX-$.clientX)+Math.abs(n.clientY-$.clientY)>=10},j=function(){return D=!0};De&&(p.scroller.draggable=!0),e.state.draggingText=E,E.copy=!u.moveOnDrag,_t(p.wrapper.ownerDocument,"mouseup",E),_t(p.wrapper.ownerDocument,"mousemove",k),_t(p.scroller,"dragstart",j),_t(p.scroller,"drop",E),e.state.delayingBlurEvent=!0,setTimeout(function(){return p.input.focus()},20),p.scroller.dragDrop&&p.scroller.dragDrop()}function $e(e,n,o){if(o=="char")return new Es(n,n);if(o=="word")return e.findWordAt(n);if(o=="line")return new Es(dt(n.line,0),Bi(e.doc,dt(n.line+1,0)));var u=o(e,n);return new Es(u.from,u.to)}function Le(e,n,o,u){de&&mu(e);var p=e.display,D=e.doc;jt(n);var E,k,j=D.sel,$=j.ranges;if(u.addNew&&!u.extend?(k=D.sel.contains(o),k>-1?E=$[k]:E=new Es(o,o)):(E=D.sel.primary(),k=D.sel.primIndex),u.unit=="rectangle")u.addNew||(E=new Es(o,o)),o=No(e,n,!0,!0),k=-1;else{var ke=$e(e,o,u.unit);u.extend?E=Z(E,ke.anchor,ke.head,u.extend):E=ke}u.addNew?k==-1?(k=$.length,pt(D,$a(e,$.concat([E]),k),{scroll:!1,origin:"*mouse"})):$.length>1&&$[k].empty()&&u.unit=="char"&&!u.extend?(pt(D,$a(e,$.slice(0,k).concat($.slice(k+1)),0),{scroll:!1,origin:"*mouse"}),j=D.sel):Te(D,k,E,At):(k=0,pt(D,new Ra([E],0),At),j=D.sel);var qe=o;function be(Bn){if(pr(qe,Bn)!=0)if(qe=Bn,u.unit=="rectangle"){for(var le=[],St=e.options.tabSize,Xr=yr(hn(D,o.line).text,o.ch,St),In=yr(hn(D,Bn.line).text,Bn.ch,St),Oi=Math.min(Xr,In),As=Math.max(Xr,In),Mi=Math.min(o.line,Bn.line),Vs=Math.min(e.lastLine(),Math.max(o.line,Bn.line));Mi<=Vs;Mi++){var Bs=hn(D,Mi).text,fi=Hr(Bs,Oi,St);Oi==As?le.push(new Es(dt(Mi,fi),dt(Mi,fi))):Bs.length>fi&&le.push(new Es(dt(Mi,fi),dt(Mi,Hr(Bs,As,St))))}le.length||le.push(new Es(o,o)),pt(D,$a(e,j.ranges.slice(0,k).concat(le),k),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Bn)}else{var Fi=E,fa=$e(e,Bn,u.unit),Da=Fi.anchor,da;pr(fa.anchor,Da)>0?(da=fa.head,Da=xs(Fi.from(),fa.anchor)):(da=fa.anchor,Da=us(Fi.to(),fa.head));var Zs=j.ranges.slice(0);Zs[k]=rt(e,new Es(Bi(D,Da),da)),pt(D,$a(e,Zs,k),At)}}var Pt=p.wrapper.getBoundingClientRect(),Dr=0;function dr(Bn){var le=++Dr,St=No(e,Bn,!0,u.unit=="rectangle");if(!!St)if(pr(St,qe)!=0){e.curOp.focus=ti(es(e)),be(St);var Xr=Ya(p,D);(St.line>=Xr.to||St.line<Xr.from)&&setTimeout(sa(e,function(){Dr==le&&dr(Bn)}),150)}else{var In=Bn.clientY<Pt.top?-20:Bn.clientY>Pt.bottom?20:0;In&&setTimeout(sa(e,function(){Dr==le&&(p.scroller.scrollTop+=In,dr(Bn))}),50)}}function Ur(Bn){e.state.selectingText=!1,Dr=1/0,Bn&&(jt(Bn),p.input.focus()),Xt(p.wrapper.ownerDocument,"mousemove",fn),Xt(p.wrapper.ownerDocument,"mouseup",Kn),D.history.lastSelOrigin=null}var fn=sa(e,function(Bn){Bn.buttons===0||!_e(Bn)?Ur(Bn):dr(Bn)}),Kn=sa(e,Ur);e.state.selectingText=Kn,_t(p.wrapper.ownerDocument,"mousemove",fn),_t(p.wrapper.ownerDocument,"mouseup",Kn)}function rt(e,n){var o=n.anchor,u=n.head,p=hn(e.doc,o.line);if(pr(o,u)==0&&o.sticky==u.sticky)return n;var D=vr(p);if(!D)return n;var E=Cr(D,o.ch,o.sticky),k=D[E];if(k.from!=o.ch&&k.to!=o.ch)return n;var j=E+(k.from==o.ch==(k.level!=1)?0:1);if(j==0||j==D.length)return n;var $;if(u.line!=o.line)$=(u.line-o.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var ke=Cr(D,u.ch,u.sticky),qe=ke-E||(u.ch-o.ch)*(k.level==1?-1:1);ke==j-1||ke==j?$=qe<0:$=qe>0}var be=D[j+($?-1:0)],Pt=$==(be.level==1),Dr=Pt?be.from:be.to,dr=Pt?"after":"before";return o.ch==Dr&&o.sticky==dr?n:new Es(new dt(o.line,Dr,dr),u)}function Se(e,n,o,u){var p,D;if(n.touches)p=n.touches[0].clientX,D=n.touches[0].clientY;else try{p=n.clientX,D=n.clientY}catch{return!1}if(p>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;u&&jt(n);var E=e.display,k=E.lineDiv.getBoundingClientRect();if(D>k.bottom||!Me(e,o))return Ir(n);D-=k.top-E.viewOffset;for(var j=0;j<e.display.gutterSpecs.length;++j){var $=E.gutters.childNodes[j];if($&&$.getBoundingClientRect().right>=p){var ke=is(e.doc,D),qe=e.display.gutterSpecs[j];return On(e,o,e,ke,qe.className,n),Ir(n)}}}function yt(e,n){return Se(e,n,"gutterClick",!0)}function Ue(e,n){Ln(e.display,n)||Pe(e,n)||fr(e,n,"contextmenu")||mn||e.display.input.onContextMenu(n)}function Pe(e,n){return Me(e,"gutterContextMenu")?Se(e,n,"gutterContextMenu",!1):!1}function mt(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),En(e)}var Ht={toString:function(){return"CodeMirror.Init"}},xt={},Zt={};function He(e){var n=e.optionHandlers;function o(u,p,D,E){e.defaults[u]=p,D&&(n[u]=E?function(k,j,$){$!=Ht&&D(k,j,$)}:D)}e.defineOption=o,e.Init=Ht,o("value","",function(u,p){return u.setValue(p)},!0),o("mode",null,function(u,p){u.doc.modeOption=p,Pl(u)},!0),o("indentUnit",2,Pl,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(u){bu(u),En(u),pa(u)},!0),o("lineSeparator",null,function(u,p){if(u.doc.lineSep=p,!!p){var D=[],E=u.doc.first;u.doc.iter(function(j){for(var $=0;;){var ke=j.text.indexOf(p,$);if(ke==-1)break;$=ke+p.length,D.push(dt(E,ke))}E++});for(var k=D.length-1;k>=0;k--)Yi(u.doc,p,D[k],dt(D[k].line,D[k].ch+p.length))}}),o("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(u,p,D){u.state.specialChars=new RegExp(p.source+(p.test(" ")?"":"| "),"g"),D!=Ht&&u.refresh()}),o("specialCharPlaceholder",Ui,function(u){return u.refresh()},!0),o("electricChars",!0),o("inputStyle",er?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),o("spellcheck",!1,function(u,p){return u.getInputField().spellcheck=p},!0),o("autocorrect",!1,function(u,p){return u.getInputField().autocorrect=p},!0),o("autocapitalize",!1,function(u,p){return u.getInputField().autocapitalize=p},!0),o("rtlMoveVisually",!kr),o("wholeLineUpdateBefore",!0),o("theme","default",function(u){mt(u),Uu(u)},!0),o("keyMap","default",function(u,p,D){var E=m(p),k=D!=Ht&&m(D);k&&k.detach&&k.detach(u,E),E.attach&&E.attach(u,k||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,qt,!0),o("gutters",[],function(u,p){u.display.gutterSpecs=ll(p,u.options.lineNumbers),Uu(u)},!0),o("fixedGutter",!0,function(u,p){u.display.gutters.style.left=p?Wo(u.display)+"px":"0",u.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(u){return Co(u)},!0),o("scrollbarStyle","native",function(u){Du(u),Co(u),u.display.scrollbars.setScrollTop(u.doc.scrollTop),u.display.scrollbars.setScrollLeft(u.doc.scrollLeft)},!0),o("lineNumbers",!1,function(u,p){u.display.gutterSpecs=ll(u.options.gutters,p),Uu(u)},!0),o("firstLineNumber",1,Uu,!0),o("lineNumberFormatter",function(u){return u},Uu,!0),o("showCursorWhenSelecting",!1,ka,!0),o("resetSelectionOnContextMenu",!0),o("lineWiseCopyCut",!0),o("pasteLinesPerSelection",!0),o("selectionsMayTouch",!1),o("readOnly",!1,function(u,p){p=="nocursor"&&(La(u),u.display.input.blur()),u.display.input.readOnlyChanged(p)}),o("screenReaderLabel",null,function(u,p){p=p===""?null:p,u.display.input.screenReaderLabelChanged(p)}),o("disableInput",!1,function(u,p){p||u.display.input.reset()},!0),o("dragDrop",!0,lt),o("allowDropFileTypes",null),o("cursorBlinkRate",530),o("cursorScrollMargin",0),o("cursorHeight",1,ka,!0),o("singleCursorHeightPerLine",!0,ka,!0),o("workTime",100),o("workDelay",100),o("flattenSpans",!0,bu,!0),o("addModeClass",!1,bu,!0),o("pollInterval",100),o("undoDepth",200,function(u,p){return u.doc.history.undoDepth=p}),o("historyEventDelay",1250),o("viewportMargin",10,function(u){return u.refresh()},!0),o("maxHighlightLength",1e4,bu,!0),o("moveInputWithCursor",!0,function(u,p){p||u.display.input.resetPosition()}),o("tabindex",null,function(u,p){return u.display.input.getField().tabIndex=p||""}),o("autofocus",null),o("direction","ltr",function(u,p){return u.doc.setDirection(p)},!0),o("phrases",null)}function lt(e,n,o){var u=o&&o!=Ht;if(!n!=!u){var p=e.display.dragFunctions,D=n?_t:Xt;D(e.display.scroller,"dragstart",p.start),D(e.display.scroller,"dragenter",p.enter),D(e.display.scroller,"dragover",p.over),D(e.display.scroller,"dragleave",p.leave),D(e.display.scroller,"drop",p.drop)}}function qt(e){e.options.lineWrapping?(Vi(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Xn(e.display.wrapper,"CodeMirror-wrap"),Ci(e)),Lu(e),pa(e),En(e),setTimeout(function(){return Co(e)},100)}function Yt(e,n){var o=this;if(!(this instanceof Yt))return new Yt(e,n);this.options=n=n?$r(n):{},$r(xt,n,!1);var u=n.value;typeof u=="string"?u=new gs(u,n.mode,null,n.lineSeparator,n.direction):n.mode&&(u.modeOption=n.mode),this.doc=u;var p=new Yt.inputStyles[n.inputStyle](this),D=this.display=new Hu(e,u,p,n);D.wrapper.CodeMirror=this,mt(this),n.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Du(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new cn,keySeq:null,specialChars:null},n.autofocus&&!er&&D.input.focus(),de&&ve<11&&setTimeout(function(){return o.display.input.reset(!0)},20),wn(this),Oc(),Za(this),this.curOp.forceUpdate=!0,Nl(this,u),n.autofocus&&!er||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&xo(o)},20):La(this);for(var E in Zt)Zt.hasOwnProperty(E)&&Zt[E](this,n[E],Ht);ul(this),n.finishInit&&n.finishInit(this);for(var k=0;k<ht.length;++k)ht[k](this);ja(this),De&&n.lineWrapping&&getComputedStyle(D.lineDiv).textRendering=="optimizelegibility"&&(D.lineDiv.style.textRendering="auto")}Yt.defaults=xt,Yt.optionHandlers=Zt;function wn(e){var n=e.display;_t(n.scroller,"mousedown",sa(e,se)),de&&ve<11?_t(n.scroller,"dblclick",sa(e,function(j){if(!fr(e,j)){var $=No(e,j);if(!(!$||yt(e,j)||Ln(e.display,j))){jt(j);var ke=e.findWordAt($);V(e.doc,ke.anchor,ke.head)}}})):_t(n.scroller,"dblclick",function(j){return fr(e,j)||jt(j)}),_t(n.scroller,"contextmenu",function(j){return Ue(e,j)}),_t(n.input.getField(),"contextmenu",function(j){n.scroller.contains(j.target)||Ue(e,j)});var o,u={end:0};function p(){n.activeTouch&&(o=setTimeout(function(){return n.activeTouch=null},1e3),u=n.activeTouch,u.end=+new Date)}function D(j){if(j.touches.length!=1)return!1;var $=j.touches[0];return $.radiusX<=1&&$.radiusY<=1}function E(j,$){if($.left==null)return!0;var ke=$.left-j.left,qe=$.top-j.top;return ke*ke+qe*qe>20*20}_t(n.scroller,"touchstart",function(j){if(!fr(e,j)&&!D(j)&&!yt(e,j)){n.input.ensurePolled(),clearTimeout(o);var $=+new Date;n.activeTouch={start:$,moved:!1,prev:$-u.end<=300?u:null},j.touches.length==1&&(n.activeTouch.left=j.touches[0].pageX,n.activeTouch.top=j.touches[0].pageY)}}),_t(n.scroller,"touchmove",function(){n.activeTouch&&(n.activeTouch.moved=!0)}),_t(n.scroller,"touchend",function(j){var $=n.activeTouch;if($&&!Ln(n,j)&&$.left!=null&&!$.moved&&new Date-$.start<300){var ke=e.coordsChar(n.activeTouch,"page"),qe;!$.prev||E($,$.prev)?qe=new Es(ke,ke):!$.prev.prev||E($,$.prev.prev)?qe=e.findWordAt(ke):qe=new Es(dt(ke.line,0),Bi(e.doc,dt(ke.line+1,0))),e.setSelection(qe.anchor,qe.head),e.focus(),jt(j)}p()}),_t(n.scroller,"touchcancel",p),_t(n.scroller,"scroll",function(){n.scroller.clientHeight&&(po(e,n.scroller.scrollTop),Qa(e,n.scroller.scrollLeft,!0),On(e,"scroll",e))}),_t(n.scroller,"mousewheel",function(j){return kl(e,j)}),_t(n.scroller,"DOMMouseScroll",function(j){return kl(e,j)}),_t(n.wrapper,"scroll",function(){return n.wrapper.scrollTop=n.wrapper.scrollLeft=0}),n.dragFunctions={enter:function(j){fr(e,j)||Pr(j)},over:function(j){fr(e,j)||(Hs(e,j),Pr(j))},start:function(j){return ua(e,j)},drop:sa(e,Aa),leave:function(j){fr(e,j)||ya(e)}};var k=n.input.getField();_t(k,"keyup",function(j){return O.call(e,j)}),_t(k,"keydown",sa(e,he)),_t(k,"keypress",sa(e,Q)),_t(k,"focus",function(j){return xo(e,j)}),_t(k,"blur",function(j){return La(e,j)})}var ht=[];Yt.defineInitHook=function(e){return ht.push(e)};function Ye(e,n,o,u){var p=e.doc,D;o==null&&(o="add"),o=="smart"&&(p.mode.indent?D=yo(e,n).state:o="prev");var E=e.options.tabSize,k=hn(p,n),j=yr(k.text,null,E);k.stateAfter&&(k.stateAfter=null);var $=k.text.match(/^\s*/)[0],ke;if(!u&&!/\S/.test(k.text))ke=0,o="not";else if(o=="smart"&&(ke=p.mode.indent(D,k.text.slice($.length),k.text),ke==Mn||ke>150)){if(!u)return;o="prev"}o=="prev"?n>p.first?ke=yr(hn(p,n-1).text,null,E):ke=0:o=="add"?ke=j+e.options.indentUnit:o=="subtract"?ke=j-e.options.indentUnit:typeof o=="number"&&(ke=j+o),ke=Math.max(0,ke);var qe="",be=0;if(e.options.indentWithTabs)for(var Pt=Math.floor(ke/E);Pt;--Pt)be+=E,qe+=" ";if(be<ke&&(qe+=nn(ke-be)),qe!=$)return Yi(p,qe,dt(n,0),dt(n,$.length),"+input"),k.stateAfter=null,!0;for(var Dr=0;Dr<p.sel.ranges.length;Dr++){var dr=p.sel.ranges[Dr];if(dr.head.line==n&&dr.head.ch<$.length){var Ur=dt(n,$.length);Te(p,Dr,new Es(Ur,Ur));break}}}var Dt=null;function Mt(e){Dt=e}function or(e,n,o,u,p){var D=e.doc;e.display.shift=!1,u||(u=D.sel);var E=+new Date-200,k=p=="paste"||e.state.pasteIncoming>E,j=Qe(n),$=null;if(k&&u.ranges.length>1)if(Dt&&Dt.text.join(`
13
- `)==n){if(u.ranges.length%Dt.text.length==0){$=[];for(var ke=0;ke<Dt.text.length;ke++)$.push(D.splitLines(Dt.text[ke]))}}else j.length==u.ranges.length&&e.options.pasteLinesPerSelection&&($=pn(j,function(fn){return[fn]}));for(var qe=e.curOp.updateInput,be=u.ranges.length-1;be>=0;be--){var Pt=u.ranges[be],Dr=Pt.from(),dr=Pt.to();Pt.empty()&&(o&&o>0?Dr=dt(Dr.line,Dr.ch-o):e.state.overwrite&&!k?dr=dt(dr.line,Math.min(hn(D,dr.line).text.length,dr.ch+Jr(j).length)):k&&Dt&&Dt.lineWise&&Dt.text.join(`
14
- `)==j.join(`
15
- `)&&(Dr=dr=dt(Dr.line,0)));var Ur={from:Dr,to:dr,text:$?$[be%$.length]:j,origin:p||(k?"paste":e.state.cutIncoming>E?"cut":"+input")};mi(e.doc,Ur),et(e,"inputRead",e,Ur)}n&&!k&&Qr(e,n),Ko(e),e.curOp.updateInput<2&&(e.curOp.updateInput=qe),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Rr(e,n){var o=e.clipboardData&&e.clipboardData.getData("Text");if(o)return e.preventDefault(),!n.isReadOnly()&&!n.options.disableInput&&n.hasFocus()&&Xs(n,function(){return or(n,o,0,null,"paste")}),!0}function Qr(e,n){if(!(!e.options.electricChars||!e.options.smartIndent))for(var o=e.doc.sel,u=o.ranges.length-1;u>=0;u--){var p=o.ranges[u];if(!(p.head.ch>100||u&&o.ranges[u-1].head.line==p.head.line)){var D=e.getModeAt(p.head),E=!1;if(D.electricChars){for(var k=0;k<D.electricChars.length;k++)if(n.indexOf(D.electricChars.charAt(k))>-1){E=Ye(e,p.head.line,"smart");break}}else D.electricInput&&D.electricInput.test(hn(e.doc,p.head.line).text.slice(0,p.head.ch))&&(E=Ye(e,p.head.line,"smart"));E&&et(e,"electricInput",e,p.head.line)}}}function ei(e){for(var n=[],o=[],u=0;u<e.doc.sel.ranges.length;u++){var p=e.doc.sel.ranges[u].head.line,D={anchor:dt(p,0),head:dt(p+1,0)};o.push(D),n.push(e.getRange(D.anchor,D.head))}return{text:n,ranges:o}}function Hi(e,n,o,u){e.setAttribute("autocorrect",o?"":"off"),e.setAttribute("autocapitalize",u?"":"off"),e.setAttribute("spellcheck",!!n)}function tr(){var e=Ee("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),n=Ee("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return De?e.style.width="1000px":e.setAttribute("wrap","off"),ct&&(e.style.border="1px solid black"),Hi(e),n}function Kt(e){var n=e.optionHandlers,o=e.helpers={};e.prototype={constructor:e,focus:function(){ts(this).focus(),this.display.input.focus()},setOption:function(u,p){var D=this.options,E=D[u];D[u]==p&&u!="mode"||(D[u]=p,n.hasOwnProperty(u)&&sa(this,n[u])(this,p,E),On(this,"optionChange",this,u))},getOption:function(u){return this.options[u]},getDoc:function(){return this.doc},addKeyMap:function(u,p){this.state.keyMaps[p?"push":"unshift"](m(u))},removeKeyMap:function(u){for(var p=this.state.keyMaps,D=0;D<p.length;++D)if(p[D]==u||p[D].name==u)return p.splice(D,1),!0},addOverlay:oa(function(u,p){var D=u.token?u:e.getMode(this.options,u);if(D.startState)throw new Error("Overlays may not be stateful.");jn(this.state.overlays,{mode:D,modeSpec:u,opaque:p&&p.opaque,priority:p&&p.priority||0},function(E){return E.priority}),this.state.modeGen++,pa(this)}),removeOverlay:oa(function(u){for(var p=this.state.overlays,D=0;D<p.length;++D){var E=p[D].modeSpec;if(E==u||typeof u=="string"&&E.name==u){p.splice(D,1),this.state.modeGen++,pa(this);return}}}),indentLine:oa(function(u,p,D){typeof p!="string"&&typeof p!="number"&&(p==null?p=this.options.smartIndent?"smart":"prev":p=p?"add":"subtract"),ye(this.doc,u)&&Ye(this,u,p,D)}),indentSelection:oa(function(u){for(var p=this.doc.sel.ranges,D=-1,E=0;E<p.length;E++){var k=p[E];if(k.empty())k.head.line>D&&(Ye(this,k.head.line,u,!0),D=k.head.line,E==this.doc.sel.primIndex&&Ko(this));else{var j=k.from(),$=k.to(),ke=Math.max(D,j.line);D=Math.min(this.lastLine(),$.line-($.ch?0:1))+1;for(var qe=ke;qe<D;++qe)Ye(this,qe,u);var be=this.doc.sel.ranges;j.ch==0&&p.length==be.length&&be[E].from().ch>0&&Te(this.doc,E,new Es(j,be[E].to()),Xe)}}}),getTokenAt:function(u,p){return Nu(this,u,p)},getLineTokens:function(u,p){return Nu(this,dt(u),p,!0)},getTokenTypeAt:function(u){u=Bi(this.doc,u);var p=xi(this,hn(this.doc,u.line)),D=0,E=(p.length-1)/2,k=u.ch,j;if(k==0)j=p[2];else for(;;){var $=D+E>>1;if(($?p[$*2-1]:0)>=k)E=$;else if(p[$*2+1]<k)D=$+1;else{j=p[$*2+2];break}}var ke=j?j.indexOf("overlay "):-1;return ke<0?j:ke==0?null:j.slice(0,ke-1)},getModeAt:function(u){var p=this.doc.mode;return p.innerMode?e.innerMode(p,this.getTokenAt(u).state).mode:p},getHelper:function(u,p){return this.getHelpers(u,p)[0]},getHelpers:function(u,p){var D=[];if(!o.hasOwnProperty(p))return D;var E=o[p],k=this.getModeAt(u);if(typeof k[p]=="string")E[k[p]]&&D.push(E[k[p]]);else if(k[p])for(var j=0;j<k[p].length;j++){var $=E[k[p][j]];$&&D.push($)}else k.helperType&&E[k.helperType]?D.push(E[k.helperType]):E[k.name]&&D.push(E[k.name]);for(var ke=0;ke<E._global.length;ke++){var qe=E._global[ke];qe.pred(k,this)&&$n(D,qe.val)==-1&&D.push(qe.val)}return D},getStateAfter:function(u,p){var D=this.doc;return u=ks(D,u??D.first+D.size-1),yo(this,u+1,p).state},cursorCoords:function(u,p){var D,E=this.doc.sel.primary();return u==null?D=E.head:typeof u=="object"?D=Bi(this.doc,u):D=u?E.from():E.to(),bs(this,D,p||"page")},charCoords:function(u,p){return ps(this,Bi(this.doc,u),p||"page")},coordsChar:function(u,p){return u=vs(this,u,p||"page"),ko(this,u.left,u.top)},lineAtHeight:function(u,p){return u=vs(this,{top:u,left:0},p||"page").top,is(this.doc,u+this.display.viewOffset)},heightAtLine:function(u,p,D){var E=!1,k;if(typeof u=="number"){var j=this.doc.first+this.doc.size-1;u<this.doc.first?u=this.doc.first:u>j&&(u=j,E=!0),k=hn(this.doc,u)}else k=u;return ai(this,k,{top:0,left:0},p||"page",D||E).top+(E?this.doc.height-yi(k):0)},defaultTextHeight:function(){return ls(this.display)},defaultCharWidth:function(){return uo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(u,p,D,E,k){var j=this.display;u=bs(this,Bi(this.doc,u));var $=u.bottom,ke=u.left;if(p.style.position="absolute",p.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(p),j.sizer.appendChild(p),E=="over")$=u.top;else if(E=="above"||E=="near"){var qe=Math.max(j.wrapper.clientHeight,this.doc.height),be=Math.max(j.sizer.clientWidth,j.lineSpace.clientWidth);(E=="above"||u.bottom+p.offsetHeight>qe)&&u.top>p.offsetHeight?$=u.top-p.offsetHeight:u.bottom+p.offsetHeight<=qe&&($=u.bottom),ke+p.offsetWidth>be&&(ke=be-p.offsetWidth)}p.style.top=$+"px",p.style.left=p.style.right="",k=="right"?(ke=j.sizer.clientWidth-p.offsetWidth,p.style.right="0px"):(k=="left"?ke=0:k=="middle"&&(ke=(j.sizer.clientWidth-p.offsetWidth)/2),p.style.left=ke+"px"),D&&nc(this,{left:ke,top:$,right:ke+p.offsetWidth,bottom:$+p.offsetHeight})},triggerOnKeyDown:oa(he),triggerOnKeyPress:oa(Q),triggerOnKeyUp:O,triggerOnMouseDown:oa(se),execCommand:function(u){if(B.hasOwnProperty(u))return B[u].call(null,this)},triggerElectric:oa(function(u){Qr(this,u)}),findPosH:function(u,p,D,E){var k=1;p<0&&(k=-1,p=-p);for(var j=Bi(this.doc,u),$=0;$<p&&(j=Vr(this.doc,j,k,D,E),!j.hitSide);++$);return j},moveH:oa(function(u,p){var D=this;this.extendSelectionsBy(function(E){return D.display.shift||D.doc.extend||E.empty()?Vr(D.doc,E.head,u,p,D.options.rtlMoveVisually):u<0?E.from():E.to()},wr)}),deleteH:oa(function(u,p){var D=this.doc.sel,E=this.doc;D.somethingSelected()?E.replaceSelection("",null,"+delete"):d(this,function(k){var j=Vr(E,k.head,u,p,!1);return u<0?{from:j,to:k.head}:{from:k.head,to:j}})}),findPosV:function(u,p,D,E){var k=1,j=E;p<0&&(k=-1,p=-p);for(var $=Bi(this.doc,u),ke=0;ke<p;++ke){var qe=bs(this,$,"div");if(j==null?j=qe.left:qe.left=j,$=rr(this,qe,k,D),$.hitSide)break}return $},moveV:oa(function(u,p){var D=this,E=this.doc,k=[],j=!this.display.shift&&!E.extend&&E.sel.somethingSelected();if(E.extendSelectionsBy(function(ke){if(j)return u<0?ke.from():ke.to();var qe=bs(D,ke.head,"div");ke.goalColumn!=null&&(qe.left=ke.goalColumn),k.push(qe.left);var be=rr(D,qe,u,p);return p=="page"&&ke==E.sel.primary()&&ju(D,ps(D,be,"div").top-qe.top),be},wr),k.length)for(var $=0;$<E.sel.ranges.length;$++)E.sel.ranges[$].goalColumn=k[$]}),findWordAt:function(u){var p=this.doc,D=hn(p,u.line).text,E=u.ch,k=u.ch;if(D){var j=this.getHelper(u,"wordChars");(u.sticky=="before"||k==D.length)&&E?--E:++k;for(var $=D.charAt(E),ke=Wn($,j)?function(qe){return Wn(qe,j)}:/\s/.test($)?function(qe){return/\s/.test(qe)}:function(qe){return!/\s/.test(qe)&&!Wn(qe)};E>0&&ke(D.charAt(E-1));)--E;for(;k<D.length&&ke(D.charAt(k));)++k}return new Es(dt(u.line,E),dt(u.line,k))},toggleOverwrite:function(u){u!=null&&u==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Vi(this.display.cursorDiv,"CodeMirror-overwrite"):Xn(this.display.cursorDiv,"CodeMirror-overwrite"),On(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ti(es(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:oa(function(u,p){ga(this,u,p)}),getScrollInfo:function(){var u=this.display.scroller;return{left:u.scrollLeft,top:u.scrollTop,height:u.scrollHeight-Ai(this)-this.display.barHeight,width:u.scrollWidth-Ai(this)-this.display.barWidth,clientHeight:cs(this),clientWidth:Wi(this)}},scrollIntoView:oa(function(u,p){u==null?(u={from:this.doc.sel.primary().head,to:null},p==null&&(p=this.options.cursorScrollMargin)):typeof u=="number"?u={from:dt(u,0),to:null}:u.from==null&&(u={from:u,to:null}),u.to||(u.to=u.from),u.margin=p||0,u.from.line!=null?_o(this,u):rl(this,u.from,u.to,u.margin)}),setSize:oa(function(u,p){var D=this,E=function(j){return typeof j=="number"||/^\d+$/.test(String(j))?j+"px":j};u!=null&&(this.display.wrapper.style.width=E(u)),p!=null&&(this.display.wrapper.style.height=E(p)),this.options.lineWrapping&&ca(this);var k=this.display.viewFrom;this.doc.iter(k,this.display.viewTo,function(j){if(j.widgets){for(var $=0;$<j.widgets.length;$++)if(j.widgets[$].noHScroll){Ea(D,k,"widget");break}}++k}),this.curOp.forceUpdate=!0,On(this,"refresh",this)}),operation:function(u){return Xs(this,u)},startOperation:function(){return Za(this)},endOperation:function(){return ja(this)},refresh:oa(function(){var u=this.display.cachedTextHeight;pa(this),this.curOp.forceUpdate=!0,En(this),ga(this,this.doc.scrollLeft,this.doc.scrollTop),zu(this.display),(u==null||Math.abs(u-ls(this.display))>.5||this.options.lineWrapping)&&Lu(this),On(this,"refresh",this)}),swapDoc:oa(function(u){var p=this.doc;return p.cm=null,this.state.selectingText&&this.state.selectingText(),Nl(this,u),En(this),this.display.input.reset(),ga(this,u.scrollLeft,u.scrollTop),this.curOp.forceScroll=!0,et(this,"swapDoc",this,p),p}),phrase:function(u){var p=this.options.phrases;return p&&Object.prototype.hasOwnProperty.call(p,u)?p[u]:u},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},kt(e),e.registerHelper=function(u,p,D){o.hasOwnProperty(u)||(o[u]=e[u]={_global:[]}),o[u][p]=D},e.registerGlobalHelper=function(u,p,D,E){e.registerHelper(u,p,E),o[u]._global.push({pred:D,val:E})}}function Vr(e,n,o,u,p){var D=n,E=o,k=hn(e,n.line),j=p&&e.direction=="rtl"?-o:o;function $(){var Kn=n.line+j;return Kn<e.first||Kn>=e.first+e.size?!1:(n=new dt(Kn,n.ch,n.sticky),k=hn(e,Kn))}function ke(Kn){var Bn;if(u=="codepoint"){var le=k.text.charCodeAt(n.ch+(o>0?0:-1));if(isNaN(le))Bn=null;else{var St=o>0?le>=55296&&le<56320:le>=56320&&le<57343;Bn=new dt(n.line,Math.max(0,Math.min(k.text.length,n.ch+o*(St?2:1))),-o)}}else p?Bn=A(e.cm,k,n,o):Bn=v(k,n,o);if(Bn==null)if(!Kn&&$())n=C(p,e.cm,k,n.line,j);else return!1;else n=Bn;return!0}if(u=="char"||u=="codepoint")ke();else if(u=="column")ke(!0);else if(u=="word"||u=="group")for(var qe=null,be=u=="group",Pt=e.cm&&e.cm.getHelper(n,"wordChars"),Dr=!0;!(o<0&&!ke(!Dr));Dr=!1){var dr=k.text.charAt(n.ch)||`
16
- `,Ur=Wn(dr,Pt)?"w":be&&dr==`
17
- `?"n":!be||/\s/.test(dr)?null:"p";if(be&&!Dr&&!Ur&&(Ur="s"),qe&&qe!=Ur){o<0&&(o=1,ke(),n.sticky="after");break}if(Ur&&(qe=Ur),o>0&&!ke(!Dr))break}var fn=Di(e,n,D,E,!0);return gi(D,fn)&&(fn.hitSide=!0),fn}function rr(e,n,o,u){var p=e.doc,D=n.left,E;if(u=="page"){var k=Math.min(e.display.wrapper.clientHeight,ts(e).innerHeight||p(e).documentElement.clientHeight),j=Math.max(k-.5*ls(e.display),3);E=(o>0?n.bottom:n.top)+o*j}else u=="line"&&(E=o>0?n.bottom+3:n.top-3);for(var $;$=ko(e,D,E),!!$.outside;){if(o<0?E<=0:E>=p.height){$.hitSide=!0;break}E+=o*5}return $}var Je=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new cn,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Je.prototype.init=function(e){var n=this,o=this,u=o.cm,p=o.div=e.lineDiv;p.contentEditable=!0,Hi(p,u.options.spellcheck,u.options.autocorrect,u.options.autocapitalize);function D(k){for(var j=k.target;j;j=j.parentNode){if(j==p)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(j.className))break}return!1}_t(p,"paste",function(k){!D(k)||fr(u,k)||Rr(k,u)||ve<=11&&setTimeout(sa(u,function(){return n.updateFromDOM()}),20)}),_t(p,"compositionstart",function(k){n.composing={data:k.data,done:!1}}),_t(p,"compositionupdate",function(k){n.composing||(n.composing={data:k.data,done:!1})}),_t(p,"compositionend",function(k){n.composing&&(k.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),_t(p,"touchstart",function(){return o.forceCompositionEnd()}),_t(p,"input",function(){n.composing||n.readFromDOMSoon()});function E(k){if(!(!D(k)||fr(u,k))){if(u.somethingSelected())Mt({lineWise:!1,text:u.getSelections()}),k.type=="cut"&&u.replaceSelection("",null,"cut");else if(u.options.lineWiseCopyCut){var j=ei(u);Mt({lineWise:!0,text:j.text}),k.type=="cut"&&u.operation(function(){u.setSelections(j.ranges,0,Xe),u.replaceSelection("",null,"cut")})}else return;if(k.clipboardData){k.clipboardData.clearData();var $=Dt.text.join(`
18
- `);if(k.clipboardData.setData("Text",$),k.clipboardData.getData("Text")==$){k.preventDefault();return}}var ke=tr(),qe=ke.firstChild;u.display.lineSpace.insertBefore(ke,u.display.lineSpace.firstChild),qe.value=Dt.text.join(`
19
- `);var be=ti(p.ownerDocument);fs(qe),setTimeout(function(){u.display.lineSpace.removeChild(ke),be.focus(),be==p&&o.showPrimarySelection()},50)}}_t(p,"copy",E),_t(p,"cut",E)},Je.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Je.prototype.prepareSelection=function(){var e=Mu(this.cm,!1);return e.focus=ti(this.div.ownerDocument)==this.div,e},Je.prototype.showSelection=function(e,n){!e||!this.cm.display.view.length||((e.focus||n)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Je.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Je.prototype.showPrimarySelection=function(){var e=this.getSelection(),n=this.cm,o=n.doc.sel.primary(),u=o.from(),p=o.to();if(n.display.viewTo==n.display.viewFrom||u.line>=n.display.viewTo||p.line<n.display.viewFrom){e.removeAllRanges();return}var D=Nn(n,e.anchorNode,e.anchorOffset),E=Nn(n,e.focusNode,e.focusOffset);if(!(D&&!D.bad&&E&&!E.bad&&pr(xs(D,E),u)==0&&pr(us(D,E),p)==0)){var k=n.display.view,j=u.line>=n.display.viewFrom&&Er(n,u)||{node:k[0].measure.map[2],offset:0},$=p.line<n.display.viewTo&&Er(n,p);if(!$){var ke=k[k.length-1].measure,qe=ke.maps?ke.maps[ke.maps.length-1]:ke.map;$={node:qe[qe.length-1],offset:qe[qe.length-2]-qe[qe.length-3]}}if(!j||!$){e.removeAllRanges();return}var be=e.rangeCount&&e.getRangeAt(0),Pt;try{Pt=ur(j.node,j.offset,$.offset,$.node)}catch{}Pt&&(!x&&n.state.focused?(e.collapse(j.node,j.offset),Pt.collapsed||(e.removeAllRanges(),e.addRange(Pt))):(e.removeAllRanges(),e.addRange(Pt)),be&&e.anchorNode==null?e.addRange(be):x&&this.startGracePeriod()),this.rememberSelection()}},Je.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Je.prototype.showMultipleSelections=function(e){Tn(this.cm.display.cursorDiv,e.cursors),Tn(this.cm.display.selectionDiv,e.selection)},Je.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Je.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var n=e.getRangeAt(0).commonAncestorContainer;return kn(this.div,n)},Je.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ti(this.div.ownerDocument)!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Je.prototype.blur=function(){this.div.blur()},Je.prototype.getField=function(){return this.div},Je.prototype.supportsTouch=function(){return!0},Je.prototype.receivedFocus=function(){var e=this,n=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):Xs(this.cm,function(){return n.cm.curOp.selectionChanged=!0});function o(){n.cm.state.focused&&(n.pollSelection(),n.polling.set(n.cm.options.pollInterval,o))}this.polling.set(this.cm.options.pollInterval,o)},Je.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Je.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),n=this.cm;if(Et&&tt&&this.cm.display.gutterSpecs.length&&cr(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var o=Nn(n,e.anchorNode,e.anchorOffset),u=Nn(n,e.focusNode,e.focusOffset);o&&u&&Xs(n,function(){pt(n.doc,ho(o,u),Xe),(o.bad||u.bad)&&(n.curOp.selectionChanged=!0)})}}},Je.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,n=e.display,o=e.doc.sel.primary(),u=o.from(),p=o.to();if(u.ch==0&&u.line>e.firstLine()&&(u=dt(u.line-1,hn(e.doc,u.line-1).length)),p.ch==hn(e.doc,p.line).text.length&&p.line<e.lastLine()&&(p=dt(p.line+1,0)),u.line<n.viewFrom||p.line>n.viewTo-1)return!1;var D,E,k;u.line==n.viewFrom||(D=lo(e,u.line))==0?(E=ji(n.view[0].line),k=n.view[0].node):(E=ji(n.view[D].line),k=n.view[D-1].node.nextSibling);var j=lo(e,p.line),$,ke;if(j==n.view.length-1?($=n.viewTo-1,ke=n.lineDiv.lastChild):($=ji(n.view[j+1].line)-1,ke=n.view[j+1].node.previousSibling),!k)return!1;for(var qe=e.doc.splitLines(Jn(e,k,ke,E,$)),be=di(e.doc,dt(E,0),dt($,hn(e.doc,$).text.length));qe.length>1&&be.length>1;)if(Jr(qe)==Jr(be))qe.pop(),be.pop(),$--;else if(qe[0]==be[0])qe.shift(),be.shift(),E++;else break;for(var Pt=0,Dr=0,dr=qe[0],Ur=be[0],fn=Math.min(dr.length,Ur.length);Pt<fn&&dr.charCodeAt(Pt)==Ur.charCodeAt(Pt);)++Pt;for(var Kn=Jr(qe),Bn=Jr(be),le=Math.min(Kn.length-(qe.length==1?Pt:0),Bn.length-(be.length==1?Pt:0));Dr<le&&Kn.charCodeAt(Kn.length-Dr-1)==Bn.charCodeAt(Bn.length-Dr-1);)++Dr;if(qe.length==1&&be.length==1&&E==u.line)for(;Pt&&Pt>u.ch&&Kn.charCodeAt(Kn.length-Dr-1)==Bn.charCodeAt(Bn.length-Dr-1);)Pt--,Dr++;qe[qe.length-1]=Kn.slice(0,Kn.length-Dr).replace(/^\u200b+/,""),qe[0]=qe[0].slice(Pt).replace(/\u200b+$/,"");var St=dt(E,Pt),Xr=dt($,be.length?Jr(be).length-Dr:0);if(qe.length>1||qe[0]||pr(St,Xr))return Yi(e.doc,qe,St,Xr,"+input"),!0},Je.prototype.ensurePolled=function(){this.forceCompositionEnd()},Je.prototype.reset=function(){this.forceCompositionEnd()},Je.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Je.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},Je.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Xs(this.cm,function(){return pa(e.cm)})},Je.prototype.setUneditable=function(e){e.contentEditable="false"},Je.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||sa(this.cm,or)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Je.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Je.prototype.onContextMenu=function(){},Je.prototype.resetPosition=function(){},Je.prototype.needsContentAttribute=!0;function Er(e,n){var o=xn(e,n.line);if(!o||o.hidden)return null;var u=hn(e.doc,n.line),p=ft(o,u,n.line),D=vr(u,e.doc.direction),E="left";if(D){var k=Cr(D,n.ch);E=k%2?"right":"left"}var j=Ns(p.map,n.ch,E);return j.offset=j.collapse=="right"?j.end:j.start,j}function cr(e){for(var n=e;n;n=n.parentNode)if(/CodeMirror-gutter-wrapper/.test(n.className))return!0;return!1}function Lr(e,n){return n&&(e.bad=!0),e}function Jn(e,n,o,u,p){var D="",E=!1,k=e.doc.lineSeparator(),j=!1;function $(Pt){return function(Dr){return Dr.id==Pt}}function ke(){E&&(D+=k,j&&(D+=k),E=j=!1)}function qe(Pt){Pt&&(ke(),D+=Pt)}function be(Pt){if(Pt.nodeType==1){var Dr=Pt.getAttribute("cm-text");if(Dr){qe(Dr);return}var dr=Pt.getAttribute("cm-marker"),Ur;if(dr){var fn=e.findMarks(dt(u,0),dt(p+1,0),$(+dr));fn.length&&(Ur=fn[0].find(0))&&qe(di(e.doc,Ur.from,Ur.to).join(k));return}if(Pt.getAttribute("contenteditable")=="false")return;var Kn=/^(pre|div|p|li|table|br)$/i.test(Pt.nodeName);if(!/^br$/i.test(Pt.nodeName)&&Pt.textContent.length==0)return;Kn&&ke();for(var Bn=0;Bn<Pt.childNodes.length;Bn++)be(Pt.childNodes[Bn]);/^(pre|p)$/i.test(Pt.nodeName)&&(j=!0),Kn&&(E=!0)}else Pt.nodeType==3&&qe(Pt.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;be(n),n!=o;)n=n.nextSibling,j=!1;return D}function Nn(e,n,o){var u;if(n==e.display.lineDiv){if(u=e.display.lineDiv.childNodes[o],!u)return Lr(e.clipPos(dt(e.display.viewTo-1)),!0);n=null,o=0}else for(u=n;;u=u.parentNode){if(!u||u==e.display.lineDiv)return null;if(u.parentNode&&u.parentNode==e.display.lineDiv)break}for(var p=0;p<e.display.view.length;p++){var D=e.display.view[p];if(D.node==u)return _r(D,n,o)}}function _r(e,n,o){var u=e.text.firstChild,p=!1;if(!n||!kn(u,n))return Lr(dt(ji(e.line),0),!0);if(n==u&&(p=!0,n=u.childNodes[o],o=0,!n)){var D=e.rest?Jr(e.rest):e.line;return Lr(dt(ji(D),D.text.length),p)}var E=n.nodeType==3?n:null,k=n;for(!E&&n.childNodes.length==1&&n.firstChild.nodeType==3&&(E=n.firstChild,o&&(o=E.nodeValue.length));k.parentNode!=u;)k=k.parentNode;var j=e.measure,$=j.maps;function ke(Ur,fn,Kn){for(var Bn=-1;Bn<($?$.length:0);Bn++)for(var le=Bn<0?j.map:$[Bn],St=0;St<le.length;St+=3){var Xr=le[St+2];if(Xr==Ur||Xr==fn){var In=ji(Bn<0?e.line:e.rest[Bn]),Oi=le[St]+Kn;return(Kn<0||Xr!=Ur)&&(Oi=le[St+(Kn?1:0)]),dt(In,Oi)}}}var qe=ke(E,k,o);if(qe)return Lr(qe,p);for(var be=k.nextSibling,Pt=E?E.nodeValue.length-o:0;be;be=be.nextSibling){if(qe=ke(be,be.firstChild,0),qe)return Lr(dt(qe.line,qe.ch-Pt),p);Pt+=be.textContent.length}for(var Dr=k.previousSibling,dr=o;Dr;Dr=Dr.previousSibling){if(qe=ke(Dr,Dr.firstChild,-1),qe)return Lr(dt(qe.line,qe.ch+dr),p);dr+=Dr.textContent.length}}var q=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new cn,this.hasSelection=!1,this.composing=null,this.resetting=!1};q.prototype.init=function(e){var n=this,o=this,u=this.cm;this.createField(e);var p=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),ct&&(p.style.width="0px"),_t(p,"input",function(){de&&ve>=9&&n.hasSelection&&(n.hasSelection=null),o.poll()}),_t(p,"paste",function(E){fr(u,E)||Rr(E,u)||(u.state.pasteIncoming=+new Date,o.fastPoll())});function D(E){if(!fr(u,E)){if(u.somethingSelected())Mt({lineWise:!1,text:u.getSelections()});else if(u.options.lineWiseCopyCut){var k=ei(u);Mt({lineWise:!0,text:k.text}),E.type=="cut"?u.setSelections(k.ranges,null,Xe):(o.prevInput="",p.value=k.text.join(`
20
- `),fs(p))}else return;E.type=="cut"&&(u.state.cutIncoming=+new Date)}}_t(p,"cut",D),_t(p,"copy",D),_t(e.scroller,"paste",function(E){if(!(Ln(e,E)||fr(u,E))){if(!p.dispatchEvent){u.state.pasteIncoming=+new Date,o.focus();return}var k=new Event("paste");k.clipboardData=E.clipboardData,p.dispatchEvent(k)}}),_t(e.lineSpace,"selectstart",function(E){Ln(e,E)||jt(E)}),_t(p,"compositionstart",function(){var E=u.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:E,range:u.markText(E,u.getCursor("to"),{className:"CodeMirror-composing"})}}),_t(p,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},q.prototype.createField=function(e){this.wrapper=tr(),this.textarea=this.wrapper.firstChild},q.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},q.prototype.prepareSelection=function(){var e=this.cm,n=e.display,o=e.doc,u=Mu(e);if(e.options.moveInputWithCursor){var p=bs(e,o.sel.primary().head,"div"),D=n.wrapper.getBoundingClientRect(),E=n.lineDiv.getBoundingClientRect();u.teTop=Math.max(0,Math.min(n.wrapper.clientHeight-10,p.top+E.top-D.top)),u.teLeft=Math.max(0,Math.min(n.wrapper.clientWidth-10,p.left+E.left-D.left))}return u},q.prototype.showSelection=function(e){var n=this.cm,o=n.display;Tn(o.cursorDiv,e.cursors),Tn(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},q.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var n=this.cm;if(this.resetting=!0,n.somethingSelected()){this.prevInput="";var o=n.getSelection();this.textarea.value=o,n.state.focused&&fs(this.textarea),de&&ve>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",de&&ve>=9&&(this.hasSelection=null));this.resetting=!1}},q.prototype.getField=function(){return this.textarea},q.prototype.supportsTouch=function(){return!1},q.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!er||ti(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch{}},q.prototype.blur=function(){this.textarea.blur()},q.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},q.prototype.receivedFocus=function(){this.slowPoll()},q.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},q.prototype.fastPoll=function(){var e=!1,n=this;n.pollingFast=!0;function o(){var u=n.poll();!u&&!e?(e=!0,n.polling.set(60,o)):(n.pollingFast=!1,n.slowPoll())}n.polling.set(20,o)},q.prototype.poll=function(){var e=this,n=this.cm,o=this.textarea,u=this.prevInput;if(this.contextMenuPending||this.resetting||!n.state.focused||it(o)&&!u&&!this.composing||n.isReadOnly()||n.options.disableInput||n.state.keySeq)return!1;var p=o.value;if(p==u&&!n.somethingSelected())return!1;if(de&&ve>=9&&this.hasSelection===p||gr&&/[\uf700-\uf7ff]/.test(p))return n.display.input.reset(),!1;if(n.doc.sel==n.display.selForContextMenu){var D=p.charCodeAt(0);if(D==8203&&!u&&(u="​"),D==8666)return this.reset(),this.cm.execCommand("undo")}for(var E=0,k=Math.min(u.length,p.length);E<k&&u.charCodeAt(E)==p.charCodeAt(E);)++E;return Xs(n,function(){or(n,p.slice(E),u.length-E,null,e.composing?"*compose":null),p.length>1e3||p.indexOf(`
21
- `)>-1?o.value=e.prevInput="":e.prevInput=p,e.composing&&(e.composing.range.clear(),e.composing.range=n.markText(e.composing.start,n.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},q.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},q.prototype.onKeyPress=function(){de&&ve>=9&&(this.hasSelection=null),this.fastPoll()},q.prototype.onContextMenu=function(e){var n=this,o=n.cm,u=o.display,p=n.textarea;n.contextMenuPending&&n.contextMenuPending();var D=No(o,e),E=u.scroller.scrollTop;if(!D||Rt)return;var k=o.options.resetSelectionOnContextMenu;k&&o.doc.sel.contains(D)==-1&&sa(o,pt)(o.doc,ho(D),Xe);var j=p.style.cssText,$=n.wrapper.style.cssText,ke=n.wrapper.offsetParent.getBoundingClientRect();n.wrapper.style.cssText="position: static",p.style.cssText=`position: absolute; width: 30px; height: 30px;
22
- top: `+(e.clientY-ke.top-5)+"px; left: "+(e.clientX-ke.left-5)+`px;
23
- z-index: 1000; background: `+(de?"rgba(255, 255, 255, .05)":"transparent")+`;
24
- outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var qe;De&&(qe=p.ownerDocument.defaultView.scrollY),u.input.focus(),De&&p.ownerDocument.defaultView.scrollTo(null,qe),u.input.reset(),o.somethingSelected()||(p.value=n.prevInput=" "),n.contextMenuPending=Pt,u.selForContextMenu=o.doc.sel,clearTimeout(u.detectingSelectAll);function be(){if(p.selectionStart!=null){var dr=o.somethingSelected(),Ur="​"+(dr?p.value:"");p.value="⇚",p.value=Ur,n.prevInput=dr?"":"​",p.selectionStart=1,p.selectionEnd=Ur.length,u.selForContextMenu=o.doc.sel}}function Pt(){if(n.contextMenuPending==Pt&&(n.contextMenuPending=!1,n.wrapper.style.cssText=$,p.style.cssText=j,de&&ve<9&&u.scrollbars.setScrollTop(u.scroller.scrollTop=E),p.selectionStart!=null)){(!de||de&&ve<9)&&be();var dr=0,Ur=function(){u.selForContextMenu==o.doc.sel&&p.selectionStart==0&&p.selectionEnd>0&&n.prevInput=="​"?sa(o,un)(o):dr++<10?u.detectingSelectAll=setTimeout(Ur,500):(u.selForContextMenu=null,u.input.reset())};u.detectingSelectAll=setTimeout(Ur,200)}}if(de&&ve>=9&&be(),mn){Pr(e);var Dr=function(){Xt(window,"mouseup",Dr),setTimeout(Pt,20)};_t(window,"mouseup",Dr)}else setTimeout(Pt,50)},q.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},q.prototype.setUneditable=function(){},q.prototype.needsContentAttribute=!1;function ot(e,n){if(n=n?$r(n):{},n.value=e.value,!n.tabindex&&e.tabIndex&&(n.tabindex=e.tabIndex),!n.placeholder&&e.placeholder&&(n.placeholder=e.placeholder),n.autofocus==null){var o=ti(e.ownerDocument);n.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function u(){e.value=k.getValue()}var p;if(e.form&&(_t(e.form,"submit",u),!n.leaveSubmitMethodAlone)){var D=e.form;p=D.submit;try{var E=D.submit=function(){u(),D.submit=p,D.submit(),D.submit=E}}catch{}}n.finishInit=function(j){j.save=u,j.getTextArea=function(){return e},j.toTextArea=function(){j.toTextArea=isNaN,u(),e.parentNode.removeChild(j.getWrapperElement()),e.style.display="",e.form&&(Xt(e.form,"submit",u),!n.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=p))}},e.style.display="none";var k=Yt(function(j){return e.parentNode.insertBefore(j,e.nextSibling)},n);return k}function Jt(e){e.off=Xt,e.on=_t,e.wheelEventPixels=sc,e.Doc=gs,e.splitLines=Qe,e.countColumn=yr,e.findColumn=Hr,e.isWordChar=Vt,e.Pass=Mn,e.signal=On,e.Line=Rn,e.changeEnd=ba,e.scrollbarModel=wl,e.Pos=dt,e.cmpPos=pr,e.modes=Nt,e.mimeModes=Nr,e.resolveMode=xr,e.getMode=Sn,e.modeExtensions=bi,e.extendMode=ui,e.copyState=vn,e.startState=Fs,e.innerMode=ns,e.commands=B,e.keyMap=su,e.keyName=f,e.isModifierKey=a,e.lookupKey=r,e.normalizeKeyMap=t,e.StringStream=at,e.SharedTextMarker=ii,e.TextMarker=_n,e.LineWidget=Ti,e.e_preventDefault=jt,e.e_stopPropagation=nr,e.e_stop=Pr,e.addClass=Vi,e.contains=kn,e.rmClass=Xn,e.keyNames=mo}He(Yt),Kt(Yt);var sn="iter insert remove copy getEditor constructor".split(" ");for(var Ii in gs.prototype)gs.prototype.hasOwnProperty(Ii)&&$n(sn,Ii)<0&&(Yt.prototype[Ii]=function(e){return function(){return e.apply(this.doc,arguments)}}(gs.prototype[Ii]));return kt(gs),Yt.inputStyles={textarea:q,contenteditable:Je},Yt.defineMode=function(e){!Yt.defaults.mode&&e!="null"&&(Yt.defaults.mode=e),Yr.apply(this,arguments)},Yt.defineMIME=Be,Yt.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Yt.defineMIME("text/plain","null"),Yt.defineExtension=function(e,n){Yt.prototype[e]=n},Yt.defineDocExtension=function(e,n){gs.prototype[e]=n},Yt.fromTextArea=ot,Jt(Yt),Yt.version="5.65.9",Yt})})(zD);const UD=xl;var Pm={};(function(i,h){(function(c){c(xl)})(function(c){c.defineMode("javascript",function(g,x){var S=g.indentUnit,W=x.statementIndent,ie=x.jsonld,de=x.json||ie,ve=x.trackScope!==!1,De=x.typescript,Ve=x.wordCharacters||/[\w$\xa1-\uffff]/,tt=function(){function ye(xs){return{type:xs,style:"keyword"}}var nt=ye("keyword a"),dt=ye("keyword b"),pr=ye("keyword c"),gi=ye("keyword d"),ss=ye("operator"),us={type:"atom",style:"atom"};return{if:ye("if"),while:nt,with:nt,else:dt,do:dt,try:dt,finally:dt,return:gi,break:gi,continue:gi,new:ye("new"),delete:pr,void:pr,throw:pr,debugger:ye("debugger"),var:ye("var"),const:ye("var"),let:ye("var"),function:ye("function"),catch:ye("catch"),for:ye("for"),switch:ye("switch"),case:ye("case"),default:ye("default"),in:ss,typeof:ss,instanceof:ss,true:us,false:us,null:us,undefined:us,NaN:us,Infinity:us,this:ye("this"),class:ye("class"),super:ye("atom"),yield:pr,export:ye("export"),import:ye("import"),extends:pr,await:pr}}(),Ct=/[+\-*&%=<>!?|~^@]/,Rt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function $t(ye){for(var nt=!1,dt,pr=!1;(dt=ye.next())!=null;){if(!nt){if(dt=="/"&&!pr)return;dt=="["?pr=!0:pr&&dt=="]"&&(pr=!1)}nt=!nt&&dt=="\\"}}var Sr,Ze;function ct(ye,nt,dt){return Sr=ye,Ze=dt,nt}function Et(ye,nt){var dt=ye.next();if(dt=='"'||dt=="'")return nt.tokenize=er(dt),nt.tokenize(ye,nt);if(dt=="."&&ye.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return ct("number","number");if(dt=="."&&ye.match(".."))return ct("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(dt))return ct(dt);if(dt=="="&&ye.eat(">"))return ct("=>","operator");if(dt=="0"&&ye.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return ct("number","number");if(/\d/.test(dt))return ye.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),ct("number","number");if(dt=="/")return ye.eat("*")?(nt.tokenize=gr,gr(ye,nt)):ye.eat("/")?(ye.skipToEnd(),ct("comment","comment")):is(ye,nt,1)?($t(ye),ye.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),ct("regexp","string-2")):(ye.eat("="),ct("operator","operator",ye.current()));if(dt=="`")return nt.tokenize=Pn,Pn(ye,nt);if(dt=="#"&&ye.peek()=="!")return ye.skipToEnd(),ct("meta","meta");if(dt=="#"&&ye.eatWhile(Ve))return ct("variable","property");if(dt=="<"&&ye.match("!--")||dt=="-"&&ye.match("->")&&!/\S/.test(ye.string.slice(0,ye.start)))return ye.skipToEnd(),ct("comment","comment");if(Ct.test(dt))return(dt!=">"||!nt.lexical||nt.lexical.type!=">")&&(ye.eat("=")?(dt=="!"||dt=="=")&&ye.eat("="):/[<>*+\-|&?]/.test(dt)&&(ye.eat(dt),dt==">"&&ye.eat(dt))),dt=="?"&&ye.eat(".")?ct("."):ct("operator","operator",ye.current());if(Ve.test(dt)){ye.eatWhile(Ve);var pr=ye.current();if(nt.lastType!="."){if(tt.propertyIsEnumerable(pr)){var gi=tt[pr];return ct(gi.type,gi.style,pr)}if(pr=="async"&&ye.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return ct("async","keyword",pr)}return ct("variable","variable",pr)}}function er(ye){return function(nt,dt){var pr=!1,gi;if(ie&&nt.peek()=="@"&&nt.match(Rt))return dt.tokenize=Et,ct("jsonld-keyword","meta");for(;(gi=nt.next())!=null&&!(gi==ye&&!pr);)pr=!pr&&gi=="\\";return pr||(dt.tokenize=Et),ct("string","string")}}function gr(ye,nt){for(var dt=!1,pr;pr=ye.next();){if(pr=="/"&&dt){nt.tokenize=Et;break}dt=pr=="*"}return ct("comment","comment")}function Pn(ye,nt){for(var dt=!1,pr;(pr=ye.next())!=null;){if(!dt&&(pr=="`"||pr=="$"&&ye.eat("{"))){nt.tokenize=Et;break}dt=!dt&&pr=="\\"}return ct("quasi","string-2",ye.current())}var kr="([{}])";function ln(ye,nt){nt.fatArrowAt&&(nt.fatArrowAt=null);var dt=ye.string.indexOf("=>",ye.start);if(!(dt<0)){if(De){var pr=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(ye.string.slice(ye.start,dt));pr&&(dt=pr.index)}for(var gi=0,ss=!1,us=dt-1;us>=0;--us){var xs=ye.string.charAt(us),ks=kr.indexOf(xs);if(ks>=0&&ks<3){if(!gi){++us;break}if(--gi==0){xs=="("&&(ss=!0);break}}else if(ks>=3&&ks<6)++gi;else if(Ve.test(xs))ss=!0;else if(/["'\/`]/.test(xs))for(;;--us){if(us==0)return;var Bi=ye.string.charAt(us-1);if(Bi==xs&&ye.string.charAt(us-2)!="\\"){us--;break}}else if(ss&&!gi){++us;break}}ss&&!gi&&(nt.fatArrowAt=us)}}var Dn={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function mn(ye,nt,dt,pr,gi,ss){this.indented=ye,this.column=nt,this.type=dt,this.prev=gi,this.info=ss,pr!=null&&(this.align=pr)}function gn(ye,nt){if(!ve)return!1;for(var dt=ye.localVars;dt;dt=dt.next)if(dt.name==nt)return!0;for(var pr=ye.context;pr;pr=pr.prev)for(var dt=pr.vars;dt;dt=dt.next)if(dt.name==nt)return!0}function Xn(ye,nt,dt,pr,gi){var ss=ye.cc;for(hr.state=ye,hr.stream=gi,hr.marked=null,hr.cc=ss,hr.style=nt,ye.lexical.hasOwnProperty("align")||(ye.lexical.align=!0);;){var us=ss.length?ss.pop():de?Mn:$n;if(us(dt,pr)){for(;ss.length&&ss[ss.length-1].lex;)ss.pop()();return hr.marked?hr.marked:dt=="variable"&&gn(ye,pr)?"variable-2":nt}}}var hr={state:null,column:null,marked:null,cc:null};function Tn(){for(var ye=arguments.length-1;ye>=0;ye--)hr.cc.push(arguments[ye])}function Ee(){return Tn.apply(null,arguments),!0}function tn(ye,nt){for(var dt=nt;dt;dt=dt.next)if(dt.name==ye)return!0;return!1}function ur(ye){var nt=hr.state;if(hr.marked="def",!!ve){if(nt.context){if(nt.lexical.info=="var"&&nt.context&&nt.context.block){var dt=kn(ye,nt.context);if(dt!=null){nt.context=dt;return}}else if(!tn(ye,nt.localVars)){nt.localVars=new as(ye,nt.localVars);return}}x.globalVars&&!tn(ye,nt.globalVars)&&(nt.globalVars=new as(ye,nt.globalVars))}}function kn(ye,nt){if(nt)if(nt.block){var dt=kn(ye,nt.prev);return dt?dt==nt.prev?nt:new Vi(dt,nt.vars,!0):null}else return tn(ye,nt.vars)?nt:new Vi(nt.prev,new as(ye,nt.vars),!1);else return null}function ti(ye){return ye=="public"||ye=="private"||ye=="protected"||ye=="abstract"||ye=="readonly"}function Vi(ye,nt,dt){this.prev=ye,this.vars=nt,this.block=dt}function as(ye,nt){this.name=ye,this.next=nt}var fs=new as("this",new as("arguments",null));function es(){hr.state.context=new Vi(hr.state.context,hr.state.localVars,!1),hr.state.localVars=fs}function ts(){hr.state.context=new Vi(hr.state.context,hr.state.localVars,!0),hr.state.localVars=null}es.lex=ts.lex=!0;function Mr(){hr.state.localVars=hr.state.context.vars,hr.state.context=hr.state.context.prev}Mr.lex=!0;function $r(ye,nt){var dt=function(){var pr=hr.state,gi=pr.indented;if(pr.lexical.type=="stat")gi=pr.lexical.indented;else for(var ss=pr.lexical;ss&&ss.type==")"&&ss.align;ss=ss.prev)gi=ss.indented;pr.lexical=new mn(gi,hr.stream.column(),ye,null,pr.lexical,nt)};return dt.lex=!0,dt}function yr(){var ye=hr.state;ye.lexical.prev&&(ye.lexical.type==")"&&(ye.indented=ye.lexical.indented),ye.lexical=ye.lexical.prev)}yr.lex=!0;function cn(ye){function nt(dt){return dt==ye?Ee():ye==";"||dt=="}"||dt==")"||dt=="]"?Tn():Ee(nt)}return nt}function $n(ye,nt){return ye=="var"?Ee($r("vardef",nt),Pr,cn(";"),yr):ye=="keyword a"?Ee($r("form"),At,$n,yr):ye=="keyword b"?Ee($r("form"),$n,yr):ye=="keyword d"?hr.stream.match(/^\s*$/,!1)?Ee():Ee($r("stat"),Hr,cn(";"),yr):ye=="debugger"?Ee(cn(";")):ye=="{"?Ee($r("}"),ts,Vn,yr,Mr):ye==";"?Ee():ye=="if"?(hr.state.lexical.info=="else"&&hr.state.cc[hr.state.cc.length-1]==yr&&hr.state.cc.pop()(),Ee($r("form"),At,$n,yr,Fe)):ye=="function"?Ee(Ft):ye=="for"?Ee($r("form"),ts,Re,$n,Mr,yr):ye=="class"||De&&nt=="interface"?(hr.marked="keyword",Ee($r("form",ye=="class"?ye:nt),Yr,yr)):ye=="variable"?De&&nt=="declare"?(hr.marked="keyword",Ee($n)):De&&(nt=="module"||nt=="enum"||nt=="type")&&hr.stream.match(/^\s*\w/,!1)?(hr.marked="keyword",nt=="enum"?Ee(ms):nt=="type"?Ee(sr,cn("operator"),_t,cn(";")):Ee($r("form"),zt,cn("{"),$r("}"),Vn,yr,yr)):De&&nt=="namespace"?(hr.marked="keyword",Ee($r("form"),Mn,$n,yr)):De&&nt=="abstract"?(hr.marked="keyword",Ee($n)):Ee($r("stat"),Wn):ye=="switch"?Ee($r("form"),At,cn("{"),$r("}","switch"),ts,Vn,yr,yr,Mr):ye=="case"?Ee(Mn,cn(":")):ye=="default"?Ee(cn(":")):ye=="catch"?Ee($r("form"),es,ci,$n,yr,Mr):ye=="export"?Ee($r("stat"),bi,yr):ye=="import"?Ee($r("stat"),vn,yr):ye=="async"?Ee($n):nt=="@"?Ee(Mn,$n):Tn($r("stat"),Mn,cn(";"),yr)}function ci(ye){if(ye=="(")return Ee(Nt,cn(")"))}function Mn(ye,nt){return wr(ye,nt,!1)}function Xe(ye,nt){return wr(ye,nt,!0)}function At(ye){return ye!="("?Tn():Ee($r(")"),Hr,cn(")"),yr)}function wr(ye,nt,dt){if(hr.state.fatArrowAt==hr.stream.start){var pr=dt?Zr:jn;if(ye=="(")return Ee(es,$r(")"),os(Nt,")"),yr,cn("=>"),pr,Mr);if(ye=="variable")return Tn(es,zt,cn("=>"),pr,Mr)}var gi=dt?nn:Fr;return Dn.hasOwnProperty(ye)?Ee(gi):ye=="function"?Ee(Ft,gi):ye=="class"||De&&nt=="interface"?(hr.marked="keyword",Ee($r("form"),Nr,yr)):ye=="keyword c"||ye=="async"?Ee(dt?Xe:Mn):ye=="("?Ee($r(")"),Hr,cn(")"),yr,gi):ye=="operator"||ye=="spread"?Ee(dt?Xe:Mn):ye=="["?Ee($r("]"),di,yr,gi):ye=="{"?ta(ds,"}",null,gi):ye=="quasi"?Tn(Jr,gi):ye=="new"?Ee(Tt(dt)):Ee()}function Hr(ye){return ye.match(/[;\}\)\],]/)?Tn():Tn(Mn)}function Fr(ye,nt){return ye==","?Ee(Hr):nn(ye,nt,!1)}function nn(ye,nt,dt){var pr=dt==!1?Fr:nn,gi=dt==!1?Mn:Xe;if(ye=="=>")return Ee(es,dt?Zr:jn,Mr);if(ye=="operator")return/\+\+|--/.test(nt)||De&&nt=="!"?Ee(pr):De&&nt=="<"&&hr.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?Ee($r(">"),os(_t,">"),yr,pr):nt=="?"?Ee(Mn,cn(":"),gi):Ee(gi);if(ye=="quasi")return Tn(Jr,pr);if(ye!=";"){if(ye=="(")return ta(Xe,")","call",pr);if(ye==".")return Ee(ki,pr);if(ye=="[")return Ee($r("]"),Hr,cn("]"),yr,pr);if(De&&nt=="as")return hr.marked="keyword",Ee(_t,pr);if(ye=="regexp")return hr.state.lastType=hr.marked="operator",hr.stream.backUp(hr.stream.pos-hr.stream.start-1),Ee(gi)}}function Jr(ye,nt){return ye!="quasi"?Tn():nt.slice(nt.length-2)!="${"?Ee(Jr):Ee(Hr,pn)}function pn(ye){if(ye=="}")return hr.marked="string-2",hr.state.tokenize=Pn,Ee(Jr)}function jn(ye){return ln(hr.stream,hr.state),Tn(ye=="{"?$n:Mn)}function Zr(ye){return ln(hr.stream,hr.state),Tn(ye=="{"?$n:Xe)}function Tt(ye){return function(nt){return nt=="."?Ee(ye?Vt:mr):nt=="variable"&&De?Ee(jt,ye?nn:Fr):Tn(ye?Xe:Mn)}}function mr(ye,nt){if(nt=="target")return hr.marked="keyword",Ee(Fr)}function Vt(ye,nt){if(nt=="target")return hr.marked="keyword",Ee(nn)}function Wn(ye){return ye==":"?Ee(yr,$n):Tn(Fr,cn(";"),yr)}function ki(ye){if(ye=="variable")return hr.marked="property",Ee()}function ds(ye,nt){if(ye=="async")return hr.marked="property",Ee(ds);if(ye=="variable"||hr.style=="keyword"){if(hr.marked="property",nt=="get"||nt=="set")return Ee(Zi);var dt;return De&&hr.state.fatArrowAt==hr.stream.start&&(dt=hr.stream.match(/^\s*:\s*/,!1))&&(hr.state.fatArrowAt=hr.stream.pos+dt[0].length),Ee(Ds)}else{if(ye=="number"||ye=="string")return hr.marked=ie?"property":hr.style+" property",Ee(Ds);if(ye=="jsonld-keyword")return Ee(Ds);if(De&&ti(nt))return hr.marked="keyword",Ee(ds);if(ye=="[")return Ee(Mn,Cr,cn("]"),Ds);if(ye=="spread")return Ee(Xe,Ds);if(nt=="*")return hr.marked="keyword",Ee(ds);if(ye==":")return Tn(Ds)}}function Zi(ye){return ye!="variable"?Tn(Ds):(hr.marked="property",Ee(Ft))}function Ds(ye){if(ye==":")return Ee(Xe);if(ye=="(")return Tn(Ft)}function os(ye,nt,dt){function pr(gi,ss){if(dt?dt.indexOf(gi)>-1:gi==","){var us=hr.state.lexical;return us.info=="call"&&(us.pos=(us.pos||0)+1),Ee(function(xs,ks){return xs==nt||ks==nt?Tn():Tn(ye)},pr)}return gi==nt||ss==nt?Ee():dt&&dt.indexOf(";")>-1?Tn(ye):Ee(cn(nt))}return function(gi,ss){return gi==nt||ss==nt?Ee():Tn(ye,pr)}}function ta(ye,nt,dt){for(var pr=3;pr<arguments.length;pr++)hr.cc.push(arguments[pr]);return Ee($r(nt,dt),os(ye,nt),yr)}function Vn(ye){return ye=="}"?Ee():Tn($n,Vn)}function Cr(ye,nt){if(De){if(ye==":")return Ee(_t);if(nt=="?")return Ee(Cr)}}function Tr(ye,nt){if(De&&(ye==":"||nt=="in"))return Ee(_t)}function vr(ye){if(De&&ye==":")return hr.stream.match(/^\s*\w+\s+is\b/,!1)?Ee(Mn,Kr,_t):Ee(_t)}function Kr(ye,nt){if(nt=="is")return hr.marked="keyword",Ee()}function _t(ye,nt){if(nt=="keyof"||nt=="typeof"||nt=="infer"||nt=="readonly")return hr.marked="keyword",Ee(nt=="typeof"?Xe:_t);if(ye=="variable"||nt=="void")return hr.marked="type",Ee(kt);if(nt=="|"||nt=="&")return Ee(_t);if(ye=="string"||ye=="number"||ye=="atom")return Ee(kt);if(ye=="[")return Ee($r("]"),os(_t,"]",","),yr,kt);if(ye=="{")return Ee($r("}"),Xt,yr,kt);if(ye=="(")return Ee(os(Me,")"),Gn,kt);if(ye=="<")return Ee(os(_t,">"),_t);if(ye=="quasi")return Tn(fr,kt)}function Gn(ye){if(ye=="=>")return Ee(_t)}function Xt(ye){return ye.match(/[\}\)\]]/)?Ee():ye==","||ye==";"?Ee(Xt):Tn(On,Xt)}function On(ye,nt){if(ye=="variable"||hr.style=="keyword")return hr.marked="property",Ee(On);if(nt=="?"||ye=="number"||ye=="string")return Ee(On);if(ye==":")return Ee(_t);if(ye=="[")return Ee(cn("variable"),Tr,cn("]"),On);if(ye=="(")return Tn(Qt,On);if(!ye.match(/[;\}\)\],]/))return Ee()}function fr(ye,nt){return ye!="quasi"?Tn():nt.slice(nt.length-2)!="${"?Ee(fr):Ee(_t,Bt)}function Bt(ye){if(ye=="}")return hr.marked="string-2",hr.state.tokenize=Pn,Ee(fr)}function Me(ye,nt){return ye=="variable"&&hr.stream.match(/^\s*[?:]/,!1)||nt=="?"?Ee(Me):ye==":"?Ee(_t):ye=="spread"?Ee(Me):Tn(_t)}function kt(ye,nt){if(nt=="<")return Ee($r(">"),os(_t,">"),yr,kt);if(nt=="|"||ye=="."||nt=="&")return Ee(_t);if(ye=="[")return Ee(_t,cn("]"),kt);if(nt=="extends"||nt=="implements")return hr.marked="keyword",Ee(_t);if(nt=="?")return Ee(_t,cn(":"),_t)}function jt(ye,nt){if(nt=="<")return Ee($r(">"),os(_t,">"),yr,kt)}function nr(){return Tn(_t,Ir)}function Ir(ye,nt){if(nt=="=")return Ee(_t)}function Pr(ye,nt){return nt=="enum"?(hr.marked="keyword",Ee(ms)):Tn(zt,Cr,re,xe)}function zt(ye,nt){if(De&&ti(nt))return hr.marked="keyword",Ee(zt);if(ye=="variable")return ur(nt),Ee();if(ye=="spread")return Ee(zt);if(ye=="[")return ta(ue,"]");if(ye=="{")return ta(_e,"}")}function _e(ye,nt){return ye=="variable"&&!hr.stream.match(/^\s*:/,!1)?(ur(nt),Ee(re)):(ye=="variable"&&(hr.marked="property"),ye=="spread"?Ee(zt):ye=="}"?Tn():ye=="["?Ee(Mn,cn("]"),cn(":"),_e):Ee(cn(":"),zt,re))}function ue(){return Tn(zt,re)}function re(ye,nt){if(nt=="=")return Ee(Xe)}function xe(ye){if(ye==",")return Ee(Pr)}function Fe(ye,nt){if(ye=="keyword b"&&nt=="else")return Ee($r("form","else"),$n,yr)}function Re(ye,nt){if(nt=="await")return Ee(Re);if(ye=="(")return Ee($r(")"),Qe,yr)}function Qe(ye){return ye=="var"?Ee(Pr,it):ye=="variable"?Ee(it):Tn(it)}function it(ye,nt){return ye==")"?Ee():ye==";"?Ee(it):nt=="in"||nt=="of"?(hr.marked="keyword",Ee(Mn,it)):Tn(Mn,it)}function Ft(ye,nt){if(nt=="*")return hr.marked="keyword",Ee(Ft);if(ye=="variable")return ur(nt),Ee(Ft);if(ye=="(")return Ee(es,$r(")"),os(Nt,")"),yr,vr,$n,Mr);if(De&&nt=="<")return Ee($r(">"),os(nr,">"),yr,Ft)}function Qt(ye,nt){if(nt=="*")return hr.marked="keyword",Ee(Qt);if(ye=="variable")return ur(nt),Ee(Qt);if(ye=="(")return Ee(es,$r(")"),os(Nt,")"),yr,vr,Mr);if(De&&nt=="<")return Ee($r(">"),os(nr,">"),yr,Qt)}function sr(ye,nt){if(ye=="keyword"||ye=="variable")return hr.marked="type",Ee(sr);if(nt=="<")return Ee($r(">"),os(nr,">"),yr)}function Nt(ye,nt){return nt=="@"&&Ee(Mn,Nt),ye=="spread"?Ee(Nt):De&&ti(nt)?(hr.marked="keyword",Ee(Nt)):De&&ye=="this"?Ee(Cr,re):Tn(zt,Cr,re)}function Nr(ye,nt){return ye=="variable"?Yr(ye,nt):Be(ye,nt)}function Yr(ye,nt){if(ye=="variable")return ur(nt),Ee(Be)}function Be(ye,nt){if(nt=="<")return Ee($r(">"),os(nr,">"),yr,Be);if(nt=="extends"||nt=="implements"||De&&ye==",")return nt=="implements"&&(hr.marked="keyword"),Ee(De?_t:Mn,Be);if(ye=="{")return Ee($r("}"),xr,yr)}function xr(ye,nt){if(ye=="async"||ye=="variable"&&(nt=="static"||nt=="get"||nt=="set"||De&&ti(nt))&&hr.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return hr.marked="keyword",Ee(xr);if(ye=="variable"||hr.style=="keyword")return hr.marked="property",Ee(Sn,xr);if(ye=="number"||ye=="string")return Ee(Sn,xr);if(ye=="[")return Ee(Mn,Cr,cn("]"),Sn,xr);if(nt=="*")return hr.marked="keyword",Ee(xr);if(De&&ye=="(")return Tn(Qt,xr);if(ye==";"||ye==",")return Ee(xr);if(ye=="}")return Ee();if(nt=="@")return Ee(Mn,xr)}function Sn(ye,nt){if(nt=="!"||nt=="?")return Ee(Sn);if(ye==":")return Ee(_t,re);if(nt=="=")return Ee(Xe);var dt=hr.state.lexical.prev,pr=dt&&dt.info=="interface";return Tn(pr?Qt:Ft)}function bi(ye,nt){return nt=="*"?(hr.marked="keyword",Ee(hn,cn(";"))):nt=="default"?(hr.marked="keyword",Ee(Mn,cn(";"))):ye=="{"?Ee(os(ui,"}"),hn,cn(";")):Tn($n)}function ui(ye,nt){if(nt=="as")return hr.marked="keyword",Ee(cn("variable"));if(ye=="variable")return Tn(Xe,ui)}function vn(ye){return ye=="string"?Ee():ye=="("?Tn(Mn):ye=="."?Tn(Fr):Tn(ns,Fs,hn)}function ns(ye,nt){return ye=="{"?ta(ns,"}"):(ye=="variable"&&ur(nt),nt=="*"&&(hr.marked="keyword"),Ee(at))}function Fs(ye){if(ye==",")return Ee(ns,Fs)}function at(ye,nt){if(nt=="as")return hr.marked="keyword",Ee(ns)}function hn(ye,nt){if(nt=="from")return hr.marked="keyword",Ee(Mn)}function di(ye){return ye=="]"?Ee():Tn(os(Xe,"]"))}function ms(){return Tn($r("form"),zt,cn("{"),$r("}"),os(ws,"}"),yr,yr)}function ws(){return Tn(zt,re)}function ji(ye,nt){return ye.lastType=="operator"||ye.lastType==","||Ct.test(nt.charAt(0))||/[,.]/.test(nt.charAt(0))}function is(ye,nt,dt){return nt.tokenize==Et&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(nt.lastType)||nt.lastType=="quasi"&&/\{\s*$/.test(ye.string.slice(0,ye.pos-(dt||0)))}return{startState:function(ye){var nt={tokenize:Et,lastType:"sof",cc:[],lexical:new mn((ye||0)-S,0,"block",!1),localVars:x.localVars,context:x.localVars&&new Vi(null,null,!1),indented:ye||0};return x.globalVars&&typeof x.globalVars=="object"&&(nt.globalVars=x.globalVars),nt},token:function(ye,nt){if(ye.sol()&&(nt.lexical.hasOwnProperty("align")||(nt.lexical.align=!1),nt.indented=ye.indentation(),ln(ye,nt)),nt.tokenize!=gr&&ye.eatSpace())return null;var dt=nt.tokenize(ye,nt);return Sr=="comment"?dt:(nt.lastType=Sr=="operator"&&(Ze=="++"||Ze=="--")?"incdec":Sr,Xn(nt,dt,Sr,Ze,ye))},indent:function(ye,nt){if(ye.tokenize==gr||ye.tokenize==Pn)return c.Pass;if(ye.tokenize!=Et)return 0;var dt=nt&&nt.charAt(0),pr=ye.lexical,gi;if(!/^\s*else\b/.test(nt))for(var ss=ye.cc.length-1;ss>=0;--ss){var us=ye.cc[ss];if(us==yr)pr=pr.prev;else if(us!=Fe&&us!=Mr)break}for(;(pr.type=="stat"||pr.type=="form")&&(dt=="}"||(gi=ye.cc[ye.cc.length-1])&&(gi==Fr||gi==nn)&&!/^[,\.=+\-*:?[\(]/.test(nt));)pr=pr.prev;W&&pr.type==")"&&pr.prev.type=="stat"&&(pr=pr.prev);var xs=pr.type,ks=dt==xs;return xs=="vardef"?pr.indented+(ye.lastType=="operator"||ye.lastType==","?pr.info.length+1:0):xs=="form"&&dt=="{"?pr.indented:xs=="form"?pr.indented+S:xs=="stat"?pr.indented+(ji(ye,nt)?W||S:0):pr.info=="switch"&&!ks&&x.doubleIndentSwitch!=!1?pr.indented+(/^(?:case|default)\b/.test(nt)?S:2*S):pr.align?pr.column+(ks?0:1):pr.indented+(ks?0:S)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:de?null:"/*",blockCommentEnd:de?null:"*/",blockCommentContinue:de?null:" * ",lineComment:de?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:de?"json":"javascript",jsonldMode:ie,jsonMode:de,expressionAllowed:is,skipExpression:function(ye){Xn(ye,"atom","atom","true",new c.StringStream("",2,null))}}}),c.registerHelper("wordChars","javascript",/[\w$]/),c.defineMIME("text/javascript","javascript"),c.defineMIME("text/ecmascript","javascript"),c.defineMIME("application/javascript","javascript"),c.defineMIME("application/x-javascript","javascript"),c.defineMIME("application/ecmascript","javascript"),c.defineMIME("application/json",{name:"javascript",json:!0}),c.defineMIME("application/x-json",{name:"javascript",json:!0}),c.defineMIME("application/manifest+json",{name:"javascript",json:!0}),c.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),c.defineMIME("text/typescript",{name:"javascript",typescript:!0}),c.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var HD={};(function(i,h){(function(c){c(xl)})(function(c){c.defineMode("css",function(mn,gn){var Xn=gn.inline;gn.propertyKeywords||(gn=c.resolveMode("text/css"));var hr=mn.indentUnit,Tn=gn.tokenHooks,Ee=gn.documentTypes||{},tn=gn.mediaTypes||{},ur=gn.mediaFeatures||{},kn=gn.mediaValueKeywords||{},ti=gn.propertyKeywords||{},Vi=gn.nonStandardPropertyKeywords||{},as=gn.fontProperties||{},fs=gn.counterDescriptors||{},es=gn.colorKeywords||{},ts=gn.valueKeywords||{},Mr=gn.allowNested,$r=gn.lineComment,yr=gn.supportsAtComponent===!0,cn=mn.highlightNonStandardPropertyKeywords!==!1,$n,ci;function Mn(Tt,mr){return $n=mr,Tt}function Xe(Tt,mr){var Vt=Tt.next();if(Tn[Vt]){var Wn=Tn[Vt](Tt,mr);if(Wn!==!1)return Wn}if(Vt=="@")return Tt.eatWhile(/[\w\\\-]/),Mn("def",Tt.current());if(Vt=="="||(Vt=="~"||Vt=="|")&&Tt.eat("="))return Mn(null,"compare");if(Vt=='"'||Vt=="'")return mr.tokenize=At(Vt),mr.tokenize(Tt,mr);if(Vt=="#")return Tt.eatWhile(/[\w\\\-]/),Mn("atom","hash");if(Vt=="!")return Tt.match(/^\s*\w*/),Mn("keyword","important");if(/\d/.test(Vt)||Vt=="."&&Tt.eat(/\d/))return Tt.eatWhile(/[\w.%]/),Mn("number","unit");if(Vt==="-"){if(/[\d.]/.test(Tt.peek()))return Tt.eatWhile(/[\w.%]/),Mn("number","unit");if(Tt.match(/^-[\w\\\-]*/))return Tt.eatWhile(/[\w\\\-]/),Tt.match(/^\s*:/,!1)?Mn("variable-2","variable-definition"):Mn("variable-2","variable");if(Tt.match(/^\w+-/))return Mn("meta","meta")}else return/[,+>*\/]/.test(Vt)?Mn(null,"select-op"):Vt=="."&&Tt.match(/^-?[_a-z][_a-z0-9-]*/i)?Mn("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(Vt)?Mn(null,Vt):Tt.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(Tt.current())&&(mr.tokenize=wr),Mn("variable callee","variable")):/[\w\\\-]/.test(Vt)?(Tt.eatWhile(/[\w\\\-]/),Mn("property","word")):Mn(null,null)}function At(Tt){return function(mr,Vt){for(var Wn=!1,ki;(ki=mr.next())!=null;){if(ki==Tt&&!Wn){Tt==")"&&mr.backUp(1);break}Wn=!Wn&&ki=="\\"}return(ki==Tt||!Wn&&Tt!=")")&&(Vt.tokenize=null),Mn("string","string")}}function wr(Tt,mr){return Tt.next(),Tt.match(/^\s*[\"\')]/,!1)?mr.tokenize=null:mr.tokenize=At(")"),Mn(null,"(")}function Hr(Tt,mr,Vt){this.type=Tt,this.indent=mr,this.prev=Vt}function Fr(Tt,mr,Vt,Wn){return Tt.context=new Hr(Vt,mr.indentation()+(Wn===!1?0:hr),Tt.context),Vt}function nn(Tt){return Tt.context.prev&&(Tt.context=Tt.context.prev),Tt.context.type}function Jr(Tt,mr,Vt){return Zr[Vt.context.type](Tt,mr,Vt)}function pn(Tt,mr,Vt,Wn){for(var ki=Wn||1;ki>0;ki--)Vt.context=Vt.context.prev;return Jr(Tt,mr,Vt)}function jn(Tt){var mr=Tt.current().toLowerCase();ts.hasOwnProperty(mr)?ci="atom":es.hasOwnProperty(mr)?ci="keyword":ci="variable"}var Zr={};return Zr.top=function(Tt,mr,Vt){if(Tt=="{")return Fr(Vt,mr,"block");if(Tt=="}"&&Vt.context.prev)return nn(Vt);if(yr&&/@component/i.test(Tt))return Fr(Vt,mr,"atComponentBlock");if(/^@(-moz-)?document$/i.test(Tt))return Fr(Vt,mr,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(Tt))return Fr(Vt,mr,"atBlock");if(/^@(font-face|counter-style)/i.test(Tt))return Vt.stateArg=Tt,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(Tt))return"keyframes";if(Tt&&Tt.charAt(0)=="@")return Fr(Vt,mr,"at");if(Tt=="hash")ci="builtin";else if(Tt=="word")ci="tag";else{if(Tt=="variable-definition")return"maybeprop";if(Tt=="interpolation")return Fr(Vt,mr,"interpolation");if(Tt==":")return"pseudo";if(Mr&&Tt=="(")return Fr(Vt,mr,"parens")}return Vt.context.type},Zr.block=function(Tt,mr,Vt){if(Tt=="word"){var Wn=mr.current().toLowerCase();return ti.hasOwnProperty(Wn)?(ci="property","maybeprop"):Vi.hasOwnProperty(Wn)?(ci=cn?"string-2":"property","maybeprop"):Mr?(ci=mr.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ci+=" error","maybeprop")}else return Tt=="meta"?"block":!Mr&&(Tt=="hash"||Tt=="qualifier")?(ci="error","block"):Zr.top(Tt,mr,Vt)},Zr.maybeprop=function(Tt,mr,Vt){return Tt==":"?Fr(Vt,mr,"prop"):Jr(Tt,mr,Vt)},Zr.prop=function(Tt,mr,Vt){if(Tt==";")return nn(Vt);if(Tt=="{"&&Mr)return Fr(Vt,mr,"propBlock");if(Tt=="}"||Tt=="{")return pn(Tt,mr,Vt);if(Tt=="(")return Fr(Vt,mr,"parens");if(Tt=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(mr.current()))ci+=" error";else if(Tt=="word")jn(mr);else if(Tt=="interpolation")return Fr(Vt,mr,"interpolation");return"prop"},Zr.propBlock=function(Tt,mr,Vt){return Tt=="}"?nn(Vt):Tt=="word"?(ci="property","maybeprop"):Vt.context.type},Zr.parens=function(Tt,mr,Vt){return Tt=="{"||Tt=="}"?pn(Tt,mr,Vt):Tt==")"?nn(Vt):Tt=="("?Fr(Vt,mr,"parens"):Tt=="interpolation"?Fr(Vt,mr,"interpolation"):(Tt=="word"&&jn(mr),"parens")},Zr.pseudo=function(Tt,mr,Vt){return Tt=="meta"?"pseudo":Tt=="word"?(ci="variable-3",Vt.context.type):Jr(Tt,mr,Vt)},Zr.documentTypes=function(Tt,mr,Vt){return Tt=="word"&&Ee.hasOwnProperty(mr.current())?(ci="tag",Vt.context.type):Zr.atBlock(Tt,mr,Vt)},Zr.atBlock=function(Tt,mr,Vt){if(Tt=="(")return Fr(Vt,mr,"atBlock_parens");if(Tt=="}"||Tt==";")return pn(Tt,mr,Vt);if(Tt=="{")return nn(Vt)&&Fr(Vt,mr,Mr?"block":"top");if(Tt=="interpolation")return Fr(Vt,mr,"interpolation");if(Tt=="word"){var Wn=mr.current().toLowerCase();Wn=="only"||Wn=="not"||Wn=="and"||Wn=="or"?ci="keyword":tn.hasOwnProperty(Wn)?ci="attribute":ur.hasOwnProperty(Wn)?ci="property":kn.hasOwnProperty(Wn)?ci="keyword":ti.hasOwnProperty(Wn)?ci="property":Vi.hasOwnProperty(Wn)?ci=cn?"string-2":"property":ts.hasOwnProperty(Wn)?ci="atom":es.hasOwnProperty(Wn)?ci="keyword":ci="error"}return Vt.context.type},Zr.atComponentBlock=function(Tt,mr,Vt){return Tt=="}"?pn(Tt,mr,Vt):Tt=="{"?nn(Vt)&&Fr(Vt,mr,Mr?"block":"top",!1):(Tt=="word"&&(ci="error"),Vt.context.type)},Zr.atBlock_parens=function(Tt,mr,Vt){return Tt==")"?nn(Vt):Tt=="{"||Tt=="}"?pn(Tt,mr,Vt,2):Zr.atBlock(Tt,mr,Vt)},Zr.restricted_atBlock_before=function(Tt,mr,Vt){return Tt=="{"?Fr(Vt,mr,"restricted_atBlock"):Tt=="word"&&Vt.stateArg=="@counter-style"?(ci="variable","restricted_atBlock_before"):Jr(Tt,mr,Vt)},Zr.restricted_atBlock=function(Tt,mr,Vt){return Tt=="}"?(Vt.stateArg=null,nn(Vt)):Tt=="word"?(Vt.stateArg=="@font-face"&&!as.hasOwnProperty(mr.current().toLowerCase())||Vt.stateArg=="@counter-style"&&!fs.hasOwnProperty(mr.current().toLowerCase())?ci="error":ci="property","maybeprop"):"restricted_atBlock"},Zr.keyframes=function(Tt,mr,Vt){return Tt=="word"?(ci="variable","keyframes"):Tt=="{"?Fr(Vt,mr,"top"):Jr(Tt,mr,Vt)},Zr.at=function(Tt,mr,Vt){return Tt==";"?nn(Vt):Tt=="{"||Tt=="}"?pn(Tt,mr,Vt):(Tt=="word"?ci="tag":Tt=="hash"&&(ci="builtin"),"at")},Zr.interpolation=function(Tt,mr,Vt){return Tt=="}"?nn(Vt):Tt=="{"||Tt==";"?pn(Tt,mr,Vt):(Tt=="word"?ci="variable":Tt!="variable"&&Tt!="("&&Tt!=")"&&(ci="error"),"interpolation")},{startState:function(Tt){return{tokenize:null,state:Xn?"block":"top",stateArg:null,context:new Hr(Xn?"block":"top",Tt||0,null)}},token:function(Tt,mr){if(!mr.tokenize&&Tt.eatSpace())return null;var Vt=(mr.tokenize||Xe)(Tt,mr);return Vt&&typeof Vt=="object"&&($n=Vt[1],Vt=Vt[0]),ci=Vt,$n!="comment"&&(mr.state=Zr[mr.state]($n,Tt,mr)),ci},indent:function(Tt,mr){var Vt=Tt.context,Wn=mr&&mr.charAt(0),ki=Vt.indent;return Vt.type=="prop"&&(Wn=="}"||Wn==")")&&(Vt=Vt.prev),Vt.prev&&(Wn=="}"&&(Vt.type=="block"||Vt.type=="top"||Vt.type=="interpolation"||Vt.type=="restricted_atBlock")?(Vt=Vt.prev,ki=Vt.indent):(Wn==")"&&(Vt.type=="parens"||Vt.type=="atBlock_parens")||Wn=="{"&&(Vt.type=="at"||Vt.type=="atBlock"))&&(ki=Math.max(0,Vt.indent-hr))),ki},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:$r,fold:"brace"}});function g(mn){for(var gn={},Xn=0;Xn<mn.length;++Xn)gn[mn[Xn].toLowerCase()]=!0;return gn}var x=["domain","regexp","url","url-prefix"],S=g(x),W=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],ie=g(W),de=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],ve=g(de),De=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],Ve=g(De),tt=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],Ct=g(tt),Rt=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],$t=g(Rt),Sr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],Ze=g(Sr),ct=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],Et=g(ct),er=["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","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","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","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","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","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],gr=g(er),Pn=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","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","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","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","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","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","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","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","repeating-conic-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","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","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","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","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","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","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"],kr=g(Pn),ln=x.concat(W).concat(de).concat(De).concat(tt).concat(Rt).concat(er).concat(Pn);c.registerHelper("hintWords","css",ln);function Dn(mn,gn){for(var Xn=!1,hr;(hr=mn.next())!=null;){if(Xn&&hr=="/"){gn.tokenize=null;break}Xn=hr=="*"}return["comment","comment"]}c.defineMIME("text/css",{documentTypes:S,mediaTypes:ie,mediaFeatures:ve,mediaValueKeywords:Ve,propertyKeywords:Ct,nonStandardPropertyKeywords:$t,fontProperties:Ze,counterDescriptors:Et,colorKeywords:gr,valueKeywords:kr,tokenHooks:{"/":function(mn,gn){return mn.eat("*")?(gn.tokenize=Dn,Dn(mn,gn)):!1}},name:"css"}),c.defineMIME("text/x-scss",{mediaTypes:ie,mediaFeatures:ve,mediaValueKeywords:Ve,propertyKeywords:Ct,nonStandardPropertyKeywords:$t,colorKeywords:gr,valueKeywords:kr,fontProperties:Ze,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(mn,gn){return mn.eat("/")?(mn.skipToEnd(),["comment","comment"]):mn.eat("*")?(gn.tokenize=Dn,Dn(mn,gn)):["operator","operator"]},":":function(mn){return mn.match(/^\s*\{/,!1)?[null,null]:!1},$:function(mn){return mn.match(/^[\w-]+/),mn.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(mn){return mn.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),c.defineMIME("text/x-less",{mediaTypes:ie,mediaFeatures:ve,mediaValueKeywords:Ve,propertyKeywords:Ct,nonStandardPropertyKeywords:$t,colorKeywords:gr,valueKeywords:kr,fontProperties:Ze,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(mn,gn){return mn.eat("/")?(mn.skipToEnd(),["comment","comment"]):mn.eat("*")?(gn.tokenize=Dn,Dn(mn,gn)):["operator","operator"]},"@":function(mn){return mn.eat("{")?[null,"interpolation"]:mn.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(mn.eatWhile(/[\w\\\-]/),mn.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),c.defineMIME("text/x-gss",{documentTypes:S,mediaTypes:ie,mediaFeatures:ve,propertyKeywords:Ct,nonStandardPropertyKeywords:$t,fontProperties:Ze,counterDescriptors:Et,colorKeywords:gr,valueKeywords:kr,supportsAtComponent:!0,tokenHooks:{"/":function(mn,gn){return mn.eat("*")?(gn.tokenize=Dn,Dn(mn,gn)):!1}},name:"css",helperType:"gss"})})})();var Nm={};(function(i,h){(function(c){c(xl)})(function(c){var g={autoSelfClosers:{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},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{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}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},x={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};c.defineMode("xml",function(S,W){var ie=S.indentUnit,de={},ve=W.htmlMode?g:x;for(var De in ve)de[De]=ve[De];for(var De in W)de[De]=W[De];var Ve,tt;function Ct(Ee,tn){function ur(Vi){return tn.tokenize=Vi,Vi(Ee,tn)}var kn=Ee.next();if(kn=="<")return Ee.eat("!")?Ee.eat("[")?Ee.match("CDATA[")?ur(Sr("atom","]]>")):null:Ee.match("--")?ur(Sr("comment","-->")):Ee.match("DOCTYPE",!0,!0)?(Ee.eatWhile(/[\w\._\-]/),ur(Ze(1))):null:Ee.eat("?")?(Ee.eatWhile(/[\w\._\-]/),tn.tokenize=Sr("meta","?>"),"meta"):(Ve=Ee.eat("/")?"closeTag":"openTag",tn.tokenize=Rt,"tag bracket");if(kn=="&"){var ti;return Ee.eat("#")?Ee.eat("x")?ti=Ee.eatWhile(/[a-fA-F\d]/)&&Ee.eat(";"):ti=Ee.eatWhile(/[\d]/)&&Ee.eat(";"):ti=Ee.eatWhile(/[\w\.\-:]/)&&Ee.eat(";"),ti?"atom":"error"}else return Ee.eatWhile(/[^&<]/),null}Ct.isInText=!0;function Rt(Ee,tn){var ur=Ee.next();if(ur==">"||ur=="/"&&Ee.eat(">"))return tn.tokenize=Ct,Ve=ur==">"?"endTag":"selfcloseTag","tag bracket";if(ur=="=")return Ve="equals",null;if(ur=="<"){tn.tokenize=Ct,tn.state=Pn,tn.tagName=tn.tagStart=null;var kn=tn.tokenize(Ee,tn);return kn?kn+" tag error":"tag error"}else return/[\'\"]/.test(ur)?(tn.tokenize=$t(ur),tn.stringStartCol=Ee.column(),tn.tokenize(Ee,tn)):(Ee.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function $t(Ee){var tn=function(ur,kn){for(;!ur.eol();)if(ur.next()==Ee){kn.tokenize=Rt;break}return"string"};return tn.isInAttribute=!0,tn}function Sr(Ee,tn){return function(ur,kn){for(;!ur.eol();){if(ur.match(tn)){kn.tokenize=Ct;break}ur.next()}return Ee}}function Ze(Ee){return function(tn,ur){for(var kn;(kn=tn.next())!=null;){if(kn=="<")return ur.tokenize=Ze(Ee+1),ur.tokenize(tn,ur);if(kn==">")if(Ee==1){ur.tokenize=Ct;break}else return ur.tokenize=Ze(Ee-1),ur.tokenize(tn,ur)}return"meta"}}function ct(Ee){return Ee&&Ee.toLowerCase()}function Et(Ee,tn,ur){this.prev=Ee.context,this.tagName=tn||"",this.indent=Ee.indented,this.startOfLine=ur,(de.doNotIndent.hasOwnProperty(tn)||Ee.context&&Ee.context.noIndent)&&(this.noIndent=!0)}function er(Ee){Ee.context&&(Ee.context=Ee.context.prev)}function gr(Ee,tn){for(var ur;;){if(!Ee.context||(ur=Ee.context.tagName,!de.contextGrabbers.hasOwnProperty(ct(ur))||!de.contextGrabbers[ct(ur)].hasOwnProperty(ct(tn))))return;er(Ee)}}function Pn(Ee,tn,ur){return Ee=="openTag"?(ur.tagStart=tn.column(),kr):Ee=="closeTag"?ln:Pn}function kr(Ee,tn,ur){return Ee=="word"?(ur.tagName=tn.current(),tt="tag",gn):de.allowMissingTagName&&Ee=="endTag"?(tt="tag bracket",gn(Ee,tn,ur)):(tt="error",kr)}function ln(Ee,tn,ur){if(Ee=="word"){var kn=tn.current();return ur.context&&ur.context.tagName!=kn&&de.implicitlyClosed.hasOwnProperty(ct(ur.context.tagName))&&er(ur),ur.context&&ur.context.tagName==kn||de.matchClosing===!1?(tt="tag",Dn):(tt="tag error",mn)}else return de.allowMissingTagName&&Ee=="endTag"?(tt="tag bracket",Dn(Ee,tn,ur)):(tt="error",mn)}function Dn(Ee,tn,ur){return Ee!="endTag"?(tt="error",Dn):(er(ur),Pn)}function mn(Ee,tn,ur){return tt="error",Dn(Ee,tn,ur)}function gn(Ee,tn,ur){if(Ee=="word")return tt="attribute",Xn;if(Ee=="endTag"||Ee=="selfcloseTag"){var kn=ur.tagName,ti=ur.tagStart;return ur.tagName=ur.tagStart=null,Ee=="selfcloseTag"||de.autoSelfClosers.hasOwnProperty(ct(kn))?gr(ur,kn):(gr(ur,kn),ur.context=new Et(ur,kn,ti==ur.indented)),Pn}return tt="error",gn}function Xn(Ee,tn,ur){return Ee=="equals"?hr:(de.allowMissing||(tt="error"),gn(Ee,tn,ur))}function hr(Ee,tn,ur){return Ee=="string"?Tn:Ee=="word"&&de.allowUnquoted?(tt="string",gn):(tt="error",gn(Ee,tn,ur))}function Tn(Ee,tn,ur){return Ee=="string"?Tn:gn(Ee,tn,ur)}return{startState:function(Ee){var tn={tokenize:Ct,state:Pn,indented:Ee||0,tagName:null,tagStart:null,context:null};return Ee!=null&&(tn.baseIndent=Ee),tn},token:function(Ee,tn){if(!tn.tagName&&Ee.sol()&&(tn.indented=Ee.indentation()),Ee.eatSpace())return null;Ve=null;var ur=tn.tokenize(Ee,tn);return(ur||Ve)&&ur!="comment"&&(tt=null,tn.state=tn.state(Ve||ur,Ee,tn),tt&&(ur=tt=="error"?ur+" error":tt)),ur},indent:function(Ee,tn,ur){var kn=Ee.context;if(Ee.tokenize.isInAttribute)return Ee.tagStart==Ee.indented?Ee.stringStartCol+1:Ee.indented+ie;if(kn&&kn.noIndent)return c.Pass;if(Ee.tokenize!=Rt&&Ee.tokenize!=Ct)return ur?ur.match(/^(\s*)/)[0].length:0;if(Ee.tagName)return de.multilineTagIndentPastTag!==!1?Ee.tagStart+Ee.tagName.length+2:Ee.tagStart+ie*(de.multilineTagIndentFactor||1);if(de.alignCDATA&&/<!\[CDATA\[/.test(tn))return 0;var ti=tn&&/^<(\/)?([\w_:\.-]*)/.exec(tn);if(ti&&ti[1])for(;kn;)if(kn.tagName==ti[2]){kn=kn.prev;break}else if(de.implicitlyClosed.hasOwnProperty(ct(kn.tagName)))kn=kn.prev;else break;else if(ti)for(;kn;){var Vi=de.contextGrabbers[ct(kn.tagName)];if(Vi&&Vi.hasOwnProperty(ct(ti[2])))kn=kn.prev;else break}for(;kn&&kn.prev&&!kn.startOfLine;)kn=kn.prev;return kn?kn.indent+ie:Ee.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:de.htmlMode?"html":"xml",helperType:de.htmlMode?"html":"xml",skipAttribute:function(Ee){Ee.state==hr&&(Ee.state=gn)},xmlCurrentTag:function(Ee){return Ee.tagName?{name:Ee.tagName,close:Ee.type=="closeTag"}:null},xmlCurrentContext:function(Ee){for(var tn=[],ur=Ee.context;ur;ur=ur.prev)tn.push(ur.tagName);return tn.reverse()}}}),c.defineMIME("text/xml","xml"),c.defineMIME("application/xml","xml"),c.mimeModes.hasOwnProperty("text/html")||c.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();(function(i,h){(function(c){c(xl,Nm,Pm,HD)})(function(c){var g={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function x(Ve,tt,Ct){var Rt=Ve.current(),$t=Rt.search(tt);return $t>-1?Ve.backUp(Rt.length-$t):Rt.match(/<\/?$/)&&(Ve.backUp(Rt.length),Ve.match(tt,!1)||Ve.match(Rt)),Ct}var S={};function W(Ve){var tt=S[Ve];return tt||(S[Ve]=new RegExp("\\s+"+Ve+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function ie(Ve,tt){var Ct=Ve.match(W(tt));return Ct?/^\s*(.*?)\s*$/.exec(Ct[2])[1]:""}function de(Ve,tt){return new RegExp((tt?"^":"")+"</\\s*"+Ve+"\\s*>","i")}function ve(Ve,tt){for(var Ct in Ve)for(var Rt=tt[Ct]||(tt[Ct]=[]),$t=Ve[Ct],Sr=$t.length-1;Sr>=0;Sr--)Rt.unshift($t[Sr])}function De(Ve,tt){for(var Ct=0;Ct<Ve.length;Ct++){var Rt=Ve[Ct];if(!Rt[0]||Rt[1].test(ie(tt,Rt[0])))return Rt[2]}}c.defineMode("htmlmixed",function(Ve,tt){var Ct=c.getMode(Ve,{name:"xml",htmlMode:!0,multilineTagIndentFactor:tt.multilineTagIndentFactor,multilineTagIndentPastTag:tt.multilineTagIndentPastTag,allowMissingTagName:tt.allowMissingTagName}),Rt={},$t=tt&&tt.tags,Sr=tt&&tt.scriptTypes;if(ve(g,Rt),$t&&ve($t,Rt),Sr)for(var Ze=Sr.length-1;Ze>=0;Ze--)Rt.script.unshift(["type",Sr[Ze].matches,Sr[Ze].mode]);function ct(Et,er){var gr=Ct.token(Et,er.htmlState),Pn=/\btag\b/.test(gr),kr;if(Pn&&!/[<>\s\/]/.test(Et.current())&&(kr=er.htmlState.tagName&&er.htmlState.tagName.toLowerCase())&&Rt.hasOwnProperty(kr))er.inTag=kr+" ";else if(er.inTag&&Pn&&/>$/.test(Et.current())){var ln=/^([\S]+) (.*)/.exec(er.inTag);er.inTag=null;var Dn=Et.current()==">"&&De(Rt[ln[1]],ln[2]),mn=c.getMode(Ve,Dn),gn=de(ln[1],!0),Xn=de(ln[1],!1);er.token=function(hr,Tn){return hr.match(gn,!1)?(Tn.token=ct,Tn.localState=Tn.localMode=null,null):x(hr,Xn,Tn.localMode.token(hr,Tn.localState))},er.localMode=mn,er.localState=c.startState(mn,Ct.indent(er.htmlState,"",""))}else er.inTag&&(er.inTag+=Et.current(),Et.eol()&&(er.inTag+=" "));return gr}return{startState:function(){var Et=c.startState(Ct);return{token:ct,inTag:null,localMode:null,localState:null,htmlState:Et}},copyState:function(Et){var er;return Et.localState&&(er=c.copyState(Et.localMode,Et.localState)),{token:Et.token,inTag:Et.inTag,localMode:Et.localMode,localState:er,htmlState:c.copyState(Ct,Et.htmlState)}},token:function(Et,er){return er.token(Et,er)},indent:function(Et,er,gr){return!Et.localMode||/^\s*<\//.test(er)?Ct.indent(Et.htmlState,er,gr):Et.localMode.indent?Et.localMode.indent(Et.localState,er,gr):c.Pass},innerMode:function(Et){return{state:Et.localState||Et.htmlState,mode:Et.localMode||Ct}}}},"xml","javascript","css"),c.defineMIME("text/html","htmlmixed")})})();(function(i,h){(function(c){c(xl,Nm,Pm)})(function(c){function g(S,W,ie,de){this.state=S,this.mode=W,this.depth=ie,this.prev=de}function x(S){return new g(c.copyState(S.mode,S.state),S.mode,S.depth,S.prev&&x(S.prev))}c.defineMode("jsx",function(S,W){var ie=c.getMode(S,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),de=c.getMode(S,W&&W.base||"javascript");function ve(Ct){var Rt=Ct.tagName;Ct.tagName=null;var $t=ie.indent(Ct,"","");return Ct.tagName=Rt,$t}function De(Ct,Rt){return Rt.context.mode==ie?Ve(Ct,Rt,Rt.context):tt(Ct,Rt,Rt.context)}function Ve(Ct,Rt,$t){if($t.depth==2)return Ct.match(/^.*?\*\//)?$t.depth=1:Ct.skipToEnd(),"comment";if(Ct.peek()=="{"){ie.skipAttribute($t.state);var Sr=ve($t.state),Ze=$t.state.context;if(Ze&&Ct.match(/^[^>]*>\s*$/,!1)){for(;Ze.prev&&!Ze.startOfLine;)Ze=Ze.prev;Ze.startOfLine?Sr-=S.indentUnit:$t.prev.state.lexical&&(Sr=$t.prev.state.lexical.indented)}else $t.depth==1&&(Sr+=S.indentUnit);return Rt.context=new g(c.startState(de,Sr),de,0,Rt.context),null}if($t.depth==1){if(Ct.peek()=="<")return ie.skipAttribute($t.state),Rt.context=new g(c.startState(ie,ve($t.state)),ie,0,Rt.context),null;if(Ct.match("//"))return Ct.skipToEnd(),"comment";if(Ct.match("/*"))return $t.depth=2,De(Ct,Rt)}var ct=ie.token(Ct,$t.state),Et=Ct.current(),er;return/\btag\b/.test(ct)?/>$/.test(Et)?$t.state.context?$t.depth=0:Rt.context=Rt.context.prev:/^</.test(Et)&&($t.depth=1):!ct&&(er=Et.indexOf("{"))>-1&&Ct.backUp(Et.length-er),ct}function tt(Ct,Rt,$t){if(Ct.peek()=="<"&&de.expressionAllowed(Ct,$t.state))return Rt.context=new g(c.startState(ie,de.indent($t.state,"","")),ie,0,Rt.context),de.skipExpression($t.state),null;var Sr=de.token(Ct,$t.state);if(!Sr&&$t.depth!=null){var Ze=Ct.current();Ze=="{"?$t.depth++:Ze=="}"&&--$t.depth==0&&(Rt.context=Rt.context.prev)}return Sr}return{startState:function(){return{context:new g(c.startState(de),de)}},copyState:function(Ct){return{context:x(Ct.context)}},token:De,indent:function(Ct,Rt,$t){return Ct.context.mode.indent(Ct.context.state,Rt,$t)},innerMode:function(Ct){return Ct.context}}},"xml","javascript"),c.defineMIME("text/jsx","jsx"),c.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(i,h){(function(c){c(xl)})(function(c){c.defineOption("placeholder","",function(ve,De,Ve){var tt=Ve&&Ve!=c.Init;if(De&&!tt)ve.on("blur",W),ve.on("change",ie),ve.on("swapDoc",ie),c.on(ve.getInputField(),"compositionupdate",ve.state.placeholderCompose=function(){S(ve)}),ie(ve);else if(!De&&tt){ve.off("blur",W),ve.off("change",ie),ve.off("swapDoc",ie),c.off(ve.getInputField(),"compositionupdate",ve.state.placeholderCompose),g(ve);var Ct=ve.getWrapperElement();Ct.className=Ct.className.replace(" CodeMirror-empty","")}De&&!ve.hasFocus()&&W(ve)});function g(ve){ve.state.placeholder&&(ve.state.placeholder.parentNode.removeChild(ve.state.placeholder),ve.state.placeholder=null)}function x(ve){g(ve);var De=ve.state.placeholder=document.createElement("pre");De.style.cssText="height: 0; overflow: visible",De.style.direction=ve.getOption("direction"),De.className="CodeMirror-placeholder CodeMirror-line-like";var Ve=ve.getOption("placeholder");typeof Ve=="string"&&(Ve=document.createTextNode(Ve)),De.appendChild(Ve),ve.display.lineSpace.insertBefore(De,ve.display.lineSpace.firstChild)}function S(ve){setTimeout(function(){var De=!1;if(ve.lineCount()==1){var Ve=ve.getInputField();De=Ve.nodeName=="TEXTAREA"?!ve.getLine(0).length:!/[^\u200b]/.test(Ve.querySelector(".CodeMirror-line").textContent)}De?x(ve):g(ve)},20)}function W(ve){de(ve)&&x(ve)}function ie(ve){var De=ve.getWrapperElement(),Ve=de(ve);De.className=De.className.replace(" CodeMirror-empty","")+(Ve?" CodeMirror-empty":""),Ve?x(ve):g(ve)}function de(ve){return ve.lineCount()===1&&ve.getLine(0)===""}})})();(function(i,h){(function(c){c(xl)})(function(c){var g="CodeMirror-hint",x="CodeMirror-hint-active";c.showHint=function(Ze,ct,Et){if(!ct)return Ze.showHint(Et);Et&&Et.async&&(ct.async=!0);var er={hint:ct};if(Et)for(var gr in Et)er[gr]=Et[gr];return Ze.showHint(er)},c.defineExtension("showHint",function(Ze){Ze=de(this,this.getCursor("start"),Ze);var ct=this.listSelections();if(!(ct.length>1)){if(this.somethingSelected()){if(!Ze.hint.supportsSelection)return;for(var Et=0;Et<ct.length;Et++)if(ct[Et].head.line!=ct[Et].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var er=this.state.completionActive=new S(this,Ze);!er.options.hint||(c.signal(this,"startCompletion",this),er.update(!0))}}),c.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function S(Ze,ct){if(this.cm=Ze,this.options=ct,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var Et=this;Ze.on("cursorActivity",this.activityFunc=function(){Et.cursorActivity()})}}var W=window.requestAnimationFrame||function(Ze){return setTimeout(Ze,1e3/60)},ie=window.cancelAnimationFrame||clearTimeout;S.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&c.signal(this.data,"close"),this.widget&&this.widget.close(),c.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(Ze,ct){var Et=Ze.list[ct],er=this;this.cm.operation(function(){Et.hint?Et.hint(er.cm,Ze,Et):er.cm.replaceRange(ve(Et),Et.from||Ze.from,Et.to||Ze.to,"complete"),c.signal(Ze,"pick",Et),er.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(ie(this.debounce),this.debounce=0);var Ze=this.startPos;this.data&&(Ze=this.data.from);var ct=this.cm.getCursor(),Et=this.cm.getLine(ct.line);if(ct.line!=this.startPos.line||Et.length-ct.ch!=this.startLen-this.startPos.ch||ct.ch<Ze.ch||this.cm.somethingSelected()||!ct.ch||this.options.closeCharacters.test(Et.charAt(ct.ch-1)))this.close();else{var er=this;this.debounce=W(function(){er.update()}),this.widget&&this.widget.disable()}},update:function(Ze){if(this.tick!=null){var ct=this,Et=++this.tick;Rt(this.options.hint,this.cm,this.options,function(er){ct.tick==Et&&ct.finishUpdate(er,Ze)})}},finishUpdate:function(Ze,ct){this.data&&c.signal(this.data,"update");var Et=this.widget&&this.widget.picked||ct&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=Ze,Ze&&Ze.list.length&&(Et&&Ze.list.length==1?this.pick(Ze,0):(this.widget=new tt(this,Ze),c.signal(Ze,"shown")))}};function de(Ze,ct,Et){var er=Ze.options.hintOptions,gr={};for(var Pn in Sr)gr[Pn]=Sr[Pn];if(er)for(var Pn in er)er[Pn]!==void 0&&(gr[Pn]=er[Pn]);if(Et)for(var Pn in Et)Et[Pn]!==void 0&&(gr[Pn]=Et[Pn]);return gr.hint.resolve&&(gr.hint=gr.hint.resolve(Ze,ct)),gr}function ve(Ze){return typeof Ze=="string"?Ze:Ze.text}function De(Ze,ct){var Et={Up:function(){ct.moveFocus(-1)},Down:function(){ct.moveFocus(1)},PageUp:function(){ct.moveFocus(-ct.menuSize()+1,!0)},PageDown:function(){ct.moveFocus(ct.menuSize()-1,!0)},Home:function(){ct.setFocus(0)},End:function(){ct.setFocus(ct.length-1)},Enter:ct.pick,Tab:ct.pick,Esc:ct.close},er=/Mac/.test(navigator.platform);er&&(Et["Ctrl-P"]=function(){ct.moveFocus(-1)},Et["Ctrl-N"]=function(){ct.moveFocus(1)});var gr=Ze.options.customKeys,Pn=gr?{}:Et;function kr(mn,gn){var Xn;typeof gn!="string"?Xn=function(hr){return gn(hr,ct)}:Et.hasOwnProperty(gn)?Xn=Et[gn]:Xn=gn,Pn[mn]=Xn}if(gr)for(var ln in gr)gr.hasOwnProperty(ln)&&kr(ln,gr[ln]);var Dn=Ze.options.extraKeys;if(Dn)for(var ln in Dn)Dn.hasOwnProperty(ln)&&kr(ln,Dn[ln]);return Pn}function Ve(Ze,ct){for(;ct&&ct!=Ze;){if(ct.nodeName.toUpperCase()==="LI"&&ct.parentNode==Ze)return ct;ct=ct.parentNode}}function tt(Ze,ct){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=Ze,this.data=ct,this.picked=!1;var Et=this,er=Ze.cm,gr=er.getInputField().ownerDocument,Pn=gr.defaultView||gr.parentWindow,kr=this.hints=gr.createElement("ul");kr.setAttribute("role","listbox"),kr.setAttribute("aria-expanded","true"),kr.id=this.id;var ln=Ze.cm.options.theme;kr.className="CodeMirror-hints "+ln,this.selectedHint=ct.selectedHint||0;for(var Dn=ct.list,mn=0;mn<Dn.length;++mn){var gn=kr.appendChild(gr.createElement("li")),Xn=Dn[mn],hr=g+(mn!=this.selectedHint?"":" "+x);Xn.className!=null&&(hr=Xn.className+" "+hr),gn.className=hr,mn==this.selectedHint&&gn.setAttribute("aria-selected","true"),gn.id=this.id+"-"+mn,gn.setAttribute("role","option"),Xn.render?Xn.render(gn,ct,Xn):gn.appendChild(gr.createTextNode(Xn.displayText||ve(Xn))),gn.hintId=mn}var Tn=Ze.options.container||gr.body,Ee=er.cursorCoords(Ze.options.alignWithWord?ct.from:null),tn=Ee.left,ur=Ee.bottom,kn=!0,ti=0,Vi=0;if(Tn!==gr.body){var as=["absolute","relative","fixed"].indexOf(Pn.getComputedStyle(Tn).position)!==-1,fs=as?Tn:Tn.offsetParent,es=fs.getBoundingClientRect(),ts=gr.body.getBoundingClientRect();ti=es.left-ts.left-fs.scrollLeft,Vi=es.top-ts.top-fs.scrollTop}kr.style.left=tn-ti+"px",kr.style.top=ur-Vi+"px";var Mr=Pn.innerWidth||Math.max(gr.body.offsetWidth,gr.documentElement.offsetWidth),$r=Pn.innerHeight||Math.max(gr.body.offsetHeight,gr.documentElement.offsetHeight);Tn.appendChild(kr),er.getInputField().setAttribute("aria-autocomplete","list"),er.getInputField().setAttribute("aria-owns",this.id),er.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var yr=Ze.options.moveOnOverlap?kr.getBoundingClientRect():new DOMRect,cn=Ze.options.paddingForScrollbar?kr.scrollHeight>kr.clientHeight+1:!1,$n;setTimeout(function(){$n=er.getScrollInfo()});var ci=yr.bottom-$r;if(ci>0){var Mn=yr.bottom-yr.top,Xe=yr.top-(Ee.bottom-Ee.top)-2;$r-yr.top<Xe?(Mn>Xe&&(kr.style.height=(Mn=Xe)+"px"),kr.style.top=(ur=Ee.top-Mn)+Vi+"px",kn=!1):kr.style.height=$r-yr.top-2+"px"}var At=yr.right-Mr;if(cn&&(At+=er.display.nativeBarWidth),At>0&&(yr.right-yr.left>Mr&&(kr.style.width=Mr-5+"px",At-=yr.right-yr.left-Mr),kr.style.left=(tn=Math.max(Ee.left-At-ti,0))+"px"),cn)for(var wr=kr.firstChild;wr;wr=wr.nextSibling)wr.style.paddingRight=er.display.nativeBarWidth+"px";if(er.addKeyMap(this.keyMap=De(Ze,{moveFocus:function(nn,Jr){Et.changeActive(Et.selectedHint+nn,Jr)},setFocus:function(nn){Et.changeActive(nn)},menuSize:function(){return Et.screenAmount()},length:Dn.length,close:function(){Ze.close()},pick:function(){Et.pick()},data:ct})),Ze.options.closeOnUnfocus){var Hr;er.on("blur",this.onBlur=function(){Hr=setTimeout(function(){Ze.close()},100)}),er.on("focus",this.onFocus=function(){clearTimeout(Hr)})}er.on("scroll",this.onScroll=function(){var nn=er.getScrollInfo(),Jr=er.getWrapperElement().getBoundingClientRect();$n||($n=er.getScrollInfo());var pn=ur+$n.top-nn.top,jn=pn-(Pn.pageYOffset||(gr.documentElement||gr.body).scrollTop);if(kn||(jn+=kr.offsetHeight),jn<=Jr.top||jn>=Jr.bottom)return Ze.close();kr.style.top=pn+"px",kr.style.left=tn+$n.left-nn.left+"px"}),c.on(kr,"dblclick",function(nn){var Jr=Ve(kr,nn.target||nn.srcElement);Jr&&Jr.hintId!=null&&(Et.changeActive(Jr.hintId),Et.pick())}),c.on(kr,"click",function(nn){var Jr=Ve(kr,nn.target||nn.srcElement);Jr&&Jr.hintId!=null&&(Et.changeActive(Jr.hintId),Ze.options.completeOnSingleClick&&Et.pick())}),c.on(kr,"mousedown",function(){setTimeout(function(){er.focus()},20)});var Fr=this.getSelectedHintRange();return(Fr.from!==0||Fr.to!==0)&&this.scrollToActive(),c.signal(ct,"select",Dn[this.selectedHint],kr.childNodes[this.selectedHint]),!0}tt.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var Ze=this.completion.cm.getInputField();Ze.removeAttribute("aria-activedescendant"),Ze.removeAttribute("aria-owns");var ct=this.completion.cm;this.completion.options.closeOnUnfocus&&(ct.off("blur",this.onBlur),ct.off("focus",this.onFocus)),ct.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var Ze=this;this.keyMap={Enter:function(){Ze.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(Ze,ct){if(Ze>=this.data.list.length?Ze=ct?this.data.list.length-1:0:Ze<0&&(Ze=ct?0:this.data.list.length-1),this.selectedHint!=Ze){var Et=this.hints.childNodes[this.selectedHint];Et&&(Et.className=Et.className.replace(" "+x,""),Et.removeAttribute("aria-selected")),Et=this.hints.childNodes[this.selectedHint=Ze],Et.className+=" "+x,Et.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Et.id),this.scrollToActive(),c.signal(this.data,"select",this.data.list[this.selectedHint],Et)}},scrollToActive:function(){var Ze=this.getSelectedHintRange(),ct=this.hints.childNodes[Ze.from],Et=this.hints.childNodes[Ze.to],er=this.hints.firstChild;ct.offsetTop<this.hints.scrollTop?this.hints.scrollTop=ct.offsetTop-er.offsetTop:Et.offsetTop+Et.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Et.offsetTop+Et.offsetHeight-this.hints.clientHeight+er.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var Ze=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-Ze),to:Math.min(this.data.list.length-1,this.selectedHint+Ze)}}};function Ct(Ze,ct){if(!Ze.somethingSelected())return ct;for(var Et=[],er=0;er<ct.length;er++)ct[er].supportsSelection&&Et.push(ct[er]);return Et}function Rt(Ze,ct,Et,er){if(Ze.async)Ze(ct,er,Et);else{var gr=Ze(ct,Et);gr&&gr.then?gr.then(er):er(gr)}}function $t(Ze,ct){var Et=Ze.getHelpers(ct,"hint"),er;if(Et.length){var gr=function(Pn,kr,ln){var Dn=Ct(Pn,Et);function mn(gn){if(gn==Dn.length)return kr(null);Rt(Dn[gn],Pn,ln,function(Xn){Xn&&Xn.list.length>0?kr(Xn):mn(gn+1)})}mn(0)};return gr.async=!0,gr.supportsSelection=!0,gr}else return(er=Ze.getHelper(Ze.getCursor(),"hintWords"))?function(Pn){return c.hint.fromList(Pn,{words:er})}:c.hint.anyword?function(Pn,kr){return c.hint.anyword(Pn,kr)}:function(){}}c.registerHelper("hint","auto",{resolve:$t}),c.registerHelper("hint","fromList",function(Ze,ct){var Et=Ze.getCursor(),er=Ze.getTokenAt(Et),gr,Pn=c.Pos(Et.line,er.start),kr=Et;er.start<Et.ch&&/\w/.test(er.string.charAt(Et.ch-er.start-1))?gr=er.string.substr(0,Et.ch-er.start):(gr="",Pn=Et);for(var ln=[],Dn=0;Dn<ct.words.length;Dn++){var mn=ct.words[Dn];mn.slice(0,gr.length)==gr&&ln.push(mn)}if(ln.length)return{list:ln,from:Pn,to:kr}}),c.commands.autocomplete=c.showHint;var Sr={hint:c.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};c.defineOption("hintOptions",null)})})();function qD(i,h,c={}){const g=UD.fromTextArea(i.value,{theme:"vars",...hs(c)});Ua(c,S=>Object.entries(S).forEach(([W,ie])=>g.setOption(W,ie)));let x=!1;return g.on("change",()=>{if(x){x=!1;return}h.value=g.getValue()}),Ua(h,S=>{if(S!==g.getValue()){x=!0;const W=g.listSelections();g.replaceRange(S,g.posFromIndex(0),g.posFromIndex(1/0)),g.setSelections(W)}},{immediate:!0}),g}const WD={relative:"","font-mono":"","text-sm":""},VD=Yu({__name:"CodeMirror",props:{modelValue:null,mode:null,readOnly:{type:Boolean},matched:null,getHint:null},emits:["update:modelValue"],setup(i,{emit:h}){const c=i,g={html:"htmlmixed",vue:"htmlmixed",svelte:"htmlmixed",js:"javascript",mjs:"javascript",cjs:"javascript",ts:{name:"javascript",typescript:!0},mts:{name:"javascript",typescript:!0},cts:{name:"javascript",typescript:!0},jsx:{name:"javascript",jsx:!0},tsx:{name:"javascript",typescript:!0,jsx:!0}},x=Ta(),S=kD(c,"modelValue",h,{passive:!0}),W=Ws(()=>g[c.mode||""]||c.mode),ie=Ws(()=>c.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),de=Ws(()=>c.getHint?{hint:c.getHint}:{});return $p(async()=>{const ve=qD(x,S,_c({...Ug(c),mode:W,hintOptions:de,extraKeys:ie}));ve.setSize("100%","100%"),c.getHint&&ve.on("keyup",(Rt,$t)=>{$t.key.match(/^[\w:-]$/)&&Rt.execCommand("autocomplete")}),setTimeout(()=>ve.refresh(),100);const De=[];function Ve(Rt,$t){De.push(ve.markText(ve.posFromIndex(Rt),ve.posFromIndex($t),{className:"highlighted"}))}function tt(){De.forEach(Rt=>Rt.clear()),$D(c.modelValue,Array.from(c.matched||[]),!0).forEach(Rt=>Ve(Rt[0],Rt[1]))}let Ct=0;Ua(()=>[c.modelValue,c.matched],async()=>{clearTimeout(Ct),c.matched&&(Ct=setTimeout(tt,200))},{immediate:!0})}),(ve,De)=>(ma(),go("div",WD,[qi("textarea",{ref_key:"el",ref:x},null,512)]))}});const Bm=(i,h)=>{const c=i.__vccOpts||i;for(const[g,x]of h)c[g]=x;return c},GD={},KD={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function JD(i,h){return ma(),go("div",KD,[Cp(i.$slots,"default")])}const XD=Bm(GD,[["render",JD]]),YD={style:{"background-color":"var(--cm-background)"},border:"l y gray/20",text:"gray/80",p1:"","min-h-30px":"","max-h-30px":"","select-none":"",flex:"","all:my-auto":""},QD={"mr-2":"","op-60":""},ZD={flex:"","gap-2":"","flex-auto":""},ev=Yu({__name:"TitleBar",props:{title:null},emits:["titleClick"],setup(i,{emit:h}){return(c,g)=>(ma(),go("div",YD,[qi("div",{flex:"",onClick:g[0]||(g[0]=x=>h("titleClick",x))},[Cp(c.$slots,"before"),qi("div",QD,jo(i.title),1)]),qi("div",ZD,[Cp(c.$slots,"default")])]))}}),tv="/@vite/client",_m=qc(),Im=qc(),rv=_m.on,Om=Im.on;kh(()=>import(tv),[]).then(i=>{const h=i.createHotContext("/");h.on("vite:beforeUpdate",c=>{c.updates.forEach(g=>{_m.trigger(g)})}),h.on("unocss:config-changed",()=>{Im.trigger()})}).catch(i=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(i)});const Wp="/__unocss_api",Lm=Hp(Wp).json(),Qh=Hp(`${Wp}/overview`,{immediate:!1}).json(),ro=Lm.data,cp=Qh.data;Om(()=>{Lm.execute(),Qh.execute()});function Sx(i){const h=Hp(Ws(()=>`${Wp}/module?id=${encodeURIComponent(hs(i))}`),{refetch:!0}).json();return Om(()=>h.execute()),rv(c=>{var g;(c.path===hs(i)||c.path===hs(i).slice(((g=ro.value)==null?void 0:g.root.length)||0))&&setTimeout(()=>{h.execute()},50)}),h}function Fx(i,h){const c=Ny(i,500);return Hp(Ws(()=>`${Wp}/repl?token=${encodeURIComponent(c.value)}&safelist=${h.value}`),{refetch:!0}).json()}const pp=Ws(()=>{if(!ro.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const i=ro.value.modules.map(g=>({full:g,path:g})),h=i.filter(g=>g.full.startsWith(ro.value.root)),c=i.filter(g=>!g.full.startsWith(ro.value.root));return h.forEach(g=>g.path=g.path.slice(ro.value.root.length+1)),{workspace:rd(h,"Project Root"),root:rd(c,"Disk Root")}});function rd(i,h){const c={name:h,children:{},items:[]};function g(x,S,W=c){if(S.length<=1){W.items.push(x);return}const ie=S.shift();W.children[ie]||(W.children[ie]={name:ie,children:{},items:[]}),g(x,S,W.children[ie])}return i.forEach(x=>{const S=x.path.split(/\//g).filter(Boolean);g(x,S)}),c}const nv={key:0,"ws-wrap":""},iv=qi("span",{op80:""},".",-1),sv={key:1},av=Yu({__name:"ModuleId",props:{id:null},setup(i){return(h,c)=>i.id&&hs(ro)?(ma(),go("span",nv,[i.id.startsWith(hs(ro).root)?(ma(),go(Ro,{key:0},[iv,qi("span",null,jo(i.id.slice(hs(ro).root.length)),1)],64)):(ma(),go("span",sv,jo(i.id),1))])):wp("",!0)}}),ov=(i,h)=>{const c=Ta(null);return yD(i,()=>{var x;const g=(x=Xh(i))==null?void 0:x.clientHeight;c.value=g?`--${h}: calc(100vh - ${g}px - 2px);`:null}),c};var Eh={},uv={get exports(){return Eh},set exports(i){Eh=i}};(function(i,h){(function(c){i.exports=c()})(function(){var c=(_e,ue)=>()=>(ue||_e((ue={exports:{}}).exports,ue),ue.exports),g=c((_e,ue)=>{var re=function(xe){return xe&&xe.Math==Math&&xe};ue.exports=re(typeof globalThis=="object"&&globalThis)||re(typeof window=="object"&&window)||re(typeof self=="object"&&self)||re(typeof vl=="object"&&vl)||function(){return this}()||Function("return this")()}),x=c((_e,ue)=>{ue.exports=function(re){try{return!!re()}catch{return!0}}}),S=c((_e,ue)=>{var re=x();ue.exports=!re(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),W=c((_e,ue)=>{var re=x();ue.exports=!re(function(){var xe=function(){}.bind();return typeof xe!="function"||xe.hasOwnProperty("prototype")})}),ie=c((_e,ue)=>{var re=W(),xe=Function.prototype.call;ue.exports=re?xe.bind(xe):function(){return xe.apply(xe,arguments)}}),de=c(_e=>{var ue={}.propertyIsEnumerable,re=Object.getOwnPropertyDescriptor,xe=re&&!ue.call({1:2},1);_e.f=xe?function(Fe){var Re=re(this,Fe);return!!Re&&Re.enumerable}:ue}),ve=c((_e,ue)=>{ue.exports=function(re,xe){return{enumerable:!(re&1),configurable:!(re&2),writable:!(re&4),value:xe}}}),De=c((_e,ue)=>{var re=W(),xe=Function.prototype,Fe=xe.bind,Re=xe.call,Qe=re&&Fe.bind(Re,Re);ue.exports=re?function(it){return it&&Qe(it)}:function(it){return it&&function(){return Re.apply(it,arguments)}}}),Ve=c((_e,ue)=>{var re=De(),xe=re({}.toString),Fe=re("".slice);ue.exports=function(Re){return Fe(xe(Re),8,-1)}}),tt=c((_e,ue)=>{var re=g(),xe=De(),Fe=x(),Re=Ve(),Qe=re.Object,it=xe("".split);ue.exports=Fe(function(){return!Qe("z").propertyIsEnumerable(0)})?function(Ft){return Re(Ft)=="String"?it(Ft,""):Qe(Ft)}:Qe}),Ct=c((_e,ue)=>{var re=g(),xe=re.TypeError;ue.exports=function(Fe){if(Fe==null)throw xe("Can't call method on "+Fe);return Fe}}),Rt=c((_e,ue)=>{var re=tt(),xe=Ct();ue.exports=function(Fe){return re(xe(Fe))}}),$t=c((_e,ue)=>{ue.exports=function(re){return typeof re=="function"}}),Sr=c((_e,ue)=>{var re=$t();ue.exports=function(xe){return typeof xe=="object"?xe!==null:re(xe)}}),Ze=c((_e,ue)=>{var re=g(),xe=$t(),Fe=function(Re){return xe(Re)?Re:void 0};ue.exports=function(Re,Qe){return arguments.length<2?Fe(re[Re]):re[Re]&&re[Re][Qe]}}),ct=c((_e,ue)=>{var re=De();ue.exports=re({}.isPrototypeOf)}),Et=c((_e,ue)=>{var re=Ze();ue.exports=re("navigator","userAgent")||""}),er=c((_e,ue)=>{var re=g(),xe=Et(),Fe=re.process,Re=re.Deno,Qe=Fe&&Fe.versions||Re&&Re.version,it=Qe&&Qe.v8,Ft,Qt;it&&(Ft=it.split("."),Qt=Ft[0]>0&&Ft[0]<4?1:+(Ft[0]+Ft[1])),!Qt&&xe&&(Ft=xe.match(/Edge\/(\d+)/),(!Ft||Ft[1]>=74)&&(Ft=xe.match(/Chrome\/(\d+)/),Ft&&(Qt=+Ft[1]))),ue.exports=Qt}),gr=c((_e,ue)=>{var re=er(),xe=x();ue.exports=!!Object.getOwnPropertySymbols&&!xe(function(){var Fe=Symbol();return!String(Fe)||!(Object(Fe)instanceof Symbol)||!Symbol.sham&&re&&re<41})}),Pn=c((_e,ue)=>{var re=gr();ue.exports=re&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),kr=c((_e,ue)=>{var re=g(),xe=Ze(),Fe=$t(),Re=ct(),Qe=Pn(),it=re.Object;ue.exports=Qe?function(Ft){return typeof Ft=="symbol"}:function(Ft){var Qt=xe("Symbol");return Fe(Qt)&&Re(Qt.prototype,it(Ft))}}),ln=c((_e,ue)=>{var re=g(),xe=re.String;ue.exports=function(Fe){try{return xe(Fe)}catch{return"Object"}}}),Dn=c((_e,ue)=>{var re=g(),xe=$t(),Fe=ln(),Re=re.TypeError;ue.exports=function(Qe){if(xe(Qe))return Qe;throw Re(Fe(Qe)+" is not a function")}}),mn=c((_e,ue)=>{var re=Dn();ue.exports=function(xe,Fe){var Re=xe[Fe];return Re==null?void 0:re(Re)}}),gn=c((_e,ue)=>{var re=g(),xe=ie(),Fe=$t(),Re=Sr(),Qe=re.TypeError;ue.exports=function(it,Ft){var Qt,sr;if(Ft==="string"&&Fe(Qt=it.toString)&&!Re(sr=xe(Qt,it))||Fe(Qt=it.valueOf)&&!Re(sr=xe(Qt,it))||Ft!=="string"&&Fe(Qt=it.toString)&&!Re(sr=xe(Qt,it)))return sr;throw Qe("Can't convert object to primitive value")}}),Xn=c((_e,ue)=>{ue.exports=!1}),hr=c((_e,ue)=>{var re=g(),xe=Object.defineProperty;ue.exports=function(Fe,Re){try{xe(re,Fe,{value:Re,configurable:!0,writable:!0})}catch{re[Fe]=Re}return Re}}),Tn=c((_e,ue)=>{var re=g(),xe=hr(),Fe="__core-js_shared__",Re=re[Fe]||xe(Fe,{});ue.exports=Re}),Ee=c((_e,ue)=>{var re=Xn(),xe=Tn();(ue.exports=function(Fe,Re){return xe[Fe]||(xe[Fe]=Re!==void 0?Re:{})})("versions",[]).push({version:"3.22.2",mode:re?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),tn=c((_e,ue)=>{var re=g(),xe=Ct(),Fe=re.Object;ue.exports=function(Re){return Fe(xe(Re))}}),ur=c((_e,ue)=>{var re=De(),xe=tn(),Fe=re({}.hasOwnProperty);ue.exports=Object.hasOwn||function(Re,Qe){return Fe(xe(Re),Qe)}}),kn=c((_e,ue)=>{var re=De(),xe=0,Fe=Math.random(),Re=re(1 .toString);ue.exports=function(Qe){return"Symbol("+(Qe===void 0?"":Qe)+")_"+Re(++xe+Fe,36)}}),ti=c((_e,ue)=>{var re=g(),xe=Ee(),Fe=ur(),Re=kn(),Qe=gr(),it=Pn(),Ft=xe("wks"),Qt=re.Symbol,sr=Qt&&Qt.for,Nt=it?Qt:Qt&&Qt.withoutSetter||Re;ue.exports=function(Nr){if(!Fe(Ft,Nr)||!(Qe||typeof Ft[Nr]=="string")){var Yr="Symbol."+Nr;Qe&&Fe(Qt,Nr)?Ft[Nr]=Qt[Nr]:it&&sr?Ft[Nr]=sr(Yr):Ft[Nr]=Nt(Yr)}return Ft[Nr]}}),Vi=c((_e,ue)=>{var re=g(),xe=ie(),Fe=Sr(),Re=kr(),Qe=mn(),it=gn(),Ft=ti(),Qt=re.TypeError,sr=Ft("toPrimitive");ue.exports=function(Nt,Nr){if(!Fe(Nt)||Re(Nt))return Nt;var Yr=Qe(Nt,sr),Be;if(Yr){if(Nr===void 0&&(Nr="default"),Be=xe(Yr,Nt,Nr),!Fe(Be)||Re(Be))return Be;throw Qt("Can't convert object to primitive value")}return Nr===void 0&&(Nr="number"),it(Nt,Nr)}}),as=c((_e,ue)=>{var re=Vi(),xe=kr();ue.exports=function(Fe){var Re=re(Fe,"string");return xe(Re)?Re:Re+""}}),fs=c((_e,ue)=>{var re=g(),xe=Sr(),Fe=re.document,Re=xe(Fe)&&xe(Fe.createElement);ue.exports=function(Qe){return Re?Fe.createElement(Qe):{}}}),es=c((_e,ue)=>{var re=S(),xe=x(),Fe=fs();ue.exports=!re&&!xe(function(){return Object.defineProperty(Fe("div"),"a",{get:function(){return 7}}).a!=7})}),ts=c(_e=>{var ue=S(),re=ie(),xe=de(),Fe=ve(),Re=Rt(),Qe=as(),it=ur(),Ft=es(),Qt=Object.getOwnPropertyDescriptor;_e.f=ue?Qt:function(sr,Nt){if(sr=Re(sr),Nt=Qe(Nt),Ft)try{return Qt(sr,Nt)}catch{}if(it(sr,Nt))return Fe(!re(xe.f,sr,Nt),sr[Nt])}}),Mr=c((_e,ue)=>{var re=S(),xe=x();ue.exports=re&&xe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),$r=c((_e,ue)=>{var re=g(),xe=Sr(),Fe=re.String,Re=re.TypeError;ue.exports=function(Qe){if(xe(Qe))return Qe;throw Re(Fe(Qe)+" is not an object")}}),yr=c(_e=>{var ue=g(),re=S(),xe=es(),Fe=Mr(),Re=$r(),Qe=as(),it=ue.TypeError,Ft=Object.defineProperty,Qt=Object.getOwnPropertyDescriptor,sr="enumerable",Nt="configurable",Nr="writable";_e.f=re?Fe?function(Yr,Be,xr){if(Re(Yr),Be=Qe(Be),Re(xr),typeof Yr=="function"&&Be==="prototype"&&"value"in xr&&Nr in xr&&!xr[Nr]){var Sn=Qt(Yr,Be);Sn&&Sn[Nr]&&(Yr[Be]=xr.value,xr={configurable:Nt in xr?xr[Nt]:Sn[Nt],enumerable:sr in xr?xr[sr]:Sn[sr],writable:!1})}return Ft(Yr,Be,xr)}:Ft:function(Yr,Be,xr){if(Re(Yr),Be=Qe(Be),Re(xr),xe)try{return Ft(Yr,Be,xr)}catch{}if("get"in xr||"set"in xr)throw it("Accessors not supported");return"value"in xr&&(Yr[Be]=xr.value),Yr}}),cn=c((_e,ue)=>{var re=S(),xe=yr(),Fe=ve();ue.exports=re?function(Re,Qe,it){return xe.f(Re,Qe,Fe(1,it))}:function(Re,Qe,it){return Re[Qe]=it,Re}}),$n=c((_e,ue)=>{var re=De(),xe=$t(),Fe=Tn(),Re=re(Function.toString);xe(Fe.inspectSource)||(Fe.inspectSource=function(Qe){return Re(Qe)}),ue.exports=Fe.inspectSource}),ci=c((_e,ue)=>{var re=g(),xe=$t(),Fe=$n(),Re=re.WeakMap;ue.exports=xe(Re)&&/native code/.test(Fe(Re))}),Mn=c((_e,ue)=>{var re=Ee(),xe=kn(),Fe=re("keys");ue.exports=function(Re){return Fe[Re]||(Fe[Re]=xe(Re))}}),Xe=c((_e,ue)=>{ue.exports={}}),At=c((_e,ue)=>{var re=ci(),xe=g(),Fe=De(),Re=Sr(),Qe=cn(),it=ur(),Ft=Tn(),Qt=Mn(),sr=Xe(),Nt="Object already initialized",Nr=xe.TypeError,Yr=xe.WeakMap,Be,xr,Sn,bi=function(di){return Sn(di)?xr(di):Be(di,{})},ui=function(di){return function(ms){var ws;if(!Re(ms)||(ws=xr(ms)).type!==di)throw Nr("Incompatible receiver, "+di+" required");return ws}};re||Ft.state?(vn=Ft.state||(Ft.state=new Yr),ns=Fe(vn.get),Fs=Fe(vn.has),at=Fe(vn.set),Be=function(di,ms){if(Fs(vn,di))throw new Nr(Nt);return ms.facade=di,at(vn,di,ms),ms},xr=function(di){return ns(vn,di)||{}},Sn=function(di){return Fs(vn,di)}):(hn=Qt("state"),sr[hn]=!0,Be=function(di,ms){if(it(di,hn))throw new Nr(Nt);return ms.facade=di,Qe(di,hn,ms),ms},xr=function(di){return it(di,hn)?di[hn]:{}},Sn=function(di){return it(di,hn)});var vn,ns,Fs,at,hn;ue.exports={set:Be,get:xr,has:Sn,enforce:bi,getterFor:ui}}),wr=c((_e,ue)=>{var re=S(),xe=ur(),Fe=Function.prototype,Re=re&&Object.getOwnPropertyDescriptor,Qe=xe(Fe,"name"),it=Qe&&function(){}.name==="something",Ft=Qe&&(!re||re&&Re(Fe,"name").configurable);ue.exports={EXISTS:Qe,PROPER:it,CONFIGURABLE:Ft}}),Hr=c((_e,ue)=>{var re=g(),xe=$t(),Fe=ur(),Re=cn(),Qe=hr(),it=$n(),Ft=At(),Qt=wr().CONFIGURABLE,sr=Ft.get,Nt=Ft.enforce,Nr=String(String).split("String");(ue.exports=function(Yr,Be,xr,Sn){var bi=Sn?!!Sn.unsafe:!1,ui=Sn?!!Sn.enumerable:!1,vn=Sn?!!Sn.noTargetGet:!1,ns=Sn&&Sn.name!==void 0?Sn.name:Be,Fs;if(xe(xr)&&(String(ns).slice(0,7)==="Symbol("&&(ns="["+String(ns).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Fe(xr,"name")||Qt&&xr.name!==ns)&&Re(xr,"name",ns),Fs=Nt(xr),Fs.source||(Fs.source=Nr.join(typeof ns=="string"?ns:""))),Yr===re){ui?Yr[Be]=xr:Qe(Be,xr);return}else bi?!vn&&Yr[Be]&&(ui=!0):delete Yr[Be];ui?Yr[Be]=xr:Re(Yr,Be,xr)})(Function.prototype,"toString",function(){return xe(this)&&sr(this).source||it(this)})}),Fr=c((_e,ue)=>{var re=Math.ceil,xe=Math.floor;ue.exports=function(Fe){var Re=+Fe;return Re!==Re||Re===0?0:(Re>0?xe:re)(Re)}}),nn=c((_e,ue)=>{var re=Fr(),xe=Math.max,Fe=Math.min;ue.exports=function(Re,Qe){var it=re(Re);return it<0?xe(it+Qe,0):Fe(it,Qe)}}),Jr=c((_e,ue)=>{var re=Fr(),xe=Math.min;ue.exports=function(Fe){return Fe>0?xe(re(Fe),9007199254740991):0}}),pn=c((_e,ue)=>{var re=Jr();ue.exports=function(xe){return re(xe.length)}}),jn=c((_e,ue)=>{var re=Rt(),xe=nn(),Fe=pn(),Re=function(Qe){return function(it,Ft,Qt){var sr=re(it),Nt=Fe(sr),Nr=xe(Qt,Nt),Yr;if(Qe&&Ft!=Ft){for(;Nt>Nr;)if(Yr=sr[Nr++],Yr!=Yr)return!0}else for(;Nt>Nr;Nr++)if((Qe||Nr in sr)&&sr[Nr]===Ft)return Qe||Nr||0;return!Qe&&-1}};ue.exports={includes:Re(!0),indexOf:Re(!1)}}),Zr=c((_e,ue)=>{var re=De(),xe=ur(),Fe=Rt(),Re=jn().indexOf,Qe=Xe(),it=re([].push);ue.exports=function(Ft,Qt){var sr=Fe(Ft),Nt=0,Nr=[],Yr;for(Yr in sr)!xe(Qe,Yr)&&xe(sr,Yr)&&it(Nr,Yr);for(;Qt.length>Nt;)xe(sr,Yr=Qt[Nt++])&&(~Re(Nr,Yr)||it(Nr,Yr));return Nr}}),Tt=c((_e,ue)=>{ue.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),mr=c(_e=>{var ue=Zr(),re=Tt(),xe=re.concat("length","prototype");_e.f=Object.getOwnPropertyNames||function(Fe){return ue(Fe,xe)}}),Vt=c(_e=>{_e.f=Object.getOwnPropertySymbols}),Wn=c((_e,ue)=>{var re=Ze(),xe=De(),Fe=mr(),Re=Vt(),Qe=$r(),it=xe([].concat);ue.exports=re("Reflect","ownKeys")||function(Ft){var Qt=Fe.f(Qe(Ft)),sr=Re.f;return sr?it(Qt,sr(Ft)):Qt}}),ki=c((_e,ue)=>{var re=ur(),xe=Wn(),Fe=ts(),Re=yr();ue.exports=function(Qe,it,Ft){for(var Qt=xe(it),sr=Re.f,Nt=Fe.f,Nr=0;Nr<Qt.length;Nr++){var Yr=Qt[Nr];!re(Qe,Yr)&&!(Ft&&re(Ft,Yr))&&sr(Qe,Yr,Nt(it,Yr))}}}),ds=c((_e,ue)=>{var re=x(),xe=$t(),Fe=/#|\.prototype\./,Re=function(sr,Nt){var Nr=it[Qe(sr)];return Nr==Qt?!0:Nr==Ft?!1:xe(Nt)?re(Nt):!!Nt},Qe=Re.normalize=function(sr){return String(sr).replace(Fe,".").toLowerCase()},it=Re.data={},Ft=Re.NATIVE="N",Qt=Re.POLYFILL="P";ue.exports=Re}),Zi=c((_e,ue)=>{var re=g(),xe=ts().f,Fe=cn(),Re=Hr(),Qe=hr(),it=ki(),Ft=ds();ue.exports=function(Qt,sr){var Nt=Qt.target,Nr=Qt.global,Yr=Qt.stat,Be,xr,Sn,bi,ui,vn;if(Nr?xr=re:Yr?xr=re[Nt]||Qe(Nt,{}):xr=(re[Nt]||{}).prototype,xr)for(Sn in sr){if(ui=sr[Sn],Qt.noTargetGet?(vn=xe(xr,Sn),bi=vn&&vn.value):bi=xr[Sn],Be=Ft(Nr?Sn:Nt+(Yr?".":"#")+Sn,Qt.forced),!Be&&bi!==void 0){if(typeof ui==typeof bi)continue;it(ui,bi)}(Qt.sham||bi&&bi.sham)&&Fe(ui,"sham",!0),Re(xr,Sn,ui,Qt)}}}),Ds=c((_e,ue)=>{var re=Ve();ue.exports=Array.isArray||function(xe){return re(xe)=="Array"}}),os=c((_e,ue)=>{var re=De(),xe=Dn(),Fe=W(),Re=re(re.bind);ue.exports=function(Qe,it){return xe(Qe),it===void 0?Qe:Fe?Re(Qe,it):function(){return Qe.apply(it,arguments)}}}),ta=c((_e,ue)=>{var re=g(),xe=Ds(),Fe=pn(),Re=os(),Qe=re.TypeError,it=function(Ft,Qt,sr,Nt,Nr,Yr,Be,xr){for(var Sn=Nr,bi=0,ui=Be?Re(Be,xr):!1,vn,ns;bi<Nt;){if(bi in sr){if(vn=ui?ui(sr[bi],bi,Qt):sr[bi],Yr>0&&xe(vn))ns=Fe(vn),Sn=it(Ft,Qt,vn,ns,Sn,Yr-1)-1;else{if(Sn>=9007199254740991)throw Qe("Exceed the acceptable array length");Ft[Sn]=vn}Sn++}bi++}return Sn};ue.exports=it}),Vn=c((_e,ue)=>{var re=ti(),xe=re("toStringTag"),Fe={};Fe[xe]="z",ue.exports=String(Fe)==="[object z]"}),Cr=c((_e,ue)=>{var re=g(),xe=Vn(),Fe=$t(),Re=Ve(),Qe=ti(),it=Qe("toStringTag"),Ft=re.Object,Qt=Re(function(){return arguments}())=="Arguments",sr=function(Nt,Nr){try{return Nt[Nr]}catch{}};ue.exports=xe?Re:function(Nt){var Nr,Yr,Be;return Nt===void 0?"Undefined":Nt===null?"Null":typeof(Yr=sr(Nr=Ft(Nt),it))=="string"?Yr:Qt?Re(Nr):(Be=Re(Nr))=="Object"&&Fe(Nr.callee)?"Arguments":Be}}),Tr=c((_e,ue)=>{var re=De(),xe=x(),Fe=$t(),Re=Cr(),Qe=Ze(),it=$n(),Ft=function(){},Qt=[],sr=Qe("Reflect","construct"),Nt=/^\s*(?:class|function)\b/,Nr=re(Nt.exec),Yr=!Nt.exec(Ft),Be=function(Sn){if(!Fe(Sn))return!1;try{return sr(Ft,Qt,Sn),!0}catch{return!1}},xr=function(Sn){if(!Fe(Sn))return!1;switch(Re(Sn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Yr||!!Nr(Nt,it(Sn))}catch{return!0}};xr.sham=!0,ue.exports=!sr||xe(function(){var Sn;return Be(Be.call)||!Be(Object)||!Be(function(){Sn=!0})||Sn})?xr:Be}),vr=c((_e,ue)=>{var re=g(),xe=Ds(),Fe=Tr(),Re=Sr(),Qe=ti(),it=Qe("species"),Ft=re.Array;ue.exports=function(Qt){var sr;return xe(Qt)&&(sr=Qt.constructor,Fe(sr)&&(sr===Ft||xe(sr.prototype))?sr=void 0:Re(sr)&&(sr=sr[it],sr===null&&(sr=void 0))),sr===void 0?Ft:sr}}),Kr=c((_e,ue)=>{var re=vr();ue.exports=function(xe,Fe){return new(re(xe))(Fe===0?0:Fe)}}),_t=c(()=>{var _e=Zi(),ue=ta(),re=Dn(),xe=tn(),Fe=pn(),Re=Kr();_e({target:"Array",proto:!0},{flatMap:function(Qe){var it=xe(this),Ft=Fe(it),Qt;return re(Qe),Qt=Re(it,0),Qt.length=ue(Qt,it,it,Ft,0,1,Qe,arguments.length>1?arguments[1]:void 0),Qt}})}),Gn=c((_e,ue)=>{ue.exports={}}),Xt=c((_e,ue)=>{var re=ti(),xe=Gn(),Fe=re("iterator"),Re=Array.prototype;ue.exports=function(Qe){return Qe!==void 0&&(xe.Array===Qe||Re[Fe]===Qe)}}),On=c((_e,ue)=>{var re=Cr(),xe=mn(),Fe=Gn(),Re=ti(),Qe=Re("iterator");ue.exports=function(it){if(it!=null)return xe(it,Qe)||xe(it,"@@iterator")||Fe[re(it)]}}),fr=c((_e,ue)=>{var re=g(),xe=ie(),Fe=Dn(),Re=$r(),Qe=ln(),it=On(),Ft=re.TypeError;ue.exports=function(Qt,sr){var Nt=arguments.length<2?it(Qt):sr;if(Fe(Nt))return Re(xe(Nt,Qt));throw Ft(Qe(Qt)+" is not iterable")}}),Bt=c((_e,ue)=>{var re=ie(),xe=$r(),Fe=mn();ue.exports=function(Re,Qe,it){var Ft,Qt;xe(Re);try{if(Ft=Fe(Re,"return"),!Ft){if(Qe==="throw")throw it;return it}Ft=re(Ft,Re)}catch(sr){Qt=!0,Ft=sr}if(Qe==="throw")throw it;if(Qt)throw Ft;return xe(Ft),it}}),Me=c((_e,ue)=>{var re=g(),xe=os(),Fe=ie(),Re=$r(),Qe=ln(),it=Xt(),Ft=pn(),Qt=ct(),sr=fr(),Nt=On(),Nr=Bt(),Yr=re.TypeError,Be=function(Sn,bi){this.stopped=Sn,this.result=bi},xr=Be.prototype;ue.exports=function(Sn,bi,ui){var vn=ui&&ui.that,ns=!!(ui&&ui.AS_ENTRIES),Fs=!!(ui&&ui.IS_ITERATOR),at=!!(ui&&ui.INTERRUPTED),hn=xe(bi,vn),di,ms,ws,ji,is,ye,nt,dt=function(gi){return di&&Nr(di,"normal",gi),new Be(!0,gi)},pr=function(gi){return ns?(Re(gi),at?hn(gi[0],gi[1],dt):hn(gi[0],gi[1])):at?hn(gi,dt):hn(gi)};if(Fs)di=Sn;else{if(ms=Nt(Sn),!ms)throw Yr(Qe(Sn)+" is not iterable");if(it(ms)){for(ws=0,ji=Ft(Sn);ji>ws;ws++)if(is=pr(Sn[ws]),is&&Qt(xr,is))return is;return new Be(!1)}di=sr(Sn,ms)}for(ye=di.next;!(nt=Fe(ye,di)).done;){try{is=pr(nt.value)}catch(gi){Nr(di,"throw",gi)}if(typeof is=="object"&&is&&Qt(xr,is))return is}return new Be(!1)}}),kt=c((_e,ue)=>{var re=as(),xe=yr(),Fe=ve();ue.exports=function(Re,Qe,it){var Ft=re(Qe);Ft in Re?xe.f(Re,Ft,Fe(0,it)):Re[Ft]=it}}),jt=c(()=>{var _e=Zi(),ue=Me(),re=kt();_e({target:"Object",stat:!0},{fromEntries:function(xe){var Fe={};return ue(xe,function(Re,Qe){re(Fe,Re,Qe)},{AS_ENTRIES:!0}),Fe}})}),nr=c(()=>{var _e=Zi(),ue=g();_e({global:!0},{globalThis:ue})}),Ir=c(()=>{nr()}),Pr=c(()=>{var _e=Zi(),ue=ta(),re=tn(),xe=pn(),Fe=Fr(),Re=Kr();_e({target:"Array",proto:!0},{flat:function(){var Qe=arguments.length?arguments[0]:void 0,it=re(this),Ft=xe(it),Qt=Re(it,0);return Qt.length=ue(Qt,it,it,Ft,0,Qe===void 0?1:Fe(Qe)),Qt}})}),zt=c((_e,ue)=>{var re=["cliName","cliCategory","cliDescription"],xe=["_"],Fe=["languageId"];function Re(r,a){if(r==null)return{};var l=Qe(r,a),f,m;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);for(m=0;m<d.length;m++)f=d[m],!(a.indexOf(f)>=0)&&(!Object.prototype.propertyIsEnumerable.call(r,f)||(l[f]=r[f]))}return l}function Qe(r,a){if(r==null)return{};var l={},f=Object.keys(r),m,d;for(d=0;d<f.length;d++)m=f[d],!(a.indexOf(m)>=0)&&(l[m]=r[m]);return l}_t(),jt(),Ir(),Pr();var it=Object.create,Ft=Object.defineProperty,Qt=Object.getOwnPropertyDescriptor,sr=Object.getOwnPropertyNames,Nt=Object.getPrototypeOf,Nr=Object.prototype.hasOwnProperty,Yr=(r,a)=>function(){return r&&(a=(0,r[sr(r)[0]])(r=0)),a},Be=(r,a)=>function(){return a||(0,r[sr(r)[0]])((a={exports:{}}).exports,a),a.exports},xr=(r,a)=>{for(var l in a)Ft(r,l,{get:a[l],enumerable:!0})},Sn=(r,a,l,f)=>{if(a&&typeof a=="object"||typeof a=="function")for(let m of sr(a))!Nr.call(r,m)&&m!==l&&Ft(r,m,{get:()=>a[m],enumerable:!(f=Qt(a,m))||f.enumerable});return r},bi=(r,a,l)=>(l=r!=null?it(Nt(r)):{},Sn(a||!r||!r.__esModule?Ft(l,"default",{value:r,enumerable:!0}):l,r)),ui=r=>Sn(Ft({},"__esModule",{value:!0}),r),vn,ns,Fs,at=Yr({"<define:process>"(){vn={},ns=[],Fs={env:vn,argv:ns}}}),hn=Be({"package.json"(r,a){a.exports={version:"2.8.1"}}}),di=Be({"node_modules/diff/lib/diff/base.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0}),r.default=a;function a(){}a.prototype={diff:function(m,d){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=y.callback;typeof y=="function"&&(v=y,y={}),this.options=y;var C=this;function A(H){return v?(setTimeout(function(){v(void 0,H)},0),!0):H}m=this.castInput(m),d=this.castInput(d),m=this.removeEmpty(this.tokenize(m)),d=this.removeEmpty(this.tokenize(d));var B=d.length,N=m.length,L=1,P=B+N,_=[{newPos:-1,components:[]}],R=this.extractCommon(_[0],d,m,0);if(_[0].newPos+1>=B&&R+1>=N)return A([{value:this.join(d),count:d.length}]);function J(){for(var H=-1*L;H<=L;H+=2){var G=void 0,ne=_[H-1],me=_[H+1],he=(me?me.newPos:0)-H;ne&&(_[H-1]=void 0);var ze=ne&&ne.newPos+1<B,O=me&&0<=he&&he<N;if(!ze&&!O){_[H]=void 0;continue}if(!ze||O&&ne.newPos<me.newPos?(G=f(me),C.pushComponent(G.components,void 0,!0)):(G=ne,G.newPos++,C.pushComponent(G.components,!0,void 0)),he=C.extractCommon(G,d,m,H),G.newPos+1>=B&&he+1>=N)return A(l(C,G.components,d,m,C.useLongestToken));_[H]=G}L++}if(v)(function H(){setTimeout(function(){if(L>P)return v();J()||H()},0)})();else for(;L<=P;){var oe=J();if(oe)return oe}},pushComponent:function(m,d,y){var v=m[m.length-1];v&&v.added===d&&v.removed===y?m[m.length-1]={count:v.count+1,added:d,removed:y}:m.push({count:1,added:d,removed:y})},extractCommon:function(m,d,y,v){for(var C=d.length,A=y.length,B=m.newPos,N=B-v,L=0;B+1<C&&N+1<A&&this.equals(d[B+1],y[N+1]);)B++,N++,L++;return L&&m.components.push({count:L}),m.newPos=B,N},equals:function(m,d){return this.options.comparator?this.options.comparator(m,d):m===d||this.options.ignoreCase&&m.toLowerCase()===d.toLowerCase()},removeEmpty:function(m){for(var d=[],y=0;y<m.length;y++)m[y]&&d.push(m[y]);return d},castInput:function(m){return m},tokenize:function(m){return m.split("")},join:function(m){return m.join("")}};function l(m,d,y,v,C){for(var A=0,B=d.length,N=0,L=0;A<B;A++){var P=d[A];if(P.removed){if(P.value=m.join(v.slice(L,L+P.count)),L+=P.count,A&&d[A-1].added){var _=d[A-1];d[A-1]=d[A],d[A]=_}}else{if(!P.added&&C){var R=y.slice(N,N+P.count);R=R.map(function(oe,H){var G=v[L+H];return G.length>oe.length?G:oe}),P.value=m.join(R)}else P.value=m.join(y.slice(N,N+P.count));N+=P.count,P.added||(L+=P.count)}}var J=d[B-1];return B>1&&typeof J.value=="string"&&(J.added||J.removed)&&m.equals("",J.value)&&(d[B-2].value+=J.value,d.pop()),d}function f(m){return{newPos:m.newPos,components:m.components.slice(0)}}}}),ms=Be({"node_modules/diff/lib/diff/array.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0}),r.diffArrays=m,r.arrayDiff=void 0;var a=l(di());function l(d){return d&&d.__esModule?d:{default:d}}var f=new a.default;r.arrayDiff=f,f.tokenize=function(d){return d.slice()},f.join=f.removeEmpty=function(d){return d};function m(d,y,v){return f.diff(d,y,v)}}}),ws=Be({"src/document/doc-builders.js"(r,a){at();function l(U){return{type:"concat",parts:U}}function f(U){return{type:"indent",contents:U}}function m(U,T){return{type:"align",contents:T,n:U}}function d(U){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:T.id,contents:U,break:Boolean(T.shouldBreak),expandedStates:T.expandedStates}}function y(U){return m(Number.NEGATIVE_INFINITY,U)}function v(U){return m({type:"root"},U)}function C(U){return m(-1,U)}function A(U,T){return d(U[0],Object.assign(Object.assign({},T),{},{expandedStates:U}))}function B(U){return{type:"fill",parts:U}}function N(U,T){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:U,flatContents:T,groupId:M.groupId}}function L(U,T){return{type:"indent-if-break",contents:U,groupId:T.groupId,negate:T.negate}}function P(U){return{type:"line-suffix",contents:U}}var _={type:"line-suffix-boundary"},R={type:"break-parent"},J={type:"trim"},oe={type:"line",hard:!0},H={type:"line",hard:!0,literal:!0},G={type:"line"},ne={type:"line",soft:!0},me=l([oe,R]),he=l([H,R]),ze={type:"cursor",placeholder:Symbol("cursor")};function O(U,T){let M=[];for(let z=0;z<T.length;z++)z!==0&&M.push(U),M.push(T[z]);return l(M)}function Q(U,T,M){let z=U;if(T>0){for(let se=0;se<Math.floor(T/M);++se)z=f(z);z=m(T%M,z),z=m(Number.NEGATIVE_INFINITY,z)}return z}function I(U,T){return{type:"label",label:U,contents:T}}a.exports={concat:l,join:O,line:G,softline:ne,hardline:me,literalline:he,group:d,conditionalGroup:A,fill:B,lineSuffix:P,lineSuffixBoundary:_,cursor:ze,breakParent:R,ifBreak:N,trim:J,indent:f,indentIfBreak:L,align:m,addAlignmentToDoc:Q,markAsRoot:v,dedentToRoot:y,dedent:C,hardlineWithoutBreakParent:oe,literallineWithoutBreakParent:H,label:I}}}),ji=Be({"src/common/end-of-line.js"(r,a){at();function l(y){let v=y.indexOf("\r");return v>=0?y.charAt(v+1)===`
25
- `?"crlf":"cr":"lf"}function f(y){switch(y){case"cr":return"\r";case"crlf":return`\r
26
- `;default:return`
27
- `}}function m(y,v){let C;switch(v){case`
28
- `:C=/\n/g;break;case"\r":C=/\r/g;break;case`\r
29
- `:C=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(v)}.`)}let A=y.match(C);return A?A.length:0}function d(y){return y.replace(/\r\n?/g,`
30
- `)}a.exports={guessEndOfLine:l,convertEndOfLineToChars:f,countEndOfLineChars:m,normalizeEndOfLine:d}}}),is=Be({"src/utils/get-last.js"(r,a){at();var l=f=>f[f.length-1];a.exports=l}});function ye(){let{onlyFirst:r=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=["[\\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(a,r?void 0:"g")}var nt=Yr({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){at()}});function dt(r){if(typeof r!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof r}\``);return r.replace(ye(),"")}var pr=Yr({"node_modules/strip-ansi/index.js"(){at(),nt()}});function gi(r){return Number.isInteger(r)?r>=4352&&(r<=4447||r===9001||r===9002||11904<=r&&r<=12871&&r!==12351||12880<=r&&r<=19903||19968<=r&&r<=42182||43360<=r&&r<=43388||44032<=r&&r<=55203||63744<=r&&r<=64255||65040<=r&&r<=65049||65072<=r&&r<=65131||65281<=r&&r<=65376||65504<=r&&r<=65510||110592<=r&&r<=110593||127488<=r&&r<=127569||131072<=r&&r<=262141):!1}var ss=Yr({"node_modules/is-fullwidth-code-point/index.js"(){at()}}),us=Be({"node_modules/emoji-regex/index.js"(r,a){at(),a.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}}}),xs={};xr(xs,{default:()=>ks});function ks(r){if(typeof r!="string"||r.length===0||(r=dt(r),r.length===0))return 0;r=r.replace((0,Bi.default)()," ");let a=0;for(let l=0;l<r.length;l++){let f=r.codePointAt(l);f<=31||f>=127&&f<=159||f>=768&&f<=879||(f>65535&&l++,a+=gi(f)?2:1)}return a}var Bi,Fu=Yr({"node_modules/string-width/index.js"(){at(),pr(),ss(),Bi=bi(us())}}),uu=Be({"src/utils/get-string-width.js"(r,a){at();var l=(Fu(),ui(xs)).default,f=/[^\x20-\x7F]/;function m(d){return d?f.test(d)?l(d):d.length:0}a.exports=m}}),so=Be({"src/document/doc-utils.js"(r,a){at();var l=is(),{literalline:f,join:m}=ws(),d=T=>Array.isArray(T)||T&&T.type==="concat",y=T=>{if(Array.isArray(T))return T;if(T.type!=="concat"&&T.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return T.parts},v={};function C(T,M,z,se){let K=[T];for(;K.length>0;){let ee=K.pop();if(ee===v){z(K.pop());continue}if(z&&K.push(ee,v),!M||M(ee)!==!1)if(d(ee)||ee.type==="fill"){let we=y(ee);for(let je=we.length,$e=je-1;$e>=0;--$e)K.push(we[$e])}else if(ee.type==="if-break")ee.flatContents&&K.push(ee.flatContents),ee.breakContents&&K.push(ee.breakContents);else if(ee.type==="group"&&ee.expandedStates)if(se)for(let we=ee.expandedStates.length,je=we-1;je>=0;--je)K.push(ee.expandedStates[je]);else K.push(ee.contents);else ee.contents&&K.push(ee.contents)}}function A(T,M){let z=new Map;return se(T);function se(ee){if(z.has(ee))return z.get(ee);let we=K(ee);return z.set(ee,we),we}function K(ee){if(Array.isArray(ee))return M(ee.map(se));if(ee.type==="concat"||ee.type==="fill"){let we=ee.parts.map(se);return M(Object.assign(Object.assign({},ee),{},{parts:we}))}if(ee.type==="if-break"){let we=ee.breakContents&&se(ee.breakContents),je=ee.flatContents&&se(ee.flatContents);return M(Object.assign(Object.assign({},ee),{},{breakContents:we,flatContents:je}))}if(ee.type==="group"&&ee.expandedStates){let we=ee.expandedStates.map(se),je=we[0];return M(Object.assign(Object.assign({},ee),{},{contents:je,expandedStates:we}))}if(ee.contents){let we=se(ee.contents);return M(Object.assign(Object.assign({},ee),{},{contents:we}))}return M(ee)}}function B(T,M,z){let se=z,K=!1;function ee(we){let je=M(we);if(je!==void 0&&(K=!0,se=je),K)return!1}return C(T,ee),se}function N(T){if(T.type==="group"&&T.break||T.type==="line"&&T.hard||T.type==="break-parent")return!0}function L(T){return B(T,N,!1)}function P(T){if(T.length>0){let M=l(T);!M.expandedStates&&!M.break&&(M.break="propagated")}return null}function _(T){let M=new Set,z=[];function se(ee){if(ee.type==="break-parent"&&P(z),ee.type==="group"){if(z.push(ee),M.has(ee))return!1;M.add(ee)}}function K(ee){ee.type==="group"&&z.pop().break&&P(z)}C(T,se,K,!0)}function R(T){return T.type==="line"&&!T.hard?T.soft?"":" ":T.type==="if-break"?T.flatContents||"":T}function J(T){return A(T,R)}var oe=(T,M)=>T&&T.type==="line"&&T.hard&&M&&M.type==="break-parent";function H(T){if(!T)return T;if(d(T)||T.type==="fill"){let M=y(T);for(;M.length>1&&oe(...M.slice(-2));)M.length-=2;if(M.length>0){let z=H(l(M));M[M.length-1]=z}return Array.isArray(T)?M:Object.assign(Object.assign({},T),{},{parts:M})}switch(T.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let M=H(T.contents);return Object.assign(Object.assign({},T),{},{contents:M})}case"if-break":{let M=H(T.breakContents),z=H(T.flatContents);return Object.assign(Object.assign({},T),{},{breakContents:M,flatContents:z})}}return T}function G(T){return H(me(T))}function ne(T){switch(T.type){case"fill":if(T.parts.every(z=>z===""))return"";break;case"group":if(!T.contents&&!T.id&&!T.break&&!T.expandedStates)return"";if(T.contents.type==="group"&&T.contents.id===T.id&&T.contents.break===T.break&&T.contents.expandedStates===T.expandedStates)return T.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!T.contents)return"";break;case"if-break":if(!T.flatContents&&!T.breakContents)return"";break}if(!d(T))return T;let M=[];for(let z of y(T)){if(!z)continue;let[se,...K]=d(z)?y(z):[z];typeof se=="string"&&typeof l(M)=="string"?M[M.length-1]+=se:M.push(se),M.push(...K)}return M.length===0?"":M.length===1?M[0]:Array.isArray(T)?M:Object.assign(Object.assign({},T),{},{parts:M})}function me(T){return A(T,M=>ne(M))}function he(T){let M=[],z=T.filter(Boolean);for(;z.length>0;){let se=z.shift();if(se){if(d(se)){z.unshift(...y(se));continue}if(M.length>0&&typeof l(M)=="string"&&typeof se=="string"){M[M.length-1]+=se;continue}M.push(se)}}return M}function ze(T){return A(T,M=>Array.isArray(M)?he(M):M.parts?Object.assign(Object.assign({},M),{},{parts:he(M.parts)}):M)}function O(T){return A(T,M=>typeof M=="string"&&M.includes(`
31
- `)?Q(M):M)}function Q(T){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f;return m(M,T.split(`
32
- `)).parts}function I(T){if(T.type==="line")return!0}function U(T){return B(T,I,!1)}a.exports={isConcat:d,getDocParts:y,willBreak:L,traverseDoc:C,findInDoc:B,mapDoc:A,propagateBreaks:_,removeLines:J,stripTrailingHardline:G,normalizeParts:he,normalizeDoc:ze,cleanDoc:me,replaceTextEndOfLine:Q,replaceEndOfLine:O,canBreak:U}}}),Na=Be({"src/document/doc-printer.js"(r,a){at();var{convertEndOfLineToChars:l}=ji(),f=is(),m=uu(),{fill:d,cursor:y,indent:v}=ws(),{isConcat:C,getDocParts:A}=so(),B,N=1,L=2;function P(){return{value:"",length:0,queue:[]}}function _(ne,me){return J(ne,{type:"indent"},me)}function R(ne,me,he){return me===Number.NEGATIVE_INFINITY?ne.root||P():me<0?J(ne,{type:"dedent"},he):me?me.type==="root"?Object.assign(Object.assign({},ne),{},{root:ne}):J(ne,{type:typeof me=="string"?"stringAlign":"numberAlign",n:me},he):ne}function J(ne,me,he){let ze=me.type==="dedent"?ne.queue.slice(0,-1):[...ne.queue,me],O="",Q=0,I=0,U=0;for(let we of ze)switch(we.type){case"indent":z(),he.useTabs?T(1):M(he.tabWidth);break;case"stringAlign":z(),O+=we.n,Q+=we.n.length;break;case"numberAlign":I+=1,U+=we.n;break;default:throw new Error(`Unexpected type '${we.type}'`)}return K(),Object.assign(Object.assign({},ne),{},{value:O,length:Q,queue:ze});function T(we){O+=" ".repeat(we),Q+=he.tabWidth*we}function M(we){O+=" ".repeat(we),Q+=we}function z(){he.useTabs?se():K()}function se(){I>0&&T(I),ee()}function K(){U>0&&M(U),ee()}function ee(){I=0,U=0}}function oe(ne){if(ne.length===0)return 0;let me=0;for(;ne.length>0&&typeof f(ne)=="string"&&/^[\t ]*$/.test(f(ne));)me+=ne.pop().length;if(ne.length>0&&typeof f(ne)=="string"){let he=f(ne).replace(/[\t ]*$/,"");me+=f(ne).length-he.length,ne[ne.length-1]=he}return me}function H(ne,me,he,ze,O){let Q=me.length,I=[ne],U=[];for(;he>=0;){if(I.length===0){if(Q===0)return!0;I.push(me[--Q]);continue}let{mode:T,doc:M}=I.pop();if(typeof M=="string")U.push(M),he-=m(M);else if(C(M)||M.type==="fill"){let z=A(M);for(let se=z.length-1;se>=0;se--)I.push({mode:T,doc:z[se]})}else switch(M.type){case"indent":case"align":case"indent-if-break":case"label":I.push({mode:T,doc:M.contents});break;case"trim":he+=oe(U);break;case"group":{if(O&&M.break)return!1;let z=M.break?N:T,se=M.expandedStates&&z===N?f(M.expandedStates):M.contents;I.push({mode:z,doc:se});break}case"if-break":{let z=(M.groupId?B[M.groupId]||L:T)===N?M.breakContents:M.flatContents;z&&I.push({mode:T,doc:z});break}case"line":if(T===N||M.hard)return!0;M.soft||(U.push(" "),he--);break;case"line-suffix":ze=!0;break;case"line-suffix-boundary":if(ze)return!1;break}}return!1}function G(ne,me){B={};let he=me.printWidth,ze=l(me.endOfLine),O=0,Q=[{ind:P(),mode:N,doc:ne}],I=[],U=!1,T=[];for(;Q.length>0;){let{ind:z,mode:se,doc:K}=Q.pop();if(typeof K=="string"){let ee=ze!==`
33
- `?K.replace(/\n/g,ze):K;I.push(ee),O+=m(ee)}else if(C(K)){let ee=A(K);for(let we=ee.length-1;we>=0;we--)Q.push({ind:z,mode:se,doc:ee[we]})}else switch(K.type){case"cursor":I.push(y.placeholder);break;case"indent":Q.push({ind:_(z,me),mode:se,doc:K.contents});break;case"align":Q.push({ind:R(z,K.n,me),mode:se,doc:K.contents});break;case"trim":O-=oe(I);break;case"group":switch(se){case L:if(!U){Q.push({ind:z,mode:K.break?N:L,doc:K.contents});break}case N:{U=!1;let ee={ind:z,mode:L,doc:K.contents},we=he-O,je=T.length>0;if(!K.break&&H(ee,Q,we,je))Q.push(ee);else if(K.expandedStates){let $e=f(K.expandedStates);if(K.break){Q.push({ind:z,mode:N,doc:$e});break}else for(let Le=1;Le<K.expandedStates.length+1;Le++)if(Le>=K.expandedStates.length){Q.push({ind:z,mode:N,doc:$e});break}else{let rt=K.expandedStates[Le],Se={ind:z,mode:L,doc:rt};if(H(Se,Q,we,je)){Q.push(Se);break}}}else Q.push({ind:z,mode:N,doc:K.contents});break}}K.id&&(B[K.id]=f(Q).mode);break;case"fill":{let ee=he-O,{parts:we}=K;if(we.length===0)break;let[je,$e]=we,Le={ind:z,mode:L,doc:je},rt={ind:z,mode:N,doc:je},Se=H(Le,[],ee,T.length>0,!0);if(we.length===1){Se?Q.push(Le):Q.push(rt);break}let yt={ind:z,mode:L,doc:$e},Ue={ind:z,mode:N,doc:$e};if(we.length===2){Se?Q.push(yt,Le):Q.push(Ue,rt);break}we.splice(0,2);let Pe={ind:z,mode:se,doc:d(we)},mt=we[0];H({ind:z,mode:L,doc:[je,$e,mt]},[],ee,T.length>0,!0)?Q.push(Pe,yt,Le):Se?Q.push(Pe,Ue,Le):Q.push(Pe,Ue,rt);break}case"if-break":case"indent-if-break":{let ee=K.groupId?B[K.groupId]:se;if(ee===N){let we=K.type==="if-break"?K.breakContents:K.negate?K.contents:v(K.contents);we&&Q.push({ind:z,mode:se,doc:we})}if(ee===L){let we=K.type==="if-break"?K.flatContents:K.negate?v(K.contents):K.contents;we&&Q.push({ind:z,mode:se,doc:we})}break}case"line-suffix":T.push({ind:z,mode:se,doc:K.contents});break;case"line-suffix-boundary":T.length>0&&Q.push({ind:z,mode:se,doc:{type:"line",hard:!0}});break;case"line":switch(se){case L:if(K.hard)U=!0;else{K.soft||(I.push(" "),O+=1);break}case N:if(T.length>0){Q.push({ind:z,mode:se,doc:K},...T.reverse()),T.length=0;break}K.literal?z.root?(I.push(ze,z.root.value),O=z.root.length):(I.push(ze),O=0):(O-=oe(I),I.push(ze+z.value),O=z.length);break}break;case"label":Q.push({ind:z,mode:se,doc:K.contents});break}Q.length===0&&T.length>0&&(Q.push(...T.reverse()),T.length=0)}let M=I.indexOf(y.placeholder);if(M!==-1){let z=I.indexOf(y.placeholder,M+1),se=I.slice(0,M).join(""),K=I.slice(M+1,z).join(""),ee=I.slice(z+1).join("");return{formatted:se+K+ee,cursorNodeStart:se.length,cursorNodeText:K}}return{formatted:I.join("")}}a.exports={printDocToString:G}}}),ku=Be({"src/document/doc-debug.js"(r,a){at();var{isConcat:l,getDocParts:f}=so();function m(y){if(!y)return"";if(l(y)){let v=[];for(let C of f(y))if(l(C))v.push(...m(C).parts);else{let A=m(C);A!==""&&v.push(A)}return{type:"concat",parts:v}}return y.type==="if-break"?Object.assign(Object.assign({},y),{},{breakContents:m(y.breakContents),flatContents:m(y.flatContents)}):y.type==="group"?Object.assign(Object.assign({},y),{},{contents:m(y.contents),expandedStates:y.expandedStates&&y.expandedStates.map(m)}):y.type==="fill"?{type:"fill",parts:y.parts.map(m)}:y.contents?Object.assign(Object.assign({},y),{},{contents:m(y.contents)}):y}function d(y){let v=Object.create(null),C=new Set;return A(m(y));function A(N,L,P){if(typeof N=="string")return JSON.stringify(N);if(l(N)){let _=f(N).map(A).filter(Boolean);return _.length===1?_[0]:`[${_.join(", ")}]`}if(N.type==="line"){let _=Array.isArray(P)&&P[L+1]&&P[L+1].type==="break-parent";return N.literal?_?"literalline":"literallineWithoutBreakParent":N.hard?_?"hardline":"hardlineWithoutBreakParent":N.soft?"softline":"line"}if(N.type==="break-parent")return Array.isArray(P)&&P[L-1]&&P[L-1].type==="line"&&P[L-1].hard?void 0:"breakParent";if(N.type==="trim")return"trim";if(N.type==="indent")return"indent("+A(N.contents)+")";if(N.type==="align")return N.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+A(N.contents)+")":N.n<0?"dedent("+A(N.contents)+")":N.n.type==="root"?"markAsRoot("+A(N.contents)+")":"align("+JSON.stringify(N.n)+", "+A(N.contents)+")";if(N.type==="if-break")return"ifBreak("+A(N.breakContents)+(N.flatContents?", "+A(N.flatContents):"")+(N.groupId?(N.flatContents?"":', ""')+`, { groupId: ${B(N.groupId)} }`:"")+")";if(N.type==="indent-if-break"){let _=[];N.negate&&_.push("negate: true"),N.groupId&&_.push(`groupId: ${B(N.groupId)}`);let R=_.length>0?`, { ${_.join(", ")} }`:"";return`indentIfBreak(${A(N.contents)}${R})`}if(N.type==="group"){let _=[];N.break&&N.break!=="propagated"&&_.push("shouldBreak: true"),N.id&&_.push(`id: ${B(N.id)}`);let R=_.length>0?`, { ${_.join(", ")} }`:"";return N.expandedStates?`conditionalGroup([${N.expandedStates.map(J=>A(J)).join(",")}]${R})`:`group(${A(N.contents)}${R})`}if(N.type==="fill")return`fill([${N.parts.map(_=>A(_)).join(", ")}])`;if(N.type==="line-suffix")return"lineSuffix("+A(N.contents)+")";if(N.type==="line-suffix-boundary")return"lineSuffixBoundary";if(N.type==="label")return`label(${JSON.stringify(N.label)}, ${A(N.contents)})`;throw new Error("Unknown doc type "+N.type)}function B(N){if(typeof N!="symbol")return JSON.stringify(String(N));if(N in v)return v[N];let L=String(N).slice(7,-1)||"symbol";for(let P=0;;P++){let _=L+(P>0?` #${P}`:"");if(!C.has(_))return C.add(_),v[N]=`Symbol.for(${JSON.stringify(_)})`}}}a.exports={printDocToDebug:d}}}),xi=Be({"src/document/index.js"(r,a){at(),a.exports={builders:ws(),printer:Na(),utils:so(),debug:ku()}}}),yo={};xr(yo,{default:()=>lu});function lu(r){if(typeof r!="string")throw new TypeError("Expected a string");return r.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Pu=Yr({"node_modules/escape-string-regexp/index.js"(){at()}}),zo=Be({"node_modules/semver/internal/debug.js"(r,a){at();var l=typeof Fs=="object"&&Fs.env&&Fs.env.NODE_DEBUG&&/\bsemver\b/i.test(Fs.env.NODE_DEBUG)?function(){for(var f=arguments.length,m=new Array(f),d=0;d<f;d++)m[d]=arguments[d];return console.error("SEMVER",...m)}:()=>{};a.exports=l}}),cu=Be({"node_modules/semver/internal/constants.js"(r,a){at();var l="2.0.0",f=256,m=Number.MAX_SAFE_INTEGER||9007199254740991,d=16;a.exports={SEMVER_SPEC_VERSION:l,MAX_LENGTH:f,MAX_SAFE_INTEGER:m,MAX_SAFE_COMPONENT_LENGTH:d}}}),Nu=Be({"node_modules/semver/internal/re.js"(r,a){at();var{MAX_SAFE_COMPONENT_LENGTH:l}=cu(),f=zo();r=a.exports={};var m=r.re=[],d=r.src=[],y=r.t={},v=0,C=(A,B,N)=>{let L=v++;f(A,L,B),y[A]=L,d[L]=B,m[L]=new RegExp(B,N?"g":void 0)};C("NUMERICIDENTIFIER","0|[1-9]\\d*"),C("NUMERICIDENTIFIERLOOSE","[0-9]+"),C("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),C("MAINVERSION",`(${d[y.NUMERICIDENTIFIER]})\\.(${d[y.NUMERICIDENTIFIER]})\\.(${d[y.NUMERICIDENTIFIER]})`),C("MAINVERSIONLOOSE",`(${d[y.NUMERICIDENTIFIERLOOSE]})\\.(${d[y.NUMERICIDENTIFIERLOOSE]})\\.(${d[y.NUMERICIDENTIFIERLOOSE]})`),C("PRERELEASEIDENTIFIER",`(?:${d[y.NUMERICIDENTIFIER]}|${d[y.NONNUMERICIDENTIFIER]})`),C("PRERELEASEIDENTIFIERLOOSE",`(?:${d[y.NUMERICIDENTIFIERLOOSE]}|${d[y.NONNUMERICIDENTIFIER]})`),C("PRERELEASE",`(?:-(${d[y.PRERELEASEIDENTIFIER]}(?:\\.${d[y.PRERELEASEIDENTIFIER]})*))`),C("PRERELEASELOOSE",`(?:-?(${d[y.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[y.PRERELEASEIDENTIFIERLOOSE]})*))`),C("BUILDIDENTIFIER","[0-9A-Za-z-]+"),C("BUILD",`(?:\\+(${d[y.BUILDIDENTIFIER]}(?:\\.${d[y.BUILDIDENTIFIER]})*))`),C("FULLPLAIN",`v?${d[y.MAINVERSION]}${d[y.PRERELEASE]}?${d[y.BUILD]}?`),C("FULL",`^${d[y.FULLPLAIN]}$`),C("LOOSEPLAIN",`[v=\\s]*${d[y.MAINVERSIONLOOSE]}${d[y.PRERELEASELOOSE]}?${d[y.BUILD]}?`),C("LOOSE",`^${d[y.LOOSEPLAIN]}$`),C("GTLT","((?:<|>)?=?)"),C("XRANGEIDENTIFIERLOOSE",`${d[y.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),C("XRANGEIDENTIFIER",`${d[y.NUMERICIDENTIFIER]}|x|X|\\*`),C("XRANGEPLAIN",`[v=\\s]*(${d[y.XRANGEIDENTIFIER]})(?:\\.(${d[y.XRANGEIDENTIFIER]})(?:\\.(${d[y.XRANGEIDENTIFIER]})(?:${d[y.PRERELEASE]})?${d[y.BUILD]}?)?)?`),C("XRANGEPLAINLOOSE",`[v=\\s]*(${d[y.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[y.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[y.XRANGEIDENTIFIERLOOSE]})(?:${d[y.PRERELEASELOOSE]})?${d[y.BUILD]}?)?)?`),C("XRANGE",`^${d[y.GTLT]}\\s*${d[y.XRANGEPLAIN]}$`),C("XRANGELOOSE",`^${d[y.GTLT]}\\s*${d[y.XRANGEPLAINLOOSE]}$`),C("COERCE",`(^|[^\\d])(\\d{1,${l}})(?:\\.(\\d{1,${l}}))?(?:\\.(\\d{1,${l}}))?(?:$|[^\\d])`),C("COERCERTL",d[y.COERCE],!0),C("LONETILDE","(?:~>?)"),C("TILDETRIM",`(\\s*)${d[y.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",C("TILDE",`^${d[y.LONETILDE]}${d[y.XRANGEPLAIN]}$`),C("TILDELOOSE",`^${d[y.LONETILDE]}${d[y.XRANGEPLAINLOOSE]}$`),C("LONECARET","(?:\\^)"),C("CARETTRIM",`(\\s*)${d[y.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",C("CARET",`^${d[y.LONECARET]}${d[y.XRANGEPLAIN]}$`),C("CARETLOOSE",`^${d[y.LONECARET]}${d[y.XRANGEPLAINLOOSE]}$`),C("COMPARATORLOOSE",`^${d[y.GTLT]}\\s*(${d[y.LOOSEPLAIN]})$|^$`),C("COMPARATOR",`^${d[y.GTLT]}\\s*(${d[y.FULLPLAIN]})$|^$`),C("COMPARATORTRIM",`(\\s*)${d[y.GTLT]}\\s*(${d[y.LOOSEPLAIN]}|${d[y.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",C("HYPHENRANGE",`^\\s*(${d[y.XRANGEPLAIN]})\\s+-\\s+(${d[y.XRANGEPLAIN]})\\s*$`),C("HYPHENRANGELOOSE",`^\\s*(${d[y.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[y.XRANGEPLAINLOOSE]})\\s*$`),C("STAR","(<|>)?=?\\s*\\*"),C("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),C("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Bu=Be({"node_modules/semver/internal/parse-options.js"(r,a){at();var l=["includePrerelease","loose","rtl"],f=m=>m?typeof m!="object"?{loose:!0}:l.filter(d=>m[d]).reduce((d,y)=>(d[y]=!0,d),{}):{};a.exports=f}}),_u=Be({"node_modules/semver/internal/identifiers.js"(r,a){at();var l=/^[0-9]+$/,f=(d,y)=>{let v=l.test(d),C=l.test(y);return v&&C&&(d=+d,y=+y),d===y?0:v&&!C?-1:C&&!v?1:d<y?-1:1},m=(d,y)=>f(y,d);a.exports={compareIdentifiers:f,rcompareIdentifiers:m}}}),Do=Be({"node_modules/semver/classes/semver.js"(r,a){at();var l=zo(),{MAX_LENGTH:f,MAX_SAFE_INTEGER:m}=cu(),{re:d,t:y}=Nu(),v=Bu(),{compareIdentifiers:C}=_u(),A=class{constructor(B,N){if(N=v(N),B instanceof A){if(B.loose===!!N.loose&&B.includePrerelease===!!N.includePrerelease)return B;B=B.version}else if(typeof B!="string")throw new TypeError(`Invalid Version: ${B}`);if(B.length>f)throw new TypeError(`version is longer than ${f} characters`);l("SemVer",B,N),this.options=N,this.loose=!!N.loose,this.includePrerelease=!!N.includePrerelease;let L=B.trim().match(N.loose?d[y.LOOSE]:d[y.FULL]);if(!L)throw new TypeError(`Invalid Version: ${B}`);if(this.raw=B,this.major=+L[1],this.minor=+L[2],this.patch=+L[3],this.major>m||this.major<0)throw new TypeError("Invalid major version");if(this.minor>m||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>m||this.patch<0)throw new TypeError("Invalid patch version");L[4]?this.prerelease=L[4].split(".").map(P=>{if(/^[0-9]+$/.test(P)){let _=+P;if(_>=0&&_<m)return _}return P}):this.prerelease=[],this.build=L[5]?L[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(B){if(l("SemVer.compare",this.version,this.options,B),!(B instanceof A)){if(typeof B=="string"&&B===this.version)return 0;B=new A(B,this.options)}return B.version===this.version?0:this.compareMain(B)||this.comparePre(B)}compareMain(B){return B instanceof A||(B=new A(B,this.options)),C(this.major,B.major)||C(this.minor,B.minor)||C(this.patch,B.patch)}comparePre(B){if(B instanceof A||(B=new A(B,this.options)),this.prerelease.length&&!B.prerelease.length)return-1;if(!this.prerelease.length&&B.prerelease.length)return 1;if(!this.prerelease.length&&!B.prerelease.length)return 0;let N=0;do{let L=this.prerelease[N],P=B.prerelease[N];if(l("prerelease compare",N,L,P),L===void 0&&P===void 0)return 0;if(P===void 0)return 1;if(L===void 0)return-1;if(L!==P)return C(L,P)}while(++N)}compareBuild(B){B instanceof A||(B=new A(B,this.options));let N=0;do{let L=this.build[N],P=B.build[N];if(l("prerelease compare",N,L,P),L===void 0&&P===void 0)return 0;if(P===void 0)return 1;if(L===void 0)return-1;if(L!==P)return C(L,P)}while(++N)}inc(B,N){switch(B){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",N);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",N);break;case"prepatch":this.prerelease.length=0,this.inc("patch",N),this.inc("pre",N);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",N),this.inc("pre",N);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 L=this.prerelease.length;for(;--L>=0;)typeof this.prerelease[L]=="number"&&(this.prerelease[L]++,L=-2);L===-1&&this.prerelease.push(0)}N&&(C(this.prerelease[0],N)===0?isNaN(this.prerelease[1])&&(this.prerelease=[N,0]):this.prerelease=[N,0]);break;default:throw new Error(`invalid increment argument: ${B}`)}return this.format(),this.raw=this.version,this}};a.exports=A}}),Iu=Be({"node_modules/semver/functions/compare.js"(r,a){at();var l=Do(),f=(m,d,y)=>new l(m,y).compare(new l(d,y));a.exports=f}}),Ou=Be({"node_modules/semver/functions/lt.js"(r,a){at();var l=Iu(),f=(m,d,y)=>l(m,d,y)<0;a.exports=f}}),Ha=Be({"node_modules/semver/functions/gte.js"(r,a){at();var l=Iu(),f=(m,d,y)=>l(m,d,y)>=0;a.exports=f}}),Cl=Be({"src/utils/arrayify.js"(r,a){at(),a.exports=(l,f)=>Object.entries(l).map(m=>{let[d,y]=m;return Object.assign({[f]:d},y)})}}),pu=Be({"node_modules/outdent/lib/index.js"(r,a){at(),Object.defineProperty(r,"__esModule",{value:!0}),r.outdent=void 0;function l(){for(var H=[],G=0;G<arguments.length;G++)H[G]=arguments[G]}function f(){return typeof WeakMap<"u"?new WeakMap:m()}function m(){return{add:l,delete:l,get:l,set:l,has:function(H){return!1}}}var d=Object.prototype.hasOwnProperty,y=function(H,G){return d.call(H,G)};function v(H,G){for(var ne in G)y(G,ne)&&(H[ne]=G[ne]);return H}var C=/^[ \t]*(?:\r\n|\r|\n)/,A=/(?:\r\n|\r|\n)[ \t]*$/,B=/^(?:[\r\n]|$)/,N=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,L=/^[ \t]*[\r\n][ \t\r\n]*$/;function P(H,G,ne){var me=0,he=H[0].match(N);he&&(me=he[1].length);var ze="(\\r\\n|\\r|\\n).{0,"+me+"}",O=new RegExp(ze,"g");G&&(H=H.slice(1));var Q=ne.newline,I=ne.trimLeadingNewline,U=ne.trimTrailingNewline,T=typeof Q=="string",M=H.length,z=H.map(function(se,K){return se=se.replace(O,"$1"),K===0&&I&&(se=se.replace(C,"")),K===M-1&&U&&(se=se.replace(A,"")),T&&(se=se.replace(/\r\n|\n|\r/g,function(ee){return Q})),se});return z}function _(H,G){for(var ne="",me=0,he=H.length;me<he;me++)ne+=H[me],me<he-1&&(ne+=G[me]);return ne}function R(H){return y(H,"raw")&&y(H,"length")}function J(H){var G=f(),ne=f();function me(ze){for(var O=[],Q=1;Q<arguments.length;Q++)O[Q-1]=arguments[Q];if(R(ze)){var I=ze,U=(O[0]===me||O[0]===oe)&&L.test(I[0])&&B.test(I[1]),T=U?ne:G,M=T.get(I);if(M||(M=P(I,U,H),T.set(I,M)),O.length===0)return M[0];var z=_(M,U?O.slice(1):O);return z}else return J(v(v({},H),ze||{}))}var he=v(me,{string:function(ze){return P([ze],!1,H)[0]}});return he}var oe=J({trimLeadingNewline:!0,trimTrailingNewline:!0});if(r.outdent=oe,r.default=oe,typeof a<"u")try{a.exports=oe,Object.defineProperty(oe,"__esModule",{value:!0}),oe.default=oe,oe.outdent=oe}catch{}}}),Sa=Be({"src/main/core-options.js"(r,a){at();var{outdent:l}=pu(),f="Config",m="Editor",d="Format",y="Other",v="Output",C="Global",A="Special",B={cursorOffset:{since:"1.4.0",category:A,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:l`
34
- Print (to stderr) where a cursor at the given position would move to after formatting.
35
- This option cannot be used with --range-start and --range-end.
36
- `,cliCategory:m},endOfLine:{since:"1.15.0",category:C,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:l`
37
- Maintain existing
38
- (mixed values within one file are normalised by looking at what's used after the first line)
39
- `}]},filepath:{since:"1.4.0",category:A,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:y,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:A,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:y},parser:{since:"0.0.10",category:C,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:N=>typeof N=="string"||typeof N=="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:C,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:N=>typeof N=="string"||typeof N=="object",cliName:"plugin",cliCategory:f},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:C,description:l`
40
- Custom directory that contains prettier plugins in node_modules subdirectory.
41
- Overrides default behavior when plugins are searched relatively to the location of Prettier.
42
- Multiple values are accepted.
43
- `,exception:N=>typeof N=="string"||typeof N=="object",cliName:"plugin-search-dir",cliCategory:f},printWidth:{since:"0.0.0",category:C,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:A,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:l`
44
- Format code ending at a given character offset (exclusive).
45
- The range will extend forwards to the end of the selected statement.
46
- This option cannot be used with --cursor-offset.
47
- `,cliCategory:m},rangeStart:{since:"1.4.0",category:A,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:l`
48
- Format code starting at a given character offset.
49
- The range will extend backwards to the start of the first line containing the selected statement.
50
- This option cannot be used with --cursor-offset.
51
- `,cliCategory:m},requirePragma:{since:"1.7.0",category:A,type:"boolean",default:!1,description:l`
52
- Require either '@prettier' or '@format' to be present in the file's first docblock comment
53
- in order for it to be formatted.
54
- `,cliCategory:y},tabWidth:{type:"int",category:C,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:C,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:C,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."}]}};a.exports={CATEGORY_CONFIG:f,CATEGORY_EDITOR:m,CATEGORY_FORMAT:d,CATEGORY_OTHER:y,CATEGORY_OUTPUT:v,CATEGORY_GLOBAL:C,CATEGORY_SPECIAL:A,options:B}}}),ao=Be({"src/main/support.js"(r,a){at();var l={compare:Iu(),lt:Ou(),gte:Ha()},f=Cl(),m=hn().version,d=Sa().options;function y(){let{plugins:C=[],showUnreleased:A=!1,showDeprecated:B=!1,showInternal:N=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=m.split("-",1)[0],P=C.flatMap(H=>H.languages||[]).filter(R),_=f(Object.assign({},...C.map(H=>{let{options:G}=H;return G}),d),"name").filter(H=>R(H)&&J(H)).sort((H,G)=>H.name===G.name?0:H.name<G.name?-1:1).map(oe).map(H=>{H=Object.assign({},H),Array.isArray(H.default)&&(H.default=H.default.length===1?H.default[0].value:H.default.filter(R).sort((ne,me)=>l.compare(me.since,ne.since))[0].value),Array.isArray(H.choices)&&(H.choices=H.choices.filter(ne=>R(ne)&&J(ne)),H.name==="parser"&&v(H,P,C));let G=Object.fromEntries(C.filter(ne=>ne.defaultOptions&&ne.defaultOptions[H.name]!==void 0).map(ne=>[ne.name,ne.defaultOptions[H.name]]));return Object.assign(Object.assign({},H),{},{pluginDefaults:G})});return{languages:P,options:_};function R(H){return A||!("since"in H)||H.since&&l.gte(L,H.since)}function J(H){return B||!("deprecated"in H)||H.deprecated&&l.lt(L,H.deprecated)}function oe(H){return N?H:Re(H,re)}}function v(C,A,B){let N=new Set(C.choices.map(L=>L.value));for(let L of A)if(L.parsers){for(let P of L.parsers)if(!N.has(P)){N.add(P);let _=B.find(J=>J.parsers&&J.parsers[P]),R=L.name;_&&_.name&&(R+=` (plugin: ${_.name})`),C.choices.push({value:P,description:R})}}}a.exports={getSupportInfo:y}}}),va=Be({"src/utils/is-non-empty-array.js"(r,a){at();function l(f){return Array.isArray(f)&&f.length>0}a.exports=l}}),hu=Be({"src/utils/text/skip.js"(r,a){at();function l(v){return(C,A,B)=>{let N=B&&B.backwards;if(A===!1)return!1;let{length:L}=C,P=A;for(;P>=0&&P<L;){let _=C.charAt(P);if(v instanceof RegExp){if(!v.test(_))return P}else if(!v.includes(_))return P;N?P--:P++}return P===-1||P===L?P:!1}}var f=l(/\s/),m=l(" "),d=l(",; "),y=l(/[^\n\r]/);a.exports={skipWhitespace:f,skipSpaces:m,skipToLineEnd:d,skipEverythingButNewLine:y}}}),Qu=Be({"src/utils/text/skip-inline-comment.js"(r,a){at();function l(f,m){if(m===!1)return!1;if(f.charAt(m)==="/"&&f.charAt(m+1)==="*"){for(let d=m+2;d<f.length;++d)if(f.charAt(d)==="*"&&f.charAt(d+1)==="/")return d+2}return m}a.exports=l}}),Zu=Be({"src/utils/text/skip-trailing-comment.js"(r,a){at();var{skipEverythingButNewLine:l}=hu();function f(m,d){return d===!1?!1:m.charAt(d)==="/"&&m.charAt(d+1)==="/"?l(m,d):d}a.exports=f}}),qa=Be({"src/utils/text/skip-newline.js"(r,a){at();function l(f,m,d){let y=d&&d.backwards;if(m===!1)return!1;let v=f.charAt(m);if(y){if(f.charAt(m-1)==="\r"&&v===`
55
- `)return m-2;if(v===`
56
- `||v==="\r"||v==="\u2028"||v==="\u2029")return m-1}else{if(v==="\r"&&f.charAt(m+1)===`
57
- `)return m+2;if(v===`
58
- `||v==="\r"||v==="\u2028"||v==="\u2029")return m+1}return m}a.exports=l}}),Wa=Be({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(r,a){at();var l=Qu(),f=qa(),m=Zu(),{skipSpaces:d}=hu();function y(v,C){let A=null,B=C;for(;B!==A;)A=B,B=d(v,B),B=l(v,B),B=m(v,B),B=f(v,B);return B}a.exports=y}}),Pi=Be({"src/common/util.js"(r,a){at();var{default:l}=(Pu(),ui(yo)),f=is(),{getSupportInfo:m}=ao(),d=va(),y=uu(),{skipWhitespace:v,skipSpaces:C,skipToLineEnd:A,skipEverythingButNewLine:B}=hu(),N=Qu(),L=Zu(),P=qa(),_=Wa(),R=Ue=>Ue[Ue.length-2];function J(Ue){return(Pe,mt,Ht)=>{let xt=Ht&&Ht.backwards;if(mt===!1)return!1;let{length:Zt}=Pe,He=mt;for(;He>=0&&He<Zt;){let lt=Pe.charAt(He);if(Ue instanceof RegExp){if(!Ue.test(lt))return He}else if(!Ue.includes(lt))return He;xt?He--:He++}return He===-1||He===Zt?He:!1}}function oe(Ue,Pe){let mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ht=C(Ue,mt.backwards?Pe-1:Pe,mt),xt=P(Ue,Ht,mt);return Ht!==xt}function H(Ue,Pe,mt){for(let Ht=Pe;Ht<mt;++Ht)if(Ue.charAt(Ht)===`
59
- `)return!0;return!1}function G(Ue,Pe,mt){let Ht=mt(Pe)-1;Ht=C(Ue,Ht,{backwards:!0}),Ht=P(Ue,Ht,{backwards:!0}),Ht=C(Ue,Ht,{backwards:!0});let xt=P(Ue,Ht,{backwards:!0});return Ht!==xt}function ne(Ue,Pe){let mt=null,Ht=Pe;for(;Ht!==mt;)mt=Ht,Ht=A(Ue,Ht),Ht=N(Ue,Ht),Ht=C(Ue,Ht);return Ht=L(Ue,Ht),Ht=P(Ue,Ht),Ht!==!1&&oe(Ue,Ht)}function me(Ue,Pe,mt){return ne(Ue,mt(Pe))}function he(Ue,Pe,mt){return _(Ue,mt(Pe))}function ze(Ue,Pe,mt){return Ue.charAt(he(Ue,Pe,mt))}function O(Ue,Pe){let mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C(Ue,mt.backwards?Pe-1:Pe,mt)!==Pe}function Q(Ue,Pe){let mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Ht=0;for(let xt=mt;xt<Ue.length;++xt)Ue[xt]===" "?Ht=Ht+Pe-Ht%Pe:Ht++;return Ht}function I(Ue,Pe){let mt=Ue.lastIndexOf(`
60
- `);return mt===-1?0:Q(Ue.slice(mt+1).match(/^[\t ]*/)[0],Pe)}function U(Ue,Pe){let mt={quote:'"',regex:/"/g,escaped:"&quot;"},Ht={quote:"'",regex:/'/g,escaped:"&apos;"},xt=Pe==="'"?Ht:mt,Zt=xt===Ht?mt:Ht,He=xt;if(Ue.includes(xt.quote)||Ue.includes(Zt.quote)){let lt=(Ue.match(xt.regex)||[]).length,qt=(Ue.match(Zt.regex)||[]).length;He=lt>qt?Zt:xt}return He}function T(Ue,Pe){let mt=Ue.slice(1,-1),Ht=Pe.parser==="json"||Pe.parser==="json5"&&Pe.quoteProps==="preserve"&&!Pe.singleQuote?'"':Pe.__isInHtmlAttribute?"'":U(mt,Pe.singleQuote?"'":'"').quote;return M(mt,Ht,!(Pe.parser==="css"||Pe.parser==="less"||Pe.parser==="scss"||Pe.__embeddedInHtml))}function M(Ue,Pe,mt){let Ht=Pe==='"'?"'":'"',xt=/\\(.)|(["'])/gs,Zt=Ue.replace(xt,(He,lt,qt)=>lt===Ht?lt:qt===Pe?"\\"+qt:qt||(mt&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(lt)?lt:"\\"+lt));return Pe+Zt+Pe}function z(Ue){return Ue.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function se(Ue,Pe){let mt=Ue.match(new RegExp(`(${l(Pe)})+`,"g"));return mt===null?0:mt.reduce((Ht,xt)=>Math.max(Ht,xt.length/Pe.length),0)}function K(Ue,Pe){let mt=Ue.match(new RegExp(`(${l(Pe)})+`,"g"));if(mt===null)return 0;let Ht=new Map,xt=0;for(let Zt of mt){let He=Zt.length/Pe.length;Ht.set(He,!0),He>xt&&(xt=He)}for(let Zt=1;Zt<xt;Zt++)if(!Ht.get(Zt))return Zt;return xt+1}function ee(Ue,Pe){(Ue.comments||(Ue.comments=[])).push(Pe),Pe.printed=!1,Pe.nodeDescription=yt(Ue)}function we(Ue,Pe){Pe.leading=!0,Pe.trailing=!1,ee(Ue,Pe)}function je(Ue,Pe,mt){Pe.leading=!1,Pe.trailing=!1,mt&&(Pe.marker=mt),ee(Ue,Pe)}function $e(Ue,Pe){Pe.leading=!1,Pe.trailing=!0,ee(Ue,Pe)}function Le(Ue,Pe){let{languages:mt}=m({plugins:Pe.plugins}),Ht=mt.find(xt=>{let{name:Zt}=xt;return Zt.toLowerCase()===Ue})||mt.find(xt=>{let{aliases:Zt}=xt;return Array.isArray(Zt)&&Zt.includes(Ue)})||mt.find(xt=>{let{extensions:Zt}=xt;return Array.isArray(Zt)&&Zt.includes(`.${Ue}`)});return Ht&&Ht.parsers[0]}function rt(Ue){return Ue&&Ue.type==="front-matter"}function Se(Ue){let Pe=new WeakMap;return function(mt){return Pe.has(mt)||Pe.set(mt,Symbol(Ue)),Pe.get(mt)}}function yt(Ue){let Pe=Ue.type||Ue.kind||"(unknown type)",mt=String(Ue.name||Ue.id&&(typeof Ue.id=="object"?Ue.id.name:Ue.id)||Ue.key&&(typeof Ue.key=="object"?Ue.key.name:Ue.key)||Ue.value&&(typeof Ue.value=="object"?"":String(Ue.value))||Ue.operator||"");return mt.length>20&&(mt=mt.slice(0,19)+"…"),Pe+(mt?" "+mt:"")}a.exports={inferParserByLanguage:Le,getStringWidth:y,getMaxContinuousCount:se,getMinNotPresentContinuousCount:K,getPenultimate:R,getLast:f,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_,getNextNonSpaceNonCommentCharacterIndex:he,getNextNonSpaceNonCommentCharacter:ze,skip:J,skipWhitespace:v,skipSpaces:C,skipToLineEnd:A,skipEverythingButNewLine:B,skipInlineComment:N,skipTrailingComment:L,skipNewline:P,isNextLineEmptyAfterIndex:ne,isNextLineEmpty:me,isPreviousLineEmpty:G,hasNewline:oe,hasNewlineInRange:H,hasSpaces:O,getAlignmentSize:Q,getIndentSize:I,getPreferredQuote:U,printString:T,printNumber:z,makeString:M,addLeadingComment:we,addDanglingComment:je,addTrailingComment:$e,isFrontMatterNode:rt,isNonEmptyArray:d,createGroupIdMapper:Se}}}),Fa={};xr(Fa,{basename:()=>fu,default:()=>Qn,delimiter:()=>ni,dirname:()=>Ga,extname:()=>ri,isAbsolute:()=>Uo,join:()=>eu,normalize:()=>Va,relative:()=>tu,resolve:()=>xa,sep:()=>on});function oo(r,a){for(var l=0,f=r.length-1;f>=0;f--){var m=r[f];m==="."?r.splice(f,1):m===".."?(r.splice(f,1),l++):l&&(r.splice(f,1),l--)}if(a)for(;l--;l)r.unshift("..");return r}function xa(){for(var r="",a=!1,l=arguments.length-1;l>=-1&&!a;l--){var f=l>=0?arguments[l]:"/";if(typeof f!="string")throw new TypeError("Arguments to path.resolve must be strings");!f||(r=f+"/"+r,a=f.charAt(0)==="/")}return r=oo(yn(r.split("/"),function(m){return!!m}),!a).join("/"),(a?"/":"")+r||"."}function Va(r){var a=Uo(r),l=oi(r,-1)==="/";return r=oo(yn(r.split("/"),function(f){return!!f}),!a).join("/"),!r&&!a&&(r="."),r&&l&&(r+="/"),(a?"/":"")+r}function Uo(r){return r.charAt(0)==="/"}function eu(){var r=Array.prototype.slice.call(arguments,0);return Va(yn(r,function(a,l){if(typeof a!="string")throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))}function tu(r,a){r=xa(r).substr(1),a=xa(a).substr(1);function l(A){for(var B=0;B<A.length&&A[B]==="";B++);for(var N=A.length-1;N>=0&&A[N]==="";N--);return B>N?[]:A.slice(B,N-B+1)}for(var f=l(r.split("/")),m=l(a.split("/")),d=Math.min(f.length,m.length),y=d,v=0;v<d;v++)if(f[v]!==m[v]){y=v;break}for(var C=[],v=y;v<f.length;v++)C.push("..");return C=C.concat(m.slice(y)),C.join("/")}function Ga(r){var a=an(r),l=a[0],f=a[1];return!l&&!f?".":(f&&(f=f.substr(0,f.length-1)),l+f)}function fu(r,a){var l=an(r)[2];return a&&l.substr(-1*a.length)===a&&(l=l.substr(0,l.length-a.length)),l}function ri(r){return an(r)[3]}function yn(r,a){if(r.filter)return r.filter(a);for(var l=[],f=0;f<r.length;f++)a(r[f],f,r)&&l.push(r[f]);return l}var bn,an,on,ni,Qn,oi,yi=Yr({"node-modules-polyfills:path"(){at(),bn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,an=function(r){return bn.exec(r).slice(1)},on="/",ni=":",Qn={extname:ri,basename:fu,dirname:Ga,sep:on,delimiter:ni,relative:tu,join:eu,isAbsolute:Uo,normalize:Va,resolve:xa},oi="ab".substr(-1)==="b"?function(r,a,l){return r.substr(a,l)}:function(r,a,l){return a<0&&(a=r.length+a),r.substr(a,l)}}}),Ki=Be({"node-modules-polyfills-commonjs:path"(r,a){at();var l=(yi(),ui(Fa));if(l&&l.default){a.exports=l.default;for(let f in l)a.exports[f]=l[f]}else l&&(a.exports=l)}}),Ci=Be({"src/common/errors.js"(r,a){at();var l=class extends Error{},f=class extends Error{},m=class extends Error{},d=class extends Error{};a.exports={ConfigError:l,DebugError:f,UndefinedParserError:m,ArgExpansionBailout:d}}}),Rn={};xr(Rn,{__assign:()=>An,__asyncDelegator:()=>Oe,__asyncGenerator:()=>ce,__asyncValues:()=>vt,__await:()=>Gi,__awaiter:()=>_i,__classPrivateFieldGet:()=>gt,__classPrivateFieldSet:()=>lr,__createBinding:()=>st,__decorate:()=>wi,__exportStar:()=>Ms,__extends:()=>Ri,__generator:()=>Ui,__importDefault:()=>et,__importStar:()=>Ut,__makeTemplateObject:()=>wt,__metadata:()=>js,__param:()=>Xi,__read:()=>Os,__rest:()=>rs,__spread:()=>So,__spreadArrays:()=>Ps,__values:()=>ra});function Ri(r,a){Ot(r,a);function l(){this.constructor=r}r.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)}function rs(r,a){var l={};for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&a.indexOf(f)<0&&(l[f]=r[f]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,f=Object.getOwnPropertySymbols(r);m<f.length;m++)a.indexOf(f[m])<0&&Object.prototype.propertyIsEnumerable.call(r,f[m])&&(l[f[m]]=r[f[m]]);return l}function wi(r,a,l,f){var m=arguments.length,d=m<3?a:f===null?f=Object.getOwnPropertyDescriptor(a,l):f,y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")d=Reflect.decorate(r,a,l,f);else for(var v=r.length-1;v>=0;v--)(y=r[v])&&(d=(m<3?y(d):m>3?y(a,l,d):y(a,l))||d);return m>3&&d&&Object.defineProperty(a,l,d),d}function Xi(r,a){return function(l,f){a(l,f,r)}}function js(r,a){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,a)}function _i(r,a,l,f){function m(d){return d instanceof l?d:new l(function(y){y(d)})}return new(l||(l=Promise))(function(d,y){function v(B){try{A(f.next(B))}catch(N){y(N)}}function C(B){try{A(f.throw(B))}catch(N){y(N)}}function A(B){B.done?d(B.value):m(B.value).then(v,C)}A((f=f.apply(r,a||[])).next())})}function Ui(r,a){var l={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},f,m,d,y;return y={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function v(A){return function(B){return C([A,B])}}function C(A){if(f)throw new TypeError("Generator is already executing.");for(;l;)try{if(f=1,m&&(d=A[0]&2?m.return:A[0]?m.throw||((d=m.return)&&d.call(m),0):m.next)&&!(d=d.call(m,A[1])).done)return d;switch(m=0,d&&(A=[A[0]&2,d.value]),A[0]){case 0:case 1:d=A;break;case 4:return l.label++,{value:A[1],done:!1};case 5:l.label++,m=A[1],A=[0];continue;case 7:A=l.ops.pop(),l.trys.pop();continue;default:if(d=l.trys,!(d=d.length>0&&d[d.length-1])&&(A[0]===6||A[0]===2)){l=0;continue}if(A[0]===3&&(!d||A[1]>d[0]&&A[1]<d[3])){l.label=A[1];break}if(A[0]===6&&l.label<d[1]){l.label=d[1],d=A;break}if(d&&l.label<d[2]){l.label=d[2],l.ops.push(A);break}d[2]&&l.ops.pop(),l.trys.pop();continue}A=a.call(r,l)}catch(B){A=[6,B],m=0}finally{f=d=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function st(r,a,l,f){f===void 0&&(f=l),r[f]=a[l]}function Ms(r,a){for(var l in r)l!=="default"&&!a.hasOwnProperty(l)&&(a[l]=r[l])}function ra(r){var a=typeof Symbol=="function"&&Symbol.iterator,l=a&&r[a],f=0;if(l)return l.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&f>=r.length&&(r=void 0),{value:r&&r[f++],done:!r}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function Os(r,a){var l=typeof Symbol=="function"&&r[Symbol.iterator];if(!l)return r;var f=l.call(r),m,d=[],y;try{for(;(a===void 0||a-- >0)&&!(m=f.next()).done;)d.push(m.value)}catch(v){y={error:v}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(y)throw y.error}}return d}function So(){for(var r=[],a=0;a<arguments.length;a++)r=r.concat(Os(arguments[a]));return r}function Ps(){for(var r=0,a=0,l=arguments.length;a<l;a++)r+=arguments[a].length;for(var f=Array(r),m=0,a=0;a<l;a++)for(var d=arguments[a],y=0,v=d.length;y<v;y++,m++)f[m]=d[y];return f}function Gi(r){return this instanceof Gi?(this.v=r,this):new Gi(r)}function ce(r,a,l){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var f=l.apply(r,a||[]),m,d=[];return m={},y("next"),y("throw"),y("return"),m[Symbol.asyncIterator]=function(){return this},m;function y(L){f[L]&&(m[L]=function(P){return new Promise(function(_,R){d.push([L,P,_,R])>1||v(L,P)})})}function v(L,P){try{C(f[L](P))}catch(_){N(d[0][3],_)}}function C(L){L.value instanceof Gi?Promise.resolve(L.value.v).then(A,B):N(d[0][2],L)}function A(L){v("next",L)}function B(L){v("throw",L)}function N(L,P){L(P),d.shift(),d.length&&v(d[0][0],d[0][1])}}function Oe(r){var a,l;return a={},f("next"),f("throw",function(m){throw m}),f("return"),a[Symbol.iterator]=function(){return this},a;function f(m,d){a[m]=r[m]?function(y){return(l=!l)?{value:Gi(r[m](y)),done:m==="return"}:d?d(y):y}:d}}function vt(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=r[Symbol.asyncIterator],l;return a?a.call(r):(r=typeof ra=="function"?ra(r):r[Symbol.iterator](),l={},f("next"),f("throw"),f("return"),l[Symbol.asyncIterator]=function(){return this},l);function f(d){l[d]=r[d]&&function(y){return new Promise(function(v,C){y=r[d](y),m(v,C,y.done,y.value)})}}function m(d,y,v,C){Promise.resolve(C).then(function(A){d({value:A,done:v})},y)}}function wt(r,a){return Object.defineProperty?Object.defineProperty(r,"raw",{value:a}):r.raw=a,r}function Ut(r){if(r&&r.__esModule)return r;var a={};if(r!=null)for(var l in r)Object.hasOwnProperty.call(r,l)&&(a[l]=r[l]);return a.default=r,a}function et(r){return r&&r.__esModule?r:{default:r}}function gt(r,a){if(!a.has(r))throw new TypeError("attempted to get private field on non-instance");return a.get(r)}function lr(r,a,l){if(!a.has(r))throw new TypeError("attempted to set private field on non-instance");return a.set(r,l),l}var Ot,An,ut=Yr({"node_modules/tslib/tslib.es6.js"(){at(),Ot=function(r,a){return Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,f){l.__proto__=f}||function(l,f){for(var m in f)f.hasOwnProperty(m)&&(l[m]=f[m])},Ot(r,a)},An=function(){return An=Object.assign||function(r){for(var a,l=1,f=arguments.length;l<f;l++){a=arguments[l];for(var m in a)Object.prototype.hasOwnProperty.call(a,m)&&(r[m]=a[m])}return r},An.apply(this,arguments)}}}),It=Be({"node_modules/vnopts/lib/descriptors/api.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0}),r.apiDescriptor={key:a=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(a)?a:JSON.stringify(a),value(a){if(a===null||typeof a!="object")return JSON.stringify(a);if(Array.isArray(a))return`[${a.map(f=>r.apiDescriptor.value(f)).join(", ")}]`;let l=Object.keys(a);return l.length===0?"{}":`{ ${l.map(f=>`${r.apiDescriptor.key(f)}: ${r.apiDescriptor.value(a[f])}`).join(", ")} }`},pair:a=>{let{key:l,value:f}=a;return r.apiDescriptor.value({[l]:f})}}}}),ar=Be({"node_modules/vnopts/lib/descriptors/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ut(),ui(Rn));a.__exportStar(It(),r)}}),qr=Be({"scripts/build/shims/chalk.cjs"(r,a){at();var l=f=>f;l.grey=l,l.red=l,l.bold=l,l.yellow=l,l.blue=l,l.default=l,a.exports=l}}),br=Be({"node_modules/vnopts/lib/handlers/deprecated/common.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=qr();r.commonDeprecatedHandler=(l,f,m)=>{let{descriptor:d}=m,y=[`${a.default.yellow(typeof l=="string"?d.key(l):d.pair(l))} is deprecated`];return f&&y.push(`we now treat it as ${a.default.blue(typeof f=="string"?d.key(f):d.pair(f))}`),y.join("; ")+"."}}}),zr=Be({"node_modules/vnopts/lib/handlers/deprecated/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ut(),ui(Rn));a.__exportStar(br(),r)}}),Hn=Be({"node_modules/vnopts/lib/handlers/invalid/common.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=qr();r.commonInvalidHandler=(l,f,m)=>[`Invalid ${a.default.red(m.descriptor.key(l))} value.`,`Expected ${a.default.blue(m.schemas[l].expected(m))},`,`but received ${a.default.red(m.descriptor.value(f))}.`].join(" ")}}),rn=Be({"node_modules/vnopts/lib/handlers/invalid/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ut(),ui(Rn));a.__exportStar(Hn(),r)}}),Wr=Be({"node_modules/vnopts/node_modules/leven/index.js"(r,a){at();var l=[],f=[];a.exports=function(m,d){if(m===d)return 0;var y=m;m.length>d.length&&(m=d,d=y);var v=m.length,C=d.length;if(v===0)return C;if(C===0)return v;for(;v>0&&m.charCodeAt(~-v)===d.charCodeAt(~-C);)v--,C--;if(v===0)return C;for(var A=0;A<v&&m.charCodeAt(A)===d.charCodeAt(A);)A++;if(v-=A,C-=A,v===0)return C;for(var B,N,L,P,_=0,R=0;_<v;)f[A+_]=m.charCodeAt(A+_),l[_]=++_;for(;R<C;)for(B=d.charCodeAt(A+R),L=R++,N=R,_=0;_<v;_++)P=B===f[A+_]?L:L+1,L=l[_],N=l[_]=L>N?P>N?N+1:P:P>L?L+1:P;return N}}}),pi=Be({"node_modules/vnopts/lib/handlers/unknown/leven.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=qr(),l=Wr();r.levenUnknownHandler=(f,m,d)=>{let{descriptor:y,logger:v,schemas:C}=d,A=[`Ignored unknown option ${a.default.yellow(y.pair({key:f,value:m}))}.`],B=Object.keys(C).sort().find(N=>l(f,N)<3);B&&A.push(`Did you mean ${a.default.blue(y.key(B))}?`),v.warn(A.join(" "))}}}),Ln=Be({"node_modules/vnopts/lib/handlers/unknown/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ut(),ui(Rn));a.__exportStar(pi(),r)}}),Cs=Be({"node_modules/vnopts/lib/handlers/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ut(),ui(Rn));a.__exportStar(zr(),r),a.__exportStar(rn(),r),a.__exportStar(Ln(),r)}}),en=Be({"node_modules/vnopts/lib/schema.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function l(d,y){let v=new d(y),C=Object.create(v);for(let A of a)A in y&&(C[A]=m(y[A],v,f.prototype[A].length));return C}r.createSchema=l;var f=class{constructor(d){this.name=d.name}static create(d){return l(this,d)}default(d){}expected(d){return"nothing"}validate(d,y){return!1}deprecated(d,y){return!1}forward(d,y){}redirect(d,y){}overlap(d,y,v){return d}preprocess(d,y){return d}postprocess(d,y){return d}};r.Schema=f;function m(d,y,v){return typeof d=="function"?function(){for(var C=arguments.length,A=new Array(C),B=0;B<C;B++)A[B]=arguments[B];return d(...A.slice(0,v-1),y,...A.slice(v-1))}:()=>d}}}),Si=Be({"node_modules/vnopts/lib/schemas/alias.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=en(),l=class extends a.Schema{constructor(f){super(f),this._sourceName=f.sourceName}expected(f){return f.schemas[this._sourceName].expected(f)}validate(f,m){return m.schemas[this._sourceName].validate(f,m)}redirect(f,m){return this._sourceName}};r.AliasSchema=l}}),Ai=Be({"node_modules/vnopts/lib/schemas/any.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=en(),l=class extends a.Schema{expected(){return"anything"}validate(){return!0}};r.AnySchema=l}}),Wi=Be({"node_modules/vnopts/lib/schemas/array.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ut(),ui(Rn)),l=en(),f=class extends l.Schema{constructor(d){var{valueSchema:y,name:v=y.name}=d,C=a.__rest(d,["valueSchema","name"]);super(Object.assign({},C,{name:v})),this._valueSchema=y}expected(d){return`an array of ${this._valueSchema.expected(d)}`}validate(d,y){if(!Array.isArray(d))return!1;let v=[];for(let C of d){let A=y.normalizeValidateResult(this._valueSchema.validate(C,y),C);A!==!0&&v.push(A.value)}return v.length===0?!0:{value:v}}deprecated(d,y){let v=[];for(let C of d){let A=y.normalizeDeprecatedResult(this._valueSchema.deprecated(C,y),C);A!==!1&&v.push(...A.map(B=>{let{value:N}=B;return{value:[N]}}))}return v}forward(d,y){let v=[];for(let C of d){let A=y.normalizeForwardResult(this._valueSchema.forward(C,y),C);v.push(...A.map(m))}return v}redirect(d,y){let v=[],C=[];for(let A of d){let B=y.normalizeRedirectResult(this._valueSchema.redirect(A,y),A);"remain"in B&&v.push(B.remain),C.push(...B.redirect.map(m))}return v.length===0?{redirect:C}:{redirect:C,remain:v}}overlap(d,y){return d.concat(y)}};r.ArraySchema=f;function m(d){let{from:y,to:v}=d;return{from:[y],to:v}}}}),cs=Be({"node_modules/vnopts/lib/schemas/boolean.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=en(),l=class extends a.Schema{expected(){return"true or false"}validate(f){return typeof f=="boolean"}};r.BooleanSchema=l}}),We=Be({"node_modules/vnopts/lib/utils.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});function a(P,_){let R=Object.create(null);for(let J of P){let oe=J[_];if(R[oe])throw new Error(`Duplicate ${_} ${JSON.stringify(oe)}`);R[oe]=J}return R}r.recordFromArray=a;function l(P,_){let R=new Map;for(let J of P){let oe=J[_];if(R.has(oe))throw new Error(`Duplicate ${_} ${JSON.stringify(oe)}`);R.set(oe,J)}return R}r.mapFromArray=l;function f(){let P=Object.create(null);return _=>{let R=JSON.stringify(_);return P[R]?!0:(P[R]=!0,!1)}}r.createAutoChecklist=f;function m(P,_){let R=[],J=[];for(let oe of P)_(oe)?R.push(oe):J.push(oe);return[R,J]}r.partition=m;function d(P){return P===Math.floor(P)}r.isInt=d;function y(P,_){if(P===_)return 0;let R=typeof P,J=typeof _,oe=["undefined","object","boolean","number","string"];return R!==J?oe.indexOf(R)-oe.indexOf(J):R!=="string"?Number(P)-Number(_):P.localeCompare(_)}r.comparePrimitive=y;function v(P){return P===void 0?{}:P}r.normalizeDefaultResult=v;function C(P,_){return P===!0?!0:P===!1?{value:_}:P}r.normalizeValidateResult=C;function A(P,_){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return P===!1?!1:P===!0?R?!0:[{value:_}]:"value"in P?[P]:P.length===0?!1:P}r.normalizeDeprecatedResult=A;function B(P,_){return typeof P=="string"||"key"in P?{from:_,to:P}:"from"in P?{from:P.from,to:P.to}:{from:_,to:P.to}}r.normalizeTransferResult=B;function N(P,_){return P===void 0?[]:Array.isArray(P)?P.map(R=>B(R,_)):[B(P,_)]}r.normalizeForwardResult=N;function L(P,_){let R=N(typeof P=="object"&&"redirect"in P?P.redirect:P,_);return R.length===0?{remain:_,redirect:R}:typeof P=="object"&&"remain"in P?{remain:P.remain,redirect:R}:{redirect:R}}r.normalizeRedirectResult=L}}),ft=Be({"node_modules/vnopts/lib/schemas/choice.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=en(),l=We(),f=class extends a.Schema{constructor(m){super(m),this._choices=l.mapFromArray(m.choices.map(d=>d&&typeof d=="object"?d:{value:d}),"value")}expected(m){let{descriptor:d}=m,y=Array.from(this._choices.keys()).map(A=>this._choices.get(A)).filter(A=>!A.deprecated).map(A=>A.value).sort(l.comparePrimitive).map(d.value),v=y.slice(0,-2),C=y.slice(-2);return v.concat(C.join(" or ")).join(", ")}validate(m){return this._choices.has(m)}deprecated(m){let d=this._choices.get(m);return d&&d.deprecated?{value:m}:!1}forward(m){let d=this._choices.get(m);return d?d.forward:void 0}redirect(m){let d=this._choices.get(m);return d?d.redirect:void 0}};r.ChoiceSchema=f}}),Or=Be({"node_modules/vnopts/lib/schemas/number.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=en(),l=class extends a.Schema{expected(){return"a number"}validate(f,m){return typeof f=="number"}};r.NumberSchema=l}}),ir=Be({"node_modules/vnopts/lib/schemas/integer.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=We(),l=Or(),f=class extends l.NumberSchema{expected(){return"an integer"}validate(m,d){return d.normalizeValidateResult(super.validate(m,d),m)===!0&&a.isInt(m)}};r.IntegerSchema=f}}),xn=Be({"node_modules/vnopts/lib/schemas/string.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=en(),l=class extends a.Schema{expected(){return"a string"}validate(f){return typeof f=="string"}};r.StringSchema=l}}),$i=Be({"node_modules/vnopts/lib/schemas/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ut(),ui(Rn));a.__exportStar(Si(),r),a.__exportStar(Ai(),r),a.__exportStar(Wi(),r),a.__exportStar(cs(),r),a.__exportStar(ft(),r),a.__exportStar(ir(),r),a.__exportStar(Or(),r),a.__exportStar(xn(),r)}}),Ji=Be({"node_modules/vnopts/lib/defaults.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=It(),l=br(),f=rn(),m=pi();r.defaultDescriptor=a.apiDescriptor,r.defaultUnknownHandler=m.levenUnknownHandler,r.defaultInvalidHandler=f.commonInvalidHandler,r.defaultDeprecatedHandler=l.commonDeprecatedHandler}}),Js=Be({"node_modules/vnopts/lib/normalize.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=Ji(),l=We();r.normalize=(m,d,y)=>new f(d,y).normalize(m);var f=class{constructor(m,d){let{logger:y=console,descriptor:v=a.defaultDescriptor,unknown:C=a.defaultUnknownHandler,invalid:A=a.defaultInvalidHandler,deprecated:B=a.defaultDeprecatedHandler}=d||{};this._utils={descriptor:v,logger:y||{warn:()=>{}},schemas:l.recordFromArray(m,"name"),normalizeDefaultResult:l.normalizeDefaultResult,normalizeDeprecatedResult:l.normalizeDeprecatedResult,normalizeForwardResult:l.normalizeForwardResult,normalizeRedirectResult:l.normalizeRedirectResult,normalizeValidateResult:l.normalizeValidateResult},this._unknownHandler=C,this._invalidHandler=A,this._deprecatedHandler=B,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=l.createAutoChecklist()}normalize(m){let d={},y=[m],v=()=>{for(;y.length!==0;){let C=y.shift(),A=this._applyNormalization(C,d);y.push(...A)}};v();for(let C of Object.keys(this._utils.schemas)){let A=this._utils.schemas[C];if(!(C in d)){let B=l.normalizeDefaultResult(A.default(this._utils));"value"in B&&y.push({[C]:B.value})}}v();for(let C of Object.keys(this._utils.schemas)){let A=this._utils.schemas[C];C in d&&(d[C]=A.postprocess(d[C],this._utils))}return d}_applyNormalization(m,d){let y=[],[v,C]=l.partition(Object.keys(m),A=>A in this._utils.schemas);for(let A of v){let B=this._utils.schemas[A],N=B.preprocess(m[A],this._utils),L=l.normalizeValidateResult(B.validate(N,this._utils),N);if(L!==!0){let{value:J}=L,oe=this._invalidHandler(A,J,this._utils);throw typeof oe=="string"?new Error(oe):oe}let P=J=>{let{from:oe,to:H}=J;y.push(typeof H=="string"?{[H]:oe}:{[H.key]:H.value})},_=J=>{let{value:oe,redirectTo:H}=J,G=l.normalizeDeprecatedResult(B.deprecated(oe,this._utils),N,!0);if(G!==!1)if(G===!0)this._hasDeprecationWarned(A)||this._utils.logger.warn(this._deprecatedHandler(A,H,this._utils));else for(let{value:ne}of G){let me={key:A,value:ne};if(!this._hasDeprecationWarned(me)){let he=typeof H=="string"?{key:H,value:ne}:H;this._utils.logger.warn(this._deprecatedHandler(me,he,this._utils))}}};l.normalizeForwardResult(B.forward(N,this._utils),N).forEach(P);let R=l.normalizeRedirectResult(B.redirect(N,this._utils),N);if(R.redirect.forEach(P),"remain"in R){let J=R.remain;d[A]=A in d?B.overlap(d[A],J,this._utils):J,_({value:J})}for(let{from:J,to:oe}of R.redirect)_({value:J,redirectTo:oe})}for(let A of C){let B=m[A],N=this._unknownHandler(A,B,this._utils);if(N)for(let L of Object.keys(N)){let P={[L]:N[L]};L in this._utils.schemas?y.push(P):Object.assign(d,P)}}return y}};r.Normalizer=f}}),Ns=Be({"node_modules/vnopts/lib/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ut(),ui(Rn));a.__exportStar(ar(),r),a.__exportStar(Cs(),r),a.__exportStar($i(),r),a.__exportStar(Js(),r),a.__exportStar(en(),r)}}),na=Be({"src/main/options-normalizer.js"(r,a){at();var l=Ns(),f=is(),m={key:L=>L.length===1?`-${L}`:`--${L}`,value:L=>l.apiDescriptor.value(L),pair:L=>{let{key:P,value:_}=L;return _===!1?`--no-${P}`:_===!0?m.key(P):_===""?`${m.key(P)} without an argument`:`${m.key(P)}=${_}`}},d=L=>{let{colorsModule:P,levenshteinDistance:_}=L;return class extends l.ChoiceSchema{constructor(R){let{name:J,flags:oe}=R;super({name:J,choices:oe}),this._flags=[...oe].sort()}preprocess(R,J){if(typeof R=="string"&&R.length>0&&!this._flags.includes(R)){let oe=this._flags.find(H=>_(H,R)<3);if(oe)return J.logger.warn([`Unknown flag ${P.yellow(J.descriptor.value(R))},`,`did you mean ${P.blue(J.descriptor.value(oe))}?`].join(" ")),oe}return R}expected(){return"a flag"}}},y;function v(L,P){let{logger:_=!1,isCLI:R=!1,passThrough:J=!1,colorsModule:oe=null,levenshteinDistance:H=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},G=J?Array.isArray(J)?(Q,I)=>J.includes(Q)?{[Q]:I}:void 0:(Q,I)=>({[Q]:I}):(Q,I,U)=>{let T=U.schemas,M=Re(T,xe);return l.levenUnknownHandler(Q,I,Object.assign(Object.assign({},U),{},{schemas:M}))},ne=R?m:l.apiDescriptor,me=C(P,{isCLI:R,colorsModule:oe,levenshteinDistance:H}),he=new l.Normalizer(me,{logger:_,unknown:G,descriptor:ne}),ze=_!==!1;ze&&y&&(he._hasDeprecationWarned=y);let O=he.normalize(L);return ze&&(y=he._hasDeprecationWarned),R&&O["plugin-search"]===!1&&(O["plugin-search-dir"]=!1),O}function C(L,P){let{isCLI:_,colorsModule:R,levenshteinDistance:J}=P,oe=[];_&&oe.push(l.AnySchema.create({name:"_"}));for(let H of L)oe.push(A(H,{isCLI:_,optionInfos:L,colorsModule:R,levenshteinDistance:J})),H.alias&&_&&oe.push(l.AliasSchema.create({name:H.alias,sourceName:H.name}));return oe}function A(L,P){let{isCLI:_,optionInfos:R,colorsModule:J,levenshteinDistance:oe}=P,{name:H}=L;if(H==="plugin-search-dir"||H==="pluginSearchDirs")return l.AnySchema.create({name:H,preprocess(he){return he===!1||(he=Array.isArray(he)?he:[he]),he},validate(he){return he===!1?!0:he.every(ze=>typeof ze=="string")},expected(){return"false or paths to plugin search dir"}});let G={name:H},ne,me={};switch(L.type){case"int":ne=l.IntegerSchema,_&&(G.preprocess=Number);break;case"string":ne=l.StringSchema;break;case"choice":ne=l.ChoiceSchema,G.choices=L.choices.map(he=>typeof he=="object"&&he.redirect?Object.assign(Object.assign({},he),{},{redirect:{to:{key:L.name,value:he.redirect}}}):he);break;case"boolean":ne=l.BooleanSchema;break;case"flag":ne=d({colorsModule:J,levenshteinDistance:oe}),G.flags=R.flatMap(he=>[he.alias,he.description&&he.name,he.oppositeDescription&&`no-${he.name}`].filter(Boolean));break;case"path":ne=l.StringSchema;break;default:throw new Error(`Unexpected type ${L.type}`)}if(L.exception?G.validate=(he,ze,O)=>L.exception(he)||ze.validate(he,O):G.validate=(he,ze,O)=>he===void 0||ze.validate(he,O),L.redirect&&(me.redirect=he=>he?{to:{key:L.redirect.option,value:L.redirect.value}}:void 0),L.deprecated&&(me.deprecated=!0),_&&!L.array){let he=G.preprocess||(ze=>ze);G.preprocess=(ze,O,Q)=>O.preprocess(he(Array.isArray(ze)?f(ze):ze),Q)}return L.array?l.ArraySchema.create(Object.assign(Object.assign(Object.assign({},_?{preprocess:he=>Array.isArray(he)?he:[he]}:{}),me),{},{valueSchema:ne.create(G)})):ne.create(Object.assign(Object.assign({},G),me))}function B(L,P,_){return v(L,P,_)}function N(L,P,_){return v(L,P,Object.assign({isCLI:!0},_))}a.exports={normalizeApiOptions:B,normalizeCliOptions:N}}}),Ts=Be({"src/language-js/loc.js"(r,a){at();var l=va();function f(C){var A,B;let N=C.range?C.range[0]:C.start,L=(A=(B=C.declaration)===null||B===void 0?void 0:B.decorators)!==null&&A!==void 0?A:C.decorators;return l(L)?Math.min(f(L[0]),N):N}function m(C){return C.range?C.range[1]:C.end}function d(C,A){let B=f(C);return Number.isInteger(B)&&B===f(A)}function y(C,A){let B=m(C);return Number.isInteger(B)&&B===m(A)}function v(C,A){return d(C,A)&&y(C,A)}a.exports={locStart:f,locEnd:m,hasSameLocStart:d,hasSameLoc:v}}}),la=Be({"src/main/load-parser.js"(r,a){at(),a.exports=()=>{}}}),Rs=Be({"scripts/build/shims/babel-highlight.cjs"(r,a){at();var l=qr(),f={shouldHighlight:()=>!1,getChalk:()=>l};a.exports=f}}),ca=Be({"node_modules/@babel/code-frame/lib/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0}),r.codeFrameColumns=y,r.default=v;var a=Rs(),l=!1;function f(C){return{gutter:C.grey,marker:C.red.bold,message:C.red.bold}}var m=/\r\n|[\n\r\u2028\u2029]/;function d(C,A,B){let N=Object.assign({column:0,line:-1},C.start),L=Object.assign({},N,C.end),{linesAbove:P=2,linesBelow:_=3}=B||{},R=N.line,J=N.column,oe=L.line,H=L.column,G=Math.max(R-(P+1),0),ne=Math.min(A.length,oe+_);R===-1&&(G=0),oe===-1&&(ne=A.length);let me=oe-R,he={};if(me)for(let ze=0;ze<=me;ze++){let O=ze+R;if(!J)he[O]=!0;else if(ze===0){let Q=A[O-1].length;he[O]=[J,Q-J+1]}else if(ze===me)he[O]=[0,H];else{let Q=A[O-ze].length;he[O]=[0,Q]}}else J===H?J?he[R]=[J,0]:he[R]=!0:he[R]=[J,H-J];return{start:G,end:ne,markerLines:he}}function y(C,A){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=(B.highlightCode||B.forceColor)&&(0,a.shouldHighlight)(B),L=(0,a.getChalk)(B),P=f(L),_=(he,ze)=>N?he(ze):ze,R=C.split(m),{start:J,end:oe,markerLines:H}=d(A,R,B),G=A.start&&typeof A.start.column=="number",ne=String(oe).length,me=(N?(0,a.default)(C,B):C).split(m,oe).slice(J,oe).map((he,ze)=>{let O=J+1+ze,Q=` ${` ${O}`.slice(-ne)} |`,I=H[O],U=!H[O+1];if(I){let T="";if(Array.isArray(I)){let M=he.slice(0,Math.max(I[0]-1,0)).replace(/[^\t]/g," "),z=I[1]||1;T=[`
61
- `,_(P.gutter,Q.replace(/\d/g," "))," ",M,_(P.marker,"^").repeat(z)].join(""),U&&B.message&&(T+=" "+_(P.message,B.message))}return[_(P.marker,">"),_(P.gutter,Q),he.length>0?` ${he}`:"",T].join("")}else return` ${_(P.gutter,Q)}${he.length>0?` ${he}`:""}`}).join(`
62
- `);return B.message&&!G&&(me=`${" ".repeat(ne+1)}${B.message}
63
- ${me}`),N?L.reset(me):me}function v(C,A,B){let N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!l){l=!0;let L="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Fs.emitWarning)Fs.emitWarning(L,"DeprecationWarning");else{let P=new Error(L);P.name="DeprecationWarning",console.warn(new Error(L))}}return B=Math.max(B,0),y(C,{start:{column:B,line:A}},N)}}}),En=Be({"src/main/parser.js"(r,a){at();var{ConfigError:l}=Ci(),f=Ts();la();var{locStart:m,locEnd:d}=f,y=Object.getOwnPropertyNames,v=Object.getOwnPropertyDescriptor;function C(N){let L={};for(let P of N.plugins)if(P.parsers)for(let _ of y(P.parsers))Object.defineProperty(L,_,v(P.parsers,_));return L}function A(N){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C(N);if(typeof N.parser=="function")return{parse:N.parser,astFormat:"estree",locStart:m,locEnd:d};if(typeof N.parser=="string"){if(Object.prototype.hasOwnProperty.call(L,N.parser))return L[N.parser];throw new l(`Couldn't resolve parser "${N.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function B(N,L){let P=C(L),_=Object.defineProperties({},Object.fromEntries(Object.keys(P).map(J=>[J,{enumerable:!0,get(){return P[J].parse}}]))),R=A(L,P);try{return R.preprocess&&(N=R.preprocess(N,L)),{text:N,ast:R.parse(N,_,L)}}catch(J){let{loc:oe}=J;if(oe){let{codeFrameColumns:H}=ca();throw J.codeFrame=H(N,oe,{highlightCode:!0}),J.message+=`
64
- `+J.codeFrame,J}throw J}}a.exports={parse:B,resolveParser:A}}}),qn=Be({"src/main/options.js"(r,a){at();var l=Ki(),{UndefinedParserError:f}=Ci(),{getSupportInfo:m}=ao(),d=na(),{resolveParser:y}=En(),v={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function C(N){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=Object.assign({},N),_=m({plugins:N.plugins,showUnreleased:!0,showDeprecated:!0}).options,R=Object.assign(Object.assign({},v),Object.fromEntries(_.filter(ne=>ne.default!==void 0).map(ne=>[ne.name,ne.default])));if(!P.parser){if(!P.filepath)(L.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."),P.parser="babel";else if(P.parser=B(P.filepath,P.plugins),!P.parser)throw new f(`No parser could be inferred for file: ${P.filepath}`)}let J=y(d.normalizeApiOptions(P,[_.find(ne=>ne.name==="parser")],{passThrough:!0,logger:!1}));P.astFormat=J.astFormat,P.locEnd=J.locEnd,P.locStart=J.locStart;let oe=A(P);P.printer=oe.printers[P.astFormat];let H=Object.fromEntries(_.filter(ne=>ne.pluginDefaults&&ne.pluginDefaults[oe.name]!==void 0).map(ne=>[ne.name,ne.pluginDefaults[oe.name]])),G=Object.assign(Object.assign({},R),H);for(let[ne,me]of Object.entries(G))(P[ne]===null||P[ne]===void 0)&&(P[ne]=me);return P.parser==="json"&&(P.trailingComma="none"),d.normalizeApiOptions(P,_,Object.assign({passThrough:Object.keys(v)},L))}function A(N){let{astFormat:L}=N;if(!L)throw new Error("getPlugin() requires astFormat to be set");let P=N.plugins.find(_=>_.printers&&_.printers[L]);if(!P)throw new Error(`Couldn't find plugin for AST format "${L}"`);return P}function B(N,L){let P=l.basename(N).toLowerCase(),_=m({plugins:L}).languages.filter(R=>R.since!==null).find(R=>R.extensions&&R.extensions.some(J=>P.endsWith(J))||R.filenames&&R.filenames.some(J=>J.toLowerCase()===P));return _&&_.parsers[0]}a.exports={normalize:C,hiddenDefaults:v,inferParser:B}}}),hi=Be({"src/main/massage-ast.js"(r,a){at();function l(f,m,d){if(Array.isArray(f))return f.map(A=>l(A,m,d)).filter(Boolean);if(!f||typeof f!="object")return f;let y=m.printer.massageAstNode,v;y&&y.ignoredProperties?v=y.ignoredProperties:v=new Set;let C={};for(let[A,B]of Object.entries(f))!v.has(A)&&typeof B!="function"&&(C[A]=l(B,m,f));if(y){let A=y(f,C,d);if(A===null)return;if(A)return A}return C}a.exports=l}}),si=Be({"scripts/build/shims/assert.cjs"(r,a){at();var l=()=>{};l.ok=l,l.strictEqual=l,a.exports=l}}),ai=Be({"src/main/comments.js"(r,a){at();var l=si(),{builders:{line:f,hardline:m,breakParent:d,indent:y,lineSuffix:v,join:C,cursor:A}}=xi(),{hasNewline:B,skipNewline:N,skipSpaces:L,isPreviousLineEmpty:P,addLeadingComment:_,addDanglingComment:R,addTrailingComment:J}=Pi(),oe=new WeakMap;function H(we,je,$e){if(!we)return;let{printer:Le,locStart:rt,locEnd:Se}=je;if($e){if(Le.canAttachComment&&Le.canAttachComment(we)){let Ue;for(Ue=$e.length-1;Ue>=0&&!(rt($e[Ue])<=rt(we)&&Se($e[Ue])<=Se(we));--Ue);$e.splice(Ue+1,0,we);return}}else if(oe.has(we))return oe.get(we);let yt=Le.getCommentChildNodes&&Le.getCommentChildNodes(we,je)||typeof we=="object"&&Object.entries(we).filter(Ue=>{let[Pe]=Ue;return Pe!=="enclosingNode"&&Pe!=="precedingNode"&&Pe!=="followingNode"&&Pe!=="tokens"&&Pe!=="comments"&&Pe!=="parent"}).map(Ue=>{let[,Pe]=Ue;return Pe});if(yt){$e||($e=[],oe.set(we,$e));for(let Ue of yt)H(Ue,je,$e);return $e}}function G(we,je,$e,Le){let{locStart:rt,locEnd:Se}=$e,yt=rt(je),Ue=Se(je),Pe=H(we,$e),mt,Ht,xt=0,Zt=Pe.length;for(;xt<Zt;){let He=xt+Zt>>1,lt=Pe[He],qt=rt(lt),Yt=Se(lt);if(qt<=yt&&Ue<=Yt)return G(lt,je,$e,lt);if(Yt<=yt){mt=lt,xt=He+1;continue}if(Ue<=qt){Ht=lt,Zt=He;continue}throw new Error("Comment location overlaps with node location")}if(Le&&Le.type==="TemplateLiteral"){let{quasis:He}=Le,lt=U(He,je,$e);mt&&U(He,mt,$e)!==lt&&(mt=null),Ht&&U(He,Ht,$e)!==lt&&(Ht=null)}return{enclosingNode:Le,precedingNode:mt,followingNode:Ht}}var ne=()=>!1;function me(we,je,$e,Le){if(!Array.isArray(we))return;let rt=[],{locStart:Se,locEnd:yt,printer:{handleComments:Ue={}}}=Le,{avoidAstMutation:Pe,ownLine:mt=ne,endOfLine:Ht=ne,remaining:xt=ne}=Ue,Zt=we.map((He,lt)=>Object.assign(Object.assign({},G(je,He,Le)),{},{comment:He,text:$e,options:Le,ast:je,isLastComment:we.length-1===lt}));for(let[He,lt]of Zt.entries()){let{comment:qt,precedingNode:Yt,enclosingNode:wn,followingNode:ht,text:Ye,options:Dt,ast:Mt,isLastComment:or}=lt;if(Dt.parser==="json"||Dt.parser==="json5"||Dt.parser==="__js_expression"||Dt.parser==="__vue_expression"||Dt.parser==="__vue_ts_expression"){if(Se(qt)-Se(Mt)<=0){_(Mt,qt);continue}if(yt(qt)-yt(Mt)>=0){J(Mt,qt);continue}}let Rr;if(Pe?Rr=[lt]:(qt.enclosingNode=wn,qt.precedingNode=Yt,qt.followingNode=ht,Rr=[qt,Ye,Dt,Mt,or]),ze(Ye,Dt,Zt,He))qt.placement="ownLine",mt(...Rr)||(ht?_(ht,qt):Yt?J(Yt,qt):R(wn||Mt,qt));else if(O(Ye,Dt,Zt,He))qt.placement="endOfLine",Ht(...Rr)||(Yt?J(Yt,qt):ht?_(ht,qt):R(wn||Mt,qt));else if(qt.placement="remaining",!xt(...Rr))if(Yt&&ht){let Qr=rt.length;Qr>0&&rt[Qr-1].followingNode!==ht&&Q(rt,Ye,Dt),rt.push(lt)}else Yt?J(Yt,qt):ht?_(ht,qt):R(wn||Mt,qt)}if(Q(rt,$e,Le),!Pe)for(let He of we)delete He.precedingNode,delete He.enclosingNode,delete He.followingNode}var he=we=>!/[\S\n\u2028\u2029]/.test(we);function ze(we,je,$e,Le){let{comment:rt,precedingNode:Se}=$e[Le],{locStart:yt,locEnd:Ue}=je,Pe=yt(rt);if(Se)for(let mt=Le-1;mt>=0;mt--){let{comment:Ht,precedingNode:xt}=$e[mt];if(xt!==Se||!he(we.slice(Ue(Ht),Pe)))break;Pe=yt(Ht)}return B(we,Pe,{backwards:!0})}function O(we,je,$e,Le){let{comment:rt,followingNode:Se}=$e[Le],{locStart:yt,locEnd:Ue}=je,Pe=Ue(rt);if(Se)for(let mt=Le+1;mt<$e.length;mt++){let{comment:Ht,followingNode:xt}=$e[mt];if(xt!==Se||!he(we.slice(Pe,yt(Ht))))break;Pe=Ue(Ht)}return B(we,Pe)}function Q(we,je,$e){let Le=we.length;if(Le===0)return;let{precedingNode:rt,followingNode:Se,enclosingNode:yt}=we[0],Ue=$e.printer.getGapRegex&&$e.printer.getGapRegex(yt)||/^[\s(]*$/,Pe=$e.locStart(Se),mt;for(mt=Le;mt>0;--mt){let{comment:Ht,precedingNode:xt,followingNode:Zt}=we[mt-1];l.strictEqual(xt,rt),l.strictEqual(Zt,Se);let He=je.slice($e.locEnd(Ht),Pe);if(Ue.test(He))Pe=$e.locStart(Ht);else break}for(let[Ht,{comment:xt}]of we.entries())Ht<mt?J(rt,xt):_(Se,xt);for(let Ht of[rt,Se])Ht.comments&&Ht.comments.length>1&&Ht.comments.sort((xt,Zt)=>$e.locStart(xt)-$e.locStart(Zt));we.length=0}function I(we,je){let $e=we.getValue();return $e.printed=!0,je.printer.printComment(we,je)}function U(we,je,$e){let Le=$e.locStart(je)-1;for(let rt=1;rt<we.length;++rt)if(Le<$e.locStart(we[rt]))return rt-1;return 0}function T(we,je){let $e=we.getValue(),Le=[I(we,je)],{printer:rt,originalText:Se,locStart:yt,locEnd:Ue}=je;if(rt.isBlockComment&&rt.isBlockComment($e)){let mt=B(Se,Ue($e))?B(Se,yt($e),{backwards:!0})?m:f:" ";Le.push(mt)}else Le.push(m);let Pe=N(Se,L(Se,Ue($e)));return Pe!==!1&&B(Se,Pe)&&Le.push(m),Le}function M(we,je){let $e=we.getValue(),Le=I(we,je),{printer:rt,originalText:Se,locStart:yt}=je,Ue=rt.isBlockComment&&rt.isBlockComment($e);if(B(Se,yt($e),{backwards:!0})){let mt=P(Se,$e,yt);return v([m,mt?m:"",Le])}let Pe=[" ",Le];return Ue||(Pe=[v(Pe),d]),Pe}function z(we,je,$e,Le){let rt=[],Se=we.getValue();return!Se||!Se.comments||(we.each(()=>{let yt=we.getValue();!yt.leading&&!yt.trailing&&(!Le||Le(yt))&&rt.push(I(we,je))},"comments"),rt.length===0)?"":$e?C(m,rt):y([m,C(m,rt)])}function se(we,je,$e){let Le=we.getValue();if(!Le)return{};let rt=Le.comments||[];$e&&(rt=rt.filter(Pe=>!$e.has(Pe)));let Se=Le===je.cursorNode;if(rt.length===0){let Pe=Se?A:"";return{leading:Pe,trailing:Pe}}let yt=[],Ue=[];return we.each(()=>{let Pe=we.getValue();if($e&&$e.has(Pe))return;let{leading:mt,trailing:Ht}=Pe;mt?yt.push(T(we,je)):Ht&&Ue.push(M(we,je))},"comments"),Se&&(yt.unshift(A),Ue.push(A)),{leading:yt,trailing:Ue}}function K(we,je,$e,Le){let{leading:rt,trailing:Se}=se(we,$e,Le);return!rt&&!Se?je:[rt,je,Se]}function ee(we){if(we)for(let je of we){if(!je.printed)throw new Error('Comment "'+je.value.trim()+'" was not printed. Please report this error!');delete je.printed}}a.exports={attach:me,printComments:K,printCommentsSeparately:se,printDanglingComments:z,getSortedChildNodes:H,ensureAllCommentsPrinted:ee}}}),vs=Be({"src/common/ast-path.js"(r,a){at();var l=is();function f(y,v){let C=m(y.stack,v);return C===-1?null:y.stack[C]}function m(y,v){for(let C=y.length-1;C>=0;C-=2){let A=y[C];if(A&&!Array.isArray(A)&&--v<0)return C}return-1}var d=class{constructor(y){this.stack=[y]}getName(){let{stack:y}=this,{length:v}=y;return v>1?y[v-2]:null}getValue(){return l(this.stack)}getNode(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return f(this,y)}getParentNode(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return f(this,y+1)}call(y){let{stack:v}=this,{length:C}=v,A=l(v);for(var B=arguments.length,N=new Array(B>1?B-1:0),L=1;L<B;L++)N[L-1]=arguments[L];for(let _ of N)A=A[_],v.push(_,A);let P=y(this);return v.length=C,P}callParent(y){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=m(this.stack,v+1),A=this.stack.splice(C+1),B=y(this);return this.stack.push(...A),B}each(y){let{stack:v}=this,{length:C}=v,A=l(v);for(var B=arguments.length,N=new Array(B>1?B-1:0),L=1;L<B;L++)N[L-1]=arguments[L];for(let P of N)A=A[P],v.push(P,A);for(let P=0;P<A.length;++P)v.push(P,A[P]),y(this,P,A),v.length-=2;v.length=C}map(y){let v=[];for(var C=arguments.length,A=new Array(C>1?C-1:0),B=1;B<C;B++)A[B-1]=arguments[B];return this.each((N,L,P)=>{v[L]=y(N,L,P)},...A),v}try(y){let{stack:v}=this,C=[...v];try{return y()}finally{v.length=0,v.push(...C)}}match(){let y=this.stack.length-1,v=null,C=this.stack[y--];for(var A=arguments.length,B=new Array(A),N=0;N<A;N++)B[N]=arguments[N];for(let L of B){if(C===void 0)return!1;let P=null;if(typeof v=="number"&&(P=v,v=this.stack[y--],C=this.stack[y--]),L&&!L(C,v,P))return!1;v=this.stack[y--],C=this.stack[y--]}return!0}findAncestor(y){let v=this.stack.length-1,C=null,A=this.stack[v--];for(;A;){let B=null;if(typeof C=="number"&&(B=C,C=this.stack[v--],A=this.stack[v--]),C!==null&&y(A,C,B))return A;C=this.stack[v--],A=this.stack[v--]}}};a.exports=d}}),ps=Be({"src/main/multiparser.js"(r,a){at();var{utils:{stripTrailingHardline:l}}=xi(),{normalize:f}=qn(),m=ai();function d(v,C,A,B){if(A.printer.embed&&A.embeddedLanguageFormatting==="auto")return A.printer.embed(v,C,(N,L,P)=>y(N,L,A,B,P),A)}function y(v,C,A,B){let{stripTrailingHardline:N=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},L=f(Object.assign(Object.assign(Object.assign({},A),C),{},{parentParser:A.parser,originalText:v}),{passThrough:!0}),P=En().parse(v,L),{ast:_}=P;v=P.text;let R=_.comments;delete _.comments,m.attach(R,_,v,L),L[Symbol.for("comments")]=R||[],L[Symbol.for("tokens")]=_.tokens||[];let J=B(_,L);return m.ensureAllCommentsPrinted(R),N?typeof J=="string"?J.replace(/(?:\r?\n)*$/,""):l(J):J}a.exports={printSubtree:d}}}),bs=Be({"src/main/ast-to-doc.js"(r,a){at();var l=vs(),{builders:{hardline:f,addAlignmentToDoc:m},utils:{propagateBreaks:d}}=xi(),{printComments:y}=ai(),v=ps();function C(N,L){let P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:_}=L;_.preprocess&&(N=_.preprocess(N,L));let R=new Map,J=new l(N),oe=H();return P>0&&(oe=m([f,oe],P,L.tabWidth)),d(oe),oe;function H(ne,me){return ne===void 0||ne===J?G(me):Array.isArray(ne)?J.call(()=>G(me),...ne):J.call(()=>G(me),ne)}function G(ne){let me=J.getValue(),he=me&&typeof me=="object"&&ne===void 0;if(he&&R.has(me))return R.get(me);let ze=B(J,L,H,ne);return he&&R.set(me,ze),ze}}function A(N,L){let{originalText:P,[Symbol.for("comments")]:_,locStart:R,locEnd:J}=L,oe=R(N),H=J(N),G=new Set;for(let ne of _)R(ne)>=oe&&J(ne)<=H&&(ne.printed=!0,G.add(ne));return{doc:P.slice(oe,H),printedComments:G}}function B(N,L,P,_){let R=N.getValue(),{printer:J}=L,oe,H;if(J.hasPrettierIgnore&&J.hasPrettierIgnore(N))({doc:oe,printedComments:H}=A(R,L));else{if(R)try{oe=v.printSubtree(N,P,L,C)}catch(G){if(globalThis.PRETTIER_DEBUG)throw G}oe||(oe=J.print(N,L,P,_))}return(!J.willPrintOwnComments||!J.willPrintOwnComments(N,L))&&(oe=y(N,oe,L,H)),oe}a.exports=C}}),aa=Be({"src/main/range-util.js"(r,a){at();var l=si(),f=ai(),m=_=>{let{parser:R}=_;return R==="json"||R==="json5"||R==="json-stringify"};function d(_,R){let J=[_.node,..._.parentNodes],oe=new Set([R.node,...R.parentNodes]);return J.find(H=>B.has(H.type)&&oe.has(H))}function y(_){let R=_.length-1;for(;;){let J=_[R];if(J&&(J.type==="Program"||J.type==="File"))R--;else break}return _.slice(0,R+1)}function v(_,R,J){let{locStart:oe,locEnd:H}=J,G=_.node,ne=R.node;if(G===ne)return{startNode:G,endNode:ne};let me=oe(_.node);for(let ze of y(R.parentNodes))if(oe(ze)>=me)ne=ze;else break;let he=H(R.node);for(let ze of y(_.parentNodes)){if(H(ze)<=he)G=ze;else break;if(G===ne)break}return{startNode:G,endNode:ne}}function C(_,R,J,oe){let H=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],G=arguments.length>5?arguments[5]:void 0,{locStart:ne,locEnd:me}=J,he=ne(_),ze=me(_);if(!(R>ze||R<he||G==="rangeEnd"&&R===he||G==="rangeStart"&&R===ze)){for(let O of f.getSortedChildNodes(_,J)){let Q=C(O,R,J,oe,[_,...H],G);if(Q)return Q}if(!oe||oe(_,H[0]))return{node:_,parentNodes:H}}}function A(_,R){return R!=="DeclareExportDeclaration"&&_!=="TypeParameterDeclaration"&&(_==="Directive"||_==="TypeAlias"||_==="TSExportAssignment"||_.startsWith("Declare")||_.startsWith("TSDeclare")||_.endsWith("Statement")||_.endsWith("Declaration"))}var B=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),N=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function L(_,R,J){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 A(R.type,J&&J.type);case"json":case"json5":case"json-stringify":return B.has(R.type);case"graphql":return N.has(R.kind);case"vue":return R.tag!=="root"}return!1}function P(_,R,J){let{rangeStart:oe,rangeEnd:H,locStart:G,locEnd:ne}=R;l.ok(H>oe);let me=_.slice(oe,H).search(/\S/),he=me===-1;if(!he)for(oe+=me;H>oe&&!/\S/.test(_[H-1]);--H);let ze=C(J,oe,R,(U,T)=>L(R,U,T),[],"rangeStart"),O=he?ze:C(J,H,R,U=>L(R,U),[],"rangeEnd");if(!ze||!O)return{rangeStart:0,rangeEnd:0};let Q,I;if(m(R)){let U=d(ze,O);Q=U,I=U}else({startNode:Q,endNode:I}=v(ze,O,R));return{rangeStart:Math.min(G(Q),G(I)),rangeEnd:Math.max(ne(Q),ne(I))}}a.exports={calculateRange:P,findNodeAtOffset:C}}}),Fo=Be({"src/main/core.js"(r,a){at();var{diffArrays:l}=ms(),{printer:{printDocToString:f},debug:{printDocToDebug:m}}=xi(),{getAlignmentSize:d}=Pi(),{guessEndOfLine:y,convertEndOfLineToChars:v,countEndOfLineChars:C,normalizeEndOfLine:A}=ji(),B=qn().normalize,N=hi(),L=ai(),P=En(),_=bs(),R=aa(),J="\uFEFF",oe=Symbol("cursor");function H(I,U,T){let M=U.comments;return M&&(delete U.comments,L.attach(M,U,I,T)),T[Symbol.for("comments")]=M||[],T[Symbol.for("tokens")]=U.tokens||[],T.originalText=I,M}function G(I,U){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!I||I.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:M,text:z}=P.parse(I,U);if(U.cursorOffset>=0){let we=R.findNodeAtOffset(M,U.cursorOffset,U);we&&we.node&&(U.cursorNode=we.node)}let se=H(z,M,U),K=_(M,U,T),ee=f(K,U);if(L.ensureAllCommentsPrinted(se),T>0){let we=ee.formatted.trim();ee.cursorNodeStart!==void 0&&(ee.cursorNodeStart-=ee.formatted.indexOf(we)),ee.formatted=we+v(U.endOfLine)}if(U.cursorOffset>=0){let we,je,$e,Le,rt;if(U.cursorNode&&ee.cursorNodeText?(we=U.locStart(U.cursorNode),je=z.slice(we,U.locEnd(U.cursorNode)),$e=U.cursorOffset-we,Le=ee.cursorNodeStart,rt=ee.cursorNodeText):(we=0,je=z,$e=U.cursorOffset,Le=0,rt=ee.formatted),je===rt)return{formatted:ee.formatted,cursorOffset:Le+$e,comments:se};let Se=[...je];Se.splice($e,0,oe);let yt=[...rt],Ue=l(Se,yt),Pe=Le;for(let mt of Ue)if(mt.removed){if(mt.value.includes(oe))break}else Pe+=mt.count;return{formatted:ee.formatted,cursorOffset:Pe,comments:se}}return{formatted:ee.formatted,cursorOffset:-1,comments:se}}function ne(I,U){let{ast:T,text:M}=P.parse(I,U),{rangeStart:z,rangeEnd:se}=R.calculateRange(M,U,T),K=M.slice(z,se),ee=Math.min(z,M.lastIndexOf(`
65
- `,z)+1),we=M.slice(ee,z).match(/^\s*/)[0],je=d(we,U.tabWidth),$e=G(K,Object.assign(Object.assign({},U),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:U.cursorOffset>z&&U.cursorOffset<=se?U.cursorOffset-z:-1,endOfLine:"lf"}),je),Le=$e.formatted.trimEnd(),{cursorOffset:rt}=U;rt>se?rt+=Le.length-K.length:$e.cursorOffset>=0&&(rt=$e.cursorOffset+z);let Se=M.slice(0,z)+Le+M.slice(se);if(U.endOfLine!=="lf"){let yt=v(U.endOfLine);rt>=0&&yt===`\r
66
- `&&(rt+=C(Se.slice(0,rt),`
67
- `)),Se=Se.replace(/\n/g,yt)}return{formatted:Se,cursorOffset:rt,comments:$e.comments}}function me(I,U,T){return typeof U!="number"||Number.isNaN(U)||U<0||U>I.length?T:U}function he(I,U){let{cursorOffset:T,rangeStart:M,rangeEnd:z}=U;return T=me(I,T,-1),M=me(I,M,0),z=me(I,z,I.length),Object.assign(Object.assign({},U),{},{cursorOffset:T,rangeStart:M,rangeEnd:z})}function ze(I,U){let{cursorOffset:T,rangeStart:M,rangeEnd:z,endOfLine:se}=he(I,U),K=I.charAt(0)===J;if(K&&(I=I.slice(1),T--,M--,z--),se==="auto"&&(se=y(I)),I.includes("\r")){let ee=we=>C(I.slice(0,Math.max(we,0)),`\r
68
- `);T-=ee(T),M-=ee(M),z-=ee(z),I=A(I)}return{hasBOM:K,text:I,options:he(I,Object.assign(Object.assign({},U),{},{cursorOffset:T,rangeStart:M,rangeEnd:z,endOfLine:se}))}}function O(I,U){let T=P.resolveParser(U);return!T.hasPragma||T.hasPragma(I)}function Q(I,U){let{hasBOM:T,text:M,options:z}=ze(I,B(U));if(z.rangeStart>=z.rangeEnd&&M!==""||z.requirePragma&&!O(M,z))return{formatted:I,cursorOffset:U.cursorOffset,comments:[]};let se;return z.rangeStart>0||z.rangeEnd<M.length?se=ne(M,z):(!z.requirePragma&&z.insertPragma&&z.printer.insertPragma&&!O(M,z)&&(M=z.printer.insertPragma(M)),se=G(M,z)),T&&(se.formatted=J+se.formatted,se.cursorOffset>=0&&se.cursorOffset++),se}a.exports={formatWithCursor:Q,parse(I,U,T){let{text:M,options:z}=ze(I,B(U)),se=P.parse(M,z);return T&&(se.ast=N(se.ast,z)),se},formatAST(I,U){U=B(U);let T=_(I,U);return f(T,U)},formatDoc(I,U){return Q(m(I),Object.assign(Object.assign({},U),{},{parser:"__js_expression"})).formatted},printToDoc(I,U){U=B(U);let{ast:T,text:M}=P.parse(I,U);return H(M,T,U),_(T,U)},printDocToString(I,U){return f(I,B(U))}}}}),ko=Be({"src/common/util-shared.js"(r,a){at();var{getMaxContinuousCount:l,getStringWidth:f,getAlignmentSize:m,getIndentSize:d,skip:y,skipWhitespace:v,skipSpaces:C,skipNewline:A,skipToLineEnd:B,skipEverythingButNewLine:N,skipInlineComment:L,skipTrailingComment:P,hasNewline:_,hasNewlineInRange:R,hasSpaces:J,isNextLineEmpty:oe,isNextLineEmptyAfterIndex:H,isPreviousLineEmpty:G,getNextNonSpaceNonCommentCharacterIndex:ne,makeString:me,addLeadingComment:he,addDanglingComment:ze,addTrailingComment:O}=Pi();a.exports={getMaxContinuousCount:l,getStringWidth:f,getAlignmentSize:m,getIndentSize:d,skip:y,skipWhitespace:v,skipSpaces:C,skipNewline:A,skipToLineEnd:B,skipEverythingButNewLine:N,skipInlineComment:L,skipTrailingComment:P,hasNewline:_,hasNewlineInRange:R,hasSpaces:J,isNextLineEmpty:oe,isNextLineEmptyAfterIndex:H,isPreviousLineEmpty:G,getNextNonSpaceNonCommentCharacterIndex:ne,makeString:me,addLeadingComment:he,addDanglingComment:ze,addTrailingComment:O}}}),Ka=Be({"src/utils/create-language.js"(r,a){at(),a.exports=function(l,f){let{languageId:m}=l,d=Re(l,Fe);return Object.assign(Object.assign({linguistLanguageId:m},d),f(l))}}}),ru=Be({"node_modules/esutils/lib/ast.js"(r,a){at(),function(){function l(C){if(C==null)return!1;switch(C.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 f(C){if(C==null)return!1;switch(C.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function m(C){if(C==null)return!1;switch(C.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(C){return m(C)||C!=null&&C.type==="FunctionDeclaration"}function y(C){switch(C.type){case"IfStatement":return C.alternate!=null?C.alternate:C.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return C.body}return null}function v(C){var A;if(C.type!=="IfStatement"||C.alternate==null)return!1;A=C.consequent;do{if(A.type==="IfStatement"&&A.alternate==null)return!0;A=y(A)}while(A);return!1}a.exports={isExpression:l,isStatement:m,isIterationStatement:f,isSourceElement:d,isProblematicIfStatement:v,trailingStatement:y}}()}}),Po=Be({"node_modules/esutils/lib/code.js"(r,a){at(),function(){var l,f,m,d,y,v;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-\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]/},l={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 C(H){return 48<=H&&H<=57}function A(H){return 48<=H&&H<=57||97<=H&&H<=102||65<=H&&H<=70}function B(H){return H>=48&&H<=55}m=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function N(H){return H===32||H===9||H===11||H===12||H===160||H>=5760&&m.indexOf(H)>=0}function L(H){return H===10||H===13||H===8232||H===8233}function P(H){if(H<=65535)return String.fromCharCode(H);var G=String.fromCharCode(Math.floor((H-65536)/1024)+55296),ne=String.fromCharCode((H-65536)%1024+56320);return G+ne}for(d=new Array(128),v=0;v<128;++v)d[v]=v>=97&&v<=122||v>=65&&v<=90||v===36||v===95;for(y=new Array(128),v=0;v<128;++v)y[v]=v>=97&&v<=122||v>=65&&v<=90||v>=48&&v<=57||v===36||v===95;function _(H){return H<128?d[H]:f.NonAsciiIdentifierStart.test(P(H))}function R(H){return H<128?y[H]:f.NonAsciiIdentifierPart.test(P(H))}function J(H){return H<128?d[H]:l.NonAsciiIdentifierStart.test(P(H))}function oe(H){return H<128?y[H]:l.NonAsciiIdentifierPart.test(P(H))}a.exports={isDecimalDigit:C,isHexDigit:A,isOctalDigit:B,isWhiteSpace:N,isLineTerminator:L,isIdentifierStartES5:_,isIdentifierPartES5:R,isIdentifierStartES6:J,isIdentifierPartES6:oe}}()}}),Ca=Be({"node_modules/esutils/lib/keyword.js"(r,a){at(),function(){var l=Po();function f(_){switch(_){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function m(_,R){return!R&&_==="yield"?!1:d(_,R)}function d(_,R){if(R&&f(_))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 y(_,R){return _==="null"||_==="true"||_==="false"||m(_,R)}function v(_,R){return _==="null"||_==="true"||_==="false"||d(_,R)}function C(_){return _==="eval"||_==="arguments"}function A(_){var R,J,oe;if(_.length===0||(oe=_.charCodeAt(0),!l.isIdentifierStartES5(oe)))return!1;for(R=1,J=_.length;R<J;++R)if(oe=_.charCodeAt(R),!l.isIdentifierPartES5(oe))return!1;return!0}function B(_,R){return(_-55296)*1024+(R-56320)+65536}function N(_){var R,J,oe,H,G;if(_.length===0)return!1;for(G=l.isIdentifierStartES6,R=0,J=_.length;R<J;++R){if(oe=_.charCodeAt(R),55296<=oe&&oe<=56319){if(++R,R>=J||(H=_.charCodeAt(R),!(56320<=H&&H<=57343)))return!1;oe=B(oe,H)}if(!G(oe))return!1;G=l.isIdentifierPartES6}return!0}function L(_,R){return A(_)&&!y(_,R)}function P(_,R){return N(_)&&!v(_,R)}a.exports={isKeywordES5:m,isKeywordES6:d,isReservedWordES5:y,isReservedWordES6:v,isRestrictedWord:C,isIdentifierNameES5:A,isIdentifierNameES6:N,isIdentifierES5:L,isIdentifierES6:P}}()}}),Ba=Be({"node_modules/esutils/lib/utils.js"(r){at(),function(){r.ast=ru(),r.code=Po(),r.keyword=Ca()}()}}),_a=Be({"src/language-js/utils/is-block-comment.js"(r,a){at();var l=new Set(["Block","CommentBlock","MultiLine"]),f=m=>l.has(m==null?void 0:m.type);a.exports=f}}),Ho=Be({"src/language-js/utils/is-node-matches.js"(r,a){at();function l(m,d){let y=d.split(".");for(let v=y.length-1;v>=0;v--){let C=y[v];if(v===0)return m.type==="Identifier"&&m.name===C;if(m.type!=="MemberExpression"||m.optional||m.computed||m.property.type!=="Identifier"||m.property.name!==C)return!1;m=m.object}}function f(m,d){return d.some(y=>l(m,y))}a.exports=f}}),ls=Be({"src/language-js/utils/index.js"(r,a){at();var l=Ba().keyword.isIdentifierNameES5,{getLast:f,hasNewline:m,skipWhitespace:d,isNonEmptyArray:y,isNextLineEmptyAfterIndex:v,getStringWidth:C}=Pi(),{locStart:A,locEnd:B,hasSameLocStart:N}=Ts(),L=_a(),P=Ho(),_="(?:(?=.)\\s)",R=new RegExp(`^${_}*:`),J=new RegExp(`^${_}*::`);function oe(le){var St,Xr;return((St=le.extra)===null||St===void 0?void 0:St.parenthesized)&&L((Xr=le.trailingComments)===null||Xr===void 0?void 0:Xr[0])&&R.test(le.trailingComments[0].value)}function H(le){let St=le==null?void 0:le[0];return L(St)&&J.test(St.value)}function G(le,St){if(!le||typeof le!="object")return!1;if(Array.isArray(le))return le.some(In=>G(In,St));let Xr=St(le);return typeof Xr=="boolean"?Xr:Object.values(le).some(In=>G(In,St))}function ne(le){return le.type==="AssignmentExpression"||le.type==="BinaryExpression"||le.type==="LogicalExpression"||le.type==="NGPipeExpression"||le.type==="ConditionalExpression"||qt(le)||Yt(le)||le.type==="SequenceExpression"||le.type==="TaggedTemplateExpression"||le.type==="BindExpression"||le.type==="UpdateExpression"&&!le.prefix||Bn(le)||le.type==="TSNonNullExpression"}function me(le){var St,Xr,In,Oi,As,Mi;return le.expressions?le.expressions[0]:(St=(Xr=(In=(Oi=(As=(Mi=le.left)!==null&&Mi!==void 0?Mi:le.test)!==null&&As!==void 0?As:le.callee)!==null&&Oi!==void 0?Oi:le.object)!==null&&In!==void 0?In:le.tag)!==null&&Xr!==void 0?Xr:le.argument)!==null&&St!==void 0?St:le.expression}function he(le,St){if(St.expressions)return["expressions",0];if(St.left)return["left"];if(St.test)return["test"];if(St.object)return["object"];if(St.callee)return["callee"];if(St.tag)return["tag"];if(St.argument)return["argument"];if(St.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function ze(le){return le=new Set(le),St=>le.has(St==null?void 0:St.type)}var O=ze(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),Q=ze(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function I(le){let St=le.getParentNode();return le.getName()==="declaration"&&Q(St)?St:null}var U=ze(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function T(le){return le.type==="NumericLiteral"||le.type==="Literal"&&typeof le.value=="number"}function M(le){return le.type==="UnaryExpression"&&(le.operator==="+"||le.operator==="-")&&T(le.argument)}function z(le){return le.type==="StringLiteral"||le.type==="Literal"&&typeof le.value=="string"}var se=ze(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),K=ze(["FunctionExpression","ArrowFunctionExpression"]);function ee(le){return le.type==="FunctionExpression"||le.type==="ArrowFunctionExpression"&&le.body.type==="BlockStatement"}function we(le){return qt(le)&&le.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(le.callee.name)}var je=ze(["JSXElement","JSXFragment"]);function $e(le,St){if(le.parentParser!=="markdown"&&le.parentParser!=="mdx")return!1;let Xr=St.getNode();if(!Xr.expression||!je(Xr.expression))return!1;let In=St.getParentNode();return In.type==="Program"&&In.body.length===1}function Le(le){return le.kind==="get"||le.kind==="set"}function rt(le){return Le(le)||N(le,le.value)}function Se(le){return(le.type==="ObjectTypeProperty"||le.type==="ObjectTypeInternalSlot")&&le.value.type==="FunctionTypeAnnotation"&&!le.static&&!rt(le)}function yt(le){return(le.type==="TypeAnnotation"||le.type==="TSTypeAnnotation")&&le.typeAnnotation.type==="FunctionTypeAnnotation"&&!le.static&&!N(le,le.typeAnnotation)}var Ue=ze(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Pe(le){return Yt(le)||le.type==="BindExpression"&&Boolean(le.object)}var mt=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 Ht(le){return le?!!((le.type==="GenericTypeAnnotation"||le.type==="TSTypeReference")&&!le.typeParameters||mt.has(le.type)):!1}function xt(le){let St=/^(?:before|after)(?:Each|All)$/;return le.callee.type==="Identifier"&&St.test(le.callee.name)&&le.arguments.length===1}var Zt=["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 He(le){return P(le,Zt)}function lt(le,St){if(le.type!=="CallExpression")return!1;if(le.arguments.length===1){if(we(le)&&St&&lt(St))return K(le.arguments[0]);if(xt(le))return we(le.arguments[0])}else if((le.arguments.length===2||le.arguments.length===3)&&(le.arguments[0].type==="TemplateLiteral"||z(le.arguments[0]))&&He(le.callee))return le.arguments[2]&&!T(le.arguments[2])?!1:(le.arguments.length===2?K(le.arguments[1]):ee(le.arguments[1])&&o(le.arguments[1]).length<=1)||we(le.arguments[1]);return!1}var qt=ze(["CallExpression","OptionalCallExpression"]),Yt=ze(["MemberExpression","OptionalMemberExpression"]);function wn(le){let St="expressions";le.type==="TSTemplateLiteralType"&&(St="types");let Xr=le[St];return Xr.length===0?!1:Xr.every(In=>{if(be(In))return!1;if(In.type==="Identifier"||In.type==="ThisExpression")return!0;if(Yt(In)){let Oi=In;for(;Yt(Oi);)if(Oi.property.type!=="Identifier"&&Oi.property.type!=="Literal"&&Oi.property.type!=="StringLiteral"&&Oi.property.type!=="NumericLiteral"||(Oi=Oi.object,be(Oi)))return!1;return Oi.type==="Identifier"||Oi.type==="ThisExpression"}return!1})}function ht(le,St){return le==="+"||le==="-"?le+St:St}function Ye(le,St){let Xr=A(St),In=d(le,B(St));return In!==!1&&le.slice(Xr,Xr+2)==="/*"&&le.slice(In,In+2)==="*/"}function Dt(le,St){return je(St)?j(St):be(St,ke.Leading,Xr=>m(le,B(Xr)))}function Mt(le,St){return St.parser!=="json"&&z(le.key)&&rr(le.key).slice(1,-1)===le.key.value&&(l(le.key.value)&&!(St.parser==="babel-ts"&&le.type==="ClassProperty"||St.parser==="typescript"&&le.type==="PropertyDefinition")||or(le.key.value)&&String(Number(le.key.value))===le.key.value&&(St.parser==="babel"||St.parser==="acorn"||St.parser==="espree"||St.parser==="meriyah"||St.parser==="__babel_estree"))}function or(le){return/^(?:\d+|\d+\.\d+)$/.test(le)}function Rr(le,St){let Xr=/^[fx]?(?:describe|it|test)$/;return St.type==="TaggedTemplateExpression"&&St.quasi===le&&St.tag.type==="MemberExpression"&&St.tag.property.type==="Identifier"&&St.tag.property.name==="each"&&(St.tag.object.type==="Identifier"&&Xr.test(St.tag.object.name)||St.tag.object.type==="MemberExpression"&&St.tag.object.property.type==="Identifier"&&(St.tag.object.property.name==="only"||St.tag.object.property.name==="skip")&&St.tag.object.object.type==="Identifier"&&Xr.test(St.tag.object.object.name))}function Qr(le){return le.quasis.some(St=>St.value.raw.includes(`
69
- `))}function ei(le,St){return(le.type==="TemplateLiteral"&&Qr(le)||le.type==="TaggedTemplateExpression"&&Qr(le.quasi))&&!m(St,A(le),{backwards:!0})}function Hi(le){if(!be(le))return!1;let St=f(Pt(le,ke.Dangling));return St&&!L(St)}function tr(le){if(le.length<=1)return!1;let St=0;for(let Xr of le)if(K(Xr)){if(St+=1,St>1)return!0}else if(qt(Xr)){for(let In of Xr.arguments)if(K(In))return!0}return!1}function Kt(le){let St=le.getValue(),Xr=le.getParentNode();return qt(St)&&qt(Xr)&&Xr.callee===St&&St.arguments.length>Xr.arguments.length&&Xr.arguments.length>0}function Vr(le,St){if(St>=2)return!1;let Xr=Mi=>Vr(Mi,St+1),In=le.type==="Literal"&&"regex"in le&&le.regex.pattern||le.type==="RegExpLiteral"&&le.pattern;if(In&&C(In)>5)return!1;if(le.type==="Literal"||le.type==="BigIntLiteral"||le.type==="DecimalLiteral"||le.type==="BooleanLiteral"||le.type==="NullLiteral"||le.type==="NumericLiteral"||le.type==="RegExpLiteral"||le.type==="StringLiteral"||le.type==="Identifier"||le.type==="ThisExpression"||le.type==="Super"||le.type==="PrivateName"||le.type==="PrivateIdentifier"||le.type==="ArgumentPlaceholder"||le.type==="Import")return!0;if(le.type==="TemplateLiteral")return le.quasis.every(Mi=>!Mi.value.raw.includes(`
70
- `))&&le.expressions.every(Xr);if(le.type==="ObjectExpression")return le.properties.every(Mi=>!Mi.computed&&(Mi.shorthand||Mi.value&&Xr(Mi.value)));if(le.type==="ArrayExpression")return le.elements.every(Mi=>Mi===null||Xr(Mi));if(dr(le))return(le.type==="ImportExpression"||Vr(le.callee,St))&&D(le).every(Xr);if(Yt(le))return Vr(le.object,St)&&Vr(le.property,St);let Oi={"!":!0,"-":!0,"+":!0,"~":!0};if(le.type==="UnaryExpression"&&Oi[le.operator])return Vr(le.argument,St);let As={"++":!0,"--":!0};return le.type==="UpdateExpression"&&As[le.operator]?Vr(le.argument,St):le.type==="TSNonNullExpression"?Vr(le.expression,St):!1}function rr(le){var St,Xr;return(St=(Xr=le.extra)===null||Xr===void 0?void 0:Xr.raw)!==null&&St!==void 0?St:le.raw}function Je(le){return le}function Er(le){return le.filepath&&/\.tsx$/i.test(le.filepath)}function cr(le){let St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return le.trailingComma==="es5"&&St==="es5"||le.trailingComma==="all"&&(St==="all"||St==="es5")}function Lr(le,St){switch(le=sn(le),le.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return St;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Lr(le.object,St);case"TaggedTemplateExpression":return le.tag.type==="FunctionExpression"?!1:Lr(le.tag,St);case"CallExpression":case"OptionalCallExpression":return le.callee.type==="FunctionExpression"?!1:Lr(le.callee,St);case"ConditionalExpression":return Lr(le.test,St);case"UpdateExpression":return!le.prefix&&Lr(le.argument,St);case"BindExpression":return le.object&&Lr(le.object,St);case"SequenceExpression":return Lr(le.expressions[0],St);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return Lr(le.expression,St);default:return!1}}var Jn={"==":!0,"!=":!0,"===":!0,"!==":!0},Nn={"*":!0,"/":!0,"%":!0},_r={">>":!0,">>>":!0,"<<":!0};function q(le,St){return!(Jt(St)!==Jt(le)||le==="**"||Jn[le]&&Jn[St]||St==="%"&&Nn[le]||le==="%"&&Nn[St]||St!==le&&Nn[St]&&Nn[le]||_r[le]&&_r[St])}var ot=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((le,St)=>le.map(Xr=>[Xr,St])));function Jt(le){return ot.get(le)}function sn(le){for(;le.left;)le=le.left;return le}function Ii(le){return Boolean(_r[le])||le==="|"||le==="^"||le==="&"}function e(le){var St;if(le.rest)return!0;let Xr=o(le);return((St=f(Xr))===null||St===void 0?void 0:St.type)==="RestElement"}var n=new WeakMap;function o(le){if(n.has(le))return n.get(le);let St=[];return le.this&&St.push(le.this),Array.isArray(le.parameters)?St.push(...le.parameters):Array.isArray(le.params)&&St.push(...le.params),le.rest&&St.push(le.rest),n.set(le,St),St}function u(le,St){let Xr=le.getValue(),In=0,Oi=As=>St(As,In++);Xr.this&&le.call(Oi,"this"),Array.isArray(Xr.parameters)?le.each(Oi,"parameters"):Array.isArray(Xr.params)&&le.each(Oi,"params"),Xr.rest&&le.call(Oi,"rest")}var p=new WeakMap;function D(le){if(p.has(le))return p.get(le);let St=le.arguments;return le.type==="ImportExpression"&&(St=[le.source],le.attributes&&St.push(le.attributes)),p.set(le,St),St}function E(le,St){let Xr=le.getValue();Xr.type==="ImportExpression"?(le.call(In=>St(In,0),"source"),Xr.attributes&&le.call(In=>St(In,1),"attributes")):le.each(St,"arguments")}function k(le){return le.value.trim()==="prettier-ignore"&&!le.unignore}function j(le){return le&&(le.prettierIgnore||be(le,ke.PrettierIgnore))}function $(le){let St=le.getValue();return j(St)}var ke={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},qe=(le,St)=>{if(typeof le=="function"&&(St=le,le=0),le||St)return(Xr,In,Oi)=>!(le&ke.Leading&&!Xr.leading||le&ke.Trailing&&!Xr.trailing||le&ke.Dangling&&(Xr.leading||Xr.trailing)||le&ke.Block&&!L(Xr)||le&ke.Line&&!O(Xr)||le&ke.First&&In!==0||le&ke.Last&&In!==Oi.length-1||le&ke.PrettierIgnore&&!k(Xr)||St&&!St(Xr))};function be(le,St,Xr){if(!y(le==null?void 0:le.comments))return!1;let In=qe(St,Xr);return In?le.comments.some(In):!0}function Pt(le,St,Xr){if(!Array.isArray(le==null?void 0:le.comments))return[];let In=qe(St,Xr);return In?le.comments.filter(In):le.comments}var Dr=(le,St)=>{let{originalText:Xr}=St;return v(Xr,B(le))};function dr(le){return qt(le)||le.type==="NewExpression"||le.type==="ImportExpression"}function Ur(le){return le&&(le.type==="ObjectProperty"||le.type==="Property"&&!le.method&&le.kind==="init")}function fn(le){return Boolean(le.__isUsingHackPipeline)}var Kn=Symbol("ifWithoutBlockAndSameLineComment");function Bn(le){return le.type==="TSAsExpression"||le.type==="TSSatisfiesExpression"}a.exports={getFunctionParameters:o,iterateFunctionParametersPath:u,getCallArguments:D,iterateCallArgumentsPath:E,hasRestParameter:e,getLeftSide:me,getLeftSidePathName:he,getParentExportDeclaration:I,getTypeScriptMappedTypeModifier:ht,hasFlowAnnotationComment:H,hasFlowShorthandAnnotationComment:oe,hasLeadingOwnLineComment:Dt,hasNakedLeftSide:ne,hasNode:G,hasIgnoreComment:$,hasNodeIgnoreComment:j,identity:Je,isBinaryish:Ue,isCallLikeExpression:dr,isEnabledHackPipeline:fn,isLineComment:O,isPrettierIgnoreComment:k,isCallExpression:qt,isMemberExpression:Yt,isExportDeclaration:Q,isFlowAnnotationComment:Ye,isFunctionCompositionArgs:tr,isFunctionNotation:rt,isFunctionOrArrowExpression:K,isGetterOrSetter:Le,isJestEachTemplateLiteral:Rr,isJsxNode:je,isLiteral:U,isLongCurriedCallExpression:Kt,isSimpleCallArgument:Vr,isMemberish:Pe,isNumericLiteral:T,isSignedNumericLiteral:M,isObjectProperty:Ur,isObjectType:se,isObjectTypePropertyAFunction:Se,isSimpleType:Ht,isSimpleNumber:or,isSimpleTemplateLiteral:wn,isStringLiteral:z,isStringPropSafeToUnquote:Mt,isTemplateOnItsOwnLine:ei,isTestCall:lt,isTheOnlyJsxElementInMarkdown:$e,isTSXFile:Er,isTypeAnnotationAFunction:yt,isNextLineEmpty:Dr,needsHardlineAfterDanglingComment:Hi,rawText:rr,shouldPrintComma:cr,isBitwiseOperator:Ii,shouldFlatten:q,startsWithNoLookaheadToken:Lr,getPrecedence:Jt,hasComment:be,getComments:Pt,CommentCheckFlags:ke,markerForIfWithoutBlockAndSameLineComment:Kn,isTSTypeExpression:Bn}}}),uo=Be({"src/language-js/print/template-literal.js"(r,a){at();var l=is(),{getStringWidth:f,getIndentSize:m}=Pi(),{builders:{join:d,hardline:y,softline:v,group:C,indent:A,align:B,lineSuffixBoundary:N,addAlignmentToDoc:L},printer:{printDocToString:P},utils:{mapDoc:_}}=xi(),{isBinaryish:R,isJestEachTemplateLiteral:J,isSimpleTemplateLiteral:oe,hasComment:H,isMemberExpression:G,isTSTypeExpression:ne}=ls();function me(U,T,M){let z=U.getValue();if(z.type==="TemplateLiteral"&&J(z,U.getParentNode())){let je=he(U,M,T);if(je)return je}let se="expressions";z.type==="TSTemplateLiteralType"&&(se="types");let K=[],ee=U.map(T,se),we=oe(z);return we&&(ee=ee.map(je=>P(je,Object.assign(Object.assign({},M),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),K.push(N,"`"),U.each(je=>{let $e=je.getName();if(K.push(T()),$e<ee.length){let{tabWidth:Le}=M,rt=je.getValue(),Se=m(rt.value.raw,Le),yt=ee[$e];if(!we){let Pe=z[se][$e];(H(Pe)||G(Pe)||Pe.type==="ConditionalExpression"||Pe.type==="SequenceExpression"||ne(Pe)||R(Pe))&&(yt=[A([v,yt]),v])}let Ue=Se===0&&rt.value.raw.endsWith(`
71
- `)?B(Number.NEGATIVE_INFINITY,yt):L(yt,Se,Le);K.push(C(["${",Ue,N,"}"]))}},"quasis"),K.push("`"),K}function he(U,T,M){let z=U.getNode(),se=z.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(se.length>1||se.some(K=>K.length>0)){T.__inJestEach=!0;let K=U.map(M,"expressions");T.__inJestEach=!1;let ee=[],we=K.map(Se=>"${"+P(Se,Object.assign(Object.assign({},T),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),je=[{hasLineBreak:!1,cells:[]}];for(let Se=1;Se<z.quasis.length;Se++){let yt=l(je),Ue=we[Se-1];yt.cells.push(Ue),Ue.includes(`
72
- `)&&(yt.hasLineBreak=!0),z.quasis[Se].value.raw.includes(`
73
- `)&&je.push({hasLineBreak:!1,cells:[]})}let $e=Math.max(se.length,...je.map(Se=>Se.cells.length)),Le=Array.from({length:$e}).fill(0),rt=[{cells:se},...je.filter(Se=>Se.cells.length>0)];for(let{cells:Se}of rt.filter(yt=>!yt.hasLineBreak))for(let[yt,Ue]of Se.entries())Le[yt]=Math.max(Le[yt],f(Ue));return ee.push(N,"`",A([y,d(y,rt.map(Se=>d(" | ",Se.cells.map((yt,Ue)=>Se.hasLineBreak?yt:yt+" ".repeat(Le[Ue]-f(yt))))))]),y,"`"),ee}}function ze(U,T){let M=U.getValue(),z=T();return H(M)&&(z=C([A([v,z]),v])),["${",z,N,"}"]}function O(U,T){return U.map(M=>ze(M,T),"expressions")}function Q(U,T){return _(U,M=>typeof M=="string"?T?M.replace(/(\\*)`/g,"$1$1\\`"):I(M):M)}function I(U){return U.replace(/([\\`]|\${)/g,"\\$1")}a.exports={printTemplateLiteral:me,printTemplateExpressions:O,escapeTemplateCharacters:Q,uncookTemplateElementValue:I}}}),qo=Be({"src/language-js/embed/markdown.js"(r,a){at();var{builders:{indent:l,softline:f,literalline:m,dedentToRoot:d}}=xi(),{escapeTemplateCharacters:y}=uo();function v(A,B,N){let L=A.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(J,oe)=>"\\".repeat(oe.length/2)+"`"),P=C(L),_=P!=="";_&&(L=L.replace(new RegExp(`^${P}`,"gm"),""));let R=y(N(L,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",_?l([f,R]):[m,d(R)],f,"`"]}function C(A){let B=A.match(/^([^\S\n]*)\S/m);return B===null?"":B[1]}a.exports=v}}),Wo=Be({"src/language-js/embed/css.js"(r,a){at();var{isNonEmptyArray:l}=Pi(),{builders:{indent:f,hardline:m,softline:d},utils:{mapDoc:y,replaceEndOfLine:v,cleanDoc:C}}=xi(),{printTemplateExpressions:A}=uo();function B(P,_,R){let J=P.getValue(),oe=J.quasis.map(he=>he.value.raw),H=0,G=oe.reduce((he,ze,O)=>O===0?ze:he+"@prettier-placeholder-"+H+++"-id"+ze,""),ne=R(G,{parser:"scss"},{stripTrailingHardline:!0}),me=A(P,_);return N(ne,J,me)}function N(P,_,R){if(_.quasis.length===1&&!_.quasis[0].value.raw.trim())return"``";let J=L(P,R);if(!J)throw new Error("Couldn't insert all the expressions");return["`",f([m,J]),d,"`"]}function L(P,_){if(!l(_))return P;let R=0,J=y(C(P),oe=>typeof oe!="string"||!oe.includes("@prettier-placeholder")?oe:oe.split(/@prettier-placeholder-(\d+)-id/).map((H,G)=>G%2===0?v(H):(R++,_[H])));return _.length===R?J:null}a.exports=B}}),vo=Be({"src/language-js/embed/graphql.js"(r,a){at();var{builders:{indent:l,join:f,hardline:m}}=xi(),{escapeTemplateCharacters:d,printTemplateExpressions:y}=uo();function v(A,B,N){let L=A.getValue(),P=L.quasis.length;if(P===1&&L.quasis[0].value.raw.trim()==="")return"``";let _=y(A,B),R=[];for(let J=0;J<P;J++){let oe=L.quasis[J],H=J===0,G=J===P-1,ne=oe.value.cooked,me=ne.split(`
74
- `),he=me.length,ze=_[J],O=he>2&&me[0].trim()===""&&me[1].trim()==="",Q=he>2&&me[he-1].trim()===""&&me[he-2].trim()==="",I=me.every(T=>/^\s*(?:#[^\n\r]*)?$/.test(T));if(!G&&/#[^\n\r]*$/.test(me[he-1]))return null;let U=null;I?U=C(me):U=N(ne,{parser:"graphql"},{stripTrailingHardline:!0}),U?(U=d(U,!1),!H&&O&&R.push(""),R.push(U),!G&&Q&&R.push("")):!H&&!G&&O&&R.push(""),ze&&R.push(ze)}return["`",l([m,f(m,R)]),m,"`"]}function C(A){let B=[],N=!1,L=A.map(P=>P.trim());for(let[P,_]of L.entries())_!==""&&(L[P-1]===""&&N?B.push([m,_]):B.push(_),N=!0);return B.length===0?null:f(m,B)}a.exports=v}}),Lu=Be({"src/language-js/embed/html.js"(r,a){at();var{builders:{indent:l,line:f,hardline:m,group:d},utils:{mapDoc:y}}=xi(),{printTemplateExpressions:v,uncookTemplateElementValue:C}=uo(),A=0;function B(N,L,P,_,R){let{parser:J}=R,oe=N.getValue(),H=A;A=A+1>>>0;let G=M=>`PRETTIER_HTML_PLACEHOLDER_${M}_${H}_IN_JS`,ne=oe.quasis.map((M,z,se)=>z===se.length-1?M.value.cooked:M.value.cooked+G(z)).join(""),me=v(N,L);if(me.length===0&&ne.trim().length===0)return"``";let he=new RegExp(G("(\\d+)"),"g"),ze=0,O=P(ne,{parser:J,__onHtmlRoot(M){ze=M.children.length}},{stripTrailingHardline:!0}),Q=y(O,M=>{if(typeof M!="string")return M;let z=[],se=M.split(he);for(let K=0;K<se.length;K++){let ee=se[K];if(K%2===0){ee&&(ee=C(ee),_.__embeddedInHtml&&(ee=ee.replace(/<\/(script)\b/gi,"<\\/$1")),z.push(ee));continue}let we=Number(ee);z.push(me[we])}return z}),I=/^\s/.test(ne)?" ":"",U=/\s$/.test(ne)?" ":"",T=_.htmlWhitespaceSensitivity==="ignore"?m:I&&U?f:null;return d(T?["`",l([T,d(Q)]),T,"`"]:["`",I,ze>1?l(d(Q)):d(Q),U,"`"])}a.exports=B}}),No=Be({"src/language-js/embed.js"(r,a){at();var{hasComment:l,CommentCheckFlags:f,isObjectProperty:m}=ls(),d=qo(),y=Wo(),v=vo(),C=Lu();function A(O){if(L(O)||J(O)||oe(O)||P(O))return"css";if(ne(O))return"graphql";if(he(O))return"html";if(_(O))return"angular";if(N(O))return"markdown"}function B(O,Q,I,U){let T=O.getValue();if(T.type!=="TemplateLiteral"||ze(T))return;let M=A(O);if(M){if(M==="markdown")return d(O,Q,I);if(M==="css")return y(O,Q,I);if(M==="graphql")return v(O,Q,I);if(M==="html"||M==="angular")return C(O,Q,I,U,{parser:M})}}function N(O){let Q=O.getValue(),I=O.getParentNode();return I&&I.type==="TaggedTemplateExpression"&&Q.quasis.length===1&&I.tag.type==="Identifier"&&(I.tag.name==="md"||I.tag.name==="markdown")}function L(O){let Q=O.getValue(),I=O.getParentNode(),U=O.getParentNode(1);return U&&Q.quasis&&I.type==="JSXExpressionContainer"&&U.type==="JSXElement"&&U.openingElement.name.name==="style"&&U.openingElement.attributes.some(T=>T.name.name==="jsx")||I&&I.type==="TaggedTemplateExpression"&&I.tag.type==="Identifier"&&I.tag.name==="css"||I&&I.type==="TaggedTemplateExpression"&&I.tag.type==="MemberExpression"&&I.tag.object.name==="css"&&(I.tag.property.name==="global"||I.tag.property.name==="resolve")}function P(O){return O.match(Q=>Q.type==="TemplateLiteral",(Q,I)=>Q.type==="ArrayExpression"&&I==="elements",(Q,I)=>m(Q)&&Q.key.type==="Identifier"&&Q.key.name==="styles"&&I==="value",...R)}function _(O){return O.match(Q=>Q.type==="TemplateLiteral",(Q,I)=>m(Q)&&Q.key.type==="Identifier"&&Q.key.name==="template"&&I==="value",...R)}var R=[(O,Q)=>O.type==="ObjectExpression"&&Q==="properties",(O,Q)=>O.type==="CallExpression"&&O.callee.type==="Identifier"&&O.callee.name==="Component"&&Q==="arguments",(O,Q)=>O.type==="Decorator"&&Q==="expression"];function J(O){let Q=O.getParentNode();if(!Q||Q.type!=="TaggedTemplateExpression")return!1;let I=Q.tag.type==="ParenthesizedExpression"?Q.tag.expression:Q.tag;switch(I.type){case"MemberExpression":return H(I.object)||G(I);case"CallExpression":return H(I.callee)||I.callee.type==="MemberExpression"&&(I.callee.object.type==="MemberExpression"&&(H(I.callee.object.object)||G(I.callee.object))||I.callee.object.type==="CallExpression"&&H(I.callee.object.callee));case"Identifier":return I.name==="css";default:return!1}}function oe(O){let Q=O.getParentNode(),I=O.getParentNode(1);return I&&Q.type==="JSXExpressionContainer"&&I.type==="JSXAttribute"&&I.name.type==="JSXIdentifier"&&I.name.name==="css"}function H(O){return O.type==="Identifier"&&O.name==="styled"}function G(O){return/^[A-Z]/.test(O.object.name)&&O.property.name==="extend"}function ne(O){let Q=O.getValue(),I=O.getParentNode();return me(Q,"GraphQL")||I&&(I.type==="TaggedTemplateExpression"&&(I.tag.type==="MemberExpression"&&I.tag.object.name==="graphql"&&I.tag.property.name==="experimental"||I.tag.type==="Identifier"&&(I.tag.name==="gql"||I.tag.name==="graphql"))||I.type==="CallExpression"&&I.callee.type==="Identifier"&&I.callee.name==="graphql")}function me(O,Q){return l(O,f.Block|f.Leading,I=>{let{value:U}=I;return U===` ${Q} `})}function he(O){return me(O.getValue(),"HTML")||O.match(Q=>Q.type==="TemplateLiteral",(Q,I)=>Q.type==="TaggedTemplateExpression"&&Q.tag.type==="Identifier"&&Q.tag.name==="html"&&I==="quasi")}function ze(O){let{quasis:Q}=O;return Q.some(I=>{let{value:{cooked:U}}=I;return U===null})}a.exports=B}}),lo=Be({"src/language-js/clean.js"(r,a){at();var l=_a(),f=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),m=y=>{for(let v of y.quasis)delete v.value};function d(y,v,C){if(y.type==="Program"&&delete v.sourceType,(y.type==="BigIntLiteral"||y.type==="BigIntLiteralTypeAnnotation")&&v.value&&(v.value=v.value.toLowerCase()),(y.type==="BigIntLiteral"||y.type==="Literal")&&v.bigint&&(v.bigint=v.bigint.toLowerCase()),y.type==="DecimalLiteral"&&(v.value=Number(v.value)),y.type==="Literal"&&v.decimal&&(v.decimal=Number(v.decimal)),y.type==="EmptyStatement"||y.type==="JSXText"||y.type==="JSXExpressionContainer"&&(y.expression.type==="Literal"||y.expression.type==="StringLiteral")&&y.expression.value===" ")return null;if((y.type==="Property"||y.type==="ObjectProperty"||y.type==="MethodDefinition"||y.type==="ClassProperty"||y.type==="ClassMethod"||y.type==="PropertyDefinition"||y.type==="TSDeclareMethod"||y.type==="TSPropertySignature"||y.type==="ObjectTypeProperty")&&typeof y.key=="object"&&y.key&&(y.key.type==="Literal"||y.key.type==="NumericLiteral"||y.key.type==="StringLiteral"||y.key.type==="Identifier")&&delete v.key,y.type==="JSXElement"&&y.openingElement.name.name==="style"&&y.openingElement.attributes.some(N=>N.name.name==="jsx"))for(let{type:N,expression:L}of v.children)N==="JSXExpressionContainer"&&L.type==="TemplateLiteral"&&m(L);y.type==="JSXAttribute"&&y.name.name==="css"&&y.value.type==="JSXExpressionContainer"&&y.value.expression.type==="TemplateLiteral"&&m(v.value.expression),y.type==="JSXAttribute"&&y.value&&y.value.type==="Literal"&&/["']|&quot;|&apos;/.test(y.value.value)&&(v.value.value=v.value.value.replace(/["']|&quot;|&apos;/g,'"'));let A=y.expression||y.callee;if(y.type==="Decorator"&&A.type==="CallExpression"&&A.callee.name==="Component"&&A.arguments.length===1){let N=y.expression.arguments[0].properties;for(let[L,P]of v.expression.arguments[0].properties.entries())switch(N[L].key.name){case"styles":P.value.type==="ArrayExpression"&&m(P.value.elements[0]);break;case"template":P.value.type==="TemplateLiteral"&&m(P.value);break}}if(y.type==="TaggedTemplateExpression"&&(y.tag.type==="MemberExpression"||y.tag.type==="Identifier"&&(y.tag.name==="gql"||y.tag.name==="graphql"||y.tag.name==="css"||y.tag.name==="md"||y.tag.name==="markdown"||y.tag.name==="html")||y.tag.type==="CallExpression")&&m(v.quasi),y.type==="TemplateLiteral"){var B;(((B=y.leadingComments)===null||B===void 0?void 0:B.some(N=>l(N)&&["GraphQL","HTML"].some(L=>N.value===` ${L} `)))||C.type==="CallExpression"&&C.callee.name==="graphql"||!y.leadingComments)&&m(v)}if(y.type==="InterpreterDirective"&&(v.value=v.value.trimEnd()),(y.type==="TSIntersectionType"||y.type==="TSUnionType")&&y.types.length===1)return v.types[0]}d.ignoredProperties=f,a.exports=d}}),pa={};xr(pa,{EOL:()=>gu,arch:()=>du,cpus:()=>Mu,default:()=>Ya,endianness:()=>Ea,freemem:()=>Oa,getNetworkInterfaces:()=>Go,hostname:()=>Ia,loadavg:()=>co,networkInterfaces:()=>el,platform:()=>mu,release:()=>Bo,tmpDir:()=>xo,tmpdir:()=>Xa,totalmem:()=>ka,type:()=>Ja,uptime:()=>Vo});function Ea(){if(typeof La>"u"){var r=new ArrayBuffer(2),a=new Uint8Array(r),l=new Uint16Array(r);if(a[0]=1,a[1]=2,l[0]===258)La="BE";else if(l[0]===513)La="LE";else throw new Error("unable to figure out endianess")}return La}function Ia(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function co(){return[]}function Vo(){return 0}function Oa(){return Number.MAX_VALUE}function ka(){return Number.MAX_VALUE}function Mu(){return[]}function Ja(){return"Browser"}function Bo(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function el(){}function Go(){}function du(){return"javascript"}function mu(){return"browser"}function xo(){return"/tmp"}var La,Xa,gu,Ya,tl=Yr({"node-modules-polyfills:os"(){at(),Xa=xo,gu=`
75
- `,Ya={EOL:gu,tmpdir:Xa,tmpDir:xo,networkInterfaces:el,getNetworkInterfaces:Go,release:Bo,type:Ja,cpus:Mu,totalmem:ka,freemem:Oa,uptime:Vo,loadavg:co,hostname:Ia,endianness:Ea}}}),Hl=Be({"node-modules-polyfills-commonjs:os"(r,a){at();var l=(tl(),ui(pa));if(l&&l.default){a.exports=l.default;for(let f in l)a.exports[f]=l[f]}else l&&(a.exports=l)}}),nc=Be({"node_modules/detect-newline/index.js"(r,a){at();var l=f=>{if(typeof f!="string")throw new TypeError("Expected a string");let m=f.match(/(?:\r?\n)/g)||[];if(m.length===0)return;let d=m.filter(v=>v===`\r
76
- `).length,y=m.length-d;return d>y?`\r
77
- `:`
78
- `};a.exports=l,a.exports.graceful=f=>typeof f=="string"&&l(f)||`
79
- `}}),El=Be({"node_modules/jest-docblock/build/index.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0}),r.extract=P,r.parse=R,r.parseWithComments=J,r.print=oe,r.strip=_;function a(){let G=Hl();return a=function(){return G},G}function l(){let G=f(nc());return l=function(){return G},G}function f(G){return G&&G.__esModule?G:{default:G}}var m=/\*\/$/,d=/^\/\*\*?/,y=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,v=/(^|\s+)\/\/([^\r\n]*)/g,C=/^(\r?\n)+/,A=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,B=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,N=/(\r?\n|^) *\* ?/g,L=[];function P(G){let ne=G.match(y);return ne?ne[0].trimLeft():""}function _(G){let ne=G.match(y);return ne&&ne[0]?G.substring(ne[0].length):G}function R(G){return J(G).pragmas}function J(G){let ne=(0,l().default)(G)||a().EOL;G=G.replace(d,"").replace(m,"").replace(N,"$1");let me="";for(;me!==G;)me=G,G=G.replace(A,`${ne}$1 $2${ne}`);G=G.replace(C,"").trimRight();let he=Object.create(null),ze=G.replace(B,"").replace(C,"").trimRight(),O;for(;O=B.exec(G);){let Q=O[2].replace(v,"");typeof he[O[1]]=="string"||Array.isArray(he[O[1]])?he[O[1]]=L.concat(he[O[1]],Q):he[O[1]]=Q}return{comments:ze,pragmas:he}}function oe(G){let{comments:ne="",pragmas:me={}}=G,he=(0,l().default)(ne)||a().EOL,ze="/**",O=" *",Q=" */",I=Object.keys(me),U=I.map(M=>H(M,me[M])).reduce((M,z)=>M.concat(z),[]).map(M=>`${O} ${M}${he}`).join("");if(!ne){if(I.length===0)return"";if(I.length===1&&!Array.isArray(me[I[0]])){let M=me[I[0]];return`${ze} ${H(I[0],M)[0]}${Q}`}}let T=ne.split(he).map(M=>`${O} ${M}`).join(he)+he;return ze+he+(ne?T:"")+(ne&&I.length?O+he:"")+U+Q}function H(G,ne){return L.concat(ne).map(me=>`@${G} ${me}`.trim())}}}),ju=Be({"src/language-js/utils/get-shebang.js"(r,a){at();function l(f){if(!f.startsWith("#!"))return"";let m=f.indexOf(`
80
- `);return m===-1?f:f.slice(0,m)}a.exports=l}}),Ko=Be({"src/language-js/pragma.js"(r,a){at();var{parseWithComments:l,strip:f,extract:m,print:d}=El(),{normalizeEndOfLine:y}=ji(),v=ju();function C(N){let L=v(N);L&&(N=N.slice(L.length+1));let P=m(N),{pragmas:_,comments:R}=l(P);return{shebang:L,text:N,pragmas:_,comments:R}}function A(N){let L=Object.keys(C(N).pragmas);return L.includes("prettier")||L.includes("format")}function B(N){let{shebang:L,text:P,pragmas:_,comments:R}=C(N),J=f(P),oe=d({pragmas:Object.assign({format:""},_),comments:R.trimStart()});return(L?`${L}
81
- `:"")+y(oe)+(J.startsWith(`
82
- `)?`
83
- `:`
84
-
85
- `)+J}a.exports={hasPragma:A,insertPragma:B}}}),ga=Be({"src/language-js/comments.js"(r,a){at();var{getLast:l,hasNewline:f,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:m,getNextNonSpaceNonCommentCharacter:d,hasNewlineInRange:y,addLeadingComment:v,addTrailingComment:C,addDanglingComment:A,getNextNonSpaceNonCommentCharacterIndex:B,isNonEmptyArray:N}=Pi(),{getFunctionParameters:L,isPrettierIgnoreComment:P,isJsxNode:_,hasFlowShorthandAnnotationComment:R,hasFlowAnnotationComment:J,hasIgnoreComment:oe,isCallLikeExpression:H,getCallArguments:G,isCallExpression:ne,isMemberExpression:me,isObjectProperty:he,isLineComment:ze,getComments:O,CommentCheckFlags:Q,markerForIfWithoutBlockAndSameLineComment:I}=ls(),{locStart:U,locEnd:T}=Ts(),M=_a();function z(_r){return[rr,Yt,Se,$e,Le,rt,mt,Rr,Dt,or,Qr,ei,xt,wn,ht].some(q=>q(_r))}function se(_r){return[je,Yt,yt,Qr,$e,Le,rt,mt,wn,Ye,Mt,or,Kt,ht,Er].some(q=>q(_r))}function K(_r){return[rr,$e,Le,Ue,qt,xt,or,lt,He,Je,ht,Vr].some(q=>q(_r))}function ee(_r,q){let ot=(_r.body||_r.properties).find(Jt=>{let{type:sn}=Jt;return sn!=="EmptyStatement"});ot?v(ot,q):A(_r,q)}function we(_r,q){_r.type==="BlockStatement"?ee(_r,q):v(_r,q)}function je(_r){let{comment:q,followingNode:ot}=_r;return ot&&Jn(q)?(v(ot,q),!0):!1}function $e(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,followingNode:sn,text:Ii}=_r;if((Jt==null?void 0:Jt.type)!=="IfStatement"||!sn)return!1;if(d(Ii,q,T)===")")return C(ot,q),!0;if(ot===Jt.consequent&&sn===Jt.alternate){if(ot.type==="BlockStatement")C(ot,q);else{let e=q.type==="SingleLine"||q.loc.start.line===q.loc.end.line,n=q.loc.start.line===ot.loc.start.line;e&&n?A(ot,q,I):A(Jt,q)}return!0}return sn.type==="BlockStatement"?(ee(sn,q),!0):sn.type==="IfStatement"?(we(sn.consequent,q),!0):Jt.consequent===sn?(v(sn,q),!0):!1}function Le(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,followingNode:sn,text:Ii}=_r;return(Jt==null?void 0:Jt.type)!=="WhileStatement"||!sn?!1:d(Ii,q,T)===")"?(C(ot,q),!0):sn.type==="BlockStatement"?(ee(sn,q),!0):Jt.body===sn?(v(sn,q),!0):!1}function rt(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,followingNode:sn}=_r;return(Jt==null?void 0:Jt.type)!=="TryStatement"&&(Jt==null?void 0:Jt.type)!=="CatchClause"||!sn?!1:Jt.type==="CatchClause"&&ot?(C(ot,q),!0):sn.type==="BlockStatement"?(ee(sn,q),!0):sn.type==="TryStatement"?(we(sn.finalizer,q),!0):sn.type==="CatchClause"?(we(sn.body,q),!0):!1}function Se(_r){let{comment:q,enclosingNode:ot,followingNode:Jt}=_r;return me(ot)&&(Jt==null?void 0:Jt.type)==="Identifier"?(v(ot,q),!0):!1}function yt(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,followingNode:sn,text:Ii}=_r,e=ot&&!y(Ii,T(ot),U(q));return(!ot||!e)&&((Jt==null?void 0:Jt.type)==="ConditionalExpression"||(Jt==null?void 0:Jt.type)==="TSConditionalType")&&sn?(v(sn,q),!0):!1}function Ue(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt}=_r;return he(Jt)&&Jt.shorthand&&Jt.key===ot&&Jt.value.type==="AssignmentPattern"?(C(Jt.value.left,q),!0):!1}var Pe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function mt(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,followingNode:sn}=_r;if(Pe.has(Jt==null?void 0:Jt.type)){if(N(Jt.decorators)&&!(sn&&sn.type==="Decorator"))return C(l(Jt.decorators),q),!0;if(Jt.body&&sn===Jt.body)return ee(Jt.body,q),!0;if(sn){if(Jt.superClass&&sn===Jt.superClass&&ot&&(ot===Jt.id||ot===Jt.typeParameters))return C(ot,q),!0;for(let Ii of["implements","extends","mixins"])if(Jt[Ii]&&sn===Jt[Ii][0])return ot&&(ot===Jt.id||ot===Jt.typeParameters||ot===Jt.superClass)?C(ot,q):A(Jt,q,Ii),!0}}return!1}var Ht=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function xt(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,text:sn}=_r;return Jt&&ot&&d(sn,q,T)==="("&&(Jt.type==="Property"||Jt.type==="TSDeclareMethod"||Jt.type==="TSAbstractMethodDefinition")&&ot.type==="Identifier"&&Jt.key===ot&&d(sn,ot,T)!==":"||(ot==null?void 0:ot.type)==="Decorator"&&Ht.has(Jt==null?void 0:Jt.type)?(C(ot,q),!0):!1}var Zt=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function He(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,text:sn}=_r;return d(sn,q,T)!=="("?!1:ot&&Zt.has(Jt==null?void 0:Jt.type)?(C(ot,q),!0):!1}function lt(_r){let{comment:q,enclosingNode:ot,text:Jt}=_r;if((ot==null?void 0:ot.type)!=="ArrowFunctionExpression")return!1;let sn=B(Jt,q,T);return sn!==!1&&Jt.slice(sn,sn+2)==="=>"?(A(ot,q),!0):!1}function qt(_r){let{comment:q,enclosingNode:ot,text:Jt}=_r;return d(Jt,q,T)!==")"?!1:ot&&(cr(ot)&&L(ot).length===0||H(ot)&&G(ot).length===0)?(A(ot,q),!0):((ot==null?void 0:ot.type)==="MethodDefinition"||(ot==null?void 0:ot.type)==="TSAbstractMethodDefinition")&&L(ot.value).length===0?(A(ot.value,q),!0):!1}function Yt(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,followingNode:sn,text:Ii}=_r;if((ot==null?void 0:ot.type)==="FunctionTypeParam"&&(Jt==null?void 0:Jt.type)==="FunctionTypeAnnotation"&&(sn==null?void 0:sn.type)!=="FunctionTypeParam"||((ot==null?void 0:ot.type)==="Identifier"||(ot==null?void 0:ot.type)==="AssignmentPattern")&&Jt&&cr(Jt)&&d(Ii,q,T)===")")return C(ot,q),!0;if((Jt==null?void 0:Jt.type)==="FunctionDeclaration"&&(sn==null?void 0:sn.type)==="BlockStatement"){let e=(()=>{let n=L(Jt);if(n.length>0)return m(Ii,T(l(n)));let o=m(Ii,T(Jt.id));return o!==!1&&m(Ii,o+1)})();if(U(q)>e)return ee(sn,q),!0}return!1}function wn(_r){let{comment:q,enclosingNode:ot}=_r;return(ot==null?void 0:ot.type)==="LabeledStatement"?(v(ot,q),!0):!1}function ht(_r){let{comment:q,enclosingNode:ot}=_r;return((ot==null?void 0:ot.type)==="ContinueStatement"||(ot==null?void 0:ot.type)==="BreakStatement")&&!ot.label?(C(ot,q),!0):!1}function Ye(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt}=_r;return ne(Jt)&&ot&&Jt.callee===ot&&Jt.arguments.length>0?(v(Jt.arguments[0],q),!0):!1}function Dt(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,followingNode:sn}=_r;return(Jt==null?void 0:Jt.type)==="UnionTypeAnnotation"||(Jt==null?void 0:Jt.type)==="TSUnionType"?(P(q)&&(sn.prettierIgnore=!0,q.unignore=!0),ot?(C(ot,q),!0):!1):(((sn==null?void 0:sn.type)==="UnionTypeAnnotation"||(sn==null?void 0:sn.type)==="TSUnionType")&&P(q)&&(sn.types[0].prettierIgnore=!0,q.unignore=!0),!1)}function Mt(_r){let{comment:q,enclosingNode:ot}=_r;return he(ot)?(v(ot,q),!0):!1}function or(_r){let{comment:q,enclosingNode:ot,followingNode:Jt,ast:sn,isLastComment:Ii}=_r;return sn&&sn.body&&sn.body.length===0?(Ii?A(sn,q):v(sn,q),!0):(ot==null?void 0:ot.type)==="Program"&&(ot==null?void 0:ot.body.length)===0&&!N(ot.directives)?(Ii?A(ot,q):v(ot,q),!0):(Jt==null?void 0:Jt.type)==="Program"&&(Jt==null?void 0:Jt.body.length)===0&&(ot==null?void 0:ot.type)==="ModuleExpression"?(A(Jt,q),!0):!1}function Rr(_r){let{comment:q,enclosingNode:ot}=_r;return(ot==null?void 0:ot.type)==="ForInStatement"||(ot==null?void 0:ot.type)==="ForOfStatement"?(v(ot,q),!0):!1}function Qr(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,text:sn}=_r;if((Jt==null?void 0:Jt.type)==="ImportSpecifier"||(Jt==null?void 0:Jt.type)==="ExportSpecifier")return v(Jt,q),!0;let Ii=(ot==null?void 0:ot.type)==="ImportSpecifier"&&(Jt==null?void 0:Jt.type)==="ImportDeclaration",e=(ot==null?void 0:ot.type)==="ExportSpecifier"&&(Jt==null?void 0:Jt.type)==="ExportNamedDeclaration";return(Ii||e)&&f(sn,T(q))?(C(ot,q),!0):!1}function ei(_r){let{comment:q,enclosingNode:ot}=_r;return(ot==null?void 0:ot.type)==="AssignmentPattern"?(v(ot,q),!0):!1}var Hi=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),tr=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Kt(_r){let{comment:q,enclosingNode:ot,followingNode:Jt}=_r;return Hi.has(ot==null?void 0:ot.type)&&Jt&&(tr.has(Jt.type)||M(q))?(v(Jt,q),!0):!1}function Vr(_r){let{comment:q,enclosingNode:ot,followingNode:Jt,text:sn}=_r;return!Jt&&((ot==null?void 0:ot.type)==="TSMethodSignature"||(ot==null?void 0:ot.type)==="TSDeclareFunction"||(ot==null?void 0:ot.type)==="TSAbstractMethodDefinition")&&d(sn,q,T)===";"?(C(ot,q),!0):!1}function rr(_r){let{comment:q,enclosingNode:ot,followingNode:Jt}=_r;if(P(q)&&(ot==null?void 0:ot.type)==="TSMappedType"&&(Jt==null?void 0:Jt.type)==="TSTypeParameter"&&Jt.constraint)return ot.prettierIgnore=!0,q.unignore=!0,!0}function Je(_r){let{comment:q,precedingNode:ot,enclosingNode:Jt,followingNode:sn}=_r;return(Jt==null?void 0:Jt.type)!=="TSMappedType"?!1:(sn==null?void 0:sn.type)==="TSTypeParameter"&&sn.name?(v(sn.name,q),!0):(ot==null?void 0:ot.type)==="TSTypeParameter"&&ot.constraint?(C(ot.constraint,q),!0):!1}function Er(_r){let{comment:q,enclosingNode:ot,followingNode:Jt}=_r;return!ot||ot.type!=="SwitchCase"||ot.test?!1:(Jt.type==="BlockStatement"&&ze(q)?ee(Jt,q):A(ot,q),!0)}function cr(_r){return _r.type==="ArrowFunctionExpression"||_r.type==="FunctionExpression"||_r.type==="FunctionDeclaration"||_r.type==="ObjectMethod"||_r.type==="ClassMethod"||_r.type==="TSDeclareFunction"||_r.type==="TSCallSignatureDeclaration"||_r.type==="TSConstructSignatureDeclaration"||_r.type==="TSMethodSignature"||_r.type==="TSConstructorType"||_r.type==="TSFunctionType"||_r.type==="TSDeclareMethod"}function Lr(_r,q){if((q.parser==="typescript"||q.parser==="flow"||q.parser==="acorn"||q.parser==="espree"||q.parser==="meriyah"||q.parser==="__babel_estree")&&_r.type==="MethodDefinition"&&_r.value&&_r.value.type==="FunctionExpression"&&L(_r.value).length===0&&!_r.value.returnType&&!N(_r.value.typeParameters)&&_r.value.body)return[..._r.decorators||[],_r.key,_r.value.body]}function Jn(_r){return M(_r)&&_r.value[0]==="*"&&/@type\b/.test(_r.value)}function Nn(_r){let q=_r.getValue(),ot=_r.getParentNode(),Jt=sn=>J(O(sn,Q.Leading))||J(O(sn,Q.Trailing));return(q&&(_(q)||R(q)||ne(ot)&&Jt(q))||ot&&(ot.type==="JSXSpreadAttribute"||ot.type==="JSXSpreadChild"||ot.type==="UnionTypeAnnotation"||ot.type==="TSUnionType"||(ot.type==="ClassDeclaration"||ot.type==="ClassExpression")&&ot.superClass===q))&&(!oe(_r)||ot.type==="UnionTypeAnnotation"||ot.type==="TSUnionType")}a.exports={handleOwnLineComment:z,handleEndOfLineComment:se,handleRemainingComment:K,isTypeCastComment:Jn,getCommentChildNodes:Lr,willPrintOwnComments:Nn}}}),_o=Be({"src/language-js/needs-parens.js"(r,a){at();var l=is(),f=va(),{getFunctionParameters:m,getLeftSidePathName:d,hasFlowShorthandAnnotationComment:y,hasNakedLeftSide:v,hasNode:C,isBitwiseOperator:A,startsWithNoLookaheadToken:B,shouldFlatten:N,getPrecedence:L,isCallExpression:P,isMemberExpression:_,isObjectProperty:R,isTSTypeExpression:J}=ls();function oe(O,Q){let I=O.getParentNode();if(!I)return!1;let U=O.getName(),T=O.getNode();if(Q.__isInHtmlInterpolation&&!Q.bracketSpacing&&me(T)&&he(O))return!0;if(H(T))return!1;if(Q.parser!=="flow"&&y(O.getValue()))return!0;if(T.type==="Identifier")return!!(T.extra&&T.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(T.name)||U==="left"&&T.name==="async"&&I.type==="ForOfStatement"&&!I.await);switch(I.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(U==="superClass"&&(T.type==="ArrowFunctionExpression"||T.type==="AssignmentExpression"||T.type==="AwaitExpression"||T.type==="BinaryExpression"||T.type==="ConditionalExpression"||T.type==="LogicalExpression"||T.type==="NewExpression"||T.type==="ObjectExpression"||T.type==="SequenceExpression"||T.type==="TaggedTemplateExpression"||T.type==="UnaryExpression"||T.type==="UpdateExpression"||T.type==="YieldExpression"||T.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return ze(O,Q)||T.type==="SequenceExpression";case"Decorator":{if(U==="expression"){let M=!1,z=!1,se=T;for(;se;)switch(se.type){case"MemberExpression":z=!0,se=se.object;break;case"CallExpression":if(z||M)return Q.parser!=="typescript";M=!0,se=se.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return Q.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if(B(T,!0))return!0;break}case"ArrowFunctionExpression":{if(U==="body"&&T.type!=="SequenceExpression"&&B(T,!1))return!0;break}}switch(T.type){case"UpdateExpression":if(I.type==="UnaryExpression")return T.prefix&&(T.operator==="++"&&I.operator==="+"||T.operator==="--"&&I.operator==="-");case"UnaryExpression":switch(I.type){case"UnaryExpression":return T.operator===I.operator&&(T.operator==="+"||T.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return U==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return U==="callee";case"BinaryExpression":return U==="left"&&I.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(I.type==="UpdateExpression"||T.operator==="in"&&G(O))return!0;if(T.operator==="|>"&&T.extra&&T.extra.parenthesized){let M=O.getParentNode(1);if(M.type==="BinaryExpression"&&M.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(I.type){case"TSSatisfiesExpression":case"TSAsExpression":return!J(T);case"ConditionalExpression":return J(T);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return U==="callee";case"ClassExpression":case"ClassDeclaration":return U==="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 U==="object";case"AssignmentExpression":case"AssignmentPattern":return U==="left"&&(T.type==="TSTypeAssertion"||J(T));case"LogicalExpression":if(T.type==="LogicalExpression")return I.operator!==T.operator;case"BinaryExpression":{let{operator:M,type:z}=T;if(!M&&z!=="TSTypeAssertion")return!0;let se=L(M),K=I.operator,ee=L(K);return ee>se||U==="right"&&ee===se||ee===se&&!N(K,M)?!0:ee<se&&M==="%"?K==="+"||K==="-":!!A(K)}default:return!1}case"SequenceExpression":switch(I.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return U!=="expression";case"ArrowFunctionExpression":return U!=="body";default:return!0}case"YieldExpression":if(I.type==="UnaryExpression"||I.type==="AwaitExpression"||J(I)||I.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(I.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 U==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return U==="callee";case"ConditionalExpression":return U==="test";case"BinaryExpression":return!(!T.argument&&I.operator==="|>");default:return!1}case"TSConditionalType":if(U==="extendsType"&&I.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(U==="extendsType"&&I.type==="TSConditionalType"){let M=(T.returnType||T.typeAnnotation).typeAnnotation;if(M.type==="TSInferType"&&M.typeParameter.constraint)return!0}if(U==="checkType"&&I.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((I.type==="TSUnionType"||I.type==="TSIntersectionType")&&I.types.length>1&&(!T.types||T.types.length>1))return!0;case"TSInferType":if(T.type==="TSInferType"&&I.type==="TSRestType")return!1;case"TSTypeOperator":return I.type==="TSArrayType"||I.type==="TSOptionalType"||I.type==="TSRestType"||U==="objectType"&&I.type==="TSIndexedAccessType"||I.type==="TSTypeOperator"||I.type==="TSTypeAnnotation"&&O.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return I.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return I.type==="ArrayTypeAnnotation"||I.type==="NullableTypeAnnotation"||I.type==="IntersectionTypeAnnotation"||I.type==="UnionTypeAnnotation"||U==="objectType"&&(I.type==="IndexedAccessType"||I.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return I.type==="ArrayTypeAnnotation"||U==="objectType"&&(I.type==="IndexedAccessType"||I.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let M=I.type==="NullableTypeAnnotation"?O.getParentNode(1):I;return M.type==="UnionTypeAnnotation"||M.type==="IntersectionTypeAnnotation"||M.type==="ArrayTypeAnnotation"||U==="objectType"&&(M.type==="IndexedAccessType"||M.type==="OptionalIndexedAccessType")||M.type==="NullableTypeAnnotation"||I.type==="FunctionTypeParam"&&I.name===null&&m(T).some(z=>z.typeAnnotation&&z.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return U==="objectType"&&I.type==="IndexedAccessType";case"TypeofTypeAnnotation":return U==="objectType"&&(I.type==="IndexedAccessType"||I.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof T.value=="string"&&I.type==="ExpressionStatement"&&!I.directive){let M=O.getParentNode(1);return M.type==="Program"||M.type==="BlockStatement"}return U==="object"&&I.type==="MemberExpression"&&typeof T.value=="number";case"AssignmentExpression":{let M=O.getParentNode(1);return U==="body"&&I.type==="ArrowFunctionExpression"?!0:U==="key"&&(I.type==="ClassProperty"||I.type==="PropertyDefinition")&&I.computed||(U==="init"||U==="update")&&I.type==="ForStatement"?!1:I.type==="ExpressionStatement"?T.left.type==="ObjectPattern":!(U==="key"&&I.type==="TSPropertySignature"||I.type==="AssignmentExpression"||I.type==="SequenceExpression"&&M&&M.type==="ForStatement"&&(M.init===I||M.update===I)||U==="value"&&I.type==="Property"&&M&&M.type==="ObjectPattern"&&M.properties.includes(I)||I.type==="NGChainedExpression")}case"ConditionalExpression":switch(I.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 U==="callee";case"ConditionalExpression":return U==="test";case"MemberExpression":case"OptionalMemberExpression":return U==="object";default:return!1}case"FunctionExpression":switch(I.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return U==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(I.type){case"BinaryExpression":return I.operator!=="|>"||T.extra&&T.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return U==="callee";case"MemberExpression":case"OptionalMemberExpression":return U==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return U==="test";default:return!1}case"ClassExpression":if(f(T.decorators))return!0;switch(I.type){case"NewExpression":return U==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let M=O.getParentNode(1);if(U==="object"&&I.type==="MemberExpression"||U==="callee"&&(I.type==="CallExpression"||I.type==="NewExpression")||I.type==="TSNonNullExpression"&&M.type==="MemberExpression"&&M.object===I)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(U==="callee"&&(I.type==="BindExpression"||I.type==="NewExpression")){let M=T;for(;M;)switch(M.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":M=M.object;break;case"TaggedTemplateExpression":M=M.tag;break;case"TSNonNullExpression":M=M.expression;break;default:return!1}}return!1;case"BindExpression":return U==="callee"&&(I.type==="BindExpression"||I.type==="NewExpression")||U==="object"&&_(I);case"NGPipeExpression":return!(I.type==="NGRoot"||I.type==="NGMicrosyntaxExpression"||I.type==="ObjectProperty"&&!(T.extra&&T.extra.parenthesized)||I.type==="ArrayExpression"||P(I)&&I.arguments[U]===T||U==="right"&&I.type==="NGPipeExpression"||U==="property"&&I.type==="MemberExpression"||I.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return U==="callee"||U==="left"&&I.type==="BinaryExpression"&&I.operator==="<"||I.type!=="ArrayExpression"&&I.type!=="ArrowFunctionExpression"&&I.type!=="AssignmentExpression"&&I.type!=="AssignmentPattern"&&I.type!=="BinaryExpression"&&I.type!=="NewExpression"&&I.type!=="ConditionalExpression"&&I.type!=="ExpressionStatement"&&I.type!=="JsExpressionRoot"&&I.type!=="JSXAttribute"&&I.type!=="JSXElement"&&I.type!=="JSXExpressionContainer"&&I.type!=="JSXFragment"&&I.type!=="LogicalExpression"&&!P(I)&&!R(I)&&I.type!=="ReturnStatement"&&I.type!=="ThrowStatement"&&I.type!=="TypeCastExpression"&&I.type!=="VariableDeclarator"&&I.type!=="YieldExpression";case"TypeAnnotation":return U==="returnType"&&I.type==="ArrowFunctionExpression"&&ne(T)}return!1}function H(O){return O.type==="BlockStatement"||O.type==="BreakStatement"||O.type==="ClassBody"||O.type==="ClassDeclaration"||O.type==="ClassMethod"||O.type==="ClassProperty"||O.type==="PropertyDefinition"||O.type==="ClassPrivateProperty"||O.type==="ContinueStatement"||O.type==="DebuggerStatement"||O.type==="DeclareClass"||O.type==="DeclareExportAllDeclaration"||O.type==="DeclareExportDeclaration"||O.type==="DeclareFunction"||O.type==="DeclareInterface"||O.type==="DeclareModule"||O.type==="DeclareModuleExports"||O.type==="DeclareVariable"||O.type==="DoWhileStatement"||O.type==="EnumDeclaration"||O.type==="ExportAllDeclaration"||O.type==="ExportDefaultDeclaration"||O.type==="ExportNamedDeclaration"||O.type==="ExpressionStatement"||O.type==="ForInStatement"||O.type==="ForOfStatement"||O.type==="ForStatement"||O.type==="FunctionDeclaration"||O.type==="IfStatement"||O.type==="ImportDeclaration"||O.type==="InterfaceDeclaration"||O.type==="LabeledStatement"||O.type==="MethodDefinition"||O.type==="ReturnStatement"||O.type==="SwitchStatement"||O.type==="ThrowStatement"||O.type==="TryStatement"||O.type==="TSDeclareFunction"||O.type==="TSEnumDeclaration"||O.type==="TSImportEqualsDeclaration"||O.type==="TSInterfaceDeclaration"||O.type==="TSModuleDeclaration"||O.type==="TSNamespaceExportDeclaration"||O.type==="TypeAlias"||O.type==="VariableDeclaration"||O.type==="WhileStatement"||O.type==="WithStatement"}function G(O){let Q=0,I=O.getValue();for(;I;){let U=O.getParentNode(Q++);if(U&&U.type==="ForStatement"&&U.init===I)return!0;I=U}return!1}function ne(O){return C(O,Q=>Q.type==="ObjectTypeAnnotation"&&C(Q,I=>I.type==="FunctionTypeAnnotation"||void 0)||void 0)}function me(O){switch(O.type){case"ObjectExpression":return!0;default:return!1}}function he(O){let Q=O.getValue(),I=O.getParentNode(),U=O.getName();switch(I.type){case"NGPipeExpression":if(typeof U=="number"&&I.arguments[U]===Q&&I.arguments.length-1===U)return O.callParent(he);break;case"ObjectProperty":if(U==="value"){let T=O.getParentNode(1);return l(T.properties)===I}break;case"BinaryExpression":case"LogicalExpression":if(U==="right")return O.callParent(he);break;case"ConditionalExpression":if(U==="alternate")return O.callParent(he);break;case"UnaryExpression":if(I.prefix)return O.callParent(he);break}return!1}function ze(O,Q){let I=O.getValue(),U=O.getParentNode();return I.type==="FunctionExpression"||I.type==="ClassExpression"?U.type==="ExportDefaultDeclaration"||!oe(O,Q):!v(I)||U.type!=="ExportDefaultDeclaration"&&oe(O,Q)?!1:O.call(T=>ze(T,Q),...d(O,I))}a.exports=oe}}),yu=Be({"src/language-js/print-preprocess.js"(r,a){at();function l(f,m){switch(m.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},f),{},{type:m.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:f,comments:[],rootMarker:m.rootMarker});default:return f}}a.exports=l}}),rl=Be({"src/language-js/print/html-binding.js"(r,a){at();var{builders:{join:l,line:f,group:m,softline:d,indent:y}}=xi();function v(A,B,N){let L=A.getValue();if(B.__onHtmlBindingRoot&&A.getName()===null&&B.__onHtmlBindingRoot(L,B),L.type==="File"){if(B.__isVueForBindingLeft)return A.call(P=>{let _=l([",",f],P.map(N,"params")),{params:R}=P.getValue();return R.length===1?_:["(",y([d,m(_)]),d,")"]},"program","body",0);if(B.__isVueBindings)return A.call(P=>l([",",f],P.map(N,"params")),"program","body",0)}}function C(A){switch(A.type){case"MemberExpression":switch(A.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return C(A.object)}return!1;case"Identifier":return!0;default:return!1}}a.exports={isVueEventBindingExpression:C,printHtmlBinding:v}}}),po=Be({"src/language-js/print/binaryish.js"(r,a){at();var{printComments:l}=ai(),{getLast:f}=Pi(),{builders:{join:m,line:d,softline:y,group:v,indent:C,align:A,indentIfBreak:B},utils:{cleanDoc:N,getDocParts:L,isConcat:P}}=xi(),{hasLeadingOwnLineComment:_,isBinaryish:R,isJsxNode:J,shouldFlatten:oe,hasComment:H,CommentCheckFlags:G,isCallExpression:ne,isMemberExpression:me,isObjectProperty:he,isEnabledHackPipeline:ze}=ls(),O=0;function Q(T,M,z){let se=T.getValue(),K=T.getParentNode(),ee=T.getParentNode(1),we=se!==K.body&&(K.type==="IfStatement"||K.type==="WhileStatement"||K.type==="SwitchStatement"||K.type==="DoWhileStatement"),je=ze(M)&&se.operator==="|>",$e=I(T,z,M,!1,we);if(we)return $e;if(je)return v($e);if(ne(K)&&K.callee===se||K.type==="UnaryExpression"||me(K)&&!K.computed)return v([C([y,...$e]),y]);let Le=K.type==="ReturnStatement"||K.type==="ThrowStatement"||K.type==="JSXExpressionContainer"&&ee.type==="JSXAttribute"||se.operator!=="|"&&K.type==="JsExpressionRoot"||se.type!=="NGPipeExpression"&&(K.type==="NGRoot"&&M.parser==="__ng_binding"||K.type==="NGMicrosyntaxExpression"&&ee.type==="NGMicrosyntax"&&ee.body.length===1)||se===K.body&&K.type==="ArrowFunctionExpression"||se!==K.body&&K.type==="ForStatement"||K.type==="ConditionalExpression"&&ee.type!=="ReturnStatement"&&ee.type!=="ThrowStatement"&&!ne(ee)||K.type==="TemplateLiteral",rt=K.type==="AssignmentExpression"||K.type==="VariableDeclarator"||K.type==="ClassProperty"||K.type==="PropertyDefinition"||K.type==="TSAbstractPropertyDefinition"||K.type==="ClassPrivateProperty"||he(K),Se=R(se.left)&&oe(se.operator,se.left.operator);if(Le||U(se)&&!Se||!U(se)&&rt)return v($e);if($e.length===0)return"";let yt=J(se.right),Ue=$e.findIndex(He=>typeof He!="string"&&!Array.isArray(He)&&He.type==="group"),Pe=$e.slice(0,Ue===-1?1:Ue+1),mt=$e.slice(Pe.length,yt?-1:void 0),Ht=Symbol("logicalChain-"+ ++O),xt=v([...Pe,C(mt)],{id:Ht});if(!yt)return xt;let Zt=f($e);return v([xt,B(Zt,{groupId:Ht})])}function I(T,M,z,se,K){let ee=T.getValue();if(!R(ee))return[v(M())];let we=[];oe(ee.operator,ee.left.operator)?we=T.call(mt=>I(mt,M,z,!0,K),"left"):we.push(v(M("left")));let je=U(ee),$e=(ee.operator==="|>"||ee.type==="NGPipeExpression"||ee.operator==="|"&&z.parser==="__vue_expression")&&!_(z.originalText,ee.right),Le=ee.type==="NGPipeExpression"?"|":ee.operator,rt=ee.type==="NGPipeExpression"&&ee.arguments.length>0?v(C([d,": ",m([d,": "],T.map(M,"arguments").map(mt=>A(2,v(mt))))])):"",Se;if(je)Se=[Le," ",M("right"),rt];else{let mt=ze(z)&&Le==="|>"?T.call(Ht=>I(Ht,M,z,!0,K),"right"):M("right");Se=[$e?d:"",Le,$e?" ":d,mt,rt]}let yt=T.getParentNode(),Ue=H(ee.left,G.Trailing|G.Line),Pe=Ue||!(K&&ee.type==="LogicalExpression")&&yt.type!==ee.type&&ee.left.type!==ee.type&&ee.right.type!==ee.type;if(we.push($e?"":" ",Pe?v(Se,{shouldBreak:Ue}):Se),se&&H(ee)){let mt=N(l(T,we,z));return P(mt)||mt.type==="fill"?L(mt):[mt]}return we}function U(T){return T.type!=="LogicalExpression"?!1:!!(T.right.type==="ObjectExpression"&&T.right.properties.length>0||T.right.type==="ArrayExpression"&&T.right.elements.length>0||J(T.right))}a.exports={printBinaryishExpression:Q,shouldInlineLogicalExpression:U}}}),bl=Be({"src/language-js/print/angular.js"(r,a){at();var{builders:{join:l,line:f,group:m}}=xi(),{hasNode:d,hasComment:y,getComments:v}=ls(),{printBinaryishExpression:C}=po();function A(L,P,_){let R=L.getValue();if(R.type.startsWith("NG"))switch(R.type){case"NGRoot":return[_("node"),y(R.node)?" //"+v(R.node)[0].value.trimEnd():""];case"NGPipeExpression":return C(L,P,_);case"NGChainedExpression":return m(l([";",f],L.map(J=>N(J)?_():["(",_(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[R.prefix,": ",R.value.trim()];case"NGMicrosyntax":return L.map((J,oe)=>[oe===0?"":B(J.getValue(),oe,R)?" ":[";",f],_()],"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 J=L.getName(),oe=L.getParentNode(),H=B(R,J,oe)||(J===1&&(R.key.name==="then"||R.key.name==="else")||J===2&&R.key.name==="else"&&oe.body[J-1].type==="NGMicrosyntaxKeyedExpression"&&oe.body[J-1].key.name==="then")&&oe.body[0].type==="NGMicrosyntaxExpression";return[_("key"),H?" ":": ",_("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 B(L,P,_){return L.type==="NGMicrosyntaxKeyedExpression"&&L.key.name==="of"&&P===1&&_.body[0].type==="NGMicrosyntaxLet"&&_.body[0].value===null}function N(L){return d(L.getValue(),P=>{switch(P.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}a.exports={printAngular:A}}}),Qa=Be({"src/language-js/print/jsx.js"(r,a){at();var{printComments:l,printDanglingComments:f}=ai(),{builders:{line:m,hardline:d,softline:y,group:v,indent:C,conditionalGroup:A,fill:B,ifBreak:N,lineSuffixBoundary:L,join:P},utils:{willBreak:_}}=xi(),{getLast:R,getPreferredQuote:J}=Pi(),{isJsxNode:oe,rawText:H,isLiteral:G,isCallExpression:ne,isStringLiteral:me,isBinaryish:he,hasComment:ze,CommentCheckFlags:O,hasNodeIgnoreComment:Q}=ls(),I=_o(),{willPrintOwnComments:U}=ga(),T=Ye=>Ye===""||Ye===m||Ye===d||Ye===y;function M(Ye,Dt,Mt){let or=Ye.getValue();if(or.type==="JSXElement"&&qt(or))return[Mt("openingElement"),Mt("closingElement")];let Rr=or.type==="JSXElement"?Mt("openingElement"):Mt("openingFragment"),Qr=or.type==="JSXElement"?Mt("closingElement"):Mt("closingFragment");if(or.children.length===1&&or.children[0].type==="JSXExpressionContainer"&&(or.children[0].expression.type==="TemplateLiteral"||or.children[0].expression.type==="TaggedTemplateExpression"))return[Rr,...Ye.map(Mt,"children"),Qr];or.children=or.children.map(q=>wn(q)?{type:"JSXText",value:" ",raw:" "}:q);let ei=or.children.some(oe),Hi=or.children.filter(q=>q.type==="JSXExpressionContainer").length>1,tr=or.type==="JSXElement"&&or.openingElement.attributes.length>1,Kt=_(Rr)||ei||tr||Hi,Vr=Ye.getParentNode().rootMarker==="mdx",rr=Dt.singleQuote?"{' '}":'{" "}',Je=Vr?" ":N([rr,y]," "),Er=or.openingElement&&or.openingElement.name&&or.openingElement.name.name==="fbt",cr=z(Ye,Dt,Mt,Je,Er),Lr=or.children.some(q=>Yt(q));for(let q=cr.length-2;q>=0;q--){let ot=cr[q]===""&&cr[q+1]==="",Jt=cr[q]===d&&cr[q+1]===""&&cr[q+2]===d,sn=(cr[q]===y||cr[q]===d)&&cr[q+1]===""&&cr[q+2]===Je,Ii=cr[q]===Je&&cr[q+1]===""&&(cr[q+2]===y||cr[q+2]===d),e=cr[q]===Je&&cr[q+1]===""&&cr[q+2]===Je,n=cr[q]===y&&cr[q+1]===""&&cr[q+2]===d||cr[q]===d&&cr[q+1]===""&&cr[q+2]===y;Jt&&Lr||ot||sn||e||n?cr.splice(q,2):Ii&&cr.splice(q+1,2)}for(;cr.length>0&&T(R(cr));)cr.pop();for(;cr.length>1&&T(cr[0])&&T(cr[1]);)cr.shift(),cr.shift();let Jn=[];for(let[q,ot]of cr.entries()){if(ot===Je){if(q===1&&cr[q-1]===""){if(cr.length===2){Jn.push(rr);continue}Jn.push([rr,d]);continue}else if(q===cr.length-1){Jn.push(rr);continue}else if(cr[q-1]===""&&cr[q-2]===d){Jn.push(rr);continue}}Jn.push(ot),_(ot)&&(Kt=!0)}let Nn=Lr?B(Jn):v(Jn,{shouldBreak:!0});if(Vr)return Nn;let _r=v([Rr,C([d,Nn]),d,Qr]);return Kt?_r:A([v([Rr,...cr,Qr]),_r])}function z(Ye,Dt,Mt,or,Rr){let Qr=[];return Ye.each((ei,Hi,tr)=>{let Kt=ei.getValue();if(G(Kt)){let Vr=H(Kt);if(Yt(Kt)){let rr=Vr.split(Zt);if(rr[0]===""){if(Qr.push(""),rr.shift(),/\n/.test(rr[0])){let Er=tr[Hi+1];Qr.push(K(Rr,rr[1],Kt,Er))}else Qr.push(or);rr.shift()}let Je;if(R(rr)===""&&(rr.pop(),Je=rr.pop()),rr.length===0)return;for(let[Er,cr]of rr.entries())Er%2===1?Qr.push(m):Qr.push(cr);if(Je!==void 0)if(/\n/.test(Je)){let Er=tr[Hi+1];Qr.push(K(Rr,R(Qr),Kt,Er))}else Qr.push(or);else{let Er=tr[Hi+1];Qr.push(se(Rr,R(Qr),Kt,Er))}}else/\n/.test(Vr)?Vr.match(/\n/g).length>1&&Qr.push("",d):Qr.push("",or)}else{let Vr=Mt();Qr.push(Vr);let rr=tr[Hi+1];if(rr&&Yt(rr)){let Je=lt(H(rr)).split(Zt)[0];Qr.push(se(Rr,Je,Kt,rr))}else Qr.push(d)}},"children"),Qr}function se(Ye,Dt,Mt,or){return Ye?"":Mt.type==="JSXElement"&&!Mt.closingElement||or&&or.type==="JSXElement"&&!or.closingElement?Dt.length===1?y:d:y}function K(Ye,Dt,Mt,or){return Ye?d:Dt.length===1?Mt.type==="JSXElement"&&!Mt.closingElement||or&&or.type==="JSXElement"&&!or.closingElement?d:y:d}function ee(Ye,Dt,Mt){let or=Ye.getParentNode();if(!or||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[or.type])return Dt;let Rr=Ye.match(void 0,ei=>ei.type==="ArrowFunctionExpression",ne,ei=>ei.type==="JSXExpressionContainer"),Qr=I(Ye,Mt);return v([Qr?"":N("("),C([y,Dt]),y,Qr?"":N(")")],{shouldBreak:Rr})}function we(Ye,Dt,Mt){let or=Ye.getValue(),Rr=[];if(Rr.push(Mt("name")),or.value){let Qr;if(me(or.value)){let ei=H(or.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:Hi,quote:tr,regex:Kt}=J(ei,Dt.jsxSingleQuote?"'":'"');ei=ei.replace(Kt,Hi),Qr=[tr,ei,tr]}else Qr=Mt("value");Rr.push("=",Qr)}return Rr}function je(Ye,Dt,Mt){let or=Ye.getValue(),Rr=(Qr,ei)=>Qr.type==="JSXEmptyExpression"||!ze(Qr)&&(Qr.type==="ArrayExpression"||Qr.type==="ObjectExpression"||Qr.type==="ArrowFunctionExpression"||Qr.type==="AwaitExpression"&&(Rr(Qr.argument,Qr)||Qr.argument.type==="JSXElement")||ne(Qr)||Qr.type==="FunctionExpression"||Qr.type==="TemplateLiteral"||Qr.type==="TaggedTemplateExpression"||Qr.type==="DoExpression"||oe(ei)&&(Qr.type==="ConditionalExpression"||he(Qr)));return Rr(or.expression,Ye.getParentNode(0))?v(["{",Mt("expression"),L,"}"]):v(["{",C([y,Mt("expression")]),y,L,"}"])}function $e(Ye,Dt,Mt){let or=Ye.getValue(),Rr=or.name&&ze(or.name)||or.typeParameters&&ze(or.typeParameters);if(or.selfClosing&&or.attributes.length===0&&!Rr)return["<",Mt("name"),Mt("typeParameters")," />"];if(or.attributes&&or.attributes.length===1&&or.attributes[0].value&&me(or.attributes[0].value)&&!or.attributes[0].value.value.includes(`
86
- `)&&!Rr&&!ze(or.attributes[0]))return v(["<",Mt("name"),Mt("typeParameters")," ",...Ye.map(Mt,"attributes"),or.selfClosing?" />":">"]);let Qr=or.attributes&&or.attributes.some(Hi=>Hi.value&&me(Hi.value)&&Hi.value.value.includes(`
87
- `)),ei=Dt.singleAttributePerLine&&or.attributes.length>1?d:m;return v(["<",Mt("name"),Mt("typeParameters"),C(Ye.map(()=>[ei,Mt()],"attributes")),...Le(or,Dt,Rr)],{shouldBreak:Qr})}function Le(Ye,Dt,Mt){return Ye.selfClosing?[m,"/>"]:rt(Ye,Dt,Mt)?[">"]:[y,">"]}function rt(Ye,Dt,Mt){let or=Ye.attributes.length>0&&ze(R(Ye.attributes),O.Trailing);return Ye.attributes.length===0&&!Mt||(Dt.bracketSameLine||Dt.jsxBracketSameLine)&&(!Mt||Ye.attributes.length>0)&&!or}function Se(Ye,Dt,Mt){let or=Ye.getValue(),Rr=[];Rr.push("</");let Qr=Mt("name");return ze(or.name,O.Leading|O.Line)?Rr.push(C([d,Qr]),d):ze(or.name,O.Leading|O.Block)?Rr.push(" ",Qr):Rr.push(Qr),Rr.push(">"),Rr}function yt(Ye,Dt){let Mt=Ye.getValue(),or=ze(Mt),Rr=ze(Mt,O.Line),Qr=Mt.type==="JSXOpeningFragment";return[Qr?"<":"</",C([Rr?d:or&&!Qr?" ":"",f(Ye,Dt,!0)]),Rr?d:"",">"]}function Ue(Ye,Dt,Mt){let or=l(Ye,M(Ye,Dt,Mt),Dt);return ee(Ye,or,Dt)}function Pe(Ye,Dt){let Mt=Ye.getValue(),or=ze(Mt,O.Line);return[f(Ye,Dt,!or),or?d:""]}function mt(Ye,Dt,Mt){let or=Ye.getValue();return["{",Ye.call(Rr=>{let Qr=["...",Mt()],ei=Rr.getValue();return!ze(ei)||!U(Rr)?Qr:[C([y,l(Rr,Qr,Dt)]),y]},or.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Ht(Ye,Dt,Mt){let or=Ye.getValue();if(or.type.startsWith("JSX"))switch(or.type){case"JSXAttribute":return we(Ye,Dt,Mt);case"JSXIdentifier":return String(or.name);case"JSXNamespacedName":return P(":",[Mt("namespace"),Mt("name")]);case"JSXMemberExpression":return P(".",[Mt("object"),Mt("property")]);case"JSXSpreadAttribute":return mt(Ye,Dt,Mt);case"JSXSpreadChild":return mt(Ye,Dt,Mt);case"JSXExpressionContainer":return je(Ye,Dt,Mt);case"JSXFragment":case"JSXElement":return Ue(Ye,Dt,Mt);case"JSXOpeningElement":return $e(Ye,Dt,Mt);case"JSXClosingElement":return Se(Ye,Dt,Mt);case"JSXOpeningFragment":case"JSXClosingFragment":return yt(Ye,Dt);case"JSXEmptyExpression":return Pe(Ye,Dt);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(or.type)}.`)}}var xt=`
88
- \r `,Zt=new RegExp("(["+xt+"]+)"),He=new RegExp("[^"+xt+"]"),lt=Ye=>Ye.replace(new RegExp("(?:^"+Zt.source+"|"+Zt.source+"$)"),"");function qt(Ye){if(Ye.children.length===0)return!0;if(Ye.children.length>1)return!1;let Dt=Ye.children[0];return G(Dt)&&!Yt(Dt)}function Yt(Ye){return G(Ye)&&(He.test(H(Ye))||!/\n/.test(H(Ye)))}function wn(Ye){return Ye.type==="JSXExpressionContainer"&&G(Ye.expression)&&Ye.expression.value===" "&&!ze(Ye.expression)}function ht(Ye){let Dt=Ye.getValue(),Mt=Ye.getParentNode();if(!Mt||!Dt||!oe(Dt)||!oe(Mt))return!1;let or=Mt.children.indexOf(Dt),Rr=null;for(let Qr=or;Qr>0;Qr--){let ei=Mt.children[Qr-1];if(!(ei.type==="JSXText"&&!Yt(ei))){Rr=ei;break}}return Rr&&Rr.type==="JSXExpressionContainer"&&Rr.expression.type==="JSXEmptyExpression"&&Q(Rr.expression)}a.exports={hasJsxIgnoreComment:ht,printJsx:Ht}}}),ia=Be({"src/language-js/print/misc.js"(r,a){at();var{isNonEmptyArray:l}=Pi(),{builders:{indent:f,join:m,line:d}}=xi(),{isFlowAnnotationComment:y}=ls();function v(R){let J=R.getValue();return!J.optional||J.type==="Identifier"&&J===R.getParentNode().key?"":J.type==="OptionalCallExpression"||J.type==="OptionalMemberExpression"&&J.computed?"?.":"?"}function C(R){return R.getValue().definite||R.match(void 0,(J,oe)=>oe==="id"&&J.type==="VariableDeclarator"&&J.definite)?"!":""}function A(R,J,oe){let H=R.getValue();return H.typeArguments?oe("typeArguments"):H.typeParameters?oe("typeParameters"):""}function B(R,J,oe){let H=R.getValue();if(!H.typeAnnotation)return"";let G=R.getParentNode(),ne=G.type==="DeclareFunction"&&G.id===H;return y(J.originalText,H.typeAnnotation)?[" /*: ",oe("typeAnnotation")," */"]:[ne?"":": ",oe("typeAnnotation")]}function N(R,J,oe){return["::",oe("callee")]}function L(R,J,oe){let H=R.getValue();return l(H.modifiers)?[m(" ",R.map(oe,"modifiers"))," "]:""}function P(R,J,oe){return R.type==="EmptyStatement"?";":R.type==="BlockStatement"||oe?[" ",J]:f([d,J])}function _(R,J,oe){return["...",oe("argument"),B(R,J,oe)]}a.exports={printOptionalToken:v,printDefiniteToken:C,printFunctionTypeParameters:A,printBindExpressionCallee:N,printTypeScriptModifiers:L,printTypeAnnotation:B,printRestSpread:_,adjustClause:P}}}),Ma=Be({"src/language-js/print/array.js"(r,a){at();var{printDanglingComments:l}=ai(),{builders:{line:f,softline:m,hardline:d,group:y,indent:v,ifBreak:C,fill:A}}=xi(),{getLast:B,hasNewline:N}=Pi(),{shouldPrintComma:L,hasComment:P,CommentCheckFlags:_,isNextLineEmpty:R,isNumericLiteral:J,isSignedNumericLiteral:oe}=ls(),{locStart:H}=Ts(),{printOptionalToken:G,printTypeAnnotation:ne}=ia();function me(Q,I,U){let T=Q.getValue(),M=[],z=T.type==="TupleExpression"?"#[":"[",se="]";if(T.elements.length===0)P(T,_.Dangling)?M.push(y([z,l(Q,I),m,se])):M.push(z,se);else{let K=B(T.elements),ee=!(K&&K.type==="RestElement"),we=K===null,je=Symbol("array"),$e=!I.__inJestEach&&T.elements.length>1&&T.elements.every((Se,yt,Ue)=>{let Pe=Se&&Se.type;if(Pe!=="ArrayExpression"&&Pe!=="ObjectExpression")return!1;let mt=Ue[yt+1];if(mt&&Pe!==mt.type)return!1;let Ht=Pe==="ArrayExpression"?"elements":"properties";return Se[Ht]&&Se[Ht].length>1}),Le=he(T,I),rt=ee?we?",":L(I)?Le?C(",","",{groupId:je}):C(","):"":"";M.push(y([z,v([m,Le?O(Q,I,U,rt):[ze(Q,I,"elements",U),rt],l(Q,I,!0)]),m,se],{shouldBreak:$e,id:je}))}return M.push(G(Q),ne(Q,I,U)),M}function he(Q,I){return Q.elements.length>1&&Q.elements.every(U=>U&&(J(U)||oe(U)&&!P(U.argument))&&!P(U,_.Trailing|_.Line,T=>!N(I.originalText,H(T),{backwards:!0})))}function ze(Q,I,U,T){let M=[],z=[];return Q.each(se=>{M.push(z,y(T())),z=[",",f],se.getValue()&&R(se.getValue(),I)&&z.push(m)},U),M}function O(Q,I,U,T){let M=[];return Q.each((z,se,K)=>{let ee=se===K.length-1;M.push([U(),ee?T:","]),ee||M.push(R(z.getValue(),I)?[d,d]:P(K[se+1],_.Leading|_.Line)?d:f)},"elements"),A(M)}a.exports={printArray:me,printArrayItems:ze,isConciselyPrintedArray:he}}}),Io=Be({"src/language-js/print/call-arguments.js"(r,a){at();var{printDanglingComments:l}=ai(),{getLast:f,getPenultimate:m}=Pi(),{getFunctionParameters:d,hasComment:y,CommentCheckFlags:v,isFunctionCompositionArgs:C,isJsxNode:A,isLongCurriedCallExpression:B,shouldPrintComma:N,getCallArguments:L,iterateCallArgumentsPath:P,isNextLineEmpty:_,isCallExpression:R,isStringLiteral:J,isObjectProperty:oe,isTSTypeExpression:H}=ls(),{builders:{line:G,hardline:ne,softline:me,group:he,indent:ze,conditionalGroup:O,ifBreak:Q,breakParent:I},utils:{willBreak:U}}=xi(),{ArgExpansionBailout:T}=Ci(),{isConciselyPrintedArray:M}=Ma();function z(Le,rt,Se){let yt=Le.getValue(),Ue=yt.type==="ImportExpression",Pe=L(yt);if(Pe.length===0)return["(",l(Le,rt,!0),")"];if(we(Pe))return["(",Se(["arguments",0]),", ",Se(["arguments",1]),")"];let mt=!1,Ht=!1,xt=Pe.length-1,Zt=[];P(Le,(ht,Ye)=>{let Dt=ht.getNode(),Mt=[Se()];Ye===xt||(_(Dt,rt)?(Ye===0&&(Ht=!0),mt=!0,Mt.push(",",ne,ne)):Mt.push(",",G)),Zt.push(Mt)});let He=!(Ue||yt.callee&&yt.callee.type==="Import")&&N(rt,"all")?",":"";function lt(){return he(["(",ze([G,...Zt]),He,G,")"],{shouldBreak:!0})}if(mt||Le.getParentNode().type!=="Decorator"&&C(Pe))return lt();let qt=ee(Pe),Yt=K(Pe,rt);if(qt||Yt){if(qt?Zt.slice(1).some(U):Zt.slice(0,-1).some(U))return lt();let ht=[];try{Le.try(()=>{P(Le,(Ye,Dt)=>{qt&&Dt===0&&(ht=[[Se([],{expandFirstArg:!0}),Zt.length>1?",":"",Ht?ne:G,Ht?ne:""],...Zt.slice(1)]),Yt&&Dt===xt&&(ht=[...Zt.slice(0,-1),Se([],{expandLastArg:!0})])})})}catch(Ye){if(Ye instanceof T)return lt();throw Ye}return[Zt.some(U)?I:"",O([["(",...ht,")"],qt?["(",he(ht[0],{shouldBreak:!0}),...ht.slice(1),")"]:["(",...Zt.slice(0,-1),he(f(ht),{shouldBreak:!0}),")"],lt()])]}let wn=["(",ze([me,...Zt]),Q(He),me,")"];return B(Le)?wn:he(wn,{shouldBreak:Zt.some(U)||mt})}function se(Le){let rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Le.type==="ObjectExpression"&&(Le.properties.length>0||y(Le))||Le.type==="ArrayExpression"&&(Le.elements.length>0||y(Le))||Le.type==="TSTypeAssertion"&&se(Le.expression)||H(Le)&&se(Le.expression)||Le.type==="FunctionExpression"||Le.type==="ArrowFunctionExpression"&&(!Le.returnType||!Le.returnType.typeAnnotation||Le.returnType.typeAnnotation.type!=="TSTypeReference"||je(Le.body))&&(Le.body.type==="BlockStatement"||Le.body.type==="ArrowFunctionExpression"&&se(Le.body,!0)||Le.body.type==="ObjectExpression"||Le.body.type==="ArrayExpression"||!rt&&(R(Le.body)||Le.body.type==="ConditionalExpression")||A(Le.body))||Le.type==="DoExpression"||Le.type==="ModuleExpression"}function K(Le,rt){let Se=f(Le),yt=m(Le);return!y(Se,v.Leading)&&!y(Se,v.Trailing)&&se(Se)&&(!yt||yt.type!==Se.type)&&(Le.length!==2||yt.type!=="ArrowFunctionExpression"||Se.type!=="ArrayExpression")&&!(Le.length>1&&Se.type==="ArrayExpression"&&M(Se,rt))}function ee(Le){if(Le.length!==2)return!1;let[rt,Se]=Le;return rt.type==="ModuleExpression"&&$e(Se)?!0:!y(rt)&&(rt.type==="FunctionExpression"||rt.type==="ArrowFunctionExpression"&&rt.body.type==="BlockStatement")&&Se.type!=="FunctionExpression"&&Se.type!=="ArrowFunctionExpression"&&Se.type!=="ConditionalExpression"&&!se(Se)}function we(Le){return Le.length===2&&Le[0].type==="ArrowFunctionExpression"&&d(Le[0]).length===0&&Le[0].body.type==="BlockStatement"&&Le[1].type==="ArrayExpression"&&!Le.some(rt=>y(rt))}function je(Le){return Le.type==="BlockStatement"&&(Le.body.some(rt=>rt.type!=="EmptyStatement")||y(Le,v.Dangling))}function $e(Le){return Le.type==="ObjectExpression"&&Le.properties.length===1&&oe(Le.properties[0])&&Le.properties[0].key.type==="Identifier"&&Le.properties[0].key.name==="type"&&J(Le.properties[0].value)&&Le.properties[0].value.value==="module"}a.exports=z}}),Co=Be({"src/language-js/print/member.js"(r,a){at();var{builders:{softline:l,group:f,indent:m,label:d}}=xi(),{isNumericLiteral:y,isMemberExpression:v,isCallExpression:C}=ls(),{printOptionalToken:A}=ia();function B(L,P,_){let R=L.getValue(),J=L.getParentNode(),oe,H=0;do oe=L.getParentNode(H),H++;while(oe&&(v(oe)||oe.type==="TSNonNullExpression"));let G=_("object"),ne=N(L,P,_),me=oe&&(oe.type==="NewExpression"||oe.type==="BindExpression"||oe.type==="AssignmentExpression"&&oe.left.type!=="Identifier")||R.computed||R.object.type==="Identifier"&&R.property.type==="Identifier"&&!v(J)||(J.type==="AssignmentExpression"||J.type==="VariableDeclarator")&&(C(R.object)&&R.object.arguments.length>0||R.object.type==="TSNonNullExpression"&&C(R.object.expression)&&R.object.expression.arguments.length>0||G.label==="member-chain");return d(G.label==="member-chain"?"member-chain":"member",[G,me?ne:f(m([l,ne]))])}function N(L,P,_){let R=_("property"),J=L.getValue(),oe=A(L);return J.computed?!J.property||y(J.property)?[oe,"[",R,"]"]:f([oe,"[",m([l,R]),l,"]"]):[oe,".",R]}a.exports={printMemberExpression:B,printMemberLookup:N}}}),Al=Be({"src/language-js/print/member-chain.js"(r,a){at();var{printComments:l}=ai(),{getLast:f,isNextLineEmptyAfterIndex:m,getNextNonSpaceNonCommentCharacterIndex:d}=Pi(),y=_o(),{isCallExpression:v,isMemberExpression:C,isFunctionOrArrowExpression:A,isLongCurriedCallExpression:B,isMemberish:N,isNumericLiteral:L,isSimpleCallArgument:P,hasComment:_,CommentCheckFlags:R,isNextLineEmpty:J}=ls(),{locEnd:oe}=Ts(),{builders:{join:H,hardline:G,group:ne,indent:me,conditionalGroup:he,breakParent:ze,label:O},utils:{willBreak:Q}}=xi(),I=Io(),{printMemberLookup:U}=Co(),{printOptionalToken:T,printFunctionTypeParameters:M,printBindExpressionCallee:z}=ia();function se(K,ee,we){let je=K.getParentNode(),$e=!je||je.type==="ExpressionStatement",Le=[];function rt(Kt){let{originalText:Vr}=ee,rr=d(Vr,Kt,oe);return Vr.charAt(rr)===")"?rr!==!1&&m(Vr,rr+1):J(Kt,ee)}function Se(Kt){let Vr=Kt.getValue();v(Vr)&&(N(Vr.callee)||v(Vr.callee))?(Le.unshift({node:Vr,printed:[l(Kt,[T(Kt),M(Kt,ee,we),I(Kt,ee,we)],ee),rt(Vr)?G:""]}),Kt.call(rr=>Se(rr),"callee")):N(Vr)?(Le.unshift({node:Vr,needsParens:y(Kt,ee),printed:l(Kt,C(Vr)?U(Kt,ee,we):z(Kt,ee,we),ee)}),Kt.call(rr=>Se(rr),"object")):Vr.type==="TSNonNullExpression"?(Le.unshift({node:Vr,printed:l(Kt,"!",ee)}),Kt.call(rr=>Se(rr),"expression")):Le.unshift({node:Vr,printed:we()})}let yt=K.getValue();Le.unshift({node:yt,printed:[T(K),M(K,ee,we),I(K,ee,we)]}),yt.callee&&K.call(Kt=>Se(Kt),"callee");let Ue=[],Pe=[Le[0]],mt=1;for(;mt<Le.length&&(Le[mt].node.type==="TSNonNullExpression"||v(Le[mt].node)||C(Le[mt].node)&&Le[mt].node.computed&&L(Le[mt].node.property));++mt)Pe.push(Le[mt]);if(!v(Le[0].node))for(;mt+1<Le.length&&N(Le[mt].node)&&N(Le[mt+1].node);++mt)Pe.push(Le[mt]);Ue.push(Pe),Pe=[];let Ht=!1;for(;mt<Le.length;++mt){if(Ht&&N(Le[mt].node)){if(Le[mt].node.computed&&L(Le[mt].node.property)){Pe.push(Le[mt]);continue}Ue.push(Pe),Pe=[],Ht=!1}(v(Le[mt].node)||Le[mt].node.type==="ImportExpression")&&(Ht=!0),Pe.push(Le[mt]),_(Le[mt].node,R.Trailing)&&(Ue.push(Pe),Pe=[],Ht=!1)}Pe.length>0&&Ue.push(Pe);function xt(Kt){return/^[A-Z]|^[$_]+$/.test(Kt)}function Zt(Kt){return Kt.length<=ee.tabWidth}function He(Kt){let Vr=Kt[1].length>0&&Kt[1][0].node.computed;if(Kt[0].length===1){let Je=Kt[0][0].node;return Je.type==="ThisExpression"||Je.type==="Identifier"&&(xt(Je.name)||$e&&Zt(Je.name)||Vr)}let rr=f(Kt[0]).node;return C(rr)&&rr.property.type==="Identifier"&&(xt(rr.property.name)||Vr)}let lt=Ue.length>=2&&!_(Ue[1][0].node)&&He(Ue);function qt(Kt){let Vr=Kt.map(rr=>rr.printed);return Kt.length>0&&f(Kt).needsParens?["(",...Vr,")"]:Vr}function Yt(Kt){return Kt.length===0?"":me(ne([G,H(G,Kt.map(qt))]))}let wn=Ue.map(qt),ht=wn,Ye=lt?3:2,Dt=Ue.flat(),Mt=Dt.slice(1,-1).some(Kt=>_(Kt.node,R.Leading))||Dt.slice(0,-1).some(Kt=>_(Kt.node,R.Trailing))||Ue[Ye]&&_(Ue[Ye][0].node,R.Leading);if(Ue.length<=Ye&&!Mt)return B(K)?ht:ne(ht);let or=f(Ue[lt?1:0]).node,Rr=!v(or)&&rt(or),Qr=[qt(Ue[0]),lt?Ue.slice(1,2).map(qt):"",Rr?G:"",Yt(Ue.slice(lt?2:1))],ei=Le.map(Kt=>{let{node:Vr}=Kt;return Vr}).filter(v);function Hi(){let Kt=f(f(Ue)).node,Vr=f(wn);return v(Kt)&&Q(Vr)&&ei.slice(0,-1).some(rr=>rr.arguments.some(A))}let tr;return Mt||ei.length>2&&ei.some(Kt=>!Kt.arguments.every(Vr=>P(Vr,0)))||wn.slice(0,-1).some(Q)||Hi()?tr=ne(Qr):tr=[Q(ht)||Rr?ze:"",he([ht,Qr])],O("member-chain",tr)}a.exports=se}}),wl=Be({"src/language-js/print/call-expression.js"(r,a){at();var{builders:{join:l,group:f}}=xi(),m=_o(),{getCallArguments:d,hasFlowAnnotationComment:y,isCallExpression:v,isMemberish:C,isStringLiteral:A,isTemplateOnItsOwnLine:B,isTestCall:N,iterateCallArgumentsPath:L}=ls(),P=Al(),_=Io(),{printOptionalToken:R,printFunctionTypeParameters:J}=ia();function oe(G,ne,me){let he=G.getValue(),ze=G.getParentNode(),O=he.type==="NewExpression",Q=he.type==="ImportExpression",I=R(G),U=d(he);if(U.length>0&&(!Q&&!O&&H(he,ze)||U.length===1&&B(U[0],ne.originalText)||!O&&N(he,ze))){let z=[];return L(G,()=>{z.push(me())}),[O?"new ":"",me("callee"),I,J(G,ne,me),"(",l(", ",z),")"]}let T=(ne.parser==="babel"||ne.parser==="babel-flow")&&he.callee&&he.callee.type==="Identifier"&&y(he.callee.trailingComments);if(T&&(he.callee.trailingComments[0].printed=!0),!Q&&!O&&C(he.callee)&&!G.call(z=>m(z,ne),"callee"))return P(G,ne,me);let M=[O?"new ":"",Q?"import":me("callee"),I,T?`/*:: ${he.callee.trailingComments[0].value.slice(2).trim()} */`:"",J(G,ne,me),_(G,ne,me)];return Q||v(he.callee)?f(M):M}function H(G,ne){if(G.callee.type!=="Identifier")return!1;if(G.callee.name==="require")return!0;if(G.callee.name==="define"){let me=d(G);return ne.type==="ExpressionStatement"&&(me.length===1||me.length===2&&me[0].type==="ArrayExpression"||me.length===3&&A(me[0])&&me[1].type==="ArrayExpression")}return!1}a.exports={printCallExpression:oe}}}),Du=Be({"src/language-js/print/assignment.js"(r,a){at();var{isNonEmptyArray:l,getStringWidth:f}=Pi(),{builders:{line:m,group:d,indent:y,indentIfBreak:v,lineSuffixBoundary:C},utils:{cleanDoc:A,willBreak:B,canBreak:N}}=xi(),{hasLeadingOwnLineComment:L,isBinaryish:P,isStringLiteral:_,isLiteral:R,isNumericLiteral:J,isCallExpression:oe,isMemberExpression:H,getCallArguments:G,rawText:ne,hasComment:me,isSignedNumericLiteral:he,isObjectProperty:ze}=ls(),{shouldInlineLogicalExpression:O}=po(),{printCallExpression:Q}=wl();function I(He,lt,qt,Yt,wn,ht){let Ye=M(He,lt,qt,Yt,ht),Dt=qt(ht,{assignmentLayout:Ye});switch(Ye){case"break-after-operator":return d([d(Yt),wn,d(y([m,Dt]))]);case"never-break-after-operator":return d([d(Yt),wn," ",Dt]);case"fluid":{let Mt=Symbol("assignment");return d([d(Yt),wn,d(y(m),{id:Mt}),C,v(Dt,{groupId:Mt})])}case"break-lhs":return d([Yt,wn," ",d(Dt)]);case"chain":return[d(Yt),wn,m,Dt];case"chain-tail":return[d(Yt),wn,y([m,Dt])];case"chain-tail-arrow-chain":return[d(Yt),wn,Dt];case"only-left":return Yt}}function U(He,lt,qt){let Yt=He.getValue();return I(He,lt,qt,qt("left"),[" ",Yt.operator],"right")}function T(He,lt,qt){return I(He,lt,qt,qt("id")," =","init")}function M(He,lt,qt,Yt,wn){let ht=He.getValue(),Ye=ht[wn];if(!Ye)return"only-left";let Dt=!K(Ye);if(He.match(K,ee,or=>!Dt||or.type!=="ExpressionStatement"&&or.type!=="VariableDeclaration"))return Dt?Ye.type==="ArrowFunctionExpression"&&Ye.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!Dt&&K(Ye.right)||L(lt.originalText,Ye))return"break-after-operator";if(Ye.type==="CallExpression"&&Ye.callee.name==="require"||lt.parser==="json5"||lt.parser==="json")return"never-break-after-operator";if(se(ht)||we(ht)||Le(ht)||rt(ht)&&N(Yt))return"break-lhs";let Mt=Ht(ht,Yt,lt);return He.call(()=>z(He,lt,qt,Mt),wn)?"break-after-operator":Mt||Ye.type==="TemplateLiteral"||Ye.type==="TaggedTemplateExpression"||Ye.type==="BooleanLiteral"||J(Ye)||Ye.type==="ClassExpression"?"never-break-after-operator":"fluid"}function z(He,lt,qt,Yt){let wn=He.getValue();if(P(wn)&&!O(wn))return!0;switch(wn.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:Dt}=wn;return P(Dt)&&!O(Dt)}case"ClassExpression":return l(wn.decorators)}if(Yt)return!1;let ht=wn,Ye=[];for(;;)if(ht.type==="UnaryExpression")ht=ht.argument,Ye.push("argument");else if(ht.type==="TSNonNullExpression")ht=ht.expression,Ye.push("expression");else break;return!!(_(ht)||He.call(()=>Ue(He,lt,qt),...Ye))}function se(He){if(ee(He)){let lt=He.left||He.id;return lt.type==="ObjectPattern"&&lt.properties.length>2&&lt.properties.some(qt=>ze(qt)&&(!qt.shorthand||qt.value&&qt.value.type==="AssignmentPattern"))}return!1}function K(He){return He.type==="AssignmentExpression"}function ee(He){return K(He)||He.type==="VariableDeclarator"}function we(He){let lt=je(He);if(l(lt)){let qt=He.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(lt.length>1&&lt.some(Yt=>Yt[qt]||Yt.default))return!0}return!1}function je(He){return $e(He)&&He.typeParameters&&He.typeParameters.params?He.typeParameters.params:null}function $e(He){return He.type==="TSTypeAliasDeclaration"||He.type==="TypeAlias"}function Le(He){if(He.type!=="VariableDeclarator")return!1;let{typeAnnotation:lt}=He.id;if(!lt||!lt.typeAnnotation)return!1;let qt=Se(lt.typeAnnotation);return l(qt)&&qt.length>1&&qt.some(Yt=>l(Se(Yt))||Yt.type==="TSConditionalType")}function rt(He){return He.type==="VariableDeclarator"&&He.init&&He.init.type==="ArrowFunctionExpression"}function Se(He){return yt(He)&&He.typeParameters&&He.typeParameters.params?He.typeParameters.params:null}function yt(He){return He.type==="TSTypeReference"||He.type==="GenericTypeAnnotation"}function Ue(He,lt,qt){let Yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,wn=He.getValue(),ht=()=>Ue(He,lt,qt,!0);if(wn.type==="TSNonNullExpression")return He.call(ht,"expression");if(oe(wn)){if(Q(He,lt,qt).label==="member-chain")return!1;let Ye=G(wn);return!(Ye.length===0||Ye.length===1&&mt(Ye[0],lt))||xt(wn,qt)?!1:He.call(ht,"callee")}return H(wn)?He.call(ht,"object"):Yt&&(wn.type==="Identifier"||wn.type==="ThisExpression")}var Pe=.25;function mt(He,lt){let{printWidth:qt}=lt;if(me(He))return!1;let Yt=qt*Pe;if(He.type==="ThisExpression"||He.type==="Identifier"&&He.name.length<=Yt||he(He)&&!me(He.argument))return!0;let wn=He.type==="Literal"&&"regex"in He&&He.regex.pattern||He.type==="RegExpLiteral"&&He.pattern;return wn?wn.length<=Yt:_(He)?ne(He).length<=Yt:He.type==="TemplateLiteral"?He.expressions.length===0&&He.quasis[0].value.raw.length<=Yt&&!He.quasis[0].value.raw.includes(`
89
- `):R(He)}function Ht(He,lt,qt){if(!ze(He))return!1;lt=A(lt);let Yt=3;return typeof lt=="string"&&f(lt)<qt.tabWidth+Yt}function xt(He,lt){let qt=Zt(He);if(l(qt)){if(qt.length>1)return!0;if(qt.length===1){let wn=qt[0];if(wn.type==="TSUnionType"||wn.type==="UnionTypeAnnotation"||wn.type==="TSIntersectionType"||wn.type==="IntersectionTypeAnnotation"||wn.type==="TSTypeLiteral"||wn.type==="ObjectTypeAnnotation")return!0}let Yt=He.typeParameters?"typeParameters":"typeArguments";if(B(lt(Yt)))return!0}return!1}function Zt(He){return He.typeParameters&&He.typeParameters.params||He.typeArguments&&He.typeArguments.params}a.exports={printVariableDeclarator:T,printAssignmentExpression:U,printAssignment:I,isArrowFunctionVariableDeclarator:rt}}}),vu=Be({"src/language-js/print/function-parameters.js"(r,a){at();var{getNextNonSpaceNonCommentCharacter:l}=Pi(),{printDanglingComments:f}=ai(),{builders:{line:m,hardline:d,softline:y,group:v,indent:C,ifBreak:A},utils:{removeLines:B,willBreak:N}}=xi(),{getFunctionParameters:L,iterateFunctionParametersPath:P,isSimpleType:_,isTestCall:R,isTypeAnnotationAFunction:J,isObjectType:oe,isObjectTypePropertyAFunction:H,hasRestParameter:G,shouldPrintComma:ne,hasComment:me,isNextLineEmpty:he}=ls(),{locEnd:ze}=Ts(),{ArgExpansionBailout:O}=Ci(),{printFunctionTypeParameters:Q}=ia();function I(z,se,K,ee,we){let je=z.getValue(),$e=L(je),Le=we?Q(z,K,se):"";if($e.length===0)return[Le,"(",f(z,K,!0,mt=>l(K.originalText,mt,ze)===")"),")"];let rt=z.getParentNode(),Se=R(rt),yt=U(je),Ue=[];if(P(z,(mt,Ht)=>{let xt=Ht===$e.length-1;xt&&je.rest&&Ue.push("..."),Ue.push(se()),!xt&&(Ue.push(","),Se||yt?Ue.push(" "):he($e[Ht],K)?Ue.push(d,d):Ue.push(m))}),ee){if(N(Le)||N(Ue))throw new O;return v([B(Le),"(",B(Ue),")"])}let Pe=$e.every(mt=>!mt.decorators);return yt&&Pe?[Le,"(",...Ue,")"]:Se?[Le,"(",...Ue,")"]:(H(rt)||J(rt)||rt.type==="TypeAlias"||rt.type==="UnionTypeAnnotation"||rt.type==="TSUnionType"||rt.type==="IntersectionTypeAnnotation"||rt.type==="FunctionTypeAnnotation"&&rt.returnType===je)&&$e.length===1&&$e[0].name===null&&je.this!==$e[0]&&$e[0].typeAnnotation&&je.typeParameters===null&&_($e[0].typeAnnotation)&&!je.rest?K.arrowParens==="always"?["(",...Ue,")"]:Ue:[Le,"(",C([y,...Ue]),A(!G(je)&&ne(K,"all")?",":""),y,")"]}function U(z){if(!z)return!1;let se=L(z);if(se.length!==1)return!1;let[K]=se;return!me(K)&&(K.type==="ObjectPattern"||K.type==="ArrayPattern"||K.type==="Identifier"&&K.typeAnnotation&&(K.typeAnnotation.type==="TypeAnnotation"||K.typeAnnotation.type==="TSTypeAnnotation")&&oe(K.typeAnnotation.typeAnnotation)||K.type==="FunctionTypeParam"&&oe(K.typeAnnotation)||K.type==="AssignmentPattern"&&(K.left.type==="ObjectPattern"||K.left.type==="ArrayPattern")&&(K.right.type==="Identifier"||K.right.type==="ObjectExpression"&&K.right.properties.length===0||K.right.type==="ArrayExpression"&&K.right.elements.length===0))}function T(z){let se;return z.returnType?(se=z.returnType,se.typeAnnotation&&(se=se.typeAnnotation)):z.typeAnnotation&&(se=z.typeAnnotation),se}function M(z,se){let K=T(z);if(!K)return!1;let ee=z.typeParameters&&z.typeParameters.params;if(ee){if(ee.length>1)return!1;if(ee.length===1){let we=ee[0];if(we.constraint||we.default)return!1}}return L(z).length===1&&(oe(K)||N(se))}a.exports={printFunctionParameters:I,shouldHugFunctionParameters:U,shouldGroupFunctionParameters:M}}}),Za=Be({"src/language-js/print/type-annotation.js"(r,a){at();var{printComments:l,printDanglingComments:f}=ai(),{isNonEmptyArray:m}=Pi(),{builders:{group:d,join:y,line:v,softline:C,indent:A,align:B,ifBreak:N}}=xi(),L=_o(),{locStart:P}=Ts(),{isSimpleType:_,isObjectType:R,hasLeadingOwnLineComment:J,isObjectTypePropertyAFunction:oe,shouldPrintComma:H}=ls(),{printAssignment:G}=Du(),{printFunctionParameters:ne,shouldGroupFunctionParameters:me}=vu(),{printArrayItems:he}=Ma();function ze(K){if(_(K)||R(K))return!0;if(K.type==="UnionTypeAnnotation"||K.type==="TSUnionType"){let ee=K.types.filter(je=>je.type==="VoidTypeAnnotation"||je.type==="TSVoidKeyword"||je.type==="NullLiteralTypeAnnotation"||je.type==="TSNullKeyword").length,we=K.types.some(je=>je.type==="ObjectTypeAnnotation"||je.type==="TSTypeLiteral"||je.type==="GenericTypeAnnotation"||je.type==="TSTypeReference");if(K.types.length-1===ee&&we)return!0}return!1}function O(K,ee,we){let je=ee.semi?";":"",$e=K.getValue(),Le=[];return Le.push("opaque type ",we("id"),we("typeParameters")),$e.supertype&&Le.push(": ",we("supertype")),$e.impltype&&Le.push(" = ",we("impltype")),Le.push(je),Le}function Q(K,ee,we){let je=ee.semi?";":"",$e=K.getValue(),Le=[];$e.declare&&Le.push("declare "),Le.push("type ",we("id"),we("typeParameters"));let rt=$e.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[G(K,ee,we,Le," =",rt),je]}function I(K,ee,we){let je=K.getValue(),$e=K.map(we,"types"),Le=[],rt=!1;for(let Se=0;Se<$e.length;++Se)Se===0?Le.push($e[Se]):R(je.types[Se-1])&&R(je.types[Se])?Le.push([" & ",rt?A($e[Se]):$e[Se]]):!R(je.types[Se-1])&&!R(je.types[Se])?Le.push(A([" &",v,$e[Se]])):(Se>1&&(rt=!0),Le.push(" & ",Se>1?A($e[Se]):$e[Se]));return d(Le)}function U(K,ee,we){let je=K.getValue(),$e=K.getParentNode(),Le=$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&&K.getParentNode(1).this!==$e)&&!(($e.type==="TypeAlias"||$e.type==="VariableDeclarator"||$e.type==="TSTypeAliasDeclaration")&&J(ee.originalText,je)),rt=ze(je),Se=K.map(Pe=>{let mt=we();return rt||(mt=B(2,mt)),l(Pe,mt,ee)},"types");if(rt)return y(" | ",Se);let yt=Le&&!J(ee.originalText,je),Ue=[N([yt?v:"","| "]),y([v,"| "],Se)];return L(K,ee)?d([A(Ue),C]):$e.type==="TupleTypeAnnotation"&&$e.types.length>1||$e.type==="TSTupleType"&&$e.elementTypes.length>1?d([A([N(["(",C]),Ue]),C,N(")")]):d(Le?A(Ue):Ue)}function T(K,ee,we){let je=K.getValue(),$e=[],Le=K.getParentNode(0),rt=K.getParentNode(1),Se=K.getParentNode(2),yt=je.type==="TSFunctionType"||!((Le.type==="ObjectTypeProperty"||Le.type==="ObjectTypeInternalSlot")&&!Le.variance&&!Le.optional&&P(Le)===P(je)||Le.type==="ObjectTypeCallProperty"||Se&&Se.type==="DeclareFunction"),Ue=yt&&(Le.type==="TypeAnnotation"||Le.type==="TSTypeAnnotation"),Pe=Ue&&yt&&(Le.type==="TypeAnnotation"||Le.type==="TSTypeAnnotation")&&rt.type==="ArrowFunctionExpression";oe(Le)&&(yt=!0,Ue=!0),Pe&&$e.push("(");let mt=ne(K,we,ee,!1,!0),Ht=je.returnType||je.predicate||je.typeAnnotation?[yt?" => ":": ",we("returnType"),we("predicate"),we("typeAnnotation")]:"",xt=me(je,Ht);return $e.push(xt?d(mt):mt),Ht&&$e.push(Ht),Pe&&$e.push(")"),d($e)}function M(K,ee,we){let je=K.getValue(),$e=je.type==="TSTupleType"?"elementTypes":"types",Le=je[$e],rt=m(Le),Se=rt?C:"";return d(["[",A([Se,he(K,ee,$e,we)]),N(rt&&H(ee,"all")?",":""),f(K,ee,!0),Se,"]"])}function z(K,ee,we){let je=K.getValue(),$e=je.type==="OptionalIndexedAccessType"&&je.optional?"?.[":"[";return[we("objectType"),$e,we("indexType"),"]"]}function se(K,ee,we){let je=K.getValue();return[je.postfix?"":we,ee("typeAnnotation"),je.postfix?we:""]}a.exports={printOpaqueType:O,printTypeAlias:Q,printIntersectionType:I,printUnionType:U,printFunctionType:T,printTupleType:M,printIndexedAccessType:z,shouldHugType:ze,printJSDocType:se}}}),ja=Be({"src/language-js/print/type-parameters.js"(r,a){at();var{printDanglingComments:l}=ai(),{builders:{join:f,line:m,hardline:d,softline:y,group:v,indent:C,ifBreak:A}}=xi(),{isTestCall:B,hasComment:N,CommentCheckFlags:L,isTSXFile:P,shouldPrintComma:_,getFunctionParameters:R,isObjectType:J}=ls(),{createGroupIdMapper:oe}=Pi(),{shouldHugType:H}=Za(),{isArrowFunctionVariableDeclarator:G}=Du(),ne=oe("typeParameters");function me(O,Q,I,U){let T=O.getValue();if(!T[U])return"";if(!Array.isArray(T[U]))return I(U);let M=O.getNode(2),z=M&&B(M);if(!O.match(K=>!(K[U].length===1&&J(K[U][0])),void 0,(K,ee)=>ee==="typeAnnotation",K=>K.type==="Identifier",G)&&(z||T[U].length===0||T[U].length===1&&(T[U][0].type==="NullableTypeAnnotation"||H(T[U][0]))))return["<",f(", ",O.map(I,U)),he(O,Q),">"];let se=T.type==="TSTypeParameterInstantiation"?"":R(T).length===1&&P(Q)&&!T[U][0].constraint&&O.getParentNode().type==="ArrowFunctionExpression"?",":_(Q,"all")?A(","):"";return v(["<",C([y,f([",",m],O.map(I,U))]),se,y,">"],{id:ne(T)})}function he(O,Q){let I=O.getValue();if(!N(I,L.Dangling))return"";let U=!N(I,L.Line),T=l(O,Q,U);return U?T:[T,d]}function ze(O,Q,I){let U=O.getValue(),T=[],M=O.getParentNode();return M.type==="TSMappedType"?(T.push("[",I("name")),U.constraint&&T.push(" in ",I("constraint")),M.nameType&&T.push(" as ",O.callParent(()=>I("nameType"))),T.push("]"),T):(U.variance&&T.push(I("variance")),U.in&&T.push("in "),U.out&&T.push("out "),T.push(I("name")),U.bound&&T.push(": ",I("bound")),U.constraint&&T.push(" extends ",I("constraint")),U.default&&T.push(" = ",I("default")),T)}a.exports={printTypeParameter:ze,printTypeParameters:me,getTypeParametersGroupId:ne}}}),Ru=Be({"src/language-js/print/property.js"(r,a){at();var{printComments:l}=ai(),{printString:f,printNumber:m}=Pi(),{isNumericLiteral:d,isSimpleNumber:y,isStringLiteral:v,isStringPropSafeToUnquote:C,rawText:A}=ls(),{printAssignment:B}=Du(),N=new WeakMap;function L(_,R,J){let oe=_.getNode();if(oe.computed)return["[",J("key"),"]"];let H=_.getParentNode(),{key:G}=oe;if(oe.type==="ClassPrivateProperty"&&G.type==="Identifier")return["#",J("key")];if(R.quoteProps==="consistent"&&!N.has(H)){let ne=(H.properties||H.body||H.members).some(me=>!me.computed&&me.key&&v(me.key)&&!C(me,R));N.set(H,ne)}if((G.type==="Identifier"||d(G)&&y(m(A(G)))&&String(G.value)===m(A(G))&&!(R.parser==="typescript"||R.parser==="babel-ts"))&&(R.parser==="json"||R.quoteProps==="consistent"&&N.get(H))){let ne=f(JSON.stringify(G.type==="Identifier"?G.name:G.value.toString()),R);return _.call(me=>l(me,ne,R),"key")}return C(oe,R)&&(R.quoteProps==="as-needed"||R.quoteProps==="consistent"&&!N.get(H))?_.call(ne=>l(ne,/^\d/.test(G.value)?m(G.value):G.value,R),"key"):J("key")}function P(_,R,J){return _.getValue().shorthand?J("value"):B(_,R,J,L(_,R,J),":","value")}a.exports={printProperty:P,printPropertyKey:L}}}),nl=Be({"src/language-js/print/function.js"(r,a){at();var l=si(),{printDanglingComments:f,printCommentsSeparately:m}=ai(),d=is(),{getNextNonSpaceNonCommentCharacterIndex:y}=Pi(),{builders:{line:v,softline:C,group:A,indent:B,ifBreak:N,hardline:L,join:P,indentIfBreak:_},utils:{removeLines:R,willBreak:J}}=xi(),{ArgExpansionBailout:oe}=Ci(),{getFunctionParameters:H,hasLeadingOwnLineComment:G,isFlowAnnotationComment:ne,isJsxNode:me,isTemplateOnItsOwnLine:he,shouldPrintComma:ze,startsWithNoLookaheadToken:O,isBinaryish:Q,isLineComment:I,hasComment:U,getComments:T,CommentCheckFlags:M,isCallLikeExpression:z,isCallExpression:se,getCallArguments:K,hasNakedLeftSide:ee,getLeftSide:we}=ls(),{locEnd:je}=Ts(),{printFunctionParameters:$e,shouldGroupFunctionParameters:Le}=vu(),{printPropertyKey:rt}=Ru(),{printFunctionTypeParameters:Se}=ia();function yt(Ye,Dt,Mt,or){let Rr=Ye.getValue(),Qr=!1;if((Rr.type==="FunctionDeclaration"||Rr.type==="FunctionExpression")&&or&&or.expandLastArg){let Vr=Ye.getParentNode();se(Vr)&&K(Vr).length>1&&(Qr=!0)}let ei=[];Rr.type==="TSDeclareFunction"&&Rr.declare&&ei.push("declare "),Rr.async&&ei.push("async "),Rr.generator?ei.push("function* "):ei.push("function "),Rr.id&&ei.push(Dt("id"));let Hi=$e(Ye,Dt,Mt,Qr),tr=lt(Ye,Dt,Mt),Kt=Le(Rr,tr);return ei.push(Se(Ye,Mt,Dt),A([Kt?A(Hi):Hi,tr]),Rr.body?" ":"",Dt("body")),Mt.semi&&(Rr.declare||!Rr.body)&&ei.push(";"),ei}function Ue(Ye,Dt,Mt){let or=Ye.getNode(),{kind:Rr}=or,Qr=or.value||or,ei=[];return!Rr||Rr==="init"||Rr==="method"||Rr==="constructor"?Qr.async&&ei.push("async "):(l.ok(Rr==="get"||Rr==="set"),ei.push(Rr," ")),Qr.generator&&ei.push("*"),ei.push(rt(Ye,Dt,Mt),or.optional||or.key.optional?"?":""),or===Qr?ei.push(Pe(Ye,Dt,Mt)):Qr.type==="FunctionExpression"?ei.push(Ye.call(Hi=>Pe(Hi,Dt,Mt),"value")):ei.push(Mt("value")),ei}function Pe(Ye,Dt,Mt){let or=Ye.getNode(),Rr=$e(Ye,Mt,Dt),Qr=lt(Ye,Mt,Dt),ei=Le(or,Qr),Hi=[Se(Ye,Dt,Mt),A([ei?A(Rr):Rr,Qr])];return or.body?Hi.push(" ",Mt("body")):Hi.push(Dt.semi?";":""),Hi}function mt(Ye,Dt,Mt,or){let Rr=Ye.getValue(),Qr=[];if(Rr.async&&Qr.push("async "),He(Ye,Dt))Qr.push(Mt(["params",0]));else{let Hi=or&&(or.expandLastArg||or.expandFirstArg),tr=lt(Ye,Mt,Dt);if(Hi){if(J(tr))throw new oe;tr=A(R(tr))}Qr.push(A([$e(Ye,Mt,Dt,Hi,!0),tr]))}let ei=f(Ye,Dt,!0,Hi=>{let tr=y(Dt.originalText,Hi,je);return tr!==!1&&Dt.originalText.slice(tr,tr+2)==="=>"});return ei&&Qr.push(" ",ei),Qr}function Ht(Ye,Dt,Mt,or,Rr,Qr){let ei=Ye.getName(),Hi=Ye.getParentNode(),tr=z(Hi)&&ei==="callee",Kt=Boolean(Dt&&Dt.assignmentLayout),Vr=Qr.body.type!=="BlockStatement"&&Qr.body.type!=="ObjectExpression"&&Qr.body.type!=="SequenceExpression",rr=tr&&Vr||Dt&&Dt.assignmentLayout==="chain-tail-arrow-chain",Je=Symbol("arrow-chain");return Qr.body.type==="SequenceExpression"&&(Rr=A(["(",B([C,Rr]),C,")"])),A([A(B([tr||Kt?C:"",A(P([" =>",v],Mt),{shouldBreak:or})]),{id:Je,shouldBreak:rr})," =>",_(Vr?B([v,Rr]):[" ",Rr],{groupId:Je}),tr?N(C,"",{groupId:Je}):""])}function xt(Ye,Dt,Mt,or){let Rr=Ye.getValue(),Qr=[],ei=[],Hi=!1;if(function Je(){let Er=mt(Ye,Dt,Mt,or);if(Qr.length===0)Qr.push(Er);else{let{leading:cr,trailing:Lr}=m(Ye,Dt);Qr.push([cr,Er]),ei.unshift(Lr)}Hi=Hi||Rr.returnType&&H(Rr).length>0||Rr.typeParameters||H(Rr).some(cr=>cr.type!=="Identifier"),Rr.body.type!=="ArrowFunctionExpression"||or&&or.expandLastArg?ei.unshift(Mt("body",or)):(Rr=Rr.body,Ye.call(Je,"body"))}(),Qr.length>1)return Ht(Ye,or,Qr,Hi,ei,Rr);let tr=Qr;if(tr.push(" =>"),!G(Dt.originalText,Rr.body)&&(Rr.body.type==="ArrayExpression"||Rr.body.type==="ObjectExpression"||Rr.body.type==="BlockStatement"||me(Rr.body)||he(Rr.body,Dt.originalText)||Rr.body.type==="ArrowFunctionExpression"||Rr.body.type==="DoExpression"))return A([...tr," ",ei]);if(Rr.body.type==="SequenceExpression")return A([...tr,A([" (",B([C,ei]),C,")"])]);let Kt=(or&&or.expandLastArg||Ye.getParentNode().type==="JSXExpressionContainer")&&!U(Rr),Vr=or&&or.expandLastArg&&ze(Dt,"all"),rr=Rr.body.type==="ConditionalExpression"&&!O(Rr.body,!1);return A([...tr,A([B([v,rr?N("","("):"",ei,rr?N("",")"):""]),Kt?[N(Vr?",":""),C]:""])])}function Zt(Ye){let Dt=H(Ye);return Dt.length===1&&!Ye.typeParameters&&!U(Ye,M.Dangling)&&Dt[0].type==="Identifier"&&!Dt[0].typeAnnotation&&!U(Dt[0])&&!Dt[0].optional&&!Ye.predicate&&!Ye.returnType}function He(Ye,Dt){if(Dt.arrowParens==="always")return!1;if(Dt.arrowParens==="avoid"){let Mt=Ye.getValue();return Zt(Mt)}return!1}function lt(Ye,Dt,Mt){let or=Ye.getValue(),Rr=Dt("returnType");if(or.returnType&&ne(Mt.originalText,or.returnType))return[" /*: ",Rr," */"];let Qr=[Rr];return or.returnType&&or.returnType.typeAnnotation&&Qr.unshift(": "),or.predicate&&Qr.push(or.returnType?" ":": ",Dt("predicate")),Qr}function qt(Ye,Dt,Mt){let or=Ye.getValue(),Rr=Dt.semi?";":"",Qr=[];or.argument&&(ht(Dt,or.argument)?Qr.push([" (",B([L,Mt("argument")]),L,")"]):Q(or.argument)||or.argument.type==="SequenceExpression"?Qr.push(A([N(" ("," "),B([C,Mt("argument")]),C,N(")")])):Qr.push(" ",Mt("argument")));let ei=T(or),Hi=d(ei),tr=Hi&&I(Hi);return tr&&Qr.push(Rr),U(or,M.Dangling)&&Qr.push(" ",f(Ye,Dt,!0)),tr||Qr.push(Rr),Qr}function Yt(Ye,Dt,Mt){return["return",qt(Ye,Dt,Mt)]}function wn(Ye,Dt,Mt){return["throw",qt(Ye,Dt,Mt)]}function ht(Ye,Dt){if(G(Ye.originalText,Dt))return!0;if(ee(Dt)){let Mt=Dt,or;for(;or=we(Mt);)if(Mt=or,G(Ye.originalText,Mt))return!0}return!1}a.exports={printFunction:yt,printArrowFunction:xt,printMethod:Ue,printReturnStatement:Yt,printThrowStatement:wn,printMethodInternal:Pe,shouldPrintParamsWithoutParens:He}}}),$u=Be({"src/language-js/print/decorators.js"(r,a){at();var{isNonEmptyArray:l,hasNewline:f}=Pi(),{builders:{line:m,hardline:d,join:y,breakParent:v,group:C}}=xi(),{locStart:A,locEnd:B}=Ts(),{getParentExportDeclaration:N}=ls();function L(oe,H,G){let ne=oe.getValue();return C([y(m,oe.map(G,"decorators")),R(ne,H)?d:m])}function P(oe,H,G){return[y(d,oe.map(G,"declaration","decorators")),d]}function _(oe,H,G){let ne=oe.getValue(),{decorators:me}=ne;if(!l(me)||J(oe.getParentNode()))return;let he=ne.type==="ClassExpression"||ne.type==="ClassDeclaration"||R(ne,H);return[N(oe)?d:he?v:"",y(m,oe.map(G,"decorators")),m]}function R(oe,H){return oe.decorators.some(G=>f(H.originalText,B(G)))}function J(oe){if(oe.type!=="ExportDefaultDeclaration"&&oe.type!=="ExportNamedDeclaration"&&oe.type!=="DeclareExportDeclaration")return!1;let H=oe.declaration&&oe.declaration.decorators;return l(H)&&A(oe)===A(H[0])}a.exports={printDecorators:_,printClassMemberDecorators:L,printDecoratorsBeforeExport:P,hasDecoratorsBeforeExport:J}}}),xu=Be({"src/language-js/print/class.js"(r,a){at();var{isNonEmptyArray:l,createGroupIdMapper:f}=Pi(),{printComments:m,printDanglingComments:d}=ai(),{builders:{join:y,line:v,hardline:C,softline:A,group:B,indent:N,ifBreak:L}}=xi(),{hasComment:P,CommentCheckFlags:_}=ls(),{getTypeParametersGroupId:R}=ja(),{printMethod:J}=nl(),{printOptionalToken:oe,printTypeAnnotation:H,printDefiniteToken:G}=ia(),{printPropertyKey:ne}=Ru(),{printAssignment:me}=Du(),{printClassMemberDecorators:he}=$u();function ze(K,ee,we){let je=K.getValue(),$e=[];je.declare&&$e.push("declare "),je.abstract&&$e.push("abstract "),$e.push("class");let Le=je.id&&P(je.id,_.Trailing)||je.typeParameters&&P(je.typeParameters,_.Trailing)||je.superClass&&P(je.superClass)||l(je.extends)||l(je.mixins)||l(je.implements),rt=[],Se=[];if(je.id&&rt.push(" ",we("id")),rt.push(we("typeParameters")),je.superClass){let yt=[M(K,ee,we),we("superTypeParameters")],Ue=K.call(Pe=>["extends ",m(Pe,yt,ee)],"superClass");Le?Se.push(v,B(Ue)):Se.push(" ",Ue)}else Se.push(T(K,ee,we,"extends"));if(Se.push(T(K,ee,we,"mixins"),T(K,ee,we,"implements")),Le){let yt;U(je)?yt=[...rt,N(Se)]:yt=N([...rt,Se]),$e.push(B(yt,{id:O(je)}))}else $e.push(...rt,...Se);return $e.push(" ",we("body")),$e}var O=f("heritageGroup");function Q(K){return L(C,"",{groupId:O(K)})}function I(K){return["superClass","extends","mixins","implements"].filter(ee=>Boolean(K[ee])).length>1}function U(K){return K.typeParameters&&!P(K.typeParameters,_.Trailing|_.Line)&&!I(K)}function T(K,ee,we,je){let $e=K.getValue();if(!l($e[je]))return"";let Le=d(K,ee,!0,rt=>{let{marker:Se}=rt;return Se===je});return[U($e)?L(" ",v,{groupId:R($e.typeParameters)}):v,Le,Le&&C,je,B(N([v,y([",",v],K.map(we,je))]))]}function M(K,ee,we){let je=we("superClass");return K.getParentNode().type==="AssignmentExpression"?B(L(["(",N([A,je]),A,")"],je)):je}function z(K,ee,we){let je=K.getValue(),$e=[];return l(je.decorators)&&$e.push(he(K,ee,we)),je.accessibility&&$e.push(je.accessibility+" "),je.readonly&&$e.push("readonly "),je.declare&&$e.push("declare "),je.static&&$e.push("static "),(je.type==="TSAbstractMethodDefinition"||je.abstract)&&$e.push("abstract "),je.override&&$e.push("override "),$e.push(J(K,ee,we)),$e}function se(K,ee,we){let je=K.getValue(),$e=[],Le=ee.semi?";":"";return l(je.decorators)&&$e.push(he(K,ee,we)),je.accessibility&&$e.push(je.accessibility+" "),je.declare&&$e.push("declare "),je.static&&$e.push("static "),(je.type==="TSAbstractPropertyDefinition"||je.type==="TSAbstractAccessorProperty"||je.abstract)&&$e.push("abstract "),je.override&&$e.push("override "),je.readonly&&$e.push("readonly "),je.variance&&$e.push(we("variance")),(je.type==="ClassAccessorProperty"||je.type==="AccessorProperty"||je.type==="TSAbstractAccessorProperty")&&$e.push("accessor "),$e.push(ne(K,ee,we),oe(K),G(K),H(K,ee,we)),[me(K,ee,we,$e," =","value"),Le]}a.exports={printClass:ze,printClassMethod:z,printClassProperty:se,printHardlineAfterHeritage:Q}}}),ql=Be({"src/language-js/print/interface.js"(r,a){at();var{isNonEmptyArray:l}=Pi(),{builders:{join:f,line:m,group:d,indent:y,ifBreak:v}}=xi(),{hasComment:C,identity:A,CommentCheckFlags:B}=ls(),{getTypeParametersGroupId:N}=ja(),{printTypeScriptModifiers:L}=ia();function P(_,R,J){let oe=_.getValue(),H=[];oe.declare&&H.push("declare "),oe.type==="TSInterfaceDeclaration"&&H.push(oe.abstract?"abstract ":"",L(_,R,J)),H.push("interface");let G=[],ne=[];oe.type!=="InterfaceTypeAnnotation"&&G.push(" ",J("id"),J("typeParameters"));let me=oe.typeParameters&&!C(oe.typeParameters,B.Trailing|B.Line);return l(oe.extends)&&ne.push(me?v(" ",m,{groupId:N(oe.typeParameters)}):m,"extends ",(oe.extends.length===1?A:y)(f([",",m],_.map(J,"extends")))),oe.id&&C(oe.id,B.Trailing)||l(oe.extends)?me?H.push(d([...G,y(ne)])):H.push(d(y([...G,...ne]))):H.push(...G,...ne),H.push(" ",J("body")),d(H)}a.exports={printInterface:P}}}),Cu=Be({"src/language-js/print/module.js"(r,a){at();var{isNonEmptyArray:l}=Pi(),{builders:{softline:f,group:m,indent:d,join:y,line:v,ifBreak:C,hardline:A}}=xi(),{printDanglingComments:B}=ai(),{hasComment:N,CommentCheckFlags:L,shouldPrintComma:P,needsHardlineAfterDanglingComment:_,isStringLiteral:R,rawText:J}=ls(),{locStart:oe,hasSameLoc:H}=Ts(),{hasDecoratorsBeforeExport:G,printDecoratorsBeforeExport:ne}=$u();function me(se,K,ee){let we=se.getValue(),je=K.semi?";":"",$e=[],{importKind:Le}=we;return $e.push("import"),Le&&Le!=="value"&&$e.push(" ",Le),$e.push(I(se,K,ee),Q(se,K,ee),T(se,K,ee),je),$e}function he(se,K,ee){let we=se.getValue(),je=[];G(we)&&je.push(ne(se,K,ee));let{type:$e,exportKind:Le,declaration:rt}=we;return je.push("export"),(we.default||$e==="ExportDefaultDeclaration")&&je.push(" default"),N(we,L.Dangling)&&(je.push(" ",B(se,K,!0)),_(we)&&je.push(A)),rt?je.push(" ",ee("declaration")):je.push(Le==="type"?" type":"",I(se,K,ee),Q(se,K,ee),T(se,K,ee)),O(we,K)&&je.push(";"),je}function ze(se,K,ee){let we=se.getValue(),je=K.semi?";":"",$e=[],{exportKind:Le,exported:rt}=we;return $e.push("export"),Le==="type"&&$e.push(" type"),$e.push(" *"),rt&&$e.push(" as ",ee("exported")),$e.push(Q(se,K,ee),T(se,K,ee),je),$e}function O(se,K){if(!K.semi)return!1;let{type:ee,declaration:we}=se,je=se.default||ee==="ExportDefaultDeclaration";if(!we)return!0;let{type:$e}=we;return!!(je&&$e!=="ClassDeclaration"&&$e!=="FunctionDeclaration"&&$e!=="TSInterfaceDeclaration"&&$e!=="DeclareClass"&&$e!=="DeclareFunction"&&$e!=="TSDeclareFunction"&&$e!=="EnumDeclaration")}function Q(se,K,ee){let we=se.getValue();if(!we.source)return"";let je=[];return U(we,K)||je.push(" from"),je.push(" ",ee("source")),je}function I(se,K,ee){let we=se.getValue();if(U(we,K))return"";let je=[" "];if(l(we.specifiers)){let $e=[],Le=[];se.each(()=>{let rt=se.getValue().type;if(rt==="ExportNamespaceSpecifier"||rt==="ExportDefaultSpecifier"||rt==="ImportNamespaceSpecifier"||rt==="ImportDefaultSpecifier")$e.push(ee());else if(rt==="ExportSpecifier"||rt==="ImportSpecifier")Le.push(ee());else throw new Error(`Unknown specifier type ${JSON.stringify(rt)}`)},"specifiers"),je.push(y(", ",$e)),Le.length>0&&($e.length>0&&je.push(", "),Le.length>1||$e.length>0||we.specifiers.some(rt=>N(rt))?je.push(m(["{",d([K.bracketSpacing?v:f,y([",",v],Le)]),C(P(K)?",":""),K.bracketSpacing?v:f,"}"])):je.push(["{",K.bracketSpacing?" ":"",...Le,K.bracketSpacing?" ":"","}"]))}else je.push("{}");return je}function U(se,K){let{type:ee,importKind:we,source:je,specifiers:$e}=se;return ee!=="ImportDeclaration"||l($e)||we==="type"?!1:!/{\s*}/.test(K.originalText.slice(oe(se),oe(je)))}function T(se,K,ee){let we=se.getNode();return l(we.assertions)?[" assert {",K.bracketSpacing?" ":"",y(", ",se.map(ee,"assertions")),K.bracketSpacing?" ":"","}"]:""}function M(se,K,ee){let we=se.getNode(),{type:je}=we,$e=[],Le=je==="ImportSpecifier"?we.importKind:we.exportKind;Le&&Le!=="value"&&$e.push(Le," ");let rt=je.startsWith("Import"),Se=rt?"imported":"local",yt=rt?"local":"exported",Ue=we[Se],Pe=we[yt],mt="",Ht="";return je==="ExportNamespaceSpecifier"||je==="ImportNamespaceSpecifier"?mt="*":Ue&&(mt=ee(Se)),Pe&&!z(we)&&(Ht=ee(yt)),$e.push(mt,mt&&Ht?" as ":"",Ht),$e}function z(se){if(se.type!=="ImportSpecifier"&&se.type!=="ExportSpecifier")return!1;let{local:K,[se.type==="ImportSpecifier"?"imported":"exported"]:ee}=se;if(K.type!==ee.type||!H(K,ee))return!1;if(R(K))return K.value===ee.value&&J(K)===J(ee);switch(K.type){case"Identifier":return K.name===ee.name;default:return!1}}a.exports={printImportDeclaration:me,printExportDeclaration:he,printExportAllDeclaration:ze,printModuleSpecifier:M}}}),Xs=Be({"src/language-js/print/object.js"(r,a){at();var{printDanglingComments:l}=ai(),{builders:{line:f,softline:m,group:d,indent:y,ifBreak:v,hardline:C}}=xi(),{getLast:A,hasNewlineInRange:B,hasNewline:N,isNonEmptyArray:L}=Pi(),{shouldPrintComma:P,hasComment:_,getComments:R,CommentCheckFlags:J,isNextLineEmpty:oe}=ls(),{locStart:H,locEnd:G}=Ts(),{printOptionalToken:ne,printTypeAnnotation:me}=ia(),{shouldHugFunctionParameters:he}=vu(),{shouldHugType:ze}=Za(),{printHardlineAfterHeritage:O}=xu();function Q(I,U,T){let M=U.semi?";":"",z=I.getValue(),se;z.type==="TSTypeLiteral"?se="members":z.type==="TSInterfaceBody"?se="body":se="properties";let K=z.type==="ObjectTypeAnnotation",ee=[se];K&&ee.push("indexers","callProperties","internalSlots");let we=ee.map(He=>z[He][0]).sort((He,lt)=>H(He)-H(lt))[0],je=I.getParentNode(0),$e=K&&je&&(je.type==="InterfaceDeclaration"||je.type==="DeclareInterface"||je.type==="DeclareClass")&&I.getName()==="body",Le=z.type==="TSInterfaceBody"||$e||z.type==="ObjectPattern"&&je.type!=="FunctionDeclaration"&&je.type!=="FunctionExpression"&&je.type!=="ArrowFunctionExpression"&&je.type!=="ObjectMethod"&&je.type!=="ClassMethod"&&je.type!=="ClassPrivateMethod"&&je.type!=="AssignmentPattern"&&je.type!=="CatchClause"&&z.properties.some(He=>He.value&&(He.value.type==="ObjectPattern"||He.value.type==="ArrayPattern"))||z.type!=="ObjectPattern"&&we&&B(U.originalText,H(z),H(we)),rt=$e?";":z.type==="TSInterfaceBody"||z.type==="TSTypeLiteral"?v(M,";"):",",Se=z.type==="RecordExpression"?"#{":z.exact?"{|":"{",yt=z.exact?"|}":"}",Ue=[];for(let He of ee)I.each(lt=>{let qt=lt.getValue();Ue.push({node:qt,printed:T(),loc:H(qt)})},He);ee.length>1&&Ue.sort((He,lt)=>He.loc-lt.loc);let Pe=[],mt=Ue.map(He=>{let lt=[...Pe,d(He.printed)];return Pe=[rt,f],(He.node.type==="TSPropertySignature"||He.node.type==="TSMethodSignature"||He.node.type==="TSConstructSignatureDeclaration")&&_(He.node,J.PrettierIgnore)&&Pe.shift(),oe(He.node,U)&&Pe.push(C),lt});if(z.inexact){let He;if(_(z,J.Dangling)){let lt=_(z,J.Line);He=[l(I,U,!0),lt||N(U.originalText,G(A(R(z))))?C:f,"..."]}else He=["..."];mt.push([...Pe,...He])}let Ht=A(z[se]),xt=!(z.inexact||Ht&&Ht.type==="RestElement"||Ht&&(Ht.type==="TSPropertySignature"||Ht.type==="TSCallSignatureDeclaration"||Ht.type==="TSMethodSignature"||Ht.type==="TSConstructSignatureDeclaration")&&_(Ht,J.PrettierIgnore)),Zt;if(mt.length===0){if(!_(z,J.Dangling))return[Se,yt,me(I,U,T)];Zt=d([Se,l(I,U),m,yt,ne(I),me(I,U,T)])}else Zt=[$e&&L(z.properties)?O(je):"",Se,y([U.bracketSpacing?f:m,...mt]),v(xt&&(rt!==","||P(U))?rt:""),U.bracketSpacing?f:m,yt,ne(I),me(I,U,T)];return I.match(He=>He.type==="ObjectPattern"&&!He.decorators,(He,lt,qt)=>he(He)&&(lt==="params"||lt==="parameters"||lt==="this"||lt==="rest")&&qt===0)||I.match(ze,(He,lt)=>lt==="typeAnnotation",(He,lt)=>lt==="typeAnnotation",(He,lt,qt)=>he(He)&&(lt==="params"||lt==="parameters"||lt==="this"||lt==="rest")&&qt===0)||!Le&&I.match(He=>He.type==="ObjectPattern",He=>He.type==="AssignmentExpression"||He.type==="VariableDeclarator")?Zt:d(Zt,{shouldBreak:Le})}a.exports={printObject:Q}}}),sa=Be({"src/language-js/print/flow.js"(r,a){at();var l=si(),{printDanglingComments:f}=ai(),{printString:m,printNumber:d}=Pi(),{builders:{hardline:y,softline:v,group:C,indent:A}}=xi(),{getParentExportDeclaration:B,isFunctionNotation:N,isGetterOrSetter:L,rawText:P,shouldPrintComma:_}=ls(),{locStart:R,locEnd:J}=Ts(),{replaceTextEndOfLine:oe}=so(),{printClass:H}=xu(),{printOpaqueType:G,printTypeAlias:ne,printIntersectionType:me,printUnionType:he,printFunctionType:ze,printTupleType:O,printIndexedAccessType:Q}=Za(),{printInterface:I}=ql(),{printTypeParameter:U,printTypeParameters:T}=ja(),{printExportDeclaration:M,printExportAllDeclaration:z}=Cu(),{printArrayItems:se}=Ma(),{printObject:K}=Xs(),{printPropertyKey:ee}=Ru(),{printOptionalToken:we,printTypeAnnotation:je,printRestSpread:$e}=ia();function Le(Se,yt,Ue){let Pe=Se.getValue(),mt=yt.semi?";":"",Ht=[];switch(Pe.type){case"DeclareClass":return rt(Se,H(Se,yt,Ue));case"DeclareFunction":return rt(Se,["function ",Ue("id"),Pe.predicate?" ":"",Ue("predicate"),mt]);case"DeclareModule":return rt(Se,["module ",Ue("id")," ",Ue("body")]);case"DeclareModuleExports":return rt(Se,["module.exports",": ",Ue("typeAnnotation"),mt]);case"DeclareVariable":return rt(Se,["var ",Ue("id"),mt]);case"DeclareOpaqueType":return rt(Se,G(Se,yt,Ue));case"DeclareInterface":return rt(Se,I(Se,yt,Ue));case"DeclareTypeAlias":return rt(Se,ne(Se,yt,Ue));case"DeclareExportDeclaration":return rt(Se,M(Se,yt,Ue));case"DeclareExportAllDeclaration":return rt(Se,z(Se,yt,Ue));case"OpaqueType":return G(Se,yt,Ue);case"TypeAlias":return ne(Se,yt,Ue);case"IntersectionTypeAnnotation":return me(Se,yt,Ue);case"UnionTypeAnnotation":return he(Se,yt,Ue);case"FunctionTypeAnnotation":return ze(Se,yt,Ue);case"TupleTypeAnnotation":return O(Se,yt,Ue);case"GenericTypeAnnotation":return[Ue("id"),T(Se,yt,Ue,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Q(Se,yt,Ue);case"TypeAnnotation":return Ue("typeAnnotation");case"TypeParameter":return U(Se,yt,Ue);case"TypeofTypeAnnotation":return["typeof ",Ue("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[Ue("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(Pe.value);case"EnumDeclaration":return["enum ",Ue("id")," ",Ue("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(Pe.type==="EnumSymbolBody"||Pe.explicitType){let xt=null;switch(Pe.type){case"EnumBooleanBody":xt="boolean";break;case"EnumNumberBody":xt="number";break;case"EnumStringBody":xt="string";break;case"EnumSymbolBody":xt="symbol";break}Ht.push("of ",xt," ")}if(Pe.members.length===0&&!Pe.hasUnknownMembers)Ht.push(C(["{",f(Se,yt),v,"}"]));else{let xt=Pe.members.length>0?[y,se(Se,yt,"members",Ue),Pe.hasUnknownMembers||_(yt)?",":""]:[];Ht.push(C(["{",A([...xt,...Pe.hasUnknownMembers?[y,"..."]:[]]),f(Se,yt,!0),y,"}"]))}return Ht}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[Ue("id")," = ",typeof Pe.init=="object"?Ue("init"):String(Pe.init)];case"EnumDefaultedMember":return Ue("id");case"FunctionTypeParam":{let xt=Pe.name?Ue("name"):Se.getParentNode().this===Pe?"this":"";return[xt,we(Se),xt?": ":"",Ue("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return I(Se,yt,Ue);case"ClassImplements":case"InterfaceExtends":return[Ue("id"),Ue("typeParameters")];case"NullableTypeAnnotation":return["?",Ue("typeAnnotation")];case"Variance":{let{kind:xt}=Pe;return l.ok(xt==="plus"||xt==="minus"),xt==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Pe.static&&Ht.push("static "),Ht.push(Ue("value")),Ht;case"ObjectTypeIndexer":return[Pe.static?"static ":"",Pe.variance?Ue("variance"):"","[",Ue("id"),Pe.id?": ":"",Ue("key"),"]: ",Ue("value")];case"ObjectTypeProperty":{let xt="";return Pe.proto?xt="proto ":Pe.static&&(xt="static "),[xt,L(Pe)?Pe.kind+" ":"",Pe.variance?Ue("variance"):"",ee(Se,yt,Ue),we(Se),N(Pe)?"":": ",Ue("value")]}case"ObjectTypeAnnotation":return K(Se,yt,Ue);case"ObjectTypeInternalSlot":return[Pe.static?"static ":"","[[",Ue("id"),"]]",we(Se),Pe.method?"":": ",Ue("value")];case"ObjectTypeSpreadProperty":return $e(Se,yt,Ue);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[Ue("qualification"),".",Ue("id")];case"StringLiteralTypeAnnotation":return oe(m(P(Pe),yt));case"NumberLiteralTypeAnnotation":l.strictEqual(typeof Pe.value,"number");case"BigIntLiteralTypeAnnotation":return Pe.extra?d(Pe.extra.raw):d(Pe.raw);case"TypeCastExpression":return["(",Ue("expression"),je(Se,yt,Ue),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let xt=T(Se,yt,Ue,"params");if(yt.parser==="flow"){let Zt=R(Pe),He=J(Pe),lt=yt.originalText.lastIndexOf("/*",Zt),qt=yt.originalText.indexOf("*/",He);if(lt!==-1&&qt!==-1){let Yt=yt.originalText.slice(lt+2,qt).trim();if(Yt.startsWith("::")&&!Yt.includes("/*")&&!Yt.includes("*/"))return["/*:: ",xt," */"]}}return xt}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",Ue("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(Pe.type))}}function rt(Se,yt){let Ue=B(Se);return Ue?(l.strictEqual(Ue.type,"DeclareExportDeclaration"),yt):["declare ",yt]}a.exports={printFlow:Le}}}),oa=Be({"src/language-js/utils/is-ts-keyword-type.js"(r,a){at();function l(f){let{type:m}=f;return m.startsWith("TS")&&m.endsWith("Keyword")}a.exports=l}}),$s=Be({"src/language-js/print/ternary.js"(r,a){at();var{hasNewlineInRange:l}=Pi(),{isJsxNode:f,getComments:m,isCallExpression:d,isMemberExpression:y,isTSTypeExpression:v}=ls(),{locStart:C,locEnd:A}=Ts(),B=_a(),{builders:{line:N,softline:L,group:P,indent:_,align:R,ifBreak:J,dedent:oe,breakParent:H}}=xi();function G(O){let Q=[O];for(let I=0;I<Q.length;I++){let U=Q[I];for(let T of["test","consequent","alternate"]){let M=U[T];if(f(M))return!0;M.type==="ConditionalExpression"&&Q.push(M)}}return!1}function ne(O,Q,I){let U=O.getValue(),T=U.type==="ConditionalExpression",M=T?"alternate":"falseType",z=O.getParentNode(),se=T?I("test"):[I("checkType")," ","extends"," ",I("extendsType")];return z.type===U.type&&z[M]===U?R(2,se):se}var me=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function he(O){let Q=O.getValue();if(Q.type!=="ConditionalExpression")return!1;let I,U=Q;for(let T=0;!I;T++){let M=O.getParentNode(T);if(d(M)&&M.callee===U||y(M)&&M.object===U||M.type==="TSNonNullExpression"&&M.expression===U){U=M;continue}M.type==="NewExpression"&&M.callee===U||v(M)&&M.expression===U?(I=O.getParentNode(T+1),U=M):I=M}return U===Q?!1:I[me.get(I.type)]===U}function ze(O,Q,I){let U=O.getValue(),T=U.type==="ConditionalExpression",M=T?"consequent":"trueType",z=T?"alternate":"falseType",se=T?["test"]:["checkType","extendsType"],K=U[M],ee=U[z],we=[],je=!1,$e=O.getParentNode(),Le=$e.type===U.type&&se.some(qt=>$e[qt]===U),rt=$e.type===U.type&&!Le,Se,yt,Ue=0;do yt=Se||U,Se=O.getParentNode(Ue),Ue++;while(Se&&Se.type===U.type&&se.every(qt=>Se[qt]!==yt));let Pe=Se||$e,mt=yt;if(T&&(f(U[se[0]])||f(K)||f(ee)||G(mt))){je=!0,rt=!0;let qt=wn=>[J("("),_([L,wn]),L,J(")")],Yt=wn=>wn.type==="NullLiteral"||wn.type==="Literal"&&wn.value===null||wn.type==="Identifier"&&wn.name==="undefined";we.push(" ? ",Yt(K)?I(M):qt(I(M))," : ",ee.type===U.type||Yt(ee)?I(z):qt(I(z)))}else{let qt=[N,"? ",K.type===U.type?J("","("):"",R(2,I(M)),K.type===U.type?J("",")"):"",N,": ",ee.type===U.type?I(z):R(2,I(z))];we.push($e.type!==U.type||$e[z]===U||Le?qt:Q.useTabs?oe(_(qt)):R(Math.max(0,Q.tabWidth-2),qt))}let Ht=[...se.map(qt=>m(U[qt])),m(K),m(ee)].flat().some(qt=>B(qt)&&l(Q.originalText,C(qt),A(qt))),xt=qt=>$e===Pe?P(qt,{shouldBreak:Ht}):Ht?[qt,H]:qt,Zt=!je&&(y($e)||$e.type==="NGPipeExpression"&&$e.left===U)&&!$e.computed,He=he(O),lt=xt([ne(O,Q,I),rt?we:_(we),T&&Zt&&!He?L:""]);return Le||He?P([_([L,lt]),L]):lt}a.exports={printTernary:ze}}}),Eo=Be({"src/language-js/print/statement.js"(r,a){at();var{builders:{hardline:l}}=xi(),f=_o(),{getLeftSidePathName:m,hasNakedLeftSide:d,isJsxNode:y,isTheOnlyJsxElementInMarkdown:v,hasComment:C,CommentCheckFlags:A,isNextLineEmpty:B}=ls(),{shouldPrintParamsWithoutParens:N}=nl();function L(ne,me,he,ze){let O=ne.getValue(),Q=[],I=O.type==="ClassBody",U=P(O[ze]);return ne.each((T,M,z)=>{let se=T.getValue();if(se.type==="EmptyStatement")return;let K=he();!me.semi&&!I&&!v(me,T)&&_(T,me)?C(se,A.Leading)?Q.push(he([],{needsSemi:!0})):Q.push(";",K):Q.push(K),!me.semi&&I&&H(se)&&G(se,z[M+1])&&Q.push(";"),se!==U&&(Q.push(l),B(se,me)&&Q.push(l))},ze),Q}function P(ne){for(let me=ne.length-1;me>=0;me--){let he=ne[me];if(he.type!=="EmptyStatement")return he}}function _(ne,me){return ne.getNode().type!=="ExpressionStatement"?!1:ne.call(he=>R(he,me),"expression")}function R(ne,me){let he=ne.getValue();switch(he.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!N(ne,me))return!0;break}case"UnaryExpression":{let{prefix:ze,operator:O}=he;if(ze&&(O==="+"||O==="-"))return!0;break}case"BindExpression":{if(!he.object)return!0;break}case"Literal":{if(he.regex)return!0;break}default:if(y(he))return!0}return f(ne,me)?!0:d(he)?ne.call(ze=>R(ze,me),...m(ne,he)):!1}function J(ne,me,he){return L(ne,me,he,"body")}function oe(ne,me,he){return L(ne,me,he,"consequent")}var H=ne=>{let{type:me}=ne;return me==="ClassProperty"||me==="PropertyDefinition"||me==="ClassPrivateProperty"||me==="ClassAccessorProperty"||me==="AccessorProperty"||me==="TSAbstractPropertyDefinition"||me==="TSAbstractAccessorProperty"};function G(ne,me){let{name:he}=ne.key;if((he==="static"||he==="get"||he==="set"||he==="accessor")&&!ne.value&&!ne.typeAnnotation)return!0;if(!me||me.static||me.accessibility)return!1;if(!me.computed){let ze=me.key&&me.key.name;if(ze==="in"||ze==="instanceof")return!0}if(H(me)&&me.variance&&!me.static&&!me.declare)return!0;switch(me.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return me.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((me.value?me.value.async:me.async)||me.kind==="get"||me.kind==="set")return!1;let ze=me.value?me.value.generator:me.generator;return!!(me.computed||ze)}case"TSIndexSignature":return!0}return!1}a.exports={printBody:J,printSwitchCaseConsequent:oe}}}),il=Be({"src/language-js/print/block.js"(r,a){at();var{printDanglingComments:l}=ai(),{isNonEmptyArray:f}=Pi(),{builders:{hardline:m,indent:d}}=xi(),{hasComment:y,CommentCheckFlags:v,isNextLineEmpty:C}=ls(),{printHardlineAfterHeritage:A}=xu(),{printBody:B}=Eo();function N(P,_,R){let J=P.getValue(),oe=[];if(J.type==="StaticBlock"&&oe.push("static "),J.type==="ClassBody"&&f(J.body)){let G=P.getParentNode();oe.push(A(G))}oe.push("{");let H=L(P,_,R);if(H)oe.push(d([m,H]),m);else{let G=P.getParentNode(),ne=P.getParentNode(1);G.type==="ArrowFunctionExpression"||G.type==="FunctionExpression"||G.type==="FunctionDeclaration"||G.type==="ObjectMethod"||G.type==="ClassMethod"||G.type==="ClassPrivateMethod"||G.type==="ForStatement"||G.type==="WhileStatement"||G.type==="DoWhileStatement"||G.type==="DoExpression"||G.type==="CatchClause"&&!ne.finalizer||G.type==="TSModuleDeclaration"||G.type==="TSDeclareFunction"||J.type==="StaticBlock"||J.type==="ClassBody"||oe.push(m)}return oe.push("}"),oe}function L(P,_,R){let J=P.getValue(),oe=f(J.directives),H=J.body.some(me=>me.type!=="EmptyStatement"),G=y(J,v.Dangling);if(!oe&&!H&&!G)return"";let ne=[];if(oe&&P.each((me,he,ze)=>{ne.push(R()),(he<ze.length-1||H||G)&&(ne.push(m),C(me.getValue(),_)&&ne.push(m))},"directives"),H&&ne.push(B(P,_,R)),G&&ne.push(l(P,_,!0)),J.type==="Program"){let me=P.getParentNode();(!me||me.type!=="ModuleExpression")&&ne.push(m)}return ne}a.exports={printBlock:N,printBlockBody:L}}}),sl=Be({"src/language-js/print/typescript.js"(r,a){at();var{printDanglingComments:l}=ai(),{hasNewlineInRange:f}=Pi(),{builders:{join:m,line:d,hardline:y,softline:v,group:C,indent:A,conditionalGroup:B,ifBreak:N}}=xi(),{isLiteral:L,getTypeScriptMappedTypeModifier:P,shouldPrintComma:_,isCallExpression:R,isMemberExpression:J}=ls(),oe=oa(),{locStart:H,locEnd:G}=Ts(),{printOptionalToken:ne,printTypeScriptModifiers:me}=ia(),{printTernary:he}=$s(),{printFunctionParameters:ze,shouldGroupFunctionParameters:O}=vu(),{printTemplateLiteral:Q}=uo(),{printArrayItems:I}=Ma(),{printObject:U}=Xs(),{printClassProperty:T,printClassMethod:M}=xu(),{printTypeParameter:z,printTypeParameters:se}=ja(),{printPropertyKey:K}=Ru(),{printFunction:ee,printMethodInternal:we}=nl(),{printInterface:je}=ql(),{printBlock:$e}=il(),{printTypeAlias:Le,printIntersectionType:rt,printUnionType:Se,printFunctionType:yt,printTupleType:Ue,printIndexedAccessType:Pe,printJSDocType:mt}=Za();function Ht(xt,Zt,He){let lt=xt.getValue();if(!lt.type.startsWith("TS"))return;if(oe(lt))return lt.type.slice(2,-7).toLowerCase();let qt=Zt.semi?";":"",Yt=[];switch(lt.type){case"TSThisType":return"this";case"TSTypeAssertion":{let wn=!(lt.expression.type==="ArrayExpression"||lt.expression.type==="ObjectExpression"),ht=C(["<",A([v,He("typeAnnotation")]),v,">"]),Ye=[N("("),A([v,He("expression")]),v,N(")")];return wn?B([[ht,He("expression")],[ht,C(Ye,{shouldBreak:!0})],[ht,He("expression")]]):C([ht,He("expression")])}case"TSDeclareFunction":return ee(xt,He,Zt);case"TSExportAssignment":return["export = ",He("expression"),qt];case"TSModuleBlock":return $e(xt,Zt,He);case"TSInterfaceBody":case"TSTypeLiteral":return U(xt,Zt,He);case"TSTypeAliasDeclaration":return Le(xt,Zt,He);case"TSQualifiedName":return m(".",[He("left"),He("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return M(xt,Zt,He);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return T(xt,Zt,He);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Yt.push(He("expression")),lt.typeParameters&&Yt.push(He("typeParameters")),Yt;case"TSTemplateLiteralType":return Q(xt,He,Zt);case"TSNamedTupleMember":return[He("label"),lt.optional?"?":"",": ",He("elementType")];case"TSRestType":return["...",He("typeAnnotation")];case"TSOptionalType":return[He("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return je(xt,Zt,He);case"TSClassImplements":return[He("expression"),He("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return se(xt,Zt,He,"params");case"TSTypeParameter":return z(xt,Zt,He);case"TSSatisfiesExpression":case"TSAsExpression":{let wn=lt.type==="TSAsExpression"?"as":"satisfies";Yt.push(He("expression"),` ${wn} `,He("typeAnnotation"));let ht=xt.getParentNode();return R(ht)&&ht.callee===lt||J(ht)&&ht.object===lt?C([A([v,...Yt]),v]):Yt}case"TSArrayType":return[He("elementType"),"[]"];case"TSPropertySignature":return lt.readonly&&Yt.push("readonly "),Yt.push(K(xt,Zt,He),ne(xt)),lt.typeAnnotation&&Yt.push(": ",He("typeAnnotation")),lt.initializer&&Yt.push(" = ",He("initializer")),Yt;case"TSParameterProperty":return lt.accessibility&&Yt.push(lt.accessibility+" "),lt.export&&Yt.push("export "),lt.static&&Yt.push("static "),lt.override&&Yt.push("override "),lt.readonly&&Yt.push("readonly "),Yt.push(He("parameter")),Yt;case"TSTypeQuery":return["typeof ",He("exprName"),He("typeParameters")];case"TSIndexSignature":{let wn=xt.getParentNode(),ht=lt.parameters.length>1?N(_(Zt)?",":""):"",Ye=C([A([v,m([", ",v],xt.map(He,"parameters"))]),ht,v]);return[lt.export?"export ":"",lt.accessibility?[lt.accessibility," "]:"",lt.static?"static ":"",lt.readonly?"readonly ":"",lt.declare?"declare ":"","[",lt.parameters?Ye:"",lt.typeAnnotation?"]: ":"]",lt.typeAnnotation?He("typeAnnotation"):"",wn.type==="ClassBody"?qt:""]}case"TSTypePredicate":return[lt.asserts?"asserts ":"",He("parameterName"),lt.typeAnnotation?[" is ",He("typeAnnotation")]:""];case"TSNonNullExpression":return[He("expression"),"!"];case"TSImportType":return[lt.isTypeOf?"typeof ":"","import(",He(lt.parameter?"parameter":"argument"),")",lt.qualifier?[".",He("qualifier")]:"",se(xt,Zt,He,"typeParameters")];case"TSLiteralType":return He("literal");case"TSIndexedAccessType":return Pe(xt,Zt,He);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(lt.type==="TSConstructorType"&&lt.abstract&&Yt.push("abstract "),lt.type!=="TSCallSignatureDeclaration"&&Yt.push("new "),Yt.push(C(ze(xt,He,Zt,!1,!0))),lt.returnType||lt.typeAnnotation){let wn=lt.type==="TSConstructorType";Yt.push(wn?" => ":": ",He("returnType"),He("typeAnnotation"))}return Yt}case"TSTypeOperator":return[lt.operator," ",He("typeAnnotation")];case"TSMappedType":{let wn=f(Zt.originalText,H(lt),G(lt));return C(["{",A([Zt.bracketSpacing?d:v,lt.readonly?[P(lt.readonly,"readonly")," "]:"",me(xt,Zt,He),He("typeParameter"),lt.optional?P(lt.optional,"?"):"",lt.typeAnnotation?": ":"",He("typeAnnotation"),N(qt)]),l(xt,Zt,!0),Zt.bracketSpacing?d:v,"}"],{shouldBreak:wn})}case"TSMethodSignature":{let wn=lt.kind&&lt.kind!=="method"?`${lt.kind} `:"";Yt.push(lt.accessibility?[lt.accessibility," "]:"",wn,lt.export?"export ":"",lt.static?"static ":"",lt.readonly?"readonly ":"",lt.abstract?"abstract ":"",lt.declare?"declare ":"",lt.computed?"[":"",He("key"),lt.computed?"]":"",ne(xt));let ht=ze(xt,He,Zt,!1,!0),Ye=lt.returnType?"returnType":"typeAnnotation",Dt=lt[Ye],Mt=Dt?He(Ye):"",or=O(lt,Mt);return Yt.push(or?C(ht):ht),Dt&&Yt.push(": ",C(Mt)),C(Yt)}case"TSNamespaceExportDeclaration":return Yt.push("export as namespace ",He("id")),Zt.semi&&Yt.push(";"),C(Yt);case"TSEnumDeclaration":return lt.declare&&Yt.push("declare "),lt.modifiers&&Yt.push(me(xt,Zt,He)),lt.const&&Yt.push("const "),Yt.push("enum ",He("id")," "),lt.members.length===0?Yt.push(C(["{",l(xt,Zt),v,"}"])):Yt.push(C(["{",A([y,I(xt,Zt,"members",He),_(Zt,"es5")?",":""]),l(xt,Zt,!0),y,"}"])),Yt;case"TSEnumMember":return lt.computed?Yt.push("[",He("id"),"]"):Yt.push(He("id")),lt.initializer&&Yt.push(" = ",He("initializer")),Yt;case"TSImportEqualsDeclaration":return lt.isExport&&Yt.push("export "),Yt.push("import "),lt.importKind&&lt.importKind!=="value"&&Yt.push(lt.importKind," "),Yt.push(He("id")," = ",He("moduleReference")),Zt.semi&&Yt.push(";"),C(Yt);case"TSExternalModuleReference":return["require(",He("expression"),")"];case"TSModuleDeclaration":{let wn=xt.getParentNode(),ht=L(lt.id),Ye=wn.type==="TSModuleDeclaration",Dt=lt.body&&lt.body.type==="TSModuleDeclaration";if(Ye)Yt.push(".");else{lt.declare&&Yt.push("declare "),Yt.push(me(xt,Zt,He));let Mt=Zt.originalText.slice(H(lt),H(lt.id));lt.id.type==="Identifier"&&lt.id.name==="global"&&!/namespace|module/.test(Mt)||Yt.push(ht||/(?:^|\s)module(?:\s|$)/.test(Mt)?"module ":"namespace ")}return Yt.push(He("id")),Dt?Yt.push(He("body")):lt.body?Yt.push(" ",C(He("body"))):Yt.push(qt),Yt}case"TSConditionalType":return he(xt,Zt,He);case"TSInferType":return["infer"," ",He("typeParameter")];case"TSIntersectionType":return rt(xt,Zt,He);case"TSUnionType":return Se(xt,Zt,He);case"TSFunctionType":return yt(xt,Zt,He);case"TSTupleType":return Ue(xt,Zt,He);case"TSTypeReference":return[He("typeName"),se(xt,Zt,He,"typeParameters")];case"TSTypeAnnotation":return He("typeAnnotation");case"TSEmptyBodyFunctionExpression":return we(xt,Zt,He);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return mt(xt,He,"?");case"TSJSDocNonNullableType":return mt(xt,He,"!");case"TSInstantiationExpression":return[He("expression"),He("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(lt.type)}.`)}}a.exports={printTypescript:Ht}}}),Wl=Be({"src/language-js/print/comment.js"(r,a){at();var{hasNewline:l}=Pi(),{builders:{join:f,hardline:m},utils:{replaceTextEndOfLine:d}}=xi(),{isLineComment:y}=ls(),{locStart:v,locEnd:C}=Ts(),A=_a();function B(P,_){let R=P.getValue();if(y(R))return _.originalText.slice(v(R),C(R)).trimEnd();if(A(R)){if(N(R)){let H=L(R);return R.trailing&&!l(_.originalText,v(R),{backwards:!0})?[m,H]:H}let J=C(R),oe=_.originalText.slice(J-3,J)==="*-/";return["/*",d(R.value),oe?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(R))}function N(P){let _=`*${P.value}*`.split(`
90
- `);return _.length>1&&_.every(R=>R.trim()[0]==="*")}function L(P){let _=P.value.split(`
91
- `);return["/*",f(m,_.map((R,J)=>J===0?R.trimEnd():" "+(J<_.length-1?R.trim():R.trimStart()))),"*/"]}a.exports={printComment:B}}}),ic=Be({"src/language-js/print/literal.js"(r,a){at();var{printString:l,printNumber:f}=Pi(),{replaceTextEndOfLine:m}=so();function d(C,A){let B=C.getNode();switch(B.type){case"RegExpLiteral":return v(B);case"BigIntLiteral":return y(B.bigint||B.extra.raw);case"NumericLiteral":return f(B.extra.raw);case"StringLiteral":return m(l(B.extra.raw,A));case"NullLiteral":return"null";case"BooleanLiteral":return String(B.value);case"DecimalLiteral":return f(B.value)+"m";case"Literal":{if(B.regex)return v(B.regex);if(B.bigint)return y(B.raw);if(B.decimal)return f(B.decimal)+"m";let{value:N}=B;return typeof N=="number"?f(B.raw):typeof N=="string"?m(l(B.raw,A)):String(N)}}}function y(C){return C.toLowerCase()}function v(C){let{pattern:A,flags:B}=C;return B=[...B].sort().join(""),`/${A}/${B}`}a.exports={printLiteral:d}}}),Vl=Be({"src/language-js/printer-estree.js"(r,a){at();var{printDanglingComments:l}=ai(),{hasNewline:f}=Pi(),{builders:{join:m,line:d,hardline:y,softline:v,group:C,indent:A},utils:{replaceTextEndOfLine:B}}=xi(),N=No(),L=lo(),{insertPragma:P}=Ko(),_=ga(),R=_o(),J=yu(),{hasFlowShorthandAnnotationComment:oe,hasComment:H,CommentCheckFlags:G,isTheOnlyJsxElementInMarkdown:ne,isLineComment:me,isNextLineEmpty:he,needsHardlineAfterDanglingComment:ze,rawText:O,hasIgnoreComment:Q,isCallExpression:I,isMemberExpression:U,markerForIfWithoutBlockAndSameLineComment:T}=ls(),{locStart:M,locEnd:z}=Ts(),se=_a(),{printHtmlBinding:K,isVueEventBindingExpression:ee}=rl(),{printAngular:we}=bl(),{printJsx:je,hasJsxIgnoreComment:$e}=Qa(),{printFlow:Le}=sa(),{printTypescript:rt}=sl(),{printOptionalToken:Se,printBindExpressionCallee:yt,printTypeAnnotation:Ue,adjustClause:Pe,printRestSpread:mt,printDefiniteToken:Ht}=ia(),{printImportDeclaration:xt,printExportDeclaration:Zt,printExportAllDeclaration:He,printModuleSpecifier:lt}=Cu(),{printTernary:qt}=$s(),{printTemplateLiteral:Yt}=uo(),{printArray:wn}=Ma(),{printObject:ht}=Xs(),{printClass:Ye,printClassMethod:Dt,printClassProperty:Mt}=xu(),{printProperty:or}=Ru(),{printFunction:Rr,printArrowFunction:Qr,printMethod:ei,printReturnStatement:Hi,printThrowStatement:tr}=nl(),{printCallExpression:Kt}=wl(),{printVariableDeclarator:Vr,printAssignmentExpression:rr}=Du(),{printBinaryishExpression:Je}=po(),{printSwitchCaseConsequent:Er}=Eo(),{printMemberExpression:cr}=Co(),{printBlock:Lr,printBlockBody:Jn}=il(),{printComment:Nn}=Wl(),{printLiteral:_r}=ic(),{printDecorators:q}=$u();function ot(e,n,o,u){let p=Jt(e,n,o,u);if(!p)return"";let D=e.getValue(),{type:E}=D;if(E==="ClassMethod"||E==="ClassPrivateMethod"||E==="ClassProperty"||E==="ClassAccessorProperty"||E==="AccessorProperty"||E==="TSAbstractAccessorProperty"||E==="PropertyDefinition"||E==="TSAbstractPropertyDefinition"||E==="ClassPrivateProperty"||E==="MethodDefinition"||E==="TSAbstractMethodDefinition"||E==="TSDeclareMethod")return p;let k=[p],j=q(e,n,o),$=D.type==="ClassExpression"&&j;if(j&&(k=[...j,p],!$))return C(k);if(!R(e,n))return u&&u.needsSemi&&k.unshift(";"),k.length===1&&k[0]===p?p:k;if($&&(k=[A([d,...k])]),k.unshift("("),u&&u.needsSemi&&k.unshift(";"),oe(D)){let[ke]=D.trailingComments;k.push(" /*",ke.value.trimStart(),"*/"),ke.printed=!0}return $&&k.push(d),k.push(")"),k}function Jt(e,n,o,u){let p=e.getValue(),D=n.semi?";":"";if(!p)return"";if(typeof p=="string")return p;for(let k of[_r,K,we,je,Le,rt]){let j=k(e,n,o);if(typeof j<"u")return j}let E=[];switch(p.type){case"JsExpressionRoot":return o("node");case"JsonRoot":return[o("node"),y];case"File":return p.program&&p.program.interpreter&&E.push(o(["program","interpreter"])),E.push(o("program")),E;case"Program":return Jn(e,n,o);case"EmptyStatement":return"";case"ExpressionStatement":{if(p.directive)return[sn(p.expression,n),D];if(n.parser==="__vue_event_binding"||n.parser==="__vue_ts_event_binding"){let j=e.getParentNode();if(j.type==="Program"&&j.body.length===1&&j.body[0]===p)return[o("expression"),ee(p.expression)?";":""]}let k=l(e,n,!0,j=>{let{marker:$}=j;return $===T});return[o("expression"),ne(n,e)?"":D,k?[" ",k]:""]}case"ParenthesizedExpression":return!H(p.expression)&&(p.expression.type==="ObjectExpression"||p.expression.type==="ArrayExpression")?["(",o("expression"),")"]:C(["(",A([v,o("expression")]),v,")"]);case"AssignmentExpression":return rr(e,n,o);case"VariableDeclarator":return Vr(e,n,o);case"BinaryExpression":case"LogicalExpression":return Je(e,n,o);case"AssignmentPattern":return[o("left")," = ",o("right")];case"OptionalMemberExpression":case"MemberExpression":return cr(e,n,o);case"MetaProperty":return[o("meta"),".",o("property")];case"BindExpression":return p.object&&E.push(o("object")),E.push(C(A([v,yt(e,n,o)]))),E;case"Identifier":return[p.name,Se(e),Ht(e),Ue(e,n,o)];case"V8IntrinsicIdentifier":return["%",p.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return mt(e,n,o);case"FunctionDeclaration":case"FunctionExpression":return Rr(e,o,n,u);case"ArrowFunctionExpression":return Qr(e,n,o,u);case"YieldExpression":return E.push("yield"),p.delegate&&E.push("*"),p.argument&&E.push(" ",o("argument")),E;case"AwaitExpression":{if(E.push("await"),p.argument){E.push(" ",o("argument"));let k=e.getParentNode();if(I(k)&&k.callee===p||U(k)&&k.object===p){E=[A([v,...E]),v];let j=e.findAncestor($=>$.type==="AwaitExpression"||$.type==="BlockStatement");if(!j||j.type!=="AwaitExpression")return C(E)}}return E}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Zt(e,n,o);case"ExportAllDeclaration":return He(e,n,o);case"ImportDeclaration":return xt(e,n,o);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return lt(e,n,o);case"ImportAttribute":return[o("key"),": ",o("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Lr(e,n,o);case"ThrowStatement":return tr(e,n,o);case"ReturnStatement":return Hi(e,n,o);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Kt(e,n,o);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ht(e,n,o);case"ObjectProperty":case"Property":return p.method||p.kind==="get"||p.kind==="set"?ei(e,n,o):or(e,n,o);case"ObjectMethod":return ei(e,n,o);case"Decorator":return["@",o("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return wn(e,n,o);case"SequenceExpression":{let k=e.getParentNode(0);if(k.type==="ExpressionStatement"||k.type==="ForStatement"){let j=[];return e.each(($,ke)=>{ke===0?j.push(o()):j.push(",",A([d,o()]))},"expressions"),C(j)}return C(m([",",d],e.map(o,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[o("value"),D];case"DirectiveLiteral":return sn(p,n);case"UnaryExpression":return E.push(p.operator),/[a-z]$/.test(p.operator)&&E.push(" "),H(p.argument)?E.push(C(["(",A([v,o("argument")]),v,")"])):E.push(o("argument")),E;case"UpdateExpression":return E.push(o("argument"),p.operator),p.prefix&&E.reverse(),E;case"ConditionalExpression":return qt(e,n,o);case"VariableDeclaration":{let k=e.map(o,"declarations"),j=e.getParentNode(),$=j.type==="ForStatement"||j.type==="ForInStatement"||j.type==="ForOfStatement",ke=p.declarations.some(be=>be.init),qe;return k.length===1&&!H(p.declarations[0])?qe=k[0]:k.length>0&&(qe=A(k[0])),E=[p.declare?"declare ":"",p.kind,qe?[" ",qe]:"",A(k.slice(1).map(be=>[",",ke&&!$?y:d,be]))],$&&j.body!==p||E.push(D),C(E)}case"WithStatement":return C(["with (",o("object"),")",Pe(p.body,o("body"))]);case"IfStatement":{let k=Pe(p.consequent,o("consequent")),j=C(["if (",C([A([v,o("test")]),v]),")",k]);if(E.push(j),p.alternate){let $=H(p.consequent,G.Trailing|G.Line)||ze(p),ke=p.consequent.type==="BlockStatement"&&!$;E.push(ke?" ":y),H(p,G.Dangling)&&E.push(l(e,n,!0),$?y:" "),E.push("else",C(Pe(p.alternate,o("alternate"),p.alternate.type==="IfStatement")))}return E}case"ForStatement":{let k=Pe(p.body,o("body")),j=l(e,n,!0),$=j?[j,v]:"";return!p.init&&!p.test&&!p.update?[$,C(["for (;;)",k])]:[$,C(["for (",C([A([v,o("init"),";",d,o("test"),";",d,o("update")]),v]),")",k])]}case"WhileStatement":return C(["while (",C([A([v,o("test")]),v]),")",Pe(p.body,o("body"))]);case"ForInStatement":return C(["for (",o("left")," in ",o("right"),")",Pe(p.body,o("body"))]);case"ForOfStatement":return C(["for",p.await?" await":""," (",o("left")," of ",o("right"),")",Pe(p.body,o("body"))]);case"DoWhileStatement":{let k=Pe(p.body,o("body"));return E=[C(["do",k])],p.body.type==="BlockStatement"?E.push(" "):E.push(y),E.push("while (",C([A([v,o("test")]),v]),")",D),E}case"DoExpression":return[p.async?"async ":"","do ",o("body")];case"BreakStatement":return E.push("break"),p.label&&E.push(" ",o("label")),E.push(D),E;case"ContinueStatement":return E.push("continue"),p.label&&E.push(" ",o("label")),E.push(D),E;case"LabeledStatement":return p.body.type==="EmptyStatement"?[o("label"),":;"]:[o("label"),": ",o("body")];case"TryStatement":return["try ",o("block"),p.handler?[" ",o("handler")]:"",p.finalizer?[" finally ",o("finalizer")]:""];case"CatchClause":if(p.param){let k=H(p.param,$=>!se($)||$.leading&&f(n.originalText,z($))||$.trailing&&f(n.originalText,M($),{backwards:!0})),j=o("param");return["catch ",k?["(",A([v,j]),v,") "]:["(",j,") "],o("body")]}return["catch ",o("body")];case"SwitchStatement":return[C(["switch (",A([v,o("discriminant")]),v,")"])," {",p.cases.length>0?A([y,m(y,e.map((k,j,$)=>{let ke=k.getValue();return[o(),j!==$.length-1&&he(ke,n)?y:""]},"cases"))]):"",y,"}"];case"SwitchCase":{p.test?E.push("case ",o("test"),":"):E.push("default:"),H(p,G.Dangling)&&E.push(" ",l(e,n,!0));let k=p.consequent.filter(j=>j.type!=="EmptyStatement");if(k.length>0){let j=Er(e,n,o);E.push(k.length===1&&k[0].type==="BlockStatement"?[" ",j]:A([y,j]))}return E}case"DebuggerStatement":return["debugger",D];case"ClassDeclaration":case"ClassExpression":return Ye(e,n,o);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Dt(e,n,o);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Mt(e,n,o);case"TemplateElement":return B(p.value.raw);case"TemplateLiteral":return Yt(e,o,n);case"TaggedTemplateExpression":return[o("tag"),o("typeParameters"),o("quasi")];case"PrivateIdentifier":return["#",o("name")];case"PrivateName":return["#",o("id")];case"InterpreterDirective":return E.push("#!",p.value,y),he(p,n)&&E.push(y),E;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{E.push("module {");let k=o("body");return k&&E.push(A([y,k]),y),E.push("}"),E}default:throw new Error("unknown type: "+JSON.stringify(p.type))}}function sn(e,n){let o=O(e),u=o.slice(1,-1);if(u.includes('"')||u.includes("'"))return o;let p=n.singleQuote?"'":'"';return p+u+p}function Ii(e){return e.type&&!se(e)&&!me(e)&&e.type!=="EmptyStatement"&&e.type!=="TemplateElement"&&e.type!=="Import"&&e.type!=="TSEmptyBodyFunctionExpression"}a.exports={preprocess:J,print:ot,embed:N,insertPragma:P,massageAstNode:L,hasPrettierIgnore(e){return Q(e)||$e(e)},willPrintOwnComments:_.willPrintOwnComments,canAttachComment:Ii,printComment:Nn,isBlockComment:se,handleComments:{avoidAstMutation:!0,ownLine:_.handleOwnLineComment,endOfLine:_.handleEndOfLineComment,remaining:_.handleRemainingComment},getCommentChildNodes:_.getCommentChildNodes}}}),Tl=Be({"src/language-js/printer-estree-json.js"(r,a){at();var{builders:{hardline:l,indent:f,join:m}}=xi(),d=yu();function y(A,B,N){let L=A.getValue();switch(L.type){case"JsonRoot":return[N("node"),l];case"ArrayExpression":{if(L.elements.length===0)return"[]";let P=A.map(()=>A.getValue()===null?"null":N(),"elements");return["[",f([l,m([",",l],P)]),l,"]"]}case"ObjectExpression":return L.properties.length===0?"{}":["{",f([l,m([",",l],A.map(N,"properties"))]),l,"}"];case"ObjectProperty":return[N("key"),": ",N("value")];case"UnaryExpression":return[L.operator==="+"?"":L.operator,N("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return L.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(L.value);case"Identifier":{let P=A.getParentNode();return P&&P.type==="ObjectProperty"&&P.key===L?JSON.stringify(L.name):L.name}case"TemplateLiteral":return N(["quasis",0]);case"TemplateElement":return JSON.stringify(L.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(L.type))}}var v=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function C(A,B){let{type:N}=A;if(N==="ObjectProperty"&&A.key.type==="Identifier"){B.key={type:"StringLiteral",value:A.key.name};return}if(N==="UnaryExpression"&&A.operator==="+")return B.argument;if(N==="ArrayExpression"){for(let[L,P]of A.elements.entries())P===null&&B.elements.splice(L,0,{type:"NullLiteral"});return}if(N==="TemplateLiteral")return{type:"StringLiteral",value:A.quasis[0].value.cooked}}C.ignoredProperties=v,a.exports={preprocess:d,print:y,massageAstNode:C}}}),Jo=Be({"src/common/common-options.js"(r,a){at();var l="Common";a.exports={bracketSpacing:{since:"0.0.0",category:l,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:l,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:l,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:l,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:l,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Eu=Be({"src/language-js/options.js"(r,a){at();var l=Jo(),f="JavaScript";a.exports={arrowParens:{since:"1.9.0",category:f,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:l.bracketSameLine,bracketSpacing:l.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:f,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:f,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:l.singleQuote,jsxSingleQuote:{since:"1.15.0",category:f,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:f,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:f,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:l.singleAttributePerLine}}}),al=Be({"src/language-js/parse/parsers.js"(){at()}}),zu=Be({"node_modules/linguist-languages/data/JavaScript.json"(r,a){a.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}}}),Sl=Be({"node_modules/linguist-languages/data/TypeScript.json"(r,a){a.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}}}),ol=Be({"node_modules/linguist-languages/data/TSX.json"(r,a){a.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),ul=Be({"node_modules/linguist-languages/data/JSON.json"(r,a){a.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}}}),ll=Be({"node_modules/linguist-languages/data/JSON with Comments.json"(r,a){a.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}}}),Gl=Be({"node_modules/linguist-languages/data/JSON5.json"(r,a){a.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Uu=Be({"src/language-js/index.js"(r,a){at();var l=Ka(),f=Vl(),m=Tl(),d=Eu(),y=al(),v=[l(zu(),A=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...A.interpreters,"zx"],extensions:[...A.extensions.filter(B=>B!==".jsx"),".wxs"]})),l(zu(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),l(zu(),()=>({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})),l(Sl(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),l(ol(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),l(ul(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),l(ul(),A=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:A.extensions.filter(B=>B!==".jsonl")})),l(ll(),A=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...A.filenames,".eslintrc",".swcrc"]})),l(Gl(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],C={estree:f,"estree-json":m};a.exports={languages:v,options:d,printers:C,parsers:y}}}),Hu=Be({"src/language-css/clean.js"(r,a){at();var{isFrontMatterNode:l}=Pi(),f=is(),m=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function d(v,C,A){if(l(v)&&v.lang==="yaml"&&delete C.value,v.type==="css-comment"&&A.type==="css-root"&&A.nodes.length>0&&((A.nodes[0]===v||l(A.nodes[0])&&A.nodes[1]===v)&&(delete C.text,/^\*\s*@(?:format|prettier)\s*$/.test(v.text))||A.type==="css-root"&&f(A.nodes)===v))return null;if(v.type==="value-root"&&delete C.text,(v.type==="media-query"||v.type==="media-query-list"||v.type==="media-feature-expression")&&delete C.value,v.type==="css-rule"&&delete C.params,v.type==="selector-combinator"&&(C.value=C.value.replace(/\s+/g," ")),v.type==="media-feature"&&(C.value=C.value.replace(/ /g,"")),(v.type==="value-word"&&(v.isColor&&v.isHex||["initial","inherit","unset","revert"].includes(C.value.replace().toLowerCase()))||v.type==="media-feature"||v.type==="selector-root-invalid"||v.type==="selector-pseudo")&&(C.value=C.value.toLowerCase()),v.type==="css-decl"&&(C.prop=C.prop.toLowerCase()),(v.type==="css-atrule"||v.type==="css-import")&&(C.name=C.name.toLowerCase()),v.type==="value-number"&&(C.unit=C.unit.toLowerCase()),(v.type==="media-feature"||v.type==="media-keyword"||v.type==="media-type"||v.type==="media-unknown"||v.type==="media-url"||v.type==="media-value"||v.type==="selector-attribute"||v.type==="selector-string"||v.type==="selector-class"||v.type==="selector-combinator"||v.type==="value-string")&&C.value&&(C.value=y(C.value)),v.type==="selector-attribute"&&(C.attribute=C.attribute.trim(),C.namespace&&typeof C.namespace=="string"&&(C.namespace=C.namespace.trim(),C.namespace.length===0&&(C.namespace=!0)),C.value&&(C.value=C.value.trim().replace(/^["']|["']$/g,""),delete C.quoted)),(v.type==="media-value"||v.type==="media-type"||v.type==="value-number"||v.type==="selector-root-invalid"||v.type==="selector-class"||v.type==="selector-combinator"||v.type==="selector-tag")&&C.value&&(C.value=C.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(B,N,L)=>{let P=Number(N);return Number.isNaN(P)?B:P+L.toLowerCase()})),v.type==="selector-tag"){let B=v.value.toLowerCase();["from","to"].includes(B)&&(C.value=B)}if(v.type==="css-atrule"&&v.name.toLowerCase()==="supports"&&delete C.value,v.type==="selector-unknown"&&delete C.value,v.type==="value-comma_group"){let B=v.groups.findIndex(N=>N.type==="value-number"&&N.unit==="...");B!==-1&&(C.groups[B].unit="",C.groups.splice(B+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}d.ignoredProperties=m;function y(v){return v.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}a.exports=d}}),Xo=Be({"src/utils/front-matter/print.js"(r,a){at();var{builders:{hardline:l,markAsRoot:f}}=xi();function m(d,y){if(d.lang==="yaml"){let v=d.value.trim(),C=v?y(v,{parser:"yaml"},{stripTrailingHardline:!0}):"";return f([d.startDelimiter,l,C,C?l:"",d.endDelimiter])}}a.exports=m}}),ha=Be({"src/language-css/embed.js"(r,a){at();var{builders:{hardline:l}}=xi(),f=Xo();function m(d,y,v){let C=d.getValue();if(C.type==="front-matter"){let A=f(C,v);return A?[A,l]:""}}a.exports=m}}),Fl=Be({"src/utils/front-matter/parse.js"(r,a){at();var l=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function f(m){let d=m.match(l);if(!d)return{content:m};let{startDelimiter:y,language:v,value:C="",endDelimiter:A}=d.groups,B=v.trim()||"yaml";if(y==="+++"&&(B="toml"),B!=="yaml"&&y!==A)return{content:m};let[N]=d;return{frontMatter:{type:"front-matter",lang:B,value:C,startDelimiter:y,endDelimiter:A,raw:N.replace(/\n$/,"")},content:N.replace(/[^\n]/g," ")+m.slice(N.length)}}a.exports=f}}),sc=Be({"src/language-css/pragma.js"(r,a){at();var l=Ko(),f=Fl();function m(y){return l.hasPragma(f(y).content)}function d(y){let{frontMatter:v,content:C}=f(y);return(v?v.raw+`
92
-
93
- `:"")+l.insertPragma(C)}a.exports={hasPragma:m,insertPragma:d}}}),kl=Be({"src/language-css/utils/index.js"(r,a){at();var l=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 f(ht,Ye){let Dt=Array.isArray(Ye)?Ye:[Ye],Mt=-1,or;for(;or=ht.getParentNode(++Mt);)if(Dt.includes(or.type))return Mt;return-1}function m(ht,Ye){let Dt=f(ht,Ye);return Dt===-1?null:ht.getParentNode(Dt)}function d(ht){var Ye;let Dt=m(ht,"css-decl");return Dt==null||(Ye=Dt.prop)===null||Ye===void 0?void 0:Ye.toLowerCase()}var y=new Set(["initial","inherit","unset","revert"]);function v(ht){return y.has(ht.toLowerCase())}function C(ht,Ye){let Dt=m(ht,"css-atrule");return(Dt==null?void 0:Dt.name)&&Dt.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Ye.toLowerCase())}function A(ht){return ht.includes("$")||ht.includes("@")||ht.includes("#")||ht.startsWith("%")||ht.startsWith("--")||ht.startsWith(":--")||ht.includes("(")&&ht.includes(")")?ht:ht.toLowerCase()}function B(ht,Ye){var Dt;let Mt=m(ht,"value-func");return(Mt==null||(Dt=Mt.value)===null||Dt===void 0?void 0:Dt.toLowerCase())===Ye}function N(ht){var Ye;let Dt=m(ht,"css-rule"),Mt=Dt==null||(Ye=Dt.raws)===null||Ye===void 0?void 0:Ye.selector;return Mt&&(Mt.startsWith(":import")||Mt.startsWith(":export"))}function L(ht,Ye){let Dt=Array.isArray(Ye)?Ye:[Ye],Mt=m(ht,"css-atrule");return Mt&&Dt.includes(Mt.name.toLowerCase())}function P(ht){let Ye=ht.getValue(),Dt=m(ht,"css-atrule");return(Dt==null?void 0:Dt.name)==="import"&&Ye.groups[0].value==="url"&&Ye.groups.length===2}function _(ht){return ht.type==="value-func"&&ht.value.toLowerCase()==="url"}function R(ht,Ye){var Dt;let Mt=(Dt=ht.getParentNode())===null||Dt===void 0?void 0:Dt.nodes;return Mt&&Mt.indexOf(Ye)===Mt.length-1}function J(ht){let{selector:Ye}=ht;return Ye?typeof Ye=="string"&&/^@.+:.*$/.test(Ye)||Ye.value&&/^@.+:.*$/.test(Ye.value):!1}function oe(ht){return ht.type==="value-word"&&["from","through","end"].includes(ht.value)}function H(ht){return ht.type==="value-word"&&["and","or","not"].includes(ht.value)}function G(ht){return ht.type==="value-word"&&ht.value==="in"}function ne(ht){return ht.type==="value-operator"&&ht.value==="*"}function me(ht){return ht.type==="value-operator"&&ht.value==="/"}function he(ht){return ht.type==="value-operator"&&ht.value==="+"}function ze(ht){return ht.type==="value-operator"&&ht.value==="-"}function O(ht){return ht.type==="value-operator"&&ht.value==="%"}function Q(ht){return ne(ht)||me(ht)||he(ht)||ze(ht)||O(ht)}function I(ht){return ht.type==="value-word"&&["==","!="].includes(ht.value)}function U(ht){return ht.type==="value-word"&&["<",">","<=",">="].includes(ht.value)}function T(ht){return ht.type==="css-atrule"&&["if","else","for","each","while"].includes(ht.name)}function M(ht){var Ye;return((Ye=ht.raws)===null||Ye===void 0?void 0:Ye.params)&&/^\(\s*\)$/.test(ht.raws.params)}function z(ht){return ht.name.startsWith("prettier-placeholder")}function se(ht){return ht.prop.startsWith("@prettier-placeholder")}function K(ht,Ye){return ht.value==="$$"&&ht.type==="value-func"&&(Ye==null?void 0:Ye.type)==="value-word"&&!Ye.raws.before}function ee(ht){var Ye,Dt;return((Ye=ht.value)===null||Ye===void 0?void 0:Ye.type)==="value-root"&&((Dt=ht.value.group)===null||Dt===void 0?void 0:Dt.type)==="value-value"&&ht.prop.toLowerCase()==="composes"}function we(ht){var Ye,Dt,Mt;return((Ye=ht.value)===null||Ye===void 0||(Dt=Ye.group)===null||Dt===void 0||(Mt=Dt.group)===null||Mt===void 0?void 0:Mt.type)==="value-paren_group"&&ht.value.group.group.open!==null&&ht.value.group.group.close!==null}function je(ht){var Ye;return((Ye=ht.raws)===null||Ye===void 0?void 0:Ye.before)===""}function $e(ht){var Ye,Dt;return ht.type==="value-comma_group"&&((Ye=ht.groups)===null||Ye===void 0||(Dt=Ye[1])===null||Dt===void 0?void 0:Dt.type)==="value-colon"}function Le(ht){var Ye;return ht.type==="value-paren_group"&&((Ye=ht.groups)===null||Ye===void 0?void 0:Ye[0])&&$e(ht.groups[0])}function rt(ht){var Ye;let Dt=ht.getValue();if(Dt.groups.length===0)return!1;let Mt=ht.getParentNode(1);if(!Le(Dt)&&!(Mt&&Le(Mt)))return!1;let or=m(ht,"css-decl");return!!(or!=null&&(Ye=or.prop)!==null&&Ye!==void 0&&Ye.startsWith("$")||Le(Mt)||Mt.type==="value-func")}function Se(ht){return ht.type==="value-comment"&&ht.inline}function yt(ht){return ht.type==="value-word"&&ht.value==="#"}function Ue(ht){return ht.type==="value-word"&&ht.value==="{"}function Pe(ht){return ht.type==="value-word"&&ht.value==="}"}function mt(ht){return["value-word","value-atword"].includes(ht.type)}function Ht(ht){return(ht==null?void 0:ht.type)==="value-colon"}function xt(ht,Ye){if(!$e(Ye))return!1;let{groups:Dt}=Ye,Mt=Dt.indexOf(ht);return Mt===-1?!1:Ht(Dt[Mt+1])}function Zt(ht){return ht.value&&["not","and","or"].includes(ht.value.toLowerCase())}function He(ht){return ht.type!=="value-func"?!1:l.has(ht.value.toLowerCase())}function lt(ht){return/\/\//.test(ht.split(/[\n\r]/).pop())}function qt(ht){return(ht==null?void 0:ht.type)==="value-atword"&&ht.value.startsWith("prettier-placeholder-")}function Yt(ht,Ye){var Dt,Mt;if(((Dt=ht.open)===null||Dt===void 0?void 0:Dt.value)!=="("||((Mt=ht.close)===null||Mt===void 0?void 0:Mt.value)!==")"||ht.groups.some(or=>or.type!=="value-comma_group"))return!1;if(Ye.type==="value-comma_group"){let or=Ye.groups.indexOf(ht)-1,Rr=Ye.groups[or];if((Rr==null?void 0:Rr.type)==="value-word"&&Rr.value==="with")return!0}return!1}function wn(ht){var Ye,Dt;return ht.type==="value-paren_group"&&((Ye=ht.open)===null||Ye===void 0?void 0:Ye.value)==="("&&((Dt=ht.close)===null||Dt===void 0?void 0:Dt.value)===")"}a.exports={getAncestorCounter:f,getAncestorNode:m,getPropOfDeclNode:d,maybeToLowerCase:A,insideValueFunctionNode:B,insideICSSRuleNode:N,insideAtRuleNode:L,insideURLFunctionInImportAtRuleNode:P,isKeyframeAtRuleKeywords:C,isWideKeywords:v,isLastNode:R,isSCSSControlDirectiveNode:T,isDetachedRulesetDeclarationNode:J,isRelationalOperatorNode:U,isEqualityOperatorNode:I,isMultiplicationNode:ne,isDivisionNode:me,isAdditionNode:he,isSubtractionNode:ze,isModuloNode:O,isMathOperatorNode:Q,isEachKeywordNode:G,isForKeywordNode:oe,isURLFunctionNode:_,isIfElseKeywordNode:H,hasComposesNode:ee,hasParensAroundNode:we,hasEmptyRawBefore:je,isDetachedRulesetCallNode:M,isTemplatePlaceholderNode:z,isTemplatePropNode:se,isPostcssSimpleVarNode:K,isKeyValuePairNode:$e,isKeyValuePairInParenGroupNode:Le,isKeyInValuePairNode:xt,isSCSSMapItemNode:rt,isInlineValueCommentNode:Se,isHashNode:yt,isLeftCurlyBraceNode:Ue,isRightCurlyBraceNode:Pe,isWordNode:mt,isColonNode:Ht,isMediaAndSupportsKeywords:Zt,isColorAdjusterFuncNode:He,lastLineHasInlineComment:lt,isAtWordPlaceholderNode:qt,isConfigurationNode:Yt,isParenGroupNode:wn}}}),Ra=Be({"src/utils/line-column-to-index.js"(r,a){at(),a.exports=function(l,f){let m=0;for(let d=0;d<l.line-1;++d)m=f.indexOf(`
94
- `,m)+1;return m+l.column}}}),Es=Be({"src/language-css/loc.js"(r,a){at();var{skipEverythingButNewLine:l}=hu(),f=is(),m=Ra();function d(P,_){return typeof P.sourceIndex=="number"?P.sourceIndex:P.source?m(P.source.start,_)-1:null}function y(P,_){if(P.type==="css-comment"&&P.inline)return l(_,P.source.startOffset);let R=P.nodes&&f(P.nodes);return R&&P.source&&!P.source.end&&(P=R),P.source&&P.source.end?m(P.source.end,_):null}function v(P,_){P.source&&(P.source.startOffset=d(P,_),P.source.endOffset=y(P,_));for(let R in P){let J=P[R];R==="source"||!J||typeof J!="object"||(J.type==="value-root"||J.type==="value-unknown"?C(J,A(P),J.text||J.value):v(J,_))}}function C(P,_,R){P.source&&(P.source.startOffset=d(P,R)+_,P.source.endOffset=y(P,R)+_);for(let J in P){let oe=P[J];J==="source"||!oe||typeof oe!="object"||C(oe,_,R)}}function A(P){let _=P.source.startOffset;return typeof P.prop=="string"&&(_+=P.prop.length),P.type==="css-atrule"&&typeof P.name=="string"&&(_+=1+P.name.length+P.raws.afterName.match(/^\s*:?\s*/)[0].length),P.type!=="css-atrule"&&P.raws&&typeof P.raws.between=="string"&&(_+=P.raws.between.length),_}function B(P){let _="initial",R="initial",J,oe=!1,H=[];for(let G=0;G<P.length;G++){let ne=P[G];switch(_){case"initial":if(ne==="'"){_="single-quotes";continue}if(ne==='"'){_="double-quotes";continue}if((ne==="u"||ne==="U")&&P.slice(G,G+4).toLowerCase()==="url("){_="url",G+=3;continue}if(ne==="*"&&P[G-1]==="/"){_="comment-block";continue}if(ne==="/"&&P[G-1]==="/"){_="comment-inline",J=G-1;continue}continue;case"single-quotes":if(ne==="'"&&P[G-1]!=="\\"&&(_=R,R="initial"),ne===`
95
- `||ne==="\r")return P;continue;case"double-quotes":if(ne==='"'&&P[G-1]!=="\\"&&(_=R,R="initial"),ne===`
96
- `||ne==="\r")return P;continue;case"url":if(ne===")"&&(_="initial"),ne===`
97
- `||ne==="\r")return P;if(ne==="'"){_="single-quotes",R="url";continue}if(ne==='"'){_="double-quotes",R="url";continue}continue;case"comment-block":ne==="/"&&P[G-1]==="*"&&(_="initial");continue;case"comment-inline":(ne==='"'||ne==="'"||ne==="*")&&(oe=!0),(ne===`
98
- `||ne==="\r")&&(oe&&H.push([J,G]),_="initial",oe=!1);continue}}for(let[G,ne]of H)P=P.slice(0,G)+P.slice(G,ne).replace(/["'*]/g," ")+P.slice(ne);return P}function N(P){return P.source.startOffset}function L(P){return P.source.endOffset}a.exports={locStart:N,locEnd:L,calculateLoc:v,replaceQuotesInInlineComments:B}}}),$a=Be({"src/language-css/utils/is-less-parser.js"(r,a){at();function l(f){return f.parser==="css"||f.parser==="less"}a.exports=l}}),ho=Be({"src/language-css/utils/is-scss.js"(r,a){at();function l(f,m){return f==="less"||f==="scss"?f==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(m)}a.exports=l}}),ba=Be({"src/language-css/utils/css-units.evaluate.js"(r,a){a.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"}}}),cl=Be({"src/language-css/utils/print-unit.js"(r,a){at();var l=ba();function f(m){let d=m.toLowerCase();return Object.prototype.hasOwnProperty.call(l,d)?l[d]:m}a.exports=f}}),pl=Be({"src/language-css/printer-postcss.js"(r,a){at();var l=is(),{printNumber:f,printString:m,hasNewline:d,isFrontMatterNode:y,isNextLineEmpty:v,isNonEmptyArray:C}=Pi(),{builders:{join:A,line:B,hardline:N,softline:L,group:P,fill:_,indent:R,dedent:J,ifBreak:oe,breakParent:H},utils:{removeLines:G,getDocParts:ne}}=xi(),me=Hu(),he=ha(),{insertPragma:ze}=sc(),{getAncestorNode:O,getPropOfDeclNode:Q,maybeToLowerCase:I,insideValueFunctionNode:U,insideICSSRuleNode:T,insideAtRuleNode:M,insideURLFunctionInImportAtRuleNode:z,isKeyframeAtRuleKeywords:se,isWideKeywords:K,isLastNode:ee,isSCSSControlDirectiveNode:we,isDetachedRulesetDeclarationNode:je,isRelationalOperatorNode:$e,isEqualityOperatorNode:Le,isMultiplicationNode:rt,isDivisionNode:Se,isAdditionNode:yt,isSubtractionNode:Ue,isMathOperatorNode:Pe,isEachKeywordNode:mt,isForKeywordNode:Ht,isURLFunctionNode:xt,isIfElseKeywordNode:Zt,hasComposesNode:He,hasParensAroundNode:lt,hasEmptyRawBefore:qt,isKeyValuePairNode:Yt,isKeyInValuePairNode:wn,isDetachedRulesetCallNode:ht,isTemplatePlaceholderNode:Ye,isTemplatePropNode:Dt,isPostcssSimpleVarNode:Mt,isSCSSMapItemNode:or,isInlineValueCommentNode:Rr,isHashNode:Qr,isLeftCurlyBraceNode:ei,isRightCurlyBraceNode:Hi,isWordNode:tr,isColonNode:Kt,isMediaAndSupportsKeywords:Vr,isColorAdjusterFuncNode:rr,lastLineHasInlineComment:Je,isAtWordPlaceholderNode:Er,isConfigurationNode:cr,isParenGroupNode:Lr}=kl(),{locStart:Jn,locEnd:Nn}=Es(),_r=$a(),q=ho(),ot=cl();function Jt($){return $.trailingComma==="es5"||$.trailingComma==="all"}function sn($,ke,qe){let be=$.getValue();if(!be)return"";if(typeof be=="string")return be;switch(be.type){case"front-matter":return[be.raw,N];case"css-root":{let dr=Ii($,ke,qe),Ur=be.raws.after.trim();return[dr,Ur?` ${Ur}`:"",ne(dr).length>0?N:""]}case"css-comment":{let dr=be.inline||be.raws.inline,Ur=ke.originalText.slice(Jn(be),Nn(be));return dr?Ur.trimEnd():Ur}case"css-rule":return[qe("selector"),be.important?" !important":"",be.nodes?[be.selector&&be.selector.type==="selector-unknown"&&Je(be.selector.value)?B:" ","{",be.nodes.length>0?R([N,Ii($,ke,qe)]):"",N,"}",je(be)?";":""]:";"];case"css-decl":{let dr=$.getParentNode(),{between:Ur}=be.raws,fn=Ur.trim(),Kn=fn===":",Bn=He(be)?G(qe("value")):qe("value");return!Kn&&Je(fn)&&(Bn=R([N,J(Bn)])),[be.raws.before.replace(/[\s;]/g,""),T($)?be.prop:I(be.prop),fn.startsWith("//")?" ":"",fn,be.extend?"":" ",_r(ke)&&be.extend&&be.selector?["extend(",qe("selector"),")"]:"",Bn,be.raws.important?be.raws.important.replace(/\s*!\s*important/i," !important"):be.important?" !important":"",be.raws.scssDefault?be.raws.scssDefault.replace(/\s*!default/i," !default"):be.scssDefault?" !default":"",be.raws.scssGlobal?be.raws.scssGlobal.replace(/\s*!global/i," !global"):be.scssGlobal?" !global":"",be.nodes?[" {",R([L,Ii($,ke,qe)]),L,"}"]:Dt(be)&&!dr.raws.semicolon&&ke.originalText[Nn(be)-1]!==";"?"":ke.__isHTMLStyleAttribute&&ee($,be)?oe(";"):";"]}case"css-atrule":{let dr=$.getParentNode(),Ur=Ye(be)&&!dr.raws.semicolon&&ke.originalText[Nn(be)-1]!==";";if(_r(ke)){if(be.mixin)return[qe("selector"),be.important?" !important":"",Ur?"":";"];if(be.function)return[be.name,qe("params"),Ur?"":";"];if(be.variable)return["@",be.name,": ",be.value?qe("value"):"",be.raws.between.trim()?be.raws.between.trim()+" ":"",be.nodes?["{",R([be.nodes.length>0?L:"",Ii($,ke,qe)]),L,"}"]:"",Ur?"":";"]}return["@",ht(be)||be.name.endsWith(":")?be.name:I(be.name),be.params?[ht(be)?"":Ye(be)?be.raws.afterName===""?"":be.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(be.raws.afterName)?[N,N]:/^\s*\n/.test(be.raws.afterName)?N:" ":" ",qe("params")]:"",be.selector?R([" ",qe("selector")]):"",be.value?P([" ",qe("value"),we(be)?lt(be)?" ":B:""]):be.name==="else"?" ":"",be.nodes?[we(be)?"":be.selector&&!be.selector.nodes&&typeof be.selector.value=="string"&&Je(be.selector.value)||!be.selector&&typeof be.params=="string"&&Je(be.params)?B:" ","{",R([be.nodes.length>0?L:"",Ii($,ke,qe)]),L,"}"]:Ur?"":";"]}case"media-query-list":{let dr=[];return $.each(Ur=>{let fn=Ur.getValue();fn.type==="media-query"&&fn.value===""||dr.push(qe())},"nodes"),P(R(A(B,dr)))}case"media-query":return[A(" ",$.map(qe,"nodes")),ee($,be)?"":","];case"media-type":return k(D(be.value,ke));case"media-feature-expression":return be.nodes?["(",...$.map(qe,"nodes"),")"]:be.value;case"media-feature":return I(D(be.value.replace(/ +/g," "),ke));case"media-colon":return[be.value," "];case"media-value":return k(D(be.value,ke));case"media-keyword":return D(be.value,ke);case"media-url":return D(be.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),ke);case"media-unknown":return be.value;case"selector-root":return P([M($,"custom-selector")?[O($,"css-atrule").customSelector,B]:"",A([",",M($,["extend","custom-selector","nest"])?B:N],$.map(qe,"nodes"))]);case"selector-selector":return P(R($.map(qe,"nodes")));case"selector-comment":return be.value;case"selector-string":return D(be.value,ke);case"selector-tag":{let dr=$.getParentNode(),Ur=dr&&dr.nodes.indexOf(be),fn=Ur&&dr.nodes[Ur-1];return[be.namespace?[be.namespace===!0?"":be.namespace.trim(),"|"]:"",fn.type==="selector-nesting"?be.value:k(se($,be.value)?be.value.toLowerCase():be.value)]}case"selector-id":return["#",be.value];case"selector-class":return[".",k(D(be.value,ke))];case"selector-attribute":{var Pt;return["[",be.namespace?[be.namespace===!0?"":be.namespace.trim(),"|"]:"",be.attribute.trim(),(Pt=be.operator)!==null&&Pt!==void 0?Pt:"",be.value?E(D(be.value.trim(),ke),ke):"",be.insensitive?" i":"","]"]}case"selector-combinator":{if(be.value==="+"||be.value===">"||be.value==="~"||be.value===">>>"){let fn=$.getParentNode();return[fn.type==="selector-selector"&&fn.nodes[0]===be?"":B,be.value,ee($,be)?"":" "]}let dr=be.value.trim().startsWith("(")?B:"",Ur=k(D(be.value.trim(),ke))||B;return[dr,Ur]}case"selector-universal":return[be.namespace?[be.namespace===!0?"":be.namespace.trim(),"|"]:"",be.value];case"selector-pseudo":return[I(be.value),C(be.nodes)?P(["(",R([L,A([",",B],$.map(qe,"nodes"))]),L,")"]):""];case"selector-nesting":return be.value;case"selector-unknown":{let dr=O($,"css-rule");if(dr&&dr.isSCSSNesterProperty)return k(D(I(be.value),ke));let Ur=$.getParentNode();if(Ur.raws&&Ur.raws.selector){let Kn=Jn(Ur),Bn=Kn+Ur.raws.selector.length;return ke.originalText.slice(Kn,Bn).trim()}let fn=$.getParentNode(1);if(Ur.type==="value-paren_group"&&fn&&fn.type==="value-func"&&fn.value==="selector"){let Kn=Nn(Ur.open)+1,Bn=Jn(Ur.close),le=ke.originalText.slice(Kn,Bn).trim();return Je(le)?[H,le]:le}return be.value}case"value-value":case"value-root":return qe("group");case"value-comment":return ke.originalText.slice(Jn(be),Nn(be));case"value-comma_group":{let dr=$.getParentNode(),Ur=$.getParentNode(1),fn=Q($),Kn=fn&&dr.type==="value-value"&&(fn==="grid"||fn.startsWith("grid-template")),Bn=O($,"css-atrule"),le=Bn&&we(Bn),St=be.groups.some(Vs=>Rr(Vs)),Xr=$.map(qe,"groups"),In=[],Oi=U($,"url"),As=!1,Mi=!1;for(let Vs=0;Vs<be.groups.length;++Vs){var Dr;In.push(Xr[Vs]);let Bs=be.groups[Vs-1],fi=be.groups[Vs],Fi=be.groups[Vs+1],fa=be.groups[Vs+2];if(Oi){(Fi&&yt(Fi)||yt(fi))&&In.push(" ");continue}if(M($,"forward")&&fi.type==="value-word"&&fi.value&&Bs!==void 0&&Bs.type==="value-word"&&Bs.value==="as"&&Fi.type==="value-operator"&&Fi.value==="*"||!Fi||fi.type==="value-word"&&fi.value.endsWith("-")&&Er(Fi))continue;let Da=fi.type==="value-string"&&fi.value.startsWith("#{"),da=As&&Fi.type==="value-string"&&Fi.value.endsWith("}");if(Da||da){As=!As;continue}if(As||Kt(fi)||Kt(Fi)||fi.type==="value-atword"&&fi.value===""||fi.value==="~"||fi.value&&fi.value.includes("\\")&&Fi&&Fi.type!=="value-comment"||Bs&&Bs.value&&Bs.value.indexOf("\\")===Bs.value.length-1&&fi.type==="value-operator"&&fi.value==="/"||fi.value==="\\"||Mt(fi,Fi)||Qr(fi)||ei(fi)||Hi(Fi)||ei(Fi)&&qt(Fi)||Hi(fi)&&qt(Fi)||fi.value==="--"&&Qr(Fi))continue;let Zs=Pe(fi),to=Pe(Fi);if((Zs&&Qr(Fi)||to&&Hi(fi))&&qt(Fi)||!Bs&&Se(fi)||U($,"calc")&&(yt(fi)||yt(Fi)||Ue(fi)||Ue(Fi))&&qt(Fi))continue;let Kl=(yt(fi)||Ue(fi))&&Vs===0&&(Fi.type==="value-number"||Fi.isHex)&&Ur&&rr(Ur)&&!qt(Fi),Wu=fa&&fa.type==="value-func"||fa&&tr(fa)||fi.type==="value-func"||tr(fi),Pa=Fi.type==="value-func"||tr(Fi)||Bs&&Bs.type==="value-func"||Bs&&tr(Bs);if(!(!(rt(Fi)||rt(fi))&&!U($,"calc")&&!Kl&&(Se(Fi)&&!Wu||Se(fi)&&!Pa||yt(Fi)&&!Wu||yt(fi)&&!Pa||Ue(Fi)||Ue(fi))&&(qt(Fi)||Zs&&(!Bs||Bs&&Pe(Bs))))){if(Rr(fi)){if(dr.type==="value-paren_group"){In.push(J(N));continue}In.push(N);continue}if(le&&(Le(Fi)||$e(Fi)||Zt(Fi)||mt(fi)||Ht(fi))){In.push(" ");continue}if(Bn&&Bn.name.toLowerCase()==="namespace"){In.push(" ");continue}if(Kn){fi.source&&Fi.source&&fi.source.start.line!==Fi.source.start.line?(In.push(N),Mi=!0):In.push(" ");continue}if(to){In.push(" ");continue}if(!(Fi&&Fi.value==="...")&&!(Er(fi)&&Er(Fi)&&Nn(fi)===Jn(Fi))){if(Er(fi)&&Lr(Fi)&&Nn(fi)===Jn(Fi.open)){In.push(L);continue}if(fi.value==="with"&&Lr(Fi)){In.push(" ");continue}(Dr=fi.value)!==null&&Dr!==void 0&&Dr.endsWith("#")&&Fi.value==="{"&&Lr(Fi.group)||In.push(B)}}}return St&&In.push(H),Mi&&In.unshift(N),le?P(R(In)):z($)?P(_(In)):P(R(_(In)))}case"value-paren_group":{let dr=$.getParentNode();if(dr&&xt(dr)&&(be.groups.length===1||be.groups.length>0&&be.groups[0].type==="value-comma_group"&&be.groups[0].groups.length>0&&be.groups[0].groups[0].type==="value-word"&&be.groups[0].groups[0].value.startsWith("data:")))return[be.open?qe("open"):"",A(",",$.map(qe,"groups")),be.close?qe("close"):""];if(!be.open){let Oi=$.map(qe,"groups"),As=[];for(let Mi=0;Mi<Oi.length;Mi++)Mi!==0&&As.push([",",B]),As.push(Oi[Mi]);return P(R(_(As)))}let Ur=or($),fn=l(be.groups),Kn=fn&&fn.type==="value-comment",Bn=wn(be,dr),le=cr(be,dr),St=le||Ur&&!Bn,Xr=le||Bn,In=P([be.open?qe("open"):"",R([L,A([B],$.map((Oi,As)=>{let Mi=Oi.getValue(),Vs=As===be.groups.length-1,Bs=[qe(),Vs?"":","];if(Yt(Mi)&&Mi.type==="value-comma_group"&&Mi.groups&&Mi.groups[0].type!=="value-paren_group"&&Mi.groups[2]&&Mi.groups[2].type==="value-paren_group"){let fi=ne(Bs[0].contents.contents);return fi[1]=P(fi[1]),P(J(Bs))}if(!Vs&&Mi.type==="value-comma_group"&&C(Mi.groups)){let fi=l(Mi.groups);fi.source&&v(ke.originalText,fi,Nn)&&Bs.push(N)}return Bs},"groups"))]),oe(!Kn&&q(ke.parser,ke.originalText)&&Ur&&Jt(ke)?",":""),L,be.close?qe("close"):""],{shouldBreak:St});return Xr?J(In):In}case"value-func":return[be.value,M($,"supports")&&Vr(be)?" ":"",qe("group")];case"value-paren":return be.value;case"value-number":return[j(be.value),ot(be.unit)];case"value-operator":return be.value;case"value-word":return be.isColor&&be.isHex||K(be.value)?be.value.toLowerCase():be.value;case"value-colon":{let dr=$.getParentNode(),Ur=dr&&dr.groups.indexOf(be),fn=Ur&&dr.groups[Ur-1];return[be.value,fn&&typeof fn.value=="string"&&l(fn.value)==="\\"||U($,"url")?"":B]}case"value-comma":return[be.value," "];case"value-string":return m(be.raws.quote+be.value+be.raws.quote,ke);case"value-atword":return["@",be.value];case"value-unicode-range":return be.value;case"value-unknown":return be.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(be.type)}`)}}function Ii($,ke,qe){let be=[];return $.each((Pt,Dr,dr)=>{let Ur=dr[Dr-1];if(Ur&&Ur.type==="css-comment"&&Ur.text.trim()==="prettier-ignore"){let fn=Pt.getValue();be.push(ke.originalText.slice(Jn(fn),Nn(fn)))}else be.push(qe());Dr!==dr.length-1&&(dr[Dr+1].type==="css-comment"&&!d(ke.originalText,Jn(dr[Dr+1]),{backwards:!0})&&!y(dr[Dr])||dr[Dr+1].type==="css-atrule"&&dr[Dr+1].name==="else"&&dr[Dr].type!=="css-comment"?be.push(" "):(be.push(ke.__isHTMLStyleAttribute?B:N),v(ke.originalText,Pt.getValue(),Nn)&&!y(dr[Dr])&&be.push(N)))},"nodes"),be}var e=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,n=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,o=/[A-Za-z]+/g,u=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,p=new RegExp(e.source+`|(${u.source})?(${n.source})(${o.source})?`,"g");function D($,ke){return $.replace(e,qe=>m(qe,ke))}function E($,ke){let qe=ke.singleQuote?"'":'"';return $.includes('"')||$.includes("'")?$:qe+$+qe}function k($){return $.replace(p,(ke,qe,be,Pt,Dr)=>!be&&Pt?j(Pt)+I(Dr||""):ke)}function j($){return f($).replace(/\.0(?=$|e)/,"")}a.exports={print:sn,embed:he,insertPragma:ze,massageAstNode:me}}}),Yo=Be({"src/language-css/options.js"(r,a){at();var l=Jo();a.exports={singleQuote:l.singleQuote}}}),nu=Be({"src/language-css/parsers.js"(){at()}}),Pl=Be({"node_modules/linguist-languages/data/CSS.json"(r,a){a.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),bu=Be({"node_modules/linguist-languages/data/PostCSS.json"(r,a){a.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),iu=Be({"node_modules/linguist-languages/data/Less.json"(r,a){a.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}}}),qu=Be({"node_modules/linguist-languages/data/SCSS.json"(r,a){a.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),eo=Be({"src/language-css/index.js"(r,a){at();var l=Ka(),f=pl(),m=Yo(),d=nu(),y=[l(Pl(),C=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...C.extensions,".wxss"]})),l(bu(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),l(iu(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),l(qu(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],v={postcss:f};a.exports={languages:y,options:m,printers:v,parsers:d}}}),Nl=Be({"src/language-handlebars/loc.js"(r,a){at();function l(m){return m.loc.start.offset}function f(m){return m.loc.end.offset}a.exports={locStart:l,locEnd:f}}}),Oo=Be({"src/language-handlebars/clean.js"(r,a){at();function l(f,m){if(f.type==="TextNode"){let d=f.chars.trim();if(!d)return null;m.chars=d.replace(/[\t\n\f\r ]+/g," ")}f.type==="AttrNode"&&f.name.toLowerCase()==="class"&&delete m.value}l.ignoredProperties=new Set(["loc","selfClosing"]),a.exports=l}}),Bl=Be({"vendors/html-void-elements.json"(r,a){a.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),Lo=Be({"src/language-handlebars/utils.js"(r,a){at();var{htmlVoidElements:l}=Bl(),f=is();function m(G){let ne=G.getValue(),me=G.getParentNode(0);return!!(N(G,["ElementNode"])&&f(me.children)===ne||N(G,["Block"])&&f(me.body)===ne)}function d(G){return G.toUpperCase()===G}function y(G){return B(G,["ElementNode"])&&typeof G.tag=="string"&&!G.tag.startsWith(":")&&(d(G.tag[0])||G.tag.includes("."))}var v=new Set(l);function C(G){return v.has(G.tag)||y(G)&&G.children.every(ne=>A(ne))}function A(G){return B(G,["TextNode"])&&!/\S/.test(G.chars)}function B(G,ne){return G&&ne.includes(G.type)}function N(G,ne){let me=G.getParentNode(0);return B(me,ne)}function L(G,ne){let me=R(G);return B(me,ne)}function P(G,ne){let me=J(G);return B(me,ne)}function _(G,ne){var me,he,ze,O;let Q=G.getValue(),I=(me=G.getParentNode(0))!==null&&me!==void 0?me:{},U=(he=(ze=(O=I.children)!==null&&O!==void 0?O:I.body)!==null&&ze!==void 0?ze:I.parts)!==null&&he!==void 0?he:[],T=U.indexOf(Q);return T!==-1&&U[T+ne]}function R(G){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return _(G,-ne)}function J(G){return _(G,1)}function oe(G){return B(G,["MustacheCommentStatement"])&&typeof G.value=="string"&&G.value.trim()==="prettier-ignore"}function H(G){let ne=G.getValue(),me=R(G,2);return oe(ne)||oe(me)}a.exports={getNextNode:J,getPreviousNode:R,hasPrettierIgnore:H,isLastNodeOfSiblings:m,isNextNodeOfSomeType:P,isNodeOfSomeType:B,isParentOfSomeType:N,isPreviousNodeOfSomeType:L,isVoid:C,isWhitespaceNode:A}}}),w=Be({"src/language-handlebars/printer-glimmer.js"(r,a){at();var{builders:{dedent:l,fill:f,group:m,hardline:d,ifBreak:y,indent:v,join:C,line:A,softline:B},utils:{getDocParts:N,replaceTextEndOfLine:L}}=xi(),{getPreferredQuote:P,isNonEmptyArray:_}=Pi(),{locStart:R,locEnd:J}=Nl(),oe=Oo(),{getNextNode:H,getPreviousNode:G,hasPrettierIgnore:ne,isLastNodeOfSiblings:me,isNextNodeOfSomeType:he,isNodeOfSomeType:ze,isParentOfSomeType:O,isPreviousNodeOfSomeType:Q,isVoid:I,isWhitespaceNode:U}=Lo(),T=2;function M(Je,Er,cr){let Lr=Je.getValue();if(!Lr)return"";if(ne(Je))return Er.originalText.slice(R(Lr),J(Lr));let Jn=Er.singleQuote?"'":'"';switch(Lr.type){case"Block":case"Program":case"Template":return m(Je.map(cr,"body"));case"ElementNode":{let Nn=m(se(Je,cr)),_r=Er.htmlWhitespaceSensitivity==="ignore"&&he(Je,["ElementNode"])?B:"";if(I(Lr))return[Nn,_r];let q=["</",Lr.tag,">"];return Lr.children.length===0?[Nn,v(q),_r]:Er.htmlWhitespaceSensitivity==="ignore"?[Nn,v(K(Je,Er,cr)),d,v(q),_r]:[Nn,v(m(K(Je,Er,cr))),v(q),_r]}case"BlockStatement":{let Nn=Je.getParentNode(1);return Nn&&Nn.inverse&&Nn.inverse.body.length===1&&Nn.inverse.body[0]===Lr&&Nn.inverse.body[0].path.parts[0]===Nn.path.parts[0]?[Ht(Je,cr,Nn.inverse.body[0].path.parts[0]),qt(Je,cr,Er),Yt(Je,cr,Er)]:[Pe(Je,cr),m([qt(Je,cr,Er),Yt(Je,cr,Er),xt(Je,cr,Er)])]}case"ElementModifierStatement":return m(["{{",tr(Je,cr),"}}"]);case"MustacheStatement":return m([we(Lr),tr(Je,cr),je(Lr)]);case"SubExpression":return m(["(",Hi(Je,cr),B,")"]);case"AttrNode":{let Nn=Lr.value.type==="TextNode";if(Nn&&Lr.value.chars===""&&R(Lr.value)===J(Lr.value))return Lr.name;let _r=Nn?P(Lr.value.chars,Jn).quote:Lr.value.type==="ConcatStatement"?P(Lr.value.parts.filter(ot=>ot.type==="TextNode").map(ot=>ot.chars).join(""),Jn).quote:"",q=cr("value");return[Lr.name,"=",_r,Lr.name==="class"&&_r?m(v(q)):q,_r]}case"ConcatStatement":return Je.map(cr,"parts");case"Hash":return C(A,Je.map(cr,"pairs"));case"HashPair":return[Lr.key,"=",cr("value")];case"TextNode":{let Nn=Lr.chars.replace(/{{/g,"\\{{"),_r=Ye(Je);if(_r){if(_r==="class"){let u=Nn.trim().split(/\s+/).join(" "),p=!1,D=!1;return O(Je,["ConcatStatement"])&&(Q(Je,["MustacheStatement"])&&/^\s/.test(Nn)&&(p=!0),he(Je,["MustacheStatement"])&&/\s$/.test(Nn)&&u!==""&&(D=!0)),[p?A:"",u,D?A:""]}return L(Nn)}let q=/^[\t\n\f\r ]*$/.test(Nn),ot=!G(Je),Jt=!H(Je);if(Er.htmlWhitespaceSensitivity!=="ignore"){let u=/^[\t\n\f\r ]*/,p=/[\t\n\f\r ]*$/,D=Jt&&O(Je,["Template"]),E=ot&&O(Je,["Template"]);if(q){if(E||D)return"";let qe=[A],be=Dt(Nn);return be&&(qe=Rr(be)),me(Je)&&(qe=qe.map(Pt=>l(Pt))),qe}let[k]=Nn.match(u),[j]=Nn.match(p),$=[];if(k){$=[A];let qe=Dt(k);qe&&($=Rr(qe)),Nn=Nn.replace(u,"")}let ke=[];if(j){if(!D){ke=[A];let qe=Dt(j);qe&&(ke=Rr(qe)),me(Je)&&(ke=ke.map(be=>l(be)))}Nn=Nn.replace(p,"")}return[...$,f(wn(Nn)),...ke]}let sn=Dt(Nn),Ii=Mt(Nn),e=or(Nn);if((ot||Jt)&&q&&O(Je,["Block","ElementNode","Template"]))return"";q&&sn?(Ii=Math.min(sn,T),e=0):(he(Je,["BlockStatement","ElementNode"])&&(e=Math.max(e,1)),Q(Je,["BlockStatement","ElementNode"])&&(Ii=Math.max(Ii,1)));let n="",o="";return e===0&&he(Je,["MustacheStatement"])&&(o=" "),Ii===0&&Q(Je,["MustacheStatement"])&&(n=" "),ot&&(Ii=0,n=""),Jt&&(e=0,o=""),Nn=Nn.replace(/^[\t\n\f\r ]+/g,n).replace(/[\t\n\f\r ]+$/,o),[...Rr(Ii),f(wn(Nn)),...Rr(e)]}case"MustacheCommentStatement":{let Nn=R(Lr),_r=J(Lr),q=Er.originalText.charAt(Nn+2)==="~",ot=Er.originalText.charAt(_r-3)==="~",Jt=Lr.value.includes("}}")?"--":"";return["{{",q?"~":"","!",Jt,Lr.value,Jt,ot?"~":"","}}"]}case"PathExpression":return Lr.original;case"BooleanLiteral":return String(Lr.value);case"CommentStatement":return["<!--",Lr.value,"-->"];case"StringLiteral":{if(ei(Je)){let Nn=Er.singleQuote?'"':"'";return Qr(Lr.value,Nn)}return Qr(Lr.value,Jn)}case"NumberLiteral":return String(Lr.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(Lr.type))}}function z(Je,Er){return R(Je)-R(Er)}function se(Je,Er){let cr=Je.getValue(),Lr=["attributes","modifiers","comments"].filter(Nn=>_(cr[Nn])),Jn=Lr.flatMap(Nn=>cr[Nn]).sort(z);for(let Nn of Lr)Je.each(_r=>{let q=Jn.indexOf(_r.getValue());Jn.splice(q,1,[A,Er()])},Nn);return _(cr.blockParams)&&Jn.push(A,rr(cr)),["<",cr.tag,v(Jn),ee(cr)]}function K(Je,Er,cr){let Lr=Je.getValue().children.every(Jn=>U(Jn));return Er.htmlWhitespaceSensitivity==="ignore"&&Lr?"":Je.map((Jn,Nn)=>{let _r=cr();return Nn===0&&Er.htmlWhitespaceSensitivity==="ignore"?[B,_r]:_r},"children")}function ee(Je){return I(Je)?y([B,"/>"],[" />",B]):y([B,">"],">")}function we(Je){let Er=Je.escaped===!1?"{{{":"{{",cr=Je.strip&&Je.strip.open?"~":"";return[Er,cr]}function je(Je){let Er=Je.escaped===!1?"}}}":"}}";return[Je.strip&&Je.strip.close?"~":"",Er]}function $e(Je){let Er=we(Je),cr=Je.openStrip.open?"~":"";return[Er,cr,"#"]}function Le(Je){let Er=je(Je);return[Je.openStrip.close?"~":"",Er]}function rt(Je){let Er=we(Je),cr=Je.closeStrip.open?"~":"";return[Er,cr,"/"]}function Se(Je){let Er=je(Je);return[Je.closeStrip.close?"~":"",Er]}function yt(Je){let Er=we(Je),cr=Je.inverseStrip.open?"~":"";return[Er,cr]}function Ue(Je){let Er=je(Je);return[Je.inverseStrip.close?"~":"",Er]}function Pe(Je,Er){let cr=Je.getValue(),Lr=$e(cr),Jn=Le(cr),Nn=[Kt(Je,Er)],_r=Vr(Je,Er);if(_r&&Nn.push(A,_r),_(cr.program.blockParams)){let q=rr(cr.program);Nn.push(A,q)}return m([Lr,v(Nn),B,Jn])}function mt(Je,Er){return[Er.htmlWhitespaceSensitivity==="ignore"?d:"",yt(Je),"else",Ue(Je)]}function Ht(Je,Er,cr){let Lr=Je.getParentNode(1);return[yt(Lr),"else ",cr," ",Vr(Je,Er),Ue(Lr)]}function xt(Je,Er,cr){let Lr=Je.getValue();return cr.htmlWhitespaceSensitivity==="ignore"?[Zt(Lr)?B:d,rt(Lr),Er("path"),Se(Lr)]:[rt(Lr),Er("path"),Se(Lr)]}function Zt(Je){return ze(Je,["BlockStatement"])&&Je.program.body.every(Er=>U(Er))}function He(Je){return lt(Je)&&Je.inverse.body.length===1&&ze(Je.inverse.body[0],["BlockStatement"])&&Je.inverse.body[0].path.parts[0]===Je.path.parts[0]}function lt(Je){return ze(Je,["BlockStatement"])&&Je.inverse}function qt(Je,Er,cr){let Lr=Je.getValue();if(Zt(Lr))return"";let Jn=Er("program");return cr.htmlWhitespaceSensitivity==="ignore"?v([d,Jn]):v(Jn)}function Yt(Je,Er,cr){let Lr=Je.getValue(),Jn=Er("inverse"),Nn=cr.htmlWhitespaceSensitivity==="ignore"?[d,Jn]:Jn;return He(Lr)?Nn:lt(Lr)?[mt(Lr,cr),v(Nn)]:""}function wn(Je){return N(C(A,ht(Je)))}function ht(Je){return Je.split(/[\t\n\f\r ]+/)}function Ye(Je){for(let Er=0;Er<2;Er++){let cr=Je.getParentNode(Er);if(cr&&cr.type==="AttrNode")return cr.name.toLowerCase()}}function Dt(Je){return Je=typeof Je=="string"?Je:"",Je.split(`
99
- `).length-1}function Mt(Je){Je=typeof Je=="string"?Je:"";let Er=(Je.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Dt(Er)}function or(Je){Je=typeof Je=="string"?Je:"";let Er=(Je.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Dt(Er)}function Rr(){let Je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Je,T)}).fill(d)}function Qr(Je,Er){let{quote:cr,regex:Lr}=P(Je,Er);return[cr,Je.replace(Lr,`\\${cr}`),cr]}function ei(Je){let Er=0,cr=Je.getParentNode(Er);for(;cr&&ze(cr,["SubExpression"]);)Er++,cr=Je.getParentNode(Er);return!!(cr&&ze(Je.getParentNode(Er+1),["ConcatStatement"])&&ze(Je.getParentNode(Er+2),["AttrNode"]))}function Hi(Je,Er){let cr=Kt(Je,Er),Lr=Vr(Je,Er);return Lr?v([cr,A,m(Lr)]):cr}function tr(Je,Er){let cr=Kt(Je,Er),Lr=Vr(Je,Er);return Lr?[v([cr,A,Lr]),B]:cr}function Kt(Je,Er){return Er("path")}function Vr(Je,Er){let cr=Je.getValue(),Lr=[];if(cr.params.length>0){let Jn=Je.map(Er,"params");Lr.push(...Jn)}if(cr.hash&&cr.hash.pairs.length>0){let Jn=Er("hash");Lr.push(Jn)}return Lr.length===0?"":C(A,Lr)}function rr(Je){return["as |",Je.blockParams.join(" "),"|"]}a.exports={print:M,massageAstNode:oe}}}),te=Be({"src/language-handlebars/parsers.js"(){at()}}),X=Be({"node_modules/linguist-languages/data/Handlebars.json"(r,a){a.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Y=Be({"src/language-handlebars/index.js"(r,a){at();var l=Ka(),f=w(),m=te(),d=[l(X(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],y={glimmer:f};a.exports={languages:d,printers:y,parsers:m}}}),fe=Be({"src/language-graphql/pragma.js"(r,a){at();function l(m){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(m)}function f(m){return`# @format
100
-
101
- `+m}a.exports={hasPragma:l,insertPragma:f}}}),Ce=Be({"src/language-graphql/loc.js"(r,a){at();function l(m){return typeof m.start=="number"?m.start:m.loc&&m.loc.start}function f(m){return typeof m.end=="number"?m.end:m.loc&&m.loc.end}a.exports={locStart:l,locEnd:f}}}),ge=Be({"src/language-graphql/printer-graphql.js"(r,a){at();var{builders:{join:l,hardline:f,line:m,softline:d,group:y,indent:v,ifBreak:C}}=xi(),{isNextLineEmpty:A,isNonEmptyArray:B}=Pi(),{insertPragma:N}=fe(),{locStart:L,locEnd:P}=Ce();function _(he,ze,O){let Q=he.getValue();if(!Q)return"";if(typeof Q=="string")return Q;switch(Q.kind){case"Document":{let I=[];return he.each((U,T,M)=>{I.push(O()),T!==M.length-1&&(I.push(f),A(ze.originalText,U.getValue(),P)&&I.push(f))},"definitions"),[...I,f]}case"OperationDefinition":{let I=ze.originalText[L(Q)]!=="{",U=Boolean(Q.name);return[I?Q.operation:"",I&&U?[" ",O("name")]:"",I&&!U&&B(Q.variableDefinitions)?" ":"",B(Q.variableDefinitions)?y(["(",v([d,l([C("",", "),d],he.map(O,"variableDefinitions"))]),d,")"]):"",R(he,O,Q),Q.selectionSet?!I&&!U?"":" ":"",O("selectionSet")]}case"FragmentDefinition":return["fragment ",O("name"),B(Q.variableDefinitions)?y(["(",v([d,l([C("",", "),d],he.map(O,"variableDefinitions"))]),d,")"]):""," on ",O("typeCondition"),R(he,O,Q)," ",O("selectionSet")];case"SelectionSet":return["{",v([f,l(f,J(he,ze,O,"selections"))]),f,"}"];case"Field":return y([Q.alias?[O("alias"),": "]:"",O("name"),Q.arguments.length>0?y(["(",v([d,l([C("",", "),d],J(he,ze,O,"arguments"))]),d,")"]):"",R(he,O,Q),Q.selectionSet?" ":"",O("selectionSet")]);case"Name":return Q.value;case"StringValue":{if(Q.block){let I=Q.value.replace(/"""/g,"\\$&").split(`
102
- `);return I.length===1&&(I[0]=I[0].trim()),I.every(U=>U==="")&&(I.length=0),l(f,['"""',...I,'"""'])}return['"',Q.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return Q.value;case"BooleanValue":return Q.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",O("name")];case"ListValue":return y(["[",v([d,l([C("",", "),d],he.map(O,"values"))]),d,"]"]);case"ObjectValue":return y(["{",ze.bracketSpacing&&Q.fields.length>0?" ":"",v([d,l([C("",", "),d],he.map(O,"fields"))]),d,C("",ze.bracketSpacing&&Q.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[O("name"),": ",O("value")];case"Directive":return["@",O("name"),Q.arguments.length>0?y(["(",v([d,l([C("",", "),d],J(he,ze,O,"arguments"))]),d,")"]):""];case"NamedType":return O("name");case"VariableDefinition":return[O("variable"),": ",O("type"),Q.defaultValue?[" = ",O("defaultValue")]:"",R(he,O,Q)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[O("description"),Q.description?f:"",Q.kind==="ObjectTypeExtension"?"extend ":"","type ",O("name"),Q.interfaces.length>0?[" implements ",...G(he,ze,O)]:"",R(he,O,Q),Q.fields.length>0?[" {",v([f,l(f,J(he,ze,O,"fields"))]),f,"}"]:""];case"FieldDefinition":return[O("description"),Q.description?f:"",O("name"),Q.arguments.length>0?y(["(",v([d,l([C("",", "),d],J(he,ze,O,"arguments"))]),d,")"]):"",": ",O("type"),R(he,O,Q)];case"DirectiveDefinition":return[O("description"),Q.description?f:"","directive ","@",O("name"),Q.arguments.length>0?y(["(",v([d,l([C("",", "),d],J(he,ze,O,"arguments"))]),d,")"]):"",Q.repeatable?" repeatable":""," on ",l(" | ",he.map(O,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[O("description"),Q.description?f:"",Q.kind==="EnumTypeExtension"?"extend ":"","enum ",O("name"),R(he,O,Q),Q.values.length>0?[" {",v([f,l(f,J(he,ze,O,"values"))]),f,"}"]:""];case"EnumValueDefinition":return[O("description"),Q.description?f:"",O("name"),R(he,O,Q)];case"InputValueDefinition":return[O("description"),Q.description?Q.description.block?f:m:"",O("name"),": ",O("type"),Q.defaultValue?[" = ",O("defaultValue")]:"",R(he,O,Q)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[O("description"),Q.description?f:"",Q.kind==="InputObjectTypeExtension"?"extend ":"","input ",O("name"),R(he,O,Q),Q.fields.length>0?[" {",v([f,l(f,J(he,ze,O,"fields"))]),f,"}"]:""];case"SchemaExtension":return["extend schema",R(he,O,Q),...Q.operationTypes.length>0?[" {",v([f,l(f,J(he,ze,O,"operationTypes"))]),f,"}"]:[]];case"SchemaDefinition":return[O("description"),Q.description?f:"","schema",R(he,O,Q)," {",Q.operationTypes.length>0?v([f,l(f,J(he,ze,O,"operationTypes"))]):"",f,"}"];case"OperationTypeDefinition":return[O("operation"),": ",O("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[O("description"),Q.description?f:"",Q.kind==="InterfaceTypeExtension"?"extend ":"","interface ",O("name"),Q.interfaces.length>0?[" implements ",...G(he,ze,O)]:"",R(he,O,Q),Q.fields.length>0?[" {",v([f,l(f,J(he,ze,O,"fields"))]),f,"}"]:""];case"FragmentSpread":return["...",O("name"),R(he,O,Q)];case"InlineFragment":return["...",Q.typeCondition?[" on ",O("typeCondition")]:"",R(he,O,Q)," ",O("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return y([O("description"),Q.description?f:"",y([Q.kind==="UnionTypeExtension"?"extend ":"","union ",O("name"),R(he,O,Q),Q.types.length>0?[" =",C(""," "),v([C([m," "]),l([m,"| "],he.map(O,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[O("description"),Q.description?f:"",Q.kind==="ScalarTypeExtension"?"extend ":"","scalar ",O("name"),R(he,O,Q)];case"NonNullType":return[O("type"),"!"];case"ListType":return["[",O("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(Q.kind))}}function R(he,ze,O){if(O.directives.length===0)return"";let Q=l(m,he.map(ze,"directives"));return O.kind==="FragmentDefinition"||O.kind==="OperationDefinition"?y([m,Q]):[" ",y(v([d,Q]))]}function J(he,ze,O,Q){return he.map((I,U,T)=>{let M=O();return U<T.length-1&&A(ze.originalText,I.getValue(),P)?[M,f]:M},Q)}function oe(he){return he.kind&&he.kind!=="Comment"}function H(he){let ze=he.getValue();if(ze.kind==="Comment")return"#"+ze.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(ze))}function G(he,ze,O){let Q=he.getNode(),I=[],{interfaces:U}=Q,T=he.map(M=>O(M),"interfaces");for(let M=0;M<U.length;M++){let z=U[M];I.push(T[M]);let se=U[M+1];if(se){let K=ze.originalText.slice(z.loc.end,se.loc.start),ee=K.includes("#"),we=K.replace(/#.*/g,"").trim();I.push(we===","?",":" &",ee?m:" ")}}return I}function ne(he,ze){he.kind==="StringValue"&&he.block&&!he.value.includes(`
103
- `)&&(ze.value=ze.value.trim())}ne.ignoredProperties=new Set(["loc","comments"]);function me(he){var ze;let O=he.getValue();return O==null||(ze=O.comments)===null||ze===void 0?void 0:ze.some(Q=>Q.value.trim()==="prettier-ignore")}a.exports={print:_,massageAstNode:ne,hasPrettierIgnore:me,insertPragma:N,printComment:H,canAttachComment:oe}}}),Ae=Be({"src/language-graphql/options.js"(r,a){at();var l=Jo();a.exports={bracketSpacing:l.bracketSpacing}}}),pe=Be({"src/language-graphql/parsers.js"(){at()}}),ae=Be({"node_modules/linguist-languages/data/GraphQL.json"(r,a){a.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),F=Be({"src/language-graphql/index.js"(r,a){at();var l=Ka(),f=ge(),m=Ae(),d=pe(),y=[l(ae(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],v={graphql:f};a.exports={languages:y,options:m,printers:v,parsers:d}}}),b=Be({"src/language-markdown/loc.js"(r,a){at();function l(m){return m.position.start.offset}function f(m){return m.position.end.offset}a.exports={locStart:l,locEnd:f}}}),Z=Be({"src/language-markdown/constants.evaluate.js"(r,a){a.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]"}}}),V=Be({"src/language-markdown/utils.js"(r,a){at();var{getLast:l}=Pi(),{locStart:f,locEnd:m}=b(),{cjkPattern:d,kPattern:y,punctuationPattern:v}=Z(),C=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],A=[...C,"tableCell","paragraph","heading"],B=new RegExp(y),N=new RegExp(v);function L(H,G){let ne="non-cjk",me="cj-letter",he="k-letter",ze="cjk-punctuation",O=[],Q=(G.proseWrap==="preserve"?H:H.replace(new RegExp(`(${d})
104
- (${d})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[U,T]of Q.entries()){if(U%2===1){O.push({type:"whitespace",value:/\n/.test(T)?`
105
- `:" "});continue}if((U===0||U===Q.length-1)&&T==="")continue;let M=T.split(new RegExp(`(${d})`));for(let[z,se]of M.entries())if(!((z===0||z===M.length-1)&&se==="")){if(z%2===0){se!==""&&I({type:"word",value:se,kind:ne,hasLeadingPunctuation:N.test(se[0]),hasTrailingPunctuation:N.test(l(se))});continue}I(N.test(se)?{type:"word",value:se,kind:ze,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:se,kind:B.test(se)?he:me,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return O;function I(U){let T=l(O);T&&T.type==="word"&&(T.kind===ne&&U.kind===me&&!T.hasTrailingPunctuation||T.kind===me&&U.kind===ne&&!U.hasLeadingPunctuation?O.push({type:"whitespace",value:" "}):!M(ne,ze)&&![T.value,U.value].some(z=>/\u3000/.test(z))&&O.push({type:"whitespace",value:""})),O.push(U);function M(z,se){return T.kind===z&&U.kind===se||T.kind===se&&U.kind===z}}}function P(H,G){let[,ne,me,he]=G.slice(H.position.start.offset,H.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:ne,marker:me,leadingSpaces:he}}function _(H,G){if(!H.ordered||H.children.length<2)return!1;let ne=Number(P(H.children[0],G.originalText).numberText),me=Number(P(H.children[1],G.originalText).numberText);if(ne===0&&H.children.length>2){let he=Number(P(H.children[2],G.originalText).numberText);return me===1&&he===1}return me===1}function R(H,G){let{value:ne}=H;return H.position.end.offset===G.length&&ne.endsWith(`
106
- `)&&G.endsWith(`
107
- `)?ne.slice(0,-1):ne}function J(H,G){return function ne(me,he,ze){let O=Object.assign({},G(me,he,ze));return O.children&&(O.children=O.children.map((Q,I)=>ne(Q,I,[O,...ze]))),O}(H,null,[])}function oe(H){if((H==null?void 0:H.type)!=="link"||H.children.length!==1)return!1;let[G]=H.children;return f(H)===f(G)&&m(H)===m(G)}a.exports={mapAst:J,splitText:L,punctuationPattern:v,getFencedCodeBlockValue:R,getOrderedListItemInfo:P,hasGitDiffFriendlyOrderedList:_,INLINE_NODE_TYPES:C,INLINE_NODE_WRAPPER_TYPES:A,isAutolink:oe}}}),Ie=Be({"src/language-markdown/embed.js"(r,a){at();var{inferParserByLanguage:l,getMaxContinuousCount:f}=Pi(),{builders:{hardline:m,markAsRoot:d},utils:{replaceEndOfLine:y}}=xi(),v=Xo(),{getFencedCodeBlockValue:C}=V();function A(B,N,L,P){let _=B.getValue();if(_.type==="code"&&_.lang!==null){let R=l(_.lang,P);if(R){let J=P.__inJsTemplate?"~":"`",oe=J.repeat(Math.max(3,f(_.value,J)+1)),H={parser:R};_.lang==="tsx"&&(H.filepath="dummy.tsx");let G=L(C(_,P.originalText),H,{stripTrailingHardline:!0});return d([oe,_.lang,_.meta?" "+_.meta:"",m,y(G),m,oe])}}switch(_.type){case"front-matter":return v(_,L);case"importExport":return[L(_.value,{parser:"babel"},{stripTrailingHardline:!0}),m];case"jsx":return L(`<$>${_.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}a.exports=A}}),Te=Be({"src/language-markdown/pragma.js"(r,a){at();var l=Fl(),f=["format","prettier"];function m(d){let y=`@(${f.join("|")})`,v=new RegExp([`<!--\\s*${y}\\s*-->`,`{\\s*\\/\\*\\s*${y}\\s*\\*\\/\\s*}`,`<!--.*\r?
108
- [\\s\\S]*(^|
109
- )[^\\S
110
- ]*${y}[^\\S
111
- ]*($|
112
- )[\\s\\S]*
113
- .*-->`].join("|"),"m"),C=d.match(v);return(C==null?void 0:C.index)===0}a.exports={startWithPragma:m,hasPragma:d=>m(l(d).content.trimStart()),insertPragma:d=>{let y=l(d),v=`<!-- @${f[0]} -->`;return y.frontMatter?`${y.frontMatter.raw}
114
-
115
- ${v}
116
-
117
- ${y.content}`:`${v}
118
-
119
- ${y.content}`}}}}),Ke=Be({"src/language-markdown/print-preprocess.js"(r,a){at();var l=is(),{getOrderedListItemInfo:f,mapAst:m,splitText:d}=V(),y=/^.$/su;function v(oe,H){return oe=B(oe,H),oe=P(oe),oe=A(oe,H),oe=R(oe,H),oe=J(oe,H),oe=_(oe,H),oe=C(oe),oe=N(oe),oe}function C(oe){return m(oe,H=>H.type!=="import"&&H.type!=="export"?H:Object.assign(Object.assign({},H),{},{type:"importExport"}))}function A(oe,H){return m(oe,G=>G.type!=="inlineCode"||H.proseWrap==="preserve"?G:Object.assign(Object.assign({},G),{},{value:G.value.replace(/\s+/g," ")}))}function B(oe,H){return m(oe,G=>G.type!=="text"||G.value==="*"||G.value==="_"||!y.test(G.value)||G.position.end.offset-G.position.start.offset===G.value.length?G:Object.assign(Object.assign({},G),{},{value:H.originalText.slice(G.position.start.offset,G.position.end.offset)}))}function N(oe){return L(oe,(H,G)=>H.type==="importExport"&&G.type==="importExport",(H,G)=>({type:"importExport",value:H.value+`
120
-
121
- `+G.value,position:{start:H.position.start,end:G.position.end}}))}function L(oe,H,G){return m(oe,ne=>{if(!ne.children)return ne;let me=ne.children.reduce((he,ze)=>{let O=l(he);return O&&H(O,ze)?he.splice(-1,1,G(O,ze)):he.push(ze),he},[]);return Object.assign(Object.assign({},ne),{},{children:me})})}function P(oe){return L(oe,(H,G)=>H.type==="text"&&G.type==="text",(H,G)=>({type:"text",value:H.value+G.value,position:{start:H.position.start,end:G.position.end}}))}function _(oe,H){return m(oe,(G,ne,me)=>{let[he]=me;if(G.type!=="text")return G;let{value:ze}=G;return he.type==="paragraph"&&(ne===0&&(ze=ze.trimStart()),ne===he.children.length-1&&(ze=ze.trimEnd())),{type:"sentence",position:G.position,children:d(ze,H)}})}function R(oe,H){return m(oe,(G,ne,me)=>{if(G.type==="code"){let he=/^\n?(?: {4,}|\t)/.test(H.originalText.slice(G.position.start.offset,G.position.end.offset));if(G.isIndented=he,he)for(let ze=0;ze<me.length;ze++){let O=me[ze];if(O.hasIndentedCodeblock)break;O.type==="list"&&(O.hasIndentedCodeblock=!0)}}return G})}function J(oe,H){return m(oe,(me,he,ze)=>{if(me.type==="list"&&me.children.length>0){for(let O=0;O<ze.length;O++){let Q=ze[O];if(Q.type==="list"&&!Q.isAligned)return me.isAligned=!1,me}me.isAligned=ne(me)}return me});function G(me){return me.children.length===0?-1:me.children[0].position.start.column-1}function ne(me){if(!me.ordered)return!0;let[he,ze]=me.children;if(f(he,H.originalText).leadingSpaces.length>1)return!0;let O=G(he);if(O===-1)return!1;if(me.children.length===1)return O%H.tabWidth===0;let Q=G(ze);return O!==Q?!1:O%H.tabWidth===0?!0:f(ze,H.originalText).leadingSpaces.length>1}}a.exports=v}}),Ge=Be({"src/language-markdown/clean.js"(r,a){at();var{isFrontMatterNode:l}=Pi(),{startWithPragma:f}=Te(),m=new Set(["position","raw"]);function d(y,v,C){if((y.type==="front-matter"||y.type==="code"||y.type==="yaml"||y.type==="import"||y.type==="export"||y.type==="jsx")&&delete v.value,y.type==="list"&&delete v.isAligned,(y.type==="list"||y.type==="listItem")&&(delete v.spread,delete v.loose),y.type==="text"||(y.type==="inlineCode"&&(v.value=y.value.replace(/[\t\n ]+/g," ")),y.type==="wikiLink"&&(v.value=y.value.trim().replace(/[\t\n]+/g," ")),(y.type==="definition"||y.type==="linkReference")&&(v.label=y.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(y.type==="definition"||y.type==="link"||y.type==="image")&&y.title&&(v.title=y.title.replace(/\\(["')])/g,"$1")),C&&C.type==="root"&&C.children.length>0&&(C.children[0]===y||l(C.children[0])&&C.children[1]===y)&&y.type==="html"&&f(y.value)))return null}d.ignoredProperties=m,a.exports=d}}),Ne=Be({"src/language-markdown/printer-markdown.js"(r,a){at();var{getLast:l,getMinNotPresentContinuousCount:f,getMaxContinuousCount:m,getStringWidth:d,isNonEmptyArray:y}=Pi(),{builders:{breakParent:v,join:C,line:A,literalline:B,markAsRoot:N,hardline:L,softline:P,ifBreak:_,fill:R,align:J,indent:oe,group:H,hardlineWithoutBreakParent:G},utils:{normalizeDoc:ne,replaceTextEndOfLine:me},printer:{printDocToString:he}}=xi(),ze=Ie(),{insertPragma:O}=Te(),{locStart:Q,locEnd:I}=b(),U=Ke(),T=Ge(),{getFencedCodeBlockValue:M,hasGitDiffFriendlyOrderedList:z,splitText:se,punctuationPattern:K,INLINE_NODE_TYPES:ee,INLINE_NODE_WRAPPER_TYPES:we,isAutolink:je}=V(),$e=new Set(["importExport"]),Le=["heading","tableCell","link","wikiLink"],rt=new Set(["listItem","definition","footnoteDefinition"]);function Se(tr,Kt,Vr){let rr=tr.getValue();if(or(tr))return se(Kt.originalText.slice(rr.position.start.offset,rr.position.end.offset),Kt).map(Je=>Je.type==="word"?Je.value:Je.value===""?"":Zt(tr,Je.value,Kt));switch(rr.type){case"front-matter":return Kt.originalText.slice(rr.position.start.offset,rr.position.end.offset);case"root":return rr.children.length===0?"":[ne(lt(tr,Kt,Vr)),$e.has(wn(rr).type)?"":L];case"paragraph":return qt(tr,Kt,Vr,{postprocessor:R});case"sentence":return qt(tr,Kt,Vr);case"word":{let Je=rr.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${K})(_+)`,`(_+)(${K}|$)`].join("|"),"g"),(Lr,Jn,Nn,_r,q)=>(Nn?`${Jn}${Nn}`:`${_r}${q}`).replace(/_/g,"\\_")),Er=(Lr,Jn,Nn)=>Lr.type==="sentence"&&Nn===0,cr=(Lr,Jn,Nn)=>je(Lr.children[Nn-1]);return Je!==rr.value&&(tr.match(void 0,Er,cr)||tr.match(void 0,Er,(Lr,Jn,Nn)=>Lr.type==="emphasis"&&Nn===0,cr))&&(Je=Je.replace(/^(\\?[*_])+/,Lr=>Lr.replace(/\\/g,""))),Je}case"whitespace":{let Je=tr.getParentNode(),Er=Je.children.indexOf(rr),cr=Je.children[Er+1],Lr=cr&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(cr.value)?"never":Kt.proseWrap;return Zt(tr,rr.value,{proseWrap:Lr})}case"emphasis":{let Je;if(je(rr.children[0]))Je=Kt.originalText[rr.position.start.offset];else{let Er=tr.getParentNode(),cr=Er.children.indexOf(rr),Lr=Er.children[cr-1],Jn=Er.children[cr+1];Je=Lr&&Lr.type==="sentence"&&Lr.children.length>0&&l(Lr.children).type==="word"&&!l(Lr.children).hasTrailingPunctuation||Jn&&Jn.type==="sentence"&&Jn.children.length>0&&Jn.children[0].type==="word"&&!Jn.children[0].hasLeadingPunctuation||xt(tr,"emphasis")?"*":"_"}return[Je,qt(tr,Kt,Vr),Je]}case"strong":return["**",qt(tr,Kt,Vr),"**"];case"delete":return["~~",qt(tr,Kt,Vr),"~~"];case"inlineCode":{let Je=f(rr.value,"`"),Er="`".repeat(Je||1),cr=Je&&!/^\s/.test(rr.value)?" ":"";return[Er,cr,rr.value,cr,Er]}case"wikiLink":{let Je="";return Kt.proseWrap==="preserve"?Je=rr.value:Je=rr.value.replace(/[\t\n]+/g," "),["[[",Je,"]]"]}case"link":switch(Kt.originalText[rr.position.start.offset]){case"<":{let Je="mailto:";return["<",rr.url.startsWith(Je)&&Kt.originalText.slice(rr.position.start.offset+1,rr.position.start.offset+1+Je.length)!==Je?rr.url.slice(Je.length):rr.url,">"]}case"[":return["[",qt(tr,Kt,Vr),"](",Rr(rr.url,")"),Qr(rr.title,Kt),")"];default:return Kt.originalText.slice(rr.position.start.offset,rr.position.end.offset)}case"image":return["![",rr.alt||"","](",Rr(rr.url,")"),Qr(rr.title,Kt),")"];case"blockquote":return["> ",J("> ",qt(tr,Kt,Vr))];case"heading":return["#".repeat(rr.depth)+" ",qt(tr,Kt,Vr)];case"code":{if(rr.isIndented){let cr=" ".repeat(4);return J(cr,[cr,...me(rr.value,L)])}let Je=Kt.__inJsTemplate?"~":"`",Er=Je.repeat(Math.max(3,m(rr.value,Je)+1));return[Er,rr.lang||"",rr.meta?" "+rr.meta:"",L,...me(M(rr,Kt.originalText),L),L,Er]}case"html":{let Je=tr.getParentNode(),Er=Je.type==="root"&&l(Je.children)===rr?rr.value.trimEnd():rr.value,cr=/^<!--.*-->$/s.test(Er);return me(Er,cr?L:N(B))}case"list":{let Je=Pe(rr,tr.getParentNode()),Er=z(rr,Kt);return qt(tr,Kt,Vr,{processor:(cr,Lr)=>{let Jn=_r(),Nn=cr.getValue();if(Nn.children.length===2&&Nn.children[1].type==="html"&&Nn.children[0].position.start.column!==Nn.children[1].position.start.column)return[Jn,yt(cr,Kt,Vr,Jn)];return[Jn,J(" ".repeat(Jn.length),yt(cr,Kt,Vr,Jn))];function _r(){let q=rr.ordered?(Lr===0?rr.start:Er?1:rr.start+Lr)+(Je%2===0?". ":") "):Je%2===0?"- ":"* ";return rr.isAligned||rr.hasIndentedCodeblock?Ue(q,Kt):q}}})}case"thematicBreak":{let Je=Ht(tr,"list");return Je===-1?"---":Pe(tr.getParentNode(Je),tr.getParentNode(Je+1))%2===0?"***":"---"}case"linkReference":return["[",qt(tr,Kt,Vr),"]",rr.referenceType==="full"?["[",rr.identifier,"]"]:rr.referenceType==="collapsed"?"[]":""];case"imageReference":switch(rr.referenceType){case"full":return["![",rr.alt||"","][",rr.identifier,"]"];default:return["![",rr.alt,"]",rr.referenceType==="collapsed"?"[]":""]}case"definition":{let Je=Kt.proseWrap==="always"?A:" ";return H(["[",rr.identifier,"]:",oe([Je,Rr(rr.url),rr.title===null?"":[Je,Qr(rr.title,Kt,!1)]])])}case"footnote":return["[^",qt(tr,Kt,Vr),"]"];case"footnoteReference":return["[^",rr.identifier,"]"];case"footnoteDefinition":{let Je=tr.getParentNode().children[tr.getName()+1],Er=rr.children.length===1&&rr.children[0].type==="paragraph"&&(Kt.proseWrap==="never"||Kt.proseWrap==="preserve"&&rr.children[0].position.start.line===rr.children[0].position.end.line);return["[^",rr.identifier,"]: ",Er?qt(tr,Kt,Vr):H([J(" ".repeat(4),qt(tr,Kt,Vr,{processor:(cr,Lr)=>Lr===0?H([P,Vr()]):Vr()})),Je&&Je.type==="footnoteDefinition"?P:""])]}case"table":return He(tr,Kt,Vr);case"tableCell":return qt(tr,Kt,Vr);case"break":return/\s/.test(Kt.originalText[rr.position.start.offset])?[" ",N(B)]:["\\",L];case"liquidNode":return me(rr.value,L);case"importExport":return[rr.value,L];case"esComment":return["{/* ",rr.value," */}"];case"jsx":return rr.value;case"math":return["$$",L,rr.value?[...me(rr.value,L),L]:"","$$"];case"inlineMath":return Kt.originalText.slice(Q(rr),I(rr));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(rr.type)}`)}}function yt(tr,Kt,Vr,rr){let Je=tr.getValue(),Er=Je.checked===null?"":Je.checked?"[x] ":"[ ] ";return[Er,qt(tr,Kt,Vr,{processor:(cr,Lr)=>{if(Lr===0&&cr.getValue().type!=="list")return J(" ".repeat(Er.length),Vr());let Jn=" ".repeat(ei(Kt.tabWidth-rr.length,0,3));return[Jn,J(Jn,Vr())]}})]}function Ue(tr,Kt){let Vr=rr();return tr+" ".repeat(Vr>=4?0:Vr);function rr(){let Je=tr.length%Kt.tabWidth;return Je===0?0:Kt.tabWidth-Je}}function Pe(tr,Kt){return mt(tr,Kt,Vr=>Vr.ordered===tr.ordered)}function mt(tr,Kt,Vr){let rr=-1;for(let Je of Kt.children)if(Je.type===tr.type&&Vr(Je)?rr++:rr=-1,Je===tr)return rr}function Ht(tr,Kt){let Vr=Array.isArray(Kt)?Kt:[Kt],rr=-1,Je;for(;Je=tr.getParentNode(++rr);)if(Vr.includes(Je.type))return rr;return-1}function xt(tr,Kt){let Vr=Ht(tr,Kt);return Vr===-1?null:tr.getParentNode(Vr)}function Zt(tr,Kt,Vr){if(Vr.proseWrap==="preserve"&&Kt===`
122
- `)return L;let rr=Vr.proseWrap==="always"&&!xt(tr,Le);return Kt!==""?rr?A:" ":rr?P:""}function He(tr,Kt,Vr){let rr=tr.getValue(),Je=[],Er=tr.map(q=>q.map((ot,Jt)=>{let sn=he(Vr(),Kt).formatted,Ii=d(sn);return Je[Jt]=Math.max(Je[Jt]||3,Ii),{text:sn,width:Ii}},"children"),"children"),cr=Jn(!1);if(Kt.proseWrap!=="never")return[v,cr];let Lr=Jn(!0);return[v,H(_(Lr,cr))];function Jn(q){let ot=[_r(Er[0],q),Nn(q)];return Er.length>1&&ot.push(C(G,Er.slice(1).map(Jt=>_r(Jt,q)))),C(G,ot)}function Nn(q){return`| ${Je.map((ot,Jt)=>{let sn=rr.align[Jt],Ii=sn==="center"||sn==="left"?":":"-",e=sn==="center"||sn==="right"?":":"-",n=q?"-":"-".repeat(ot-2);return`${Ii}${n}${e}`}).join(" | ")} |`}function _r(q,ot){return`| ${q.map((Jt,sn)=>{let{text:Ii,width:e}=Jt;if(ot)return Ii;let n=Je[sn]-e,o=rr.align[sn],u=0;o==="right"?u=n:o==="center"&&(u=Math.floor(n/2));let p=n-u;return`${" ".repeat(u)}${Ii}${" ".repeat(p)}`}).join(" | ")} |`}}function lt(tr,Kt,Vr){let rr=[],Je=null,{children:Er}=tr.getValue();for(let[cr,Lr]of Er.entries())switch(ht(Lr)){case"start":Je===null&&(Je={index:cr,offset:Lr.position.end.offset});break;case"end":Je!==null&&(rr.push({start:Je,end:{index:cr,offset:Lr.position.start.offset}}),Je=null);break}return qt(tr,Kt,Vr,{processor:(cr,Lr)=>{if(rr.length>0){let Jn=rr[0];if(Lr===Jn.start.index)return[Yt(Er[Jn.start.index]),Kt.originalText.slice(Jn.start.offset,Jn.end.offset),Yt(Er[Jn.end.index])];if(Jn.start.index<Lr&&Lr<Jn.end.index)return!1;if(Lr===Jn.end.index)return rr.shift(),!1}return Vr()}})}function qt(tr,Kt,Vr){let rr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Je}=rr,Er=rr.processor||(()=>Vr()),cr=tr.getValue(),Lr=[],Jn;return tr.each((Nn,_r)=>{let q=Nn.getValue(),ot=Er(Nn,_r);if(ot!==!1){let Jt={parts:Lr,prevNode:Jn,parentNode:cr,options:Kt};Ye(q,Jt)&&(Lr.push(L),Jn&&$e.has(Jn.type)||(Dt(q,Jt)||Mt(q,Jt))&&Lr.push(L),Mt(q,Jt)&&Lr.push(L)),Lr.push(ot),Jn=q}},"children"),Je?Je(Lr):Lr}function Yt(tr){if(tr.type==="html")return tr.value;if(tr.type==="paragraph"&&Array.isArray(tr.children)&&tr.children.length===1&&tr.children[0].type==="esComment")return["{/* ",tr.children[0].value," */}"]}function wn(tr){let Kt=tr;for(;y(Kt.children);)Kt=l(Kt.children);return Kt}function ht(tr){let Kt;if(tr.type==="html")Kt=tr.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Vr;tr.type==="esComment"?Vr=tr:tr.type==="paragraph"&&tr.children.length===1&&tr.children[0].type==="esComment"&&(Vr=tr.children[0]),Vr&&(Kt=Vr.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Kt?Kt[1]||"next":!1}function Ye(tr,Kt){let Vr=Kt.parts.length===0,rr=ee.includes(tr.type),Je=tr.type==="html"&&we.includes(Kt.parentNode.type);return!Vr&&!rr&&!Je}function Dt(tr,Kt){var Vr,rr,Je;let Er=(Kt.prevNode&&Kt.prevNode.type)===tr.type&&rt.has(tr.type),cr=Kt.parentNode.type==="listItem"&&!Kt.parentNode.loose,Lr=((Vr=Kt.prevNode)===null||Vr===void 0?void 0:Vr.type)==="listItem"&&Kt.prevNode.loose,Jn=ht(Kt.prevNode)==="next",Nn=tr.type==="html"&&((rr=Kt.prevNode)===null||rr===void 0?void 0:rr.type)==="html"&&Kt.prevNode.position.end.line+1===tr.position.start.line,_r=tr.type==="html"&&Kt.parentNode.type==="listItem"&&((Je=Kt.prevNode)===null||Je===void 0?void 0:Je.type)==="paragraph"&&Kt.prevNode.position.end.line+1===tr.position.start.line;return Lr||!(Er||cr||Jn||Nn||_r)}function Mt(tr,Kt){let Vr=Kt.prevNode&&Kt.prevNode.type==="list",rr=tr.type==="code"&&tr.isIndented;return Vr&&rr}function or(tr){let Kt=xt(tr,["linkReference","imageReference"]);return Kt&&(Kt.type!=="linkReference"||Kt.referenceType!=="full")}function Rr(tr){let Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Vr=[" ",...Array.isArray(Kt)?Kt:[Kt]];return new RegExp(Vr.map(rr=>`\\${rr}`).join("|")).test(tr)?`<${tr}>`:tr}function Qr(tr,Kt){let Vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!tr)return"";if(Vr)return" "+Qr(tr,Kt,!1);if(tr=tr.replace(/\\(["')])/g,"$1"),tr.includes('"')&&tr.includes("'")&&!tr.includes(")"))return`(${tr})`;let rr=tr.split("'").length-1,Je=tr.split('"').length-1,Er=rr>Je?'"':Je>rr||Kt.singleQuote?"'":'"';return tr=tr.replace(/\\/,"\\\\"),tr=tr.replace(new RegExp(`(${Er})`,"g"),"\\$1"),`${Er}${tr}${Er}`}function ei(tr,Kt,Vr){return tr<Kt?Kt:tr>Vr?Vr:tr}function Hi(tr){let Kt=Number(tr.getName());if(Kt===0)return!1;let Vr=tr.getParentNode().children[Kt-1];return ht(Vr)==="next"}a.exports={preprocess:U,print:Se,embed:ze,massageAstNode:T,hasPrettierIgnore:Hi,insertPragma:O}}}),pt=Be({"src/language-markdown/options.js"(r,a){at();var l=Jo();a.exports={proseWrap:l.proseWrap,singleQuote:l.singleQuote}}}),bt=Be({"src/language-markdown/parsers.js"(){at()}}),Gt=Be({"node_modules/linguist-languages/data/Markdown.json"(r,a){a.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}}}),dn=Be({"src/language-markdown/index.js"(r,a){at();var l=Ka(),f=Ne(),m=pt(),d=bt(),y=[l(Gt(),C=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...C.filenames,"README"],extensions:C.extensions.filter(A=>A!==".mdx")})),l(Gt(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],v={mdast:f};a.exports={languages:y,options:m,printers:v,parsers:d}}}),zn=Be({"src/language-html/clean.js"(r,a){at();var{isFrontMatterNode:l}=Pi(),f=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function m(d,y){if(d.type==="text"||d.type==="comment"||l(d)||d.type==="yaml"||d.type==="toml")return null;d.type==="attribute"&&delete y.value,d.type==="docType"&&delete y.value}m.ignoredProperties=f,a.exports=m}}),Un=Be({"src/language-html/constants.evaluate.js"(r,a){a.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"}}}),Di=Be({"src/language-html/utils/is-unknown-namespace.js"(r,a){at();function l(f){return f.type==="element"&&!f.hasExplicitNamespace&&!["html","svg"].includes(f.namespace)}a.exports=l}}),li=Be({"src/language-html/utils/index.js"(r,a){at();var{inferParserByLanguage:l,isFrontMatterNode:f}=Pi(),{builders:{line:m,hardline:d,join:y},utils:{getDocParts:v,replaceTextEndOfLine:C}}=xi(),{CSS_DISPLAY_TAGS:A,CSS_DISPLAY_DEFAULT:B,CSS_WHITE_SPACE_TAGS:N,CSS_WHITE_SPACE_DEFAULT:L}=Un(),P=Di(),_=new Set([" ",`
123
- `,"\f","\r"," "]),R=q=>q.replace(/^[\t\n\f\r ]+/,""),J=q=>q.replace(/[\t\n\f\r ]+$/,""),oe=q=>R(J(q)),H=q=>q.replace(/^[\t\f\r ]*\n/g,""),G=q=>H(J(q)),ne=q=>q.split(/[\t\n\f\r ]+/),me=q=>q.match(/^[\t\n\f\r ]*/)[0],he=q=>{let[,ot,Jt,sn]=q.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:ot,trailingWhitespace:sn,text:Jt}},ze=q=>/[\t\n\f\r ]/.test(q);function O(q,ot){return!!(q.type==="ieConditionalComment"&&q.lastChild&&!q.lastChild.isSelfClosing&&!q.lastChild.endSourceSpan||q.type==="ieConditionalComment"&&!q.complete||Mt(q)&&q.children.some(Jt=>Jt.type!=="text"&&Jt.type!=="interpolation")||cr(q,ot)&&!T(q)&&q.type!=="interpolation")}function Q(q){return q.type==="attribute"||!q.parent||!q.prev?!1:I(q.prev)}function I(q){return q.type==="comment"&&q.value.trim()==="prettier-ignore"}function U(q){return q.type==="text"||q.type==="comment"}function T(q){return q.type==="element"&&(q.fullName==="script"||q.fullName==="style"||q.fullName==="svg:style"||P(q)&&(q.name==="script"||q.name==="style"))}function M(q){return q.children&&!T(q)}function z(q){return T(q)||q.type==="interpolation"||se(q)}function se(q){return ei(q).startsWith("pre")}function K(q,ot){let Jt=sn();if(Jt&&!q.prev&&q.parent&&q.parent.tagDefinition&&q.parent.tagDefinition.ignoreFirstLf)return q.type==="interpolation";return Jt;function sn(){return f(q)?!1:(q.type==="text"||q.type==="interpolation")&&q.prev&&(q.prev.type==="text"||q.prev.type==="interpolation")?!0:!q.parent||q.parent.cssDisplay==="none"?!1:Mt(q.parent)?!0:!(!q.prev&&(q.parent.type==="root"||Mt(q)&&q.parent||T(q.parent)||Je(q.parent,ot)||!Yt(q.parent.cssDisplay))||q.prev&&!Ye(q.prev.cssDisplay))}}function ee(q,ot){return f(q)?!1:(q.type==="text"||q.type==="interpolation")&&q.next&&(q.next.type==="text"||q.next.type==="interpolation")?!0:!q.parent||q.parent.cssDisplay==="none"?!1:Mt(q.parent)?!0:!(!q.next&&(q.parent.type==="root"||Mt(q)&&q.parent||T(q.parent)||Je(q.parent,ot)||!wn(q.parent.cssDisplay))||q.next&&!ht(q.next.cssDisplay))}function we(q){return Dt(q.cssDisplay)&&!T(q)}function je(q){return f(q)||q.next&&q.sourceSpan.end&&q.sourceSpan.end.line+1<q.next.sourceSpan.start.line}function $e(q){return Le(q)||q.type==="element"&&q.children.length>0&&(["body","script","style"].includes(q.name)||q.children.some(ot=>xt(ot)))||q.firstChild&&q.firstChild===q.lastChild&&q.firstChild.type!=="text"&&Ue(q.firstChild)&&(!q.lastChild.isTrailingSpaceSensitive||Pe(q.lastChild))}function Le(q){return q.type==="element"&&q.children.length>0&&(["html","head","ul","ol","select"].includes(q.name)||q.cssDisplay.startsWith("table")&&q.cssDisplay!=="table-cell")}function rt(q){return mt(q)||q.prev&&Se(q.prev)||yt(q)}function Se(q){return mt(q)||q.type==="element"&&q.fullName==="br"||yt(q)}function yt(q){return Ue(q)&&Pe(q)}function Ue(q){return q.hasLeadingSpaces&&(q.prev?q.prev.sourceSpan.end.line<q.sourceSpan.start.line:q.parent.type==="root"||q.parent.startSourceSpan.end.line<q.sourceSpan.start.line)}function Pe(q){return q.hasTrailingSpaces&&(q.next?q.next.sourceSpan.start.line>q.sourceSpan.end.line:q.parent.type==="root"||q.parent.endSourceSpan&&q.parent.endSourceSpan.start.line>q.sourceSpan.end.line)}function mt(q){switch(q.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(q.name)}return!1}function Ht(q){return q.lastChild?Ht(q.lastChild):q}function xt(q){return q.children&&q.children.some(ot=>ot.type!=="text")}function Zt(q){let{type:ot,lang:Jt}=q.attrMap;if(ot==="module"||ot==="text/javascript"||ot==="text/babel"||ot==="application/javascript"||Jt==="jsx")return"babel";if(ot==="application/x-typescript"||Jt==="ts"||Jt==="tsx")return"typescript";if(ot==="text/markdown")return"markdown";if(ot==="text/html")return"html";if(ot&&(ot.endsWith("json")||ot.endsWith("importmap"))||ot==="speculationrules")return"json";if(ot==="text/x-handlebars-template")return"glimmer"}function He(q,ot){let{lang:Jt}=q.attrMap;if(!Jt||Jt==="postcss"||Jt==="css")return"css";if(Jt==="scss")return"scss";if(Jt==="less")return"less";if(Jt==="stylus")return l("stylus",ot)}function lt(q,ot){if(q.name==="script"&&!q.attrMap.src)return!q.attrMap.lang&&!q.attrMap.type?"babel":Zt(q);if(q.name==="style")return He(q,ot);if(ot&&cr(q,ot))return Zt(q)||!("src"in q.attrMap)&&l(q.attrMap.lang,ot)}function qt(q){return q==="block"||q==="list-item"||q.startsWith("table")}function Yt(q){return!qt(q)&&q!=="inline-block"}function wn(q){return!qt(q)&&q!=="inline-block"}function ht(q){return!qt(q)}function Ye(q){return!qt(q)}function Dt(q){return!qt(q)&&q!=="inline-block"}function Mt(q){return ei(q).startsWith("pre")}function or(q,ot){let Jt=0;for(let sn=q.stack.length-1;sn>=0;sn--){let Ii=q.stack[sn];Ii&&typeof Ii=="object"&&!Array.isArray(Ii)&&ot(Ii)&&Jt++}return Jt}function Rr(q,ot){let Jt=q;for(;Jt;){if(ot(Jt))return!0;Jt=Jt.parent}return!1}function Qr(q,ot){if(q.prev&&q.prev.type==="comment"){let sn=q.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(sn)return sn[1]}let Jt=!1;if(q.type==="element"&&q.namespace==="svg")if(Rr(q,sn=>sn.fullName==="svg:foreignObject"))Jt=!0;else return q.name==="svg"?"inline-block":"block";switch(ot.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return ot.parser==="vue"&&q.parent&&q.parent.type==="root"?"block":q.type==="element"&&(!q.namespace||Jt||P(q))&&A[q.name]||B}}function ei(q){return q.type==="element"&&(!q.namespace||P(q))&&N[q.name]||L}function Hi(q){let ot=Number.POSITIVE_INFINITY;for(let Jt of q.split(`
124
- `)){if(Jt.length===0)continue;if(!_.has(Jt[0]))return 0;let sn=me(Jt).length;Jt.length!==sn&&sn<ot&&(ot=sn)}return ot===Number.POSITIVE_INFINITY?0:ot}function tr(q){let ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hi(q);return ot===0?q:q.split(`
125
- `).map(Jt=>Jt.slice(ot)).join(`
126
- `)}function Kt(q,ot){let Jt=0;for(let sn=0;sn<q.length;sn++)q[sn]===ot&&Jt++;return Jt}function Vr(q){return q.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var rr=new Set(["template","style","script"]);function Je(q,ot){return Er(q,ot)&&!rr.has(q.fullName)}function Er(q,ot){return ot.parser==="vue"&&q.type==="element"&&q.parent.type==="root"&&q.fullName.toLowerCase()!=="html"}function cr(q,ot){return Er(q,ot)&&(Je(q,ot)||q.attrMap.lang&&q.attrMap.lang!=="html")}function Lr(q){let ot=q.fullName;return ot.charAt(0)==="#"||ot==="slot-scope"||ot==="v-slot"||ot.startsWith("v-slot:")}function Jn(q,ot){let Jt=q.parent;if(!Er(Jt,ot))return!1;let sn=Jt.fullName,Ii=q.fullName;return sn==="script"&&Ii==="setup"||sn==="style"&&Ii==="vars"}function Nn(q){let ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:q.value;return q.parent.isWhitespaceSensitive?q.parent.isIndentationSensitive?C(ot):C(tr(G(ot)),d):v(y(m,ne(ot)))}function _r(q,ot){return Er(q,ot)&&q.name==="script"}a.exports={htmlTrim:oe,htmlTrimPreserveIndentation:G,hasHtmlWhitespace:ze,getLeadingAndTrailingHtmlWhitespace:he,canHaveInterpolation:M,countChars:Kt,countParents:or,dedentString:tr,forceBreakChildren:Le,forceBreakContent:$e,forceNextEmptyLine:je,getLastDescendant:Ht,getNodeCssStyleDisplay:Qr,getNodeCssStyleWhiteSpace:ei,hasPrettierIgnore:Q,inferScriptParser:lt,isVueCustomBlock:Je,isVueNonHtmlBlock:cr,isVueScriptTag:_r,isVueSlotAttribute:Lr,isVueSfcBindingsAttribute:Jn,isVueSfcBlock:Er,isDanglingSpaceSensitiveNode:we,isIndentationSensitiveNode:se,isLeadingSpaceSensitiveNode:K,isPreLikeNode:Mt,isScriptLikeTag:T,isTextLikeNode:U,isTrailingSpaceSensitiveNode:ee,isWhitespaceSensitiveNode:z,isUnknownNamespace:P,preferHardlineAsLeadingSpaces:rt,preferHardlineAsTrailingSpaces:Se,shouldPreserveContent:O,unescapeQuoteEntities:Vr,getTextValueParts:Nn}}}),un=Be({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0}),r.$EOF=0,r.$BSPACE=8,r.$TAB=9,r.$LF=10,r.$VTAB=11,r.$FF=12,r.$CR=13,r.$SPACE=32,r.$BANG=33,r.$DQ=34,r.$HASH=35,r.$$=36,r.$PERCENT=37,r.$AMPERSAND=38,r.$SQ=39,r.$LPAREN=40,r.$RPAREN=41,r.$STAR=42,r.$PLUS=43,r.$COMMA=44,r.$MINUS=45,r.$PERIOD=46,r.$SLASH=47,r.$COLON=58,r.$SEMICOLON=59,r.$LT=60,r.$EQ=61,r.$GT=62,r.$QUESTION=63,r.$0=48,r.$7=55,r.$9=57,r.$A=65,r.$E=69,r.$F=70,r.$X=88,r.$Z=90,r.$LBRACKET=91,r.$BACKSLASH=92,r.$RBRACKET=93,r.$CARET=94,r.$_=95,r.$a=97,r.$b=98,r.$e=101,r.$f=102,r.$n=110,r.$r=114,r.$t=116,r.$u=117,r.$v=118,r.$x=120,r.$z=122,r.$LBRACE=123,r.$BAR=124,r.$RBRACE=125,r.$NBSP=160,r.$PIPE=124,r.$TILDA=126,r.$AT=64,r.$BT=96;function a(v){return v>=r.$TAB&&v<=r.$SPACE||v==r.$NBSP}r.isWhitespace=a;function l(v){return r.$0<=v&&v<=r.$9}r.isDigit=l;function f(v){return v>=r.$a&&v<=r.$z||v>=r.$A&&v<=r.$Z}r.isAsciiLetter=f;function m(v){return v>=r.$a&&v<=r.$f||v>=r.$A&&v<=r.$F||l(v)}r.isAsciiHexDigit=m;function d(v){return v===r.$LF||v===r.$CR}r.isNewLine=d;function y(v){return r.$0<=v&&v<=r.$7}r.isOctalDigit=y}}),Ei=Be({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=class{constructor(f,m,d){this.filePath=f,this.name=m,this.members=d}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};r.StaticSymbol=a;var l=class{constructor(){this.cache=new Map}get(f,m,d){d=d||[];let y=d.length?`.${d.join(".")}`:"",v=`"${f}".${m}${y}`,C=this.cache.get(v);return C||(C=new a(f,m,d),this.cache.set(v,C)),C}};r.StaticSymbolCache=l}}),mi=Be({"node_modules/angular-html-parser/lib/compiler/src/util.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=/-+([a-z0-9])/g;function l(T){return T.replace(a,function(){for(var M=arguments.length,z=new Array(M),se=0;se<M;se++)z[se]=arguments[se];return z[1].toUpperCase()})}r.dashCaseToCamelCase=l;function f(T,M){return d(T,":",M)}r.splitAtColon=f;function m(T,M){return d(T,".",M)}r.splitAtPeriod=m;function d(T,M,z){let se=T.indexOf(M);return se==-1?z:[T.slice(0,se).trim(),T.slice(se+1).trim()]}function y(T,M,z){return Array.isArray(T)?M.visitArray(T,z):H(T)?M.visitStringMap(T,z):T==null||typeof T=="string"||typeof T=="number"||typeof T=="boolean"?M.visitPrimitive(T,z):M.visitOther(T,z)}r.visitValue=y;function v(T){return T!=null}r.isDefined=v;function C(T){return T===void 0?null:T}r.noUndefined=C;var A=class{visitArray(T,M){return T.map(z=>y(z,this,M))}visitStringMap(T,M){let z={};return Object.keys(T).forEach(se=>{z[se]=y(T[se],this,M)}),z}visitPrimitive(T,M){return T}visitOther(T,M){return T}};r.ValueTransformer=A,r.SyncAsync={assertSync:T=>{if(he(T))throw new Error("Illegal state: value cannot be a promise");return T},then:(T,M)=>he(T)?T.then(M):M(T),all:T=>T.some(he)?Promise.all(T):T};function B(T){throw new Error(`Internal Error: ${T}`)}r.error=B;function N(T,M){let z=Error(T);return z[L]=!0,M&&(z[P]=M),z}r.syntaxError=N;var L="ngSyntaxError",P="ngParseErrors";function _(T){return T[L]}r.isSyntaxError=_;function R(T){return T[P]||[]}r.getParseErrors=R;function J(T){return T.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}r.escapeRegExp=J;var oe=Object.getPrototypeOf({});function H(T){return typeof T=="object"&&T!==null&&Object.getPrototypeOf(T)===oe}function G(T){let M="";for(let z=0;z<T.length;z++){let se=T.charCodeAt(z);if(se>=55296&&se<=56319&&T.length>z+1){let K=T.charCodeAt(z+1);K>=56320&&K<=57343&&(z++,se=(se-55296<<10)+K-56320+65536)}se<=127?M+=String.fromCharCode(se):se<=2047?M+=String.fromCharCode(se>>6&31|192,se&63|128):se<=65535?M+=String.fromCharCode(se>>12|224,se>>6&63|128,se&63|128):se<=2097151&&(M+=String.fromCharCode(se>>18&7|240,se>>12&63|128,se>>6&63|128,se&63|128))}return M}r.utf8Encode=G;function ne(T){if(typeof T=="string")return T;if(T instanceof Array)return"["+T.map(ne).join(", ")+"]";if(T==null)return""+T;if(T.overriddenName)return`${T.overriddenName}`;if(T.name)return`${T.name}`;if(!T.toString)return"object";let M=T.toString();if(M==null)return""+M;let z=M.indexOf(`
127
- `);return z===-1?M:M.substring(0,z)}r.stringify=ne;function me(T){return typeof T=="function"&&T.hasOwnProperty("__forward_ref__")?T():T}r.resolveForwardRef=me;function he(T){return!!T&&typeof T.then=="function"}r.isPromise=he;var ze=class{constructor(T){this.full=T;let M=T.split(".");this.major=M[0],this.minor=M[1],this.patch=M.slice(2).join(".")}};r.Version=ze;var O=typeof window<"u"&&window,Q=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,I=typeof globalThis<"u"&&globalThis,U=I||O||Q;r.global=U}}),Fn=Be({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=Ei(),l=mi(),f=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function m(z){return z.replace(/\W/g,"_")}r.sanitizeIdentifier=m;var d=0;function y(z){if(!z||!z.reference)return null;let se=z.reference;if(se instanceof a.StaticSymbol)return se.name;if(se.__anonymousType)return se.__anonymousType;let K=l.stringify(se);return K.indexOf("(")>=0?(K=`anonymous_${d++}`,se.__anonymousType=K):K=m(K),K}r.identifierName=y;function v(z){let se=z.reference;return se instanceof a.StaticSymbol?se.filePath:`./${l.stringify(se)}`}r.identifierModuleUrl=v;function C(z,se){return`View_${y({reference:z})}_${se}`}r.viewClassName=C;function A(z){return`RenderType_${y({reference:z})}`}r.rendererTypeName=A;function B(z){return`HostView_${y({reference:z})}`}r.hostViewClassName=B;function N(z){return`${y({reference:z})}NgFactory`}r.componentFactoryName=N;var L;(function(z){z[z.Pipe=0]="Pipe",z[z.Directive=1]="Directive",z[z.NgModule=2]="NgModule",z[z.Injectable=3]="Injectable"})(L=r.CompileSummaryKind||(r.CompileSummaryKind={}));function P(z){return z.value!=null?m(z.value):y(z.identifier)}r.tokenName=P;function _(z){return z.identifier!=null?z.identifier.reference:z.value}r.tokenReference=_;var R=class{constructor(){let{moduleUrl:z,styles:se,styleUrls:K}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=z||null,this.styles=he(se),this.styleUrls=he(K)}};r.CompileStylesheetMetadata=R;var J=class{constructor(z){let{encapsulation:se,template:K,templateUrl:ee,htmlAst:we,styles:je,styleUrls:$e,externalStylesheets:Le,animations:rt,ngContentSelectors:Se,interpolation:yt,isInline:Ue,preserveWhitespaces:Pe}=z;if(this.encapsulation=se,this.template=K,this.templateUrl=ee,this.htmlAst=we,this.styles=he(je),this.styleUrls=he($e),this.externalStylesheets=he(Le),this.animations=rt?O(rt):[],this.ngContentSelectors=Se||[],yt&&yt.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=yt,this.isInline=Ue,this.preserveWhitespaces=Pe}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};r.CompileTemplateMetadata=J;var oe=class{static create(z){let{isHost:se,type:K,isComponent:ee,selector:we,exportAs:je,changeDetection:$e,inputs:Le,outputs:rt,host:Se,providers:yt,viewProviders:Ue,queries:Pe,guards:mt,viewQueries:Ht,entryComponents:xt,template:Zt,componentViewType:He,rendererType:lt,componentFactory:qt}=z,Yt={},wn={},ht={};Se!=null&&Object.keys(Se).forEach(Mt=>{let or=Se[Mt],Rr=Mt.match(f);Rr===null?ht[Mt]=or:Rr[1]!=null?wn[Rr[1]]=or:Rr[2]!=null&&(Yt[Rr[2]]=or)});let Ye={};Le!=null&&Le.forEach(Mt=>{let or=l.splitAtColon(Mt,[Mt,Mt]);Ye[or[0]]=or[1]});let Dt={};return rt!=null&&rt.forEach(Mt=>{let or=l.splitAtColon(Mt,[Mt,Mt]);Dt[or[0]]=or[1]}),new oe({isHost:se,type:K,isComponent:!!ee,selector:we,exportAs:je,changeDetection:$e,inputs:Ye,outputs:Dt,hostListeners:Yt,hostProperties:wn,hostAttributes:ht,providers:yt,viewProviders:Ue,queries:Pe,guards:mt,viewQueries:Ht,entryComponents:xt,template:Zt,componentViewType:He,rendererType:lt,componentFactory:qt})}constructor(z){let{isHost:se,type:K,isComponent:ee,selector:we,exportAs:je,changeDetection:$e,inputs:Le,outputs:rt,hostListeners:Se,hostProperties:yt,hostAttributes:Ue,providers:Pe,viewProviders:mt,queries:Ht,guards:xt,viewQueries:Zt,entryComponents:He,template:lt,componentViewType:qt,rendererType:Yt,componentFactory:wn}=z;this.isHost=!!se,this.type=K,this.isComponent=ee,this.selector=we,this.exportAs=je,this.changeDetection=$e,this.inputs=Le,this.outputs=rt,this.hostListeners=Se,this.hostProperties=yt,this.hostAttributes=Ue,this.providers=he(Pe),this.viewProviders=he(mt),this.queries=he(Ht),this.guards=xt,this.viewQueries=he(Zt),this.entryComponents=he(He),this.template=lt,this.componentViewType=qt,this.rendererType=Yt,this.componentFactory=wn}toSummary(){return{summaryKind:L.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}}};r.CompileDirectiveMetadata=oe;var H=class{constructor(z){let{type:se,name:K,pure:ee}=z;this.type=se,this.name=K,this.pure=!!ee}toSummary(){return{summaryKind:L.Pipe,type:this.type,name:this.name,pure:this.pure}}};r.CompilePipeMetadata=H;var G=class{};r.CompileShallowModuleMetadata=G;var ne=class{constructor(z){let{type:se,providers:K,declaredDirectives:ee,exportedDirectives:we,declaredPipes:je,exportedPipes:$e,entryComponents:Le,bootstrapComponents:rt,importedModules:Se,exportedModules:yt,schemas:Ue,transitiveModule:Pe,id:mt}=z;this.type=se||null,this.declaredDirectives=he(ee),this.exportedDirectives=he(we),this.declaredPipes=he(je),this.exportedPipes=he($e),this.providers=he(K),this.entryComponents=he(Le),this.bootstrapComponents=he(rt),this.importedModules=he(Se),this.exportedModules=he(yt),this.schemas=he(Ue),this.id=mt||null,this.transitiveModule=Pe||null}toSummary(){let z=this.transitiveModule;return{summaryKind:L.NgModule,type:this.type,entryComponents:z.entryComponents,providers:z.providers,modules:z.modules,exportedDirectives:z.exportedDirectives,exportedPipes:z.exportedPipes}}};r.CompileNgModuleMetadata=ne;var me=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(z,se){this.providers.push({provider:z,module:se})}addDirective(z){this.directivesSet.has(z.reference)||(this.directivesSet.add(z.reference),this.directives.push(z))}addExportedDirective(z){this.exportedDirectivesSet.has(z.reference)||(this.exportedDirectivesSet.add(z.reference),this.exportedDirectives.push(z))}addPipe(z){this.pipesSet.has(z.reference)||(this.pipesSet.add(z.reference),this.pipes.push(z))}addExportedPipe(z){this.exportedPipesSet.has(z.reference)||(this.exportedPipesSet.add(z.reference),this.exportedPipes.push(z))}addModule(z){this.modulesSet.has(z.reference)||(this.modulesSet.add(z.reference),this.modules.push(z))}addEntryComponent(z){this.entryComponentsSet.has(z.componentType)||(this.entryComponentsSet.add(z.componentType),this.entryComponents.push(z))}};r.TransitiveCompileNgModuleMetadata=me;function he(z){return z||[]}var ze=class{constructor(z,se){let{useClass:K,useValue:ee,useExisting:we,useFactory:je,deps:$e,multi:Le}=se;this.token=z,this.useClass=K||null,this.useValue=ee,this.useExisting=we,this.useFactory=je||null,this.dependencies=$e||null,this.multi=!!Le}};r.ProviderMeta=ze;function O(z){return z.reduce((se,K)=>{let ee=Array.isArray(K)?O(K):K;return se.concat(ee)},[])}r.flatten=O;function Q(z){return z.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function I(z,se,K){let ee;return K.isInline?se.type.reference instanceof a.StaticSymbol?ee=`${se.type.reference.filePath}.${se.type.reference.name}.html`:ee=`${y(z)}/${y(se.type)}.html`:ee=K.templateUrl,se.type.reference instanceof a.StaticSymbol?ee:Q(ee)}r.templateSourceUrl=I;function U(z,se){let K=z.moduleUrl.split(/\/\\/g),ee=K[K.length-1];return Q(`css/${se}${ee}.ngstyle.js`)}r.sharedStylesheetJitUrl=U;function T(z){return Q(`${y(z.type)}/module.ngfactory.js`)}r.ngModuleJitUrl=T;function M(z,se){return Q(`${y(z)}/${y(se.type)}.ngfactory.js`)}r.templateJitUrl=M}}),Gr=Be({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(r){at(),Object.defineProperty(r,"__esModule",{value:!0});var a=un(),l=Fn(),f=class{constructor(B,N,L,P){this.file=B,this.offset=N,this.line=L,this.col=P}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(B){let N=this.file.content,L=N.length,P=this.offset,_=this.line,R=this.col;for(;P>0&&B<0;)if(P--,B++,N.charCodeAt(P)==a.$LF){_--;let J=N.substr(0,P-1).lastIndexOf(String.fromCharCode(a.$LF));R=J>0?P-J:P}else R--;for(;P<L&&B>0;){let J=N.charCodeAt(P);P++,B--,J==a.$LF?(_++,R=0):R++}return new f(this.file,P,_,R)}getContext(B,N){let L=this.file.content,P=this.offset;if(P!=null){P>L.length-1&&(P=L.length-1);let _=P,R=0,J=0;for(;R<B&&P>0&&(P--,R++,!(L[P]==`
128
- `&&++J==N)););for(R=0,J=0;R<B&&_<L.length-1&&(_++,R++,!(L[_]==`
129
- `&&++J==N)););return{before:L.substring(P,this.offset),after:L.substring(this.offset,_+1)}}return null}};r.ParseLocation=f;var m=class{constructor(B,N){this.content=B,this.url=N}};r.ParseSourceFile=m;var d=class{constructor(B,N){let L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=B,this.end=N,this.details=L}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};r.ParseSourceSpan=d,r.EMPTY_PARSE_LOCATION=new f(new m("",""),0,0,0),r.EMPTY_SOURCE_SPAN=new d(r.EMPTY_PARSE_LOCATION,r.EMPTY_PARSE_LOCATION);var y;(function(B){B[B.WARNING=0]="WARNING",B[B.ERROR=1]="ERROR"})(y=r.ParseErrorLevel||(r.ParseErrorLevel={}));var v=class{constructor(B,N){let L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y.ERROR;this.span=B,this.msg=N,this.level=L}contextualMessage(){let B=this.span.start.getContext(100,3);return B?`${this.msg} ("${B.before}[${y[this.level]} ->]${B.after}")`:this.msg}toString(){let B=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${B}`}};r.ParseError=v;function C(B,N){let L=l.identifierModuleUrl(N),P=L!=null?`in ${B} ${l.identifierName(N)} in ${L}`:`in ${B} ${l.identifierName(N)}`,_=new m("",P);return new d(new f(_,-1,-1,-1),new f(_,-1,-1,-1))}r.typeSourceSpan=C;function A(B,N,L){let P=`in ${B} ${N} in ${L}`,_=new m("",P);return new d(new f(_,-1,-1,-1),new f(_,-1,-1,-1))}r.r3JitTypeSourceSpan=A}}),Cn=Be({"src/language-html/print-preprocess.js"(r,a){at();var{ParseSourceSpan:l}=Gr(),{htmlTrim:f,getLeadingAndTrailingHtmlWhitespace:m,hasHtmlWhitespace:d,canHaveInterpolation:y,getNodeCssStyleDisplay:v,isDanglingSpaceSensitiveNode:C,isIndentationSensitiveNode:A,isLeadingSpaceSensitiveNode:B,isTrailingSpaceSensitiveNode:N,isWhitespaceSensitiveNode:L,isVueScriptTag:P}=li(),_=[J,oe,G,me,he,Q,ze,O,I,ne,U];function R(T,M){for(let z of _)z(T,M);return T}function J(T){T.walk(M=>{if(M.type==="element"&&M.tagDefinition.ignoreFirstLf&&M.children.length>0&&M.children[0].type==="text"&&M.children[0].value[0]===`
130
- `){let z=M.children[0];z.value.length===1?M.removeChild(z):z.value=z.value.slice(1)}})}function oe(T){let M=z=>z.type==="element"&&z.prev&&z.prev.type==="ieConditionalStartComment"&&z.prev.sourceSpan.end.offset===z.startSourceSpan.start.offset&&z.firstChild&&z.firstChild.type==="ieConditionalEndComment"&&z.firstChild.sourceSpan.start.offset===z.startSourceSpan.end.offset;T.walk(z=>{if(z.children)for(let se=0;se<z.children.length;se++){let K=z.children[se];if(!M(K))continue;let ee=K.prev,we=K.firstChild;z.removeChild(ee),se--;let je=new l(ee.sourceSpan.start,we.sourceSpan.end),$e=new l(je.start,K.sourceSpan.end);K.condition=ee.condition,K.sourceSpan=$e,K.startSourceSpan=je,K.removeChild(we)}})}function H(T,M,z){T.walk(se=>{if(se.children)for(let K=0;K<se.children.length;K++){let ee=se.children[K];if(ee.type!=="text"&&!M(ee))continue;ee.type!=="text"&&(ee.type="text",ee.value=z(ee));let we=ee.prev;!we||we.type!=="text"||(we.value+=ee.value,we.sourceSpan=new l(we.sourceSpan.start,ee.sourceSpan.end),se.removeChild(ee),K--)}})}function G(T){return H(T,M=>M.type==="cdata",M=>`<![CDATA[${M.value}]]>`)}function ne(T){let M=z=>z.type==="element"&&z.attrs.length===0&&z.children.length===1&&z.firstChild.type==="text"&&!d(z.children[0].value)&&!z.firstChild.hasLeadingSpaces&&!z.firstChild.hasTrailingSpaces&&z.isLeadingSpaceSensitive&&!z.hasLeadingSpaces&&z.isTrailingSpaceSensitive&&!z.hasTrailingSpaces&&z.prev&&z.prev.type==="text"&&z.next&&z.next.type==="text";T.walk(z=>{if(z.children)for(let se=0;se<z.children.length;se++){let K=z.children[se];if(!M(K))continue;let ee=K.prev,we=K.next;ee.value+=`<${K.rawName}>`+K.firstChild.value+`</${K.rawName}>`+we.value,ee.sourceSpan=new l(ee.sourceSpan.start,we.sourceSpan.end),ee.isTrailingSpaceSensitive=we.isTrailingSpaceSensitive,ee.hasTrailingSpaces=we.hasTrailingSpaces,z.removeChild(K),se--,z.removeChild(we)}})}function me(T,M){if(M.parser==="html")return;let z=/{{(.+?)}}/s;T.walk(se=>{if(y(se))for(let K of se.children){if(K.type!=="text")continue;let ee=K.sourceSpan.start,we=null,je=K.value.split(z);for(let $e=0;$e<je.length;$e++,ee=we){let Le=je[$e];if($e%2===0){we=ee.moveBy(Le.length),Le.length>0&&se.insertChildBefore(K,{type:"text",value:Le,sourceSpan:new l(ee,we)});continue}we=ee.moveBy(Le.length+4),se.insertChildBefore(K,{type:"interpolation",sourceSpan:new l(ee,we),children:Le.length===0?[]:[{type:"text",value:Le,sourceSpan:new l(ee.moveBy(2),we.moveBy(-2))}]})}se.removeChild(K)}})}function he(T){T.walk(M=>{if(!M.children)return;if(M.children.length===0||M.children.length===1&&M.children[0].type==="text"&&f(M.children[0].value).length===0){M.hasDanglingSpaces=M.children.length>0,M.children=[];return}let z=L(M),se=A(M);if(!z)for(let K=0;K<M.children.length;K++){let ee=M.children[K];if(ee.type!=="text")continue;let{leadingWhitespace:we,text:je,trailingWhitespace:$e}=m(ee.value),Le=ee.prev,rt=ee.next;je?(ee.value=je,ee.sourceSpan=new l(ee.sourceSpan.start.moveBy(we.length),ee.sourceSpan.end.moveBy(-$e.length)),we&&(Le&&(Le.hasTrailingSpaces=!0),ee.hasLeadingSpaces=!0),$e&&(ee.hasTrailingSpaces=!0,rt&&(rt.hasLeadingSpaces=!0))):(M.removeChild(ee),K--,(we||$e)&&(Le&&(Le.hasTrailingSpaces=!0),rt&&(rt.hasLeadingSpaces=!0)))}M.isWhitespaceSensitive=z,M.isIndentationSensitive=se})}function ze(T){T.walk(M=>{M.isSelfClosing=!M.children||M.type==="element"&&(M.tagDefinition.isVoid||M.startSourceSpan===M.endSourceSpan)})}function O(T,M){T.walk(z=>{z.type==="element"&&(z.hasHtmComponentClosingTag=z.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(M.originalText.slice(z.endSourceSpan.start.offset,z.endSourceSpan.end.offset)))})}function Q(T,M){T.walk(z=>{z.cssDisplay=v(z,M)})}function I(T,M){T.walk(z=>{let{children:se}=z;if(se){if(se.length===0){z.isDanglingSpaceSensitive=C(z);return}for(let K of se)K.isLeadingSpaceSensitive=B(K,M),K.isTrailingSpaceSensitive=N(K,M);for(let K=0;K<se.length;K++){let ee=se[K];ee.isLeadingSpaceSensitive=(K===0||ee.prev.isTrailingSpaceSensitive)&&ee.isLeadingSpaceSensitive,ee.isTrailingSpaceSensitive=(K===se.length-1||ee.next.isLeadingSpaceSensitive)&&ee.isTrailingSpaceSensitive}}})}function U(T,M){if(M.parser==="vue"){let z=T.children.find(K=>P(K,M));if(!z)return;let{lang:se}=z.attrMap;(se==="ts"||se==="typescript")&&(M.__should_parse_vue_template_with_ts=!0)}}a.exports=R}}),jr=Be({"src/language-html/pragma.js"(r,a){at();function l(m){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(m)}function f(m){return`<!-- @format -->
131
-
132
- `+m.replace(/^\s*\n/,"")}a.exports={hasPragma:l,insertPragma:f}}}),Is=Be({"src/language-html/loc.js"(r,a){at();function l(m){return m.sourceSpan.start.offset}function f(m){return m.sourceSpan.end.offset}a.exports={locStart:l,locEnd:f}}}),Yi=Be({"src/language-html/print/tag.js"(r,a){at();var l=si(),{isNonEmptyArray:f}=Pi(),{builders:{indent:m,join:d,line:y,softline:v,hardline:C},utils:{replaceTextEndOfLine:A}}=xi(),{locStart:B,locEnd:N}=Is(),{isTextLikeNode:L,getLastDescendant:P,isPreLikeNode:_,hasPrettierIgnore:R,shouldPreserveContent:J,isVueSfcBlock:oe}=li();function H(Se,yt){return[Se.isSelfClosing?"":G(Se,yt),ne(Se,yt)]}function G(Se,yt){return Se.lastChild&&T(Se.lastChild)?"":[me(Se,yt),ze(Se,yt)]}function ne(Se,yt){return(Se.next?I(Se.next):U(Se.parent))?"":[O(Se,yt),he(Se,yt)]}function me(Se,yt){return U(Se)?O(Se.lastChild,yt):""}function he(Se,yt){return T(Se)?ze(Se.parent,yt):M(Se)?Le(Se.next):""}function ze(Se,yt){if(l(!Se.isSelfClosing),Q(Se,yt))return"";switch(Se.type){case"ieConditionalComment":return"<!";case"element":if(Se.hasHtmComponentClosingTag)return"<//";default:return`</${Se.rawName}`}}function O(Se,yt){if(Q(Se,yt))return"";switch(Se.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(Se.isSelfClosing)return"/>";default:return">"}}function Q(Se,yt){return!Se.isSelfClosing&&!Se.endSourceSpan&&(R(Se)||J(Se.parent,yt))}function I(Se){return Se.prev&&Se.prev.type!=="docType"&&!L(Se.prev)&&Se.isLeadingSpaceSensitive&&!Se.hasLeadingSpaces}function U(Se){return Se.lastChild&&Se.lastChild.isTrailingSpaceSensitive&&!Se.lastChild.hasTrailingSpaces&&!L(P(Se.lastChild))&&!_(Se)}function T(Se){return!Se.next&&!Se.hasTrailingSpaces&&Se.isTrailingSpaceSensitive&&L(P(Se))}function M(Se){return Se.next&&!L(Se.next)&&L(Se)&&Se.isTrailingSpaceSensitive&&!Se.hasTrailingSpaces}function z(Se){let yt=Se.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return yt?yt[1]?yt[1].split(/\s+/):!0:!1}function se(Se){return!Se.prev&&Se.isLeadingSpaceSensitive&&!Se.hasLeadingSpaces}function K(Se,yt,Ue){let Pe=Se.getValue();if(!f(Pe.attrs))return Pe.isSelfClosing?" ":"";let mt=Pe.prev&&Pe.prev.type==="comment"&&z(Pe.prev.value),Ht=typeof mt=="boolean"?()=>mt:Array.isArray(mt)?qt=>mt.includes(qt.rawName):()=>!1,xt=Se.map(qt=>{let Yt=qt.getValue();return Ht(Yt)?A(yt.originalText.slice(B(Yt),N(Yt))):Ue()},"attrs"),Zt=Pe.type==="element"&&Pe.fullName==="script"&&Pe.attrs.length===1&&Pe.attrs[0].fullName==="src"&&Pe.children.length===0,He=yt.singleAttributePerLine&&Pe.attrs.length>1&&!oe(Pe,yt)?C:y,lt=[m([Zt?" ":y,d(He,xt)])];return Pe.firstChild&&se(Pe.firstChild)||Pe.isSelfClosing&&U(Pe.parent)||Zt?lt.push(Pe.isSelfClosing?" ":""):lt.push(yt.bracketSameLine?Pe.isSelfClosing?" ":"":Pe.isSelfClosing?y:v),lt}function ee(Se){return Se.firstChild&&se(Se.firstChild)?"":rt(Se)}function we(Se,yt,Ue){let Pe=Se.getValue();return[je(Pe,yt),K(Se,yt,Ue),Pe.isSelfClosing?"":ee(Pe)]}function je(Se,yt){return Se.prev&&M(Se.prev)?"":[$e(Se,yt),Le(Se)]}function $e(Se,yt){return se(Se)?rt(Se.parent):I(Se)?O(Se.prev,yt):""}function Le(Se){switch(Se.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${Se.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(Se.condition)return`<!--[if ${Se.condition}]><!--><${Se.rawName}`;default:return`<${Se.rawName}`}}function rt(Se){switch(l(!Se.isSelfClosing),Se.type){case"ieConditionalComment":return"]>";case"element":if(Se.condition)return"><!--<![endif]-->";default:return">"}}a.exports={printClosingTag:H,printClosingTagStart:G,printClosingTagStartMarker:ze,printClosingTagEndMarker:O,printClosingTagSuffix:he,printClosingTagEnd:ne,needsToBorrowLastChildClosingTagEndMarker:U,needsToBorrowParentClosingTagStartMarker:T,needsToBorrowPrevClosingTagEndMarker:I,printOpeningTag:we,printOpeningTagStart:je,printOpeningTagPrefix:$e,printOpeningTagStartMarker:Le,printOpeningTagEndMarker:rt,needsToBorrowNextOpeningTagStartMarker:M,needsToBorrowParentOpeningTagEndMarker:se}}}),Ss=Be({"node_modules/parse-srcset/src/parse-srcset.js"(r,a){at(),function(l,f){typeof a=="object"&&a.exports?a.exports=f():l.parseSrcset=f()}(r,function(){return function(l,f){var m=f&&f.logger||console;function d(ze){return ze===" "||ze===" "||ze===`
133
- `||ze==="\f"||ze==="\r"}function y(ze){var O,Q=ze.exec(l.substring(G));if(Q)return O=Q[0],G+=O.length,O}for(var v=l.length,C=/^[ \t\n\r\u000c]+/,A=/^[, \t\n\r\u000c]+/,B=/^[^ \t\n\r\u000c]+/,N=/[,]+$/,L=/^\d+$/,P=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_,R,J,oe,H,G=0,ne=[];;){if(y(A),G>=v)return ne;_=y(B),R=[],_.slice(-1)===","?(_=_.replace(N,""),he()):me()}function me(){for(y(C),J="",oe="in descriptor";;){if(H=l.charAt(G),oe==="in descriptor")if(d(H))J&&(R.push(J),J="",oe="after descriptor");else if(H===","){G+=1,J&&R.push(J),he();return}else if(H==="(")J=J+H,oe="in parens";else if(H===""){J&&R.push(J),he();return}else J=J+H;else if(oe==="in parens")if(H===")")J=J+H,oe="in descriptor";else if(H===""){R.push(J),he();return}else J=J+H;else if(oe==="after descriptor"&&!d(H))if(H===""){he();return}else oe="in descriptor",G-=1;G+=1}}function he(){var ze=!1,O,Q,I,U,T={},M,z,se,K,ee;for(U=0;U<R.length;U++)M=R[U],z=M[M.length-1],se=M.substring(0,M.length-1),K=parseInt(se,10),ee=parseFloat(se),L.test(se)&&z==="w"?((O||Q)&&(ze=!0),K===0?ze=!0:O=K):P.test(se)&&z==="x"?((O||Q||I)&&(ze=!0),ee<0?ze=!0:Q=ee):L.test(se)&&z==="h"?((I||Q)&&(ze=!0),K===0?ze=!0:I=K):ze=!0;ze?m&&m.error&&m.error("Invalid srcset descriptor found in '"+l+"' at '"+M+"'."):(T.url=_,O&&(T.w=O),Q&&(T.d=Q),I&&(T.h=I),ne.push(T))}}})}}),Li=Be({"src/language-html/syntax-attribute.js"(r,a){at();var l=Ss(),{builders:{ifBreak:f,join:m,line:d}}=xi();function y(C){let A=l(C,{logger:{error(me){throw new Error(me)}}}),B=A.some(me=>{let{w:he}=me;return he}),N=A.some(me=>{let{h:he}=me;return he}),L=A.some(me=>{let{d:he}=me;return he});if(B+N+L>1)throw new Error("Mixed descriptor in srcset is not supported");let P=B?"w":N?"h":"d",_=B?"w":N?"h":"x",R=me=>Math.max(...me),J=A.map(me=>me.url),oe=R(J.map(me=>me.length)),H=A.map(me=>me[P]).map(me=>me?me.toString():""),G=H.map(me=>{let he=me.indexOf(".");return he===-1?me.length:he}),ne=R(G);return m([",",d],J.map((me,he)=>{let ze=[me],O=H[he];if(O){let Q=oe-me.length+1,I=ne-G[he],U=" ".repeat(Q+I);ze.push(f(U," "),O+_)}return ze}))}function v(C){return C.trim().split(/\s+/).join(" ")}a.exports={printImgSrcset:y,printClassNames:v}}}),zi=Be({"src/language-html/syntax-vue.js"(r,a){at();var{builders:{group:l}}=xi();function f(v,C){let{left:A,operator:B,right:N}=m(v);return[l(C(`function _(${A}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",B," ",C(N,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function m(v){let C=/(.*?)\s+(in|of)\s+(.*)/s,A=/,([^,\]}]*)(?:,([^,\]}]*))?$/,B=/^\(|\)$/g,N=v.match(C);if(!N)return;let L={};if(L.for=N[3].trim(),!L.for)return;let P=N[1].trim().replace(B,""),_=P.match(A);_?(L.alias=P.replace(A,""),L.iterator1=_[1].trim(),_[2]&&(L.iterator2=_[2].trim())):L.alias=P;let R=[L.alias,L.iterator1,L.iterator2];if(!R.some((J,oe)=>!J&&(oe===0||R.slice(oe+1).some(Boolean))))return{left:R.filter(Boolean).join(","),operator:N[2],right:L.for}}function d(v,C){return C(`function _(${v}) {}`,{parser:"babel",__isVueBindings:!0})}function y(v){let C=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,A=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,B=v.trim();return C.test(B)||A.test(B)}a.exports={isVueEventBindingExpression:y,printVueFor:f,printVueBindings:d}}}),Zn=Be({"src/language-html/get-node-content.js"(r,a){at();var{needsToBorrowParentClosingTagStartMarker:l,printClosingTagStartMarker:f,needsToBorrowLastChildClosingTagEndMarker:m,printClosingTagEndMarker:d,needsToBorrowParentOpeningTagEndMarker:y,printOpeningTagEndMarker:v}=Yi();function C(A,B){let N=A.startSourceSpan.end.offset;A.firstChild&&y(A.firstChild)&&(N-=v(A).length);let L=A.endSourceSpan.start.offset;return A.lastChild&&l(A.lastChild)?L+=f(A,B).length:m(A)&&(L-=d(A.lastChild,B).length),B.originalText.slice(N,L)}a.exports=C}}),Ni=Be({"src/language-html/embed.js"(r,a){at();var{builders:{breakParent:l,group:f,hardline:m,indent:d,line:y,fill:v,softline:C},utils:{mapDoc:A,replaceTextEndOfLine:B}}=xi(),N=Xo(),{printClosingTag:L,printClosingTagSuffix:P,needsToBorrowPrevClosingTagEndMarker:_,printOpeningTagPrefix:R,printOpeningTag:J}=Yi(),{printImgSrcset:oe,printClassNames:H}=Li(),{printVueFor:G,printVueBindings:ne,isVueEventBindingExpression:me}=zi(),{isScriptLikeTag:he,isVueNonHtmlBlock:ze,inferScriptParser:O,htmlTrimPreserveIndentation:Q,dedentString:I,unescapeQuoteEntities:U,isVueSlotAttribute:T,isVueSfcBindingsAttribute:M,getTextValueParts:z}=li(),se=Zn();function K(we,je,$e){let Le=xt=>new RegExp(xt.join("|")).test(we.fullName),rt=()=>U(we.value),Se=!1,yt=(xt,Zt)=>{let He=xt.type==="NGRoot"?xt.node.type==="NGMicrosyntax"&&xt.node.body.length===1&&xt.node.body[0].type==="NGMicrosyntaxExpression"?xt.node.body[0].expression:xt.node:xt.type==="JsExpressionRoot"?xt.node:xt;He&&(He.type==="ObjectExpression"||He.type==="ArrayExpression"||Zt.parser==="__vue_expression"&&(He.type==="TemplateLiteral"||He.type==="StringLiteral"))&&(Se=!0)},Ue=xt=>f(xt),Pe=function(xt){let Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return f([d([C,xt]),Zt?C:""])},mt=xt=>Se?Ue(xt):Pe(xt),Ht=(xt,Zt)=>je(xt,Object.assign({__onHtmlBindingRoot:yt,__embeddedInHtml:!0},Zt));if(we.fullName==="srcset"&&(we.parent.fullName==="img"||we.parent.fullName==="source"))return Pe(oe(rt()));if(we.fullName==="class"&&!$e.parentParser){let xt=rt();if(!xt.includes("{{"))return H(xt)}if(we.fullName==="style"&&!$e.parentParser){let xt=rt();if(!xt.includes("{{"))return Pe(Ht(xt,{parser:"css",__isHTMLStyleAttribute:!0}))}if($e.parser==="vue"){if(we.fullName==="v-for")return G(rt(),Ht);if(T(we)||M(we,$e))return ne(rt(),Ht);let xt=["^@","^v-on:"],Zt=["^:","^v-bind:"],He=["^v-"];if(Le(xt)){let lt=rt(),qt=me(lt)?"__js_expression":$e.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return mt(Ht(lt,{parser:qt}))}if(Le(Zt))return mt(Ht(rt(),{parser:"__vue_expression"}));if(Le(He))return mt(Ht(rt(),{parser:"__js_expression"}))}if($e.parser==="angular"){let xt=(ht,Ye)=>Ht(ht,Object.assign(Object.assign({},Ye),{},{trailingComma:"none"})),Zt=["^\\*"],He=["^\\(.+\\)$","^on-"],lt=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],qt=["^i18n(-.+)?$"];if(Le(He))return mt(xt(rt(),{parser:"__ng_action"}));if(Le(lt))return mt(xt(rt(),{parser:"__ng_binding"}));if(Le(qt)){let ht=rt().trim();return Pe(v(z(we,ht)),!ht.includes("@@"))}if(Le(Zt))return mt(xt(rt(),{parser:"__ng_directive"}));let Yt=/{{(.+?)}}/s,wn=rt();if(Yt.test(wn)){let ht=[];for(let[Ye,Dt]of wn.split(Yt).entries())if(Ye%2===0)ht.push(B(Dt));else try{ht.push(f(["{{",d([y,xt(Dt,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),y,"}}"]))}catch{ht.push("{{",B(Dt),"}}")}return f(ht)}}return null}function ee(we,je,$e,Le){let rt=we.getValue();switch(rt.type){case"element":{if(he(rt)||rt.type==="interpolation")return;if(!rt.isSelfClosing&&ze(rt,Le)){let Se=O(rt,Le);if(!Se)return;let yt=se(rt,Le),Ue=/^\s*$/.test(yt),Pe="";return Ue||(Pe=$e(Q(yt),{parser:Se,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Ue=Pe===""),[R(rt,Le),f(J(we,Le,je)),Ue?"":m,Pe,Ue?"":m,L(rt,Le),P(rt,Le)]}break}case"text":{if(he(rt.parent)){let Se=O(rt.parent,Le);if(Se){let yt=Se==="markdown"?I(rt.value.replace(/^[^\S\n]*\n/,"")):rt.value,Ue={parser:Se,__embeddedInHtml:!0};if(Le.parser==="html"&&Se==="babel"){let Pe="script",{attrMap:mt}=rt.parent;mt&&(mt.type==="module"||mt.type==="text/babel"&&mt["data-type"]==="module")&&(Pe="module"),Ue.__babelSourceType=Pe}return[l,R(rt,Le),$e(yt,Ue,{stripTrailingHardline:!0}),P(rt,Le)]}}else if(rt.parent.type==="interpolation"){let Se={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return Le.parser==="angular"?(Se.parser="__ng_interpolation",Se.trailingComma="none"):Le.parser==="vue"?Se.parser=Le.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":Se.parser="__js_expression",[d([y,$e(rt.value,Se,{stripTrailingHardline:!0})]),rt.parent.next&&_(rt.parent.next)?" ":y]}break}case"attribute":{if(!rt.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(Le.originalText.slice(rt.valueSpan.start.offset,rt.valueSpan.end.offset)))return[rt.rawName,"=",rt.value];if(Le.parser==="lwc"&&/^{.*}$/s.test(Le.originalText.slice(rt.valueSpan.start.offset,rt.valueSpan.end.offset)))return[rt.rawName,"=",rt.value];let Se=K(rt,(yt,Ue)=>$e(yt,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Ue),{stripTrailingHardline:!0}),Le);if(Se)return[rt.rawName,'="',f(A(Se,yt=>typeof yt=="string"?yt.replace(/"/g,"&quot;"):yt)),'"'];break}case"front-matter":return N(rt,$e)}}a.exports=ee}}),vi=Be({"src/language-html/print/children.js"(r,a){at();var{builders:{breakParent:l,group:f,ifBreak:m,line:d,softline:y,hardline:v},utils:{replaceTextEndOfLine:C}}=xi(),{locStart:A,locEnd:B}=Is(),{forceBreakChildren:N,forceNextEmptyLine:L,isTextLikeNode:P,hasPrettierIgnore:_,preferHardlineAsLeadingSpaces:R}=li(),{printOpeningTagPrefix:J,needsToBorrowNextOpeningTagStartMarker:oe,printOpeningTagStartMarker:H,needsToBorrowPrevClosingTagEndMarker:G,printClosingTagEndMarker:ne,printClosingTagSuffix:me,needsToBorrowParentClosingTagStartMarker:he}=Yi();function ze(I,U,T){let M=I.getValue();return _(M)?[J(M,U),...C(U.originalText.slice(A(M)+(M.prev&&oe(M.prev)?H(M).length:0),B(M)-(M.next&&G(M.next)?ne(M,U).length:0))),me(M,U)]:T()}function O(I,U){return P(I)&&P(U)?I.isTrailingSpaceSensitive?I.hasTrailingSpaces?R(U)?v:d:"":R(U)?v:y:oe(I)&&(_(U)||U.firstChild||U.isSelfClosing||U.type==="element"&&U.attrs.length>0)||I.type==="element"&&I.isSelfClosing&&G(U)?"":!U.isLeadingSpaceSensitive||R(U)||G(U)&&I.lastChild&&he(I.lastChild)&&I.lastChild.lastChild&&he(I.lastChild.lastChild)?v:U.hasLeadingSpaces?d:y}function Q(I,U,T){let M=I.getValue();if(N(M))return[l,...I.map(se=>{let K=se.getValue(),ee=K.prev?O(K.prev,K):"";return[ee?[ee,L(K.prev)?v:""]:"",ze(se,U,T)]},"children")];let z=M.children.map(()=>Symbol(""));return I.map((se,K)=>{let ee=se.getValue();if(P(ee)){if(ee.prev&&P(ee.prev)){let yt=O(ee.prev,ee);if(yt)return L(ee.prev)?[v,v,ze(se,U,T)]:[yt,ze(se,U,T)]}return ze(se,U,T)}let we=[],je=[],$e=[],Le=[],rt=ee.prev?O(ee.prev,ee):"",Se=ee.next?O(ee,ee.next):"";return rt&&(L(ee.prev)?we.push(v,v):rt===v?we.push(v):P(ee.prev)?je.push(rt):je.push(m("",y,{groupId:z[K-1]}))),Se&&(L(ee)?P(ee.next)&&Le.push(v,v):Se===v?P(ee.next)&&Le.push(v):$e.push(Se)),[...we,f([...je,f([ze(se,U,T),...$e],{id:z[K]})]),...Le]},"children")}a.exports={printChildren:Q}}}),Ti=Be({"src/language-html/print/element.js"(r,a){at();var{builders:{breakParent:l,dedentToRoot:f,group:m,ifBreak:d,indentIfBreak:y,indent:v,line:C,softline:A},utils:{replaceTextEndOfLine:B}}=xi(),N=Zn(),{shouldPreserveContent:L,isScriptLikeTag:P,isVueCustomBlock:_,countParents:R,forceBreakContent:J}=li(),{printOpeningTagPrefix:oe,printOpeningTag:H,printClosingTagSuffix:G,printClosingTag:ne,needsToBorrowPrevClosingTagEndMarker:me,needsToBorrowLastChildClosingTagEndMarker:he}=Yi(),{printChildren:ze}=vi();function O(Q,I,U){let T=Q.getValue();if(L(T,I))return[oe(T,I),m(H(Q,I,U)),...B(N(T,I)),...ne(T,I),G(T,I)];let M=T.children.length===1&&T.firstChild.type==="interpolation"&&T.firstChild.isLeadingSpaceSensitive&&!T.firstChild.hasLeadingSpaces&&T.lastChild.isTrailingSpaceSensitive&&!T.lastChild.hasTrailingSpaces,z=Symbol("element-attr-group-id"),se=je=>m([m(H(Q,I,U),{id:z}),je,ne(T,I)]),K=je=>M?y(je,{groupId:z}):(P(T)||_(T,I))&&T.parent.type==="root"&&I.parser==="vue"&&!I.vueIndentScriptAndStyle?je:v(je),ee=()=>M?d(A,"",{groupId:z}):T.firstChild.hasLeadingSpaces&&T.firstChild.isLeadingSpaceSensitive?C:T.firstChild.type==="text"&&T.isWhitespaceSensitive&&T.isIndentationSensitive?f(A):A,we=()=>(T.next?me(T.next):he(T.parent))?T.lastChild.hasTrailingSpaces&&T.lastChild.isTrailingSpaceSensitive?" ":"":M?d(A,"",{groupId:z}):T.lastChild.hasTrailingSpaces&&T.lastChild.isTrailingSpaceSensitive?C:(T.lastChild.type==="comment"||T.lastChild.type==="text"&&T.isWhitespaceSensitive&&T.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${I.tabWidth*R(Q,je=>je.parent&&je.parent.type!=="root")}}$`).test(T.lastChild.value)?"":A;return T.children.length===0?se(T.hasDanglingSpaces&&T.isDanglingSpaceSensitive?C:""):se([J(T)?l:"",K([ee(),ze(Q,I,U)]),we()])}a.exports={printElement:O}}}),Wt=Be({"src/language-html/printer-html.js"(r,a){at();var{builders:{fill:l,group:f,hardline:m,literalline:d},utils:{cleanDoc:y,getDocParts:v,isConcat:C,replaceTextEndOfLine:A}}=xi(),B=zn(),{countChars:N,unescapeQuoteEntities:L,getTextValueParts:P}=li(),_=Cn(),{insertPragma:R}=jr(),{locStart:J,locEnd:oe}=Is(),H=Ni(),{printClosingTagSuffix:G,printClosingTagEnd:ne,printOpeningTagPrefix:me,printOpeningTagStart:he}=Yi(),{printElement:ze}=Ti(),{printChildren:O}=vi();function Q(I,U,T){let M=I.getValue();switch(M.type){case"front-matter":return A(M.raw);case"root":return U.__onHtmlRoot&&U.__onHtmlRoot(M),[f(O(I,U,T)),m];case"element":case"ieConditionalComment":return ze(I,U,T);case"ieConditionalStartComment":case"ieConditionalEndComment":return[he(M),ne(M)];case"interpolation":return[he(M,U),...I.map(T,"children"),ne(M,U)];case"text":{if(M.parent.type==="interpolation"){let se=/\n[^\S\n]*$/,K=se.test(M.value),ee=K?M.value.replace(se,""):M.value;return[...A(ee),K?m:""]}let z=y([me(M,U),...P(M),G(M,U)]);return C(z)||z.type==="fill"?l(v(z)):z}case"docType":return[f([he(M,U)," ",M.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),ne(M,U)];case"comment":return[me(M,U),...A(U.originalText.slice(J(M),oe(M)),d),G(M,U)];case"attribute":{if(M.value===null)return M.rawName;let z=L(M.value),se=N(z,"'"),K=N(z,'"'),ee=se<K?"'":'"';return[M.rawName,"=",ee,...A(ee==='"'?z.replace(/"/g,"&quot;"):z.replace(/'/g,"&apos;")),ee]}default:throw new Error(`Unexpected node type ${M.type}`)}}a.exports={preprocess:_,print:Q,insertPragma:R,massageAstNode:B,embed:H}}}),Ar=Be({"src/language-html/options.js"(r,a){at();var l=Jo(),f="HTML";a.exports={bracketSameLine:l.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:f,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:l.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:f,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),Br=Be({"src/language-html/parsers.js"(){at()}}),_n=Be({"node_modules/linguist-languages/data/HTML.json"(r,a){a.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}}}),Lt=Be({"node_modules/linguist-languages/data/Vue.json"(r,a){a.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),ii=Be({"src/language-html/index.js"(r,a){at();var l=Ka(),f=Wt(),m=Ar(),d=Br(),y=[l(_n(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),l(_n(),C=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...C.extensions,".mjml"]})),l(_n(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),l(Lt(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],v={html:f};a.exports={languages:y,printers:v,options:m,parsers:d}}}),Yn=Be({"src/language-yaml/pragma.js"(r,a){at();function l(d){return/^\s*@(?:prettier|format)\s*$/.test(d)}function f(d){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(d)}function m(d){return`# @format
134
-
135
- ${d}`}a.exports={isPragma:l,hasPragma:f,insertPragma:m}}}),Ys=Be({"src/language-yaml/loc.js"(r,a){at();function l(m){return m.position.start.offset}function f(m){return m.position.end.offset}a.exports={locStart:l,locEnd:f}}}),zs=Be({"src/language-yaml/embed.js"(r,a){at();function l(f,m,d,y){if(f.getValue().type==="root"&&y.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(y.filepath))return d(y.originalText,Object.assign(Object.assign({},y),{},{parser:"json"}))}a.exports=l}}),Qs=Be({"src/language-yaml/utils.js"(r,a){at();var{getLast:l,isNonEmptyArray:f}=Pi();function m(O,Q){let I=0,U=O.stack.length-1;for(let T=0;T<U;T++){let M=O.stack[T];d(M)&&Q(M)&&I++}return I}function d(O,Q){return O&&typeof O.type=="string"&&(!Q||Q.includes(O.type))}function y(O,Q,I){return Q("children"in O?Object.assign(Object.assign({},O),{},{children:O.children.map(U=>y(U,Q,O))}):O,I)}function v(O,Q,I){Object.defineProperty(O,Q,{get:I,enumerable:!1})}function C(O,Q){let I=0,U=Q.length;for(let T=O.position.end.offset-1;T<U;T++){let M=Q[T];if(M===`
136
- `&&I++,I===1&&/\S/.test(M))return!1;if(I===2)return!0}return!1}function A(O){switch(O.getValue().type){case"tag":case"anchor":case"comment":return!1}let Q=O.stack.length;for(let I=1;I<Q;I++){let U=O.stack[I],T=O.stack[I-1];if(Array.isArray(T)&&typeof U=="number"&&U!==T.length-1)return!1}return!0}function B(O){return f(O.children)?B(l(O.children)):O}function N(O){return O.value.trim()==="prettier-ignore"}function L(O){let Q=O.getValue();if(Q.type==="documentBody"){let I=O.getParentNode();return G(I.head)&&N(l(I.head.endComments))}return R(Q)&&N(l(Q.leadingComments))}function P(O){return!f(O.children)&&!_(O)}function _(O){return R(O)||J(O)||oe(O)||H(O)||G(O)}function R(O){return f(O==null?void 0:O.leadingComments)}function J(O){return f(O==null?void 0:O.middleComments)}function oe(O){return O==null?void 0:O.indicatorComment}function H(O){return O==null?void 0:O.trailingComment}function G(O){return f(O==null?void 0:O.endComments)}function ne(O){let Q=[],I;for(let U of O.split(/( +)/))U!==" "?I===" "?Q.push(U):Q.push((Q.pop()||"")+U):I===void 0&&Q.unshift(""),I=U;return I===" "&&Q.push((Q.pop()||"")+" "),Q[0]===""&&(Q.shift(),Q.unshift(" "+(Q.shift()||""))),Q}function me(O,Q,I){let U=Q.split(`
137
- `).map((T,M,z)=>M===0&&M===z.length-1?T:M!==0&&M!==z.length-1?T.trim():M===0?T.trimEnd():T.trimStart());return I.proseWrap==="preserve"?U.map(T=>T.length===0?[]:[T]):U.map(T=>T.length===0?[]:ne(T)).reduce((T,M,z)=>z!==0&&U[z-1].length>0&&M.length>0&&!(O==="quoteDouble"&&l(l(T)).endsWith("\\"))?[...T.slice(0,-1),[...l(T),...M]]:[...T,M],[]).map(T=>I.proseWrap==="never"?[T.join(" ")]:T)}function he(O,Q){let{parentIndent:I,isLastDescendant:U,options:T}=Q,M=O.position.start.line===O.position.end.line?"":T.originalText.slice(O.position.start.offset,O.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],z;if(O.indent===null){let ee=M.match(/^(?<leadingSpace> *)[^\n\r ]/m);z=ee?ee.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else z=O.indent-1+I;let se=M.split(`
138
- `).map(ee=>ee.slice(z));if(T.proseWrap==="preserve"||O.type==="blockLiteral")return K(se.map(ee=>ee.length===0?[]:[ee]));return K(se.map(ee=>ee.length===0?[]:ne(ee)).reduce((ee,we,je)=>je!==0&&se[je-1].length>0&&we.length>0&&!/^\s/.test(we[0])&&!/^\s|\s$/.test(l(ee))?[...ee.slice(0,-1),[...l(ee),...we]]:[...ee,we],[]).map(ee=>ee.reduce((we,je)=>we.length>0&&/\s$/.test(l(we))?[...we.slice(0,-1),l(we)+" "+je]:[...we,je],[])).map(ee=>T.proseWrap==="never"?[ee.join(" ")]:ee));function K(ee){if(O.chomping==="keep")return l(ee).length===0?ee.slice(0,-1):ee;let we=0;for(let je=ee.length-1;je>=0&&ee[je].length===0;je--)we++;return we===0?ee:we>=2&&!U?ee.slice(0,-(we-1)):ee.slice(0,-we)}}function ze(O){if(!O)return!0;switch(O.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}a.exports={getLast:l,getAncestorCount:m,isNode:d,isEmptyNode:P,isInlineNode:ze,mapNode:y,defineShortcut:v,isNextLineEmpty:C,isLastDescendantNode:A,getBlockValueLineContents:he,getFlowScalarLineContents:me,getLastDescendantNode:B,hasPrettierIgnore:L,hasLeadingComments:R,hasMiddleComments:J,hasIndicatorComment:oe,hasTrailingComment:H,hasEndComments:G}}}),fo=Be({"src/language-yaml/print-preprocess.js"(r,a){at();var{defineShortcut:l,mapNode:f}=Qs();function m(y){return f(y,d)}function d(y){switch(y.type){case"document":l(y,"head",()=>y.children[0]),l(y,"body",()=>y.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":l(y,"content",()=>y.children[0]);break;case"mappingItem":case"flowMappingItem":l(y,"key",()=>y.children[0]),l(y,"value",()=>y.children[1]);break}return y}a.exports=m}}),gs=Be({"src/language-yaml/print/misc.js"(r,a){at();var{builders:{softline:l,align:f}}=xi(),{hasEndComments:m,isNextLineEmpty:d,isNode:y}=Qs(),v=new WeakMap;function C(N,L){let P=N.getValue(),_=N.stack[0],R;return v.has(_)?R=v.get(_):(R=new Set,v.set(_,R)),!R.has(P.position.end.line)&&(R.add(P.position.end.line),d(P,L)&&!A(N.getParentNode()))?l:""}function A(N){return m(N)&&!y(N,["documentHead","documentBody","flowMapping","flowSequence"])}function B(N,L){return f(" ".repeat(N),L)}a.exports={alignWithSpaces:B,shouldPrintEndComments:A,printNextEmptyLine:C}}}),Us=Be({"src/language-yaml/print/flow-mapping-sequence.js"(r,a){at();var{builders:{ifBreak:l,line:f,softline:m,hardline:d,join:y}}=xi(),{isEmptyNode:v,getLast:C,hasEndComments:A}=Qs(),{printNextEmptyLine:B,alignWithSpaces:N}=gs();function L(_,R,J){let oe=_.getValue(),H=oe.type==="flowMapping",G=H?"{":"[",ne=H?"}":"]",me=m;H&&oe.children.length>0&&J.bracketSpacing&&(me=f);let he=C(oe.children),ze=he&&he.type==="flowMappingItem"&&v(he.key)&&v(he.value);return[G,N(J.tabWidth,[me,P(_,R,J),J.trailingComma==="none"?"":l(","),A(oe)?[d,y(d,_.map(R,"endComments"))]:""]),ze?"":me,ne]}function P(_,R,J){let oe=_.getValue();return _.map((H,G)=>[R(),G===oe.children.length-1?"":[",",f,oe.children[G].position.start.line!==oe.children[G+1].position.start.line?B(H,J.originalText):""]],"children")}a.exports={printFlowMapping:L,printFlowSequence:L}}}),Aa=Be({"src/language-yaml/print/mapping-item.js"(r,a){at();var{builders:{conditionalGroup:l,group:f,hardline:m,ifBreak:d,join:y,line:v}}=xi(),{hasLeadingComments:C,hasMiddleComments:A,hasTrailingComment:B,hasEndComments:N,isNode:L,isEmptyNode:P,isInlineNode:_}=Qs(),{alignWithSpaces:R}=gs();function J(ne,me,he,ze,O){let{key:Q,value:I}=ne,U=P(Q),T=P(I);if(U&&T)return": ";let M=ze("key"),z=H(ne)?" ":"";if(T)return ne.type==="flowMappingItem"&&me.type==="flowMapping"?M:ne.type==="mappingItem"&&oe(Q.content,O)&&!B(Q.content)&&(!me.tag||me.tag.value!=="tag:yaml.org,2002:set")?[M,z,":"]:["? ",R(2,M)];let se=ze("value");if(U)return[": ",R(2,se)];if(C(I)||!_(Q.content))return["? ",R(2,M),m,y("",he.map(ze,"value","leadingComments").map(Le=>[Le,m])),": ",R(2,se)];if(G(Q.content)&&!C(Q.content)&&!A(Q.content)&&!B(Q.content)&&!N(Q)&&!C(I.content)&&!A(I.content)&&!N(I)&&oe(I.content,O))return[M,z,": ",se];let K=Symbol("mappingKey"),ee=f([d("? "),f(R(2,M),{id:K})]),we=[m,": ",R(2,se)],je=[z,":"];C(I.content)||N(I)&&I.content&&!L(I.content,["mapping","sequence"])||me.type==="mapping"&&B(Q.content)&&_(I.content)||L(I.content,["mapping","sequence"])&&I.content.tag===null&&I.content.anchor===null?je.push(m):I.content&&je.push(v),je.push(se);let $e=R(O.tabWidth,je);return oe(Q.content,O)&&!C(Q.content)&&!A(Q.content)&&!N(Q)?l([[M,$e]]):l([[ee,d(we,$e,{groupId:K})]])}function oe(ne,me){if(!ne)return!0;switch(ne.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(me.proseWrap==="preserve")return ne.position.start.line===ne.position.end.line;if(/\\$/m.test(me.originalText.slice(ne.position.start.offset,ne.position.end.offset)))return!1;switch(me.proseWrap){case"never":return!ne.value.includes(`
139
- `);case"always":return!/[\n ]/.test(ne.value);default:return!1}}function H(ne){return ne.key.content&&ne.key.content.type==="alias"}function G(ne){if(!ne)return!0;switch(ne.type){case"plain":case"quoteDouble":case"quoteSingle":return ne.position.start.line===ne.position.end.line;case"alias":return!0;default:return!1}}a.exports=J}}),ua=Be({"src/language-yaml/print/block.js"(r,a){at();var{builders:{dedent:l,dedentToRoot:f,fill:m,hardline:d,join:y,line:v,literalline:C,markAsRoot:A},utils:{getDocParts:B}}=xi(),{getAncestorCount:N,getBlockValueLineContents:L,hasIndicatorComment:P,isLastDescendantNode:_,isNode:R}=Qs(),{alignWithSpaces:J}=gs();function oe(H,G,ne){let me=H.getValue(),he=N(H,U=>R(U,["sequence","mapping"])),ze=_(H),O=[me.type==="blockFolded"?">":"|"];me.indent!==null&&O.push(me.indent.toString()),me.chomping!=="clip"&&O.push(me.chomping==="keep"?"+":"-"),P(me)&&O.push(" ",G("indicatorComment"));let Q=L(me,{parentIndent:he,isLastDescendant:ze,options:ne}),I=[];for(let[U,T]of Q.entries())U===0&&I.push(d),I.push(m(B(y(v,T)))),U!==Q.length-1?I.push(T.length===0?d:A(C)):me.chomping==="keep"&&ze&&I.push(f(T.length===0?d:C));return me.indent===null?O.push(l(J(ne.tabWidth,I))):O.push(f(J(me.indent-1+he,I))),O}a.exports=oe}}),Hs=Be({"src/language-yaml/printer-yaml.js"(r,a){at();var{builders:{breakParent:l,fill:f,group:m,hardline:d,join:y,line:v,lineSuffix:C,literalline:A},utils:{getDocParts:B,replaceTextEndOfLine:N}}=xi(),{isPreviousLineEmpty:L}=Pi(),{insertPragma:P,isPragma:_}=Yn(),{locStart:R}=Ys(),J=zs(),{getFlowScalarLineContents:oe,getLastDescendantNode:H,hasLeadingComments:G,hasMiddleComments:ne,hasTrailingComment:me,hasEndComments:he,hasPrettierIgnore:ze,isLastDescendantNode:O,isNode:Q,isInlineNode:I}=Qs(),U=fo(),{alignWithSpaces:T,printNextEmptyLine:M,shouldPrintEndComments:z}=gs(),{printFlowMapping:se,printFlowSequence:K}=Us(),ee=Aa(),we=ua();function je(Pe,mt,Ht){let xt=Pe.getValue(),Zt=[];xt.type!=="mappingValue"&&G(xt)&&Zt.push([y(d,Pe.map(Ht,"leadingComments")),d]);let{tag:He,anchor:lt}=xt;He&&Zt.push(Ht("tag")),He&&lt&&Zt.push(" "),lt&&Zt.push(Ht("anchor"));let qt="";Q(xt,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!O(Pe)&&(qt=M(Pe,mt.originalText)),(He||lt)&&(Q(xt,["sequence","mapping"])&&!ne(xt)?Zt.push(d):Zt.push(" ")),ne(xt)&&Zt.push([xt.middleComments.length===1?"":d,y(d,Pe.map(Ht,"middleComments")),d]);let Yt=Pe.getParentNode();return ze(Pe)?Zt.push(N(mt.originalText.slice(xt.position.start.offset,xt.position.end.offset).trimEnd(),A)):Zt.push(m($e(xt,Yt,Pe,mt,Ht))),me(xt)&&!Q(xt,["document","documentHead"])&&Zt.push(C([xt.type==="mappingValue"&&!xt.content?"":" ",Yt.type==="mappingKey"&&Pe.getParentNode(2).type==="mapping"&&I(xt)?"":l,Ht("trailingComment")])),z(xt)&&Zt.push(T(xt.type==="sequenceItem"?2:0,[d,y(d,Pe.map(wn=>[L(mt.originalText,wn.getValue(),R)?d:"",Ht()],"endComments"))])),Zt.push(qt),Zt}function $e(Pe,mt,Ht,xt,Zt){switch(Pe.type){case"root":{let{children:He}=Pe,lt=[];Ht.each((Yt,wn)=>{let ht=He[wn],Ye=He[wn+1];wn!==0&&lt.push(d),lt.push(Zt()),rt(ht,Ye)?(lt.push(d,"..."),me(ht)&&lt.push(" ",Zt("trailingComment"))):Ye&&!me(Ye.head)&&lt.push(d,"---")},"children");let qt=H(Pe);return(!Q(qt,["blockLiteral","blockFolded"])||qt.chomping!=="keep")&&lt.push(d),lt}case"document":{let He=mt.children[Ht.getName()+1],lt=[];return Se(Pe,He,mt,xt)==="head"&&((Pe.head.children.length>0||Pe.head.endComments.length>0)&&lt.push(Zt("head")),me(Pe.head)?lt.push(["---"," ",Zt(["head","trailingComment"])]):lt.push("---")),Le(Pe)&&lt.push(Zt("body")),y(d,lt)}case"documentHead":return y(d,[...Ht.map(Zt,"children"),...Ht.map(Zt,"endComments")]);case"documentBody":{let{children:He,endComments:lt}=Pe,qt="";if(He.length>0&&lt.length>0){let Yt=H(Pe);Q(Yt,["blockFolded","blockLiteral"])?Yt.chomping!=="keep"&&(qt=[d,d]):qt=d}return[y(d,Ht.map(Zt,"children")),qt,y(d,Ht.map(Zt,"endComments"))]}case"directive":return["%",y(" ",[Pe.name,...Pe.parameters])];case"comment":return["#",Pe.value];case"alias":return["*",Pe.value];case"tag":return xt.originalText.slice(Pe.position.start.offset,Pe.position.end.offset);case"anchor":return["&",Pe.value];case"plain":return yt(Pe.type,xt.originalText.slice(Pe.position.start.offset,Pe.position.end.offset),xt);case"quoteDouble":case"quoteSingle":{let He="'",lt='"',qt=xt.originalText.slice(Pe.position.start.offset+1,Pe.position.end.offset-1);if(Pe.type==="quoteSingle"&&qt.includes("\\")||Pe.type==="quoteDouble"&&/\\[^"]/.test(qt)){let wn=Pe.type==="quoteDouble"?lt:He;return[wn,yt(Pe.type,qt,xt),wn]}if(qt.includes(lt))return[He,yt(Pe.type,Pe.type==="quoteDouble"?qt.replace(/\\"/g,lt).replace(/'/g,He.repeat(2)):qt,xt),He];if(qt.includes(He))return[lt,yt(Pe.type,Pe.type==="quoteSingle"?qt.replace(/''/g,He):qt,xt),lt];let Yt=xt.singleQuote?He:lt;return[Yt,yt(Pe.type,qt,xt),Yt]}case"blockFolded":case"blockLiteral":return we(Ht,Zt,xt);case"mapping":case"sequence":return y(d,Ht.map(Zt,"children"));case"sequenceItem":return["- ",T(2,Pe.content?Zt("content"):"")];case"mappingKey":case"mappingValue":return Pe.content?Zt("content"):"";case"mappingItem":case"flowMappingItem":return ee(Pe,mt,Ht,Zt,xt);case"flowMapping":return se(Ht,Zt,xt);case"flowSequence":return K(Ht,Zt,xt);case"flowSequenceItem":return Zt("content");default:throw new Error(`Unexpected node type ${Pe.type}`)}}function Le(Pe){return Pe.body.children.length>0||he(Pe.body)}function rt(Pe,mt){return me(Pe)||mt&&(mt.head.children.length>0||he(mt.head))}function Se(Pe,mt,Ht,xt){return Ht.children[0]===Pe&&/---(?:\s|$)/.test(xt.originalText.slice(R(Pe),R(Pe)+4))||Pe.head.children.length>0||he(Pe.head)||me(Pe.head)?"head":rt(Pe,mt)?!1:mt?"root":!1}function yt(Pe,mt,Ht){let xt=oe(Pe,mt,Ht);return y(d,xt.map(Zt=>f(B(y(v,Zt)))))}function Ue(Pe,mt){if(Q(mt))switch(delete mt.position,mt.type){case"comment":if(_(mt.value))return null;break;case"quoteDouble":case"quoteSingle":mt.type="quote";break}}a.exports={preprocess:U,embed:J,print:je,massageAstNode:Ue,insertPragma:P}}}),ya=Be({"src/language-yaml/options.js"(r,a){at();var l=Jo();a.exports={bracketSpacing:l.bracketSpacing,singleQuote:l.singleQuote,proseWrap:l.proseWrap}}}),_l=Be({"src/language-yaml/parsers.js"(){at()}}),hl=Be({"node_modules/linguist-languages/data/YAML.json"(r,a){a.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}}}),Oc=Be({"src/language-yaml/index.js"(r,a){at();var l=Ka(),f=Hs(),m=ya(),d=_l(),y=[l(hl(),v=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...v.filenames.filter(C=>C!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];a.exports={languages:y,printers:{yaml:f},options:m,parsers:d}}}),Lc=Be({"src/languages.js"(r,a){at(),a.exports=[Uu(),eo(),Y(),F(),dn(),ii(),Oc()]}});at();var{version:Mc}=hn(),mo=Fo(),{getSupportInfo:Il}=ao(),Au=ko(),fl=Lc(),su=xi();function s(r){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var l=arguments.length,f=new Array(l),m=0;m<l;m++)f[m]=arguments[m];let d=f[a]||{},y=d.plugins||[];return f[a]=Object.assign(Object.assign({},d),{},{plugins:[...fl,...Array.isArray(y)?y:Object.values(y)]}),r(...f)}}var t=s(mo.formatWithCursor);ue.exports={formatWithCursor:t,format(r,a){return t(r,a).formatted},check(r,a){let{formatted:l}=t(r,a);return l===r},doc:su,getSupportInfo:s(Il,0),version:Mc,util:Au,__debug:{parse:s(mo.parse),formatAST:s(mo.formatAST),formatDoc:s(mo.formatDoc),printToDoc:s(mo.printToDoc),printDocToString:s(mo.printDocToString)}}});return zt()})})(uv);const lv=qp(Eh);var bh={},cv={get exports(){return bh},set exports(i){bh=i}};(function(i,h){(function(c){i.exports=c()})(function(){var c=(Vn,Cr)=>()=>(Cr||Vn((Cr={exports:{}}).exports,Cr),Cr.exports),g=c((Vn,Cr)=>{var Tr=function(vr){return vr&&vr.Math==Math&&vr};Cr.exports=Tr(typeof globalThis=="object"&&globalThis)||Tr(typeof window=="object"&&window)||Tr(typeof self=="object"&&self)||Tr(typeof vl=="object"&&vl)||function(){return this}()||Function("return this")()}),x=c((Vn,Cr)=>{Cr.exports=function(Tr){try{return!!Tr()}catch{return!0}}}),S=c((Vn,Cr)=>{var Tr=x();Cr.exports=!Tr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),W=c((Vn,Cr)=>{var Tr=x();Cr.exports=!Tr(function(){var vr=function(){}.bind();return typeof vr!="function"||vr.hasOwnProperty("prototype")})}),ie=c((Vn,Cr)=>{var Tr=W(),vr=Function.prototype.call;Cr.exports=Tr?vr.bind(vr):function(){return vr.apply(vr,arguments)}}),de=c(Vn=>{var Cr={}.propertyIsEnumerable,Tr=Object.getOwnPropertyDescriptor,vr=Tr&&!Cr.call({1:2},1);Vn.f=vr?function(Kr){var _t=Tr(this,Kr);return!!_t&&_t.enumerable}:Cr}),ve=c((Vn,Cr)=>{Cr.exports=function(Tr,vr){return{enumerable:!(Tr&1),configurable:!(Tr&2),writable:!(Tr&4),value:vr}}}),De=c((Vn,Cr)=>{var Tr=W(),vr=Function.prototype,Kr=vr.bind,_t=vr.call,Gn=Tr&&Kr.bind(_t,_t);Cr.exports=Tr?function(Xt){return Xt&&Gn(Xt)}:function(Xt){return Xt&&function(){return _t.apply(Xt,arguments)}}}),Ve=c((Vn,Cr)=>{var Tr=De(),vr=Tr({}.toString),Kr=Tr("".slice);Cr.exports=function(_t){return Kr(vr(_t),8,-1)}}),tt=c((Vn,Cr)=>{var Tr=g(),vr=De(),Kr=x(),_t=Ve(),Gn=Tr.Object,Xt=vr("".split);Cr.exports=Kr(function(){return!Gn("z").propertyIsEnumerable(0)})?function(On){return _t(On)=="String"?Xt(On,""):Gn(On)}:Gn}),Ct=c((Vn,Cr)=>{var Tr=g(),vr=Tr.TypeError;Cr.exports=function(Kr){if(Kr==null)throw vr("Can't call method on "+Kr);return Kr}}),Rt=c((Vn,Cr)=>{var Tr=tt(),vr=Ct();Cr.exports=function(Kr){return Tr(vr(Kr))}}),$t=c((Vn,Cr)=>{Cr.exports=function(Tr){return typeof Tr=="function"}}),Sr=c((Vn,Cr)=>{var Tr=$t();Cr.exports=function(vr){return typeof vr=="object"?vr!==null:Tr(vr)}}),Ze=c((Vn,Cr)=>{var Tr=g(),vr=$t(),Kr=function(_t){return vr(_t)?_t:void 0};Cr.exports=function(_t,Gn){return arguments.length<2?Kr(Tr[_t]):Tr[_t]&&Tr[_t][Gn]}}),ct=c((Vn,Cr)=>{var Tr=De();Cr.exports=Tr({}.isPrototypeOf)}),Et=c((Vn,Cr)=>{var Tr=Ze();Cr.exports=Tr("navigator","userAgent")||""}),er=c((Vn,Cr)=>{var Tr=g(),vr=Et(),Kr=Tr.process,_t=Tr.Deno,Gn=Kr&&Kr.versions||_t&&_t.version,Xt=Gn&&Gn.v8,On,fr;Xt&&(On=Xt.split("."),fr=On[0]>0&&On[0]<4?1:+(On[0]+On[1])),!fr&&vr&&(On=vr.match(/Edge\/(\d+)/),(!On||On[1]>=74)&&(On=vr.match(/Chrome\/(\d+)/),On&&(fr=+On[1]))),Cr.exports=fr}),gr=c((Vn,Cr)=>{var Tr=er(),vr=x();Cr.exports=!!Object.getOwnPropertySymbols&&!vr(function(){var Kr=Symbol();return!String(Kr)||!(Object(Kr)instanceof Symbol)||!Symbol.sham&&Tr&&Tr<41})}),Pn=c((Vn,Cr)=>{var Tr=gr();Cr.exports=Tr&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),kr=c((Vn,Cr)=>{var Tr=g(),vr=Ze(),Kr=$t(),_t=ct(),Gn=Pn(),Xt=Tr.Object;Cr.exports=Gn?function(On){return typeof On=="symbol"}:function(On){var fr=vr("Symbol");return Kr(fr)&&_t(fr.prototype,Xt(On))}}),ln=c((Vn,Cr)=>{var Tr=g(),vr=Tr.String;Cr.exports=function(Kr){try{return vr(Kr)}catch{return"Object"}}}),Dn=c((Vn,Cr)=>{var Tr=g(),vr=$t(),Kr=ln(),_t=Tr.TypeError;Cr.exports=function(Gn){if(vr(Gn))return Gn;throw _t(Kr(Gn)+" is not a function")}}),mn=c((Vn,Cr)=>{var Tr=Dn();Cr.exports=function(vr,Kr){var _t=vr[Kr];return _t==null?void 0:Tr(_t)}}),gn=c((Vn,Cr)=>{var Tr=g(),vr=ie(),Kr=$t(),_t=Sr(),Gn=Tr.TypeError;Cr.exports=function(Xt,On){var fr,Bt;if(On==="string"&&Kr(fr=Xt.toString)&&!_t(Bt=vr(fr,Xt))||Kr(fr=Xt.valueOf)&&!_t(Bt=vr(fr,Xt))||On!=="string"&&Kr(fr=Xt.toString)&&!_t(Bt=vr(fr,Xt)))return Bt;throw Gn("Can't convert object to primitive value")}}),Xn=c((Vn,Cr)=>{Cr.exports=!1}),hr=c((Vn,Cr)=>{var Tr=g(),vr=Object.defineProperty;Cr.exports=function(Kr,_t){try{vr(Tr,Kr,{value:_t,configurable:!0,writable:!0})}catch{Tr[Kr]=_t}return _t}}),Tn=c((Vn,Cr)=>{var Tr=g(),vr=hr(),Kr="__core-js_shared__",_t=Tr[Kr]||vr(Kr,{});Cr.exports=_t}),Ee=c((Vn,Cr)=>{var Tr=Xn(),vr=Tn();(Cr.exports=function(Kr,_t){return vr[Kr]||(vr[Kr]=_t!==void 0?_t:{})})("versions",[]).push({version:"3.22.2",mode:Tr?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),tn=c((Vn,Cr)=>{var Tr=g(),vr=Ct(),Kr=Tr.Object;Cr.exports=function(_t){return Kr(vr(_t))}}),ur=c((Vn,Cr)=>{var Tr=De(),vr=tn(),Kr=Tr({}.hasOwnProperty);Cr.exports=Object.hasOwn||function(_t,Gn){return Kr(vr(_t),Gn)}}),kn=c((Vn,Cr)=>{var Tr=De(),vr=0,Kr=Math.random(),_t=Tr(1 .toString);Cr.exports=function(Gn){return"Symbol("+(Gn===void 0?"":Gn)+")_"+_t(++vr+Kr,36)}}),ti=c((Vn,Cr)=>{var Tr=g(),vr=Ee(),Kr=ur(),_t=kn(),Gn=gr(),Xt=Pn(),On=vr("wks"),fr=Tr.Symbol,Bt=fr&&fr.for,Me=Xt?fr:fr&&fr.withoutSetter||_t;Cr.exports=function(kt){if(!Kr(On,kt)||!(Gn||typeof On[kt]=="string")){var jt="Symbol."+kt;Gn&&Kr(fr,kt)?On[kt]=fr[kt]:Xt&&Bt?On[kt]=Bt(jt):On[kt]=Me(jt)}return On[kt]}}),Vi=c((Vn,Cr)=>{var Tr=g(),vr=ie(),Kr=Sr(),_t=kr(),Gn=mn(),Xt=gn(),On=ti(),fr=Tr.TypeError,Bt=On("toPrimitive");Cr.exports=function(Me,kt){if(!Kr(Me)||_t(Me))return Me;var jt=Gn(Me,Bt),nr;if(jt){if(kt===void 0&&(kt="default"),nr=vr(jt,Me,kt),!Kr(nr)||_t(nr))return nr;throw fr("Can't convert object to primitive value")}return kt===void 0&&(kt="number"),Xt(Me,kt)}}),as=c((Vn,Cr)=>{var Tr=Vi(),vr=kr();Cr.exports=function(Kr){var _t=Tr(Kr,"string");return vr(_t)?_t:_t+""}}),fs=c((Vn,Cr)=>{var Tr=g(),vr=Sr(),Kr=Tr.document,_t=vr(Kr)&&vr(Kr.createElement);Cr.exports=function(Gn){return _t?Kr.createElement(Gn):{}}}),es=c((Vn,Cr)=>{var Tr=S(),vr=x(),Kr=fs();Cr.exports=!Tr&&!vr(function(){return Object.defineProperty(Kr("div"),"a",{get:function(){return 7}}).a!=7})}),ts=c(Vn=>{var Cr=S(),Tr=ie(),vr=de(),Kr=ve(),_t=Rt(),Gn=as(),Xt=ur(),On=es(),fr=Object.getOwnPropertyDescriptor;Vn.f=Cr?fr:function(Bt,Me){if(Bt=_t(Bt),Me=Gn(Me),On)try{return fr(Bt,Me)}catch{}if(Xt(Bt,Me))return Kr(!Tr(vr.f,Bt,Me),Bt[Me])}}),Mr=c((Vn,Cr)=>{var Tr=S(),vr=x();Cr.exports=Tr&&vr(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),$r=c((Vn,Cr)=>{var Tr=g(),vr=Sr(),Kr=Tr.String,_t=Tr.TypeError;Cr.exports=function(Gn){if(vr(Gn))return Gn;throw _t(Kr(Gn)+" is not an object")}}),yr=c(Vn=>{var Cr=g(),Tr=S(),vr=es(),Kr=Mr(),_t=$r(),Gn=as(),Xt=Cr.TypeError,On=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,Bt="enumerable",Me="configurable",kt="writable";Vn.f=Tr?Kr?function(jt,nr,Ir){if(_t(jt),nr=Gn(nr),_t(Ir),typeof jt=="function"&&nr==="prototype"&&"value"in Ir&&kt in Ir&&!Ir[kt]){var Pr=fr(jt,nr);Pr&&Pr[kt]&&(jt[nr]=Ir.value,Ir={configurable:Me in Ir?Ir[Me]:Pr[Me],enumerable:Bt in Ir?Ir[Bt]:Pr[Bt],writable:!1})}return On(jt,nr,Ir)}:On:function(jt,nr,Ir){if(_t(jt),nr=Gn(nr),_t(Ir),vr)try{return On(jt,nr,Ir)}catch{}if("get"in Ir||"set"in Ir)throw Xt("Accessors not supported");return"value"in Ir&&(jt[nr]=Ir.value),jt}}),cn=c((Vn,Cr)=>{var Tr=S(),vr=yr(),Kr=ve();Cr.exports=Tr?function(_t,Gn,Xt){return vr.f(_t,Gn,Kr(1,Xt))}:function(_t,Gn,Xt){return _t[Gn]=Xt,_t}}),$n=c((Vn,Cr)=>{var Tr=De(),vr=$t(),Kr=Tn(),_t=Tr(Function.toString);vr(Kr.inspectSource)||(Kr.inspectSource=function(Gn){return _t(Gn)}),Cr.exports=Kr.inspectSource}),ci=c((Vn,Cr)=>{var Tr=g(),vr=$t(),Kr=$n(),_t=Tr.WeakMap;Cr.exports=vr(_t)&&/native code/.test(Kr(_t))}),Mn=c((Vn,Cr)=>{var Tr=Ee(),vr=kn(),Kr=Tr("keys");Cr.exports=function(_t){return Kr[_t]||(Kr[_t]=vr(_t))}}),Xe=c((Vn,Cr)=>{Cr.exports={}}),At=c((Vn,Cr)=>{var Tr=ci(),vr=g(),Kr=De(),_t=Sr(),Gn=cn(),Xt=ur(),On=Tn(),fr=Mn(),Bt=Xe(),Me="Object already initialized",kt=vr.TypeError,jt=vr.WeakMap,nr,Ir,Pr,zt=function(Qe){return Pr(Qe)?Ir(Qe):nr(Qe,{})},_e=function(Qe){return function(it){var Ft;if(!_t(it)||(Ft=Ir(it)).type!==Qe)throw kt("Incompatible receiver, "+Qe+" required");return Ft}};Tr||On.state?(ue=On.state||(On.state=new jt),re=Kr(ue.get),xe=Kr(ue.has),Fe=Kr(ue.set),nr=function(Qe,it){if(xe(ue,Qe))throw new kt(Me);return it.facade=Qe,Fe(ue,Qe,it),it},Ir=function(Qe){return re(ue,Qe)||{}},Pr=function(Qe){return xe(ue,Qe)}):(Re=fr("state"),Bt[Re]=!0,nr=function(Qe,it){if(Xt(Qe,Re))throw new kt(Me);return it.facade=Qe,Gn(Qe,Re,it),it},Ir=function(Qe){return Xt(Qe,Re)?Qe[Re]:{}},Pr=function(Qe){return Xt(Qe,Re)});var ue,re,xe,Fe,Re;Cr.exports={set:nr,get:Ir,has:Pr,enforce:zt,getterFor:_e}}),wr=c((Vn,Cr)=>{var Tr=S(),vr=ur(),Kr=Function.prototype,_t=Tr&&Object.getOwnPropertyDescriptor,Gn=vr(Kr,"name"),Xt=Gn&&function(){}.name==="something",On=Gn&&(!Tr||Tr&&_t(Kr,"name").configurable);Cr.exports={EXISTS:Gn,PROPER:Xt,CONFIGURABLE:On}}),Hr=c((Vn,Cr)=>{var Tr=g(),vr=$t(),Kr=ur(),_t=cn(),Gn=hr(),Xt=$n(),On=At(),fr=wr().CONFIGURABLE,Bt=On.get,Me=On.enforce,kt=String(String).split("String");(Cr.exports=function(jt,nr,Ir,Pr){var zt=Pr?!!Pr.unsafe:!1,_e=Pr?!!Pr.enumerable:!1,ue=Pr?!!Pr.noTargetGet:!1,re=Pr&&Pr.name!==void 0?Pr.name:nr,xe;if(vr(Ir)&&(String(re).slice(0,7)==="Symbol("&&(re="["+String(re).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Kr(Ir,"name")||fr&&Ir.name!==re)&&_t(Ir,"name",re),xe=Me(Ir),xe.source||(xe.source=kt.join(typeof re=="string"?re:""))),jt===Tr){_e?jt[nr]=Ir:Gn(nr,Ir);return}else zt?!ue&&jt[nr]&&(_e=!0):delete jt[nr];_e?jt[nr]=Ir:_t(jt,nr,Ir)})(Function.prototype,"toString",function(){return vr(this)&&Bt(this).source||Xt(this)})}),Fr=c((Vn,Cr)=>{var Tr=Math.ceil,vr=Math.floor;Cr.exports=function(Kr){var _t=+Kr;return _t!==_t||_t===0?0:(_t>0?vr:Tr)(_t)}}),nn=c((Vn,Cr)=>{var Tr=Fr(),vr=Math.max,Kr=Math.min;Cr.exports=function(_t,Gn){var Xt=Tr(_t);return Xt<0?vr(Xt+Gn,0):Kr(Xt,Gn)}}),Jr=c((Vn,Cr)=>{var Tr=Fr(),vr=Math.min;Cr.exports=function(Kr){return Kr>0?vr(Tr(Kr),9007199254740991):0}}),pn=c((Vn,Cr)=>{var Tr=Jr();Cr.exports=function(vr){return Tr(vr.length)}}),jn=c((Vn,Cr)=>{var Tr=Rt(),vr=nn(),Kr=pn(),_t=function(Gn){return function(Xt,On,fr){var Bt=Tr(Xt),Me=Kr(Bt),kt=vr(fr,Me),jt;if(Gn&&On!=On){for(;Me>kt;)if(jt=Bt[kt++],jt!=jt)return!0}else for(;Me>kt;kt++)if((Gn||kt in Bt)&&Bt[kt]===On)return Gn||kt||0;return!Gn&&-1}};Cr.exports={includes:_t(!0),indexOf:_t(!1)}}),Zr=c((Vn,Cr)=>{var Tr=De(),vr=ur(),Kr=Rt(),_t=jn().indexOf,Gn=Xe(),Xt=Tr([].push);Cr.exports=function(On,fr){var Bt=Kr(On),Me=0,kt=[],jt;for(jt in Bt)!vr(Gn,jt)&&vr(Bt,jt)&&Xt(kt,jt);for(;fr.length>Me;)vr(Bt,jt=fr[Me++])&&(~_t(kt,jt)||Xt(kt,jt));return kt}}),Tt=c((Vn,Cr)=>{Cr.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),mr=c(Vn=>{var Cr=Zr(),Tr=Tt(),vr=Tr.concat("length","prototype");Vn.f=Object.getOwnPropertyNames||function(Kr){return Cr(Kr,vr)}}),Vt=c(Vn=>{Vn.f=Object.getOwnPropertySymbols}),Wn=c((Vn,Cr)=>{var Tr=Ze(),vr=De(),Kr=mr(),_t=Vt(),Gn=$r(),Xt=vr([].concat);Cr.exports=Tr("Reflect","ownKeys")||function(On){var fr=Kr.f(Gn(On)),Bt=_t.f;return Bt?Xt(fr,Bt(On)):fr}}),ki=c((Vn,Cr)=>{var Tr=ur(),vr=Wn(),Kr=ts(),_t=yr();Cr.exports=function(Gn,Xt,On){for(var fr=vr(Xt),Bt=_t.f,Me=Kr.f,kt=0;kt<fr.length;kt++){var jt=fr[kt];!Tr(Gn,jt)&&!(On&&Tr(On,jt))&&Bt(Gn,jt,Me(Xt,jt))}}}),ds=c((Vn,Cr)=>{var Tr=x(),vr=$t(),Kr=/#|\.prototype\./,_t=function(Bt,Me){var kt=Xt[Gn(Bt)];return kt==fr?!0:kt==On?!1:vr(Me)?Tr(Me):!!Me},Gn=_t.normalize=function(Bt){return String(Bt).replace(Kr,".").toLowerCase()},Xt=_t.data={},On=_t.NATIVE="N",fr=_t.POLYFILL="P";Cr.exports=_t}),Zi=c((Vn,Cr)=>{var Tr=g(),vr=ts().f,Kr=cn(),_t=Hr(),Gn=hr(),Xt=ki(),On=ds();Cr.exports=function(fr,Bt){var Me=fr.target,kt=fr.global,jt=fr.stat,nr,Ir,Pr,zt,_e,ue;if(kt?Ir=Tr:jt?Ir=Tr[Me]||Gn(Me,{}):Ir=(Tr[Me]||{}).prototype,Ir)for(Pr in Bt){if(_e=Bt[Pr],fr.noTargetGet?(ue=vr(Ir,Pr),zt=ue&&ue.value):zt=Ir[Pr],nr=On(kt?Pr:Me+(jt?".":"#")+Pr,fr.forced),!nr&&zt!==void 0){if(typeof _e==typeof zt)continue;Xt(_e,zt)}(fr.sham||zt&&zt.sham)&&Kr(_e,"sham",!0),_t(Ir,Pr,_e,fr)}}}),Ds=c(()=>{var Vn=Zi(),Cr=g();Vn({global:!0},{globalThis:Cr})}),os=c(()=>{Ds()}),ta=c((Vn,Cr)=>{os();var Tr=Object.defineProperty,vr=Object.getOwnPropertyDescriptor,Kr=Object.getOwnPropertyNames,_t=Object.prototype.hasOwnProperty,Gn=(w,te)=>function(){return w&&(te=(0,w[Kr(w)[0]])(w=0)),te},Xt=(w,te)=>function(){return te||(0,w[Kr(w)[0]])((te={exports:{}}).exports,te),te.exports},On=(w,te)=>{for(var X in te)Tr(w,X,{get:te[X],enumerable:!0})},fr=(w,te,X,Y)=>{if(te&&typeof te=="object"||typeof te=="function")for(let fe of Kr(te))!_t.call(w,fe)&&fe!==X&&Tr(w,fe,{get:()=>te[fe],enumerable:!(Y=vr(te,fe))||Y.enumerable});return w},Bt=w=>fr(Tr({},"__esModule",{value:!0}),w),Me=Gn({"<define:process>"(){}}),kt=Xt({"src/common/parser-create-error.js"(w,te){Me();function X(Y,fe){let Ce=new SyntaxError(Y+" ("+fe.start.line+":"+fe.start.column+")");return Ce.loc=fe,Ce}te.exports=X}}),jt=Xt({"src/utils/get-last.js"(w,te){Me();var X=Y=>Y[Y.length-1];te.exports=X}}),nr=Xt({"src/utils/front-matter/parse.js"(w,te){Me();var X=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Y(fe){let Ce=fe.match(X);if(!Ce)return{content:fe};let{startDelimiter:ge,language:Ae,value:pe="",endDelimiter:ae}=Ce.groups,F=Ae.trim()||"yaml";if(ge==="+++"&&(F="toml"),F!=="yaml"&&ge!==ae)return{content:fe};let[b]=Ce;return{frontMatter:{type:"front-matter",lang:F,value:pe,startDelimiter:ge,endDelimiter:ae,raw:b.replace(/\n$/,"")},content:b.replace(/[^\n]/g," ")+fe.slice(b.length)}}te.exports=Y}}),Ir={};On(Ir,{EOL:()=>Be,arch:()=>Qt,cpus:()=>Fe,default:()=>xr,endianness:()=>Pr,freemem:()=>re,getNetworkInterfaces:()=>Ft,hostname:()=>zt,loadavg:()=>_e,networkInterfaces:()=>it,platform:()=>sr,release:()=>Qe,tmpDir:()=>Nt,tmpdir:()=>Yr,totalmem:()=>xe,type:()=>Re,uptime:()=>ue});function Pr(){if(typeof Nr>"u"){var w=new ArrayBuffer(2),te=new Uint8Array(w),X=new Uint16Array(w);if(te[0]=1,te[1]=2,X[0]===258)Nr="BE";else if(X[0]===513)Nr="LE";else throw new Error("unable to figure out endianess")}return Nr}function zt(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function _e(){return[]}function ue(){return 0}function re(){return Number.MAX_VALUE}function xe(){return Number.MAX_VALUE}function Fe(){return[]}function Re(){return"Browser"}function Qe(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function it(){}function Ft(){}function Qt(){return"javascript"}function sr(){return"browser"}function Nt(){return"/tmp"}var Nr,Yr,Be,xr,Sn=Gn({"node-modules-polyfills:os"(){Me(),Yr=Nt,Be=`
140
- `,xr={EOL:Be,tmpdir:Yr,tmpDir:Nt,networkInterfaces:it,getNetworkInterfaces:Ft,release:Qe,type:Re,cpus:Fe,totalmem:xe,freemem:re,uptime:ue,loadavg:_e,hostname:zt,endianness:Pr}}}),bi=Xt({"node-modules-polyfills-commonjs:os"(w,te){Me();var X=(Sn(),Bt(Ir));if(X&&X.default){te.exports=X.default;for(let Y in X)te.exports[Y]=X[Y]}else X&&(te.exports=X)}}),ui=Xt({"node_modules/detect-newline/index.js"(w,te){Me();var X=Y=>{if(typeof Y!="string")throw new TypeError("Expected a string");let fe=Y.match(/(?:\r?\n)/g)||[];if(fe.length===0)return;let Ce=fe.filter(Ae=>Ae===`\r
141
- `).length,ge=fe.length-Ce;return Ce>ge?`\r
142
- `:`
143
- `};te.exports=X,te.exports.graceful=Y=>typeof Y=="string"&&X(Y)||`
144
- `}}),vn=Xt({"node_modules/jest-docblock/build/index.js"(w){Me(),Object.defineProperty(w,"__esModule",{value:!0}),w.extract=V,w.parse=Te,w.parseWithComments=Ke,w.print=Ge,w.strip=Ie;function te(){let pt=bi();return te=function(){return pt},pt}function X(){let pt=Y(ui());return X=function(){return pt},pt}function Y(pt){return pt&&pt.__esModule?pt:{default:pt}}var fe=/\*\/$/,Ce=/^\/\*\*?/,ge=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ae=/(^|\s+)\/\/([^\r\n]*)/g,pe=/^(\r?\n)+/,ae=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,F=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,b=/(\r?\n|^) *\* ?/g,Z=[];function V(pt){let bt=pt.match(ge);return bt?bt[0].trimLeft():""}function Ie(pt){let bt=pt.match(ge);return bt&&bt[0]?pt.substring(bt[0].length):pt}function Te(pt){return Ke(pt).pragmas}function Ke(pt){let bt=(0,X().default)(pt)||te().EOL;pt=pt.replace(Ce,"").replace(fe,"").replace(b,"$1");let Gt="";for(;Gt!==pt;)Gt=pt,pt=pt.replace(ae,`${bt}$1 $2${bt}`);pt=pt.replace(pe,"").trimRight();let dn=Object.create(null),zn=pt.replace(F,"").replace(pe,"").trimRight(),Un;for(;Un=F.exec(pt);){let Di=Un[2].replace(Ae,"");typeof dn[Un[1]]=="string"||Array.isArray(dn[Un[1]])?dn[Un[1]]=Z.concat(dn[Un[1]],Di):dn[Un[1]]=Di}return{comments:zn,pragmas:dn}}function Ge(pt){let{comments:bt="",pragmas:Gt={}}=pt,dn=(0,X().default)(bt)||te().EOL,zn="/**",Un=" *",Di=" */",li=Object.keys(Gt),un=li.map(mi=>Ne(mi,Gt[mi])).reduce((mi,Fn)=>mi.concat(Fn),[]).map(mi=>`${Un} ${mi}${dn}`).join("");if(!bt){if(li.length===0)return"";if(li.length===1&&!Array.isArray(Gt[li[0]])){let mi=Gt[li[0]];return`${zn} ${Ne(li[0],mi)[0]}${Di}`}}let Ei=bt.split(dn).map(mi=>`${Un} ${mi}`).join(dn)+dn;return zn+dn+(bt?Ei:"")+(bt&&li.length?Un+dn:"")+un+Di}function Ne(pt,bt){return Z.concat(bt).map(Gt=>`@${pt} ${Gt}`.trim())}}}),ns=Xt({"src/common/end-of-line.js"(w,te){Me();function X(ge){let Ae=ge.indexOf("\r");return Ae>=0?ge.charAt(Ae+1)===`
145
- `?"crlf":"cr":"lf"}function Y(ge){switch(ge){case"cr":return"\r";case"crlf":return`\r
146
- `;default:return`
147
- `}}function fe(ge,Ae){let pe;switch(Ae){case`
148
- `:pe=/\n/g;break;case"\r":pe=/\r/g;break;case`\r
149
- `:pe=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(Ae)}.`)}let ae=ge.match(pe);return ae?ae.length:0}function Ce(ge){return ge.replace(/\r\n?/g,`
150
- `)}te.exports={guessEndOfLine:X,convertEndOfLineToChars:Y,countEndOfLineChars:fe,normalizeEndOfLine:Ce}}}),Fs=Xt({"src/language-js/utils/get-shebang.js"(w,te){Me();function X(Y){if(!Y.startsWith("#!"))return"";let fe=Y.indexOf(`
151
- `);return fe===-1?Y:Y.slice(0,fe)}te.exports=X}}),at=Xt({"src/language-js/pragma.js"(w,te){Me();var{parseWithComments:X,strip:Y,extract:fe,print:Ce}=vn(),{normalizeEndOfLine:ge}=ns(),Ae=Fs();function pe(b){let Z=Ae(b);Z&&(b=b.slice(Z.length+1));let V=fe(b),{pragmas:Ie,comments:Te}=X(V);return{shebang:Z,text:b,pragmas:Ie,comments:Te}}function ae(b){let Z=Object.keys(pe(b).pragmas);return Z.includes("prettier")||Z.includes("format")}function F(b){let{shebang:Z,text:V,pragmas:Ie,comments:Te}=pe(b),Ke=Y(V),Ge=Ce({pragmas:Object.assign({format:""},Ie),comments:Te.trimStart()});return(Z?`${Z}
152
- `:"")+ge(Ge)+(Ke.startsWith(`
153
- `)?`
154
- `:`
155
-
156
- `)+Ke}te.exports={hasPragma:ae,insertPragma:F}}}),hn=Xt({"src/language-css/pragma.js"(w,te){Me();var X=at(),Y=nr();function fe(ge){return X.hasPragma(Y(ge).content)}function Ce(ge){let{frontMatter:Ae,content:pe}=Y(ge);return(Ae?Ae.raw+`
157
-
158
- `:"")+X.insertPragma(pe)}te.exports={hasPragma:fe,insertPragma:Ce}}}),di=Xt({"src/utils/text/skip.js"(w,te){Me();function X(Ae){return(pe,ae,F)=>{let b=F&&F.backwards;if(ae===!1)return!1;let{length:Z}=pe,V=ae;for(;V>=0&&V<Z;){let Ie=pe.charAt(V);if(Ae instanceof RegExp){if(!Ae.test(Ie))return V}else if(!Ae.includes(Ie))return V;b?V--:V++}return V===-1||V===Z?V:!1}}var Y=X(/\s/),fe=X(" "),Ce=X(",; "),ge=X(/[^\n\r]/);te.exports={skipWhitespace:Y,skipSpaces:fe,skipToLineEnd:Ce,skipEverythingButNewLine:ge}}}),ms=Xt({"src/utils/line-column-to-index.js"(w,te){Me(),te.exports=function(X,Y){let fe=0;for(let Ce=0;Ce<X.line-1;++Ce)fe=Y.indexOf(`
159
- `,fe)+1;return fe+X.column}}}),ws=Xt({"src/language-css/loc.js"(w,te){Me();var{skipEverythingButNewLine:X}=di(),Y=jt(),fe=ms();function Ce(V,Ie){return typeof V.sourceIndex=="number"?V.sourceIndex:V.source?fe(V.source.start,Ie)-1:null}function ge(V,Ie){if(V.type==="css-comment"&&V.inline)return X(Ie,V.source.startOffset);let Te=V.nodes&&Y(V.nodes);return Te&&V.source&&!V.source.end&&(V=Te),V.source&&V.source.end?fe(V.source.end,Ie):null}function Ae(V,Ie){V.source&&(V.source.startOffset=Ce(V,Ie),V.source.endOffset=ge(V,Ie));for(let Te in V){let Ke=V[Te];Te==="source"||!Ke||typeof Ke!="object"||(Ke.type==="value-root"||Ke.type==="value-unknown"?pe(Ke,ae(V),Ke.text||Ke.value):Ae(Ke,Ie))}}function pe(V,Ie,Te){V.source&&(V.source.startOffset=Ce(V,Te)+Ie,V.source.endOffset=ge(V,Te)+Ie);for(let Ke in V){let Ge=V[Ke];Ke==="source"||!Ge||typeof Ge!="object"||pe(Ge,Ie,Te)}}function ae(V){let Ie=V.source.startOffset;return typeof V.prop=="string"&&(Ie+=V.prop.length),V.type==="css-atrule"&&typeof V.name=="string"&&(Ie+=1+V.name.length+V.raws.afterName.match(/^\s*:?\s*/)[0].length),V.type!=="css-atrule"&&V.raws&&typeof V.raws.between=="string"&&(Ie+=V.raws.between.length),Ie}function F(V){let Ie="initial",Te="initial",Ke,Ge=!1,Ne=[];for(let pt=0;pt<V.length;pt++){let bt=V[pt];switch(Ie){case"initial":if(bt==="'"){Ie="single-quotes";continue}if(bt==='"'){Ie="double-quotes";continue}if((bt==="u"||bt==="U")&&V.slice(pt,pt+4).toLowerCase()==="url("){Ie="url",pt+=3;continue}if(bt==="*"&&V[pt-1]==="/"){Ie="comment-block";continue}if(bt==="/"&&V[pt-1]==="/"){Ie="comment-inline",Ke=pt-1;continue}continue;case"single-quotes":if(bt==="'"&&V[pt-1]!=="\\"&&(Ie=Te,Te="initial"),bt===`
160
- `||bt==="\r")return V;continue;case"double-quotes":if(bt==='"'&&V[pt-1]!=="\\"&&(Ie=Te,Te="initial"),bt===`
161
- `||bt==="\r")return V;continue;case"url":if(bt===")"&&(Ie="initial"),bt===`
162
- `||bt==="\r")return V;if(bt==="'"){Ie="single-quotes",Te="url";continue}if(bt==='"'){Ie="double-quotes",Te="url";continue}continue;case"comment-block":bt==="/"&&V[pt-1]==="*"&&(Ie="initial");continue;case"comment-inline":(bt==='"'||bt==="'"||bt==="*")&&(Ge=!0),(bt===`
163
- `||bt==="\r")&&(Ge&&Ne.push([Ke,pt]),Ie="initial",Ge=!1);continue}}for(let[pt,bt]of Ne)V=V.slice(0,pt)+V.slice(pt,bt).replace(/["'*]/g," ")+V.slice(bt);return V}function b(V){return V.source.startOffset}function Z(V){return V.source.endOffset}te.exports={locStart:b,locEnd:Z,calculateLoc:Ae,replaceQuotesInInlineComments:F}}}),ji=Xt({"src/utils/is-non-empty-array.js"(w,te){Me();function X(Y){return Array.isArray(Y)&&Y.length>0}te.exports=X}}),is=Xt({"src/language-css/utils/has-scss-interpolation.js"(w,te){Me();var X=ji();function Y(fe){if(X(fe)){for(let Ce=fe.length-1;Ce>0;Ce--)if(fe[Ce].type==="word"&&fe[Ce].value==="{"&&fe[Ce-1].type==="word"&&fe[Ce-1].value.endsWith("#"))return!0}return!1}te.exports=Y}}),ye=Xt({"src/language-css/utils/has-string-or-function.js"(w,te){Me();function X(Y){return Y.some(fe=>fe.type==="string"||fe.type==="func")}te.exports=X}}),nt=Xt({"src/language-css/utils/is-less-parser.js"(w,te){Me();function X(Y){return Y.parser==="css"||Y.parser==="less"}te.exports=X}}),dt=Xt({"src/language-css/utils/is-scss.js"(w,te){Me();function X(Y,fe){return Y==="less"||Y==="scss"?Y==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(fe)}te.exports=X}}),pr=Xt({"src/language-css/utils/is-scss-nested-property-node.js"(w,te){Me();function X(Y){return Y.selector?Y.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}te.exports=X}}),gi=Xt({"src/language-css/utils/is-scss-variable.js"(w,te){Me();function X(Y){return Boolean((Y==null?void 0:Y.type)==="word"&&Y.value.startsWith("$"))}te.exports=X}}),ss=Xt({"src/language-css/utils/stringify-node.js"(w,te){Me();function X(Y){var fe,Ce,ge;if(Y.groups){var Ae,pe,ae;let Ge=((Ae=Y.open)===null||Ae===void 0?void 0:Ae.value)||"",Ne=Y.groups.map(bt=>X(bt)).join(((pe=Y.groups[0])===null||pe===void 0?void 0:pe.type)==="comma_group"?",":""),pt=((ae=Y.close)===null||ae===void 0?void 0:ae.value)||"";return Ge+Ne+pt}let F=((fe=Y.raws)===null||fe===void 0?void 0:fe.before)||"",b=((Ce=Y.raws)===null||Ce===void 0?void 0:Ce.quote)||"",Z=Y.type==="atword"?"@":"",V=Y.value||"",Ie=Y.unit||"",Te=Y.group?X(Y.group):"",Ke=((ge=Y.raws)===null||ge===void 0?void 0:ge.after)||"";return F+b+Z+V+b+Ie+Te+Ke}te.exports=X}}),us=Xt({"src/language-css/utils/is-module-rule-name.js"(w,te){Me();var X=new Set(["import","use","forward"]);function Y(fe){return X.has(fe)}te.exports=Y}}),xs=Xt({"node_modules/postcss-values-parser/lib/node.js"(w,te){Me();var X=function(Y,fe){let Ce=new Y.constructor;for(let ge in Y){if(!Y.hasOwnProperty(ge))continue;let Ae=Y[ge],pe=typeof Ae;ge==="parent"&&pe==="object"?fe&&(Ce[ge]=fe):ge==="source"?Ce[ge]=Ae:Ae instanceof Array?Ce[ge]=Ae.map(ae=>X(ae,Ce)):ge!=="before"&&ge!=="after"&&ge!=="between"&&ge!=="semicolon"&&(pe==="object"&&Ae!==null&&(Ae=X(Ae)),Ce[ge]=Ae)}return Ce};te.exports=class{constructor(Y){Y=Y||{},this.raws={before:"",after:""};for(let fe in Y)this[fe]=Y[fe]}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(Y){Y=Y||{};let fe=X(this);for(let Ce in Y)fe[Ce]=Y[Ce];return fe}cloneBefore(Y){Y=Y||{};let fe=this.clone(Y);return this.parent.insertBefore(this,fe),fe}cloneAfter(Y){Y=Y||{};let fe=this.clone(Y);return this.parent.insertAfter(this,fe),fe}replaceWith(){let Y=Array.prototype.slice.call(arguments);if(this.parent){for(let fe of Y)this.parent.insertBefore(this,fe);this.remove()}return this}moveTo(Y){return this.cleanRaws(this.root()===Y.root()),this.remove(),Y.append(this),this}moveBefore(Y){return this.cleanRaws(this.root()===Y.root()),this.remove(),Y.parent.insertBefore(Y,this),this}moveAfter(Y){return this.cleanRaws(this.root()===Y.root()),this.remove(),Y.parent.insertAfter(Y,this),this}next(){let Y=this.parent.index(this);return this.parent.nodes[Y+1]}prev(){let Y=this.parent.index(this);return this.parent.nodes[Y-1]}toJSON(){let Y={};for(let fe in this){if(!this.hasOwnProperty(fe)||fe==="parent")continue;let Ce=this[fe];Ce instanceof Array?Y[fe]=Ce.map(ge=>typeof ge=="object"&&ge.toJSON?ge.toJSON():ge):typeof Ce=="object"&&Ce.toJSON?Y[fe]=Ce.toJSON():Y[fe]=Ce}return Y}root(){let Y=this;for(;Y.parent;)Y=Y.parent;return Y}cleanRaws(Y){delete this.raws.before,delete this.raws.after,Y||delete this.raws.between}positionInside(Y){let fe=this.toString(),Ce=this.source.start.column,ge=this.source.start.line;for(let Ae=0;Ae<Y;Ae++)fe[Ae]===`
164
- `?(Ce=1,ge+=1):Ce+=1;return{line:ge,column:Ce}}positionBy(Y){let fe=this.source.start;if(Object(Y).index)fe=this.positionInside(Y.index);else if(Object(Y).word){let Ce=this.toString().indexOf(Y.word);Ce!==-1&&(fe=this.positionInside(Ce))}return fe}}}}),ks=Xt({"node_modules/postcss-values-parser/lib/container.js"(w,te){Me();var X=xs(),Y=class extends X{constructor(fe){super(fe),this.nodes||(this.nodes=[])}push(fe){return fe.parent=this,this.nodes.push(fe),this}each(fe){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let Ce=this.lastEach,ge,Ae;if(this.indexes[Ce]=0,!!this.nodes){for(;this.indexes[Ce]<this.nodes.length&&(ge=this.indexes[Ce],Ae=fe(this.nodes[ge],ge),Ae!==!1);)this.indexes[Ce]+=1;return delete this.indexes[Ce],Ae}}walk(fe){return this.each((Ce,ge)=>{let Ae=fe(Ce,ge);return Ae!==!1&&Ce.walk&&(Ae=Ce.walk(fe)),Ae})}walkType(fe,Ce){if(!fe||!Ce)throw new Error("Parameters {type} and {callback} are required.");let ge=typeof fe=="function";return this.walk((Ae,pe)=>{if(ge&&Ae instanceof fe||!ge&&Ae.type===fe)return Ce.call(this,Ae,pe)})}append(fe){return fe.parent=this,this.nodes.push(fe),this}prepend(fe){return fe.parent=this,this.nodes.unshift(fe),this}cleanRaws(fe){if(super.cleanRaws(fe),this.nodes)for(let Ce of this.nodes)Ce.cleanRaws(fe)}insertAfter(fe,Ce){let ge=this.index(fe),Ae;this.nodes.splice(ge+1,0,Ce);for(let pe in this.indexes)Ae=this.indexes[pe],ge<=Ae&&(this.indexes[pe]=Ae+this.nodes.length);return this}insertBefore(fe,Ce){let ge=this.index(fe),Ae;this.nodes.splice(ge,0,Ce);for(let pe in this.indexes)Ae=this.indexes[pe],ge<=Ae&&(this.indexes[pe]=Ae+this.nodes.length);return this}removeChild(fe){fe=this.index(fe),this.nodes[fe].parent=void 0,this.nodes.splice(fe,1);let Ce;for(let ge in this.indexes)Ce=this.indexes[ge],Ce>=fe&&(this.indexes[ge]=Ce-1);return this}removeAll(){for(let fe of this.nodes)fe.parent=void 0;return this.nodes=[],this}every(fe){return this.nodes.every(fe)}some(fe){return this.nodes.some(fe)}index(fe){return typeof fe=="number"?fe:this.nodes.indexOf(fe)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let fe=this.nodes.map(String).join("");return this.value&&(fe=this.value+fe),this.raws.before&&(fe=this.raws.before+fe),this.raws.after&&(fe+=this.raws.after),fe}};Y.registerWalker=fe=>{let Ce="walk"+fe.name;Ce.lastIndexOf("s")!==Ce.length-1&&(Ce+="s"),!Y.prototype[Ce]&&(Y.prototype[Ce]=function(ge){return this.walkType(fe,ge)})},te.exports=Y}}),Bi=Xt({"node_modules/postcss-values-parser/lib/root.js"(w,te){Me();var X=ks();te.exports=class extends X{constructor(Y){super(Y),this.type="root"}}}}),Fu=Xt({"node_modules/postcss-values-parser/lib/value.js"(w,te){Me();var X=ks();te.exports=class extends X{constructor(Y){super(Y),this.type="value",this.unbalanced=0}}}}),uu=Xt({"node_modules/postcss-values-parser/lib/atword.js"(w,te){Me();var X=ks(),Y=class extends X{constructor(fe){super(fe),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};X.registerWalker(Y),te.exports=Y}}),so=Xt({"node_modules/postcss-values-parser/lib/colon.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="colon"}};X.registerWalker(fe),te.exports=fe}}),Na=Xt({"node_modules/postcss-values-parser/lib/comma.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="comma"}};X.registerWalker(fe),te.exports=fe}}),ku=Xt({"node_modules/postcss-values-parser/lib/comment.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="comment",this.inline=Object(Ce).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};X.registerWalker(fe),te.exports=fe}}),xi=Xt({"node_modules/postcss-values-parser/lib/function.js"(w,te){Me();var X=ks(),Y=class extends X{constructor(fe){super(fe),this.type="func",this.unbalanced=-1}};X.registerWalker(Y),te.exports=Y}}),yo=Xt({"node_modules/postcss-values-parser/lib/number.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="number",this.unit=Object(Ce).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};X.registerWalker(fe),te.exports=fe}}),lu=Xt({"node_modules/postcss-values-parser/lib/operator.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="operator"}};X.registerWalker(fe),te.exports=fe}}),Pu=Xt({"node_modules/postcss-values-parser/lib/paren.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="paren",this.parenType=""}};X.registerWalker(fe),te.exports=fe}}),zo=Xt({"node_modules/postcss-values-parser/lib/string.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="string"}toString(){let Ce=this.quoted?this.raws.quote:"";return[this.raws.before,Ce,this.value+"",Ce,this.raws.after].join("")}};X.registerWalker(fe),te.exports=fe}}),cu=Xt({"node_modules/postcss-values-parser/lib/word.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="word"}};X.registerWalker(fe),te.exports=fe}}),Nu=Xt({"node_modules/postcss-values-parser/lib/unicode-range.js"(w,te){Me();var X=ks(),Y=xs(),fe=class extends Y{constructor(Ce){super(Ce),this.type="unicode-range"}};X.registerWalker(fe),te.exports=fe}});function Bu(){throw new Error("setTimeout has not been defined")}function _u(){throw new Error("clearTimeout has not been defined")}function Do(w){if(Wa===setTimeout)return setTimeout(w,0);if((Wa===Bu||!Wa)&&setTimeout)return Wa=setTimeout,setTimeout(w,0);try{return Wa(w,0)}catch{try{return Wa.call(null,w,0)}catch{return Wa.call(this,w,0)}}}function Iu(w){if(Pi===clearTimeout)return clearTimeout(w);if((Pi===_u||!Pi)&&clearTimeout)return Pi=clearTimeout,clearTimeout(w);try{return Pi(w)}catch{try{return Pi.call(null,w)}catch{return Pi.call(this,w)}}}function Ou(){!oo||!xa||(oo=!1,xa.length?Fa=xa.concat(Fa):Va=-1,Fa.length&&Ha())}function Ha(){if(!oo){var w=Do(Ou);oo=!0;for(var te=Fa.length;te;){for(xa=Fa,Fa=[];++Va<te;)xa&&xa[Va].run();Va=-1,te=Fa.length}xa=null,oo=!1,Iu(w)}}function Cl(w){var te=new Array(arguments.length-1);if(arguments.length>1)for(var X=1;X<arguments.length;X++)te[X-1]=arguments[X];Fa.push(new pu(w,te)),Fa.length===1&&!oo&&Do(Ha)}function pu(w,te){this.fun=w,this.array=te}function Sa(){}function ao(w){throw new Error("process.binding is not supported")}function va(){return"/"}function hu(w){throw new Error("process.chdir is not supported")}function Qu(){return 0}function Zu(w){var te=Ri.call(Rn)*.001,X=Math.floor(te),Y=Math.floor(te%1*1e9);return w&&(X=X-w[0],Y=Y-w[1],Y<0&&(X--,Y+=1e9)),[X,Y]}function qa(){var w=new Date,te=w-rs;return te/1e3}var Wa,Pi,Fa,oo,xa,Va,Uo,eu,tu,Ga,fu,ri,yn,bn,an,on,ni,Qn,oi,yi,Ki,Ci,Rn,Ri,rs,wi,Xi,js=Gn({"node-modules-polyfills:process"(){Me(),Wa=Bu,Pi=_u,typeof globalThis.setTimeout=="function"&&(Wa=setTimeout),typeof globalThis.clearTimeout=="function"&&(Pi=clearTimeout),Fa=[],oo=!1,Va=-1,pu.prototype.run=function(){this.fun.apply(null,this.array)},Uo="browser",eu="browser",tu=!0,Ga={},fu=[],ri="",yn={},bn={},an={},on=Sa,ni=Sa,Qn=Sa,oi=Sa,yi=Sa,Ki=Sa,Ci=Sa,Rn=globalThis.performance||{},Ri=Rn.now||Rn.mozNow||Rn.msNow||Rn.oNow||Rn.webkitNow||function(){return new Date().getTime()},rs=new Date,wi={nextTick:Cl,title:Uo,browser:tu,env:Ga,argv:fu,version:ri,versions:yn,on,addListener:ni,once:Qn,off:oi,removeListener:yi,removeAllListeners:Ki,emit:Ci,binding:ao,cwd:va,chdir:hu,umask:Qu,hrtime:Zu,platform:eu,release:bn,config:an,uptime:qa},Xi=wi}}),_i,Ui,st=Gn({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){Me(),typeof Object.create=="function"?_i=function(w,te){w.super_=te,w.prototype=Object.create(te.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}})}:_i=function(w,te){w.super_=te;var X=function(){};X.prototype=te.prototype,w.prototype=new X,w.prototype.constructor=w},Ui=_i}}),Ms={};On(Ms,{_extend:()=>We,debuglog:()=>So,default:()=>Ji,deprecate:()=>Os,format:()=>ra,inherits:()=>Ui,inspect:()=>Ps,isArray:()=>Ot,isBoolean:()=>An,isBuffer:()=>en,isDate:()=>Wr,isError:()=>pi,isFunction:()=>Ln,isNull:()=>ut,isNullOrUndefined:()=>It,isNumber:()=>ar,isObject:()=>rn,isPrimitive:()=>Cs,isRegExp:()=>Hn,isString:()=>qr,isSymbol:()=>br,isUndefined:()=>zr,log:()=>cs});function ra(w){if(!qr(w)){for(var te=[],X=0;X<arguments.length;X++)te.push(Ps(arguments[X]));return te.join(" ")}for(var X=1,Y=arguments,fe=Y.length,Ce=String(w).replace(Or,function(pe){if(pe==="%%")return"%";if(X>=fe)return pe;switch(pe){case"%s":return String(Y[X++]);case"%d":return Number(Y[X++]);case"%j":try{return JSON.stringify(Y[X++])}catch{return"[Circular]"}default:return pe}}),ge=Y[X];X<fe;ge=Y[++X])ut(ge)||!rn(ge)?Ce+=" "+ge:Ce+=" "+Ps(ge);return Ce}function Os(w,te){if(zr(globalThis.process))return function(){return Os(w,te).apply(this,arguments)};if(Xi.noDeprecation===!0)return w;var X=!1;function Y(){if(!X){if(Xi.throwDeprecation)throw new Error(te);Xi.traceDeprecation?console.trace(te):console.error(te),X=!0}return w.apply(this,arguments)}return Y}function So(w){if(zr(xn)&&(xn=Xi.env.NODE_DEBUG||""),w=w.toUpperCase(),!ir[w])if(new RegExp("\\b"+w+"\\b","i").test(xn)){var te=0;ir[w]=function(){var X=ra.apply(null,arguments);console.error("%s %d: %s",w,te,X)}}else ir[w]=function(){};return ir[w]}function Ps(w,te){var X={seen:[],stylize:ce};return arguments.length>=3&&(X.depth=arguments[2]),arguments.length>=4&&(X.colors=arguments[3]),An(te)?X.showHidden=te:te&&We(X,te),zr(X.showHidden)&&(X.showHidden=!1),zr(X.depth)&&(X.depth=2),zr(X.colors)&&(X.colors=!1),zr(X.customInspect)&&(X.customInspect=!0),X.colors&&(X.stylize=Gi),vt(X,w,X.depth)}function Gi(w,te){var X=Ps.styles[te];return X?"\x1B["+Ps.colors[X][0]+"m"+w+"\x1B["+Ps.colors[X][1]+"m":w}function ce(w,te){return w}function Oe(w){var te={};return w.forEach(function(X,Y){te[X]=!0}),te}function vt(w,te,X){if(w.customInspect&&te&&Ln(te.inspect)&&te.inspect!==Ps&&!(te.constructor&&te.constructor.prototype===te)){var Y=te.inspect(X,w);return qr(Y)||(Y=vt(w,Y,X)),Y}var fe=wt(w,te);if(fe)return fe;var Ce=Object.keys(te),ge=Oe(Ce);if(w.showHidden&&(Ce=Object.getOwnPropertyNames(te)),pi(te)&&(Ce.indexOf("message")>=0||Ce.indexOf("description")>=0))return Ut(te);if(Ce.length===0){if(Ln(te)){var Ae=te.name?": "+te.name:"";return w.stylize("[Function"+Ae+"]","special")}if(Hn(te))return w.stylize(RegExp.prototype.toString.call(te),"regexp");if(Wr(te))return w.stylize(Date.prototype.toString.call(te),"date");if(pi(te))return Ut(te)}var pe="",ae=!1,F=["{","}"];if(Ot(te)&&(ae=!0,F=["[","]"]),Ln(te)){var b=te.name?": "+te.name:"";pe=" [Function"+b+"]"}if(Hn(te)&&(pe=" "+RegExp.prototype.toString.call(te)),Wr(te)&&(pe=" "+Date.prototype.toUTCString.call(te)),pi(te)&&(pe=" "+Ut(te)),Ce.length===0&&(!ae||te.length==0))return F[0]+pe+F[1];if(X<0)return Hn(te)?w.stylize(RegExp.prototype.toString.call(te),"regexp"):w.stylize("[Object]","special");w.seen.push(te);var Z;return ae?Z=et(w,te,X,ge,Ce):Z=Ce.map(function(V){return gt(w,te,X,ge,V,ae)}),w.seen.pop(),lr(Z,pe,F)}function wt(w,te){if(zr(te))return w.stylize("undefined","undefined");if(qr(te)){var X="'"+JSON.stringify(te).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return w.stylize(X,"string")}if(ar(te))return w.stylize(""+te,"number");if(An(te))return w.stylize(""+te,"boolean");if(ut(te))return w.stylize("null","null")}function Ut(w){return"["+Error.prototype.toString.call(w)+"]"}function et(w,te,X,Y,fe){for(var Ce=[],ge=0,Ae=te.length;ge<Ae;++ge)ft(te,String(ge))?Ce.push(gt(w,te,X,Y,String(ge),!0)):Ce.push("");return fe.forEach(function(pe){pe.match(/^\d+$/)||Ce.push(gt(w,te,X,Y,pe,!0))}),Ce}function gt(w,te,X,Y,fe,Ce){var ge,Ae,pe;if(pe=Object.getOwnPropertyDescriptor(te,fe)||{value:te[fe]},pe.get?pe.set?Ae=w.stylize("[Getter/Setter]","special"):Ae=w.stylize("[Getter]","special"):pe.set&&(Ae=w.stylize("[Setter]","special")),ft(Y,fe)||(ge="["+fe+"]"),Ae||(w.seen.indexOf(pe.value)<0?(ut(X)?Ae=vt(w,pe.value,null):Ae=vt(w,pe.value,X-1),Ae.indexOf(`
165
- `)>-1&&(Ce?Ae=Ae.split(`
166
- `).map(function(ae){return" "+ae}).join(`
167
- `).substr(2):Ae=`
168
- `+Ae.split(`
169
- `).map(function(ae){return" "+ae}).join(`
170
- `))):Ae=w.stylize("[Circular]","special")),zr(ge)){if(Ce&&fe.match(/^\d+$/))return Ae;ge=JSON.stringify(""+fe),ge.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ge=ge.substr(1,ge.length-2),ge=w.stylize(ge,"name")):(ge=ge.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ge=w.stylize(ge,"string"))}return ge+": "+Ae}function lr(w,te,X){var Y=0,fe=w.reduce(function(Ce,ge){return Y++,ge.indexOf(`
171
- `)>=0&&Y++,Ce+ge.replace(/\u001b\[\d\d?m/g,"").length+1},0);return fe>60?X[0]+(te===""?"":te+`
172
- `)+" "+w.join(`,
173
- `)+" "+X[1]:X[0]+te+" "+w.join(", ")+" "+X[1]}function Ot(w){return Array.isArray(w)}function An(w){return typeof w=="boolean"}function ut(w){return w===null}function It(w){return w==null}function ar(w){return typeof w=="number"}function qr(w){return typeof w=="string"}function br(w){return typeof w=="symbol"}function zr(w){return w===void 0}function Hn(w){return rn(w)&&Si(w)==="[object RegExp]"}function rn(w){return typeof w=="object"&&w!==null}function Wr(w){return rn(w)&&Si(w)==="[object Date]"}function pi(w){return rn(w)&&(Si(w)==="[object Error]"||w instanceof Error)}function Ln(w){return typeof w=="function"}function Cs(w){return w===null||typeof w=="boolean"||typeof w=="number"||typeof w=="string"||typeof w=="symbol"||typeof w>"u"}function en(w){return Buffer.isBuffer(w)}function Si(w){return Object.prototype.toString.call(w)}function Ai(w){return w<10?"0"+w.toString(10):w.toString(10)}function Wi(){var w=new Date,te=[Ai(w.getHours()),Ai(w.getMinutes()),Ai(w.getSeconds())].join(":");return[w.getDate(),$i[w.getMonth()],te].join(" ")}function cs(){console.log("%s - %s",Wi(),ra.apply(null,arguments))}function We(w,te){if(!te||!rn(te))return w;for(var X=Object.keys(te),Y=X.length;Y--;)w[X[Y]]=te[X[Y]];return w}function ft(w,te){return Object.prototype.hasOwnProperty.call(w,te)}var Or,ir,xn,$i,Ji,Js=Gn({"node-modules-polyfills:util"(){Me(),js(),st(),Or=/%[sdj%]/g,ir={},Ps.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]},Ps.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},$i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ji={inherits:Ui,_extend:We,log:cs,isBuffer:en,isPrimitive:Cs,isFunction:Ln,isError:pi,isDate:Wr,isObject:rn,isRegExp:Hn,isUndefined:zr,isSymbol:br,isString:qr,isNumber:ar,isNullOrUndefined:It,isNull:ut,isBoolean:An,isArray:Ot,inspect:Ps,deprecate:Os,format:ra,debuglog:So}}}),Ns=Xt({"node-modules-polyfills-commonjs:util"(w,te){Me();var X=(Js(),Bt(Ms));if(X&&X.default){te.exports=X.default;for(let Y in X)te.exports[Y]=X[Y]}else X&&(te.exports=X)}}),na=Xt({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(w,te){Me();var X=class extends Error{constructor(Y){super(Y),this.name=this.constructor.name,this.message=Y||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(Y).stack}};te.exports=X}}),Ts=Xt({"node_modules/postcss-values-parser/lib/tokenize.js"(w,te){Me();var X="{".charCodeAt(0),Y="}".charCodeAt(0),fe="(".charCodeAt(0),Ce=")".charCodeAt(0),ge="'".charCodeAt(0),Ae='"'.charCodeAt(0),pe="\\".charCodeAt(0),ae="/".charCodeAt(0),F=".".charCodeAt(0),b=",".charCodeAt(0),Z=":".charCodeAt(0),V="*".charCodeAt(0),Ie="-".charCodeAt(0),Te="+".charCodeAt(0),Ke="#".charCodeAt(0),Ge=`
174
- `.charCodeAt(0),Ne=" ".charCodeAt(0),pt="\f".charCodeAt(0),bt=" ".charCodeAt(0),Gt="\r".charCodeAt(0),dn="@".charCodeAt(0),zn="e".charCodeAt(0),Un="E".charCodeAt(0),Di="0".charCodeAt(0),li="9".charCodeAt(0),un="u".charCodeAt(0),Ei="U".charCodeAt(0),mi=/[ \n\t\r\{\(\)'"\\;,/]/g,Fn=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Gr=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Cn=/^[a-z0-9]/i,jr=/^[a-f0-9?\-]/i,Is=Ns(),Yi=na();te.exports=function(Ss,Li){Li=Li||{};let zi=[],Zn=Ss.valueOf(),Ni=Zn.length,vi=-1,Ti=1,Wt=0,Ar=0,Br=null,_n,Lt,ii,Yn,Ys,zs,Qs,fo,gs,Us,Aa;function ua(Hs){let ya=Is.format("Unclosed %s at line: %d, column: %d, token: %d",Hs,Ti,Wt-vi,Wt);throw new Yi(ya)}for(;Wt<Ni;){switch(_n=Zn.charCodeAt(Wt),_n===Ge&&(vi=Wt,Ti+=1),_n){case Ge:case Ne:case bt:case Gt:case pt:Lt=Wt;do Lt+=1,_n=Zn.charCodeAt(Lt),_n===Ge&&(vi=Lt,Ti+=1);while(_n===Ne||_n===Ge||_n===bt||_n===Gt||_n===pt);zi.push(["space",Zn.slice(Wt,Lt),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt-1;break;case Z:Lt=Wt+1,zi.push(["colon",Zn.slice(Wt,Lt),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt-1;break;case b:Lt=Wt+1,zi.push(["comma",Zn.slice(Wt,Lt),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt-1;break;case X:zi.push(["{","{",Ti,Wt-vi,Ti,Lt-vi,Wt]);break;case Y:zi.push(["}","}",Ti,Wt-vi,Ti,Lt-vi,Wt]);break;case fe:Ar++,Br=!Br&&Ar===1&&zi.length>0&&zi[zi.length-1][0]==="word"&&zi[zi.length-1][1]==="url",zi.push(["(","(",Ti,Wt-vi,Ti,Lt-vi,Wt]);break;case Ce:Ar--,Br=Br&&Ar>0,zi.push([")",")",Ti,Wt-vi,Ti,Lt-vi,Wt]);break;case ge:case Ae:ii=_n===ge?"'":'"',Lt=Wt;do for(gs=!1,Lt=Zn.indexOf(ii,Lt+1),Lt===-1&&ua("quote"),Us=Lt;Zn.charCodeAt(Us-1)===pe;)Us-=1,gs=!gs;while(gs);zi.push(["string",Zn.slice(Wt,Lt+1),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt;break;case dn:mi.lastIndex=Wt+1,mi.lastIndex===0?Lt=Zn.length-1:Lt=mi.lastIndex-2,zi.push(["atword",Zn.slice(Wt,Lt+1),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt;break;case pe:Lt=Wt,_n=Zn.charCodeAt(Lt+1),zi.push(["word",Zn.slice(Wt,Lt+1),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt;break;case Te:case Ie:case V:if(Lt=Wt+1,Aa=Zn.slice(Wt+1,Lt+1),Zn.slice(Wt-1,Wt),_n===Ie&&Aa.charCodeAt(0)===Ie){Lt++,zi.push(["word",Zn.slice(Wt,Lt),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt-1;break}zi.push(["operator",Zn.slice(Wt,Lt),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt-1;break;default:if(_n===ae&&(Zn.charCodeAt(Wt+1)===V||Li.loose&&!Br&&Zn.charCodeAt(Wt+1)===ae)){if(Zn.charCodeAt(Wt+1)===V)Lt=Zn.indexOf("*/",Wt+2)+1,Lt===0&&ua("comment");else{let Hs=Zn.indexOf(`
175
- `,Wt+2);Lt=Hs!==-1?Hs-1:Ni}zs=Zn.slice(Wt,Lt+1),Yn=zs.split(`
176
- `),Ys=Yn.length-1,Ys>0?(Qs=Ti+Ys,fo=Lt-Yn[Ys].length):(Qs=Ti,fo=vi),zi.push(["comment",zs,Ti,Wt-vi,Qs,Lt-fo,Wt]),vi=fo,Ti=Qs,Wt=Lt}else if(_n===Ke&&!Cn.test(Zn.slice(Wt+1,Wt+2)))Lt=Wt+1,zi.push(["#",Zn.slice(Wt,Lt),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt-1;else if((_n===un||_n===Ei)&&Zn.charCodeAt(Wt+1)===Te){Lt=Wt+2;do Lt+=1,_n=Zn.charCodeAt(Lt);while(Lt<Ni&&jr.test(Zn.slice(Lt,Lt+1)));zi.push(["unicoderange",Zn.slice(Wt,Lt),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt-1}else if(_n===ae)Lt=Wt+1,zi.push(["operator",Zn.slice(Wt,Lt),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt-1;else{let Hs=Fn;if(_n>=Di&&_n<=li&&(Hs=Gr),Hs.lastIndex=Wt+1,Hs.test(Zn),Hs.lastIndex===0?Lt=Zn.length-1:Lt=Hs.lastIndex-2,Hs===Gr||_n===F){let ya=Zn.charCodeAt(Lt),_l=Zn.charCodeAt(Lt+1),hl=Zn.charCodeAt(Lt+2);(ya===zn||ya===Un)&&(_l===Ie||_l===Te)&&hl>=Di&&hl<=li&&(Gr.lastIndex=Lt+2,Gr.lastIndex===0?Lt=Zn.length-1:Lt=Gr.lastIndex-2)}zi.push(["word",Zn.slice(Wt,Lt+1),Ti,Wt-vi,Ti,Lt-vi,Wt]),Wt=Lt}break}Wt++}return zi}}}),la=Xt({"node_modules/flatten/index.js"(w,te){Me(),te.exports=function(X,Y){if(Y=typeof Y=="number"?Y:1/0,!Y)return Array.isArray(X)?X.map(function(Ce){return Ce}):X;return fe(X,1);function fe(Ce,ge){return Ce.reduce(function(Ae,pe){return Array.isArray(pe)&&ge<Y?Ae.concat(fe(pe,ge+1)):Ae.concat(pe)},[])}}}}),Rs=Xt({"node_modules/indexes-of/index.js"(w,te){Me(),te.exports=function(X,Y){for(var fe=-1,Ce=[];(fe=X.indexOf(Y,fe+1))!==-1;)Ce.push(fe);return Ce}}}),ca=Xt({"node_modules/uniq/uniq.js"(w,te){Me();function X(Ce,ge){for(var Ae=1,pe=Ce.length,ae=Ce[0],F=Ce[0],b=1;b<pe;++b)if(F=ae,ae=Ce[b],ge(ae,F)){if(b===Ae){Ae++;continue}Ce[Ae++]=ae}return Ce.length=Ae,Ce}function Y(Ce){for(var ge=1,Ae=Ce.length,pe=Ce[0],ae=Ce[0],F=1;F<Ae;++F,ae=pe)if(ae=pe,pe=Ce[F],pe!==ae){if(F===ge){ge++;continue}Ce[ge++]=pe}return Ce.length=ge,Ce}function fe(Ce,ge,Ae){return Ce.length===0?Ce:ge?(Ae||Ce.sort(ge),X(Ce,ge)):(Ae||Ce.sort(),Y(Ce))}te.exports=fe}}),En=Xt({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(w,te){Me();var X=class extends Error{constructor(Y){super(Y),this.name=this.constructor.name,this.message=Y||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(Y).stack}};te.exports=X}}),qn=Xt({"node_modules/postcss-values-parser/lib/parser.js"(w,te){Me();var X=Bi(),Y=Fu(),fe=uu(),Ce=so(),ge=Na(),Ae=ku(),pe=xi(),ae=yo(),F=lu(),b=Pu(),Z=zo(),V=cu(),Ie=Nu(),Te=Ts(),Ke=la(),Ge=Rs(),Ne=ca(),pt=En();function bt(Gt){return Gt.sort((dn,zn)=>dn-zn)}te.exports=class{constructor(Gt,dn){let zn={loose:!1};this.cache=[],this.input=Gt,this.options=Object.assign({},zn,dn),this.position=0,this.unbalanced=0,this.root=new X;let Un=new Y;this.root.append(Un),this.current=Un,this.tokens=Te(Gt,this.options)}parse(){return this.loop()}colon(){let Gt=this.currToken;this.newNode(new Ce({value:Gt[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++}comma(){let Gt=this.currToken;this.newNode(new ge({value:Gt[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++}comment(){let Gt=!1,dn=this.currToken[1].replace(/\/\*|\*\//g,""),zn;this.options.loose&&dn.startsWith("//")&&(dn=dn.substring(2),Gt=!0),zn=new Ae({value:dn,inline:Gt,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(zn),this.position++}error(Gt,dn){throw new pt(Gt+` at line: ${dn[2]}, column ${dn[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 Gt=this.currToken[1],dn;if(Gt==="+"||Gt==="-"){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 dn=new F({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(dn)}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 Gt=1,dn=this.position+1,zn=this.currToken,Un;for(;dn<this.tokens.length&&Gt;){let Di=this.tokens[dn];Di[0]==="("&&Gt++,Di[0]===")"&&Gt--,dn++}if(Gt&&this.error("Expected closing parenthesis",zn),Un=this.current.last,Un&&Un.type==="func"&&Un.unbalanced<0&&(Un.unbalanced=0,this.current=Un),this.current.unbalanced++,this.newNode(new b({value:zn[1],source:{start:{line:zn[2],column:zn[3]},end:{line:zn[4],column:zn[5]}},sourceIndex:zn[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 Di=this.nextToken,li=this.currToken[1],un={line:this.currToken[2],column:this.currToken[3]};for(;Di&&Di[0]!==")"&&this.current.unbalanced;)this.position++,li+=this.currToken[1],Di=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new V({value:li,source:{start:un,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let Gt=this.currToken;this.newNode(new b({value:Gt[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",Gt),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let Gt=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=Gt[1],this.position++):(this.spaces=Gt[1],this.position++)}unicodeRange(){let Gt=this.currToken;this.newNode(new Ie({value:Gt[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++}splitWord(){let Gt=this.nextToken,dn=this.currToken[1],zn=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,Un=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,Di,li;if(!Un.test(dn))for(;Gt&&Gt[0]==="word";)this.position++,dn+=this.currToken[1],Gt=this.nextToken;Di=Ge(dn,"@"),li=bt(Ne(Ke([[0],Di]))),li.forEach((un,Ei)=>{let mi=li[Ei+1]||dn.length,Fn=dn.slice(un,mi),Gr;if(~Di.indexOf(un))Gr=new fe({value:Fn.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+un},end:{line:this.currToken[4],column:this.currToken[3]+(mi-1)}},sourceIndex:this.currToken[6]+li[Ei]});else if(zn.test(this.currToken[1])){let Cn=Fn.replace(zn,"");Gr=new ae({value:Fn.replace(Cn,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+un},end:{line:this.currToken[4],column:this.currToken[3]+(mi-1)}},sourceIndex:this.currToken[6]+li[Ei],unit:Cn})}else Gr=new(Gt&&Gt[0]==="("?pe:V)({value:Fn,source:{start:{line:this.currToken[2],column:this.currToken[3]+un},end:{line:this.currToken[4],column:this.currToken[3]+(mi-1)}},sourceIndex:this.currToken[6]+li[Ei]}),Gr.type==="word"?(Gr.isHex=/^#(.+)/.test(Fn),Gr.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(Fn)):this.cache.push(this.current);this.newNode(Gr)}),this.position++}string(){let Gt=this.currToken,dn=this.currToken[1],zn=/^(\"|\')/,Un=zn.test(dn),Di="",li;Un&&(Di=dn.match(zn)[0],dn=dn.slice(1,dn.length-1)),li=new Z({value:dn,source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6],quoted:Un}),li.raws.quote=Di,this.newNode(li),this.position++}word(){return this.splitWord()}newNode(Gt){return this.spaces&&(Gt.raws.before+=this.spaces,this.spaces=""),this.current.append(Gt)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),hi=Xt({"node_modules/postcss-values-parser/lib/index.js"(w,te){Me();var X=qn(),Y=uu(),fe=so(),Ce=Na(),ge=ku(),Ae=xi(),pe=yo(),ae=lu(),F=Pu(),b=zo(),Z=Nu(),V=Fu(),Ie=cu(),Te=function(Ke,Ge){return new X(Ke,Ge)};Te.atword=function(Ke){return new Y(Ke)},Te.colon=function(Ke){return new fe(Object.assign({value:":"},Ke))},Te.comma=function(Ke){return new Ce(Object.assign({value:","},Ke))},Te.comment=function(Ke){return new ge(Ke)},Te.func=function(Ke){return new Ae(Ke)},Te.number=function(Ke){return new pe(Ke)},Te.operator=function(Ke){return new ae(Ke)},Te.paren=function(Ke){return new F(Object.assign({value:"("},Ke))},Te.string=function(Ke){return new b(Object.assign({quote:"'"},Ke))},Te.value=function(Ke){return new V(Ke)},Te.word=function(Ke){return new Ie(Ke)},Te.unicodeRange=function(Ke){return new Z(Ke)},te.exports=Te}}),si=Xt({"node_modules/postcss-selector-parser/dist/selectors/node.js"(w,te){Me(),w.__esModule=!0;var X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ge){return typeof ge}:function(ge){return ge&&typeof Symbol=="function"&&ge.constructor===Symbol&&ge!==Symbol.prototype?"symbol":typeof ge};function Y(ge,Ae){if(!(ge instanceof Ae))throw new TypeError("Cannot call a class as a function")}var fe=function ge(Ae,pe){if((typeof Ae>"u"?"undefined":X(Ae))!=="object")return Ae;var ae=new Ae.constructor;for(var F in Ae)if(Ae.hasOwnProperty(F)){var b=Ae[F],Z=typeof b>"u"?"undefined":X(b);F==="parent"&&Z==="object"?pe&&(ae[F]=pe):b instanceof Array?ae[F]=b.map(function(V){return ge(V,ae)}):ae[F]=ge(b,ae)}return ae},Ce=function(){function ge(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Y(this,ge);for(var pe in Ae)this[pe]=Ae[pe];var ae=Ae.spaces;ae=ae===void 0?{}:ae;var F=ae.before,b=F===void 0?"":F,Z=ae.after,V=Z===void 0?"":Z;this.spaces={before:b,after:V}}return ge.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},ge.prototype.replaceWith=function(){if(this.parent){for(var Ae in arguments)this.parent.insertBefore(this,arguments[Ae]);this.remove()}return this},ge.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},ge.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},ge.prototype.clone=function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pe=fe(this);for(var ae in Ae)pe[ae]=Ae[ae];return pe},ge.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},ge}();w.default=Ce,te.exports=w.default}}),ai=Xt({"node_modules/postcss-selector-parser/dist/selectors/types.js"(w){Me(),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"}}),vs=Xt({"node_modules/postcss-selector-parser/dist/selectors/container.js"(w,te){Me(),w.__esModule=!0;var X=function(){function V(Ie,Te){for(var Ke=0;Ke<Te.length;Ke++){var Ge=Te[Ke];Ge.enumerable=Ge.enumerable||!1,Ge.configurable=!0,"value"in Ge&&(Ge.writable=!0),Object.defineProperty(Ie,Ge.key,Ge)}}return function(Ie,Te,Ke){return Te&&V(Ie.prototype,Te),Ke&&V(Ie,Ke),Ie}}(),Y=si(),fe=pe(Y),Ce=ai(),ge=Ae(Ce);function Ae(V){if(V&&V.__esModule)return V;var Ie={};if(V!=null)for(var Te in V)Object.prototype.hasOwnProperty.call(V,Te)&&(Ie[Te]=V[Te]);return Ie.default=V,Ie}function pe(V){return V&&V.__esModule?V:{default:V}}function ae(V,Ie){if(!(V instanceof Ie))throw new TypeError("Cannot call a class as a function")}function F(V,Ie){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ie&&(typeof Ie=="object"||typeof Ie=="function")?Ie:V}function b(V,Ie){if(typeof Ie!="function"&&Ie!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ie);V.prototype=Object.create(Ie&&Ie.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),Ie&&(Object.setPrototypeOf?Object.setPrototypeOf(V,Ie):V.__proto__=Ie)}var Z=function(V){b(Ie,V);function Ie(Te){ae(this,Ie);var Ke=F(this,V.call(this,Te));return Ke.nodes||(Ke.nodes=[]),Ke}return Ie.prototype.append=function(Te){return Te.parent=this,this.nodes.push(Te),this},Ie.prototype.prepend=function(Te){return Te.parent=this,this.nodes.unshift(Te),this},Ie.prototype.at=function(Te){return this.nodes[Te]},Ie.prototype.index=function(Te){return typeof Te=="number"?Te:this.nodes.indexOf(Te)},Ie.prototype.removeChild=function(Te){Te=this.index(Te),this.at(Te).parent=void 0,this.nodes.splice(Te,1);var Ke=void 0;for(var Ge in this.indexes)Ke=this.indexes[Ge],Ke>=Te&&(this.indexes[Ge]=Ke-1);return this},Ie.prototype.removeAll=function(){for(var Ge=this.nodes,Te=Array.isArray(Ge),Ke=0,Ge=Te?Ge:Ge[Symbol.iterator]();;){var Ne;if(Te){if(Ke>=Ge.length)break;Ne=Ge[Ke++]}else{if(Ke=Ge.next(),Ke.done)break;Ne=Ke.value}var pt=Ne;pt.parent=void 0}return this.nodes=[],this},Ie.prototype.empty=function(){return this.removeAll()},Ie.prototype.insertAfter=function(Te,Ke){var Ge=this.index(Te);this.nodes.splice(Ge+1,0,Ke);var Ne=void 0;for(var pt in this.indexes)Ne=this.indexes[pt],Ge<=Ne&&(this.indexes[pt]=Ne+this.nodes.length);return this},Ie.prototype.insertBefore=function(Te,Ke){var Ge=this.index(Te);this.nodes.splice(Ge,0,Ke);var Ne=void 0;for(var pt in this.indexes)Ne=this.indexes[pt],Ge<=Ne&&(this.indexes[pt]=Ne+this.nodes.length);return this},Ie.prototype.each=function(Te){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Ke=this.lastEach;if(this.indexes[Ke]=0,!!this.length){for(var Ge=void 0,Ne=void 0;this.indexes[Ke]<this.length&&(Ge=this.indexes[Ke],Ne=Te(this.at(Ge),Ge),Ne!==!1);)this.indexes[Ke]+=1;if(delete this.indexes[Ke],Ne===!1)return!1}},Ie.prototype.walk=function(Te){return this.each(function(Ke,Ge){var Ne=Te(Ke,Ge);if(Ne!==!1&&Ke.length&&(Ne=Ke.walk(Te)),Ne===!1)return!1})},Ie.prototype.walkAttributes=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.ATTRIBUTE)return Te.call(Ke,Ge)})},Ie.prototype.walkClasses=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.CLASS)return Te.call(Ke,Ge)})},Ie.prototype.walkCombinators=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.COMBINATOR)return Te.call(Ke,Ge)})},Ie.prototype.walkComments=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.COMMENT)return Te.call(Ke,Ge)})},Ie.prototype.walkIds=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.ID)return Te.call(Ke,Ge)})},Ie.prototype.walkNesting=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.NESTING)return Te.call(Ke,Ge)})},Ie.prototype.walkPseudos=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.PSEUDO)return Te.call(Ke,Ge)})},Ie.prototype.walkTags=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.TAG)return Te.call(Ke,Ge)})},Ie.prototype.walkUniversals=function(Te){var Ke=this;return this.walk(function(Ge){if(Ge.type===ge.UNIVERSAL)return Te.call(Ke,Ge)})},Ie.prototype.split=function(Te){var Ke=this,Ge=[];return this.reduce(function(Ne,pt,bt){var Gt=Te.call(Ke,pt);return Ge.push(pt),Gt?(Ne.push(Ge),Ge=[]):bt===Ke.length-1&&Ne.push(Ge),Ne},[])},Ie.prototype.map=function(Te){return this.nodes.map(Te)},Ie.prototype.reduce=function(Te,Ke){return this.nodes.reduce(Te,Ke)},Ie.prototype.every=function(Te){return this.nodes.every(Te)},Ie.prototype.some=function(Te){return this.nodes.some(Te)},Ie.prototype.filter=function(Te){return this.nodes.filter(Te)},Ie.prototype.sort=function(Te){return this.nodes.sort(Te)},Ie.prototype.toString=function(){return this.map(String).join("")},X(Ie,[{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}}]),Ie}(fe.default);w.default=Z,te.exports=w.default}}),ps=Xt({"node_modules/postcss-selector-parser/dist/selectors/root.js"(w,te){Me(),w.__esModule=!0;var X=vs(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.ROOT,V}return b.prototype.toString=function(){var Z=this.reduce(function(V,Ie){var Te=String(Ie);return Te?V+Te+",":""},"").slice(0,-1);return this.trailingComma?Z+",":Z},b}(Y.default);w.default=ae,te.exports=w.default}}),bs=Xt({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(w,te){Me(),w.__esModule=!0;var X=vs(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.SELECTOR,V}return b}(Y.default);w.default=ae,te.exports=w.default}}),aa=Xt({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(w,te){Me(),w.__esModule=!0;var X=function(){function F(b,Z){for(var V=0;V<Z.length;V++){var Ie=Z[V];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(b,Ie.key,Ie)}}return function(b,Z,V){return Z&&F(b.prototype,Z),V&&F(b,V),b}}(),Y=si(),fe=Ce(Y);function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(){return ge(this,b),Ae(this,F.apply(this,arguments))}return b.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},X(b,[{key:"ns",get:function(){var Z=this.namespace;return Z?(typeof Z=="string"?Z:"")+"|":""}}]),b}(fe.default);w.default=ae,te.exports=w.default}}),Fo=Xt({"node_modules/postcss-selector-parser/dist/selectors/className.js"(w,te){Me(),w.__esModule=!0;var X=aa(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.CLASS,V}return b.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},b}(Y.default);w.default=ae,te.exports=w.default}}),ko=Xt({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(w,te){Me(),w.__esModule=!0;var X=si(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.COMMENT,V}return b}(Y.default);w.default=ae,te.exports=w.default}}),Ka=Xt({"node_modules/postcss-selector-parser/dist/selectors/id.js"(w,te){Me(),w.__esModule=!0;var X=aa(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.ID,V}return b.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},b}(Y.default);w.default=ae,te.exports=w.default}}),ru=Xt({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(w,te){Me(),w.__esModule=!0;var X=aa(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.TAG,V}return b}(Y.default);w.default=ae,te.exports=w.default}}),Po=Xt({"node_modules/postcss-selector-parser/dist/selectors/string.js"(w,te){Me(),w.__esModule=!0;var X=si(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.STRING,V}return b}(Y.default);w.default=ae,te.exports=w.default}}),Ca=Xt({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(w,te){Me(),w.__esModule=!0;var X=vs(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.PSEUDO,V}return b.prototype.toString=function(){var Z=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),Z,this.spaces.after].join("")},b}(Y.default);w.default=ae,te.exports=w.default}}),Ba=Xt({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(w,te){Me(),w.__esModule=!0;var X=aa(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.ATTRIBUTE,V.raws={},V}return b.prototype.toString=function(){var Z=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&Z.push(this.operator),this.value&&Z.push(this.value),this.raws.insensitive?Z.push(this.raws.insensitive):this.insensitive&&Z.push(" i"),Z.push("]"),Z.concat(this.spaces.after).join("")},b}(Y.default);w.default=ae,te.exports=w.default}}),_a=Xt({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(w,te){Me(),w.__esModule=!0;var X=aa(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.UNIVERSAL,V.value="*",V}return b}(Y.default);w.default=ae,te.exports=w.default}}),Ho=Xt({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(w,te){Me(),w.__esModule=!0;var X=si(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.COMBINATOR,V}return b}(Y.default);w.default=ae,te.exports=w.default}}),ls=Xt({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(w,te){Me(),w.__esModule=!0;var X=si(),Y=Ce(X),fe=ai();function Ce(F){return F&&F.__esModule?F:{default:F}}function ge(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function Ae(F,b){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:F}function pe(F,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);F.prototype=Object.create(b&&b.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(F,b):F.__proto__=b)}var ae=function(F){pe(b,F);function b(Z){ge(this,b);var V=Ae(this,F.call(this,Z));return V.type=fe.NESTING,V.value="&",V}return b}(Y.default);w.default=ae,te.exports=w.default}}),uo=Xt({"node_modules/postcss-selector-parser/dist/sortAscending.js"(w,te){Me(),w.__esModule=!0,w.default=X;function X(Y){return Y.sort(function(fe,Ce){return fe-Ce})}te.exports=w.default}}),qo=Xt({"node_modules/postcss-selector-parser/dist/tokenize.js"(w,te){Me(),w.__esModule=!0,w.default=un;var X=39,Y=34,fe=92,Ce=47,ge=10,Ae=32,pe=12,ae=9,F=13,b=43,Z=62,V=126,Ie=124,Te=44,Ke=40,Ge=41,Ne=91,pt=93,bt=59,Gt=42,dn=58,zn=38,Un=64,Di=/[ \n\t\r\{\(\)'"\\;/]/g,li=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function un(Ei){for(var mi=[],Fn=Ei.css.valueOf(),Gr=void 0,Cn=void 0,jr=void 0,Is=void 0,Yi=void 0,Ss=void 0,Li=void 0,zi=void 0,Zn=void 0,Ni=void 0,vi=void 0,Ti=Fn.length,Wt=-1,Ar=1,Br=0,_n=function(Lt,ii){if(Ei.safe)Fn+=ii,Cn=Fn.length-1;else throw Ei.error("Unclosed "+Lt,Ar,Br-Wt,Br)};Br<Ti;){switch(Gr=Fn.charCodeAt(Br),Gr===ge&&(Wt=Br,Ar+=1),Gr){case ge:case Ae:case ae:case F:case pe:Cn=Br;do Cn+=1,Gr=Fn.charCodeAt(Cn),Gr===ge&&(Wt=Cn,Ar+=1);while(Gr===Ae||Gr===ge||Gr===ae||Gr===F||Gr===pe);mi.push(["space",Fn.slice(Br,Cn),Ar,Br-Wt,Br]),Br=Cn-1;break;case b:case Z:case V:case Ie:Cn=Br;do Cn+=1,Gr=Fn.charCodeAt(Cn);while(Gr===b||Gr===Z||Gr===V||Gr===Ie);mi.push(["combinator",Fn.slice(Br,Cn),Ar,Br-Wt,Br]),Br=Cn-1;break;case Gt:mi.push(["*","*",Ar,Br-Wt,Br]);break;case zn:mi.push(["&","&",Ar,Br-Wt,Br]);break;case Te:mi.push([",",",",Ar,Br-Wt,Br]);break;case Ne:mi.push(["[","[",Ar,Br-Wt,Br]);break;case pt:mi.push(["]","]",Ar,Br-Wt,Br]);break;case dn:mi.push([":",":",Ar,Br-Wt,Br]);break;case bt:mi.push([";",";",Ar,Br-Wt,Br]);break;case Ke:mi.push(["(","(",Ar,Br-Wt,Br]);break;case Ge:mi.push([")",")",Ar,Br-Wt,Br]);break;case X:case Y:jr=Gr===X?"'":'"',Cn=Br;do for(Ni=!1,Cn=Fn.indexOf(jr,Cn+1),Cn===-1&&_n("quote",jr),vi=Cn;Fn.charCodeAt(vi-1)===fe;)vi-=1,Ni=!Ni;while(Ni);mi.push(["string",Fn.slice(Br,Cn+1),Ar,Br-Wt,Ar,Cn-Wt,Br]),Br=Cn;break;case Un:Di.lastIndex=Br+1,Di.lastIndex===0?Cn=Fn.length-1:Cn=Di.lastIndex-2,mi.push(["at-word",Fn.slice(Br,Cn+1),Ar,Br-Wt,Ar,Cn-Wt,Br]),Br=Cn;break;case fe:for(Cn=Br,Li=!0;Fn.charCodeAt(Cn+1)===fe;)Cn+=1,Li=!Li;Gr=Fn.charCodeAt(Cn+1),Li&&Gr!==Ce&&Gr!==Ae&&Gr!==ge&&Gr!==ae&&Gr!==F&&Gr!==pe&&(Cn+=1),mi.push(["word",Fn.slice(Br,Cn+1),Ar,Br-Wt,Ar,Cn-Wt,Br]),Br=Cn;break;default:Gr===Ce&&Fn.charCodeAt(Br+1)===Gt?(Cn=Fn.indexOf("*/",Br+2)+1,Cn===0&&_n("comment","*/"),Ss=Fn.slice(Br,Cn+1),Is=Ss.split(`
177
- `),Yi=Is.length-1,Yi>0?(zi=Ar+Yi,Zn=Cn-Is[Yi].length):(zi=Ar,Zn=Wt),mi.push(["comment",Ss,Ar,Br-Wt,zi,Cn-Zn,Br]),Wt=Zn,Ar=zi,Br=Cn):(li.lastIndex=Br+1,li.lastIndex===0?Cn=Fn.length-1:Cn=li.lastIndex-2,mi.push(["word",Fn.slice(Br,Cn+1),Ar,Br-Wt,Ar,Cn-Wt,Br]),Br=Cn);break}Br++}return mi}te.exports=w.default}}),Wo=Xt({"node_modules/postcss-selector-parser/dist/parser.js"(w,te){Me(),w.__esModule=!0;var X=function(){function Wt(Ar,Br){for(var _n=0;_n<Br.length;_n++){var Lt=Br[_n];Lt.enumerable=Lt.enumerable||!1,Lt.configurable=!0,"value"in Lt&&(Lt.writable=!0),Object.defineProperty(Ar,Lt.key,Lt)}}return function(Ar,Br,_n){return Br&&Wt(Ar.prototype,Br),_n&&Wt(Ar,_n),Ar}}(),Y=la(),fe=Ni(Y),Ce=Rs(),ge=Ni(Ce),Ae=ca(),pe=Ni(Ae),ae=ps(),F=Ni(ae),b=bs(),Z=Ni(b),V=Fo(),Ie=Ni(V),Te=ko(),Ke=Ni(Te),Ge=Ka(),Ne=Ni(Ge),pt=ru(),bt=Ni(pt),Gt=Po(),dn=Ni(Gt),zn=Ca(),Un=Ni(zn),Di=Ba(),li=Ni(Di),un=_a(),Ei=Ni(un),mi=Ho(),Fn=Ni(mi),Gr=ls(),Cn=Ni(Gr),jr=uo(),Is=Ni(jr),Yi=qo(),Ss=Ni(Yi),Li=ai(),zi=Zn(Li);function Zn(Wt){if(Wt&&Wt.__esModule)return Wt;var Ar={};if(Wt!=null)for(var Br in Wt)Object.prototype.hasOwnProperty.call(Wt,Br)&&(Ar[Br]=Wt[Br]);return Ar.default=Wt,Ar}function Ni(Wt){return Wt&&Wt.__esModule?Wt:{default:Wt}}function vi(Wt,Ar){if(!(Wt instanceof Ar))throw new TypeError("Cannot call a class as a function")}var Ti=function(){function Wt(Ar){vi(this,Wt),this.input=Ar,this.lossy=Ar.options.lossless===!1,this.position=0,this.root=new F.default;var Br=new Z.default;return this.root.append(Br),this.current=Br,this.lossy?this.tokens=(0,Ss.default)({safe:Ar.safe,css:Ar.css.trim()}):this.tokens=(0,Ss.default)(Ar),this.loop()}return Wt.prototype.attribute=function(){var Ar="",Br=void 0,_n=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)Ar+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~Ar.indexOf("]")&&this.error("Expected a closing square bracket.");var Lt=Ar.split(/((?:[*~^$|]?=))([^]*)/),ii=Lt[0].split(/(\|)/g),Yn={operator:Lt[1],value:Lt[2],source:{start:{line:_n[2],column:_n[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:_n[4]};if(ii.length>1?(ii[0]===""&&(ii[0]=!0),Yn.attribute=this.parseValue(ii[2]),Yn.namespace=this.parseNamespace(ii[0])):Yn.attribute=this.parseValue(Lt[0]),Br=new li.default(Yn),Lt[2]){var Ys=Lt[2].split(/(\s+i\s*?)$/),zs=Ys[0].trim();Br.value=this.lossy?zs:Ys[0],Ys[1]&&(Br.insensitive=!0,this.lossy||(Br.raws.insensitive=Ys[1])),Br.quoted=zs[0]==="'"||zs[0]==='"',Br.raws.unquoted=Br.quoted?zs.slice(1,-1):zs}this.newNode(Br),this.position++},Wt.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var Ar=new Fn.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"?(Ar.spaces.before=this.parseSpace(this.currToken[1]),Ar.source.start.line=this.nextToken[2],Ar.source.start.column=this.nextToken[3],Ar.source.end.column=this.nextToken[3],Ar.source.end.line=this.nextToken[2],Ar.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?Ar.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?Ar.value=this.currToken[1]:this.currToken[0]==="space"&&(Ar.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(Ar)},Wt.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var Ar=new Z.default;this.current.parent.append(Ar),this.current=Ar,this.position++},Wt.prototype.comment=function(){var Ar=new Ke.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(Ar),this.position++},Wt.prototype.error=function(Ar){throw new this.input.error(Ar)},Wt.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Wt.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Wt.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Wt.prototype.namespace=function(){var Ar=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(Ar);if(this.nextToken[0]==="*")return this.position++,this.universal(Ar)},Wt.prototype.nesting=function(){this.newNode(new Cn.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++},Wt.prototype.parentheses=function(){var Ar=this.current.last;if(Ar&&Ar.type===zi.PSEUDO){var Br=new Z.default,_n=this.current;Ar.append(Br),this.current=Br;var Lt=1;for(this.position++;this.position<this.tokens.length&&Lt;)this.currToken[0]==="("&&Lt++,this.currToken[0]===")"&&Lt--,Lt?this.parse():(Br.parent.source.end.line=this.currToken[2],Br.parent.source.end.column=this.currToken[3],this.position++);Lt&&this.error("Expected closing parenthesis."),this.current=_n}else{var ii=1;for(this.position++,Ar.value+="(";this.position<this.tokens.length&&ii;)this.currToken[0]==="("&&ii++,this.currToken[0]===")"&&ii--,Ar.value+=this.parseParenthesisToken(this.currToken),this.position++;ii&&this.error("Expected closing parenthesis.")}},Wt.prototype.pseudo=function(){for(var Ar=this,Br="",_n=this.currToken;this.currToken&&this.currToken[0]===":";)Br+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var Lt=void 0;this.splitWord(!1,function(ii,Yn){Br+=ii,Lt=new Un.default({value:Br,source:{start:{line:_n[2],column:_n[3]},end:{line:Ar.currToken[4],column:Ar.currToken[5]}},sourceIndex:_n[4]}),Ar.newNode(Lt),Yn>1&&Ar.nextToken&&Ar.nextToken[0]==="("&&Ar.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Wt.prototype.space=function(){var Ar=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(Ar[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(Ar[1]),this.position++):this.combinator()},Wt.prototype.string=function(){var Ar=this.currToken;this.newNode(new dn.default({value:this.currToken[1],source:{start:{line:Ar[2],column:Ar[3]},end:{line:Ar[4],column:Ar[5]}},sourceIndex:Ar[6]})),this.position++},Wt.prototype.universal=function(Ar){var Br=this.nextToken;if(Br&&Br[1]==="|")return this.position++,this.namespace();this.newNode(new Ei.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]}),Ar),this.position++},Wt.prototype.splitWord=function(Ar,Br){for(var _n=this,Lt=this.nextToken,ii=this.currToken[1];Lt&&Lt[0]==="word";){this.position++;var Yn=this.currToken[1];if(ii+=Yn,Yn.lastIndexOf("\\")===Yn.length-1){var Ys=this.nextToken;Ys&&Ys[0]==="space"&&(ii+=this.parseSpace(Ys[1]," "),this.position++)}Lt=this.nextToken}var zs=(0,ge.default)(ii,"."),Qs=(0,ge.default)(ii,"#"),fo=(0,ge.default)(ii,"#{");fo.length&&(Qs=Qs.filter(function(Us){return!~fo.indexOf(Us)}));var gs=(0,Is.default)((0,pe.default)((0,fe.default)([[0],zs,Qs])));gs.forEach(function(Us,Aa){var ua=gs[Aa+1]||ii.length,Hs=ii.slice(Us,ua);if(Aa===0&&Br)return Br.call(_n,Hs,gs.length);var ya=void 0;~zs.indexOf(Us)?ya=new Ie.default({value:Hs.slice(1),source:{start:{line:_n.currToken[2],column:_n.currToken[3]+Us},end:{line:_n.currToken[4],column:_n.currToken[3]+(ua-1)}},sourceIndex:_n.currToken[6]+gs[Aa]}):~Qs.indexOf(Us)?ya=new Ne.default({value:Hs.slice(1),source:{start:{line:_n.currToken[2],column:_n.currToken[3]+Us},end:{line:_n.currToken[4],column:_n.currToken[3]+(ua-1)}},sourceIndex:_n.currToken[6]+gs[Aa]}):ya=new bt.default({value:Hs,source:{start:{line:_n.currToken[2],column:_n.currToken[3]+Us},end:{line:_n.currToken[4],column:_n.currToken[3]+(ua-1)}},sourceIndex:_n.currToken[6]+gs[Aa]}),_n.newNode(ya,Ar)}),this.position++},Wt.prototype.word=function(Ar){var Br=this.nextToken;return Br&&Br[1]==="|"?(this.position++,this.namespace()):this.splitWord(Ar)},Wt.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Wt.prototype.parse=function(Ar){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":Ar&&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}},Wt.prototype.parseNamespace=function(Ar){if(this.lossy&&typeof Ar=="string"){var Br=Ar.trim();return Br.length?Br:!0}return Ar},Wt.prototype.parseSpace=function(Ar,Br){return this.lossy?Br||"":Ar},Wt.prototype.parseValue=function(Ar){return this.lossy&&Ar&&typeof Ar=="string"?Ar.trim():Ar},Wt.prototype.parseParenthesisToken=function(Ar){return this.lossy?Ar[0]==="space"?this.parseSpace(Ar[1]," "):this.parseValue(Ar[1]):Ar[1]},Wt.prototype.newNode=function(Ar,Br){return Br&&(Ar.namespace=this.parseNamespace(Br)),this.spaces&&(Ar.spaces.before=this.spaces,this.spaces=""),this.current.append(Ar)},X(Wt,[{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]}}]),Wt}();w.default=Ti,te.exports=w.default}}),vo=Xt({"node_modules/postcss-selector-parser/dist/processor.js"(w,te){Me(),w.__esModule=!0;var X=function(){function pe(ae,F){for(var b=0;b<F.length;b++){var Z=F[b];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(ae,Z.key,Z)}}return function(ae,F,b){return F&&pe(ae.prototype,F),b&&pe(ae,b),ae}}(),Y=Wo(),fe=Ce(Y);function Ce(pe){return pe&&pe.__esModule?pe:{default:pe}}function ge(pe,ae){if(!(pe instanceof ae))throw new TypeError("Cannot call a class as a function")}var Ae=function(){function pe(ae){return ge(this,pe),this.func=ae||function(){},this}return pe.prototype.process=function(ae){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=new fe.default({css:ae,error:function(Z){throw new Error(Z)},options:F});return this.res=b,this.func(b),this},X(pe,[{key:"result",get:function(){return String(this.res)}}]),pe}();w.default=Ae,te.exports=w.default}}),Lu=Xt({"node_modules/postcss-selector-parser/dist/index.js"(w,te){Me(),w.__esModule=!0;var X=vo(),Y=Gr(X),fe=Ba(),Ce=Gr(fe),ge=Fo(),Ae=Gr(ge),pe=Ho(),ae=Gr(pe),F=ko(),b=Gr(F),Z=Ka(),V=Gr(Z),Ie=ls(),Te=Gr(Ie),Ke=Ca(),Ge=Gr(Ke),Ne=ps(),pt=Gr(Ne),bt=bs(),Gt=Gr(bt),dn=Po(),zn=Gr(dn),Un=ru(),Di=Gr(Un),li=_a(),un=Gr(li),Ei=ai(),mi=Fn(Ei);function Fn(jr){if(jr&&jr.__esModule)return jr;var Is={};if(jr!=null)for(var Yi in jr)Object.prototype.hasOwnProperty.call(jr,Yi)&&(Is[Yi]=jr[Yi]);return Is.default=jr,Is}function Gr(jr){return jr&&jr.__esModule?jr:{default:jr}}var Cn=function(jr){return new Y.default(jr)};Cn.attribute=function(jr){return new Ce.default(jr)},Cn.className=function(jr){return new Ae.default(jr)},Cn.combinator=function(jr){return new ae.default(jr)},Cn.comment=function(jr){return new b.default(jr)},Cn.id=function(jr){return new V.default(jr)},Cn.nesting=function(jr){return new Te.default(jr)},Cn.pseudo=function(jr){return new Ge.default(jr)},Cn.root=function(jr){return new pt.default(jr)},Cn.selector=function(jr){return new Gt.default(jr)},Cn.string=function(jr){return new zn.default(jr)},Cn.tag=function(jr){return new Di.default(jr)},Cn.universal=function(jr){return new un.default(jr)},Object.keys(mi).forEach(function(jr){jr!=="__esModule"&&(Cn[jr]=mi[jr])}),w.default=Cn,te.exports=w.default}}),No=Xt({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(w){Me(),Object.defineProperty(w,"__esModule",{value:!0});function te(X){this.after=X.after,this.before=X.before,this.type=X.type,this.value=X.value,this.sourceIndex=X.sourceIndex}w.default=te}}),lo=Xt({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(w){Me(),Object.defineProperty(w,"__esModule",{value:!0});var te=No(),X=Y(te);function Y(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}function fe(Ce){var ge=this;this.constructor(Ce),this.nodes=Ce.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(Ae){Ae.parent=ge})}fe.prototype=Object.create(X.default.prototype),fe.constructor=X.default,fe.prototype.walk=function(Ce,ge){for(var Ae=typeof Ce=="string"||Ce instanceof RegExp,pe=Ae?ge:Ce,ae=typeof Ce=="string"?new RegExp(Ce):Ce,F=0;F<this.nodes.length;F++){var b=this.nodes[F],Z=Ae?ae.test(b.type):!0;if(Z&&pe&&pe(b,F,this.nodes)===!1||b.nodes&&b.walk(Ce,ge)===!1)return!1}return!0},fe.prototype.each=function(){for(var Ce=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],ge=0;ge<this.nodes.length;ge++){var Ae=this.nodes[ge];if(Ce(Ae,ge,this.nodes)===!1)return!1}return!0},w.default=fe}}),pa=Xt({"node_modules/postcss-media-query-parser/dist/parsers.js"(w){Me(),Object.defineProperty(w,"__esModule",{value:!0}),w.parseMediaFeature=ge,w.parseMediaQuery=Ae,w.parseMediaList=pe;var te=No(),X=Ce(te),Y=lo(),fe=Ce(Y);function Ce(ae){return ae&&ae.__esModule?ae:{default:ae}}function ge(ae){var F=arguments.length<=1||arguments[1]===void 0?0:arguments[1],b=[{mode:"normal",character:null}],Z=[],V=0,Ie="",Te=null,Ke=null,Ge=F,Ne=ae;ae[0]==="("&&ae[ae.length-1]===")"&&(Ne=ae.substring(1,ae.length-1),Ge++);for(var pt=0;pt<Ne.length;pt++){var bt=Ne[pt];if((bt==="'"||bt==='"')&&(b[V].isCalculationEnabled===!0?(b.push({mode:"string",isCalculationEnabled:!1,character:bt}),V++):b[V].mode==="string"&&b[V].character===bt&&Ne[pt-1]!=="\\"&&(b.pop(),V--)),bt==="{"?(b.push({mode:"interpolation",isCalculationEnabled:!0}),V++):bt==="}"&&(b.pop(),V--),b[V].mode==="normal"&&bt===":"){var Gt=Ne.substring(pt+1);Ke={type:"value",before:/^(\s*)/.exec(Gt)[1],after:/(\s*)$/.exec(Gt)[1],value:Gt.trim()},Ke.sourceIndex=Ke.before.length+pt+1+Ge,Te={type:"colon",sourceIndex:pt+Ge,after:Ke.before,value:":"};break}Ie+=bt}return Ie={type:"media-feature",before:/^(\s*)/.exec(Ie)[1],after:/(\s*)$/.exec(Ie)[1],value:Ie.trim()},Ie.sourceIndex=Ie.before.length+Ge,Z.push(Ie),Te!==null&&(Te.before=Ie.after,Z.push(Te)),Ke!==null&&Z.push(Ke),Z}function Ae(ae){var F=arguments.length<=1||arguments[1]===void 0?0:arguments[1],b=[],Z=0,V=!1,Ie=void 0;function Te(){return{before:"",after:"",value:""}}Ie=Te();for(var Ke=0;Ke<ae.length;Ke++){var Ge=ae[Ke];V?(Ie.value+=Ge,(Ge==="{"||Ge==="(")&&Z++,(Ge===")"||Ge==="}")&&Z--):Ge.search(/\s/)!==-1?Ie.before+=Ge:(Ge==="("&&(Ie.type="media-feature-expression",Z++),Ie.value=Ge,Ie.sourceIndex=F+Ke,V=!0),V&&Z===0&&(Ge===")"||Ke===ae.length-1||ae[Ke+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(Ie.value)!==-1&&(Ie.type="keyword"),Ie.type==="media-feature-expression"&&(Ie.nodes=ge(Ie.value,Ie.sourceIndex)),b.push(Array.isArray(Ie.nodes)?new fe.default(Ie):new X.default(Ie)),Ie=Te(),V=!1)}for(var Ne=0;Ne<b.length;Ne++)if(Ie=b[Ne],Ne>0&&(b[Ne-1].after=Ie.before),Ie.type===void 0){if(Ne>0){if(b[Ne-1].type==="media-feature-expression"){Ie.type="keyword";continue}if(b[Ne-1].value==="not"||b[Ne-1].value==="only"){Ie.type="media-type";continue}if(b[Ne-1].value==="and"){Ie.type="media-feature-expression";continue}b[Ne-1].type==="media-type"&&(b[Ne+1]?Ie.type=b[Ne+1].type==="media-feature-expression"?"keyword":"media-feature-expression":Ie.type="media-feature-expression")}if(Ne===0){if(!b[Ne+1]){Ie.type="media-type";continue}if(b[Ne+1]&&(b[Ne+1].type==="media-feature-expression"||b[Ne+1].type==="keyword")){Ie.type="media-type";continue}if(b[Ne+2]){if(b[Ne+2].type==="media-feature-expression"){Ie.type="media-type",b[Ne+1].type="keyword";continue}if(b[Ne+2].type==="keyword"){Ie.type="keyword",b[Ne+1].type="media-type";continue}}if(b[Ne+3]&&b[Ne+3].type==="media-feature-expression"){Ie.type="keyword",b[Ne+1].type="media-type",b[Ne+2].type="keyword";continue}}}return b}function pe(ae){var F=[],b=0,Z=0,V=/^(\s*)url\s*\(/.exec(ae);if(V!==null){for(var Ie=V[0].length,Te=1;Te>0;){var Ke=ae[Ie];Ke==="("&&Te++,Ke===")"&&Te--,Ie++}F.unshift(new X.default({type:"url",value:ae.substring(0,Ie).trim(),sourceIndex:V[1].length,before:V[1],after:/^(\s*)/.exec(ae.substring(Ie))[1]})),b=Ie}for(var Ge=b;Ge<ae.length;Ge++){var Ne=ae[Ge];if(Ne==="("&&Z++,Ne===")"&&Z--,Z===0&&Ne===","){var pt=ae.substring(b,Ge),bt=/^(\s*)/.exec(pt)[1];F.push(new fe.default({type:"media-query",value:pt.trim(),sourceIndex:b+bt.length,nodes:Ae(pt,b),before:bt,after:/(\s*)$/.exec(pt)[1]})),b=Ge+1}}var Gt=ae.substring(b),dn=/^(\s*)/.exec(Gt)[1];return F.push(new fe.default({type:"media-query",value:Gt.trim(),sourceIndex:b+dn.length,nodes:Ae(Gt,b),before:dn,after:/(\s*)$/.exec(Gt)[1]})),F}}}),Ea=Xt({"node_modules/postcss-media-query-parser/dist/index.js"(w){Me(),Object.defineProperty(w,"__esModule",{value:!0}),w.default=Ce;var te=lo(),X=fe(te),Y=pa();function fe(ge){return ge&&ge.__esModule?ge:{default:ge}}function Ce(ge){return new X.default({nodes:(0,Y.parseMediaList)(ge),type:"media-query-list",value:ge.trim()})}}}),Ia={};On(Ia,{basename:()=>el,default:()=>gu,delimiter:()=>Xa,dirname:()=>Bo,extname:()=>Go,isAbsolute:()=>ka,join:()=>Mu,normalize:()=>Oa,relative:()=>Ja,resolve:()=>Vo,sep:()=>La});function co(w,te){for(var X=0,Y=w.length-1;Y>=0;Y--){var fe=w[Y];fe==="."?w.splice(Y,1):fe===".."?(w.splice(Y,1),X++):X&&(w.splice(Y,1),X--)}if(te)for(;X--;X)w.unshift("..");return w}function Vo(){for(var w="",te=!1,X=arguments.length-1;X>=-1&&!te;X--){var Y=X>=0?arguments[X]:"/";if(typeof Y!="string")throw new TypeError("Arguments to path.resolve must be strings");!Y||(w=Y+"/"+w,te=Y.charAt(0)==="/")}return w=co(du(w.split("/"),function(fe){return!!fe}),!te).join("/"),(te?"/":"")+w||"."}function Oa(w){var te=ka(w),X=Ya(w,-1)==="/";return w=co(du(w.split("/"),function(Y){return!!Y}),!te).join("/"),!w&&!te&&(w="."),w&&X&&(w+="/"),(te?"/":"")+w}function ka(w){return w.charAt(0)==="/"}function Mu(){var w=Array.prototype.slice.call(arguments,0);return Oa(du(w,function(te,X){if(typeof te!="string")throw new TypeError("Arguments to path.join must be strings");return te}).join("/"))}function Ja(w,te){w=Vo(w).substr(1),te=Vo(te).substr(1);function X(ae){for(var F=0;F<ae.length&&ae[F]==="";F++);for(var b=ae.length-1;b>=0&&ae[b]==="";b--);return F>b?[]:ae.slice(F,b-F+1)}for(var Y=X(w.split("/")),fe=X(te.split("/")),Ce=Math.min(Y.length,fe.length),ge=Ce,Ae=0;Ae<Ce;Ae++)if(Y[Ae]!==fe[Ae]){ge=Ae;break}for(var pe=[],Ae=ge;Ae<Y.length;Ae++)pe.push("..");return pe=pe.concat(fe.slice(ge)),pe.join("/")}function Bo(w){var te=xo(w),X=te[0],Y=te[1];return!X&&!Y?".":(Y&&(Y=Y.substr(0,Y.length-1)),X+Y)}function el(w,te){var X=xo(w)[2];return te&&X.substr(-1*te.length)===te&&(X=X.substr(0,X.length-te.length)),X}function Go(w){return xo(w)[3]}function du(w,te){if(w.filter)return w.filter(te);for(var X=[],Y=0;Y<w.length;Y++)te(w[Y],Y,w)&&X.push(w[Y]);return X}var mu,xo,La,Xa,gu,Ya,tl=Gn({"node-modules-polyfills:path"(){Me(),mu=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,xo=function(w){return mu.exec(w).slice(1)},La="/",Xa=":",gu={extname:Go,basename:el,dirname:Bo,sep:La,delimiter:Xa,relative:Ja,join:Mu,isAbsolute:ka,normalize:Oa,resolve:Vo},Ya="ab".substr(-1)==="b"?function(w,te,X){return w.substr(te,X)}:function(w,te,X){return te<0&&(te=w.length+te),w.substr(te,X)}}}),Hl=Xt({"node-modules-polyfills-commonjs:path"(w,te){Me();var X=(tl(),Bt(Ia));if(X&&X.default){te.exports=X.default;for(let Y in X)te.exports[Y]=X[Y]}else X&&(te.exports=X)}}),nc=Xt({"node_modules/picocolors/picocolors.browser.js"(w,te){Me();var X=String,Y=function(){return{isColorSupported:!1,reset:X,bold:X,dim:X,italic:X,underline:X,inverse:X,hidden:X,strikethrough:X,black:X,red:X,green:X,yellow:X,blue:X,magenta:X,cyan:X,white:X,gray:X,bgBlack:X,bgRed:X,bgGreen:X,bgYellow:X,bgBlue:X,bgMagenta:X,bgCyan:X,bgWhite:X}};te.exports=Y(),te.exports.createColors=Y}}),El=Xt({"(disabled):node_modules/postcss/lib/terminal-highlight"(){Me()}}),ju=Xt({"node_modules/postcss/lib/css-syntax-error.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=fe(nc()),Y=fe(El());function fe(Te){return Te&&Te.__esModule?Te:{default:Te}}function Ce(Te){if(Te===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Te}function ge(Te,Ke){Te.prototype=Object.create(Ke.prototype),Te.prototype.constructor=Te,Te.__proto__=Ke}function Ae(Te){var Ke=typeof Map=="function"?new Map:void 0;return Ae=function(Ge){if(Ge===null||!F(Ge))return Ge;if(typeof Ge!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Ke<"u"){if(Ke.has(Ge))return Ke.get(Ge);Ke.set(Ge,Ne)}function Ne(){return pe(Ge,arguments,Z(this).constructor)}return Ne.prototype=Object.create(Ge.prototype,{constructor:{value:Ne,enumerable:!1,writable:!0,configurable:!0}}),b(Ne,Ge)},Ae(Te)}function pe(Te,Ke,Ge){return ae()?pe=Reflect.construct:pe=function(Ne,pt,bt){var Gt=[null];Gt.push.apply(Gt,pt);var dn=Function.bind.apply(Ne,Gt),zn=new dn;return bt&&b(zn,bt.prototype),zn},pe.apply(null,arguments)}function ae(){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 F(Te){return Function.toString.call(Te).indexOf("[native code]")!==-1}function b(Te,Ke){return b=Object.setPrototypeOf||function(Ge,Ne){return Ge.__proto__=Ne,Ge},b(Te,Ke)}function Z(Te){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(Ke){return Ke.__proto__||Object.getPrototypeOf(Ke)},Z(Te)}var V=function(Te){ge(Ke,Te);function Ke(Ne,pt,bt,Gt,dn,zn){var Un;return Un=Te.call(this,Ne)||this,Un.name="CssSyntaxError",Un.reason=Ne,dn&&(Un.file=dn),Gt&&(Un.source=Gt),zn&&(Un.plugin=zn),typeof pt<"u"&&typeof bt<"u"&&(Un.line=pt,Un.column=bt),Un.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(Ce(Un),Ke),Un}var Ge=Ke.prototype;return Ge.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},Ge.showSourceCode=function(Ne){var pt=this;if(!this.source)return"";var bt=this.source;Y.default&&(typeof Ne>"u"&&(Ne=X.default.isColorSupported),Ne&&(bt=(0,Y.default)(bt)));var Gt=bt.split(/\r?\n/),dn=Math.max(this.line-3,0),zn=Math.min(this.line+2,Gt.length),Un=String(zn).length;function Di(un){return Ne&&X.default.red?X.default.red(X.default.bold(un)):un}function li(un){return Ne&&X.default.gray?X.default.gray(un):un}return Gt.slice(dn,zn).map(function(un,Ei){var mi=dn+1+Ei,Fn=" "+(" "+mi).slice(-Un)+" | ";if(mi===pt.line){var Gr=li(Fn.replace(/\d/g," "))+un.slice(0,pt.column-1).replace(/[^\t]/g," ");return Di(">")+li(Fn)+un+`
178
- `+Gr+Di("^")}return" "+li(Fn)+un}).join(`
179
- `)},Ge.toString=function(){var Ne=this.showSourceCode();return Ne&&(Ne=`
180
-
181
- `+Ne+`
182
- `),this.name+": "+this.message+Ne},Ke}(Ae(Error)),Ie=V;w.default=Ie,te.exports=w.default}}),Ko=Xt({"node_modules/postcss/lib/previous-map.js"(w,te){Me(),te.exports=class{}}}),ga=Xt({"node_modules/postcss/lib/input.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Ce(Hl()),Y=Ce(ju()),fe=Ce(Ko());function Ce(b){return b&&b.__esModule?b:{default:b}}function ge(b,Z){for(var V=0;V<Z.length;V++){var Ie=Z[V];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(b,Ie.key,Ie)}}function Ae(b,Z,V){return Z&&ge(b.prototype,Z),V&&ge(b,V),b}var pe=0,ae=function(){function b(V,Ie){if(Ie===void 0&&(Ie={}),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,Ie.from&&(/^\w+:\/\//.test(Ie.from)||X.default.isAbsolute(Ie.from)?this.file=Ie.from:this.file=X.default.resolve(Ie.from));var Te=new fe.default(this.css,Ie);if(Te.text){this.map=Te;var Ke=Te.consumer().file;!this.file&&Ke&&(this.file=this.mapResolve(Ke))}this.file||(pe+=1,this.id="<input css "+pe+">"),this.map&&(this.map.file=this.from)}var Z=b.prototype;return Z.error=function(V,Ie,Te,Ke){Ke===void 0&&(Ke={});var Ge,Ne=this.origin(Ie,Te);return Ne?Ge=new Y.default(V,Ne.line,Ne.column,Ne.source,Ne.file,Ke.plugin):Ge=new Y.default(V,Ie,Te,this.css,this.file,Ke.plugin),Ge.input={line:Ie,column:Te,source:this.css},this.file&&(Ge.input.file=this.file),Ge},Z.origin=function(V,Ie){if(!this.map)return!1;var Te=this.map.consumer(),Ke=Te.originalPositionFor({line:V,column:Ie});if(!Ke.source)return!1;var Ge={file:this.mapResolve(Ke.source),line:Ke.line,column:Ke.column},Ne=Te.sourceContentFor(Ke.source);return Ne&&(Ge.source=Ne),Ge},Z.mapResolve=function(V){return/^\w+:\/\//.test(V)?V:X.default.resolve(this.map.consumer().sourceRoot||".",V)},Ae(b,[{key:"from",get:function(){return this.file||this.id}}]),b}(),F=ae;w.default=F,te.exports=w.default}}),_o=Xt({"node_modules/postcss/lib/stringifier.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X={colon:": ",indent:" ",beforeDecl:`
183
- `,beforeRule:`
184
- `,beforeOpen:" ",beforeClose:`
185
- `,beforeComment:`
186
- `,after:`
187
- `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Y(ge){return ge[0].toUpperCase()+ge.slice(1)}var fe=function(){function ge(pe){this.builder=pe}var Ae=ge.prototype;return Ae.stringify=function(pe,ae){this[pe.type](pe,ae)},Ae.root=function(pe){this.body(pe),pe.raws.after&&this.builder(pe.raws.after)},Ae.comment=function(pe){var ae=this.raw(pe,"left","commentLeft"),F=this.raw(pe,"right","commentRight");this.builder("/*"+ae+pe.text+F+"*/",pe)},Ae.decl=function(pe,ae){var F=this.raw(pe,"between","colon"),b=pe.prop+F+this.rawValue(pe,"value");pe.important&&(b+=pe.raws.important||" !important"),ae&&(b+=";"),this.builder(b,pe)},Ae.rule=function(pe){this.block(pe,this.rawValue(pe,"selector")),pe.raws.ownSemicolon&&this.builder(pe.raws.ownSemicolon,pe,"end")},Ae.atrule=function(pe,ae){var F="@"+pe.name,b=pe.params?this.rawValue(pe,"params"):"";if(typeof pe.raws.afterName<"u"?F+=pe.raws.afterName:b&&(F+=" "),pe.nodes)this.block(pe,F+b);else{var Z=(pe.raws.between||"")+(ae?";":"");this.builder(F+b+Z,pe)}},Ae.body=function(pe){for(var ae=pe.nodes.length-1;ae>0&&pe.nodes[ae].type==="comment";)ae-=1;for(var F=this.raw(pe,"semicolon"),b=0;b<pe.nodes.length;b++){var Z=pe.nodes[b],V=this.raw(Z,"before");V&&this.builder(V),this.stringify(Z,ae!==b||F)}},Ae.block=function(pe,ae){var F=this.raw(pe,"between","beforeOpen");this.builder(ae+F+"{",pe,"start");var b;pe.nodes&&pe.nodes.length?(this.body(pe),b=this.raw(pe,"after")):b=this.raw(pe,"after","emptyBody"),b&&this.builder(b),this.builder("}",pe,"end")},Ae.raw=function(pe,ae,F){var b;if(F||(F=ae),ae&&(b=pe.raws[ae],typeof b<"u"))return b;var Z=pe.parent;if(F==="before"&&(!Z||Z.type==="root"&&Z.first===pe))return"";if(!Z)return X[F];var V=pe.root();if(V.rawCache||(V.rawCache={}),typeof V.rawCache[F]<"u")return V.rawCache[F];if(F==="before"||F==="after")return this.beforeAfter(pe,F);var Ie="raw"+Y(F);return this[Ie]?b=this[Ie](V,pe):V.walk(function(Te){if(b=Te.raws[ae],typeof b<"u")return!1}),typeof b>"u"&&(b=X[F]),V.rawCache[F]=b,b},Ae.rawSemicolon=function(pe){var ae;return pe.walk(function(F){if(F.nodes&&F.nodes.length&&F.last.type==="decl"&&(ae=F.raws.semicolon,typeof ae<"u"))return!1}),ae},Ae.rawEmptyBody=function(pe){var ae;return pe.walk(function(F){if(F.nodes&&F.nodes.length===0&&(ae=F.raws.after,typeof ae<"u"))return!1}),ae},Ae.rawIndent=function(pe){if(pe.raws.indent)return pe.raws.indent;var ae;return pe.walk(function(F){var b=F.parent;if(b&&b!==pe&&b.parent&&b.parent===pe&&typeof F.raws.before<"u"){var Z=F.raws.before.split(`
188
- `);return ae=Z[Z.length-1],ae=ae.replace(/[^\s]/g,""),!1}}),ae},Ae.rawBeforeComment=function(pe,ae){var F;return pe.walkComments(function(b){if(typeof b.raws.before<"u")return F=b.raws.before,F.indexOf(`
189
- `)!==-1&&(F=F.replace(/[^\n]+$/,"")),!1}),typeof F>"u"?F=this.raw(ae,null,"beforeDecl"):F&&(F=F.replace(/[^\s]/g,"")),F},Ae.rawBeforeDecl=function(pe,ae){var F;return pe.walkDecls(function(b){if(typeof b.raws.before<"u")return F=b.raws.before,F.indexOf(`
190
- `)!==-1&&(F=F.replace(/[^\n]+$/,"")),!1}),typeof F>"u"?F=this.raw(ae,null,"beforeRule"):F&&(F=F.replace(/[^\s]/g,"")),F},Ae.rawBeforeRule=function(pe){var ae;return pe.walk(function(F){if(F.nodes&&(F.parent!==pe||pe.first!==F)&&typeof F.raws.before<"u")return ae=F.raws.before,ae.indexOf(`
191
- `)!==-1&&(ae=ae.replace(/[^\n]+$/,"")),!1}),ae&&(ae=ae.replace(/[^\s]/g,"")),ae},Ae.rawBeforeClose=function(pe){var ae;return pe.walk(function(F){if(F.nodes&&F.nodes.length>0&&typeof F.raws.after<"u")return ae=F.raws.after,ae.indexOf(`
192
- `)!==-1&&(ae=ae.replace(/[^\n]+$/,"")),!1}),ae&&(ae=ae.replace(/[^\s]/g,"")),ae},Ae.rawBeforeOpen=function(pe){var ae;return pe.walk(function(F){if(F.type!=="decl"&&(ae=F.raws.between,typeof ae<"u"))return!1}),ae},Ae.rawColon=function(pe){var ae;return pe.walkDecls(function(F){if(typeof F.raws.between<"u")return ae=F.raws.between.replace(/[^\s:]/g,""),!1}),ae},Ae.beforeAfter=function(pe,ae){var F;pe.type==="decl"?F=this.raw(pe,null,"beforeDecl"):pe.type==="comment"?F=this.raw(pe,null,"beforeComment"):ae==="before"?F=this.raw(pe,null,"beforeRule"):F=this.raw(pe,null,"beforeClose");for(var b=pe.parent,Z=0;b&&b.type!=="root";)Z+=1,b=b.parent;if(F.indexOf(`
193
- `)!==-1){var V=this.raw(pe,null,"indent");if(V.length)for(var Ie=0;Ie<Z;Ie++)F+=V}return F},Ae.rawValue=function(pe,ae){var F=pe[ae],b=pe.raws[ae];return b&&b.value===F?b.raw:F},ge}(),Ce=fe;w.default=Ce,te.exports=w.default}}),yu=Xt({"node_modules/postcss/lib/stringify.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(_o());function Y(ge){return ge&&ge.__esModule?ge:{default:ge}}function fe(ge,Ae){var pe=new X.default(Ae);pe.stringify(ge)}var Ce=fe;w.default=Ce,te.exports=w.default}}),rl=Xt({"node_modules/postcss/lib/node.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Ce(ju()),Y=Ce(_o()),fe=Ce(yu());function Ce(ae){return ae&&ae.__esModule?ae:{default:ae}}function ge(ae,F){var b=new ae.constructor;for(var Z in ae)if(ae.hasOwnProperty(Z)){var V=ae[Z],Ie=typeof V;Z==="parent"&&Ie==="object"?F&&(b[Z]=F):Z==="source"?b[Z]=V:V instanceof Array?b[Z]=V.map(function(Te){return ge(Te,b)}):(Ie==="object"&&V!==null&&(V=ge(V)),b[Z]=V)}return b}var Ae=function(){function ae(b){b===void 0&&(b={}),this.raws={};for(var Z in b)this[Z]=b[Z]}var F=ae.prototype;return F.error=function(b,Z){if(Z===void 0&&(Z={}),this.source){var V=this.positionBy(Z);return this.source.input.error(b,V.line,V.column,Z)}return new X.default(b)},F.warn=function(b,Z,V){var Ie={node:this};for(var Te in V)Ie[Te]=V[Te];return b.warn(Z,Ie)},F.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},F.toString=function(b){b===void 0&&(b=fe.default),b.stringify&&(b=b.stringify);var Z="";return b(this,function(V){Z+=V}),Z},F.clone=function(b){b===void 0&&(b={});var Z=ge(this);for(var V in b)Z[V]=b[V];return Z},F.cloneBefore=function(b){b===void 0&&(b={});var Z=this.clone(b);return this.parent.insertBefore(this,Z),Z},F.cloneAfter=function(b){b===void 0&&(b={});var Z=this.clone(b);return this.parent.insertAfter(this,Z),Z},F.replaceWith=function(){if(this.parent){for(var b=arguments.length,Z=new Array(b),V=0;V<b;V++)Z[V]=arguments[V];for(var Ie=0,Te=Z;Ie<Te.length;Ie++){var Ke=Te[Ie];this.parent.insertBefore(this,Ke)}this.remove()}return this},F.next=function(){if(this.parent){var b=this.parent.index(this);return this.parent.nodes[b+1]}},F.prev=function(){if(this.parent){var b=this.parent.index(this);return this.parent.nodes[b-1]}},F.before=function(b){return this.parent.insertBefore(this,b),this},F.after=function(b){return this.parent.insertAfter(this,b),this},F.toJSON=function(){var b={};for(var Z in this)if(!!this.hasOwnProperty(Z)&&Z!=="parent"){var V=this[Z];V instanceof Array?b[Z]=V.map(function(Ie){return typeof Ie=="object"&&Ie.toJSON?Ie.toJSON():Ie}):typeof V=="object"&&V.toJSON?b[Z]=V.toJSON():b[Z]=V}return b},F.raw=function(b,Z){var V=new Y.default;return V.raw(this,b,Z)},F.root=function(){for(var b=this;b.parent;)b=b.parent;return b},F.cleanRaws=function(b){delete this.raws.before,delete this.raws.after,b||delete this.raws.between},F.positionInside=function(b){for(var Z=this.toString(),V=this.source.start.column,Ie=this.source.start.line,Te=0;Te<b;Te++)Z[Te]===`
194
- `?(V=1,Ie+=1):V+=1;return{line:Ie,column:V}},F.positionBy=function(b){var Z=this.source.start;if(b.index)Z=this.positionInside(b.index);else if(b.word){var V=this.toString().indexOf(b.word);V!==-1&&(Z=this.positionInside(V))}return Z},ae}(),pe=Ae;w.default=pe,te.exports=w.default}}),po=Xt({"node_modules/postcss/lib/comment.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(rl());function Y(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function fe(Ae,pe){Ae.prototype=Object.create(pe.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=pe}var Ce=function(Ae){fe(pe,Ae);function pe(ae){var F;return F=Ae.call(this,ae)||this,F.type="comment",F}return pe}(X.default),ge=Ce;w.default=ge,te.exports=w.default}}),bl=Xt({"node_modules/postcss/lib/declaration.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(rl());function Y(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function fe(Ae,pe){Ae.prototype=Object.create(pe.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=pe}var Ce=function(Ae){fe(pe,Ae);function pe(ae){var F;return F=Ae.call(this,ae)||this,F.type="decl",F}return pe}(X.default),ge=Ce;w.default=ge,te.exports=w.default}}),Qa=Xt({"node_modules/postcss/lib/tokenize.js"(w,te){Me(),w.__esModule=!0,w.default=Di;var X="'".charCodeAt(0),Y='"'.charCodeAt(0),fe="\\".charCodeAt(0),Ce="/".charCodeAt(0),ge=`
195
- `.charCodeAt(0),Ae=" ".charCodeAt(0),pe="\f".charCodeAt(0),ae=" ".charCodeAt(0),F="\r".charCodeAt(0),b="[".charCodeAt(0),Z="]".charCodeAt(0),V="(".charCodeAt(0),Ie=")".charCodeAt(0),Te="{".charCodeAt(0),Ke="}".charCodeAt(0),Ge=";".charCodeAt(0),Ne="*".charCodeAt(0),pt=":".charCodeAt(0),bt="@".charCodeAt(0),Gt=/[ \n\t\r\f{}()'"\\;/[\]#]/g,dn=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,zn=/.[\\/("'\n]/,Un=/[a-f0-9]/i;function Di(li,un){un===void 0&&(un={});var Ei=li.css.valueOf(),mi=un.ignoreErrors,Fn,Gr,Cn,jr,Is,Yi,Ss,Li,zi,Zn,Ni,vi,Ti,Wt,Ar=Ei.length,Br=-1,_n=1,Lt=0,ii=[],Yn=[];function Ys(){return Lt}function zs(Us){throw li.error("Unclosed "+Us,_n,Lt-Br)}function Qs(){return Yn.length===0&&Lt>=Ar}function fo(Us){if(Yn.length)return Yn.pop();if(!(Lt>=Ar)){var Aa=Us?Us.ignoreUnclosed:!1;switch(Fn=Ei.charCodeAt(Lt),(Fn===ge||Fn===pe||Fn===F&&Ei.charCodeAt(Lt+1)!==ge)&&(Br=Lt,_n+=1),Fn){case ge:case Ae:case ae:case F:case pe:Gr=Lt;do Gr+=1,Fn=Ei.charCodeAt(Gr),Fn===ge&&(Br=Gr,_n+=1);while(Fn===Ae||Fn===ge||Fn===ae||Fn===F||Fn===pe);Wt=["space",Ei.slice(Lt,Gr)],Lt=Gr-1;break;case b:case Z:case Te:case Ke:case pt:case Ge:case Ie:var ua=String.fromCharCode(Fn);Wt=[ua,ua,_n,Lt-Br];break;case V:if(vi=ii.length?ii.pop()[1]:"",Ti=Ei.charCodeAt(Lt+1),vi==="url"&&Ti!==X&&Ti!==Y&&Ti!==Ae&&Ti!==ge&&Ti!==ae&&Ti!==pe&&Ti!==F){Gr=Lt;do{if(Zn=!1,Gr=Ei.indexOf(")",Gr+1),Gr===-1)if(mi||Aa){Gr=Lt;break}else zs("bracket");for(Ni=Gr;Ei.charCodeAt(Ni-1)===fe;)Ni-=1,Zn=!Zn}while(Zn);Wt=["brackets",Ei.slice(Lt,Gr+1),_n,Lt-Br,_n,Gr-Br],Lt=Gr}else Gr=Ei.indexOf(")",Lt+1),Yi=Ei.slice(Lt,Gr+1),Gr===-1||zn.test(Yi)?Wt=["(","(",_n,Lt-Br]:(Wt=["brackets",Yi,_n,Lt-Br,_n,Gr-Br],Lt=Gr);break;case X:case Y:Cn=Fn===X?"'":'"',Gr=Lt;do{if(Zn=!1,Gr=Ei.indexOf(Cn,Gr+1),Gr===-1)if(mi||Aa){Gr=Lt+1;break}else zs("string");for(Ni=Gr;Ei.charCodeAt(Ni-1)===fe;)Ni-=1,Zn=!Zn}while(Zn);Yi=Ei.slice(Lt,Gr+1),jr=Yi.split(`
196
- `),Is=jr.length-1,Is>0?(Li=_n+Is,zi=Gr-jr[Is].length):(Li=_n,zi=Br),Wt=["string",Ei.slice(Lt,Gr+1),_n,Lt-Br,Li,Gr-zi],Br=zi,_n=Li,Lt=Gr;break;case bt:Gt.lastIndex=Lt+1,Gt.lastIndex===0?Gr=Ei.length-1:Gr=Gt.lastIndex-2,Wt=["at-word",Ei.slice(Lt,Gr+1),_n,Lt-Br,_n,Gr-Br],Lt=Gr;break;case fe:for(Gr=Lt,Ss=!0;Ei.charCodeAt(Gr+1)===fe;)Gr+=1,Ss=!Ss;if(Fn=Ei.charCodeAt(Gr+1),Ss&&Fn!==Ce&&Fn!==Ae&&Fn!==ge&&Fn!==ae&&Fn!==F&&Fn!==pe&&(Gr+=1,Un.test(Ei.charAt(Gr)))){for(;Un.test(Ei.charAt(Gr+1));)Gr+=1;Ei.charCodeAt(Gr+1)===Ae&&(Gr+=1)}Wt=["word",Ei.slice(Lt,Gr+1),_n,Lt-Br,_n,Gr-Br],Lt=Gr;break;default:Fn===Ce&&Ei.charCodeAt(Lt+1)===Ne?(Gr=Ei.indexOf("*/",Lt+2)+1,Gr===0&&(mi||Aa?Gr=Ei.length:zs("comment")),Yi=Ei.slice(Lt,Gr+1),jr=Yi.split(`
197
- `),Is=jr.length-1,Is>0?(Li=_n+Is,zi=Gr-jr[Is].length):(Li=_n,zi=Br),Wt=["comment",Yi,_n,Lt-Br,Li,Gr-zi],Br=zi,_n=Li,Lt=Gr):(dn.lastIndex=Lt+1,dn.lastIndex===0?Gr=Ei.length-1:Gr=dn.lastIndex-2,Wt=["word",Ei.slice(Lt,Gr+1),_n,Lt-Br,_n,Gr-Br],ii.push(Wt),Lt=Gr);break}return Lt++,Wt}}function gs(Us){Yn.push(Us)}return{back:gs,nextToken:fo,endOfFile:Qs,position:Ys}}te.exports=w.default}}),ia=Xt({"node_modules/postcss/lib/parse.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=fe($u()),Y=fe(ga());function fe(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function Ce(Ae,pe){var ae=new Y.default(Ae,pe),F=new X.default(ae);try{F.parse()}catch(b){throw b}return F.root}var ge=Ce;w.default=ge,te.exports=w.default}}),Ma=Xt({"node_modules/postcss/lib/list.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X={split:function(fe,Ce,ge){for(var Ae=[],pe="",ae=!1,F=0,b=!1,Z=!1,V=0;V<fe.length;V++){var Ie=fe[V];b?Z?Z=!1:Ie==="\\"?Z=!0:Ie===b&&(b=!1):Ie==='"'||Ie==="'"?b=Ie:Ie==="("?F+=1:Ie===")"?F>0&&(F-=1):F===0&&Ce.indexOf(Ie)!==-1&&(ae=!0),ae?(pe!==""&&Ae.push(pe.trim()),pe="",ae=!1):pe+=Ie}return(ge||pe!=="")&&Ae.push(pe.trim()),Ae},space:function(fe){var Ce=[" ",`
198
- `," "];return X.split(fe,Ce)},comma:function(fe){return X.split(fe,[","],!0)}},Y=X;w.default=Y,te.exports=w.default}}),Io=Xt({"node_modules/postcss/lib/rule.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=fe(Co()),Y=fe(Ma());function fe(F){return F&&F.__esModule?F:{default:F}}function Ce(F,b){for(var Z=0;Z<b.length;Z++){var V=b[Z];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(F,V.key,V)}}function ge(F,b,Z){return b&&Ce(F.prototype,b),Z&&Ce(F,Z),F}function Ae(F,b){F.prototype=Object.create(b.prototype),F.prototype.constructor=F,F.__proto__=b}var pe=function(F){Ae(b,F);function b(Z){var V;return V=F.call(this,Z)||this,V.type="rule",V.nodes||(V.nodes=[]),V}return ge(b,[{key:"selectors",get:function(){return Y.default.comma(this.selector)},set:function(Z){var V=this.selector?this.selector.match(/,\s*/):null,Ie=V?V[0]:","+this.raw("between","beforeOpen");this.selector=Z.join(Ie)}}]),b}(X.default),ae=pe;w.default=ae,te.exports=w.default}}),Co=Xt({"node_modules/postcss/lib/container.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Ce(bl()),Y=Ce(po()),fe=Ce(rl());function Ce(Te){return Te&&Te.__esModule?Te:{default:Te}}function ge(Te,Ke){var Ge;if(typeof Symbol>"u"||Te[Symbol.iterator]==null){if(Array.isArray(Te)||(Ge=Ae(Te))||Ke&&Te&&typeof Te.length=="number"){Ge&&(Te=Ge);var Ne=0;return function(){return Ne>=Te.length?{done:!0}:{done:!1,value:Te[Ne++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
199
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ge=Te[Symbol.iterator](),Ge.next.bind(Ge)}function Ae(Te,Ke){if(Te){if(typeof Te=="string")return pe(Te,Ke);var Ge=Object.prototype.toString.call(Te).slice(8,-1);if(Ge==="Object"&&Te.constructor&&(Ge=Te.constructor.name),Ge==="Map"||Ge==="Set")return Array.from(Te);if(Ge==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ge))return pe(Te,Ke)}}function pe(Te,Ke){(Ke==null||Ke>Te.length)&&(Ke=Te.length);for(var Ge=0,Ne=new Array(Ke);Ge<Ke;Ge++)Ne[Ge]=Te[Ge];return Ne}function ae(Te,Ke){for(var Ge=0;Ge<Ke.length;Ge++){var Ne=Ke[Ge];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Te,Ne.key,Ne)}}function F(Te,Ke,Ge){return Ke&&ae(Te.prototype,Ke),Ge&&ae(Te,Ge),Te}function b(Te,Ke){Te.prototype=Object.create(Ke.prototype),Te.prototype.constructor=Te,Te.__proto__=Ke}function Z(Te){return Te.map(function(Ke){return Ke.nodes&&(Ke.nodes=Z(Ke.nodes)),delete Ke.source,Ke})}var V=function(Te){b(Ke,Te);function Ke(){return Te.apply(this,arguments)||this}var Ge=Ke.prototype;return Ge.push=function(Ne){return Ne.parent=this,this.nodes.push(Ne),this},Ge.each=function(Ne){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var pt=this.lastEach;if(this.indexes[pt]=0,!!this.nodes){for(var bt,Gt;this.indexes[pt]<this.nodes.length&&(bt=this.indexes[pt],Gt=Ne(this.nodes[bt],bt),Gt!==!1);)this.indexes[pt]+=1;return delete this.indexes[pt],Gt}},Ge.walk=function(Ne){return this.each(function(pt,bt){var Gt;try{Gt=Ne(pt,bt)}catch(zn){if(zn.postcssNode=pt,zn.stack&&pt.source&&/\n\s{4}at /.test(zn.stack)){var dn=pt.source;zn.stack=zn.stack.replace(/\n\s{4}at /,"$&"+dn.input.from+":"+dn.start.line+":"+dn.start.column+"$&")}throw zn}return Gt!==!1&&pt.walk&&(Gt=pt.walk(Ne)),Gt})},Ge.walkDecls=function(Ne,pt){return pt?Ne instanceof RegExp?this.walk(function(bt,Gt){if(bt.type==="decl"&&Ne.test(bt.prop))return pt(bt,Gt)}):this.walk(function(bt,Gt){if(bt.type==="decl"&&bt.prop===Ne)return pt(bt,Gt)}):(pt=Ne,this.walk(function(bt,Gt){if(bt.type==="decl")return pt(bt,Gt)}))},Ge.walkRules=function(Ne,pt){return pt?Ne instanceof RegExp?this.walk(function(bt,Gt){if(bt.type==="rule"&&Ne.test(bt.selector))return pt(bt,Gt)}):this.walk(function(bt,Gt){if(bt.type==="rule"&&bt.selector===Ne)return pt(bt,Gt)}):(pt=Ne,this.walk(function(bt,Gt){if(bt.type==="rule")return pt(bt,Gt)}))},Ge.walkAtRules=function(Ne,pt){return pt?Ne instanceof RegExp?this.walk(function(bt,Gt){if(bt.type==="atrule"&&Ne.test(bt.name))return pt(bt,Gt)}):this.walk(function(bt,Gt){if(bt.type==="atrule"&&bt.name===Ne)return pt(bt,Gt)}):(pt=Ne,this.walk(function(bt,Gt){if(bt.type==="atrule")return pt(bt,Gt)}))},Ge.walkComments=function(Ne){return this.walk(function(pt,bt){if(pt.type==="comment")return Ne(pt,bt)})},Ge.append=function(){for(var Ne=arguments.length,pt=new Array(Ne),bt=0;bt<Ne;bt++)pt[bt]=arguments[bt];for(var Gt=0,dn=pt;Gt<dn.length;Gt++)for(var zn=dn[Gt],Un=this.normalize(zn,this.last),Di=ge(Un),li;!(li=Di()).done;){var un=li.value;this.nodes.push(un)}return this},Ge.prepend=function(){for(var Ne=arguments.length,pt=new Array(Ne),bt=0;bt<Ne;bt++)pt[bt]=arguments[bt];pt=pt.reverse();for(var Gt=ge(pt),dn;!(dn=Gt()).done;){for(var zn=dn.value,Un=this.normalize(zn,this.first,"prepend").reverse(),Di=ge(Un),li;!(li=Di()).done;){var un=li.value;this.nodes.unshift(un)}for(var Ei in this.indexes)this.indexes[Ei]=this.indexes[Ei]+Un.length}return this},Ge.cleanRaws=function(Ne){if(Te.prototype.cleanRaws.call(this,Ne),this.nodes)for(var pt=ge(this.nodes),bt;!(bt=pt()).done;){var Gt=bt.value;Gt.cleanRaws(Ne)}},Ge.insertBefore=function(Ne,pt){Ne=this.index(Ne);for(var bt=Ne===0?"prepend":!1,Gt=this.normalize(pt,this.nodes[Ne],bt).reverse(),dn=ge(Gt),zn;!(zn=dn()).done;){var Un=zn.value;this.nodes.splice(Ne,0,Un)}var Di;for(var li in this.indexes)Di=this.indexes[li],Ne<=Di&&(this.indexes[li]=Di+Gt.length);return this},Ge.insertAfter=function(Ne,pt){Ne=this.index(Ne);for(var bt=this.normalize(pt,this.nodes[Ne]).reverse(),Gt=ge(bt),dn;!(dn=Gt()).done;){var zn=dn.value;this.nodes.splice(Ne+1,0,zn)}var Un;for(var Di in this.indexes)Un=this.indexes[Di],Ne<Un&&(this.indexes[Di]=Un+bt.length);return this},Ge.removeChild=function(Ne){Ne=this.index(Ne),this.nodes[Ne].parent=void 0,this.nodes.splice(Ne,1);var pt;for(var bt in this.indexes)pt=this.indexes[bt],pt>=Ne&&(this.indexes[bt]=pt-1);return this},Ge.removeAll=function(){for(var Ne=ge(this.nodes),pt;!(pt=Ne()).done;){var bt=pt.value;bt.parent=void 0}return this.nodes=[],this},Ge.replaceValues=function(Ne,pt,bt){return bt||(bt=pt,pt={}),this.walkDecls(function(Gt){pt.props&&pt.props.indexOf(Gt.prop)===-1||pt.fast&&Gt.value.indexOf(pt.fast)===-1||(Gt.value=Gt.value.replace(Ne,bt))}),this},Ge.every=function(Ne){return this.nodes.every(Ne)},Ge.some=function(Ne){return this.nodes.some(Ne)},Ge.index=function(Ne){return typeof Ne=="number"?Ne:this.nodes.indexOf(Ne)},Ge.normalize=function(Ne,pt){var bt=this;if(typeof Ne=="string"){var Gt=ia();Ne=Z(Gt(Ne).nodes)}else if(Array.isArray(Ne)){Ne=Ne.slice(0);for(var dn=ge(Ne),zn;!(zn=dn()).done;){var Un=zn.value;Un.parent&&Un.parent.removeChild(Un,"ignore")}}else if(Ne.type==="root"){Ne=Ne.nodes.slice(0);for(var Di=ge(Ne),li;!(li=Di()).done;){var un=li.value;un.parent&&un.parent.removeChild(un,"ignore")}}else if(Ne.type)Ne=[Ne];else if(Ne.prop){if(typeof Ne.value>"u")throw new Error("Value field is missed in node creation");typeof Ne.value!="string"&&(Ne.value=String(Ne.value)),Ne=[new X.default(Ne)]}else if(Ne.selector){var Ei=Io();Ne=[new Ei(Ne)]}else if(Ne.name){var mi=Al();Ne=[new mi(Ne)]}else if(Ne.text)Ne=[new Y.default(Ne)];else throw new Error("Unknown node type in node creation");var Fn=Ne.map(function(Gr){return Gr.parent&&Gr.parent.removeChild(Gr),typeof Gr.raws.before>"u"&&pt&&typeof pt.raws.before<"u"&&(Gr.raws.before=pt.raws.before.replace(/[^\s]/g,"")),Gr.parent=bt,Gr});return Fn},F(Ke,[{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]}}]),Ke}(fe.default),Ie=V;w.default=Ie,te.exports=w.default}}),Al=Xt({"node_modules/postcss/lib/at-rule.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(Co());function Y(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function fe(Ae,pe){Ae.prototype=Object.create(pe.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=pe}var Ce=function(Ae){fe(pe,Ae);function pe(F){var b;return b=Ae.call(this,F)||this,b.type="atrule",b}var ae=pe.prototype;return ae.append=function(){var F;this.nodes||(this.nodes=[]);for(var b=arguments.length,Z=new Array(b),V=0;V<b;V++)Z[V]=arguments[V];return(F=Ae.prototype.append).call.apply(F,[this].concat(Z))},ae.prepend=function(){var F;this.nodes||(this.nodes=[]);for(var b=arguments.length,Z=new Array(b),V=0;V<b;V++)Z[V]=arguments[V];return(F=Ae.prototype.prepend).call.apply(F,[this].concat(Z))},pe}(X.default),ge=Ce;w.default=ge,te.exports=w.default}}),wl=Xt({"node_modules/postcss/lib/map-generator.js"(w,te){Me(),te.exports=class{generate(){}}}}),Du=Xt({"node_modules/postcss/lib/warn-once.js"(w,te){Me(),w.__esModule=!0,w.default=Y;var X={};function Y(fe){X[fe]||(X[fe]=!0,typeof console<"u"&&console.warn&&console.warn(fe))}te.exports=w.default}}),vu=Xt({"node_modules/postcss/lib/warning.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=function(){function fe(ge,Ae){if(Ae===void 0&&(Ae={}),this.type="warning",this.text=ge,Ae.node&&Ae.node.source){var pe=Ae.node.positionBy(Ae);this.line=pe.line,this.column=pe.column}for(var ae in Ae)this[ae]=Ae[ae]}var Ce=fe.prototype;return Ce.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},fe}(),Y=X;w.default=Y,te.exports=w.default}}),Za=Xt({"node_modules/postcss/lib/result.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(vu());function Y(pe){return pe&&pe.__esModule?pe:{default:pe}}function fe(pe,ae){for(var F=0;F<ae.length;F++){var b=ae[F];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(pe,b.key,b)}}function Ce(pe,ae,F){return ae&&fe(pe.prototype,ae),F&&fe(pe,F),pe}var ge=function(){function pe(F,b,Z){this.processor=F,this.messages=[],this.root=b,this.opts=Z,this.css=void 0,this.map=void 0}var ae=pe.prototype;return ae.toString=function(){return this.css},ae.warn=function(F,b){b===void 0&&(b={}),b.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(b.plugin=this.lastPlugin.postcssPlugin);var Z=new X.default(F,b);return this.messages.push(Z),Z},ae.warnings=function(){return this.messages.filter(function(F){return F.type==="warning"})},Ce(pe,[{key:"content",get:function(){return this.css}}]),pe}(),Ae=ge;w.default=Ae,te.exports=w.default}}),ja=Xt({"node_modules/postcss/lib/lazy-result.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=ge(wl()),Y=ge(yu());ge(Du());var fe=ge(Za()),Ce=ge(ia());function ge(Te){return Te&&Te.__esModule?Te:{default:Te}}function Ae(Te,Ke){var Ge;if(typeof Symbol>"u"||Te[Symbol.iterator]==null){if(Array.isArray(Te)||(Ge=pe(Te))||Ke&&Te&&typeof Te.length=="number"){Ge&&(Te=Ge);var Ne=0;return function(){return Ne>=Te.length?{done:!0}:{done:!1,value:Te[Ne++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
200
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ge=Te[Symbol.iterator](),Ge.next.bind(Ge)}function pe(Te,Ke){if(Te){if(typeof Te=="string")return ae(Te,Ke);var Ge=Object.prototype.toString.call(Te).slice(8,-1);if(Ge==="Object"&&Te.constructor&&(Ge=Te.constructor.name),Ge==="Map"||Ge==="Set")return Array.from(Te);if(Ge==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ge))return ae(Te,Ke)}}function ae(Te,Ke){(Ke==null||Ke>Te.length)&&(Ke=Te.length);for(var Ge=0,Ne=new Array(Ke);Ge<Ke;Ge++)Ne[Ge]=Te[Ge];return Ne}function F(Te,Ke){for(var Ge=0;Ge<Ke.length;Ge++){var Ne=Ke[Ge];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(Te,Ne.key,Ne)}}function b(Te,Ke,Ge){return Ke&&F(Te.prototype,Ke),Ge&&F(Te,Ge),Te}function Z(Te){return typeof Te=="object"&&typeof Te.then=="function"}var V=function(){function Te(Ge,Ne,pt){this.stringified=!1,this.processed=!1;var bt;if(typeof Ne=="object"&&Ne!==null&&Ne.type==="root")bt=Ne;else if(Ne instanceof Te||Ne instanceof fe.default)bt=Ne.root,Ne.map&&(typeof pt.map>"u"&&(pt.map={}),pt.map.inline||(pt.map.inline=!1),pt.map.prev=Ne.map);else{var Gt=Ce.default;pt.syntax&&(Gt=pt.syntax.parse),pt.parser&&(Gt=pt.parser),Gt.parse&&(Gt=Gt.parse);try{bt=Gt(Ne,pt)}catch(dn){this.error=dn}}this.result=new fe.default(Ge,bt,pt)}var Ke=Te.prototype;return Ke.warnings=function(){return this.sync().warnings()},Ke.toString=function(){return this.css},Ke.then=function(Ge,Ne){return this.async().then(Ge,Ne)},Ke.catch=function(Ge){return this.async().catch(Ge)},Ke.finally=function(Ge){return this.async().then(Ge,Ge)},Ke.handleError=function(Ge,Ne){try{if(this.error=Ge,Ge.name==="CssSyntaxError"&&!Ge.plugin)Ge.plugin=Ne.postcssPlugin,Ge.setMessage();else if(Ne.postcssVersion&&!1)var pt,bt,Gt,dn,zn}catch(Un){console&&console.error&&console.error(Un)}},Ke.asyncTick=function(Ge,Ne){var pt=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,Ge();try{var bt=this.processor.plugins[this.plugin],Gt=this.run(bt);this.plugin+=1,Z(Gt)?Gt.then(function(){pt.asyncTick(Ge,Ne)}).catch(function(dn){pt.handleError(dn,bt),pt.processed=!0,Ne(dn)}):this.asyncTick(Ge,Ne)}catch(dn){this.processed=!0,Ne(dn)}},Ke.async=function(){var Ge=this;return this.processed?new Promise(function(Ne,pt){Ge.error?pt(Ge.error):Ne(Ge.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ne,pt){if(Ge.error)return pt(Ge.error);Ge.plugin=0,Ge.asyncTick(Ne,pt)}).then(function(){return Ge.processed=!0,Ge.stringify()}),this.processing)},Ke.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 Ge=Ae(this.result.processor.plugins),Ne;!(Ne=Ge()).done;){var pt=Ne.value,bt=this.run(pt);if(Z(bt))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Ke.run=function(Ge){this.result.lastPlugin=Ge;try{return Ge(this.result.root,this.result)}catch(Ne){throw this.handleError(Ne,Ge),Ne}},Ke.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var Ge=this.result.opts,Ne=Y.default;Ge.syntax&&(Ne=Ge.syntax.stringify),Ge.stringifier&&(Ne=Ge.stringifier),Ne.stringify&&(Ne=Ne.stringify);var pt=new X.default(Ne,this.result.root,this.result.opts),bt=pt.generate();return this.result.css=bt[0],this.result.map=bt[1],this.result},b(Te,[{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}}]),Te}(),Ie=V;w.default=Ie,te.exports=w.default}}),Ru=Xt({"node_modules/postcss/lib/processor.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(ja());function Y(ae){return ae&&ae.__esModule?ae:{default:ae}}function fe(ae,F){var b;if(typeof Symbol>"u"||ae[Symbol.iterator]==null){if(Array.isArray(ae)||(b=Ce(ae))||F&&ae&&typeof ae.length=="number"){b&&(ae=b);var Z=0;return function(){return Z>=ae.length?{done:!0}:{done:!1,value:ae[Z++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
201
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return b=ae[Symbol.iterator](),b.next.bind(b)}function Ce(ae,F){if(ae){if(typeof ae=="string")return ge(ae,F);var b=Object.prototype.toString.call(ae).slice(8,-1);if(b==="Object"&&ae.constructor&&(b=ae.constructor.name),b==="Map"||b==="Set")return Array.from(ae);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return ge(ae,F)}}function ge(ae,F){(F==null||F>ae.length)&&(F=ae.length);for(var b=0,Z=new Array(F);b<F;b++)Z[b]=ae[b];return Z}var Ae=function(){function ae(b){b===void 0&&(b=[]),this.version="7.0.39",this.plugins=this.normalize(b)}var F=ae.prototype;return F.use=function(b){return this.plugins=this.plugins.concat(this.normalize([b])),this},F.process=function(b){function Z(V){return b.apply(this,arguments)}return Z.toString=function(){return b.toString()},Z}(function(b,Z){return Z===void 0&&(Z={}),this.plugins.length===0&&(Z.parser,Z.stringifier),new X.default(this,b,Z)}),F.normalize=function(b){for(var Z=[],V=fe(b),Ie;!(Ie=V()).done;){var Te=Ie.value;if(Te.postcss===!0){var Ke=Te();throw new Error("PostCSS plugin "+Ke.postcssPlugin+` requires PostCSS 8.
202
- Migration guide for end-users:
203
- https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(Te.postcss&&(Te=Te.postcss),typeof Te=="object"&&Array.isArray(Te.plugins))Z=Z.concat(Te.plugins);else if(typeof Te=="function")Z.push(Te);else if(!(typeof Te=="object"&&(Te.parse||Te.stringify)))throw typeof Te=="object"&&Te.postcssPlugin?new Error("PostCSS plugin "+Te.postcssPlugin+` requires PostCSS 8.
204
- Migration guide for end-users:
205
- https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(Te+" is not a PostCSS plugin")}return Z},ae}(),pe=Ae;w.default=pe,te.exports=w.default}}),nl=Xt({"node_modules/postcss/lib/root.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(Co());function Y(F){return F&&F.__esModule?F:{default:F}}function fe(F,b){var Z;if(typeof Symbol>"u"||F[Symbol.iterator]==null){if(Array.isArray(F)||(Z=Ce(F))||b&&F&&typeof F.length=="number"){Z&&(F=Z);var V=0;return function(){return V>=F.length?{done:!0}:{done:!1,value:F[V++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
206
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Z=F[Symbol.iterator](),Z.next.bind(Z)}function Ce(F,b){if(F){if(typeof F=="string")return ge(F,b);var Z=Object.prototype.toString.call(F).slice(8,-1);if(Z==="Object"&&F.constructor&&(Z=F.constructor.name),Z==="Map"||Z==="Set")return Array.from(F);if(Z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Z))return ge(F,b)}}function ge(F,b){(b==null||b>F.length)&&(b=F.length);for(var Z=0,V=new Array(b);Z<b;Z++)V[Z]=F[Z];return V}function Ae(F,b){F.prototype=Object.create(b.prototype),F.prototype.constructor=F,F.__proto__=b}var pe=function(F){Ae(b,F);function b(V){var Ie;return Ie=F.call(this,V)||this,Ie.type="root",Ie.nodes||(Ie.nodes=[]),Ie}var Z=b.prototype;return Z.removeChild=function(V,Ie){var Te=this.index(V);return!Ie&&Te===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[Te].raws.before),F.prototype.removeChild.call(this,V)},Z.normalize=function(V,Ie,Te){var Ke=F.prototype.normalize.call(this,V);if(Ie){if(Te==="prepend")this.nodes.length>1?Ie.raws.before=this.nodes[1].raws.before:delete Ie.raws.before;else if(this.first!==Ie)for(var Ge=fe(Ke),Ne;!(Ne=Ge()).done;){var pt=Ne.value;pt.raws.before=Ie.raws.before}}return Ke},Z.toResult=function(V){V===void 0&&(V={});var Ie=ja(),Te=Ru(),Ke=new Ie(new Te,this,V);return Ke.stringify()},b}(X.default),ae=pe;w.default=ae,te.exports=w.default}}),$u=Xt({"node_modules/postcss/lib/parser.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=pe(bl()),Y=pe(Qa()),fe=pe(po()),Ce=pe(Al()),ge=pe(nl()),Ae=pe(Io());function pe(F){return F&&F.__esModule?F:{default:F}}var ae=function(){function F(Z){this.input=Z,this.root=new ge.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:Z,start:{line:1,column:1}}}var b=F.prototype;return b.createTokenizer=function(){this.tokenizer=(0,Y.default)(this.input)},b.parse=function(){for(var Z;!this.tokenizer.endOfFile();)switch(Z=this.tokenizer.nextToken(),Z[0]){case"space":this.spaces+=Z[1];break;case";":this.freeSemicolon(Z);break;case"}":this.end(Z);break;case"comment":this.comment(Z);break;case"at-word":this.atrule(Z);break;case"{":this.emptyRule(Z);break;default:this.other(Z);break}this.endFile()},b.comment=function(Z){var V=new fe.default;this.init(V,Z[2],Z[3]),V.source.end={line:Z[4],column:Z[5]};var Ie=Z[1].slice(2,-2);if(/^\s*$/.test(Ie))V.text="",V.raws.left=Ie,V.raws.right="";else{var Te=Ie.match(/^(\s*)([^]*[^\s])(\s*)$/);V.text=Te[2],V.raws.left=Te[1],V.raws.right=Te[3]}},b.emptyRule=function(Z){var V=new Ae.default;this.init(V,Z[2],Z[3]),V.selector="",V.raws.between="",this.current=V},b.other=function(Z){for(var V=!1,Ie=null,Te=!1,Ke=null,Ge=[],Ne=[],pt=Z;pt;){if(Ie=pt[0],Ne.push(pt),Ie==="("||Ie==="[")Ke||(Ke=pt),Ge.push(Ie==="("?")":"]");else if(Ge.length===0)if(Ie===";")if(Te){this.decl(Ne);return}else break;else if(Ie==="{"){this.rule(Ne);return}else if(Ie==="}"){this.tokenizer.back(Ne.pop()),V=!0;break}else Ie===":"&&(Te=!0);else Ie===Ge[Ge.length-1]&&(Ge.pop(),Ge.length===0&&(Ke=null));pt=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(V=!0),Ge.length>0&&this.unclosedBracket(Ke),V&&Te){for(;Ne.length&&(pt=Ne[Ne.length-1][0],!(pt!=="space"&&pt!=="comment"));)this.tokenizer.back(Ne.pop());this.decl(Ne)}else this.unknownWord(Ne)},b.rule=function(Z){Z.pop();var V=new Ae.default;this.init(V,Z[0][2],Z[0][3]),V.raws.between=this.spacesAndCommentsFromEnd(Z),this.raw(V,"selector",Z),this.current=V},b.decl=function(Z){var V=new X.default;this.init(V);var Ie=Z[Z.length-1];for(Ie[0]===";"&&(this.semicolon=!0,Z.pop()),Ie[4]?V.source.end={line:Ie[4],column:Ie[5]}:V.source.end={line:Ie[2],column:Ie[3]};Z[0][0]!=="word";)Z.length===1&&this.unknownWord(Z),V.raws.before+=Z.shift()[1];for(V.source.start={line:Z[0][2],column:Z[0][3]},V.prop="";Z.length;){var Te=Z[0][0];if(Te===":"||Te==="space"||Te==="comment")break;V.prop+=Z.shift()[1]}V.raws.between="";for(var Ke;Z.length;)if(Ke=Z.shift(),Ke[0]===":"){V.raws.between+=Ke[1];break}else Ke[0]==="word"&&/\w/.test(Ke[1])&&this.unknownWord([Ke]),V.raws.between+=Ke[1];(V.prop[0]==="_"||V.prop[0]==="*")&&(V.raws.before+=V.prop[0],V.prop=V.prop.slice(1)),V.raws.between+=this.spacesAndCommentsFromStart(Z),this.precheckMissedSemicolon(Z);for(var Ge=Z.length-1;Ge>0;Ge--){if(Ke=Z[Ge],Ke[1].toLowerCase()==="!important"){V.important=!0;var Ne=this.stringFrom(Z,Ge);Ne=this.spacesFromEnd(Z)+Ne,Ne!==" !important"&&(V.raws.important=Ne);break}else if(Ke[1].toLowerCase()==="important"){for(var pt=Z.slice(0),bt="",Gt=Ge;Gt>0;Gt--){var dn=pt[Gt][0];if(bt.trim().indexOf("!")===0&&dn!=="space")break;bt=pt.pop()[1]+bt}bt.trim().indexOf("!")===0&&(V.important=!0,V.raws.important=bt,Z=pt)}if(Ke[0]!=="space"&&Ke[0]!=="comment")break}this.raw(V,"value",Z),V.value.indexOf(":")!==-1&&this.checkMissedSemicolon(Z)},b.atrule=function(Z){var V=new Ce.default;V.name=Z[1].slice(1),V.name===""&&this.unnamedAtrule(V,Z),this.init(V,Z[2],Z[3]);for(var Ie,Te,Ke=!1,Ge=!1,Ne=[];!this.tokenizer.endOfFile();){if(Z=this.tokenizer.nextToken(),Z[0]===";"){V.source.end={line:Z[2],column:Z[3]},this.semicolon=!0;break}else if(Z[0]==="{"){Ge=!0;break}else if(Z[0]==="}"){if(Ne.length>0){for(Te=Ne.length-1,Ie=Ne[Te];Ie&&Ie[0]==="space";)Ie=Ne[--Te];Ie&&(V.source.end={line:Ie[4],column:Ie[5]})}this.end(Z);break}else Ne.push(Z);if(this.tokenizer.endOfFile()){Ke=!0;break}}V.raws.between=this.spacesAndCommentsFromEnd(Ne),Ne.length?(V.raws.afterName=this.spacesAndCommentsFromStart(Ne),this.raw(V,"params",Ne),Ke&&(Z=Ne[Ne.length-1],V.source.end={line:Z[4],column:Z[5]},this.spaces=V.raws.between,V.raws.between="")):(V.raws.afterName="",V.params=""),Ge&&(V.nodes=[],this.current=V)},b.end=function(Z){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:Z[2],column:Z[3]},this.current=this.current.parent):this.unexpectedClose(Z)},b.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},b.freeSemicolon=function(Z){if(this.spaces+=Z[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="")}},b.init=function(Z,V,Ie){this.current.push(Z),Z.source={start:{line:V,column:Ie},input:this.input},Z.raws.before=this.spaces,this.spaces="",Z.type!=="comment"&&(this.semicolon=!1)},b.raw=function(Z,V,Ie){for(var Te,Ke,Ge=Ie.length,Ne="",pt=!0,bt,Gt,dn=/^([.|#])?([\w])+/i,zn=0;zn<Ge;zn+=1){if(Te=Ie[zn],Ke=Te[0],Ke==="comment"&&Z.type==="rule"){Gt=Ie[zn-1],bt=Ie[zn+1],Gt[0]!=="space"&&bt[0]!=="space"&&dn.test(Gt[1])&&dn.test(bt[1])?Ne+=Te[1]:pt=!1;continue}Ke==="comment"||Ke==="space"&&zn===Ge-1?pt=!1:Ne+=Te[1]}if(!pt){var Un=Ie.reduce(function(Di,li){return Di+li[1]},"");Z.raws[V]={value:Ne,raw:Un}}Z[V]=Ne},b.spacesAndCommentsFromEnd=function(Z){for(var V,Ie="";Z.length&&(V=Z[Z.length-1][0],!(V!=="space"&&V!=="comment"));)Ie=Z.pop()[1]+Ie;return Ie},b.spacesAndCommentsFromStart=function(Z){for(var V,Ie="";Z.length&&(V=Z[0][0],!(V!=="space"&&V!=="comment"));)Ie+=Z.shift()[1];return Ie},b.spacesFromEnd=function(Z){for(var V,Ie="";Z.length&&(V=Z[Z.length-1][0],V==="space");)Ie=Z.pop()[1]+Ie;return Ie},b.stringFrom=function(Z,V){for(var Ie="",Te=V;Te<Z.length;Te++)Ie+=Z[Te][1];return Z.splice(V,Z.length-V),Ie},b.colon=function(Z){for(var V=0,Ie,Te,Ke,Ge=0;Ge<Z.length;Ge++){if(Ie=Z[Ge],Te=Ie[0],Te==="("&&(V+=1),Te===")"&&(V-=1),V===0&&Te===":")if(!Ke)this.doubleColon(Ie);else{if(Ke[0]==="word"&&Ke[1]==="progid")continue;return Ge}Ke=Ie}return!1},b.unclosedBracket=function(Z){throw this.input.error("Unclosed bracket",Z[2],Z[3])},b.unknownWord=function(Z){throw this.input.error("Unknown word",Z[0][2],Z[0][3])},b.unexpectedClose=function(Z){throw this.input.error("Unexpected }",Z[2],Z[3])},b.unclosedBlock=function(){var Z=this.current.source.start;throw this.input.error("Unclosed block",Z.line,Z.column)},b.doubleColon=function(Z){throw this.input.error("Double colon",Z[2],Z[3])},b.unnamedAtrule=function(Z,V){throw this.input.error("At-rule without name",V[2],V[3])},b.precheckMissedSemicolon=function(){},b.checkMissedSemicolon=function(Z){var V=this.colon(Z);if(V!==!1){for(var Ie=0,Te,Ke=V-1;Ke>=0&&(Te=Z[Ke],!(Te[0]!=="space"&&(Ie+=1,Ie===2)));Ke--);throw this.input.error("Missed semicolon",Te[2],Te[3])}},F}();w.default=ae,te.exports=w.default}}),xu=Xt({"node_modules/postcss-less/lib/nodes/inline-comment.js"(w,te){Me();var X=Qa(),Y=ga();te.exports={isInlineComment(fe){if(fe[0]==="word"&&fe[1].slice(0,2)==="//"){let Ce=fe,ge=[],Ae;for(;fe;){if(/\r?\n/.test(fe[1])){if(/['"].*\r?\n/.test(fe[1])){ge.push(fe[1].substring(0,fe[1].indexOf(`
207
- `)));let ae=fe[1].substring(fe[1].indexOf(`
208
- `));ae+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new Y(ae),this.tokenizer=X(this.input)}else this.tokenizer.back(fe);break}ge.push(fe[1]),Ae=fe,fe=this.tokenizer.nextToken({ignoreUnclosed:!0})}let pe=["comment",ge.join(""),Ce[2],Ce[3],Ae[2],Ae[3]];return this.inlineComment(pe),!0}else if(fe[1]==="/"){let Ce=this.tokenizer.nextToken({ignoreUnclosed:!0});if(Ce[0]==="comment"&&/^\/\*/.test(Ce[1]))return Ce[0]="word",Ce[1]=Ce[1].slice(1),fe[1]="//",this.tokenizer.back(Ce),te.exports.isInlineComment.bind(this)(fe)}return!1}}}}),ql=Xt({"node_modules/postcss-less/lib/nodes/interpolation.js"(w,te){Me(),te.exports={interpolation(X){let Y=X,fe=[X],Ce=["word","{","}"];if(X=this.tokenizer.nextToken(),Y[1].length>1||X[0]!=="{")return this.tokenizer.back(X),!1;for(;X&&Ce.includes(X[0]);)fe.push(X),X=this.tokenizer.nextToken();let ge=fe.map(b=>b[1]);[Y]=fe;let Ae=fe.pop(),pe=[Y[2],Y[3]],ae=[Ae[4]||Ae[2],Ae[5]||Ae[3]],F=["word",ge.join("")].concat(pe,ae);return this.tokenizer.back(X),this.tokenizer.back(F),!0}}}}),Cu=Xt({"node_modules/postcss-less/lib/nodes/mixin.js"(w,te){Me();var X=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Y=/\.[0-9]/,fe=Ce=>{let[,ge]=Ce,[Ae]=ge;return(Ae==="."||Ae==="#")&&X.test(ge)===!1&&Y.test(ge)===!1};te.exports={isMixinToken:fe}}}),Xs=Xt({"node_modules/postcss-less/lib/nodes/import.js"(w,te){Me();var X=Qa(),Y=/^url\((.+)\)/;te.exports=fe=>{let{name:Ce,params:ge=""}=fe;if(Ce==="import"&&ge.length){fe.import=!0;let Ae=X({css:ge});for(fe.filename=ge.replace(Y,"$1");!Ae.endOfFile();){let[pe,ae]=Ae.nextToken();if(pe==="word"&&ae==="url")return;if(pe==="brackets"){fe.options=ae,fe.filename=ge.replace(ae,"").trim();break}}}}}}),sa=Xt({"node_modules/postcss-less/lib/nodes/variable.js"(w,te){Me();var X=/:$/,Y=/^:(\s+)?/;te.exports=fe=>{let{name:Ce,params:ge=""}=fe;if(fe.name.slice(-1)===":"){if(X.test(Ce)){let[Ae]=Ce.match(X);fe.name=Ce.replace(Ae,""),fe.raws.afterName=Ae+(fe.raws.afterName||""),fe.variable=!0,fe.value=fe.params}if(Y.test(ge)){let[Ae]=ge.match(Y);fe.value=ge.replace(Ae,""),fe.raws.afterName=(fe.raws.afterName||"")+Ae,fe.variable=!0}}}}}),oa=Xt({"node_modules/postcss-less/lib/LessParser.js"(w,te){Me();var X=po(),Y=$u(),{isInlineComment:fe}=xu(),{interpolation:Ce}=ql(),{isMixinToken:ge}=Cu(),Ae=Xs(),pe=sa(),ae=/(!\s*important)$/i;te.exports=class extends Y{constructor(){super(...arguments),this.lastNode=null}atrule(F){Ce.bind(this)(F)||(super.atrule(F),Ae(this.lastNode),pe(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(F){F[0][1]=` ${F[0][1]}`;let b=F.findIndex(Te=>Te[0]==="("),Z=F.reverse().find(Te=>Te[0]===")"),V=F.reverse().indexOf(Z),Ie=F.splice(b,V).map(Te=>Te[1]).join("");for(let Te of F.reverse())this.tokenizer.back(Te);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Ie}init(F,b,Z){super.init(F,b,Z),this.lastNode=F}inlineComment(F){let b=new X,Z=F[1].slice(2);if(this.init(b,F[2],F[3]),b.source.end={line:F[4],column:F[5]},b.inline=!0,b.raws.begin="//",/^\s*$/.test(Z))b.text="",b.raws.left=Z,b.raws.right="";else{let V=Z.match(/^(\s*)([^]*[^\s])(\s*)$/);[,b.raws.left,b.text,b.raws.right]=V}}mixin(F){let[b]=F,Z=b[1].slice(0,1),V=F.findIndex(Ne=>Ne[0]==="brackets"),Ie=F.findIndex(Ne=>Ne[0]==="("),Te="";if((V<0||V>3)&&Ie>0){let Ne=F.reduce((un,Ei,mi)=>Ei[0]===")"?mi:un),pt=F.slice(Ie,Ne+Ie).map(un=>un[1]).join(""),[bt]=F.slice(Ie),Gt=[bt[2],bt[3]],[dn]=F.slice(Ne,Ne+1),zn=[dn[2],dn[3]],Un=["brackets",pt].concat(Gt,zn),Di=F.slice(0,Ie),li=F.slice(Ne+1);F=Di,F.push(Un),F=F.concat(li)}let Ke=[];for(let Ne of F)if((Ne[1]==="!"||Ke.length)&&Ke.push(Ne),Ne[1]==="important")break;if(Ke.length){let[Ne]=Ke,pt=F.indexOf(Ne),bt=Ke[Ke.length-1],Gt=[Ne[2],Ne[3]],dn=[bt[4],bt[5]],zn=Ke.map(Di=>Di[1]).join(""),Un=["word",zn].concat(Gt,dn);F.splice(pt,Ke.length,Un)}let Ge=F.findIndex(Ne=>ae.test(Ne[1]));Ge>0&&([,Te]=F[Ge],F.splice(Ge,1));for(let Ne of F.reverse())this.tokenizer.back(Ne);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=Z,Te&&(this.lastNode.important=!0,this.lastNode.raws.important=Te)}other(F){fe.bind(this)(F)||super.other(F)}rule(F){let b=F[F.length-1],Z=F[F.length-2];if(Z[0]==="at-word"&&b[0]==="{"&&(this.tokenizer.back(b),Ce.bind(this)(Z))){let V=this.tokenizer.nextToken();F=F.slice(0,F.length-2).concat([V]);for(let Ie of F.reverse())this.tokenizer.back(Ie);return}super.rule(F),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(F){let[b]=F;if(F[0][1]==="each"&&F[1][0]==="("){this.each(F);return}if(ge(b)){this.mixin(F);return}super.unknownWord(F)}}}}),$s=Xt({"node_modules/postcss-less/lib/LessStringifier.js"(w,te){Me();var X=_o();te.exports=class extends X{atrule(Y,fe){if(!Y.mixin&&!Y.variable&&!Y.function){super.atrule(Y,fe);return}let Ce=`${Y.function?"":Y.raws.identifier||"@"}${Y.name}`,ge=Y.params?this.rawValue(Y,"params"):"",Ae=Y.raws.important||"";if(Y.variable&&(ge=Y.value),typeof Y.raws.afterName<"u"?Ce+=Y.raws.afterName:ge&&(Ce+=" "),Y.nodes)this.block(Y,Ce+ge+Ae);else{let pe=(Y.raws.between||"")+Ae+(fe?";":"");this.builder(Ce+ge+pe,Y)}}comment(Y){if(Y.inline){let fe=this.raw(Y,"left","commentLeft"),Ce=this.raw(Y,"right","commentRight");this.builder(`//${fe}${Y.text}${Ce}`,Y)}else super.comment(Y)}}}}),Eo=Xt({"node_modules/postcss-less/lib/index.js"(w,te){Me();var X=ga(),Y=oa(),fe=$s();te.exports={parse(Ce,ge){let Ae=new X(Ce,ge),pe=new Y(Ae);return pe.parse(),pe.root},stringify(Ce,ge){new fe(ge).stringify(Ce)},nodeToString(Ce){let ge="";return te.exports.stringify(Ce,Ae=>{ge+=Ae}),ge}}}}),il=Xt({"node_modules/postcss-scss/lib/scss-stringifier.js"(w,te){Me();function X(Ce,ge){Ce.prototype=Object.create(ge.prototype),Ce.prototype.constructor=Ce,Ce.__proto__=ge}var Y=_o(),fe=function(Ce){X(ge,Ce);function ge(){return Ce.apply(this,arguments)||this}var Ae=ge.prototype;return Ae.comment=function(pe){var ae=this.raw(pe,"left","commentLeft"),F=this.raw(pe,"right","commentRight");if(pe.raws.inline){var b=pe.raws.text||pe.text;this.builder("//"+ae+b+F,pe)}else this.builder("/*"+ae+pe.text+F+"*/",pe)},Ae.decl=function(pe,ae){if(!pe.isNested)Ce.prototype.decl.call(this,pe,ae);else{var F=this.raw(pe,"between","colon"),b=pe.prop+F+this.rawValue(pe,"value");pe.important&&(b+=pe.raws.important||" !important"),this.builder(b+"{",pe,"start");var Z;pe.nodes&&pe.nodes.length?(this.body(pe),Z=this.raw(pe,"after")):Z=this.raw(pe,"after","emptyBody"),Z&&this.builder(Z),this.builder("}",pe,"end")}},Ae.rawValue=function(pe,ae){var F=pe[ae],b=pe.raws[ae];return b&&b.value===F?b.scss?b.scss:b.raw:F},ge}(Y);te.exports=fe}}),sl=Xt({"node_modules/postcss-scss/lib/scss-stringify.js"(w,te){Me();var X=il();te.exports=function(Y,fe){var Ce=new X(fe);Ce.stringify(Y)}}}),Wl=Xt({"node_modules/postcss-scss/lib/nested-declaration.js"(w,te){Me();function X(Ce,ge){Ce.prototype=Object.create(ge.prototype),Ce.prototype.constructor=Ce,Ce.__proto__=ge}var Y=Co(),fe=function(Ce){X(ge,Ce);function ge(Ae){var pe;return pe=Ce.call(this,Ae)||this,pe.type="decl",pe.isNested=!0,pe.nodes||(pe.nodes=[]),pe}return ge}(Y);te.exports=fe}}),ic=Xt({"node_modules/postcss-scss/lib/scss-tokenize.js"(w,te){Me();var X="'".charCodeAt(0),Y='"'.charCodeAt(0),fe="\\".charCodeAt(0),Ce="/".charCodeAt(0),ge=`
209
- `.charCodeAt(0),Ae=" ".charCodeAt(0),pe="\f".charCodeAt(0),ae=" ".charCodeAt(0),F="\r".charCodeAt(0),b="[".charCodeAt(0),Z="]".charCodeAt(0),V="(".charCodeAt(0),Ie=")".charCodeAt(0),Te="{".charCodeAt(0),Ke="}".charCodeAt(0),Ge=";".charCodeAt(0),Ne="*".charCodeAt(0),pt=":".charCodeAt(0),bt="@".charCodeAt(0),Gt=",".charCodeAt(0),dn="#".charCodeAt(0),zn=/[ \n\t\r\f{}()'"\\;/[\]#]/g,Un=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Di=/.[\\/("'\n]/,li=/[a-f0-9]/i,un=/[\r\f\n]/g;te.exports=function(Ei,mi){mi===void 0&&(mi={});var Fn=Ei.css.valueOf(),Gr=mi.ignoreErrors,Cn,jr,Is,Yi,Ss,Li,zi,Zn,Ni,vi,Ti,Wt,Ar,Br,_n=Fn.length,Lt=-1,ii=1,Yn=0,Ys=[],zs=[];function Qs(ua){throw Ei.error("Unclosed "+ua,ii,Yn-Lt)}function fo(){return zs.length===0&&Yn>=_n}function gs(){for(var ua=1,Hs=!1,ya=!1;ua>0;)jr+=1,Fn.length<=jr&&Qs("interpolation"),Cn=Fn.charCodeAt(jr),Wt=Fn.charCodeAt(jr+1),Hs?!ya&&Cn===Hs?(Hs=!1,ya=!1):Cn===fe?ya=!vi:ya&&(ya=!1):Cn===X||Cn===Y?Hs=Cn:Cn===Ke?ua-=1:Cn===dn&&Wt===Te&&(ua+=1)}function Us(){if(zs.length)return zs.pop();if(!(Yn>=_n)){switch(Cn=Fn.charCodeAt(Yn),(Cn===ge||Cn===pe||Cn===F&&Fn.charCodeAt(Yn+1)!==ge)&&(Lt=Yn,ii+=1),Cn){case ge:case Ae:case ae:case F:case pe:jr=Yn;do jr+=1,Cn=Fn.charCodeAt(jr),Cn===ge&&(Lt=jr,ii+=1);while(Cn===Ae||Cn===ge||Cn===ae||Cn===F||Cn===pe);Ar=["space",Fn.slice(Yn,jr)],Yn=jr-1;break;case b:Ar=["[","[",ii,Yn-Lt];break;case Z:Ar=["]","]",ii,Yn-Lt];break;case Te:Ar=["{","{",ii,Yn-Lt];break;case Ke:Ar=["}","}",ii,Yn-Lt];break;case Gt:Ar=["word",",",ii,Yn-Lt,ii,Yn-Lt+1];break;case pt:Ar=[":",":",ii,Yn-Lt];break;case Ge:Ar=[";",";",ii,Yn-Lt];break;case V:if(Ti=Ys.length?Ys.pop()[1]:"",Wt=Fn.charCodeAt(Yn+1),Ti==="url"&&Wt!==X&&Wt!==Y){for(Br=1,vi=!1,jr=Yn+1;jr<=Fn.length-1;){if(Wt=Fn.charCodeAt(jr),Wt===fe)vi=!vi;else if(Wt===V)Br+=1;else if(Wt===Ie&&(Br-=1,Br===0))break;jr+=1}Li=Fn.slice(Yn,jr+1),Yi=Li.split(`
210
- `),Ss=Yi.length-1,Ss>0?(Zn=ii+Ss,Ni=jr-Yi[Ss].length):(Zn=ii,Ni=Lt),Ar=["brackets",Li,ii,Yn-Lt,Zn,jr-Ni],Lt=Ni,ii=Zn,Yn=jr}else jr=Fn.indexOf(")",Yn+1),Li=Fn.slice(Yn,jr+1),jr===-1||Di.test(Li)?Ar=["(","(",ii,Yn-Lt]:(Ar=["brackets",Li,ii,Yn-Lt,ii,jr-Lt],Yn=jr);break;case Ie:Ar=[")",")",ii,Yn-Lt];break;case X:case Y:for(Is=Cn,jr=Yn,vi=!1;jr<_n&&(jr++,jr===_n&&Qs("string"),Cn=Fn.charCodeAt(jr),Wt=Fn.charCodeAt(jr+1),!(!vi&&Cn===Is));)Cn===fe?vi=!vi:vi?vi=!1:Cn===dn&&Wt===Te&&gs();Li=Fn.slice(Yn,jr+1),Yi=Li.split(`
211
- `),Ss=Yi.length-1,Ss>0?(Zn=ii+Ss,Ni=jr-Yi[Ss].length):(Zn=ii,Ni=Lt),Ar=["string",Fn.slice(Yn,jr+1),ii,Yn-Lt,Zn,jr-Ni],Lt=Ni,ii=Zn,Yn=jr;break;case bt:zn.lastIndex=Yn+1,zn.lastIndex===0?jr=Fn.length-1:jr=zn.lastIndex-2,Ar=["at-word",Fn.slice(Yn,jr+1),ii,Yn-Lt,ii,jr-Lt],Yn=jr;break;case fe:for(jr=Yn,zi=!0;Fn.charCodeAt(jr+1)===fe;)jr+=1,zi=!zi;if(Cn=Fn.charCodeAt(jr+1),zi&&Cn!==Ce&&Cn!==Ae&&Cn!==ge&&Cn!==ae&&Cn!==F&&Cn!==pe&&(jr+=1,li.test(Fn.charAt(jr)))){for(;li.test(Fn.charAt(jr+1));)jr+=1;Fn.charCodeAt(jr+1)===Ae&&(jr+=1)}Ar=["word",Fn.slice(Yn,jr+1),ii,Yn-Lt,ii,jr-Lt],Yn=jr;break;default:Wt=Fn.charCodeAt(Yn+1),Cn===dn&&Wt===Te?(jr=Yn,gs(),Li=Fn.slice(Yn,jr+1),Yi=Li.split(`
212
- `),Ss=Yi.length-1,Ss>0?(Zn=ii+Ss,Ni=jr-Yi[Ss].length):(Zn=ii,Ni=Lt),Ar=["word",Li,ii,Yn-Lt,Zn,jr-Ni],Lt=Ni,ii=Zn,Yn=jr):Cn===Ce&&Wt===Ne?(jr=Fn.indexOf("*/",Yn+2)+1,jr===0&&(Gr?jr=Fn.length:Qs("comment")),Li=Fn.slice(Yn,jr+1),Yi=Li.split(`
213
- `),Ss=Yi.length-1,Ss>0?(Zn=ii+Ss,Ni=jr-Yi[Ss].length):(Zn=ii,Ni=Lt),Ar=["comment",Li,ii,Yn-Lt,Zn,jr-Ni],Lt=Ni,ii=Zn,Yn=jr):Cn===Ce&&Wt===Ce?(un.lastIndex=Yn+1,un.lastIndex===0?jr=Fn.length-1:jr=un.lastIndex-2,Li=Fn.slice(Yn,jr+1),Ar=["comment",Li,ii,Yn-Lt,ii,jr-Lt,"inline"],Yn=jr):(Un.lastIndex=Yn+1,Un.lastIndex===0?jr=Fn.length-1:jr=Un.lastIndex-2,Ar=["word",Fn.slice(Yn,jr+1),ii,Yn-Lt,ii,jr-Lt],Ys.push(Ar),Yn=jr);break}return Yn++,Ar}}function Aa(ua){zs.push(ua)}return{back:Aa,nextToken:Us,endOfFile:fo}}}}),Vl=Xt({"node_modules/postcss-scss/lib/scss-parser.js"(w,te){Me();function X(pe,ae){pe.prototype=Object.create(ae.prototype),pe.prototype.constructor=pe,pe.__proto__=ae}var Y=po(),fe=$u(),Ce=Wl(),ge=ic(),Ae=function(pe){X(ae,pe);function ae(){return pe.apply(this,arguments)||this}var F=ae.prototype;return F.createTokenizer=function(){this.tokenizer=ge(this.input)},F.rule=function(b){for(var Z=!1,V=0,Ie="",Ge=b,Te=Array.isArray(Ge),Ke=0,Ge=Te?Ge:Ge[Symbol.iterator]();;){var Ne;if(Te){if(Ke>=Ge.length)break;Ne=Ge[Ke++]}else{if(Ke=Ge.next(),Ke.done)break;Ne=Ke.value}var pt=Ne;if(Z)pt[0]!=="comment"&&pt[0]!=="{"&&(Ie+=pt[1]);else{if(pt[0]==="space"&&pt[1].indexOf(`
214
- `)!==-1)break;pt[0]==="("?V+=1:pt[0]===")"?V-=1:V===0&&pt[0]===":"&&(Z=!0)}}if(!Z||Ie.trim()===""||/^[a-zA-Z-:#]/.test(Ie))pe.prototype.rule.call(this,b);else{b.pop();var bt=new Ce;this.init(bt);var Gt=b[b.length-1];for(Gt[4]?bt.source.end={line:Gt[4],column:Gt[5]}:bt.source.end={line:Gt[2],column:Gt[3]};b[0][0]!=="word";)bt.raws.before+=b.shift()[1];for(bt.source.start={line:b[0][2],column:b[0][3]},bt.prop="";b.length;){var dn=b[0][0];if(dn===":"||dn==="space"||dn==="comment")break;bt.prop+=b.shift()[1]}bt.raws.between="";for(var zn;b.length;)if(zn=b.shift(),zn[0]===":"){bt.raws.between+=zn[1];break}else bt.raws.between+=zn[1];(bt.prop[0]==="_"||bt.prop[0]==="*")&&(bt.raws.before+=bt.prop[0],bt.prop=bt.prop.slice(1)),bt.raws.between+=this.spacesAndCommentsFromStart(b),this.precheckMissedSemicolon(b);for(var Un=b.length-1;Un>0;Un--){if(zn=b[Un],zn[1]==="!important"){bt.important=!0;var Di=this.stringFrom(b,Un);Di=this.spacesFromEnd(b)+Di,Di!==" !important"&&(bt.raws.important=Di);break}else if(zn[1]==="important"){for(var li=b.slice(0),un="",Ei=Un;Ei>0;Ei--){var mi=li[Ei][0];if(un.trim().indexOf("!")===0&&mi!=="space")break;un=li.pop()[1]+un}un.trim().indexOf("!")===0&&(bt.important=!0,bt.raws.important=un,b=li)}if(zn[0]!=="space"&&zn[0]!=="comment")break}this.raw(bt,"value",b),bt.value.indexOf(":")!==-1&&this.checkMissedSemicolon(b),this.current=bt}},F.comment=function(b){if(b[6]==="inline"){var Z=new Y;this.init(Z,b[2],b[3]),Z.raws.inline=!0,Z.source.end={line:b[4],column:b[5]};var V=b[1].slice(2);if(/^\s*$/.test(V))Z.text="",Z.raws.left=V,Z.raws.right="";else{var Ie=V.match(/^(\s*)([^]*[^\s])(\s*)$/),Te=Ie[2].replace(/(\*\/|\/\*)/g,"*//*");Z.text=Te,Z.raws.left=Ie[1],Z.raws.right=Ie[3],Z.raws.text=Ie[2]}}else pe.prototype.comment.call(this,b)},F.raw=function(b,Z,V){if(pe.prototype.raw.call(this,b,Z,V),b.raws[Z]){var Ie=b.raws[Z].raw;b.raws[Z].raw=V.reduce(function(Te,Ke){if(Ke[0]==="comment"&&Ke[6]==="inline"){var Ge=Ke[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return Te+"/*"+Ge+"*/"}else return Te+Ke[1]},""),Ie!==b.raws[Z].raw&&(b.raws[Z].scss=Ie)}},ae}(fe);te.exports=Ae}}),Tl=Xt({"node_modules/postcss-scss/lib/scss-parse.js"(w,te){Me();var X=ga(),Y=Vl();te.exports=function(fe,Ce){var ge=new X(fe,Ce),Ae=new Y(ge);return Ae.parse(),Ae.root}}}),Jo=Xt({"node_modules/postcss-scss/lib/scss-syntax.js"(w,te){Me();var X=sl(),Y=Tl();te.exports={parse:Y,stringify:X}}});Me();var Eu=kt(),al=jt(),zu=nr(),{hasPragma:Sl}=hn(),{locStart:ol,locEnd:ul}=ws(),{calculateLoc:ll,replaceQuotesInInlineComments:Gl}=ws(),Uu=is(),Hu=ye(),Xo=nt(),ha=dt(),Fl=pr(),sc=gi(),kl=ss(),Ra=us(),Es=w=>{for(;w.parent;)w=w.parent;return w};function $a(w,te){let{nodes:X}=w,Y={open:null,close:null,groups:[],type:"paren_group"},fe=[Y],Ce=Y,ge={groups:[],type:"comma_group"},Ae=[ge];for(let pe=0;pe<X.length;++pe){let ae=X[pe];if(ha(te.parser,ae.value)&&ae.type==="number"&&ae.unit===".."&&al(ae.value)==="."&&(ae.value=ae.value.slice(0,-1),ae.unit="..."),ae.type==="func"&&ae.value==="selector"&&(ae.group.groups=[nu(Es(w).text.slice(ae.group.open.sourceIndex+1,ae.group.close.sourceIndex))]),ae.type==="func"&&ae.value==="url"){let F=ae.group&&ae.group.groups||[],b=[];for(let Z=0;Z<F.length;Z++){let V=F[Z];V.type==="comma_group"?b=[...b,...V.groups]:b.push(V)}if(Uu(b)||!Hu(b)&&!sc(b[0])){let Z=kl({groups:ae.group.groups});ae.group.groups=[Z.trim()]}}if(ae.type==="paren"&&ae.value==="(")Y={open:ae,close:null,groups:[],type:"paren_group"},fe.push(Y),ge={groups:[],type:"comma_group"},Ae.push(ge);else if(ae.type==="paren"&&ae.value===")"){if(ge.groups.length>0&&Y.groups.push(ge),Y.close=ae,Ae.length===1)throw new Error("Unbalanced parenthesis");Ae.pop(),ge=al(Ae),ge.groups.push(Y),fe.pop(),Y=al(fe)}else if(ae.type==="comma"){if(ge.groups.length>1){for(let F of ge.groups)if(F.value&&typeof F.value=="string"&&F.value.includes("#{")){ge.groups=[kl({groups:ge.groups}).trim()];break}}Y.groups.push(ge),ge={groups:[],type:"comma_group"},Ae[Ae.length-1]=ge}else ge.groups.push(ae)}return ge.groups.length>0&&Y.groups.push(ge),Ce}function ho(w){return w.type==="paren_group"&&!w.open&&!w.close&&w.groups.length===1||w.type==="comma_group"&&w.groups.length===1?ho(w.groups[0]):w.type==="paren_group"||w.type==="comma_group"?Object.assign(Object.assign({},w),{},{groups:w.groups.map(ho)}):w}function ba(w,te,X){if(w&&typeof w=="object"){delete w.parent;for(let Y in w)ba(w[Y],te,X),Y==="type"&&typeof w[Y]=="string"&&!w[Y].startsWith(te)&&(!X||!X.test(w[Y]))&&(w[Y]=te+w[Y])}return w}function cl(w){if(w&&typeof w=="object"){delete w.parent;for(let te in w)cl(w[te]);!Array.isArray(w)&&w.value&&!w.type&&(w.type="unknown")}return w}function pl(w,te){if(w&&typeof w=="object"){for(let X in w)X!=="parent"&&(pl(w[X],te),X==="nodes"&&(w.group=ho($a(w,te)),delete w[X]));delete w.parent}return w}function Yo(w,te){let X=hi(),Y=null;try{Y=X(w,{loose:!0}).parse()}catch{return{type:"value-unknown",value:w}}Y.text=w;let fe=pl(Y,te);return ba(fe,"value-",/^selector-/)}function nu(w){if(/\/\/|\/\*/.test(w))return{type:"selector-unknown",value:w.trim()};let te=Lu(),X=null;try{te(Y=>{X=Y}).process(w)}catch{return{type:"selector-unknown",value:w}}return ba(X,"selector-")}function Pl(w){let te=Ea().default,X=null;try{X=te(w)}catch{return{type:"selector-unknown",value:w}}return ba(cl(X),"media-")}var bu=/(\s*)(!default).*$/,iu=/(\s*)(!global).*$/;function qu(w,te){if(w&&typeof w=="object"){delete w.parent;for(let pe in w)qu(w[pe],te);if(!w.type)return w;w.raws||(w.raws={});let Ce="";if(typeof w.selector=="string"){var X;Ce=w.raws.selector?(X=w.raws.selector.scss)!==null&&X!==void 0?X:w.raws.selector.raw:w.selector,w.raws.between&&w.raws.between.trim().length>0&&(Ce+=w.raws.between),w.raws.selector=Ce}let ge="";if(typeof w.value=="string"){var Y;ge=w.raws.value?(Y=w.raws.value.scss)!==null&&Y!==void 0?Y:w.raws.value.raw:w.value,ge=ge.trim(),w.raws.value=ge}let Ae="";if(typeof w.params=="string"){var fe;Ae=w.raws.params?(fe=w.raws.params.scss)!==null&&fe!==void 0?fe:w.raws.params.raw:w.params,w.raws.afterName&&w.raws.afterName.trim().length>0&&(Ae=w.raws.afterName+Ae),w.raws.between&&w.raws.between.trim().length>0&&(Ae=Ae+w.raws.between),Ae=Ae.trim(),w.raws.params=Ae}if(Ce.trim().length>0)return Ce.startsWith("@")&&Ce.endsWith(":")?w:w.mixin?(w.selector=Yo(Ce,te),w):(Fl(w)&&(w.isSCSSNesterProperty=!0),w.selector=nu(Ce),w);if(ge.length>0){let pe=ge.match(bu);pe&&(ge=ge.slice(0,pe.index),w.scssDefault=!0,pe[0].trim()!=="!default"&&(w.raws.scssDefault=pe[0]));let ae=ge.match(iu);if(ae&&(ge=ge.slice(0,ae.index),w.scssGlobal=!0,ae[0].trim()!=="!global"&&(w.raws.scssGlobal=ae[0])),ge.startsWith("progid:"))return{type:"value-unknown",value:ge};w.value=Yo(ge,te)}if(Xo(te)&&w.type==="css-decl"&&ge.startsWith("extend(")&&(w.extend||(w.extend=w.raws.between===":"),w.extend&&!w.selector&&(delete w.value,w.selector=nu(ge.slice(7,-1)))),w.type==="css-atrule"){if(Xo(te)){if(w.mixin){let pe=w.raws.identifier+w.name+w.raws.afterName+w.raws.params;return w.selector=nu(pe),delete w.params,w}if(w.function)return w}if(te.parser==="css"&&w.name==="custom-selector"){let pe=w.params.match(/:--\S+\s+/)[0].trim();return w.customSelector=pe,w.selector=nu(w.params.slice(pe.length).trim()),delete w.params,w}if(Xo(te)){if(w.name.includes(":")&&!w.params){w.variable=!0;let pe=w.name.split(":");w.name=pe[0],w.value=Yo(pe.slice(1).join(":"),te)}if(!["page","nest","keyframes"].includes(w.name)&&w.params&&w.params[0]===":"&&(w.variable=!0,w.value=Yo(w.params.slice(1),te),w.raws.afterName+=":"),w.variable)return delete w.params,w}}if(w.type==="css-atrule"&&Ae.length>0){let{name:pe}=w,ae=w.name.toLowerCase();return pe==="warn"||pe==="error"?(w.params={type:"media-unknown",value:Ae},w):pe==="extend"||pe==="nest"?(w.selector=nu(Ae),delete w.params,w):pe==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(Ae)?w.params=Yo(Ae,te):(w.selector=nu(Ae),delete w.params),w):Ra(ae)?(w.import=!0,delete w.filename,w.params=Yo(Ae,te),w):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(pe)?(Ae=Ae.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),Ae=Ae.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),w.value=Yo(Ae,te),delete w.params,w):["media","custom-media"].includes(ae)?Ae.includes("#{")?{type:"media-unknown",value:Ae}:(w.params=Pl(Ae),w):(w.params=Ae,w)}}return w}function eo(w,te,X){let Y=zu(te),{frontMatter:fe}=Y;te=Y.content;let Ce;try{Ce=w(te)}catch(ge){let{name:Ae,reason:pe,line:ae,column:F}=ge;throw typeof ae!="number"?ge:Eu(`${Ae}: ${pe}`,{start:{line:ae,column:F}})}return Ce=qu(ba(Ce,"css-"),X),ll(Ce,te),fe&&(fe.source={startOffset:0,endOffset:fe.raw.length},Ce.nodes.unshift(fe)),Ce}function Nl(w,te){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Y=ha(X.parser,w)?[Bl,Oo]:[Oo,Bl],fe;for(let Ce of Y)try{return Ce(w,te,X)}catch(ge){fe=fe||ge}if(fe)throw fe}function Oo(w,te){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Y=Eo();return eo(fe=>Y.parse(Gl(fe)),w,X)}function Bl(w,te){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:Y}=Jo();return eo(Y,w,X)}var Lo={astFormat:"postcss",hasPragma:Sl,locStart:ol,locEnd:ul};Cr.exports={parsers:{css:Object.assign(Object.assign({},Lo),{},{parse:Nl}),less:Object.assign(Object.assign({},Lo),{},{parse:Oo}),scss:Object.assign(Object.assign({},Lo),{},{parse:Bl})}}});return ta()})})(cv);const pv=qp(bh);var Ah={},hv={get exports(){return Ah},set exports(i){Ah=i}};(function(i,h){(function(c){i.exports=c()})(function(){var c=(zt,_e)=>()=>(_e||zt((_e={exports:{}}).exports,_e),_e.exports),g=c((zt,_e)=>{var ue=function(re){return re&&re.Math==Math&&re};_e.exports=ue(typeof globalThis=="object"&&globalThis)||ue(typeof window=="object"&&window)||ue(typeof self=="object"&&self)||ue(typeof vl=="object"&&vl)||function(){return this}()||Function("return this")()}),x=c((zt,_e)=>{_e.exports=function(ue){try{return!!ue()}catch{return!0}}}),S=c((zt,_e)=>{var ue=x();_e.exports=!ue(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),W=c((zt,_e)=>{var ue=x();_e.exports=!ue(function(){var re=function(){}.bind();return typeof re!="function"||re.hasOwnProperty("prototype")})}),ie=c((zt,_e)=>{var ue=W(),re=Function.prototype.call;_e.exports=ue?re.bind(re):function(){return re.apply(re,arguments)}}),de=c(zt=>{var _e={}.propertyIsEnumerable,ue=Object.getOwnPropertyDescriptor,re=ue&&!_e.call({1:2},1);zt.f=re?function(xe){var Fe=ue(this,xe);return!!Fe&&Fe.enumerable}:_e}),ve=c((zt,_e)=>{_e.exports=function(ue,re){return{enumerable:!(ue&1),configurable:!(ue&2),writable:!(ue&4),value:re}}}),De=c((zt,_e)=>{var ue=W(),re=Function.prototype,xe=re.bind,Fe=re.call,Re=ue&&xe.bind(Fe,Fe);_e.exports=ue?function(Qe){return Qe&&Re(Qe)}:function(Qe){return Qe&&function(){return Fe.apply(Qe,arguments)}}}),Ve=c((zt,_e)=>{var ue=De(),re=ue({}.toString),xe=ue("".slice);_e.exports=function(Fe){return xe(re(Fe),8,-1)}}),tt=c((zt,_e)=>{var ue=g(),re=De(),xe=x(),Fe=Ve(),Re=ue.Object,Qe=re("".split);_e.exports=xe(function(){return!Re("z").propertyIsEnumerable(0)})?function(it){return Fe(it)=="String"?Qe(it,""):Re(it)}:Re}),Ct=c((zt,_e)=>{var ue=g(),re=ue.TypeError;_e.exports=function(xe){if(xe==null)throw re("Can't call method on "+xe);return xe}}),Rt=c((zt,_e)=>{var ue=tt(),re=Ct();_e.exports=function(xe){return ue(re(xe))}}),$t=c((zt,_e)=>{_e.exports=function(ue){return typeof ue=="function"}}),Sr=c((zt,_e)=>{var ue=$t();_e.exports=function(re){return typeof re=="object"?re!==null:ue(re)}}),Ze=c((zt,_e)=>{var ue=g(),re=$t(),xe=function(Fe){return re(Fe)?Fe:void 0};_e.exports=function(Fe,Re){return arguments.length<2?xe(ue[Fe]):ue[Fe]&&ue[Fe][Re]}}),ct=c((zt,_e)=>{var ue=De();_e.exports=ue({}.isPrototypeOf)}),Et=c((zt,_e)=>{var ue=Ze();_e.exports=ue("navigator","userAgent")||""}),er=c((zt,_e)=>{var ue=g(),re=Et(),xe=ue.process,Fe=ue.Deno,Re=xe&&xe.versions||Fe&&Fe.version,Qe=Re&&Re.v8,it,Ft;Qe&&(it=Qe.split("."),Ft=it[0]>0&&it[0]<4?1:+(it[0]+it[1])),!Ft&&re&&(it=re.match(/Edge\/(\d+)/),(!it||it[1]>=74)&&(it=re.match(/Chrome\/(\d+)/),it&&(Ft=+it[1]))),_e.exports=Ft}),gr=c((zt,_e)=>{var ue=er(),re=x();_e.exports=!!Object.getOwnPropertySymbols&&!re(function(){var xe=Symbol();return!String(xe)||!(Object(xe)instanceof Symbol)||!Symbol.sham&&ue&&ue<41})}),Pn=c((zt,_e)=>{var ue=gr();_e.exports=ue&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),kr=c((zt,_e)=>{var ue=g(),re=Ze(),xe=$t(),Fe=ct(),Re=Pn(),Qe=ue.Object;_e.exports=Re?function(it){return typeof it=="symbol"}:function(it){var Ft=re("Symbol");return xe(Ft)&&Fe(Ft.prototype,Qe(it))}}),ln=c((zt,_e)=>{var ue=g(),re=ue.String;_e.exports=function(xe){try{return re(xe)}catch{return"Object"}}}),Dn=c((zt,_e)=>{var ue=g(),re=$t(),xe=ln(),Fe=ue.TypeError;_e.exports=function(Re){if(re(Re))return Re;throw Fe(xe(Re)+" is not a function")}}),mn=c((zt,_e)=>{var ue=Dn();_e.exports=function(re,xe){var Fe=re[xe];return Fe==null?void 0:ue(Fe)}}),gn=c((zt,_e)=>{var ue=g(),re=ie(),xe=$t(),Fe=Sr(),Re=ue.TypeError;_e.exports=function(Qe,it){var Ft,Qt;if(it==="string"&&xe(Ft=Qe.toString)&&!Fe(Qt=re(Ft,Qe))||xe(Ft=Qe.valueOf)&&!Fe(Qt=re(Ft,Qe))||it!=="string"&&xe(Ft=Qe.toString)&&!Fe(Qt=re(Ft,Qe)))return Qt;throw Re("Can't convert object to primitive value")}}),Xn=c((zt,_e)=>{_e.exports=!1}),hr=c((zt,_e)=>{var ue=g(),re=Object.defineProperty;_e.exports=function(xe,Fe){try{re(ue,xe,{value:Fe,configurable:!0,writable:!0})}catch{ue[xe]=Fe}return Fe}}),Tn=c((zt,_e)=>{var ue=g(),re=hr(),xe="__core-js_shared__",Fe=ue[xe]||re(xe,{});_e.exports=Fe}),Ee=c((zt,_e)=>{var ue=Xn(),re=Tn();(_e.exports=function(xe,Fe){return re[xe]||(re[xe]=Fe!==void 0?Fe:{})})("versions",[]).push({version:"3.22.2",mode:ue?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),tn=c((zt,_e)=>{var ue=g(),re=Ct(),xe=ue.Object;_e.exports=function(Fe){return xe(re(Fe))}}),ur=c((zt,_e)=>{var ue=De(),re=tn(),xe=ue({}.hasOwnProperty);_e.exports=Object.hasOwn||function(Fe,Re){return xe(re(Fe),Re)}}),kn=c((zt,_e)=>{var ue=De(),re=0,xe=Math.random(),Fe=ue(1 .toString);_e.exports=function(Re){return"Symbol("+(Re===void 0?"":Re)+")_"+Fe(++re+xe,36)}}),ti=c((zt,_e)=>{var ue=g(),re=Ee(),xe=ur(),Fe=kn(),Re=gr(),Qe=Pn(),it=re("wks"),Ft=ue.Symbol,Qt=Ft&&Ft.for,sr=Qe?Ft:Ft&&Ft.withoutSetter||Fe;_e.exports=function(Nt){if(!xe(it,Nt)||!(Re||typeof it[Nt]=="string")){var Nr="Symbol."+Nt;Re&&xe(Ft,Nt)?it[Nt]=Ft[Nt]:Qe&&Qt?it[Nt]=Qt(Nr):it[Nt]=sr(Nr)}return it[Nt]}}),Vi=c((zt,_e)=>{var ue=g(),re=ie(),xe=Sr(),Fe=kr(),Re=mn(),Qe=gn(),it=ti(),Ft=ue.TypeError,Qt=it("toPrimitive");_e.exports=function(sr,Nt){if(!xe(sr)||Fe(sr))return sr;var Nr=Re(sr,Qt),Yr;if(Nr){if(Nt===void 0&&(Nt="default"),Yr=re(Nr,sr,Nt),!xe(Yr)||Fe(Yr))return Yr;throw Ft("Can't convert object to primitive value")}return Nt===void 0&&(Nt="number"),Qe(sr,Nt)}}),as=c((zt,_e)=>{var ue=Vi(),re=kr();_e.exports=function(xe){var Fe=ue(xe,"string");return re(Fe)?Fe:Fe+""}}),fs=c((zt,_e)=>{var ue=g(),re=Sr(),xe=ue.document,Fe=re(xe)&&re(xe.createElement);_e.exports=function(Re){return Fe?xe.createElement(Re):{}}}),es=c((zt,_e)=>{var ue=S(),re=x(),xe=fs();_e.exports=!ue&&!re(function(){return Object.defineProperty(xe("div"),"a",{get:function(){return 7}}).a!=7})}),ts=c(zt=>{var _e=S(),ue=ie(),re=de(),xe=ve(),Fe=Rt(),Re=as(),Qe=ur(),it=es(),Ft=Object.getOwnPropertyDescriptor;zt.f=_e?Ft:function(Qt,sr){if(Qt=Fe(Qt),sr=Re(sr),it)try{return Ft(Qt,sr)}catch{}if(Qe(Qt,sr))return xe(!ue(re.f,Qt,sr),Qt[sr])}}),Mr=c((zt,_e)=>{var ue=S(),re=x();_e.exports=ue&&re(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),$r=c((zt,_e)=>{var ue=g(),re=Sr(),xe=ue.String,Fe=ue.TypeError;_e.exports=function(Re){if(re(Re))return Re;throw Fe(xe(Re)+" is not an object")}}),yr=c(zt=>{var _e=g(),ue=S(),re=es(),xe=Mr(),Fe=$r(),Re=as(),Qe=_e.TypeError,it=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,Qt="enumerable",sr="configurable",Nt="writable";zt.f=ue?xe?function(Nr,Yr,Be){if(Fe(Nr),Yr=Re(Yr),Fe(Be),typeof Nr=="function"&&Yr==="prototype"&&"value"in Be&&Nt in Be&&!Be[Nt]){var xr=Ft(Nr,Yr);xr&&xr[Nt]&&(Nr[Yr]=Be.value,Be={configurable:sr in Be?Be[sr]:xr[sr],enumerable:Qt in Be?Be[Qt]:xr[Qt],writable:!1})}return it(Nr,Yr,Be)}:it:function(Nr,Yr,Be){if(Fe(Nr),Yr=Re(Yr),Fe(Be),re)try{return it(Nr,Yr,Be)}catch{}if("get"in Be||"set"in Be)throw Qe("Accessors not supported");return"value"in Be&&(Nr[Yr]=Be.value),Nr}}),cn=c((zt,_e)=>{var ue=S(),re=yr(),xe=ve();_e.exports=ue?function(Fe,Re,Qe){return re.f(Fe,Re,xe(1,Qe))}:function(Fe,Re,Qe){return Fe[Re]=Qe,Fe}}),$n=c((zt,_e)=>{var ue=De(),re=$t(),xe=Tn(),Fe=ue(Function.toString);re(xe.inspectSource)||(xe.inspectSource=function(Re){return Fe(Re)}),_e.exports=xe.inspectSource}),ci=c((zt,_e)=>{var ue=g(),re=$t(),xe=$n(),Fe=ue.WeakMap;_e.exports=re(Fe)&&/native code/.test(xe(Fe))}),Mn=c((zt,_e)=>{var ue=Ee(),re=kn(),xe=ue("keys");_e.exports=function(Fe){return xe[Fe]||(xe[Fe]=re(Fe))}}),Xe=c((zt,_e)=>{_e.exports={}}),At=c((zt,_e)=>{var ue=ci(),re=g(),xe=De(),Fe=Sr(),Re=cn(),Qe=ur(),it=Tn(),Ft=Mn(),Qt=Xe(),sr="Object already initialized",Nt=re.TypeError,Nr=re.WeakMap,Yr,Be,xr,Sn=function(hn){return xr(hn)?Be(hn):Yr(hn,{})},bi=function(hn){return function(di){var ms;if(!Fe(di)||(ms=Be(di)).type!==hn)throw Nt("Incompatible receiver, "+hn+" required");return ms}};ue||it.state?(ui=it.state||(it.state=new Nr),vn=xe(ui.get),ns=xe(ui.has),Fs=xe(ui.set),Yr=function(hn,di){if(ns(ui,hn))throw new Nt(sr);return di.facade=hn,Fs(ui,hn,di),di},Be=function(hn){return vn(ui,hn)||{}},xr=function(hn){return ns(ui,hn)}):(at=Ft("state"),Qt[at]=!0,Yr=function(hn,di){if(Qe(hn,at))throw new Nt(sr);return di.facade=hn,Re(hn,at,di),di},Be=function(hn){return Qe(hn,at)?hn[at]:{}},xr=function(hn){return Qe(hn,at)});var ui,vn,ns,Fs,at;_e.exports={set:Yr,get:Be,has:xr,enforce:Sn,getterFor:bi}}),wr=c((zt,_e)=>{var ue=S(),re=ur(),xe=Function.prototype,Fe=ue&&Object.getOwnPropertyDescriptor,Re=re(xe,"name"),Qe=Re&&function(){}.name==="something",it=Re&&(!ue||ue&&Fe(xe,"name").configurable);_e.exports={EXISTS:Re,PROPER:Qe,CONFIGURABLE:it}}),Hr=c((zt,_e)=>{var ue=g(),re=$t(),xe=ur(),Fe=cn(),Re=hr(),Qe=$n(),it=At(),Ft=wr().CONFIGURABLE,Qt=it.get,sr=it.enforce,Nt=String(String).split("String");(_e.exports=function(Nr,Yr,Be,xr){var Sn=xr?!!xr.unsafe:!1,bi=xr?!!xr.enumerable:!1,ui=xr?!!xr.noTargetGet:!1,vn=xr&&xr.name!==void 0?xr.name:Yr,ns;if(re(Be)&&(String(vn).slice(0,7)==="Symbol("&&(vn="["+String(vn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!xe(Be,"name")||Ft&&Be.name!==vn)&&Fe(Be,"name",vn),ns=sr(Be),ns.source||(ns.source=Nt.join(typeof vn=="string"?vn:""))),Nr===ue){bi?Nr[Yr]=Be:Re(Yr,Be);return}else Sn?!ui&&Nr[Yr]&&(bi=!0):delete Nr[Yr];bi?Nr[Yr]=Be:Fe(Nr,Yr,Be)})(Function.prototype,"toString",function(){return re(this)&&Qt(this).source||Qe(this)})}),Fr=c((zt,_e)=>{var ue=Math.ceil,re=Math.floor;_e.exports=function(xe){var Fe=+xe;return Fe!==Fe||Fe===0?0:(Fe>0?re:ue)(Fe)}}),nn=c((zt,_e)=>{var ue=Fr(),re=Math.max,xe=Math.min;_e.exports=function(Fe,Re){var Qe=ue(Fe);return Qe<0?re(Qe+Re,0):xe(Qe,Re)}}),Jr=c((zt,_e)=>{var ue=Fr(),re=Math.min;_e.exports=function(xe){return xe>0?re(ue(xe),9007199254740991):0}}),pn=c((zt,_e)=>{var ue=Jr();_e.exports=function(re){return ue(re.length)}}),jn=c((zt,_e)=>{var ue=Rt(),re=nn(),xe=pn(),Fe=function(Re){return function(Qe,it,Ft){var Qt=ue(Qe),sr=xe(Qt),Nt=re(Ft,sr),Nr;if(Re&&it!=it){for(;sr>Nt;)if(Nr=Qt[Nt++],Nr!=Nr)return!0}else for(;sr>Nt;Nt++)if((Re||Nt in Qt)&&Qt[Nt]===it)return Re||Nt||0;return!Re&&-1}};_e.exports={includes:Fe(!0),indexOf:Fe(!1)}}),Zr=c((zt,_e)=>{var ue=De(),re=ur(),xe=Rt(),Fe=jn().indexOf,Re=Xe(),Qe=ue([].push);_e.exports=function(it,Ft){var Qt=xe(it),sr=0,Nt=[],Nr;for(Nr in Qt)!re(Re,Nr)&&re(Qt,Nr)&&Qe(Nt,Nr);for(;Ft.length>sr;)re(Qt,Nr=Ft[sr++])&&(~Fe(Nt,Nr)||Qe(Nt,Nr));return Nt}}),Tt=c((zt,_e)=>{_e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),mr=c(zt=>{var _e=Zr(),ue=Tt(),re=ue.concat("length","prototype");zt.f=Object.getOwnPropertyNames||function(xe){return _e(xe,re)}}),Vt=c(zt=>{zt.f=Object.getOwnPropertySymbols}),Wn=c((zt,_e)=>{var ue=Ze(),re=De(),xe=mr(),Fe=Vt(),Re=$r(),Qe=re([].concat);_e.exports=ue("Reflect","ownKeys")||function(it){var Ft=xe.f(Re(it)),Qt=Fe.f;return Qt?Qe(Ft,Qt(it)):Ft}}),ki=c((zt,_e)=>{var ue=ur(),re=Wn(),xe=ts(),Fe=yr();_e.exports=function(Re,Qe,it){for(var Ft=re(Qe),Qt=Fe.f,sr=xe.f,Nt=0;Nt<Ft.length;Nt++){var Nr=Ft[Nt];!ue(Re,Nr)&&!(it&&ue(it,Nr))&&Qt(Re,Nr,sr(Qe,Nr))}}}),ds=c((zt,_e)=>{var ue=x(),re=$t(),xe=/#|\.prototype\./,Fe=function(Qt,sr){var Nt=Qe[Re(Qt)];return Nt==Ft?!0:Nt==it?!1:re(sr)?ue(sr):!!sr},Re=Fe.normalize=function(Qt){return String(Qt).replace(xe,".").toLowerCase()},Qe=Fe.data={},it=Fe.NATIVE="N",Ft=Fe.POLYFILL="P";_e.exports=Fe}),Zi=c((zt,_e)=>{var ue=g(),re=ts().f,xe=cn(),Fe=Hr(),Re=hr(),Qe=ki(),it=ds();_e.exports=function(Ft,Qt){var sr=Ft.target,Nt=Ft.global,Nr=Ft.stat,Yr,Be,xr,Sn,bi,ui;if(Nt?Be=ue:Nr?Be=ue[sr]||Re(sr,{}):Be=(ue[sr]||{}).prototype,Be)for(xr in Qt){if(bi=Qt[xr],Ft.noTargetGet?(ui=re(Be,xr),Sn=ui&&ui.value):Sn=Be[xr],Yr=it(Nt?xr:sr+(Nr?".":"#")+xr,Ft.forced),!Yr&&Sn!==void 0){if(typeof bi==typeof Sn)continue;Qe(bi,Sn)}(Ft.sham||Sn&&Sn.sham)&&xe(bi,"sham",!0),Fe(Be,xr,bi,Ft)}}}),Ds=c(()=>{var zt=Zi(),_e=g();zt({global:!0},{globalThis:_e})}),os=c(()=>{Ds()}),ta=c((zt,_e)=>{var ue=Ve();_e.exports=Array.isArray||function(re){return ue(re)=="Array"}}),Vn=c((zt,_e)=>{var ue=De(),re=Dn(),xe=W(),Fe=ue(ue.bind);_e.exports=function(Re,Qe){return re(Re),Qe===void 0?Re:xe?Fe(Re,Qe):function(){return Re.apply(Qe,arguments)}}}),Cr=c((zt,_e)=>{var ue=g(),re=ta(),xe=pn(),Fe=Vn(),Re=ue.TypeError,Qe=function(it,Ft,Qt,sr,Nt,Nr,Yr,Be){for(var xr=Nt,Sn=0,bi=Yr?Fe(Yr,Be):!1,ui,vn;Sn<sr;){if(Sn in Qt){if(ui=bi?bi(Qt[Sn],Sn,Ft):Qt[Sn],Nr>0&&re(ui))vn=xe(ui),xr=Qe(it,Ft,ui,vn,xr,Nr-1)-1;else{if(xr>=9007199254740991)throw Re("Exceed the acceptable array length");it[xr]=ui}xr++}Sn++}return xr};_e.exports=Qe}),Tr=c((zt,_e)=>{var ue=ti(),re=ue("toStringTag"),xe={};xe[re]="z",_e.exports=String(xe)==="[object z]"}),vr=c((zt,_e)=>{var ue=g(),re=Tr(),xe=$t(),Fe=Ve(),Re=ti(),Qe=Re("toStringTag"),it=ue.Object,Ft=Fe(function(){return arguments}())=="Arguments",Qt=function(sr,Nt){try{return sr[Nt]}catch{}};_e.exports=re?Fe:function(sr){var Nt,Nr,Yr;return sr===void 0?"Undefined":sr===null?"Null":typeof(Nr=Qt(Nt=it(sr),Qe))=="string"?Nr:Ft?Fe(Nt):(Yr=Fe(Nt))=="Object"&&xe(Nt.callee)?"Arguments":Yr}}),Kr=c((zt,_e)=>{var ue=De(),re=x(),xe=$t(),Fe=vr(),Re=Ze(),Qe=$n(),it=function(){},Ft=[],Qt=Re("Reflect","construct"),sr=/^\s*(?:class|function)\b/,Nt=ue(sr.exec),Nr=!sr.exec(it),Yr=function(xr){if(!xe(xr))return!1;try{return Qt(it,Ft,xr),!0}catch{return!1}},Be=function(xr){if(!xe(xr))return!1;switch(Fe(xr)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Nr||!!Nt(sr,Qe(xr))}catch{return!0}};Be.sham=!0,_e.exports=!Qt||re(function(){var xr;return Yr(Yr.call)||!Yr(Object)||!Yr(function(){xr=!0})||xr})?Be:Yr}),_t=c((zt,_e)=>{var ue=g(),re=ta(),xe=Kr(),Fe=Sr(),Re=ti(),Qe=Re("species"),it=ue.Array;_e.exports=function(Ft){var Qt;return re(Ft)&&(Qt=Ft.constructor,xe(Qt)&&(Qt===it||re(Qt.prototype))?Qt=void 0:Fe(Qt)&&(Qt=Qt[Qe],Qt===null&&(Qt=void 0))),Qt===void 0?it:Qt}}),Gn=c((zt,_e)=>{var ue=_t();_e.exports=function(re,xe){return new(ue(re))(xe===0?0:xe)}}),Xt=c(()=>{var zt=Zi(),_e=Cr(),ue=Dn(),re=tn(),xe=pn(),Fe=Gn();zt({target:"Array",proto:!0},{flatMap:function(Re){var Qe=re(this),it=xe(Qe),Ft;return ue(Re),Ft=Fe(Qe,0),Ft.length=_e(Ft,Qe,Qe,it,0,1,Re,arguments.length>1?arguments[1]:void 0),Ft}})}),On=c((zt,_e)=>{_e.exports={}}),fr=c((zt,_e)=>{var ue=ti(),re=On(),xe=ue("iterator"),Fe=Array.prototype;_e.exports=function(Re){return Re!==void 0&&(re.Array===Re||Fe[xe]===Re)}}),Bt=c((zt,_e)=>{var ue=vr(),re=mn(),xe=On(),Fe=ti(),Re=Fe("iterator");_e.exports=function(Qe){if(Qe!=null)return re(Qe,Re)||re(Qe,"@@iterator")||xe[ue(Qe)]}}),Me=c((zt,_e)=>{var ue=g(),re=ie(),xe=Dn(),Fe=$r(),Re=ln(),Qe=Bt(),it=ue.TypeError;_e.exports=function(Ft,Qt){var sr=arguments.length<2?Qe(Ft):Qt;if(xe(sr))return Fe(re(sr,Ft));throw it(Re(Ft)+" is not iterable")}}),kt=c((zt,_e)=>{var ue=ie(),re=$r(),xe=mn();_e.exports=function(Fe,Re,Qe){var it,Ft;re(Fe);try{if(it=xe(Fe,"return"),!it){if(Re==="throw")throw Qe;return Qe}it=ue(it,Fe)}catch(Qt){Ft=!0,it=Qt}if(Re==="throw")throw Qe;if(Ft)throw it;return re(it),Qe}}),jt=c((zt,_e)=>{var ue=g(),re=Vn(),xe=ie(),Fe=$r(),Re=ln(),Qe=fr(),it=pn(),Ft=ct(),Qt=Me(),sr=Bt(),Nt=kt(),Nr=ue.TypeError,Yr=function(xr,Sn){this.stopped=xr,this.result=Sn},Be=Yr.prototype;_e.exports=function(xr,Sn,bi){var ui=bi&&bi.that,vn=!!(bi&&bi.AS_ENTRIES),ns=!!(bi&&bi.IS_ITERATOR),Fs=!!(bi&&bi.INTERRUPTED),at=re(Sn,ui),hn,di,ms,ws,ji,is,ye,nt=function(pr){return hn&&Nt(hn,"normal",pr),new Yr(!0,pr)},dt=function(pr){return vn?(Fe(pr),Fs?at(pr[0],pr[1],nt):at(pr[0],pr[1])):Fs?at(pr,nt):at(pr)};if(ns)hn=xr;else{if(di=sr(xr),!di)throw Nr(Re(xr)+" is not iterable");if(Qe(di)){for(ms=0,ws=it(xr);ws>ms;ms++)if(ji=dt(xr[ms]),ji&&Ft(Be,ji))return ji;return new Yr(!1)}hn=Qt(xr,di)}for(is=hn.next;!(ye=xe(is,hn)).done;){try{ji=dt(ye.value)}catch(pr){Nt(hn,"throw",pr)}if(typeof ji=="object"&&ji&&Ft(Be,ji))return ji}return new Yr(!1)}}),nr=c((zt,_e)=>{var ue=as(),re=yr(),xe=ve();_e.exports=function(Fe,Re,Qe){var it=ue(Re);it in Fe?re.f(Fe,it,xe(0,Qe)):Fe[it]=Qe}}),Ir=c(()=>{var zt=Zi(),_e=jt(),ue=nr();zt({target:"Object",stat:!0},{fromEntries:function(re){var xe={};return _e(re,function(Fe,Re){ue(xe,Fe,Re)},{AS_ENTRIES:!0}),xe}})}),Pr=c((zt,_e)=>{var ue=["cliName","cliCategory","cliDescription"];function re(ce,Oe){if(ce==null)return{};var vt=xe(ce,Oe),wt,Ut;if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(ce);for(Ut=0;Ut<et.length;Ut++)wt=et[Ut],!(Oe.indexOf(wt)>=0)&&(!Object.prototype.propertyIsEnumerable.call(ce,wt)||(vt[wt]=ce[wt]))}return vt}function xe(ce,Oe){if(ce==null)return{};var vt={},wt=Object.keys(ce),Ut,et;for(et=0;et<wt.length;et++)Ut=wt[et],!(Oe.indexOf(Ut)>=0)&&(vt[Ut]=ce[Ut]);return vt}os(),Xt(),Ir();var Fe=Object.create,Re=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,it=Object.getOwnPropertyNames,Ft=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty,sr=(ce,Oe)=>function(){return ce&&(Oe=(0,ce[it(ce)[0]])(ce=0)),Oe},Nt=(ce,Oe)=>function(){return Oe||(0,ce[it(ce)[0]])((Oe={exports:{}}).exports,Oe),Oe.exports},Nr=(ce,Oe)=>{for(var vt in Oe)Re(ce,vt,{get:Oe[vt],enumerable:!0})},Yr=(ce,Oe,vt,wt)=>{if(Oe&&typeof Oe=="object"||typeof Oe=="function")for(let Ut of it(Oe))!Qt.call(ce,Ut)&&Ut!==vt&&Re(ce,Ut,{get:()=>Oe[Ut],enumerable:!(wt=Qe(Oe,Ut))||wt.enumerable});return ce},Be=(ce,Oe,vt)=>(vt=ce!=null?Fe(Ft(ce)):{},Yr(Oe||!ce||!ce.__esModule?Re(vt,"default",{value:ce,enumerable:!0}):vt,ce)),xr=ce=>Yr(Re({},"__esModule",{value:!0}),ce),Sn,bi,ui,vn=sr({"<define:process>"(){Sn={},bi=[],ui={env:Sn,argv:bi}}}),ns=Nt({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0}),ce.$EOF=0,ce.$BSPACE=8,ce.$TAB=9,ce.$LF=10,ce.$VTAB=11,ce.$FF=12,ce.$CR=13,ce.$SPACE=32,ce.$BANG=33,ce.$DQ=34,ce.$HASH=35,ce.$$=36,ce.$PERCENT=37,ce.$AMPERSAND=38,ce.$SQ=39,ce.$LPAREN=40,ce.$RPAREN=41,ce.$STAR=42,ce.$PLUS=43,ce.$COMMA=44,ce.$MINUS=45,ce.$PERIOD=46,ce.$SLASH=47,ce.$COLON=58,ce.$SEMICOLON=59,ce.$LT=60,ce.$EQ=61,ce.$GT=62,ce.$QUESTION=63,ce.$0=48,ce.$7=55,ce.$9=57,ce.$A=65,ce.$E=69,ce.$F=70,ce.$X=88,ce.$Z=90,ce.$LBRACKET=91,ce.$BACKSLASH=92,ce.$RBRACKET=93,ce.$CARET=94,ce.$_=95,ce.$a=97,ce.$b=98,ce.$e=101,ce.$f=102,ce.$n=110,ce.$r=114,ce.$t=116,ce.$u=117,ce.$v=118,ce.$x=120,ce.$z=122,ce.$LBRACE=123,ce.$BAR=124,ce.$RBRACE=125,ce.$NBSP=160,ce.$PIPE=124,ce.$TILDA=126,ce.$AT=64,ce.$BT=96;function Oe(lr){return lr>=ce.$TAB&&lr<=ce.$SPACE||lr==ce.$NBSP}ce.isWhitespace=Oe;function vt(lr){return ce.$0<=lr&&lr<=ce.$9}ce.isDigit=vt;function wt(lr){return lr>=ce.$a&&lr<=ce.$z||lr>=ce.$A&&lr<=ce.$Z}ce.isAsciiLetter=wt;function Ut(lr){return lr>=ce.$a&&lr<=ce.$f||lr>=ce.$A&&lr<=ce.$F||vt(lr)}ce.isAsciiHexDigit=Ut;function et(lr){return lr===ce.$LF||lr===ce.$CR}ce.isNewLine=et;function gt(lr){return ce.$0<=lr&&lr<=ce.$7}ce.isOctalDigit=gt}}),Fs=Nt({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=class{constructor(wt,Ut,et){this.filePath=wt,this.name=Ut,this.members=et}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};ce.StaticSymbol=Oe;var vt=class{constructor(){this.cache=new Map}get(wt,Ut,et){et=et||[];let gt=et.length?`.${et.join(".")}`:"",lr=`"${wt}".${Ut}${gt}`,Ot=this.cache.get(lr);return Ot||(Ot=new Oe(wt,Ut,et),this.cache.set(lr,Ot)),Ot}};ce.StaticSymbolCache=vt}}),at=Nt({"node_modules/angular-html-parser/lib/compiler/src/util.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=/-+([a-z0-9])/g;function vt(ft){return ft.replace(Oe,function(){for(var Or=arguments.length,ir=new Array(Or),xn=0;xn<Or;xn++)ir[xn]=arguments[xn];return ir[1].toUpperCase()})}ce.dashCaseToCamelCase=vt;function wt(ft,Or){return et(ft,":",Or)}ce.splitAtColon=wt;function Ut(ft,Or){return et(ft,".",Or)}ce.splitAtPeriod=Ut;function et(ft,Or,ir){let xn=ft.indexOf(Or);return xn==-1?ir:[ft.slice(0,xn).trim(),ft.slice(xn+1).trim()]}function gt(ft,Or,ir){return Array.isArray(ft)?Or.visitArray(ft,ir):Wr(ft)?Or.visitStringMap(ft,ir):ft==null||typeof ft=="string"||typeof ft=="number"||typeof ft=="boolean"?Or.visitPrimitive(ft,ir):Or.visitOther(ft,ir)}ce.visitValue=gt;function lr(ft){return ft!=null}ce.isDefined=lr;function Ot(ft){return ft===void 0?null:ft}ce.noUndefined=Ot;var An=class{visitArray(ft,Or){return ft.map(ir=>gt(ir,this,Or))}visitStringMap(ft,Or){let ir={};return Object.keys(ft).forEach(xn=>{ir[xn]=gt(ft[xn],this,Or)}),ir}visitPrimitive(ft,Or){return ft}visitOther(ft,Or){return ft}};ce.ValueTransformer=An,ce.SyncAsync={assertSync:ft=>{if(en(ft))throw new Error("Illegal state: value cannot be a promise");return ft},then:(ft,Or)=>en(ft)?ft.then(Or):Or(ft),all:ft=>ft.some(en)?Promise.all(ft):ft};function ut(ft){throw new Error(`Internal Error: ${ft}`)}ce.error=ut;function It(ft,Or){let ir=Error(ft);return ir[ar]=!0,Or&&(ir[qr]=Or),ir}ce.syntaxError=It;var ar="ngSyntaxError",qr="ngParseErrors";function br(ft){return ft[ar]}ce.isSyntaxError=br;function zr(ft){return ft[qr]||[]}ce.getParseErrors=zr;function Hn(ft){return ft.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}ce.escapeRegExp=Hn;var rn=Object.getPrototypeOf({});function Wr(ft){return typeof ft=="object"&&ft!==null&&Object.getPrototypeOf(ft)===rn}function pi(ft){let Or="";for(let ir=0;ir<ft.length;ir++){let xn=ft.charCodeAt(ir);if(xn>=55296&&xn<=56319&&ft.length>ir+1){let $i=ft.charCodeAt(ir+1);$i>=56320&&$i<=57343&&(ir++,xn=(xn-55296<<10)+$i-56320+65536)}xn<=127?Or+=String.fromCharCode(xn):xn<=2047?Or+=String.fromCharCode(xn>>6&31|192,xn&63|128):xn<=65535?Or+=String.fromCharCode(xn>>12|224,xn>>6&63|128,xn&63|128):xn<=2097151&&(Or+=String.fromCharCode(xn>>18&7|240,xn>>12&63|128,xn>>6&63|128,xn&63|128))}return Or}ce.utf8Encode=pi;function Ln(ft){if(typeof ft=="string")return ft;if(ft instanceof Array)return"["+ft.map(Ln).join(", ")+"]";if(ft==null)return""+ft;if(ft.overriddenName)return`${ft.overriddenName}`;if(ft.name)return`${ft.name}`;if(!ft.toString)return"object";let Or=ft.toString();if(Or==null)return""+Or;let ir=Or.indexOf(`
215
- `);return ir===-1?Or:Or.substring(0,ir)}ce.stringify=Ln;function Cs(ft){return typeof ft=="function"&&ft.hasOwnProperty("__forward_ref__")?ft():ft}ce.resolveForwardRef=Cs;function en(ft){return!!ft&&typeof ft.then=="function"}ce.isPromise=en;var Si=class{constructor(ft){this.full=ft;let Or=ft.split(".");this.major=Or[0],this.minor=Or[1],this.patch=Or.slice(2).join(".")}};ce.Version=Si;var Ai=typeof window<"u"&&window,Wi=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,cs=typeof globalThis<"u"&&globalThis,We=cs||Ai||Wi;ce.global=We}}),hn=Nt({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=Fs(),vt=at(),wt=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Ut(ir){return ir.replace(/\W/g,"_")}ce.sanitizeIdentifier=Ut;var et=0;function gt(ir){if(!ir||!ir.reference)return null;let xn=ir.reference;if(xn instanceof Oe.StaticSymbol)return xn.name;if(xn.__anonymousType)return xn.__anonymousType;let $i=vt.stringify(xn);return $i.indexOf("(")>=0?($i=`anonymous_${et++}`,xn.__anonymousType=$i):$i=Ut($i),$i}ce.identifierName=gt;function lr(ir){let xn=ir.reference;return xn instanceof Oe.StaticSymbol?xn.filePath:`./${vt.stringify(xn)}`}ce.identifierModuleUrl=lr;function Ot(ir,xn){return`View_${gt({reference:ir})}_${xn}`}ce.viewClassName=Ot;function An(ir){return`RenderType_${gt({reference:ir})}`}ce.rendererTypeName=An;function ut(ir){return`HostView_${gt({reference:ir})}`}ce.hostViewClassName=ut;function It(ir){return`${gt({reference:ir})}NgFactory`}ce.componentFactoryName=It;var ar;(function(ir){ir[ir.Pipe=0]="Pipe",ir[ir.Directive=1]="Directive",ir[ir.NgModule=2]="NgModule",ir[ir.Injectable=3]="Injectable"})(ar=ce.CompileSummaryKind||(ce.CompileSummaryKind={}));function qr(ir){return ir.value!=null?Ut(ir.value):gt(ir.identifier)}ce.tokenName=qr;function br(ir){return ir.identifier!=null?ir.identifier.reference:ir.value}ce.tokenReference=br;var zr=class{constructor(){let{moduleUrl:ir,styles:xn,styleUrls:$i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=ir||null,this.styles=en(xn),this.styleUrls=en($i)}};ce.CompileStylesheetMetadata=zr;var Hn=class{constructor(ir){let{encapsulation:xn,template:$i,templateUrl:Ji,htmlAst:Js,styles:Ns,styleUrls:na,externalStylesheets:Ts,animations:la,ngContentSelectors:Rs,interpolation:ca,isInline:En,preserveWhitespaces:qn}=ir;if(this.encapsulation=xn,this.template=$i,this.templateUrl=Ji,this.htmlAst=Js,this.styles=en(Ns),this.styleUrls=en(na),this.externalStylesheets=en(Ts),this.animations=la?Ai(la):[],this.ngContentSelectors=Rs||[],ca&&ca.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=ca,this.isInline=En,this.preserveWhitespaces=qn}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};ce.CompileTemplateMetadata=Hn;var rn=class{static create(ir){let{isHost:xn,type:$i,isComponent:Ji,selector:Js,exportAs:Ns,changeDetection:na,inputs:Ts,outputs:la,host:Rs,providers:ca,viewProviders:En,queries:qn,guards:hi,viewQueries:si,entryComponents:ai,template:vs,componentViewType:ps,rendererType:bs,componentFactory:aa}=ir,Fo={},ko={},Ka={};Rs!=null&&Object.keys(Rs).forEach(Ca=>{let Ba=Rs[Ca],_a=Ca.match(wt);_a===null?Ka[Ca]=Ba:_a[1]!=null?ko[_a[1]]=Ba:_a[2]!=null&&(Fo[_a[2]]=Ba)});let ru={};Ts!=null&&Ts.forEach(Ca=>{let Ba=vt.splitAtColon(Ca,[Ca,Ca]);ru[Ba[0]]=Ba[1]});let Po={};return la!=null&&la.forEach(Ca=>{let Ba=vt.splitAtColon(Ca,[Ca,Ca]);Po[Ba[0]]=Ba[1]}),new rn({isHost:xn,type:$i,isComponent:!!Ji,selector:Js,exportAs:Ns,changeDetection:na,inputs:ru,outputs:Po,hostListeners:Fo,hostProperties:ko,hostAttributes:Ka,providers:ca,viewProviders:En,queries:qn,guards:hi,viewQueries:si,entryComponents:ai,template:vs,componentViewType:ps,rendererType:bs,componentFactory:aa})}constructor(ir){let{isHost:xn,type:$i,isComponent:Ji,selector:Js,exportAs:Ns,changeDetection:na,inputs:Ts,outputs:la,hostListeners:Rs,hostProperties:ca,hostAttributes:En,providers:qn,viewProviders:hi,queries:si,guards:ai,viewQueries:vs,entryComponents:ps,template:bs,componentViewType:aa,rendererType:Fo,componentFactory:ko}=ir;this.isHost=!!xn,this.type=$i,this.isComponent=Ji,this.selector=Js,this.exportAs=Ns,this.changeDetection=na,this.inputs=Ts,this.outputs=la,this.hostListeners=Rs,this.hostProperties=ca,this.hostAttributes=En,this.providers=en(qn),this.viewProviders=en(hi),this.queries=en(si),this.guards=ai,this.viewQueries=en(vs),this.entryComponents=en(ps),this.template=bs,this.componentViewType=aa,this.rendererType=Fo,this.componentFactory=ko}toSummary(){return{summaryKind:ar.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}}};ce.CompileDirectiveMetadata=rn;var Wr=class{constructor(ir){let{type:xn,name:$i,pure:Ji}=ir;this.type=xn,this.name=$i,this.pure=!!Ji}toSummary(){return{summaryKind:ar.Pipe,type:this.type,name:this.name,pure:this.pure}}};ce.CompilePipeMetadata=Wr;var pi=class{};ce.CompileShallowModuleMetadata=pi;var Ln=class{constructor(ir){let{type:xn,providers:$i,declaredDirectives:Ji,exportedDirectives:Js,declaredPipes:Ns,exportedPipes:na,entryComponents:Ts,bootstrapComponents:la,importedModules:Rs,exportedModules:ca,schemas:En,transitiveModule:qn,id:hi}=ir;this.type=xn||null,this.declaredDirectives=en(Ji),this.exportedDirectives=en(Js),this.declaredPipes=en(Ns),this.exportedPipes=en(na),this.providers=en($i),this.entryComponents=en(Ts),this.bootstrapComponents=en(la),this.importedModules=en(Rs),this.exportedModules=en(ca),this.schemas=en(En),this.id=hi||null,this.transitiveModule=qn||null}toSummary(){let ir=this.transitiveModule;return{summaryKind:ar.NgModule,type:this.type,entryComponents:ir.entryComponents,providers:ir.providers,modules:ir.modules,exportedDirectives:ir.exportedDirectives,exportedPipes:ir.exportedPipes}}};ce.CompileNgModuleMetadata=Ln;var Cs=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(ir,xn){this.providers.push({provider:ir,module:xn})}addDirective(ir){this.directivesSet.has(ir.reference)||(this.directivesSet.add(ir.reference),this.directives.push(ir))}addExportedDirective(ir){this.exportedDirectivesSet.has(ir.reference)||(this.exportedDirectivesSet.add(ir.reference),this.exportedDirectives.push(ir))}addPipe(ir){this.pipesSet.has(ir.reference)||(this.pipesSet.add(ir.reference),this.pipes.push(ir))}addExportedPipe(ir){this.exportedPipesSet.has(ir.reference)||(this.exportedPipesSet.add(ir.reference),this.exportedPipes.push(ir))}addModule(ir){this.modulesSet.has(ir.reference)||(this.modulesSet.add(ir.reference),this.modules.push(ir))}addEntryComponent(ir){this.entryComponentsSet.has(ir.componentType)||(this.entryComponentsSet.add(ir.componentType),this.entryComponents.push(ir))}};ce.TransitiveCompileNgModuleMetadata=Cs;function en(ir){return ir||[]}var Si=class{constructor(ir,xn){let{useClass:$i,useValue:Ji,useExisting:Js,useFactory:Ns,deps:na,multi:Ts}=xn;this.token=ir,this.useClass=$i||null,this.useValue=Ji,this.useExisting=Js,this.useFactory=Ns||null,this.dependencies=na||null,this.multi=!!Ts}};ce.ProviderMeta=Si;function Ai(ir){return ir.reduce((xn,$i)=>{let Ji=Array.isArray($i)?Ai($i):$i;return xn.concat(Ji)},[])}ce.flatten=Ai;function Wi(ir){return ir.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function cs(ir,xn,$i){let Ji;return $i.isInline?xn.type.reference instanceof Oe.StaticSymbol?Ji=`${xn.type.reference.filePath}.${xn.type.reference.name}.html`:Ji=`${gt(ir)}/${gt(xn.type)}.html`:Ji=$i.templateUrl,xn.type.reference instanceof Oe.StaticSymbol?Ji:Wi(Ji)}ce.templateSourceUrl=cs;function We(ir,xn){let $i=ir.moduleUrl.split(/\/\\/g),Ji=$i[$i.length-1];return Wi(`css/${xn}${Ji}.ngstyle.js`)}ce.sharedStylesheetJitUrl=We;function ft(ir){return Wi(`${gt(ir.type)}/module.ngfactory.js`)}ce.ngModuleJitUrl=ft;function Or(ir,xn){return Wi(`${gt(ir)}/${gt(xn.type)}.ngfactory.js`)}ce.templateJitUrl=Or}}),di=Nt({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=ns(),vt=hn(),wt=class{constructor(ut,It,ar,qr){this.file=ut,this.offset=It,this.line=ar,this.col=qr}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(ut){let It=this.file.content,ar=It.length,qr=this.offset,br=this.line,zr=this.col;for(;qr>0&&ut<0;)if(qr--,ut++,It.charCodeAt(qr)==Oe.$LF){br--;let Hn=It.substr(0,qr-1).lastIndexOf(String.fromCharCode(Oe.$LF));zr=Hn>0?qr-Hn:qr}else zr--;for(;qr<ar&&ut>0;){let Hn=It.charCodeAt(qr);qr++,ut--,Hn==Oe.$LF?(br++,zr=0):zr++}return new wt(this.file,qr,br,zr)}getContext(ut,It){let ar=this.file.content,qr=this.offset;if(qr!=null){qr>ar.length-1&&(qr=ar.length-1);let br=qr,zr=0,Hn=0;for(;zr<ut&&qr>0&&(qr--,zr++,!(ar[qr]==`
216
- `&&++Hn==It)););for(zr=0,Hn=0;zr<ut&&br<ar.length-1&&(br++,zr++,!(ar[br]==`
217
- `&&++Hn==It)););return{before:ar.substring(qr,this.offset),after:ar.substring(this.offset,br+1)}}return null}};ce.ParseLocation=wt;var Ut=class{constructor(ut,It){this.content=ut,this.url=It}};ce.ParseSourceFile=Ut;var et=class{constructor(ut,It){let ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=ut,this.end=It,this.details=ar}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};ce.ParseSourceSpan=et,ce.EMPTY_PARSE_LOCATION=new wt(new Ut("",""),0,0,0),ce.EMPTY_SOURCE_SPAN=new et(ce.EMPTY_PARSE_LOCATION,ce.EMPTY_PARSE_LOCATION);var gt;(function(ut){ut[ut.WARNING=0]="WARNING",ut[ut.ERROR=1]="ERROR"})(gt=ce.ParseErrorLevel||(ce.ParseErrorLevel={}));var lr=class{constructor(ut,It){let ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:gt.ERROR;this.span=ut,this.msg=It,this.level=ar}contextualMessage(){let ut=this.span.start.getContext(100,3);return ut?`${this.msg} ("${ut.before}[${gt[this.level]} ->]${ut.after}")`:this.msg}toString(){let ut=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${ut}`}};ce.ParseError=lr;function Ot(ut,It){let ar=vt.identifierModuleUrl(It),qr=ar!=null?`in ${ut} ${vt.identifierName(It)} in ${ar}`:`in ${ut} ${vt.identifierName(It)}`,br=new Ut("",qr);return new et(new wt(br,-1,-1,-1),new wt(br,-1,-1,-1))}ce.typeSourceSpan=Ot;function An(ut,It,ar){let qr=`in ${ut} ${It} in ${ar}`,br=new Ut("",qr);return new et(new wt(br,-1,-1,-1),new wt(br,-1,-1,-1))}ce.r3JitTypeSourceSpan=An}}),ms=Nt({"src/utils/front-matter/parse.js"(ce,Oe){vn();var vt=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function wt(Ut){let et=Ut.match(vt);if(!et)return{content:Ut};let{startDelimiter:gt,language:lr,value:Ot="",endDelimiter:An}=et.groups,ut=lr.trim()||"yaml";if(gt==="+++"&&(ut="toml"),ut!=="yaml"&&gt!==An)return{content:Ut};let[It]=et;return{frontMatter:{type:"front-matter",lang:ut,value:Ot,startDelimiter:gt,endDelimiter:An,raw:It.replace(/\n$/,"")},content:It.replace(/[^\n]/g," ")+Ut.slice(It.length)}}Oe.exports=wt}}),ws=Nt({"src/utils/get-last.js"(ce,Oe){vn();var vt=wt=>wt[wt.length-1];Oe.exports=vt}}),ji=Nt({"src/common/parser-create-error.js"(ce,Oe){vn();function vt(wt,Ut){let et=new SyntaxError(wt+" ("+Ut.start.line+":"+Ut.start.column+")");return et.loc=Ut,et}Oe.exports=vt}}),is={};Nr(is,{default:()=>ye});function ye(ce){if(typeof ce!="string")throw new TypeError("Expected a string");return ce.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var nt=sr({"node_modules/escape-string-regexp/index.js"(){vn()}}),dt=Nt({"node_modules/semver/internal/debug.js"(ce,Oe){vn();var vt=typeof ui=="object"&&ui.env&&ui.env.NODE_DEBUG&&/\bsemver\b/i.test(ui.env.NODE_DEBUG)?function(){for(var wt=arguments.length,Ut=new Array(wt),et=0;et<wt;et++)Ut[et]=arguments[et];return console.error("SEMVER",...Ut)}:()=>{};Oe.exports=vt}}),pr=Nt({"node_modules/semver/internal/constants.js"(ce,Oe){vn();var vt="2.0.0",wt=256,Ut=Number.MAX_SAFE_INTEGER||9007199254740991,et=16;Oe.exports={SEMVER_SPEC_VERSION:vt,MAX_LENGTH:wt,MAX_SAFE_INTEGER:Ut,MAX_SAFE_COMPONENT_LENGTH:et}}}),gi=Nt({"node_modules/semver/internal/re.js"(ce,Oe){vn();var{MAX_SAFE_COMPONENT_LENGTH:vt}=pr(),wt=dt();ce=Oe.exports={};var Ut=ce.re=[],et=ce.src=[],gt=ce.t={},lr=0,Ot=(An,ut,It)=>{let ar=lr++;wt(An,ar,ut),gt[An]=ar,et[ar]=ut,Ut[ar]=new RegExp(ut,It?"g":void 0)};Ot("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ot("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ot("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ot("MAINVERSION",`(${et[gt.NUMERICIDENTIFIER]})\\.(${et[gt.NUMERICIDENTIFIER]})\\.(${et[gt.NUMERICIDENTIFIER]})`),Ot("MAINVERSIONLOOSE",`(${et[gt.NUMERICIDENTIFIERLOOSE]})\\.(${et[gt.NUMERICIDENTIFIERLOOSE]})\\.(${et[gt.NUMERICIDENTIFIERLOOSE]})`),Ot("PRERELEASEIDENTIFIER",`(?:${et[gt.NUMERICIDENTIFIER]}|${et[gt.NONNUMERICIDENTIFIER]})`),Ot("PRERELEASEIDENTIFIERLOOSE",`(?:${et[gt.NUMERICIDENTIFIERLOOSE]}|${et[gt.NONNUMERICIDENTIFIER]})`),Ot("PRERELEASE",`(?:-(${et[gt.PRERELEASEIDENTIFIER]}(?:\\.${et[gt.PRERELEASEIDENTIFIER]})*))`),Ot("PRERELEASELOOSE",`(?:-?(${et[gt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${et[gt.PRERELEASEIDENTIFIERLOOSE]})*))`),Ot("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ot("BUILD",`(?:\\+(${et[gt.BUILDIDENTIFIER]}(?:\\.${et[gt.BUILDIDENTIFIER]})*))`),Ot("FULLPLAIN",`v?${et[gt.MAINVERSION]}${et[gt.PRERELEASE]}?${et[gt.BUILD]}?`),Ot("FULL",`^${et[gt.FULLPLAIN]}$`),Ot("LOOSEPLAIN",`[v=\\s]*${et[gt.MAINVERSIONLOOSE]}${et[gt.PRERELEASELOOSE]}?${et[gt.BUILD]}?`),Ot("LOOSE",`^${et[gt.LOOSEPLAIN]}$`),Ot("GTLT","((?:<|>)?=?)"),Ot("XRANGEIDENTIFIERLOOSE",`${et[gt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ot("XRANGEIDENTIFIER",`${et[gt.NUMERICIDENTIFIER]}|x|X|\\*`),Ot("XRANGEPLAIN",`[v=\\s]*(${et[gt.XRANGEIDENTIFIER]})(?:\\.(${et[gt.XRANGEIDENTIFIER]})(?:\\.(${et[gt.XRANGEIDENTIFIER]})(?:${et[gt.PRERELEASE]})?${et[gt.BUILD]}?)?)?`),Ot("XRANGEPLAINLOOSE",`[v=\\s]*(${et[gt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[gt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${et[gt.XRANGEIDENTIFIERLOOSE]})(?:${et[gt.PRERELEASELOOSE]})?${et[gt.BUILD]}?)?)?`),Ot("XRANGE",`^${et[gt.GTLT]}\\s*${et[gt.XRANGEPLAIN]}$`),Ot("XRANGELOOSE",`^${et[gt.GTLT]}\\s*${et[gt.XRANGEPLAINLOOSE]}$`),Ot("COERCE",`(^|[^\\d])(\\d{1,${vt}})(?:\\.(\\d{1,${vt}}))?(?:\\.(\\d{1,${vt}}))?(?:$|[^\\d])`),Ot("COERCERTL",et[gt.COERCE],!0),Ot("LONETILDE","(?:~>?)"),Ot("TILDETRIM",`(\\s*)${et[gt.LONETILDE]}\\s+`,!0),ce.tildeTrimReplace="$1~",Ot("TILDE",`^${et[gt.LONETILDE]}${et[gt.XRANGEPLAIN]}$`),Ot("TILDELOOSE",`^${et[gt.LONETILDE]}${et[gt.XRANGEPLAINLOOSE]}$`),Ot("LONECARET","(?:\\^)"),Ot("CARETTRIM",`(\\s*)${et[gt.LONECARET]}\\s+`,!0),ce.caretTrimReplace="$1^",Ot("CARET",`^${et[gt.LONECARET]}${et[gt.XRANGEPLAIN]}$`),Ot("CARETLOOSE",`^${et[gt.LONECARET]}${et[gt.XRANGEPLAINLOOSE]}$`),Ot("COMPARATORLOOSE",`^${et[gt.GTLT]}\\s*(${et[gt.LOOSEPLAIN]})$|^$`),Ot("COMPARATOR",`^${et[gt.GTLT]}\\s*(${et[gt.FULLPLAIN]})$|^$`),Ot("COMPARATORTRIM",`(\\s*)${et[gt.GTLT]}\\s*(${et[gt.LOOSEPLAIN]}|${et[gt.XRANGEPLAIN]})`,!0),ce.comparatorTrimReplace="$1$2$3",Ot("HYPHENRANGE",`^\\s*(${et[gt.XRANGEPLAIN]})\\s+-\\s+(${et[gt.XRANGEPLAIN]})\\s*$`),Ot("HYPHENRANGELOOSE",`^\\s*(${et[gt.XRANGEPLAINLOOSE]})\\s+-\\s+(${et[gt.XRANGEPLAINLOOSE]})\\s*$`),Ot("STAR","(<|>)?=?\\s*\\*"),Ot("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Ot("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),ss=Nt({"node_modules/semver/internal/parse-options.js"(ce,Oe){vn();var vt=["includePrerelease","loose","rtl"],wt=Ut=>Ut?typeof Ut!="object"?{loose:!0}:vt.filter(et=>Ut[et]).reduce((et,gt)=>(et[gt]=!0,et),{}):{};Oe.exports=wt}}),us=Nt({"node_modules/semver/internal/identifiers.js"(ce,Oe){vn();var vt=/^[0-9]+$/,wt=(et,gt)=>{let lr=vt.test(et),Ot=vt.test(gt);return lr&&Ot&&(et=+et,gt=+gt),et===gt?0:lr&&!Ot?-1:Ot&&!lr?1:et<gt?-1:1},Ut=(et,gt)=>wt(gt,et);Oe.exports={compareIdentifiers:wt,rcompareIdentifiers:Ut}}}),xs=Nt({"node_modules/semver/classes/semver.js"(ce,Oe){vn();var vt=dt(),{MAX_LENGTH:wt,MAX_SAFE_INTEGER:Ut}=pr(),{re:et,t:gt}=gi(),lr=ss(),{compareIdentifiers:Ot}=us(),An=class{constructor(ut,It){if(It=lr(It),ut instanceof An){if(ut.loose===!!It.loose&&ut.includePrerelease===!!It.includePrerelease)return ut;ut=ut.version}else if(typeof ut!="string")throw new TypeError(`Invalid Version: ${ut}`);if(ut.length>wt)throw new TypeError(`version is longer than ${wt} characters`);vt("SemVer",ut,It),this.options=It,this.loose=!!It.loose,this.includePrerelease=!!It.includePrerelease;let ar=ut.trim().match(It.loose?et[gt.LOOSE]:et[gt.FULL]);if(!ar)throw new TypeError(`Invalid Version: ${ut}`);if(this.raw=ut,this.major=+ar[1],this.minor=+ar[2],this.patch=+ar[3],this.major>Ut||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ut||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ut||this.patch<0)throw new TypeError("Invalid patch version");ar[4]?this.prerelease=ar[4].split(".").map(qr=>{if(/^[0-9]+$/.test(qr)){let br=+qr;if(br>=0&&br<Ut)return br}return qr}):this.prerelease=[],this.build=ar[5]?ar[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(ut){if(vt("SemVer.compare",this.version,this.options,ut),!(ut instanceof An)){if(typeof ut=="string"&&ut===this.version)return 0;ut=new An(ut,this.options)}return ut.version===this.version?0:this.compareMain(ut)||this.comparePre(ut)}compareMain(ut){return ut instanceof An||(ut=new An(ut,this.options)),Ot(this.major,ut.major)||Ot(this.minor,ut.minor)||Ot(this.patch,ut.patch)}comparePre(ut){if(ut instanceof An||(ut=new An(ut,this.options)),this.prerelease.length&&!ut.prerelease.length)return-1;if(!this.prerelease.length&&ut.prerelease.length)return 1;if(!this.prerelease.length&&!ut.prerelease.length)return 0;let It=0;do{let ar=this.prerelease[It],qr=ut.prerelease[It];if(vt("prerelease compare",It,ar,qr),ar===void 0&&qr===void 0)return 0;if(qr===void 0)return 1;if(ar===void 0)return-1;if(ar!==qr)return Ot(ar,qr)}while(++It)}compareBuild(ut){ut instanceof An||(ut=new An(ut,this.options));let It=0;do{let ar=this.build[It],qr=ut.build[It];if(vt("prerelease compare",It,ar,qr),ar===void 0&&qr===void 0)return 0;if(qr===void 0)return 1;if(ar===void 0)return-1;if(ar!==qr)return Ot(ar,qr)}while(++It)}inc(ut,It){switch(ut){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",It);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",It);break;case"prepatch":this.prerelease.length=0,this.inc("patch",It),this.inc("pre",It);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",It),this.inc("pre",It);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 ar=this.prerelease.length;for(;--ar>=0;)typeof this.prerelease[ar]=="number"&&(this.prerelease[ar]++,ar=-2);ar===-1&&this.prerelease.push(0)}It&&(Ot(this.prerelease[0],It)===0?isNaN(this.prerelease[1])&&(this.prerelease=[It,0]):this.prerelease=[It,0]);break;default:throw new Error(`invalid increment argument: ${ut}`)}return this.format(),this.raw=this.version,this}};Oe.exports=An}}),ks=Nt({"node_modules/semver/functions/compare.js"(ce,Oe){vn();var vt=xs(),wt=(Ut,et,gt)=>new vt(Ut,gt).compare(new vt(et,gt));Oe.exports=wt}}),Bi=Nt({"node_modules/semver/functions/lt.js"(ce,Oe){vn();var vt=ks(),wt=(Ut,et,gt)=>vt(Ut,et,gt)<0;Oe.exports=wt}}),Fu=Nt({"node_modules/semver/functions/gte.js"(ce,Oe){vn();var vt=ks(),wt=(Ut,et,gt)=>vt(Ut,et,gt)>=0;Oe.exports=wt}}),uu=Nt({"src/utils/arrayify.js"(ce,Oe){vn(),Oe.exports=(vt,wt)=>Object.entries(vt).map(Ut=>{let[et,gt]=Ut;return Object.assign({[wt]:et},gt)})}}),so=Nt({"package.json"(ce,Oe){Oe.exports={version:"2.8.1"}}}),Na=Nt({"node_modules/outdent/lib/index.js"(ce,Oe){vn(),Object.defineProperty(ce,"__esModule",{value:!0}),ce.outdent=void 0;function vt(){for(var Wr=[],pi=0;pi<arguments.length;pi++)Wr[pi]=arguments[pi]}function wt(){return typeof WeakMap<"u"?new WeakMap:Ut()}function Ut(){return{add:vt,delete:vt,get:vt,set:vt,has:function(Wr){return!1}}}var et=Object.prototype.hasOwnProperty,gt=function(Wr,pi){return et.call(Wr,pi)};function lr(Wr,pi){for(var Ln in pi)gt(pi,Ln)&&(Wr[Ln]=pi[Ln]);return Wr}var Ot=/^[ \t]*(?:\r\n|\r|\n)/,An=/(?:\r\n|\r|\n)[ \t]*$/,ut=/^(?:[\r\n]|$)/,It=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,ar=/^[ \t]*[\r\n][ \t\r\n]*$/;function qr(Wr,pi,Ln){var Cs=0,en=Wr[0].match(It);en&&(Cs=en[1].length);var Si="(\\r\\n|\\r|\\n).{0,"+Cs+"}",Ai=new RegExp(Si,"g");pi&&(Wr=Wr.slice(1));var Wi=Ln.newline,cs=Ln.trimLeadingNewline,We=Ln.trimTrailingNewline,ft=typeof Wi=="string",Or=Wr.length,ir=Wr.map(function(xn,$i){return xn=xn.replace(Ai,"$1"),$i===0&&cs&&(xn=xn.replace(Ot,"")),$i===Or-1&&We&&(xn=xn.replace(An,"")),ft&&(xn=xn.replace(/\r\n|\n|\r/g,function(Ji){return Wi})),xn});return ir}function br(Wr,pi){for(var Ln="",Cs=0,en=Wr.length;Cs<en;Cs++)Ln+=Wr[Cs],Cs<en-1&&(Ln+=pi[Cs]);return Ln}function zr(Wr){return gt(Wr,"raw")&&gt(Wr,"length")}function Hn(Wr){var pi=wt(),Ln=wt();function Cs(Si){for(var Ai=[],Wi=1;Wi<arguments.length;Wi++)Ai[Wi-1]=arguments[Wi];if(zr(Si)){var cs=Si,We=(Ai[0]===Cs||Ai[0]===rn)&&ar.test(cs[0])&&ut.test(cs[1]),ft=We?Ln:pi,Or=ft.get(cs);if(Or||(Or=qr(cs,We,Wr),ft.set(cs,Or)),Ai.length===0)return Or[0];var ir=br(Or,We?Ai.slice(1):Ai);return ir}else return Hn(lr(lr({},Wr),Si||{}))}var en=lr(Cs,{string:function(Si){return qr([Si],!1,Wr)[0]}});return en}var rn=Hn({trimLeadingNewline:!0,trimTrailingNewline:!0});if(ce.outdent=rn,ce.default=rn,typeof Oe<"u")try{Oe.exports=rn,Object.defineProperty(rn,"__esModule",{value:!0}),rn.default=rn,rn.outdent=rn}catch{}}}),ku=Nt({"src/main/core-options.js"(ce,Oe){vn();var{outdent:vt}=Na(),wt="Config",Ut="Editor",et="Format",gt="Other",lr="Output",Ot="Global",An="Special",ut={cursorOffset:{since:"1.4.0",category:An,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:vt`
218
- Print (to stderr) where a cursor at the given position would move to after formatting.
219
- This option cannot be used with --range-start and --range-end.
220
- `,cliCategory:Ut},endOfLine:{since:"1.15.0",category:Ot,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:vt`
221
- Maintain existing
222
- (mixed values within one file are normalised by looking at what's used after the first line)
223
- `}]},filepath:{since:"1.4.0",category:An,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:gt,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:An,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:gt},parser:{since:"0.0.10",category:Ot,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:It=>typeof It=="string"||typeof It=="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:Ot,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:It=>typeof It=="string"||typeof It=="object",cliName:"plugin",cliCategory:wt},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ot,description:vt`
224
- Custom directory that contains prettier plugins in node_modules subdirectory.
225
- Overrides default behavior when plugins are searched relatively to the location of Prettier.
226
- Multiple values are accepted.
227
- `,exception:It=>typeof It=="string"||typeof It=="object",cliName:"plugin-search-dir",cliCategory:wt},printWidth:{since:"0.0.0",category:Ot,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:An,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:vt`
228
- Format code ending at a given character offset (exclusive).
229
- The range will extend forwards to the end of the selected statement.
230
- This option cannot be used with --cursor-offset.
231
- `,cliCategory:Ut},rangeStart:{since:"1.4.0",category:An,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:vt`
232
- Format code starting at a given character offset.
233
- The range will extend backwards to the start of the first line containing the selected statement.
234
- This option cannot be used with --cursor-offset.
235
- `,cliCategory:Ut},requirePragma:{since:"1.7.0",category:An,type:"boolean",default:!1,description:vt`
236
- Require either '@prettier' or '@format' to be present in the file's first docblock comment
237
- in order for it to be formatted.
238
- `,cliCategory:gt},tabWidth:{type:"int",category:Ot,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ot,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ot,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."}]}};Oe.exports={CATEGORY_CONFIG:wt,CATEGORY_EDITOR:Ut,CATEGORY_FORMAT:et,CATEGORY_OTHER:gt,CATEGORY_OUTPUT:lr,CATEGORY_GLOBAL:Ot,CATEGORY_SPECIAL:An,options:ut}}}),xi=Nt({"src/main/support.js"(ce,Oe){vn();var vt={compare:ks(),lt:Bi(),gte:Fu()},wt=uu(),Ut=so().version,et=ku().options;function gt(){let{plugins:Ot=[],showUnreleased:An=!1,showDeprecated:ut=!1,showInternal:It=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ar=Ut.split("-",1)[0],qr=Ot.flatMap(Wr=>Wr.languages||[]).filter(zr),br=wt(Object.assign({},...Ot.map(Wr=>{let{options:pi}=Wr;return pi}),et),"name").filter(Wr=>zr(Wr)&&Hn(Wr)).sort((Wr,pi)=>Wr.name===pi.name?0:Wr.name<pi.name?-1:1).map(rn).map(Wr=>{Wr=Object.assign({},Wr),Array.isArray(Wr.default)&&(Wr.default=Wr.default.length===1?Wr.default[0].value:Wr.default.filter(zr).sort((Ln,Cs)=>vt.compare(Cs.since,Ln.since))[0].value),Array.isArray(Wr.choices)&&(Wr.choices=Wr.choices.filter(Ln=>zr(Ln)&&Hn(Ln)),Wr.name==="parser"&&lr(Wr,qr,Ot));let pi=Object.fromEntries(Ot.filter(Ln=>Ln.defaultOptions&&Ln.defaultOptions[Wr.name]!==void 0).map(Ln=>[Ln.name,Ln.defaultOptions[Wr.name]]));return Object.assign(Object.assign({},Wr),{},{pluginDefaults:pi})});return{languages:qr,options:br};function zr(Wr){return An||!("since"in Wr)||Wr.since&&vt.gte(ar,Wr.since)}function Hn(Wr){return ut||!("deprecated"in Wr)||Wr.deprecated&&vt.lt(ar,Wr.deprecated)}function rn(Wr){return It?Wr:re(Wr,ue)}}function lr(Ot,An,ut){let It=new Set(Ot.choices.map(ar=>ar.value));for(let ar of An)if(ar.parsers){for(let qr of ar.parsers)if(!It.has(qr)){It.add(qr);let br=ut.find(Hn=>Hn.parsers&&Hn.parsers[qr]),zr=ar.name;br&&br.name&&(zr+=` (plugin: ${br.name})`),Ot.choices.push({value:qr,description:zr})}}}Oe.exports={getSupportInfo:gt}}}),yo=Nt({"src/utils/is-non-empty-array.js"(ce,Oe){vn();function vt(wt){return Array.isArray(wt)&&wt.length>0}Oe.exports=vt}});function lu(){let{onlyFirst:ce=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Oe=["[\\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(Oe,ce?void 0:"g")}var Pu=sr({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){vn()}});function zo(ce){if(typeof ce!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof ce}\``);return ce.replace(lu(),"")}var cu=sr({"node_modules/strip-ansi/index.js"(){vn(),Pu()}});function Nu(ce){return Number.isInteger(ce)?ce>=4352&&(ce<=4447||ce===9001||ce===9002||11904<=ce&&ce<=12871&&ce!==12351||12880<=ce&&ce<=19903||19968<=ce&&ce<=42182||43360<=ce&&ce<=43388||44032<=ce&&ce<=55203||63744<=ce&&ce<=64255||65040<=ce&&ce<=65049||65072<=ce&&ce<=65131||65281<=ce&&ce<=65376||65504<=ce&&ce<=65510||110592<=ce&&ce<=110593||127488<=ce&&ce<=127569||131072<=ce&&ce<=262141):!1}var Bu=sr({"node_modules/is-fullwidth-code-point/index.js"(){vn()}}),_u=Nt({"node_modules/emoji-regex/index.js"(ce,Oe){vn(),Oe.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}}}),Do={};Nr(Do,{default:()=>Iu});function Iu(ce){if(typeof ce!="string"||ce.length===0||(ce=zo(ce),ce.length===0))return 0;ce=ce.replace((0,Ou.default)()," ");let Oe=0;for(let vt=0;vt<ce.length;vt++){let wt=ce.codePointAt(vt);wt<=31||wt>=127&&wt<=159||wt>=768&&wt<=879||(wt>65535&&vt++,Oe+=Nu(wt)?2:1)}return Oe}var Ou,Ha=sr({"node_modules/string-width/index.js"(){vn(),cu(),Bu(),Ou=Be(_u())}}),Cl=Nt({"src/utils/get-string-width.js"(ce,Oe){vn();var vt=(Ha(),xr(Do)).default,wt=/[^\x20-\x7F]/;function Ut(et){return et?wt.test(et)?vt(et):et.length:0}Oe.exports=Ut}}),pu=Nt({"src/utils/text/skip.js"(ce,Oe){vn();function vt(lr){return(Ot,An,ut)=>{let It=ut&&ut.backwards;if(An===!1)return!1;let{length:ar}=Ot,qr=An;for(;qr>=0&&qr<ar;){let br=Ot.charAt(qr);if(lr instanceof RegExp){if(!lr.test(br))return qr}else if(!lr.includes(br))return qr;It?qr--:qr++}return qr===-1||qr===ar?qr:!1}}var wt=vt(/\s/),Ut=vt(" "),et=vt(",; "),gt=vt(/[^\n\r]/);Oe.exports={skipWhitespace:wt,skipSpaces:Ut,skipToLineEnd:et,skipEverythingButNewLine:gt}}}),Sa=Nt({"src/utils/text/skip-inline-comment.js"(ce,Oe){vn();function vt(wt,Ut){if(Ut===!1)return!1;if(wt.charAt(Ut)==="/"&&wt.charAt(Ut+1)==="*"){for(let et=Ut+2;et<wt.length;++et)if(wt.charAt(et)==="*"&&wt.charAt(et+1)==="/")return et+2}return Ut}Oe.exports=vt}}),ao=Nt({"src/utils/text/skip-trailing-comment.js"(ce,Oe){vn();var{skipEverythingButNewLine:vt}=pu();function wt(Ut,et){return et===!1?!1:Ut.charAt(et)==="/"&&Ut.charAt(et+1)==="/"?vt(Ut,et):et}Oe.exports=wt}}),va=Nt({"src/utils/text/skip-newline.js"(ce,Oe){vn();function vt(wt,Ut,et){let gt=et&&et.backwards;if(Ut===!1)return!1;let lr=wt.charAt(Ut);if(gt){if(wt.charAt(Ut-1)==="\r"&&lr===`
239
- `)return Ut-2;if(lr===`
240
- `||lr==="\r"||lr==="\u2028"||lr==="\u2029")return Ut-1}else{if(lr==="\r"&&wt.charAt(Ut+1)===`
241
- `)return Ut+2;if(lr===`
242
- `||lr==="\r"||lr==="\u2028"||lr==="\u2029")return Ut+1}return Ut}Oe.exports=vt}}),hu=Nt({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ce,Oe){vn();var vt=Sa(),wt=va(),Ut=ao(),{skipSpaces:et}=pu();function gt(lr,Ot){let An=null,ut=Ot;for(;ut!==An;)An=ut,ut=et(lr,ut),ut=vt(lr,ut),ut=Ut(lr,ut),ut=wt(lr,ut);return ut}Oe.exports=gt}}),Qu=Nt({"src/common/util.js"(ce,Oe){vn();var{default:vt}=(nt(),xr(is)),wt=ws(),{getSupportInfo:Ut}=xi(),et=yo(),gt=Cl(),{skipWhitespace:lr,skipSpaces:Ot,skipToLineEnd:An,skipEverythingButNewLine:ut}=pu(),It=Sa(),ar=ao(),qr=va(),br=hu(),zr=En=>En[En.length-2];function Hn(En){return(qn,hi,si)=>{let ai=si&&si.backwards;if(hi===!1)return!1;let{length:vs}=qn,ps=hi;for(;ps>=0&&ps<vs;){let bs=qn.charAt(ps);if(En instanceof RegExp){if(!En.test(bs))return ps}else if(!En.includes(bs))return ps;ai?ps--:ps++}return ps===-1||ps===vs?ps:!1}}function rn(En,qn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},si=Ot(En,hi.backwards?qn-1:qn,hi),ai=qr(En,si,hi);return si!==ai}function Wr(En,qn,hi){for(let si=qn;si<hi;++si)if(En.charAt(si)===`
243
- `)return!0;return!1}function pi(En,qn,hi){let si=hi(qn)-1;si=Ot(En,si,{backwards:!0}),si=qr(En,si,{backwards:!0}),si=Ot(En,si,{backwards:!0});let ai=qr(En,si,{backwards:!0});return si!==ai}function Ln(En,qn){let hi=null,si=qn;for(;si!==hi;)hi=si,si=An(En,si),si=It(En,si),si=Ot(En,si);return si=ar(En,si),si=qr(En,si),si!==!1&&rn(En,si)}function Cs(En,qn,hi){return Ln(En,hi(qn))}function en(En,qn,hi){return br(En,hi(qn))}function Si(En,qn,hi){return En.charAt(en(En,qn,hi))}function Ai(En,qn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ot(En,hi.backwards?qn-1:qn,hi)!==qn}function Wi(En,qn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,si=0;for(let ai=hi;ai<En.length;++ai)En[ai]===" "?si=si+qn-si%qn:si++;return si}function cs(En,qn){let hi=En.lastIndexOf(`
244
- `);return hi===-1?0:Wi(En.slice(hi+1).match(/^[\t ]*/)[0],qn)}function We(En,qn){let hi={quote:'"',regex:/"/g,escaped:"&quot;"},si={quote:"'",regex:/'/g,escaped:"&apos;"},ai=qn==="'"?si:hi,vs=ai===si?hi:si,ps=ai;if(En.includes(ai.quote)||En.includes(vs.quote)){let bs=(En.match(ai.regex)||[]).length,aa=(En.match(vs.regex)||[]).length;ps=bs>aa?vs:ai}return ps}function ft(En,qn){let hi=En.slice(1,-1),si=qn.parser==="json"||qn.parser==="json5"&&qn.quoteProps==="preserve"&&!qn.singleQuote?'"':qn.__isInHtmlAttribute?"'":We(hi,qn.singleQuote?"'":'"').quote;return Or(hi,si,!(qn.parser==="css"||qn.parser==="less"||qn.parser==="scss"||qn.__embeddedInHtml))}function Or(En,qn,hi){let si=qn==='"'?"'":'"',ai=/\\(.)|(["'])/gs,vs=En.replace(ai,(ps,bs,aa)=>bs===si?bs:aa===qn?"\\"+aa:aa||(hi&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(bs)?bs:"\\"+bs));return qn+vs+qn}function ir(En){return En.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function xn(En,qn){let hi=En.match(new RegExp(`(${vt(qn)})+`,"g"));return hi===null?0:hi.reduce((si,ai)=>Math.max(si,ai.length/qn.length),0)}function $i(En,qn){let hi=En.match(new RegExp(`(${vt(qn)})+`,"g"));if(hi===null)return 0;let si=new Map,ai=0;for(let vs of hi){let ps=vs.length/qn.length;si.set(ps,!0),ps>ai&&(ai=ps)}for(let vs=1;vs<ai;vs++)if(!si.get(vs))return vs;return ai+1}function Ji(En,qn){(En.comments||(En.comments=[])).push(qn),qn.printed=!1,qn.nodeDescription=ca(En)}function Js(En,qn){qn.leading=!0,qn.trailing=!1,Ji(En,qn)}function Ns(En,qn,hi){qn.leading=!1,qn.trailing=!1,hi&&(qn.marker=hi),Ji(En,qn)}function na(En,qn){qn.leading=!1,qn.trailing=!0,Ji(En,qn)}function Ts(En,qn){let{languages:hi}=Ut({plugins:qn.plugins}),si=hi.find(ai=>{let{name:vs}=ai;return vs.toLowerCase()===En})||hi.find(ai=>{let{aliases:vs}=ai;return Array.isArray(vs)&&vs.includes(En)})||hi.find(ai=>{let{extensions:vs}=ai;return Array.isArray(vs)&&vs.includes(`.${En}`)});return si&&si.parsers[0]}function la(En){return En&&En.type==="front-matter"}function Rs(En){let qn=new WeakMap;return function(hi){return qn.has(hi)||qn.set(hi,Symbol(En)),qn.get(hi)}}function ca(En){let qn=En.type||En.kind||"(unknown type)",hi=String(En.name||En.id&&(typeof En.id=="object"?En.id.name:En.id)||En.key&&(typeof En.key=="object"?En.key.name:En.key)||En.value&&(typeof En.value=="object"?"":String(En.value))||En.operator||"");return hi.length>20&&(hi=hi.slice(0,19)+"…"),qn+(hi?" "+hi:"")}Oe.exports={inferParserByLanguage:Ts,getStringWidth:gt,getMaxContinuousCount:xn,getMinNotPresentContinuousCount:$i,getPenultimate:zr,getLast:wt,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:br,getNextNonSpaceNonCommentCharacterIndex:en,getNextNonSpaceNonCommentCharacter:Si,skip:Hn,skipWhitespace:lr,skipSpaces:Ot,skipToLineEnd:An,skipEverythingButNewLine:ut,skipInlineComment:It,skipTrailingComment:ar,skipNewline:qr,isNextLineEmptyAfterIndex:Ln,isNextLineEmpty:Cs,isPreviousLineEmpty:pi,hasNewline:rn,hasNewlineInRange:Wr,hasSpaces:Ai,getAlignmentSize:Wi,getIndentSize:cs,getPreferredQuote:We,printString:ft,printNumber:ir,makeString:Or,addLeadingComment:Js,addDanglingComment:Ns,addTrailingComment:na,isFrontMatterNode:la,isNonEmptyArray:et,createGroupIdMapper:Rs}}}),Zu=Nt({"vendors/html-tag-names.json"(ce,Oe){Oe.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"]}}}),qa=Nt({"src/language-html/utils/array-to-map.js"(ce,Oe){vn();function vt(wt){let Ut=Object.create(null);for(let et of wt)Ut[et]=!0;return Ut}Oe.exports=vt}}),Wa=Nt({"src/language-html/utils/html-tag-names.js"(ce,Oe){vn();var{htmlTagNames:vt}=Zu(),wt=qa(),Ut=wt(vt);Oe.exports=Ut}}),Pi=Nt({"vendors/html-element-attributes.json"(ce,Oe){Oe.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"]}}}}),Fa=Nt({"src/language-html/utils/map-object.js"(ce,Oe){vn();function vt(wt,Ut){let et=Object.create(null);for(let[gt,lr]of Object.entries(wt))et[gt]=Ut(lr,gt);return et}Oe.exports=vt}}),oo=Nt({"src/language-html/utils/html-elements-attributes.js"(ce,Oe){vn();var{htmlElementAttributes:vt}=Pi(),wt=Fa(),Ut=qa(),et=wt(vt,Ut);Oe.exports=et}}),xa=Nt({"src/language-html/utils/is-unknown-namespace.js"(ce,Oe){vn();function vt(wt){return wt.type==="element"&&!wt.hasExplicitNamespace&&!["html","svg"].includes(wt.namespace)}Oe.exports=vt}}),Va=Nt({"src/language-html/pragma.js"(ce,Oe){vn();function vt(Ut){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(Ut)}function wt(Ut){return`<!-- @format -->
245
-
246
- `+Ut.replace(/^\s*\n/,"")}Oe.exports={hasPragma:vt,insertPragma:wt}}}),Uo=Nt({"src/language-html/ast.js"(ce,Oe){vn();var vt={attrs:!0,children:!0},wt=new Set(["parent"]),Ut=class{constructor(){let gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let lr of new Set([...wt,...Object.keys(gt)]))this.setProperty(lr,gt[lr])}setProperty(gt,lr){if(this[gt]!==lr){if(gt in vt&&(lr=lr.map(Ot=>this.createChild(Ot))),!wt.has(gt)){this[gt]=lr;return}Object.defineProperty(this,gt,{value:lr,enumerable:!1,configurable:!0})}}map(gt){let lr;for(let Ot in vt){let An=this[Ot];if(An){let ut=et(An,It=>It.map(gt));lr!==An&&(lr||(lr=new Ut({parent:this.parent})),lr.setProperty(Ot,ut))}}if(lr)for(let Ot in this)Ot in vt||(lr[Ot]=this[Ot]);return gt(lr||this)}walk(gt){for(let lr in vt){let Ot=this[lr];if(Ot)for(let An=0;An<Ot.length;An++)Ot[An].walk(gt)}gt(this)}createChild(gt){let lr=gt instanceof Ut?gt.clone():new Ut(gt);return lr.setProperty("parent",this),lr}insertChildBefore(gt,lr){this.children.splice(this.children.indexOf(gt),0,this.createChild(lr))}removeChild(gt){this.children.splice(this.children.indexOf(gt),1)}replaceChild(gt,lr){this.children[this.children.indexOf(gt)]=this.createChild(lr)}clone(){return new Ut(this)}get firstChild(){var gt;return(gt=this.children)===null||gt===void 0?void 0:gt[0]}get lastChild(){var gt;return(gt=this.children)===null||gt===void 0?void 0:gt[this.children.length-1]}get prev(){var gt;return(gt=this.parent)===null||gt===void 0?void 0:gt.children[this.parent.children.indexOf(this)-1]}get next(){var gt;return(gt=this.parent)===null||gt===void 0?void 0:gt.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(gt=>[gt.fullName,gt.value]))}};function et(gt,lr){let Ot=gt.map(lr);return Ot.some((An,ut)=>An!==gt[ut])?Ot:gt}Oe.exports={Node:Ut}}}),eu=Nt({"src/language-html/conditional-comment.js"(ce,Oe){vn();var{ParseSourceSpan:vt}=di(),wt=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:et},{regex:/^\[if([^\]]*)]><!$/,parse:gt},{regex:/^<!\s*\[endif]$/,parse:lr}];function Ut(Ot,An){if(Ot.value)for(let{regex:ut,parse:It}of wt){let ar=Ot.value.match(ut);if(ar)return It(Ot,An,ar)}return null}function et(Ot,An,ut){let[,It,ar,qr]=ut,br=4+It.length,zr=Ot.sourceSpan.start.moveBy(br),Hn=zr.moveBy(qr.length),[rn,Wr]=(()=>{try{return[!0,An(qr,zr).children]}catch{return[!1,[{type:"text",value:qr,sourceSpan:new vt(zr,Hn)}]]}})();return{type:"ieConditionalComment",complete:rn,children:Wr,condition:ar.trim().replace(/\s+/g," "),sourceSpan:Ot.sourceSpan,startSourceSpan:new vt(Ot.sourceSpan.start,zr),endSourceSpan:new vt(Hn,Ot.sourceSpan.end)}}function gt(Ot,An,ut){let[,It]=ut;return{type:"ieConditionalStartComment",condition:It.trim().replace(/\s+/g," "),sourceSpan:Ot.sourceSpan}}function lr(Ot){return{type:"ieConditionalEndComment",sourceSpan:Ot.sourceSpan}}Oe.exports={parseIeConditionalComment:Ut}}}),tu=Nt({"src/language-html/loc.js"(ce,Oe){vn();function vt(Ut){return Ut.sourceSpan.start.offset}function wt(Ut){return Ut.sourceSpan.end.offset}Oe.exports={locStart:vt,locEnd:wt}}}),Ga=Nt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0}),function(lr){lr[lr.RAW_TEXT=0]="RAW_TEXT",lr[lr.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",lr[lr.PARSABLE_DATA=2]="PARSABLE_DATA"}(ce.TagContentType||(ce.TagContentType={}));function Oe(lr){if(lr[0]!=":")return[null,lr];let Ot=lr.indexOf(":",1);if(Ot==-1)throw new Error(`Unsupported format "${lr}" expecting ":namespace:name"`);return[lr.slice(1,Ot),lr.slice(Ot+1)]}ce.splitNsName=Oe;function vt(lr){return Oe(lr)[1]==="ng-container"}ce.isNgContainer=vt;function wt(lr){return Oe(lr)[1]==="ng-content"}ce.isNgContent=wt;function Ut(lr){return Oe(lr)[1]==="ng-template"}ce.isNgTemplate=Ut;function et(lr){return lr===null?null:Oe(lr)[0]}ce.getNsPrefix=et;function gt(lr,Ot){return lr?`:${lr}:${Ot}`:Ot}ce.mergeNsAndName=gt,ce.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:`
247
- `,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:"‌"},ce.NGSP_UNICODE="",ce.NAMED_ENTITIES.ngsp=ce.NGSP_UNICODE}}),fu=Nt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=Ga(),vt=class{constructor(){let{closedByChildren:gt,implicitNamespacePrefix:lr,contentType:Ot=Oe.TagContentType.PARSABLE_DATA,closedByParent:An=!1,isVoid:ut=!1,ignoreFirstLf:It=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,gt&&gt.length>0&&gt.forEach(ar=>this.closedByChildren[ar]=!0),this.isVoid=ut,this.closedByParent=An||ut,this.implicitNamespacePrefix=lr||null,this.contentType=Ot,this.ignoreFirstLf=It}isClosedByChild(gt){return this.isVoid||gt.toLowerCase()in this.closedByChildren}};ce.HtmlTagDefinition=vt;var wt,Ut;function et(gt){return Ut||(wt=new vt,Ut={base:new vt({isVoid:!0}),meta:new vt({isVoid:!0}),area:new vt({isVoid:!0}),embed:new vt({isVoid:!0}),link:new vt({isVoid:!0}),img:new vt({isVoid:!0}),input:new vt({isVoid:!0}),param:new vt({isVoid:!0}),hr:new vt({isVoid:!0}),br:new vt({isVoid:!0}),source:new vt({isVoid:!0}),track:new vt({isVoid:!0}),wbr:new vt({isVoid:!0}),p:new vt({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 vt({closedByChildren:["tbody","tfoot"]}),tbody:new vt({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new vt({closedByChildren:["tbody"],closedByParent:!0}),tr:new vt({closedByChildren:["tr"],closedByParent:!0}),td:new vt({closedByChildren:["td","th"],closedByParent:!0}),th:new vt({closedByChildren:["td","th"],closedByParent:!0}),col:new vt({isVoid:!0}),svg:new vt({implicitNamespacePrefix:"svg"}),math:new vt({implicitNamespacePrefix:"math"}),li:new vt({closedByChildren:["li"],closedByParent:!0}),dt:new vt({closedByChildren:["dt","dd"]}),dd:new vt({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new vt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new vt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new vt({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new vt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new vt({closedByChildren:["optgroup"],closedByParent:!0}),option:new vt({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new vt({ignoreFirstLf:!0}),listing:new vt({ignoreFirstLf:!0}),style:new vt({contentType:Oe.TagContentType.RAW_TEXT}),script:new vt({contentType:Oe.TagContentType.RAW_TEXT}),title:new vt({contentType:Oe.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new vt({contentType:Oe.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Ut[gt]||wt}ce.getHtmlTagDefinition=et}}),ri=Nt({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=class{constructor(vt){let wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=vt,this.position=wt}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(vt){return vt&&this.path[this.path.indexOf(vt)-1]}childOf(vt){return this.path[this.path.indexOf(vt)+1]}first(vt){for(let wt=this.path.length-1;wt>=0;wt--){let Ut=this.path[wt];if(Ut instanceof vt)return Ut}}push(vt){this.path.push(vt)}pop(){return this.path.pop()}};ce.AstPath=Oe}}),yn=Nt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=ri(),vt=class{constructor(br,zr,Hn){this.value=br,this.sourceSpan=zr,this.i18n=Hn,this.type="text"}visit(br,zr){return br.visitText(this,zr)}};ce.Text=vt;var wt=class{constructor(br,zr){this.value=br,this.sourceSpan=zr,this.type="cdata"}visit(br,zr){return br.visitCdata(this,zr)}};ce.CDATA=wt;var Ut=class{constructor(br,zr,Hn,rn,Wr,pi){this.switchValue=br,this.type=zr,this.cases=Hn,this.sourceSpan=rn,this.switchValueSourceSpan=Wr,this.i18n=pi}visit(br,zr){return br.visitExpansion(this,zr)}};ce.Expansion=Ut;var et=class{constructor(br,zr,Hn,rn,Wr){this.value=br,this.expression=zr,this.sourceSpan=Hn,this.valueSourceSpan=rn,this.expSourceSpan=Wr}visit(br,zr){return br.visitExpansionCase(this,zr)}};ce.ExpansionCase=et;var gt=class{constructor(br,zr,Hn){let rn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Wr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,pi=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=br,this.value=zr,this.sourceSpan=Hn,this.valueSpan=rn,this.nameSpan=Wr,this.i18n=pi,this.type="attribute"}visit(br,zr){return br.visitAttribute(this,zr)}};ce.Attribute=gt;var lr=class{constructor(br,zr,Hn,rn){let Wr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,pi=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,Ln=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,Cs=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=br,this.attrs=zr,this.children=Hn,this.sourceSpan=rn,this.startSourceSpan=Wr,this.endSourceSpan=pi,this.nameSpan=Ln,this.i18n=Cs,this.type="element"}visit(br,zr){return br.visitElement(this,zr)}};ce.Element=lr;var Ot=class{constructor(br,zr){this.value=br,this.sourceSpan=zr,this.type="comment"}visit(br,zr){return br.visitComment(this,zr)}};ce.Comment=Ot;var An=class{constructor(br,zr){this.value=br,this.sourceSpan=zr,this.type="docType"}visit(br,zr){return br.visitDocType(this,zr)}};ce.DocType=An;function ut(br,zr){let Hn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,rn=[],Wr=br.visit?pi=>br.visit(pi,Hn)||pi.visit(br,Hn):pi=>pi.visit(br,Hn);return zr.forEach(pi=>{let Ln=Wr(pi);Ln&&rn.push(Ln)}),rn}ce.visitAll=ut;var It=class{constructor(){}visitElement(br,zr){this.visitChildren(zr,Hn=>{Hn(br.attrs),Hn(br.children)})}visitAttribute(br,zr){}visitText(br,zr){}visitCdata(br,zr){}visitComment(br,zr){}visitDocType(br,zr){}visitExpansion(br,zr){return this.visitChildren(zr,Hn=>{Hn(br.cases)})}visitExpansionCase(br,zr){}visitChildren(br,zr){let Hn=[],rn=this;function Wr(pi){pi&&Hn.push(ut(rn,pi,br))}return zr(Wr),Array.prototype.concat.apply([],Hn)}};ce.RecursiveVisitor=It;function ar(br){let zr=br.sourceSpan.start.offset,Hn=br.sourceSpan.end.offset;return br instanceof lr&&(br.endSourceSpan?Hn=br.endSourceSpan.end.offset:br.children&&br.children.length&&(Hn=ar(br.children[br.children.length-1]).end)),{start:zr,end:Hn}}function qr(br,zr){let Hn=[],rn=new class extends It{visit(Wr,pi){let Ln=ar(Wr);if(Ln.start<=zr&&zr<Ln.end)Hn.push(Wr);else return!0}};return ut(rn,br),new Oe.AstPath(Hn,zr)}ce.findNode=qr}}),bn=Nt({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});function Oe(Ut,et){if(et!=null){if(!Array.isArray(et))throw new Error(`Expected '${Ut}' to be an array of strings.`);for(let gt=0;gt<et.length;gt+=1)if(typeof et[gt]!="string")throw new Error(`Expected '${Ut}' to be an array of strings.`)}}ce.assertArrayOfStrings=Oe;var vt=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function wt(Ut,et){if(et!=null&&!(Array.isArray(et)&&et.length==2))throw new Error(`Expected '${Ut}' to be an array, [start, end].`);if(et!=null){let gt=et[0],lr=et[1];vt.forEach(Ot=>{if(Ot.test(gt)||Ot.test(lr))throw new Error(`['${gt}', '${lr}'] contains unusable interpolation symbol.`)})}}ce.assertInterpolationSymbols=wt}}),an=Nt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=bn(),vt=class{constructor(wt,Ut){this.start=wt,this.end=Ut}static fromArray(wt){return wt?(Oe.assertInterpolationSymbols("interpolation",wt),new vt(wt[0],wt[1])):ce.DEFAULT_INTERPOLATION_CONFIG}};ce.InterpolationConfig=vt,ce.DEFAULT_INTERPOLATION_CONFIG=new vt("{{","}}")}}),on=Nt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=ns(),vt=di(),wt=an(),Ut=Ga(),et;(function(We){We[We.TAG_OPEN_START=0]="TAG_OPEN_START",We[We.TAG_OPEN_END=1]="TAG_OPEN_END",We[We.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",We[We.TAG_CLOSE=3]="TAG_CLOSE",We[We.TEXT=4]="TEXT",We[We.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",We[We.RAW_TEXT=6]="RAW_TEXT",We[We.COMMENT_START=7]="COMMENT_START",We[We.COMMENT_END=8]="COMMENT_END",We[We.CDATA_START=9]="CDATA_START",We[We.CDATA_END=10]="CDATA_END",We[We.ATTR_NAME=11]="ATTR_NAME",We[We.ATTR_QUOTE=12]="ATTR_QUOTE",We[We.ATTR_VALUE=13]="ATTR_VALUE",We[We.DOC_TYPE_START=14]="DOC_TYPE_START",We[We.DOC_TYPE_END=15]="DOC_TYPE_END",We[We.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",We[We.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",We[We.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",We[We.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",We[We.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",We[We.EOF=21]="EOF"})(et=ce.TokenType||(ce.TokenType={}));var gt=class{constructor(We,ft,Or){this.type=We,this.parts=ft,this.sourceSpan=Or}};ce.Token=gt;var lr=class extends vt.ParseError{constructor(We,ft,Or){super(Or,We),this.tokenType=ft}};ce.TokenError=lr;var Ot=class{constructor(We,ft){this.tokens=We,this.errors=ft}};ce.TokenizeResult=Ot;function An(We,ft,Or){let ir=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new br(new vt.ParseSourceFile(We,ft),Or,ir).tokenize()}ce.tokenize=An;var ut=/\r\n?/g;function It(We){return`Unexpected character "${We===Oe.$EOF?"EOF":String.fromCharCode(We)}"`}function ar(We){return`Unknown entity "${We}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var qr=class{constructor(We){this.error=We}},br=class{constructor(We,ft,Or){this._getTagContentType=ft,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=Or.tokenizeExpansionForms||!1,this._interpolationConfig=Or.interpolationConfig||wt.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=Or.leadingTriviaChars&&Or.leadingTriviaChars.map(xn=>xn.codePointAt(0)||0),this._canSelfClose=Or.canSelfClose||!1,this._allowHtmComponentClosingTags=Or.allowHtmComponentClosingTags||!1;let ir=Or.range||{endPos:We.content.length,startPos:0,startLine:0,startCol:0};this._cursor=Or.escapedString?new Wi(We,ir):new Ai(We,ir);try{this._cursor.init()}catch(xn){this.handleError(xn)}}_processCarriageReturns(We){return We.replace(ut,`
248
- `)}tokenize(){for(;this._cursor.peek()!==Oe.$EOF;){let We=this._cursor.clone();try{if(this._attemptCharCode(Oe.$LT))if(this._attemptCharCode(Oe.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(We):this._attemptStr("--")?this._consumeComment(We):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(We):this._consumeBogusComment(We);else if(this._attemptCharCode(Oe.$SLASH))this._consumeTagClose(We);else{let ft=this._cursor.clone();this._attemptCharCode(Oe.$QUESTION)?(this._cursor=ft,this._consumeBogusComment(We)):this._consumeTagOpen(We)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(ft){this.handleError(ft)}}return this._beginToken(et.EOF),this._endToken([]),new Ot(Si(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ln(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Oe.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(We){let ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=ft,this._currentTokenType=We}_endToken(We){let ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new lr("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(ft));if(this._currentTokenType===null)throw new lr("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let Or=new gt(this._currentTokenType,We,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(Or),this._currentTokenStart=null,this._currentTokenType=null,Or}_createError(We,ft){this._isInExpansionForm()&&(We+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let Or=new lr(We,this._currentTokenType,ft);return this._currentTokenStart=null,this._currentTokenType=null,new qr(Or)}handleError(We){if(We instanceof cs&&(We=this._createError(We.msg,this._cursor.getSpan(We.cursor))),We instanceof qr)this.errors.push(We.error);else throw We}_attemptCharCode(We){return this._cursor.peek()===We?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(We){return Cs(this._cursor.peek(),We)?(this._cursor.advance(),!0):!1}_requireCharCode(We){let ft=this._cursor.clone();if(!this._attemptCharCode(We))throw this._createError(It(this._cursor.peek()),this._cursor.getSpan(ft))}_attemptStr(We){let ft=We.length;if(this._cursor.charsLeft()<ft)return!1;let Or=this._cursor.clone();for(let ir=0;ir<ft;ir++)if(!this._attemptCharCode(We.charCodeAt(ir)))return this._cursor=Or,!1;return!0}_attemptStrCaseInsensitive(We){for(let ft=0;ft<We.length;ft++)if(!this._attemptCharCodeCaseInsensitive(We.charCodeAt(ft)))return!1;return!0}_requireStr(We){let ft=this._cursor.clone();if(!this._attemptStr(We))throw this._createError(It(this._cursor.peek()),this._cursor.getSpan(ft))}_requireStrCaseInsensitive(We){let ft=this._cursor.clone();if(!this._attemptStrCaseInsensitive(We))throw this._createError(It(this._cursor.peek()),this._cursor.getSpan(ft))}_attemptCharCodeUntilFn(We){for(;!We(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(We,ft){let Or=this._cursor.clone();if(this._attemptCharCodeUntilFn(We),this._cursor.clone().diff(Or)<ft)throw this._createError(It(this._cursor.peek()),this._cursor.getSpan(Or))}_attemptUntilChar(We){for(;this._cursor.peek()!==We;)this._cursor.advance()}_readChar(We){if(We&&this._cursor.peek()===Oe.$AMPERSAND)return this._decodeEntity();{let ft=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),ft}}_decodeEntity(){let We=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(Oe.$HASH)){let ft=this._attemptCharCode(Oe.$x)||this._attemptCharCode(Oe.$X),Or=this._cursor.clone();if(this._attemptCharCodeUntilFn(Wr),this._cursor.peek()!=Oe.$SEMICOLON)throw this._createError(It(this._cursor.peek()),this._cursor.getSpan());let ir=this._cursor.getChars(Or);this._cursor.advance();try{let xn=parseInt(ir,ft?16:10);return String.fromCharCode(xn)}catch{throw this._createError(ar(this._cursor.getChars(We)),this._cursor.getSpan())}}else{let ft=this._cursor.clone();if(this._attemptCharCodeUntilFn(pi),this._cursor.peek()!=Oe.$SEMICOLON)return this._cursor=ft,"&";let Or=this._cursor.getChars(ft);this._cursor.advance();let ir=Ut.NAMED_ENTITIES[Or];if(!ir)throw this._createError(ar(Or),this._cursor.getSpan(We));return ir}}_consumeRawText(We,ft){this._beginToken(We?et.ESCAPABLE_RAW_TEXT:et.RAW_TEXT);let Or=[];for(;;){let ir=this._cursor.clone(),xn=ft();if(this._cursor=ir,xn)break;Or.push(this._readChar(We))}return this._endToken([this._processCarriageReturns(Or.join(""))])}_consumeComment(We){this._beginToken(et.COMMENT_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(et.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(We){this._beginToken(et.COMMENT_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Oe.$GT),this._beginToken(et.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(We){this._beginToken(et.CDATA_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(et.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(We){this._beginToken(et.DOC_TYPE_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Oe.$GT),this._beginToken(et.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let We=this._cursor.clone(),ft="";for(;this._cursor.peek()!==Oe.$COLON&&!rn(this._cursor.peek());)this._cursor.advance();let Or;this._cursor.peek()===Oe.$COLON?(ft=this._cursor.getChars(We),this._cursor.advance(),Or=this._cursor.clone()):Or=We,this._requireCharCodeUntilFn(Hn,ft===""?0:1);let ir=this._cursor.getChars(Or);return[ft,ir]}_consumeTagOpen(We){let ft,Or,ir,xn=this.tokens.length,$i=this._cursor.clone(),Ji=[];try{if(!Oe.isAsciiLetter(this._cursor.peek()))throw this._createError(It(this._cursor.peek()),this._cursor.getSpan(We));for(ir=this._consumeTagOpenStart(We),Or=ir.parts[0],ft=ir.parts[1],this._attemptCharCodeUntilFn(zr);this._cursor.peek()!==Oe.$SLASH&&this._cursor.peek()!==Oe.$GT;){let[Ns,na]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(zr),this._attemptCharCode(Oe.$EQ)){this._attemptCharCodeUntilFn(zr);let Ts=this._consumeAttributeValue();Ji.push({prefix:Ns,name:na,value:Ts})}else Ji.push({prefix:Ns,name:na});this._attemptCharCodeUntilFn(zr)}this._consumeTagOpenEnd()}catch(Ns){if(Ns instanceof qr){this._cursor=$i,ir&&(this.tokens.length=xn),this._beginToken(et.TEXT,We),this._endToken(["<"]);return}throw Ns}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===et.TAG_OPEN_END_VOID)return;let Js=this._getTagContentType(ft,Or,this._fullNameStack.length>0,Ji);this._handleFullNameStackForTagOpen(Or,ft),Js===Ut.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(Or,ft,!1):Js===Ut.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(Or,ft,!0)}_consumeRawTextWithTagClose(We,ft,Or){this._consumeRawText(Or,()=>!this._attemptCharCode(Oe.$LT)||!this._attemptCharCode(Oe.$SLASH)||(this._attemptCharCodeUntilFn(zr),!this._attemptStrCaseInsensitive(We?`${We}:${ft}`:ft))?!1:(this._attemptCharCodeUntilFn(zr),this._attemptCharCode(Oe.$GT))),this._beginToken(et.TAG_CLOSE),this._requireCharCodeUntilFn(ir=>ir===Oe.$GT,3),this._cursor.advance(),this._endToken([We,ft]),this._handleFullNameStackForTagClose(We,ft)}_consumeTagOpenStart(We){this._beginToken(et.TAG_OPEN_START,We);let ft=this._consumePrefixAndName();return this._endToken(ft)}_consumeAttributeName(){let We=this._cursor.peek();if(We===Oe.$SQ||We===Oe.$DQ)throw this._createError(It(We),this._cursor.getSpan());this._beginToken(et.ATTR_NAME);let ft=this._consumePrefixAndName();return this._endToken(ft),ft}_consumeAttributeValue(){let We;if(this._cursor.peek()===Oe.$SQ||this._cursor.peek()===Oe.$DQ){this._beginToken(et.ATTR_QUOTE);let ft=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(ft)]),this._beginToken(et.ATTR_VALUE);let Or=[];for(;this._cursor.peek()!==ft;)Or.push(this._readChar(!0));We=this._processCarriageReturns(Or.join("")),this._endToken([We]),this._beginToken(et.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(ft)])}else{this._beginToken(et.ATTR_VALUE);let ft=this._cursor.clone();this._requireCharCodeUntilFn(Hn,1),We=this._processCarriageReturns(this._cursor.getChars(ft)),this._endToken([We])}return We}_consumeTagOpenEnd(){let We=this._attemptCharCode(Oe.$SLASH)?et.TAG_OPEN_END_VOID:et.TAG_OPEN_END;this._beginToken(We),this._requireCharCode(Oe.$GT),this._endToken([])}_consumeTagClose(We){if(this._beginToken(et.TAG_CLOSE,We),this._attemptCharCodeUntilFn(zr),this._allowHtmComponentClosingTags&&this._attemptCharCode(Oe.$SLASH))this._attemptCharCodeUntilFn(zr),this._requireCharCode(Oe.$GT),this._endToken([]);else{let[ft,Or]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(zr),this._requireCharCode(Oe.$GT),this._endToken([ft,Or]),this._handleFullNameStackForTagClose(ft,Or)}}_consumeExpansionFormStart(){this._beginToken(et.EXPANSION_FORM_START),this._requireCharCode(Oe.$LBRACE),this._endToken([]),this._expansionCaseStack.push(et.EXPANSION_FORM_START),this._beginToken(et.RAW_TEXT);let We=this._readUntil(Oe.$COMMA);this._endToken([We]),this._requireCharCode(Oe.$COMMA),this._attemptCharCodeUntilFn(zr),this._beginToken(et.RAW_TEXT);let ft=this._readUntil(Oe.$COMMA);this._endToken([ft]),this._requireCharCode(Oe.$COMMA),this._attemptCharCodeUntilFn(zr)}_consumeExpansionCaseStart(){this._beginToken(et.EXPANSION_CASE_VALUE);let We=this._readUntil(Oe.$LBRACE).trim();this._endToken([We]),this._attemptCharCodeUntilFn(zr),this._beginToken(et.EXPANSION_CASE_EXP_START),this._requireCharCode(Oe.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(zr),this._expansionCaseStack.push(et.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(et.EXPANSION_CASE_EXP_END),this._requireCharCode(Oe.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(zr),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(et.EXPANSION_FORM_END),this._requireCharCode(Oe.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let We=this._cursor.clone();this._beginToken(et.TEXT,We);let ft=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(ft.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(ft.push(this._interpolationConfig.end),this._inInterpolation=!1):ft.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(ft.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===Oe.$LT||this._cursor.peek()===Oe.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===Oe.$RBRACE&&this._isInExpansionCase()))}_readUntil(We){let ft=this._cursor.clone();return this._attemptUntilChar(We),this._cursor.getChars(ft)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===et.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===et.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==Oe.$LBRACE)return!1;if(this._interpolationConfig){let We=this._cursor.clone(),ft=this._attemptStr(this._interpolationConfig.start);return this._cursor=We,!ft}return!0}_handleFullNameStackForTagOpen(We,ft){let Or=Ut.mergeNsAndName(We,ft);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===Or)&&this._fullNameStack.push(Or)}_handleFullNameStackForTagClose(We,ft){let Or=Ut.mergeNsAndName(We,ft);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===Or&&this._fullNameStack.pop()}};function zr(We){return!Oe.isWhitespace(We)||We===Oe.$EOF}function Hn(We){return Oe.isWhitespace(We)||We===Oe.$GT||We===Oe.$SLASH||We===Oe.$SQ||We===Oe.$DQ||We===Oe.$EQ}function rn(We){return(We<Oe.$a||Oe.$z<We)&&(We<Oe.$A||Oe.$Z<We)&&(We<Oe.$0||We>Oe.$9)}function Wr(We){return We==Oe.$SEMICOLON||We==Oe.$EOF||!Oe.isAsciiHexDigit(We)}function pi(We){return We==Oe.$SEMICOLON||We==Oe.$EOF||!Oe.isAsciiLetter(We)}function Ln(We){return We===Oe.$EQ||Oe.isAsciiLetter(We)||Oe.isDigit(We)}function Cs(We,ft){return en(We)==en(ft)}function en(We){return We>=Oe.$a&&We<=Oe.$z?We-Oe.$a+Oe.$A:We}function Si(We){let ft=[],Or;for(let ir=0;ir<We.length;ir++){let xn=We[ir];Or&&Or.type==et.TEXT&&xn.type==et.TEXT?(Or.parts[0]+=xn.parts[0],Or.sourceSpan.end=xn.sourceSpan.end):(Or=xn,ft.push(Or))}return ft}var Ai=class{constructor(We,ft){if(We instanceof Ai)this.file=We.file,this.input=We.input,this.end=We.end,this.state=Object.assign({},We.state);else{if(!ft)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=We,this.input=We.content,this.end=ft.endPos,this.state={peek:-1,offset:ft.startPos,line:ft.startLine,column:ft.startCol}}}clone(){return new Ai(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(We){return this.state.offset-We.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(We,ft){if(We=We||this,ft)for(We=We.clone();this.diff(We)>0&&ft.indexOf(We.peek())!==-1;)We.advance();return new vt.ParseSourceSpan(new vt.ParseLocation(We.file,We.state.offset,We.state.line,We.state.column),new vt.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(We){return this.input.substring(We.state.offset,this.state.offset)}charAt(We){return this.input.charCodeAt(We)}advanceState(We){if(We.offset>=this.end)throw this.state=We,new cs('Unexpected character "EOF"',this);let ft=this.charAt(We.offset);ft===Oe.$LF?(We.line++,We.column=0):Oe.isNewLine(ft)||We.column++,We.offset++,this.updatePeek(We)}updatePeek(We){We.peek=We.offset>=this.end?Oe.$EOF:this.charAt(We.offset)}},Wi=class extends Ai{constructor(We,ft){We instanceof Wi?(super(We),this.internalState=Object.assign({},We.internalState)):(super(We,ft),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Wi(this)}getChars(We){let ft=We.clone(),Or="";for(;ft.internalState.offset<this.internalState.offset;)Or+=String.fromCodePoint(ft.peek()),ft.advance();return Or}processEscapeSequence(){let We=()=>this.internalState.peek;if(We()===Oe.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),We()===Oe.$n)this.state.peek=Oe.$LF;else if(We()===Oe.$r)this.state.peek=Oe.$CR;else if(We()===Oe.$v)this.state.peek=Oe.$VTAB;else if(We()===Oe.$t)this.state.peek=Oe.$TAB;else if(We()===Oe.$b)this.state.peek=Oe.$BSPACE;else if(We()===Oe.$f)this.state.peek=Oe.$FF;else if(We()===Oe.$u)if(this.advanceState(this.internalState),We()===Oe.$LBRACE){this.advanceState(this.internalState);let ft=this.clone(),Or=0;for(;We()!==Oe.$RBRACE;)this.advanceState(this.internalState),Or++;this.state.peek=this.decodeHexDigits(ft,Or)}else{let ft=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(ft,4)}else if(We()===Oe.$x){this.advanceState(this.internalState);let ft=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(ft,2)}else if(Oe.isOctalDigit(We())){let ft="",Or=0,ir=this.clone();for(;Oe.isOctalDigit(We())&&Or<3;)ir=this.clone(),ft+=String.fromCodePoint(We()),this.advanceState(this.internalState),Or++;this.state.peek=parseInt(ft,8),this.internalState=ir.internalState}else Oe.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(We,ft){let Or=this.input.substr(We.internalState.offset,ft),ir=parseInt(Or,16);if(isNaN(ir))throw We.state=We.internalState,new cs("Invalid hexadecimal escape sequence",We);return ir}},cs=class{constructor(We,ft){this.msg=We,this.cursor=ft}};ce.CursorError=cs}}),ni=Nt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=di(),vt=yn(),wt=on(),Ut=Ga(),et=class extends Oe.ParseError{constructor(ut,It,ar){super(It,ar),this.elementName=ut}static create(ut,It,ar){return new et(ut,It,ar)}};ce.TreeError=et;var gt=class{constructor(ut,It){this.rootNodes=ut,this.errors=It}};ce.ParseTreeResult=gt;var lr=class{constructor(ut){this.getTagDefinition=ut}parse(ut,It,ar){let qr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,br=arguments.length>4?arguments[4]:void 0,zr=Ai=>function(Wi){for(var cs=arguments.length,We=new Array(cs>1?cs-1:0),ft=1;ft<cs;ft++)We[ft-1]=arguments[ft];return Ai(Wi.toLowerCase(),...We)},Hn=qr?this.getTagDefinition:zr(this.getTagDefinition),rn=Ai=>Hn(Ai).contentType,Wr=qr?br:zr(br),pi=br?(Ai,Wi,cs,We)=>{let ft=Wr(Ai,Wi,cs,We);return ft!==void 0?ft:rn(Ai)}:rn,Ln=wt.tokenize(ut,It,pi,ar),Cs=ar&&ar.canSelfClose||!1,en=ar&&ar.allowHtmComponentClosingTags||!1,Si=new Ot(Ln.tokens,Hn,Cs,en,qr).build();return new gt(Si.rootNodes,Ln.errors.concat(Si.errors))}};ce.Parser=lr;var Ot=class{constructor(ut,It,ar,qr,br){this.tokens=ut,this.getTagDefinition=It,this.canSelfClose=ar,this.allowHtmComponentClosingTags=qr,this.isTagNameCaseSensitive=br,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==wt.TokenType.EOF;)this._peek.type===wt.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===wt.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===wt.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===wt.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===wt.TokenType.TEXT||this._peek.type===wt.TokenType.RAW_TEXT||this._peek.type===wt.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===wt.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===wt.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new gt(this._rootNodes,this._errors)}_advance(){let ut=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],ut}_advanceIf(ut){return this._peek.type===ut?this._advance():null}_consumeCdata(ut){let It=this._advance(),ar=this._getText(It),qr=this._advanceIf(wt.TokenType.CDATA_END);this._addToParent(new vt.CDATA(ar,new Oe.ParseSourceSpan(ut.sourceSpan.start,(qr||It).sourceSpan.end)))}_consumeComment(ut){let It=this._advanceIf(wt.TokenType.RAW_TEXT),ar=this._advanceIf(wt.TokenType.COMMENT_END),qr=It!=null?It.parts[0].trim():null,br=new Oe.ParseSourceSpan(ut.sourceSpan.start,(ar||It||ut).sourceSpan.end);this._addToParent(new vt.Comment(qr,br))}_consumeDocType(ut){let It=this._advanceIf(wt.TokenType.RAW_TEXT),ar=this._advanceIf(wt.TokenType.DOC_TYPE_END),qr=It!=null?It.parts[0].trim():null,br=new Oe.ParseSourceSpan(ut.sourceSpan.start,(ar||It||ut).sourceSpan.end);this._addToParent(new vt.DocType(qr,br))}_consumeExpansion(ut){let It=this._advance(),ar=this._advance(),qr=[];for(;this._peek.type===wt.TokenType.EXPANSION_CASE_VALUE;){let zr=this._parseExpansionCase();if(!zr)return;qr.push(zr)}if(this._peek.type!==wt.TokenType.EXPANSION_FORM_END){this._errors.push(et.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let br=new Oe.ParseSourceSpan(ut.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new vt.Expansion(It.parts[0],ar.parts[0],qr,br,It.sourceSpan)),this._advance()}_parseExpansionCase(){let ut=this._advance();if(this._peek.type!==wt.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(et.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let It=this._advance(),ar=this._collectExpansionExpTokens(It);if(!ar)return null;let qr=this._advance();ar.push(new wt.Token(wt.TokenType.EOF,[],qr.sourceSpan));let br=new Ot(ar,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(br.errors.length>0)return this._errors=this._errors.concat(br.errors),null;let zr=new Oe.ParseSourceSpan(ut.sourceSpan.start,qr.sourceSpan.end),Hn=new Oe.ParseSourceSpan(It.sourceSpan.start,qr.sourceSpan.end);return new vt.ExpansionCase(ut.parts[0],br.rootNodes,zr,ut.sourceSpan,Hn)}_collectExpansionExpTokens(ut){let It=[],ar=[wt.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===wt.TokenType.EXPANSION_FORM_START||this._peek.type===wt.TokenType.EXPANSION_CASE_EXP_START)&&ar.push(this._peek.type),this._peek.type===wt.TokenType.EXPANSION_CASE_EXP_END)if(An(ar,wt.TokenType.EXPANSION_CASE_EXP_START)){if(ar.pop(),ar.length==0)return It}else return this._errors.push(et.create(null,ut.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===wt.TokenType.EXPANSION_FORM_END)if(An(ar,wt.TokenType.EXPANSION_FORM_START))ar.pop();else return this._errors.push(et.create(null,ut.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===wt.TokenType.EOF)return this._errors.push(et.create(null,ut.sourceSpan,"Invalid ICU message. Missing '}'.")),null;It.push(this._advance())}}_getText(ut){let It=ut.parts[0];if(It.length>0&&It[0]==`
249
- `){let ar=this._getParentElement();ar!=null&&ar.children.length==0&&this.getTagDefinition(ar.name).ignoreFirstLf&&(It=It.substring(1))}return It}_consumeText(ut){let It=this._getText(ut);It.length>0&&this._addToParent(new vt.Text(It,ut.sourceSpan))}_closeVoidElement(){let ut=this._getParentElement();ut&&this.getTagDefinition(ut.name).isVoid&&this._elementStack.pop()}_consumeStartTag(ut){let It=ut.parts[0],ar=ut.parts[1],qr=[];for(;this._peek.type===wt.TokenType.ATTR_NAME;)qr.push(this._consumeAttr(this._advance()));let br=this._getElementFullName(It,ar,this._getParentElement()),zr=!1;if(this._peek.type===wt.TokenType.TAG_OPEN_END_VOID){this._advance(),zr=!0;let Ln=this.getTagDefinition(br);this.canSelfClose||Ln.canSelfClose||Ut.getNsPrefix(br)!==null||Ln.isVoid||this._errors.push(et.create(br,ut.sourceSpan,`Only void and foreign elements can be self closed "${ut.parts[1]}"`))}else this._peek.type===wt.TokenType.TAG_OPEN_END&&(this._advance(),zr=!1);let Hn=this._peek.sourceSpan.start,rn=new Oe.ParseSourceSpan(ut.sourceSpan.start,Hn),Wr=new Oe.ParseSourceSpan(ut.sourceSpan.start.moveBy(1),ut.sourceSpan.end),pi=new vt.Element(br,qr,[],rn,rn,void 0,Wr);this._pushElement(pi),zr&&(this._popElement(br),pi.endSourceSpan=rn)}_pushElement(ut){let It=this._getParentElement();It&&this.getTagDefinition(It.name).isClosedByChild(ut.name)&&this._elementStack.pop(),this._addToParent(ut),this._elementStack.push(ut)}_consumeEndTag(ut){let It=this.allowHtmComponentClosingTags&&ut.parts.length===0?null:this._getElementFullName(ut.parts[0],ut.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=ut.sourceSpan),It&&this.getTagDefinition(It).isVoid)this._errors.push(et.create(It,ut.sourceSpan,`Void elements do not have end tags "${ut.parts[1]}"`));else if(!this._popElement(It)){let ar=`Unexpected closing tag "${It}". 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(et.create(It,ut.sourceSpan,ar))}}_popElement(ut){for(let It=this._elementStack.length-1;It>=0;It--){let ar=this._elementStack[It];if(!ut||(Ut.getNsPrefix(ar.name)?ar.name==ut:ar.name.toLowerCase()==ut.toLowerCase()))return this._elementStack.splice(It,this._elementStack.length-It),!0;if(!this.getTagDefinition(ar.name).closedByParent)return!1}return!1}_consumeAttr(ut){let It=Ut.mergeNsAndName(ut.parts[0],ut.parts[1]),ar=ut.sourceSpan.end,qr="",br,zr;if(this._peek.type===wt.TokenType.ATTR_QUOTE&&(zr=this._advance().sourceSpan.start),this._peek.type===wt.TokenType.ATTR_VALUE){let Hn=this._advance();qr=Hn.parts[0],ar=Hn.sourceSpan.end,br=Hn.sourceSpan}return this._peek.type===wt.TokenType.ATTR_QUOTE&&(ar=this._advance().sourceSpan.end,br=new Oe.ParseSourceSpan(zr,ar)),new vt.Attribute(It,qr,new Oe.ParseSourceSpan(ut.sourceSpan.start,ar),br,ut.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let ut=null;for(let It=this._elementStack.length-1;It>=0;It--){if(!Ut.isNgContainer(this._elementStack[It].name))return{parent:this._elementStack[It],container:ut};ut=this._elementStack[It]}return{parent:null,container:ut}}_addToParent(ut){let It=this._getParentElement();It!=null?It.children.push(ut):this._rootNodes.push(ut)}_insertBeforeContainer(ut,It,ar){if(!It)this._addToParent(ar),this._elementStack.push(ar);else{if(ut){let qr=ut.children.indexOf(It);ut.children[qr]=ar}else this._rootNodes.push(ar);ar.children.push(It),this._elementStack.splice(this._elementStack.indexOf(It),0,ar)}}_getElementFullName(ut,It,ar){return ut===""&&(ut=this.getTagDefinition(It).implicitNamespacePrefix||"",ut===""&&ar!=null&&(ut=Ut.getNsPrefix(ar.name))),Ut.mergeNsAndName(ut,It)}};function An(ut,It){return ut.length>0&&ut[ut.length-1]===It}}}),Qn=Nt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=fu(),vt=ni(),wt=ni();ce.ParseTreeResult=wt.ParseTreeResult,ce.TreeError=wt.TreeError;var Ut=class extends vt.Parser{constructor(){super(Oe.getHtmlTagDefinition)}parse(et,gt,lr){let Ot=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,An=arguments.length>4?arguments[4]:void 0;return super.parse(et,gt,lr,Ot,An)}};ce.HtmlParser=Ut}}),oi=Nt({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(ce){vn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=Qn(),vt=Ga();ce.TagContentType=vt.TagContentType;var wt=null,Ut=()=>(wt||(wt=new Oe.HtmlParser),wt);function et(gt){let lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:Ot=!1,allowHtmComponentClosingTags:An=!1,isTagNameCaseSensitive:ut=!1,getTagContentType:It}=lr;return Ut().parse(gt,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:Ot,allowHtmComponentClosingTags:An},ut,It)}ce.parse=et}});vn();var{ParseSourceSpan:yi,ParseLocation:Ki,ParseSourceFile:Ci}=di(),Rn=ms(),Ri=ws(),rs=ji(),{inferParserByLanguage:wi}=Qu(),Xi=Wa(),js=oo(),_i=xa(),{hasPragma:Ui}=Va(),{Node:st}=Uo(),{parseIeConditionalComment:Ms}=eu(),{locStart:ra,locEnd:Os}=tu();function So(ce,Oe,vt){let{recognizeSelfClosing:wt,normalizeTagName:Ut,normalizeAttributeName:et,allowHtmComponentClosingTags:gt,isTagNameCaseSensitive:lr,getTagContentType:Ot}=Oe,An=oi(),{RecursiveVisitor:ut,visitAll:It}=yn(),{ParseSourceSpan:ar}=di(),{getHtmlTagDefinition:qr}=fu(),{rootNodes:br,errors:zr}=An.parse(ce,{canSelfClose:wt,allowHtmComponentClosingTags:gt,isTagNameCaseSensitive:lr,getTagContentType:Ot});if(vt.parser==="vue")if(br.some(en=>en.type==="docType"&&en.value==="html"||en.type==="element"&&en.name.toLowerCase()==="html")){wt=!0,Ut=!0,et=!0,gt=!0,lr=!1;let en=An.parse(ce,{canSelfClose:wt,allowHtmComponentClosingTags:gt,isTagNameCaseSensitive:lr});br=en.rootNodes,zr=en.errors}else{let en=Si=>{if(!Si||Si.type!=="element"||Si.name!=="template")return!1;let Ai=Si.attrs.find(cs=>cs.name==="lang"),Wi=Ai&&Ai.value;return!Wi||wi(Wi,vt)==="html"};if(br.some(en)){let Si,Ai=()=>An.parse(ce,{canSelfClose:wt,allowHtmComponentClosingTags:gt,isTagNameCaseSensitive:lr}),Wi=()=>Si||(Si=Ai()),cs=We=>Wi().rootNodes.find(ft=>{let{startSourceSpan:Or}=ft;return Or&&Or.start.offset===We.startSourceSpan.start.offset});for(let We=0;We<br.length;We++){let ft=br[We],{endSourceSpan:Or,startSourceSpan:ir}=ft;if(Or===null)zr=Wi().errors,br[We]=cs(ft)||ft;else if(en(ft)){let xn=Wi(),$i=ir.end.offset,Ji=Or.start.offset;for(let Js of xn.errors){let{offset:Ns}=Js.span.start;if($i<Ns&&Ns<Ji){zr=[Js];break}}br[We]=cs(ft)||ft}}}}if(zr.length>0){let{msg:en,span:{start:Si,end:Ai}}=zr[0];throw rs(en,{start:{line:Si.line+1,column:Si.col+1},end:{line:Ai.line+1,column:Ai.col+1}})}let Hn=en=>{let Si=en.name.startsWith(":")?en.name.slice(1).split(":")[0]:null,Ai=en.nameSpan.toString(),Wi=Si!==null&&Ai.startsWith(`${Si}:`),cs=Wi?Ai.slice(Si.length+1):Ai;en.name=cs,en.namespace=Si,en.hasExplicitNamespace=Wi},rn=en=>{switch(en.type){case"element":Hn(en);for(let Si of en.attrs)Hn(Si),Si.valueSpan?(Si.value=Si.valueSpan.toString(),/["']/.test(Si.value[0])&&(Si.value=Si.value.slice(1,-1))):Si.value=null;break;case"comment":en.value=en.sourceSpan.toString().slice(4,-3);break;case"text":en.value=en.sourceSpan.toString();break}},Wr=(en,Si)=>{let Ai=en.toLowerCase();return Si(Ai)?Ai:en},pi=en=>{if(en.type==="element"&&(Ut&&(!en.namespace||en.namespace===en.tagDefinition.implicitNamespacePrefix||_i(en))&&(en.name=Wr(en.name,Si=>Si in Xi)),et)){let Si=js[en.name]||Object.create(null);for(let Ai of en.attrs)Ai.namespace||(Ai.name=Wr(Ai.name,Wi=>en.name in js&&(Wi in js["*"]||Wi in Si)))}},Ln=en=>{en.sourceSpan&&en.endSourceSpan&&(en.sourceSpan=new ar(en.sourceSpan.start,en.endSourceSpan.end))},Cs=en=>{if(en.type==="element"){let Si=qr(lr?en.name:en.name.toLowerCase());!en.namespace||en.namespace===Si.implicitNamespacePrefix||_i(en)?en.tagDefinition=Si:en.tagDefinition=qr("")}};return It(new class extends ut{visit(en){rn(en),Cs(en),pi(en),Ln(en)}},br),br}function Ps(ce,Oe,vt){let wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:Ut,content:et}=wt?Rn(ce):{frontMatter:null,content:ce},gt=new Ci(ce,Oe.filepath),lr=new Ki(gt,0,0,0),Ot=lr.moveBy(ce.length),An={type:"root",sourceSpan:new yi(lr,Ot),children:So(et,vt,Oe)};if(Ut){let ar=new Ki(gt,0,0,0),qr=ar.moveBy(Ut.raw.length);Ut.sourceSpan=new yi(ar,qr),An.children.unshift(Ut)}let ut=new st(An),It=(ar,qr)=>{let{offset:br}=qr,zr=ce.slice(0,br).replace(/[^\n\r]/g," "),Hn=Ps(zr+ar,Oe,vt,!1);Hn.sourceSpan=new yi(qr,Ri(Hn.children).sourceSpan.end);let rn=Hn.children[0];return rn.length===br?Hn.children.shift():(rn.sourceSpan=new yi(rn.sourceSpan.start.moveBy(br),rn.sourceSpan.end),rn.value=rn.value.slice(br)),Hn};return ut.walk(ar=>{if(ar.type==="comment"){let qr=Ms(ar,It);qr&&ar.parent.replaceChild(ar,qr)}}),ut}function Gi(){let{name:ce,recognizeSelfClosing:Oe=!1,normalizeTagName:vt=!1,normalizeAttributeName:wt=!1,allowHtmComponentClosingTags:Ut=!1,isTagNameCaseSensitive:et=!1,getTagContentType:gt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(lr,Ot,An)=>Ps(lr,Object.assign({parser:ce},An),{recognizeSelfClosing:Oe,normalizeTagName:vt,normalizeAttributeName:wt,allowHtmComponentClosingTags:Ut,isTagNameCaseSensitive:et,getTagContentType:gt}),hasPragma:Ui,astFormat:"html",locStart:ra,locEnd:Os}}_e.exports={parsers:{html:Gi({name:"html",recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Gi({name:"angular"}),vue:Gi({name:"vue",recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:(ce,Oe,vt,wt)=>{if(ce.toLowerCase()!=="html"&&!vt&&(ce!=="template"||wt.some(Ut=>{let{name:et,value:gt}=Ut;return et==="lang"&&gt!=="html"&&gt!==""&&gt!==void 0})))return oi().TagContentType.RAW_TEXT}}),lwc:Gi({name:"lwc"})}}});return Pr()})})(hv);const fv=qp(Ah);var wh={},dv={get exports(){return wh},set exports(i){wh=i}};(function(i,h){(function(c){i.exports=c()})(function(){var c=(fr,Bt)=>()=>(Bt||fr((Bt={exports:{}}).exports,Bt),Bt.exports),g=c((fr,Bt)=>{var Me=function(kt){return kt&&kt.Math==Math&&kt};Bt.exports=Me(typeof globalThis=="object"&&globalThis)||Me(typeof window=="object"&&window)||Me(typeof self=="object"&&self)||Me(typeof vl=="object"&&vl)||function(){return this}()||Function("return this")()}),x=c((fr,Bt)=>{Bt.exports=function(Me){try{return!!Me()}catch{return!0}}}),S=c((fr,Bt)=>{var Me=x();Bt.exports=!Me(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),W=c((fr,Bt)=>{var Me=x();Bt.exports=!Me(function(){var kt=function(){}.bind();return typeof kt!="function"||kt.hasOwnProperty("prototype")})}),ie=c((fr,Bt)=>{var Me=W(),kt=Function.prototype.call;Bt.exports=Me?kt.bind(kt):function(){return kt.apply(kt,arguments)}}),de=c(fr=>{var Bt={}.propertyIsEnumerable,Me=Object.getOwnPropertyDescriptor,kt=Me&&!Bt.call({1:2},1);fr.f=kt?function(jt){var nr=Me(this,jt);return!!nr&&nr.enumerable}:Bt}),ve=c((fr,Bt)=>{Bt.exports=function(Me,kt){return{enumerable:!(Me&1),configurable:!(Me&2),writable:!(Me&4),value:kt}}}),De=c((fr,Bt)=>{var Me=W(),kt=Function.prototype,jt=kt.bind,nr=kt.call,Ir=Me&&jt.bind(nr,nr);Bt.exports=Me?function(Pr){return Pr&&Ir(Pr)}:function(Pr){return Pr&&function(){return nr.apply(Pr,arguments)}}}),Ve=c((fr,Bt)=>{var Me=De(),kt=Me({}.toString),jt=Me("".slice);Bt.exports=function(nr){return jt(kt(nr),8,-1)}}),tt=c((fr,Bt)=>{var Me=g(),kt=De(),jt=x(),nr=Ve(),Ir=Me.Object,Pr=kt("".split);Bt.exports=jt(function(){return!Ir("z").propertyIsEnumerable(0)})?function(zt){return nr(zt)=="String"?Pr(zt,""):Ir(zt)}:Ir}),Ct=c((fr,Bt)=>{var Me=g(),kt=Me.TypeError;Bt.exports=function(jt){if(jt==null)throw kt("Can't call method on "+jt);return jt}}),Rt=c((fr,Bt)=>{var Me=tt(),kt=Ct();Bt.exports=function(jt){return Me(kt(jt))}}),$t=c((fr,Bt)=>{Bt.exports=function(Me){return typeof Me=="function"}}),Sr=c((fr,Bt)=>{var Me=$t();Bt.exports=function(kt){return typeof kt=="object"?kt!==null:Me(kt)}}),Ze=c((fr,Bt)=>{var Me=g(),kt=$t(),jt=function(nr){return kt(nr)?nr:void 0};Bt.exports=function(nr,Ir){return arguments.length<2?jt(Me[nr]):Me[nr]&&Me[nr][Ir]}}),ct=c((fr,Bt)=>{var Me=De();Bt.exports=Me({}.isPrototypeOf)}),Et=c((fr,Bt)=>{var Me=Ze();Bt.exports=Me("navigator","userAgent")||""}),er=c((fr,Bt)=>{var Me=g(),kt=Et(),jt=Me.process,nr=Me.Deno,Ir=jt&&jt.versions||nr&&nr.version,Pr=Ir&&Ir.v8,zt,_e;Pr&&(zt=Pr.split("."),_e=zt[0]>0&&zt[0]<4?1:+(zt[0]+zt[1])),!_e&&kt&&(zt=kt.match(/Edge\/(\d+)/),(!zt||zt[1]>=74)&&(zt=kt.match(/Chrome\/(\d+)/),zt&&(_e=+zt[1]))),Bt.exports=_e}),gr=c((fr,Bt)=>{var Me=er(),kt=x();Bt.exports=!!Object.getOwnPropertySymbols&&!kt(function(){var jt=Symbol();return!String(jt)||!(Object(jt)instanceof Symbol)||!Symbol.sham&&Me&&Me<41})}),Pn=c((fr,Bt)=>{var Me=gr();Bt.exports=Me&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),kr=c((fr,Bt)=>{var Me=g(),kt=Ze(),jt=$t(),nr=ct(),Ir=Pn(),Pr=Me.Object;Bt.exports=Ir?function(zt){return typeof zt=="symbol"}:function(zt){var _e=kt("Symbol");return jt(_e)&&nr(_e.prototype,Pr(zt))}}),ln=c((fr,Bt)=>{var Me=g(),kt=Me.String;Bt.exports=function(jt){try{return kt(jt)}catch{return"Object"}}}),Dn=c((fr,Bt)=>{var Me=g(),kt=$t(),jt=ln(),nr=Me.TypeError;Bt.exports=function(Ir){if(kt(Ir))return Ir;throw nr(jt(Ir)+" is not a function")}}),mn=c((fr,Bt)=>{var Me=Dn();Bt.exports=function(kt,jt){var nr=kt[jt];return nr==null?void 0:Me(nr)}}),gn=c((fr,Bt)=>{var Me=g(),kt=ie(),jt=$t(),nr=Sr(),Ir=Me.TypeError;Bt.exports=function(Pr,zt){var _e,ue;if(zt==="string"&&jt(_e=Pr.toString)&&!nr(ue=kt(_e,Pr))||jt(_e=Pr.valueOf)&&!nr(ue=kt(_e,Pr))||zt!=="string"&&jt(_e=Pr.toString)&&!nr(ue=kt(_e,Pr)))return ue;throw Ir("Can't convert object to primitive value")}}),Xn=c((fr,Bt)=>{Bt.exports=!1}),hr=c((fr,Bt)=>{var Me=g(),kt=Object.defineProperty;Bt.exports=function(jt,nr){try{kt(Me,jt,{value:nr,configurable:!0,writable:!0})}catch{Me[jt]=nr}return nr}}),Tn=c((fr,Bt)=>{var Me=g(),kt=hr(),jt="__core-js_shared__",nr=Me[jt]||kt(jt,{});Bt.exports=nr}),Ee=c((fr,Bt)=>{var Me=Xn(),kt=Tn();(Bt.exports=function(jt,nr){return kt[jt]||(kt[jt]=nr!==void 0?nr:{})})("versions",[]).push({version:"3.22.2",mode:Me?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),tn=c((fr,Bt)=>{var Me=g(),kt=Ct(),jt=Me.Object;Bt.exports=function(nr){return jt(kt(nr))}}),ur=c((fr,Bt)=>{var Me=De(),kt=tn(),jt=Me({}.hasOwnProperty);Bt.exports=Object.hasOwn||function(nr,Ir){return jt(kt(nr),Ir)}}),kn=c((fr,Bt)=>{var Me=De(),kt=0,jt=Math.random(),nr=Me(1 .toString);Bt.exports=function(Ir){return"Symbol("+(Ir===void 0?"":Ir)+")_"+nr(++kt+jt,36)}}),ti=c((fr,Bt)=>{var Me=g(),kt=Ee(),jt=ur(),nr=kn(),Ir=gr(),Pr=Pn(),zt=kt("wks"),_e=Me.Symbol,ue=_e&&_e.for,re=Pr?_e:_e&&_e.withoutSetter||nr;Bt.exports=function(xe){if(!jt(zt,xe)||!(Ir||typeof zt[xe]=="string")){var Fe="Symbol."+xe;Ir&&jt(_e,xe)?zt[xe]=_e[xe]:Pr&&ue?zt[xe]=ue(Fe):zt[xe]=re(Fe)}return zt[xe]}}),Vi=c((fr,Bt)=>{var Me=g(),kt=ie(),jt=Sr(),nr=kr(),Ir=mn(),Pr=gn(),zt=ti(),_e=Me.TypeError,ue=zt("toPrimitive");Bt.exports=function(re,xe){if(!jt(re)||nr(re))return re;var Fe=Ir(re,ue),Re;if(Fe){if(xe===void 0&&(xe="default"),Re=kt(Fe,re,xe),!jt(Re)||nr(Re))return Re;throw _e("Can't convert object to primitive value")}return xe===void 0&&(xe="number"),Pr(re,xe)}}),as=c((fr,Bt)=>{var Me=Vi(),kt=kr();Bt.exports=function(jt){var nr=Me(jt,"string");return kt(nr)?nr:nr+""}}),fs=c((fr,Bt)=>{var Me=g(),kt=Sr(),jt=Me.document,nr=kt(jt)&&kt(jt.createElement);Bt.exports=function(Ir){return nr?jt.createElement(Ir):{}}}),es=c((fr,Bt)=>{var Me=S(),kt=x(),jt=fs();Bt.exports=!Me&&!kt(function(){return Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a!=7})}),ts=c(fr=>{var Bt=S(),Me=ie(),kt=de(),jt=ve(),nr=Rt(),Ir=as(),Pr=ur(),zt=es(),_e=Object.getOwnPropertyDescriptor;fr.f=Bt?_e:function(ue,re){if(ue=nr(ue),re=Ir(re),zt)try{return _e(ue,re)}catch{}if(Pr(ue,re))return jt(!Me(kt.f,ue,re),ue[re])}}),Mr=c((fr,Bt)=>{var Me=S(),kt=x();Bt.exports=Me&&kt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),$r=c((fr,Bt)=>{var Me=g(),kt=Sr(),jt=Me.String,nr=Me.TypeError;Bt.exports=function(Ir){if(kt(Ir))return Ir;throw nr(jt(Ir)+" is not an object")}}),yr=c(fr=>{var Bt=g(),Me=S(),kt=es(),jt=Mr(),nr=$r(),Ir=as(),Pr=Bt.TypeError,zt=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,ue="enumerable",re="configurable",xe="writable";fr.f=Me?jt?function(Fe,Re,Qe){if(nr(Fe),Re=Ir(Re),nr(Qe),typeof Fe=="function"&&Re==="prototype"&&"value"in Qe&&xe in Qe&&!Qe[xe]){var it=_e(Fe,Re);it&&it[xe]&&(Fe[Re]=Qe.value,Qe={configurable:re in Qe?Qe[re]:it[re],enumerable:ue in Qe?Qe[ue]:it[ue],writable:!1})}return zt(Fe,Re,Qe)}:zt:function(Fe,Re,Qe){if(nr(Fe),Re=Ir(Re),nr(Qe),kt)try{return zt(Fe,Re,Qe)}catch{}if("get"in Qe||"set"in Qe)throw Pr("Accessors not supported");return"value"in Qe&&(Fe[Re]=Qe.value),Fe}}),cn=c((fr,Bt)=>{var Me=S(),kt=yr(),jt=ve();Bt.exports=Me?function(nr,Ir,Pr){return kt.f(nr,Ir,jt(1,Pr))}:function(nr,Ir,Pr){return nr[Ir]=Pr,nr}}),$n=c((fr,Bt)=>{var Me=De(),kt=$t(),jt=Tn(),nr=Me(Function.toString);kt(jt.inspectSource)||(jt.inspectSource=function(Ir){return nr(Ir)}),Bt.exports=jt.inspectSource}),ci=c((fr,Bt)=>{var Me=g(),kt=$t(),jt=$n(),nr=Me.WeakMap;Bt.exports=kt(nr)&&/native code/.test(jt(nr))}),Mn=c((fr,Bt)=>{var Me=Ee(),kt=kn(),jt=Me("keys");Bt.exports=function(nr){return jt[nr]||(jt[nr]=kt(nr))}}),Xe=c((fr,Bt)=>{Bt.exports={}}),At=c((fr,Bt)=>{var Me=ci(),kt=g(),jt=De(),nr=Sr(),Ir=cn(),Pr=ur(),zt=Tn(),_e=Mn(),ue=Xe(),re="Object already initialized",xe=kt.TypeError,Fe=kt.WeakMap,Re,Qe,it,Ft=function(xr){return it(xr)?Qe(xr):Re(xr,{})},Qt=function(xr){return function(Sn){var bi;if(!nr(Sn)||(bi=Qe(Sn)).type!==xr)throw xe("Incompatible receiver, "+xr+" required");return bi}};Me||zt.state?(sr=zt.state||(zt.state=new Fe),Nt=jt(sr.get),Nr=jt(sr.has),Yr=jt(sr.set),Re=function(xr,Sn){if(Nr(sr,xr))throw new xe(re);return Sn.facade=xr,Yr(sr,xr,Sn),Sn},Qe=function(xr){return Nt(sr,xr)||{}},it=function(xr){return Nr(sr,xr)}):(Be=_e("state"),ue[Be]=!0,Re=function(xr,Sn){if(Pr(xr,Be))throw new xe(re);return Sn.facade=xr,Ir(xr,Be,Sn),Sn},Qe=function(xr){return Pr(xr,Be)?xr[Be]:{}},it=function(xr){return Pr(xr,Be)});var sr,Nt,Nr,Yr,Be;Bt.exports={set:Re,get:Qe,has:it,enforce:Ft,getterFor:Qt}}),wr=c((fr,Bt)=>{var Me=S(),kt=ur(),jt=Function.prototype,nr=Me&&Object.getOwnPropertyDescriptor,Ir=kt(jt,"name"),Pr=Ir&&function(){}.name==="something",zt=Ir&&(!Me||Me&&nr(jt,"name").configurable);Bt.exports={EXISTS:Ir,PROPER:Pr,CONFIGURABLE:zt}}),Hr=c((fr,Bt)=>{var Me=g(),kt=$t(),jt=ur(),nr=cn(),Ir=hr(),Pr=$n(),zt=At(),_e=wr().CONFIGURABLE,ue=zt.get,re=zt.enforce,xe=String(String).split("String");(Bt.exports=function(Fe,Re,Qe,it){var Ft=it?!!it.unsafe:!1,Qt=it?!!it.enumerable:!1,sr=it?!!it.noTargetGet:!1,Nt=it&&it.name!==void 0?it.name:Re,Nr;if(kt(Qe)&&(String(Nt).slice(0,7)==="Symbol("&&(Nt="["+String(Nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!jt(Qe,"name")||_e&&Qe.name!==Nt)&&nr(Qe,"name",Nt),Nr=re(Qe),Nr.source||(Nr.source=xe.join(typeof Nt=="string"?Nt:""))),Fe===Me){Qt?Fe[Re]=Qe:Ir(Re,Qe);return}else Ft?!sr&&Fe[Re]&&(Qt=!0):delete Fe[Re];Qt?Fe[Re]=Qe:nr(Fe,Re,Qe)})(Function.prototype,"toString",function(){return kt(this)&&ue(this).source||Pr(this)})}),Fr=c((fr,Bt)=>{var Me=Math.ceil,kt=Math.floor;Bt.exports=function(jt){var nr=+jt;return nr!==nr||nr===0?0:(nr>0?kt:Me)(nr)}}),nn=c((fr,Bt)=>{var Me=Fr(),kt=Math.max,jt=Math.min;Bt.exports=function(nr,Ir){var Pr=Me(nr);return Pr<0?kt(Pr+Ir,0):jt(Pr,Ir)}}),Jr=c((fr,Bt)=>{var Me=Fr(),kt=Math.min;Bt.exports=function(jt){return jt>0?kt(Me(jt),9007199254740991):0}}),pn=c((fr,Bt)=>{var Me=Jr();Bt.exports=function(kt){return Me(kt.length)}}),jn=c((fr,Bt)=>{var Me=Rt(),kt=nn(),jt=pn(),nr=function(Ir){return function(Pr,zt,_e){var ue=Me(Pr),re=jt(ue),xe=kt(_e,re),Fe;if(Ir&&zt!=zt){for(;re>xe;)if(Fe=ue[xe++],Fe!=Fe)return!0}else for(;re>xe;xe++)if((Ir||xe in ue)&&ue[xe]===zt)return Ir||xe||0;return!Ir&&-1}};Bt.exports={includes:nr(!0),indexOf:nr(!1)}}),Zr=c((fr,Bt)=>{var Me=De(),kt=ur(),jt=Rt(),nr=jn().indexOf,Ir=Xe(),Pr=Me([].push);Bt.exports=function(zt,_e){var ue=jt(zt),re=0,xe=[],Fe;for(Fe in ue)!kt(Ir,Fe)&&kt(ue,Fe)&&Pr(xe,Fe);for(;_e.length>re;)kt(ue,Fe=_e[re++])&&(~nr(xe,Fe)||Pr(xe,Fe));return xe}}),Tt=c((fr,Bt)=>{Bt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),mr=c(fr=>{var Bt=Zr(),Me=Tt(),kt=Me.concat("length","prototype");fr.f=Object.getOwnPropertyNames||function(jt){return Bt(jt,kt)}}),Vt=c(fr=>{fr.f=Object.getOwnPropertySymbols}),Wn=c((fr,Bt)=>{var Me=Ze(),kt=De(),jt=mr(),nr=Vt(),Ir=$r(),Pr=kt([].concat);Bt.exports=Me("Reflect","ownKeys")||function(zt){var _e=jt.f(Ir(zt)),ue=nr.f;return ue?Pr(_e,ue(zt)):_e}}),ki=c((fr,Bt)=>{var Me=ur(),kt=Wn(),jt=ts(),nr=yr();Bt.exports=function(Ir,Pr,zt){for(var _e=kt(Pr),ue=nr.f,re=jt.f,xe=0;xe<_e.length;xe++){var Fe=_e[xe];!Me(Ir,Fe)&&!(zt&&Me(zt,Fe))&&ue(Ir,Fe,re(Pr,Fe))}}}),ds=c((fr,Bt)=>{var Me=x(),kt=$t(),jt=/#|\.prototype\./,nr=function(ue,re){var xe=Pr[Ir(ue)];return xe==_e?!0:xe==zt?!1:kt(re)?Me(re):!!re},Ir=nr.normalize=function(ue){return String(ue).replace(jt,".").toLowerCase()},Pr=nr.data={},zt=nr.NATIVE="N",_e=nr.POLYFILL="P";Bt.exports=nr}),Zi=c((fr,Bt)=>{var Me=g(),kt=ts().f,jt=cn(),nr=Hr(),Ir=hr(),Pr=ki(),zt=ds();Bt.exports=function(_e,ue){var re=_e.target,xe=_e.global,Fe=_e.stat,Re,Qe,it,Ft,Qt,sr;if(xe?Qe=Me:Fe?Qe=Me[re]||Ir(re,{}):Qe=(Me[re]||{}).prototype,Qe)for(it in ue){if(Qt=ue[it],_e.noTargetGet?(sr=kt(Qe,it),Ft=sr&&sr.value):Ft=Qe[it],Re=zt(xe?it:re+(Fe?".":"#")+it,_e.forced),!Re&&Ft!==void 0){if(typeof Qt==typeof Ft)continue;Pr(Qt,Ft)}(_e.sham||Ft&&Ft.sham)&&jt(Qt,"sham",!0),nr(Qe,it,Qt,_e)}}}),Ds=c(()=>{var fr=Zi(),Bt=g();fr({global:!0},{globalThis:Bt})}),os=c(()=>{Ds()}),ta=c((fr,Bt)=>{var Me=Ve();Bt.exports=Array.isArray||function(kt){return Me(kt)=="Array"}}),Vn=c((fr,Bt)=>{var Me=De(),kt=Dn(),jt=W(),nr=Me(Me.bind);Bt.exports=function(Ir,Pr){return kt(Ir),Pr===void 0?Ir:jt?nr(Ir,Pr):function(){return Ir.apply(Pr,arguments)}}}),Cr=c((fr,Bt)=>{var Me=g(),kt=ta(),jt=pn(),nr=Vn(),Ir=Me.TypeError,Pr=function(zt,_e,ue,re,xe,Fe,Re,Qe){for(var it=xe,Ft=0,Qt=Re?nr(Re,Qe):!1,sr,Nt;Ft<re;){if(Ft in ue){if(sr=Qt?Qt(ue[Ft],Ft,_e):ue[Ft],Fe>0&&kt(sr))Nt=jt(sr),it=Pr(zt,_e,sr,Nt,it,Fe-1)-1;else{if(it>=9007199254740991)throw Ir("Exceed the acceptable array length");zt[it]=sr}it++}Ft++}return it};Bt.exports=Pr}),Tr=c((fr,Bt)=>{var Me=ti(),kt=Me("toStringTag"),jt={};jt[kt]="z",Bt.exports=String(jt)==="[object z]"}),vr=c((fr,Bt)=>{var Me=g(),kt=Tr(),jt=$t(),nr=Ve(),Ir=ti(),Pr=Ir("toStringTag"),zt=Me.Object,_e=nr(function(){return arguments}())=="Arguments",ue=function(re,xe){try{return re[xe]}catch{}};Bt.exports=kt?nr:function(re){var xe,Fe,Re;return re===void 0?"Undefined":re===null?"Null":typeof(Fe=ue(xe=zt(re),Pr))=="string"?Fe:_e?nr(xe):(Re=nr(xe))=="Object"&&jt(xe.callee)?"Arguments":Re}}),Kr=c((fr,Bt)=>{var Me=De(),kt=x(),jt=$t(),nr=vr(),Ir=Ze(),Pr=$n(),zt=function(){},_e=[],ue=Ir("Reflect","construct"),re=/^\s*(?:class|function)\b/,xe=Me(re.exec),Fe=!re.exec(zt),Re=function(it){if(!jt(it))return!1;try{return ue(zt,_e,it),!0}catch{return!1}},Qe=function(it){if(!jt(it))return!1;switch(nr(it)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Fe||!!xe(re,Pr(it))}catch{return!0}};Qe.sham=!0,Bt.exports=!ue||kt(function(){var it;return Re(Re.call)||!Re(Object)||!Re(function(){it=!0})||it})?Qe:Re}),_t=c((fr,Bt)=>{var Me=g(),kt=ta(),jt=Kr(),nr=Sr(),Ir=ti(),Pr=Ir("species"),zt=Me.Array;Bt.exports=function(_e){var ue;return kt(_e)&&(ue=_e.constructor,jt(ue)&&(ue===zt||kt(ue.prototype))?ue=void 0:nr(ue)&&(ue=ue[Pr],ue===null&&(ue=void 0))),ue===void 0?zt:ue}}),Gn=c((fr,Bt)=>{var Me=_t();Bt.exports=function(kt,jt){return new(Me(kt))(jt===0?0:jt)}}),Xt=c(()=>{var fr=Zi(),Bt=Cr(),Me=Dn(),kt=tn(),jt=pn(),nr=Gn();fr({target:"Array",proto:!0},{flatMap:function(Ir){var Pr=kt(this),zt=jt(Pr),_e;return Me(Ir),_e=nr(Pr,0),_e.length=Bt(_e,Pr,Pr,zt,0,1,Ir,arguments.length>1?arguments[1]:void 0),_e}})}),On=c((fr,Bt)=>{os(),Xt();var Me=Object.defineProperty,kt=Object.getOwnPropertyDescriptor,jt=Object.getOwnPropertyNames,nr=Object.prototype.hasOwnProperty,Ir=(ri,yn)=>function(){return ri&&(yn=(0,ri[jt(ri)[0]])(ri=0)),yn},Pr=(ri,yn)=>function(){return yn||(0,ri[jt(ri)[0]])((yn={exports:{}}).exports,yn),yn.exports},zt=(ri,yn)=>{for(var bn in yn)Me(ri,bn,{get:yn[bn],enumerable:!0})},_e=(ri,yn,bn,an)=>{if(yn&&typeof yn=="object"||typeof yn=="function")for(let on of jt(yn))!nr.call(ri,on)&&on!==bn&&Me(ri,on,{get:()=>yn[on],enumerable:!(an=kt(yn,on))||an.enumerable});return ri},ue=ri=>_e(Me({},"__esModule",{value:!0}),ri),re=Ir({"<define:process>"(){}}),xe=Pr({"src/utils/try-combinations.js"(ri,yn){re();function bn(){let an;for(var on=arguments.length,ni=new Array(on),Qn=0;Qn<on;Qn++)ni[Qn]=arguments[Qn];for(let[oi,yi]of ni.entries())try{return{result:yi()}}catch(Ki){oi===0&&(an=Ki)}return{error:an}}yn.exports=bn}}),Fe=Pr({"src/language-js/utils/get-shebang.js"(ri,yn){re();function bn(an){if(!an.startsWith("#!"))return"";let on=an.indexOf(`
250
- `);return on===-1?an:an.slice(0,on)}yn.exports=bn}}),Re=Pr({"src/utils/text/skip-inline-comment.js"(ri,yn){re();function bn(an,on){if(on===!1)return!1;if(an.charAt(on)==="/"&&an.charAt(on+1)==="*"){for(let ni=on+2;ni<an.length;++ni)if(an.charAt(ni)==="*"&&an.charAt(ni+1)==="/")return ni+2}return on}yn.exports=bn}}),Qe=Pr({"src/utils/text/skip-newline.js"(ri,yn){re();function bn(an,on,ni){let Qn=ni&&ni.backwards;if(on===!1)return!1;let oi=an.charAt(on);if(Qn){if(an.charAt(on-1)==="\r"&&oi===`
251
- `)return on-2;if(oi===`
252
- `||oi==="\r"||oi==="\u2028"||oi==="\u2029")return on-1}else{if(oi==="\r"&&an.charAt(on+1)===`
253
- `)return on+2;if(oi===`
254
- `||oi==="\r"||oi==="\u2028"||oi==="\u2029")return on+1}return on}yn.exports=bn}}),it=Pr({"src/utils/text/skip.js"(ri,yn){re();function bn(oi){return(yi,Ki,Ci)=>{let Rn=Ci&&Ci.backwards;if(Ki===!1)return!1;let{length:Ri}=yi,rs=Ki;for(;rs>=0&&rs<Ri;){let wi=yi.charAt(rs);if(oi instanceof RegExp){if(!oi.test(wi))return rs}else if(!oi.includes(wi))return rs;Rn?rs--:rs++}return rs===-1||rs===Ri?rs:!1}}var an=bn(/\s/),on=bn(" "),ni=bn(",; "),Qn=bn(/[^\n\r]/);yn.exports={skipWhitespace:an,skipSpaces:on,skipToLineEnd:ni,skipEverythingButNewLine:Qn}}}),Ft=Pr({"src/utils/text/skip-trailing-comment.js"(ri,yn){re();var{skipEverythingButNewLine:bn}=it();function an(on,ni){return ni===!1?!1:on.charAt(ni)==="/"&&on.charAt(ni+1)==="/"?bn(on,ni):ni}yn.exports=an}}),Qt=Pr({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ri,yn){re();var bn=Re(),an=Qe(),on=Ft(),{skipSpaces:ni}=it();function Qn(oi,yi){let Ki=null,Ci=yi;for(;Ci!==Ki;)Ki=Ci,Ci=ni(oi,Ci),Ci=bn(oi,Ci),Ci=on(oi,Ci),Ci=an(oi,Ci);return Ci}yn.exports=Qn}}),sr={};zt(sr,{EOL:()=>ji,arch:()=>at,cpus:()=>bi,default:()=>is,endianness:()=>Nt,freemem:()=>xr,getNetworkInterfaces:()=>Fs,hostname:()=>Nr,loadavg:()=>Yr,networkInterfaces:()=>ns,platform:()=>hn,release:()=>vn,tmpDir:()=>di,tmpdir:()=>ws,totalmem:()=>Sn,type:()=>ui,uptime:()=>Be});function Nt(){if(typeof ms>"u"){var ri=new ArrayBuffer(2),yn=new Uint8Array(ri),bn=new Uint16Array(ri);if(yn[0]=1,yn[1]=2,bn[0]===258)ms="BE";else if(bn[0]===513)ms="LE";else throw new Error("unable to figure out endianess")}return ms}function Nr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Yr(){return[]}function Be(){return 0}function xr(){return Number.MAX_VALUE}function Sn(){return Number.MAX_VALUE}function bi(){return[]}function ui(){return"Browser"}function vn(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ns(){}function Fs(){}function at(){return"javascript"}function hn(){return"browser"}function di(){return"/tmp"}var ms,ws,ji,is,ye=Ir({"node-modules-polyfills:os"(){re(),ws=di,ji=`
255
- `,is={EOL:ji,tmpdir:ws,tmpDir:di,networkInterfaces:ns,getNetworkInterfaces:Fs,release:vn,type:ui,cpus:bi,totalmem:Sn,freemem:xr,uptime:Be,loadavg:Yr,hostname:Nr,endianness:Nt}}}),nt=Pr({"node-modules-polyfills-commonjs:os"(ri,yn){re();var bn=(ye(),ue(sr));if(bn&&bn.default){yn.exports=bn.default;for(let an in bn)yn.exports[an]=bn[an]}else bn&&(yn.exports=bn)}}),dt=Pr({"node_modules/detect-newline/index.js"(ri,yn){re();var bn=an=>{if(typeof an!="string")throw new TypeError("Expected a string");let on=an.match(/(?:\r?\n)/g)||[];if(on.length===0)return;let ni=on.filter(oi=>oi===`\r
256
- `).length,Qn=on.length-ni;return ni>Qn?`\r
257
- `:`
258
- `};yn.exports=bn,yn.exports.graceful=an=>typeof an=="string"&&bn(an)||`
259
- `}}),pr=Pr({"node_modules/jest-docblock/build/index.js"(ri){re(),Object.defineProperty(ri,"__esModule",{value:!0}),ri.extract=rs,ri.parse=Xi,ri.parseWithComments=js,ri.print=_i,ri.strip=wi;function yn(){let st=nt();return yn=function(){return st},st}function bn(){let st=an(dt());return bn=function(){return st},st}function an(st){return st&&st.__esModule?st:{default:st}}var on=/\*\/$/,ni=/^\/\*\*?/,Qn=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,oi=/(^|\s+)\/\/([^\r\n]*)/g,yi=/^(\r?\n)+/,Ki=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Ci=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Rn=/(\r?\n|^) *\* ?/g,Ri=[];function rs(st){let Ms=st.match(Qn);return Ms?Ms[0].trimLeft():""}function wi(st){let Ms=st.match(Qn);return Ms&&Ms[0]?st.substring(Ms[0].length):st}function Xi(st){return js(st).pragmas}function js(st){let Ms=(0,bn().default)(st)||yn().EOL;st=st.replace(ni,"").replace(on,"").replace(Rn,"$1");let ra="";for(;ra!==st;)ra=st,st=st.replace(Ki,`${Ms}$1 $2${Ms}`);st=st.replace(yi,"").trimRight();let Os=Object.create(null),So=st.replace(Ci,"").replace(yi,"").trimRight(),Ps;for(;Ps=Ci.exec(st);){let Gi=Ps[2].replace(oi,"");typeof Os[Ps[1]]=="string"||Array.isArray(Os[Ps[1]])?Os[Ps[1]]=Ri.concat(Os[Ps[1]],Gi):Os[Ps[1]]=Gi}return{comments:So,pragmas:Os}}function _i(st){let{comments:Ms="",pragmas:ra={}}=st,Os=(0,bn().default)(Ms)||yn().EOL,So="/**",Ps=" *",Gi=" */",ce=Object.keys(ra),Oe=ce.map(wt=>Ui(wt,ra[wt])).reduce((wt,Ut)=>wt.concat(Ut),[]).map(wt=>`${Ps} ${wt}${Os}`).join("");if(!Ms){if(ce.length===0)return"";if(ce.length===1&&!Array.isArray(ra[ce[0]])){let wt=ra[ce[0]];return`${So} ${Ui(ce[0],wt)[0]}${Gi}`}}let vt=Ms.split(Os).map(wt=>`${Ps} ${wt}`).join(Os)+Os;return So+Os+(Ms?vt:"")+(Ms&&ce.length?Ps+Os:"")+Oe+Gi}function Ui(st,Ms){return Ri.concat(Ms).map(ra=>`@${st} ${ra}`.trim())}}}),gi=Pr({"src/common/end-of-line.js"(ri,yn){re();function bn(Qn){let oi=Qn.indexOf("\r");return oi>=0?Qn.charAt(oi+1)===`
260
- `?"crlf":"cr":"lf"}function an(Qn){switch(Qn){case"cr":return"\r";case"crlf":return`\r
261
- `;default:return`
262
- `}}function on(Qn,oi){let yi;switch(oi){case`
263
- `:yi=/\n/g;break;case"\r":yi=/\r/g;break;case`\r
264
- `:yi=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(oi)}.`)}let Ki=Qn.match(yi);return Ki?Ki.length:0}function ni(Qn){return Qn.replace(/\r\n?/g,`
265
- `)}yn.exports={guessEndOfLine:bn,convertEndOfLineToChars:an,countEndOfLineChars:on,normalizeEndOfLine:ni}}}),ss=Pr({"src/language-js/pragma.js"(ri,yn){re();var{parseWithComments:bn,strip:an,extract:on,print:ni}=pr(),{normalizeEndOfLine:Qn}=gi(),oi=Fe();function yi(Rn){let Ri=oi(Rn);Ri&&(Rn=Rn.slice(Ri.length+1));let rs=on(Rn),{pragmas:wi,comments:Xi}=bn(rs);return{shebang:Ri,text:Rn,pragmas:wi,comments:Xi}}function Ki(Rn){let Ri=Object.keys(yi(Rn).pragmas);return Ri.includes("prettier")||Ri.includes("format")}function Ci(Rn){let{shebang:Ri,text:rs,pragmas:wi,comments:Xi}=yi(Rn),js=an(rs),_i=ni({pragmas:Object.assign({format:""},wi),comments:Xi.trimStart()});return(Ri?`${Ri}
266
- `:"")+Qn(_i)+(js.startsWith(`
267
- `)?`
268
- `:`
269
-
270
- `)+js}yn.exports={hasPragma:Ki,insertPragma:Ci}}}),us=Pr({"src/utils/is-non-empty-array.js"(ri,yn){re();function bn(an){return Array.isArray(an)&&an.length>0}yn.exports=bn}}),xs=Pr({"src/language-js/loc.js"(ri,yn){re();var bn=us();function an(yi){var Ki,Ci;let Rn=yi.range?yi.range[0]:yi.start,Ri=(Ki=(Ci=yi.declaration)===null||Ci===void 0?void 0:Ci.decorators)!==null&&Ki!==void 0?Ki:yi.decorators;return bn(Ri)?Math.min(an(Ri[0]),Rn):Rn}function on(yi){return yi.range?yi.range[1]:yi.end}function ni(yi,Ki){let Ci=an(yi);return Number.isInteger(Ci)&&Ci===an(Ki)}function Qn(yi,Ki){let Ci=on(yi);return Number.isInteger(Ci)&&Ci===on(Ki)}function oi(yi,Ki){return ni(yi,Ki)&&Qn(yi,Ki)}yn.exports={locStart:an,locEnd:on,hasSameLocStart:ni,hasSameLoc:oi}}}),ks=Pr({"src/language-js/parse/utils/create-parser.js"(ri,yn){re();var{hasPragma:bn}=ss(),{locStart:an,locEnd:on}=xs();function ni(Qn){return Qn=typeof Qn=="function"?{parse:Qn}:Qn,Object.assign({astFormat:"estree",hasPragma:bn,locStart:an,locEnd:on},Qn)}yn.exports=ni}}),Bi=Pr({"src/common/parser-create-error.js"(ri,yn){re();function bn(an,on){let ni=new SyntaxError(an+" ("+on.start.line+":"+on.start.column+")");return ni.loc=on,ni}yn.exports=bn}}),Fu=Pr({"src/language-js/parse/utils/create-babel-parse-error.js"(ri,yn){re();var bn=Bi();function an(on){let{message:ni,loc:Qn}=on;return bn(ni.replace(/ \(.*\)/,""),{start:{line:Qn?Qn.line:0,column:Qn?Qn.column+1:0}})}yn.exports=an}}),uu=Pr({"src/language-js/utils/is-ts-keyword-type.js"(ri,yn){re();function bn(an){let{type:on}=an;return on.startsWith("TS")&&on.endsWith("Keyword")}yn.exports=bn}}),so=Pr({"src/language-js/utils/is-block-comment.js"(ri,yn){re();var bn=new Set(["Block","CommentBlock","MultiLine"]),an=on=>bn.has(on==null?void 0:on.type);yn.exports=an}}),Na=Pr({"src/language-js/utils/is-type-cast-comment.js"(ri,yn){re();var bn=so();function an(on){return bn(on)&&on.value[0]==="*"&&/@type\b/.test(on.value)}yn.exports=an}}),ku=Pr({"src/utils/get-last.js"(ri,yn){re();var bn=an=>an[an.length-1];yn.exports=bn}}),xi=Pr({"src/language-js/parse/postprocess/visit-node.js"(ri,yn){re();function bn(an,on){if(Array.isArray(an)){for(let ni=0;ni<an.length;ni++)an[ni]=bn(an[ni],on);return an}if(an&&typeof an=="object"&&typeof an.type=="string"){let ni=Object.keys(an);for(let Qn=0;Qn<ni.length;Qn++)an[ni[Qn]]=bn(an[ni[Qn]],on);return on(an)||an}return an}yn.exports=bn}}),yo=Pr({"src/language-js/parse/postprocess/throw-syntax-error.js"(ri,yn){re();var bn=Bi();function an(on,ni){let{start:Qn,end:oi}=on.loc;throw bn(ni,{start:{line:Qn.line,column:Qn.column+1},end:{line:oi.line,column:oi.column+1}})}yn.exports=an}}),lu=Pr({"src/language-js/parse/postprocess/typescript.js"(ri,yn){re();var bn=us(),an=xi(),on=yo(),ni={AbstractKeyword:126,SourceFile:308,PropertyDeclaration:169};function Qn(Ci){for(;Ci&&Ci.kind!==ni.SourceFile;)Ci=Ci.parent;return Ci}function oi(Ci){let{illegalDecorators:Rn}=Ci;if(!bn(Rn))return;let[{expression:Ri}]=Rn,rs=Qn(Ri),[wi,Xi]=[Ri.pos,Ri.end].map(js=>{let{line:_i,character:Ui}=rs.getLineAndCharacterOfPosition(js);return{line:_i+1,column:Ui}});on({loc:{start:wi,end:Xi}},"Decorators are not valid here.")}function yi(Ci,Rn){Ci.kind!==ni.PropertyDeclaration||Ci.modifiers&&!Ci.modifiers.some(Ri=>Ri.kind===ni.AbstractKeyword)||Ci.initializer&&Rn.value===null&&on(Rn,"Abstract property cannot have an initializer")}function Ki(Ci,Rn){let{esTreeNodeToTSNodeMap:Ri,tsNodeToESTreeNodeMap:rs}=Rn.tsParseResult;an(Ci,wi=>{let Xi=Ri.get(wi);if(!Xi)return;let js=rs.get(Xi);js===wi&&(oi(Xi),yi(Xi,js))})}yn.exports={throwErrorForInvalidNodes:Ki}}}),Pu=Pr({"src/language-js/parse/postprocess/index.js"(ri,yn){re();var{locStart:bn,locEnd:an}=xs(),on=uu(),ni=Na(),Qn=ku(),oi=xi(),{throwErrorForInvalidNodes:yi}=lu(),Ki=yo();function Ci(wi,Xi){if(Xi.parser==="typescript"&&/@|abstract/.test(Xi.originalText)&&yi(wi,Xi),Xi.parser!=="typescript"&&Xi.parser!=="flow"&&Xi.parser!=="acorn"&&Xi.parser!=="espree"&&Xi.parser!=="meriyah"){let _i=new Set;wi=oi(wi,Ui=>{Ui.leadingComments&&Ui.leadingComments.some(ni)&&_i.add(bn(Ui))}),wi=oi(wi,Ui=>{if(Ui.type==="ParenthesizedExpression"){let{expression:st}=Ui;if(st.type==="TypeCastExpression")return st.range=Ui.range,st;let Ms=bn(Ui);if(!_i.has(Ms))return st.extra=Object.assign(Object.assign({},st.extra),{},{parenthesized:!0}),st}})}return wi=oi(wi,_i=>{switch(_i.type){case"ChainExpression":return Rn(_i.expression);case"LogicalExpression":{if(Ri(_i))return rs(_i);break}case"VariableDeclaration":{let Ui=Qn(_i.declarations);Ui&&Ui.init&&js(_i,Ui);break}case"TSParenthesizedType":return on(_i.typeAnnotation)||_i.typeAnnotation.type==="TSThisType"||(_i.typeAnnotation.range=[bn(_i),an(_i)]),_i.typeAnnotation;case"TSTypeParameter":if(typeof _i.name=="string"){let Ui=bn(_i);_i.name={type:"Identifier",name:_i.name,range:[Ui,Ui+_i.name.length]}}break;case"ObjectExpression":if(Xi.parser==="typescript"){let Ui=_i.properties.find(st=>st.type==="Property"&&st.value.type==="TSEmptyBodyFunctionExpression");Ui&&Ki(Ui.value,"Unexpected token.")}break;case"SequenceExpression":{let Ui=Qn(_i.expressions);_i.range=[bn(_i),Math.min(an(Ui),an(_i))];break}case"TopicReference":Xi.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:Ui}=_i;if(Xi.parser==="meriyah"&&Ui&&Ui.type==="Identifier"){let st=Xi.originalText.slice(bn(Ui),an(Ui));(st.startsWith('"')||st.startsWith("'"))&&(_i.exported=Object.assign(Object.assign({},_i.exported),{},{type:"Literal",value:_i.exported.name,raw:st}))}break}case"PropertyDefinition":if(Xi.parser==="meriyah"&&_i.static&&!_i.computed&&!_i.key){let Ui="static",st=bn(_i);Object.assign(_i,{static:!1,key:{type:"Identifier",name:Ui,range:[st,st+Ui.length]}})}break}}),wi;function js(_i,Ui){Xi.originalText[an(Ui)]!==";"&&(_i.range=[bn(_i),an(Ui)])}}function Rn(wi){switch(wi.type){case"CallExpression":wi.type="OptionalCallExpression",wi.callee=Rn(wi.callee);break;case"MemberExpression":wi.type="OptionalMemberExpression",wi.object=Rn(wi.object);break;case"TSNonNullExpression":wi.expression=Rn(wi.expression);break}return wi}function Ri(wi){return wi.type==="LogicalExpression"&&wi.right.type==="LogicalExpression"&&wi.operator===wi.right.operator}function rs(wi){return Ri(wi)?rs({type:"LogicalExpression",operator:wi.operator,left:rs({type:"LogicalExpression",operator:wi.operator,left:wi.left,right:wi.right.left,range:[bn(wi.left),an(wi.right.left)]}),right:wi.right.right,range:[bn(wi),an(wi)]}):wi}yn.exports=Ci}}),zo=Pr({"node_modules/@babel/parser/lib/index.js"(ri){re(),Object.defineProperty(ri,"__esModule",{value:!0});function yn(s,t){if(s==null)return{};var r={},a=Object.keys(s),l,f;for(f=0;f<a.length;f++)l=a[f],!(t.indexOf(l)>=0)&&(r[l]=s[l]);return r}var bn=class{constructor(s,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=s,this.column=t,this.index=r}},an=class{constructor(s,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=s,this.end=t}};function on(s,t){let{line:r,column:a,index:l}=s;return new bn(r,a+t,l+t)}var ni={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},Qn=function(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s.length-1;return{get(){return s.reduce((r,a)=>r[a],this)},set(r){s.reduce((a,l,f)=>f===t?a[l]=r:a[l],this)}}},oi=(s,t,r)=>Object.keys(r).map(a=>[a,r[a]]).filter(a=>{let[,l]=a;return!!l}).map(a=>{let[l,f]=a;return[l,typeof f=="function"?{value:f,enumerable:!1}:typeof f.reflect=="string"?Object.assign({},f,Qn(f.reflect.split("."))):f]}).reduce((a,l)=>{let[f,m]=l;return Object.defineProperty(a,f,Object.assign({configurable:!0},m))},Object.assign(new s,t)),yi={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:ni.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:ni.SourceTypeModuleError}},Ki={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=s=>{let{type:t,prefix:r}=s;return t==="UpdateExpression"?Ki.UpdateExpression[String(r)]:Ki[t]},Rn={AccessorIsGenerator:s=>{let{kind:t}=s;return`A ${t}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.",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' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor 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:s=>{let{kind:t}=s;return`Missing initializer in ${t} 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. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",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:s=>{let{exportName:t}=s;return`\`${t}\` 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:s=>{let{localName:t,exportName:r}=s;return`A string literal cannot be used as an exported binding without \`from\`.
271
- - Did you mean \`export { '${t}' as '${r}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:s=>{let{type:t}=s;return`'${t==="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:s=>{let{type:t}=s;return`Unsyntactic ${t==="BreakStatement"?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:s=>{let{importName:t}=s;return`A string literal cannot be used as an imported binding.
272
- - Did you mean \`import { "${t}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:s=>{let{maxArgumentCount:t}=s;return`\`import()\` requires exactly ${t===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:s=>{let{radix:t}=s;return`Expected number in radix ${t}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:s=>{let{reservedWord:t}=s;return`Escape sequence in keyword ${t}.`},InvalidIdentifier:s=>{let{identifierName:t}=s;return`Invalid identifier ${t}.`},InvalidLhs:s=>{let{ancestor:t}=s;return`Invalid left-hand side in ${Ci(t)}.`},InvalidLhsBinding:s=>{let{ancestor:t}=s;return`Binding invalid left-hand side in ${Ci(t)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:s=>{let{unexpected:t}=s;return`Unexpected character '${t}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:s=>{let{identifierName:t}=s;return`Private name #${t} 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:s=>{let{labelName:t}=s;return`Label '${t}' 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:s=>{let{missingPlugin:t}=s;return`This experimental syntax requires enabling the parser plugin: ${t.map(r=>JSON.stringify(r)).join(", ")}.`},MissingOneOfPlugins:s=>{let{missingPlugin:t}=s;return`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map(r=>JSON.stringify(r)).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:s=>{let{key:t}=s;return`Duplicate key "${t}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:s=>{let{surrogateCharCode:t}=s;return`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`},ModuleExportUndefined:s=>{let{localName:t}=s;return`Export '${t}' 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:s=>{let{identifierName:t}=s;return`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`},PrivateNameRedeclaration:s=>{let{identifierName:t}=s;return`Duplicate private name #${t}.`},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, 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:s=>{let{keyword:t}=s;return`Unexpected keyword '${t}'.`},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:s=>{let{reservedWord:t}=s;return`Unexpected reserved word '${t}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:s=>{let{expected:t,unexpected:r}=s;return`Unexpected token${r?` '${r}'.`:""}${t?`, expected "${t}"`:""}`},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:s=>{let{target:t,onlyValidPropertyName:r}=s;return`The only valid meta property for ${t} is ${t}.${r}.`},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:s=>{let{identifierName:t}=s;return`Identifier '${t}' 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."},Ri={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:s=>{let{referenceName:t}=s;return`Assigning to '${t}' in strict mode.`},StrictEvalArgumentsBinding:s=>{let{bindingName:t}=s;return`Binding '${t}' 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."},rs=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),wi={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:s=>{let{token:t}=s;return`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:s=>{let{type:t}=s;return`Hack-style pipe body cannot be an unparenthesized ${Ci({type:t})}; 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.'},Xi=["toMessage"],js=["message"];function _i(s){let{toMessage:t}=s,r=yn(s,Xi);return function a(l){let{loc:f,details:m}=l;return oi(SyntaxError,Object.assign({},r,{loc:f}),{clone(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=d.loc||{};return a({loc:new bn("line"in y?y.line:this.loc.line,"column"in y?y.column:this.loc.column,"index"in y?y.index:this.loc.index),details:Object.assign({},this.details,d.details)})},details:{value:m,enumerable:!1},message:{get(){return`${t(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 m&&{reflect:"details.missingPlugin",enumerable:!0}})}}function Ui(s,t){if(Array.isArray(s))return a=>Ui(a,s[0]);let r={};for(let a of Object.keys(s)){let l=s[a],f=typeof l=="string"?{message:()=>l}:typeof l=="function"?{message:l}:l,{message:m}=f,d=yn(f,js),y=typeof m=="string"?()=>m:m;r[a]=_i(Object.assign({code:ni.SyntaxError,reasonCode:a,toMessage:y},t?{syntaxPlugin:t}:{},d))}return r}var st=Object.assign({},Ui(yi),Ui(Rn),Ui(Ri),Ui`pipelineOperator`(wi)),{defineProperty:Ms}=Object,ra=(s,t)=>Ms(s,t,{enumerable:!1,value:s[t]});function Os(s){return s.loc.start&&ra(s.loc.start,"index"),s.loc.end&&ra(s.loc.end,"index"),s}var So=s=>class extends s{parse(){let t=Os(super.parse());return this.options.tokens&&(t.tokens=t.tokens.map(Os)),t}parseRegExpLiteral(t){let{pattern:r,flags:a}=t,l=null;try{l=new RegExp(r,a)}catch{}let f=this.estreeParseLiteral(l);return f.regex={pattern:r,flags:a},f}parseBigIntLiteral(t){let r;try{r=BigInt(t)}catch{r=null}let a=this.estreeParseLiteral(r);return a.bigint=String(a.value||t),a}parseDecimalLiteral(t){let r=this.estreeParseLiteral(null);return r.decimal=String(r.value||t),r}estreeParseLiteral(t){return this.parseLiteral(t,"Literal")}parseStringLiteral(t){return this.estreeParseLiteral(t)}parseNumericLiteral(t){return this.estreeParseLiteral(t)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(t){return this.estreeParseLiteral(t)}directiveToStmt(t){let r=t.value;delete t.value,r.type="Literal",r.raw=r.extra.raw,r.value=r.extra.expressionValue;let a=t;return a.type="ExpressionStatement",a.expression=r,a.directive=r.extra.rawValue,delete r.extra,a}initFunction(t,r){super.initFunction(t,r),t.expression=!1}checkDeclaration(t){t!=null&&this.isObjectProperty(t)?this.checkDeclaration(t.value):super.checkDeclaration(t)}getObjectOrClassMethodParams(t){return t.value.params}isValidDirective(t){var r;return t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value=="string"&&!((r=t.expression.extra)!=null&&r.parenthesized)}parseBlockBody(t,r,a,l,f){super.parseBlockBody(t,r,a,l,f);let m=t.directives.map(d=>this.directiveToStmt(d));t.body=m.concat(t.body),delete t.directives}pushClassMethod(t,r,a,l,f,m){this.parseMethod(r,a,l,f,m,"ClassMethod",!0),r.typeParameters&&(r.value.typeParameters=r.typeParameters,delete r.typeParameters),t.body.push(r)}parsePrivateName(){let t=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(t):t}convertPrivateNameToPrivateIdentifier(t){let r=super.getPrivateNameSV(t);return t=t,delete t.id,t.name=r,t.type="PrivateIdentifier",t}isPrivateName(t){return this.getPluginOption("estree","classFeatures")?t.type==="PrivateIdentifier":super.isPrivateName(t)}getPrivateNameSV(t){return this.getPluginOption("estree","classFeatures")?t.name:super.getPrivateNameSV(t)}parseLiteral(t,r){let a=super.parseLiteral(t,r);return a.raw=a.extra.raw,delete a.extra,a}parseFunctionBody(t,r){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;super.parseFunctionBody(t,r,a),t.expression=t.body.type!=="BlockStatement"}parseMethod(t,r,a,l,f,m){let d=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,y=this.startNode();return y.kind=t.kind,y=super.parseMethod(y,r,a,l,f,m,d),y.type="FunctionExpression",delete y.kind,t.value=y,m==="ClassPrivateMethod"&&(t.computed=!1),this.finishNode(t,"MethodDefinition")}parseClassProperty(){let t=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(t.type="PropertyDefinition"),t}parseClassPrivateProperty(){let t=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(t.type="PropertyDefinition",t.computed=!1),t}parseObjectMethod(t,r,a,l,f){let m=super.parseObjectMethod(t,r,a,l,f);return m&&(m.type="Property",m.kind==="method"&&(m.kind="init"),m.shorthand=!1),m}parseObjectProperty(t,r,a,l){let f=super.parseObjectProperty(t,r,a,l);return f&&(f.kind="init",f.type="Property"),f}isValidLVal(t,r,a){return t==="Property"?"value":super.isValidLVal(t,r,a)}isAssignable(t,r){return t!=null&&this.isObjectProperty(t)?this.isAssignable(t.value,r):super.isAssignable(t,r)}toAssignable(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t!=null&&this.isObjectProperty(t)){let{key:a,value:l}=t;this.isPrivateName(a)&&this.classScope.usePrivateName(this.getPrivateNameSV(a),a.loc.start),this.toAssignable(l,r)}else super.toAssignable(t,r)}toAssignableObjectExpressionProp(t,r,a){t.kind==="get"||t.kind==="set"?this.raise(st.PatternHasAccessor,{at:t.key}):t.method?this.raise(st.PatternHasMethod,{at:t.key}):super.toAssignableObjectExpressionProp(t,r,a)}finishCallExpression(t,r){let a=super.finishCallExpression(t,r);if(a.callee.type==="Import"){if(a.type="ImportExpression",a.source=a.arguments[0],this.hasPlugin("importAssertions")){var l;a.attributes=(l=a.arguments[1])!=null?l:null}delete a.arguments,delete a.callee}return a}toReferencedArguments(t){t.type!=="ImportExpression"&&super.toReferencedArguments(t)}parseExport(t,r){let a=this.state.lastTokStartLoc,l=super.parseExport(t,r);switch(l.type){case"ExportAllDeclaration":l.exported=null;break;case"ExportNamedDeclaration":l.specifiers.length===1&&l.specifiers[0].type==="ExportNamespaceSpecifier"&&(l.type="ExportAllDeclaration",l.exported=l.specifiers[0].exported,delete l.specifiers);case"ExportDefaultDeclaration":{var f;let{declaration:m}=l;(m==null?void 0:m.type)==="ClassDeclaration"&&((f=m.decorators)==null?void 0:f.length)>0&&m.start===l.start&&this.resetStartLocation(l,a)}break}return l}parseSubscript(t,r,a,l){let f=super.parseSubscript(t,r,a,l);if(l.optionalChainMember){if((f.type==="OptionalMemberExpression"||f.type==="OptionalCallExpression")&&(f.type=f.type.substring(8)),l.stop){let m=this.startNodeAtNode(f);return m.expression=f,this.finishNode(m,"ChainExpression")}}else(f.type==="MemberExpression"||f.type==="CallExpression")&&(f.optional=!1);return f}hasPropertyAsPrivateName(t){return t.type==="ChainExpression"&&(t=t.expression),super.hasPropertyAsPrivateName(t)}isOptionalChain(t){return t.type==="ChainExpression"}isObjectProperty(t){return t.type==="Property"&&t.kind==="init"&&!t.method}isObjectMethod(t){return t.method||t.kind==="get"||t.kind==="set"}finishNodeAt(t,r,a){return Os(super.finishNodeAt(t,r,a))}resetStartLocation(t,r){super.resetStartLocation(t,r),Os(t)}resetEndLocation(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(t,r),Os(t)}},Ps=class{constructor(s,t){this.token=void 0,this.preserveSpace=void 0,this.token=s,this.preserveSpace=!!t}},Gi={brace:new Ps("{"),j_oTag:new Ps("<tag"),j_cTag:new Ps("</tag"),j_expr:new Ps("<tag>...</tag>",!0)};Gi.template=new Ps("`",!0);var ce=!0,Oe=!0,vt=!0,wt=!0,Ut=!0,et=!0,gt=class{constructor(s){let t=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=s,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop!=null?t.binop:null,this.updateContext=null}},lr=new Map;function Ot(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.keyword=s;let r=rn(s,t);return lr.set(s,r),r}function An(s,t){return rn(s,{beforeExpr:ce,binop:t})}var ut=-1,It=[],ar=[],qr=[],br=[],zr=[],Hn=[];function rn(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r,a,l,f;return++ut,ar.push(s),qr.push((r=t.binop)!=null?r:-1),br.push((a=t.beforeExpr)!=null?a:!1),zr.push((l=t.startsExpr)!=null?l:!1),Hn.push((f=t.prefix)!=null?f:!1),It.push(new gt(s,t)),ut}function Wr(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r,a,l,f;return++ut,lr.set(s,ut),ar.push(s),qr.push((r=t.binop)!=null?r:-1),br.push((a=t.beforeExpr)!=null?a:!1),zr.push((l=t.startsExpr)!=null?l:!1),Hn.push((f=t.prefix)!=null?f:!1),It.push(new gt("name",t)),ut}var pi={bracketL:rn("[",{beforeExpr:ce,startsExpr:Oe}),bracketHashL:rn("#[",{beforeExpr:ce,startsExpr:Oe}),bracketBarL:rn("[|",{beforeExpr:ce,startsExpr:Oe}),bracketR:rn("]"),bracketBarR:rn("|]"),braceL:rn("{",{beforeExpr:ce,startsExpr:Oe}),braceBarL:rn("{|",{beforeExpr:ce,startsExpr:Oe}),braceHashL:rn("#{",{beforeExpr:ce,startsExpr:Oe}),braceR:rn("}"),braceBarR:rn("|}"),parenL:rn("(",{beforeExpr:ce,startsExpr:Oe}),parenR:rn(")"),comma:rn(",",{beforeExpr:ce}),semi:rn(";",{beforeExpr:ce}),colon:rn(":",{beforeExpr:ce}),doubleColon:rn("::",{beforeExpr:ce}),dot:rn("."),question:rn("?",{beforeExpr:ce}),questionDot:rn("?."),arrow:rn("=>",{beforeExpr:ce}),template:rn("template"),ellipsis:rn("...",{beforeExpr:ce}),backQuote:rn("`",{startsExpr:Oe}),dollarBraceL:rn("${",{beforeExpr:ce,startsExpr:Oe}),templateTail:rn("...`",{startsExpr:Oe}),templateNonTail:rn("...${",{beforeExpr:ce,startsExpr:Oe}),at:rn("@"),hash:rn("#",{startsExpr:Oe}),interpreterDirective:rn("#!..."),eq:rn("=",{beforeExpr:ce,isAssign:wt}),assign:rn("_=",{beforeExpr:ce,isAssign:wt}),slashAssign:rn("_=",{beforeExpr:ce,isAssign:wt}),xorAssign:rn("_=",{beforeExpr:ce,isAssign:wt}),moduloAssign:rn("_=",{beforeExpr:ce,isAssign:wt}),incDec:rn("++/--",{prefix:Ut,postfix:et,startsExpr:Oe}),bang:rn("!",{beforeExpr:ce,prefix:Ut,startsExpr:Oe}),tilde:rn("~",{beforeExpr:ce,prefix:Ut,startsExpr:Oe}),doubleCaret:rn("^^",{startsExpr:Oe}),doubleAt:rn("@@",{startsExpr:Oe}),pipeline:An("|>",0),nullishCoalescing:An("??",1),logicalOR:An("||",1),logicalAND:An("&&",2),bitwiseOR:An("|",3),bitwiseXOR:An("^",4),bitwiseAND:An("&",5),equality:An("==/!=/===/!==",6),lt:An("</>/<=/>=",7),gt:An("</>/<=/>=",7),relational:An("</>/<=/>=",7),bitShift:An("<</>>/>>>",8),bitShiftL:An("<</>>/>>>",8),bitShiftR:An("<</>>/>>>",8),plusMin:rn("+/-",{beforeExpr:ce,binop:9,prefix:Ut,startsExpr:Oe}),modulo:rn("%",{binop:10,startsExpr:Oe}),star:rn("*",{binop:10}),slash:An("/",10),exponent:rn("**",{beforeExpr:ce,binop:11,rightAssociative:!0}),_in:Ot("in",{beforeExpr:ce,binop:7}),_instanceof:Ot("instanceof",{beforeExpr:ce,binop:7}),_break:Ot("break"),_case:Ot("case",{beforeExpr:ce}),_catch:Ot("catch"),_continue:Ot("continue"),_debugger:Ot("debugger"),_default:Ot("default",{beforeExpr:ce}),_else:Ot("else",{beforeExpr:ce}),_finally:Ot("finally"),_function:Ot("function",{startsExpr:Oe}),_if:Ot("if"),_return:Ot("return",{beforeExpr:ce}),_switch:Ot("switch"),_throw:Ot("throw",{beforeExpr:ce,prefix:Ut,startsExpr:Oe}),_try:Ot("try"),_var:Ot("var"),_const:Ot("const"),_with:Ot("with"),_new:Ot("new",{beforeExpr:ce,startsExpr:Oe}),_this:Ot("this",{startsExpr:Oe}),_super:Ot("super",{startsExpr:Oe}),_class:Ot("class",{startsExpr:Oe}),_extends:Ot("extends",{beforeExpr:ce}),_export:Ot("export"),_import:Ot("import",{startsExpr:Oe}),_null:Ot("null",{startsExpr:Oe}),_true:Ot("true",{startsExpr:Oe}),_false:Ot("false",{startsExpr:Oe}),_typeof:Ot("typeof",{beforeExpr:ce,prefix:Ut,startsExpr:Oe}),_void:Ot("void",{beforeExpr:ce,prefix:Ut,startsExpr:Oe}),_delete:Ot("delete",{beforeExpr:ce,prefix:Ut,startsExpr:Oe}),_do:Ot("do",{isLoop:vt,beforeExpr:ce}),_for:Ot("for",{isLoop:vt}),_while:Ot("while",{isLoop:vt}),_as:Wr("as",{startsExpr:Oe}),_assert:Wr("assert",{startsExpr:Oe}),_async:Wr("async",{startsExpr:Oe}),_await:Wr("await",{startsExpr:Oe}),_from:Wr("from",{startsExpr:Oe}),_get:Wr("get",{startsExpr:Oe}),_let:Wr("let",{startsExpr:Oe}),_meta:Wr("meta",{startsExpr:Oe}),_of:Wr("of",{startsExpr:Oe}),_sent:Wr("sent",{startsExpr:Oe}),_set:Wr("set",{startsExpr:Oe}),_static:Wr("static",{startsExpr:Oe}),_using:Wr("using",{startsExpr:Oe}),_yield:Wr("yield",{startsExpr:Oe}),_asserts:Wr("asserts",{startsExpr:Oe}),_checks:Wr("checks",{startsExpr:Oe}),_exports:Wr("exports",{startsExpr:Oe}),_global:Wr("global",{startsExpr:Oe}),_implements:Wr("implements",{startsExpr:Oe}),_intrinsic:Wr("intrinsic",{startsExpr:Oe}),_infer:Wr("infer",{startsExpr:Oe}),_is:Wr("is",{startsExpr:Oe}),_mixins:Wr("mixins",{startsExpr:Oe}),_proto:Wr("proto",{startsExpr:Oe}),_require:Wr("require",{startsExpr:Oe}),_satisfies:Wr("satisfies",{startsExpr:Oe}),_keyof:Wr("keyof",{startsExpr:Oe}),_readonly:Wr("readonly",{startsExpr:Oe}),_unique:Wr("unique",{startsExpr:Oe}),_abstract:Wr("abstract",{startsExpr:Oe}),_declare:Wr("declare",{startsExpr:Oe}),_enum:Wr("enum",{startsExpr:Oe}),_module:Wr("module",{startsExpr:Oe}),_namespace:Wr("namespace",{startsExpr:Oe}),_interface:Wr("interface",{startsExpr:Oe}),_type:Wr("type",{startsExpr:Oe}),_opaque:Wr("opaque",{startsExpr:Oe}),name:rn("name",{startsExpr:Oe}),string:rn("string",{startsExpr:Oe}),num:rn("num",{startsExpr:Oe}),bigint:rn("bigint",{startsExpr:Oe}),decimal:rn("decimal",{startsExpr:Oe}),regexp:rn("regexp",{startsExpr:Oe}),privateName:rn("#name",{startsExpr:Oe}),eof:rn("eof"),jsxName:rn("jsxName"),jsxText:rn("jsxText",{beforeExpr:!0}),jsxTagStart:rn("jsxTagStart",{startsExpr:!0}),jsxTagEnd:rn("jsxTagEnd"),placeholder:rn("%%",{startsExpr:!0})};function Ln(s){return s>=93&&s<=130}function Cs(s){return s<=92}function en(s){return s>=58&&s<=130}function Si(s){return s>=58&&s<=134}function Ai(s){return br[s]}function Wi(s){return zr[s]}function cs(s){return s>=29&&s<=33}function We(s){return s>=127&&s<=129}function ft(s){return s>=90&&s<=92}function Or(s){return s>=58&&s<=92}function ir(s){return s>=39&&s<=59}function xn(s){return s===34}function $i(s){return Hn[s]}function Ji(s){return s>=119&&s<=121}function Js(s){return s>=122&&s<=128}function Ns(s){return ar[s]}function na(s){return qr[s]}function Ts(s){return s===57}function la(s){return s>=24&&s<=25}function Rs(s){return It[s]}It[8].updateContext=s=>{s.pop()},It[5].updateContext=It[7].updateContext=It[23].updateContext=s=>{s.push(Gi.brace)},It[22].updateContext=s=>{s[s.length-1]===Gi.template?s.pop():s.push(Gi.template)},It[140].updateContext=s=>{s.push(Gi.j_expr,Gi.j_oTag)};var ca="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",En="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",qn=new RegExp("["+ca+"]"),hi=new RegExp("["+ca+En+"]");ca=En=null;var si=[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],ai=[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 vs(s,t){let r=65536;for(let a=0,l=t.length;a<l;a+=2){if(r+=t[a],r>s)return!1;if(r+=t[a+1],r>=s)return!0}return!1}function ps(s){return s<65?s===36:s<=90?!0:s<97?s===95:s<=122?!0:s<=65535?s>=170&&qn.test(String.fromCharCode(s)):vs(s,si)}function bs(s){return s<48?s===36:s<58?!0:s<65?!1:s<=90?!0:s<97?s===95:s<=122?!0:s<=65535?s>=170&&hi.test(String.fromCharCode(s)):vs(s,si)||vs(s,ai)}var aa={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"]},Fo=new Set(aa.keyword),ko=new Set(aa.strict),Ka=new Set(aa.strictBind);function ru(s,t){return t&&s==="await"||s==="enum"}function Po(s,t){return ru(s,t)||ko.has(s)}function Ca(s){return Ka.has(s)}function Ba(s,t){return Po(s,t)||Ca(s)}function _a(s){return Fo.has(s)}function Ho(s,t,r){return s===64&&t===64&&ps(r)}var ls=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 uo(s){return ls.has(s)}var qo=0,Wo=1,vo=2,Lu=4,No=8,lo=16,pa=32,Ea=64,Ia=128,co=256,Vo=Wo|vo|Ia|co,Oa=1,ka=2,Mu=4,Ja=8,Bo=16,el=64,Go=128,du=256,mu=512,xo=1024,La=2048,Xa=4096,gu=Oa|ka|Ja|Go,Ya=Oa|0|Ja|0,tl=Oa|0|Mu|0,Hl=Oa|0|Bo|0,nc=0|ka|0|Go,El=0|ka|0|0,ju=Oa|ka|Ja|du,Ko=0|xo,ga=0|el,_o=Oa|0|0|el,yu=ju|mu,rl=0|xo,po=0|ka|0|Xa,bl=La,Qa=4,ia=2,Ma=1,Io=ia|Ma,Co=ia|Qa,Al=Ma|Qa,wl=ia,Du=Ma,vu=0,Za=class{constructor(s){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=s}},ja=class{constructor(s,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=s,this.inModule=t}get inTopLevel(){return(this.currentScope().flags&Wo)>0}get inFunction(){return(this.currentVarScopeFlags()&vo)>0}get allowSuper(){return(this.currentThisScopeFlags()&lo)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&pa)>0}get inClass(){return(this.currentThisScopeFlags()&Ea)>0}get inClassAndNotInNonArrowFunction(){let s=this.currentThisScopeFlags();return(s&Ea)>0&&(s&vo)===0}get inStaticBlock(){for(let s=this.scopeStack.length-1;;s--){let{flags:t}=this.scopeStack[s];if(t&Ia)return!0;if(t&(Vo|Ea))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&vo)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(s){return new Za(s)}enter(s){this.scopeStack.push(this.createScope(s))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(s){return!!(s.flags&(vo|Ia)||!this.parser.inModule&&s.flags&Wo)}declareName(s,t,r){let a=this.currentScope();if(t&Ja||t&Bo)this.checkRedeclarationInScope(a,s,t,r),t&Bo?a.functions.add(s):a.lexical.add(s),t&Ja&&this.maybeExportDefined(a,s);else if(t&Mu)for(let l=this.scopeStack.length-1;l>=0&&(a=this.scopeStack[l],this.checkRedeclarationInScope(a,s,t,r),a.var.add(s),this.maybeExportDefined(a,s),!(a.flags&Vo));--l);this.parser.inModule&&a.flags&Wo&&this.undefinedExports.delete(s)}maybeExportDefined(s,t){this.parser.inModule&&s.flags&Wo&&this.undefinedExports.delete(t)}checkRedeclarationInScope(s,t,r,a){this.isRedeclaredInScope(s,t,r)&&this.parser.raise(st.VarRedeclaration,{at:a,identifierName:t})}isRedeclaredInScope(s,t,r){return r&Oa?r&Ja?s.lexical.has(t)||s.functions.has(t)||s.var.has(t):r&Bo?s.lexical.has(t)||!this.treatFunctionsAsVarInScope(s)&&s.var.has(t):s.lexical.has(t)&&!(s.flags&No&&s.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(s)&&s.functions.has(t):!1}checkLocalExport(s){let{name:t}=s,r=this.scopeStack[0];!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)&&this.undefinedExports.set(t,s.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let s=this.scopeStack.length-1;;s--){let{flags:t}=this.scopeStack[s];if(t&Vo)return t}}currentThisScopeFlags(){for(let s=this.scopeStack.length-1;;s--){let{flags:t}=this.scopeStack[s];if(t&(Vo|Ea)&&!(t&Lu))return t}}},Ru=class extends Za{constructor(){super(...arguments),this.declareFunctions=new Set}},nl=class extends ja{createScope(s){return new Ru(s)}declareName(s,t,r){let a=this.currentScope();if(t&La){this.checkRedeclarationInScope(a,s,t,r),this.maybeExportDefined(a,s),a.declareFunctions.add(s);return}super.declareName(s,t,r)}isRedeclaredInScope(s,t,r){return super.isRedeclaredInScope(s,t,r)?!0:r&La?!s.declareFunctions.has(t)&&(s.lexical.has(t)||s.functions.has(t)):!1}checkLocalExport(s){this.scopeStack[0].declareFunctions.has(s.name)||super.checkLocalExport(s)}},$u=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(s){if(typeof s=="string")return this.plugins.has(s);{let[t,r]=s;if(!this.hasPlugin(t))return!1;let a=this.plugins.get(t);for(let l of Object.keys(r))if((a==null?void 0:a[l])!==r[l])return!1;return!0}}getPluginOption(s,t){var r;return(r=this.plugins.get(s))==null?void 0:r[t]}};function xu(s,t){s.trailingComments===void 0?s.trailingComments=t:s.trailingComments.unshift(...t)}function ql(s,t){s.leadingComments===void 0?s.leadingComments=t:s.leadingComments.unshift(...t)}function Cu(s,t){s.innerComments===void 0?s.innerComments=t:s.innerComments.unshift(...t)}function Xs(s,t,r){let a=null,l=t.length;for(;a===null&&l>0;)a=t[--l];a===null||a.start>r.start?Cu(s,r.comments):xu(a,r.comments)}var sa=class extends $u{addComment(s){this.filename&&(s.loc.filename=this.filename),this.state.comments.push(s)}processComment(s){let{commentStack:t}=this.state,r=t.length;if(r===0)return;let a=r-1,l=t[a];l.start===s.end&&(l.leadingNode=s,a--);let{start:f}=s;for(;a>=0;a--){let m=t[a],d=m.end;if(d>f)m.containingNode=s,this.finalizeComment(m),t.splice(a,1);else{d===f&&(m.trailingNode=s);break}}}finalizeComment(s){let{comments:t}=s;if(s.leadingNode!==null||s.trailingNode!==null)s.leadingNode!==null&&xu(s.leadingNode,t),s.trailingNode!==null&&ql(s.trailingNode,t);else{let{containingNode:r,start:a}=s;if(this.input.charCodeAt(a-1)===44)switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Xs(r,r.properties,s);break;case"CallExpression":case"OptionalCallExpression":Xs(r,r.arguments,s);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Xs(r,r.params,s);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Xs(r,r.elements,s);break;case"ExportNamedDeclaration":case"ImportDeclaration":Xs(r,r.specifiers,s);break;default:Cu(r,t)}else Cu(r,t)}}finalizeRemainingComments(){let{commentStack:s}=this.state;for(let t=s.length-1;t>=0;t--)this.finalizeComment(s[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(s){let{commentStack:t}=this.state,{length:r}=t;if(r===0)return;let a=t[r-1];a.leadingNode===s&&(a.leadingNode=null)}takeSurroundingComments(s,t,r){let{commentStack:a}=this.state,l=a.length;if(l===0)return;let f=l-1;for(;f>=0;f--){let m=a[f],d=m.end;if(m.start===r)m.leadingNode=s;else if(d===t)m.trailingNode=s;else if(d<t)break}}},oa=/\r\n?|[\n\u2028\u2029]/,$s=new RegExp(oa.source,"g");function Eo(s){switch(s){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var il=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,sl=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,Wl=new RegExp("(?=("+sl.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function ic(s){switch(s){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 Vl=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=[Gi.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init(s){let{strictMode:t,sourceType:r,startLine:a,startColumn:l}=s;this.strict=t===!1?!1:t===!0?!0:r==="module",this.curLine=a,this.lineStart=-l,this.startLoc=this.endLoc=new bn(a,l,0)}curPosition(){return new bn(this.curLine,this.pos-this.lineStart,this.pos)}clone(s){let t=new Vl,r=Object.keys(this);for(let a=0,l=r.length;a<l;a++){let f=r[a],m=this[f];!s&&Array.isArray(m)&&(m=m.slice()),t[f]=m}return t}},Tl=function(s){return s>=48&&s<=57},Jo={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Eu={bin:s=>s===48||s===49,oct:s=>s>=48&&s<=55,dec:s=>s>=48&&s<=57,hex:s=>s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102};function al(s,t,r,a,l,f){let m=r,d=a,y=l,v="",C=null,A=r,{length:B}=t;for(;;){if(r>=B){f.unterminated(m,d,y),v+=t.slice(A,r);break}let N=t.charCodeAt(r);if(zu(s,N,t,r)){v+=t.slice(A,r);break}if(N===92){v+=t.slice(A,r);let L=Sl(t,r,a,l,s==="template",f);L.ch===null&&!C?C={pos:r,lineStart:a,curLine:l}:v+=L.ch,{pos:r,lineStart:a,curLine:l}=L,A=r}else N===8232||N===8233?(++r,++l,a=r):N===10||N===13?s==="template"?(v+=t.slice(A,r)+`
273
- `,++r,N===13&&t.charCodeAt(r)===10&&++r,++l,A=a=r):f.unterminated(m,d,y):++r}return{pos:r,str:v,firstInvalidLoc:C,lineStart:a,curLine:l,containsInvalid:!!C}}function zu(s,t,r,a){return s==="template"?t===96||t===36&&r.charCodeAt(a+1)===123:t===(s==="double"?34:39)}function Sl(s,t,r,a,l,f){let m=!l;t++;let d=v=>({pos:t,ch:v,lineStart:r,curLine:a}),y=s.charCodeAt(t++);switch(y){case 110:return d(`
274
- `);case 114:return d("\r");case 120:{let v;return{code:v,pos:t}=ol(s,t,r,a,2,!1,m,f),d(v===null?null:String.fromCharCode(v))}case 117:{let v;return{code:v,pos:t}=ll(s,t,r,a,m,f),d(v===null?null:String.fromCodePoint(v))}case 116:return d(" ");case 98:return d("\b");case 118:return d("\v");case 102:return d("\f");case 13:s.charCodeAt(t)===10&&++t;case 10:r=t,++a;case 8232:case 8233:return d("");case 56:case 57:if(l)return d(null);f.strictNumericEscape(t-1,r,a);default:if(y>=48&&y<=55){let v=t-1,C=s.slice(v,t+2).match(/^[0-7]+/)[0],A=parseInt(C,8);A>255&&(C=C.slice(0,-1),A=parseInt(C,8)),t+=C.length-1;let B=s.charCodeAt(t);if(C!=="0"||B===56||B===57){if(l)return d(null);f.strictNumericEscape(v,r,a)}return d(String.fromCharCode(A))}return d(String.fromCharCode(y))}}function ol(s,t,r,a,l,f,m,d){let y=t,v;return{n:v,pos:t}=ul(s,t,r,a,16,l,f,!1,d,!m),v===null&&(m?d.invalidEscapeSequence(y,r,a):t=y-1),{code:v,pos:t}}function ul(s,t,r,a,l,f,m,d,y,v){let C=t,A=l===16?Jo.hex:Jo.decBinOct,B=l===16?Eu.hex:l===10?Eu.dec:l===8?Eu.oct:Eu.bin,N=!1,L=0;for(let P=0,_=f??1/0;P<_;++P){let R=s.charCodeAt(t),J;if(R===95&&d!=="bail"){let oe=s.charCodeAt(t-1),H=s.charCodeAt(t+1);if(d){if(Number.isNaN(H)||!B(H)||A.has(oe)||A.has(H)){if(v)return{n:null,pos:t};y.unexpectedNumericSeparator(t,r,a)}}else{if(v)return{n:null,pos:t};y.numericSeparatorInEscapeSequence(t,r,a)}++t;continue}if(R>=97?J=R-97+10:R>=65?J=R-65+10:Tl(R)?J=R-48:J=1/0,J>=l){if(J<=9&&v)return{n:null,pos:t};if(J<=9&&y.invalidDigit(t,r,a,l))J=0;else if(m)J=0,N=!0;else break}++t,L=L*l+J}return t===C||f!=null&&t-C!==f||N?{n:null,pos:t}:{n:L,pos:t}}function ll(s,t,r,a,l,f){let m=s.charCodeAt(t),d;if(m===123){if(++t,{code:d,pos:t}=ol(s,t,r,a,s.indexOf("}",t)-t,!0,l,f),++t,d!==null&&d>1114111)if(l)f.invalidCodePoint(t,r,a);else return{code:null,pos:t}}else({code:d,pos:t}=ol(s,t,r,a,4,!1,l,f));return{code:d,pos:t}}var Gl=["at"],Uu=["at"];function Hu(s,t,r){return new bn(r,s-t,s)}var Xo=new Set([103,109,115,105,121,117,100,118]),ha=class{constructor(s){this.type=s.type,this.value=s.value,this.start=s.start,this.end=s.end,this.loc=new an(s.startLoc,s.endLoc)}},Fl=class extends sa{constructor(s,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(r,a,l,f)=>this.options.errorRecovery?(this.raise(st.InvalidDigit,{at:Hu(r,a,l),radix:f}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(st.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(st.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(st.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(st.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(r,a,l)=>{this.recordStrictModeErrors(st.StrictNumericEscape,{at:Hu(r,a,l)})},unterminated:(r,a,l)=>{throw this.raise(st.UnterminatedString,{at:Hu(r-1,a,l)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(st.StrictNumericEscape),unterminated:(r,a,l)=>{throw this.raise(st.UnterminatedTemplate,{at:Hu(r,a,l)})}}),this.state=new Vl,this.state.init(s),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(s){this.tokens.length=this.state.tokensLength,this.tokens.push(s),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ha(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(s){return this.match(s)?(this.next(),!0):!1}match(s){return this.state.type===s}createLookaheadState(s){return{pos:s.pos,value:null,type:s.type,start:s.start,end:s.end,context:[this.curContext()],inType:s.inType,startLoc:s.startLoc,lastTokEndLoc:s.lastTokEndLoc,curLine:s.curLine,lineStart:s.lineStart,curPosition:s.curPosition}}lookahead(){let s=this.state;this.state=this.createLookaheadState(s),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=s,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(s){return il.lastIndex=s,il.test(this.input)?il.lastIndex:s}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(s){let t=this.input.charCodeAt(s);if((t&64512)===55296&&++s<this.input.length){let r=this.input.charCodeAt(s);(r&64512)===56320&&(t=65536+((t&1023)<<10)+(r&1023))}return t}setStrict(s){this.state.strict=s,s&&(this.state.strictErrors.forEach(t=>{let[r,a]=t;return this.raise(r,{at:a})}),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(s){let t;this.isLookahead||(t=this.state.curPosition());let r=this.state.pos,a=this.input.indexOf(s,r+2);if(a===-1)throw this.raise(st.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=a+s.length,$s.lastIndex=r+2;$s.test(this.input)&&$s.lastIndex<=a;)++this.state.curLine,this.state.lineStart=$s.lastIndex;if(this.isLookahead)return;let l={type:"CommentBlock",value:this.input.slice(r+2,a),start:r,end:a+s.length,loc:new an(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(l),l}skipLineComment(s){let t=this.state.pos,r;this.isLookahead||(r=this.state.curPosition());let a=this.input.charCodeAt(this.state.pos+=s);if(this.state.pos<this.length)for(;!Eo(a)&&++this.state.pos<this.length;)a=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let l=this.state.pos,f=this.input.slice(t+s,l),m={type:"CommentLine",value:f,start:t,end:l,loc:new an(r,this.state.curPosition())};return this.options.tokens&&this.pushToken(m),m}skipSpace(){let s=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let r=this.input.charCodeAt(this.state.pos);switch(r){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 a=this.skipBlockComment("*/");a!==void 0&&(this.addComment(a),this.options.attachComment&&t.push(a));break}case 47:{let a=this.skipLineComment(2);a!==void 0&&(this.addComment(a),this.options.attachComment&&t.push(a));break}default:break e}break;default:if(ic(r))++this.state.pos;else if(r===45&&!this.inModule){let a=this.state.pos;if(this.input.charCodeAt(a+1)===45&&this.input.charCodeAt(a+2)===62&&(s===0||this.state.lineStart>s)){let l=this.skipLineComment(3);l!==void 0&&(this.addComment(l),this.options.attachComment&&t.push(l))}else break e}else if(r===60&&!this.inModule){let a=this.state.pos;if(this.input.charCodeAt(a+1)===33&&this.input.charCodeAt(a+2)===45&&this.input.charCodeAt(a+3)===45){let l=this.skipLineComment(4);l!==void 0&&(this.addComment(l),this.options.attachComment&&t.push(l))}else break e}else break e}}if(t.length>0){let r=this.state.pos,a={start:s,end:r,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(a)}}finishToken(s,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let r=this.state.type;this.state.type=s,this.state.value=t,this.isLookahead||this.updateContext(r)}replaceToken(s){this.state.type=s,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let s=this.state.pos+1,t=this.codePointAtPos(s);if(t>=48&&t<=57)throw this.raise(st.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(t===123||t===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(t===123?st.RecordExpressionHashIncorrectStartSyntaxType:st.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,t===123?this.finishToken(7):this.finishToken(1)}else ps(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):t===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let s=this.input.charCodeAt(this.state.pos+1);if(s>=48&&s<=57){this.readNumber(!0);return}s===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 s=this.input.charCodeAt(this.state.pos+1);if(s!==33)return!1;let t=this.state.pos;for(this.state.pos+=1;!Eo(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);let r=this.input.slice(t+2,this.state.pos);return this.finishToken(28,r),!0}readToken_mult_modulo(s){let t=s===42?55:54,r=1,a=this.input.charCodeAt(this.state.pos+1);s===42&&a===42&&(r++,a=this.input.charCodeAt(this.state.pos+2),t=57),a===61&&!this.state.inType&&(r++,t=s===37?33:30),this.finishOp(t,r)}readToken_pipe_amp(s){let t=this.input.charCodeAt(this.state.pos+1);if(t===s){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(s===124?41:42,2);return}if(s===124){if(t===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&t===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(st.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&t===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(st.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(4);return}}if(t===61){this.finishOp(30,2);return}this.finishOp(s===124?43:45,1)}readToken_caret(){let s=this.input.charCodeAt(this.state.pos+1);if(s===61&&!this.state.inType)this.finishOp(32,2);else if(s===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94)throw this.unexpected()}else 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(s){let t=this.input.charCodeAt(this.state.pos+1);if(t===s){this.finishOp(34,2);return}t===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:s}=this.state,t=this.input.charCodeAt(s+1);if(t===60){if(this.input.charCodeAt(s+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(t===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:s}=this.state,t=this.input.charCodeAt(s+1);if(t===62){let r=this.input.charCodeAt(s+2)===62?3:2;if(this.input.charCodeAt(s+r)===61){this.finishOp(30,r+1);return}this.finishOp(52,r);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(s){let t=this.input.charCodeAt(this.state.pos+1);if(t===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(s===61&&t===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(s===61?29:35,1)}readToken_question(){let s=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);s===63?t===61?this.finishOp(30,3):this.finishOp(40,2):s===46&&!(t>=48&&t<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(s){switch(s){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(st.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(st.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 t=this.input.charCodeAt(this.state.pos+1);if(t===120||t===88){this.readRadixNumber(16);return}if(t===111||t===79){this.readRadixNumber(8);return}if(t===98||t===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(s);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(s);return;case 124:case 38:this.readToken_pipe_amp(s);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(s);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(s);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(ps(s)){this.readWord(s);return}}throw this.raise(st.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(s)})}finishOp(s,t){let r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(s,r)}readRegexp(){let s=this.state.startLoc,t=this.state.start+1,r,a,{pos:l}=this.state;for(;;++l){if(l>=this.length)throw this.raise(st.UnterminatedRegExp,{at:on(s,1)});let y=this.input.charCodeAt(l);if(Eo(y))throw this.raise(st.UnterminatedRegExp,{at:on(s,1)});if(r)r=!1;else{if(y===91)a=!0;else if(y===93&&a)a=!1;else if(y===47&&!a)break;r=y===92}}let f=this.input.slice(t,l);++l;let m="",d=()=>on(s,l+2-t);for(;l<this.length;){let y=this.codePointAtPos(l),v=String.fromCharCode(y);if(Xo.has(y))y===118?(this.expectPlugin("regexpUnicodeSets",d()),m.includes("u")&&this.raise(st.IncompatibleRegExpUVFlags,{at:d()})):y===117&&m.includes("v")&&this.raise(st.IncompatibleRegExpUVFlags,{at:d()}),m.includes(v)&&this.raise(st.DuplicateRegExpFlags,{at:d()});else if(bs(y)||y===92)this.raise(st.MalformedRegExpFlags,{at:d()});else break;++l,m+=v}this.state.pos=l,this.finishToken(135,{pattern:f,flags:m})}readInt(s,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{n:l,pos:f}=ul(this.input,this.state.pos,this.state.lineStart,this.state.curLine,s,t,r,a,this.errorHandlers_readInt,!1);return this.state.pos=f,l}readRadixNumber(s){let t=this.state.curPosition(),r=!1;this.state.pos+=2;let a=this.readInt(s);a==null&&this.raise(st.InvalidDigit,{at:on(t,2),radix:s});let l=this.input.charCodeAt(this.state.pos);if(l===110)++this.state.pos,r=!0;else if(l===109)throw this.raise(st.InvalidDecimal,{at:t});if(ps(this.codePointAtPos(this.state.pos)))throw this.raise(st.NumberIdentifier,{at:this.state.curPosition()});if(r){let f=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,f);return}this.finishToken(132,a)}readNumber(s){let t=this.state.pos,r=this.state.curPosition(),a=!1,l=!1,f=!1,m=!1,d=!1;!s&&this.readInt(10)===null&&this.raise(st.InvalidNumber,{at:this.state.curPosition()});let y=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(y){let B=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(st.StrictOctalLiteral,{at:r}),!this.state.strict){let N=B.indexOf("_");N>0&&this.raise(st.ZeroDigitNumericSeparator,{at:on(r,N)})}d=y&&!/[89]/.test(B)}let v=this.input.charCodeAt(this.state.pos);if(v===46&&!d&&(++this.state.pos,this.readInt(10),a=!0,v=this.input.charCodeAt(this.state.pos)),(v===69||v===101)&&!d&&(v=this.input.charCodeAt(++this.state.pos),(v===43||v===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(st.InvalidOrMissingExponent,{at:r}),a=!0,m=!0,v=this.input.charCodeAt(this.state.pos)),v===110&&((a||y)&&this.raise(st.InvalidBigIntLiteral,{at:r}),++this.state.pos,l=!0),v===109&&(this.expectPlugin("decimal",this.state.curPosition()),(m||y)&&this.raise(st.InvalidDecimal,{at:r}),++this.state.pos,f=!0),ps(this.codePointAtPos(this.state.pos)))throw this.raise(st.NumberIdentifier,{at:this.state.curPosition()});let C=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(l){this.finishToken(133,C);return}if(f){this.finishToken(134,C);return}let A=d?parseInt(C,8):parseFloat(C);this.finishToken(132,A)}readCodePoint(s){let{code:t,pos:r}=ll(this.input,this.state.pos,this.state.lineStart,this.state.curLine,s,this.errorHandlers_readCodePoint);return this.state.pos=r,t}readString(s){let{str:t,pos:r,curLine:a,lineStart:l}=al(s===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1,this.state.lineStart=l,this.state.curLine=a,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let s=this.input[this.state.pos],{str:t,firstInvalidLoc:r,pos:a,curLine:l,lineStart:f}=al("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=a+1,this.state.lineStart=f,this.state.curLine=l,r&&(this.state.firstInvalidTemplateEscapePos=new bn(r.curLine,r.pos-r.lineStart,r.pos)),this.input.codePointAt(a)===96?this.finishToken(24,r?null:s+t+"`"):(this.state.pos++,this.finishToken(25,r?null:s+t+"${"))}recordStrictModeErrors(s,t){let{at:r}=t,a=r.index;this.state.strict&&!this.state.strictErrors.has(a)?this.raise(s,{at:r}):this.state.strictErrors.set(a,[s,r])}readWord1(s){this.state.containsEsc=!1;let t="",r=this.state.pos,a=this.state.pos;for(s!==void 0&&(this.state.pos+=s<=65535?1:2);this.state.pos<this.length;){let l=this.codePointAtPos(this.state.pos);if(bs(l))this.state.pos+=l<=65535?1:2;else if(l===92){this.state.containsEsc=!0,t+=this.input.slice(a,this.state.pos);let f=this.state.curPosition(),m=this.state.pos===r?ps:bs;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(st.MissingUnicodeEscape,{at:this.state.curPosition()}),a=this.state.pos-1;continue}++this.state.pos;let d=this.readCodePoint(!0);d!==null&&(m(d)||this.raise(st.EscapedCharNotAnIdentifier,{at:f}),t+=String.fromCodePoint(d)),a=this.state.pos}else break}return t+this.input.slice(a,this.state.pos)}readWord(s){let t=this.readWord1(s),r=lr.get(t);r!==void 0?this.finishToken(r,Ns(r)):this.finishToken(130,t)}checkKeywordEscapes(){let{type:s}=this.state;Or(s)&&this.state.containsEsc&&this.raise(st.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Ns(s)})}raise(s,t){let{at:r}=t,a=yn(t,Gl),l=r instanceof bn?r:r.loc.start,f=s({loc:l,details:a});if(!this.options.errorRecovery)throw f;return this.isLookahead||this.state.errors.push(f),f}raiseOverwrite(s,t){let{at:r}=t,a=yn(t,Uu),l=r instanceof bn?r:r.loc.start,f=l.index,m=this.state.errors;for(let d=m.length-1;d>=0;d--){let y=m[d];if(y.loc.index===f)return m[d]=s({loc:l,details:a});if(y.loc.index<f)break}return this.raise(s,t)}updateContext(s){}unexpected(s,t){throw this.raise(st.UnexpectedToken,{expected:t?Ns(t):null,at:s??this.state.startLoc})}expectPlugin(s,t){if(this.hasPlugin(s))return!0;throw this.raise(st.MissingPlugin,{at:t??this.state.startLoc,missingPlugin:[s]})}expectOnePlugin(s){if(!s.some(t=>this.hasPlugin(t)))throw this.raise(st.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:s})}errorBuilder(s){return(t,r,a)=>{this.raise(s,{at:Hu(t,r,a)})}}},sc=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},kl=class{constructor(s){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=s}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new sc)}exit(){let s=this.stack.pop(),t=this.current();for(let[r,a]of Array.from(s.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,a):this.parser.raise(st.InvalidPrivateFieldResolution,{at:a,identifierName:r})}declarePrivateName(s,t,r){let{privateNames:a,loneAccessors:l,undefinedPrivateNames:f}=this.current(),m=a.has(s);if(t&Io){let d=m&&l.get(s);if(d){let y=d&Qa,v=t&Qa,C=d&Io,A=t&Io;m=C===A||y!==v,m||l.delete(s)}else m||l.set(s,t)}m&&this.parser.raise(st.PrivateNameRedeclaration,{at:r,identifierName:s}),a.add(s),f.delete(s)}usePrivateName(s,t){let r;for(r of this.stack)if(r.privateNames.has(s))return;r?r.undefinedPrivateNames.set(s,t):this.parser.raise(st.InvalidPrivateFieldResolution,{at:t,identifierName:s})}},Ra=0,Es=1,$a=2,ho=3,ba=class{constructor(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ra;this.type=void 0,this.type=s}canBeArrowParameterDeclaration(){return this.type===$a||this.type===Es}isCertainlyParameterDeclaration(){return this.type===ho}},cl=class extends ba{constructor(s){super(s),this.declarationErrors=new Map}recordDeclarationError(s,t){let{at:r}=t,a=r.index;this.declarationErrors.set(a,[s,r])}clearDeclarationError(s){this.declarationErrors.delete(s)}iterateErrors(s){this.declarationErrors.forEach(s)}},pl=class{constructor(s){this.parser=void 0,this.stack=[new ba],this.parser=s}enter(s){this.stack.push(s)}exit(){this.stack.pop()}recordParameterInitializerError(s,t){let{at:r}=t,a={at:r.loc.start},{stack:l}=this,f=l.length-1,m=l[f];for(;!m.isCertainlyParameterDeclaration();){if(m.canBeArrowParameterDeclaration())m.recordDeclarationError(s,a);else return;m=l[--f]}this.parser.raise(s,a)}recordArrowParemeterBindingError(s,t){let{at:r}=t,{stack:a}=this,l=a[a.length-1],f={at:r.loc.start};if(l.isCertainlyParameterDeclaration())this.parser.raise(s,f);else if(l.canBeArrowParameterDeclaration())l.recordDeclarationError(s,f);else return}recordAsyncArrowParametersError(s){let{at:t}=s,{stack:r}=this,a=r.length-1,l=r[a];for(;l.canBeArrowParameterDeclaration();)l.type===$a&&l.recordDeclarationError(st.AwaitBindingIdentifier,{at:t}),l=r[--a]}validateAsPattern(){let{stack:s}=this,t=s[s.length-1];!t.canBeArrowParameterDeclaration()||t.iterateErrors(r=>{let[a,l]=r;this.parser.raise(a,{at:l});let f=s.length-2,m=s[f];for(;m.canBeArrowParameterDeclaration();)m.clearDeclarationError(l.index),m=s[--f]})}};function Yo(){return new ba(ho)}function nu(){return new cl(Es)}function Pl(){return new cl($a)}function bu(){return new ba}var iu=0,qu=1,eo=2,Nl=4,Oo=8,Bl=class{constructor(){this.stacks=[]}enter(s){this.stacks.push(s)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&eo)>0}get hasYield(){return(this.currentFlags()&qu)>0}get hasReturn(){return(this.currentFlags()&Nl)>0}get hasIn(){return(this.currentFlags()&Oo)>0}};function Lo(s,t){return(s?eo:0)|(t?qu:0)}var w=class extends Fl{addExtra(s,t,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!s)return;let l=s.extra=s.extra||{};a?l[t]=r:Object.defineProperty(l,t,{enumerable:a,value:r})}isContextual(s){return this.state.type===s&&!this.state.containsEsc}isUnparsedContextual(s,t){let r=s+t.length;if(this.input.slice(s,r)===t){let a=this.input.charCodeAt(r);return!(bs(a)||(a&64512)===55296)}return!1}isLookaheadContextual(s){let t=this.nextTokenStart();return this.isUnparsedContextual(t,s)}eatContextual(s){return this.isContextual(s)?(this.next(),!0):!1}expectContextual(s,t){if(!this.eatContextual(s))throw t!=null?this.raise(t,{at:this.state.startLoc}):this.unexpected(null,s)}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return oa.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Wl.lastIndex=this.state.end,Wl.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(st.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(s,t){this.eat(s)||this.unexpected(t,s)}tryParse(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone(),r={node:null};try{let a=s(function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw r.node=l,r});if(this.state.errors.length>t.errors.length){let l=this.state;return this.state=t,this.state.tokensLength=l.tokensLength,{node:a,error:l.errors[t.errors.length],thrown:!1,aborted:!1,failState:l}}return{node:a,error:null,thrown:!1,aborted:!1,failState:null}}catch(a){let l=this.state;if(this.state=t,a instanceof SyntaxError)return{node:null,error:a,thrown:!0,aborted:!1,failState:l};if(a===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:l};throw a}}checkExpressionErrors(s,t){if(!s)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:a,privateKeyLoc:l,optionalParametersLoc:f}=s,m=!!r||!!a||!!f||!!l;if(!t)return m;r!=null&&this.raise(st.InvalidCoverInitializedName,{at:r}),a!=null&&this.raise(st.DuplicateProto,{at:a}),l!=null&&this.raise(st.UnexpectedPrivateField,{at:l}),f!=null&&this.unexpected(f)}isLiteralPropertyName(){return Si(this.state.type)}isPrivateName(s){return s.type==="PrivateName"}getPrivateNameSV(s){return s.id.name}hasPropertyAsPrivateName(s){return(s.type==="MemberExpression"||s.type==="OptionalMemberExpression")&&this.isPrivateName(s.property)}isOptionalChain(s){return s.type==="OptionalMemberExpression"||s.type==="OptionalCallExpression"}isObjectProperty(s){return s.type==="ObjectProperty"}isObjectMethod(s){return s.type==="ObjectMethod"}initializeScopes(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType==="module",t=this.state.labels;this.state.labels=[];let r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let a=this.inModule;this.inModule=s;let l=this.scope,f=this.getScopeHandler();this.scope=new f(this,s);let m=this.prodParam;this.prodParam=new Bl;let d=this.classScope;this.classScope=new kl(this);let y=this.expressionScope;return this.expressionScope=new pl(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=a,this.scope=l,this.prodParam=m,this.classScope=d,this.expressionScope=y}}enterInitialScopes(){let s=iu;this.inModule&&(s|=eo),this.scope.enter(Wo),this.prodParam.enter(s)}checkDestructuringPrivate(s){let{privateKeyLoc:t}=s;t!==null&&this.expectPlugin("destructuringPrivate",t)}},te=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},X=class{constructor(s,t,r){this.type="",this.start=t,this.end=0,this.loc=new an(r),s!=null&&s.options.ranges&&(this.range=[t,0]),s!=null&&s.filename&&(this.loc.filename=s.filename)}},Y=X.prototype;Y.__clone=function(){let s=new X(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,a=t.length;r<a;r++){let l=t[r];l!=="leadingComments"&&l!=="trailingComments"&&l!=="innerComments"&&(s[l]=this[l])}return s};function fe(s){return Ce(s)}function Ce(s){let{type:t,start:r,end:a,loc:l,range:f,extra:m,name:d}=s,y=Object.create(Y);return y.type=t,y.start=r,y.end=a,y.loc=l,y.range=f,y.extra=m,y.name=d,t==="Placeholder"&&(y.expectedNode=s.expectedNode),y}function ge(s){let{type:t,start:r,end:a,loc:l,range:f,extra:m}=s;if(t==="Placeholder")return fe(s);let d=Object.create(Y);return d.type=t,d.start=r,d.end=a,d.loc=l,d.range=f,s.raw!==void 0?d.raw=s.raw:d.extra=m,d.value=s.value,d}var Ae=class extends w{startNode(){return new X(this,this.state.start,this.state.startLoc)}startNodeAt(s){return new X(this,s.index,s)}startNodeAtNode(s){return this.startNodeAt(s.loc.start)}finishNode(s,t){return this.finishNodeAt(s,t,this.state.lastTokEndLoc)}finishNodeAt(s,t,r){return s.type=t,s.end=r.index,s.loc.end=r,this.options.ranges&&(s.range[1]=r.index),this.options.attachComment&&this.processComment(s),s}resetStartLocation(s,t){s.start=t.index,s.loc.start=t,this.options.ranges&&(s.range[0]=t.index)}resetEndLocation(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;s.end=t.index,s.loc.end=t,this.options.ranges&&(s.range[1]=t.index)}resetStartLocationFromNode(s,t){this.resetStartLocation(s,t.loc.start)}},pe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ae=Ui`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:s=>{let{reservedType:t}=s;return`Cannot overwrite reserved type ${t}.`},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:s=>{let{memberName:t,enumName:r}=s;return`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${r}\`.`},EnumDuplicateMemberName:s=>{let{memberName:t,enumName:r}=s;return`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${r}\`.`},EnumInconsistentMemberValues:s=>{let{enumName:t}=s;return`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:s=>{let{invalidEnumType:t,enumName:r}=s;return`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${r}\`.`},EnumInvalidExplicitTypeUnknownSupplied:s=>{let{enumName:t}=s;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`},EnumInvalidMemberInitializerPrimaryType:s=>{let{enumName:t,memberName:r,explicitType:a}=s;return`Enum \`${t}\` has type \`${a}\`, so the initializer of \`${r}\` needs to be a ${a} literal.`},EnumInvalidMemberInitializerSymbolType:s=>{let{enumName:t,memberName:r}=s;return`Symbol enum members cannot be initialized. Use \`${r},\` in enum \`${t}\`.`},EnumInvalidMemberInitializerUnknownType:s=>{let{enumName:t,memberName:r}=s;return`The enum member initializer for \`${r}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`},EnumInvalidMemberName:s=>{let{enumName:t,memberName:r,suggestion:a}=s;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${r}\`, consider using \`${a}\`, in enum \`${t}\`.`},EnumNumberMemberNotInitialized:s=>{let{enumName:t,memberName:r}=s;return`Number enum members need to be initialized, e.g. \`${r} = 1\` in enum \`${t}\`.`},EnumStringMemberInconsistentlyInitailized:s=>{let{enumName:t}=s;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`},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:s=>{let{reservedType:t}=s;return`Unexpected reserved type ${t}.`},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:s=>{let{unsupportedExportKind:t,suggestion:r}=s;return`\`declare export ${t}\` is not supported. Use \`${r}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function F(s){return s.type==="DeclareExportAllDeclaration"||s.type==="DeclareExportDeclaration"&&(!s.declaration||s.declaration.type!=="TypeAlias"&&s.declaration.type!=="InterfaceDeclaration")}function b(s){return s.importKind==="type"||s.importKind==="typeof"}function Z(s){return en(s)&&s!==97}var V={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Ie(s,t){let r=[],a=[];for(let l=0;l<s.length;l++)(t(s[l],l,s)?r:a).push(s[l]);return[r,a]}var Te=/\*?\s*@((?:no)?flow)\b/,Ke=s=>class extends s{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return nl}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(t,r){return t!==131&&t!==13&&t!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(t,r)}addComment(t){if(this.flowPragma===void 0){let r=Te.exec(t.value);if(r)if(r[1]==="flow")this.flowPragma="flow";else if(r[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}return super.addComment(t)}flowParseTypeInitialiser(t){let r=this.state.inType;this.state.inType=!0,this.expect(t||14);let a=this.flowParseType();return this.state.inType=r,a}flowParsePredicate(){let t=this.startNode(),r=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>r.index+1&&this.raise(ae.UnexpectedSpaceBetweenModuloChecks,{at:r}),this.eat(10)?(t.value=super.parseExpression(),this.expect(11),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let t=this.state.inType;this.state.inType=!0,this.expect(14);let r=null,a=null;return this.match(54)?(this.state.inType=t,a=this.flowParsePredicate()):(r=this.flowParseType(),this.state.inType=t,this.match(54)&&(a=this.flowParsePredicate())),[r,a]}flowParseDeclareClass(t){return this.next(),this.flowParseInterfaceish(t,!0),this.finishNode(t,"DeclareClass")}flowParseDeclareFunction(t){this.next();let r=t.id=this.parseIdentifier(),a=this.startNode(),l=this.startNode();this.match(47)?a.typeParameters=this.flowParseTypeParameterDeclaration():a.typeParameters=null,this.expect(10);let f=this.flowParseFunctionTypeParams();return a.params=f.params,a.rest=f.rest,a.this=f._this,this.expect(11),[a.returnType,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),l.typeAnnotation=this.finishNode(a,"FunctionTypeAnnotation"),r.typeAnnotation=this.finishNode(l,"TypeAnnotation"),this.resetEndLocation(r),this.semicolon(),this.scope.declareName(t.id.name,bl,t.id.loc.start),this.finishNode(t,"DeclareFunction")}flowParseDeclare(t,r){if(this.match(80))return this.flowParseDeclareClass(t);if(this.match(68))return this.flowParseDeclareFunction(t);if(this.match(74))return this.flowParseDeclareVariable(t);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(t):(r&&this.raise(ae.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(t));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(t);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(t);if(this.isContextual(127))return this.flowParseDeclareInterface(t);if(this.match(82))return this.flowParseDeclareExportDeclaration(t,r);throw this.unexpected()}flowParseDeclareVariable(t){return this.next(),t.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(t.id.name,tl,t.id.loc.start),this.semicolon(),this.finishNode(t,"DeclareVariable")}flowParseDeclareModule(t){this.scope.enter(qo),this.match(131)?t.id=super.parseExprAtom():t.id=this.parseIdentifier();let r=t.body=this.startNode(),a=r.body=[];for(this.expect(5);!this.match(8);){let m=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(ae.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(m)):(this.expectContextual(123,ae.UnsupportedStatementInDeclareModule),m=this.flowParseDeclare(m,!0)),a.push(m)}this.scope.exit(),this.expect(8),this.finishNode(r,"BlockStatement");let l=null,f=!1;return a.forEach(m=>{F(m)?(l==="CommonJS"&&this.raise(ae.AmbiguousDeclareModuleKind,{at:m}),l="ES"):m.type==="DeclareModuleExports"&&(f&&this.raise(ae.DuplicateDeclareModuleExports,{at:m}),l==="ES"&&this.raise(ae.AmbiguousDeclareModuleKind,{at:m}),l="CommonJS",f=!0)}),t.kind=l||"CommonJS",this.finishNode(t,"DeclareModule")}flowParseDeclareExportDeclaration(t,r){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?t.declaration=this.flowParseDeclare(this.startNode()):(t.declaration=this.flowParseType(),this.semicolon()),t.default=!0,this.finishNode(t,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!r){let a=this.state.value;throw this.raise(ae.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:a,suggestion:V[a]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return t.declaration=this.flowParseDeclare(this.startNode()),t.default=!1,this.finishNode(t,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return t=this.parseExport(t,null),t.type==="ExportNamedDeclaration"&&(t.type="ExportDeclaration",t.default=!1,delete t.exportKind),t.type="Declare"+t.type,t;throw this.unexpected()}flowParseDeclareModuleExports(t){return this.next(),this.expectContextual(109),t.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(t,"DeclareModuleExports")}flowParseDeclareTypeAlias(t){this.next();let r=this.flowParseTypeAlias(t);return r.type="DeclareTypeAlias",r}flowParseDeclareOpaqueType(t){this.next();let r=this.flowParseOpaqueType(t,!0);return r.type="DeclareOpaqueType",r}flowParseDeclareInterface(t){return this.next(),this.flowParseInterfaceish(t),this.finishNode(t,"DeclareInterface")}flowParseInterfaceish(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.id=this.flowParseRestrictedIdentifier(!r,!0),this.scope.declareName(t.id.name,r?Hl:Ya,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.extends=[],t.implements=[],t.mixins=[],this.eat(81))do t.extends.push(this.flowParseInterfaceExtends());while(!r&&this.eat(12));if(this.isContextual(115)){this.next();do t.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12))}if(this.isContextual(111)){this.next();do t.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}t.body=this.flowParseObjectType({allowStatic:r,allowExact:!1,allowSpread:!1,allowProto:r,allowInexact:!1})}flowParseInterfaceExtends(){let t=this.startNode();return t.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"InterfaceExtends")}flowParseInterface(t){return this.flowParseInterfaceish(t),this.finishNode(t,"InterfaceDeclaration")}checkNotUnderscore(t){t==="_"&&this.raise(ae.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(t,r,a){!pe.has(t)||this.raise(a?ae.AssignReservedType:ae.UnexpectedReservedType,{at:r,reservedType:t})}flowParseRestrictedIdentifier(t,r){return this.checkReservedType(this.state.value,this.state.startLoc,r),this.parseIdentifier(t)}flowParseTypeAlias(t){return t.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(t.id.name,Ya,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(t,"TypeAlias")}flowParseOpaqueType(t,r){return this.expectContextual(128),t.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(t.id.name,Ya,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.supertype=null,this.match(14)&&(t.supertype=this.flowParseTypeInitialiser(14)),t.impltype=null,r||(t.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(t,"OpaqueType")}flowParseTypeParameter(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r=this.state.startLoc,a=this.startNode(),l=this.flowParseVariance(),f=this.flowParseTypeAnnotatableIdentifier();return a.name=f.name,a.variance=l,a.bound=f.typeAnnotation,this.match(29)?(this.eat(29),a.default=this.flowParseType()):t&&this.raise(ae.MissingTypeParamDefault,{at:r}),this.finishNode(a,"TypeParameter")}flowParseTypeParameterDeclaration(){let t=this.state.inType,r=this.startNode();r.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let a=!1;do{let l=this.flowParseTypeParameter(a);r.params.push(l),l.default&&(a=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=t,this.finishNode(r,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let t=this.startNode(),r=this.state.inType;t.params=[],this.state.inType=!0,this.expect(47);let a=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)t.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=a,this.expect(48),this.state.inType=r,this.finishNode(t,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let t=this.startNode(),r=this.state.inType;for(t.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)t.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=r,this.finishNode(t,"TypeParameterInstantiation")}flowParseInterfaceType(){let t=this.startNode();if(this.expectContextual(127),t.extends=[],this.eat(81))do t.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return t.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(t,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(t,r,a){return t.static=r,this.lookahead().type===14?(t.id=this.flowParseObjectPropertyKey(),t.key=this.flowParseTypeInitialiser()):(t.id=null,t.key=this.flowParseType()),this.expect(3),t.value=this.flowParseTypeInitialiser(),t.variance=a,this.finishNode(t,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(t,r){return t.static=r,t.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(t.method=!0,t.optional=!1,t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.loc.start))):(t.method=!1,this.eat(17)&&(t.optional=!0),t.value=this.flowParseTypeInitialiser()),this.finishNode(t,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(t){for(t.params=[],t.rest=null,t.typeParameters=null,t.this=null,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(t.this=this.flowParseFunctionTypeParam(!0),t.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),t.returnType=this.flowParseTypeInitialiser(),this.finishNode(t,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(t,r){let a=this.startNode();return t.static=r,t.value=this.flowParseObjectTypeMethodish(a),this.finishNode(t,"ObjectTypeCallProperty")}flowParseObjectType(t){let{allowStatic:r,allowExact:a,allowSpread:l,allowProto:f,allowInexact:m}=t,d=this.state.inType;this.state.inType=!0;let y=this.startNode();y.callProperties=[],y.properties=[],y.indexers=[],y.internalSlots=[];let v,C,A=!1;for(a&&this.match(6)?(this.expect(6),v=9,C=!0):(this.expect(5),v=8,C=!1),y.exact=C;!this.match(v);){let N=!1,L=null,P=null,_=this.startNode();if(f&&this.isContextual(116)){let J=this.lookahead();J.type!==14&&J.type!==17&&(this.next(),L=this.state.startLoc,r=!1)}if(r&&this.isContextual(104)){let J=this.lookahead();J.type!==14&&J.type!==17&&(this.next(),N=!0)}let R=this.flowParseVariance();if(this.eat(0))L!=null&&this.unexpected(L),this.eat(0)?(R&&this.unexpected(R.loc.start),y.internalSlots.push(this.flowParseObjectTypeInternalSlot(_,N))):y.indexers.push(this.flowParseObjectTypeIndexer(_,N,R));else if(this.match(10)||this.match(47))L!=null&&this.unexpected(L),R&&this.unexpected(R.loc.start),y.callProperties.push(this.flowParseObjectTypeCallProperty(_,N));else{let J="init";if(this.isContextual(98)||this.isContextual(103)){let H=this.lookahead();Si(H.type)&&(J=this.state.value,this.next())}let oe=this.flowParseObjectTypeProperty(_,N,L,R,J,l,m??!C);oe===null?(A=!0,P=this.state.lastTokStartLoc):y.properties.push(oe)}this.flowObjectTypeSemicolon(),P&&!this.match(8)&&!this.match(9)&&this.raise(ae.UnexpectedExplicitInexactInObject,{at:P})}this.expect(v),l&&(y.inexact=A);let B=this.finishNode(y,"ObjectTypeAnnotation");return this.state.inType=d,B}flowParseObjectTypeProperty(t,r,a,l,f,m,d){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(m?d||this.raise(ae.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(ae.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),l&&this.raise(ae.InexactVariance,{at:l}),null):(m||this.raise(ae.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),a!=null&&this.unexpected(a),l&&this.raise(ae.SpreadVariance,{at:l}),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"));{t.key=this.flowParseObjectPropertyKey(),t.static=r,t.proto=a!=null,t.kind=f;let y=!1;return this.match(47)||this.match(10)?(t.method=!0,a!=null&&this.unexpected(a),l&&this.unexpected(l.loc.start),t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.loc.start)),(f==="get"||f==="set")&&this.flowCheckGetterSetterParams(t),!m&&t.key.name==="constructor"&&t.value.this&&this.raise(ae.ThisParamBannedInConstructor,{at:t.value.this})):(f!=="init"&&this.unexpected(),t.method=!1,this.eat(17)&&(y=!0),t.value=this.flowParseTypeInitialiser(),t.variance=l),t.optional=y,this.finishNode(t,"ObjectTypeProperty")}}flowCheckGetterSetterParams(t){let r=t.kind==="get"?0:1,a=t.value.params.length+(t.value.rest?1:0);t.value.this&&this.raise(t.kind==="get"?ae.GetterMayNotHaveThisParam:ae.SetterMayNotHaveThisParam,{at:t.value.this}),a!==r&&this.raise(t.kind==="get"?st.BadGetterArity:st.BadSetterArity,{at:t}),t.kind==="set"&&t.value.rest&&this.raise(st.BadSetterRestParameter,{at:t})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(t,r){t!=null||(t=this.state.startLoc);let a=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let l=this.startNodeAt(t);l.qualification=a,l.id=this.flowParseRestrictedIdentifier(!0),a=this.finishNode(l,"QualifiedTypeIdentifier")}return a}flowParseGenericType(t,r){let a=this.startNodeAt(t);return a.typeParameters=null,a.id=this.flowParseQualifiedTypeIdentifier(t,r),this.match(47)&&(a.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(a,"GenericTypeAnnotation")}flowParseTypeofType(){let t=this.startNode();return this.expect(87),t.argument=this.flowParsePrimaryType(),this.finishNode(t,"TypeofTypeAnnotation")}flowParseTupleType(){let t=this.startNode();for(t.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(t.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(t,"TupleTypeAnnotation")}flowParseFunctionTypeParam(t){let r=null,a=!1,l=null,f=this.startNode(),m=this.lookahead(),d=this.state.type===78;return m.type===14||m.type===17?(d&&!t&&this.raise(ae.ThisParamMustBeFirst,{at:f}),r=this.parseIdentifier(d),this.eat(17)&&(a=!0,d&&this.raise(ae.ThisParamMayNotBeOptional,{at:f})),l=this.flowParseTypeInitialiser()):l=this.flowParseType(),f.name=r,f.optional=a,f.typeAnnotation=l,this.finishNode(f,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(t){let r=this.startNodeAt(t.loc.start);return r.name=null,r.optional=!1,r.typeAnnotation=t,this.finishNode(r,"FunctionTypeParam")}flowParseFunctionTypeParams(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=null,a=null;for(this.match(78)&&(a=this.flowParseFunctionTypeParam(!0),a.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(r=this.flowParseFunctionTypeParam(!1)),{params:t,rest:r,_this:a}}flowIdentToTypeAnnotation(t,r,a){switch(a.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(a.name),this.flowParseGenericType(t,a)}}flowParsePrimaryType(){let t=this.state.startLoc,r=this.startNode(),a,l,f=!1,m=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,l=this.flowParseTupleType(),this.state.noAnonFunctionType=m,l;case 47:return r.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),a=this.flowParseFunctionTypeParams(),r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),this.finishNode(r,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(Ln(this.state.type)||this.match(78)){let d=this.lookahead().type;f=d!==17&&d!==14}else f=!0;if(f){if(this.state.noAnonFunctionType=!1,l=this.flowParseType(),this.state.noAnonFunctionType=m,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),l;this.eat(12)}return l?a=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(l)]):a=this.flowParseFunctionTypeParams(),r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return r.value=this.match(85),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",r);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",r);throw this.raise(ae.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();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(r,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(r,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(r,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Or(this.state.type)){let d=Ns(this.state.type);return this.next(),super.createIdentifier(r,d)}else if(Ln(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(t,r,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let t=this.state.startLoc,r=this.flowParsePrimaryType(),a=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let l=this.startNodeAt(t),f=this.eat(18);a=a||f,this.expect(0),!f&&this.match(3)?(l.elementType=r,this.next(),r=this.finishNode(l,"ArrayTypeAnnotation")):(l.objectType=r,l.indexType=this.flowParseType(),this.expect(3),a?(l.optional=f,r=this.finishNode(l,"OptionalIndexedAccessType")):r=this.finishNode(l,"IndexedAccessType"))}return r}flowParsePrefixType(){let t=this.startNode();return this.eat(17)?(t.typeAnnotation=this.flowParsePrefixType(),this.finishNode(t,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let t=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let r=this.startNodeAt(t.loc.start);return r.params=[this.reinterpretTypeAsFunctionTypeParam(t)],r.rest=null,r.this=null,r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation")}return t}flowParseIntersectionType(){let t=this.startNode();this.eat(45);let r=this.flowParseAnonFunctionWithoutParens();for(t.types=[r];this.eat(45);)t.types.push(this.flowParseAnonFunctionWithoutParens());return t.types.length===1?r:this.finishNode(t,"IntersectionTypeAnnotation")}flowParseUnionType(){let t=this.startNode();this.eat(43);let r=this.flowParseIntersectionType();for(t.types=[r];this.eat(43);)t.types.push(this.flowParseIntersectionType());return t.types.length===1?r:this.finishNode(t,"UnionTypeAnnotation")}flowParseType(){let t=this.state.inType;this.state.inType=!0;let r=this.flowParseUnionType();return this.state.inType=t,r}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){let t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(t,r)}else return this.flowParseType()}flowParseTypeAnnotation(){let t=this.startNode();return t.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(t,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(t){let r=t?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(r)),r}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}flowParseVariance(){let t=null;return this.match(53)?(t=this.startNode(),this.state.value==="+"?t.kind="plus":t.kind="minus",this.next(),this.finishNode(t,"Variance")):t}parseFunctionBody(t,r){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return r?this.forwardNoArrowParamsConversionAt(t,()=>super.parseFunctionBody(t,!0,a)):super.parseFunctionBody(t,!1,a)}parseFunctionBodyAndFinish(t,r){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.match(14)){let l=this.startNode();[l.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),t.returnType=l.typeAnnotation?this.finishNode(l,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(t,r,a)}parseStatement(t,r){if(this.state.strict&&this.isContextual(127)){let l=this.lookahead();if(en(l.type)){let f=this.startNode();return this.next(),this.flowParseInterface(f)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let l=this.startNode();return this.next(),this.flowParseEnumDeclaration(l)}let a=super.parseStatement(t,r);return this.flowPragma===void 0&&!this.isValidDirective(a)&&(this.flowPragma=null),a}parseExpressionStatement(t,r,a){if(r.type==="Identifier"){if(r.name==="declare"){if(this.match(80)||Ln(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(t)}else if(Ln(this.state.type)){if(r.name==="interface")return this.flowParseInterface(t);if(r.name==="type")return this.flowParseTypeAlias(t);if(r.name==="opaque")return this.flowParseOpaqueType(t,!1)}}return super.parseExpressionStatement(t,r,a)}shouldParseExportDeclaration(){let{type:t}=this.state;return We(t)||this.shouldParseEnums()&&t===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:t}=this.state;return We(t)||this.shouldParseEnums()&&t===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDefaultExpression()}parseConditional(t,r,a){if(!this.match(17))return t;if(this.state.maybeInArrowParameters){let A=this.lookaheadCharCode();if(A===44||A===61||A===58||A===41)return this.setOptionalParametersError(a),t}this.expect(17);let l=this.state.clone(),f=this.state.noArrowAt,m=this.startNodeAt(r),{consequent:d,failed:y}=this.tryParseConditionalConsequent(),[v,C]=this.getArrowLikeExpressions(d);if(y||C.length>0){let A=[...f];if(C.length>0){this.state=l,this.state.noArrowAt=A;for(let B=0;B<C.length;B++)A.push(C[B].start);({consequent:d,failed:y}=this.tryParseConditionalConsequent()),[v,C]=this.getArrowLikeExpressions(d)}y&&v.length>1&&this.raise(ae.AmbiguousConditionalArrow,{at:l.startLoc}),y&&v.length===1&&(this.state=l,A.push(v[0].start),this.state.noArrowAt=A,{consequent:d,failed:y}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(d,!0),this.state.noArrowAt=f,this.expect(14),m.test=t,m.consequent=d,m.alternate=this.forwardNoArrowParamsConversionAt(m,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(m,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let t=this.parseMaybeAssignAllowIn(),r=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:t,failed:r}}getArrowLikeExpressions(t,r){let a=[t],l=[];for(;a.length!==0;){let f=a.pop();f.type==="ArrowFunctionExpression"?(f.typeParameters||!f.returnType?this.finishArrowValidation(f):l.push(f),a.push(f.body)):f.type==="ConditionalExpression"&&(a.push(f.consequent),a.push(f.alternate))}return r?(l.forEach(f=>this.finishArrowValidation(f)),[l,[]]):Ie(l,f=>f.params.every(m=>this.isAssignable(m,!0)))}finishArrowValidation(t){var r;this.toAssignableList(t.params,(r=t.extra)==null?void 0:r.trailingCommaLoc,!1),this.scope.enter(vo|Lu),super.checkParams(t,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(t,r){let a;return this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),a=r(),this.state.noArrowParamsConversionAt.pop()):a=r(),a}parseParenItem(t,r){if(t=super.parseParenItem(t,r),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let a=this.startNodeAt(r);return a.expression=t,a.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(a,"TypeCastExpression")}return t}assertModuleNodeAllowed(t){t.type==="ImportDeclaration"&&(t.importKind==="type"||t.importKind==="typeof")||t.type==="ExportNamedDeclaration"&&t.exportKind==="type"||t.type==="ExportAllDeclaration"&&t.exportKind==="type"||super.assertModuleNodeAllowed(t)}parseExport(t,r){let a=super.parseExport(t,r);return(a.type==="ExportNamedDeclaration"||a.type==="ExportAllDeclaration")&&(a.exportKind=a.exportKind||"value"),a}parseExportDeclaration(t){if(this.isContextual(128)){t.exportKind="type";let r=this.startNode();return this.next(),this.match(5)?(t.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(t),null):this.flowParseTypeAlias(r)}else if(this.isContextual(129)){t.exportKind="type";let r=this.startNode();return this.next(),this.flowParseOpaqueType(r,!1)}else if(this.isContextual(127)){t.exportKind="type";let r=this.startNode();return this.next(),this.flowParseInterface(r)}else if(this.shouldParseEnums()&&this.isContextual(124)){t.exportKind="value";let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}else return super.parseExportDeclaration(t)}eatExportStar(t){return super.eatExportStar(t)?!0:this.isContextual(128)&&this.lookahead().type===55?(t.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(t){let{startLoc:r}=this.state,a=super.maybeParseExportNamespaceSpecifier(t);return a&&t.exportKind==="type"&&this.unexpected(r),a}parseClassId(t,r,a){super.parseClassId(t,r,a),this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(t,r,a){let{startLoc:l}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(t,r))return;r.declare=!0}super.parseClassMember(t,r,a),r.declare&&(r.type!=="ClassProperty"&&r.type!=="ClassPrivateProperty"&&r.type!=="PropertyDefinition"?this.raise(ae.DeclareClassElement,{at:l}):r.value&&this.raise(ae.DeclareClassFieldInitializer,{at:r.value}))}isIterator(t){return t==="iterator"||t==="asyncIterator"}readIterator(){let t=super.readWord1(),r="@@"+t;(!this.isIterator(t)||!this.state.inType)&&this.raise(st.InvalidIdentifier,{at:this.state.curPosition(),identifierName:r}),this.finishToken(130,r)}getTokenFromCode(t){let r=this.input.charCodeAt(this.state.pos+1);return t===123&&r===124?this.finishOp(6,2):this.state.inType&&(t===62||t===60)?this.finishOp(t===62?48:47,1):this.state.inType&&t===63?r===46?this.finishOp(18,2):this.finishOp(17,1):Ho(t,r,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(t)}isAssignable(t,r){return t.type==="TypeCastExpression"?this.isAssignable(t.expression,r):super.isAssignable(t,r)}toAssignable(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!r&&t.type==="AssignmentExpression"&&t.left.type==="TypeCastExpression"&&(t.left=this.typeCastToParameter(t.left)),super.toAssignable(t,r)}toAssignableList(t,r,a){for(let l=0;l<t.length;l++){let f=t[l];(f==null?void 0:f.type)==="TypeCastExpression"&&(t[l]=this.typeCastToParameter(f))}super.toAssignableList(t,r,a)}toReferencedList(t,r){for(let l=0;l<t.length;l++){var a;let f=t[l];f&&f.type==="TypeCastExpression"&&!((a=f.extra)!=null&&a.parenthesized)&&(t.length>1||!r)&&this.raise(ae.TypeCastInPattern,{at:f.typeAnnotation})}return t}parseArrayLike(t,r,a,l){let f=super.parseArrayLike(t,r,a,l);return r&&!this.state.maybeInArrowParameters&&this.toReferencedList(f.elements),f}isValidLVal(t,r,a){return t==="TypeCastExpression"||super.isValidLVal(t,r,a)}parseClassProperty(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(t)}parseClassPrivateProperty(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(t){return!this.match(14)&&super.isNonstaticConstructor(t)}pushClassMethod(t,r,a,l,f,m){if(r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(t,r,a,l,f,m),r.params&&f){let d=r.params;d.length>0&&this.isThisParam(d[0])&&this.raise(ae.ThisParamBannedInConstructor,{at:r})}else if(r.type==="MethodDefinition"&&f&&r.value.params){let d=r.value.params;d.length>0&&this.isThisParam(d[0])&&this.raise(ae.ThisParamBannedInConstructor,{at:r})}}pushClassPrivateMethod(t,r,a,l){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(t,r,a,l)}parseClassSuper(t){if(super.parseClassSuper(t),t.superClass&&this.match(47)&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let r=t.implements=[];do{let a=this.startNode();a.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?a.typeParameters=this.flowParseTypeParameterInstantiation():a.typeParameters=null,r.push(this.finishNode(a,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(t){super.checkGetterSetterParams(t);let r=this.getObjectOrClassMethodParams(t);if(r.length>0){let a=r[0];this.isThisParam(a)&&t.kind==="get"?this.raise(ae.GetterMayNotHaveThisParam,{at:a}):this.isThisParam(a)&&this.raise(ae.SetterMayNotHaveThisParam,{at:a})}}parsePropertyNamePrefixOperator(t){t.variance=this.flowParseVariance()}parseObjPropValue(t,r,a,l,f,m,d){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance;let y;this.match(47)&&!m&&(y=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let v=super.parseObjPropValue(t,r,a,l,f,m,d);return y&&((v.value||v).typeParameters=y),v}parseAssignableListItemTypes(t){return this.eat(17)&&(t.type!=="Identifier"&&this.raise(ae.PatternIsOptional,{at:t}),this.isThisParam(t)&&this.raise(ae.ThisParamMayNotBeOptional,{at:t}),t.optional=!0),this.match(14)?t.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(t)&&this.raise(ae.ThisParamAnnotationRequired,{at:t}),this.match(29)&&this.isThisParam(t)&&this.raise(ae.ThisParamNoDefault,{at:t}),this.resetEndLocation(t),t}parseMaybeDefault(t,r){let a=super.parseMaybeDefault(t,r);return a.type==="AssignmentPattern"&&a.typeAnnotation&&a.right.start<a.typeAnnotation.start&&this.raise(ae.TypeBeforeInitializer,{at:a.typeAnnotation}),a}shouldParseDefaultImport(t){return b(t)?Z(this.state.type):super.shouldParseDefaultImport(t)}checkImportReflection(t){super.checkImportReflection(t),t.module&&t.importKind!=="value"&&this.raise(ae.ImportReflectionHasImportType,{at:t.specifiers[0].loc.start})}parseImportSpecifierLocal(t,r,a){r.local=b(t)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(r,a))}maybeParseDefaultImportSpecifier(t){t.importKind="value";let r=null;if(this.match(87)?r="typeof":this.isContextual(128)&&(r="type"),r){let a=this.lookahead(),{type:l}=a;r==="type"&&l===55&&this.unexpected(null,a.type),(Z(l)||l===5||l===55)&&(this.next(),t.importKind=r)}return super.maybeParseDefaultImportSpecifier(t)}parseImportSpecifier(t,r,a,l,f){let m=t.imported,d=null;m.type==="Identifier"&&(m.name==="type"?d="type":m.name==="typeof"&&(d="typeof"));let y=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let C=this.parseIdentifier(!0);d!==null&&!en(this.state.type)?(t.imported=C,t.importKind=d,t.local=Ce(C)):(t.imported=m,t.importKind=null,t.local=this.parseIdentifier())}else{if(d!==null&&en(this.state.type))t.imported=this.parseIdentifier(!0),t.importKind=d;else{if(r)throw this.raise(st.ImportBindingIsString,{at:t,importName:m.value});t.imported=m,t.importKind=null}this.eatContextual(93)?t.local=this.parseIdentifier():(y=!0,t.local=Ce(t.imported))}let v=b(t);return a&&v&&this.raise(ae.ImportTypeShorthandOnlyInPureImport,{at:t}),(a||v)&&this.checkReservedType(t.local.name,t.local.loc.start,!0),y&&!a&&!v&&this.checkReservedWord(t.local.name,t.loc.start,!0,!0),this.finishImportSpecifier(t,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(t,r){let a=t.kind;a!=="get"&&a!=="set"&&this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(t,r)}parseVarId(t,r){super.parseVarId(t,r),this.match(14)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,r){if(this.match(14)){let a=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,t.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=a}return super.parseAsyncArrowFromCallExpression(t,r)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(t,r){var a;let l=null,f;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(l=this.state.clone(),f=this.tryParse(()=>super.parseMaybeAssign(t,r),l),!f.error)return f.node;let{context:y}=this.state,v=y[y.length-1];(v===Gi.j_oTag||v===Gi.j_expr)&&y.pop()}if((a=f)!=null&&a.error||this.match(47)){var m,d;l=l||this.state.clone();let y,v=this.tryParse(A=>{var B;y=this.flowParseTypeParameterDeclaration();let N=this.forwardNoArrowParamsConversionAt(y,()=>{let P=super.parseMaybeAssign(t,r);return this.resetStartLocationFromNode(P,y),P});(B=N.extra)!=null&&B.parenthesized&&A();let L=this.maybeUnwrapTypeCastExpression(N);return L.type!=="ArrowFunctionExpression"&&A(),L.typeParameters=y,this.resetStartLocationFromNode(L,y),N},l),C=null;if(v.node&&this.maybeUnwrapTypeCastExpression(v.node).type==="ArrowFunctionExpression"){if(!v.error&&!v.aborted)return v.node.async&&this.raise(ae.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:y}),v.node;C=v.node}if((m=f)!=null&&m.node)return this.state=f.failState,f.node;if(C)return this.state=v.failState,C;throw(d=f)!=null&&d.thrown?f.error:v.thrown?v.error:this.raise(ae.UnexpectedTokenAfterTypeParameter,{at:y})}return super.parseMaybeAssign(t,r)}parseArrow(t){if(this.match(14)){let r=this.tryParse(()=>{let a=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let l=this.startNode();return[l.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=a,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),l});if(r.thrown)return null;r.error&&(this.state=r.failState),t.returnType=r.node.typeAnnotation?this.finishNode(r.node,"TypeAnnotation"):null}return super.parseArrow(t)}shouldParseArrow(t){return this.match(14)||super.shouldParseArrow(t)}setArrowFunctionParameters(t,r){this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1?t.params=r:super.setArrowFunctionParameters(t,r)}checkParams(t,r,a){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!(a&&this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1)){for(let f=0;f<t.params.length;f++)this.isThisParam(t.params[f])&&f>0&&this.raise(ae.ThisParamMustBeFirst,{at:t.params[f]});return super.checkParams(t,r,a,l)}}parseParenAndDistinguishExpression(t){return super.parseParenAndDistinguishExpression(t&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(t,r,a){if(t.type==="Identifier"&&t.name==="async"&&this.state.noArrowAt.indexOf(r.index)!==-1){this.next();let l=this.startNodeAt(r);l.callee=t,l.arguments=super.parseCallExpressionArguments(11,!1),t=this.finishNode(l,"CallExpression")}else if(t.type==="Identifier"&&t.name==="async"&&this.match(47)){let l=this.state.clone(),f=this.tryParse(d=>this.parseAsyncArrowWithTypeParameters(r)||d(),l);if(!f.error&&!f.aborted)return f.node;let m=this.tryParse(()=>super.parseSubscripts(t,r,a),l);if(m.node&&!m.error)return m.node;if(f.node)return this.state=f.failState,f.node;if(m.node)return this.state=m.failState,m.node;throw f.error||m.error}return super.parseSubscripts(t,r,a)}parseSubscript(t,r,a,l){if(this.match(18)&&this.isLookaheadToken_lt()){if(l.optionalChainMember=!0,a)return l.stop=!0,t;this.next();let f=this.startNodeAt(r);return f.callee=t,f.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),f.arguments=this.parseCallExpressionArguments(11,!1),f.optional=!0,this.finishCallExpression(f,!0)}else if(!a&&this.shouldParseTypes()&&this.match(47)){let f=this.startNodeAt(r);f.callee=t;let m=this.tryParse(()=>(f.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),f.arguments=super.parseCallExpressionArguments(11,!1),l.optionalChainMember&&(f.optional=!1),this.finishCallExpression(f,l.optionalChainMember)));if(m.node)return m.error&&(this.state=m.failState),m.node}return super.parseSubscript(t,r,a,l)}parseNewCallee(t){super.parseNewCallee(t);let r=null;this.shouldParseTypes()&&this.match(47)&&(r=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),t.typeArguments=r}parseAsyncArrowWithTypeParameters(t){let r=this.startNodeAt(t);if(this.parseFunctionParams(r),!!this.parseArrow(r))return super.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(t){let r=this.input.charCodeAt(this.state.pos+1);if(t===42&&r===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(t)}readToken_pipe_amp(t){let r=this.input.charCodeAt(this.state.pos+1);if(t===124&&r===125){this.finishOp(9,2);return}super.readToken_pipe_amp(t)}parseTopLevel(t,r){let a=super.parseTopLevel(t,r);return this.state.hasFlowComment&&this.raise(ae.UnterminatedFlowComment,{at:this.state.curPosition()}),a}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ae.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let t=this.skipFlowComment();t&&(this.state.pos+=t,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:t}=this.state,r=2;for(;[32,9].includes(this.input.charCodeAt(t+r));)r++;let a=this.input.charCodeAt(r+t),l=this.input.charCodeAt(r+t+1);return a===58&&l===58?r+2:this.input.slice(r+t,r+t+12)==="flow-include"?r+12:a===58&&l!==58?r:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(st.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(t,r){let{enumName:a,memberName:l}=r;this.raise(ae.EnumBooleanMemberNotInitialized,{at:t,memberName:l,enumName:a})}flowEnumErrorInvalidMemberInitializer(t,r){return this.raise(r.explicitType?r.explicitType==="symbol"?ae.EnumInvalidMemberInitializerSymbolType:ae.EnumInvalidMemberInitializerPrimaryType:ae.EnumInvalidMemberInitializerUnknownType,Object.assign({at:t},r))}flowEnumErrorNumberMemberNotInitialized(t,r){let{enumName:a,memberName:l}=r;this.raise(ae.EnumNumberMemberNotInitialized,{at:t,enumName:a,memberName:l})}flowEnumErrorStringMemberInconsistentlyInitailized(t,r){let{enumName:a}=r;this.raise(ae.EnumStringMemberInconsistentlyInitailized,{at:t,enumName:a})}flowEnumMemberInit(){let t=this.state.startLoc,r=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let a=this.parseNumericLiteral(this.state.value);return r()?{type:"number",loc:a.loc.start,value:a}:{type:"invalid",loc:t}}case 131:{let a=this.parseStringLiteral(this.state.value);return r()?{type:"string",loc:a.loc.start,value:a}:{type:"invalid",loc:t}}case 85:case 86:{let a=this.parseBooleanLiteral(this.match(85));return r()?{type:"boolean",loc:a.loc.start,value:a}:{type:"invalid",loc:t}}default:return{type:"invalid",loc:t}}}flowEnumMemberRaw(){let t=this.state.startLoc,r=this.parseIdentifier(!0),a=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:t};return{id:r,init:a}}flowEnumCheckExplicitTypeMismatch(t,r,a){let{explicitType:l}=r;l!==null&&l!==a&&this.flowEnumErrorInvalidMemberInitializer(t,r)}flowEnumMembers(t){let{enumName:r,explicitType:a}=t,l=new Set,f={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},m=!1;for(;!this.match(8);){if(this.eat(21)){m=!0;break}let d=this.startNode(),{id:y,init:v}=this.flowEnumMemberRaw(),C=y.name;if(C==="")continue;/^[a-z]/.test(C)&&this.raise(ae.EnumInvalidMemberName,{at:y,memberName:C,suggestion:C[0].toUpperCase()+C.slice(1),enumName:r}),l.has(C)&&this.raise(ae.EnumDuplicateMemberName,{at:y,memberName:C,enumName:r}),l.add(C);let A={enumName:r,explicitType:a,memberName:C};switch(d.id=y,v.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(v.loc,A,"boolean"),d.init=v.value,f.booleanMembers.push(this.finishNode(d,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(v.loc,A,"number"),d.init=v.value,f.numberMembers.push(this.finishNode(d,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(v.loc,A,"string"),d.init=v.value,f.stringMembers.push(this.finishNode(d,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(v.loc,A);case"none":switch(a){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(v.loc,A);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(v.loc,A);break;default:f.defaultedMembers.push(this.finishNode(d,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:f,hasUnknownMembers:m}}flowEnumStringMembers(t,r,a){let{enumName:l}=a;if(t.length===0)return r;if(r.length===0)return t;if(r.length>t.length){for(let f of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(f,{enumName:l});return r}else{for(let f of r)this.flowEnumErrorStringMemberInconsistentlyInitailized(f,{enumName:l});return t}}flowEnumParseExplicitType(t){let{enumName:r}=t;if(!this.eatContextual(101))return null;if(!Ln(this.state.type))throw this.raise(ae.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:r});let{value:a}=this.state;return this.next(),a!=="boolean"&&a!=="number"&&a!=="string"&&a!=="symbol"&&this.raise(ae.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:r,invalidEnumType:a}),a}flowEnumBody(t,r){let a=r.name,l=r.loc.start,f=this.flowEnumParseExplicitType({enumName:a});this.expect(5);let{members:m,hasUnknownMembers:d}=this.flowEnumMembers({enumName:a,explicitType:f});switch(t.hasUnknownMembers=d,f){case"boolean":return t.explicitType=!0,t.members=m.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody");case"number":return t.explicitType=!0,t.members=m.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody");case"string":return t.explicitType=!0,t.members=this.flowEnumStringMembers(m.stringMembers,m.defaultedMembers,{enumName:a}),this.expect(8),this.finishNode(t,"EnumStringBody");case"symbol":return t.members=m.defaultedMembers,this.expect(8),this.finishNode(t,"EnumSymbolBody");default:{let y=()=>(t.members=[],this.expect(8),this.finishNode(t,"EnumStringBody"));t.explicitType=!1;let v=m.booleanMembers.length,C=m.numberMembers.length,A=m.stringMembers.length,B=m.defaultedMembers.length;if(!v&&!C&&!A&&!B)return y();if(!v&&!C)return t.members=this.flowEnumStringMembers(m.stringMembers,m.defaultedMembers,{enumName:a}),this.expect(8),this.finishNode(t,"EnumStringBody");if(!C&&!A&&v>=B){for(let N of m.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(N.loc.start,{enumName:a,memberName:N.id.name});return t.members=m.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody")}else if(!v&&!A&&C>=B){for(let N of m.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(N.loc.start,{enumName:a,memberName:N.id.name});return t.members=m.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody")}else return this.raise(ae.EnumInconsistentMemberValues,{at:l,enumName:a}),y()}}}flowParseEnumDeclaration(t){let r=this.parseIdentifier();return t.id=r,t.body=this.flowEnumBody(this.startNode(),r),this.finishNode(t,"EnumDeclaration")}isLookaheadToken_lt(){let t=this.nextTokenStart();if(this.input.charCodeAt(t)===60){let r=this.input.charCodeAt(t+1);return r!==60&&r!==61}return!1}maybeUnwrapTypeCastExpression(t){return t.type==="TypeCastExpression"?t.expression:t}},Ge={__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:"♦"},Ne=Ui`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:s=>{let{openingTagName:t}=s;return`Expected corresponding JSX closing tag for <${t}>.`},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:s=>{let{unexpected:t,HTMLEntity:r}=s;return`Unexpected token \`${t}\`. Did you mean \`${r}\` or \`{'${t}'}\`?`},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 pt(s){return s?s.type==="JSXOpeningFragment"||s.type==="JSXClosingFragment":!1}function bt(s){if(s.type==="JSXIdentifier")return s.name;if(s.type==="JSXNamespacedName")return s.namespace.name+":"+s.name.name;if(s.type==="JSXMemberExpression")return bt(s.object)+"."+bt(s.property);throw new Error("Node had unexpected type: "+s.type)}var Gt=s=>class extends s{jsxReadToken(){let t="",r=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Ne.UnterminatedJsxContent,{at:this.state.startLoc});let a=this.input.charCodeAt(this.state.pos);switch(a){case 60:case 123:return this.state.pos===this.state.start?a===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(a):(t+=this.input.slice(r,this.state.pos),this.finishToken(139,t));case 38:t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos;break;case 62:case 125:default:Eo(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!0),r=this.state.pos):++this.state.pos}}}jsxReadNewLine(t){let r=this.input.charCodeAt(this.state.pos),a;return++this.state.pos,r===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,a=t?`
275
- `:`\r
276
- `):a=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,a}jsxReadString(t){let r="",a=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(st.UnterminatedString,{at:this.state.startLoc});let l=this.input.charCodeAt(this.state.pos);if(l===t)break;l===38?(r+=this.input.slice(a,this.state.pos),r+=this.jsxReadEntity(),a=this.state.pos):Eo(l)?(r+=this.input.slice(a,this.state.pos),r+=this.jsxReadNewLine(!1),a=this.state.pos):++this.state.pos}return r+=this.input.slice(a,this.state.pos++),this.finishToken(131,r)}jsxReadEntity(){let t=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let r=10;this.codePointAtPos(this.state.pos)===120&&(r=16,++this.state.pos);let a=this.readInt(r,void 0,!1,"bail");if(a!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(a)}else{let r=0,a=!1;for(;r++<10&&this.state.pos<this.length&&!(a=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(a){let l=this.input.slice(t,this.state.pos),f=Ge[l];if(++this.state.pos,f)return f}}return this.state.pos=t,"&"}jsxReadWord(){let t,r=this.state.pos;do t=this.input.charCodeAt(++this.state.pos);while(bs(t)||t===45);return this.finishToken(138,this.input.slice(r,this.state.pos))}jsxParseIdentifier(){let t=this.startNode();return this.match(138)?t.name=this.state.value:Or(this.state.type)?t.name=Ns(this.state.type):this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsxParseNamespacedName(){let t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(14))return r;let a=this.startNodeAt(t);return a.namespace=r,a.name=this.jsxParseIdentifier(),this.finishNode(a,"JSXNamespacedName")}jsxParseElementName(){let t=this.state.startLoc,r=this.jsxParseNamespacedName();if(r.type==="JSXNamespacedName")return r;for(;this.eat(16);){let a=this.startNodeAt(t);a.object=r,a.property=this.jsxParseIdentifier(),r=this.finishNode(a,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let t;switch(this.state.type){case 5:return t=this.startNode(),this.setContext(Gi.brace),this.next(),t=this.jsxParseExpressionContainer(t,Gi.j_oTag),t.expression.type==="JSXEmptyExpression"&&this.raise(Ne.AttributeIsEmpty,{at:t}),t;case 140:case 131:return this.parseExprAtom();default:throw this.raise(Ne.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let t=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(t){return this.next(),t.expression=this.parseExpression(),this.setContext(Gi.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadChild")}jsxParseExpressionContainer(t,r){if(this.match(8))t.expression=this.jsxParseEmptyExpression();else{let a=this.parseExpression();t.expression=a}return this.setContext(r),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXExpressionContainer")}jsxParseAttribute(){let t=this.startNode();return this.match(5)?(this.setContext(Gi.brace),this.next(),this.expect(21),t.argument=this.parseMaybeAssignAllowIn(),this.setContext(Gi.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsxParseNamespacedName(),t.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}jsxParseOpeningElementAt(t){let r=this.startNodeAt(t);return this.eat(141)?this.finishNode(r,"JSXOpeningFragment"):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))}jsxParseOpeningElementAfterName(t){let r=[];for(;!this.match(56)&&!this.match(141);)r.push(this.jsxParseAttribute());return t.attributes=r,t.selfClosing=this.eat(56),this.expect(141),this.finishNode(t,"JSXOpeningElement")}jsxParseClosingElementAt(t){let r=this.startNodeAt(t);return this.eat(141)?this.finishNode(r,"JSXClosingFragment"):(r.name=this.jsxParseElementName(),this.expect(141),this.finishNode(r,"JSXClosingElement"))}jsxParseElementAt(t){let r=this.startNodeAt(t),a=[],l=this.jsxParseOpeningElementAt(t),f=null;if(!l.selfClosing){e:for(;;)switch(this.state.type){case 140:if(t=this.state.startLoc,this.next(),this.eat(56)){f=this.jsxParseClosingElementAt(t);break e}a.push(this.jsxParseElementAt(t));break;case 139:a.push(this.parseExprAtom());break;case 5:{let m=this.startNode();this.setContext(Gi.brace),this.next(),this.match(21)?a.push(this.jsxParseSpreadChild(m)):a.push(this.jsxParseExpressionContainer(m,Gi.j_expr));break}default:throw this.unexpected()}pt(l)&&!pt(f)&&f!==null?this.raise(Ne.MissingClosingTagFragment,{at:f}):!pt(l)&&pt(f)?this.raise(Ne.MissingClosingTagElement,{at:f,openingTagName:bt(l.name)}):!pt(l)&&!pt(f)&&bt(f.name)!==bt(l.name)&&this.raise(Ne.MissingClosingTagElement,{at:f,openingTagName:bt(l.name)})}if(pt(l)?(r.openingFragment=l,r.closingFragment=f):(r.openingElement=l,r.closingElement=f),r.children=a,this.match(47))throw this.raise(Ne.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return pt(l)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){let t=this.state.startLoc;return this.next(),this.jsxParseElementAt(t)}setContext(t){let{context:r}=this.state;r[r.length-1]=t}parseExprAtom(t){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(t)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(t){let r=this.curContext();if(r===Gi.j_expr)return this.jsxReadToken();if(r===Gi.j_oTag||r===Gi.j_cTag){if(ps(t))return this.jsxReadWord();if(t===62)return++this.state.pos,this.finishToken(141);if((t===34||t===39)&&r===Gi.j_oTag)return this.jsxReadString(t)}return t===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(t)}updateContext(t){let{context:r,type:a}=this.state;if(a===56&&t===140)r.splice(-2,2,Gi.j_cTag),this.state.canStartJSXElement=!1;else if(a===140)r.push(Gi.j_oTag);else if(a===141){let l=r[r.length-1];l===Gi.j_oTag&&t===56||l===Gi.j_cTag?(r.pop(),this.state.canStartJSXElement=r[r.length-1]===Gi.j_expr):(this.setContext(Gi.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Ai(a)}},dn=class extends Za{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},zn=class extends ja{constructor(){super(...arguments),this.importsStack=[]}createScope(s){return this.importsStack.push(new Set),new dn(s)}enter(s){s==co&&this.importsStack.push(new Set),super.enter(s)}exit(){let s=super.exit();return s==co&&this.importsStack.pop(),s}hasImport(s,t){let r=this.importsStack.length;if(this.importsStack[r-1].has(s))return!0;if(!t&&r>1){for(let a=0;a<r-1;a++)if(this.importsStack[a].has(s))return!0}return!1}declareName(s,t,r){if(t&Xa){this.hasImport(s,!0)&&this.parser.raise(st.VarRedeclaration,{at:r,identifierName:s}),this.importsStack[this.importsStack.length-1].add(s);return}let a=this.currentScope();if(t&xo){this.maybeExportDefined(a,s),a.exportOnlyBindings.add(s);return}super.declareName(s,t,r),t&ka&&(t&Oa||(this.checkRedeclarationInScope(a,s,t,r),this.maybeExportDefined(a,s)),a.types.add(s)),t&du&&a.enums.add(s),t&mu&&a.constEnums.add(s),t&Go&&a.classes.add(s)}isRedeclaredInScope(s,t,r){if(s.enums.has(t)){if(r&du){let a=!!(r&mu),l=s.constEnums.has(t);return a!==l}return!0}return r&Go&&s.classes.has(t)?s.lexical.has(t)?!!(r&Oa):!1:r&ka&&s.types.has(t)?!0:super.isRedeclaredInScope(s,t,r)}checkLocalExport(s){let{name:t}=s;if(this.hasImport(t))return;let r=this.scopeStack.length;for(let a=r-1;a>=0;a--){let l=this.scopeStack[a];if(l.types.has(t)||l.exportOnlyBindings.has(t))return}super.checkLocalExport(s)}},Un=(s,t)=>Object.hasOwnProperty.call(s,t)&&s[t];function Di(s){if(s==null)throw new Error(`Unexpected ${s} value.`);return s}function li(s){if(!s)throw new Error("Assert fail")}var un=Ui`typescript`({AbstractMethodHasImplementation:s=>{let{methodName:t}=s;return`Method '${t}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:s=>{let{propertyName:t}=s;return`Property '${t}' 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.",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:s=>{let{kind:t}=s;return`'declare' is not allowed in ${t}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:s=>"Accessibility modifier already seen.",DuplicateModifier:s=>{let{modifier:t}=s;return`Duplicate modifier: '${t}'.`},EmptyHeritageClauseType:s=>{let{token:t}=s;return`'${t}' 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:s=>{let{modifiers:t}=s;return`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:s=>{let{modifier:t}=s;return`Index signatures cannot have an accessibility modifier ('${t}').`},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:s=>{let{modifier:t}=s;return`'${t}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:s=>{let{modifier:t}=s;return`'${t}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:s=>{let{modifier:t}=s;return`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:s=>{let{orderedModifiers:t}=s;return`'${t[0]}' modifier must precede '${t[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:s=>{let{modifier:t}=s;return`Private elements cannot have an accessibility modifier ('${t}').`},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:s=>{let{typeParameterName:t}=s;return`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",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:s=>{let{type:t}=s;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`}});function Ei(s){switch(s){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 mi(s){return s==="private"||s==="public"||s==="protected"}function Fn(s){return s==="in"||s==="out"}var Gr=s=>class extends s{getScopeHandler(){return zn}tsIsIdentifier(){return Ln(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(t,r){if(!Ln(this.state.type)&&this.state.type!==58)return;let a=this.state.value;if(t.indexOf(a)!==-1){if(r&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return a}}tsParseModifiers(t){let{modified:r,allowedModifiers:a,disallowedModifiers:l,stopOnStartOfClassStaticBlock:f,errorTemplate:m=un.InvalidModifierOnTypeMember}=t,d=(v,C,A,B)=>{C===A&&r[B]&&this.raise(un.InvalidModifiersOrder,{at:v,orderedModifiers:[A,B]})},y=(v,C,A,B)=>{(r[A]&&C===B||r[B]&&C===A)&&this.raise(un.IncompatibleModifiers,{at:v,modifiers:[A,B]})};for(;;){let{startLoc:v}=this.state,C=this.tsParseModifier(a.concat(l??[]),f);if(!C)break;mi(C)?r.accessibility?this.raise(un.DuplicateAccessibilityModifier,{at:v,modifier:C}):(d(v,C,C,"override"),d(v,C,C,"static"),d(v,C,C,"readonly"),r.accessibility=C):Fn(C)?(r[C]&&this.raise(un.DuplicateModifier,{at:v,modifier:C}),r[C]=!0,d(v,C,"in","out")):(Object.hasOwnProperty.call(r,C)?this.raise(un.DuplicateModifier,{at:v,modifier:C}):(d(v,C,"static","readonly"),d(v,C,"static","override"),d(v,C,"override","readonly"),d(v,C,"abstract","override"),y(v,C,"declare","override"),y(v,C,"static","abstract")),r[C]=!0),l!=null&&l.includes(C)&&this.raise(m,{at:v,modifier:C})}}tsIsListTerminator(t){switch(t){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)}throw new Error("Unreachable")}tsParseList(t,r){let a=[];for(;!this.tsIsListTerminator(t);)a.push(r());return a}tsParseDelimitedList(t,r,a){return Di(this.tsParseDelimitedListWorker(t,r,!0,a))}tsParseDelimitedListWorker(t,r,a,l){let f=[],m=-1;for(;!this.tsIsListTerminator(t);){m=-1;let d=r();if(d==null)return;if(f.push(d),this.eat(12)){m=this.state.lastTokStart;continue}if(this.tsIsListTerminator(t))break;a&&this.expect(12);return}return l&&(l.value=m),f}tsParseBracketedList(t,r,a,l,f){l||(a?this.expect(0):this.expect(47));let m=this.tsParseDelimitedList(t,r,f);return a?this.expect(3):this.expect(48),m}tsParseImportType(){let t=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(un.UnsupportedImportTypeArgument,{at:this.state.startLoc}),t.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(t.qualifier=this.tsParseEntityName()),this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSImportType")}tsParseEntityName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,r=this.parseIdentifier(t);for(;this.eat(16);){let a=this.startNodeAtNode(r);a.left=r,a.right=this.parseIdentifier(t),r=this.finishNode(a,"TSQualifiedName")}return r}tsParseTypeReference(){let t=this.startNode();return t.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeReference")}tsParseThisTypePredicate(t){this.next();let r=this.startNodeAtNode(t);return r.parameterName=t,r.typeAnnotation=this.tsParseTypeAnnotation(!1),r.asserts=!1,this.finishNode(r,"TSTypePredicate")}tsParseThisTypeNode(){let t=this.startNode();return this.next(),this.finishNode(t,"TSThisType")}tsParseTypeQuery(){let t=this.startNode();return this.expect(87),this.match(83)?t.exprName=this.tsParseImportType():t.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeQuery")}tsParseInOutModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:un.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:un.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.tsParseNoneModifiers.bind(this),r=this.startNode();return t(r),r.name=this.tsParseTypeParameterName(),r.constraint=this.tsEatThenParseType(81),r.default=this.tsEatThenParseType(29),this.finishNode(r,"TSTypeParameter")}tsTryParseTypeParameters(t){if(this.match(47))return this.tsParseTypeParameters(t)}tsParseTypeParameters(t){let r=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let a={value:-1};return r.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,t),!1,!0,a),r.params.length===0&&this.raise(un.EmptyTypeParameters,{at:r}),a.value!==-1&&this.addExtra(r,"trailingComma",a.value),this.finishNode(r,"TSTypeParameterDeclaration")}tsFillSignature(t,r){let a=t===19,l="parameters",f="typeAnnotation";r.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),r[l]=this.tsParseBindingListForSignature(),a?r[f]=this.tsParseTypeOrTypePredicateAnnotation(t):this.match(t)&&(r[f]=this.tsParseTypeOrTypePredicateAnnotation(t))}tsParseBindingListForSignature(){return super.parseBindingList(11,41).map(t=>(t.type!=="Identifier"&&t.type!=="RestElement"&&t.type!=="ObjectPattern"&&t.type!=="ArrayPattern"&&this.raise(un.UnsupportedSignatureParameterKind,{at:t,type:t.type}),t))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(t,r){return this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon(),this.finishNode(r,t)}tsIsUnambiguouslyIndexSignature(){return this.next(),Ln(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(t){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let r=this.parseIdentifier();r.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(r),this.expect(3),t.parameters=[r];let a=this.tsTryParseTypeAnnotation();return a&&(t.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}tsParsePropertyOrMethodSignature(t,r){this.eat(17)&&(t.optional=!0);let a=t;if(this.match(10)||this.match(47)){r&&this.raise(un.ReadonlyForMethodSignature,{at:t});let l=a;l.kind&&this.match(47)&&this.raise(un.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,l),this.tsParseTypeMemberSemicolon();let f="parameters",m="typeAnnotation";if(l.kind==="get")l[f].length>0&&(this.raise(st.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(l[f][0])&&this.raise(un.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(l.kind==="set"){if(l[f].length!==1)this.raise(st.BadSetterArity,{at:this.state.curPosition()});else{let d=l[f][0];this.isThisParam(d)&&this.raise(un.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),d.type==="Identifier"&&d.optional&&this.raise(un.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),d.type==="RestElement"&&this.raise(un.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}l[m]&&this.raise(un.SetAccesorCannotHaveReturnType,{at:l[m]})}else l.kind="method";return this.finishNode(l,"TSMethodSignature")}else{let l=a;r&&(l.readonly=!0);let f=this.tsTryParseTypeAnnotation();return f&&(l.typeAnnotation=f),this.tsParseTypeMemberSemicolon(),this.finishNode(l,"TSPropertySignature")}}tsParseTypeMember(){let t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){let a=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(a,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}return this.tsParseModifiers({modified:t,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(t)||(super.parsePropertyName(t),!t.computed&&t.key.type==="Identifier"&&(t.key.name==="get"||t.key.name==="set")&&this.tsTokenCanFollowModifier()&&(t.kind=t.key.name,super.parsePropertyName(t)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))}tsParseTypeLiteral(){let t=this.startNode();return t.members=this.tsParseObjectTypeMembers(),this.finishNode(t,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let t=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),t}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 t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),this.finishNode(t,"TSTypeParameter")}tsParseMappedType(){let t=this.startNode();return this.expect(5),this.match(53)?(t.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(t.readonly=!0),this.expect(0),t.typeParameter=this.tsParseMappedTypeParameter(),t.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(t.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(t.optional=!0),t.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(t,"TSMappedType")}tsParseTupleType(){let t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let r=!1,a=null;return t.elementTypes.forEach(l=>{let{type:f}=l;r&&f!=="TSRestType"&&f!=="TSOptionalType"&&!(f==="TSNamedTupleMember"&&l.optional)&&this.raise(un.OptionalTypeBeforeRequired,{at:l}),r||(r=f==="TSNamedTupleMember"&&l.optional||f==="TSOptionalType");let m=f;f==="TSRestType"&&(l=l.typeAnnotation,m=l.type);let d=m==="TSNamedTupleMember";a!=null||(a=d),a!==d&&this.raise(un.MixedLabeledAndUnlabeledElements,{at:l})}),this.finishNode(t,"TSTupleType")}tsParseTupleElementType(){let{startLoc:t}=this.state,r=this.eat(21),a=this.tsParseType(),l=this.eat(17);if(this.eat(14)){let f=this.startNodeAtNode(a);f.optional=l,a.type==="TSTypeReference"&&!a.typeParameters&&a.typeName.type==="Identifier"?f.label=a.typeName:(this.raise(un.InvalidTupleMemberLabel,{at:a}),f.label=a),f.elementType=this.tsParseType(),a=this.finishNode(f,"TSNamedTupleMember")}else if(l){let f=this.startNodeAtNode(a);f.typeAnnotation=a,a=this.finishNode(f,"TSOptionalType")}if(r){let f=this.startNodeAt(t);f.typeAnnotation=a,a=this.finishNode(f,"TSRestType")}return a}tsParseParenthesizedType(){let t=this.startNode();return this.expect(10),t.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(t,"TSParenthesizedType")}tsParseFunctionOrConstructorType(t,r){let a=this.startNode();return t==="TSConstructorType"&&(a.abstract=!!r,r&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,a)),this.finishNode(a,t)}tsParseLiteralTypeNode(){let t=this.startNode();return t.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(t,"TSLiteralType")}tsParseTemplateLiteralType(){let t=this.startNode();return t.literal=super.parseTemplate(!1),this.finishNode(t,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let t=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t}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 t=this.startNode(),r=this.lookahead();if(r.type!==132&&r.type!==133)throw this.unexpected();return t.literal=this.parseMaybeUnary(),this.finishNode(t,"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:t}=this.state;if(Ln(t)||t===88||t===84){let r=t===88?"TSVoidKeyword":t===84?"TSNullKeyword":Ei(this.state.value);if(r!==void 0&&this.lookaheadCharCode()!==46){let a=this.startNode();return this.next(),this.finishNode(a,r)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let r=this.startNodeAtNode(t);r.elementType=t,this.expect(3),t=this.finishNode(r,"TSArrayType")}else{let r=this.startNodeAtNode(t);r.objectType=t,r.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(r,"TSIndexedAccessType")}return t}tsParseTypeOperator(){let t=this.startNode(),r=this.state.value;return this.next(),t.operator=r,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),r==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(t){switch(t.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(un.UnexpectedReadonly,{at:t})}}tsParseInferType(){let t=this.startNode();this.expectContextual(113);let r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),t.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(t,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let t=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}}tsParseTypeOperatorOrHigher(){return Ji(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(t,r,a){let l=this.startNode(),f=this.eat(a),m=[];do m.push(r());while(this.eat(a));return m.length===1&&!f?m[0]:(l.types=m,this.finishNode(l,t))}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(Ln(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:t}=this.state,r=t.length;try{return this.parseObjectLike(8,!0),t.length===r}catch{return!1}}if(this.match(0)){this.next();let{errors:t}=this.state,r=t.length;try{return super.parseBindingList(3,93,!0),t.length===r}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(t){return this.tsInType(()=>{let r=this.startNode();this.expect(t);let a=this.startNode(),l=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(l&&this.match(78)){let d=this.tsParseThisTypeOrThisTypePredicate();return d.type==="TSThisType"?(a.parameterName=d,a.asserts=!0,a.typeAnnotation=null,d=this.finishNode(a,"TSTypePredicate")):(this.resetStartLocationFromNode(d,a),d.asserts=!0),r.typeAnnotation=d,this.finishNode(r,"TSTypeAnnotation")}let f=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!f)return l?(a.parameterName=this.parseIdentifier(),a.asserts=l,a.typeAnnotation=null,r.typeAnnotation=this.finishNode(a,"TSTypePredicate"),this.finishNode(r,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,r);let m=this.tsParseTypeAnnotation(!1);return a.parameterName=f,a.typeAnnotation=m,a.asserts=l,r.typeAnnotation=this.finishNode(a,"TSTypePredicate"),this.finishNode(r,"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 t=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),t}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let t=this.state.containsEsc;return this.next(),!Ln(this.state.type)&&!this.match(78)?!1:(t&&this.raise(st.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{t&&this.expect(14),r.typeAnnotation=this.tsParseType()}),this.finishNode(r,"TSTypeAnnotation")}tsParseType(){li(this.state.inType);let t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;let r=this.startNodeAtNode(t);return r.checkType=t,r.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),r.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),r.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(r,"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(un.ReservedTypeAssertion,{at:this.state.startLoc});let t=this.startNode();return t.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}tsParseHeritageClause(t){let r=this.state.startLoc,a=this.tsParseDelimitedList("HeritageClauseElement",()=>{let l=this.startNode();return l.expression=this.tsParseEntityName(),this.match(47)&&(l.typeParameters=this.tsParseTypeArguments()),this.finishNode(l,"TSExpressionWithTypeArguments")});return a.length||this.raise(un.EmptyHeritageClauseType,{at:r,token:t}),a}tsParseInterfaceDeclaration(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),r.declare&&(t.declare=!0),Ln(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,nc)):(t.id=null,this.raise(un.MissingInterfaceName,{at:this.state.startLoc})),t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(t.extends=this.tsParseHeritageClause("extends"));let a=this.startNode();return a.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),t.body=this.finishNode(a,"TSInterfaceBody"),this.finishNode(t,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(t){return t.id=this.parseIdentifier(),this.checkIdentifier(t.id,El),t.typeAnnotation=this.tsInType(()=>{if(t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let r=this.startNode();return this.next(),this.finishNode(r,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}tsInNoContext(t){let r=this.state.context;this.state.context=[r[0]];try{return t()}finally{this.state.context=r}}tsInType(t){let r=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=r}}tsInDisallowConditionalTypesContext(t){let r=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return t()}finally{this.state.inDisallowConditionalTypesContext=r}}tsInAllowConditionalTypesContext(t){let r=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return t()}finally{this.state.inDisallowConditionalTypesContext=r}}tsEatThenParseType(t){return this.match(t)?this.tsNextThenParseType():void 0}tsExpectThenParseType(t){return this.tsDoThenParseType(()=>this.expect(t))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(t){return this.tsInType(()=>(t(),this.tsParseType()))}tsParseEnumMember(){let t=this.startNode();return t.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(t.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(t,"TSEnumMember")}tsParseEnumDeclaration(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.const&&(t.const=!0),r.declare&&(t.declare=!0),this.expectContextual(124),t.id=this.parseIdentifier(),this.checkIdentifier(t.id,t.const?yu:ju),this.expect(5),t.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(t,"TSEnumDeclaration")}tsParseModuleBlock(){let t=this.startNode();return this.scope.enter(qo),this.expect(5),super.parseBlockOrModuleBlockBody(t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.id=this.parseIdentifier(),r||this.checkIdentifier(t.id,rl),this.eat(16)){let a=this.startNode();this.tsParseModuleOrNamespaceDeclaration(a,!0),t.body=a}else this.scope.enter(co),this.prodParam.enter(iu),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(t,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(t){return this.isContextual(110)?(t.global=!0,t.id=this.parseIdentifier()):this.match(131)?t.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(co),this.prodParam.enter(iu),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(t,r){t.isExport=r||!1,t.id=this.parseIdentifier(),this.checkIdentifier(t.id,Xa),this.expect(29);let a=this.tsParseModuleReference();return t.importKind==="type"&&a.type!=="TSExternalModuleReference"&&this.raise(un.ImportAliasHasImportType,{at:a}),t.moduleReference=a,this.semicolon(),this.finishNode(t,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let t=this.startNode();if(this.expectContextual(117),this.expect(10),!this.match(131))throw this.unexpected();return t.expression=super.parseExprAtom(),this.expect(11),this.finishNode(t,"TSExternalModuleReference")}tsLookAhead(t){let r=this.state.clone(),a=t();return this.state=r,a}tsTryParseAndCatch(t){let r=this.tryParse(a=>t()||a());if(!(r.aborted||!r.node))return r.error&&(this.state=r.failState),r.node}tsTryParse(t){let r=this.state.clone(),a=t();if(a!==void 0&&a!==!1)return a;this.state=r}tsTryParseDeclare(t){if(this.isLineTerminator())return;let r=this.state.type,a;return this.isContextual(99)&&(r=74,a="let"),this.tsInAmbientContext(()=>{if(r===68)return t.declare=!0,super.parseFunctionStatement(t,!1,!0);if(r===80)return t.declare=!0,this.parseClass(t,!0,!1);if(r===124)return this.tsParseEnumDeclaration(t,{declare:!0});if(r===110)return this.tsParseAmbientExternalModuleDeclaration(t);if(r===75||r===74)return!this.match(75)||!this.isLookaheadContextual("enum")?(t.declare=!0,this.parseVarStatement(t,a||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(t,{const:!0,declare:!0}));if(r===127){let l=this.tsParseInterfaceDeclaration(t,{declare:!0});if(l)return l}if(Ln(r))return this.tsParseDeclaration(t,this.state.value,!0,null)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(t,r,a){switch(r.name){case"declare":{let l=this.tsTryParseDeclare(t);if(l)return l.declare=!0,l;break}case"global":if(this.match(5)){this.scope.enter(co),this.prodParam.enter(iu);let l=t;return l.global=!0,l.id=r,l.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(l,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,r.name,!1,a)}}tsParseDeclaration(t,r,a,l){switch(r){case"abstract":if(this.tsCheckLineTerminator(a)&&(this.match(80)||Ln(this.state.type)))return this.tsParseAbstractDeclaration(t,l);break;case"module":if(this.tsCheckLineTerminator(a)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(t);if(Ln(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(a)&&Ln(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(a)&&Ln(this.state.type))return this.tsParseTypeAliasDeclaration(t);break}}tsCheckLineTerminator(t){return t?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(t){if(!this.match(47))return;let r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let a=this.tsTryParseAndCatch(()=>{let l=this.startNodeAt(t);return l.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(l),l.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),l});if(this.state.maybeInArrowParameters=r,!!a)return super.parseArrowExpression(a,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let t=this.startNode();return t.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),t.params.length===0&&this.raise(un.EmptyTypeArguments,{at:t}),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Js(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(t,r){let a=this.state.startLoc,l,f=!1,m=!1;if(t!==void 0){let v={};this.tsParseModifiers({modified:v,allowedModifiers:["public","private","protected","override","readonly"]}),l=v.accessibility,m=v.override,f=v.readonly,t===!1&&(l||f||m)&&this.raise(un.UnexpectedParameterModifier,{at:a})}let d=this.parseMaybeDefault();this.parseAssignableListItemTypes(d);let y=this.parseMaybeDefault(d.loc.start,d);if(l||f||m){let v=this.startNodeAt(a);return r.length&&(v.decorators=r),l&&(v.accessibility=l),f&&(v.readonly=f),m&&(v.override=m),y.type!=="Identifier"&&y.type!=="AssignmentPattern"&&this.raise(un.UnsupportedParameterPropertyKind,{at:v}),v.parameter=y,this.finishNode(v,"TSParameterProperty")}return r.length&&(d.decorators=r),y}isSimpleParameter(t){return t.type==="TSParameterProperty"&&super.isSimpleParameter(t.parameter)||super.isSimpleParameter(t)}parseFunctionBodyAndFinish(t,r){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.match(14)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let l=r==="FunctionDeclaration"?"TSDeclareFunction":r==="ClassMethod"||r==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return l&&!this.match(5)&&this.isLineTerminator()?this.finishNode(t,l):l==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(un.DeclareFunctionHasImplementation,{at:t}),t.declare)?super.parseFunctionBodyAndFinish(t,l,a):super.parseFunctionBodyAndFinish(t,r,a)}registerFunctionStatementId(t){!t.body&&t.id?this.checkIdentifier(t.id,Ko):super.registerFunctionStatementId(t)}tsCheckForInvalidTypeCasts(t){t.forEach(r=>{(r==null?void 0:r.type)==="TSTypeCastExpression"&&this.raise(un.UnexpectedTypeAnnotation,{at:r.typeAnnotation})})}toReferencedList(t,r){return this.tsCheckForInvalidTypeCasts(t),t}parseArrayLike(t,r,a,l){let f=super.parseArrayLike(t,r,a,l);return f.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(f.elements),f}parseSubscript(t,r,a,l){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let m=this.startNodeAt(r);return m.expression=t,this.finishNode(m,"TSNonNullExpression")}let f=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(a)return l.stop=!0,t;l.optionalChainMember=f=!0,this.next()}if(this.match(47)||this.match(51)){let m,d=this.tsTryParseAndCatch(()=>{if(!a&&this.atPossibleAsyncArrow(t)){let A=this.tsTryParseGenericAsyncArrowFunction(r);if(A)return A}let y=this.tsParseTypeArgumentsInExpression();if(!y)return;if(f&&!this.match(10)){m=this.state.curPosition();return}if(la(this.state.type)){let A=super.parseTaggedTemplateExpression(t,r,l);return A.typeParameters=y,A}if(!a&&this.eat(10)){let A=this.startNodeAt(r);return A.callee=t,A.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(A.arguments),A.typeParameters=y,l.optionalChainMember&&(A.optional=f),this.finishCallExpression(A,l.optionalChainMember)}let v=this.state.type;if(v===48||v===52||v!==10&&Wi(v)&&!this.hasPrecedingLineBreak())return;let C=this.startNodeAt(r);return C.expression=t,C.typeParameters=y,this.finishNode(C,"TSInstantiationExpression")});if(m&&this.unexpected(m,10),d)return d.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(un.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),d}return super.parseSubscript(t,r,a,l)}parseNewCallee(t){var r;super.parseNewCallee(t);let{callee:a}=t;a.type==="TSInstantiationExpression"&&!((r=a.extra)!=null&&r.parenthesized)&&(t.typeParameters=a.typeParameters,t.callee=a.expression)}parseExprOp(t,r,a){let l;if(na(58)>a&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(l=this.isContextual(118)))){let f=this.startNodeAt(r);return f.expression=t,f.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(l&&this.raise(st.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(f,l?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(f,r,a)}return super.parseExprOp(t,r,a)}checkReservedWord(t,r,a,l){this.state.isAmbientContext||super.checkReservedWord(t,r,a,l)}checkImportReflection(t){super.checkImportReflection(t),t.module&&t.importKind!=="value"&&this.raise(un.ImportReflectionHasImportType,{at:t.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(t){if(t.importKind="value",Ln(this.state.type)||this.match(55)||this.match(5)){let a=this.lookahead();if(this.isContextual(128)&&a.type!==12&&a.type!==97&&a.type!==29&&(t.importKind="type",this.next(),a=this.lookahead()),Ln(this.state.type)&&a.type===29)return this.tsParseImportEqualsDeclaration(t)}let r=super.parseImport(t);return r.importKind==="type"&&r.specifiers.length>1&&r.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(un.TypeImportCannotSpecifyDefaultAndNamed,{at:r}),r}parseExport(t,r){if(this.match(83))return this.next(),this.isContextual(128)&&this.lookaheadCharCode()!==61?(t.importKind="type",this.next()):t.importKind="value",this.tsParseImportEqualsDeclaration(t,!0);if(this.eat(29)){let a=t;return a.expression=super.parseExpression(),this.semicolon(),this.finishNode(a,"TSExportAssignment")}else if(this.eatContextual(93)){let a=t;return this.expectContextual(126),a.id=this.parseIdentifier(),this.semicolon(),this.finishNode(a,"TSNamespaceExportDeclaration")}else return this.isContextual(128)&&this.lookahead().type===5?(this.next(),t.exportKind="type"):t.exportKind="value",super.parseExport(t,r)}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0)}if(this.match(127)){let t=this.tsParseInterfaceDeclaration(this.startNode());if(t)return t}return super.parseExportDefaultExpression()}parseVarStatement(t,r){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{isAmbientContext:l}=this.state,f=super.parseVarStatement(t,r,a||l);if(!l)return f;for(let{id:m,init:d}of f.declarations)!d||(r!=="const"||!!m.typeAnnotation?this.raise(un.InitializerNotAllowedInAmbientContext,{at:d}):d.type!=="StringLiteral"&&d.type!=="BooleanLiteral"&&d.type!=="NumericLiteral"&&d.type!=="BigIntLiteral"&&(d.type!=="TemplateLiteral"||d.expressions.length>0)&&!Cn(d)&&this.raise(un.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:d}));return f}parseStatementContent(t,r,a){if(this.match(75)&&this.isLookaheadContextual("enum")){let l=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(l,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let l=this.tsParseInterfaceDeclaration(this.startNode());if(l)return l}return super.parseStatementContent(t,r,a)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(t,r){return r.some(a=>mi(a)?t.accessibility===a:!!t[a])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(t,r,a){let l=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:r,allowedModifiers:l,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:un.InvalidModifierOnTypeParameterPositions});let f=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(r,l)&&this.raise(un.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(t,r)):this.parseClassMemberWithIsStatic(t,r,a,!!r.static)};r.declare?this.tsInAmbientContext(f):f()}parseClassMemberWithIsStatic(t,r,a,l){let f=this.tsTryParseIndexSignature(r);if(f){t.body.push(f),r.abstract&&this.raise(un.IndexSignatureHasAbstract,{at:r}),r.accessibility&&this.raise(un.IndexSignatureHasAccessibility,{at:r,modifier:r.accessibility}),r.declare&&this.raise(un.IndexSignatureHasDeclare,{at:r}),r.override&&this.raise(un.IndexSignatureHasOverride,{at:r});return}!this.state.inAbstractClass&&r.abstract&&this.raise(un.NonAbstractClassHasAbstractMethod,{at:r}),r.override&&(a.hadSuperClass||this.raise(un.OverrideNotInSubClass,{at:r})),super.parseClassMemberWithIsStatic(t,r,a,l)}parsePostMemberNameModifiers(t){this.eat(17)&&(t.optional=!0),t.readonly&&this.match(10)&&this.raise(un.ClassMethodHasReadonly,{at:t}),t.declare&&this.match(10)&&this.raise(un.ClassMethodHasDeclare,{at:t})}parseExpressionStatement(t,r,a){return(r.type==="Identifier"?this.tsParseExpressionStatement(t,r,a):void 0)||super.parseExpressionStatement(t,r,a)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(t,r,a){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(t,r,a);let l=this.tryParse(()=>super.parseConditional(t,r));return l.node?(l.error&&(this.state=l.failState),l.node):(l.error&&super.setOptionalParametersError(a,l.error),t)}parseParenItem(t,r){if(t=super.parseParenItem(t,r),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let a=this.startNodeAt(r);return a.expression=t,a.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(a,"TSTypeCastExpression")}return t}parseExportDeclaration(t){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(t));let r=this.state.startLoc,a=this.eatContextual(123);if(a&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(un.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let l=Ln(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(t);return l?((l.type==="TSInterfaceDeclaration"||l.type==="TSTypeAliasDeclaration"||a)&&(t.exportKind="type"),a&&(this.resetStartLocation(l,r),l.declare=!0),l):null}parseClassId(t,r,a,l){if((!r||a)&&this.isContextual(111))return;super.parseClassId(t,r,a,t.declare?Ko:gu);let f=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));f&&(t.typeParameters=f)}parseClassPropertyAnnotation(t){!t.optional&&this.eat(35)&&(t.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(t.typeAnnotation=r)}parseClassProperty(t){if(this.parseClassPropertyAnnotation(t),this.state.isAmbientContext&&!(t.readonly&&!t.typeAnnotation)&&this.match(29)&&this.raise(un.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),t.abstract&&this.match(29)){let{key:r}=t;this.raise(un.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:r.type==="Identifier"&&!t.computed?r.name:`[${this.input.slice(r.start,r.end)}]`})}return super.parseClassProperty(t)}parseClassPrivateProperty(t){return t.abstract&&this.raise(un.PrivateElementHasAbstract,{at:t}),t.accessibility&&this.raise(un.PrivateElementHasAccessibility,{at:t,modifier:t.accessibility}),this.parseClassPropertyAnnotation(t),super.parseClassPrivateProperty(t)}pushClassMethod(t,r,a,l,f,m){let d=this.tsTryParseTypeParameters();d&&f&&this.raise(un.ConstructorHasTypeParameters,{at:d});let{declare:y=!1,kind:v}=r;y&&(v==="get"||v==="set")&&this.raise(un.DeclareAccessor,{at:r,kind:v}),d&&(r.typeParameters=d),super.pushClassMethod(t,r,a,l,f,m)}pushClassPrivateMethod(t,r,a,l){let f=this.tsTryParseTypeParameters();f&&(r.typeParameters=f),super.pushClassPrivateMethod(t,r,a,l)}declareClassPrivateMethodInScope(t,r){t.type!=="TSDeclareMethod"&&(t.type==="MethodDefinition"&&!t.value.body||super.declareClassPrivateMethodInScope(t,r))}parseClassSuper(t){super.parseClassSuper(t),t.superClass&&(this.match(47)||this.match(51))&&(t.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(t.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(t,r,a,l,f,m,d){let y=this.tsTryParseTypeParameters();return y&&(t.typeParameters=y),super.parseObjPropValue(t,r,a,l,f,m,d)}parseFunctionParams(t,r){let a=this.tsTryParseTypeParameters();a&&(t.typeParameters=a),super.parseFunctionParams(t,r)}parseVarId(t,r){super.parseVarId(t,r),t.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(t.definite=!0);let a=this.tsTryParseTypeAnnotation();a&&(t.id.typeAnnotation=a,this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,r){return this.match(14)&&(t.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(t,r)}parseMaybeAssign(t,r){var a,l,f,m,d,y,v;let C,A,B;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(C=this.state.clone(),A=this.tryParse(()=>super.parseMaybeAssign(t,r),C),!A.error)return A.node;let{context:P}=this.state,_=P[P.length-1];(_===Gi.j_oTag||_===Gi.j_expr)&&P.pop()}if(!((a=A)!=null&&a.error)&&!this.match(47))return super.parseMaybeAssign(t,r);(!C||C===this.state)&&(C=this.state.clone());let N,L=this.tryParse(P=>{var _,R;N=this.tsParseTypeParameters();let J=super.parseMaybeAssign(t,r);return(J.type!=="ArrowFunctionExpression"||(_=J.extra)!=null&&_.parenthesized)&&P(),((R=N)==null?void 0:R.params.length)!==0&&this.resetStartLocationFromNode(J,N),J.typeParameters=N,J},C);if(!L.error&&!L.aborted)return N&&this.reportReservedArrowTypeParam(N),L.node;if(!A&&(li(!this.hasPlugin("jsx")),B=this.tryParse(()=>super.parseMaybeAssign(t,r),C),!B.error))return B.node;if((l=A)!=null&&l.node)return this.state=A.failState,A.node;if(L.node)return this.state=L.failState,N&&this.reportReservedArrowTypeParam(N),L.node;if((f=B)!=null&&f.node)return this.state=B.failState,B.node;throw(m=A)!=null&&m.thrown?A.error:L.thrown?L.error:(d=B)!=null&&d.thrown?B.error:((y=A)==null?void 0:y.error)||L.error||((v=B)==null?void 0:v.error)}reportReservedArrowTypeParam(t){var r;t.params.length===1&&!((r=t.extra)!=null&&r.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(un.ReservedArrowTypeParam,{at:t})}parseMaybeUnary(t,r){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(t,r)}parseArrow(t){if(this.match(14)){let r=this.tryParse(a=>{let l=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&a(),l});if(r.aborted)return;r.thrown||(r.error&&(this.state=r.failState),t.returnType=r.node)}return super.parseArrow(t)}parseAssignableListItemTypes(t){this.eat(17)&&(t.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType&&this.raise(un.PatternIsOptional,{at:t}),t.optional=!0);let r=this.tsTryParseTypeAnnotation();return r&&(t.typeAnnotation=r),this.resetEndLocation(t),t}isAssignable(t,r){switch(t.type){case"TSTypeCastExpression":return this.isAssignable(t.expression,r);case"TSParameterProperty":return!0;default:return super.isAssignable(t,r)}}toAssignable(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;switch(t.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(t,r);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":r?this.expressionScope.recordArrowParemeterBindingError(un.UnexpectedTypeCastInParameter,{at:t}):this.raise(un.UnexpectedTypeCastInParameter,{at:t}),this.toAssignable(t.expression,r);break;case"AssignmentExpression":!r&&t.left.type==="TSTypeCastExpression"&&(t.left=this.typeCastToParameter(t.left));default:super.toAssignable(t,r)}}toAssignableParenthesizedExpression(t,r){switch(t.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(t.expression,r);break;default:super.toAssignable(t,r)}}checkToRestConversion(t,r){switch(t.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(t.expression,!1);break;default:super.checkToRestConversion(t,r)}}isValidLVal(t,r,a){return Un({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(a!==ga||!r)&&["expression",!0],TSSatisfiesExpression:(a!==ga||!r)&&["expression",!0],TSTypeAssertion:(a!==ga||!r)&&["expression",!0]},t)||super.isValidLVal(t,r,a)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(t){if(this.match(47)||this.match(51)){let r=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let a=super.parseMaybeDecoratorArguments(t);return a.typeParameters=r,a}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(t)}checkCommaAfterRest(t){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===t?(this.next(),!1):super.checkCommaAfterRest(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(t,r){let a=super.parseMaybeDefault(t,r);return a.type==="AssignmentPattern"&&a.typeAnnotation&&a.right.start<a.typeAnnotation.start&&this.raise(un.TypeAnnotationAfterAssign,{at:a.typeAnnotation}),a}getTokenFromCode(t){if(this.state.inType){if(t===62)return this.finishOp(48,1);if(t===60)return this.finishOp(47,1)}return super.getTokenFromCode(t)}reScan_lt_gt(){let{type:t}=this.state;t===47?(this.state.pos-=1,this.readToken_lt()):t===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:t}=this.state;return t===51?(this.state.pos-=2,this.finishOp(47,1),47):t}toAssignableList(t,r,a){for(let l=0;l<t.length;l++){let f=t[l];(f==null?void 0:f.type)==="TSTypeCastExpression"&&(t[l]=this.typeCastToParameter(f))}super.toAssignableList(t,r,a)}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}shouldParseArrow(t){return this.match(14)?t.every(r=>this.isAssignable(r,!0)):super.shouldParseArrow(t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(t){if(this.match(47)||this.match(51)){let r=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());r&&(t.typeParameters=r)}return super.jsxParseOpeningElementAfterName(t)}getGetterSetterExpectedParamCount(t){let r=super.getGetterSetterExpectedParamCount(t),a=this.getObjectOrClassMethodParams(t)[0];return a&&this.isThisParam(a)?r+1:r}parseCatchClauseParam(){let t=super.parseCatchClauseParam(),r=this.tsTryParseTypeAnnotation();return r&&(t.typeAnnotation=r,this.resetEndLocation(t)),t}tsInAmbientContext(t){let r=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return t()}finally{this.state.isAmbientContext=r}}parseClass(t,r,a){let l=this.state.inAbstractClass;this.state.inAbstractClass=!!t.abstract;try{return super.parseClass(t,r,a)}finally{this.state.inAbstractClass=l}}tsParseAbstractDeclaration(t,r){if(this.match(80))return t.abstract=!0,this.maybeTakeDecorators(r,this.parseClass(t,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return t.abstract=!0,this.raise(un.NonClassMethodPropertyHasAbstractModifer,{at:t}),this.tsParseInterfaceDeclaration(t)}else this.unexpected(null,80)}parseMethod(t,r,a,l,f,m,d){let y=super.parseMethod(t,r,a,l,f,m,d);if(y.abstract&&(this.hasPlugin("estree")?!!y.value.body:!!y.body)){let{key:v}=y;this.raise(un.AbstractMethodHasImplementation,{at:y,methodName:v.type==="Identifier"&&!y.computed?v.name:`[${this.input.slice(v.start,v.end)}]`})}return y}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(t,r,a,l){return!r&&l?(this.parseTypeOnlyImportExportSpecifier(t,!1,a),this.finishNode(t,"ExportSpecifier")):(t.exportKind="value",super.parseExportSpecifier(t,r,a,l))}parseImportSpecifier(t,r,a,l,f){return!r&&l?(this.parseTypeOnlyImportExportSpecifier(t,!0,a),this.finishNode(t,"ImportSpecifier")):(t.importKind="value",super.parseImportSpecifier(t,r,a,l,a?po:Xa))}parseTypeOnlyImportExportSpecifier(t,r,a){let l=r?"imported":"local",f=r?"local":"exported",m=t[l],d,y=!1,v=!0,C=m.loc.start;if(this.isContextual(93)){let B=this.parseIdentifier();if(this.isContextual(93)){let N=this.parseIdentifier();en(this.state.type)?(y=!0,m=B,d=r?this.parseIdentifier():this.parseModuleExportName(),v=!1):(d=N,v=!1)}else en(this.state.type)?(v=!1,d=r?this.parseIdentifier():this.parseModuleExportName()):(y=!0,m=B)}else en(this.state.type)&&(y=!0,r?(m=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(m.name,m.loc.start,!0,!0)):m=this.parseModuleExportName());y&&a&&this.raise(r?un.TypeModifierIsUsedInTypeImports:un.TypeModifierIsUsedInTypeExports,{at:C}),t[l]=m,t[f]=d;let A=r?"importKind":"exportKind";t[A]=y?"type":"value",v&&this.eatContextual(93)&&(t[f]=r?this.parseIdentifier():this.parseModuleExportName()),t[f]||(t[f]=Ce(t[l])),r&&this.checkIdentifier(t[f],y?po:Xa)}};function Cn(s){if(s.type!=="MemberExpression")return!1;let{computed:t,property:r}=s;return t&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)?!1:jr(s.object)}function jr(s){return s.type==="Identifier"?!0:s.type!=="MemberExpression"||s.computed?!1:jr(s.object)}var Is=Ui`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),Yi=s=>class extends s{parsePlaceholder(t){if(this.match(142)){let r=this.startNode();return this.next(),this.assertNoSpace(),r.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(r,t)}}finishPlaceholder(t,r){let a=!!(t.expectedNode&&t.type==="Placeholder");return t.expectedNode=r,a?t:this.finishNode(t,"Placeholder")}getTokenFromCode(t){return t===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(t)}parseExprAtom(t){return this.parsePlaceholder("Expression")||super.parseExprAtom(t)}parseIdentifier(t){return this.parsePlaceholder("Identifier")||super.parseIdentifier(t)}checkReservedWord(t,r,a,l){t!==void 0&&super.checkReservedWord(t,r,a,l)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(t,r,a){return t==="Placeholder"||super.isValidLVal(t,r,a)}toAssignable(t,r){t&&t.type==="Placeholder"&&t.expectedNode==="Expression"?t.expectedNode="Pattern":super.toAssignable(t,r)}hasFollowingIdentifier(t){return super.hasFollowingIdentifier(t)?!0:t?!1:this.lookahead().type===142}verifyBreakContinue(t,r){t.label&&t.label.type==="Placeholder"||super.verifyBreakContinue(t,r)}parseExpressionStatement(t,r){if(r.type!=="Placeholder"||r.extra&&r.extra.parenthesized)return super.parseExpressionStatement(t,r);if(this.match(14)){let a=t;return a.label=this.finishPlaceholder(r,"Identifier"),this.next(),a.body=super.parseStatement("label"),this.finishNode(a,"LabeledStatement")}return this.semicolon(),t.name=r.name,this.finishPlaceholder(t,"Statement")}parseBlock(t,r,a){return this.parsePlaceholder("BlockStatement")||super.parseBlock(t,r,a)}parseFunctionId(t){return this.parsePlaceholder("Identifier")||super.parseFunctionId(t)}parseClass(t,r,a){let l=r?"ClassDeclaration":"ClassExpression";this.next();let f=this.state.strict,m=this.parsePlaceholder("Identifier");if(m)if(this.match(81)||this.match(142)||this.match(5))t.id=m;else{if(a||!r)return t.id=null,t.body=this.finishPlaceholder(m,"ClassBody"),this.finishNode(t,l);throw this.raise(Is.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(t,r,a);return super.parseClassSuper(t),t.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!t.superClass,f),this.finishNode(t,l)}parseExport(t,r){let a=this.parsePlaceholder("Identifier");if(!a)return super.parseExport(t,r);if(!this.isContextual(97)&&!this.match(12))return t.specifiers=[],t.source=null,t.declaration=this.finishPlaceholder(a,"Declaration"),this.finishNode(t,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let l=this.startNode();return l.exported=a,t.specifiers=[this.finishNode(l,"ExportDefaultSpecifier")],super.parseExport(t,r)}isExportDefaultSpecifier(){if(this.match(65)){let t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(Ns(142),this.nextTokenStartSince(t+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(t){return t.specifiers&&t.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(t)}checkExport(t){let{specifiers:r}=t;r!=null&&r.length&&(t.specifiers=r.filter(a=>a.exported.type==="Placeholder")),super.checkExport(t),t.specifiers=r}parseImport(t){let r=this.parsePlaceholder("Identifier");if(!r)return super.parseImport(t);if(t.specifiers=[],!this.isContextual(97)&&!this.match(12))return t.source=this.finishPlaceholder(r,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");let a=this.startNodeAtNode(r);return a.local=r,t.specifiers.push(this.finishNode(a,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t)),this.expectContextual(97),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Is.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},Ss=s=>class extends s{parseV8Intrinsic(){if(this.match(54)){let t=this.state.startLoc,r=this.startNode();if(this.next(),Ln(this.state.type)){let a=this.parseIdentifierName(),l=this.createIdentifier(r,a);if(l.type="V8IntrinsicIdentifier",this.match(10))return l}this.unexpected(t)}}parseExprAtom(t){return this.parseV8Intrinsic()||super.parseExprAtom(t)}};function Li(s,t){let[r,a]=typeof t=="string"?[t,{}]:t,l=Object.keys(a),f=l.length===0;return s.some(m=>{if(typeof m=="string")return f&&m===r;{let[d,y]=m;if(d!==r)return!1;for(let v of l)if(y[v]!==a[v])return!1;return!0}})}function zi(s,t,r){let a=s.find(l=>Array.isArray(l)?l[0]===t:l===t);return a&&Array.isArray(a)&&a.length>1?a[1][r]:null}var Zn=["minimal","fsharp","hack","smart"],Ni=["^^","@@","^","%","#"],vi=["hash","bar"];function Ti(s){if(Li(s,"decorators")){if(Li(s,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=zi(s,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.");let r=zi(s,"decorators","allowCallParenthesized");if(r!=null&&typeof r!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(Li(s,"flow")&&Li(s,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Li(s,"placeholders")&&Li(s,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Li(s,"pipelineOperator")){let t=zi(s,"pipelineOperator","proposal");if(!Zn.includes(t)){let a=Zn.map(l=>`"${l}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${a}.`)}let r=Li(s,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(Li(s,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Li(s,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let a=zi(s,"pipelineOperator","topicToken");if(!Ni.includes(a)){let l=Ni.map(f=>`"${f}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${l}.`)}if(a==="#"&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t==="smart"&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Li(s,"moduleAttributes")){if(Li(s,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(zi(s,"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(Li(s,"recordAndTuple")&&zi(s,"recordAndTuple","syntaxType")!=null&&!vi.includes(zi(s,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+vi.map(t=>`'${t}'`).join(", "));if(Li(s,"asyncDoExpressions")&&!Li(s,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}var Wt={estree:So,jsx:Gt,flow:Ke,typescript:Gr,v8intrinsic:Ss,placeholders:Yi},Ar=Object.keys(Wt),Br={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};function _n(s){let t={};for(let r of Object.keys(Br))t[r]=s&&s[r]!=null?s[r]:Br[r];return t}var Lt=(s,t)=>Object.hasOwnProperty.call(s,t)&&s[t],ii=s=>s.type==="ParenthesizedExpression"?ii(s.expression):s,Yn=class extends Ae{toAssignable(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var r,a;let l;switch((s.type==="ParenthesizedExpression"||(r=s.extra)!=null&&r.parenthesized)&&(l=ii(s),t?l.type==="Identifier"?this.expressionScope.recordArrowParemeterBindingError(st.InvalidParenthesizedAssignment,{at:s}):l.type!=="MemberExpression"&&this.raise(st.InvalidParenthesizedAssignment,{at:s}):this.raise(st.InvalidParenthesizedAssignment,{at:s})),s.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":s.type="ObjectPattern";for(let m=0,d=s.properties.length,y=d-1;m<d;m++){var f;let v=s.properties[m],C=m===y;this.toAssignableObjectExpressionProp(v,C,t),C&&v.type==="RestElement"&&(f=s.extra)!=null&&f.trailingCommaLoc&&this.raise(st.RestTrailingComma,{at:s.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:m,value:d}=s;this.isPrivateName(m)&&this.classScope.usePrivateName(this.getPrivateNameSV(m),m.loc.start),this.toAssignable(d,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":s.type="ArrayPattern",this.toAssignableList(s.elements,(a=s.extra)==null?void 0:a.trailingCommaLoc,t);break;case"AssignmentExpression":s.operator!=="="&&this.raise(st.MissingEqInAssignment,{at:s.left.loc.end}),s.type="AssignmentPattern",delete s.operator,this.toAssignable(s.left,t);break;case"ParenthesizedExpression":this.toAssignable(l,t);break}}toAssignableObjectExpressionProp(s,t,r){if(s.type==="ObjectMethod")this.raise(s.kind==="get"||s.kind==="set"?st.PatternHasAccessor:st.PatternHasMethod,{at:s.key});else if(s.type==="SpreadElement"){s.type="RestElement";let a=s.argument;this.checkToRestConversion(a,!1),this.toAssignable(a,r),t||this.raise(st.RestTrailingComma,{at:s})}else this.toAssignable(s,r)}toAssignableList(s,t,r){let a=s.length-1;for(let l=0;l<=a;l++){let f=s[l];if(f){if(f.type==="SpreadElement"){f.type="RestElement";let m=f.argument;this.checkToRestConversion(m,!0),this.toAssignable(m,r)}else this.toAssignable(f,r);f.type==="RestElement"&&(l<a?this.raise(st.RestTrailingComma,{at:f}):t&&this.raise(st.RestTrailingComma,{at:t}))}}}isAssignable(s,t){switch(s.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let r=s.properties.length-1;return s.properties.every((a,l)=>a.type!=="ObjectMethod"&&(l===r||a.type!=="SpreadElement")&&this.isAssignable(a))}case"ObjectProperty":return this.isAssignable(s.value);case"SpreadElement":return this.isAssignable(s.argument);case"ArrayExpression":return s.elements.every(r=>r===null||this.isAssignable(r));case"AssignmentExpression":return s.operator==="=";case"ParenthesizedExpression":return this.isAssignable(s.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(s,t){return s}toReferencedListDeep(s,t){this.toReferencedList(s,t);for(let r of s)(r==null?void 0:r.type)==="ArrayExpression"&&this.toReferencedListDeep(r.elements)}parseSpread(s){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(s,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){let s=this.startNode();return this.next(),s.argument=this.parseBindingAtom(),this.finishNode(s,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let s=this.startNode();return this.next(),s.elements=this.parseBindingList(3,93,!0),this.finishNode(s,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(s,t,r,a){let l=[],f=!0;for(;!this.eat(s);)if(f?f=!1:this.expect(12),r&&this.match(12))l.push(null);else{if(this.eat(s))break;if(this.match(21)){if(l.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(s);break}}else{let m=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(st.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)m.push(this.parseDecorator());l.push(this.parseAssignableListItem(a,m))}}return l}parseBindingRestProperty(s){return this.next(),s.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(s,"RestElement")}parseBindingProperty(){let s=this.startNode(),{type:t,startLoc:r}=this.state;return t===21?this.parseBindingRestProperty(s):(t===136?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),s.key=this.parsePrivateName()):this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,r,!1,!1,!0,!1))}parseAssignableListItem(s,t){let r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);let a=this.parseMaybeDefault(r.loc.start,r);return t.length&&(r.decorators=t),a}parseAssignableListItemTypes(s){return s}parseMaybeDefault(s,t){var r;if(s!=null||(s=this.state.startLoc),t=(r=t)!=null?r:this.parseBindingAtom(),!this.eat(29))return t;let a=this.startNodeAt(s);return a.left=t,a.right=this.parseMaybeAssignAllowIn(),this.finishNode(a,"AssignmentPattern")}isValidLVal(s,t,r){return Lt({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},s)}checkLVal(s,t){let{in:r,binding:a=ga,checkClashes:l=!1,strictModeChanged:f=!1,allowingSloppyLetBinding:m=!(a&Ja),hasParenthesizedAncestor:d=!1}=t;var y;let v=s.type;if(this.isObjectMethod(s))return;if(v==="MemberExpression"){a!==ga&&this.raise(st.InvalidPropertyBindingPattern,{at:s});return}if(s.type==="Identifier"){this.checkIdentifier(s,a,f,m);let{name:L}=s;l&&(l.has(L)?this.raise(st.ParamDupe,{at:s}):l.add(L));return}let C=this.isValidLVal(s.type,!(d||(y=s.extra)!=null&&y.parenthesized)&&r.type==="AssignmentExpression",a);if(C===!0)return;if(C===!1){let L=a===ga?st.InvalidLhs:st.InvalidLhsBinding;this.raise(L,{at:s,ancestor:r.type==="UpdateExpression"?{type:"UpdateExpression",prefix:r.prefix}:{type:r.type}});return}let[A,B]=Array.isArray(C)?C:[C,v==="ParenthesizedExpression"],N=s.type==="ArrayPattern"||s.type==="ObjectPattern"||s.type==="ParenthesizedExpression"?s:r;for(let L of[].concat(s[A]))L&&this.checkLVal(L,{in:N,binding:a,checkClashes:l,allowingSloppyLetBinding:m,strictModeChanged:f,hasParenthesizedAncestor:B})}checkIdentifier(s,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!(t&Ja);this.state.strict&&(r?Ba(s.name,this.inModule):Ca(s.name))&&(t===ga?this.raise(st.StrictEvalArguments,{at:s,referenceName:s.name}):this.raise(st.StrictEvalArgumentsBinding,{at:s,bindingName:s.name})),!a&&s.name==="let"&&this.raise(st.LetInLexicalBinding,{at:s}),t&ga||this.declareNameFromIdentifier(s,t)}declareNameFromIdentifier(s,t){this.scope.declareName(s.name,t,s.loc.start)}checkToRestConversion(s,t){switch(s.type){case"ParenthesizedExpression":this.checkToRestConversion(s.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(st.InvalidRestAssignmentPattern,{at:s})}}checkCommaAfterRest(s){return this.match(12)?(this.raise(this.lookaheadCharCode()===s?st.RestTrailingComma:st.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},Ys=class extends Yn{checkProto(s,t,r,a){if(s.type==="SpreadElement"||this.isObjectMethod(s)||s.computed||s.shorthand)return;let l=s.key;if((l.type==="Identifier"?l.name:l.value)==="__proto__"){if(t){this.raise(st.RecordNoProto,{at:l});return}r.used&&(a?a.doubleProtoLoc===null&&(a.doubleProtoLoc=l.loc.start):this.raise(st.DuplicateProto,{at:l})),r.used=!0}}shouldExitDescending(s,t){return s.type==="ArrowFunctionExpression"&&s.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let s=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),s.comments=this.state.comments,s.errors=this.state.errors,this.options.tokens&&(s.tokens=this.tokens),s}parseExpression(s,t){return s?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(s){let t=this.state.startLoc,r=this.parseMaybeAssign(s);if(this.match(12)){let a=this.startNodeAt(t);for(a.expressions=[r];this.eat(12);)a.expressions.push(this.parseMaybeAssign(s));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(s,t){return this.disallowInAnd(()=>this.parseMaybeAssign(s,t))}parseMaybeAssignAllowIn(s,t){return this.allowInAnd(()=>this.parseMaybeAssign(s,t))}setOptionalParametersError(s,t){var r;s.optionalParametersLoc=(r=t==null?void 0:t.loc)!=null?r:this.state.startLoc}parseMaybeAssign(s,t){let r=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let m=this.parseYield();return t&&(m=t.call(this,m,r)),m}let a;s?a=!1:(s=new te,a=!0);let{type:l}=this.state;(l===10||Ln(l))&&(this.state.potentialArrowAt=this.state.start);let f=this.parseMaybeConditional(s);if(t&&(f=t.call(this,f,r)),cs(this.state.type)){let m=this.startNodeAt(r),d=this.state.value;if(m.operator=d,this.match(29)){this.toAssignable(f,!0),m.left=f;let y=r.index;s.doubleProtoLoc!=null&&s.doubleProtoLoc.index>=y&&(s.doubleProtoLoc=null),s.shorthandAssignLoc!=null&&s.shorthandAssignLoc.index>=y&&(s.shorthandAssignLoc=null),s.privateKeyLoc!=null&&s.privateKeyLoc.index>=y&&(this.checkDestructuringPrivate(s),s.privateKeyLoc=null)}else m.left=f;return this.next(),m.right=this.parseMaybeAssign(),this.checkLVal(f,{in:this.finishNode(m,"AssignmentExpression")}),m}else a&&this.checkExpressionErrors(s,!0);return f}parseMaybeConditional(s){let t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprOps(s);return this.shouldExitDescending(a,r)?a:this.parseConditional(a,t,s)}parseConditional(s,t,r){if(this.eat(17)){let a=this.startNodeAt(t);return a.test=s,a.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),a.alternate=this.parseMaybeAssign(),this.finishNode(a,"ConditionalExpression")}return s}parseMaybeUnaryOrPrivate(s){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(s)}parseExprOps(s){let t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseMaybeUnaryOrPrivate(s);return this.shouldExitDescending(a,r)?a:this.parseExprOp(a,t,-1)}parseExprOp(s,t,r){if(this.isPrivateName(s)){let l=this.getPrivateNameSV(s);(r>=na(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(st.PrivateInExpectedIn,{at:s,identifierName:l}),this.classScope.usePrivateName(l,s.loc.start)}let a=this.state.type;if(ir(a)&&(this.prodParam.hasIn||!this.match(58))){let l=na(a);if(l>r){if(a===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return s;this.checkPipelineAtInfixOperator(s,t)}let f=this.startNodeAt(t);f.left=s,f.operator=this.state.value;let m=a===41||a===42,d=a===40;if(d&&(l=na(42)),this.next(),a===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(st.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});f.right=this.parseExprOpRightExpr(a,l);let y=this.finishNode(f,m||d?"LogicalExpression":"BinaryExpression"),v=this.state.type;if(d&&(v===41||v===42)||m&&v===40)throw this.raise(st.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(y,t,r)}}return s}parseExprOpRightExpr(s,t){let r=this.state.startLoc;switch(s){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(st.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(s,t),r)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}default:return this.parseExprOpBaseRightExpr(s,t)}}parseExprOpBaseRightExpr(s,t){let r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,Ts(s)?t-1:t)}parseHackPipeBody(){var s;let{startLoc:t}=this.state,r=this.parseMaybeAssign();return rs.has(r.type)&&!((s=r.extra)!=null&&s.parenthesized)&&this.raise(st.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(st.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(s){this.match(57)&&this.raise(st.UnexpectedTokenUnaryExponentiation,{at:s.argument})}parseMaybeUnary(s,t){let r=this.state.startLoc,a=this.isContextual(96);if(a&&this.isAwaitAllowed()){this.next();let d=this.parseAwait(r);return t||this.checkExponentialAfterUnary(d),d}let l=this.match(34),f=this.startNode();if($i(this.state.type)){f.operator=this.state.value,f.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let d=this.match(89);if(this.next(),f.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(s,!0),this.state.strict&&d){let y=f.argument;y.type==="Identifier"?this.raise(st.StrictDelete,{at:f}):this.hasPropertyAsPrivateName(y)&&this.raise(st.DeletePrivateField,{at:f})}if(!l)return t||this.checkExponentialAfterUnary(f),this.finishNode(f,"UnaryExpression")}let m=this.parseUpdate(f,l,s);if(a){let{type:d}=this.state;if((this.hasPlugin("v8intrinsic")?Wi(d):Wi(d)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(st.AwaitNotInAsyncContext,{at:r}),this.parseAwait(r)}return m}parseUpdate(s,t,r){if(t){let f=s;return this.checkLVal(f.argument,{in:this.finishNode(f,"UpdateExpression")}),s}let a=this.state.startLoc,l=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return l;for(;xn(this.state.type)&&!this.canInsertSemicolon();){let f=this.startNodeAt(a);f.operator=this.state.value,f.prefix=!1,f.argument=l,this.next(),this.checkLVal(l,{in:l=this.finishNode(f,"UpdateExpression")})}return l}parseExprSubscripts(s){let t=this.state.startLoc,r=this.state.potentialArrowAt,a=this.parseExprAtom(s);return this.shouldExitDescending(a,r)?a:this.parseSubscripts(a,t)}parseSubscripts(s,t,r){let a={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(s),stop:!1};do s=this.parseSubscript(s,t,r,a),a.maybeAsyncArrow=!1;while(!a.stop);return s}parseSubscript(s,t,r,a){let{type:l}=this.state;if(!r&&l===15)return this.parseBind(s,t,r,a);if(la(l))return this.parseTaggedTemplateExpression(s,t,a);let f=!1;if(l===18){if(r&&this.lookaheadCharCode()===40)return a.stop=!0,s;a.optionalChainMember=f=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(s,t,a,f);{let m=this.eat(0);return m||f||this.eat(16)?this.parseMember(s,t,a,m,f):(a.stop=!0,s)}}parseMember(s,t,r,a,l){let f=this.startNodeAt(t);return f.object=s,f.computed=a,a?(f.property=this.parseExpression(),this.expect(3)):this.match(136)?(s.type==="Super"&&this.raise(st.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),f.property=this.parsePrivateName()):f.property=this.parseIdentifier(!0),r.optionalChainMember?(f.optional=l,this.finishNode(f,"OptionalMemberExpression")):this.finishNode(f,"MemberExpression")}parseBind(s,t,r,a){let l=this.startNodeAt(t);return l.object=s,this.next(),l.callee=this.parseNoCallExpr(),a.stop=!0,this.parseSubscripts(this.finishNode(l,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(s,t,r,a){let l=this.state.maybeInArrowParameters,f=null;this.state.maybeInArrowParameters=!0,this.next();let m=this.startNodeAt(t);m.callee=s;let{maybeAsyncArrow:d,optionalChainMember:y}=r;d&&(this.expressionScope.enter(Pl()),f=new te),y&&(m.optional=a),a?m.arguments=this.parseCallExpressionArguments(11):m.arguments=this.parseCallExpressionArguments(11,s.type==="Import",s.type!=="Super",m,f);let v=this.finishCallExpression(m,y);return d&&this.shouldParseAsyncArrow()&&!a?(r.stop=!0,this.checkDestructuringPrivate(f),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),v=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),v)):(d&&(this.checkExpressionErrors(f,!0),this.expressionScope.exit()),this.toReferencedArguments(v)),this.state.maybeInArrowParameters=l,v}toReferencedArguments(s,t){this.toReferencedListDeep(s.arguments,t)}parseTaggedTemplateExpression(s,t,r){let a=this.startNodeAt(t);return a.tag=s,a.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(st.OptionalChainingNoTemplate,{at:t}),this.finishNode(a,"TaggedTemplateExpression")}atPossibleAsyncArrow(s){return s.type==="Identifier"&&s.name==="async"&&this.state.lastTokEndLoc.index===s.end&&!this.canInsertSemicolon()&&s.end-s.start===5&&s.start===this.state.potentialArrowAt}finishCallExpression(s,t){if(s.callee.type==="Import")if(s.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),s.arguments.length===0||s.arguments.length>2)this.raise(st.ImportCallArity,{at:s,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let r of s.arguments)r.type==="SpreadElement"&&this.raise(st.ImportCallSpreadArgument,{at:r});return this.finishNode(s,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(s,t,r,a,l){let f=[],m=!0,d=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(s);){if(m)m=!1;else if(this.expect(12),this.match(s)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(st.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),a&&this.addTrailingCommaExtraToNode(a),this.next();break}f.push(this.parseExprListItem(!1,l,r))}return this.state.inFSharpPipelineDirectBody=d,f}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(s,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(s,t.arguments,!0,(r=t.extra)==null?void 0:r.trailingCommaLoc),t.innerComments&&Cu(s,t.innerComments),t.callee.trailingComments&&Cu(s,t.callee.trailingComments),s}parseNoCallExpr(){let s=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),s,!0)}parseExprAtom(s){let t,r=null,{type:a}=this.state;switch(a){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(st.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 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 l=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(l)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,s);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,s);case 68:return this.parseFunctionOrFunctionSent();case 26:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let l=t.callee=this.parseNoCallExpr();if(l.type==="MemberExpression")return this.finishNode(t,"BindExpression");throw this.raise(st.UnsupportedBind,{at:l})}case 136:return this.raise(st.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 l=this.getPluginOption("pipelineOperator","proposal");if(l)return this.parseTopicReference(l);throw this.unexpected()}case 47:{let l=this.input.codePointAt(this.nextTokenStart());if(ps(l)||l===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else throw this.unexpected()}default:if(Ln(a)){if(this.isContextual(125)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let l=this.state.potentialArrowAt===this.state.start,f=this.state.containsEsc,m=this.parseIdentifier();if(!f&&m.name==="async"&&!this.canInsertSemicolon()){let{type:d}=this.state;if(d===68)return this.resetPreviousNodeTrailingComments(m),this.next(),this.parseFunction(this.startNodeAtNode(m),void 0,!0);if(Ln(d))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(m)):m;if(d===90)return this.resetPreviousNodeTrailingComments(m),this.parseDo(this.startNodeAtNode(m),!0)}return l&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(m),[m],!1)):m}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(s,t){let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=s,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=on(this.state.endLoc,-1),this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(s){let t=this.startNode(),r=this.state.startLoc,a=this.state.type;return this.next(),this.finishTopicReference(t,r,s,a)}finishTopicReference(s,t,r,a){if(this.testTopicReferenceConfiguration(r,t,a)){let l=r==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(r==="smart"?st.PrimaryTopicNotAllowed:st.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(s,l)}else throw this.raise(st.PipeTopicUnconfiguredToken,{at:t,token:Ns(a)})}testTopicReferenceConfiguration(s,t,r){switch(s){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ns(r)}]);case"smart":return r===27;default:throw this.raise(st.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(s){this.prodParam.enter(Lo(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(st.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(s,t,!0)}parseDo(s,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),s.async=t,this.next();let r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(eo),s.body=this.parseBlock(),this.prodParam.exit()):s.body=this.parseBlock(),this.state.labels=r,this.finishNode(s,"DoExpression")}parseSuper(){let s=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(st.SuperNotAllowed,{at:s}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(st.UnexpectedSuper,{at:s}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(st.UnsupportedSuper,{at:s}),this.finishNode(s,"Super")}parsePrivateName(){let s=this.startNode(),t=this.startNodeAt(on(this.state.startLoc,1)),r=this.state.value;return this.next(),s.id=this.createIdentifier(t,r),this.finishNode(s,"PrivateName")}parseFunctionOrFunctionSent(){let s=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(s),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(s,t,"sent")}return this.parseFunction(s)}parseMetaProperty(s,t,r){s.meta=t;let a=this.state.containsEsc;return s.property=this.parseIdentifier(!0),(s.property.name!==r||a)&&this.raise(st.UnsupportedMetaProperty,{at:s.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(s,"MetaProperty")}parseImportMetaProperty(s){let t=this.createIdentifier(this.startNodeAtNode(s),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(st.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(s,t,"meta")}parseLiteralAtNode(s,t,r){return this.addExtra(r,"rawValue",s),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=s,this.next(),this.finishNode(r,t)}parseLiteral(s,t){let r=this.startNode();return this.parseLiteralAtNode(s,t,r)}parseStringLiteral(s){return this.parseLiteral(s,"StringLiteral")}parseNumericLiteral(s){return this.parseLiteral(s,"NumericLiteral")}parseBigIntLiteral(s){return this.parseLiteral(s,"BigIntLiteral")}parseDecimalLiteral(s){return this.parseLiteral(s,"DecimalLiteral")}parseRegExpLiteral(s){let t=this.parseLiteral(s.value,"RegExpLiteral");return t.pattern=s.pattern,t.flags=s.flags,t}parseBooleanLiteral(s){let t=this.startNode();return t.value=s,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let s=this.startNode();return this.next(),this.finishNode(s,"NullLiteral")}parseParenAndDistinguishExpression(s){let t=this.state.startLoc,r;this.next(),this.expressionScope.enter(nu());let a=this.state.maybeInArrowParameters,l=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let f=this.state.startLoc,m=[],d=new te,y=!0,v,C;for(;!this.match(11);){if(y)y=!1;else if(this.expect(12,d.optionalParametersLoc===null?null:d.optionalParametersLoc),this.match(11)){C=this.state.startLoc;break}if(this.match(21)){let N=this.state.startLoc;if(v=this.state.startLoc,m.push(this.parseParenItem(this.parseRestBinding(),N)),!this.checkCommaAfterRest(41))break}else m.push(this.parseMaybeAssignAllowIn(d,this.parseParenItem))}let A=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=a,this.state.inFSharpPipelineDirectBody=l;let B=this.startNodeAt(t);return s&&this.shouldParseArrow(m)&&(B=this.parseArrow(B))?(this.checkDestructuringPrivate(d),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(B,m,!1),B):(this.expressionScope.exit(),m.length||this.unexpected(this.state.lastTokStartLoc),C&&this.unexpected(C),v&&this.unexpected(v),this.checkExpressionErrors(d,!0),this.toReferencedListDeep(m,!0),m.length>1?(r=this.startNodeAt(f),r.expressions=m,this.finishNode(r,"SequenceExpression"),this.resetEndLocation(r,A)):r=m[0],this.wrapParenthesis(t,r))}wrapParenthesis(s,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",s.index),this.takeSurroundingComments(t,s.index,this.state.lastTokEndLoc.index),t;let r=this.startNodeAt(s);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(s){return!this.canInsertSemicolon()}parseArrow(s){if(this.eat(19))return s}parseParenItem(s,t){return s}parseNewOrNewTarget(){let s=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(s),"new");this.next();let r=this.parseMetaProperty(s,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(st.UnexpectedNewTarget,{at:r}),r}return this.parseNew(s)}parseNew(s){if(this.parseNewCallee(s),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),s.arguments=t}else s.arguments=[];return this.finishNode(s,"NewExpression")}parseNewCallee(s){s.callee=this.parseNoCallExpr(),s.callee.type==="Import"?this.raise(st.ImportCallNotNewExpression,{at:s.callee}):this.isOptionalChain(s.callee)?this.raise(st.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(st.OptionalChainingNoNew,{at:this.state.startLoc})}parseTemplateElement(s){let{start:t,startLoc:r,end:a,value:l}=this.state,f=t+1,m=this.startNodeAt(on(r,1));l===null&&(s||this.raise(st.InvalidEscapeSequenceTemplate,{at:on(this.state.firstInvalidTemplateEscapePos,1)}));let d=this.match(24),y=d?-1:-2,v=a+y;m.value={raw:this.input.slice(f,v).replace(/\r\n?/g,`
277
- `),cooked:l===null?null:l.slice(1,y)},m.tail=d,this.next();let C=this.finishNode(m,"TemplateElement");return this.resetEndLocation(C,on(this.state.lastTokEndLoc,y)),C}parseTemplate(s){let t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(s);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(s));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(s,t,r,a){r&&this.expectPlugin("recordAndTuple");let l=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let f=Object.create(null),m=!0,d=this.startNode();for(d.properties=[],this.next();!this.match(s);){if(m)m=!1;else if(this.expect(12),this.match(s)){this.addTrailingCommaExtraToNode(d);break}let v;t?v=this.parseBindingProperty():(v=this.parsePropertyDefinition(a),this.checkProto(v,r,f,a)),r&&!this.isObjectProperty(v)&&v.type!=="SpreadElement"&&this.raise(st.InvalidRecordProperty,{at:v}),v.shorthand&&this.addExtra(v,"shorthand",!0),d.properties.push(v)}this.next(),this.state.inFSharpPipelineDirectBody=l;let y="ObjectExpression";return t?y="ObjectPattern":r&&(y="RecordExpression"),this.finishNode(d,y)}addTrailingCommaExtraToNode(s){this.addExtra(s,"trailingComma",this.state.lastTokStart),this.addExtra(s,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(s){return!s.computed&&s.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(s){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(st.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let r=this.startNode(),a=!1,l=!1,f;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(r.decorators=t,t=[]),r.method=!1,s&&(f=this.state.startLoc);let m=this.eat(55);this.parsePropertyNamePrefixOperator(r);let d=this.state.containsEsc,y=this.parsePropertyName(r,s);if(!m&&!d&&this.maybeAsyncOrAccessorProp(r)){let v=y.name;v==="async"&&!this.hasPrecedingLineBreak()&&(a=!0,this.resetPreviousNodeTrailingComments(y),m=this.eat(55),this.parsePropertyName(r)),(v==="get"||v==="set")&&(l=!0,this.resetPreviousNodeTrailingComments(y),r.kind=v,this.match(55)&&(m=!0,this.raise(st.AccessorIsGenerator,{at:this.state.curPosition(),kind:v}),this.next()),this.parsePropertyName(r))}return this.parseObjPropValue(r,f,m,a,!1,l,s)}getGetterSetterExpectedParamCount(s){return s.kind==="get"?0:1}getObjectOrClassMethodParams(s){return s.params}checkGetterSetterParams(s){var t;let r=this.getGetterSetterExpectedParamCount(s),a=this.getObjectOrClassMethodParams(s);a.length!==r&&this.raise(s.kind==="get"?st.BadGetterArity:st.BadSetterArity,{at:s}),s.kind==="set"&&((t=a[a.length-1])==null?void 0:t.type)==="RestElement"&&this.raise(st.BadSetterRestParameter,{at:s})}parseObjectMethod(s,t,r,a,l){if(l){let f=this.parseMethod(s,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(f),f}if(r||t||this.match(10))return a&&this.unexpected(),s.kind="method",s.method=!0,this.parseMethod(s,t,r,!1,!1,"ObjectMethod")}parseObjectProperty(s,t,r,a){if(s.shorthand=!1,this.eat(14))return s.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(a),this.finishNode(s,"ObjectProperty");if(!s.computed&&s.key.type==="Identifier"){if(this.checkReservedWord(s.key.name,s.key.loc.start,!0,!1),r)s.value=this.parseMaybeDefault(t,Ce(s.key));else if(this.match(29)){let l=this.state.startLoc;a!=null?a.shorthandAssignLoc===null&&(a.shorthandAssignLoc=l):this.raise(st.InvalidCoverInitializedName,{at:l}),s.value=this.parseMaybeDefault(t,Ce(s.key))}else s.value=Ce(s.key);return s.shorthand=!0,this.finishNode(s,"ObjectProperty")}}parseObjPropValue(s,t,r,a,l,f,m){let d=this.parseObjectMethod(s,r,a,l,f)||this.parseObjectProperty(s,t,l,m);return d||this.unexpected(),d}parsePropertyName(s,t){if(this.eat(0))s.computed=!0,s.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:r,value:a}=this.state,l;if(en(r))l=this.parseIdentifier(!0);else switch(r){case 132:l=this.parseNumericLiteral(a);break;case 131:l=this.parseStringLiteral(a);break;case 133:l=this.parseBigIntLiteral(a);break;case 134:l=this.parseDecimalLiteral(a);break;case 136:{let f=this.state.startLoc;t!=null?t.privateKeyLoc===null&&(t.privateKeyLoc=f):this.raise(st.UnexpectedPrivateField,{at:f}),l=this.parsePrivateName();break}default:throw this.unexpected()}s.key=l,r!==136&&(s.computed=!1)}return s.key}initFunction(s,t){s.id=null,s.generator=!1,s.async=!!t}parseMethod(s,t,r,a,l,f){let m=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;this.initFunction(s,r),s.generator=!!t;let d=a;this.scope.enter(vo|lo|(m?Ea:0)|(l?pa:0)),this.prodParam.enter(Lo(r,s.generator)),this.parseFunctionParams(s,d);let y=this.parseFunctionBodyAndFinish(s,f,!0);return this.prodParam.exit(),this.scope.exit(),y}parseArrayLike(s,t,r,a){r&&this.expectPlugin("recordAndTuple");let l=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let f=this.startNode();return this.next(),f.elements=this.parseExprList(s,!r,a,f),this.state.inFSharpPipelineDirectBody=l,this.finishNode(f,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(s,t,r,a){this.scope.enter(vo|Lu);let l=Lo(r,!1);!this.match(5)&&this.prodParam.hasIn&&(l|=Oo),this.prodParam.enter(l),this.initFunction(s,r);let f=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(s,t,a)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(s,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=f,this.finishNode(s,"ArrowFunctionExpression")}setArrowFunctionParameters(s,t,r){this.toAssignableList(t,r,!1),s.params=t}parseFunctionBodyAndFinish(s,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.parseFunctionBody(s,!1,r),this.finishNode(s,t)}parseFunctionBody(s,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=t&&!this.match(5);if(this.expressionScope.enter(bu()),a)s.body=this.parseMaybeAssign(),this.checkParams(s,!1,t,!1);else{let l=this.state.strict,f=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Nl),s.body=this.parseBlock(!0,!1,m=>{let d=!this.isSimpleParamList(s.params);m&&d&&this.raise(st.IllegalLanguageModeDirective,{at:(s.kind==="method"||s.kind==="constructor")&&!!s.key?s.key.loc.end:s});let y=!l&&this.state.strict;this.checkParams(s,!this.state.strict&&!t&&!r&&!d,t,y),this.state.strict&&s.id&&this.checkIdentifier(s.id,_o,y)}),this.prodParam.exit(),this.state.labels=f}this.expressionScope.exit()}isSimpleParameter(s){return s.type==="Identifier"}isSimpleParamList(s){for(let t=0,r=s.length;t<r;t++)if(!this.isSimpleParameter(s[t]))return!1;return!0}checkParams(s,t,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,l=!t&&new Set,f={type:"FormalParameters"};for(let m of s.params)this.checkLVal(m,{in:f,binding:tl,checkClashes:l,strictModeChanged:a})}parseExprList(s,t,r,a){let l=[],f=!0;for(;!this.eat(s);){if(f)f=!1;else if(this.expect(12),this.match(s)){a&&this.addTrailingCommaExtraToNode(a),this.next();break}l.push(this.parseExprListItem(t,r))}return l}parseExprListItem(s,t,r){let a;if(this.match(12))s||this.raise(st.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),a=null;else if(this.match(21)){let l=this.state.startLoc;a=this.parseParenItem(this.parseSpread(t),l)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(st.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let l=this.startNode();this.next(),a=this.finishNode(l,"ArgumentPlaceholder")}else a=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return a}parseIdentifier(s){let t=this.startNode(),r=this.parseIdentifierName(s);return this.createIdentifier(t,r)}createIdentifier(s,t){return s.name=t,s.loc.identifierName=t,this.finishNode(s,"Identifier")}parseIdentifierName(s){let t,{startLoc:r,type:a}=this.state;if(en(a))t=this.state.value;else throw this.unexpected();let l=Cs(a);return s?l&&this.replaceToken(130):this.checkReservedWord(t,r,l,!1),this.next(),t}checkReservedWord(s,t,r,a){if(!(s.length>10||!uo(s))){if(s==="yield"){if(this.prodParam.hasYield){this.raise(st.YieldBindingIdentifier,{at:t});return}}else if(s==="await"){if(this.prodParam.hasAwait){this.raise(st.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(st.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(s==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(st.ArgumentsInClass,{at:t});return}if(r&&_a(s)){this.raise(st.UnexpectedKeyword,{at:t,keyword:s});return}(this.state.strict?a?Ba:Po:ru)(s,this.inModule)&&this.raise(st.UnexpectedReservedWord,{at:t,reservedWord:s})}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(s){let t=this.startNodeAt(s);return this.expressionScope.recordParameterInitializerError(st.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(st.ObsoleteAwaitStar,{at:t}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:s}=this.state;return s===53||s===10||s===0||la(s)||s===135||s===56||this.hasPlugin("v8intrinsic")&&s===54}parseYield(){let s=this.startNode();this.expressionScope.recordParameterInitializerError(st.YieldInParameter,{at:s}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return s.delegate=t,s.argument=r,this.finishNode(s,"YieldExpression")}checkPipelineAtInfixOperator(s,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&s.type==="SequenceExpression"&&this.raise(st.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(s,t){if(this.isSimpleReference(s)){let r=this.startNodeAt(t);return r.callee=s,this.finishNode(r,"PipelineBareFunction")}else{let r=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),r.expression=s,this.finishNode(r,"PipelineTopicExpression")}}isSimpleReference(s){switch(s.type){case"MemberExpression":return!s.computed&&this.isSimpleReference(s.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(s){if(this.match(19))throw this.raise(st.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(st.PipelineTopicUnused,{at:s})}withTopicBindingContext(s){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return s()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(s){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return s()}finally{this.state.topicContext=t}}else return s()}withSoloAwaitPermittingContext(s){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return s()}finally{this.state.soloAwait=t}}allowInAnd(s){let t=this.prodParam.currentFlags();if(Oo&~t){this.prodParam.enter(t|Oo);try{return s()}finally{this.prodParam.exit()}}return s()}disallowInAnd(s){let t=this.prodParam.currentFlags();if(Oo&t){this.prodParam.enter(t&~Oo);try{return s()}finally{this.prodParam.exit()}}return s()}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(s){let t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let a=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,s);return this.state.inFSharpPipelineDirectBody=r,a}parseModuleExpression(){this.expectPlugin("moduleBlocks");let s=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let t=this.startNodeAt(this.state.endLoc);this.next();let r=this.initializeScopes(!0);this.enterInitialScopes();try{s.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(s,"ModuleExpression")}parsePropertyNamePrefixOperator(s){}},zs={kind:"loop"},Qs={kind:"switch"},fo=0,gs=1,Us=2,Aa=4,ua=/[\uD800-\uDFFF]/u,Hs=/in(?:stanceof)?/y;function ya(s,t){for(let r=0;r<s.length;r++){let a=s[r],{type:l}=a;if(typeof l=="number"){{if(l===136){let{loc:f,start:m,value:d,end:y}=a,v=m+1,C=on(f.start,1);s.splice(r,1,new ha({type:Rs(27),value:"#",start:m,end:v,startLoc:f.start,endLoc:C}),new ha({type:Rs(130),value:d,start:v,end:y,startLoc:C,endLoc:f.end})),r++;continue}if(la(l)){let{loc:f,start:m,value:d,end:y}=a,v=m+1,C=on(f.start,1),A;t.charCodeAt(m)===96?A=new ha({type:Rs(22),value:"`",start:m,end:v,startLoc:f.start,endLoc:C}):A=new ha({type:Rs(8),value:"}",start:m,end:v,startLoc:f.start,endLoc:C});let B,N,L,P;l===24?(N=y-1,L=on(f.end,-1),B=d===null?null:d.slice(1,-1),P=new ha({type:Rs(22),value:"`",start:N,end:y,startLoc:L,endLoc:f.end})):(N=y-2,L=on(f.end,-2),B=d===null?null:d.slice(1,-2),P=new ha({type:Rs(23),value:"${",start:N,end:y,startLoc:L,endLoc:f.end})),s.splice(r,1,A,new ha({type:Rs(20),value:B,start:v,end:N,startLoc:C,endLoc:L}),P),r+=2;continue}}a.type=Rs(l)}}return s}var _l=class extends Ys{parseTopLevel(s,t){return s.program=this.parseProgram(t),s.comments=this.state.comments,this.options.tokens&&(s.tokens=ya(this.tokens,this.input)),this.finishNode(s,"File")}parseProgram(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:137,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(s.sourceType=r,s.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(s,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[l,f]of Array.from(this.scope.undefinedExports))this.raise(st.ModuleExportUndefined,{at:f,localName:l});let a;return t===137?a=this.finishNode(s,"Program"):a=this.finishNodeAt(s,"Program",on(this.state.startLoc,-1)),a}stmtToDirective(s){let t=s;t.type="Directive",t.value=t.expression,delete t.expression;let r=t.value,a=r.value,l=this.input.slice(r.start,r.end),f=r.value=l.slice(1,-1);return this.addExtra(r,"raw",l),this.addExtra(r,"rawValue",f),this.addExtra(r,"expressionValue",a),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let s=this.startNode();return s.value=this.state.value,this.next(),this.finishNode(s,"InterpreterDirective")}isLet(s){return this.isContextual(99)?this.hasFollowingIdentifier(s):!1}hasFollowingIdentifier(s){let t=this.nextTokenStart(),r=this.codePointAtPos(t);if(r===92||r===91)return!0;if(s)return!1;if(r===123)return!0;if(ps(r)){if(Hs.lastIndex=t,Hs.test(this.input)){let a=this.codePointAtPos(Hs.lastIndex);if(!bs(a)&&a!==92)return!1}return!0}return!1}startsUsingForOf(){let s=this.lookahead();return s.type===101&&!s.containsEsc?!1:(this.expectPlugin("explicitResourceManagement"),!0)}parseStatement(s,t){let r=null;return this.match(26)&&(r=this.parseDecorators(!0)),this.parseStatementContent(s,t,r)}parseStatementContent(s,t,r){let a=this.state.type,l=this.startNode();switch(a){case 60:return this.parseBreakContinueStatement(l,!0);case 63:return this.parseBreakContinueStatement(l,!1);case 64:return this.parseDebuggerStatement(l);case 90:return this.parseDoStatement(l);case 91:return this.parseForStatement(l);case 68:if(this.lookaheadCharCode()===46)break;return s&&(this.state.strict?this.raise(st.StrictFunction,{at:this.state.startLoc}):s!=="if"&&s!=="label"&&this.raise(st.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(l,!1,!s);case 80:return s&&this.unexpected(),this.parseClass(this.maybeTakeDecorators(r,l),!0);case 69:return this.parseIfStatement(l);case 70:return this.parseReturnStatement(l);case 71:return this.parseSwitchStatement(l);case 72:return this.parseThrowStatement(l);case 73:return this.parseTryStatement(l);case 105:if(this.hasFollowingLineBreak())break;case 99:if(this.state.containsEsc||!this.hasFollowingIdentifier(s))break;case 75:case 74:{let d=this.state.value;return d==="using"&&(this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel&&this.raise(st.UnexpectedUsingDeclaration,{at:this.state.startLoc})),s&&d!=="var"&&this.raise(st.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(l,d)}case 92:return this.parseWhileStatement(l);case 76:return this.parseWithStatement(l);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(l);case 83:{let d=this.lookaheadCharCode();if(d===40||d===46)break}case 82:{!this.options.allowImportExportEverywhere&&!t&&this.raise(st.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let d;return a===83?(d=this.parseImport(l),d.type==="ImportDeclaration"&&(!d.importKind||d.importKind==="value")&&(this.sawUnambiguousESM=!0)):(d=this.parseExport(l,r),(d.type==="ExportNamedDeclaration"&&(!d.exportKind||d.exportKind==="value")||d.type==="ExportAllDeclaration"&&(!d.exportKind||d.exportKind==="value")||d.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(d),d}default:if(this.isAsyncFunction())return s&&this.raise(st.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(l,!0,!s)}let f=this.state.value,m=this.parseExpression();return Ln(a)&&m.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(l,f,m,s):this.parseExpressionStatement(l,m,r)}assertModuleNodeAllowed(s){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(st.ImportOutsideModule,{at:s})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&!!this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(s,t,r){return s&&(t.decorators=s,this.resetStartLocationFromNode(t,s[0]),r&&this.resetStartLocationFromNode(r,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(s){let t=[];do t.push(this.parseDecorator());while(this.match(26));if(this.match(82))s||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(st.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(st.UnexpectedLeadingDecorator,{at:this.state.startLoc});return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let s=this.startNode();if(this.next(),this.hasPlugin("decorators")){let t=this.state.startLoc,r;if(this.match(10)){let a=this.state.startLoc;this.next(),r=this.parseExpression(),this.expect(11),r=this.wrapParenthesis(a,r);let l=this.state.startLoc;s.expression=this.parseMaybeDecoratorArguments(r),this.getPluginOption("decorators","allowCallParenthesized")===!1&&s.expression!==r&&this.raise(st.DecoratorArgumentsOutsideParentheses,{at:l})}else{for(r=this.parseIdentifier(!1);this.eat(16);){let a=this.startNodeAt(t);a.object=r,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),a.computed=!1,r=this.finishNode(a,"MemberExpression")}s.expression=this.parseMaybeDecoratorArguments(r)}}else s.expression=this.parseExprSubscripts();return this.finishNode(s,"Decorator")}parseMaybeDecoratorArguments(s){if(this.eat(10)){let t=this.startNodeAtNode(s);return t.callee=s,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return s}parseBreakContinueStatement(s,t){return this.next(),this.isLineTerminator()?s.label=null:(s.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(s,t),this.finishNode(s,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(s,t){let r;for(r=0;r<this.state.labels.length;++r){let a=this.state.labels[r];if((s.label==null||a.name===s.label.name)&&(a.kind!=null&&(t||a.kind==="loop")||s.label&&t))break}if(r===this.state.labels.length){let a=t?"BreakStatement":"ContinueStatement";this.raise(st.IllegalBreakContinue,{at:s,type:a})}}parseDebuggerStatement(s){return this.next(),this.semicolon(),this.finishNode(s,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let s=this.parseExpression();return this.expect(11),s}parseDoStatement(s){return this.next(),this.state.labels.push(zs),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(92),s.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(s,"DoWhileStatement")}parseForStatement(s){this.next(),this.state.labels.push(zs);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(qo),this.expect(10),this.match(13))return t!==null&&this.unexpected(t),this.parseFor(s,null);let r=this.isContextual(99),a=this.isContextual(105)&&!this.hasFollowingLineBreak(),l=r&&this.hasFollowingIdentifier()||a&&this.hasFollowingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||l){let v=this.startNode(),C=this.state.value;this.next(),this.parseVar(v,!0,C);let A=this.finishNode(v,"VariableDeclaration"),B=this.match(58);return B&&a&&this.raise(st.ForInUsing,{at:A}),(B||this.isContextual(101))&&A.declarations.length===1?this.parseForIn(s,A,t):(t!==null&&this.unexpected(t),this.parseFor(s,A))}let f=this.isContextual(95),m=new te,d=this.parseExpression(!0,m),y=this.isContextual(101);if(y&&(r&&this.raise(st.ForOfLet,{at:d}),t===null&&f&&d.type==="Identifier"&&this.raise(st.ForOfAsync,{at:d})),y||this.match(58)){this.checkDestructuringPrivate(m),this.toAssignable(d,!0);let v=y?"ForOfStatement":"ForInStatement";return this.checkLVal(d,{in:{type:v}}),this.parseForIn(s,d,t)}else this.checkExpressionErrors(m,!0);return t!==null&&this.unexpected(t),this.parseFor(s,d)}parseFunctionStatement(s,t,r){return this.next(),this.parseFunction(s,gs|(r?0:Us),t)}parseIfStatement(s){return this.next(),s.test=this.parseHeaderExpression(),s.consequent=this.parseStatement("if"),s.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(s,"IfStatement")}parseReturnStatement(s){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(st.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?s.argument=null:(s.argument=this.parseExpression(),this.semicolon()),this.finishNode(s,"ReturnStatement")}parseSwitchStatement(s){this.next(),s.discriminant=this.parseHeaderExpression();let t=s.cases=[];this.expect(5),this.state.labels.push(Qs),this.scope.enter(qo);let r;for(let a;!this.match(8);)if(this.match(61)||this.match(65)){let l=this.match(61);r&&this.finishNode(r,"SwitchCase"),t.push(r=this.startNode()),r.consequent=[],this.next(),l?r.test=this.parseExpression():(a&&this.raise(st.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),a=!0,r.test=null),this.expect(14)}else r?r.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),r&&this.finishNode(r,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(s,"SwitchStatement")}parseThrowStatement(s){return this.next(),this.hasPrecedingLineBreak()&&this.raise(st.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),s.argument=this.parseExpression(),this.semicolon(),this.finishNode(s,"ThrowStatement")}parseCatchClauseParam(){let s=this.parseBindingAtom(),t=s.type==="Identifier";return this.scope.enter(t?No:0),this.checkLVal(s,{in:{type:"CatchClause"},binding:Ya,allowingSloppyLetBinding:!0}),s}parseTryStatement(s){if(this.next(),s.block=this.parseBlock(),s.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(qo)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),s.handler=this.finishNode(t,"CatchClause")}return s.finalizer=this.eat(67)?this.parseBlock():null,!s.handler&&!s.finalizer&&this.raise(st.NoCatchOrFinally,{at:s}),this.finishNode(s,"TryStatement")}parseVarStatement(s,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.next(),this.parseVar(s,!1,t,r),this.semicolon(),this.finishNode(s,"VariableDeclaration")}parseWhileStatement(s){return this.next(),s.test=this.parseHeaderExpression(),this.state.labels.push(zs),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(s,"WhileStatement")}parseWithStatement(s){return this.state.strict&&this.raise(st.StrictWith,{at:this.state.startLoc}),this.next(),s.object=this.parseHeaderExpression(),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(s,"WithStatement")}parseEmptyStatement(s){return this.next(),this.finishNode(s,"EmptyStatement")}parseLabeledStatement(s,t,r,a){for(let f of this.state.labels)f.name===t&&this.raise(st.LabelRedeclaration,{at:r,labelName:t});let l=ft(this.state.type)?"loop":this.match(71)?"switch":null;for(let f=this.state.labels.length-1;f>=0;f--){let m=this.state.labels[f];if(m.statementStart===s.start)m.statementStart=this.state.start,m.kind=l;else break}return this.state.labels.push({name:t,kind:l,statementStart:this.state.start}),s.body=this.parseStatement(a?a.indexOf("label")===-1?a+"label":a:"label"),this.state.labels.pop(),s.label=r,this.finishNode(s,"LabeledStatement")}parseExpressionStatement(s,t,r){return s.expression=t,this.semicolon(),this.finishNode(s,"ExpressionStatement")}parseBlock(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2?arguments[2]:void 0,a=this.startNode();return s&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(qo),this.parseBlockBody(a,s,!1,8,r),t&&this.scope.exit(),this.finishNode(a,"BlockStatement")}isValidDirective(s){return s.type==="ExpressionStatement"&&s.expression.type==="StringLiteral"&&!s.expression.extra.parenthesized}parseBlockBody(s,t,r,a,l){let f=s.body=[],m=s.directives=[];this.parseBlockOrModuleBlockBody(f,t?m:void 0,r,a,l)}parseBlockOrModuleBlockBody(s,t,r,a,l){let f=this.state.strict,m=!1,d=!1;for(;!this.match(a);){let y=this.parseStatement(null,r);if(t&&!d){if(this.isValidDirective(y)){let v=this.stmtToDirective(y);t.push(v),!m&&v.value.value==="use strict"&&(m=!0,this.setStrict(!0));continue}d=!0,this.state.strictErrors.clear()}s.push(y)}l&&l.call(this,m),f||this.setStrict(!1),this.next()}parseFor(s,t){return s.init=t,this.semicolon(!1),s.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),s.update=this.match(11)?null:this.parseExpression(),this.expect(11),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(s,"ForStatement")}parseForIn(s,t,r){let a=this.match(58);return this.next(),a?r!==null&&this.unexpected(r):s.await=r!==null,t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!a||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(st.ForInOfLoopInitializer,{at:t,type:a?"ForInStatement":"ForOfStatement"}),t.type==="AssignmentPattern"&&this.raise(st.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),s.left=t,s.right=a?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(s,a?"ForInStatement":"ForOfStatement")}parseVar(s,t,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,l=s.declarations=[];for(s.kind=r;;){let f=this.startNode();if(this.parseVarId(f,r),f.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,f.init===null&&!a&&(f.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))?this.raise(st.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):r==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(st.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),l.push(this.finishNode(f,"VariableDeclarator")),!this.eat(12))break}return s}parseVarId(s,t){let r=this.parseBindingAtom();t==="using"&&r.type!=="Identifier"&&this.raise(st.UsingDeclarationHasBindingPattern,{at:r}),this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:t==="var"?tl:Ya}),s.id=r}parseFunction(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fo,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=t&gs,l=t&Us,f=!!a&&!(t&Aa);this.initFunction(s,r),this.match(55)&&l&&this.raise(st.GeneratorInSingleStatementContext,{at:this.state.startLoc}),s.generator=this.eat(55),a&&(s.id=this.parseFunctionId(f));let m=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(vo),this.prodParam.enter(Lo(r,s.generator)),a||(s.id=this.parseFunctionId()),this.parseFunctionParams(s,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(s,a?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),a&&!l&&this.registerFunctionStatementId(s),this.state.maybeInArrowParameters=m,s}parseFunctionId(s){return s||Ln(this.state.type)?this.parseIdentifier():null}parseFunctionParams(s,t){this.expect(10),this.expressionScope.enter(Yo()),s.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(s){!s.id||this.scope.declareName(s.id.name,this.state.strict||s.generator||s.async?this.scope.treatFunctionsAsVar?tl:Ya:Hl,s.id.loc.start)}parseClass(s,t,r){this.next();let a=this.state.strict;return this.state.strict=!0,this.parseClassId(s,t,r),this.parseClassSuper(s),s.body=this.parseClassBody(!!s.superClass,a),this.finishNode(s,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(s){return!s.computed&&!s.static&&(s.key.name==="constructor"||s.key.value==="constructor")}parseClassBody(s,t){this.classScope.enter();let r={hadConstructor:!1,hadSuperClass:s},a=[],l=this.startNode();if(l.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(a.length>0)throw this.raise(st.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){a.push(this.parseDecorator());continue}let f=this.startNode();a.length&&(f.decorators=a,this.resetStartLocationFromNode(f,a[0]),a=[]),this.parseClassMember(l,f,r),f.kind==="constructor"&&f.decorators&&f.decorators.length>0&&this.raise(st.DecoratorConstructor,{at:f})}}),this.state.strict=t,this.next(),a.length)throw this.raise(st.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(l,"ClassBody")}parseClassMemberFromModifier(s,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let a=t;return a.kind="method",a.computed=!1,a.key=r,a.static=!1,this.pushClassMethod(s,a,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let a=t;return a.computed=!1,a.key=r,a.static=!1,s.body.push(this.parseClassProperty(a)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(s,t,r){let a=this.isContextual(104);if(a){if(this.parseClassMemberFromModifier(s,t))return;if(this.eat(5)){this.parseClassStaticBlock(s,t);return}}this.parseClassMemberWithIsStatic(s,t,r,a)}parseClassMemberWithIsStatic(s,t,r,a){let l=t,f=t,m=t,d=t,y=t,v=l,C=l;if(t.static=a,this.parsePropertyNamePrefixOperator(t),this.eat(55)){v.kind="method";let P=this.match(136);if(this.parseClassElementName(v),P){this.pushClassPrivateMethod(s,f,!0,!1);return}this.isNonstaticConstructor(l)&&this.raise(st.ConstructorIsGenerator,{at:l.key}),this.pushClassMethod(s,l,!0,!1,!1,!1);return}let A=Ln(this.state.type)&&!this.state.containsEsc,B=this.match(136),N=this.parseClassElementName(t),L=this.state.startLoc;if(this.parsePostMemberNameModifiers(C),this.isClassMethod()){if(v.kind="method",B){this.pushClassPrivateMethod(s,f,!1,!1);return}let P=this.isNonstaticConstructor(l),_=!1;P&&(l.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(st.DuplicateConstructor,{at:N}),P&&this.hasPlugin("typescript")&&t.override&&this.raise(st.OverrideOnConstructor,{at:N}),r.hadConstructor=!0,_=r.hadSuperClass),this.pushClassMethod(s,l,!1,!1,P,_)}else if(this.isClassProperty())B?this.pushClassPrivateProperty(s,d):this.pushClassProperty(s,m);else if(A&&N.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(N);let P=this.eat(55);C.optional&&this.unexpected(L),v.kind="method";let _=this.match(136);this.parseClassElementName(v),this.parsePostMemberNameModifiers(C),_?this.pushClassPrivateMethod(s,f,P,!0):(this.isNonstaticConstructor(l)&&this.raise(st.ConstructorIsAsync,{at:l.key}),this.pushClassMethod(s,l,P,!0,!1,!1))}else if(A&&(N.name==="get"||N.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(N),v.kind=N.name;let P=this.match(136);this.parseClassElementName(l),P?this.pushClassPrivateMethod(s,f,!1,!1):(this.isNonstaticConstructor(l)&&this.raise(st.ConstructorIsAccessor,{at:l.key}),this.pushClassMethod(s,l,!1,!1,!1,!1)),this.checkGetterSetterParams(l)}else if(A&&N.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(N);let P=this.match(136);this.parseClassElementName(m),this.pushClassAccessorProperty(s,y,P)}else this.isLineTerminator()?B?this.pushClassPrivateProperty(s,d):this.pushClassProperty(s,m):this.unexpected()}parseClassElementName(s){let{type:t,value:r}=this.state;if((t===130||t===131)&&s.static&&r==="prototype"&&this.raise(st.StaticPrototype,{at:this.state.startLoc}),t===136){r==="constructor"&&this.raise(st.ConstructorClassPrivateField,{at:this.state.startLoc});let a=this.parsePrivateName();return s.key=a,a}return this.parsePropertyName(s)}parseClassStaticBlock(s,t){var r;this.scope.enter(Ea|Ia|lo);let a=this.state.labels;this.state.labels=[],this.prodParam.enter(iu);let l=t.body=[];this.parseBlockOrModuleBlockBody(l,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=a,s.body.push(this.finishNode(t,"StaticBlock")),(r=t.decorators)!=null&&r.length&&this.raise(st.DecoratorStaticBlock,{at:t})}pushClassProperty(s,t){!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")&&this.raise(st.ConstructorClassField,{at:t.key}),s.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(s,t){let r=this.parseClassPrivateProperty(t);s.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),vu,r.key.loc.start)}pushClassAccessorProperty(s,t,r){if(!r&&!t.computed){let l=t.key;(l.name==="constructor"||l.value==="constructor")&&this.raise(st.ConstructorClassField,{at:l})}let a=this.parseClassAccessorProperty(t);s.body.push(a),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),vu,a.key.loc.start)}pushClassMethod(s,t,r,a,l,f){s.body.push(this.parseMethod(t,r,a,l,f,"ClassMethod",!0))}pushClassPrivateMethod(s,t,r,a){let l=this.parseMethod(t,r,a,!1,!1,"ClassPrivateMethod",!0);s.body.push(l);let f=l.kind==="get"?l.static?Co:wl:l.kind==="set"?l.static?Al:Du:vu;this.declareClassPrivateMethodInScope(l,f)}declareClassPrivateMethodInScope(s,t){this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),t,s.key.loc.start)}parsePostMemberNameModifiers(s){}parseClassPrivateProperty(s){return this.parseInitializer(s),this.semicolon(),this.finishNode(s,"ClassPrivateProperty")}parseClassProperty(s){return this.parseInitializer(s),this.semicolon(),this.finishNode(s,"ClassProperty")}parseClassAccessorProperty(s){return this.parseInitializer(s),this.semicolon(),this.finishNode(s,"ClassAccessorProperty")}parseInitializer(s){this.scope.enter(Ea|lo),this.expressionScope.enter(bu()),this.prodParam.enter(iu),s.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(s,t,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:gu;if(Ln(this.state.type))s.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(s.id,a);else if(r||!t)s.id=null;else throw this.raise(st.MissingClassName,{at:this.state.startLoc})}parseClassSuper(s){s.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(s,t){let r=this.maybeParseExportDefaultSpecifier(s),a=!r||this.eat(12),l=a&&this.eatExportStar(s),f=l&&this.maybeParseExportNamespaceSpecifier(s),m=a&&(!f||this.eat(12)),d=r||l;if(l&&!f){if(r&&this.unexpected(),t)throw this.raise(st.UnsupportedDecoratorExport,{at:s});return this.parseExportFrom(s,!0),this.finishNode(s,"ExportAllDeclaration")}let y=this.maybeParseExportNamedSpecifiers(s);if(r&&a&&!l&&!y||f&&m&&!y)throw this.unexpected(null,5);let v;if(d||y){if(v=!1,t)throw this.raise(st.UnsupportedDecoratorExport,{at:s});this.parseExportFrom(s,d)}else v=this.maybeParseExportDeclaration(s);if(d||y||v){var C;let A=s;if(this.checkExport(A,!0,!1,!!A.source),((C=A.declaration)==null?void 0:C.type)==="ClassDeclaration")this.maybeTakeDecorators(t,A.declaration,A);else if(t)throw this.raise(st.UnsupportedDecoratorExport,{at:s});return this.finishNode(A,"ExportNamedDeclaration")}if(this.eat(65)){let A=s,B=this.parseExportDefaultExpression();if(A.declaration=B,B.type==="ClassDeclaration")this.maybeTakeDecorators(t,B,A);else if(t)throw this.raise(st.UnsupportedDecoratorExport,{at:s});return this.checkExport(A,!0,!0),this.finishNode(A,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(s){return this.eat(55)}maybeParseExportDefaultSpecifier(s){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),s.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(s){if(this.isContextual(93)){s.specifiers||(s.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),s.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(s){if(this.match(5)){s.specifiers||(s.specifiers=[]);let t=s.exportKind==="type";return s.specifiers.push(...this.parseExportSpecifiers(t)),s.source=null,s.declaration=null,this.hasPlugin("importAssertions")&&(s.assertions=[]),!0}return!1}maybeParseExportDeclaration(s){return this.shouldParseExportDeclaration()?(s.specifiers=[],s.source=null,this.hasPlugin("importAssertions")&&(s.assertions=[]),s.declaration=this.parseExportDeclaration(s),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let s=this.nextTokenStart();return!oa.test(this.input.slice(this.state.pos,s))&&this.isUnparsedContextual(s,"function")}parseExportDefaultExpression(){let s=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(s,gs|Aa,t);if(this.match(80))return this.parseClass(s,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(st.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(st.UnsupportedDefaultExport,{at:this.state.startLoc});let r=this.parseMaybeAssignAllowIn();return this.semicolon(),r}parseExportDeclaration(s){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatement(null)}isExportDefaultSpecifier(){let{type:s}=this.state;if(Ln(s)){if(s===95&&!this.state.containsEsc||s===99)return!1;if((s===128||s===127)&&!this.state.containsEsc){let{type:a}=this.lookahead();if(Ln(a)&&a!==97||a===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||Ln(this.state.type)&&r)return!0;if(this.match(65)&&r){let a=this.input.charCodeAt(this.nextTokenStartSince(t+4));return a===34||a===39}return!1}parseExportFrom(s,t){if(this.eatContextual(97)){s.source=this.parseImportSource(),this.checkExport(s);let r=this.maybeParseImportAssertions();r&&(s.assertions=r,this.checkJSONModuleImport(s))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:s}=this.state;if(s===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(st.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return s===74||s===75||s===68||s===80||this.isLet()||this.isAsyncFunction()}checkExport(s,t,r,a){if(t){if(r){if(this.checkDuplicateExports(s,"default"),this.hasPlugin("exportDefaultFrom")){var l;let f=s.declaration;f.type==="Identifier"&&f.name==="from"&&f.end-f.start===4&&!((l=f.extra)!=null&&l.parenthesized)&&this.raise(st.ExportDefaultFromAsIdentifier,{at:f})}}else if(s.specifiers&&s.specifiers.length)for(let f of s.specifiers){let{exported:m}=f,d=m.type==="Identifier"?m.name:m.value;if(this.checkDuplicateExports(f,d),!a&&f.local){let{local:y}=f;y.type!=="Identifier"?this.raise(st.ExportBindingIsString,{at:f,localName:y.value,exportName:d}):(this.checkReservedWord(y.name,y.loc.start,!0,!1),this.scope.checkLocalExport(y))}}else if(s.declaration){if(s.declaration.type==="FunctionDeclaration"||s.declaration.type==="ClassDeclaration"){let f=s.declaration.id;if(!f)throw new Error("Assertion failure");this.checkDuplicateExports(s,f.name)}else if(s.declaration.type==="VariableDeclaration")for(let f of s.declaration.declarations)this.checkDeclaration(f.id)}}}checkDeclaration(s){if(s.type==="Identifier")this.checkDuplicateExports(s,s.name);else if(s.type==="ObjectPattern")for(let t of s.properties)this.checkDeclaration(t);else if(s.type==="ArrayPattern")for(let t of s.elements)t&&this.checkDeclaration(t);else s.type==="ObjectProperty"?this.checkDeclaration(s.value):s.type==="RestElement"?this.checkDeclaration(s.argument):s.type==="AssignmentPattern"&&this.checkDeclaration(s.left)}checkDuplicateExports(s,t){this.exportedIdentifiers.has(t)&&(t==="default"?this.raise(st.DuplicateDefaultExport,{at:s}):this.raise(st.DuplicateExport,{at:s,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(s){let t=[],r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;let a=this.isContextual(128),l=this.match(131),f=this.startNode();f.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(f,l,s,a))}return t}parseExportSpecifier(s,t,r,a){return this.eatContextual(93)?s.exported=this.parseModuleExportName():t?s.exported=ge(s.local):s.exported||(s.exported=Ce(s.local)),this.finishNode(s,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let s=this.parseStringLiteral(this.state.value),t=s.value.match(ua);return t&&this.raise(st.ModuleExportNameHasLoneSurrogate,{at:s,surrogateCharCode:t[0].charCodeAt(0)}),s}return this.parseIdentifier(!0)}isJSONModuleImport(s){return s.assertions!=null?s.assertions.some(t=>{let{key:r,value:a}=t;return a.value==="json"&&(r.type==="Identifier"?r.name==="type":r.value==="type")}):!1}checkImportReflection(s){if(s.module){var t;(s.specifiers.length!==1||s.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(st.ImportReflectionNotBinding,{at:s.specifiers[0].loc.start}),((t=s.assertions)==null?void 0:t.length)>0&&this.raise(st.ImportReflectionHasAssertion,{at:s.specifiers[0].loc.start})}}checkJSONModuleImport(s){if(this.isJSONModuleImport(s)&&s.type!=="ExportAllDeclaration"){let{specifiers:t}=s;if(t!=null){let r=t.find(a=>{let l;if(a.type==="ExportSpecifier"?l=a.local:a.type==="ImportSpecifier"&&(l=a.imported),l!==void 0)return l.type==="Identifier"?l.name!=="default":l.value!=="default"});r!==void 0&&this.raise(st.ImportJSONBindingNotDefault,{at:r.loc.start})}}}parseMaybeImportReflection(s){let t=!1;if(this.isContextual(125)){let r=this.lookahead();Ln(r.type)?(r.type!==97||this.input.charCodeAt(this.nextTokenStartSince(r.end))===102)&&(t=!0):t=!0}t?(this.expectPlugin("importReflection"),this.next(),s.module=!0):this.hasPlugin("importReflection")&&(s.module=!1)}parseImport(s){if(s.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(s);let r=!this.maybeParseDefaultImportSpecifier(s)||this.eat(12),a=r&&this.maybeParseStarImportSpecifier(s);r&&!a&&this.parseNamedImportSpecifiers(s),this.expectContextual(97)}s.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)s.assertions=t;else{let r=this.maybeParseModuleAttributes();r&&(s.attributes=r)}return this.checkImportReflection(s),this.checkJSONModuleImport(s),this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(s){return Ln(this.state.type)}parseImportSpecifierLocal(s,t,r){t.local=this.parseIdentifier(),s.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(s,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ya;return this.checkLVal(s.local,{in:s,binding:r}),this.finishNode(s,t)}parseAssertEntries(){let s=[],t=new Set;do{if(this.match(8))break;let r=this.startNode(),a=this.state.value;if(t.has(a)&&this.raise(st.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:a}),t.add(a),this.match(131)?r.key=this.parseStringLiteral(a):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(st.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),s.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return s}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;let s=[],t=new Set;do{let r=this.startNode();if(r.key=this.parseIdentifier(!0),r.key.name!=="type"&&this.raise(st.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(st.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(131))throw this.raise(st.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),s.push(r)}while(this.eat(12));return s}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);let s=this.parseAssertEntries();return this.eat(8),s}maybeParseDefaultImportSpecifier(s){return this.shouldParseDefaultImport(s)?(this.parseImportSpecifierLocal(s,this.startNode(),"ImportDefaultSpecifier"),!0):!1}maybeParseStarImportSpecifier(s){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(s,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(s){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(st.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let r=this.startNode(),a=this.match(131),l=this.isContextual(128);r.imported=this.parseModuleExportName();let f=this.parseImportSpecifier(r,a,s.importKind==="type"||s.importKind==="typeof",l,void 0);s.specifiers.push(f)}}parseImportSpecifier(s,t,r,a,l){if(this.eatContextual(93))s.local=this.parseIdentifier();else{let{imported:f}=s;if(t)throw this.raise(st.ImportBindingIsString,{at:s,importName:f.value});this.checkReservedWord(f.name,s.loc.start,!0,!0),s.local||(s.local=Ce(f))}return this.finishImportSpecifier(s,"ImportSpecifier",l)}isThisParam(s){return s.type==="Identifier"&&s.name==="this"}},hl=class extends _l{constructor(s,t){s=_n(s),super(s,t),this.options=s,this.initializeScopes(),this.plugins=Oc(this.options.plugins),this.filename=s.sourceFilename}getScopeHandler(){return ja}parse(){this.enterInitialScopes();let s=this.startNode(),t=this.startNode();return this.nextToken(),s.errors=null,this.parseTopLevel(s,t),s.errors=this.state.errors,s}};function Oc(s){let t=new Map;for(let r of s){let[a,l]=Array.isArray(r)?r:[r,{}];t.has(a)||t.set(a,l||{})}return t}function Lc(s,t){var r;if(((r=t)==null?void 0:r.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let a=Au(t,s),l=a.parse();if(a.sawUnambiguousESM)return l;if(a.ambiguousScriptDifferentAst)try{return t.sourceType="script",Au(t,s).parse()}catch{}else l.program.sourceType="script";return l}catch(a){try{return t.sourceType="script",Au(t,s).parse()}catch{}throw a}}else return Au(t,s).parse()}function Mc(s,t){let r=Au(t,s);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function mo(s){let t={};for(let r of Object.keys(s))t[r]=Rs(s[r]);return t}var Il=mo(pi);function Au(s,t){let r=hl;return s!=null&&s.plugins&&(Ti(s.plugins),r=su(s.plugins)),new r(s,t)}var fl={};function su(s){let t=Ar.filter(l=>Li(s,l)),r=t.join("/"),a=fl[r];if(!a){a=hl;for(let l of t)a=Wt[l](a);fl[r]=a}return a}ri.parse=Lc,ri.parseExpression=Mc,ri.tokTypes=Il}}),cu=Pr({"src/language-js/parse/json.js"(ri,yn){re();var bn=us(),an=Bi(),on=ks(),ni=Fu();function Qn(){let Rn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:Ri=!0}=Rn;return function(rs){let{parseExpression:wi}=zo(),Xi;try{Xi=wi(rs,{tokens:!0,ranges:!0})}catch(js){throw ni(js)}if(!Ri&&bn(Xi.comments))throw oi(Xi.comments[0],"Comment");return yi(Xi),Xi}}function oi(Rn,Ri){let[rs,wi]=[Rn.loc.start,Rn.loc.end].map(Xi=>{let{line:js,column:_i}=Xi;return{line:js,column:_i+1}});return an(`${Ri} is not allowed in JSON.`,{start:rs,end:wi})}function yi(Rn){switch(Rn.type){case"ArrayExpression":for(let Ri of Rn.elements)Ri!==null&&yi(Ri);return;case"ObjectExpression":for(let Ri of Rn.properties)yi(Ri);return;case"ObjectProperty":if(Rn.computed)throw oi(Rn.key,"Computed key");if(Rn.shorthand)throw oi(Rn.key,"Shorthand property");Rn.key.type!=="Identifier"&&yi(Rn.key),yi(Rn.value);return;case"UnaryExpression":{let{operator:Ri,argument:rs}=Rn;if(Ri!=="+"&&Ri!=="-")throw oi(Rn,`Operator '${Rn.operator}'`);if(rs.type==="NumericLiteral"||rs.type==="Identifier"&&(rs.name==="Infinity"||rs.name==="NaN"))return;throw oi(rs,`Operator '${Ri}' before '${rs.type}'`)}case"Identifier":if(Rn.name!=="Infinity"&&Rn.name!=="NaN"&&Rn.name!=="undefined")throw oi(Rn,`Identifier '${Rn.name}'`);return;case"TemplateLiteral":if(bn(Rn.expressions))throw oi(Rn.expressions[0],"'TemplateLiteral' with expression");for(let Ri of Rn.quasis)yi(Ri);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw oi(Rn,`'${Rn.type}'`)}}var Ki=Qn(),Ci={json:on({parse:Ki,hasPragma(){return!0}}),json5:on(Ki),"json-stringify":on({parse:Qn({allowComments:!1}),astFormat:"estree-json"})};yn.exports=Ci}});re();var Nu=xe(),Bu=Fe(),_u=Qt(),Do=ks(),Iu=Fu(),Ou=Pu(),Ha=cu(),Cl={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},pu=["recordAndTuple",{syntaxType:"hash"}],Sa="v8intrinsic",ao=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],va=function(ri){let yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Cl;return Object.assign(Object.assign({},yn),{},{plugins:[...yn.plugins,...ri]})},hu=/@(?:no)?flow\b/;function Qu(ri,yn){if(yn.filepath&&yn.filepath.endsWith(".js.flow"))return!0;let bn=Bu(ri);bn&&(ri=ri.slice(bn.length));let an=_u(ri,0);return an!==!1&&(ri=ri.slice(0,an)),hu.test(ri)}function Zu(ri,yn,bn){let an=zo()[ri](yn,bn),on=an.errors.find(ni=>!Uo.has(ni.reasonCode));if(on)throw on;return an}function qa(ri){for(var yn=arguments.length,bn=new Array(yn>1?yn-1:0),an=1;an<yn;an++)bn[an-1]=arguments[an];return function(on,ni){let Qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((Qn.parser==="babel"||Qn.parser==="__babel_estree")&&Qu(on,Qn))return Qn.parser="babel-flow",Pi(on,ni,Qn);let oi=bn;Qn.__babelSourceType==="script"&&(oi=oi.map(Rn=>Object.assign(Object.assign({},Rn),{},{sourceType:"script"}))),/#[[{]/.test(on)&&(oi=oi.map(Rn=>va([pu],Rn)));let yi=/%[A-Z]/.test(on);on.includes("|>")?oi=(yi?[...ao,Sa]:ao).flatMap(Rn=>oi.map(Ri=>va([Rn],Ri))):yi&&(oi=oi.map(Rn=>va([Sa],Rn)));let{result:Ki,error:Ci}=Nu(...oi.map(Rn=>()=>Zu(ri,on,Rn)));if(!Ki)throw Iu(Ci);return Qn.originalText=on,Ou(Ki,Qn)}}var Wa=qa("parse",va(["jsx","flow"])),Pi=qa("parse",va(["jsx",["flow",{all:!0,enums:!0}]])),Fa=qa("parse",va(["jsx","typescript"]),va(["typescript"])),oo=qa("parse",va(["jsx","flow","estree"])),xa=qa("parseExpression",va(["jsx"])),Va=qa("parseExpression",va(["typescript"])),Uo=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"]),eu=Do(Wa),tu=Do(Fa),Ga=Do(xa),fu=Do(Va);Bt.exports={parsers:Object.assign(Object.assign({babel:eu,"babel-flow":Do(Pi),"babel-ts":tu},Ha),{},{__js_expression:Ga,__vue_expression:Ga,__vue_ts_expression:fu,__vue_event_binding:eu,__vue_ts_event_binding:tu,__babel_estree:Do(oo)})}});return On()})})(dv);const mv=qp(wh);function gv(i,h,c){const g={css:pv,html:fv,babel:mv};return Ws(()=>{if(!hs(h))return hs(i)||"/* empty */";try{return lv.format(hs(i)||"",{parser:c,plugins:[g[c]],singleQuote:!0,semi:!1})}catch(x){return console.error(x),`/* Error on prettifying: ${x.message} */
278
- ${hs(i)||""}`}})}function yv(i,h=!0){return gv(i,h,"css")}const Dv={"h-full":""},vv={p:"x4 y2",grid:"~ cols-4 gap-4"},xv=qi("div",{op80:""}," Presets ",-1),Cv={op50:"","ws-pre":""},Ev={overflow:"auto"},bv=qi("div",{op80:""}," Rules ",-1),Av=qi("span",{op50:""},"dynamic",-1),wv=qi("br",null,null,-1),Tv=qi("span",{op50:""},"static",-1),Sv=qi("div",{op80:""}," Variants ",-1),Fv=qi("div",{op80:""}," Shortcuts ",-1),kv={key:0},Pv=qi("div",{op80:""}," Config File ",-1),Nv=qi("div",{op80:""}," Version ",-1),Bv={op50:"","ws-pre":""},_v={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},Iv=qi("div",{op80:""}," Included Files ",-1),Ov=qi("div",{op80:""}," CSS Size ",-1),Lv=qi("span",{op50:""},"gzipped",-1),Mv=qi("div",{op80:""}," Matched Rules ",-1),jv=qi("div",{op80:""}," Layers ",-1),Rv={op50:"","ws-pre":""},$v=Yu({__name:"Overview",setup(i){const h=Ta(null),c=ov(h,"overview-scrolls");Qh.execute();const g=Ta(!1),x=yv(Ws(()=>{var S;return(S=cp.value)==null?void 0:S.css}),g);return(S,W)=>{const ie=av,de=ev,ve=XD,De=VD;return ma(),go("div",Dv,[Gs(ve,{ref_key:"status",ref:h,p0:""},{default:jl(()=>{var Ve,tt,Ct,Rt,$t,Sr,Ze,ct,Et,er,gr,Pn,kr,ln,Dn,mn,gn,Xn;return[qi("div",vv,[qi("div",null,[xv,qi("div",Cv,jo((Ct=(tt=(Ve=hs(ro))==null?void 0:Ve.config)==null?void 0:tt.presets)==null?void 0:Ct.map(hr=>hr.name).join(`
279
- `)),1)]),qi("div",Ev,[bv,Vu(" "+jo((Sr=($t=(Rt=hs(ro))==null?void 0:Rt.config)==null?void 0:$t.rulesDynamic)==null?void 0:Sr.length)+" ",1),Av,wv,Vu(" "+jo(Object.keys(((ct=(Ze=hs(ro))==null?void 0:Ze.config)==null?void 0:ct.rulesStaticMap)||{}).length)+" ",1),Tv]),qi("div",null,[Sv,Vu(" "+jo((gr=(er=(Et=hs(ro))==null?void 0:Et.config)==null?void 0:er.variants)==null?void 0:gr.length),1)]),qi("div",null,[Fv,Vu(" "+jo((Pn=hs(ro))==null?void 0:Pn.config.shortcuts.length),1)]),(kr=hs(ro))!=null&&kr.configPath?(ma(),go("div",kv,[Pv,Gs(ie,{id:hs(ro).configPath},null,8,["id"])])):wp("",!0),qi("div",null,[Nv,qi("div",Bv,jo((ln=hs(ro))==null?void 0:ln.version),1)])]),qi("div",_v,[qi("div",null,[Iv,Vu(" "+jo((Dn=hs(ro))==null?void 0:Dn.modules.length),1)]),qi("div",null,[Ov,Vu(" "+jo(((((mn=hs(cp))==null?void 0:mn.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),Lv]),qi("div",null,[Mv,Vu(" "+jo((gn=hs(cp))==null?void 0:gn.matched.length),1)]),qi("div",null,[jv,qi("div",Rv,jo((Xn=hs(cp))==null?void 0:Xn.layers.join(`
280
- `)),1)])]),Gs(de,{border:"t gray-400/20",title:"Output CSS"},{default:jl(()=>[qi("label",null,[v0(qi("input",{"onUpdate:modelValue":W[0]||(W[0]=hr=>g.value=hr),type:"checkbox"},null,512),[[Dy,g.value]]),Vu(" Prettify ")])]),_:1})]}),_:1},512),Gs(De,{"model-value":hs(x),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:tp(hs(c))},null,8,["model-value","style"])])}}}),zv={};function Uv(i,h){const c=$v;return ma(),Tc(c)}const Hv=Bm(zv,[["render",Uv]]),qv=()=>kh(()=>import("./repl-2f5436d7.js"),[]),Wv=()=>kh(()=>import("./_id_-e4c08e38.js"),[]),Vv=[{name:"repl",path:"/repl",component:qv,props:!0},{name:"index",path:"/",component:Hv,props:!0},{name:"module-id",path:"/module/:id",component:Wv,props:!0}];const vc=typeof window<"u";function Gv(i){return i.__esModule||i[Symbol.toStringTag]==="Module"}const qs=Object.assign;function th(i,h){const c={};for(const g in h){const x=h[g];c[g]=Xu(x)?x.map(i):i(x)}return c}const Wc=()=>{},Xu=Array.isArray,Kv=/\/$/,Jv=i=>i.replace(Kv,"");function rh(i,h,c="/"){let g,x={},S="",W="";const ie=h.indexOf("#");let de=h.indexOf("?");return ie<de&&ie>=0&&(de=-1),de>-1&&(g=h.slice(0,de),S=h.slice(de+1,ie>-1?ie:h.length),x=i(S)),ie>-1&&(g=g||h.slice(0,ie),W=h.slice(ie,h.length)),g=Zv(g??h,c),{fullPath:g+(S&&"?")+S+W,path:g,query:x,hash:W}}function Xv(i,h){const c=h.query?i(h.query):"";return h.path+(c&&"?")+c+(h.hash||"")}function nd(i,h){return!h||!i.toLowerCase().startsWith(h.toLowerCase())?i:i.slice(h.length)||"/"}function Yv(i,h,c){const g=h.matched.length-1,x=c.matched.length-1;return g>-1&&g===x&&Fc(h.matched[g],c.matched[x])&&Mm(h.params,c.params)&&i(h.query)===i(c.query)&&h.hash===c.hash}function Fc(i,h){return(i.aliasOf||i)===(h.aliasOf||h)}function Mm(i,h){if(Object.keys(i).length!==Object.keys(h).length)return!1;for(const c in i)if(!Qv(i[c],h[c]))return!1;return!0}function Qv(i,h){return Xu(i)?id(i,h):Xu(h)?id(h,i):i===h}function id(i,h){return Xu(h)?i.length===h.length&&i.every((c,g)=>c===h[g]):i.length===1&&i[0]===h}function Zv(i,h){if(i.startsWith("/"))return i;if(!i)return h;const c=h.split("/"),g=i.split("/");let x=c.length-1,S,W;for(S=0;S<g.length;S++)if(W=g[S],W!==".")if(W==="..")x>1&&x--;else break;return c.slice(0,x).join("/")+"/"+g.slice(S-(S===g.length?1:0)).join("/")}var ep;(function(i){i.pop="pop",i.push="push"})(ep||(ep={}));var Vc;(function(i){i.back="back",i.forward="forward",i.unknown=""})(Vc||(Vc={}));function e1(i){if(!i)if(vc){const h=document.querySelector("base");i=h&&h.getAttribute("href")||"/",i=i.replace(/^\w+:\/\/[^\/]+/,"")}else i="/";return i[0]!=="/"&&i[0]!=="#"&&(i="/"+i),Jv(i)}const t1=/^[^#]+#/;function r1(i,h){return i.replace(t1,"#")+h}function n1(i,h){const c=document.documentElement.getBoundingClientRect(),g=i.getBoundingClientRect();return{behavior:h.behavior,left:g.left-c.left-(h.left||0),top:g.top-c.top-(h.top||0)}}const Vp=()=>({left:window.pageXOffset,top:window.pageYOffset});function i1(i){let h;if("el"in i){const c=i.el,g=typeof c=="string"&&c.startsWith("#"),x=typeof c=="string"?g?document.getElementById(c.slice(1)):document.querySelector(c):c;if(!x)return;h=n1(x,i)}else h=i;"scrollBehavior"in document.documentElement.style?window.scrollTo(h):window.scrollTo(h.left!=null?h.left:window.pageXOffset,h.top!=null?h.top:window.pageYOffset)}function sd(i,h){return(history.state?history.state.position-h:-1)+i}const Th=new Map;function s1(i,h){Th.set(i,h)}function a1(i){const h=Th.get(i);return Th.delete(i),h}let o1=()=>location.protocol+"//"+location.host;function jm(i,h){const{pathname:c,search:g,hash:x}=h,S=i.indexOf("#");if(S>-1){let ie=x.includes(i.slice(S))?i.slice(S).length:1,de=x.slice(ie);return de[0]!=="/"&&(de="/"+de),nd(de,"")}return nd(c,i)+g+x}function u1(i,h,c,g){let x=[],S=[],W=null;const ie=({state:tt})=>{const Ct=jm(i,location),Rt=c.value,$t=h.value;let Sr=0;if(tt){if(c.value=Ct,h.value=tt,W&&W===Rt){W=null;return}Sr=$t?tt.position-$t.position:0}else g(Ct);x.forEach(Ze=>{Ze(c.value,Rt,{delta:Sr,type:ep.pop,direction:Sr?Sr>0?Vc.forward:Vc.back:Vc.unknown})})};function de(){W=c.value}function ve(tt){x.push(tt);const Ct=()=>{const Rt=x.indexOf(tt);Rt>-1&&x.splice(Rt,1)};return S.push(Ct),Ct}function De(){const{history:tt}=window;!tt.state||tt.replaceState(qs({},tt.state,{scroll:Vp()}),"")}function Ve(){for(const tt of S)tt();S=[],window.removeEventListener("popstate",ie),window.removeEventListener("beforeunload",De)}return window.addEventListener("popstate",ie),window.addEventListener("beforeunload",De),{pauseListeners:de,listen:ve,destroy:Ve}}function ad(i,h,c,g=!1,x=!1){return{back:i,current:h,forward:c,replaced:g,position:window.history.length,scroll:x?Vp():null}}function l1(i){const{history:h,location:c}=window,g={value:jm(i,c)},x={value:h.state};x.value||S(g.value,{back:null,current:g.value,forward:null,position:h.length-1,replaced:!0,scroll:null},!0);function S(de,ve,De){const Ve=i.indexOf("#"),tt=Ve>-1?(c.host&&document.querySelector("base")?i:i.slice(Ve))+de:o1()+i+de;try{h[De?"replaceState":"pushState"](ve,"",tt),x.value=ve}catch(Ct){console.error(Ct),c[De?"replace":"assign"](tt)}}function W(de,ve){const De=qs({},h.state,ad(x.value.back,de,x.value.forward,!0),ve,{position:x.value.position});S(de,De,!0),g.value=de}function ie(de,ve){const De=qs({},x.value,h.state,{forward:de,scroll:Vp()});S(De.current,De,!0);const Ve=qs({},ad(g.value,de,null),{position:De.position+1},ve);S(de,Ve,!1),g.value=de}return{location:g,state:x,push:ie,replace:W}}function c1(i){i=e1(i);const h=l1(i),c=u1(i,h.state,h.location,h.replace);function g(S,W=!0){W||c.pauseListeners(),history.go(S)}const x=qs({location:"",base:i,go:g,createHref:r1.bind(null,i)},h,c);return Object.defineProperty(x,"location",{enumerable:!0,get:()=>h.location.value}),Object.defineProperty(x,"state",{enumerable:!0,get:()=>h.state.value}),x}function p1(i){return i=location.host?i||location.pathname+location.search:"",i.includes("#")||(i+="#"),c1(i)}function h1(i){return typeof i=="string"||i&&typeof i=="object"}function Rm(i){return typeof i=="string"||typeof i=="symbol"}const Xl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},$m=Symbol("");var od;(function(i){i[i.aborted=4]="aborted",i[i.cancelled=8]="cancelled",i[i.duplicated=16]="duplicated"})(od||(od={}));function kc(i,h){return qs(new Error,{type:i,[$m]:!0},h)}function Ll(i,h){return i instanceof Error&&$m in i&&(h==null||!!(i.type&h))}const ud="[^/]+?",f1={sensitive:!1,strict:!1,start:!0,end:!0},d1=/[.+*?^${}()[\]/\\]/g;function m1(i,h){const c=qs({},f1,h),g=[];let x=c.start?"^":"";const S=[];for(const ve of i){const De=ve.length?[]:[90];c.strict&&!ve.length&&(x+="/");for(let Ve=0;Ve<ve.length;Ve++){const tt=ve[Ve];let Ct=40+(c.sensitive?.25:0);if(tt.type===0)Ve||(x+="/"),x+=tt.value.replace(d1,"\\$&"),Ct+=40;else if(tt.type===1){const{value:Rt,repeatable:$t,optional:Sr,regexp:Ze}=tt;S.push({name:Rt,repeatable:$t,optional:Sr});const ct=Ze||ud;if(ct!==ud){Ct+=10;try{new RegExp(`(${ct})`)}catch(er){throw new Error(`Invalid custom RegExp for param "${Rt}" (${ct}): `+er.message)}}let Et=$t?`((?:${ct})(?:/(?:${ct}))*)`:`(${ct})`;Ve||(Et=Sr&&ve.length<2?`(?:/${Et})`:"/"+Et),Sr&&(Et+="?"),x+=Et,Ct+=20,Sr&&(Ct+=-8),$t&&(Ct+=-20),ct===".*"&&(Ct+=-50)}De.push(Ct)}g.push(De)}if(c.strict&&c.end){const ve=g.length-1;g[ve][g[ve].length-1]+=.7000000000000001}c.strict||(x+="/?"),c.end?x+="$":c.strict&&(x+="(?:/|$)");const W=new RegExp(x,c.sensitive?"":"i");function ie(ve){const De=ve.match(W),Ve={};if(!De)return null;for(let tt=1;tt<De.length;tt++){const Ct=De[tt]||"",Rt=S[tt-1];Ve[Rt.name]=Ct&&Rt.repeatable?Ct.split("/"):Ct}return Ve}function de(ve){let De="",Ve=!1;for(const tt of i){(!Ve||!De.endsWith("/"))&&(De+="/"),Ve=!1;for(const Ct of tt)if(Ct.type===0)De+=Ct.value;else if(Ct.type===1){const{value:Rt,repeatable:$t,optional:Sr}=Ct,Ze=Rt in ve?ve[Rt]:"";if(Xu(Ze)&&!$t)throw new Error(`Provided param "${Rt}" is an array but it is not repeatable (* or + modifiers)`);const ct=Xu(Ze)?Ze.join("/"):Ze;if(!ct)if(Sr)tt.length<2&&(De.endsWith("/")?De=De.slice(0,-1):Ve=!0);else throw new Error(`Missing required param "${Rt}"`);De+=ct}}return De||"/"}return{re:W,score:g,keys:S,parse:ie,stringify:de}}function g1(i,h){let c=0;for(;c<i.length&&c<h.length;){const g=h[c]-i[c];if(g)return g;c++}return i.length<h.length?i.length===1&&i[0]===40+40?-1:1:i.length>h.length?h.length===1&&h[0]===40+40?1:-1:0}function y1(i,h){let c=0;const g=i.score,x=h.score;for(;c<g.length&&c<x.length;){const S=g1(g[c],x[c]);if(S)return S;c++}if(Math.abs(x.length-g.length)===1){if(ld(g))return 1;if(ld(x))return-1}return x.length-g.length}function ld(i){const h=i[i.length-1];return i.length>0&&h[h.length-1]<0}const D1={type:0,value:""},v1=/[a-zA-Z0-9_]/;function x1(i){if(!i)return[[]];if(i==="/")return[[D1]];if(!i.startsWith("/"))throw new Error(`Invalid path "${i}"`);function h(Ct){throw new Error(`ERR (${c})/"${ve}": ${Ct}`)}let c=0,g=c;const x=[];let S;function W(){S&&x.push(S),S=[]}let ie=0,de,ve="",De="";function Ve(){!ve||(c===0?S.push({type:0,value:ve}):c===1||c===2||c===3?(S.length>1&&(de==="*"||de==="+")&&h(`A repeatable param (${ve}) must be alone in its segment. eg: '/:ids+.`),S.push({type:1,value:ve,regexp:De,repeatable:de==="*"||de==="+",optional:de==="*"||de==="?"})):h("Invalid state to consume buffer"),ve="")}function tt(){ve+=de}for(;ie<i.length;){if(de=i[ie++],de==="\\"&&c!==2){g=c,c=4;continue}switch(c){case 0:de==="/"?(ve&&Ve(),W()):de===":"?(Ve(),c=1):tt();break;case 4:tt(),c=g;break;case 1:de==="("?c=2:v1.test(de)?tt():(Ve(),c=0,de!=="*"&&de!=="?"&&de!=="+"&&ie--);break;case 2:de===")"?De[De.length-1]=="\\"?De=De.slice(0,-1)+de:c=3:De+=de;break;case 3:Ve(),c=0,de!=="*"&&de!=="?"&&de!=="+"&&ie--,De="";break;default:h("Unknown state");break}}return c===2&&h(`Unfinished custom RegExp for param "${ve}"`),Ve(),W(),x}function C1(i,h,c){const g=m1(x1(i.path),c),x=qs(g,{record:i,parent:h,children:[],alias:[]});return h&&!x.record.aliasOf==!h.record.aliasOf&&h.children.push(x),x}function E1(i,h){const c=[],g=new Map;h=hd({strict:!1,end:!0,sensitive:!1},h);function x(De){return g.get(De)}function S(De,Ve,tt){const Ct=!tt,Rt=b1(De);Rt.aliasOf=tt&&tt.record;const $t=hd(h,De),Sr=[Rt];if("alias"in De){const Et=typeof De.alias=="string"?[De.alias]:De.alias;for(const er of Et)Sr.push(qs({},Rt,{components:tt?tt.record.components:Rt.components,path:er,aliasOf:tt?tt.record:Rt}))}let Ze,ct;for(const Et of Sr){const{path:er}=Et;if(Ve&&er[0]!=="/"){const gr=Ve.record.path,Pn=gr[gr.length-1]==="/"?"":"/";Et.path=Ve.record.path+(er&&Pn+er)}if(Ze=C1(Et,Ve,$t),tt?tt.alias.push(Ze):(ct=ct||Ze,ct!==Ze&&ct.alias.push(Ze),Ct&&De.name&&!pd(Ze)&&W(De.name)),Rt.children){const gr=Rt.children;for(let Pn=0;Pn<gr.length;Pn++)S(gr[Pn],Ze,tt&&tt.children[Pn])}tt=tt||Ze,(Ze.record.components&&Object.keys(Ze.record.components).length||Ze.record.name||Ze.record.redirect)&&de(Ze)}return ct?()=>{W(ct)}:Wc}function W(De){if(Rm(De)){const Ve=g.get(De);Ve&&(g.delete(De),c.splice(c.indexOf(Ve),1),Ve.children.forEach(W),Ve.alias.forEach(W))}else{const Ve=c.indexOf(De);Ve>-1&&(c.splice(Ve,1),De.record.name&&g.delete(De.record.name),De.children.forEach(W),De.alias.forEach(W))}}function ie(){return c}function de(De){let Ve=0;for(;Ve<c.length&&y1(De,c[Ve])>=0&&(De.record.path!==c[Ve].record.path||!zm(De,c[Ve]));)Ve++;c.splice(Ve,0,De),De.record.name&&!pd(De)&&g.set(De.record.name,De)}function ve(De,Ve){let tt,Ct={},Rt,$t;if("name"in De&&De.name){if(tt=g.get(De.name),!tt)throw kc(1,{location:De});$t=tt.record.name,Ct=qs(cd(Ve.params,tt.keys.filter(ct=>!ct.optional).map(ct=>ct.name)),De.params&&cd(De.params,tt.keys.map(ct=>ct.name))),Rt=tt.stringify(Ct)}else if("path"in De)Rt=De.path,tt=c.find(ct=>ct.re.test(Rt)),tt&&(Ct=tt.parse(Rt),$t=tt.record.name);else{if(tt=Ve.name?g.get(Ve.name):c.find(ct=>ct.re.test(Ve.path)),!tt)throw kc(1,{location:De,currentLocation:Ve});$t=tt.record.name,Ct=qs({},Ve.params,De.params),Rt=tt.stringify(Ct)}const Sr=[];let Ze=tt;for(;Ze;)Sr.unshift(Ze.record),Ze=Ze.parent;return{name:$t,path:Rt,params:Ct,matched:Sr,meta:w1(Sr)}}return i.forEach(De=>S(De)),{addRoute:S,resolve:ve,removeRoute:W,getRoutes:ie,getRecordMatcher:x}}function cd(i,h){const c={};for(const g of h)g in i&&(c[g]=i[g]);return c}function b1(i){return{path:i.path,redirect:i.redirect,name:i.name,meta:i.meta||{},aliasOf:void 0,beforeEnter:i.beforeEnter,props:A1(i),children:i.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in i?i.components||null:i.component&&{default:i.component}}}function A1(i){const h={},c=i.props||!1;if("component"in i)h.default=c;else for(const g in i.components)h[g]=typeof c=="boolean"?c:c[g];return h}function pd(i){for(;i;){if(i.record.aliasOf)return!0;i=i.parent}return!1}function w1(i){return i.reduce((h,c)=>qs(h,c.meta),{})}function hd(i,h){const c={};for(const g in i)c[g]=g in h?h[g]:i[g];return c}function zm(i,h){return h.children.some(c=>c===i||zm(i,c))}const Um=/#/g,T1=/&/g,S1=/\//g,F1=/=/g,k1=/\?/g,Hm=/\+/g,P1=/%5B/g,N1=/%5D/g,qm=/%5E/g,B1=/%60/g,Wm=/%7B/g,_1=/%7C/g,Vm=/%7D/g,I1=/%20/g;function Zh(i){return encodeURI(""+i).replace(_1,"|").replace(P1,"[").replace(N1,"]")}function O1(i){return Zh(i).replace(Wm,"{").replace(Vm,"}").replace(qm,"^")}function Sh(i){return Zh(i).replace(Hm,"%2B").replace(I1,"+").replace(Um,"%23").replace(T1,"%26").replace(B1,"`").replace(Wm,"{").replace(Vm,"}").replace(qm,"^")}function L1(i){return Sh(i).replace(F1,"%3D")}function M1(i){return Zh(i).replace(Um,"%23").replace(k1,"%3F")}function j1(i){return i==null?"":M1(i).replace(S1,"%2F")}function Fp(i){try{return decodeURIComponent(""+i)}catch{}return""+i}function R1(i){const h={};if(i===""||i==="?")return h;const g=(i[0]==="?"?i.slice(1):i).split("&");for(let x=0;x<g.length;++x){const S=g[x].replace(Hm," "),W=S.indexOf("="),ie=Fp(W<0?S:S.slice(0,W)),de=W<0?null:Fp(S.slice(W+1));if(ie in h){let ve=h[ie];Xu(ve)||(ve=h[ie]=[ve]),ve.push(de)}else h[ie]=de}return h}function fd(i){let h="";for(let c in i){const g=i[c];if(c=L1(c),g==null){g!==void 0&&(h+=(h.length?"&":"")+c);continue}(Xu(g)?g.map(S=>S&&Sh(S)):[g&&Sh(g)]).forEach(S=>{S!==void 0&&(h+=(h.length?"&":"")+c,S!=null&&(h+="="+S))})}return h}function $1(i){const h={};for(const c in i){const g=i[c];g!==void 0&&(h[c]=Xu(g)?g.map(x=>x==null?null:""+x):g==null?g:""+g)}return h}const z1=Symbol(""),dd=Symbol(""),ef=Symbol(""),tf=Symbol(""),Fh=Symbol("");function Rc(){let i=[];function h(g){return i.push(g),()=>{const x=i.indexOf(g);x>-1&&i.splice(x,1)}}function c(){i=[]}return{add:h,list:()=>i,reset:c}}function Ql(i,h,c,g,x){const S=g&&(g.enterCallbacks[x]=g.enterCallbacks[x]||[]);return()=>new Promise((W,ie)=>{const de=Ve=>{Ve===!1?ie(kc(4,{from:c,to:h})):Ve instanceof Error?ie(Ve):h1(Ve)?ie(kc(2,{from:h,to:Ve})):(S&&g.enterCallbacks[x]===S&&typeof Ve=="function"&&S.push(Ve),W())},ve=i.call(g&&g.instances[x],h,c,de);let De=Promise.resolve(ve);i.length<3&&(De=De.then(de)),De.catch(Ve=>ie(Ve))})}function nh(i,h,c,g){const x=[];for(const S of i)for(const W in S.components){let ie=S.components[W];if(!(h!=="beforeRouteEnter"&&!S.instances[W]))if(U1(ie)){const ve=(ie.__vccOpts||ie)[h];ve&&x.push(Ql(ve,c,g,S,W))}else{let de=ie();x.push(()=>de.then(ve=>{if(!ve)return Promise.reject(new Error(`Couldn't resolve component "${W}" at "${S.path}"`));const De=Gv(ve)?ve.default:ve;S.components[W]=De;const tt=(De.__vccOpts||De)[h];return tt&&Ql(tt,c,g,S,W)()}))}}return x}function U1(i){return typeof i=="object"||"displayName"in i||"props"in i||"__vccOpts"in i}function md(i){const h=Rl(ef),c=Rl(tf),g=Ws(()=>h.resolve(hs(i.to))),x=Ws(()=>{const{matched:de}=g.value,{length:ve}=de,De=de[ve-1],Ve=c.matched;if(!De||!Ve.length)return-1;const tt=Ve.findIndex(Fc.bind(null,De));if(tt>-1)return tt;const Ct=gd(de[ve-2]);return ve>1&&gd(De)===Ct&&Ve[Ve.length-1].path!==Ct?Ve.findIndex(Fc.bind(null,de[ve-2])):tt}),S=Ws(()=>x.value>-1&&V1(c.params,g.value.params)),W=Ws(()=>x.value>-1&&x.value===c.matched.length-1&&Mm(c.params,g.value.params));function ie(de={}){return W1(de)?h[hs(i.replace)?"replace":"push"](hs(i.to)).catch(Wc):Promise.resolve()}return{route:g,href:Ws(()=>g.value.href),isActive:S,isExactActive:W,navigate:ie}}const H1=Yu({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:md,setup(i,{slots:h}){const c=_c(md(i)),{options:g}=Rl(ef),x=Ws(()=>({[yd(i.activeClass,g.linkActiveClass,"router-link-active")]:c.isActive,[yd(i.exactActiveClass,g.linkExactActiveClass,"router-link-exact-active")]:c.isExactActive}));return()=>{const S=h.default&&h.default(c);return i.custom?S:Jh("a",{"aria-current":c.isExactActive?i.ariaCurrentValue:null,href:c.href,onClick:c.navigate,class:x.value},S)}}}),q1=H1;function W1(i){if(!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)&&!i.defaultPrevented&&!(i.button!==void 0&&i.button!==0)){if(i.currentTarget&&i.currentTarget.getAttribute){const h=i.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(h))return}return i.preventDefault&&i.preventDefault(),!0}}function V1(i,h){for(const c in h){const g=h[c],x=i[c];if(typeof g=="string"){if(g!==x)return!1}else if(!Xu(x)||x.length!==g.length||g.some((S,W)=>S!==x[W]))return!1}return!0}function gd(i){return i?i.aliasOf?i.aliasOf.path:i.path:""}const yd=(i,h,c)=>i??h??c,G1=Yu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(i,{attrs:h,slots:c}){const g=Rl(Fh),x=Ws(()=>i.route||g.value),S=Rl(dd,0),W=Ws(()=>{let ve=hs(S);const{matched:De}=x.value;let Ve;for(;(Ve=De[ve])&&!Ve.components;)ve++;return ve}),ie=Ws(()=>x.value.matched[W.value]);dp(dd,Ws(()=>W.value+1)),dp(z1,ie),dp(Fh,x);const de=Ta();return Ua(()=>[de.value,ie.value,i.name],([ve,De,Ve],[tt,Ct,Rt])=>{De&&(De.instances[Ve]=ve,Ct&&Ct!==De&&ve&&ve===tt&&(De.leaveGuards.size||(De.leaveGuards=Ct.leaveGuards),De.updateGuards.size||(De.updateGuards=Ct.updateGuards))),ve&&De&&(!Ct||!Fc(De,Ct)||!tt)&&(De.enterCallbacks[Ve]||[]).forEach($t=>$t(ve))},{flush:"post"}),()=>{const ve=x.value,De=i.name,Ve=ie.value,tt=Ve&&Ve.components[De];if(!tt)return Dd(c.default,{Component:tt,route:ve});const Ct=Ve.props[De],Rt=Ct?Ct===!0?ve.params:typeof Ct=="function"?Ct(ve):Ct:null,Sr=Jh(tt,qs({},Rt,h,{onVnodeUnmounted:Ze=>{Ze.component.isUnmounted&&(Ve.instances[De]=null)},ref:de}));return Dd(c.default,{Component:Sr,route:ve})||Sr}}});function Dd(i,h){if(!i)return null;const c=i(h);return c.length===1?c[0]:c}const K1=G1;function J1(i){const h=E1(i.routes,i),c=i.parseQuery||R1,g=i.stringifyQuery||fd,x=i.history,S=Rc(),W=Rc(),ie=Rc(),de=zc(Xl);let ve=Xl;vc&&i.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const De=th.bind(null,Mr=>""+Mr),Ve=th.bind(null,j1),tt=th.bind(null,Fp);function Ct(Mr,$r){let yr,cn;return Rm(Mr)?(yr=h.getRecordMatcher(Mr),cn=$r):cn=Mr,h.addRoute(cn,yr)}function Rt(Mr){const $r=h.getRecordMatcher(Mr);$r&&h.removeRoute($r)}function $t(){return h.getRoutes().map(Mr=>Mr.record)}function Sr(Mr){return!!h.getRecordMatcher(Mr)}function Ze(Mr,$r){if($r=qs({},$r||de.value),typeof Mr=="string"){const Xe=rh(c,Mr,$r.path),At=h.resolve({path:Xe.path},$r),wr=x.createHref(Xe.fullPath);return qs(Xe,At,{params:tt(At.params),hash:Fp(Xe.hash),redirectedFrom:void 0,href:wr})}let yr;if("path"in Mr)yr=qs({},Mr,{path:rh(c,Mr.path,$r.path).path});else{const Xe=qs({},Mr.params);for(const At in Xe)Xe[At]==null&&delete Xe[At];yr=qs({},Mr,{params:Ve(Mr.params)}),$r.params=Ve($r.params)}const cn=h.resolve(yr,$r),$n=Mr.hash||"";cn.params=De(tt(cn.params));const ci=Xv(g,qs({},Mr,{hash:O1($n),path:cn.path})),Mn=x.createHref(ci);return qs({fullPath:ci,hash:$n,query:g===fd?$1(Mr.query):Mr.query||{}},cn,{redirectedFrom:void 0,href:Mn})}function ct(Mr){return typeof Mr=="string"?rh(c,Mr,de.value.path):qs({},Mr)}function Et(Mr,$r){if(ve!==Mr)return kc(8,{from:$r,to:Mr})}function er(Mr){return kr(Mr)}function gr(Mr){return er(qs(ct(Mr),{replace:!0}))}function Pn(Mr){const $r=Mr.matched[Mr.matched.length-1];if($r&&$r.redirect){const{redirect:yr}=$r;let cn=typeof yr=="function"?yr(Mr):yr;return typeof cn=="string"&&(cn=cn.includes("?")||cn.includes("#")?cn=ct(cn):{path:cn},cn.params={}),qs({query:Mr.query,hash:Mr.hash,params:"path"in cn?{}:Mr.params},cn)}}function kr(Mr,$r){const yr=ve=Ze(Mr),cn=de.value,$n=Mr.state,ci=Mr.force,Mn=Mr.replace===!0,Xe=Pn(yr);if(Xe)return kr(qs(ct(Xe),{state:typeof Xe=="object"?qs({},$n,Xe.state):$n,force:ci,replace:Mn}),$r||yr);const At=yr;At.redirectedFrom=$r;let wr;return!ci&&Yv(g,cn,yr)&&(wr=kc(16,{to:At,from:cn}),Vi(cn,cn,!0,!1)),(wr?Promise.resolve(wr):Dn(At,cn)).catch(Hr=>Ll(Hr)?Ll(Hr,2)?Hr:ti(Hr):ur(Hr,At,cn)).then(Hr=>{if(Hr){if(Ll(Hr,2))return kr(qs({replace:Mn},ct(Hr.to),{state:typeof Hr.to=="object"?qs({},$n,Hr.to.state):$n,force:ci}),$r||At)}else Hr=gn(At,cn,!0,Mn,$n);return mn(At,cn,Hr),Hr})}function ln(Mr,$r){const yr=Et(Mr,$r);return yr?Promise.reject(yr):Promise.resolve()}function Dn(Mr,$r){let yr;const[cn,$n,ci]=X1(Mr,$r);yr=nh(cn.reverse(),"beforeRouteLeave",Mr,$r);for(const Xe of cn)Xe.leaveGuards.forEach(At=>{yr.push(Ql(At,Mr,$r))});const Mn=ln.bind(null,Mr,$r);return yr.push(Mn),Dc(yr).then(()=>{yr=[];for(const Xe of S.list())yr.push(Ql(Xe,Mr,$r));return yr.push(Mn),Dc(yr)}).then(()=>{yr=nh($n,"beforeRouteUpdate",Mr,$r);for(const Xe of $n)Xe.updateGuards.forEach(At=>{yr.push(Ql(At,Mr,$r))});return yr.push(Mn),Dc(yr)}).then(()=>{yr=[];for(const Xe of Mr.matched)if(Xe.beforeEnter&&!$r.matched.includes(Xe))if(Xu(Xe.beforeEnter))for(const At of Xe.beforeEnter)yr.push(Ql(At,Mr,$r));else yr.push(Ql(Xe.beforeEnter,Mr,$r));return yr.push(Mn),Dc(yr)}).then(()=>(Mr.matched.forEach(Xe=>Xe.enterCallbacks={}),yr=nh(ci,"beforeRouteEnter",Mr,$r),yr.push(Mn),Dc(yr))).then(()=>{yr=[];for(const Xe of W.list())yr.push(Ql(Xe,Mr,$r));return yr.push(Mn),Dc(yr)}).catch(Xe=>Ll(Xe,8)?Xe:Promise.reject(Xe))}function mn(Mr,$r,yr){for(const cn of ie.list())cn(Mr,$r,yr)}function gn(Mr,$r,yr,cn,$n){const ci=Et(Mr,$r);if(ci)return ci;const Mn=$r===Xl,Xe=vc?history.state:{};yr&&(cn||Mn?x.replace(Mr.fullPath,qs({scroll:Mn&&Xe&&Xe.scroll},$n)):x.push(Mr.fullPath,$n)),de.value=Mr,Vi(Mr,$r,yr,Mn),ti()}let Xn;function hr(){Xn||(Xn=x.listen((Mr,$r,yr)=>{if(!ts.listening)return;const cn=Ze(Mr),$n=Pn(cn);if($n){kr(qs($n,{replace:!0}),cn).catch(Wc);return}ve=cn;const ci=de.value;vc&&s1(sd(ci.fullPath,yr.delta),Vp()),Dn(cn,ci).catch(Mn=>Ll(Mn,12)?Mn:Ll(Mn,2)?(kr(Mn.to,cn).then(Xe=>{Ll(Xe,20)&&!yr.delta&&yr.type===ep.pop&&x.go(-1,!1)}).catch(Wc),Promise.reject()):(yr.delta&&x.go(-yr.delta,!1),ur(Mn,cn,ci))).then(Mn=>{Mn=Mn||gn(cn,ci,!1),Mn&&(yr.delta&&!Ll(Mn,8)?x.go(-yr.delta,!1):yr.type===ep.pop&&Ll(Mn,20)&&x.go(-1,!1)),mn(cn,ci,Mn)}).catch(Wc)}))}let Tn=Rc(),Ee=Rc(),tn;function ur(Mr,$r,yr){ti(Mr);const cn=Ee.list();return cn.length?cn.forEach($n=>$n(Mr,$r,yr)):console.error(Mr),Promise.reject(Mr)}function kn(){return tn&&de.value!==Xl?Promise.resolve():new Promise((Mr,$r)=>{Tn.add([Mr,$r])})}function ti(Mr){return tn||(tn=!Mr,hr(),Tn.list().forEach(([$r,yr])=>Mr?yr(Mr):$r()),Tn.reset()),Mr}function Vi(Mr,$r,yr,cn){const{scrollBehavior:$n}=i;if(!vc||!$n)return Promise.resolve();const ci=!yr&&a1(sd(Mr.fullPath,0))||(cn||!yr)&&history.state&&history.state.scroll||null;return Lp().then(()=>$n(Mr,$r,ci)).then(Mn=>Mn&&i1(Mn)).catch(Mn=>ur(Mn,Mr,$r))}const as=Mr=>x.go(Mr);let fs;const es=new Set,ts={currentRoute:de,listening:!0,addRoute:Ct,removeRoute:Rt,hasRoute:Sr,getRoutes:$t,resolve:Ze,options:i,push:er,replace:gr,go:as,back:()=>as(-1),forward:()=>as(1),beforeEach:S.add,beforeResolve:W.add,afterEach:ie.add,onError:Ee.add,isReady:kn,install(Mr){const $r=this;Mr.component("RouterLink",q1),Mr.component("RouterView",K1),Mr.config.globalProperties.$router=$r,Object.defineProperty(Mr.config.globalProperties,"$route",{enumerable:!0,get:()=>hs(de)}),vc&&!fs&&de.value===Xl&&(fs=!0,er(x.location).catch($n=>{}));const yr={};for(const $n in Xl)yr[$n]=Ws(()=>de.value[$n]);Mr.provide(ef,$r),Mr.provide(tf,_c(yr)),Mr.provide(Fh,de);const cn=Mr.unmount;es.add(Mr),Mr.unmount=function(){es.delete(Mr),es.size<1&&(ve=Xl,Xn&&Xn(),Xn=null,de.value=Xl,fs=!1,tn=!1),cn()}}};return ts}function Dc(i){return i.reduce((h,c)=>h.then(()=>c()),Promise.resolve())}function X1(i,h){const c=[],g=[],x=[],S=Math.max(h.matched.length,i.matched.length);for(let W=0;W<S;W++){const ie=h.matched[W];ie&&(i.matched.find(ve=>Fc(ve,ie))?g.push(ie):c.push(ie));const de=i.matched[W];de&&(h.matched.find(ve=>Fc(ve,de))||x.push(de))}return[c,g,x]}function Y1(){return Rl(tf)}const Q1=Yu({__name:"FileIcon",props:{id:null},setup(i){const h=i,c=Ws(()=>h.id.split(/\./g).pop()),g=Ws(()=>{switch(c.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(x,S)=>(ma(),go("div",{class:Ac(hs(g))},null,2))}}),Z1={open:""},ex={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},tx={"ml-1":""},rx=Yu({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(i){const h=Y1();return(c,g)=>{const x=xp("ModuleTreeNode",!0),S=Q1,W=xp("RouterLink");return ma(),go("details",Z1,[qi("summary",ex,[qi("div",{class:Ac(i.icon)},null,2),Vu(" "+jo(i.node.name),1)]),(ma(!0),go(Ro,null,Df(Object.entries(i.node.children),ie=>(ma(),Tc(x,{key:ie[0],ml2:"",node:ie[1]},null,8,["node"]))),128)),(ma(!0),go(Ro,null,Df(i.node.items,ie=>(ma(),go("div",{key:ie.full,ml4:"","ws-nowrap":""},[Gs(W,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(ie.full)}`,class:Ac({"bg-gray/10":ie.full===hs(h).params.id})},{default:jl(()=>[Gs(S,{id:ie.path},null,8,["id"]),qi("span",tx,jo(ie.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),nx="/__unocss/icon.svg",ix={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},sx=qi("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[qi("img",{src:nx,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),qi("div",{"of-hidden":""},[Vu(" Inspector "),qi("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),ax=Yu({__name:"NarBar",setup(i){const h=fD(),c=Iy(h);return(g,x)=>(ma(),go("nav",ix,[sx,qi("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:x[0]||(x[0]=S=>hs(c)())})]))}}),ox={"h-full":""},ux={b:"r main","of-hidden":""},lx={pt:"4",flex:"~ col gap-3"},cx=qi("div",{"i-carbon-dashboard":""},null,-1),px=qi("span",null," Overview ",-1),hx=qi("div",{"i-carbon-terminal":""},null,-1),fx=qi("span",null," REPL ",-1),dx=qi("div",{b:"b main"},null,-1),mx={b:"r main",class:"scrolls scrolls-sidebar"},gx=Yu({__name:"Sidebar",setup(i){return(h,c)=>{const g=ax,x=xp("RouterLink"),S=rx;return ma(),go("div",ox,[qi("div",ux,[Gs(g),qi("div",lx,[Gs(x,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:jl(()=>[cx,px]),_:1}),Gs(x,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:jl(()=>[hx,fx]),_:1}),dx])]),qi("div",mx,[Object.keys(hs(pp).workspace.children).length?(ma(),Tc(S,{key:0,node:hs(pp).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):wp("",!0),Object.keys(hs(pp).root.children).length?(ma(),Tc(S,{key:1,node:hs(pp).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):wp("",!0)])])}}}),yx={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((i,h)=>(i[h.id]=h)&&i,{})}},methods:{updatePaneComponents(){this.panes.forEach(i=>{i.update&&i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.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(i,h){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=h},onMouseMove(i){this.touch.mouseDown&&(i.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(i)),this.$emit("resize",this.panes.map(h=>({min:h.min,max:h.max,size:h.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(i,h){"ontouchstart"in window&&(i.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===h?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(i,h),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=h,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[h])},onSplitterDblClick(i,h){let c=0;this.panes=this.panes.map((g,x)=>(g.size=x===h?g.max:g.min,x!==h&&(c+=g.min),g)),this.panes[h].size-=c,this.$emit("pane-maximize",this.panes[h]),this.$emit("resized",this.panes.map(g=>({min:g.min,max:g.max,size:g.size})))},onPaneClick(i,h){this.$emit("pane-click",this.indexedPanes[h])},getCurrentMouseDrag(i){const h=this.container.getBoundingClientRect(),{clientX:c,clientY:g}="ontouchstart"in window&&i.touches?i.touches[0]:i;return{x:c-h.left,y:g-h.top}},getCurrentDragPercentage(i){i=i[this.horizontal?"y":"x"];const h=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(i=h-i),i*100/h},calculatePanesSize(i){const h=this.touch.activeSplitter;let c={prevPanesSize:this.sumPrevPanesSize(h),nextPanesSize:this.sumNextPanesSize(h),prevReachedMinPanes:0,nextReachedMinPanes:0};const g=0+(this.pushOtherPanes?0:c.prevPanesSize),x=100-(this.pushOtherPanes?0:c.nextPanesSize),S=Math.max(Math.min(this.getCurrentDragPercentage(i),x),g);let W=[h,h+1],ie=this.panes[W[0]]||null,de=this.panes[W[1]]||null;const ve=ie.max<100&&S>=ie.max+c.prevPanesSize,De=de.max<100&&S<=100-(de.max+this.sumNextPanesSize(h+1));if(ve||De){ve?(ie.size=ie.max,de.size=Math.max(100-ie.max-c.prevPanesSize-c.nextPanesSize,0)):(ie.size=Math.max(100-de.max-c.prevPanesSize-this.sumNextPanesSize(h+1),0),de.size=de.max);return}if(this.pushOtherPanes){const Ve=this.doPushOtherPanes(c,S);if(!Ve)return;({sums:c,panesToResize:W}=Ve),ie=this.panes[W[0]]||null,de=this.panes[W[1]]||null}ie!==null&&(ie.size=Math.min(Math.max(S-c.prevPanesSize-c.prevReachedMinPanes,ie.min),ie.max)),de!==null&&(de.size=Math.min(Math.max(100-S-c.nextPanesSize-c.nextReachedMinPanes,de.min),de.max))},doPushOtherPanes(i,h){const c=this.touch.activeSplitter,g=[c,c+1];return h<i.prevPanesSize+this.panes[g[0]].min&&(g[0]=this.findPrevExpandedPane(c).index,i.prevReachedMinPanes=0,g[0]<c&&this.panes.forEach((x,S)=>{S>g[0]&&S<=c&&(x.size=x.min,i.prevReachedMinPanes+=x.min)}),i.prevPanesSize=this.sumPrevPanesSize(g[0]),g[0]===void 0)?(i.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((x,S)=>{S>0&&S<=c&&(x.size=x.min,i.prevReachedMinPanes+=x.min)}),this.panes[g[1]].size=100-i.prevReachedMinPanes-this.panes[0].min-i.prevPanesSize-i.nextPanesSize,null):h>100-i.nextPanesSize-this.panes[g[1]].min&&(g[1]=this.findNextExpandedPane(c).index,i.nextReachedMinPanes=0,g[1]>c+1&&this.panes.forEach((x,S)=>{S>c&&S<g[1]&&(x.size=x.min,i.nextReachedMinPanes+=x.min)}),i.nextPanesSize=this.sumNextPanesSize(g[1]-1),g[1]===void 0)?(i.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((x,S)=>{S<this.panesCount-1&&S>=c+1&&(x.size=x.min,i.nextReachedMinPanes+=x.min)}),this.panes[g[0]].size=100-i.prevPanesSize-i.nextReachedMinPanes-this.panes[this.panesCount-1].min-i.nextPanesSize,null):{sums:i,panesToResize:g}},sumPrevPanesSize(i){return this.panes.reduce((h,c,g)=>h+(g<i?c.size:0),0)},sumNextPanesSize(i){return this.panes.reduce((h,c,g)=>h+(g>i+1?c.size:0),0)},findPrevExpandedPane(i){return[...this.panes].reverse().find(h=>h.index<i&&h.size>h.min)||{}},findNextExpandedPane(i){return this.panes.find(h=>h.index>i+1&&h.size>h.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(i=>{const h=i.classList.contains("splitpanes__pane"),c=i.classList.contains("splitpanes__splitter");!h&&!c&&(i.parentNode.removeChild(i),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(i,h,c=!1){const g=i-1,x=document.createElement("div");x.classList.add("splitpanes__splitter"),c||(x.onmousedown=S=>this.onMouseDown(S,g),typeof window<"u"&&"ontouchstart"in window&&(x.ontouchstart=S=>this.onMouseDown(S,g)),x.onclick=S=>this.onSplitterClick(S,g+1)),this.dblClickSplitter&&(x.ondblclick=S=>this.onSplitterDblClick(S,g+1)),h.parentNode.insertBefore(x,h)},removeSplitter(i){i.onmousedown=void 0,i.onclick=void 0,i.ondblclick=void 0,i.parentNode.removeChild(i)},redoSplitters(){const i=Array.from(this.container.children);i.forEach(c=>{c.className.includes("splitpanes__splitter")&&this.removeSplitter(c)});let h=0;i.forEach(c=>{c.className.includes("splitpanes__pane")&&(!h&&this.firstSplitter?this.addSplitter(h,c,!0):h&&this.addSplitter(h,c),h++)})},requestUpdate({target:i,...h}){const c=this.indexedPanes[i._.uid];Object.entries(h).forEach(([g,x])=>c[g]=x)},onPaneAdd(i){let h=-1;Array.from(i.$el.parentNode.children).some(x=>(x.className.includes("splitpanes__pane")&&h++,x===i.$el));const c=parseFloat(i.minSize),g=parseFloat(i.maxSize);this.panes.splice(h,0,{id:i._.uid,index:h,min:isNaN(c)?0:c,max:isNaN(g)?100:g,size:i.size===null?null:parseFloat(i.size),givenSize:i.size,update:i.update}),this.panes.forEach((x,S)=>x.index=S),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[h]}),this.$emit("pane-add",{index:h,panes:this.panes.map(x=>({min:x.min,max:x.max,size:x.size}))})})},onPaneRemove(i){const h=this.panes.findIndex(g=>g.id===i._.uid),c=this.panes.splice(h,1)[0];this.panes.forEach((g,x)=>g.index=x),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...c,index:h}}),this.$emit("pane-remove",{removed:c,panes:this.panes.map(g=>({min:g.min,max:g.max,size:g.size}))})})},resetPaneSizes(i={}){!i.addedPane&&!i.removedPane?this.initialPanesSizing():this.panes.some(h=>h.givenSize!==null||h.min||h.max<100)?this.equalizeAfterAddOrRemove(i):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(h=>({min:h.min,max:h.max,size:h.size})))},equalize(){const i=100/this.panesCount;let h=0;const c=[],g=[];this.panes.forEach(x=>{x.size=Math.max(Math.min(i,x.max),x.min),h-=x.size,x.size>=x.max&&c.push(x.id),x.size<=x.min&&g.push(x.id)}),h>.1&&this.readjustSizes(h,c,g)},initialPanesSizing(){let i=100;const h=[],c=[];let g=0;this.panes.forEach(S=>{i-=S.size,S.size!==null&&g++,S.size>=S.max&&h.push(S.id),S.size<=S.min&&c.push(S.id)});let x=100;i>.1&&(this.panes.forEach(S=>{S.size===null&&(S.size=Math.max(Math.min(i/(this.panesCount-g),S.max),S.min)),x-=S.size}),x>.1&&this.readjustSizes(i,h,c))},equalizeAfterAddOrRemove({addedPane:i,removedPane:h}={}){let c=100/this.panesCount,g=0;const x=[],S=[];i&&i.givenSize!==null&&(c=(100-i.givenSize)/(this.panesCount-1)),this.panes.forEach(W=>{g-=W.size,W.size>=W.max&&x.push(W.id),W.size<=W.min&&S.push(W.id)}),!(Math.abs(g)<.1)&&(this.panes.forEach(W=>{i&&i.givenSize!==null&&i.id===W.id||(W.size=Math.max(Math.min(c,W.max),W.min)),g-=W.size,W.size>=W.max&&x.push(W.id),W.size<=W.min&&S.push(W.id)}),g>.1&&this.readjustSizes(g,x,S))},readjustSizes(i,h,c){let g;i>0?g=i/(this.panesCount-h.length):g=i/(this.panesCount-c.length),this.panes.forEach((x,S)=>{if(i>0&&!h.includes(x.id)){const W=Math.max(Math.min(x.size+g,x.max),x.min),ie=W-x.size;i-=ie,x.size=W}else if(!c.includes(x.id)){const W=Math.max(Math.min(x.size+g,x.max),x.min),ie=W-x.size;i-=ie,x.size=W}x.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[x.id].size}%`})}),Math.abs(i)>.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(i){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((h,c)=>{h.ondblclick=i?g=>this.onSplitterDblClick(g,c):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 Jh("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Dx=(i,h)=>{const c=i.__vccOpts||i;for(const[g,x]of h)c[g]=x;return c},vx={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(i){this.style=i}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(i){this.requestUpdate({target:this,size:i})},minSizeNumber(i){this.requestUpdate({target:this,min:i})},maxSizeNumber(i){this.requestUpdate({target:this,max:i})}}};function xx(i,h,c,g,x,S){return ma(),go("div",{class:"splitpanes__pane",onClick:h[0]||(h[0]=W=>S.onPaneClick(W,i._.uid)),style:tp(i.style)},[Cp(i.$slots,"default")],4)}const vd=Dx(vx,[["render",xx]]),Cx={"h-screen":"","w-screen":"","of-hidden":""},Ex={"h-full":"","of-hidden":""},bx=Yu({__name:"App",setup(i){return(h,c)=>{const g=gx,x=xp("RouterView");return ma(),go("div",Cx,[Gs(hs(yx),null,{default:jl(()=>[Gs(hs(vd),{size:"20","push-other-panes":!1},{default:jl(()=>[Gs(g)]),_:1}),Gs(hs(vd),{size:"80"},{default:jl(()=>[qi("div",Ex,[Gs(x)])]),_:1})]),_:1})])}}}),Gm=Ey(bx);Gm.use(J1({history:p1(),routes:Vv}));Gm.mount("#app");export{Ax as A,yv as B,Ws as C,wp as D,jo as E,vd as F,av as G,Y1 as H,yx as M,XD as _,wx as a,Fm as b,go as c,Yu as d,Gs as e,Fx as f,qi as g,v0 as h,hs as i,wa as j,Vu as k,ev as l,VD as m,tp as n,ma as o,Bm as p,Tc as q,Ta as r,BD as s,_D as t,ov as u,Dy as v,jl as w,Tx as x,Sx as y,qg as z};