@unocss/inspector 0.47.4 → 0.47.6

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.
@@ -0,0 +1,280 @@
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 q of S.addedNodes)q.tagName==="LINK"&&q.rel==="modulepreload"&&g(q)}).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 Vm="modulepreload",Gm=function(i){return"/__unocss/"+i},Jh={},Ch=function(h,c,g){if(!c||c.length===0)return h();const x=document.getElementsByTagName("link");return Promise.all(c.map(S=>{if(S=Gm(S),S in Jh)return;Jh[S]=!0;const q=S.endsWith(".css"),se=q?'[rel="stylesheet"]':"";if(!!g)for(let Te=x.length-1;Te>=0;Te--){const Xe=x[Te];if(Xe.href===S&&(!q||Xe.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${S}"]${se}`))return;const xe=document.createElement("link");if(xe.rel=q?"stylesheet":Vm,q||(xe.as="script",xe.crossOrigin=""),xe.href=S,document.head.appendChild(xe),q)return new Promise((Te,Xe)=>{xe.addEventListener("load",Te),xe.addEventListener("error",()=>Xe(new Error(`Unable to preload CSS for ${S}`)))})})).then(()=>h())};function Eh(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 Km="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Jm=Eh(Km);function fd(i){return!!i||i===""}function tp(i){if(Yi(i)){const h={};for(let c=0;c<i.length;c++){const g=i[c],x=io(g)?Qm(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 Xm=/;(?![^(]*\))/g,Ym=/:(.+)/;function Qm(i){const h={};return i.split(Xm).forEach(c=>{if(c){const g=c.split(Ym);g.length>1&&(h[g[0].trim()]=g[1].trim())}}),h}function Ac(i){let h="";if(io(i))h=i;else if(Yi(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 Zm(i,h){if(i.length!==h.length)return!1;let c=!0;for(let g=0;c&&g<i.length;g++)c=Tp(i[g],h[g]);return c}function Tp(i,h){if(i===h)return!0;let c=Xh(i),g=Xh(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=Yi(i),g=Yi(h),c||g)return c&&g?Zm(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 q in i){const se=i.hasOwnProperty(q),he=h.hasOwnProperty(q);if(se&&!he||!se&&he||!Tp(i[q],h[q]))return!1}}return String(i)===String(h)}function dd(i,h){return i.findIndex(c=>Tp(c,h))}const jo=i=>io(i)?i:i==null?"":Yi(i)||ea(i)&&(i.toString===yd||!ys(i.toString))?JSON.stringify(i,md,2):String(i),md=(i,h)=>h&&h.__v_isRef?md(i,h.value):Cc(h)?{[`Map(${h.size})`]:[...h.entries()].reduce((c,[g,x])=>(c[`${g} =>`]=x,c),{})}:Fp(h)?{[`Set(${h.size})`]:[...h.values()]}:ea(h)&&!Yi(h)&&!Dd(h)?String(h):h,Ks={},xc=[],Ju=()=>{},eg=()=>!1,tg=/^on[^a-z]/,Sp=i=>tg.test(i),bh=i=>i.startsWith("onUpdate:"),To=Object.assign,Ah=(i,h)=>{const c=i.indexOf(h);c>-1&&i.splice(c,1)},rg=Object.prototype.hasOwnProperty,_s=(i,h)=>rg.call(i,h),Yi=Array.isArray,Cc=i=>rp(i)==="[object Map]",Fp=i=>rp(i)==="[object Set]",Xh=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",gd=i=>ea(i)&&ys(i.then)&&ys(i.catch),yd=Object.prototype.toString,rp=i=>yd.call(i),ng=i=>rp(i).slice(8,-1),Dd=i=>rp(i)==="[object Object]",wh=i=>io(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,cp=Eh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kp=i=>{const h=Object.create(null);return c=>h[c]||(h[c]=i(c))},ig=/-(\w)/g,Dl=kp(i=>i.replace(ig,(h,c)=>c?c.toUpperCase():"")),sg=/\B([A-Z])/g,Pc=kp(i=>i.replace(sg,"-$1").toLowerCase()),Pp=kp(i=>i.charAt(0).toUpperCase()+i.slice(1)),Vp=kp(i=>i?`on${Pp(i)}`:""),Kc=(i,h)=>!Object.is(i,h),pp=(i,h)=>{for(let c=0;c<i.length;c++)i[c](h)},mp=(i,h,c)=>{Object.defineProperty(i,h,{configurable:!0,enumerable:!1,value:c})},ag=i=>{const h=parseFloat(i);return isNaN(h)?i:h};let Yh;const og=()=>Yh||(Yh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let au;class ug{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 lg(i,h=au){h&&h.active&&h.effects.push(i)}function cg(){return au}function pg(i){au&&au.cleanups.push(i)}const Th=i=>{const h=new Set(i);return h.w=0,h.n=0,h},vd=i=>(i.w&tc)>0,xd=i=>(i.n&tc)>0,hg=({deps:i})=>{if(i.length)for(let h=0;h<i.length;h++)i[h].w|=tc},fg=i=>{const{deps:h}=i;if(h.length){let c=0;for(let g=0;g<h.length;g++){const x=h[g];vd(x)&&!xd(x)?x.delete(i):h[c++]=x,x.w&=~tc,x.n&=~tc}h.length=c}},th=new WeakMap;let $c=0,tc=1;const rh=30;let Gu;const mc=Symbol(""),nh=Symbol("");class Sh{constructor(h,c=null,g){this.fn=h,this.scheduler=c,this.active=!0,this.deps=[],this.parent=void 0,lg(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<=rh?hg(this):Qh(this),this.fn()}finally{$c<=rh&&fg(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&&(Qh(this),this.onStop&&this.onStop(),this.active=!1)}}function Qh(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 Cd=[];function Nc(){Cd.push(Zl),Zl=!1}function Bc(){const i=Cd.pop();Zl=i===void 0?!0:i}function ou(i,h,c){if(Zl&&Gu){let g=th.get(i);g||th.set(i,g=new Map);let x=g.get(c);x||g.set(c,x=Th()),Ed(x)}}function Ed(i,h){let c=!1;$c<=rh?xd(i)||(i.n|=tc,c=!vd(i)):c=!i.has(Gu),c&&(i.add(Gu),Gu.deps.push(i))}function Ml(i,h,c,g,x,S){const q=th.get(i);if(!q)return;let se=[];if(h==="clear")se=[...q.values()];else if(c==="length"&&Yi(i))q.forEach((he,xe)=>{(xe==="length"||xe>=g)&&se.push(he)});else switch(c!==void 0&&se.push(q.get(c)),h){case"add":Yi(i)?wh(c)&&se.push(q.get("length")):(se.push(q.get(mc)),Cc(i)&&se.push(q.get(nh)));break;case"delete":Yi(i)||(se.push(q.get(mc)),Cc(i)&&se.push(q.get(nh)));break;case"set":Cc(i)&&se.push(q.get(mc));break}if(se.length===1)se[0]&&ih(se[0]);else{const he=[];for(const xe of se)xe&&he.push(...xe);ih(Th(he))}}function ih(i,h){const c=Yi(i)?i:[...i];for(const g of c)g.computed&&Zh(g);for(const g of c)g.computed||Zh(g)}function Zh(i,h){(i!==Gu||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}const dg=Eh("__proto__,__v_isRef,__isVue"),bd=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(Gc)),mg=Fh(),gg=Fh(!1,!0),yg=Fh(!0),ef=Dg();function Dg(){const i={};return["includes","indexOf","lastIndexOf"].forEach(h=>{i[h]=function(...c){const g=Ls(this);for(let S=0,q=this.length;S<q;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 Fh(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?Ig:Fd:h?Sd:Td).get(g))return g;const q=Yi(g);if(!i&&q&&_s(ef,x))return Reflect.get(ef,x,S);const se=Reflect.get(g,x,S);return(Gc(x)?bd.has(x):dg(x))||(i||ou(g,"get",x),h)?se:wa(se)?q&&wh(x)?se:se.value:ea(se)?i?kd(se):_c(se):se}}const vg=Ad(),xg=Ad(!0);function Ad(i=!1){return function(c,g,x,S){let q=c[g];if(wc(q)&&wa(q)&&!wa(x))return!1;if(!i&&(!gp(x)&&!wc(x)&&(q=Ls(q),x=Ls(x)),!Yi(c)&&wa(q)&&!wa(x)))return q.value=x,!0;const se=Yi(c)&&wh(g)?Number(g)<c.length:_s(c,g),he=Reflect.set(c,g,x,S);return c===Ls(S)&&(se?Kc(x,q)&&Ml(c,"set",g,x):Ml(c,"add",g,x)),he}}function Cg(i,h){const c=_s(i,h);i[h];const g=Reflect.deleteProperty(i,h);return g&&c&&Ml(i,"delete",h,void 0),g}function Eg(i,h){const c=Reflect.has(i,h);return(!Gc(h)||!bd.has(h))&&ou(i,"has",h),c}function bg(i){return ou(i,"iterate",Yi(i)?"length":mc),Reflect.ownKeys(i)}const wd={get:mg,set:vg,deleteProperty:Cg,has:Eg,ownKeys:bg},Ag={get:yg,set(i,h){return!0},deleteProperty(i,h){return!0}},wg=To({},wd,{get:gg,set:xg}),kh=i=>i,Np=i=>Reflect.getPrototypeOf(i);function np(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:q}=Np(x),se=g?kh:c?Bh:Jc;if(q.call(x,h))return se(i.get(h));if(q.call(x,S))return se(i.get(S));i!==x&&i.get(h)}function ip(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 sp(i,h=!1){return i=i.__v_raw,!h&&ou(Ls(i),"iterate",mc),Reflect.get(i,"size",i)}function tf(i){i=Ls(i);const h=Ls(this);return Np(h).has.call(h,i)||(h.add(i),Ml(h,"add",i,i)),this}function rf(i,h){h=Ls(h);const c=Ls(this),{has:g,get:x}=Np(c);let S=g.call(c,i);S||(i=Ls(i),S=g.call(c,i));const q=x.call(c,i);return c.set(i,h),S?Kc(h,q)&&Ml(c,"set",i,h):Ml(c,"add",i,h),this}function nf(i){const h=Ls(this),{has:c,get:g}=Np(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&&Ml(h,"delete",i,void 0),S}function sf(){const i=Ls(this),h=i.size!==0,c=i.clear();return h&&Ml(i,"clear",void 0,void 0),c}function ap(i,h){return function(g,x){const S=this,q=S.__v_raw,se=Ls(q),he=h?kh:i?Bh:Jc;return!i&&ou(se,"iterate",mc),q.forEach((xe,Te)=>g.call(x,he(xe),he(Te),S))}}function op(i,h,c){return function(...g){const x=this.__v_raw,S=Ls(x),q=Cc(S),se=i==="entries"||i===Symbol.iterator&&q,he=i==="keys"&&q,xe=x[i](...g),Te=c?kh:h?Bh:Jc;return!h&&ou(S,"iterate",he?nh:mc),{next(){const{value:Xe,done:tt}=xe.next();return tt?{value:Xe,done:tt}:{value:se?[Te(Xe[0]),Te(Xe[1])]:Te(Xe),done:tt}},[Symbol.iterator](){return this}}}}function Jl(i){return function(...h){return i==="delete"?!1:this}}function Tg(){const i={get(S){return np(this,S)},get size(){return sp(this)},has:ip,add:tf,set:rf,delete:nf,clear:sf,forEach:ap(!1,!1)},h={get(S){return np(this,S,!1,!0)},get size(){return sp(this)},has:ip,add:tf,set:rf,delete:nf,clear:sf,forEach:ap(!1,!0)},c={get(S){return np(this,S,!0)},get size(){return sp(this,!0)},has(S){return ip.call(this,S,!0)},add:Jl("add"),set:Jl("set"),delete:Jl("delete"),clear:Jl("clear"),forEach:ap(!0,!1)},g={get(S){return np(this,S,!0,!0)},get size(){return sp(this,!0)},has(S){return ip.call(this,S,!0)},add:Jl("add"),set:Jl("set"),delete:Jl("delete"),clear:Jl("clear"),forEach:ap(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(S=>{i[S]=op(S,!1,!1),c[S]=op(S,!0,!1),h[S]=op(S,!1,!0),g[S]=op(S,!0,!0)}),[i,c,h,g]}const[Sg,Fg,kg,Pg]=Tg();function Ph(i,h){const c=h?i?Pg:kg:i?Fg:Sg;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 Ng={get:Ph(!1,!1)},Bg={get:Ph(!1,!0)},_g={get:Ph(!0,!1)},Td=new WeakMap,Sd=new WeakMap,Fd=new WeakMap,Ig=new WeakMap;function Og(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lg(i){return i.__v_skip||!Object.isExtensible(i)?0:Og(ng(i))}function _c(i){return wc(i)?i:Nh(i,!1,wd,Ng,Td)}function Mg(i){return Nh(i,!1,wg,Bg,Sd)}function kd(i){return Nh(i,!0,Ag,_g,Fd)}function Nh(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 q=Lg(i);if(q===0)return i;const se=new Proxy(i,q===2?g:c);return x.set(i,se),se}function Ec(i){return wc(i)?Ec(i.__v_raw):!!(i&&i.__v_isReactive)}function wc(i){return!!(i&&i.__v_isReadonly)}function gp(i){return!!(i&&i.__v_isShallow)}function Pd(i){return Ec(i)||wc(i)}function Ls(i){const h=i&&i.__v_raw;return h?Ls(h):i}function Nd(i){return mp(i,"__v_skip",!0),i}const Jc=i=>ea(i)?_c(i):i,Bh=i=>ea(i)?kd(i):i;function Bd(i){Zl&&Gu&&(i=Ls(i),Ed(i.dep||(i.dep=Th())))}function _d(i,h){i=Ls(i),i.dep&&ih(i.dep)}function wa(i){return!!(i&&i.__v_isRef===!0)}function Ta(i){return Id(i,!1)}function zc(i){return Id(i,!0)}function Id(i,h){return wa(i)?i:new jg(i,h)}class jg{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 Bd(this),this._value}set value(h){const c=this.__v_isShallow||gp(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 Rg={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 Od(i){return Ec(i)?i:new Proxy(i,Rg)}function $g(i){const h=Yi(i)?new Array(i.length):{};for(const c in i)h[c]=Ug(i,c);return h}class zg{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 Ug(i,h,c){const g=i[h];return wa(g)?g:new zg(i,h,c)}var Ld;class Hg{constructor(h,c,g,x){this._setter=c,this.dep=void 0,this.__v_isRef=!0,this[Ld]=!1,this._dirty=!0,this.effect=new Sh(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 Bd(h),(h._dirty||!h._cacheable)&&(h._dirty=!1,h._value=h.effect.run()),h._value}set value(h){this._setter(h)}}Ld="__v_isReadonly";function qg(i,h,c=!1){let g,x;const S=ys(i);return S?(g=i,x=Ju):(g=i.get,x=i.set),new Hg(g,x,S||!x,c)}function ec(i,h,c,g){let x;try{x=g?i(...g):i()}catch(S){Bp(S,h,c)}return x}function Tu(i,h,c,g){if(ys(i)){const S=ec(i,h,c,g);return S&&gd(S)&&S.catch(q=>{Bp(q,h,c)}),S}const x=[];for(let S=0;S<i.length;S++)x.push(Tu(i[S],h,c,g));return x}function Bp(i,h,c,g=!0){const x=h?h.vnode:null;if(h){let S=h.parent;const q=h.proxy,se=c;for(;S;){const xe=S.ec;if(xe){for(let Te=0;Te<xe.length;Te++)if(xe[Te](i,q,se)===!1)return}S=S.parent}const he=h.appContext.config.errorHandler;if(he){ec(he,null,10,[i,q,se]);return}}Wg(i,c,x,g)}function Wg(i,h,c,g=!0){console.error(i)}let Xc=!1,sh=!1;const Ao=[];let yl=0;const bc=[];let Il=null,pc=0;const Md=Promise.resolve();let _h=null;function Ih(i){const h=_h||Md;return i?h.then(this?i.bind(this):i):h}function Vg(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 Oh(i){(!Ao.length||!Ao.includes(i,Xc&&i.allowRecurse?yl+1:yl))&&(i.id==null?Ao.push(i):Ao.splice(Vg(i.id),0,i),jd())}function jd(){!Xc&&!sh&&(sh=!0,_h=Md.then($d))}function Gg(i){const h=Ao.indexOf(i);h>yl&&Ao.splice(h,1)}function Kg(i){Yi(i)?bc.push(...i):(!Il||!Il.includes(i,i.allowRecurse?pc+1:pc))&&bc.push(i),jd()}function af(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 Rd(i){if(bc.length){const h=[...new Set(bc)];if(bc.length=0,Il){Il.push(...h);return}for(Il=h,Il.sort((c,g)=>Yc(c)-Yc(g)),pc=0;pc<Il.length;pc++)Il[pc]();Il=null,pc=0}}const Yc=i=>i.id==null?1/0:i.id,Jg=(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 $d(i){sh=!1,Xc=!0,Ao.sort(Jg);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,Rd(),Xc=!1,_h=null,(Ao.length||bc.length)&&$d()}}function Xg(i,h,...c){if(i.isUnmounted)return;const g=i.vnode.props||Ks;let x=c;const S=h.startsWith("update:"),q=S&&h.slice(7);if(q&&q in g){const Te=`${q==="modelValue"?"model":q}Modifiers`,{number:Xe,trim:tt}=g[Te]||Ks;tt&&(x=c.map(xt=>xt.trim())),Xe&&(x=c.map(ag))}let se,he=g[se=Vp(h)]||g[se=Vp(Dl(h))];!he&&S&&(he=g[se=Vp(Pc(h))]),he&&Tu(he,i,6,x);const xe=g[se+"Once"];if(xe){if(!i.emitted)i.emitted={};else if(i.emitted[se])return;i.emitted[se]=!0,Tu(xe,i,6,x)}}function zd(i,h,c=!1){const g=h.emitsCache,x=g.get(i);if(x!==void 0)return x;const S=i.emits;let q={},se=!1;if(!ys(i)){const he=xe=>{const Te=zd(xe,h,!0);Te&&(se=!0,To(q,Te))};!c&&h.mixins.length&&h.mixins.forEach(he),i.extends&&he(i.extends),i.mixins&&i.mixins.forEach(he)}return!S&&!se?(ea(i)&&g.set(i,null),null):(Yi(S)?S.forEach(he=>q[he]=null):To(q,S),ea(i)&&g.set(i,q),q)}function _p(i,h){return!i||!Sp(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,Ud=null;function yp(i){const h=wo;return wo=i,Ud=i&&i.type.__scopeId||null,h}function Ol(i,h=wo,c){if(!h||i._n)return i;const g=(...x)=>{g._d&&Df(-1);const S=yp(h),q=i(...x);return yp(S),g._d&&Df(1),q};return g._n=!0,g._c=!0,g._d=!0,g}function Gp(i){const{type:h,vnode:c,proxy:g,withProxy:x,props:S,propsOptions:[q],slots:se,attrs:he,emit:xe,render:Te,renderCache:Xe,data:tt,setupState:xt,ctx:Ht,inheritAttrs:$t}=i;let Lr,ht;const kt=yp(i);try{if(c.shapeFlag&4){const mr=x||g;Lr=gl(Te.call(mr,mr,Xe,S,xt,tt,Ht)),ht=he}else{const mr=h;Lr=gl(mr.length>1?mr(S,{attrs:he,slots:se,emit:xe}):mr(S,null)),ht=h.props?he:Yg(he)}}catch(mr){Hc.length=0,Bp(mr,i,1),Lr=Gs(Su)}let Mt=Lr;if(ht&&$t!==!1){const mr=Object.keys(ht),{shapeFlag:Xr}=Mt;mr.length&&Xr&7&&(q&&mr.some(bh)&&(ht=Qg(ht,q)),Mt=rc(Mt,ht))}return c.dirs&&(Mt=rc(Mt),Mt.dirs=Mt.dirs?Mt.dirs.concat(c.dirs):c.dirs),c.transition&&(Mt.transition=c.transition),Lr=Mt,yp(kt),Lr}const Yg=i=>{let h;for(const c in i)(c==="class"||c==="style"||Sp(c))&&((h||(h={}))[c]=i[c]);return h},Qg=(i,h)=>{const c={};for(const g in i)(!bh(g)||!(g.slice(9)in h))&&(c[g]=i[g]);return c};function Zg(i,h,c){const{props:g,children:x,component:S}=i,{props:q,children:se,patchFlag:he}=h,xe=S.emitsOptions;if(h.dirs||h.transition)return!0;if(c&&he>=0){if(he&1024)return!0;if(he&16)return g?of(g,q,xe):!!q;if(he&8){const Te=h.dynamicProps;for(let Xe=0;Xe<Te.length;Xe++){const tt=Te[Xe];if(q[tt]!==g[tt]&&!_p(xe,tt))return!0}}}else return(x||se)&&(!se||!se.$stable)?!0:g===q?!1:g?q?of(g,q,xe):!0:!!q;return!1}function of(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]&&!_p(c,S))return!0}return!1}function e0({vnode:i,parent:h},c){for(;h&&h.subTree===i;)(i=h.vnode).el=c,h=h.parent}const t0=i=>i.__isSuspense;function r0(i,h){h&&h.pendingBranch?Yi(i)?h.effects.push(...i):h.effects.push(i):Kg(i)}function hp(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 Ll(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 Hd(i,h){return Lh(i,null,h)}const uf={};function Ua(i,h,c){return Lh(i,h,c)}function Lh(i,h,{immediate:c,deep:g,flush:x,onTrack:S,onTrigger:q}=Ks){const se=no;let he,xe=!1,Te=!1;if(wa(i)?(he=()=>i.value,xe=gp(i)):Ec(i)?(he=()=>i,g=!0):Yi(i)?(Te=!0,xe=i.some(ht=>Ec(ht)||gp(ht)),he=()=>i.map(ht=>{if(wa(ht))return ht.value;if(Ec(ht))return dc(ht);if(ys(ht))return ec(ht,se,2)})):ys(i)?h?he=()=>ec(i,se,2):he=()=>{if(!(se&&se.isUnmounted))return Xe&&Xe(),Tu(i,se,3,[tt])}:he=Ju,h&&g){const ht=he;he=()=>dc(ht())}let Xe,tt=ht=>{Xe=Lr.onStop=()=>{ec(ht,se,4)}};if(Zc)return tt=Ju,h?c&&Tu(h,se,3,[he(),Te?[]:void 0,tt]):he(),Ju;let xt=Te?[]:uf;const Ht=()=>{if(!!Lr.active)if(h){const ht=Lr.run();(g||xe||(Te?ht.some((kt,Mt)=>Kc(kt,xt[Mt])):Kc(ht,xt)))&&(Xe&&Xe(),Tu(h,se,3,[ht,xt===uf?void 0:xt,tt]),xt=ht)}else Lr.run()};Ht.allowRecurse=!!h;let $t;x==="sync"?$t=Ht:x==="post"?$t=()=>Zo(Ht,se&&se.suspense):(Ht.pre=!0,se&&(Ht.id=se.uid),$t=()=>Oh(Ht));const Lr=new Sh(he,$t);return h?c?Ht():xt=Lr.run():x==="post"?Zo(Lr.run.bind(Lr),se&&se.suspense):Lr.run(),()=>{Lr.stop(),se&&se.scope&&Ah(se.scope.effects,Lr)}}function n0(i,h,c){const g=this.proxy,x=io(i)?i.includes(".")?qd(g,i):()=>g[i]:i.bind(g,g);let S;ys(h)?S=h:(S=h.handler,c=h);const q=no;Sc(this);const se=Lh(x,S.bind(g),c);return q?Sc(q):gc(),se}function qd(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(Yi(i))for(let c=0;c<i.length;c++)dc(i[c],h);else if(Fp(i)||Cc(i))i.forEach(c=>{dc(c,h)});else if(Dd(i))for(const c in i)dc(i[c],h);return i}function i0(){const i={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Lp(()=>{i.isMounted=!0}),Kd(()=>{i.isUnmounting=!0}),i}const wu=[Function,Array],s0={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=zh(),g=i0();let x;return()=>{const S=h.default&&Vd(h.default(),!0);if(!S||!S.length)return;let q=S[0];if(S.length>1){for(const $t of S)if($t.type!==Su){q=$t;break}}const se=Ls(i),{mode:he}=se;if(g.isLeaving)return Kp(q);const xe=lf(q);if(!xe)return Kp(q);const Te=ah(xe,se,g,c);oh(xe,Te);const Xe=c.subTree,tt=Xe&&lf(Xe);let xt=!1;const{getTransitionKey:Ht}=xe.type;if(Ht){const $t=Ht();x===void 0?x=$t:$t!==x&&(x=$t,xt=!0)}if(tt&&tt.type!==Su&&(!hc(xe,tt)||xt)){const $t=ah(tt,se,g,c);if(oh(tt,$t),he==="out-in")return g.isLeaving=!0,$t.afterLeave=()=>{g.isLeaving=!1,c.update()},Kp(q);he==="in-out"&&xe.type!==Su&&($t.delayLeave=(Lr,ht,kt)=>{const Mt=Wd(g,tt);Mt[String(tt.key)]=tt,Lr._leaveCb=()=>{ht(),Lr._leaveCb=void 0,delete Te.delayedLeave},Te.delayedLeave=kt})}return q}}},a0=s0;function Wd(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 ah(i,h,c,g){const{appear:x,mode:S,persisted:q=!1,onBeforeEnter:se,onEnter:he,onAfterEnter:xe,onEnterCancelled:Te,onBeforeLeave:Xe,onLeave:tt,onAfterLeave:xt,onLeaveCancelled:Ht,onBeforeAppear:$t,onAppear:Lr,onAfterAppear:ht,onAppearCancelled:kt}=h,Mt=String(i.key),mr=Wd(c,i),Xr=(Pn,Jn)=>{Pn&&Tu(Pn,g,9,Jn)},zn=(Pn,Jn)=>{const En=Jn[1];Xr(Pn,Jn),Yi(Pn)?Pn.every(Sn=>Sn.length<=1)&&En():Pn.length<=1&&En()},dn={mode:S,persisted:q,beforeEnter(Pn){let Jn=se;if(!c.isMounted)if(x)Jn=$t||se;else return;Pn._leaveCb&&Pn._leaveCb(!0);const En=mr[Mt];En&&hc(i,En)&&En.el._leaveCb&&En.el._leaveCb(),Xr(Jn,[Pn])},enter(Pn){let Jn=he,En=xe,Sn=Te;if(!c.isMounted)if(x)Jn=Lr||he,En=ht||xe,Sn=kt||Te;else return;let oi=!1;const pr=Pn._enterCb=bn=>{oi||(oi=!0,bn?Xr(Sn,[Pn]):Xr(En,[Pn]),dn.delayedLeave&&dn.delayedLeave(),Pn._enterCb=void 0)};Jn?zn(Jn,[Pn,pr]):pr()},leave(Pn,Jn){const En=String(i.key);if(Pn._enterCb&&Pn._enterCb(!0),c.isUnmounting)return Jn();Xr(Xe,[Pn]);let Sn=!1;const oi=Pn._leaveCb=pr=>{Sn||(Sn=!0,Jn(),pr?Xr(Ht,[Pn]):Xr(xt,[Pn]),Pn._leaveCb=void 0,mr[En]===i&&delete mr[En])};mr[En]=i,tt?zn(tt,[Pn,oi]):oi()},clone(Pn){return ah(Pn,h,c,g)}};return dn}function Kp(i){if(Ip(i))return i=rc(i),i.children=null,i}function lf(i){return Ip(i)?i.children?i.children[0]:void 0:i}function oh(i,h){i.shapeFlag&6&&i.component?oh(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 Vd(i,h=!1,c){let g=[],x=0;for(let S=0;S<i.length;S++){let q=i[S];const se=c==null?q.key:String(c)+String(q.key!=null?q.key:S);q.type===Ro?(q.patchFlag&128&&x++,g=g.concat(Vd(q.children,h,se))):(h||q.type!==Su)&&g.push(se!=null?rc(q,{key:se}):q)}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,Ip=i=>i.type.__isKeepAlive;function o0(i,h){Gd(i,"a",h)}function u0(i,h){Gd(i,"da",h)}function Gd(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(Op(h,g,c),c){let x=c.parent;for(;x&&x.parent;)Ip(x.parent.vnode)&&l0(g,h,c,x),x=x.parent}}function l0(i,h,c,g){const x=Op(h,i,g,!0);Jd(()=>{Ah(g[h],x)},c)}function Op(i,h,c=no,g=!1){if(c){const x=c[i]||(c[i]=[]),S=h.__weh||(h.__weh=(...q)=>{if(c.isUnmounted)return;Nc(),Sc(c);const se=Tu(h,c,i,q);return gc(),Bc(),se});return g?x.unshift(S):x.push(S),S}}const $l=i=>(h,c=no)=>(!Zc||i==="sp")&&Op(i,(...g)=>h(...g),c),c0=$l("bm"),Lp=$l("m"),p0=$l("bu"),h0=$l("u"),Kd=$l("bum"),Jd=$l("um"),f0=$l("sp"),d0=$l("rtg"),m0=$l("rtc");function g0(i,h=no){Op("ec",i,h)}function y0(i,h){const c=wo;if(c===null)return i;const g=jp(c)||c.proxy,x=i.dirs||(i.dirs=[]);for(let S=0;S<h.length;S++){let[q,se,he,xe=Ks]=h[S];ys(q)&&(q={mounted:q,updated:q}),q.deep&&dc(se),x.push({dir:q,instance:g,value:se,oldValue:void 0,arg:he,modifiers:xe})}return i}function uc(i,h,c,g){const x=i.dirs,S=h&&h.dirs;for(let q=0;q<x.length;q++){const se=x[q];S&&(se.oldValue=S[q].value);let he=se.dir[g];he&&(Nc(),Tu(he,c,8,[i.el,se,i,h]),Bc())}}const Xd="components";function Dp(i,h){return v0(Xd,i,!0,h)||i}const D0=Symbol();function v0(i,h,c=!0,g=!1){const x=wo||no;if(x){const S=x.type;if(i===Xd){const se=K0(S,!1);if(se&&(se===h||se===Dl(h)||se===Pp(Dl(h))))return S}const q=cf(x[i]||S[i],h)||cf(x.appContext[i],h);return!q&&g?S:q}}function cf(i,h){return i&&(i[h]||i[Dl(h)]||i[Pp(Dl(h))])}function pf(i,h,c,g){let x;const S=c&&c[g];if(Yi(i)||io(i)){x=new Array(i.length);for(let q=0,se=i.length;q<se;q++)x[q]=h(i[q],q,void 0,S&&S[q])}else if(typeof i=="number"){x=new Array(i);for(let q=0;q<i;q++)x[q]=h(q+1,q,void 0,S&&S[q])}else if(ea(i))if(i[Symbol.iterator])x=Array.from(i,(q,se)=>h(q,se,void 0,S&&S[se]));else{const q=Object.keys(i);x=new Array(q.length);for(let se=0,he=q.length;se<he;se++){const xe=q[se];x[se]=h(i[xe],xe,se,S&&S[se])}}else x=[];return c&&(c[g]=x),x}function vp(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 q=S&&Yd(S(c)),se=Tc(Ro,{key:c.key||q&&q.key||`_${h}`},q||(g?g():[]),q&&i._===1?64:-2);return!x&&se.scopeId&&(se.slotScopeIds=[se.scopeId+"-s"]),S&&S._c&&(S._d=!0),se}function Yd(i){return i.some(h=>Ep(h)?!(h.type===Su||h.type===Ro&&!Yd(h.children)):!0)?i:null}const uh=i=>i?um(i)?jp(i)||i.proxy:uh(i.parent):null,xp=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=>uh(i.parent),$root:i=>uh(i.root),$emit:i=>i.emit,$options:i=>Mh(i),$forceUpdate:i=>i.f||(i.f=()=>Oh(i.update)),$nextTick:i=>i.n||(i.n=Ih.bind(i.proxy)),$watch:i=>n0.bind(i)}),x0={get({_:i},h){const{ctx:c,setupState:g,data:x,props:S,accessCache:q,type:se,appContext:he}=i;let xe;if(h[0]!=="$"){const xt=q[h];if(xt!==void 0)switch(xt){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 q[h]=1,g[h];if(x!==Ks&&_s(x,h))return q[h]=2,x[h];if((xe=i.propsOptions[0])&&_s(xe,h))return q[h]=3,S[h];if(c!==Ks&&_s(c,h))return q[h]=4,c[h];lh&&(q[h]=0)}}const Te=xp[h];let Xe,tt;if(Te)return h==="$attrs"&&ou(i,"get",h),Te(i);if((Xe=se.__cssModules)&&(Xe=Xe[h]))return Xe;if(c!==Ks&&_s(c,h))return q[h]=4,c[h];if(tt=he.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}},q){let se;return!!c[q]||i!==Ks&&_s(i,q)||h!==Ks&&_s(h,q)||(se=S[0])&&_s(se,q)||_s(g,q)||_s(xp,q)||_s(x.config.globalProperties,q)},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 lh=!0;function C0(i){const h=Mh(i),c=i.proxy,g=i.ctx;lh=!1,h.beforeCreate&&hf(h.beforeCreate,i,"bc");const{data:x,computed:S,methods:q,watch:se,provide:he,inject:xe,created:Te,beforeMount:Xe,mounted:tt,beforeUpdate:xt,updated:Ht,activated:$t,deactivated:Lr,beforeDestroy:ht,beforeUnmount:kt,destroyed:Mt,unmounted:mr,render:Xr,renderTracked:zn,renderTriggered:dn,errorCaptured:Pn,serverPrefetch:Jn,expose:En,inheritAttrs:Sn,components:oi,directives:pr,filters:bn}=h;if(xe&&E0(xe,g,null,i.appContext.config.unwrapInjectedRef),q)for(const or in q){const Tn=q[or];ys(Tn)&&(g[or]=Tn.bind(c))}if(x){const or=x.call(c,c);ea(or)&&(i.data=_c(or))}if(lh=!0,S)for(const or in S){const Tn=S[or],ei=ys(Tn)?Tn.bind(c,c):ys(Tn.get)?Tn.get.bind(c,c):Ju,Vi=!ys(Tn)&&ys(Tn.set)?Tn.set.bind(c):Ju,as=Ws({get:ei,set:Vi});Object.defineProperty(g,or,{enumerable:!0,configurable:!0,get:()=>as.value,set:fs=>as.value=fs})}if(se)for(const or in se)Qd(se[or],g,c,or);if(he){const or=ys(he)?he.call(c):he;Reflect.ownKeys(or).forEach(Tn=>{hp(Tn,or[Tn])})}Te&&hf(Te,i,"c");function en(or,Tn){Yi(Tn)?Tn.forEach(ei=>or(ei.bind(c))):Tn&&or(Tn.bind(c))}if(en(c0,Xe),en(Lp,tt),en(p0,xt),en(h0,Ht),en(o0,$t),en(u0,Lr),en(g0,Pn),en(m0,zn),en(d0,dn),en(Kd,kt),en(Jd,mr),en(f0,Jn),Yi(En))if(En.length){const or=i.exposed||(i.exposed={});En.forEach(Tn=>{Object.defineProperty(or,Tn,{get:()=>c[Tn],set:ei=>c[Tn]=ei})})}else i.exposed||(i.exposed={});Xr&&i.render===Ju&&(i.render=Xr),Sn!=null&&(i.inheritAttrs=Sn),oi&&(i.components=oi),pr&&(i.directives=pr)}function E0(i,h,c=Ju,g=!1){Yi(i)&&(i=ch(i));for(const x in i){const S=i[x];let q;ea(S)?"default"in S?q=Ll(S.from||x,S.default,!0):q=Ll(S.from||x):q=Ll(S),wa(q)&&g?Object.defineProperty(h,x,{enumerable:!0,configurable:!0,get:()=>q.value,set:se=>q.value=se}):h[x]=q}}function hf(i,h,c){Tu(Yi(i)?i.map(g=>g.bind(h.proxy)):i.bind(h.proxy),h,c)}function Qd(i,h,c,g){const x=g.includes(".")?qd(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(Yi(i))i.forEach(S=>Qd(S,h,c,g));else{const S=ys(i.handler)?i.handler.bind(c):h[i.handler];ys(S)&&Ua(x,S,i)}}function Mh(i){const h=i.type,{mixins:c,extends:g}=h,{mixins:x,optionsCache:S,config:{optionMergeStrategies:q}}=i.appContext,se=S.get(h);let he;return se?he=se:!x.length&&!c&&!g?he=h:(he={},x.length&&x.forEach(xe=>Cp(he,xe,q,!0)),Cp(he,h,q)),ea(h)&&S.set(h,he),he}function Cp(i,h,c,g=!1){const{mixins:x,extends:S}=h;S&&Cp(i,S,c,!0),x&&x.forEach(q=>Cp(i,q,c,!0));for(const q in h)if(!(g&&q==="expose")){const se=b0[q]||c&&c[q];i[q]=se?se(i[q],h[q]):h[q]}return i}const b0={data:ff,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:w0,provide:ff,inject:A0};function ff(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 A0(i,h){return cc(ch(i),ch(h))}function ch(i){if(Yi(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 w0(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 T0(i,h,c,g=!1){const x={},S={};mp(S,Mp,1),i.propsDefaults=Object.create(null),Zd(i,h,x,S);for(const q in i.propsOptions[0])q in x||(x[q]=void 0);c?i.props=g?x:Mg(x):i.type.props?i.props=x:i.props=S,i.attrs=S}function S0(i,h,c,g){const{props:x,attrs:S,vnode:{patchFlag:q}}=i,se=Ls(x),[he]=i.propsOptions;let xe=!1;if((g||q>0)&&!(q&16)){if(q&8){const Te=i.vnode.dynamicProps;for(let Xe=0;Xe<Te.length;Xe++){let tt=Te[Xe];if(_p(i.emitsOptions,tt))continue;const xt=h[tt];if(he)if(_s(S,tt))xt!==S[tt]&&(S[tt]=xt,xe=!0);else{const Ht=Dl(tt);x[Ht]=ph(he,se,Ht,xt,i,!1)}else xt!==S[tt]&&(S[tt]=xt,xe=!0)}}}else{Zd(i,h,x,S)&&(xe=!0);let Te;for(const Xe in se)(!h||!_s(h,Xe)&&((Te=Pc(Xe))===Xe||!_s(h,Te)))&&(he?c&&(c[Xe]!==void 0||c[Te]!==void 0)&&(x[Xe]=ph(he,se,Xe,void 0,i,!0)):delete x[Xe]);if(S!==se)for(const Xe in S)(!h||!_s(h,Xe)&&!0)&&(delete S[Xe],xe=!0)}xe&&Ml(i,"set","$attrs")}function Zd(i,h,c,g){const[x,S]=i.propsOptions;let q=!1,se;if(h)for(let he in h){if(cp(he))continue;const xe=h[he];let Te;x&&_s(x,Te=Dl(he))?!S||!S.includes(Te)?c[Te]=xe:(se||(se={}))[Te]=xe:_p(i.emitsOptions,he)||(!(he in g)||xe!==g[he])&&(g[he]=xe,q=!0)}if(S){const he=Ls(c),xe=se||Ks;for(let Te=0;Te<S.length;Te++){const Xe=S[Te];c[Xe]=ph(x,he,Xe,xe[Xe],i,!_s(xe,Xe))}}return q}function ph(i,h,c,g,x,S){const q=i[c];if(q!=null){const se=_s(q,"default");if(se&&g===void 0){const he=q.default;if(q.type!==Function&&ys(he)){const{propsDefaults:xe}=x;c in xe?g=xe[c]:(Sc(x),g=xe[c]=he.call(null,h),gc())}else g=he}q[0]&&(S&&!se?g=!1:q[1]&&(g===""||g===Pc(c))&&(g=!0))}return g}function em(i,h,c=!1){const g=h.propsCache,x=g.get(i);if(x)return x;const S=i.props,q={},se=[];let he=!1;if(!ys(i)){const Te=Xe=>{he=!0;const[tt,xt]=em(Xe,h,!0);To(q,tt),xt&&se.push(...xt)};!c&&h.mixins.length&&h.mixins.forEach(Te),i.extends&&Te(i.extends),i.mixins&&i.mixins.forEach(Te)}if(!S&&!he)return ea(i)&&g.set(i,xc),xc;if(Yi(S))for(let Te=0;Te<S.length;Te++){const Xe=Dl(S[Te]);df(Xe)&&(q[Xe]=Ks)}else if(S)for(const Te in S){const Xe=Dl(Te);if(df(Xe)){const tt=S[Te],xt=q[Xe]=Yi(tt)||ys(tt)?{type:tt}:tt;if(xt){const Ht=yf(Boolean,xt.type),$t=yf(String,xt.type);xt[0]=Ht>-1,xt[1]=$t<0||Ht<$t,(Ht>-1||_s(xt,"default"))&&se.push(Xe)}}}const xe=[q,se];return ea(i)&&g.set(i,xe),xe}function df(i){return i[0]!=="$"}function mf(i){const h=i&&i.toString().match(/^\s*function (\w+)/);return h?h[1]:i===null?"null":""}function gf(i,h){return mf(i)===mf(h)}function yf(i,h){return Yi(h)?h.findIndex(c=>gf(c,i)):ys(h)&&gf(h,i)?0:-1}const tm=i=>i[0]==="_"||i==="$stable",jh=i=>Yi(i)?i.map(gl):[gl(i)],F0=(i,h,c)=>{if(h._n)return h;const g=Ol((...x)=>jh(h(...x)),c);return g._c=!1,g},rm=(i,h,c)=>{const g=i._ctx;for(const x in i){if(tm(x))continue;const S=i[x];if(ys(S))h[x]=F0(x,S,g);else if(S!=null){const q=jh(S);h[x]=()=>q}}},nm=(i,h)=>{const c=jh(h);i.slots.default=()=>c},k0=(i,h)=>{if(i.vnode.shapeFlag&32){const c=h._;c?(i.slots=Ls(h),mp(h,"_",c)):rm(h,i.slots={})}else i.slots={},h&&nm(i,h);mp(i.slots,Mp,1)},P0=(i,h,c)=>{const{vnode:g,slots:x}=i;let S=!0,q=Ks;if(g.shapeFlag&32){const se=h._;se?c&&se===1?S=!1:(To(x,h),!c&&se===1&&delete x._):(S=!h.$stable,rm(h,x)),q=h}else h&&(nm(i,h),q={default:1});if(S)for(const se in x)!tm(se)&&!(se in q)&&delete x[se]};function im(){return{app:null,config:{isNativeTag:eg,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 N0=0;function B0(i,h){return function(g,x=null){ys(g)||(g=Object.assign({},g)),x!=null&&!ea(x)&&(x=null);const S=im(),q=new Set;let se=!1;const he=S.app={_uid:N0++,_component:g,_props:x,_container:null,_context:S,_instance:null,version:X0,get config(){return S.config},set config(xe){},use(xe,...Te){return q.has(xe)||(xe&&ys(xe.install)?(q.add(xe),xe.install(he,...Te)):ys(xe)&&(q.add(xe),xe(he,...Te))),he},mixin(xe){return S.mixins.includes(xe)||S.mixins.push(xe),he},component(xe,Te){return Te?(S.components[xe]=Te,he):S.components[xe]},directive(xe,Te){return Te?(S.directives[xe]=Te,he):S.directives[xe]},mount(xe,Te,Xe){if(!se){const tt=Gs(g,x);return tt.appContext=S,Te&&h?h(tt,xe):i(tt,xe,Xe),se=!0,he._container=xe,xe.__vue_app__=he,jp(tt.component)||tt.component.proxy}},unmount(){se&&(i(null,he._container),delete he._container.__vue_app__)},provide(xe,Te){return S.provides[xe]=Te,he}};return he}}function hh(i,h,c,g,x=!1){if(Yi(i)){i.forEach((tt,xt)=>hh(tt,h&&(Yi(h)?h[xt]:h),c,g,x));return}if(Uc(g)&&!x)return;const S=g.shapeFlag&4?jp(g.component)||g.component.proxy:g.el,q=x?null:S,{i:se,r:he}=i,xe=h&&h.r,Te=se.refs===Ks?se.refs={}:se.refs,Xe=se.setupState;if(xe!=null&&xe!==he&&(io(xe)?(Te[xe]=null,_s(Xe,xe)&&(Xe[xe]=null)):wa(xe)&&(xe.value=null)),ys(he))ec(he,se,12,[q,Te]);else{const tt=io(he),xt=wa(he);if(tt||xt){const Ht=()=>{if(i.f){const $t=tt?Te[he]:he.value;x?Yi($t)&&Ah($t,S):Yi($t)?$t.includes(S)||$t.push(S):tt?(Te[he]=[S],_s(Xe,he)&&(Xe[he]=Te[he])):(he.value=[S],i.k&&(Te[i.k]=he.value))}else tt?(Te[he]=q,_s(Xe,he)&&(Xe[he]=q)):xt&&(he.value=q,i.k&&(Te[i.k]=q))};q?(Ht.id=-1,Zo(Ht,c)):Ht()}}}const Zo=r0;function _0(i){return I0(i)}function I0(i,h){const c=og();c.__VUE__=!0;const{insert:g,remove:x,patchProp:S,createElement:q,createText:se,createComment:he,setText:xe,setElementText:Te,parentNode:Xe,nextSibling:tt,setScopeId:xt=Ju,insertStaticContent:Ht}=i,$t=(Je,Et,Ar,zr=null,Tr=null,rn=null,Gr=!1,ln=null,Ln=!!Et.dynamicChildren)=>{if(Je===Et)return;Je&&!hc(Je,Et)&&(zr=gr(Je),fs(Je,Tr,rn,!0),Je=null),Et.patchFlag===-2&&(Ln=!1,Et.dynamicChildren=null);const{type:Qr,ref:At,shapeFlag:dr}=Et;switch(Qr){case Rh:Lr(Je,Et,Ar,zr);break;case Su:ht(Je,Et,Ar,zr);break;case Jp:Je==null&&kt(Et,Ar,zr,Gr);break;case Ro:oi(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln);break;default:dr&1?Xr(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln):dr&6?pr(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln):(dr&64||dr&128)&&Qr.process(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln,jn)}At!=null&&Tr&&hh(At,Je&&Je.ref,rn,Et||Je,!Et)},Lr=(Je,Et,Ar,zr)=>{if(Je==null)g(Et.el=se(Et.children),Ar,zr);else{const Tr=Et.el=Je.el;Et.children!==Je.children&&xe(Tr,Et.children)}},ht=(Je,Et,Ar,zr)=>{Je==null?g(Et.el=he(Et.children||""),Ar,zr):Et.el=Je.el},kt=(Je,Et,Ar,zr)=>{[Je.el,Je.anchor]=Ht(Je.children,Et,Ar,zr,Je.el,Je.anchor)},Mt=({el:Je,anchor:Et},Ar,zr)=>{let Tr;for(;Je&&Je!==Et;)Tr=tt(Je),g(Je,Ar,zr),Je=Tr;g(Et,Ar,zr)},mr=({el:Je,anchor:Et})=>{let Ar;for(;Je&&Je!==Et;)Ar=tt(Je),x(Je),Je=Ar;x(Et)},Xr=(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln)=>{Gr=Gr||Et.type==="svg",Je==null?zn(Et,Ar,zr,Tr,rn,Gr,ln,Ln):Jn(Je,Et,Tr,rn,Gr,ln,Ln)},zn=(Je,Et,Ar,zr,Tr,rn,Gr,ln)=>{let Ln,Qr;const{type:At,props:dr,shapeFlag:Vt,transition:qn,dirs:ki}=Je;if(Ln=Je.el=q(Je.type,rn,dr&&dr.is,dr),Vt&8?Te(Ln,Je.children):Vt&16&&Pn(Je.children,Ln,null,zr,Tr,rn&&At!=="foreignObject",Gr,ln),ki&&uc(Je,null,zr,"created"),dr){for(const Qi in dr)Qi!=="value"&&!cp(Qi)&&S(Ln,Qi,null,dr[Qi],rn,Je.children,zr,Tr,jr);"value"in dr&&S(Ln,"value",null,dr.value),(Qr=dr.onVnodeBeforeMount)&&ml(Qr,zr,Je)}dn(Ln,Je,Je.scopeId,Gr,zr),ki&&uc(Je,null,zr,"beforeMount");const ds=(!Tr||Tr&&!Tr.pendingBranch)&&qn&&!qn.persisted;ds&&qn.beforeEnter(Ln),g(Ln,Et,Ar),((Qr=dr&&dr.onVnodeMounted)||ds||ki)&&Zo(()=>{Qr&&ml(Qr,zr,Je),ds&&qn.enter(Ln),ki&&uc(Je,null,zr,"mounted")},Tr)},dn=(Je,Et,Ar,zr,Tr)=>{if(Ar&&xt(Je,Ar),zr)for(let rn=0;rn<zr.length;rn++)xt(Je,zr[rn]);if(Tr){let rn=Tr.subTree;if(Et===rn){const Gr=Tr.vnode;dn(Je,Gr,Gr.scopeId,Gr.slotScopeIds,Tr.parent)}}},Pn=(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln=0)=>{for(let Qr=Ln;Qr<Je.length;Qr++){const At=Je[Qr]=ln?Yl(Je[Qr]):gl(Je[Qr]);$t(null,At,Et,Ar,zr,Tr,rn,Gr,ln)}},Jn=(Je,Et,Ar,zr,Tr,rn,Gr)=>{const ln=Et.el=Je.el;let{patchFlag:Ln,dynamicChildren:Qr,dirs:At}=Et;Ln|=Je.patchFlag&16;const dr=Je.props||Ks,Vt=Et.props||Ks;let qn;Ar&&lc(Ar,!1),(qn=Vt.onVnodeBeforeUpdate)&&ml(qn,Ar,Et,Je),At&&uc(Et,Je,Ar,"beforeUpdate"),Ar&&lc(Ar,!0);const ki=Tr&&Et.type!=="foreignObject";if(Qr?En(Je.dynamicChildren,Qr,ln,Ar,zr,ki,rn):Gr||Tn(Je,Et,ln,null,Ar,zr,ki,rn,!1),Ln>0){if(Ln&16)Sn(ln,Et,dr,Vt,Ar,zr,Tr);else if(Ln&2&&dr.class!==Vt.class&&S(ln,"class",null,Vt.class,Tr),Ln&4&&S(ln,"style",dr.style,Vt.style,Tr),Ln&8){const ds=Et.dynamicProps;for(let Qi=0;Qi<ds.length;Qi++){const Ds=ds[Qi],os=dr[Ds],ta=Vt[Ds];(ta!==os||Ds==="value")&&S(ln,Ds,os,ta,Tr,Je.children,Ar,zr,jr)}}Ln&1&&Je.children!==Et.children&&Te(ln,Et.children)}else!Gr&&Qr==null&&Sn(ln,Et,dr,Vt,Ar,zr,Tr);((qn=Vt.onVnodeUpdated)||At)&&Zo(()=>{qn&&ml(qn,Ar,Et,Je),At&&uc(Et,Je,Ar,"updated")},zr)},En=(Je,Et,Ar,zr,Tr,rn,Gr)=>{for(let ln=0;ln<Et.length;ln++){const Ln=Je[ln],Qr=Et[ln],At=Ln.el&&(Ln.type===Ro||!hc(Ln,Qr)||Ln.shapeFlag&70)?Xe(Ln.el):Ar;$t(Ln,Qr,At,null,zr,Tr,rn,Gr,!0)}},Sn=(Je,Et,Ar,zr,Tr,rn,Gr)=>{if(Ar!==zr){if(Ar!==Ks)for(const ln in Ar)!cp(ln)&&!(ln in zr)&&S(Je,ln,Ar[ln],null,Gr,Et.children,Tr,rn,jr);for(const ln in zr){if(cp(ln))continue;const Ln=zr[ln],Qr=Ar[ln];Ln!==Qr&&ln!=="value"&&S(Je,ln,Qr,Ln,Gr,Et.children,Tr,rn,jr)}"value"in zr&&S(Je,"value",Ar.value,zr.value)}},oi=(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln)=>{const Qr=Et.el=Je?Je.el:se(""),At=Et.anchor=Je?Je.anchor:se("");let{patchFlag:dr,dynamicChildren:Vt,slotScopeIds:qn}=Et;qn&&(ln=ln?ln.concat(qn):qn),Je==null?(g(Qr,Ar,zr),g(At,Ar,zr),Pn(Et.children,Ar,At,Tr,rn,Gr,ln,Ln)):dr>0&&dr&64&&Vt&&Je.dynamicChildren?(En(Je.dynamicChildren,Vt,Ar,Tr,rn,Gr,ln),(Et.key!=null||Tr&&Et===Tr.subTree)&&sm(Je,Et,!0)):Tn(Je,Et,Ar,At,Tr,rn,Gr,ln,Ln)},pr=(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln)=>{Et.slotScopeIds=ln,Je==null?Et.shapeFlag&512?Tr.ctx.activate(Et,Ar,zr,Gr,Ln):bn(Et,Ar,zr,Tr,rn,Gr,Ln):Ce(Je,Et,Ln)},bn=(Je,Et,Ar,zr,Tr,rn,Gr)=>{const ln=Je.component=H0(Je,zr,Tr);if(Ip(Je)&&(ln.ctx.renderer=jn),q0(ln),ln.asyncDep){if(Tr&&Tr.registerDep(ln,en),!Je.el){const Ln=ln.subTree=Gs(Su);ht(null,Ln,Et,Ar)}return}en(ln,Je,Et,Ar,Tr,rn,Gr)},Ce=(Je,Et,Ar)=>{const zr=Et.component=Je.component;if(Zg(Je,Et,Ar))if(zr.asyncDep&&!zr.asyncResolved){or(zr,Et,Ar);return}else zr.next=Et,Gg(zr.update),zr.update();else Et.el=Je.el,zr.vnode=Et},en=(Je,Et,Ar,zr,Tr,rn,Gr)=>{const ln=()=>{if(Je.isMounted){let{next:At,bu:dr,u:Vt,parent:qn,vnode:ki}=Je,ds=At,Qi;lc(Je,!1),At?(At.el=ki.el,or(Je,At,Gr)):At=ki,dr&&pp(dr),(Qi=At.props&&At.props.onVnodeBeforeUpdate)&&ml(Qi,qn,At,ki),lc(Je,!0);const Ds=Gp(Je),os=Je.subTree;Je.subTree=Ds,$t(os,Ds,Xe(os.el),gr(os),Je,Tr,rn),At.el=Ds.el,ds===null&&e0(Je,Ds.el),Vt&&Zo(Vt,Tr),(Qi=At.props&&At.props.onVnodeUpdated)&&Zo(()=>ml(Qi,qn,At,ki),Tr)}else{let At;const{el:dr,props:Vt}=Et,{bm:qn,m:ki,parent:ds}=Je,Qi=Uc(Et);if(lc(Je,!1),qn&&pp(qn),!Qi&&(At=Vt&&Vt.onVnodeBeforeMount)&&ml(At,ds,Et),lc(Je,!0),dr&&On){const Ds=()=>{Je.subTree=Gp(Je),On(dr,Je.subTree,Je,Tr,null)};Qi?Et.type.__asyncLoader().then(()=>!Je.isUnmounted&&Ds()):Ds()}else{const Ds=Je.subTree=Gp(Je);$t(null,Ds,Ar,zr,Je,Tr,rn),Et.el=Ds.el}if(ki&&Zo(ki,Tr),!Qi&&(At=Vt&&Vt.onVnodeMounted)){const Ds=Et;Zo(()=>ml(At,ds,Ds),Tr)}(Et.shapeFlag&256||ds&&Uc(ds.vnode)&&ds.vnode.shapeFlag&256)&&Je.a&&Zo(Je.a,Tr),Je.isMounted=!0,Et=Ar=zr=null}},Ln=Je.effect=new Sh(ln,()=>Oh(Qr),Je.scope),Qr=Je.update=()=>Ln.run();Qr.id=Je.uid,lc(Je,!0),Qr()},or=(Je,Et,Ar)=>{Et.component=Je;const zr=Je.vnode.props;Je.vnode=Et,Je.next=null,S0(Je,Et.props,zr,Ar),P0(Je,Et.children,Ar),Nc(),af(),Bc()},Tn=(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln=!1)=>{const Qr=Je&&Je.children,At=Je?Je.shapeFlag:0,dr=Et.children,{patchFlag:Vt,shapeFlag:qn}=Et;if(Vt>0){if(Vt&128){Vi(Qr,dr,Ar,zr,Tr,rn,Gr,ln,Ln);return}else if(Vt&256){ei(Qr,dr,Ar,zr,Tr,rn,Gr,ln,Ln);return}}qn&8?(At&16&&jr(Qr,Tr,rn),dr!==Qr&&Te(Ar,dr)):At&16?qn&16?Vi(Qr,dr,Ar,zr,Tr,rn,Gr,ln,Ln):jr(Qr,Tr,rn,!0):(At&8&&Te(Ar,""),qn&16&&Pn(dr,Ar,zr,Tr,rn,Gr,ln,Ln))},ei=(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln)=>{Je=Je||xc,Et=Et||xc;const Qr=Je.length,At=Et.length,dr=Math.min(Qr,At);let Vt;for(Vt=0;Vt<dr;Vt++){const qn=Et[Vt]=Ln?Yl(Et[Vt]):gl(Et[Vt]);$t(Je[Vt],qn,Ar,null,Tr,rn,Gr,ln,Ln)}Qr>At?jr(Je,Tr,rn,!0,!1,dr):Pn(Et,Ar,zr,Tr,rn,Gr,ln,Ln,dr)},Vi=(Je,Et,Ar,zr,Tr,rn,Gr,ln,Ln)=>{let Qr=0;const At=Et.length;let dr=Je.length-1,Vt=At-1;for(;Qr<=dr&&Qr<=Vt;){const qn=Je[Qr],ki=Et[Qr]=Ln?Yl(Et[Qr]):gl(Et[Qr]);if(hc(qn,ki))$t(qn,ki,Ar,null,Tr,rn,Gr,ln,Ln);else break;Qr++}for(;Qr<=dr&&Qr<=Vt;){const qn=Je[dr],ki=Et[Vt]=Ln?Yl(Et[Vt]):gl(Et[Vt]);if(hc(qn,ki))$t(qn,ki,Ar,null,Tr,rn,Gr,ln,Ln);else break;dr--,Vt--}if(Qr>dr){if(Qr<=Vt){const qn=Vt+1,ki=qn<At?Et[qn].el:zr;for(;Qr<=Vt;)$t(null,Et[Qr]=Ln?Yl(Et[Qr]):gl(Et[Qr]),Ar,ki,Tr,rn,Gr,ln,Ln),Qr++}}else if(Qr>Vt)for(;Qr<=dr;)fs(Je[Qr],Tr,rn,!0),Qr++;else{const qn=Qr,ki=Qr,ds=new Map;for(Qr=ki;Qr<=Vt;Qr++){const Dr=Et[Qr]=Ln?Yl(Et[Qr]):gl(Et[Qr]);Dr.key!=null&&ds.set(Dr.key,Qr)}let Qi,Ds=0;const os=Vt-ki+1;let ta=!1,Wn=0;const xr=new Array(os);for(Qr=0;Qr<os;Qr++)xr[Qr]=0;for(Qr=qn;Qr<=dr;Qr++){const Dr=Je[Qr];if(Ds>=os){fs(Dr,Tr,rn,!0);continue}let Vr;if(Dr.key!=null)Vr=ds.get(Dr.key);else for(Qi=ki;Qi<=Vt;Qi++)if(xr[Qi-ki]===0&&hc(Dr,Et[Qi])){Vr=Qi;break}Vr===void 0?fs(Dr,Tr,rn,!0):(xr[Vr-ki]=Qr+1,Vr>=Wn?Wn=Vr:ta=!0,$t(Dr,Et[Vr],Ar,null,Tr,rn,Gr,ln,Ln),Ds++)}const wr=ta?O0(xr):xc;for(Qi=wr.length-1,Qr=os-1;Qr>=0;Qr--){const Dr=ki+Qr,Vr=Et[Dr],Bt=Dr+1<At?Et[Dr+1].el:zr;xr[Qr]===0?$t(null,Vr,Ar,Bt,Tr,rn,Gr,ln,Ln):ta&&(Qi<0||Qr!==wr[Qi]?as(Vr,Ar,Bt,2):Qi--)}}},as=(Je,Et,Ar,zr,Tr=null)=>{const{el:rn,type:Gr,transition:ln,children:Ln,shapeFlag:Qr}=Je;if(Qr&6){as(Je.component.subTree,Et,Ar,zr);return}if(Qr&128){Je.suspense.move(Et,Ar,zr);return}if(Qr&64){Gr.move(Je,Et,Ar,jn);return}if(Gr===Ro){g(rn,Et,Ar);for(let dr=0;dr<Ln.length;dr++)as(Ln[dr],Et,Ar,zr);g(Je.anchor,Et,Ar);return}if(Gr===Jp){Mt(Je,Et,Ar);return}if(zr!==2&&Qr&1&&ln)if(zr===0)ln.beforeEnter(rn),g(rn,Et,Ar),Zo(()=>ln.enter(rn),Tr);else{const{leave:dr,delayLeave:Vt,afterLeave:qn}=ln,ki=()=>g(rn,Et,Ar),ds=()=>{dr(rn,()=>{ki(),qn&&qn()})};Vt?Vt(rn,ki,ds):ds()}else g(rn,Et,Ar)},fs=(Je,Et,Ar,zr=!1,Tr=!1)=>{const{type:rn,props:Gr,ref:ln,children:Ln,dynamicChildren:Qr,shapeFlag:At,patchFlag:dr,dirs:Vt}=Je;if(ln!=null&&hh(ln,null,Ar,Je,!0),At&256){Et.ctx.deactivate(Je);return}const qn=At&1&&Vt,ki=!Uc(Je);let ds;if(ki&&(ds=Gr&&Gr.onVnodeBeforeUnmount)&&ml(ds,Et,Je),At&6)Ir(Je.component,Ar,zr);else{if(At&128){Je.suspense.unmount(Ar,zr);return}qn&&uc(Je,null,Et,"beforeUnmount"),At&64?Je.type.remove(Je,Et,Ar,Tr,jn,zr):Qr&&(rn!==Ro||dr>0&&dr&64)?jr(Qr,Et,Ar,!1,!0):(rn===Ro&&dr&384||!Tr&&At&16)&&jr(Ln,Et,Ar),zr&&es(Je)}(ki&&(ds=Gr&&Gr.onVnodeUnmounted)||qn)&&Zo(()=>{ds&&ml(ds,Et,Je),qn&&uc(Je,null,Et,"unmounted")},Ar)},es=Je=>{const{type:Et,el:Ar,anchor:zr,transition:Tr}=Je;if(Et===Ro){ts(Ar,zr);return}if(Et===Jp){mr(Je);return}const rn=()=>{x(Ar),Tr&&!Tr.persisted&&Tr.afterLeave&&Tr.afterLeave()};if(Je.shapeFlag&1&&Tr&&!Tr.persisted){const{leave:Gr,delayLeave:ln}=Tr,Ln=()=>Gr(Ar,rn);ln?ln(Je.el,rn,Ln):Ln()}else rn()},ts=(Je,Et)=>{let Ar;for(;Je!==Et;)Ar=tt(Je),x(Je),Je=Ar;x(Et)},Ir=(Je,Et,Ar)=>{const{bum:zr,scope:Tr,update:rn,subTree:Gr,um:ln}=Je;zr&&pp(zr),Tr.stop(),rn&&(rn.active=!1,fs(Gr,Je,Et,Ar)),ln&&Zo(ln,Et),Zo(()=>{Je.isUnmounted=!0},Et),Et&&Et.pendingBranch&&!Et.isUnmounted&&Je.asyncDep&&!Je.asyncResolved&&Je.suspenseId===Et.pendingId&&(Et.deps--,Et.deps===0&&Et.resolve())},jr=(Je,Et,Ar,zr=!1,Tr=!1,rn=0)=>{for(let Gr=rn;Gr<Je.length;Gr++)fs(Je[Gr],Et,Ar,zr,Tr)},gr=Je=>Je.shapeFlag&6?gr(Je.component.subTree):Je.shapeFlag&128?Je.suspense.next():tt(Je.anchor||Je.el),un=(Je,Et,Ar)=>{Je==null?Et._vnode&&fs(Et._vnode,null,null,!0):$t(Et._vnode||null,Je,Et,null,null,null,Ar),af(),Rd(),Et._vnode=Je},jn={p:$t,um:fs,m:as,r:es,mt:bn,mc:Pn,pc:Tn,pbc:En,n:gr,o:i};let ci,On;return h&&([ci,On]=h(jn)),{render:un,hydrate:ci,createApp:B0(un,ci)}}function lc({effect:i,update:h},c){i.allowRecurse=h.allowRecurse=c}function sm(i,h,c=!1){const g=i.children,x=h.children;if(Yi(g)&&Yi(x))for(let S=0;S<g.length;S++){const q=g[S];let se=x[S];se.shapeFlag&1&&!se.dynamicChildren&&((se.patchFlag<=0||se.patchFlag===32)&&(se=x[S]=Yl(x[S]),se.el=q.el),c||sm(q,se))}}function O0(i){const h=i.slice(),c=[0];let g,x,S,q,se;const he=i.length;for(g=0;g<he;g++){const xe=i[g];if(xe!==0){if(x=c[c.length-1],i[x]<xe){h[g]=x,c.push(g);continue}for(S=0,q=c.length-1;S<q;)se=S+q>>1,i[c[se]]<xe?S=se+1:q=se;xe<i[c[S]]&&(S>0&&(h[g]=c[S-1]),c[S]=g)}}for(S=c.length,q=c[S-1];S-- >0;)c[S]=q,q=h[q];return c}const L0=i=>i.__isTeleport,Ro=Symbol(void 0),Rh=Symbol(void 0),Su=Symbol(void 0),Jp=Symbol(void 0),Hc=[];let Ku=null;function ma(i=!1){Hc.push(Ku=i?null:[])}function M0(){Hc.pop(),Ku=Hc[Hc.length-1]||null}let Qc=1;function Df(i){Qc+=i}function am(i){return i.dynamicChildren=Qc>0?Ku||xc:null,M0(),Qc>0&&Ku&&Ku.push(i),i}function go(i,h,c,g,x,S){return am(Ui(i,h,c,g,x,S,!0))}function Tc(i,h,c,g,x){return am(Gs(i,h,c,g,x,!0))}function Ep(i){return i?i.__v_isVNode===!0:!1}function hc(i,h){return i.type===h.type&&i.key===h.key}const Mp="__vInternal",om=({key:i})=>i??null,fp=({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 Ui(i,h=null,c=null,g=0,x=null,S=i===Ro?0:1,q=!1,se=!1){const he={__v_isVNode:!0,__v_skip:!0,type:i,props:h,key:h&&om(h),ref:h&&fp(h),scopeId:Ud,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 se?($h(he,c),S&128&&i.normalize(he)):c&&(he.shapeFlag|=io(c)?8:16),Qc>0&&!q&&Ku&&(he.patchFlag>0||S&6)&&he.patchFlag!==32&&Ku.push(he),he}const Gs=j0;function j0(i,h=null,c=null,g=0,x=null,S=!1){if((!i||i===D0)&&(i=Su),Ep(i)){const se=rc(i,h,!0);return c&&$h(se,c),Qc>0&&!S&&Ku&&(se.shapeFlag&6?Ku[Ku.indexOf(i)]=se:Ku.push(se)),se.patchFlag|=-2,se}if(J0(i)&&(i=i.__vccOpts),h){h=R0(h);let{class:se,style:he}=h;se&&!io(se)&&(h.class=Ac(se)),ea(he)&&(Pd(he)&&!Yi(he)&&(he=To({},he)),h.style=tp(he))}const q=io(i)?1:t0(i)?128:L0(i)?64:ea(i)?4:ys(i)?2:0;return Ui(i,h,c,g,x,q,S,!0)}function R0(i){return i?Pd(i)||Mp in i?To({},i):i:null}function rc(i,h,c=!1){const{props:g,ref:x,patchFlag:S,children:q}=i,se=h?$0(g||{},h):g;return{__v_isVNode:!0,__v_skip:!0,type:i.type,props:se,key:se&&om(se),ref:h&&h.ref?c&&x?Yi(x)?x.concat(fp(h)):[x,fp(h)]:fp(h):x,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:q,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(Rh,null,i,h)}function bp(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):Yi(i)?Gs(Ro,null,i.slice()):typeof i=="object"?Yl(i):Gs(Rh,null,String(i))}function Yl(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:rc(i)}function $h(i,h){let c=0;const{shapeFlag:g}=i;if(h==null)h=null;else if(Yi(h))c=16;else if(typeof h=="object")if(g&65){const x=h.default;x&&(x._c&&(x._d=!1),$h(i,x()),x._c&&(x._d=!0));return}else{c=32;const x=h._;!x&&!(Mp 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 $0(...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(Sp(x)){const S=h[x],q=g[x];q&&S!==q&&!(Yi(S)&&S.includes(q))&&(h[x]=S?[].concat(S,q):q)}else x!==""&&(h[x]=g[x])}return h}function ml(i,h,c,g=null){Tu(i,h,7,[c,g])}const z0=im();let U0=0;function H0(i,h,c){const g=i.type,x=(h?h.appContext:i.appContext)||z0,S={uid:U0++,vnode:i,type:g,parent:h,appContext:x,root:null,next:null,subTree:null,effect:null,update:null,scope:new ug(!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:em(g,x),emitsOptions:zd(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=Xg.bind(null,S),i.ce&&i.ce(S),S}let no=null;const zh=()=>no||wo,Sc=i=>{no=i,i.scope.on()},gc=()=>{no&&no.scope.off(),no=null};function um(i){return i.vnode.shapeFlag&4}let Zc=!1;function q0(i,h=!1){Zc=h;const{props:c,children:g}=i.vnode,x=um(i);T0(i,c,x,h),k0(i,g);const S=x?W0(i,h):void 0;return Zc=!1,S}function W0(i,h){const c=i.type;i.accessCache=Object.create(null),i.proxy=Nd(new Proxy(i.ctx,x0));const{setup:g}=c;if(g){const x=i.setupContext=g.length>1?G0(i):null;Sc(i),Nc();const S=ec(g,i,0,[i.props,x]);if(Bc(),gc(),gd(S)){if(S.then(gc,gc),h)return S.then(q=>{vf(i,q,h)}).catch(q=>{Bp(q,i,0)});i.asyncDep=S}else vf(i,S,h)}else lm(i,h)}function vf(i,h,c){ys(h)?i.type.__ssrInlineRender?i.ssrRender=h:i.render=h:ea(h)&&(i.setupState=Od(h)),lm(i,c)}let xf;function lm(i,h,c){const g=i.type;if(!i.render){if(!h&&xf&&!g.render){const x=g.template||Mh(i).template;if(x){const{isCustomElement:S,compilerOptions:q}=i.appContext.config,{delimiters:se,compilerOptions:he}=g,xe=To(To({isCustomElement:S,delimiters:se},q),he);g.render=xf(x,xe)}}i.render=g.render||Ju}Sc(i),Nc(),C0(i),Bc(),gc()}function V0(i){return new Proxy(i.attrs,{get(h,c){return ou(i,"get","$attrs"),h[c]}})}function G0(i){const h=g=>{i.exposed=g||{}};let c;return{get attrs(){return c||(c=V0(i))},slots:i.slots,emit:i.emit,expose:h}}function jp(i){if(i.exposed)return i.exposeProxy||(i.exposeProxy=new Proxy(Od(Nd(i.exposed)),{get(h,c){if(c in h)return h[c];if(c in xp)return xp[c](i)}}))}function K0(i,h=!0){return ys(i)?i.displayName||i.name:i.name||h&&i.__name}function J0(i){return ys(i)&&"__vccOpts"in i}const Ws=(i,h)=>qg(i,h,Zc);function Uh(i,h,c){const g=arguments.length;return g===2?ea(h)&&!Yi(h)?Ep(h)?Gs(i,null,[h]):Gs(i,h):Gs(i,null,h):(g>3?c=Array.prototype.slice.call(arguments,2):g===3&&Ep(c)&&(c=[c]),Gs(i,h,c))}const X0="3.2.40",Y0="http://www.w3.org/2000/svg",fc=typeof document<"u"?document:null,Cf=fc&&fc.createElement("template"),Q0={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(Y0,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 q=c?c.previousSibling:h.lastChild;if(x&&(x===S||x.nextSibling))for(;h.insertBefore(x.cloneNode(!0),c),!(x===S||!(x=x.nextSibling)););else{Cf.innerHTML=g?`<svg>${i}</svg>`:i;const se=Cf.content;if(g){const he=se.firstChild;for(;he.firstChild;)se.appendChild(he.firstChild);se.removeChild(he)}h.insertBefore(se,c)}return[q?q.nextSibling:h.firstChild,c?c.previousSibling:h.lastChild]}};function Z0(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 ey(i,h,c){const g=i.style,x=io(c);if(c&&!x){for(const S in c)fh(g,S,c[S]);if(h&&!io(h))for(const S in h)c[S]==null&&fh(g,S,"")}else{const S=g.display;x?h!==c&&(g.cssText=c):h&&i.removeAttribute("style"),"_vod"in i&&(g.display=S)}}const Ef=/\s*!important$/;function fh(i,h,c){if(Yi(c))c.forEach(g=>fh(i,h,g));else if(c==null&&(c=""),h.startsWith("--"))i.setProperty(h,c);else{const g=ty(i,h);Ef.test(c)?i.setProperty(Pc(g),c.replace(Ef,""),"important"):i[g]=c}}const bf=["Webkit","Moz","ms"],Xp={};function ty(i,h){const c=Xp[h];if(c)return c;let g=Dl(h);if(g!=="filter"&&g in i)return Xp[h]=g;g=Pp(g);for(let x=0;x<bf.length;x++){const S=bf[x]+g;if(S in i)return Xp[h]=S}return h}const Af="http://www.w3.org/1999/xlink";function ry(i,h,c,g,x){if(g&&h.startsWith("xlink:"))c==null?i.removeAttributeNS(Af,h.slice(6,h.length)):i.setAttributeNS(Af,h,c);else{const S=Jm(h);c==null||S&&!fd(c)?i.removeAttribute(h):i.setAttribute(h,S?"":c)}}function ny(i,h,c,g,x,S,q){if(h==="innerHTML"||h==="textContent"){g&&q(g,x,S),i[h]=c??"";return}if(h==="value"&&i.tagName!=="PROGRESS"&&!i.tagName.includes("-")){i._value=c;const he=c??"";(i.value!==he||i.tagName==="OPTION")&&(i.value=he),c==null&&i.removeAttribute(h);return}let se=!1;if(c===""||c==null){const he=typeof i[h];he==="boolean"?c=fd(c):c==null&&he==="string"?(c="",se=!0):he==="number"&&(c=0,se=!0)}try{i[h]=c}catch{}se&&i.removeAttribute(h)}const[cm,iy]=(()=>{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 dh=0;const sy=Promise.resolve(),ay=()=>{dh=0},oy=()=>dh||(sy.then(ay),dh=cm());function pm(i,h,c,g){i.addEventListener(h,c,g)}function uy(i,h,c,g){i.removeEventListener(h,c,g)}function ly(i,h,c,g,x=null){const S=i._vei||(i._vei={}),q=S[h];if(g&&q)q.value=g;else{const[se,he]=cy(h);if(g){const xe=S[h]=py(g,x);pm(i,se,xe,he)}else q&&(uy(i,se,q,he),S[h]=void 0)}}const wf=/(?:Once|Passive|Capture)$/;function cy(i){let h;if(wf.test(i)){h={};let g;for(;g=i.match(wf);)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 py(i,h){const c=g=>{const x=g.timeStamp||cm();(iy||x>=c.attached-1)&&Tu(hy(g,c.value),h,5,[g])};return c.value=i,c.attached=oy(),c}function hy(i,h){if(Yi(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 Tf=/^on[a-z]/,fy=(i,h,c,g,x=!1,S,q,se,he)=>{h==="class"?Z0(i,g,x):h==="style"?ey(i,c,g):Sp(h)?bh(h)||ly(i,h,c,g,q):(h[0]==="."?(h=h.slice(1),!0):h[0]==="^"?(h=h.slice(1),!1):dy(i,h,g,x))?ny(i,h,g,S,q,se,he):(h==="true-value"?i._trueValue=g:h==="false-value"&&(i._falseValue=g),ry(i,h,g,x))};function dy(i,h,c,g){return g?!!(h==="innerHTML"||h==="textContent"||h in i&&Tf.test(h)&&ys(c)):h==="spellcheck"||h==="draggable"||h==="translate"||h==="form"||h==="list"&&i.tagName==="INPUT"||h==="type"&&i.tagName==="TEXTAREA"||Tf.test(h)&&io(c)?!1:h in i}const my={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};a0.props;const Sf=i=>{const h=i.props["onUpdate:modelValue"]||!1;return Yi(h)?c=>pp(h,c):h},gy={deep:!0,created(i,h,c){i._assign=Sf(c),pm(i,"change",()=>{const g=i._modelValue,x=yy(i),S=i.checked,q=i._assign;if(Yi(g)){const se=dd(g,x),he=se!==-1;if(S&&!he)q(g.concat(x));else if(!S&&he){const xe=[...g];xe.splice(se,1),q(xe)}}else if(Fp(g)){const se=new Set(g);S?se.add(x):se.delete(x),q(se)}else q(hm(i,S))})},mounted:Ff,beforeUpdate(i,h,c){i._assign=Sf(c),Ff(i,h,c)}};function Ff(i,{value:h,oldValue:c},g){i._modelValue=h,Yi(h)?i.checked=dd(h,g.props.value)>-1:Fp(h)?i.checked=h.has(g.props.value):h!==c&&(i.checked=Tp(h,hm(i,!0)))}function yy(i){return"_value"in i?i._value:i.value}function hm(i,h){const c=h?"_trueValue":"_falseValue";return c in i?i[c]:h}const Dy=To({patchProp:fy},Q0);let kf;function vy(){return kf||(kf=_0(Dy))}const xy=(...i)=>{const h=vy().createApp(...i),{mount:c}=h;return h.mount=g=>{const x=Cy(g);if(!x)return;const S=h._component;!ys(S)&&!S.render&&!S.template&&(S.template=x.innerHTML),x.innerHTML="";const q=c(x,!1,x instanceof SVGElement);return x instanceof Element&&(x.removeAttribute("v-cloak"),x.setAttribute("data-v-app","")),q},h};function Cy(i){return io(i)?document.querySelector(i):i}var Pf;const Ic=typeof window<"u",Ey=i=>typeof i<"u",fm=i=>typeof i=="function",by=i=>typeof i=="string",dm=()=>{};Ic&&((Pf=window==null?void 0:window.navigator)==null?void 0:Pf.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function $o(i){return typeof i=="function"?i():hs(i)}function mm(i,h){function c(...g){i(()=>h.apply(this,g),{fn:h,thisArg:this,args:g})}return c}const gm=i=>i();function Ay(i,h={}){let c,g;return S=>{const q=$o(i),se=$o(h.maxWait);if(c&&clearTimeout(c),q<=0||se!==void 0&&se<=0)return g&&(clearTimeout(g),g=null),S();se&&!g&&(g=setTimeout(()=>{c&&clearTimeout(c),g=null,S()},se)),c=setTimeout(()=>{g&&clearTimeout(g),g=null,S()},q)}}function wy(i=gm){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 Nf(i,h=!1,c="Timeout"){return new Promise((g,x)=>{setTimeout(h?()=>x(c):g,i)})}function Ty(i){return i}function Sy(i,...h){return h.some(c=>c in i)}function qc(){const i=[],h=x=>{const S=i.indexOf(x);S!==-1&&i.splice(S,1)};return{on:x=>(i.push(x),{off:()=>h(x)}),off:h,trigger:x=>{i.forEach(S=>S(x))}}}function Rp(i){return cg()?(pg(i),!0):!1}function Fy(i,h=200,c={}){return mm(Ay(h,c),i)}function ky(i,h=200,c={}){const g=Ta(i.value),x=Fy(()=>{g.value=i.value},h,c);return Ua(i,()=>x()),g}function dp(i){return typeof i=="function"?Ws(i):Ta(i)}function ym(i,h=!0){zh()?Lp(i):h?i():Ih(i)}function mh(i,h=!1){function c(Xe,{flush:tt="sync",deep:xt=!1,timeout:Ht,throwOnTimeout:$t}={}){let Lr=null;const kt=[new Promise(Mt=>{Lr=Ua(i,mr=>{Xe(mr)!==h&&(Lr==null||Lr(),Mt(mr))},{flush:tt,deep:xt,immediate:!0})})];return Ht!=null&&kt.push(Nf(Ht,$t).then(()=>$o(i)).finally(()=>Lr==null?void 0:Lr())),Promise.race(kt)}function g(Xe,tt){if(!wa(Xe))return c(mr=>mr===Xe,tt);const{flush:xt="sync",deep:Ht=!1,timeout:$t,throwOnTimeout:Lr}=tt??{};let ht=null;const Mt=[new Promise(mr=>{ht=Ua([i,Xe],([Xr,zn])=>{h!==(Xr===zn)&&(ht==null||ht(),mr(Xr))},{flush:xt,deep:Ht,immediate:!0})})];return $t!=null&&Mt.push(Nf($t,Lr).then(()=>$o(i)).finally(()=>(ht==null||ht(),$o(i)))),Promise.race(Mt)}function x(Xe){return c(tt=>Boolean(tt),Xe)}function S(Xe){return g(null,Xe)}function q(Xe){return g(void 0,Xe)}function se(Xe){return c(Number.isNaN,Xe)}function he(Xe,tt){return c(xt=>{const Ht=Array.from(xt);return Ht.includes(Xe)||Ht.includes($o(Xe))},tt)}function xe(Xe){return Te(1,Xe)}function Te(Xe=1,tt){let xt=-1;return c(()=>(xt+=1,xt>=Xe),tt)}return Array.isArray($o(i))?{toMatch:c,toContains:he,changed:xe,changedTimes:Te,get not(){return mh(i,!h)}}:{toMatch:c,toBe:g,toBeTruthy:x,toBeNull:S,toBeNaN:se,toBeUndefined:q,changed:xe,changedTimes:Te,get not(){return mh(i,!h)}}}function Py(i){return mh(i)}function Ny(i,h,c={}){const{immediate:g=!0}=c,x=Ta(!1);let S=null;function q(){S&&(clearTimeout(S),S=null)}function se(){x.value=!1,q()}function he(...xe){q(),x.value=!0,S=setTimeout(()=>{x.value=!1,S=null,i(...xe)},$o(h))}return g&&(x.value=!0,Ic&&he()),Rp(se),{isPending:x,start:he,stop:se}}function By(i=!1,h={}){const{truthyValue:c=!0,falsyValue:g=!1}=h,x=wa(i),S=Ta(i);function q(se){if(arguments.length)return S.value=se,S.value;{const he=$o(c);return S.value=S.value===he?$o(g):he,S.value}}return x?q:[S,q]}var Bf=Object.getOwnPropertySymbols,_y=Object.prototype.hasOwnProperty,Iy=Object.prototype.propertyIsEnumerable,Oy=(i,h)=>{var c={};for(var g in i)_y.call(i,g)&&h.indexOf(g)<0&&(c[g]=i[g]);if(i!=null&&Bf)for(var g of Bf(i))h.indexOf(g)<0&&Iy.call(i,g)&&(c[g]=i[g]);return c};function Ly(i,h,c={}){const g=c,{eventFilter:x=gm}=g,S=Oy(g,["eventFilter"]);return Ua(i,mm(x,h),S)}var My=Object.defineProperty,jy=Object.defineProperties,Ry=Object.getOwnPropertyDescriptors,Ap=Object.getOwnPropertySymbols,Dm=Object.prototype.hasOwnProperty,vm=Object.prototype.propertyIsEnumerable,_f=(i,h,c)=>h in i?My(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,$y=(i,h)=>{for(var c in h||(h={}))Dm.call(h,c)&&_f(i,c,h[c]);if(Ap)for(var c of Ap(h))vm.call(h,c)&&_f(i,c,h[c]);return i},zy=(i,h)=>jy(i,Ry(h)),Uy=(i,h)=>{var c={};for(var g in i)Dm.call(i,g)&&h.indexOf(g)<0&&(c[g]=i[g]);if(i!=null&&Ap)for(var g of Ap(i))h.indexOf(g)<0&&vm.call(i,g)&&(c[g]=i[g]);return c};function Hy(i,h,c={}){const g=c,{eventFilter:x}=g,S=Uy(g,["eventFilter"]),{eventFilter:q,pause:se,resume:he,isActive:xe}=wy(x);return{stop:Ly(i,h,zy($y({},S),{eventFilter:q})),pause:se,resume:he,isActive:xe}}function gx(i,h,c){let g;wa(c)?g={evaluating:c}:g=c||{};const{lazy:x=!1,evaluating:S=void 0,onError:q=dm}=g,se=Ta(!x),he=Ta(h);let xe=0;return Hd(async Te=>{if(!se.value)return;xe++;const Xe=xe;let tt=!1;S&&Promise.resolve().then(()=>{S.value=!0});try{const xt=await i(Ht=>{Te(()=>{S&&(S.value=!1),tt||Ht()})});Xe===xe&&(he.value=xt)}catch(xt){q(xt)}finally{S&&Xe===xe&&(S.value=!1),tt=!0}}),x?Ws(()=>(se.value=!0,he.value)):he}function Hh(i){var h;const c=$o(i);return(h=c==null?void 0:c.$el)!=null?h:c}const jl=Ic?window:void 0;Ic&&window.document;Ic&&window.navigator;Ic&&window.location;function qy(...i){let h,c,g,x;if(by(i[0])||Array.isArray(i[0])?([c,g,x]=i,h=jl):[h,c,g,x]=i,!h)return dm;Array.isArray(c)||(c=[c]),Array.isArray(g)||(g=[g]);const S=[],q=()=>{S.forEach(Te=>Te()),S.length=0},se=(Te,Xe,tt)=>(Te.addEventListener(Xe,tt,x),()=>Te.removeEventListener(Xe,tt,x)),he=Ua(()=>Hh(h),Te=>{q(),Te&&S.push(...c.flatMap(Xe=>g.map(tt=>se(Te,Xe,tt))))},{immediate:!0,flush:"post"}),xe=()=>{he(),q()};return Rp(xe),xe}function xm(i,h=!1){const c=Ta(),g=()=>c.value=Boolean(i());return g(),ym(g,h),c}function Wy(i,h={}){const{window:c=jl}=h,g=xm(()=>c&&"matchMedia"in c&&typeof c.matchMedia=="function");let x;const S=Ta(!1),q=()=>{!x||("removeEventListener"in x?x.removeEventListener("change",se):x.removeListener(se))},se=()=>{!g.value||(q(),x=c.matchMedia(dp(i).value),S.value=x.matches,"addEventListener"in x?x.addEventListener("change",se):x.addListener(se))};return Hd(se),Rp(()=>q()),S}function Vy(i){return JSON.parse(JSON.stringify(i))}const gh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},yh="__vueuse_ssr_handlers__";gh[yh]=gh[yh]||{};const Gy=gh[yh];function Cm(i,h){return Gy[i]||h}function Ky(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 Jy=Object.defineProperty,If=Object.getOwnPropertySymbols,Xy=Object.prototype.hasOwnProperty,Yy=Object.prototype.propertyIsEnumerable,Of=(i,h,c)=>h in i?Jy(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,Lf=(i,h)=>{for(var c in h||(h={}))Xy.call(h,c)&&Of(i,c,h[c]);if(If)for(var c of If(h))Yy.call(h,c)&&Of(i,c,h[c]);return i};const Qy={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 Em(i,h,c,g={}){var x;const{flush:S="pre",deep:q=!0,listenToStorageChanges:se=!0,writeDefaults:he=!0,mergeDefaults:xe=!1,shallow:Te,window:Xe=jl,eventFilter:tt,onError:xt=dn=>{console.error(dn)}}=g,Ht=(Te?zc:Ta)(h);if(!c)try{c=Cm("getDefaultStorage",()=>{var dn;return(dn=jl)==null?void 0:dn.localStorage})()}catch(dn){xt(dn)}if(!c)return Ht;const $t=$o(h),Lr=Ky($t),ht=(x=g.serializer)!=null?x:Qy[Lr],{pause:kt,resume:Mt}=Hy(Ht,()=>mr(Ht.value),{flush:S,deep:q,eventFilter:tt});return Xe&&se&&qy(Xe,"storage",zn),zn(),Ht;function mr(dn){try{dn==null?c.removeItem(i):c.setItem(i,ht.write(dn))}catch(Pn){xt(Pn)}}function Xr(dn){kt();try{const Pn=dn?dn.newValue:c.getItem(i);if(Pn==null)return he&&$t!==null&&c.setItem(i,ht.write($t)),$t;if(!dn&&xe){const Jn=ht.read(Pn);return fm(xe)?xe(Jn,$t):Lr==="object"&&!Array.isArray(Jn)?Lf(Lf({},$t),Jn):Jn}else return typeof Pn!="string"?Pn:ht.read(Pn)}catch(Pn){xt(Pn)}finally{Mt()}}function zn(dn){if(!(dn&&dn.storageArea!==c)){if(dn&&dn.key===null){Ht.value=$t;return}dn&&dn.key!==i||(Ht.value=Xr(dn))}}}function bm(i){return Wy("(prefers-color-scheme: dark)",i)}var Zy=Object.defineProperty,Mf=Object.getOwnPropertySymbols,eD=Object.prototype.hasOwnProperty,tD=Object.prototype.propertyIsEnumerable,jf=(i,h,c)=>h in i?Zy(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,rD=(i,h)=>{for(var c in h||(h={}))eD.call(h,c)&&jf(i,c,h[c]);if(Mf)for(var c of Mf(h))tD.call(h,c)&&jf(i,c,h[c]);return i};function nD(i={}){const{selector:h="html",attribute:c="class",initialValue:g="auto",window:x=jl,storage:S,storageKey:q="vueuse-color-scheme",listenToStorageChanges:se=!0,storageRef:he,emitAuto:xe}=i,Te=rD({auto:"",light:"light",dark:"dark"},i.modes||{}),Xe=bm({window:x}),tt=Ws(()=>Xe.value?"dark":"light"),xt=he||(q==null?Ta(g):Em(q,g,S,{window:x,listenToStorageChanges:se})),Ht=Ws({get(){return xt.value==="auto"&&!xe?tt.value:xt.value},set(kt){xt.value=kt}}),$t=Cm("updateHTMLAttrs",(kt,Mt,mr)=>{const Xr=x==null?void 0:x.document.querySelector(kt);if(!!Xr)if(Mt==="class"){const zn=mr.split(/\s/g);Object.values(Te).flatMap(dn=>(dn||"").split(/\s/g)).filter(Boolean).forEach(dn=>{zn.includes(dn)?Xr.classList.add(dn):Xr.classList.remove(dn)})}else Xr.setAttribute(Mt,mr)});function Lr(kt){var Mt;const mr=kt==="auto"?tt.value:kt;$t(h,c,(Mt=Te[mr])!=null?Mt:mr)}function ht(kt){i.onChanged?i.onChanged(kt,Lr):Lr(kt)}return Ua(Ht,ht,{flush:"post",immediate:!0}),xe&&Ua(tt,()=>ht(Ht.value),{flush:"post"}),ym(()=>ht(Ht.value)),Ht}var iD=Object.defineProperty,sD=Object.defineProperties,aD=Object.getOwnPropertyDescriptors,Rf=Object.getOwnPropertySymbols,oD=Object.prototype.hasOwnProperty,uD=Object.prototype.propertyIsEnumerable,$f=(i,h,c)=>h in i?iD(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,lD=(i,h)=>{for(var c in h||(h={}))oD.call(h,c)&&$f(i,c,h[c]);if(Rf)for(var c of Rf(h))uD.call(h,c)&&$f(i,c,h[c]);return i},cD=(i,h)=>sD(i,aD(h));function pD(i={}){const{valueDark:h="dark",valueLight:c="",window:g=jl}=i,x=nD(cD(lD({},i),{onChanged:(se,he)=>{var xe;i.onChanged?(xe=i.onChanged)==null||xe.call(i,se==="dark"):he(se)},modes:{dark:h,light:c}})),S=bm({window:g});return Ws({get(){return x.value==="dark"},set(se){se===S.value?x.value="auto":x.value=se?"dark":"light"}})}var zf=Object.getOwnPropertySymbols,hD=Object.prototype.hasOwnProperty,fD=Object.prototype.propertyIsEnumerable,dD=(i,h)=>{var c={};for(var g in i)hD.call(i,g)&&h.indexOf(g)<0&&(c[g]=i[g]);if(i!=null&&zf)for(var g of zf(i))h.indexOf(g)<0&&fD.call(i,g)&&(c[g]=i[g]);return c};function mD(i,h,c={}){const g=c,{window:x=jl}=g,S=dD(g,["window"]);let q;const se=xm(()=>x&&"ResizeObserver"in x),he=()=>{q&&(q.disconnect(),q=void 0)},xe=Ua(()=>Hh(i),Xe=>{he(),se.value&&x&&Xe&&(q=new ResizeObserver(h),q.observe(Xe,S))},{immediate:!0,flush:"post"}),Te=()=>{he(),xe()};return Rp(Te),{isSupported:se,stop:Te}}var gD=Object.defineProperty,yD=Object.defineProperties,DD=Object.getOwnPropertyDescriptors,Uf=Object.getOwnPropertySymbols,vD=Object.prototype.hasOwnProperty,xD=Object.prototype.propertyIsEnumerable,Hf=(i,h,c)=>h in i?gD(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,Qo=(i,h)=>{for(var c in h||(h={}))vD.call(h,c)&&Hf(i,c,h[c]);if(Uf)for(var c of Uf(h))xD.call(h,c)&&Hf(i,c,h[c]);return i},jc=(i,h)=>yD(i,DD(h));const CD={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function qf(i){return Sy(i,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Yp(i){return typeof Headers<"u"&&i instanceof Headers?Object.fromEntries([...i.entries()]):i}function $p(i,...h){var c;const g=typeof AbortController=="function";let x={},S={immediate:!0,refetch:!1,timeout:0};const q={method:"GET",type:"text",payload:void 0};h.length>0&&(qf(h[0])?S=Qo(Qo({},S),h[0]):x=h[0]),h.length>1&&qf(h[1])&&(S=Qo(Qo({},S),h[1]));const{fetch:se=(c=jl)==null?void 0:c.fetch,initialData:he,timeout:xe}=S,Te=qc(),Xe=qc(),tt=qc(),xt=Ta(!1),Ht=Ta(!1),$t=Ta(!1),Lr=Ta(null),ht=zc(null),kt=zc(null),Mt=zc(he),mr=Ws(()=>g&&Ht.value);let Xr,zn;const dn=()=>{g&&Xr&&Xr.abort()},Pn=Ce=>{Ht.value=Ce,xt.value=!Ce};xe&&(zn=Ny(dn,xe,{immediate:!1}));const Jn=async(Ce=!1)=>{var en;Pn(!0),kt.value=null,Lr.value=null,$t.value=!1,Xr=void 0,g&&(Xr=new AbortController,Xr.signal.onabort=()=>$t.value=!0,x=jc(Qo({},x),{signal:Xr.signal}));const or={method:q.method,headers:{}};if(q.payload){const as=Yp(or.headers);q.payloadType&&(as["Content-Type"]=(en=CD[q.payloadType])!=null?en:q.payloadType);const fs=$o(q.payload);or.body=q.payloadType==="json"?JSON.stringify(fs):fs}let Tn=!1;const ei={url:$o(i),options:Qo(Qo({},or),x),cancel:()=>{Tn=!0}};if(S.beforeFetch&&Object.assign(ei,await S.beforeFetch(ei)),Tn||!se)return Pn(!1),Promise.resolve(null);let Vi=null;return zn&&zn.start(),new Promise((as,fs)=>{var es;se(ei.url,jc(Qo(Qo({},or),ei.options),{headers:Qo(Qo({},Yp(or.headers)),Yp((es=ei.options)==null?void 0:es.headers))})).then(async ts=>{if(ht.value=ts,Lr.value=ts.status,Vi=await ts[q.type](),S.afterFetch&&Lr.value>=200&&Lr.value<300&&({data:Vi}=await S.afterFetch({data:Vi,response:ts})),Mt.value=Vi,!ts.ok)throw new Error(ts.statusText);return Te.trigger(ts),as(ts)}).catch(async ts=>{let Ir=ts.message||ts.name;return S.onFetchError&&({data:Vi,error:Ir}=await S.onFetchError({data:Vi,error:ts,response:ht.value})),Mt.value=Vi,kt.value=Ir,Xe.trigger(ts),Ce?fs(ts):as(null)}).finally(()=>{Pn(!1),zn&&zn.stop(),tt.trigger(null)})})},En=dp(S.refetch);Ua([En,dp(i)],([Ce])=>Ce&&Jn(),{deep:!0});const Sn={isFinished:xt,statusCode:Lr,response:ht,error:kt,data:Mt,isFetching:Ht,canAbort:mr,aborted:$t,abort:dn,execute:Jn,onFetchResponse:Te.on,onFetchError:Xe.on,onFetchFinally:tt.on,get:oi("GET"),put:oi("PUT"),post:oi("POST"),delete:oi("DELETE"),patch:oi("PATCH"),head:oi("HEAD"),options:oi("OPTIONS"),json:bn("json"),text:bn("text"),blob:bn("blob"),arrayBuffer:bn("arrayBuffer"),formData:bn("formData")};function oi(Ce){return(en,or)=>{if(!Ht.value){q.method=Ce,q.payload=en,q.payloadType=or,wa(q.payload)&&Ua([En,dp(q.payload)],([ei])=>ei&&Jn(),{deep:!0});const Tn=$o(q.payload);return!or&&Tn&&Object.getPrototypeOf(Tn)===Object.prototype&&(q.payloadType="json"),jc(Qo({},Sn),{then(ei,Vi){return pr().then(ei,Vi)}})}}}function pr(){return new Promise((Ce,en)=>{Py(xt).toBe(!0).then(()=>Ce(Sn)).catch(or=>en(or))})}function bn(Ce){return()=>{if(!Ht.value)return q.type=Ce,jc(Qo({},Sn),{then(en,or){return pr().then(en,or)}})}}return S.immediate&&setTimeout(Jn,0),jc(Qo({},Sn),{then(Ce,en){return pr().then(Ce,en)}})}function yx(i,h,c={}){const{window:g=jl}=c;return Em(i,h,g==null?void 0:g.localStorage,c)}var Wf;(function(i){i.UP="UP",i.RIGHT="RIGHT",i.DOWN="DOWN",i.LEFT="LEFT",i.NONE="NONE"})(Wf||(Wf={}));var ED=Object.defineProperty,Vf=Object.getOwnPropertySymbols,bD=Object.prototype.hasOwnProperty,AD=Object.prototype.propertyIsEnumerable,Gf=(i,h,c)=>h in i?ED(i,h,{enumerable:!0,configurable:!0,writable:!0,value:c}):i[h]=c,wD=(i,h)=>{for(var c in h||(h={}))bD.call(h,c)&&Gf(i,c,h[c]);if(Vf)for(var c of Vf(h))AD.call(h,c)&&Gf(i,c,h[c]);return i};const TD={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]};wD({linear:Ty},TD);function SD(i,h,c,g={}){var x,S,q;const{clone:se=!1,passive:he=!1,eventName:xe,deep:Te=!1,defaultValue:Xe}=g,tt=zh(),xt=c||(tt==null?void 0:tt.emit)||((x=tt==null?void 0:tt.$emit)==null?void 0:x.bind(tt))||((q=(S=tt==null?void 0:tt.proxy)==null?void 0:S.$emit)==null?void 0:q.bind(tt==null?void 0:tt.proxy));let Ht=xe;h||(h="modelValue"),Ht=xe||Ht||`update:${h.toString()}`;const $t=ht=>se?fm(se)?se(ht):Vy(ht):ht,Lr=()=>Ey(i[h])?$t(i[h]):Xe;if(he){const ht=Lr(),kt=Ta(ht);return Ua(()=>i[h],Mt=>kt.value=$t(Mt)),Ua(kt,Mt=>{(Mt!==i[h]||Te)&&xt(Ht,Mt)},{deep:Te}),kt}else return Ws({get(){return Lr()},set(ht){xt(Ht,ht)}})}function Kf(i){return i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const FD=/^\[(.+?)~?="(.*)"\]$/,kD=/[\w\u00A0-\uFFFF-_:%-?]/;function PD(i){return i.match(FD)}function ND(i=""){return kD.test(i)}const BD=/((?:[!\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])+?)\)(?!\s*?=>)/gm,_D=/\\?[\s'"`;{}]+/g,qh=/\[(\\\W|[\w-])+:['"]?\S+?['"]?\]/g,ID=new RegExp(`^${qh.source}$`),OD=i=>{var c;const h=new Set;for(const g of i.matchAll(qh))!((c=i[g.index-1])!=null&&c.match(/^[\s'"`]/))||h.add(g[0]);return i.split(_D).forEach(g=>{ND(g)&&!ID.test(g)&&h.add(g)}),[...h]},Dx={name:"split",order:0,extract({code:i}){return OD(i)}};function LD(i,h,c){const g=[];return h.forEach(x=>{if(x.includes(":"))x===i&&g.push([c,c+x.length,x]);else{const q=new RegExp(`.(${x})[.#=s(]|.(${x})$`).exec(i);q?g.push([c+q.index+1,c+q.index+x.length+1,x]):x===i&&g.push([c,c+x.length,x])}}),g}function MD(i,h,c=!1,g=!1){const x=[],S=[],q=new Set;Array.from(h).forEach(he=>{const xe=PD(he);xe?xe[2]?S.push(xe):q.add(xe[1]):q.add(he)});let se=0;i.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(he=>{const xe=se+he.length;g?x.push(...LD(he,q,se)):q.has(he)&&x.push([se,xe,he]),se=xe});for(const he of i.matchAll(qh)){const xe=he.index,Te=xe+he[0].length;q.has(he[0])&&x.push([xe,Te,he[0]])}return c&&Array.from(i.matchAll(BD)).forEach(he=>{const[,xe,Te,Xe]=he;let xt=he.index+xe.length+Te.length+1;Xe.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(Ht=>{const $t=xt+Ht.length,Lr=xe+Te+Ht;if(q.has(Lr)){const ht=x.findIndex(([kt,Mt])=>kt===xt&&Mt===$t);ht<0?x.push([xt,$t,Lr]):x[ht][2]=Lr}xt=$t})}),S.forEach(([,he,xe])=>{const Te=new RegExp(`(${Kf(he)}=)(['"])[^\\2]*?${Kf(xe)}[^\\2]*?\\2`,"g");Array.from(i.matchAll(Te)).forEach(Xe=>{const tt=Xe[1],Ht=Xe[0].slice(tt.length).indexOf(xe);if(Ht<0)return;const $t=Xe.index+tt.length+Ht,Lr=$t+xe.length;x.push([$t,Lr,`[${he}="${xe}"]`])})}),x.sort((he,xe)=>he[0]-xe[0])}var Rl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zp(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var zl={exports:{}};(function(i,h){(function(c,g){i.exports=g()})(Rl,function(){var c=navigator.userAgent,g=navigator.platform,x=/gecko\/\d/i.test(c),S=/MSIE \d/.test(c),q=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(c),se=/Edge\/(\d+)/.exec(c),he=S||q||se,xe=he&&(S?document.documentMode||6:+(se||q)[1]),Te=!se&&/WebKit\//.test(c),Xe=Te&&/Qt\/\d+\.\d+/.test(c),tt=!se&&/Chrome\/(\d+)/.exec(c),xt=tt&&+tt[1],Ht=/Opera\//.test(c),$t=/Apple Computer/.test(navigator.vendor),Lr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(c),ht=/PhantomJS/.test(c),kt=$t&&(/Mobile\/\w+/.test(c)||navigator.maxTouchPoints>2),Mt=/Android/.test(c),mr=kt||Mt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(c),Xr=kt||/Mac/.test(g),zn=/\bCrOS\b/.test(c),dn=/win/i.test(g),Pn=Ht&&c.match(/Version\/(\d*\.\d*)/);Pn&&(Pn=Number(Pn[1])),Pn&&Pn>=15&&(Ht=!1,Te=!0);var Jn=Xr&&(Xe||Ht&&(Pn==null||Pn<12.11)),En=x||he&&xe>=9;function Sn(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var oi=function(e,n){var o=e.className,u=Sn(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 pr(e){for(var n=e.childNodes.length;n>0;--n)e.removeChild(e.firstChild);return e}function bn(e,n){return pr(e).appendChild(n)}function Ce(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 en(e,n,o,u){var p=Ce(e,n,o,u);return p.setAttribute("role","presentation"),p}var or;document.createRange?or=function(e,n,o,u){var p=document.createRange();return p.setEnd(u||e,o),p.setStart(e,n),p}:or=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 Tn(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 ei(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;Sn(n).test(o)||(e.className+=(o?" ":"")+n)}function as(e,n){for(var o=e.split(" "),u=0;u<o.length;u++)o[u]&&!Sn(o[u]).test(n)&&(n+=" "+o[u]);return n}var fs=function(e){e.select()};kt?fs=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:he&&(fs=function(e){try{e.select()}catch{}});function es(e){return e.display.wrapper.ownerDocument}function ts(e){return es(e).defaultView}function Ir(e){var n=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,n)}}function jr(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 gr(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 un=function(){this.id=null,this.f=null,this.time=0,this.handler=Ir(this.onTimeout,this)};un.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},un.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 jn(e,n){for(var o=0;o<e.length;++o)if(e[o]==n)return o;return-1}var ci=50,On={toString:function(){return"CodeMirror.Pass"}},Je={scroll:!1},Et={origin:"*mouse"},Ar={origin:"+move"};function zr(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 Tr=[""];function rn(e){for(;Tr.length<=e;)Tr.push(Gr(Tr)+" ");return Tr[e]}function Gr(e){return e[e.length-1]}function ln(e,n){for(var o=[],u=0;u<e.length;u++)o[u]=n(e[u],u);return o}function Ln(e,n,o){for(var u=0,p=o(n);u<e.length&&o(e[u])<=p;)u++;e.splice(u,0,n)}function Qr(){}function At(e,n){var o;return Object.create?o=Object.create(e):(Qr.prototype=e,o=new Qr),n&&jr(n,o),o}var dr=/[\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()||dr.test(e))}function qn(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 Qi(e){return e.charCodeAt(0)>=768&&ds.test(e)}function Ds(e,n,o){for(;(o<0?n>0:n<e.length)&&Qi(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 Wn=null;function xr(e,n,o){var u;Wn=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:Wn=p),D.from==n&&(D.from!=D.to&&o!="before"?u=p:Wn=p)}return u??Wn}var wr=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 Ee=$.length,Ft=[],yr=0;yr<Ee;++yr)Ft.push(o($.charCodeAt(yr)));for(var fr=0,$r=qe;fr<Ee;++fr){var pn=Ft[fr];pn=="m"?Ft[fr]=$r:$r=pn}for(var Gn=0,kn=qe;Gn<Ee;++Gn){var le=Ft[Gn];le=="1"&&kn=="r"?Ft[Gn]="n":D.test(le)&&(kn=le,le=="r"&&(Ft[Gn]="R"))}for(var wt=1,Kr=Ft[0];wt<Ee-1;++wt){var Bn=Ft[wt];Bn=="+"&&Kr=="1"&&Ft[wt+1]=="1"?Ft[wt]="1":Bn==","&&Kr==Ft[wt+1]&&(Kr=="1"||Kr=="n")&&(Ft[wt]=Kr),Kr=Bn}for(var Ii=0;Ii<Ee;++Ii){var As=Ft[Ii];if(As==",")Ft[Ii]="N";else if(As=="%"){var Li=void 0;for(Li=Ii+1;Li<Ee&&Ft[Li]=="%";++Li);for(var Vs=Ii&&Ft[Ii-1]=="!"||Li<Ee&&Ft[Li]=="1"?"1":"N",Bs=Ii;Bs<Li;++Bs)Ft[Bs]=Vs;Ii=Li-1}}for(var fi=0,Fi=qe;fi<Ee;++fi){var fa=Ft[fi];Fi=="L"&&fa=="1"?Ft[fi]="L":D.test(fa)&&(Fi=fa)}for(var Da=0;Da<Ee;++Da)if(p.test(Ft[Da])){var da=void 0;for(da=Da+1;da<Ee&&p.test(Ft[da]);++da);for(var Zs=(Da?Ft[Da-1]:qe)=="L",to=(da<Ee?Ft[da]:qe)=="L",Kl=Zs==to?Zs?"L":"R":qe,Wu=Da;Wu<da;++Wu)Ft[Wu]=Kl;Da=da-1}for(var Pa=[],dl,za=0;za<Ee;)if(E.test(Ft[za])){var qp=za;for(++za;za<Ee&&E.test(Ft[za]);++za);Pa.push(new j(0,qp,za))}else{var Bl=za,ac=Pa.length,oc=ke=="rtl"?1:0;for(++za;za<Ee&&Ft[za]!="L";++za);for(var bo=Bl;bo<za;)if(k.test(Ft[bo])){Bl<bo&&(Pa.splice(ac,0,new j(1,Bl,bo)),ac+=oc);var yc=bo;for(++bo;bo<za&&k.test(Ft[bo]);++bo);Pa.splice(ac,0,new j(2,yc,bo)),ac+=oc,Bl=bo}else++bo;Bl<za&&Pa.splice(ac,0,new j(1,Bl,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))),Gr(Pa).level==1&&(dl=$.match(/\s+$/))&&(Gr(Pa).to-=dl[0].length,Pa.push(new j(0,Ee-dl[0].length,Ee)))),ke=="rtl"?Pa.reverse():Pa}}();function Dr(e,n){var o=e.order;return o==null&&(o=e.order=wr(e.text,n)),o}var Vr=[],Bt=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]||Vr).concat(o)}};function Vn(e,n){return e._handlers&&e._handlers[n]||Vr}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=jn(p,o);D>-1&&(u[n]=p.slice(0,D).concat(p.slice(D+1)))}}}function _n(e,n){var o=Vn(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 hr(e,n,o){return typeof n=="string"&&(n={type:n,preventDefault:function(){this.defaultPrevented=!0}}),_n(e,o||n.type,e,n),Nr(n)||n.codemirrorIgnore}function Nt(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)jn(o,n[u])==-1&&o.push(n[u])}function Me(e,n){return Vn(e,n).length>0}function St(e){e.prototype.on=function(n,o){Bt(this,n,o)},e.prototype.off=function(n,o){Xt(this,n,o)}}function jt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function rr(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Nr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Sr(e){jt(e),rr(e)}function Rt(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)),Xr&&e.ctrlKey&&n==1&&(n=3),n}var ue=function(){if(he&&xe<9)return!1;var e=Ce("div");return"draggable"in e||"dragDrop"in e}(),re;function De(e){if(re==null){var n=Ce("span","​");bn(e,Ce("span",[n,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(re=n.offsetWidth<=1&&n.offsetHeight>2&&!(he&&xe<8))}var o=re?Ce("span","​"):Ce("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=bn(e,document.createTextNode("AخA")),o=or(n,0,1).getBoundingClientRect(),u=or(n,1,2).getBoundingClientRect();return pr(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/)},nt=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},Tt=function(){var e=Ce("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Qt=null;function ir(e){if(Qt!=null)return Qt;var n=bn(e,Ce("span","x")),o=n.getBoundingClientRect(),u=or(n,0,1).getBoundingClientRect();return Qt=Math.abs(o.left-u.left)>1}var Pt={},Fr={};function Jr(e,n){arguments.length>2&&(n.dependencies=Array.prototype.slice.call(arguments,2)),Pt[e]=n}function Be(e,n){Fr[e]=n}function vr(e){if(typeof e=="string"&&Fr.hasOwnProperty(e))e=Fr[e];else if(e&&typeof e.name=="string"&&Fr.hasOwnProperty(e.name)){var n=Fr[e.name];typeof n=="string"&&(n={name:n}),e=At(n,e),e.name=n.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return vr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return vr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function An(e,n){n=vr(n);var o=Pt[n.name];if(!o)return An(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]={};jr(n,o)}function mn(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 it=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};it.prototype.eol=function(){return this.pos>=this.string.length},it.prototype.sol=function(){return this.pos==this.lineStart},it.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},it.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},it.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},it.prototype.eatWhile=function(e){for(var n=this.pos;this.eat(e););return this.pos>n},it.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},it.prototype.skipToEnd=function(){this.pos=this.string.length},it.prototype.skipTo=function(e){var n=this.string.indexOf(e,this.pos);if(n>-1)return this.pos=n,!0},it.prototype.backUp=function(e){this.pos-=e},it.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=gr(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?gr(this.string,this.lineStart,this.tabSize):0)},it.prototype.indentation=function(){return gr(this.string,null,this.tabSize)-(this.lineStart?gr(this.string,this.lineStart,this.tabSize):0)},it.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)}},it.prototype.current=function(){return this.string.slice(this.start,this.pos)},it.prototype.hideFirstChars=function(e,n){this.lineStart+=e;try{return n()}finally{this.lineStart-=e}},it.prototype.lookAhead=function(e){var n=this.lineOracle;return n&&n.lookAhead(e)},it.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function cn(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 Mi(e){if(e.parent==null)return null;for(var n=e.parent,o=jn(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 ge(e,n){return n>=e.first&&n<e.first+e.size}function rt(e,n){return String(e.lineNumberFormatter(n+e.firstLineNumber))}function ft(e,n,o){if(o===void 0&&(o=null),!(this instanceof ft))return new ft(e,n,o);this.line=e,this.ch=n,this.sticky=o}function cr(e,n){return e.line-n.line||e.ch-n.ch}function gi(e,n){return e.sticky==n.sticky&&cr(e,n)==0}function ss(e){return ft(e.line,e.ch)}function us(e,n){return cr(e,n)<0?n:e}function xs(e,n){return cr(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 ft(e.first,0);var o=e.first+e.size-1;return n.line>o?ft(o,cn(e,o).text.length):Fu(n,cn(e,n.line).text.length)}function Fu(e,n){var o=e.ch;return o==null||o>n?ft(e.line,n):o<0?ft(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,mn(e.mode,n.state),o,n.lookAhead):new Na(e,mn(e.mode,n),o)},Na.prototype.save=function(e){var n=e!==!1?mn(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,Ee=0;o.state=!0,_u(e,n.text,ke.mode,o,function(Ft,yr){for(var fr=qe;Ee<Ft;){var $r=p[qe];$r>Ft&&p.splice(qe,1,Ft,p[qe+1],$r),qe+=2,Ee=Math.min(Ft,$r)}if(!!yr)if(ke.opaque)p.splice(fr,qe-fr,Ft,"overlay "+yr),qe=fr+2;else for(;fr<qe;fr+=2){var pn=p[fr+1];p[fr+1]=(pn?pn+" ":"")+"overlay "+yr}},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,Mi(n)),p=n.text.length>e.options.maxHighlightLength&&mn(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&&cn(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 it(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=cn(p,n.line),j=yo(e,n.line,o),$=new it(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,mn(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 it(n,e.options.tabSize,u),qe,Ee=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,Ee),D),Ee){var Ft=Ee[0].name;Ft&&(qe="m-"+(qe?Ft+" "+qe:Ft))}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 yr=Math.min(ke.pos,j+5e3);p(yr,$),j=yr}}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=cn(D,k-1),$=j.stateAfter;if($&&(!o||k+($ instanceof so?$.lookAhead:0)<=D.modeFrontier))return k;var ke=gr(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=cn(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 vl(){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=ge(e,n.from.line)&&cn(e,n.from.line).markedSpans,u=ge(e,n.to.line)&&cn(e,n.to.line).markedSpans;if(!o&&!u)return null;var p=n.from.ch,D=n.to.ch,E=cr(n.from,n.to)==0,k=Qu(o,p,E),j=Zu(u,D,E),$=n.text.length==1,ke=Gr(n.text).length+($?p:0);if(k)for(var qe=0;qe<k.length;++qe){var Ee=k[qe];if(Ee.to==null){var Ft=ao(j,Ee.marker);Ft?$&&(Ee.to=Ft.to==null?null:Ft.to+ke):Ee.to=p}}if(j)for(var yr=0;yr<j.length;++yr){var fr=j[yr];if(fr.to!=null&&(fr.to+=ke),fr.from==null){var $r=ao(k,fr.marker);$r||(fr.from=ke,$&&(k||(k=[])).push(fr))}else fr.from+=ke,$&&(k||(k=[])).push(fr)}k&&(k=Wa(k)),j&&j!=k&&(j=Wa(j));var pn=[k];if(!$){var Gn=n.text.length-2,kn;if(Gn>0&&k)for(var le=0;le<k.length;++le)k[le].to==null&&(kn||(kn=[])).push(new Sa(k[le].marker,null,null));for(var wt=0;wt<Gn;++wt)pn.push(kn);pn.push(j)}return pn}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(Ft){if(Ft.markedSpans)for(var yr=0;yr<Ft.markedSpans.length;++yr){var fr=Ft.markedSpans[yr].marker;fr.readOnly&&(!u||jn(u,fr)==-1)&&(u||(u=[])).push(fr)}}),!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(!(cr($.to,k.from)<0||cr($.from,k.to)>0)){var ke=[j,1],qe=cr($.from,k.from),Ee=cr($.to,k.to);(qe<0||!E.inclusiveLeft&&!qe)&&ke.push({from:$.from,to:k.from}),(Ee>0||!E.inclusiveRight&&!Ee)&&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=cr(u.from,p.from)||xa(e)-xa(n);if(D)return-D;var E=cr(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 ti(e,n,o,u,p){var D=cn(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=cr($.from,o)||xa(j.marker)-xa(p),qe=cr($.to,u)||Va(j.marker)-Va(p);if(!(ke>=0&&qe<=0||ke<=0&&qe>=0)&&(ke<=0&&(j.marker.inclusiveRight&&p.inclusiveLeft?cr($.to,o)>=0:cr($.to,o)>0)||ke>=0&&(j.marker.inclusiveRight&&p.inclusiveLeft?cr($.from,u)<=0:cr($.from,u)<0)))return!0}}}function fn(e){for(var n;n=tu(e);)e=n.find(-1,!0).line;return e}function Cn(e){for(var n;n=Ga(e);)e=n.find(1,!0).line;return e}function sn(e){for(var n,o;n=Ga(e);)e=n.find(1,!0).line,(o||(o=[])).push(e);return o}function an(e,n){var o=cn(e,n),u=fn(o);return o==u?n:Mi(u)}function ri(e,n){if(n>e.lastLine())return n;var o=cn(e,n),u;if(!Yn(e,o))return n;for(;u=Ga(o);)o=u.find(1,!0).line;return Mi(o)+1}function Yn(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&&ai(e,n,u))return!0}}}function ai(e,n,o){if(o.to==null){var u=o.marker.find(1,!0);return ai(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)&&ai(e,n,p))return!0}function yi(e){e=fn(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=cn(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 Mn=function(e,n,o){this.text=e,oo(this,n),this.height=o?o(this):1};Mn.prototype.lineNo=function(){return Mi(this)},St(Mn);function ji(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={},Zi={};function js(e,n){if(!e||/^\s*$/.test(e))return null;var o=n.addModeClass?Zi:wi;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function Hi(e,n){var o=en("span",null,null,Te?"padding-right: .1px":null),u={pre:en("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=Dr(D,e.doc.direction))&&(u.addToken=ra(u.addToken,E)),u.map=[];var k=n!=e.display.externalMeasured&&Mi(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(De(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(Te){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 _n(e,"renderLine",e,n.line,u.pre),u.pre.className&&(u.textClass=as(u.pre.className,u.textClass||"")),u}function Wi(e){var n=Ce("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),he&&xe<9&&($=!0),e.pos+=n.length;else{ke=document.createDocumentFragment();for(var qe=0;;){j.lastIndex=qe;var Ee=j.exec(n),Ft=Ee?Ee.index-qe:n.length-qe;if(Ft){var yr=document.createTextNode(k.slice(qe,qe+Ft));he&&xe<9?ke.appendChild(Ce("span",[yr])):ke.appendChild(yr),e.map.push(e.pos,e.pos+Ft,yr),e.col+=Ft,e.pos+=Ft}if(!Ee)break;qe+=Ft+1;var fr=void 0;if(Ee[0]==" "){var $r=e.cm.options.tabSize,pn=$r-e.col%$r;fr=ke.appendChild(Ce("span",rn(pn),"cm-tab")),fr.setAttribute("role","presentation"),fr.setAttribute("cm-text"," "),e.col+=pn}else Ee[0]=="\r"||Ee[0]==`
5
+ `?(fr=ke.appendChild(Ce("span",Ee[0]=="\r"?"␍":"␤","cm-invalidchar")),fr.setAttribute("cm-text",Ee[0]),e.col+=1):(fr=e.cm.options.specialCharPlaceholder(Ee[0]),fr.setAttribute("cm-text",Ee[0]),he&&xe<9?ke.appendChild(Ce("span",[fr])):ke.appendChild(fr),e.col+=1);e.map.push(e.pos,e.pos+1,fr),e.pos++}}if(e.trailingSpace=k.charCodeAt(n.length-1)==32,o||u||p||$||D||E){var Gn=o||"";u&&(Gn+=u),p&&(Gn+=p);var kn=Ce("span",[ke],Gn,D);if(E)for(var le in E)E.hasOwnProperty(le)&&le!="style"&&le!="class"&&kn.setAttribute(le,E[le]);return e.content.appendChild(kn)}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,Ee=0;Ee<n.length&&(qe=n[Ee],!(qe.to>$&&qe.from<=$));Ee++);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,Ee,Ft=0,yr,fr,$r,pn,Gn;;){if(Ft==j){yr=fr=$r=Ee="",Gn=null,pn=null,Ft=1/0;for(var kn=[],le=void 0,wt=0;wt<u.length;++wt){var Kr=u[wt],Bn=Kr.marker;if(Bn.type=="bookmark"&&Kr.from==j&&Bn.widgetNode)kn.push(Bn);else if(Kr.from<=j&&(Kr.to==null||Kr.to>j||Bn.collapsed&&Kr.to==j&&Kr.from==j)){if(Kr.to!=null&&Kr.to!=j&&Ft>Kr.to&&(Ft=Kr.to,fr=""),Bn.className&&(yr+=" "+Bn.className),Bn.css&&(Ee=(Ee?Ee+";":"")+Bn.css),Bn.startStyle&&Kr.from==j&&($r+=" "+Bn.startStyle),Bn.endStyle&&Kr.to==Ft&&(le||(le=[])).push(Bn.endStyle,Kr.to),Bn.title&&((Gn||(Gn={})).title=Bn.title),Bn.attributes)for(var Ii in Bn.attributes)(Gn||(Gn={}))[Ii]=Bn.attributes[Ii];Bn.collapsed&&(!pn||Uo(pn.marker,Bn)<0)&&(pn=Kr)}else Kr.from>j&&Ft>Kr.from&&(Ft=Kr.from)}if(le)for(var As=0;As<le.length;As+=2)le[As+1]==Ft&&(fr+=" "+le[As]);if(!pn||pn.from==j)for(var Li=0;Li<kn.length;++Li)Os(n,0,kn[Li]);if(pn&&(pn.from||0)==j){if(Os(n,(pn.to==null?k+1:pn.to)-j,pn.marker,pn.from==null),pn.to==null)return;pn.to==j&&(pn=!1)}}if(j>=k)break;for(var Vs=Math.min(k,Ft);;){if(ke){var Bs=j+ke.length;if(!pn){var fi=Bs>Vs?ke.slice(0,Vs-j):ke;n.addToken(n,fi,qe?qe+yr:yr,$r,j+fi.length==Ft?fr:"",Ee,Gn)}if(Bs>=Vs){ke=ke.slice(Vs-j),j=Vs;break}j=Bs,$r=""}ke=p.slice(D,D=o[$++]),qe=js(o[$++],n.cm.options)}}}function Ps(e,n,o){this.line=n,this.rest=sn(n),this.size=this.rest?Mi(Gr(this.rest))-o+1:1,this.node=this.text=null,this.hidden=Yn(e,n)}function Gi(e,n,o){for(var u=[],p,D=n;D<o;D=p){var E=new Ps(e.doc,cn(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 Dt(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 bt(e,n){var o=e.ownsGroup;if(!!o)try{Dt(o)}finally{ce=null,n(o)}}var zt=null;function Ze(e,n){var o=Vn(e,n);if(!!o.length){var u=Array.prototype.slice.call(arguments,2),p;ce?p=ce.delayedCallbacks:zt?p=zt:(p=zt=[],setTimeout(mt,0));for(var D=function(k){p.push(function(){return o[k].apply(null,u)})},E=0;E<o.length;++E)D(E)}}function mt(){var e=zt;zt=null;for(var n=0;n<e.length;++n)e[n]()}function ur(e,n,o,u){for(var p=0;p<n.changes.length;p++){var D=n.changes[p];D=="text"?_t(e,n):D=="gutter"?Ur(e,n,o,u):D=="class"?sr(e,n):D=="widget"&&Er(e,n,u)}n.changes=null}function It(e){return e.node==e.text&&(e.node=Ce("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),he&&xe<8&&(e.node.style.zIndex=2)),e.node}function vn(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=It(n);n.background=u.insertBefore(Ce("div",null,o),u.firstChild),e.display.input.setUneditable(n.background)}}function ot(e,n){var o=e.display.externalMeasured;return o&&o.line==n.line?(e.display.externalMeasured=null,n.measure=o.measure,o.built):Hi(e,n)}function _t(e,n){var o=n.text.className,u=ot(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,sr(e,n)):o&&(n.text.className=o)}function sr(e,n){vn(e,n),n.line.wrapClass?It(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 Ur(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=It(n);n.gutterBackground=Ce("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=It(n),k=n.gutter=Ce("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(Ce("div",rt(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(Ce("div",[ke],"CodeMirror-gutter-elt","left: "+u.gutterLeft[$]+"px; width: "+u.gutterWidth[$]+"px"))}}}function Er(e,n,o){n.alignable&&(n.alignable=null);for(var u=Sn("CodeMirror-linewidget"),p=n.node.firstChild,D=void 0;p;p=D)D=p.nextSibling,u.test(p.className)&&n.node.removeChild(p);Un(e,n,o)}function Rr(e,n,o,u){var p=ot(e,n);return n.text=n.node=p.pre,p.bgClass&&(n.bgClass=p.bgClass),p.textClass&&(n.textClass=p.textClass),sr(e,n),Ur(e,n,o,u),Un(e,n,u),n.node}function Un(e,n,o){if(tn(e,n.line,n,o,!0),n.rest)for(var u=0;u<n.rest.length;u++)tn(e,n.rest[u],n,o,!1)}function tn(e,n,o,u,p){if(!!n.widgets)for(var D=It(o),E=0,k=n.widgets;E<k.length;++E){var j=k[E],$=Ce("div",[j.node],"CodeMirror-linewidget"+(j.className?" "+j.className:""));j.handleMouseEvents||$.setAttribute("cm-ignore-events","true"),Hr(j,$,o,u),e.display.input.setUneditable($),p&&j.above?D.insertBefore($,o.gutter||o.text):D.appendChild($),Ze(j,"redraw")}}function Hr(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(!Tn(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;"),bn(n.display.measure,Ce("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function In(e,n){for(var o=Rt(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 Zr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Si(e){if(e.cachedPaddingH)return e.cachedPaddingH;var n=bn(e.measure,Ce("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 qi(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&&qi(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 pt(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(Mi(e.rest[p])>o)return{map:e.measure.maps[p],cache:e.measure.caches[p],before:!0}}}function Br(e,n){n=fn(n);var o=Mi(n),u=e.display.externalMeasured=new Ps(e.doc,n,o);u.lineN=o;var p=u.built=Hi(e,u);return u.text=p.pre,bn(e.display.lineMeasure,p.pre),u}function nr(e,n,o,u){return Ji(e,Ri(e,n),o,u)}function gn(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 Ri(e,n){var o=Mi(n),u=gn(e,o);u&&!u.text?u=null:u&&u.changes&&(ur(e,u,o,qo(e)),e.curOp.forceUpdate=!0),u||(u=Br(e,n));var p=pt(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&&Qi(n.line.text.charAt(p.coverStart+E));)--E;for(;p.coverStart+k<p.coverEnd&&Qi(n.line.text.charAt(p.coverStart+k));)++k;if(he&&xe<9&&E==0&&k==p.coverEnd-p.coverStart?$=D.parentNode.getBoundingClientRect():$=na(or(D,E,k).getClientRects(),u),$.left||$.right||E==0)break;k=E,E=E-1,j="right"}he&&xe<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(he&&xe<9&&!E&&(!$||!$.left&&!$.right)){var Ee=D.parentNode.getClientRects()[0];Ee?$={left:Ee.left,right:Ee.left+uo(e.display),top:Ee.top,bottom:Ee.bottom}:$=Js}for(var Ft=$.top-n.rect.top,yr=$.bottom-n.rect.top,fr=(Ft+yr)/2,$r=n.view.measure.heights,pn=0;pn<$r.length-1&&!(fr<$r[pn]);pn++);var Gn=pn?$r[pn-1]:0,kn=$r[pn],le={left:(j=="right"?$.right:$.left)-n.rect.left,right:(j=="left"?$.left:$.right)-n.rect.left,top:Gn,bottom:kn};return!$.left&&!$.right&&(le.bogus=!0),e.options.singleCursorHeightPerLine||(le.rtop=Ft,le.rbottom=yr),le}function la(e,n){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ir(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,pr(e.display.lineMeasure);for(var n=0;n<e.display.view.length;n++)Rs(e.display.view[n])}function Dn(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 Hn(e){return tt&&Mt?-(e.body.getBoundingClientRect().left-parseInt(getComputedStyle(e.body).marginLeft)):e.defaultView.pageXOffset||(e.documentElement||e.body).scrollLeft}function hi(e){return tt&&Mt?-(e.body.getBoundingClientRect().top-parseInt(getComputedStyle(e.body).marginTop)):e.defaultView.pageYOffset||(e.documentElement||e.body).scrollTop}function ii(e){var n=fn(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 si(e,n,o,u,p){if(!p){var D=ii(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:Hn(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-=Hn(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=cn(e.doc,n.line)),si(e,u,nr(e,u,n.ch,p),o)}function bs(e,n,o,u,p,D){u=u||cn(e.doc,n.line),p||(p=Ri(e,u));function E(yr,fr){var $r=Ji(e,p,yr,fr?"right":"left",D);return fr?$r.left=$r.right:$r.right=$r.left,si(e,u,$r,o)}var k=Dr(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(yr,fr,$r){var pn=k[fr],Gn=pn.level==1;return E($r?yr-1:yr,Gn!=$r)}var qe=xr(k,j,$),Ee=Wn,Ft=ke(j,qe,$=="before");return Ee!=null&&(Ft.other=ke(j,Ee,$!="before")),Ft}function aa(e,n){var o=0;n=Bi(e.doc,n),e.options.lineWrapping||(o=uo(e.display)*n.ch);var u=cn(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=ft(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,cn(u,D).text.length,null,1,1);n<0&&(n=0);for(var E=cn(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=cn(u,p=$.line)}}function Ka(e,n,o,u){u-=ii(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=Ri(e,n));var p=si(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=Ri(e,n),E=ii(n),k=0,j=n.text.length,$=!0,ke=Dr(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 Ee=null,Ft=null,yr=os(function(wt){var Kr=Ji(e,D,wt);return Kr.top+=E,Kr.bottom+=E,Po(Kr,u,p,!1)?(Kr.top<=p&&Kr.left<=u&&(Ee=wt,Ft=Kr),!0):!1},k,j),fr,$r,pn=!1;if(Ft){var Gn=u-Ft.left<Ft.right-u,kn=Gn==$;yr=Ee+(kn?0:1),$r=kn?"after":"before",fr=Gn?Ft.left:Ft.right}else{!$&&(yr==j||yr==k)&&yr++,$r=yr==0?"after":yr==n.text.length?"before":Ji(e,D,yr-($?1:0)).bottom+E<=p==$?"after":"before";var le=bs(e,ft(o,yr,$r),"line",n,D);fr=le.left,pn=p<le.top?-1:p>=le.bottom?1:0}return yr=Ds(n.text,yr,1),Fo(o,yr,$r,pn,u-fr)}function Ba(e,n,o,u,p,D,E){var k=os(function(qe){var Ee=p[qe],Ft=Ee.level!=1;return Po(bs(e,ft(o,Ft?Ee.to:Ee.from,Ft?"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,ft(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,Ee=0;Ee<p.length;Ee++){var Ft=p[Ee];if(!(Ft.from>=$||Ft.to<=j)){var yr=Ft.level!=1,fr=Ji(e,u,yr?Math.min($,Ft.to)-1:Math.max(j,Ft.from)).right,$r=fr<D?D-fr+1e9:fr-D;(!ke||qe>$r)&&(ke=Ft,qe=$r)}}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=Ce("pre",null,"CodeMirror-line-like");for(var n=0;n<49;++n)Ho.appendChild(document.createTextNode("x")),Ho.appendChild(Ce("br"));Ho.appendChild(document.createTextNode("x"))}bn(e.measure,Ho);var o=Ho.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),pr(e.measure),o||1}function uo(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var n=Ce("span","xxxxxxxxxx"),o=Ce("pre",[n],"CodeMirror-line-like");bn(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(Yn(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&&Rt(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&&($=cn(e.doc,j.line).text).length==j.ch){var ke=gr($,$.length,e.options.tabSize)-$.length;j=ft(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&&an(e.doc,n)<p.viewTo&&Ia(e);else if(o<=p.viewFrom)Ha&&ri(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=[]);jn(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(;an(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(Ce("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(Ce("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,qi(e)-u.sizer.offsetLeft)-E.right,$=p.direction=="ltr";function ke(kn,le,wt,Kr){le<0&&(le=0),le=Math.round(le),Kr=Math.round(Kr),D.appendChild(Ce("div",null,"CodeMirror-selected","position: absolute; left: "+kn+`px;
6
+ top: `+le+"px; width: "+(wt??j-kn)+`px;
7
+ height: `+(Kr-le)+"px"))}function qe(kn,le,wt){var Kr=cn(p,kn),Bn=Kr.text.length,Ii,As;function Li(fi,Fi){return ps(e,ft(kn,fi),"div",Kr,Fi)}function Vs(fi,Fi,fa){var Da=ru(e,Kr,null,fi),da=Fi=="ltr"==(fa=="after")?"left":"right",Zs=fa=="after"?Da.begin:Da.end-(/\s/.test(Kr.text.charAt(Da.end-1))?2:1);return Li(Zs,da)[da]}var Bs=Dr(Kr,p.direction);return ta(Bs,le||0,wt??Bn,function(fi,Fi,fa,Da){var da=fa=="ltr",Zs=Li(fi,da?"left":"right"),to=Li(Fi-1,da?"right":"left"),Kl=le==null&&fi==0,Wu=wt==null&&Fi==Bn,Pa=Da==0,dl=!Bs||Da==Bs.length-1;if(to.top-Zs.top<=3){var za=($?Kl:Wu)&&Pa,qp=($?Wu:Kl)&&dl,Bl=za?k:(da?Zs:to).left,ac=qp?j:(da?to:Zs).right;ke(Bl,Zs.top,ac-Bl,Zs.bottom)}else{var oc,bo,yc,Wp;da?(oc=$&&Kl&&Pa?k:Zs.left,bo=$?j:Vs(fi,fa,"before"),yc=$?k:Vs(Fi,fa,"after"),Wp=$&&Wu&&dl?j:to.right):(oc=$?Vs(fi,fa,"before"):k,bo=!$&&Kl&&Pa?j:Zs.right,yc=!$&&Wu&&dl?k:to.left,Wp=$?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,Wp-yc,to.bottom)}(!Ii||Bo(Zs,Ii)<0)&&(Ii=Zs),Bo(to,Ii)<0&&(Ii=to),(!As||Bo(Zs,As)<0)&&(As=Zs),Bo(to,As)<0&&(As=to)}),{start:Ii,end:As}}var Ee=n.from(),Ft=n.to();if(Ee.line==Ft.line)qe(Ee.line,Ee.ch,Ft.ch);else{var yr=cn(p,Ee.line),fr=cn(p,Ft.line),$r=fn(yr)==fn(fr),pn=qe(Ee.line,Ee.ch,$r?yr.text.length+1:null).end,Gn=qe(Ft.line,$r?0:null,Ft.ch).start;$r&&(pn.top<Gn.top-2?(ke(pn.right,pn.top,null,pn.bottom),ke(k,Gn.top,Gn.left,Gn.bottom)):ke(pn.right,pn.top,Gn.left-pn.right,pn.bottom)),pn.bottom<Gn.top&&ke(k,pn.bottom,null,Gn.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||(_n(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(),Te&&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&&(_n(e,"blur",e,n),e.state.focused=!1,oi(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,he&&xe<8){var qe=k.node.offsetTop+k.node.offsetHeight;$=qe-o,o=qe}else{var Ee=k.node.getBoundingClientRect();$=Ee.bottom-Ee.top,!j&&k.text.firstChild&&(ke=k.text.firstChild.getBoundingClientRect().right-Ee.left-1)}var Ft=k.line.height-$;if((Ft>.005||Ft<-.005)&&(p<u&&(D-=Ft),ws(k.line,$),gu(k.line),k.rest))for(var yr=0;yr<k.rest.length;yr++)gu(k.rest[yr]);if(ke>e.display.sizerWidth){var fr=Math.ceil(ke/uo(e.display));fr>e.display.maxLineLength&&(e.display.maxLineLength=fr,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(cn(n,k))+e.wrapper.clientHeight)):Math.min(j,n.lastLine())>=E&&(D=is(n,yi(cn(n,j))-e.wrapper.clientHeight),E=j)}return{from:D,to:Math.max(E,D+1)}}function tl(e,n){if(!hr(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&&!ht){var E=Ce("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 Ul(e,n,o,u){u==null&&(u=0);var p;!e.options.lineWrapping&&n==o&&(o=n.sticky=="before"?ft(n.line,n.ch+1,"before"):n,n=n.ch?ft(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 $=xl(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=xl(e,n);o.scrollTop!=null&&po(e,o.scrollTop),o.scrollLeft!=null&&Qa(e,o.scrollLeft)}function xl(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+Zr(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,Ee=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-qe,Ft=qi(e)-o.gutters.offsetWidth,yr=n.right-n.left>Ft;return yr&&(n.right=n.left+Ft),n.left<10?E.scrollLeft=0:n.left<Ee?E.scrollLeft=Math.max(0,n.left+qe-(yr?0:10)):n.right>Ft+Ee-3&&(E.scrollLeft=n.right+(yr?0:10)-Ft),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=xl(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}),Cl(e,n,!0),x&&Eu(e),Eo(e,100))}function Cl(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+Zr(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=Ce("div",[Ce("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),p=this.horiz=Ce("div",[Ce("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");u.tabIndex=p.tabIndex=-1,e(u),e(p),Bt(u,"scroll",function(){u.clientHeight&&n(u.scrollTop,"vertical")}),Bt(p,"scroll",function(){p.clientWidth&&n(p.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,he&&xe<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=Xr&&!Lr?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new un,this.disableVert=new un},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;El(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),El(e,ia(e)),o=e.display.barWidth,u=e.display.barHeight}function El(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 bl={native:Ma,null:Io};function Du(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&oi(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new bl[e.options.scrollbarStyle](function(n){e.display.wrapper.insertBefore(n,e.display.scrollbarFiller),Bt(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&&bt(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++)Hl(n[D]);for(var E=0;E<n.length;E++)Cu(n[E])}function nl(e){var n=e.cm,o=n.display;ql(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&&Al(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=nr(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-qi(n))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function Hl(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==ei(es(n));e.preparedSelection&&n.display.input.showSelection(e.preparedSelection,o),(e.updatedDisplay||e.startHeight!=n.doc.height)&&Co(n,e.barMeasure),e.updatedDisplay&&wl(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&&Cl(n,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&Qa(n,e.scrollLeft,!0,!0),e.scrollToPos){var p=Ul(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||_n(D[k],"hide");if(E)for(var j=0;j<E.length;++j)E[j].lines.length&&_n(E[j],"unhide");o.wrapper.offsetHeight&&(u.scrollTop=n.display.scroller.scrollTop),e.changeObjs&&_n(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,Ir(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?mn(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),Ee=0;!qe&&Ee<E.length;++Ee)qe=E[Ee]!=D.styles[Ee];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=qi(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++)_n.apply(null,this.events[e])};function ql(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=ei(es(e));if(!n||!Tn(e.display.lineDiv,n))return null;var o={activeElt:n};if(window.getSelection){var u=ts(e).getSelection();u.anchorNode&&u.extend&&Tn(e.display.lineDiv,u.anchorNode)&&(o.anchorNode=u.anchorNode,o.anchorOffset=u.anchorOffset,o.focusNode=u.focusNode,o.focusOffset=u.focusOffset)}return o}function Wl(e){if(!(!e||!e.activeElt||e.activeElt==ei(e.activeElt.ownerDocument))&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Tn(document.body,e.anchorNode)&&Tn(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 Al(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=an(e.doc,D),E=ri(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(cn(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,Wl($),pr(o.cursorDiv),pr(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==qi(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+Zr(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(!Al(e,n))break;Xa(e);var p=ia(e);ka(e),Co(e,p),wl(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(Al(e,o)){Xa(e),Jo(e,o);var u=ia(e);ka(e),Co(e,u),wl(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(yr){var fr=yr.nextSibling;return Te&&Xr&&e.display.currentWheelTarget==yr?yr.style.display="none":yr.parentNode.removeChild(yr),fr}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 Ee=Rr(e,qe,$,o);D.insertBefore(Ee,E)}else{for(;E!=qe.node;)E=k(E);var Ft=p&&n!=null&&n<=$&&qe.lineNumber;qe.changes&&(jn(qe.changes,"gutter")>-1&&(Ft=!1),ur(e,qe,$,o)),Ft&&(pr(qe.lineNumber),qe.lineNumber.appendChild(document.createTextNode(rt(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",Ze(e,"gutterChanged",e)}function wl(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=rt(e.options,n.first+n.size-1),u=e.display;if(o.length!=u.lineNumChars){var p=u.measure.appendChild(Ce("div",[Ce("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 Vl(e){var n=e.gutters,o=e.gutterSpecs;pr(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(Ce("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){Vl(e.display),pa(e),ol(e)}function Hu(e,n,o,u){var p=this;this.input=o,p.scrollbarFiller=Ce("div",null,"CodeMirror-scrollbar-filler"),p.scrollbarFiller.setAttribute("cm-not-content","true"),p.gutterFiller=Ce("div",null,"CodeMirror-gutter-filler"),p.gutterFiller.setAttribute("cm-not-content","true"),p.lineDiv=en("div",null,"CodeMirror-code"),p.selectionDiv=Ce("div",null,null,"position: relative; z-index: 1"),p.cursorDiv=Ce("div",null,"CodeMirror-cursors"),p.measure=Ce("div",null,"CodeMirror-measure"),p.lineMeasure=Ce("div",null,"CodeMirror-measure"),p.lineSpace=en("div",[p.measure,p.lineMeasure,p.selectionDiv,p.cursorDiv,p.lineDiv],null,"position: relative; outline: none");var D=en("div",[p.lineSpace],"CodeMirror-lines");p.mover=Ce("div",[D],null,"position: relative"),p.sizer=Ce("div",[p.mover],"CodeMirror-sizer"),p.sizerWidth=null,p.heightForcer=Ce("div",null,null,"position: absolute; height: "+ci+"px; width: 1px;"),p.gutters=Ce("div",null,"CodeMirror-gutters"),p.lineGutter=null,p.scroller=Ce("div",[p.sizer,p.heightForcer,p.gutters],"CodeMirror-scroll"),p.scroller.setAttribute("tabIndex","-1"),p.wrapper=Ce("div",[p.scrollbarFiller,p.gutterFiller,p.scroller],"CodeMirror"),tt&&xt>=105&&(p.wrapper.style.clipPath="inset(0px)"),p.wrapper.setAttribute("translate","no"),he&&xe<8&&(p.gutters.style.zIndex=-1,p.scroller.style.paddingRight=0),!Te&&!(x&&mr)&&(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),Vl(p),o.init(p)}var Xo=0,ha=null;he?ha=-.53:x?ha=15:tt?ha=-.7:$t&&(ha=-1/3);function Tl(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=Tl(e);return n.x*=ha,n.y*=ha,n}function Gl(e,n){tt&&xt==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=Tl(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&&Xr&&Te){e:for(var ke=n.target,qe=E.view;ke!=k;ke=ke.parentNode)for(var Ee=0;Ee<qe.length;Ee++)if(qe[Ee].node==ke){e.display.currentWheelTarget=ke;break e}}if(u&&!x&&!Ht&&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 Ft=p*D,yr=e.doc.scrollTop,fr=yr+E.wrapper.clientHeight;Ft<0?yr=Math.max(0,yr+Ft-50):fr=Math.min(e.doc.height,fr+Ft+50),Eu(e,{top:yr,bottom:fr})}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 $r=k.scrollLeft-E.wheelStartX,pn=k.scrollTop-E.wheelStartY,Gn=pn&&E.wheelDY&&pn/E.wheelDY||$r&&E.wheelDX&&$r/E.wheelDX;E.wheelStartX=E.wheelStartY=null,Gn&&(ha=(ha*Xo+Gn)/(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(cr(n,u.from())>=0&&cr(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(Ee,Ft){return cr(Ee.from(),Ft.from())}),o=jn(n,p);for(var D=1;D<n.length;D++){var E=n[D],k=n[D-1],j=cr(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?ft(e.from.line+e.text.length-1,Gr(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function cl(e,n){if(cr(e,n.from)<0)return e;if(cr(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),ft(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?ft(o.line,e.ch-n.ch+o.ch):ft(o.line+(e.line-n.line),e.ch)}function nu(e,n,o){for(var u=[],p=ft(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=cr(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 Sl(e){e.doc.mode=An(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&&Gr(n.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function qu(e,n,o,u){function p(Gn){return o?o[Gn]:null}function D(Gn,kn,le){ji(Gn,kn,le,u),Ze(Gn,"change",Gn,n)}function E(Gn,kn){for(var le=[],wt=Gn;wt<kn;++wt)le.push(new Mn($[wt],p(wt),u));return le}var k=n.from,j=n.to,$=n.text,ke=cn(e,k.line),qe=cn(e,j.line),Ee=Gr($),Ft=p($.length-1),yr=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 fr=E(0,$.length-1);D(qe,qe.text,Ft),yr&&e.remove(k.line,yr),fr.length&&e.insert(k.line,fr)}else if(ke==qe)if($.length==1)D(ke,ke.text.slice(0,k.ch)+Ee+ke.text.slice(j.ch),Ft);else{var $r=E(1,$.length-1);$r.push(new Mn(Ee+ke.text.slice(j.ch),Ft,u)),D(ke,ke.text.slice(0,k.ch)+$[0],p(0)),e.insert(k.line+1,$r)}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,yr);else{D(ke,ke.text.slice(0,k.ch)+$[0],p(0)),D(qe,Ee+qe.text.slice(j.ch),Ft);var pn=E(1,$.length-1);yr>1&&e.remove(k.line+1,yr-1),e.insert(k.line+1,pn)}Ze(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 Fl(e,n){if(n.cm)throw new Error("This document is already in use.");e.doc=n,n.cm=e,Lu(e),Sl(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:oi)(e.display.lineDiv,"CodeMirror-rtl")}function kl(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 be(e,o,n.from.line,n.to.line+1),eo(e,function(u){return be(u,o,n.from.line,n.to.line+1)},!0),o}function te(e){for(;e.length;){var n=Gr(e);if(n.ranges)e.pop();else break}}function X(e,n){if(n)return te(e.done),Gr(e.done);if(e.done.length&&!Gr(e.done).ranges)return Gr(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Gr(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=Gr(E.changes),cr(n.from,n.to)==0&&cr(n.from,k.to)==0?k.to=ba(n):E.changes.push(w(e,n));else{var j=Gr(p.done);for((!j||!j.ranges)&&ye(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||_n(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 ve(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,Gr(p.done),n))?p.done[p.done.length-1]=n:ye(n,p.done),p.lastSelTime=+new Date,p.lastSelOrigin=D,p.lastSelOp=o,u&&u.clearRedo!==!1&&te(p.undone)}function ye(e,n){var o=Gr(n);o&&o.ranges&&o.equals(e)||n.push(e)}function be(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+)$/))&&jn(n,Number(ke[1]))>-1&&(Gr(k)[qe]=$[qe],delete $[qe])}}return u}function Z(e,n,o,u){if(u){var p=e.anchor;if(o){var D=cr(n,p)<0;D!=cr(o,p)<0?(p=n,n=o):D!=cr(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)),lt(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);lt(e,E,o)}function we(e,n,o,u){var p=e.sel.ranges.slice(0);p[n]=o,lt(e,$a(e.cm,p,e.sel.primIndex),u)}function Ge(e,n,o,u){lt(e,ho(n,o),u)}function Ve(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 _n(e,"beforeSelectionChange",e,u),e.cm&&_n(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=Gr(u);p&&p.ranges?(u[u.length-1]=n,Ct(e,n,o)):lt(e,n,o)}function lt(e,n,o){Ct(e,n,o),ve(e,e.sel,e.cm?e.cm.curOp.id:NaN,o)}function Ct(e,n,o){(Me(e,"beforeSelectionChange")||e.cm&&Me(e.cm,"beforeSelectionChange"))&&(n=Ve(e,n,o));var u=o&&o.bias||(cr(n.primary().head,e.sel.primary().head)<0?-1:1);Gt(e,Rn(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,Nt(e.cm)),Ze(e,"cursorActivity",e))}function hn(e){Gt(e,Rn(e,e.sel,null,!1))}function Rn(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 $n(e,n,o,u,p){var D=cn(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&&(_n(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),Ee=void 0;if((u<0?ke:$)&&(qe=li(e,qe,-u,qe&&qe.line==n.line?D:null)),qe&&qe.line==n.line&&(Ee=cr(qe,o))&&(u<0?Ee<0:Ee>0))return $n(e,qe,n,u,p)}var Ft=j.find(u<0?-1:1);return(u<0?$:ke)&&(Ft=li(e,Ft,u,Ft.line==n.line?D:null)),Ft?$n(e,Ft,n,u,p):null}}return n}function Di(e,n,o,u,p){var D=u||1,E=$n(e,n,o,D,p)||!p&&$n(e,n,o,D,!0)||$n(e,n,o,-D,p)||!p&&$n(e,n,o,-D,!0);return E||(e.cantEdit=!0,ft(e.first,0))}function li(e,n,o,u){return o<0&&n.ch==0?n.line>e.first?Bi(e,ft(n.line-1)):null:o>0&&n.ch==(u||cn(e,n.line)).text.length?n.line<e.first+e.size-1?ft(n.line+1,0):null:new ft(n.line,n.ch+o)}function on(e){e.setSelection(ft(e.firstLine(),0),ft(e.lastLine()),Je)}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)}),_n(e,"beforeChange",e,u),e.cm&&_n(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)wn(e,{from:u[p].from,to:u[p].to,text:p?[""]:n.text,origin:n.origin});else wn(e,n)}}function wn(e,n){if(!(n.text.length==1&&n.text[0]==""&&cr(n.from,n.to)==0)){var o=pl(e,n);Y(e,n,o,e.cm?e.cm.curOp.id:NaN),Or(e,n,o,qa(e,n));var u=[];eo(e,function(p,D){!D&&jn(u,p.history)==-1&&($i(p.history,n),u.push(p.history)),Or(p,n,null,qa(p,n))})}}function Wr(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(ye(D,j),o&&!D.equals(e.sel)){lt(e,D,{clearRedo:!1});return}E=D}else if(u){k.push(D);return}else break;var ke=[];ye(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"),Ee=function(fr){var $r=D.changes[fr];if($r.origin=n,qe&&!Ei(e,$r,!1))return k.length=0,{};ke.push(w(e,$r));var pn=fr?pl(e,$r):Gr(k);Or(e,$r,pn,F(e,$r)),!fr&&e.cm&&e.cm.scrollIntoView({from:$r.from,to:ba($r)});var Gn=[];eo(e,function(kn,le){!le&&jn(Gn,kn.history)==-1&&($i(kn.history,$r),Gn.push(kn.history)),Or(kn,$r,null,F(kn,$r))})},Ft=D.changes.length-1;Ft>=0;--Ft){var yr=Ee(Ft);if(yr)return yr.v}}}}function yn(e,n){if(n!=0&&(e.first+=n,e.sel=new Ra(ln(e.sel.ranges,function(p){return new Es(ft(p.anchor.line+n,p.anchor.ch),ft(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 Or(e,n,o,u){if(e.cm&&!e.cm.curOp)return sa(e.cm,Or)(e,n,o,u);if(n.to.line<e.first){yn(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);yn(e,p),n={from:ft(e.first,0),to:ft(n.to.line+p,n.to.ch),text:[Gr(n.text)],origin:n.origin}}var D=e.lastLine();n.to.line>D&&(n={from:n.from,to:ft(D,cn(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),Ct(e,o,Je),e.cantEdit&&Di(e,ft(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=Mi(fn(cn(u,D.line))),u.iter(j,E.line+1,function(Ft){if(Ft==p.maxLine)return k=!0,!0})),u.sel.contains(n.from,n.to)>-1&&Nt(e),qu(u,n,o,vo(e)),e.options.lineWrapping||(u.iter(j,D.line+n.text.length,function(Ft){var yr=Ki(Ft);yr>p.maxLineLength&&(p.maxLine=Ft,p.maxLineLength=yr,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 Ee={from:D,to:E,text:n.text,removed:n.removed,origin:n.origin};qe&&Ze(e,"change",e,Ee),ke&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(Ee)}e.display.selForContextMenu=null}function Xi(e,n,o,u,p){var D;u||(u=o),cr(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 Oi(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=ft($.from.line+u,$.from.ch),$.to=ft($.to.line+u,$.to.ch);else if(n<=$.to.line){E=!1;break}}E||(e.splice(0,p+1),p=0)}}function $i(e,n){var o=n.from.line,u=n.to.line,p=n.text.length-(u-o)-1;Oi(e.done,o,u,p),Oi(e.undone,o,u,p)}function Qn(e,n,o,u){var p=n,D=n;return typeof n=="number"?D=cn(e,ks(e,n)):p=Mi(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),Ze(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=jn(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=Mi(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")}),Ze(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||(Yn(this.doc,u)||ws(u,u.height+p),o&&Xs(o,function(){o.curOp.forceUpdate=!0,Wt(o,u,p),Ze(o,"lineWidgetChanged",o,e,Mi(u))}))},St(Ti);function Wt(e,n,o){yi(n)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&ju(e,o)}function br(e,n,o,u){var p=new Ti(e,o,u),D=e.cm;return D&&p.noHScroll&&(D.display.alignWidgets=!0),Qn(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&&!Yn(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&&Ze(D,"lineWidgetAdded",D,p,typeof n=="number"?n:Mi(n)),p}var kr=0,Nn=function(e,n){this.lines=[],this.type=n,this.doc=e,this.id=++kr};Nn.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&&Ze(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,Mi(E),"text"):e&&(k.to!=null&&(p=Mi(E)),k.from!=null&&(u=Mi(E))),E.markedSpans=va(E.markedSpans,k),k.from==null&&this.collapsed&&!Yn(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 $=fn(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&&hn(e.doc)),e&&Ze(e,"markerCleared",e,this,u,p),n&&ja(e),this.parent&&this.parent.clear()}},Nn.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=ft(n?D:Mi(D),E.from),e==-1))return o;if(E.to!=null&&(u=ft(n?D:Mi(D),E.to),e==1))return u}return o&&{from:o,to:u}},Nn.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=Mi(n.line),E=gn(u,D);if(E&&(Rs(E),u.curOp.selectionChanged=u.curOp.forceUpdate=!0),u.curOp.updateMaxLine=!0,!Yn(o.doc,p)&&o.height!=null){var k=o.height;o.height=null;var j=pi(o)-k;j&&ws(p,p.height+j)}Ze(u,"markerChanged",u,e)})},Nn.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var n=this.doc.cm.curOp;(!n.maybeHiddenMarkers||jn(n.maybeHiddenMarkers,this)==-1)&&(n.maybeUnhiddenMarkers||(n.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Nn.prototype.detachLine=function(e){if(this.lines.splice(jn(this.lines,e),1),!this.lines.length&&this.doc.cm){var n=this.doc.cm.curOp;(n.maybeHiddenMarkers||(n.maybeHiddenMarkers=[])).push(this)}},St(Nn);function Ot(e,n,o,u,p){if(u&&u.shared)return Xn(e,n,o,u,p);if(e.cm&&!e.cm.curOp)return sa(e.cm,Ot)(e,n,o,u,p);var D=new Nn(e,p),E=cr(n,o);if(u&&jr(u,D,!1),E>0||E==0&&D.clearWhenEmpty!==!1)return D;if(D.replacedWith&&(D.collapsed=!0,D.widgetNode=en("span",[D.replacedWith],"CodeMirror-widget"),u.handleMouseEvents||D.widgetNode.setAttribute("cm-ignore-events","true"),u.insertLeft&&(D.widgetNode.insertLeft=!0)),D.collapsed){if(ti(e,n.line,n,o,D)||n.line!=o.line&&ti(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&&fn(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){Yn(e,qe)&&ws(qe,0)}),D.clearOnEnter&&Bt(D,"beforeCursorEnter",function(){return D.clear()}),D.readOnly&&(vl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),D.collapsed&&(D.id=++kr,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&&hn(j.doc),Ze(j,"markerAdded",j,D)}return D}var ni=function(e,n){this.markers=e,this.primary=n;for(var o=0;o<e.length;++o)e[o].parent=this};ni.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Ze(this,"clear")}},ni.prototype.find=function(e,n){return this.primary.find(e,n)},St(ni);function Xn(e,n,o,u,p){u=jr(u),u.shared=!1;var D=[Ot(e,n,o,u,p)],E=D[0],k=u.widgetNode;return eo(e,function(j){k&&(u.widgetNode=k.cloneNode(!0)),D.push(Ot(j,Bi(j,n),Bi(j,o),u,p));for(var $=0;$<j.linked.length;++$)if(j.linked[$].isParent)return;E=Gr(D)}),new ni(D,E)}function Ys(e){return e.findMarks(ft(e.first,0),e.clipPos(ft(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(cr(D,E)){var k=Ot(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];jn(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 Mn("",null)])]),this.first=o,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=o;var D=ft(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}),lt(this,ho(D),Je)};gs.prototype=At(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=ft(this.first,0),o=this.first+this.size-1;mi(this,{from:n,to:ft(o,cn(this,o).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&ga(this.cm,0,0),lt(this,ho(n),Je)}),replaceRange:function(e,n,o,u){n=Bi(this,n),o=o?Bi(this,o):n,Xi(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(ge(this,e))return cn(this,e)},getLineNumber:function(e){return Mi(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=cn(this,e)),fn(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){Ge(this,Bi(this,typeof e=="number"?ft(e,n||0):e),null,o)}),setSelection:$s(function(e,n,o){Ge(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=ln(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)),lt(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))),lt(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(){Wr(this,"undo")}),redo:$s(function(){Wr(this,"redo")}),undoSelection:$s(function(){Wr(this,"undo",!0)}),redoSelection:$s(function(){Wr(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 Qn(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]&&Qn(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(!ge(this,e)||(n=e,e=cn(this,e),!e))return null}else if(n=Mi(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 Qn(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(Sn(o).test(u[p]))return!1;u[p]+=" "+o}return!0})}),removeLineClass:$s(function(e,n,o){return Qn(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(Sn(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 br(this,e,n,o)}),removeLineWidget:function(e){e.clear()},markText:function(e,n,o){return Ot(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),Ot(this,e,e,o,"bookmark")},findMarksAt:function(e){e=Bi(this,e);var n=[],o=cn(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,ft(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&&kl(this.cm))})}),gs.prototype.eachLine=gs.prototype.iter;var Us=0;function Aa(e){var n=this;if(ya(n),!(hr(n,e)||In(n.display,e))){jt(e),he&&(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 Ft={from:o,to:o,text:n.doc.splitLines(D.filter(function(yr){return yr!=null}).join(n.doc.lineSeparator())),origin:"paste"};mi(n.doc,Ft),Ne(n.doc,ho(Bi(n.doc,o),Bi(n.doc,ba(Ft))))})()},j=function(Ft,yr){if(n.options.allowDropFileTypes&&jn(n.options.allowDropFileTypes,Ft.type)==-1){k();return}var fr=new FileReader;fr.onerror=function(){return k()},fr.onload=function(){var $r=fr.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test($r)){k();return}D[yr]=$r,k()},fr.readAsText(Ft)},$=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()),Ct(n.doc,ho(o,o)),qe)for(var Ee=0;Ee<qe.length;++Ee)Xi(n.doc,"",qe[Ee].anchor,qe[Ee].head,"drag");n.replaceSelection(ke,"around","paste"),n.display.input.focus()}}catch{}}}}function ua(e,n){if(he&&(!e.state.draggingText||+new Date-Us<100)){Sr(n);return}if(!(hr(e,n)||In(e.display,n))&&(n.dataTransfer.setData("Text",e.getSelection()),n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setDragImage&&!$t)){var o=Ce("img",null,null,"position: fixed; left: 0; top: 0;");o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Ht&&(o.width=o.height=1,e.display.wrapper.appendChild(o),o._top=o.offsetTop),n.dataTransfer.setDragImage(o,0,0),Ht&&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=Ce("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),bn(e.display.dragCursor,u)}}function ya(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Pl(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;Bt(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Pl(Mc)},100))}),Bt(window,"blur",function(){return Pl(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"},Nl=0;Nl<10;Nl++)mo[Nl+48]=mo[Nl+96]=String(Nl);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=Xr?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=ln(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),(Jn?n.metaKey:n.ctrlKey)&&u!="Ctrl"&&(e="Ctrl-"+e),(Jn?n.ctrlKey:n.metaKey)&&u!="Mod"&&(e="Cmd-"+e),!o&&n.shiftKey&&u!="Shift"&&(e="Shift-"+e),e}function f(e,n){if(Ht&&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&&cr(D.from,Gr(u).to)<=0;){var E=u.pop();if(cr(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--)Xi(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 ft(n.line,u,o<0?"after":"before")}function C(e,n,o,u,p){if(e){n.doc.direction=="rtl"&&(p=-p);var D=Dr(o,n.doc.direction);if(D){var E=p<0?Gr(D):D[0],k=p<0==(E.level==1),j=k?"after":"before",$;if(E.level>0||n.doc.direction=="rtl"){var ke=Ri(n,o);$=p<0?o.text.length-1:0;var qe=Ji(n,ke,$).top;$=os(function(Ee){return Ji(n,ke,Ee).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 ft(u,$,j)}}return new ft(u,p<0?o.text.length:0,p<0?"before":"after")}function A(e,n,o,u){var p=Dr(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=xr(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(pn,Gn){return y(n,pn instanceof ft?pn.ch:pn,Gn)},j,$=function(pn){return e.options.lineWrapping?(j=j||Ri(e,n),ru(e,n,j,pn)):{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,Ee=k(o,qe?1:-1);if(Ee!=null&&(qe?Ee<=E.to&&Ee<=ke.end:Ee>=E.from&&Ee>=ke.begin)){var Ft=qe?"before":"after";return new ft(o.line,Ee,Ft)}}var yr=function(pn,Gn,kn){for(var le=function(Ii,As){return As?new ft(o.line,k(Ii,1),"before"):new ft(o.line,Ii,"after")};pn>=0&&pn<p.length;pn+=Gn){var wt=p[pn],Kr=Gn>0==(wt.level!=1),Bn=Kr?kn.begin:k(kn.end,-1);if(wt.from<=Bn&&Bn<wt.to||(Bn=Kr?wt.from:k(wt.to,-1),kn.begin<=Bn&&Bn<kn.end))return le(Bn,Kr)}},fr=yr(D+u,u,ke);if(fr)return fr;var $r=u>0?ke.end:k(ke.begin,-1);return $r!=null&&!(u>0&&$r==n.text.length)&&(fr=yr(u>0?0:p.length-1,u,$($r)),fr)?fr:null}var B={selectAll:on,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Je)},killLine:function(e){return d(e,function(n){if(n.empty()){var o=cn(e.doc,n.head.line).text.length;return n.head.ch==o&&n.head.line<e.lastLine()?{from:n.head,to:ft(n.head.line+1,0)}:{from:n.head,to:ft(n.head.line,o)}}else return{from:n.from(),to:n.to()}})},deleteLine:function(e){return d(e,function(n){return{from:ft(n.from().line,0),to:Bi(e.doc,ft(n.to().line+1,0))}})},delLineLeft:function(e){return d(e,function(n){return{from:ft(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(ft(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(ft(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")},Ar)},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")},Ar)},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},Ar)},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=gr(e.getLine(D.line),D.ch,u);n.push(rn(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=cn(e.doc,p.line).text;if(D){if(p.ch==D.length&&(p=new ft(p.line,p.ch-1)),p.ch>0)p=new ft(p.line,p.ch+1),e.replaceRange(D.charAt(p.ch-1)+D.charAt(p.ch-2),ft(p.line,p.ch-2),p,"+transpose");else if(p.line>e.doc.first){var E=cn(e.doc,p.line-1).text;E&&(p=new ft(p.line,1),e.replaceRange(D.charAt(0)+e.doc.lineSeparator()+E.charAt(E.length-1),ft(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=cn(e.doc,n),u=fn(o);return u!=o&&(n=Mi(u)),C(!0,e,u,n,1)}function L(e,n){var o=cn(e.doc,n),u=Cn(o);return u!=o&&(n=Mi(u)),C(!0,e,o,n,-1)}function P(e,n){var o=N(e,n.line),u=cn(e.doc,o.line),p=Dr(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 ft(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)!=On}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 un;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"&&Ze(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 de(e){var n=this;if(!(e.target&&e.target!=n.display.input.getField())&&(n.curOp.focus=ei(es(n)),!hr(n,e))){he&&xe<11&&e.keyCode==27&&(e.returnValue=!1);var o=e.keyCode;n.display.shift=o==16||e.shiftKey;var u=G(n,e);Ht&&(me=u?o:null,!u&&o==88&&!Tt&&(Xr?e.metaKey:e.ctrlKey)&&n.replaceSelection("",null,"cut")),x&&!Xr&&!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)&&(oi(n,"CodeMirror-crosshair"),Xt(document,"keyup",o),Xt(document,"mouseover",o))}Bt(document,"keyup",o),Bt(document,"mouseover",o)}function O(e){e.keyCode==16&&(this.doc.sel.shift=!1),hr(this,e)}function Q(e){var n=this;if(!(e.target&&e.target!=n.display.input.getField())&&!(In(n.display,e)||hr(n,e)||e.ctrlKey&&!e.altKey||Xr&&e.metaKey)){var o=e.keyCode,u=e.charCode;if(Ht&&o==me){me=null,jt(e);return}if(!(Ht&&(!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&&cr(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 ie(e){var n=this,o=n.display;if(!(hr(n,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,In(o,e)){Te||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!gt(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?Ae(n,u,D,e):Rt(e)==o.scroller&&jt(e):p==2?(u&&V(n.doc,u),setTimeout(function(){return o.input.focus()},20)):p==3&&(En?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)!=On}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=zn?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=Xr?o.metaKey:o.ctrlKey),p.moveOnDrag==null&&(p.moveOnDrag=!(Xr?o.altKey:o.ctrlKey)),p}function Ae(e,n,o,u){he?setTimeout(Ir(du,e),0):e.curOp.focus=ei(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&&(cr((E=D.ranges[E]).from(),n)<0||n.xRel>0)&&(cr(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($){Te&&(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),Te&&!$t||he&&xe==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};Te&&(p.scroller.draggable=!0),e.state.draggingText=E,E.copy=!u.moveOnDrag,Bt(p.wrapper.ownerDocument,"mouseup",E),Bt(p.wrapper.ownerDocument,"mousemove",k),Bt(p.scroller,"dragstart",j),Bt(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(ft(n.line,0),Bi(e.doc,ft(n.line+1,0)));var u=o(e,n);return new Es(u.from,u.to)}function Le(e,n,o,u){he&&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,lt(D,$a(e,$.concat([E]),k),{scroll:!1,origin:"*mouse"})):$.length>1&&$[k].empty()&&u.unit=="char"&&!u.extend?(lt(D,$a(e,$.slice(0,k).concat($.slice(k+1)),0),{scroll:!1,origin:"*mouse"}),j=D.sel):we(D,k,E,Et):(k=0,lt(D,new Ra([E],0),Et),j=D.sel);var qe=o;function Ee(kn){if(cr(qe,kn)!=0)if(qe=kn,u.unit=="rectangle"){for(var le=[],wt=e.options.tabSize,Kr=gr(cn(D,o.line).text,o.ch,wt),Bn=gr(cn(D,kn.line).text,kn.ch,wt),Ii=Math.min(Kr,Bn),As=Math.max(Kr,Bn),Li=Math.min(o.line,kn.line),Vs=Math.min(e.lastLine(),Math.max(o.line,kn.line));Li<=Vs;Li++){var Bs=cn(D,Li).text,fi=zr(Bs,Ii,wt);Ii==As?le.push(new Es(ft(Li,fi),ft(Li,fi))):Bs.length>fi&&le.push(new Es(ft(Li,fi),ft(Li,zr(Bs,As,wt))))}le.length||le.push(new Es(o,o)),lt(D,$a(e,j.ranges.slice(0,k).concat(le),k),{origin:"*mouse",scroll:!1}),e.scrollIntoView(kn)}else{var Fi=E,fa=$e(e,kn,u.unit),Da=Fi.anchor,da;cr(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]=et(e,new Es(Bi(D,Da),da)),lt(D,$a(e,Zs,k),Et)}}var Ft=p.wrapper.getBoundingClientRect(),yr=0;function fr(kn){var le=++yr,wt=No(e,kn,!0,u.unit=="rectangle");if(!!wt)if(cr(wt,qe)!=0){e.curOp.focus=ei(es(e)),Ee(wt);var Kr=Ya(p,D);(wt.line>=Kr.to||wt.line<Kr.from)&&setTimeout(sa(e,function(){yr==le&&fr(kn)}),150)}else{var Bn=kn.clientY<Ft.top?-20:kn.clientY>Ft.bottom?20:0;Bn&&setTimeout(sa(e,function(){yr==le&&(p.scroller.scrollTop+=Bn,fr(kn))}),50)}}function $r(kn){e.state.selectingText=!1,yr=1/0,kn&&(jt(kn),p.input.focus()),Xt(p.wrapper.ownerDocument,"mousemove",pn),Xt(p.wrapper.ownerDocument,"mouseup",Gn),D.history.lastSelOrigin=null}var pn=sa(e,function(kn){kn.buttons===0||!_e(kn)?$r(kn):fr(kn)}),Gn=sa(e,$r);e.state.selectingText=Gn,Bt(p.wrapper.ownerDocument,"mousemove",pn),Bt(p.wrapper.ownerDocument,"mouseup",Gn)}function et(e,n){var o=n.anchor,u=n.head,p=cn(e.doc,o.line);if(cr(o,u)==0&&o.sticky==u.sticky)return n;var D=Dr(p);if(!D)return n;var E=xr(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=xr(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 Ee=D[j+($?-1:0)],Ft=$==(Ee.level==1),yr=Ft?Ee.from:Ee.to,fr=Ft?"after":"before";return o.ch==yr&&o.sticky==fr?n:new Es(new ft(o.line,yr,fr),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 Nr(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 _n(e,o,e,ke,qe.className,n),Nr(n)}}}function gt(e,n){return Se(e,n,"gutterClick",!0)}function Ue(e,n){In(e.display,n)||Pe(e,n)||hr(e,n,"contextmenu")||En||e.display.input.onContextMenu(n)}function Pe(e,n){return Me(e,"gutterContextMenu")?Se(e,n,"gutterContextMenu",!1):!1}function dt(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Dn(e)}var Ut={toString:function(){return"CodeMirror.Init"}},vt={},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,$){$!=Ut&&D(k,j,$)}:D)}e.defineOption=o,e.Init=Ut,o("value","",function(u,p){return u.setValue(p)},!0),o("mode",null,function(u,p){u.doc.modeOption=p,Sl(u)},!0),o("indentUnit",2,Sl,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(u){bu(u),Dn(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(ft(E,ke))}E++});for(var k=D.length-1;k>=0;k--)Xi(u.doc,p,D[k],ft(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!=Ut&&u.refresh()}),o("specialCharPlaceholder",Wi,function(u){return u.refresh()},!0),o("electricChars",!0),o("inputStyle",mr?"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",!dn),o("wholeLineUpdateBefore",!0),o("theme","default",function(u){dt(u),Uu(u)},!0),o("keyMap","default",function(u,p,D){var E=m(p),k=D!=Ut&&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,ut),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 ut(e,n,o){var u=o&&o!=Ut;if(!n!=!u){var p=e.display.dragFunctions,D=n?Bt: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):(oi(e.display.wrapper,"CodeMirror-wrap"),Ci(e)),Lu(e),pa(e),Dn(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?jr(n):{},jr(vt,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,dt(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 un,keySeq:null,specialChars:null},n.autofocus&&!mr&&D.input.focus(),he&&xe<11&&setTimeout(function(){return o.display.input.reset(!0)},20),xn(this),Oc(),Za(this),this.curOp.forceUpdate=!0,Fl(this,u),n.autofocus&&!mr||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],Ut);ul(this),n.finishInit&&n.finishInit(this);for(var k=0;k<ct.length;++k)ct[k](this);ja(this),Te&&n.lineWrapping&&getComputedStyle(D.lineDiv).textRendering=="optimizelegibility"&&(D.lineDiv.style.textRendering="auto")}Yt.defaults=vt,Yt.optionHandlers=Zt;function xn(e){var n=e.display;Bt(n.scroller,"mousedown",sa(e,ie)),he&&xe<11?Bt(n.scroller,"dblclick",sa(e,function(j){if(!hr(e,j)){var $=No(e,j);if(!(!$||gt(e,j)||In(e.display,j))){jt(j);var ke=e.findWordAt($);V(e.doc,ke.anchor,ke.head)}}})):Bt(n.scroller,"dblclick",function(j){return hr(e,j)||jt(j)}),Bt(n.scroller,"contextmenu",function(j){return Ue(e,j)}),Bt(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}Bt(n.scroller,"touchstart",function(j){if(!hr(e,j)&&!D(j)&&!gt(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)}}),Bt(n.scroller,"touchmove",function(){n.activeTouch&&(n.activeTouch.moved=!0)}),Bt(n.scroller,"touchend",function(j){var $=n.activeTouch;if($&&!In(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(ft(ke.line,0),Bi(e.doc,ft(ke.line+1,0))),e.setSelection(qe.anchor,qe.head),e.focus(),jt(j)}p()}),Bt(n.scroller,"touchcancel",p),Bt(n.scroller,"scroll",function(){n.scroller.clientHeight&&(po(e,n.scroller.scrollTop),Qa(e,n.scroller.scrollLeft,!0),_n(e,"scroll",e))}),Bt(n.scroller,"mousewheel",function(j){return Gl(e,j)}),Bt(n.scroller,"DOMMouseScroll",function(j){return Gl(e,j)}),Bt(n.wrapper,"scroll",function(){return n.wrapper.scrollTop=n.wrapper.scrollLeft=0}),n.dragFunctions={enter:function(j){hr(e,j)||Sr(j)},over:function(j){hr(e,j)||(Hs(e,j),Sr(j))},start:function(j){return ua(e,j)},drop:sa(e,Aa),leave:function(j){hr(e,j)||ya(e)}};var k=n.input.getField();Bt(k,"keyup",function(j){return O.call(e,j)}),Bt(k,"keydown",sa(e,de)),Bt(k,"keypress",sa(e,Q)),Bt(k,"focus",function(j){return xo(e,j)}),Bt(k,"blur",function(j){return La(e,j)})}var ct=[];Yt.defineInitHook=function(e){return ct.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=cn(p,n),j=gr(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==On||ke>150)){if(!u)return;o="prev"}o=="prev"?n>p.first?ke=gr(cn(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="",Ee=0;if(e.options.indentWithTabs)for(var Ft=Math.floor(ke/E);Ft;--Ft)Ee+=E,qe+=" ";if(Ee<ke&&(qe+=rn(ke-Ee)),qe!=$)return Xi(p,qe,ft(n,0),ft(n,$.length),"+input"),k.stateAfter=null,!0;for(var yr=0;yr<p.sel.ranges.length;yr++){var fr=p.sel.ranges[yr];if(fr.head.line==n&&fr.head.ch<$.length){var $r=ft(n,$.length);we(p,yr,new Es($r,$r));break}}}var yt=null;function Lt(e){yt=e}function ar(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(yt&&yt.text.join(`
13
+ `)==n){if(u.ranges.length%yt.text.length==0){$=[];for(var ke=0;ke<yt.text.length;ke++)$.push(D.splitLines(yt.text[ke]))}}else j.length==u.ranges.length&&e.options.pasteLinesPerSelection&&($=ln(j,function(pn){return[pn]}));for(var qe=e.curOp.updateInput,Ee=u.ranges.length-1;Ee>=0;Ee--){var Ft=u.ranges[Ee],yr=Ft.from(),fr=Ft.to();Ft.empty()&&(o&&o>0?yr=ft(yr.line,yr.ch-o):e.state.overwrite&&!k?fr=ft(fr.line,Math.min(cn(D,fr.line).text.length,fr.ch+Gr(j).length)):k&&yt&&yt.lineWise&&yt.text.join(`
14
+ `)==j.join(`
15
+ `)&&(yr=fr=ft(yr.line,0)));var $r={from:yr,to:fr,text:$?$[Ee%$.length]:j,origin:p||(k?"paste":e.state.cutIncoming>E?"cut":"+input")};mi(e.doc,$r),Ze(e,"inputRead",e,$r)}n&&!k&&Yr(e,n),Ko(e),e.curOp.updateInput<2&&(e.curOp.updateInput=qe),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Mr(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 ar(n,o,0,null,"paste")}),!0}function Yr(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(cn(e.doc,p.head.line).text.slice(0,p.head.ch))&&(E=Ye(e,p.head.line,"smart"));E&&Ze(e,"electricInput",e,p.head.line)}}}function Zn(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:ft(p,0),head:ft(p+1,0)};o.push(D),n.push(e.getRange(D.anchor,D.head))}return{text:n,ranges:o}}function zi(e,n,o,u){e.setAttribute("autocorrect",o?"":"off"),e.setAttribute("autocapitalize",u?"":"off"),e.setAttribute("spellcheck",!!n)}function er(){var e=Ce("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),n=Ce("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Te?e.style.width="1000px":e.setAttribute("wrap","off"),kt&&(e.style.border="1px solid black"),zi(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),_n(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.");Ln(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"),ge(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 Ee=this.doc.sel.ranges;j.ch==0&&p.length==Ee.length&&Ee[E].from().ch>0&&we(this.doc,E,new Es(j,Ee[E].to()),Je)}}}),getTokenAt:function(u,p){return Nu(this,u,p)},getLineTokens:function(u,p){return Nu(this,ft(u),p,!0)},getTokenTypeAt:function(u){u=Bi(this.doc,u);var p=xi(this,cn(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)&&jn(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=cn(this.doc,u)}else k=u;return si(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),Ee=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>Ee&&(ke=Ee-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(de),triggerOnKeyPress:oa(Q),triggerOnKeyUp:O,triggerOnMouseDown:oa(ie),execCommand:function(u){if(B.hasOwnProperty(u))return B[u].call(null,this)},triggerElectric:oa(function(u){Yr(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=qr(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()?qr(D.doc,E.head,u,p,D.options.rtlMoveVisually):u<0?E.from():E.to()},Ar)}),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=qr(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,$=tr(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 Ee=tr(D,qe,u,p);return p=="page"&&ke==E.sel.primary()&&ju(D,ps(D,Ee,"div").top-qe.top),Ee},Ar),k.length)for(var $=0;$<E.sel.ranges.length;$++)E.sel.ranges[$].goalColumn=k[$]}),findWordAt:function(u){var p=this.doc,D=cn(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=qn($,j)?function(qe){return qn(qe,j)}:/\s/.test($)?function(qe){return/\s/.test(qe)}:function(qe){return!/\s/.test(qe)&&!qn(qe)};E>0&&ke(D.charAt(E-1));)--E;for(;k<D.length&&ke(D.charAt(k));)++k}return new Es(ft(u.line,E),ft(u.line,k))},toggleOverwrite:function(u){u!=null&&u==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Vi(this.display.cursorDiv,"CodeMirror-overwrite"):oi(this.display.cursorDiv,"CodeMirror-overwrite"),_n(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ei(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:qi(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:ft(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,_n(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,Dn(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),_n(this,"refresh",this)}),swapDoc:oa(function(u){var p=this.doc;return p.cm=null,this.state.selectingText&&this.state.selectingText(),Fl(this,u),Dn(this),this.display.input.reset(),ga(this,u.scrollLeft,u.scrollTop),this.curOp.forceScroll=!0,Ze(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}},St(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 qr(e,n,o,u,p){var D=n,E=o,k=cn(e,n.line),j=p&&e.direction=="rtl"?-o:o;function $(){var Gn=n.line+j;return Gn<e.first||Gn>=e.first+e.size?!1:(n=new ft(Gn,n.ch,n.sticky),k=cn(e,Gn))}function ke(Gn){var kn;if(u=="codepoint"){var le=k.text.charCodeAt(n.ch+(o>0?0:-1));if(isNaN(le))kn=null;else{var wt=o>0?le>=55296&&le<56320:le>=56320&&le<57343;kn=new ft(n.line,Math.max(0,Math.min(k.text.length,n.ch+o*(wt?2:1))),-o)}}else p?kn=A(e.cm,k,n,o):kn=v(k,n,o);if(kn==null)if(!Gn&&$())n=C(p,e.cm,k,n.line,j);else return!1;else n=kn;return!0}if(u=="char"||u=="codepoint")ke();else if(u=="column")ke(!0);else if(u=="word"||u=="group")for(var qe=null,Ee=u=="group",Ft=e.cm&&e.cm.getHelper(n,"wordChars"),yr=!0;!(o<0&&!ke(!yr));yr=!1){var fr=k.text.charAt(n.ch)||`
16
+ `,$r=qn(fr,Ft)?"w":Ee&&fr==`
17
+ `?"n":!Ee||/\s/.test(fr)?null:"p";if(Ee&&!yr&&!$r&&($r="s"),qe&&qe!=$r){o<0&&(o=1,ke(),n.sticky="after");break}if($r&&(qe=$r),o>0&&!ke(!yr))break}var pn=Di(e,n,D,E,!0);return gi(D,pn)&&(pn.hitSide=!0),pn}function tr(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 Ke=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new un,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ke.prototype.init=function(e){var n=this,o=this,u=o.cm,p=o.div=e.lineDiv;p.contentEditable=!0,zi(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}Bt(p,"paste",function(k){!D(k)||hr(u,k)||Mr(k,u)||xe<=11&&setTimeout(sa(u,function(){return n.updateFromDOM()}),20)}),Bt(p,"compositionstart",function(k){n.composing={data:k.data,done:!1}}),Bt(p,"compositionupdate",function(k){n.composing||(n.composing={data:k.data,done:!1})}),Bt(p,"compositionend",function(k){n.composing&&(k.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),Bt(p,"touchstart",function(){return o.forceCompositionEnd()}),Bt(p,"input",function(){n.composing||n.readFromDOMSoon()});function E(k){if(!(!D(k)||hr(u,k))){if(u.somethingSelected())Lt({lineWise:!1,text:u.getSelections()}),k.type=="cut"&&u.replaceSelection("",null,"cut");else if(u.options.lineWiseCopyCut){var j=Zn(u);Lt({lineWise:!0,text:j.text}),k.type=="cut"&&u.operation(function(){u.setSelections(j.ranges,0,Je),u.replaceSelection("",null,"cut")})}else return;if(k.clipboardData){k.clipboardData.clearData();var $=yt.text.join(`
18
+ `);if(k.clipboardData.setData("Text",$),k.clipboardData.getData("Text")==$){k.preventDefault();return}}var ke=er(),qe=ke.firstChild;u.display.lineSpace.insertBefore(ke,u.display.lineSpace.firstChild),qe.value=yt.text.join(`
19
+ `);var Ee=ei(p.ownerDocument);fs(qe),setTimeout(function(){u.display.lineSpace.removeChild(ke),Ee.focus(),Ee==p&&o.showPrimarySelection()},50)}}Bt(p,"copy",E),Bt(p,"cut",E)},Ke.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ke.prototype.prepareSelection=function(){var e=Mu(this.cm,!1);return e.focus=ei(this.div.ownerDocument)==this.div,e},Ke.prototype.showSelection=function(e,n){!e||!this.cm.display.view.length||((e.focus||n)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ke.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ke.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=Fn(n,e.anchorNode,e.anchorOffset),E=Fn(n,e.focusNode,e.focusOffset);if(!(D&&!D.bad&&E&&!E.bad&&cr(xs(D,E),u)==0&&cr(us(D,E),p)==0)){var k=n.display.view,j=u.line>=n.display.viewFrom&&Cr(n,u)||{node:k[0].measure.map[2],offset:0},$=p.line<n.display.viewTo&&Cr(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 Ee=e.rangeCount&&e.getRangeAt(0),Ft;try{Ft=or(j.node,j.offset,$.offset,$.node)}catch{}Ft&&(!x&&n.state.focused?(e.collapse(j.node,j.offset),Ft.collapsed||(e.removeAllRanges(),e.addRange(Ft))):(e.removeAllRanges(),e.addRange(Ft)),Ee&&e.anchorNode==null?e.addRange(Ee):x&&this.startGracePeriod()),this.rememberSelection()}},Ke.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)},Ke.prototype.showMultipleSelections=function(e){bn(this.cm.display.cursorDiv,e.cursors),bn(this.cm.display.selectionDiv,e.selection)},Ke.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ke.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var n=e.getRangeAt(0).commonAncestorContainer;return Tn(this.div,n)},Ke.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ei(this.div.ownerDocument)!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ke.prototype.blur=function(){this.div.blur()},Ke.prototype.getField=function(){return this.div},Ke.prototype.supportsTouch=function(){return!0},Ke.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)},Ke.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ke.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),n=this.cm;if(Mt&&tt&&this.cm.display.gutterSpecs.length&&lr(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var o=Fn(n,e.anchorNode,e.anchorOffset),u=Fn(n,e.focusNode,e.focusOffset);o&&u&&Xs(n,function(){lt(n.doc,ho(o,u),Je),(o.bad||u.bad)&&(n.curOp.selectionChanged=!0)})}}},Ke.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=ft(u.line-1,cn(e.doc,u.line-1).length)),p.ch==cn(e.doc,p.line).text.length&&p.line<e.lastLine()&&(p=ft(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=Mi(n.view[0].line),k=n.view[0].node):(E=Mi(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):($=Mi(n.view[j+1].line)-1,ke=n.view[j+1].node.previousSibling),!k)return!1;for(var qe=e.doc.splitLines(Kn(e,k,ke,E,$)),Ee=di(e.doc,ft(E,0),ft($,cn(e.doc,$).text.length));qe.length>1&&Ee.length>1;)if(Gr(qe)==Gr(Ee))qe.pop(),Ee.pop(),$--;else if(qe[0]==Ee[0])qe.shift(),Ee.shift(),E++;else break;for(var Ft=0,yr=0,fr=qe[0],$r=Ee[0],pn=Math.min(fr.length,$r.length);Ft<pn&&fr.charCodeAt(Ft)==$r.charCodeAt(Ft);)++Ft;for(var Gn=Gr(qe),kn=Gr(Ee),le=Math.min(Gn.length-(qe.length==1?Ft:0),kn.length-(Ee.length==1?Ft:0));yr<le&&Gn.charCodeAt(Gn.length-yr-1)==kn.charCodeAt(kn.length-yr-1);)++yr;if(qe.length==1&&Ee.length==1&&E==u.line)for(;Ft&&Ft>u.ch&&Gn.charCodeAt(Gn.length-yr-1)==kn.charCodeAt(kn.length-yr-1);)Ft--,yr++;qe[qe.length-1]=Gn.slice(0,Gn.length-yr).replace(/^\u200b+/,""),qe[0]=qe[0].slice(Ft).replace(/\u200b+$/,"");var wt=ft(E,Ft),Kr=ft($,Ee.length?Gr(Ee).length-yr:0);if(qe.length>1||qe[0]||cr(wt,Kr))return Xi(e.doc,qe,wt,Kr,"+input"),!0},Ke.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ke.prototype.reset=function(){this.forceCompositionEnd()},Ke.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ke.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))},Ke.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Xs(this.cm,function(){return pa(e.cm)})},Ke.prototype.setUneditable=function(e){e.contentEditable="false"},Ke.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||sa(this.cm,ar)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Ke.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Ke.prototype.onContextMenu=function(){},Ke.prototype.resetPosition=function(){},Ke.prototype.needsContentAttribute=!0;function Cr(e,n){var o=gn(e,n.line);if(!o||o.hidden)return null;var u=cn(e.doc,n.line),p=pt(o,u,n.line),D=Dr(u,e.doc.direction),E="left";if(D){var k=xr(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 lr(e){for(var n=e;n;n=n.parentNode)if(/CodeMirror-gutter-wrapper/.test(n.className))return!0;return!1}function _r(e,n){return n&&(e.bad=!0),e}function Kn(e,n,o,u,p){var D="",E=!1,k=e.doc.lineSeparator(),j=!1;function $(Ft){return function(yr){return yr.id==Ft}}function ke(){E&&(D+=k,j&&(D+=k),E=j=!1)}function qe(Ft){Ft&&(ke(),D+=Ft)}function Ee(Ft){if(Ft.nodeType==1){var yr=Ft.getAttribute("cm-text");if(yr){qe(yr);return}var fr=Ft.getAttribute("cm-marker"),$r;if(fr){var pn=e.findMarks(ft(u,0),ft(p+1,0),$(+fr));pn.length&&($r=pn[0].find(0))&&qe(di(e.doc,$r.from,$r.to).join(k));return}if(Ft.getAttribute("contenteditable")=="false")return;var Gn=/^(pre|div|p|li|table|br)$/i.test(Ft.nodeName);if(!/^br$/i.test(Ft.nodeName)&&Ft.textContent.length==0)return;Gn&&ke();for(var kn=0;kn<Ft.childNodes.length;kn++)Ee(Ft.childNodes[kn]);/^(pre|p)$/i.test(Ft.nodeName)&&(j=!0),Gn&&(E=!0)}else Ft.nodeType==3&&qe(Ft.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Ee(n),n!=o;)n=n.nextSibling,j=!1;return D}function Fn(e,n,o){var u;if(n==e.display.lineDiv){if(u=e.display.lineDiv.childNodes[o],!u)return _r(e.clipPos(ft(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 Pr(D,n,o)}}function Pr(e,n,o){var u=e.text.firstChild,p=!1;if(!n||!Tn(u,n))return _r(ft(Mi(e.line),0),!0);if(n==u&&(p=!0,n=u.childNodes[o],o=0,!n)){var D=e.rest?Gr(e.rest):e.line;return _r(ft(Mi(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($r,pn,Gn){for(var kn=-1;kn<($?$.length:0);kn++)for(var le=kn<0?j.map:$[kn],wt=0;wt<le.length;wt+=3){var Kr=le[wt+2];if(Kr==$r||Kr==pn){var Bn=Mi(kn<0?e.line:e.rest[kn]),Ii=le[wt]+Gn;return(Gn<0||Kr!=$r)&&(Ii=le[wt+(Gn?1:0)]),ft(Bn,Ii)}}}var qe=ke(E,k,o);if(qe)return _r(qe,p);for(var Ee=k.nextSibling,Ft=E?E.nodeValue.length-o:0;Ee;Ee=Ee.nextSibling){if(qe=ke(Ee,Ee.firstChild,0),qe)return _r(ft(qe.line,qe.ch-Ft),p);Ft+=Ee.textContent.length}for(var yr=k.previousSibling,fr=o;yr;yr=yr.previousSibling){if(qe=ke(yr,yr.firstChild,-1),qe)return _r(ft(qe.line,qe.ch+fr),p);fr+=yr.textContent.length}}var W=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new un,this.hasSelection=!1,this.composing=null,this.resetting=!1};W.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),kt&&(p.style.width="0px"),Bt(p,"input",function(){he&&xe>=9&&n.hasSelection&&(n.hasSelection=null),o.poll()}),Bt(p,"paste",function(E){hr(u,E)||Mr(E,u)||(u.state.pasteIncoming=+new Date,o.fastPoll())});function D(E){if(!hr(u,E)){if(u.somethingSelected())Lt({lineWise:!1,text:u.getSelections()});else if(u.options.lineWiseCopyCut){var k=Zn(u);Lt({lineWise:!0,text:k.text}),E.type=="cut"?u.setSelections(k.ranges,null,Je):(o.prevInput="",p.value=k.text.join(`
20
+ `),fs(p))}else return;E.type=="cut"&&(u.state.cutIncoming=+new Date)}}Bt(p,"cut",D),Bt(p,"copy",D),Bt(e.scroller,"paste",function(E){if(!(In(e,E)||hr(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)}}),Bt(e.lineSpace,"selectstart",function(E){In(e,E)||jt(E)}),Bt(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"})}}),Bt(p,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},W.prototype.createField=function(e){this.wrapper=er(),this.textarea=this.wrapper.firstChild},W.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},W.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},W.prototype.showSelection=function(e){var n=this.cm,o=n.display;bn(o.cursorDiv,e.cursors),bn(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},W.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),he&&xe>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",he&&xe>=9&&(this.hasSelection=null));this.resetting=!1}},W.prototype.getField=function(){return this.textarea},W.prototype.supportsTouch=function(){return!1},W.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!mr||ei(this.textarea.ownerDocument)!=this.textarea))try{this.textarea.focus()}catch{}},W.prototype.blur=function(){this.textarea.blur()},W.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},W.prototype.receivedFocus=function(){this.slowPoll()},W.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},W.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)},W.prototype.poll=function(){var e=this,n=this.cm,o=this.textarea,u=this.prevInput;if(this.contextMenuPending||this.resetting||!n.state.focused||nt(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(he&&xe>=9&&this.hasSelection===p||Xr&&/[\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(){ar(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},W.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},W.prototype.onKeyPress=function(){he&&xe>=9&&(this.hasSelection=null),this.fastPoll()},W.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||Ht)return;var k=o.options.resetSelectionOnContextMenu;k&&o.doc.sel.contains(D)==-1&&sa(o,lt)(o.doc,ho(D),Je);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: `+(he?"rgba(255, 255, 255, .05)":"transparent")+`;
24
+ outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var qe;Te&&(qe=p.ownerDocument.defaultView.scrollY),u.input.focus(),Te&&p.ownerDocument.defaultView.scrollTo(null,qe),u.input.reset(),o.somethingSelected()||(p.value=n.prevInput=" "),n.contextMenuPending=Ft,u.selForContextMenu=o.doc.sel,clearTimeout(u.detectingSelectAll);function Ee(){if(p.selectionStart!=null){var fr=o.somethingSelected(),$r="​"+(fr?p.value:"");p.value="⇚",p.value=$r,n.prevInput=fr?"":"​",p.selectionStart=1,p.selectionEnd=$r.length,u.selForContextMenu=o.doc.sel}}function Ft(){if(n.contextMenuPending==Ft&&(n.contextMenuPending=!1,n.wrapper.style.cssText=$,p.style.cssText=j,he&&xe<9&&u.scrollbars.setScrollTop(u.scroller.scrollTop=E),p.selectionStart!=null)){(!he||he&&xe<9)&&Ee();var fr=0,$r=function(){u.selForContextMenu==o.doc.sel&&p.selectionStart==0&&p.selectionEnd>0&&n.prevInput=="​"?sa(o,on)(o):fr++<10?u.detectingSelectAll=setTimeout($r,500):(u.selForContextMenu=null,u.input.reset())};u.detectingSelectAll=setTimeout($r,200)}}if(he&&xe>=9&&Ee(),En){Sr(e);var yr=function(){Xt(window,"mouseup",yr),setTimeout(Ft,20)};Bt(window,"mouseup",yr)}else setTimeout(Ft,50)},W.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},W.prototype.setUneditable=function(){},W.prototype.needsContentAttribute=!1;function at(e,n){if(n=n?jr(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=ei(e.ownerDocument);n.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function u(){e.value=k.getValue()}var p;if(e.form&&(Bt(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=Bt,e.wheelEventPixels=sc,e.Doc=gs,e.splitLines=Qe,e.countColumn=gr,e.findColumn=zr,e.isWordChar=Vt,e.Pass=On,e.signal=_n,e.Line=Mn,e.changeEnd=ba,e.scrollbarModel=bl,e.Pos=ft,e.cmpPos=cr,e.modes=Pt,e.mimeModes=Fr,e.resolveMode=vr,e.getMode=An,e.modeExtensions=bi,e.extendMode=ui,e.copyState=mn,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=it,e.SharedTextMarker=ni,e.TextMarker=Nn,e.LineWidget=Ti,e.e_preventDefault=jt,e.e_stopPropagation=rr,e.e_stop=Sr,e.addClass=Vi,e.contains=Tn,e.rmClass=oi,e.keyNames=mo}He(Yt),Kt(Yt);var nn="iter insert remove copy getEditor constructor".split(" ");for(var _i in gs.prototype)gs.prototype.hasOwnProperty(_i)&&jn(nn,_i)<0&&(Yt.prototype[_i]=function(e){return function(){return e.apply(this.doc,arguments)}}(gs.prototype[_i]));return St(gs),Yt.inputStyles={textarea:W,contenteditable:Ke},Yt.defineMode=function(e){!Yt.defaults.mode&&e!="null"&&(Yt.defaults.mode=e),Jr.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=at,Jt(Yt),Yt.version="5.65.9",Yt})})(zl);const jD=zl.exports;var Am={exports:{}};(function(i,h){(function(c){c(zl.exports)})(function(c){c.defineMode("javascript",function(g,x){var S=g.indentUnit,q=x.statementIndent,se=x.jsonld,he=x.json||se,xe=x.trackScope!==!1,Te=x.typescript,Xe=x.wordCharacters||/[\w$\xa1-\uffff]/,tt=function(){function ge(xs){return{type:xs,style:"keyword"}}var rt=ge("keyword a"),ft=ge("keyword b"),cr=ge("keyword c"),gi=ge("keyword d"),ss=ge("operator"),us={type:"atom",style:"atom"};return{if:ge("if"),while:rt,with:rt,else:ft,do:ft,try:ft,finally:ft,return:gi,break:gi,continue:gi,new:ge("new"),delete:cr,void:cr,throw:cr,debugger:ge("debugger"),var:ge("var"),const:ge("var"),let:ge("var"),function:ge("function"),catch:ge("catch"),for:ge("for"),switch:ge("switch"),case:ge("case"),default:ge("default"),in:ss,typeof:ss,instanceof:ss,true:us,false:us,null:us,undefined:us,NaN:us,Infinity:us,this:ge("this"),class:ge("class"),super:ge("atom"),yield:cr,export:ge("export"),import:ge("import"),extends:cr,await:cr}}(),xt=/[+\-*&%=<>!?|~^@]/,Ht=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function $t(ge){for(var rt=!1,ft,cr=!1;(ft=ge.next())!=null;){if(!rt){if(ft=="/"&&!cr)return;ft=="["?cr=!0:cr&&ft=="]"&&(cr=!1)}rt=!rt&&ft=="\\"}}var Lr,ht;function kt(ge,rt,ft){return Lr=ge,ht=ft,rt}function Mt(ge,rt){var ft=ge.next();if(ft=='"'||ft=="'")return rt.tokenize=mr(ft),rt.tokenize(ge,rt);if(ft=="."&&ge.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return kt("number","number");if(ft=="."&&ge.match(".."))return kt("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(ft))return kt(ft);if(ft=="="&&ge.eat(">"))return kt("=>","operator");if(ft=="0"&&ge.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return kt("number","number");if(/\d/.test(ft))return ge.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),kt("number","number");if(ft=="/")return ge.eat("*")?(rt.tokenize=Xr,Xr(ge,rt)):ge.eat("/")?(ge.skipToEnd(),kt("comment","comment")):is(ge,rt,1)?($t(ge),ge.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),kt("regexp","string-2")):(ge.eat("="),kt("operator","operator",ge.current()));if(ft=="`")return rt.tokenize=zn,zn(ge,rt);if(ft=="#"&&ge.peek()=="!")return ge.skipToEnd(),kt("meta","meta");if(ft=="#"&&ge.eatWhile(Xe))return kt("variable","property");if(ft=="<"&&ge.match("!--")||ft=="-"&&ge.match("->")&&!/\S/.test(ge.string.slice(0,ge.start)))return ge.skipToEnd(),kt("comment","comment");if(xt.test(ft))return(ft!=">"||!rt.lexical||rt.lexical.type!=">")&&(ge.eat("=")?(ft=="!"||ft=="=")&&ge.eat("="):/[<>*+\-|&?]/.test(ft)&&(ge.eat(ft),ft==">"&&ge.eat(ft))),ft=="?"&&ge.eat(".")?kt("."):kt("operator","operator",ge.current());if(Xe.test(ft)){ge.eatWhile(Xe);var cr=ge.current();if(rt.lastType!="."){if(tt.propertyIsEnumerable(cr)){var gi=tt[cr];return kt(gi.type,gi.style,cr)}if(cr=="async"&&ge.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return kt("async","keyword",cr)}return kt("variable","variable",cr)}}function mr(ge){return function(rt,ft){var cr=!1,gi;if(se&&rt.peek()=="@"&&rt.match(Ht))return ft.tokenize=Mt,kt("jsonld-keyword","meta");for(;(gi=rt.next())!=null&&!(gi==ge&&!cr);)cr=!cr&&gi=="\\";return cr||(ft.tokenize=Mt),kt("string","string")}}function Xr(ge,rt){for(var ft=!1,cr;cr=ge.next();){if(cr=="/"&&ft){rt.tokenize=Mt;break}ft=cr=="*"}return kt("comment","comment")}function zn(ge,rt){for(var ft=!1,cr;(cr=ge.next())!=null;){if(!ft&&(cr=="`"||cr=="$"&&ge.eat("{"))){rt.tokenize=Mt;break}ft=!ft&&cr=="\\"}return kt("quasi","string-2",ge.current())}var dn="([{}])";function Pn(ge,rt){rt.fatArrowAt&&(rt.fatArrowAt=null);var ft=ge.string.indexOf("=>",ge.start);if(!(ft<0)){if(Te){var cr=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(ge.string.slice(ge.start,ft));cr&&(ft=cr.index)}for(var gi=0,ss=!1,us=ft-1;us>=0;--us){var xs=ge.string.charAt(us),ks=dn.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(Xe.test(xs))ss=!0;else if(/["'\/`]/.test(xs))for(;;--us){if(us==0)return;var Bi=ge.string.charAt(us-1);if(Bi==xs&&ge.string.charAt(us-2)!="\\"){us--;break}}else if(ss&&!gi){++us;break}}ss&&!gi&&(rt.fatArrowAt=us)}}var Jn={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function En(ge,rt,ft,cr,gi,ss){this.indented=ge,this.column=rt,this.type=ft,this.prev=gi,this.info=ss,cr!=null&&(this.align=cr)}function Sn(ge,rt){if(!xe)return!1;for(var ft=ge.localVars;ft;ft=ft.next)if(ft.name==rt)return!0;for(var cr=ge.context;cr;cr=cr.prev)for(var ft=cr.vars;ft;ft=ft.next)if(ft.name==rt)return!0}function oi(ge,rt,ft,cr,gi){var ss=ge.cc;for(pr.state=ge,pr.stream=gi,pr.marked=null,pr.cc=ss,pr.style=rt,ge.lexical.hasOwnProperty("align")||(ge.lexical.align=!0);;){var us=ss.length?ss.pop():he?On:jn;if(us(ft,cr)){for(;ss.length&&ss[ss.length-1].lex;)ss.pop()();return pr.marked?pr.marked:ft=="variable"&&Sn(ge,cr)?"variable-2":rt}}}var pr={state:null,column:null,marked:null,cc:null};function bn(){for(var ge=arguments.length-1;ge>=0;ge--)pr.cc.push(arguments[ge])}function Ce(){return bn.apply(null,arguments),!0}function en(ge,rt){for(var ft=rt;ft;ft=ft.next)if(ft.name==ge)return!0;return!1}function or(ge){var rt=pr.state;if(pr.marked="def",!!xe){if(rt.context){if(rt.lexical.info=="var"&&rt.context&&rt.context.block){var ft=Tn(ge,rt.context);if(ft!=null){rt.context=ft;return}}else if(!en(ge,rt.localVars)){rt.localVars=new as(ge,rt.localVars);return}}x.globalVars&&!en(ge,rt.globalVars)&&(rt.globalVars=new as(ge,rt.globalVars))}}function Tn(ge,rt){if(rt)if(rt.block){var ft=Tn(ge,rt.prev);return ft?ft==rt.prev?rt:new Vi(ft,rt.vars,!0):null}else return en(ge,rt.vars)?rt:new Vi(rt.prev,new as(ge,rt.vars),!1);else return null}function ei(ge){return ge=="public"||ge=="private"||ge=="protected"||ge=="abstract"||ge=="readonly"}function Vi(ge,rt,ft){this.prev=ge,this.vars=rt,this.block=ft}function as(ge,rt){this.name=ge,this.next=rt}var fs=new as("this",new as("arguments",null));function es(){pr.state.context=new Vi(pr.state.context,pr.state.localVars,!1),pr.state.localVars=fs}function ts(){pr.state.context=new Vi(pr.state.context,pr.state.localVars,!0),pr.state.localVars=null}es.lex=ts.lex=!0;function Ir(){pr.state.localVars=pr.state.context.vars,pr.state.context=pr.state.context.prev}Ir.lex=!0;function jr(ge,rt){var ft=function(){var cr=pr.state,gi=cr.indented;if(cr.lexical.type=="stat")gi=cr.lexical.indented;else for(var ss=cr.lexical;ss&&ss.type==")"&&ss.align;ss=ss.prev)gi=ss.indented;cr.lexical=new En(gi,pr.stream.column(),ge,null,cr.lexical,rt)};return ft.lex=!0,ft}function gr(){var ge=pr.state;ge.lexical.prev&&(ge.lexical.type==")"&&(ge.indented=ge.lexical.indented),ge.lexical=ge.lexical.prev)}gr.lex=!0;function un(ge){function rt(ft){return ft==ge?Ce():ge==";"||ft=="}"||ft==")"||ft=="]"?bn():Ce(rt)}return rt}function jn(ge,rt){return ge=="var"?Ce(jr("vardef",rt),Sr,un(";"),gr):ge=="keyword a"?Ce(jr("form"),Et,jn,gr):ge=="keyword b"?Ce(jr("form"),jn,gr):ge=="keyword d"?pr.stream.match(/^\s*$/,!1)?Ce():Ce(jr("stat"),zr,un(";"),gr):ge=="debugger"?Ce(un(";")):ge=="{"?Ce(jr("}"),ts,Wn,gr,Ir):ge==";"?Ce():ge=="if"?(pr.state.lexical.info=="else"&&pr.state.cc[pr.state.cc.length-1]==gr&&pr.state.cc.pop()(),Ce(jr("form"),Et,jn,gr,Fe)):ge=="function"?Ce(Tt):ge=="for"?Ce(jr("form"),ts,Re,jn,Ir,gr):ge=="class"||Te&&rt=="interface"?(pr.marked="keyword",Ce(jr("form",ge=="class"?ge:rt),Jr,gr)):ge=="variable"?Te&&rt=="declare"?(pr.marked="keyword",Ce(jn)):Te&&(rt=="module"||rt=="enum"||rt=="type")&&pr.stream.match(/^\s*\w/,!1)?(pr.marked="keyword",rt=="enum"?Ce(ms):rt=="type"?Ce(ir,un("operator"),Bt,un(";")):Ce(jr("form"),Rt,un("{"),jr("}"),Wn,gr,gr)):Te&&rt=="namespace"?(pr.marked="keyword",Ce(jr("form"),On,jn,gr)):Te&&rt=="abstract"?(pr.marked="keyword",Ce(jn)):Ce(jr("stat"),qn):ge=="switch"?Ce(jr("form"),Et,un("{"),jr("}","switch"),ts,Wn,gr,gr,Ir):ge=="case"?Ce(On,un(":")):ge=="default"?Ce(un(":")):ge=="catch"?Ce(jr("form"),es,ci,jn,gr,Ir):ge=="export"?Ce(jr("stat"),bi,gr):ge=="import"?Ce(jr("stat"),mn,gr):ge=="async"?Ce(jn):rt=="@"?Ce(On,jn):bn(jr("stat"),On,un(";"),gr)}function ci(ge){if(ge=="(")return Ce(Pt,un(")"))}function On(ge,rt){return Ar(ge,rt,!1)}function Je(ge,rt){return Ar(ge,rt,!0)}function Et(ge){return ge!="("?bn():Ce(jr(")"),zr,un(")"),gr)}function Ar(ge,rt,ft){if(pr.state.fatArrowAt==pr.stream.start){var cr=ft?Qr:Ln;if(ge=="(")return Ce(es,jr(")"),os(Pt,")"),gr,un("=>"),cr,Ir);if(ge=="variable")return bn(es,Rt,un("=>"),cr,Ir)}var gi=ft?rn:Tr;return Jn.hasOwnProperty(ge)?Ce(gi):ge=="function"?Ce(Tt,gi):ge=="class"||Te&&rt=="interface"?(pr.marked="keyword",Ce(jr("form"),Fr,gr)):ge=="keyword c"||ge=="async"?Ce(ft?Je:On):ge=="("?Ce(jr(")"),zr,un(")"),gr,gi):ge=="operator"||ge=="spread"?Ce(ft?Je:On):ge=="["?Ce(jr("]"),di,gr,gi):ge=="{"?ta(ds,"}",null,gi):ge=="quasi"?bn(Gr,gi):ge=="new"?Ce(At(ft)):Ce()}function zr(ge){return ge.match(/[;\}\)\],]/)?bn():bn(On)}function Tr(ge,rt){return ge==","?Ce(zr):rn(ge,rt,!1)}function rn(ge,rt,ft){var cr=ft==!1?Tr:rn,gi=ft==!1?On:Je;if(ge=="=>")return Ce(es,ft?Qr:Ln,Ir);if(ge=="operator")return/\+\+|--/.test(rt)||Te&&rt=="!"?Ce(cr):Te&&rt=="<"&&pr.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?Ce(jr(">"),os(Bt,">"),gr,cr):rt=="?"?Ce(On,un(":"),gi):Ce(gi);if(ge=="quasi")return bn(Gr,cr);if(ge!=";"){if(ge=="(")return ta(Je,")","call",cr);if(ge==".")return Ce(ki,cr);if(ge=="[")return Ce(jr("]"),zr,un("]"),gr,cr);if(Te&&rt=="as")return pr.marked="keyword",Ce(Bt,cr);if(ge=="regexp")return pr.state.lastType=pr.marked="operator",pr.stream.backUp(pr.stream.pos-pr.stream.start-1),Ce(gi)}}function Gr(ge,rt){return ge!="quasi"?bn():rt.slice(rt.length-2)!="${"?Ce(Gr):Ce(zr,ln)}function ln(ge){if(ge=="}")return pr.marked="string-2",pr.state.tokenize=zn,Ce(Gr)}function Ln(ge){return Pn(pr.stream,pr.state),bn(ge=="{"?jn:On)}function Qr(ge){return Pn(pr.stream,pr.state),bn(ge=="{"?jn:Je)}function At(ge){return function(rt){return rt=="."?Ce(ge?Vt:dr):rt=="variable"&&Te?Ce(jt,ge?rn:Tr):bn(ge?Je:On)}}function dr(ge,rt){if(rt=="target")return pr.marked="keyword",Ce(Tr)}function Vt(ge,rt){if(rt=="target")return pr.marked="keyword",Ce(rn)}function qn(ge){return ge==":"?Ce(gr,jn):bn(Tr,un(";"),gr)}function ki(ge){if(ge=="variable")return pr.marked="property",Ce()}function ds(ge,rt){if(ge=="async")return pr.marked="property",Ce(ds);if(ge=="variable"||pr.style=="keyword"){if(pr.marked="property",rt=="get"||rt=="set")return Ce(Qi);var ft;return Te&&pr.state.fatArrowAt==pr.stream.start&&(ft=pr.stream.match(/^\s*:\s*/,!1))&&(pr.state.fatArrowAt=pr.stream.pos+ft[0].length),Ce(Ds)}else{if(ge=="number"||ge=="string")return pr.marked=se?"property":pr.style+" property",Ce(Ds);if(ge=="jsonld-keyword")return Ce(Ds);if(Te&&ei(rt))return pr.marked="keyword",Ce(ds);if(ge=="[")return Ce(On,xr,un("]"),Ds);if(ge=="spread")return Ce(Je,Ds);if(rt=="*")return pr.marked="keyword",Ce(ds);if(ge==":")return bn(Ds)}}function Qi(ge){return ge!="variable"?bn(Ds):(pr.marked="property",Ce(Tt))}function Ds(ge){if(ge==":")return Ce(Je);if(ge=="(")return bn(Tt)}function os(ge,rt,ft){function cr(gi,ss){if(ft?ft.indexOf(gi)>-1:gi==","){var us=pr.state.lexical;return us.info=="call"&&(us.pos=(us.pos||0)+1),Ce(function(xs,ks){return xs==rt||ks==rt?bn():bn(ge)},cr)}return gi==rt||ss==rt?Ce():ft&&ft.indexOf(";")>-1?bn(ge):Ce(un(rt))}return function(gi,ss){return gi==rt||ss==rt?Ce():bn(ge,cr)}}function ta(ge,rt,ft){for(var cr=3;cr<arguments.length;cr++)pr.cc.push(arguments[cr]);return Ce(jr(rt,ft),os(ge,rt),gr)}function Wn(ge){return ge=="}"?Ce():bn(jn,Wn)}function xr(ge,rt){if(Te){if(ge==":")return Ce(Bt);if(rt=="?")return Ce(xr)}}function wr(ge,rt){if(Te&&(ge==":"||rt=="in"))return Ce(Bt)}function Dr(ge){if(Te&&ge==":")return pr.stream.match(/^\s*\w+\s+is\b/,!1)?Ce(On,Vr,Bt):Ce(Bt)}function Vr(ge,rt){if(rt=="is")return pr.marked="keyword",Ce()}function Bt(ge,rt){if(rt=="keyof"||rt=="typeof"||rt=="infer"||rt=="readonly")return pr.marked="keyword",Ce(rt=="typeof"?Je:Bt);if(ge=="variable"||rt=="void")return pr.marked="type",Ce(St);if(rt=="|"||rt=="&")return Ce(Bt);if(ge=="string"||ge=="number"||ge=="atom")return Ce(St);if(ge=="[")return Ce(jr("]"),os(Bt,"]",","),gr,St);if(ge=="{")return Ce(jr("}"),Xt,gr,St);if(ge=="(")return Ce(os(Me,")"),Vn,St);if(ge=="<")return Ce(os(Bt,">"),Bt);if(ge=="quasi")return bn(hr,St)}function Vn(ge){if(ge=="=>")return Ce(Bt)}function Xt(ge){return ge.match(/[\}\)\]]/)?Ce():ge==","||ge==";"?Ce(Xt):bn(_n,Xt)}function _n(ge,rt){if(ge=="variable"||pr.style=="keyword")return pr.marked="property",Ce(_n);if(rt=="?"||ge=="number"||ge=="string")return Ce(_n);if(ge==":")return Ce(Bt);if(ge=="[")return Ce(un("variable"),wr,un("]"),_n);if(ge=="(")return bn(Qt,_n);if(!ge.match(/[;\}\)\],]/))return Ce()}function hr(ge,rt){return ge!="quasi"?bn():rt.slice(rt.length-2)!="${"?Ce(hr):Ce(Bt,Nt)}function Nt(ge){if(ge=="}")return pr.marked="string-2",pr.state.tokenize=zn,Ce(hr)}function Me(ge,rt){return ge=="variable"&&pr.stream.match(/^\s*[?:]/,!1)||rt=="?"?Ce(Me):ge==":"?Ce(Bt):ge=="spread"?Ce(Me):bn(Bt)}function St(ge,rt){if(rt=="<")return Ce(jr(">"),os(Bt,">"),gr,St);if(rt=="|"||ge=="."||rt=="&")return Ce(Bt);if(ge=="[")return Ce(Bt,un("]"),St);if(rt=="extends"||rt=="implements")return pr.marked="keyword",Ce(Bt);if(rt=="?")return Ce(Bt,un(":"),Bt)}function jt(ge,rt){if(rt=="<")return Ce(jr(">"),os(Bt,">"),gr,St)}function rr(){return bn(Bt,Nr)}function Nr(ge,rt){if(rt=="=")return Ce(Bt)}function Sr(ge,rt){return rt=="enum"?(pr.marked="keyword",Ce(ms)):bn(Rt,xr,re,De)}function Rt(ge,rt){if(Te&&ei(rt))return pr.marked="keyword",Ce(Rt);if(ge=="variable")return or(rt),Ce();if(ge=="spread")return Ce(Rt);if(ge=="[")return ta(ue,"]");if(ge=="{")return ta(_e,"}")}function _e(ge,rt){return ge=="variable"&&!pr.stream.match(/^\s*:/,!1)?(or(rt),Ce(re)):(ge=="variable"&&(pr.marked="property"),ge=="spread"?Ce(Rt):ge=="}"?bn():ge=="["?Ce(On,un("]"),un(":"),_e):Ce(un(":"),Rt,re))}function ue(){return bn(Rt,re)}function re(ge,rt){if(rt=="=")return Ce(Je)}function De(ge){if(ge==",")return Ce(Sr)}function Fe(ge,rt){if(ge=="keyword b"&&rt=="else")return Ce(jr("form","else"),jn,gr)}function Re(ge,rt){if(rt=="await")return Ce(Re);if(ge=="(")return Ce(jr(")"),Qe,gr)}function Qe(ge){return ge=="var"?Ce(Sr,nt):ge=="variable"?Ce(nt):bn(nt)}function nt(ge,rt){return ge==")"?Ce():ge==";"?Ce(nt):rt=="in"||rt=="of"?(pr.marked="keyword",Ce(On,nt)):bn(On,nt)}function Tt(ge,rt){if(rt=="*")return pr.marked="keyword",Ce(Tt);if(ge=="variable")return or(rt),Ce(Tt);if(ge=="(")return Ce(es,jr(")"),os(Pt,")"),gr,Dr,jn,Ir);if(Te&&rt=="<")return Ce(jr(">"),os(rr,">"),gr,Tt)}function Qt(ge,rt){if(rt=="*")return pr.marked="keyword",Ce(Qt);if(ge=="variable")return or(rt),Ce(Qt);if(ge=="(")return Ce(es,jr(")"),os(Pt,")"),gr,Dr,Ir);if(Te&&rt=="<")return Ce(jr(">"),os(rr,">"),gr,Qt)}function ir(ge,rt){if(ge=="keyword"||ge=="variable")return pr.marked="type",Ce(ir);if(rt=="<")return Ce(jr(">"),os(rr,">"),gr)}function Pt(ge,rt){return rt=="@"&&Ce(On,Pt),ge=="spread"?Ce(Pt):Te&&ei(rt)?(pr.marked="keyword",Ce(Pt)):Te&&ge=="this"?Ce(xr,re):bn(Rt,xr,re)}function Fr(ge,rt){return ge=="variable"?Jr(ge,rt):Be(ge,rt)}function Jr(ge,rt){if(ge=="variable")return or(rt),Ce(Be)}function Be(ge,rt){if(rt=="<")return Ce(jr(">"),os(rr,">"),gr,Be);if(rt=="extends"||rt=="implements"||Te&&ge==",")return rt=="implements"&&(pr.marked="keyword"),Ce(Te?Bt:On,Be);if(ge=="{")return Ce(jr("}"),vr,gr)}function vr(ge,rt){if(ge=="async"||ge=="variable"&&(rt=="static"||rt=="get"||rt=="set"||Te&&ei(rt))&&pr.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return pr.marked="keyword",Ce(vr);if(ge=="variable"||pr.style=="keyword")return pr.marked="property",Ce(An,vr);if(ge=="number"||ge=="string")return Ce(An,vr);if(ge=="[")return Ce(On,xr,un("]"),An,vr);if(rt=="*")return pr.marked="keyword",Ce(vr);if(Te&&ge=="(")return bn(Qt,vr);if(ge==";"||ge==",")return Ce(vr);if(ge=="}")return Ce();if(rt=="@")return Ce(On,vr)}function An(ge,rt){if(rt=="!"||rt=="?")return Ce(An);if(ge==":")return Ce(Bt,re);if(rt=="=")return Ce(Je);var ft=pr.state.lexical.prev,cr=ft&&ft.info=="interface";return bn(cr?Qt:Tt)}function bi(ge,rt){return rt=="*"?(pr.marked="keyword",Ce(cn,un(";"))):rt=="default"?(pr.marked="keyword",Ce(On,un(";"))):ge=="{"?Ce(os(ui,"}"),cn,un(";")):bn(jn)}function ui(ge,rt){if(rt=="as")return pr.marked="keyword",Ce(un("variable"));if(ge=="variable")return bn(Je,ui)}function mn(ge){return ge=="string"?Ce():ge=="("?bn(On):ge=="."?bn(Tr):bn(ns,Fs,cn)}function ns(ge,rt){return ge=="{"?ta(ns,"}"):(ge=="variable"&&or(rt),rt=="*"&&(pr.marked="keyword"),Ce(it))}function Fs(ge){if(ge==",")return Ce(ns,Fs)}function it(ge,rt){if(rt=="as")return pr.marked="keyword",Ce(ns)}function cn(ge,rt){if(rt=="from")return pr.marked="keyword",Ce(On)}function di(ge){return ge=="]"?Ce():bn(os(Je,"]"))}function ms(){return bn(jr("form"),Rt,un("{"),jr("}"),os(ws,"}"),gr,gr)}function ws(){return bn(Rt,re)}function Mi(ge,rt){return ge.lastType=="operator"||ge.lastType==","||xt.test(rt.charAt(0))||/[,.]/.test(rt.charAt(0))}function is(ge,rt,ft){return rt.tokenize==Mt&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(rt.lastType)||rt.lastType=="quasi"&&/\{\s*$/.test(ge.string.slice(0,ge.pos-(ft||0)))}return{startState:function(ge){var rt={tokenize:Mt,lastType:"sof",cc:[],lexical:new En((ge||0)-S,0,"block",!1),localVars:x.localVars,context:x.localVars&&new Vi(null,null,!1),indented:ge||0};return x.globalVars&&typeof x.globalVars=="object"&&(rt.globalVars=x.globalVars),rt},token:function(ge,rt){if(ge.sol()&&(rt.lexical.hasOwnProperty("align")||(rt.lexical.align=!1),rt.indented=ge.indentation(),Pn(ge,rt)),rt.tokenize!=Xr&&ge.eatSpace())return null;var ft=rt.tokenize(ge,rt);return Lr=="comment"?ft:(rt.lastType=Lr=="operator"&&(ht=="++"||ht=="--")?"incdec":Lr,oi(rt,ft,Lr,ht,ge))},indent:function(ge,rt){if(ge.tokenize==Xr||ge.tokenize==zn)return c.Pass;if(ge.tokenize!=Mt)return 0;var ft=rt&&rt.charAt(0),cr=ge.lexical,gi;if(!/^\s*else\b/.test(rt))for(var ss=ge.cc.length-1;ss>=0;--ss){var us=ge.cc[ss];if(us==gr)cr=cr.prev;else if(us!=Fe&&us!=Ir)break}for(;(cr.type=="stat"||cr.type=="form")&&(ft=="}"||(gi=ge.cc[ge.cc.length-1])&&(gi==Tr||gi==rn)&&!/^[,\.=+\-*:?[\(]/.test(rt));)cr=cr.prev;q&&cr.type==")"&&cr.prev.type=="stat"&&(cr=cr.prev);var xs=cr.type,ks=ft==xs;return xs=="vardef"?cr.indented+(ge.lastType=="operator"||ge.lastType==","?cr.info.length+1:0):xs=="form"&&ft=="{"?cr.indented:xs=="form"?cr.indented+S:xs=="stat"?cr.indented+(Mi(ge,rt)?q||S:0):cr.info=="switch"&&!ks&&x.doubleIndentSwitch!=!1?cr.indented+(/^(?:case|default)\b/.test(rt)?S:2*S):cr.align?cr.column+(ks?0:1):cr.indented+(ks?0:S)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:he?null:"/*",blockCommentEnd:he?null:"*/",blockCommentContinue:he?null:" * ",lineComment:he?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:he?"json":"javascript",jsonldMode:se,jsonMode:he,expressionAllowed:is,skipExpression:function(ge){oi(ge,"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 RD={exports:{}};(function(i,h){(function(c){c(zl.exports)})(function(c){c.defineMode("css",function(En,Sn){var oi=Sn.inline;Sn.propertyKeywords||(Sn=c.resolveMode("text/css"));var pr=En.indentUnit,bn=Sn.tokenHooks,Ce=Sn.documentTypes||{},en=Sn.mediaTypes||{},or=Sn.mediaFeatures||{},Tn=Sn.mediaValueKeywords||{},ei=Sn.propertyKeywords||{},Vi=Sn.nonStandardPropertyKeywords||{},as=Sn.fontProperties||{},fs=Sn.counterDescriptors||{},es=Sn.colorKeywords||{},ts=Sn.valueKeywords||{},Ir=Sn.allowNested,jr=Sn.lineComment,gr=Sn.supportsAtComponent===!0,un=En.highlightNonStandardPropertyKeywords!==!1,jn,ci;function On(At,dr){return jn=dr,At}function Je(At,dr){var Vt=At.next();if(bn[Vt]){var qn=bn[Vt](At,dr);if(qn!==!1)return qn}if(Vt=="@")return At.eatWhile(/[\w\\\-]/),On("def",At.current());if(Vt=="="||(Vt=="~"||Vt=="|")&&At.eat("="))return On(null,"compare");if(Vt=='"'||Vt=="'")return dr.tokenize=Et(Vt),dr.tokenize(At,dr);if(Vt=="#")return At.eatWhile(/[\w\\\-]/),On("atom","hash");if(Vt=="!")return At.match(/^\s*\w*/),On("keyword","important");if(/\d/.test(Vt)||Vt=="."&&At.eat(/\d/))return At.eatWhile(/[\w.%]/),On("number","unit");if(Vt==="-"){if(/[\d.]/.test(At.peek()))return At.eatWhile(/[\w.%]/),On("number","unit");if(At.match(/^-[\w\\\-]*/))return At.eatWhile(/[\w\\\-]/),At.match(/^\s*:/,!1)?On("variable-2","variable-definition"):On("variable-2","variable");if(At.match(/^\w+-/))return On("meta","meta")}else return/[,+>*\/]/.test(Vt)?On(null,"select-op"):Vt=="."&&At.match(/^-?[_a-z][_a-z0-9-]*/i)?On("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(Vt)?On(null,Vt):At.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(At.current())&&(dr.tokenize=Ar),On("variable callee","variable")):/[\w\\\-]/.test(Vt)?(At.eatWhile(/[\w\\\-]/),On("property","word")):On(null,null)}function Et(At){return function(dr,Vt){for(var qn=!1,ki;(ki=dr.next())!=null;){if(ki==At&&!qn){At==")"&&dr.backUp(1);break}qn=!qn&&ki=="\\"}return(ki==At||!qn&&At!=")")&&(Vt.tokenize=null),On("string","string")}}function Ar(At,dr){return At.next(),At.match(/^\s*[\"\')]/,!1)?dr.tokenize=null:dr.tokenize=Et(")"),On(null,"(")}function zr(At,dr,Vt){this.type=At,this.indent=dr,this.prev=Vt}function Tr(At,dr,Vt,qn){return At.context=new zr(Vt,dr.indentation()+(qn===!1?0:pr),At.context),Vt}function rn(At){return At.context.prev&&(At.context=At.context.prev),At.context.type}function Gr(At,dr,Vt){return Qr[Vt.context.type](At,dr,Vt)}function ln(At,dr,Vt,qn){for(var ki=qn||1;ki>0;ki--)Vt.context=Vt.context.prev;return Gr(At,dr,Vt)}function Ln(At){var dr=At.current().toLowerCase();ts.hasOwnProperty(dr)?ci="atom":es.hasOwnProperty(dr)?ci="keyword":ci="variable"}var Qr={};return Qr.top=function(At,dr,Vt){if(At=="{")return Tr(Vt,dr,"block");if(At=="}"&&Vt.context.prev)return rn(Vt);if(gr&&/@component/i.test(At))return Tr(Vt,dr,"atComponentBlock");if(/^@(-moz-)?document$/i.test(At))return Tr(Vt,dr,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(At))return Tr(Vt,dr,"atBlock");if(/^@(font-face|counter-style)/i.test(At))return Vt.stateArg=At,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(At))return"keyframes";if(At&&At.charAt(0)=="@")return Tr(Vt,dr,"at");if(At=="hash")ci="builtin";else if(At=="word")ci="tag";else{if(At=="variable-definition")return"maybeprop";if(At=="interpolation")return Tr(Vt,dr,"interpolation");if(At==":")return"pseudo";if(Ir&&At=="(")return Tr(Vt,dr,"parens")}return Vt.context.type},Qr.block=function(At,dr,Vt){if(At=="word"){var qn=dr.current().toLowerCase();return ei.hasOwnProperty(qn)?(ci="property","maybeprop"):Vi.hasOwnProperty(qn)?(ci=un?"string-2":"property","maybeprop"):Ir?(ci=dr.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ci+=" error","maybeprop")}else return At=="meta"?"block":!Ir&&(At=="hash"||At=="qualifier")?(ci="error","block"):Qr.top(At,dr,Vt)},Qr.maybeprop=function(At,dr,Vt){return At==":"?Tr(Vt,dr,"prop"):Gr(At,dr,Vt)},Qr.prop=function(At,dr,Vt){if(At==";")return rn(Vt);if(At=="{"&&Ir)return Tr(Vt,dr,"propBlock");if(At=="}"||At=="{")return ln(At,dr,Vt);if(At=="(")return Tr(Vt,dr,"parens");if(At=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(dr.current()))ci+=" error";else if(At=="word")Ln(dr);else if(At=="interpolation")return Tr(Vt,dr,"interpolation");return"prop"},Qr.propBlock=function(At,dr,Vt){return At=="}"?rn(Vt):At=="word"?(ci="property","maybeprop"):Vt.context.type},Qr.parens=function(At,dr,Vt){return At=="{"||At=="}"?ln(At,dr,Vt):At==")"?rn(Vt):At=="("?Tr(Vt,dr,"parens"):At=="interpolation"?Tr(Vt,dr,"interpolation"):(At=="word"&&Ln(dr),"parens")},Qr.pseudo=function(At,dr,Vt){return At=="meta"?"pseudo":At=="word"?(ci="variable-3",Vt.context.type):Gr(At,dr,Vt)},Qr.documentTypes=function(At,dr,Vt){return At=="word"&&Ce.hasOwnProperty(dr.current())?(ci="tag",Vt.context.type):Qr.atBlock(At,dr,Vt)},Qr.atBlock=function(At,dr,Vt){if(At=="(")return Tr(Vt,dr,"atBlock_parens");if(At=="}"||At==";")return ln(At,dr,Vt);if(At=="{")return rn(Vt)&&Tr(Vt,dr,Ir?"block":"top");if(At=="interpolation")return Tr(Vt,dr,"interpolation");if(At=="word"){var qn=dr.current().toLowerCase();qn=="only"||qn=="not"||qn=="and"||qn=="or"?ci="keyword":en.hasOwnProperty(qn)?ci="attribute":or.hasOwnProperty(qn)?ci="property":Tn.hasOwnProperty(qn)?ci="keyword":ei.hasOwnProperty(qn)?ci="property":Vi.hasOwnProperty(qn)?ci=un?"string-2":"property":ts.hasOwnProperty(qn)?ci="atom":es.hasOwnProperty(qn)?ci="keyword":ci="error"}return Vt.context.type},Qr.atComponentBlock=function(At,dr,Vt){return At=="}"?ln(At,dr,Vt):At=="{"?rn(Vt)&&Tr(Vt,dr,Ir?"block":"top",!1):(At=="word"&&(ci="error"),Vt.context.type)},Qr.atBlock_parens=function(At,dr,Vt){return At==")"?rn(Vt):At=="{"||At=="}"?ln(At,dr,Vt,2):Qr.atBlock(At,dr,Vt)},Qr.restricted_atBlock_before=function(At,dr,Vt){return At=="{"?Tr(Vt,dr,"restricted_atBlock"):At=="word"&&Vt.stateArg=="@counter-style"?(ci="variable","restricted_atBlock_before"):Gr(At,dr,Vt)},Qr.restricted_atBlock=function(At,dr,Vt){return At=="}"?(Vt.stateArg=null,rn(Vt)):At=="word"?(Vt.stateArg=="@font-face"&&!as.hasOwnProperty(dr.current().toLowerCase())||Vt.stateArg=="@counter-style"&&!fs.hasOwnProperty(dr.current().toLowerCase())?ci="error":ci="property","maybeprop"):"restricted_atBlock"},Qr.keyframes=function(At,dr,Vt){return At=="word"?(ci="variable","keyframes"):At=="{"?Tr(Vt,dr,"top"):Gr(At,dr,Vt)},Qr.at=function(At,dr,Vt){return At==";"?rn(Vt):At=="{"||At=="}"?ln(At,dr,Vt):(At=="word"?ci="tag":At=="hash"&&(ci="builtin"),"at")},Qr.interpolation=function(At,dr,Vt){return At=="}"?rn(Vt):At=="{"||At==";"?ln(At,dr,Vt):(At=="word"?ci="variable":At!="variable"&&At!="("&&At!=")"&&(ci="error"),"interpolation")},{startState:function(At){return{tokenize:null,state:oi?"block":"top",stateArg:null,context:new zr(oi?"block":"top",At||0,null)}},token:function(At,dr){if(!dr.tokenize&&At.eatSpace())return null;var Vt=(dr.tokenize||Je)(At,dr);return Vt&&typeof Vt=="object"&&(jn=Vt[1],Vt=Vt[0]),ci=Vt,jn!="comment"&&(dr.state=Qr[dr.state](jn,At,dr)),ci},indent:function(At,dr){var Vt=At.context,qn=dr&&dr.charAt(0),ki=Vt.indent;return Vt.type=="prop"&&(qn=="}"||qn==")")&&(Vt=Vt.prev),Vt.prev&&(qn=="}"&&(Vt.type=="block"||Vt.type=="top"||Vt.type=="interpolation"||Vt.type=="restricted_atBlock")?(Vt=Vt.prev,ki=Vt.indent):(qn==")"&&(Vt.type=="parens"||Vt.type=="atBlock_parens")||qn=="{"&&(Vt.type=="at"||Vt.type=="atBlock"))&&(ki=Math.max(0,Vt.indent-pr))),ki},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:jr,fold:"brace"}});function g(En){for(var Sn={},oi=0;oi<En.length;++oi)Sn[En[oi].toLowerCase()]=!0;return Sn}var x=["domain","regexp","url","url-prefix"],S=g(x),q=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],se=g(q),he=["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"],xe=g(he),Te=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],Xe=g(Te),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"],xt=g(tt),Ht=["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(Ht),Lr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],ht=g(Lr),kt=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],Mt=g(kt),mr=["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"],Xr=g(mr),zn=["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"],dn=g(zn),Pn=x.concat(q).concat(he).concat(Te).concat(tt).concat(Ht).concat(mr).concat(zn);c.registerHelper("hintWords","css",Pn);function Jn(En,Sn){for(var oi=!1,pr;(pr=En.next())!=null;){if(oi&&pr=="/"){Sn.tokenize=null;break}oi=pr=="*"}return["comment","comment"]}c.defineMIME("text/css",{documentTypes:S,mediaTypes:se,mediaFeatures:xe,mediaValueKeywords:Xe,propertyKeywords:xt,nonStandardPropertyKeywords:$t,fontProperties:ht,counterDescriptors:Mt,colorKeywords:Xr,valueKeywords:dn,tokenHooks:{"/":function(En,Sn){return En.eat("*")?(Sn.tokenize=Jn,Jn(En,Sn)):!1}},name:"css"}),c.defineMIME("text/x-scss",{mediaTypes:se,mediaFeatures:xe,mediaValueKeywords:Xe,propertyKeywords:xt,nonStandardPropertyKeywords:$t,colorKeywords:Xr,valueKeywords:dn,fontProperties:ht,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(En,Sn){return En.eat("/")?(En.skipToEnd(),["comment","comment"]):En.eat("*")?(Sn.tokenize=Jn,Jn(En,Sn)):["operator","operator"]},":":function(En){return En.match(/^\s*\{/,!1)?[null,null]:!1},$:function(En){return En.match(/^[\w-]+/),En.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(En){return En.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),c.defineMIME("text/x-less",{mediaTypes:se,mediaFeatures:xe,mediaValueKeywords:Xe,propertyKeywords:xt,nonStandardPropertyKeywords:$t,colorKeywords:Xr,valueKeywords:dn,fontProperties:ht,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(En,Sn){return En.eat("/")?(En.skipToEnd(),["comment","comment"]):En.eat("*")?(Sn.tokenize=Jn,Jn(En,Sn)):["operator","operator"]},"@":function(En){return En.eat("{")?[null,"interpolation"]:En.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(En.eatWhile(/[\w\\\-]/),En.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:se,mediaFeatures:xe,propertyKeywords:xt,nonStandardPropertyKeywords:$t,fontProperties:ht,counterDescriptors:Mt,colorKeywords:Xr,valueKeywords:dn,supportsAtComponent:!0,tokenHooks:{"/":function(En,Sn){return En.eat("*")?(Sn.tokenize=Jn,Jn(En,Sn)):!1}},name:"css",helperType:"gss"})})})();var wm={exports:{}};(function(i,h){(function(c){c(zl.exports)})(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,q){var se=S.indentUnit,he={},xe=q.htmlMode?g:x;for(var Te in xe)he[Te]=xe[Te];for(var Te in q)he[Te]=q[Te];var Xe,tt;function xt(Ce,en){function or(Vi){return en.tokenize=Vi,Vi(Ce,en)}var Tn=Ce.next();if(Tn=="<")return Ce.eat("!")?Ce.eat("[")?Ce.match("CDATA[")?or(Lr("atom","]]>")):null:Ce.match("--")?or(Lr("comment","-->")):Ce.match("DOCTYPE",!0,!0)?(Ce.eatWhile(/[\w\._\-]/),or(ht(1))):null:Ce.eat("?")?(Ce.eatWhile(/[\w\._\-]/),en.tokenize=Lr("meta","?>"),"meta"):(Xe=Ce.eat("/")?"closeTag":"openTag",en.tokenize=Ht,"tag bracket");if(Tn=="&"){var ei;return Ce.eat("#")?Ce.eat("x")?ei=Ce.eatWhile(/[a-fA-F\d]/)&&Ce.eat(";"):ei=Ce.eatWhile(/[\d]/)&&Ce.eat(";"):ei=Ce.eatWhile(/[\w\.\-:]/)&&Ce.eat(";"),ei?"atom":"error"}else return Ce.eatWhile(/[^&<]/),null}xt.isInText=!0;function Ht(Ce,en){var or=Ce.next();if(or==">"||or=="/"&&Ce.eat(">"))return en.tokenize=xt,Xe=or==">"?"endTag":"selfcloseTag","tag bracket";if(or=="=")return Xe="equals",null;if(or=="<"){en.tokenize=xt,en.state=zn,en.tagName=en.tagStart=null;var Tn=en.tokenize(Ce,en);return Tn?Tn+" tag error":"tag error"}else return/[\'\"]/.test(or)?(en.tokenize=$t(or),en.stringStartCol=Ce.column(),en.tokenize(Ce,en)):(Ce.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function $t(Ce){var en=function(or,Tn){for(;!or.eol();)if(or.next()==Ce){Tn.tokenize=Ht;break}return"string"};return en.isInAttribute=!0,en}function Lr(Ce,en){return function(or,Tn){for(;!or.eol();){if(or.match(en)){Tn.tokenize=xt;break}or.next()}return Ce}}function ht(Ce){return function(en,or){for(var Tn;(Tn=en.next())!=null;){if(Tn=="<")return or.tokenize=ht(Ce+1),or.tokenize(en,or);if(Tn==">")if(Ce==1){or.tokenize=xt;break}else return or.tokenize=ht(Ce-1),or.tokenize(en,or)}return"meta"}}function kt(Ce){return Ce&&Ce.toLowerCase()}function Mt(Ce,en,or){this.prev=Ce.context,this.tagName=en||"",this.indent=Ce.indented,this.startOfLine=or,(he.doNotIndent.hasOwnProperty(en)||Ce.context&&Ce.context.noIndent)&&(this.noIndent=!0)}function mr(Ce){Ce.context&&(Ce.context=Ce.context.prev)}function Xr(Ce,en){for(var or;;){if(!Ce.context||(or=Ce.context.tagName,!he.contextGrabbers.hasOwnProperty(kt(or))||!he.contextGrabbers[kt(or)].hasOwnProperty(kt(en))))return;mr(Ce)}}function zn(Ce,en,or){return Ce=="openTag"?(or.tagStart=en.column(),dn):Ce=="closeTag"?Pn:zn}function dn(Ce,en,or){return Ce=="word"?(or.tagName=en.current(),tt="tag",Sn):he.allowMissingTagName&&Ce=="endTag"?(tt="tag bracket",Sn(Ce,en,or)):(tt="error",dn)}function Pn(Ce,en,or){if(Ce=="word"){var Tn=en.current();return or.context&&or.context.tagName!=Tn&&he.implicitlyClosed.hasOwnProperty(kt(or.context.tagName))&&mr(or),or.context&&or.context.tagName==Tn||he.matchClosing===!1?(tt="tag",Jn):(tt="tag error",En)}else return he.allowMissingTagName&&Ce=="endTag"?(tt="tag bracket",Jn(Ce,en,or)):(tt="error",En)}function Jn(Ce,en,or){return Ce!="endTag"?(tt="error",Jn):(mr(or),zn)}function En(Ce,en,or){return tt="error",Jn(Ce,en,or)}function Sn(Ce,en,or){if(Ce=="word")return tt="attribute",oi;if(Ce=="endTag"||Ce=="selfcloseTag"){var Tn=or.tagName,ei=or.tagStart;return or.tagName=or.tagStart=null,Ce=="selfcloseTag"||he.autoSelfClosers.hasOwnProperty(kt(Tn))?Xr(or,Tn):(Xr(or,Tn),or.context=new Mt(or,Tn,ei==or.indented)),zn}return tt="error",Sn}function oi(Ce,en,or){return Ce=="equals"?pr:(he.allowMissing||(tt="error"),Sn(Ce,en,or))}function pr(Ce,en,or){return Ce=="string"?bn:Ce=="word"&&he.allowUnquoted?(tt="string",Sn):(tt="error",Sn(Ce,en,or))}function bn(Ce,en,or){return Ce=="string"?bn:Sn(Ce,en,or)}return{startState:function(Ce){var en={tokenize:xt,state:zn,indented:Ce||0,tagName:null,tagStart:null,context:null};return Ce!=null&&(en.baseIndent=Ce),en},token:function(Ce,en){if(!en.tagName&&Ce.sol()&&(en.indented=Ce.indentation()),Ce.eatSpace())return null;Xe=null;var or=en.tokenize(Ce,en);return(or||Xe)&&or!="comment"&&(tt=null,en.state=en.state(Xe||or,Ce,en),tt&&(or=tt=="error"?or+" error":tt)),or},indent:function(Ce,en,or){var Tn=Ce.context;if(Ce.tokenize.isInAttribute)return Ce.tagStart==Ce.indented?Ce.stringStartCol+1:Ce.indented+se;if(Tn&&Tn.noIndent)return c.Pass;if(Ce.tokenize!=Ht&&Ce.tokenize!=xt)return or?or.match(/^(\s*)/)[0].length:0;if(Ce.tagName)return he.multilineTagIndentPastTag!==!1?Ce.tagStart+Ce.tagName.length+2:Ce.tagStart+se*(he.multilineTagIndentFactor||1);if(he.alignCDATA&&/<!\[CDATA\[/.test(en))return 0;var ei=en&&/^<(\/)?([\w_:\.-]*)/.exec(en);if(ei&&ei[1])for(;Tn;)if(Tn.tagName==ei[2]){Tn=Tn.prev;break}else if(he.implicitlyClosed.hasOwnProperty(kt(Tn.tagName)))Tn=Tn.prev;else break;else if(ei)for(;Tn;){var Vi=he.contextGrabbers[kt(Tn.tagName)];if(Vi&&Vi.hasOwnProperty(kt(ei[2])))Tn=Tn.prev;else break}for(;Tn&&Tn.prev&&!Tn.startOfLine;)Tn=Tn.prev;return Tn?Tn.indent+se:Ce.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:he.htmlMode?"html":"xml",helperType:he.htmlMode?"html":"xml",skipAttribute:function(Ce){Ce.state==pr&&(Ce.state=Sn)},xmlCurrentTag:function(Ce){return Ce.tagName?{name:Ce.tagName,close:Ce.type=="closeTag"}:null},xmlCurrentContext:function(Ce){for(var en=[],or=Ce.context;or;or=or.prev)en.push(or.tagName);return en.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(zl.exports,wm.exports,Am.exports,RD.exports)})(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(Xe,tt,xt){var Ht=Xe.current(),$t=Ht.search(tt);return $t>-1?Xe.backUp(Ht.length-$t):Ht.match(/<\/?$/)&&(Xe.backUp(Ht.length),Xe.match(tt,!1)||Xe.match(Ht)),xt}var S={};function q(Xe){var tt=S[Xe];return tt||(S[Xe]=new RegExp("\\s+"+Xe+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function se(Xe,tt){var xt=Xe.match(q(tt));return xt?/^\s*(.*?)\s*$/.exec(xt[2])[1]:""}function he(Xe,tt){return new RegExp((tt?"^":"")+"</\\s*"+Xe+"\\s*>","i")}function xe(Xe,tt){for(var xt in Xe)for(var Ht=tt[xt]||(tt[xt]=[]),$t=Xe[xt],Lr=$t.length-1;Lr>=0;Lr--)Ht.unshift($t[Lr])}function Te(Xe,tt){for(var xt=0;xt<Xe.length;xt++){var Ht=Xe[xt];if(!Ht[0]||Ht[1].test(se(tt,Ht[0])))return Ht[2]}}c.defineMode("htmlmixed",function(Xe,tt){var xt=c.getMode(Xe,{name:"xml",htmlMode:!0,multilineTagIndentFactor:tt.multilineTagIndentFactor,multilineTagIndentPastTag:tt.multilineTagIndentPastTag,allowMissingTagName:tt.allowMissingTagName}),Ht={},$t=tt&&tt.tags,Lr=tt&&tt.scriptTypes;if(xe(g,Ht),$t&&xe($t,Ht),Lr)for(var ht=Lr.length-1;ht>=0;ht--)Ht.script.unshift(["type",Lr[ht].matches,Lr[ht].mode]);function kt(Mt,mr){var Xr=xt.token(Mt,mr.htmlState),zn=/\btag\b/.test(Xr),dn;if(zn&&!/[<>\s\/]/.test(Mt.current())&&(dn=mr.htmlState.tagName&&mr.htmlState.tagName.toLowerCase())&&Ht.hasOwnProperty(dn))mr.inTag=dn+" ";else if(mr.inTag&&zn&&/>$/.test(Mt.current())){var Pn=/^([\S]+) (.*)/.exec(mr.inTag);mr.inTag=null;var Jn=Mt.current()==">"&&Te(Ht[Pn[1]],Pn[2]),En=c.getMode(Xe,Jn),Sn=he(Pn[1],!0),oi=he(Pn[1],!1);mr.token=function(pr,bn){return pr.match(Sn,!1)?(bn.token=kt,bn.localState=bn.localMode=null,null):x(pr,oi,bn.localMode.token(pr,bn.localState))},mr.localMode=En,mr.localState=c.startState(En,xt.indent(mr.htmlState,"",""))}else mr.inTag&&(mr.inTag+=Mt.current(),Mt.eol()&&(mr.inTag+=" "));return Xr}return{startState:function(){var Mt=c.startState(xt);return{token:kt,inTag:null,localMode:null,localState:null,htmlState:Mt}},copyState:function(Mt){var mr;return Mt.localState&&(mr=c.copyState(Mt.localMode,Mt.localState)),{token:Mt.token,inTag:Mt.inTag,localMode:Mt.localMode,localState:mr,htmlState:c.copyState(xt,Mt.htmlState)}},token:function(Mt,mr){return mr.token(Mt,mr)},indent:function(Mt,mr,Xr){return!Mt.localMode||/^\s*<\//.test(mr)?xt.indent(Mt.htmlState,mr,Xr):Mt.localMode.indent?Mt.localMode.indent(Mt.localState,mr,Xr):c.Pass},innerMode:function(Mt){return{state:Mt.localState||Mt.htmlState,mode:Mt.localMode||xt}}}},"xml","javascript","css"),c.defineMIME("text/html","htmlmixed")})})();(function(i,h){(function(c){c(zl.exports,wm.exports,Am.exports)})(function(c){function g(S,q,se,he){this.state=S,this.mode=q,this.depth=se,this.prev=he}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,q){var se=c.getMode(S,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),he=c.getMode(S,q&&q.base||"javascript");function xe(xt){var Ht=xt.tagName;xt.tagName=null;var $t=se.indent(xt,"","");return xt.tagName=Ht,$t}function Te(xt,Ht){return Ht.context.mode==se?Xe(xt,Ht,Ht.context):tt(xt,Ht,Ht.context)}function Xe(xt,Ht,$t){if($t.depth==2)return xt.match(/^.*?\*\//)?$t.depth=1:xt.skipToEnd(),"comment";if(xt.peek()=="{"){se.skipAttribute($t.state);var Lr=xe($t.state),ht=$t.state.context;if(ht&&xt.match(/^[^>]*>\s*$/,!1)){for(;ht.prev&&!ht.startOfLine;)ht=ht.prev;ht.startOfLine?Lr-=S.indentUnit:$t.prev.state.lexical&&(Lr=$t.prev.state.lexical.indented)}else $t.depth==1&&(Lr+=S.indentUnit);return Ht.context=new g(c.startState(he,Lr),he,0,Ht.context),null}if($t.depth==1){if(xt.peek()=="<")return se.skipAttribute($t.state),Ht.context=new g(c.startState(se,xe($t.state)),se,0,Ht.context),null;if(xt.match("//"))return xt.skipToEnd(),"comment";if(xt.match("/*"))return $t.depth=2,Te(xt,Ht)}var kt=se.token(xt,$t.state),Mt=xt.current(),mr;return/\btag\b/.test(kt)?/>$/.test(Mt)?$t.state.context?$t.depth=0:Ht.context=Ht.context.prev:/^</.test(Mt)&&($t.depth=1):!kt&&(mr=Mt.indexOf("{"))>-1&&xt.backUp(Mt.length-mr),kt}function tt(xt,Ht,$t){if(xt.peek()=="<"&&he.expressionAllowed(xt,$t.state))return Ht.context=new g(c.startState(se,he.indent($t.state,"","")),se,0,Ht.context),he.skipExpression($t.state),null;var Lr=he.token(xt,$t.state);if(!Lr&&$t.depth!=null){var ht=xt.current();ht=="{"?$t.depth++:ht=="}"&&--$t.depth==0&&(Ht.context=Ht.context.prev)}return Lr}return{startState:function(){return{context:new g(c.startState(he),he)}},copyState:function(xt){return{context:x(xt.context)}},token:Te,indent:function(xt,Ht,$t){return xt.context.mode.indent(xt.context.state,Ht,$t)},innerMode:function(xt){return xt.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(zl.exports)})(function(c){c.defineOption("placeholder","",function(xe,Te,Xe){var tt=Xe&&Xe!=c.Init;if(Te&&!tt)xe.on("blur",q),xe.on("change",se),xe.on("swapDoc",se),c.on(xe.getInputField(),"compositionupdate",xe.state.placeholderCompose=function(){S(xe)}),se(xe);else if(!Te&&tt){xe.off("blur",q),xe.off("change",se),xe.off("swapDoc",se),c.off(xe.getInputField(),"compositionupdate",xe.state.placeholderCompose),g(xe);var xt=xe.getWrapperElement();xt.className=xt.className.replace(" CodeMirror-empty","")}Te&&!xe.hasFocus()&&q(xe)});function g(xe){xe.state.placeholder&&(xe.state.placeholder.parentNode.removeChild(xe.state.placeholder),xe.state.placeholder=null)}function x(xe){g(xe);var Te=xe.state.placeholder=document.createElement("pre");Te.style.cssText="height: 0; overflow: visible",Te.style.direction=xe.getOption("direction"),Te.className="CodeMirror-placeholder CodeMirror-line-like";var Xe=xe.getOption("placeholder");typeof Xe=="string"&&(Xe=document.createTextNode(Xe)),Te.appendChild(Xe),xe.display.lineSpace.insertBefore(Te,xe.display.lineSpace.firstChild)}function S(xe){setTimeout(function(){var Te=!1;if(xe.lineCount()==1){var Xe=xe.getInputField();Te=Xe.nodeName=="TEXTAREA"?!xe.getLine(0).length:!/[^\u200b]/.test(Xe.querySelector(".CodeMirror-line").textContent)}Te?x(xe):g(xe)},20)}function q(xe){he(xe)&&x(xe)}function se(xe){var Te=xe.getWrapperElement(),Xe=he(xe);Te.className=Te.className.replace(" CodeMirror-empty","")+(Xe?" CodeMirror-empty":""),Xe?x(xe):g(xe)}function he(xe){return xe.lineCount()===1&&xe.getLine(0)===""}})})();(function(i,h){(function(c){c(zl.exports)})(function(c){var g="CodeMirror-hint",x="CodeMirror-hint-active";c.showHint=function(ht,kt,Mt){if(!kt)return ht.showHint(Mt);Mt&&Mt.async&&(kt.async=!0);var mr={hint:kt};if(Mt)for(var Xr in Mt)mr[Xr]=Mt[Xr];return ht.showHint(mr)},c.defineExtension("showHint",function(ht){ht=he(this,this.getCursor("start"),ht);var kt=this.listSelections();if(!(kt.length>1)){if(this.somethingSelected()){if(!ht.hint.supportsSelection)return;for(var Mt=0;Mt<kt.length;Mt++)if(kt[Mt].head.line!=kt[Mt].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var mr=this.state.completionActive=new S(this,ht);!mr.options.hint||(c.signal(this,"startCompletion",this),mr.update(!0))}}),c.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function S(ht,kt){if(this.cm=ht,this.options=kt,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 Mt=this;ht.on("cursorActivity",this.activityFunc=function(){Mt.cursorActivity()})}}var q=window.requestAnimationFrame||function(ht){return setTimeout(ht,1e3/60)},se=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(ht,kt){var Mt=ht.list[kt],mr=this;this.cm.operation(function(){Mt.hint?Mt.hint(mr.cm,ht,Mt):mr.cm.replaceRange(xe(Mt),Mt.from||ht.from,Mt.to||ht.to,"complete"),c.signal(ht,"pick",Mt),mr.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(se(this.debounce),this.debounce=0);var ht=this.startPos;this.data&&(ht=this.data.from);var kt=this.cm.getCursor(),Mt=this.cm.getLine(kt.line);if(kt.line!=this.startPos.line||Mt.length-kt.ch!=this.startLen-this.startPos.ch||kt.ch<ht.ch||this.cm.somethingSelected()||!kt.ch||this.options.closeCharacters.test(Mt.charAt(kt.ch-1)))this.close();else{var mr=this;this.debounce=q(function(){mr.update()}),this.widget&&this.widget.disable()}},update:function(ht){if(this.tick!=null){var kt=this,Mt=++this.tick;Ht(this.options.hint,this.cm,this.options,function(mr){kt.tick==Mt&&kt.finishUpdate(mr,ht)})}},finishUpdate:function(ht,kt){this.data&&c.signal(this.data,"update");var Mt=this.widget&&this.widget.picked||kt&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=ht,ht&&ht.list.length&&(Mt&&ht.list.length==1?this.pick(ht,0):(this.widget=new tt(this,ht),c.signal(ht,"shown")))}};function he(ht,kt,Mt){var mr=ht.options.hintOptions,Xr={};for(var zn in Lr)Xr[zn]=Lr[zn];if(mr)for(var zn in mr)mr[zn]!==void 0&&(Xr[zn]=mr[zn]);if(Mt)for(var zn in Mt)Mt[zn]!==void 0&&(Xr[zn]=Mt[zn]);return Xr.hint.resolve&&(Xr.hint=Xr.hint.resolve(ht,kt)),Xr}function xe(ht){return typeof ht=="string"?ht:ht.text}function Te(ht,kt){var Mt={Up:function(){kt.moveFocus(-1)},Down:function(){kt.moveFocus(1)},PageUp:function(){kt.moveFocus(-kt.menuSize()+1,!0)},PageDown:function(){kt.moveFocus(kt.menuSize()-1,!0)},Home:function(){kt.setFocus(0)},End:function(){kt.setFocus(kt.length-1)},Enter:kt.pick,Tab:kt.pick,Esc:kt.close},mr=/Mac/.test(navigator.platform);mr&&(Mt["Ctrl-P"]=function(){kt.moveFocus(-1)},Mt["Ctrl-N"]=function(){kt.moveFocus(1)});var Xr=ht.options.customKeys,zn=Xr?{}:Mt;function dn(En,Sn){var oi;typeof Sn!="string"?oi=function(pr){return Sn(pr,kt)}:Mt.hasOwnProperty(Sn)?oi=Mt[Sn]:oi=Sn,zn[En]=oi}if(Xr)for(var Pn in Xr)Xr.hasOwnProperty(Pn)&&dn(Pn,Xr[Pn]);var Jn=ht.options.extraKeys;if(Jn)for(var Pn in Jn)Jn.hasOwnProperty(Pn)&&dn(Pn,Jn[Pn]);return zn}function Xe(ht,kt){for(;kt&&kt!=ht;){if(kt.nodeName.toUpperCase()==="LI"&&kt.parentNode==ht)return kt;kt=kt.parentNode}}function tt(ht,kt){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=ht,this.data=kt,this.picked=!1;var Mt=this,mr=ht.cm,Xr=mr.getInputField().ownerDocument,zn=Xr.defaultView||Xr.parentWindow,dn=this.hints=Xr.createElement("ul");dn.setAttribute("role","listbox"),dn.setAttribute("aria-expanded","true"),dn.id=this.id;var Pn=ht.cm.options.theme;dn.className="CodeMirror-hints "+Pn,this.selectedHint=kt.selectedHint||0;for(var Jn=kt.list,En=0;En<Jn.length;++En){var Sn=dn.appendChild(Xr.createElement("li")),oi=Jn[En],pr=g+(En!=this.selectedHint?"":" "+x);oi.className!=null&&(pr=oi.className+" "+pr),Sn.className=pr,En==this.selectedHint&&Sn.setAttribute("aria-selected","true"),Sn.id=this.id+"-"+En,Sn.setAttribute("role","option"),oi.render?oi.render(Sn,kt,oi):Sn.appendChild(Xr.createTextNode(oi.displayText||xe(oi))),Sn.hintId=En}var bn=ht.options.container||Xr.body,Ce=mr.cursorCoords(ht.options.alignWithWord?kt.from:null),en=Ce.left,or=Ce.bottom,Tn=!0,ei=0,Vi=0;if(bn!==Xr.body){var as=["absolute","relative","fixed"].indexOf(zn.getComputedStyle(bn).position)!==-1,fs=as?bn:bn.offsetParent,es=fs.getBoundingClientRect(),ts=Xr.body.getBoundingClientRect();ei=es.left-ts.left-fs.scrollLeft,Vi=es.top-ts.top-fs.scrollTop}dn.style.left=en-ei+"px",dn.style.top=or-Vi+"px";var Ir=zn.innerWidth||Math.max(Xr.body.offsetWidth,Xr.documentElement.offsetWidth),jr=zn.innerHeight||Math.max(Xr.body.offsetHeight,Xr.documentElement.offsetHeight);bn.appendChild(dn),mr.getInputField().setAttribute("aria-autocomplete","list"),mr.getInputField().setAttribute("aria-owns",this.id),mr.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var gr=ht.options.moveOnOverlap?dn.getBoundingClientRect():new DOMRect,un=ht.options.paddingForScrollbar?dn.scrollHeight>dn.clientHeight+1:!1,jn;setTimeout(function(){jn=mr.getScrollInfo()});var ci=gr.bottom-jr;if(ci>0){var On=gr.bottom-gr.top,Je=gr.top-(Ce.bottom-Ce.top)-2;jr-gr.top<Je?(On>Je&&(dn.style.height=(On=Je)+"px"),dn.style.top=(or=Ce.top-On)+Vi+"px",Tn=!1):dn.style.height=jr-gr.top-2+"px"}var Et=gr.right-Ir;if(un&&(Et+=mr.display.nativeBarWidth),Et>0&&(gr.right-gr.left>Ir&&(dn.style.width=Ir-5+"px",Et-=gr.right-gr.left-Ir),dn.style.left=(en=Math.max(Ce.left-Et-ei,0))+"px"),un)for(var Ar=dn.firstChild;Ar;Ar=Ar.nextSibling)Ar.style.paddingRight=mr.display.nativeBarWidth+"px";if(mr.addKeyMap(this.keyMap=Te(ht,{moveFocus:function(rn,Gr){Mt.changeActive(Mt.selectedHint+rn,Gr)},setFocus:function(rn){Mt.changeActive(rn)},menuSize:function(){return Mt.screenAmount()},length:Jn.length,close:function(){ht.close()},pick:function(){Mt.pick()},data:kt})),ht.options.closeOnUnfocus){var zr;mr.on("blur",this.onBlur=function(){zr=setTimeout(function(){ht.close()},100)}),mr.on("focus",this.onFocus=function(){clearTimeout(zr)})}mr.on("scroll",this.onScroll=function(){var rn=mr.getScrollInfo(),Gr=mr.getWrapperElement().getBoundingClientRect();jn||(jn=mr.getScrollInfo());var ln=or+jn.top-rn.top,Ln=ln-(zn.pageYOffset||(Xr.documentElement||Xr.body).scrollTop);if(Tn||(Ln+=dn.offsetHeight),Ln<=Gr.top||Ln>=Gr.bottom)return ht.close();dn.style.top=ln+"px",dn.style.left=en+jn.left-rn.left+"px"}),c.on(dn,"dblclick",function(rn){var Gr=Xe(dn,rn.target||rn.srcElement);Gr&&Gr.hintId!=null&&(Mt.changeActive(Gr.hintId),Mt.pick())}),c.on(dn,"click",function(rn){var Gr=Xe(dn,rn.target||rn.srcElement);Gr&&Gr.hintId!=null&&(Mt.changeActive(Gr.hintId),ht.options.completeOnSingleClick&&Mt.pick())}),c.on(dn,"mousedown",function(){setTimeout(function(){mr.focus()},20)});var Tr=this.getSelectedHintRange();return(Tr.from!==0||Tr.to!==0)&&this.scrollToActive(),c.signal(kt,"select",Jn[this.selectedHint],dn.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 ht=this.completion.cm.getInputField();ht.removeAttribute("aria-activedescendant"),ht.removeAttribute("aria-owns");var kt=this.completion.cm;this.completion.options.closeOnUnfocus&&(kt.off("blur",this.onBlur),kt.off("focus",this.onFocus)),kt.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var ht=this;this.keyMap={Enter:function(){ht.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(ht,kt){if(ht>=this.data.list.length?ht=kt?this.data.list.length-1:0:ht<0&&(ht=kt?0:this.data.list.length-1),this.selectedHint!=ht){var Mt=this.hints.childNodes[this.selectedHint];Mt&&(Mt.className=Mt.className.replace(" "+x,""),Mt.removeAttribute("aria-selected")),Mt=this.hints.childNodes[this.selectedHint=ht],Mt.className+=" "+x,Mt.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Mt.id),this.scrollToActive(),c.signal(this.data,"select",this.data.list[this.selectedHint],Mt)}},scrollToActive:function(){var ht=this.getSelectedHintRange(),kt=this.hints.childNodes[ht.from],Mt=this.hints.childNodes[ht.to],mr=this.hints.firstChild;kt.offsetTop<this.hints.scrollTop?this.hints.scrollTop=kt.offsetTop-mr.offsetTop:Mt.offsetTop+Mt.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Mt.offsetTop+Mt.offsetHeight-this.hints.clientHeight+mr.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var ht=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-ht),to:Math.min(this.data.list.length-1,this.selectedHint+ht)}}};function xt(ht,kt){if(!ht.somethingSelected())return kt;for(var Mt=[],mr=0;mr<kt.length;mr++)kt[mr].supportsSelection&&Mt.push(kt[mr]);return Mt}function Ht(ht,kt,Mt,mr){if(ht.async)ht(kt,mr,Mt);else{var Xr=ht(kt,Mt);Xr&&Xr.then?Xr.then(mr):mr(Xr)}}function $t(ht,kt){var Mt=ht.getHelpers(kt,"hint"),mr;if(Mt.length){var Xr=function(zn,dn,Pn){var Jn=xt(zn,Mt);function En(Sn){if(Sn==Jn.length)return dn(null);Ht(Jn[Sn],zn,Pn,function(oi){oi&&oi.list.length>0?dn(oi):En(Sn+1)})}En(0)};return Xr.async=!0,Xr.supportsSelection=!0,Xr}else return(mr=ht.getHelper(ht.getCursor(),"hintWords"))?function(zn){return c.hint.fromList(zn,{words:mr})}:c.hint.anyword?function(zn,dn){return c.hint.anyword(zn,dn)}:function(){}}c.registerHelper("hint","auto",{resolve:$t}),c.registerHelper("hint","fromList",function(ht,kt){var Mt=ht.getCursor(),mr=ht.getTokenAt(Mt),Xr,zn=c.Pos(Mt.line,mr.start),dn=Mt;mr.start<Mt.ch&&/\w/.test(mr.string.charAt(Mt.ch-mr.start-1))?Xr=mr.string.substr(0,Mt.ch-mr.start):(Xr="",zn=Mt);for(var Pn=[],Jn=0;Jn<kt.words.length;Jn++){var En=kt.words[Jn];En.slice(0,Xr.length)==Xr&&Pn.push(En)}if(Pn.length)return{list:Pn,from:zn,to:dn}}),c.commands.autocomplete=c.showHint;var Lr={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 $D(i,h,c={}){const g=jD.fromTextArea(i.value,{theme:"vars",...hs(c)});Ua(c,S=>Object.entries(S).forEach(([q,se])=>g.setOption(q,se)));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 q=g.listSelections();g.replaceRange(S,g.posFromIndex(0),g.posFromIndex(1/0)),g.setSelections(q)}},{immediate:!0}),g}const zD={relative:"","font-mono":"","text-sm":""},UD=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=SD(c,"modelValue",h,{passive:!0}),q=Ws(()=>g[c.mode||""]||c.mode),se=Ws(()=>c.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),he=Ws(()=>c.getHint?{hint:c.getHint}:{});return Lp(async()=>{const xe=$D(x,S,_c({...$g(c),mode:q,hintOptions:he,extraKeys:se}));xe.setSize("100%","100%"),c.getHint&&xe.on("keyup",(Ht,$t)=>{$t.key.match(/^[\w:-]$/)&&Ht.execCommand("autocomplete")}),setTimeout(()=>xe.refresh(),100);const Te=[];function Xe(Ht,$t){Te.push(xe.markText(xe.posFromIndex(Ht),xe.posFromIndex($t),{className:"highlighted"}))}function tt(){Te.forEach(Ht=>Ht.clear()),MD(c.modelValue,Array.from(c.matched||[]),!0).forEach(Ht=>Xe(Ht[0],Ht[1]))}let xt=0;Ua(()=>[c.modelValue,c.matched],async()=>{clearTimeout(xt),c.matched&&(xt=setTimeout(tt,200))},{immediate:!0})}),(xe,Te)=>(ma(),go("div",zD,[Ui("textarea",{ref_key:"el",ref:x},null,512)]))}});const Tm=(i,h)=>{const c=i.__vccOpts||i;for(const[g,x]of h)c[g]=x;return c},HD={},qD={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function WD(i,h){return ma(),go("div",qD,[vp(i.$slots,"default")])}const VD=Tm(HD,[["render",WD]]),GD={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":""},KD={"mr-2":"","op-60":""},JD={flex:"","gap-2":"","flex-auto":""},XD=Yu({__name:"TitleBar",props:{title:null},emits:["titleClick"],setup(i,{emit:h}){return(c,g)=>(ma(),go("div",GD,[Ui("div",{flex:"",onClick:g[0]||(g[0]=x=>h("titleClick",x))},[vp(c.$slots,"before"),Ui("div",KD,jo(i.title),1)]),Ui("div",JD,[vp(c.$slots,"default")])]))}}),YD="/@vite/client",Sm=qc(),Fm=qc(),QD=Sm.on,km=Fm.on;Ch(()=>import(YD),[]).then(i=>{const h=i.createHotContext("/");h.on("vite:beforeUpdate",c=>{c.updates.forEach(g=>{Sm.trigger(g)})}),h.on("unocss:config-changed",()=>{Fm.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 Up="/__unocss_api",Pm=$p(Up).json(),Wh=$p(`${Up}/overview`,{immediate:!1}).json(),ro=Pm.data,up=Wh.data;km(()=>{Pm.execute(),Wh.execute()});function vx(i){const h=$p(Ws(()=>`${Up}/module?id=${encodeURIComponent(hs(i))}`),{refetch:!0}).json();return km(()=>h.execute()),QD(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 xx(i,h){const c=ky(i,500);return $p(Ws(()=>`${Up}/repl?token=${encodeURIComponent(c.value)}&safelist=${h.value}`),{refetch:!0}).json()}const lp=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:Jf(h,"Project Root"),root:Jf(c,"Disk Root")}});function Jf(i,h){const c={name:h,children:{},items:[]};function g(x,S,q=c){if(S.length<=1){q.items.push(x);return}const se=S.shift();q.children[se]||(q.children[se]={name:se,children:{},items:[]}),g(x,S,q.children[se])}return i.forEach(x=>{const S=x.path.split(/\//g).filter(Boolean);g(x,S)}),c}const ZD={key:0,"ws-wrap":""},ev=Ui("span",{op80:""},".",-1),tv={key:1},rv=Yu({__name:"ModuleId",props:{id:null},setup(i){return(h,c)=>i.id&&hs(ro)?(ma(),go("span",ZD,[i.id.startsWith(hs(ro).root)?(ma(),go(Ro,{key:0},[ev,Ui("span",null,jo(i.id.slice(hs(ro).root.length)),1)],64)):(ma(),go("span",tv,jo(i.id),1))])):bp("",!0)}}),nv=(i,h)=>{const c=Ta(null);return mD(i,()=>{var x;const g=(x=Hh(i))==null?void 0:x.clientHeight;c.value=g?`--${h}: calc(100vh - ${g}px - 2px);`:null}),c};var Nm={exports:{}};(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(De){return De&&De.Math==Math&&De};ue.exports=re(typeof globalThis=="object"&&globalThis)||re(typeof window=="object"&&window)||re(typeof self=="object"&&self)||re(typeof Rl=="object"&&Rl)||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})}),q=c((_e,ue)=>{var re=x();ue.exports=!re(function(){var De=function(){}.bind();return typeof De!="function"||De.hasOwnProperty("prototype")})}),se=c((_e,ue)=>{var re=q(),De=Function.prototype.call;ue.exports=re?De.bind(De):function(){return De.apply(De,arguments)}}),he=c(_e=>{var ue={}.propertyIsEnumerable,re=Object.getOwnPropertyDescriptor,De=re&&!ue.call({1:2},1);_e.f=De?function(Fe){var Re=re(this,Fe);return!!Re&&Re.enumerable}:ue}),xe=c((_e,ue)=>{ue.exports=function(re,De){return{enumerable:!(re&1),configurable:!(re&2),writable:!(re&4),value:De}}}),Te=c((_e,ue)=>{var re=q(),De=Function.prototype,Fe=De.bind,Re=De.call,Qe=re&&Fe.bind(Re,Re);ue.exports=re?function(nt){return nt&&Qe(nt)}:function(nt){return nt&&function(){return Re.apply(nt,arguments)}}}),Xe=c((_e,ue)=>{var re=Te(),De=re({}.toString),Fe=re("".slice);ue.exports=function(Re){return Fe(De(Re),8,-1)}}),tt=c((_e,ue)=>{var re=g(),De=Te(),Fe=x(),Re=Xe(),Qe=re.Object,nt=De("".split);ue.exports=Fe(function(){return!Qe("z").propertyIsEnumerable(0)})?function(Tt){return Re(Tt)=="String"?nt(Tt,""):Qe(Tt)}:Qe}),xt=c((_e,ue)=>{var re=g(),De=re.TypeError;ue.exports=function(Fe){if(Fe==null)throw De("Can't call method on "+Fe);return Fe}}),Ht=c((_e,ue)=>{var re=tt(),De=xt();ue.exports=function(Fe){return re(De(Fe))}}),$t=c((_e,ue)=>{ue.exports=function(re){return typeof re=="function"}}),Lr=c((_e,ue)=>{var re=$t();ue.exports=function(De){return typeof De=="object"?De!==null:re(De)}}),ht=c((_e,ue)=>{var re=g(),De=$t(),Fe=function(Re){return De(Re)?Re:void 0};ue.exports=function(Re,Qe){return arguments.length<2?Fe(re[Re]):re[Re]&&re[Re][Qe]}}),kt=c((_e,ue)=>{var re=Te();ue.exports=re({}.isPrototypeOf)}),Mt=c((_e,ue)=>{var re=ht();ue.exports=re("navigator","userAgent")||""}),mr=c((_e,ue)=>{var re=g(),De=Mt(),Fe=re.process,Re=re.Deno,Qe=Fe&&Fe.versions||Re&&Re.version,nt=Qe&&Qe.v8,Tt,Qt;nt&&(Tt=nt.split("."),Qt=Tt[0]>0&&Tt[0]<4?1:+(Tt[0]+Tt[1])),!Qt&&De&&(Tt=De.match(/Edge\/(\d+)/),(!Tt||Tt[1]>=74)&&(Tt=De.match(/Chrome\/(\d+)/),Tt&&(Qt=+Tt[1]))),ue.exports=Qt}),Xr=c((_e,ue)=>{var re=mr(),De=x();ue.exports=!!Object.getOwnPropertySymbols&&!De(function(){var Fe=Symbol();return!String(Fe)||!(Object(Fe)instanceof Symbol)||!Symbol.sham&&re&&re<41})}),zn=c((_e,ue)=>{var re=Xr();ue.exports=re&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),dn=c((_e,ue)=>{var re=g(),De=ht(),Fe=$t(),Re=kt(),Qe=zn(),nt=re.Object;ue.exports=Qe?function(Tt){return typeof Tt=="symbol"}:function(Tt){var Qt=De("Symbol");return Fe(Qt)&&Re(Qt.prototype,nt(Tt))}}),Pn=c((_e,ue)=>{var re=g(),De=re.String;ue.exports=function(Fe){try{return De(Fe)}catch{return"Object"}}}),Jn=c((_e,ue)=>{var re=g(),De=$t(),Fe=Pn(),Re=re.TypeError;ue.exports=function(Qe){if(De(Qe))return Qe;throw Re(Fe(Qe)+" is not a function")}}),En=c((_e,ue)=>{var re=Jn();ue.exports=function(De,Fe){var Re=De[Fe];return Re==null?void 0:re(Re)}}),Sn=c((_e,ue)=>{var re=g(),De=se(),Fe=$t(),Re=Lr(),Qe=re.TypeError;ue.exports=function(nt,Tt){var Qt,ir;if(Tt==="string"&&Fe(Qt=nt.toString)&&!Re(ir=De(Qt,nt))||Fe(Qt=nt.valueOf)&&!Re(ir=De(Qt,nt))||Tt!=="string"&&Fe(Qt=nt.toString)&&!Re(ir=De(Qt,nt)))return ir;throw Qe("Can't convert object to primitive value")}}),oi=c((_e,ue)=>{ue.exports=!1}),pr=c((_e,ue)=>{var re=g(),De=Object.defineProperty;ue.exports=function(Fe,Re){try{De(re,Fe,{value:Re,configurable:!0,writable:!0})}catch{re[Fe]=Re}return Re}}),bn=c((_e,ue)=>{var re=g(),De=pr(),Fe="__core-js_shared__",Re=re[Fe]||De(Fe,{});ue.exports=Re}),Ce=c((_e,ue)=>{var re=oi(),De=bn();(ue.exports=function(Fe,Re){return De[Fe]||(De[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"})}),en=c((_e,ue)=>{var re=g(),De=xt(),Fe=re.Object;ue.exports=function(Re){return Fe(De(Re))}}),or=c((_e,ue)=>{var re=Te(),De=en(),Fe=re({}.hasOwnProperty);ue.exports=Object.hasOwn||function(Re,Qe){return Fe(De(Re),Qe)}}),Tn=c((_e,ue)=>{var re=Te(),De=0,Fe=Math.random(),Re=re(1 .toString);ue.exports=function(Qe){return"Symbol("+(Qe===void 0?"":Qe)+")_"+Re(++De+Fe,36)}}),ei=c((_e,ue)=>{var re=g(),De=Ce(),Fe=or(),Re=Tn(),Qe=Xr(),nt=zn(),Tt=De("wks"),Qt=re.Symbol,ir=Qt&&Qt.for,Pt=nt?Qt:Qt&&Qt.withoutSetter||Re;ue.exports=function(Fr){if(!Fe(Tt,Fr)||!(Qe||typeof Tt[Fr]=="string")){var Jr="Symbol."+Fr;Qe&&Fe(Qt,Fr)?Tt[Fr]=Qt[Fr]:nt&&ir?Tt[Fr]=ir(Jr):Tt[Fr]=Pt(Jr)}return Tt[Fr]}}),Vi=c((_e,ue)=>{var re=g(),De=se(),Fe=Lr(),Re=dn(),Qe=En(),nt=Sn(),Tt=ei(),Qt=re.TypeError,ir=Tt("toPrimitive");ue.exports=function(Pt,Fr){if(!Fe(Pt)||Re(Pt))return Pt;var Jr=Qe(Pt,ir),Be;if(Jr){if(Fr===void 0&&(Fr="default"),Be=De(Jr,Pt,Fr),!Fe(Be)||Re(Be))return Be;throw Qt("Can't convert object to primitive value")}return Fr===void 0&&(Fr="number"),nt(Pt,Fr)}}),as=c((_e,ue)=>{var re=Vi(),De=dn();ue.exports=function(Fe){var Re=re(Fe,"string");return De(Re)?Re:Re+""}}),fs=c((_e,ue)=>{var re=g(),De=Lr(),Fe=re.document,Re=De(Fe)&&De(Fe.createElement);ue.exports=function(Qe){return Re?Fe.createElement(Qe):{}}}),es=c((_e,ue)=>{var re=S(),De=x(),Fe=fs();ue.exports=!re&&!De(function(){return Object.defineProperty(Fe("div"),"a",{get:function(){return 7}}).a!=7})}),ts=c(_e=>{var ue=S(),re=se(),De=he(),Fe=xe(),Re=Ht(),Qe=as(),nt=or(),Tt=es(),Qt=Object.getOwnPropertyDescriptor;_e.f=ue?Qt:function(ir,Pt){if(ir=Re(ir),Pt=Qe(Pt),Tt)try{return Qt(ir,Pt)}catch{}if(nt(ir,Pt))return Fe(!re(De.f,ir,Pt),ir[Pt])}}),Ir=c((_e,ue)=>{var re=S(),De=x();ue.exports=re&&De(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),jr=c((_e,ue)=>{var re=g(),De=Lr(),Fe=re.String,Re=re.TypeError;ue.exports=function(Qe){if(De(Qe))return Qe;throw Re(Fe(Qe)+" is not an object")}}),gr=c(_e=>{var ue=g(),re=S(),De=es(),Fe=Ir(),Re=jr(),Qe=as(),nt=ue.TypeError,Tt=Object.defineProperty,Qt=Object.getOwnPropertyDescriptor,ir="enumerable",Pt="configurable",Fr="writable";_e.f=re?Fe?function(Jr,Be,vr){if(Re(Jr),Be=Qe(Be),Re(vr),typeof Jr=="function"&&Be==="prototype"&&"value"in vr&&Fr in vr&&!vr[Fr]){var An=Qt(Jr,Be);An&&An[Fr]&&(Jr[Be]=vr.value,vr={configurable:Pt in vr?vr[Pt]:An[Pt],enumerable:ir in vr?vr[ir]:An[ir],writable:!1})}return Tt(Jr,Be,vr)}:Tt:function(Jr,Be,vr){if(Re(Jr),Be=Qe(Be),Re(vr),De)try{return Tt(Jr,Be,vr)}catch{}if("get"in vr||"set"in vr)throw nt("Accessors not supported");return"value"in vr&&(Jr[Be]=vr.value),Jr}}),un=c((_e,ue)=>{var re=S(),De=gr(),Fe=xe();ue.exports=re?function(Re,Qe,nt){return De.f(Re,Qe,Fe(1,nt))}:function(Re,Qe,nt){return Re[Qe]=nt,Re}}),jn=c((_e,ue)=>{var re=Te(),De=$t(),Fe=bn(),Re=re(Function.toString);De(Fe.inspectSource)||(Fe.inspectSource=function(Qe){return Re(Qe)}),ue.exports=Fe.inspectSource}),ci=c((_e,ue)=>{var re=g(),De=$t(),Fe=jn(),Re=re.WeakMap;ue.exports=De(Re)&&/native code/.test(Fe(Re))}),On=c((_e,ue)=>{var re=Ce(),De=Tn(),Fe=re("keys");ue.exports=function(Re){return Fe[Re]||(Fe[Re]=De(Re))}}),Je=c((_e,ue)=>{ue.exports={}}),Et=c((_e,ue)=>{var re=ci(),De=g(),Fe=Te(),Re=Lr(),Qe=un(),nt=or(),Tt=bn(),Qt=On(),ir=Je(),Pt="Object already initialized",Fr=De.TypeError,Jr=De.WeakMap,Be,vr,An,bi=function(di){return An(di)?vr(di):Be(di,{})},ui=function(di){return function(ms){var ws;if(!Re(ms)||(ws=vr(ms)).type!==di)throw Fr("Incompatible receiver, "+di+" required");return ws}};re||Tt.state?(mn=Tt.state||(Tt.state=new Jr),ns=Fe(mn.get),Fs=Fe(mn.has),it=Fe(mn.set),Be=function(di,ms){if(Fs(mn,di))throw new Fr(Pt);return ms.facade=di,it(mn,di,ms),ms},vr=function(di){return ns(mn,di)||{}},An=function(di){return Fs(mn,di)}):(cn=Qt("state"),ir[cn]=!0,Be=function(di,ms){if(nt(di,cn))throw new Fr(Pt);return ms.facade=di,Qe(di,cn,ms),ms},vr=function(di){return nt(di,cn)?di[cn]:{}},An=function(di){return nt(di,cn)});var mn,ns,Fs,it,cn;ue.exports={set:Be,get:vr,has:An,enforce:bi,getterFor:ui}}),Ar=c((_e,ue)=>{var re=S(),De=or(),Fe=Function.prototype,Re=re&&Object.getOwnPropertyDescriptor,Qe=De(Fe,"name"),nt=Qe&&function(){}.name==="something",Tt=Qe&&(!re||re&&Re(Fe,"name").configurable);ue.exports={EXISTS:Qe,PROPER:nt,CONFIGURABLE:Tt}}),zr=c((_e,ue)=>{var re=g(),De=$t(),Fe=or(),Re=un(),Qe=pr(),nt=jn(),Tt=Et(),Qt=Ar().CONFIGURABLE,ir=Tt.get,Pt=Tt.enforce,Fr=String(String).split("String");(ue.exports=function(Jr,Be,vr,An){var bi=An?!!An.unsafe:!1,ui=An?!!An.enumerable:!1,mn=An?!!An.noTargetGet:!1,ns=An&&An.name!==void 0?An.name:Be,Fs;if(De(vr)&&(String(ns).slice(0,7)==="Symbol("&&(ns="["+String(ns).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Fe(vr,"name")||Qt&&vr.name!==ns)&&Re(vr,"name",ns),Fs=Pt(vr),Fs.source||(Fs.source=Fr.join(typeof ns=="string"?ns:""))),Jr===re){ui?Jr[Be]=vr:Qe(Be,vr);return}else bi?!mn&&Jr[Be]&&(ui=!0):delete Jr[Be];ui?Jr[Be]=vr:Re(Jr,Be,vr)})(Function.prototype,"toString",function(){return De(this)&&ir(this).source||nt(this)})}),Tr=c((_e,ue)=>{var re=Math.ceil,De=Math.floor;ue.exports=function(Fe){var Re=+Fe;return Re!==Re||Re===0?0:(Re>0?De:re)(Re)}}),rn=c((_e,ue)=>{var re=Tr(),De=Math.max,Fe=Math.min;ue.exports=function(Re,Qe){var nt=re(Re);return nt<0?De(nt+Qe,0):Fe(nt,Qe)}}),Gr=c((_e,ue)=>{var re=Tr(),De=Math.min;ue.exports=function(Fe){return Fe>0?De(re(Fe),9007199254740991):0}}),ln=c((_e,ue)=>{var re=Gr();ue.exports=function(De){return re(De.length)}}),Ln=c((_e,ue)=>{var re=Ht(),De=rn(),Fe=ln(),Re=function(Qe){return function(nt,Tt,Qt){var ir=re(nt),Pt=Fe(ir),Fr=De(Qt,Pt),Jr;if(Qe&&Tt!=Tt){for(;Pt>Fr;)if(Jr=ir[Fr++],Jr!=Jr)return!0}else for(;Pt>Fr;Fr++)if((Qe||Fr in ir)&&ir[Fr]===Tt)return Qe||Fr||0;return!Qe&&-1}};ue.exports={includes:Re(!0),indexOf:Re(!1)}}),Qr=c((_e,ue)=>{var re=Te(),De=or(),Fe=Ht(),Re=Ln().indexOf,Qe=Je(),nt=re([].push);ue.exports=function(Tt,Qt){var ir=Fe(Tt),Pt=0,Fr=[],Jr;for(Jr in ir)!De(Qe,Jr)&&De(ir,Jr)&&nt(Fr,Jr);for(;Qt.length>Pt;)De(ir,Jr=Qt[Pt++])&&(~Re(Fr,Jr)||nt(Fr,Jr));return Fr}}),At=c((_e,ue)=>{ue.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),dr=c(_e=>{var ue=Qr(),re=At(),De=re.concat("length","prototype");_e.f=Object.getOwnPropertyNames||function(Fe){return ue(Fe,De)}}),Vt=c(_e=>{_e.f=Object.getOwnPropertySymbols}),qn=c((_e,ue)=>{var re=ht(),De=Te(),Fe=dr(),Re=Vt(),Qe=jr(),nt=De([].concat);ue.exports=re("Reflect","ownKeys")||function(Tt){var Qt=Fe.f(Qe(Tt)),ir=Re.f;return ir?nt(Qt,ir(Tt)):Qt}}),ki=c((_e,ue)=>{var re=or(),De=qn(),Fe=ts(),Re=gr();ue.exports=function(Qe,nt,Tt){for(var Qt=De(nt),ir=Re.f,Pt=Fe.f,Fr=0;Fr<Qt.length;Fr++){var Jr=Qt[Fr];!re(Qe,Jr)&&!(Tt&&re(Tt,Jr))&&ir(Qe,Jr,Pt(nt,Jr))}}}),ds=c((_e,ue)=>{var re=x(),De=$t(),Fe=/#|\.prototype\./,Re=function(ir,Pt){var Fr=nt[Qe(ir)];return Fr==Qt?!0:Fr==Tt?!1:De(Pt)?re(Pt):!!Pt},Qe=Re.normalize=function(ir){return String(ir).replace(Fe,".").toLowerCase()},nt=Re.data={},Tt=Re.NATIVE="N",Qt=Re.POLYFILL="P";ue.exports=Re}),Qi=c((_e,ue)=>{var re=g(),De=ts().f,Fe=un(),Re=zr(),Qe=pr(),nt=ki(),Tt=ds();ue.exports=function(Qt,ir){var Pt=Qt.target,Fr=Qt.global,Jr=Qt.stat,Be,vr,An,bi,ui,mn;if(Fr?vr=re:Jr?vr=re[Pt]||Qe(Pt,{}):vr=(re[Pt]||{}).prototype,vr)for(An in ir){if(ui=ir[An],Qt.noTargetGet?(mn=De(vr,An),bi=mn&&mn.value):bi=vr[An],Be=Tt(Fr?An:Pt+(Jr?".":"#")+An,Qt.forced),!Be&&bi!==void 0){if(typeof ui==typeof bi)continue;nt(ui,bi)}(Qt.sham||bi&&bi.sham)&&Fe(ui,"sham",!0),Re(vr,An,ui,Qt)}}}),Ds=c((_e,ue)=>{var re=Xe();ue.exports=Array.isArray||function(De){return re(De)=="Array"}}),os=c((_e,ue)=>{var re=Te(),De=Jn(),Fe=q(),Re=re(re.bind);ue.exports=function(Qe,nt){return De(Qe),nt===void 0?Qe:Fe?Re(Qe,nt):function(){return Qe.apply(nt,arguments)}}}),ta=c((_e,ue)=>{var re=g(),De=Ds(),Fe=ln(),Re=os(),Qe=re.TypeError,nt=function(Tt,Qt,ir,Pt,Fr,Jr,Be,vr){for(var An=Fr,bi=0,ui=Be?Re(Be,vr):!1,mn,ns;bi<Pt;){if(bi in ir){if(mn=ui?ui(ir[bi],bi,Qt):ir[bi],Jr>0&&De(mn))ns=Fe(mn),An=nt(Tt,Qt,mn,ns,An,Jr-1)-1;else{if(An>=9007199254740991)throw Qe("Exceed the acceptable array length");Tt[An]=mn}An++}bi++}return An};ue.exports=nt}),Wn=c((_e,ue)=>{var re=ei(),De=re("toStringTag"),Fe={};Fe[De]="z",ue.exports=String(Fe)==="[object z]"}),xr=c((_e,ue)=>{var re=g(),De=Wn(),Fe=$t(),Re=Xe(),Qe=ei(),nt=Qe("toStringTag"),Tt=re.Object,Qt=Re(function(){return arguments}())=="Arguments",ir=function(Pt,Fr){try{return Pt[Fr]}catch{}};ue.exports=De?Re:function(Pt){var Fr,Jr,Be;return Pt===void 0?"Undefined":Pt===null?"Null":typeof(Jr=ir(Fr=Tt(Pt),nt))=="string"?Jr:Qt?Re(Fr):(Be=Re(Fr))=="Object"&&Fe(Fr.callee)?"Arguments":Be}}),wr=c((_e,ue)=>{var re=Te(),De=x(),Fe=$t(),Re=xr(),Qe=ht(),nt=jn(),Tt=function(){},Qt=[],ir=Qe("Reflect","construct"),Pt=/^\s*(?:class|function)\b/,Fr=re(Pt.exec),Jr=!Pt.exec(Tt),Be=function(An){if(!Fe(An))return!1;try{return ir(Tt,Qt,An),!0}catch{return!1}},vr=function(An){if(!Fe(An))return!1;switch(Re(An)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Jr||!!Fr(Pt,nt(An))}catch{return!0}};vr.sham=!0,ue.exports=!ir||De(function(){var An;return Be(Be.call)||!Be(Object)||!Be(function(){An=!0})||An})?vr:Be}),Dr=c((_e,ue)=>{var re=g(),De=Ds(),Fe=wr(),Re=Lr(),Qe=ei(),nt=Qe("species"),Tt=re.Array;ue.exports=function(Qt){var ir;return De(Qt)&&(ir=Qt.constructor,Fe(ir)&&(ir===Tt||De(ir.prototype))?ir=void 0:Re(ir)&&(ir=ir[nt],ir===null&&(ir=void 0))),ir===void 0?Tt:ir}}),Vr=c((_e,ue)=>{var re=Dr();ue.exports=function(De,Fe){return new(re(De))(Fe===0?0:Fe)}}),Bt=c(()=>{var _e=Qi(),ue=ta(),re=Jn(),De=en(),Fe=ln(),Re=Vr();_e({target:"Array",proto:!0},{flatMap:function(Qe){var nt=De(this),Tt=Fe(nt),Qt;return re(Qe),Qt=Re(nt,0),Qt.length=ue(Qt,nt,nt,Tt,0,1,Qe,arguments.length>1?arguments[1]:void 0),Qt}})}),Vn=c((_e,ue)=>{ue.exports={}}),Xt=c((_e,ue)=>{var re=ei(),De=Vn(),Fe=re("iterator"),Re=Array.prototype;ue.exports=function(Qe){return Qe!==void 0&&(De.Array===Qe||Re[Fe]===Qe)}}),_n=c((_e,ue)=>{var re=xr(),De=En(),Fe=Vn(),Re=ei(),Qe=Re("iterator");ue.exports=function(nt){if(nt!=null)return De(nt,Qe)||De(nt,"@@iterator")||Fe[re(nt)]}}),hr=c((_e,ue)=>{var re=g(),De=se(),Fe=Jn(),Re=jr(),Qe=Pn(),nt=_n(),Tt=re.TypeError;ue.exports=function(Qt,ir){var Pt=arguments.length<2?nt(Qt):ir;if(Fe(Pt))return Re(De(Pt,Qt));throw Tt(Qe(Qt)+" is not iterable")}}),Nt=c((_e,ue)=>{var re=se(),De=jr(),Fe=En();ue.exports=function(Re,Qe,nt){var Tt,Qt;De(Re);try{if(Tt=Fe(Re,"return"),!Tt){if(Qe==="throw")throw nt;return nt}Tt=re(Tt,Re)}catch(ir){Qt=!0,Tt=ir}if(Qe==="throw")throw nt;if(Qt)throw Tt;return De(Tt),nt}}),Me=c((_e,ue)=>{var re=g(),De=os(),Fe=se(),Re=jr(),Qe=Pn(),nt=Xt(),Tt=ln(),Qt=kt(),ir=hr(),Pt=_n(),Fr=Nt(),Jr=re.TypeError,Be=function(An,bi){this.stopped=An,this.result=bi},vr=Be.prototype;ue.exports=function(An,bi,ui){var mn=ui&&ui.that,ns=!!(ui&&ui.AS_ENTRIES),Fs=!!(ui&&ui.IS_ITERATOR),it=!!(ui&&ui.INTERRUPTED),cn=De(bi,mn),di,ms,ws,Mi,is,ge,rt,ft=function(gi){return di&&Fr(di,"normal",gi),new Be(!0,gi)},cr=function(gi){return ns?(Re(gi),it?cn(gi[0],gi[1],ft):cn(gi[0],gi[1])):it?cn(gi,ft):cn(gi)};if(Fs)di=An;else{if(ms=Pt(An),!ms)throw Jr(Qe(An)+" is not iterable");if(nt(ms)){for(ws=0,Mi=Tt(An);Mi>ws;ws++)if(is=cr(An[ws]),is&&Qt(vr,is))return is;return new Be(!1)}di=ir(An,ms)}for(ge=di.next;!(rt=Fe(ge,di)).done;){try{is=cr(rt.value)}catch(gi){Fr(di,"throw",gi)}if(typeof is=="object"&&is&&Qt(vr,is))return is}return new Be(!1)}}),St=c((_e,ue)=>{var re=as(),De=gr(),Fe=xe();ue.exports=function(Re,Qe,nt){var Tt=re(Qe);Tt in Re?De.f(Re,Tt,Fe(0,nt)):Re[Tt]=nt}}),jt=c(()=>{var _e=Qi(),ue=Me(),re=St();_e({target:"Object",stat:!0},{fromEntries:function(De){var Fe={};return ue(De,function(Re,Qe){re(Fe,Re,Qe)},{AS_ENTRIES:!0}),Fe}})}),rr=c(()=>{var _e=Qi(),ue=g();_e({global:!0},{globalThis:ue})}),Nr=c(()=>{rr()}),Sr=c(()=>{var _e=Qi(),ue=ta(),re=en(),De=ln(),Fe=Tr(),Re=Vr();_e({target:"Array",proto:!0},{flat:function(){var Qe=arguments.length?arguments[0]:void 0,nt=re(this),Tt=De(nt),Qt=Re(nt,0);return Qt.length=ue(Qt,nt,nt,Tt,0,Qe===void 0?1:Fe(Qe)),Qt}})}),Rt=c((_e,ue)=>{var re=["cliName","cliCategory","cliDescription"],De=["_"],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}Bt(),jt(),Nr(),Sr();var nt=Object.create,Tt=Object.defineProperty,Qt=Object.getOwnPropertyDescriptor,ir=Object.getOwnPropertyNames,Pt=Object.getPrototypeOf,Fr=Object.prototype.hasOwnProperty,Jr=(r,a)=>function(){return r&&(a=(0,r[ir(r)[0]])(r=0)),a},Be=(r,a)=>function(){return a||(0,r[ir(r)[0]])((a={exports:{}}).exports,a),a.exports},vr=(r,a)=>{for(var l in a)Tt(r,l,{get:a[l],enumerable:!0})},An=(r,a,l,f)=>{if(a&&typeof a=="object"||typeof a=="function")for(let m of ir(a))!Fr.call(r,m)&&m!==l&&Tt(r,m,{get:()=>a[m],enumerable:!(f=Qt(a,m))||f.enumerable});return r},bi=(r,a,l)=>(l=r!=null?nt(Pt(r)):{},An(a||!r||!r.__esModule?Tt(l,"default",{value:r,enumerable:!0}):l,r)),ui=r=>An(Tt({},"__esModule",{value:!0}),r),mn,ns,Fs,it=Jr({"<define:process>"(){mn={},ns=[],Fs={env:mn,argv:ns}}}),cn=Be({"package.json"(r,a){a.exports={version:"2.8.0"}}}),di=Be({"node_modules/diff/lib/diff/base.js"(r){it(),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],de=(me?me.newPos:0)-H;ne&&(_[H-1]=void 0);var ze=ne&&ne.newPos+1<B,O=me&&0<=de&&de<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)),de=C.extractCommon(G,d,m,H),G.newPos+1>=B&&de+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){it(),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){it();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]),de=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 ie=0;ie<Math.floor(T/M);++ie)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:de,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}}}),Mi=Be({"src/common/end-of-line.js"(r,a){it();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){it();var l=f=>f[f.length-1];a.exports=l}});function ge(){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 rt=Jr({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){it()}});function ft(r){if(typeof r!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof r}\``);return r.replace(ge(),"")}var cr=Jr({"node_modules/strip-ansi/index.js"(){it(),rt()}});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=Jr({"node_modules/is-fullwidth-code-point/index.js"(){it()}}),us=Be({"node_modules/emoji-regex/index.js"(r,a){it(),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={};vr(xs,{default:()=>ks});function ks(r){if(typeof r!="string"||r.length===0||(r=ft(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=Jr({"node_modules/string-width/index.js"(){it(),cr(),ss(),Bi=bi(us())}}),uu=Be({"src/utils/get-string-width.js"(r,a){it();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){it();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,ie){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 Ae=y(ee);for(let je=Ae.length,$e=je-1;$e>=0;--$e)K.push(Ae[$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(ie)for(let Ae=ee.expandedStates.length,je=Ae-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 ie(T);function ie(ee){if(z.has(ee))return z.get(ee);let Ae=K(ee);return z.set(ee,Ae),Ae}function K(ee){if(Array.isArray(ee))return M(ee.map(ie));if(ee.type==="concat"||ee.type==="fill"){let Ae=ee.parts.map(ie);return M(Object.assign(Object.assign({},ee),{},{parts:Ae}))}if(ee.type==="if-break"){let Ae=ee.breakContents&&ie(ee.breakContents),je=ee.flatContents&&ie(ee.flatContents);return M(Object.assign(Object.assign({},ee),{},{breakContents:Ae,flatContents:je}))}if(ee.type==="group"&&ee.expandedStates){let Ae=ee.expandedStates.map(ie),je=Ae[0];return M(Object.assign(Object.assign({},ee),{},{contents:je,expandedStates:Ae}))}if(ee.contents){let Ae=ie(ee.contents);return M(Object.assign(Object.assign({},ee),{},{contents:Ae}))}return M(ee)}}function B(T,M,z){let ie=z,K=!1;function ee(Ae){let je=M(Ae);if(je!==void 0&&(K=!0,ie=je),K)return!1}return C(T,ee),ie}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 ie(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,ie,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[ie,...K]=d(z)?y(z):[z];typeof ie=="string"&&typeof l(M)=="string"?M[M.length-1]+=ie:M.push(ie),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 de(T){let M=[],z=T.filter(Boolean);for(;z.length>0;){let ie=z.shift();if(ie){if(d(ie)){z.unshift(...y(ie));continue}if(M.length>0&&typeof l(M)=="string"&&typeof ie=="string"){M[M.length-1]+=ie;continue}M.push(ie)}}return M}function ze(T){return A(T,M=>Array.isArray(M)?de(M):M.parts?Object.assign(Object.assign({},M),{},{parts:de(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:de,normalizeDoc:ze,cleanDoc:me,replaceTextEndOfLine:Q,replaceEndOfLine:O,canBreak:U}}}),Na=Be({"src/document/doc-printer.js"(r,a){it();var{convertEndOfLineToChars:l}=Mi(),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,de){return me===Number.NEGATIVE_INFINITY?ne.root||P():me<0?J(ne,{type:"dedent"},de):me?me.type==="root"?Object.assign(Object.assign({},ne),{},{root:ne}):J(ne,{type:typeof me=="string"?"stringAlign":"numberAlign",n:me},de):ne}function J(ne,me,de){let ze=me.type==="dedent"?ne.queue.slice(0,-1):[...ne.queue,me],O="",Q=0,I=0,U=0;for(let Ae of ze)switch(Ae.type){case"indent":z(),de.useTabs?T(1):M(de.tabWidth);break;case"stringAlign":z(),O+=Ae.n,Q+=Ae.n.length;break;case"numberAlign":I+=1,U+=Ae.n;break;default:throw new Error(`Unexpected type '${Ae.type}'`)}return K(),Object.assign(Object.assign({},ne),{},{value:O,length:Q,queue:ze});function T(Ae){O+=" ".repeat(Ae),Q+=de.tabWidth*Ae}function M(Ae){O+=" ".repeat(Ae),Q+=Ae}function z(){de.useTabs?ie():K()}function ie(){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 de=f(ne).replace(/[\t ]*$/,"");me+=f(ne).length-de.length,ne[ne.length-1]=de}return me}function H(ne,me,de,ze,O){let Q=me.length,I=[ne],U=[];for(;de>=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),de-=m(M);else if(C(M)||M.type==="fill"){let z=A(M);for(let ie=z.length-1;ie>=0;ie--)I.push({mode:T,doc:z[ie]})}else switch(M.type){case"indent":case"align":case"indent-if-break":case"label":I.push({mode:T,doc:M.contents});break;case"trim":de+=oe(U);break;case"group":{if(O&&M.break)return!1;let z=M.break?N:T,ie=M.expandedStates&&z===N?f(M.expandedStates):M.contents;I.push({mode:z,doc:ie});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(" "),de--);break;case"line-suffix":ze=!0;break;case"line-suffix-boundary":if(ze)return!1;break}}return!1}function G(ne,me){B={};let de=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:ie,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 Ae=ee.length-1;Ae>=0;Ae--)Q.push({ind:z,mode:ie,doc:ee[Ae]})}else switch(K.type){case"cursor":I.push(y.placeholder);break;case"indent":Q.push({ind:_(z,me),mode:ie,doc:K.contents});break;case"align":Q.push({ind:R(z,K.n,me),mode:ie,doc:K.contents});break;case"trim":O-=oe(I);break;case"group":switch(ie){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},Ae=de-O,je=T.length>0;if(!K.break&&H(ee,Q,Ae,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 et=K.expandedStates[Le],Se={ind:z,mode:L,doc:et};if(H(Se,Q,Ae,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=de-O,{parts:Ae}=K;if(Ae.length===0)break;let[je,$e]=Ae,Le={ind:z,mode:L,doc:je},et={ind:z,mode:N,doc:je},Se=H(Le,[],ee,T.length>0,!0);if(Ae.length===1){Se?Q.push(Le):Q.push(et);break}let gt={ind:z,mode:L,doc:$e},Ue={ind:z,mode:N,doc:$e};if(Ae.length===2){Se?Q.push(gt,Le):Q.push(Ue,et);break}Ae.splice(0,2);let Pe={ind:z,mode:ie,doc:d(Ae)},dt=Ae[0];H({ind:z,mode:L,doc:[je,$e,dt]},[],ee,T.length>0,!0)?Q.push(Pe,gt,Le):Se?Q.push(Pe,Ue,Le):Q.push(Pe,Ue,et);break}case"if-break":case"indent-if-break":{let ee=K.groupId?B[K.groupId]:ie;if(ee===N){let Ae=K.type==="if-break"?K.breakContents:K.negate?K.contents:v(K.contents);Ae&&Q.push({ind:z,mode:ie,doc:Ae})}if(ee===L){let Ae=K.type==="if-break"?K.flatContents:K.negate?v(K.contents):K.contents;Ae&&Q.push({ind:z,mode:ie,doc:Ae})}break}case"line-suffix":T.push({ind:z,mode:ie,doc:K.contents});break;case"line-suffix-boundary":T.length>0&&Q.push({ind:z,mode:ie,doc:{type:"line",hard:!0}});break;case"line":switch(ie){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:ie,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:ie,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),ie=I.slice(0,M).join(""),K=I.slice(M+1,z).join(""),ee=I.slice(z+1).join("");return{formatted:ie+K+ee,cursorNodeStart:ie.length,cursorNodeText:K}}return{formatted:I.join("")}}a.exports={printDocToString:G}}}),ku=Be({"src/document/doc-debug.js"(r,a){it();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){it(),a.exports={builders:ws(),printer:Na(),utils:so(),debug:ku()}}}),yo={};vr(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=Jr({"node_modules/escape-string-regexp/index.js"(){it()}}),zo=Be({"node_modules/semver/internal/debug.js"(r,a){it();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){it();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){it();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){it();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){it();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){it();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){it();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){it();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){it();var l=Iu(),f=(m,d,y)=>l(m,d,y)>=0;a.exports=f}}),vl=Be({"src/utils/arrayify.js"(r,a){it(),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){it(),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,de=H[0].match(N);de&&(me=de[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(ie,K){return ie=ie.replace(O,"$1"),K===0&&I&&(ie=ie.replace(C,"")),K===M-1&&U&&(ie=ie.replace(A,"")),T&&(ie=ie.replace(/\r\n|\n|\r/g,function(ee){return Q})),ie});return z}function _(H,G){for(var ne="",me=0,de=H.length;me<de;me++)ne+=H[me],me<de-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 de=v(me,{string:function(ze){return P([ze],!1,H)[0]}});return de}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){it();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){it();var l={compare:Iu(),lt:Ou(),gte:Ha()},f=vl(),m=cn().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){it();function l(f){return Array.isArray(f)&&f.length>0}a.exports=l}}),hu=Be({"src/utils/text/skip.js"(r,a){it();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){it();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){it();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){it();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){it();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){it();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,dt,Ut)=>{let vt=Ut&&Ut.backwards;if(dt===!1)return!1;let{length:Zt}=Pe,He=dt;for(;He>=0&&He<Zt;){let ut=Pe.charAt(He);if(Ue instanceof RegExp){if(!Ue.test(ut))return He}else if(!Ue.includes(ut))return He;vt?He--:He++}return He===-1||He===Zt?He:!1}}function oe(Ue,Pe){let dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ut=C(Ue,dt.backwards?Pe-1:Pe,dt),vt=P(Ue,Ut,dt);return Ut!==vt}function H(Ue,Pe,dt){for(let Ut=Pe;Ut<dt;++Ut)if(Ue.charAt(Ut)===`
59
+ `)return!0;return!1}function G(Ue,Pe,dt){let Ut=dt(Pe)-1;Ut=C(Ue,Ut,{backwards:!0}),Ut=P(Ue,Ut,{backwards:!0}),Ut=C(Ue,Ut,{backwards:!0});let vt=P(Ue,Ut,{backwards:!0});return Ut!==vt}function ne(Ue,Pe){let dt=null,Ut=Pe;for(;Ut!==dt;)dt=Ut,Ut=A(Ue,Ut),Ut=N(Ue,Ut),Ut=C(Ue,Ut);return Ut=L(Ue,Ut),Ut=P(Ue,Ut),Ut!==!1&&oe(Ue,Ut)}function me(Ue,Pe,dt){return ne(Ue,dt(Pe))}function de(Ue,Pe,dt){return _(Ue,dt(Pe))}function ze(Ue,Pe,dt){return Ue.charAt(de(Ue,Pe,dt))}function O(Ue,Pe){let dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C(Ue,dt.backwards?Pe-1:Pe,dt)!==Pe}function Q(Ue,Pe){let dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Ut=0;for(let vt=dt;vt<Ue.length;++vt)Ue[vt]===" "?Ut=Ut+Pe-Ut%Pe:Ut++;return Ut}function I(Ue,Pe){let dt=Ue.lastIndexOf(`
60
+ `);return dt===-1?0:Q(Ue.slice(dt+1).match(/^[\t ]*/)[0],Pe)}function U(Ue,Pe){let dt={quote:'"',regex:/"/g,escaped:"&quot;"},Ut={quote:"'",regex:/'/g,escaped:"&apos;"},vt=Pe==="'"?Ut:dt,Zt=vt===Ut?dt:Ut,He=vt;if(Ue.includes(vt.quote)||Ue.includes(Zt.quote)){let ut=(Ue.match(vt.regex)||[]).length,qt=(Ue.match(Zt.regex)||[]).length;He=ut>qt?Zt:vt}return He}function T(Ue,Pe){let dt=Ue.slice(1,-1),Ut=Pe.parser==="json"||Pe.parser==="json5"&&Pe.quoteProps==="preserve"&&!Pe.singleQuote?'"':Pe.__isInHtmlAttribute?"'":U(dt,Pe.singleQuote?"'":'"').quote;return M(dt,Ut,!(Pe.parser==="css"||Pe.parser==="less"||Pe.parser==="scss"||Pe.__embeddedInHtml))}function M(Ue,Pe,dt){let Ut=Pe==='"'?"'":'"',vt=/\\(.)|(["'])/gs,Zt=Ue.replace(vt,(He,ut,qt)=>ut===Ut?ut:qt===Pe?"\\"+qt:qt||(dt&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(ut)?ut:"\\"+ut));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 ie(Ue,Pe){let dt=Ue.match(new RegExp(`(${l(Pe)})+`,"g"));return dt===null?0:dt.reduce((Ut,vt)=>Math.max(Ut,vt.length/Pe.length),0)}function K(Ue,Pe){let dt=Ue.match(new RegExp(`(${l(Pe)})+`,"g"));if(dt===null)return 0;let Ut=new Map,vt=0;for(let Zt of dt){let He=Zt.length/Pe.length;Ut.set(He,!0),He>vt&&(vt=He)}for(let Zt=1;Zt<vt;Zt++)if(!Ut.get(Zt))return Zt;return vt+1}function ee(Ue,Pe){(Ue.comments||(Ue.comments=[])).push(Pe),Pe.printed=!1,Pe.nodeDescription=gt(Ue)}function Ae(Ue,Pe){Pe.leading=!0,Pe.trailing=!1,ee(Ue,Pe)}function je(Ue,Pe,dt){Pe.leading=!1,Pe.trailing=!1,dt&&(Pe.marker=dt),ee(Ue,Pe)}function $e(Ue,Pe){Pe.leading=!1,Pe.trailing=!0,ee(Ue,Pe)}function Le(Ue,Pe){let{languages:dt}=m({plugins:Pe.plugins}),Ut=dt.find(vt=>{let{name:Zt}=vt;return Zt.toLowerCase()===Ue})||dt.find(vt=>{let{aliases:Zt}=vt;return Array.isArray(Zt)&&Zt.includes(Ue)})||dt.find(vt=>{let{extensions:Zt}=vt;return Array.isArray(Zt)&&Zt.includes(`.${Ue}`)});return Ut&&Ut.parsers[0]}function et(Ue){return Ue&&Ue.type==="front-matter"}function Se(Ue){let Pe=new WeakMap;return function(dt){return Pe.has(dt)||Pe.set(dt,Symbol(Ue)),Pe.get(dt)}}function gt(Ue){let Pe=Ue.type||Ue.kind||"(unknown type)",dt=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 dt.length>20&&(dt=dt.slice(0,19)+"…"),Pe+(dt?" "+dt:"")}a.exports={inferParserByLanguage:Le,getStringWidth:y,getMaxContinuousCount:ie,getMinNotPresentContinuousCount:K,getPenultimate:R,getLast:f,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_,getNextNonSpaceNonCommentCharacterIndex:de,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:Ae,addDanglingComment:je,addTrailingComment:$e,isFrontMatterNode:et,isNonEmptyArray:d,createGroupIdMapper:Se}}}),Fa={};vr(Fa,{basename:()=>fu,default:()=>Yn,delimiter:()=>ri,dirname:()=>Ga,extname:()=>ti,isAbsolute:()=>Uo,join:()=>eu,normalize:()=>Va,relative:()=>tu,resolve:()=>xa,sep:()=>an});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(fn(r.split("/"),function(m){return!!m}),!a).join("/"),(a?"/":"")+r||"."}function Va(r){var a=Uo(r),l=ai(r,-1)==="/";return r=oo(fn(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(fn(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=sn(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=sn(r)[2];return a&&l.substr(-1*a.length)===a&&(l=l.substr(0,l.length-a.length)),l}function ti(r){return sn(r)[3]}function fn(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 Cn,sn,an,ri,Yn,ai,yi=Jr({"node-modules-polyfills:path"(){it(),Cn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,sn=function(r){return Cn.exec(r).slice(1)},an="/",ri=":",Yn={extname:ti,basename:fu,dirname:Ga,sep:an,delimiter:ri,relative:tu,join:eu,isAbsolute:Uo,normalize:Va,resolve:xa},ai="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){it();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){it();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}}}),Mn={};vr(Mn,{__assign:()=>vn,__asyncDelegator:()=>Oe,__asyncGenerator:()=>ce,__asyncValues:()=>Dt,__await:()=>Gi,__awaiter:()=>Hi,__classPrivateFieldGet:()=>mt,__classPrivateFieldSet:()=>ur,__createBinding:()=>st,__decorate:()=>wi,__exportStar:()=>Ms,__extends:()=>ji,__generator:()=>Wi,__importDefault:()=>Ze,__importStar:()=>zt,__makeTemplateObject:()=>bt,__metadata:()=>js,__param:()=>Zi,__read:()=>Os,__rest:()=>rs,__spread:()=>So,__spreadArrays:()=>Ps,__values:()=>ra});function ji(r,a){It(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 Zi(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 Hi(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 Wi(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 Dt(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 bt(r,a){return Object.defineProperty?Object.defineProperty(r,"raw",{value:a}):r.raw=a,r}function zt(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 Ze(r){return r&&r.__esModule?r:{default:r}}function mt(r,a){if(!a.has(r))throw new TypeError("attempted to get private field on non-instance");return a.get(r)}function ur(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 It,vn,ot=Jr({"node_modules/tslib/tslib.es6.js"(){it(),It=function(r,a){return It=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])},It(r,a)},vn=function(){return vn=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},vn.apply(this,arguments)}}}),_t=Be({"node_modules/vnopts/lib/descriptors/api.js"(r){it(),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})}}}}),sr=Be({"node_modules/vnopts/lib/descriptors/index.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ot(),ui(Mn));a.__exportStar(_t(),r)}}),Ur=Be({"scripts/build/shims/chalk.cjs"(r,a){it();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}}),Er=Be({"node_modules/vnopts/lib/handlers/deprecated/common.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Ur();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("; ")+"."}}}),Rr=Be({"node_modules/vnopts/lib/handlers/deprecated/index.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ot(),ui(Mn));a.__exportStar(Er(),r)}}),Un=Be({"node_modules/vnopts/lib/handlers/invalid/common.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Ur();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(" ")}}),tn=Be({"node_modules/vnopts/lib/handlers/invalid/index.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ot(),ui(Mn));a.__exportStar(Un(),r)}}),Hr=Be({"node_modules/vnopts/node_modules/leven/index.js"(r,a){it();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){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Ur(),l=Hr();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(" "))}}}),In=Be({"node_modules/vnopts/lib/handlers/unknown/index.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ot(),ui(Mn));a.__exportStar(pi(),r)}}),Cs=Be({"node_modules/vnopts/lib/handlers/index.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ot(),ui(Mn));a.__exportStar(Rr(),r),a.__exportStar(tn(),r),a.__exportStar(In(),r)}}),Zr=Be({"node_modules/vnopts/lib/schema.js"(r){it(),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){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Zr(),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){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Zr(),l=class extends a.Schema{expected(){return"anything"}validate(){return!0}};r.AnySchema=l}}),qi=Be({"node_modules/vnopts/lib/schemas/array.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ot(),ui(Mn)),l=Zr(),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){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Zr(),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){it(),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}}),pt=Be({"node_modules/vnopts/lib/schemas/choice.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Zr(),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}}),Br=Be({"node_modules/vnopts/lib/schemas/number.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Zr(),l=class extends a.Schema{expected(){return"a number"}validate(f,m){return typeof f=="number"}};r.NumberSchema=l}}),nr=Be({"node_modules/vnopts/lib/schemas/integer.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=We(),l=Br(),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}}),gn=Be({"node_modules/vnopts/lib/schemas/string.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=Zr(),l=class extends a.Schema{expected(){return"a string"}validate(f){return typeof f=="string"}};r.StringSchema=l}}),Ri=Be({"node_modules/vnopts/lib/schemas/index.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ot(),ui(Mn));a.__exportStar(Si(),r),a.__exportStar(Ai(),r),a.__exportStar(qi(),r),a.__exportStar(cs(),r),a.__exportStar(pt(),r),a.__exportStar(nr(),r),a.__exportStar(Br(),r),a.__exportStar(gn(),r)}}),Ji=Be({"node_modules/vnopts/lib/defaults.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=_t(),l=Er(),f=tn(),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){it(),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 de=typeof H=="string"?{key:H,value:ne}:H;this._utils.logger.warn(this._deprecatedHandler(me,de,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){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=(ot(),ui(Mn));a.__exportStar(sr(),r),a.__exportStar(Cs(),r),a.__exportStar(Ri(),r),a.__exportStar(Js(),r),a.__exportStar(Zr(),r)}}),na=Be({"src/main/options-normalizer.js"(r,a){it();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,De);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}),de=new l.Normalizer(me,{logger:_,unknown:G,descriptor:ne}),ze=_!==!1;ze&&y&&(de._hasDeprecationWarned=y);let O=de.normalize(L);return ze&&(y=de._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(de){return de===!1||(de=Array.isArray(de)?de:[de]),de},validate(de){return de===!1?!0:de.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(de=>typeof de=="object"&&de.redirect?Object.assign(Object.assign({},de),{},{redirect:{to:{key:L.name,value:de.redirect}}}):de);break;case"boolean":ne=l.BooleanSchema;break;case"flag":ne=d({colorsModule:J,levenshteinDistance:oe}),G.flags=R.flatMap(de=>[de.alias,de.description&&de.name,de.oppositeDescription&&`no-${de.name}`].filter(Boolean));break;case"path":ne=l.StringSchema;break;default:throw new Error(`Unexpected type ${L.type}`)}if(L.exception?G.validate=(de,ze,O)=>L.exception(de)||ze.validate(de,O):G.validate=(de,ze,O)=>de===void 0||ze.validate(de,O),L.redirect&&(me.redirect=de=>de?{to:{key:L.redirect.option,value:L.redirect.value}}:void 0),L.deprecated&&(me.deprecated=!0),_&&!L.array){let de=G.preprocess||(ze=>ze);G.preprocess=(ze,O,Q)=>O.preprocess(de(Array.isArray(ze)?f(ze):ze),Q)}return L.array?l.ArraySchema.create(Object.assign(Object.assign(Object.assign({},_?{preprocess:de=>Array.isArray(de)?de:[de]}:{}),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){it();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){it(),a.exports=()=>{}}}),Rs=Be({"scripts/build/shims/babel-highlight.cjs"(r,a){it();var l=Ur(),f={shouldHighlight:()=>!1,getChalk:()=>l};a.exports=f}}),ca=Be({"node_modules/@babel/code-frame/lib/index.js"(r){it(),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,de={};if(me)for(let ze=0;ze<=me;ze++){let O=ze+R;if(!J)de[O]=!0;else if(ze===0){let Q=A[O-1].length;de[O]=[J,Q-J+1]}else if(ze===me)de[O]=[0,H];else{let Q=A[O-ze].length;de[O]=[0,Q]}}else J===H?J?de[R]=[J,0]:de[R]=!0:de[R]=[J,H-J];return{start:G,end:ne,markerLines:de}}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),_=(de,ze)=>N?de(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((de,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=de.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),de.length>0?` ${de}`:"",T].join("")}else return` ${_(P.gutter,Q)}${de.length>0?` ${de}`:""}`}).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)}}}),Dn=Be({"src/main/parser.js"(r,a){it();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}}}),Hn=Be({"src/main/options.js"(r,a){it();var l=Ki(),{UndefinedParserError:f}=Ci(),{getSupportInfo:m}=ao(),d=na(),{resolveParser:y}=Dn(),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){it();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}}),ii=Be({"scripts/build/shims/assert.cjs"(r,a){it();var l=()=>{};l.ok=l,l.strictEqual=l,a.exports=l}}),si=Be({"src/main/comments.js"(r,a){it();var l=ii(),{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(Ae,je,$e){if(!Ae)return;let{printer:Le,locStart:et,locEnd:Se}=je;if($e){if(Le.canAttachComment&&Le.canAttachComment(Ae)){let Ue;for(Ue=$e.length-1;Ue>=0&&!(et($e[Ue])<=et(Ae)&&Se($e[Ue])<=Se(Ae));--Ue);$e.splice(Ue+1,0,Ae);return}}else if(oe.has(Ae))return oe.get(Ae);let gt=Le.getCommentChildNodes&&Le.getCommentChildNodes(Ae,je)||typeof Ae=="object"&&Object.entries(Ae).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(gt){$e||($e=[],oe.set(Ae,$e));for(let Ue of gt)H(Ue,je,$e);return $e}}function G(Ae,je,$e,Le){let{locStart:et,locEnd:Se}=$e,gt=et(je),Ue=Se(je),Pe=H(Ae,$e),dt,Ut,vt=0,Zt=Pe.length;for(;vt<Zt;){let He=vt+Zt>>1,ut=Pe[He],qt=et(ut),Yt=Se(ut);if(qt<=gt&&Ue<=Yt)return G(ut,je,$e,ut);if(Yt<=gt){dt=ut,vt=He+1;continue}if(Ue<=qt){Ut=ut,Zt=He;continue}throw new Error("Comment location overlaps with node location")}if(Le&&Le.type==="TemplateLiteral"){let{quasis:He}=Le,ut=U(He,je,$e);dt&&U(He,dt,$e)!==ut&&(dt=null),Ut&&U(He,Ut,$e)!==ut&&(Ut=null)}return{enclosingNode:Le,precedingNode:dt,followingNode:Ut}}var ne=()=>!1;function me(Ae,je,$e,Le){if(!Array.isArray(Ae))return;let et=[],{locStart:Se,locEnd:gt,printer:{handleComments:Ue={}}}=Le,{avoidAstMutation:Pe,ownLine:dt=ne,endOfLine:Ut=ne,remaining:vt=ne}=Ue,Zt=Ae.map((He,ut)=>Object.assign(Object.assign({},G(je,He,Le)),{},{comment:He,text:$e,options:Le,ast:je,isLastComment:Ae.length-1===ut}));for(let[He,ut]of Zt.entries()){let{comment:qt,precedingNode:Yt,enclosingNode:xn,followingNode:ct,text:Ye,options:yt,ast:Lt,isLastComment:ar}=ut;if(yt.parser==="json"||yt.parser==="json5"||yt.parser==="__js_expression"||yt.parser==="__vue_expression"||yt.parser==="__vue_ts_expression"){if(Se(qt)-Se(Lt)<=0){_(Lt,qt);continue}if(gt(qt)-gt(Lt)>=0){J(Lt,qt);continue}}let Mr;if(Pe?Mr=[ut]:(qt.enclosingNode=xn,qt.precedingNode=Yt,qt.followingNode=ct,Mr=[qt,Ye,yt,Lt,ar]),ze(Ye,yt,Zt,He))qt.placement="ownLine",dt(...Mr)||(ct?_(ct,qt):Yt?J(Yt,qt):R(xn||Lt,qt));else if(O(Ye,yt,Zt,He))qt.placement="endOfLine",Ut(...Mr)||(Yt?J(Yt,qt):ct?_(ct,qt):R(xn||Lt,qt));else if(qt.placement="remaining",!vt(...Mr))if(Yt&&ct){let Yr=et.length;Yr>0&&et[Yr-1].followingNode!==ct&&Q(et,Ye,yt),et.push(ut)}else Yt?J(Yt,qt):ct?_(ct,qt):R(xn||Lt,qt)}if(Q(et,$e,Le),!Pe)for(let He of Ae)delete He.precedingNode,delete He.enclosingNode,delete He.followingNode}var de=Ae=>!/[\S\n\u2028\u2029]/.test(Ae);function ze(Ae,je,$e,Le){let{comment:et,precedingNode:Se}=$e[Le],{locStart:gt,locEnd:Ue}=je,Pe=gt(et);if(Se)for(let dt=Le-1;dt>=0;dt--){let{comment:Ut,precedingNode:vt}=$e[dt];if(vt!==Se||!de(Ae.slice(Ue(Ut),Pe)))break;Pe=gt(Ut)}return B(Ae,Pe,{backwards:!0})}function O(Ae,je,$e,Le){let{comment:et,followingNode:Se}=$e[Le],{locStart:gt,locEnd:Ue}=je,Pe=Ue(et);if(Se)for(let dt=Le+1;dt<$e.length;dt++){let{comment:Ut,followingNode:vt}=$e[dt];if(vt!==Se||!de(Ae.slice(Pe,gt(Ut))))break;Pe=Ue(Ut)}return B(Ae,Pe)}function Q(Ae,je,$e){let Le=Ae.length;if(Le===0)return;let{precedingNode:et,followingNode:Se,enclosingNode:gt}=Ae[0],Ue=$e.printer.getGapRegex&&$e.printer.getGapRegex(gt)||/^[\s(]*$/,Pe=$e.locStart(Se),dt;for(dt=Le;dt>0;--dt){let{comment:Ut,precedingNode:vt,followingNode:Zt}=Ae[dt-1];l.strictEqual(vt,et),l.strictEqual(Zt,Se);let He=je.slice($e.locEnd(Ut),Pe);if(Ue.test(He))Pe=$e.locStart(Ut);else break}for(let[Ut,{comment:vt}]of Ae.entries())Ut<dt?J(et,vt):_(Se,vt);for(let Ut of[et,Se])Ut.comments&&Ut.comments.length>1&&Ut.comments.sort((vt,Zt)=>$e.locStart(vt)-$e.locStart(Zt));Ae.length=0}function I(Ae,je){let $e=Ae.getValue();return $e.printed=!0,je.printer.printComment(Ae,je)}function U(Ae,je,$e){let Le=$e.locStart(je)-1;for(let et=1;et<Ae.length;++et)if(Le<$e.locStart(Ae[et]))return et-1;return 0}function T(Ae,je){let $e=Ae.getValue(),Le=[I(Ae,je)],{printer:et,originalText:Se,locStart:gt,locEnd:Ue}=je;if(et.isBlockComment&&et.isBlockComment($e)){let dt=B(Se,Ue($e))?B(Se,gt($e),{backwards:!0})?m:f:" ";Le.push(dt)}else Le.push(m);let Pe=N(Se,L(Se,Ue($e)));return Pe!==!1&&B(Se,Pe)&&Le.push(m),Le}function M(Ae,je){let $e=Ae.getValue(),Le=I(Ae,je),{printer:et,originalText:Se,locStart:gt}=je,Ue=et.isBlockComment&&et.isBlockComment($e);if(B(Se,gt($e),{backwards:!0})){let dt=P(Se,$e,gt);return v([m,dt?m:"",Le])}let Pe=[" ",Le];return Ue||(Pe=[v(Pe),d]),Pe}function z(Ae,je,$e,Le){let et=[],Se=Ae.getValue();return!Se||!Se.comments||(Ae.each(()=>{let gt=Ae.getValue();!gt.leading&&!gt.trailing&&(!Le||Le(gt))&&et.push(I(Ae,je))},"comments"),et.length===0)?"":$e?C(m,et):y([m,C(m,et)])}function ie(Ae,je,$e){let Le=Ae.getValue();if(!Le)return{};let et=Le.comments||[];$e&&(et=et.filter(Pe=>!$e.has(Pe)));let Se=Le===je.cursorNode;if(et.length===0){let Pe=Se?A:"";return{leading:Pe,trailing:Pe}}let gt=[],Ue=[];return Ae.each(()=>{let Pe=Ae.getValue();if($e&&$e.has(Pe))return;let{leading:dt,trailing:Ut}=Pe;dt?gt.push(T(Ae,je)):Ut&&Ue.push(M(Ae,je))},"comments"),Se&&(gt.unshift(A),Ue.push(A)),{leading:gt,trailing:Ue}}function K(Ae,je,$e,Le){let{leading:et,trailing:Se}=ie(Ae,$e,Le);return!et&&!Se?je:[et,je,Se]}function ee(Ae){if(Ae)for(let je of Ae){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:ie,printDanglingComments:z,getSortedChildNodes:H,ensureAllCommentsPrinted:ee}}}),vs=Be({"src/common/ast-path.js"(r,a){it();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){it();var{utils:{stripTrailingHardline:l}}=xi(),{normalize:f}=Hn(),m=si();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=Dn().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){it();var l=vs(),{builders:{hardline:f,addAlignmentToDoc:m},utils:{propagateBreaks:d}}=xi(),{printComments:y}=si(),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(),de=me&&typeof me=="object"&&ne===void 0;if(de&&R.has(me))return R.get(me);let ze=B(J,L,H,ne);return de&&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){it();var l=ii(),f=si(),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 de=H(R.node);for(let ze of y(_.parentNodes)){if(H(ze)<=de)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,de=ne(_),ze=me(_);if(!(R>ze||R<de||G==="rangeEnd"&&R===de||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/),de=me===-1;if(!de)for(oe+=me;H>oe&&!/\S/.test(_[H-1]);--H);let ze=C(J,oe,R,(U,T)=>L(R,U,T),[],"rangeStart"),O=de?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){it();var{diffArrays:l}=ms(),{printer:{printDocToString:f},debug:{printDocToDebug:m}}=xi(),{getAlignmentSize:d}=Pi(),{guessEndOfLine:y,convertEndOfLineToChars:v,countEndOfLineChars:C,normalizeEndOfLine:A}=Mi(),B=Hn().normalize,N=hi(),L=si(),P=Dn(),_=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 Ae=R.findNodeAtOffset(M,U.cursorOffset,U);Ae&&Ae.node&&(U.cursorNode=Ae.node)}let ie=H(z,M,U),K=_(M,U,T),ee=f(K,U);if(L.ensureAllCommentsPrinted(ie),T>0){let Ae=ee.formatted.trim();ee.cursorNodeStart!==void 0&&(ee.cursorNodeStart-=ee.formatted.indexOf(Ae)),ee.formatted=Ae+v(U.endOfLine)}if(U.cursorOffset>=0){let Ae,je,$e,Le,et;if(U.cursorNode&&ee.cursorNodeText?(Ae=U.locStart(U.cursorNode),je=z.slice(Ae,U.locEnd(U.cursorNode)),$e=U.cursorOffset-Ae,Le=ee.cursorNodeStart,et=ee.cursorNodeText):(Ae=0,je=z,$e=U.cursorOffset,Le=0,et=ee.formatted),je===et)return{formatted:ee.formatted,cursorOffset:Le+$e,comments:ie};let Se=[...je];Se.splice($e,0,oe);let gt=[...et],Ue=l(Se,gt),Pe=Le;for(let dt of Ue)if(dt.removed){if(dt.value.includes(oe))break}else Pe+=dt.count;return{formatted:ee.formatted,cursorOffset:Pe,comments:ie}}return{formatted:ee.formatted,cursorOffset:-1,comments:ie}}function ne(I,U){let{ast:T,text:M}=P.parse(I,U),{rangeStart:z,rangeEnd:ie}=R.calculateRange(M,U,T),K=M.slice(z,ie),ee=Math.min(z,M.lastIndexOf(`
65
+ `,z)+1),Ae=M.slice(ee,z).match(/^\s*/)[0],je=d(Ae,U.tabWidth),$e=G(K,Object.assign(Object.assign({},U),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:U.cursorOffset>z&&U.cursorOffset<=ie?U.cursorOffset-z:-1,endOfLine:"lf"}),je),Le=$e.formatted.trimEnd(),{cursorOffset:et}=U;et>ie?et+=Le.length-K.length:$e.cursorOffset>=0&&(et=$e.cursorOffset+z);let Se=M.slice(0,z)+Le+M.slice(ie);if(U.endOfLine!=="lf"){let gt=v(U.endOfLine);et>=0&&gt===`\r
66
+ `&&(et+=C(Se.slice(0,et),`
67
+ `)),Se=Se.replace(/\n/g,gt)}return{formatted:Se,cursorOffset:et,comments:$e.comments}}function me(I,U,T){return typeof U!="number"||Number.isNaN(U)||U<0||U>I.length?T:U}function de(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:ie}=de(I,U),K=I.charAt(0)===J;if(K&&(I=I.slice(1),T--,M--,z--),ie==="auto"&&(ie=y(I)),I.includes("\r")){let ee=Ae=>C(I.slice(0,Math.max(Ae,0)),`\r
68
+ `);T-=ee(T),M-=ee(M),z-=ee(z),I=A(I)}return{hasBOM:K,text:I,options:de(I,Object.assign(Object.assign({},U),{},{cursorOffset:T,rangeStart:M,rangeEnd:z,endOfLine:ie}))}}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 ie;return z.rangeStart>0||z.rangeEnd<M.length?ie=ne(M,z):(!z.requirePragma&&z.insertPragma&&z.printer.insertPragma&&!O(M,z)&&(M=z.printer.insertPragma(M)),ie=G(M,z)),T&&(ie.formatted=J+ie.formatted,ie.cursorOffset>=0&&ie.cursorOffset++),ie}a.exports={formatWithCursor:Q,parse(I,U,T){let{text:M,options:z}=ze(I,B(U)),ie=P.parse(M,z);return T&&(ie.ast=N(ie.ast,z)),ie},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){it();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:de,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:de,addDanglingComment:ze,addTrailingComment:O}}}),Ka=Be({"src/utils/create-language.js"(r,a){it(),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){it(),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){it(),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){it(),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){it(),function(){r.ast=ru(),r.code=Po(),r.keyword=Ca()}()}}),_a=Be({"src/language-js/utils/is-block-comment.js"(r,a){it();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){it();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){it();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 wt,Kr;return((wt=le.extra)===null||wt===void 0?void 0:wt.parenthesized)&&L((Kr=le.trailingComments)===null||Kr===void 0?void 0:Kr[0])&&R.test(le.trailingComments[0].value)}function H(le){let wt=le==null?void 0:le[0];return L(wt)&&J.test(wt.value)}function G(le,wt){if(!le||typeof le!="object")return!1;if(Array.isArray(le))return le.some(Bn=>G(Bn,wt));let Kr=wt(le);return typeof Kr=="boolean"?Kr:Object.values(le).some(Bn=>G(Bn,wt))}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||kn(le)||le.type==="TSNonNullExpression"}function me(le){var wt,Kr,Bn,Ii,As,Li;return le.expressions?le.expressions[0]:(wt=(Kr=(Bn=(Ii=(As=(Li=le.left)!==null&&Li!==void 0?Li:le.test)!==null&&As!==void 0?As:le.callee)!==null&&Ii!==void 0?Ii:le.object)!==null&&Bn!==void 0?Bn:le.tag)!==null&&Kr!==void 0?Kr:le.argument)!==null&&wt!==void 0?wt:le.expression}function de(le,wt){if(wt.expressions)return["expressions",0];if(wt.left)return["left"];if(wt.test)return["test"];if(wt.object)return["object"];if(wt.callee)return["callee"];if(wt.tag)return["tag"];if(wt.argument)return["argument"];if(wt.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function ze(le){return le=new Set(le),wt=>le.has(wt==null?void 0:wt.type)}var O=ze(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),Q=ze(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function I(le){let wt=le.getParentNode();return le.getName()==="declaration"&&Q(wt)?wt: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 ie=ze(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),K=ze(["FunctionExpression","ArrowFunctionExpression"]);function ee(le){return le.type==="FunctionExpression"||le.type==="ArrowFunctionExpression"&&le.body.type==="BlockStatement"}function Ae(le){return qt(le)&&le.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(le.callee.name)}var je=ze(["JSXElement","JSXFragment"]);function $e(le,wt){if(le.parentParser!=="markdown"&&le.parentParser!=="mdx")return!1;let Kr=wt.getNode();if(!Kr.expression||!je(Kr.expression))return!1;let Bn=wt.getParentNode();return Bn.type==="Program"&&Bn.body.length===1}function Le(le){return le.kind==="get"||le.kind==="set"}function et(le){return Le(le)||N(le,le.value)}function Se(le){return(le.type==="ObjectTypeProperty"||le.type==="ObjectTypeInternalSlot")&&le.value.type==="FunctionTypeAnnotation"&&!le.static&&!et(le)}function gt(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 dt=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 Ut(le){return le?!!((le.type==="GenericTypeAnnotation"||le.type==="TSTypeReference")&&!le.typeParameters||dt.has(le.type)):!1}function vt(le){let wt=/^(?:before|after)(?:Each|All)$/;return le.callee.type==="Identifier"&&wt.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 ut(le,wt){if(le.type!=="CallExpression")return!1;if(le.arguments.length===1){if(Ae(le)&&wt&&ut(wt))return K(le.arguments[0]);if(vt(le))return Ae(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)||Ae(le.arguments[1]);return!1}var qt=ze(["CallExpression","OptionalCallExpression"]),Yt=ze(["MemberExpression","OptionalMemberExpression"]);function xn(le){let wt="expressions";le.type==="TSTemplateLiteralType"&&(wt="types");let Kr=le[wt];return Kr.length===0?!1:Kr.every(Bn=>{if(Ee(Bn))return!1;if(Bn.type==="Identifier"||Bn.type==="ThisExpression")return!0;if(Yt(Bn)){let Ii=Bn;for(;Yt(Ii);)if(Ii.property.type!=="Identifier"&&Ii.property.type!=="Literal"&&Ii.property.type!=="StringLiteral"&&Ii.property.type!=="NumericLiteral"||(Ii=Ii.object,Ee(Ii)))return!1;return Ii.type==="Identifier"||Ii.type==="ThisExpression"}return!1})}function ct(le,wt){return le==="+"||le==="-"?le+wt:wt}function Ye(le,wt){let Kr=A(wt),Bn=d(le,B(wt));return Bn!==!1&&le.slice(Kr,Kr+2)==="/*"&&le.slice(Bn,Bn+2)==="*/"}function yt(le,wt){return je(wt)?j(wt):Ee(wt,ke.Leading,Kr=>m(le,B(Kr)))}function Lt(le,wt){return wt.parser!=="json"&&z(le.key)&&tr(le.key).slice(1,-1)===le.key.value&&(l(le.key.value)&&!(wt.parser==="babel-ts"&&le.type==="ClassProperty"||wt.parser==="typescript"&&le.type==="PropertyDefinition")||ar(le.key.value)&&String(Number(le.key.value))===le.key.value&&(wt.parser==="babel"||wt.parser==="acorn"||wt.parser==="espree"||wt.parser==="meriyah"||wt.parser==="__babel_estree"))}function ar(le){return/^(?:\d+|\d+\.\d+)$/.test(le)}function Mr(le,wt){let Kr=/^[fx]?(?:describe|it|test)$/;return wt.type==="TaggedTemplateExpression"&&wt.quasi===le&&wt.tag.type==="MemberExpression"&&wt.tag.property.type==="Identifier"&&wt.tag.property.name==="each"&&(wt.tag.object.type==="Identifier"&&Kr.test(wt.tag.object.name)||wt.tag.object.type==="MemberExpression"&&wt.tag.object.property.type==="Identifier"&&(wt.tag.object.property.name==="only"||wt.tag.object.property.name==="skip")&&wt.tag.object.object.type==="Identifier"&&Kr.test(wt.tag.object.object.name))}function Yr(le){return le.quasis.some(wt=>wt.value.raw.includes(`
69
+ `))}function Zn(le,wt){return(le.type==="TemplateLiteral"&&Yr(le)||le.type==="TaggedTemplateExpression"&&Yr(le.quasi))&&!m(wt,A(le),{backwards:!0})}function zi(le){if(!Ee(le))return!1;let wt=f(Ft(le,ke.Dangling));return wt&&!L(wt)}function er(le){if(le.length<=1)return!1;let wt=0;for(let Kr of le)if(K(Kr)){if(wt+=1,wt>1)return!0}else if(qt(Kr)){for(let Bn of Kr.arguments)if(K(Bn))return!0}return!1}function Kt(le){let wt=le.getValue(),Kr=le.getParentNode();return qt(wt)&&qt(Kr)&&Kr.callee===wt&&wt.arguments.length>Kr.arguments.length&&Kr.arguments.length>0}function qr(le,wt){if(wt>=2)return!1;let Kr=Li=>qr(Li,wt+1),Bn=le.type==="Literal"&&"regex"in le&&le.regex.pattern||le.type==="RegExpLiteral"&&le.pattern;if(Bn&&C(Bn)>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(Li=>!Li.value.raw.includes(`
70
+ `))&&le.expressions.every(Kr);if(le.type==="ObjectExpression")return le.properties.every(Li=>!Li.computed&&(Li.shorthand||Li.value&&Kr(Li.value)));if(le.type==="ArrayExpression")return le.elements.every(Li=>Li===null||Kr(Li));if(fr(le))return(le.type==="ImportExpression"||qr(le.callee,wt))&&D(le).every(Kr);if(Yt(le))return qr(le.object,wt)&&qr(le.property,wt);let Ii={"!":!0,"-":!0,"+":!0,"~":!0};if(le.type==="UnaryExpression"&&Ii[le.operator])return qr(le.argument,wt);let As={"++":!0,"--":!0};return le.type==="UpdateExpression"&&As[le.operator]?qr(le.argument,wt):le.type==="TSNonNullExpression"?qr(le.expression,wt):!1}function tr(le){var wt,Kr;return(wt=(Kr=le.extra)===null||Kr===void 0?void 0:Kr.raw)!==null&&wt!==void 0?wt:le.raw}function Ke(le){return le}function Cr(le){return le.filepath&&/\.tsx$/i.test(le.filepath)}function lr(le){let wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return le.trailingComma==="es5"&&wt==="es5"||le.trailingComma==="all"&&(wt==="all"||wt==="es5")}function _r(le,wt){switch(le=nn(le),le.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return wt;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return _r(le.object,wt);case"TaggedTemplateExpression":return le.tag.type==="FunctionExpression"?!1:_r(le.tag,wt);case"CallExpression":case"OptionalCallExpression":return le.callee.type==="FunctionExpression"?!1:_r(le.callee,wt);case"ConditionalExpression":return _r(le.test,wt);case"UpdateExpression":return!le.prefix&&_r(le.argument,wt);case"BindExpression":return le.object&&_r(le.object,wt);case"SequenceExpression":return _r(le.expressions[0],wt);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return _r(le.expression,wt);default:return!1}}var Kn={"==":!0,"!=":!0,"===":!0,"!==":!0},Fn={"*":!0,"/":!0,"%":!0},Pr={">>":!0,">>>":!0,"<<":!0};function W(le,wt){return!(Jt(wt)!==Jt(le)||le==="**"||Kn[le]&&Kn[wt]||wt==="%"&&Fn[le]||le==="%"&&Fn[wt]||wt!==le&&Fn[wt]&&Fn[le]||Pr[le]&&Pr[wt])}var at=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((le,wt)=>le.map(Kr=>[Kr,wt])));function Jt(le){return at.get(le)}function nn(le){for(;le.left;)le=le.left;return le}function _i(le){return Boolean(Pr[le])||le==="|"||le==="^"||le==="&"}function e(le){var wt;if(le.rest)return!0;let Kr=o(le);return((wt=f(Kr))===null||wt===void 0?void 0:wt.type)==="RestElement"}var n=new WeakMap;function o(le){if(n.has(le))return n.get(le);let wt=[];return le.this&&wt.push(le.this),Array.isArray(le.parameters)?wt.push(...le.parameters):Array.isArray(le.params)&&wt.push(...le.params),le.rest&&wt.push(le.rest),n.set(le,wt),wt}function u(le,wt){let Kr=le.getValue(),Bn=0,Ii=As=>wt(As,Bn++);Kr.this&&le.call(Ii,"this"),Array.isArray(Kr.parameters)?le.each(Ii,"parameters"):Array.isArray(Kr.params)&&le.each(Ii,"params"),Kr.rest&&le.call(Ii,"rest")}var p=new WeakMap;function D(le){if(p.has(le))return p.get(le);let wt=le.arguments;return le.type==="ImportExpression"&&(wt=[le.source],le.attributes&&wt.push(le.attributes)),p.set(le,wt),wt}function E(le,wt){let Kr=le.getValue();Kr.type==="ImportExpression"?(le.call(Bn=>wt(Bn,0),"source"),Kr.attributes&&le.call(Bn=>wt(Bn,1),"attributes")):le.each(wt,"arguments")}function k(le){return le.value.trim()==="prettier-ignore"&&!le.unignore}function j(le){return le&&(le.prettierIgnore||Ee(le,ke.PrettierIgnore))}function $(le){let wt=le.getValue();return j(wt)}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,wt)=>{if(typeof le=="function"&&(wt=le,le=0),le||wt)return(Kr,Bn,Ii)=>!(le&ke.Leading&&!Kr.leading||le&ke.Trailing&&!Kr.trailing||le&ke.Dangling&&(Kr.leading||Kr.trailing)||le&ke.Block&&!L(Kr)||le&ke.Line&&!O(Kr)||le&ke.First&&Bn!==0||le&ke.Last&&Bn!==Ii.length-1||le&ke.PrettierIgnore&&!k(Kr)||wt&&!wt(Kr))};function Ee(le,wt,Kr){if(!y(le==null?void 0:le.comments))return!1;let Bn=qe(wt,Kr);return Bn?le.comments.some(Bn):!0}function Ft(le,wt,Kr){if(!Array.isArray(le==null?void 0:le.comments))return[];let Bn=qe(wt,Kr);return Bn?le.comments.filter(Bn):le.comments}var yr=(le,wt)=>{let{originalText:Kr}=wt;return v(Kr,B(le))};function fr(le){return qt(le)||le.type==="NewExpression"||le.type==="ImportExpression"}function $r(le){return le&&(le.type==="ObjectProperty"||le.type==="Property"&&!le.method&&le.kind==="init")}function pn(le){return Boolean(le.__isUsingHackPipeline)}var Gn=Symbol("ifWithoutBlockAndSameLineComment");function kn(le){return le.type==="TSAsExpression"||le.type==="TSSatisfiesExpression"}a.exports={getFunctionParameters:o,iterateFunctionParametersPath:u,getCallArguments:D,iterateCallArgumentsPath:E,hasRestParameter:e,getLeftSide:me,getLeftSidePathName:de,getParentExportDeclaration:I,getTypeScriptMappedTypeModifier:ct,hasFlowAnnotationComment:H,hasFlowShorthandAnnotationComment:oe,hasLeadingOwnLineComment:yt,hasNakedLeftSide:ne,hasNode:G,hasIgnoreComment:$,hasNodeIgnoreComment:j,identity:Ke,isBinaryish:Ue,isCallLikeExpression:fr,isEnabledHackPipeline:pn,isLineComment:O,isPrettierIgnoreComment:k,isCallExpression:qt,isMemberExpression:Yt,isExportDeclaration:Q,isFlowAnnotationComment:Ye,isFunctionCompositionArgs:er,isFunctionNotation:et,isFunctionOrArrowExpression:K,isGetterOrSetter:Le,isJestEachTemplateLiteral:Mr,isJsxNode:je,isLiteral:U,isLongCurriedCallExpression:Kt,isSimpleCallArgument:qr,isMemberish:Pe,isNumericLiteral:T,isSignedNumericLiteral:M,isObjectProperty:$r,isObjectType:ie,isObjectTypePropertyAFunction:Se,isSimpleType:Ut,isSimpleNumber:ar,isSimpleTemplateLiteral:xn,isStringLiteral:z,isStringPropSafeToUnquote:Lt,isTemplateOnItsOwnLine:Zn,isTestCall:ut,isTheOnlyJsxElementInMarkdown:$e,isTSXFile:Cr,isTypeAnnotationAFunction:gt,isNextLineEmpty:yr,needsHardlineAfterDanglingComment:zi,rawText:tr,shouldPrintComma:lr,isBitwiseOperator:_i,shouldFlatten:W,startsWithNoLookaheadToken:_r,getPrecedence:Jt,hasComment:Ee,getComments:Ft,CommentCheckFlags:ke,markerForIfWithoutBlockAndSameLineComment:Gn,isTSTypeExpression:kn}}}),uo=Be({"src/language-js/print/template-literal.js"(r,a){it();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=de(U,M,T);if(je)return je}let ie="expressions";z.type==="TSTemplateLiteralType"&&(ie="types");let K=[],ee=U.map(T,ie),Ae=oe(z);return Ae&&(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,et=je.getValue(),Se=m(et.value.raw,Le),gt=ee[$e];if(!Ae){let Pe=z[ie][$e];(H(Pe)||G(Pe)||Pe.type==="ConditionalExpression"||Pe.type==="SequenceExpression"||ne(Pe)||R(Pe))&&(gt=[A([v,gt]),v])}let Ue=Se===0&&et.value.raw.endsWith(`
71
+ `)?B(Number.NEGATIVE_INFINITY,gt):L(gt,Se,Le);K.push(C(["${",Ue,N,"}"]))}},"quasis"),K.push("`"),K}function de(U,T,M){let z=U.getNode(),ie=z.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(ie.length>1||ie.some(K=>K.length>0)){T.__inJestEach=!0;let K=U.map(M,"expressions");T.__inJestEach=!1;let ee=[],Ae=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 gt=l(je),Ue=Ae[Se-1];gt.cells.push(Ue),Ue.includes(`
72
+ `)&&(gt.hasLineBreak=!0),z.quasis[Se].value.raw.includes(`
73
+ `)&&je.push({hasLineBreak:!1,cells:[]})}let $e=Math.max(ie.length,...je.map(Se=>Se.cells.length)),Le=Array.from({length:$e}).fill(0),et=[{cells:ie},...je.filter(Se=>Se.cells.length>0)];for(let{cells:Se}of et.filter(gt=>!gt.hasLineBreak))for(let[gt,Ue]of Se.entries())Le[gt]=Math.max(Le[gt],f(Ue));return ee.push(N,"`",A([y,d(y,et.map(Se=>d(" | ",Se.cells.map((gt,Ue)=>Se.hasLineBreak?gt:gt+" ".repeat(Le[Ue]-f(gt))))))]),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){it();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){it();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(de=>de.value.raw),H=0,G=oe.reduce((de,ze,O)=>O===0?ze:de+"@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){it();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
+ `),de=me.length,ze=_[J],O=de>2&&me[0].trim()===""&&me[1].trim()==="",Q=de>2&&me[de-1].trim()===""&&me[de-2].trim()==="",I=me.every(T=>/^\s*(?:#[^\n\r]*)?$/.test(T));if(!G&&/#[^\n\r]*$/.test(me[de-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){it();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,ie)=>z===ie.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 de=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=[],ie=M.split(de);for(let K=0;K<ie.length;K++){let ee=ie[K];if(K%2===0){ee&&(ee=C(ee),_.__embeddedInHtml&&(ee=ee.replace(/<\/(script)\b/gi,"<\\/$1")),z.push(ee));continue}let Ae=Number(ee);z.push(me[Ae])}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){it();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(de(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 de(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){it();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={};vr(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=Jr({"node-modules-polyfills:os"(){it(),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}}}),Ul=Be({"node-modules-polyfills-commonjs:os"(r,a){it();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){it();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
+ `}}),xl=Be({"node_modules/jest-docblock/build/index.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0}),r.extract=P,r.parse=R,r.parseWithComments=J,r.print=oe,r.strip=_;function a(){let G=Ul();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 de=Object.create(null),ze=G.replace(B,"").replace(C,"").trimRight(),O;for(;O=B.exec(G);){let Q=O[2].replace(v,"");typeof de[O[1]]=="string"||Array.isArray(de[O[1]])?de[O[1]]=L.concat(de[O[1]],Q):de[O[1]]=Q}return{comments:ze,pragmas:de}}function oe(G){let{comments:ne="",pragmas:me={}}=G,de=(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}${de}`).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(de).map(M=>`${O} ${M}`).join(de)+de;return ze+de+(ne?T:"")+(ne&&I.length?O+de:"")+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){it();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){it();var{parseWithComments:l,strip:f,extract:m,print:d}=xl(),{normalizeEndOfLine:y}=Mi(),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){it();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:de,isLineComment:ze,getComments:O,CommentCheckFlags:Q,markerForIfWithoutBlockAndSameLineComment:I}=ls(),{locStart:U,locEnd:T}=Ts(),M=_a();function z(Pr){return[tr,Yt,Se,$e,Le,et,dt,Mr,yt,ar,Yr,Zn,vt,xn,ct].some(W=>W(Pr))}function ie(Pr){return[je,Yt,gt,Yr,$e,Le,et,dt,xn,Ye,Lt,ar,Kt,ct,Cr].some(W=>W(Pr))}function K(Pr){return[tr,$e,Le,Ue,qt,vt,ar,ut,He,Ke,ct,qr].some(W=>W(Pr))}function ee(Pr,W){let at=(Pr.body||Pr.properties).find(Jt=>{let{type:nn}=Jt;return nn!=="EmptyStatement"});at?v(at,W):A(Pr,W)}function Ae(Pr,W){Pr.type==="BlockStatement"?ee(Pr,W):v(Pr,W)}function je(Pr){let{comment:W,followingNode:at}=Pr;return at&&Kn(W)?(v(at,W),!0):!1}function $e(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,followingNode:nn,text:_i}=Pr;if((Jt==null?void 0:Jt.type)!=="IfStatement"||!nn)return!1;if(d(_i,W,T)===")")return C(at,W),!0;if(at===Jt.consequent&&nn===Jt.alternate){if(at.type==="BlockStatement")C(at,W);else{let e=W.type==="SingleLine"||W.loc.start.line===W.loc.end.line,n=W.loc.start.line===at.loc.start.line;e&&n?A(at,W,I):A(Jt,W)}return!0}return nn.type==="BlockStatement"?(ee(nn,W),!0):nn.type==="IfStatement"?(Ae(nn.consequent,W),!0):Jt.consequent===nn?(v(nn,W),!0):!1}function Le(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,followingNode:nn,text:_i}=Pr;return(Jt==null?void 0:Jt.type)!=="WhileStatement"||!nn?!1:d(_i,W,T)===")"?(C(at,W),!0):nn.type==="BlockStatement"?(ee(nn,W),!0):Jt.body===nn?(v(nn,W),!0):!1}function et(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,followingNode:nn}=Pr;return(Jt==null?void 0:Jt.type)!=="TryStatement"&&(Jt==null?void 0:Jt.type)!=="CatchClause"||!nn?!1:Jt.type==="CatchClause"&&at?(C(at,W),!0):nn.type==="BlockStatement"?(ee(nn,W),!0):nn.type==="TryStatement"?(Ae(nn.finalizer,W),!0):nn.type==="CatchClause"?(Ae(nn.body,W),!0):!1}function Se(Pr){let{comment:W,enclosingNode:at,followingNode:Jt}=Pr;return me(at)&&(Jt==null?void 0:Jt.type)==="Identifier"?(v(at,W),!0):!1}function gt(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,followingNode:nn,text:_i}=Pr,e=at&&!y(_i,T(at),U(W));return(!at||!e)&&((Jt==null?void 0:Jt.type)==="ConditionalExpression"||(Jt==null?void 0:Jt.type)==="TSConditionalType")&&nn?(v(nn,W),!0):!1}function Ue(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt}=Pr;return de(Jt)&&Jt.shorthand&&Jt.key===at&&Jt.value.type==="AssignmentPattern"?(C(Jt.value.left,W),!0):!1}var Pe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function dt(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,followingNode:nn}=Pr;if(Pe.has(Jt==null?void 0:Jt.type)){if(N(Jt.decorators)&&!(nn&&nn.type==="Decorator"))return C(l(Jt.decorators),W),!0;if(Jt.body&&nn===Jt.body)return ee(Jt.body,W),!0;if(nn){if(Jt.superClass&&nn===Jt.superClass&&at&&(at===Jt.id||at===Jt.typeParameters))return C(at,W),!0;for(let _i of["implements","extends","mixins"])if(Jt[_i]&&nn===Jt[_i][0])return at&&(at===Jt.id||at===Jt.typeParameters||at===Jt.superClass)?C(at,W):A(Jt,W,_i),!0}}return!1}var Ut=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function vt(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,text:nn}=Pr;return Jt&&at&&d(nn,W,T)==="("&&(Jt.type==="Property"||Jt.type==="TSDeclareMethod"||Jt.type==="TSAbstractMethodDefinition")&&at.type==="Identifier"&&Jt.key===at&&d(nn,at,T)!==":"||(at==null?void 0:at.type)==="Decorator"&&Ut.has(Jt==null?void 0:Jt.type)?(C(at,W),!0):!1}var Zt=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function He(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,text:nn}=Pr;return d(nn,W,T)!=="("?!1:at&&Zt.has(Jt==null?void 0:Jt.type)?(C(at,W),!0):!1}function ut(Pr){let{comment:W,enclosingNode:at,text:Jt}=Pr;if((at==null?void 0:at.type)!=="ArrowFunctionExpression")return!1;let nn=B(Jt,W,T);return nn!==!1&&Jt.slice(nn,nn+2)==="=>"?(A(at,W),!0):!1}function qt(Pr){let{comment:W,enclosingNode:at,text:Jt}=Pr;return d(Jt,W,T)!==")"?!1:at&&(lr(at)&&L(at).length===0||H(at)&&G(at).length===0)?(A(at,W),!0):((at==null?void 0:at.type)==="MethodDefinition"||(at==null?void 0:at.type)==="TSAbstractMethodDefinition")&&L(at.value).length===0?(A(at.value,W),!0):!1}function Yt(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,followingNode:nn,text:_i}=Pr;if((at==null?void 0:at.type)==="FunctionTypeParam"&&(Jt==null?void 0:Jt.type)==="FunctionTypeAnnotation"&&(nn==null?void 0:nn.type)!=="FunctionTypeParam"||((at==null?void 0:at.type)==="Identifier"||(at==null?void 0:at.type)==="AssignmentPattern")&&Jt&&lr(Jt)&&d(_i,W,T)===")")return C(at,W),!0;if((Jt==null?void 0:Jt.type)==="FunctionDeclaration"&&(nn==null?void 0:nn.type)==="BlockStatement"){let e=(()=>{let n=L(Jt);if(n.length>0)return m(_i,T(l(n)));let o=m(_i,T(Jt.id));return o!==!1&&m(_i,o+1)})();if(U(W)>e)return ee(nn,W),!0}return!1}function xn(Pr){let{comment:W,enclosingNode:at}=Pr;return(at==null?void 0:at.type)==="LabeledStatement"?(v(at,W),!0):!1}function ct(Pr){let{comment:W,enclosingNode:at}=Pr;return((at==null?void 0:at.type)==="ContinueStatement"||(at==null?void 0:at.type)==="BreakStatement")&&!at.label?(C(at,W),!0):!1}function Ye(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt}=Pr;return ne(Jt)&&at&&Jt.callee===at&&Jt.arguments.length>0?(v(Jt.arguments[0],W),!0):!1}function yt(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,followingNode:nn}=Pr;return(Jt==null?void 0:Jt.type)==="UnionTypeAnnotation"||(Jt==null?void 0:Jt.type)==="TSUnionType"?(P(W)&&(nn.prettierIgnore=!0,W.unignore=!0),at?(C(at,W),!0):!1):(((nn==null?void 0:nn.type)==="UnionTypeAnnotation"||(nn==null?void 0:nn.type)==="TSUnionType")&&P(W)&&(nn.types[0].prettierIgnore=!0,W.unignore=!0),!1)}function Lt(Pr){let{comment:W,enclosingNode:at}=Pr;return de(at)?(v(at,W),!0):!1}function ar(Pr){let{comment:W,enclosingNode:at,followingNode:Jt,ast:nn,isLastComment:_i}=Pr;return nn&&nn.body&&nn.body.length===0?(_i?A(nn,W):v(nn,W),!0):(at==null?void 0:at.type)==="Program"&&(at==null?void 0:at.body.length)===0&&!N(at.directives)?(_i?A(at,W):v(at,W),!0):(Jt==null?void 0:Jt.type)==="Program"&&(Jt==null?void 0:Jt.body.length)===0&&(at==null?void 0:at.type)==="ModuleExpression"?(A(Jt,W),!0):!1}function Mr(Pr){let{comment:W,enclosingNode:at}=Pr;return(at==null?void 0:at.type)==="ForInStatement"||(at==null?void 0:at.type)==="ForOfStatement"?(v(at,W),!0):!1}function Yr(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,text:nn}=Pr;if((Jt==null?void 0:Jt.type)==="ImportSpecifier"||(Jt==null?void 0:Jt.type)==="ExportSpecifier")return v(Jt,W),!0;let _i=(at==null?void 0:at.type)==="ImportSpecifier"&&(Jt==null?void 0:Jt.type)==="ImportDeclaration",e=(at==null?void 0:at.type)==="ExportSpecifier"&&(Jt==null?void 0:Jt.type)==="ExportNamedDeclaration";return(_i||e)&&f(nn,T(W))?(C(at,W),!0):!1}function Zn(Pr){let{comment:W,enclosingNode:at}=Pr;return(at==null?void 0:at.type)==="AssignmentPattern"?(v(at,W),!0):!1}var zi=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),er=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Kt(Pr){let{comment:W,enclosingNode:at,followingNode:Jt}=Pr;return zi.has(at==null?void 0:at.type)&&Jt&&(er.has(Jt.type)||M(W))?(v(Jt,W),!0):!1}function qr(Pr){let{comment:W,enclosingNode:at,followingNode:Jt,text:nn}=Pr;return!Jt&&((at==null?void 0:at.type)==="TSMethodSignature"||(at==null?void 0:at.type)==="TSDeclareFunction"||(at==null?void 0:at.type)==="TSAbstractMethodDefinition")&&d(nn,W,T)===";"?(C(at,W),!0):!1}function tr(Pr){let{comment:W,enclosingNode:at,followingNode:Jt}=Pr;if(P(W)&&(at==null?void 0:at.type)==="TSMappedType"&&(Jt==null?void 0:Jt.type)==="TSTypeParameter"&&Jt.constraint)return at.prettierIgnore=!0,W.unignore=!0,!0}function Ke(Pr){let{comment:W,precedingNode:at,enclosingNode:Jt,followingNode:nn}=Pr;return(Jt==null?void 0:Jt.type)!=="TSMappedType"?!1:(nn==null?void 0:nn.type)==="TSTypeParameter"&&nn.name?(v(nn.name,W),!0):(at==null?void 0:at.type)==="TSTypeParameter"&&at.constraint?(C(at.constraint,W),!0):!1}function Cr(Pr){let{comment:W,enclosingNode:at,followingNode:Jt}=Pr;return!at||at.type!=="SwitchCase"||at.test?!1:(Jt.type==="BlockStatement"&&ze(W)?ee(Jt,W):A(at,W),!0)}function lr(Pr){return Pr.type==="ArrowFunctionExpression"||Pr.type==="FunctionExpression"||Pr.type==="FunctionDeclaration"||Pr.type==="ObjectMethod"||Pr.type==="ClassMethod"||Pr.type==="TSDeclareFunction"||Pr.type==="TSCallSignatureDeclaration"||Pr.type==="TSConstructSignatureDeclaration"||Pr.type==="TSMethodSignature"||Pr.type==="TSConstructorType"||Pr.type==="TSFunctionType"||Pr.type==="TSDeclareMethod"}function _r(Pr,W){if((W.parser==="typescript"||W.parser==="flow"||W.parser==="acorn"||W.parser==="espree"||W.parser==="meriyah"||W.parser==="__babel_estree")&&Pr.type==="MethodDefinition"&&Pr.value&&Pr.value.type==="FunctionExpression"&&L(Pr.value).length===0&&!Pr.value.returnType&&!N(Pr.value.typeParameters)&&Pr.value.body)return[...Pr.decorators||[],Pr.key,Pr.value.body]}function Kn(Pr){return M(Pr)&&Pr.value[0]==="*"&&/@type\b/.test(Pr.value)}function Fn(Pr){let W=Pr.getValue(),at=Pr.getParentNode(),Jt=nn=>J(O(nn,Q.Leading))||J(O(nn,Q.Trailing));return(W&&(_(W)||R(W)||ne(at)&&Jt(W))||at&&(at.type==="JSXSpreadAttribute"||at.type==="JSXSpreadChild"||at.type==="UnionTypeAnnotation"||at.type==="TSUnionType"||(at.type==="ClassDeclaration"||at.type==="ClassExpression")&&at.superClass===W))&&(!oe(Pr)||at.type==="UnionTypeAnnotation"||at.type==="TSUnionType")}a.exports={handleOwnLineComment:z,handleEndOfLineComment:ie,handleRemainingComment:K,isTypeCastComment:Kn,getCommentChildNodes:_r,willPrintOwnComments:Fn}}}),_o=Be({"src/language-js/needs-parens.js"(r,a){it();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)&&de(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,ie=T;for(;ie;)switch(ie.type){case"MemberExpression":z=!0,ie=ie.object;break;case"CallExpression":if(z||M)return Q.parser!=="typescript";M=!0,ie=ie.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 ie=L(M),K=I.operator,ee=L(K);return ee>ie||U==="right"&&ee===ie||ee===ie&&!N(K,M)?!0:ee<ie&&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 de(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(de);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(de);break;case"ConditionalExpression":if(U==="alternate")return O.callParent(de);break;case"UnaryExpression":if(I.prefix)return O.callParent(de);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){it();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){it();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){it();var{printComments:l}=si(),{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:de,isEnabledHackPipeline:ze}=ls(),O=0;function Q(T,M,z){let ie=T.getValue(),K=T.getParentNode(),ee=T.getParentNode(1),Ae=ie!==K.body&&(K.type==="IfStatement"||K.type==="WhileStatement"||K.type==="SwitchStatement"||K.type==="DoWhileStatement"),je=ze(M)&&ie.operator==="|>",$e=I(T,z,M,!1,Ae);if(Ae)return $e;if(je)return v($e);if(ne(K)&&K.callee===ie||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"||ie.operator!=="|"&&K.type==="JsExpressionRoot"||ie.type!=="NGPipeExpression"&&(K.type==="NGRoot"&&M.parser==="__ng_binding"||K.type==="NGMicrosyntaxExpression"&&ee.type==="NGMicrosyntax"&&ee.body.length===1)||ie===K.body&&K.type==="ArrowFunctionExpression"||ie!==K.body&&K.type==="ForStatement"||K.type==="ConditionalExpression"&&ee.type!=="ReturnStatement"&&ee.type!=="ThrowStatement"&&!ne(ee)||K.type==="TemplateLiteral",et=K.type==="AssignmentExpression"||K.type==="VariableDeclarator"||K.type==="ClassProperty"||K.type==="PropertyDefinition"||K.type==="TSAbstractPropertyDefinition"||K.type==="ClassPrivateProperty"||de(K),Se=R(ie.left)&&oe(ie.operator,ie.left.operator);if(Le||U(ie)&&!Se||!U(ie)&&et)return v($e);if($e.length===0)return"";let gt=J(ie.right),Ue=$e.findIndex(He=>typeof He!="string"&&!Array.isArray(He)&&He.type==="group"),Pe=$e.slice(0,Ue===-1?1:Ue+1),dt=$e.slice(Pe.length,gt?-1:void 0),Ut=Symbol("logicalChain-"+ ++O),vt=v([...Pe,C(dt)],{id:Ut});if(!gt)return vt;let Zt=f($e);return v([vt,B(Zt,{groupId:Ut})])}function I(T,M,z,ie,K){let ee=T.getValue();if(!R(ee))return[v(M())];let Ae=[];oe(ee.operator,ee.left.operator)?Ae=T.call(dt=>I(dt,M,z,!0,K),"left"):Ae.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,et=ee.type==="NGPipeExpression"&&ee.arguments.length>0?v(C([d,": ",m([d,": "],T.map(M,"arguments").map(dt=>A(2,v(dt))))])):"",Se;if(je)Se=[Le," ",M("right"),et];else{let dt=ze(z)&&Le==="|>"?T.call(Ut=>I(Ut,M,z,!0,K),"right"):M("right");Se=[$e?d:"",Le,$e?" ":d,dt,et]}let gt=T.getParentNode(),Ue=H(ee.left,G.Trailing|G.Line),Pe=Ue||!(K&&ee.type==="LogicalExpression")&&gt.type!==ee.type&&ee.left.type!==ee.type&&ee.right.type!==ee.type;if(Ae.push($e?"":" ",Pe?v(Se,{shouldBreak:Ue}):Se),ie&&H(ee)){let dt=N(l(T,Ae,z));return P(dt)||dt.type==="fill"?L(dt):[dt]}return Ae}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}}}),Cl=Be({"src/language-js/print/angular.js"(r,a){it();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){it();var{printComments:l,printDanglingComments:f}=si(),{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:de,hasComment:ze,CommentCheckFlags:O,hasNodeIgnoreComment:Q}=ls(),I=_o(),{willPrintOwnComments:U}=ga(),T=Ye=>Ye===""||Ye===m||Ye===d||Ye===y;function M(Ye,yt,Lt){let ar=Ye.getValue();if(ar.type==="JSXElement"&&qt(ar))return[Lt("openingElement"),Lt("closingElement")];let Mr=ar.type==="JSXElement"?Lt("openingElement"):Lt("openingFragment"),Yr=ar.type==="JSXElement"?Lt("closingElement"):Lt("closingFragment");if(ar.children.length===1&&ar.children[0].type==="JSXExpressionContainer"&&(ar.children[0].expression.type==="TemplateLiteral"||ar.children[0].expression.type==="TaggedTemplateExpression"))return[Mr,...Ye.map(Lt,"children"),Yr];ar.children=ar.children.map(W=>xn(W)?{type:"JSXText",value:" ",raw:" "}:W);let Zn=ar.children.some(oe),zi=ar.children.filter(W=>W.type==="JSXExpressionContainer").length>1,er=ar.type==="JSXElement"&&ar.openingElement.attributes.length>1,Kt=_(Mr)||Zn||er||zi,qr=Ye.getParentNode().rootMarker==="mdx",tr=yt.singleQuote?"{' '}":'{" "}',Ke=qr?" ":N([tr,y]," "),Cr=ar.openingElement&&ar.openingElement.name&&ar.openingElement.name.name==="fbt",lr=z(Ye,yt,Lt,Ke,Cr),_r=ar.children.some(W=>Yt(W));for(let W=lr.length-2;W>=0;W--){let at=lr[W]===""&&lr[W+1]==="",Jt=lr[W]===d&&lr[W+1]===""&&lr[W+2]===d,nn=(lr[W]===y||lr[W]===d)&&lr[W+1]===""&&lr[W+2]===Ke,_i=lr[W]===Ke&&lr[W+1]===""&&(lr[W+2]===y||lr[W+2]===d),e=lr[W]===Ke&&lr[W+1]===""&&lr[W+2]===Ke,n=lr[W]===y&&lr[W+1]===""&&lr[W+2]===d||lr[W]===d&&lr[W+1]===""&&lr[W+2]===y;Jt&&_r||at||nn||e||n?lr.splice(W,2):_i&&lr.splice(W+1,2)}for(;lr.length>0&&T(R(lr));)lr.pop();for(;lr.length>1&&T(lr[0])&&T(lr[1]);)lr.shift(),lr.shift();let Kn=[];for(let[W,at]of lr.entries()){if(at===Ke){if(W===1&&lr[W-1]===""){if(lr.length===2){Kn.push(tr);continue}Kn.push([tr,d]);continue}else if(W===lr.length-1){Kn.push(tr);continue}else if(lr[W-1]===""&&lr[W-2]===d){Kn.push(tr);continue}}Kn.push(at),_(at)&&(Kt=!0)}let Fn=_r?B(Kn):v(Kn,{shouldBreak:!0});if(qr)return Fn;let Pr=v([Mr,C([d,Fn]),d,Yr]);return Kt?Pr:A([v([Mr,...lr,Yr]),Pr])}function z(Ye,yt,Lt,ar,Mr){let Yr=[];return Ye.each((Zn,zi,er)=>{let Kt=Zn.getValue();if(G(Kt)){let qr=H(Kt);if(Yt(Kt)){let tr=qr.split(Zt);if(tr[0]===""){if(Yr.push(""),tr.shift(),/\n/.test(tr[0])){let Cr=er[zi+1];Yr.push(K(Mr,tr[1],Kt,Cr))}else Yr.push(ar);tr.shift()}let Ke;if(R(tr)===""&&(tr.pop(),Ke=tr.pop()),tr.length===0)return;for(let[Cr,lr]of tr.entries())Cr%2===1?Yr.push(m):Yr.push(lr);if(Ke!==void 0)if(/\n/.test(Ke)){let Cr=er[zi+1];Yr.push(K(Mr,R(Yr),Kt,Cr))}else Yr.push(ar);else{let Cr=er[zi+1];Yr.push(ie(Mr,R(Yr),Kt,Cr))}}else/\n/.test(qr)?qr.match(/\n/g).length>1&&Yr.push("",d):Yr.push("",ar)}else{let qr=Lt();Yr.push(qr);let tr=er[zi+1];if(tr&&Yt(tr)){let Ke=ut(H(tr)).split(Zt)[0];Yr.push(ie(Mr,Ke,Kt,tr))}else Yr.push(d)}},"children"),Yr}function ie(Ye,yt,Lt,ar){return Ye?"":Lt.type==="JSXElement"&&!Lt.closingElement||ar&&ar.type==="JSXElement"&&!ar.closingElement?yt.length===1?y:d:y}function K(Ye,yt,Lt,ar){return Ye?d:yt.length===1?Lt.type==="JSXElement"&&!Lt.closingElement||ar&&ar.type==="JSXElement"&&!ar.closingElement?d:y:d}function ee(Ye,yt,Lt){let ar=Ye.getParentNode();if(!ar||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[ar.type])return yt;let Mr=Ye.match(void 0,Zn=>Zn.type==="ArrowFunctionExpression",ne,Zn=>Zn.type==="JSXExpressionContainer"),Yr=I(Ye,Lt);return v([Yr?"":N("("),C([y,yt]),y,Yr?"":N(")")],{shouldBreak:Mr})}function Ae(Ye,yt,Lt){let ar=Ye.getValue(),Mr=[];if(Mr.push(Lt("name")),ar.value){let Yr;if(me(ar.value)){let Zn=H(ar.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:zi,quote:er,regex:Kt}=J(Zn,yt.jsxSingleQuote?"'":'"');Zn=Zn.replace(Kt,zi),Yr=[er,Zn,er]}else Yr=Lt("value");Mr.push("=",Yr)}return Mr}function je(Ye,yt,Lt){let ar=Ye.getValue(),Mr=(Yr,Zn)=>Yr.type==="JSXEmptyExpression"||!ze(Yr)&&(Yr.type==="ArrayExpression"||Yr.type==="ObjectExpression"||Yr.type==="ArrowFunctionExpression"||Yr.type==="AwaitExpression"&&(Mr(Yr.argument,Yr)||Yr.argument.type==="JSXElement")||ne(Yr)||Yr.type==="FunctionExpression"||Yr.type==="TemplateLiteral"||Yr.type==="TaggedTemplateExpression"||Yr.type==="DoExpression"||oe(Zn)&&(Yr.type==="ConditionalExpression"||de(Yr)));return Mr(ar.expression,Ye.getParentNode(0))?v(["{",Lt("expression"),L,"}"]):v(["{",C([y,Lt("expression")]),y,L,"}"])}function $e(Ye,yt,Lt){let ar=Ye.getValue(),Mr=ar.name&&ze(ar.name)||ar.typeParameters&&ze(ar.typeParameters);if(ar.selfClosing&&ar.attributes.length===0&&!Mr)return["<",Lt("name"),Lt("typeParameters")," />"];if(ar.attributes&&ar.attributes.length===1&&ar.attributes[0].value&&me(ar.attributes[0].value)&&!ar.attributes[0].value.value.includes(`
86
+ `)&&!Mr&&!ze(ar.attributes[0]))return v(["<",Lt("name"),Lt("typeParameters")," ",...Ye.map(Lt,"attributes"),ar.selfClosing?" />":">"]);let Yr=ar.attributes&&ar.attributes.some(zi=>zi.value&&me(zi.value)&&zi.value.value.includes(`
87
+ `)),Zn=yt.singleAttributePerLine&&ar.attributes.length>1?d:m;return v(["<",Lt("name"),Lt("typeParameters"),C(Ye.map(()=>[Zn,Lt()],"attributes")),...Le(ar,yt,Mr)],{shouldBreak:Yr})}function Le(Ye,yt,Lt){return Ye.selfClosing?[m,"/>"]:et(Ye,yt,Lt)?[">"]:[y,">"]}function et(Ye,yt,Lt){let ar=Ye.attributes.length>0&&ze(R(Ye.attributes),O.Trailing);return Ye.attributes.length===0&&!Lt||(yt.bracketSameLine||yt.jsxBracketSameLine)&&(!Lt||Ye.attributes.length>0)&&!ar}function Se(Ye,yt,Lt){let ar=Ye.getValue(),Mr=[];Mr.push("</");let Yr=Lt("name");return ze(ar.name,O.Leading|O.Line)?Mr.push(C([d,Yr]),d):ze(ar.name,O.Leading|O.Block)?Mr.push(" ",Yr):Mr.push(Yr),Mr.push(">"),Mr}function gt(Ye,yt){let Lt=Ye.getValue(),ar=ze(Lt),Mr=ze(Lt,O.Line),Yr=Lt.type==="JSXOpeningFragment";return[Yr?"<":"</",C([Mr?d:ar&&!Yr?" ":"",f(Ye,yt,!0)]),Mr?d:"",">"]}function Ue(Ye,yt,Lt){let ar=l(Ye,M(Ye,yt,Lt),yt);return ee(Ye,ar,yt)}function Pe(Ye,yt){let Lt=Ye.getValue(),ar=ze(Lt,O.Line);return[f(Ye,yt,!ar),ar?d:""]}function dt(Ye,yt,Lt){let ar=Ye.getValue();return["{",Ye.call(Mr=>{let Yr=["...",Lt()],Zn=Mr.getValue();return!ze(Zn)||!U(Mr)?Yr:[C([y,l(Mr,Yr,yt)]),y]},ar.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Ut(Ye,yt,Lt){let ar=Ye.getValue();if(ar.type.startsWith("JSX"))switch(ar.type){case"JSXAttribute":return Ae(Ye,yt,Lt);case"JSXIdentifier":return String(ar.name);case"JSXNamespacedName":return P(":",[Lt("namespace"),Lt("name")]);case"JSXMemberExpression":return P(".",[Lt("object"),Lt("property")]);case"JSXSpreadAttribute":return dt(Ye,yt,Lt);case"JSXSpreadChild":return dt(Ye,yt,Lt);case"JSXExpressionContainer":return je(Ye,yt,Lt);case"JSXFragment":case"JSXElement":return Ue(Ye,yt,Lt);case"JSXOpeningElement":return $e(Ye,yt,Lt);case"JSXClosingElement":return Se(Ye,yt,Lt);case"JSXOpeningFragment":case"JSXClosingFragment":return gt(Ye,yt);case"JSXEmptyExpression":return Pe(Ye,yt);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(ar.type)}.`)}}var vt=`
88
+ \r `,Zt=new RegExp("(["+vt+"]+)"),He=new RegExp("[^"+vt+"]"),ut=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 yt=Ye.children[0];return G(yt)&&!Yt(yt)}function Yt(Ye){return G(Ye)&&(He.test(H(Ye))||!/\n/.test(H(Ye)))}function xn(Ye){return Ye.type==="JSXExpressionContainer"&&G(Ye.expression)&&Ye.expression.value===" "&&!ze(Ye.expression)}function ct(Ye){let yt=Ye.getValue(),Lt=Ye.getParentNode();if(!Lt||!yt||!oe(yt)||!oe(Lt))return!1;let ar=Lt.children.indexOf(yt),Mr=null;for(let Yr=ar;Yr>0;Yr--){let Zn=Lt.children[Yr-1];if(!(Zn.type==="JSXText"&&!Yt(Zn))){Mr=Zn;break}}return Mr&&Mr.type==="JSXExpressionContainer"&&Mr.expression.type==="JSXEmptyExpression"&&Q(Mr.expression)}a.exports={hasJsxIgnoreComment:ct,printJsx:Ut}}}),ia=Be({"src/language-js/print/misc.js"(r,a){it();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){it();var{printDanglingComments:l}=si(),{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"?"#[":"[",ie="]";if(T.elements.length===0)P(T,_.Dangling)?M.push(y([z,l(Q,I),m,ie])):M.push(z,ie);else{let K=B(T.elements),ee=!(K&&K.type==="RestElement"),Ae=K===null,je=Symbol("array"),$e=!I.__inJestEach&&T.elements.length>1&&T.elements.every((Se,gt,Ue)=>{let Pe=Se&&Se.type;if(Pe!=="ArrayExpression"&&Pe!=="ObjectExpression")return!1;let dt=Ue[gt+1];if(dt&&Pe!==dt.type)return!1;let Ut=Pe==="ArrayExpression"?"elements":"properties";return Se[Ut]&&Se[Ut].length>1}),Le=de(T,I),et=ee?Ae?",":L(I)?Le?C(",","",{groupId:je}):C(","):"":"";M.push(y([z,v([m,Le?O(Q,I,U,et):[ze(Q,I,"elements",U),et],l(Q,I,!0)]),m,ie],{shouldBreak:$e,id:je}))}return M.push(G(Q),ne(Q,I,U)),M}function de(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(ie=>{M.push(z,y(T())),z=[",",f],ie.getValue()&&R(ie.getValue(),I)&&z.push(m)},U),M}function O(Q,I,U,T){let M=[];return Q.each((z,ie,K)=>{let ee=ie===K.length-1;M.push([U(),ee?T:","]),ee||M.push(R(z.getValue(),I)?[d,d]:P(K[ie+1],_.Leading|_.Line)?d:f)},"elements"),A(M)}a.exports={printArray:me,printArrayItems:ze,isConciselyPrintedArray:de}}}),Io=Be({"src/language-js/print/call-arguments.js"(r,a){it();var{printDanglingComments:l}=si(),{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:de,indent:ze,conditionalGroup:O,ifBreak:Q,breakParent:I},utils:{willBreak:U}}=xi(),{ArgExpansionBailout:T}=Ci(),{isConciselyPrintedArray:M}=Ma();function z(Le,et,Se){let gt=Le.getValue(),Ue=gt.type==="ImportExpression",Pe=L(gt);if(Pe.length===0)return["(",l(Le,et,!0),")"];if(Ae(Pe))return["(",Se(["arguments",0]),", ",Se(["arguments",1]),")"];let dt=!1,Ut=!1,vt=Pe.length-1,Zt=[];P(Le,(ct,Ye)=>{let yt=ct.getNode(),Lt=[Se()];Ye===vt||(_(yt,et)?(Ye===0&&(Ut=!0),dt=!0,Lt.push(",",ne,ne)):Lt.push(",",G)),Zt.push(Lt)});let He=!(Ue||gt.callee&&gt.callee.type==="Import")&&N(et,"all")?",":"";function ut(){return de(["(",ze([G,...Zt]),He,G,")"],{shouldBreak:!0})}if(dt||Le.getParentNode().type!=="Decorator"&&C(Pe))return ut();let qt=ee(Pe),Yt=K(Pe,et);if(qt||Yt){if(qt?Zt.slice(1).some(U):Zt.slice(0,-1).some(U))return ut();let ct=[];try{Le.try(()=>{P(Le,(Ye,yt)=>{qt&&yt===0&&(ct=[[Se([],{expandFirstArg:!0}),Zt.length>1?",":"",Ut?ne:G,Ut?ne:""],...Zt.slice(1)]),Yt&&yt===vt&&(ct=[...Zt.slice(0,-1),Se([],{expandLastArg:!0})])})})}catch(Ye){if(Ye instanceof T)return ut();throw Ye}return[Zt.some(U)?I:"",O([["(",...ct,")"],qt?["(",de(ct[0],{shouldBreak:!0}),...ct.slice(1),")"]:["(",...Zt.slice(0,-1),de(f(ct),{shouldBreak:!0}),")"],ut()])]}let xn=["(",ze([me,...Zt]),Q(He),me,")"];return B(Le)?xn:de(xn,{shouldBreak:Zt.some(U)||dt})}function ie(Le){let et=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"&&ie(Le.expression)||H(Le)&&ie(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"&&ie(Le.body,!0)||Le.body.type==="ObjectExpression"||Le.body.type==="ArrayExpression"||!et&&(R(Le.body)||Le.body.type==="ConditionalExpression")||A(Le.body))||Le.type==="DoExpression"||Le.type==="ModuleExpression"}function K(Le,et){let Se=f(Le),gt=m(Le);return!y(Se,v.Leading)&&!y(Se,v.Trailing)&&ie(Se)&&(!gt||gt.type!==Se.type)&&(Le.length!==2||gt.type!=="ArrowFunctionExpression"||Se.type!=="ArrayExpression")&&!(Le.length>1&&Se.type==="ArrayExpression"&&M(Se,et))}function ee(Le){if(Le.length!==2)return!1;let[et,Se]=Le;return et.type==="ModuleExpression"&&$e(Se)?!0:!y(et)&&(et.type==="FunctionExpression"||et.type==="ArrowFunctionExpression"&&et.body.type==="BlockStatement")&&Se.type!=="FunctionExpression"&&Se.type!=="ArrowFunctionExpression"&&Se.type!=="ConditionalExpression"&&!ie(Se)}function Ae(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(et=>y(et))}function je(Le){return Le.type==="BlockStatement"&&(Le.body.some(et=>et.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){it();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}}}),El=Be({"src/language-js/print/member-chain.js"(r,a){it();var{printComments:l}=si(),{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:de,breakParent:ze,label:O},utils:{willBreak:Q}}=xi(),I=Io(),{printMemberLookup:U}=Co(),{printOptionalToken:T,printFunctionTypeParameters:M,printBindExpressionCallee:z}=ia();function ie(K,ee,Ae){let je=K.getParentNode(),$e=!je||je.type==="ExpressionStatement",Le=[];function et(Kt){let{originalText:qr}=ee,tr=d(qr,Kt,oe);return qr.charAt(tr)===")"?tr!==!1&&m(qr,tr+1):J(Kt,ee)}function Se(Kt){let qr=Kt.getValue();v(qr)&&(N(qr.callee)||v(qr.callee))?(Le.unshift({node:qr,printed:[l(Kt,[T(Kt),M(Kt,ee,Ae),I(Kt,ee,Ae)],ee),et(qr)?G:""]}),Kt.call(tr=>Se(tr),"callee")):N(qr)?(Le.unshift({node:qr,needsParens:y(Kt,ee),printed:l(Kt,C(qr)?U(Kt,ee,Ae):z(Kt,ee,Ae),ee)}),Kt.call(tr=>Se(tr),"object")):qr.type==="TSNonNullExpression"?(Le.unshift({node:qr,printed:l(Kt,"!",ee)}),Kt.call(tr=>Se(tr),"expression")):Le.unshift({node:qr,printed:Ae()})}let gt=K.getValue();Le.unshift({node:gt,printed:[T(K),M(K,ee,Ae),I(K,ee,Ae)]}),gt.callee&&K.call(Kt=>Se(Kt),"callee");let Ue=[],Pe=[Le[0]],dt=1;for(;dt<Le.length&&(Le[dt].node.type==="TSNonNullExpression"||v(Le[dt].node)||C(Le[dt].node)&&Le[dt].node.computed&&L(Le[dt].node.property));++dt)Pe.push(Le[dt]);if(!v(Le[0].node))for(;dt+1<Le.length&&N(Le[dt].node)&&N(Le[dt+1].node);++dt)Pe.push(Le[dt]);Ue.push(Pe),Pe=[];let Ut=!1;for(;dt<Le.length;++dt){if(Ut&&N(Le[dt].node)){if(Le[dt].node.computed&&L(Le[dt].node.property)){Pe.push(Le[dt]);continue}Ue.push(Pe),Pe=[],Ut=!1}(v(Le[dt].node)||Le[dt].node.type==="ImportExpression")&&(Ut=!0),Pe.push(Le[dt]),_(Le[dt].node,R.Trailing)&&(Ue.push(Pe),Pe=[],Ut=!1)}Pe.length>0&&Ue.push(Pe);function vt(Kt){return/^[A-Z]|^[$_]+$/.test(Kt)}function Zt(Kt){return Kt.length<=ee.tabWidth}function He(Kt){let qr=Kt[1].length>0&&Kt[1][0].node.computed;if(Kt[0].length===1){let Ke=Kt[0][0].node;return Ke.type==="ThisExpression"||Ke.type==="Identifier"&&(vt(Ke.name)||$e&&Zt(Ke.name)||qr)}let tr=f(Kt[0]).node;return C(tr)&&tr.property.type==="Identifier"&&(vt(tr.property.name)||qr)}let ut=Ue.length>=2&&!_(Ue[1][0].node)&&He(Ue);function qt(Kt){let qr=Kt.map(tr=>tr.printed);return Kt.length>0&&f(Kt).needsParens?["(",...qr,")"]:qr}function Yt(Kt){return Kt.length===0?"":me(ne([G,H(G,Kt.map(qt))]))}let xn=Ue.map(qt),ct=xn,Ye=ut?3:2,yt=Ue.flat(),Lt=yt.slice(1,-1).some(Kt=>_(Kt.node,R.Leading))||yt.slice(0,-1).some(Kt=>_(Kt.node,R.Trailing))||Ue[Ye]&&_(Ue[Ye][0].node,R.Leading);if(Ue.length<=Ye&&!Lt)return B(K)?ct:ne(ct);let ar=f(Ue[ut?1:0]).node,Mr=!v(ar)&&et(ar),Yr=[qt(Ue[0]),ut?Ue.slice(1,2).map(qt):"",Mr?G:"",Yt(Ue.slice(ut?2:1))],Zn=Le.map(Kt=>{let{node:qr}=Kt;return qr}).filter(v);function zi(){let Kt=f(f(Ue)).node,qr=f(xn);return v(Kt)&&Q(qr)&&Zn.slice(0,-1).some(tr=>tr.arguments.some(A))}let er;return Lt||Zn.length>2&&Zn.some(Kt=>!Kt.arguments.every(qr=>P(qr,0)))||xn.slice(0,-1).some(Q)||zi()?er=ne(Yr):er=[Q(ct)||Mr?ze:"",de([ct,Yr])],O("member-chain",er)}a.exports=ie}}),bl=Be({"src/language-js/print/call-expression.js"(r,a){it();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=El(),_=Io(),{printOptionalToken:R,printFunctionTypeParameters:J}=ia();function oe(G,ne,me){let de=G.getValue(),ze=G.getParentNode(),O=de.type==="NewExpression",Q=de.type==="ImportExpression",I=R(G),U=d(de);if(U.length>0&&(!Q&&!O&&H(de,ze)||U.length===1&&B(U[0],ne.originalText)||!O&&N(de,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")&&de.callee&&de.callee.type==="Identifier"&&y(de.callee.trailingComments);if(T&&(de.callee.trailingComments[0].printed=!0),!Q&&!O&&C(de.callee)&&!G.call(z=>m(z,ne),"callee"))return P(G,ne,me);let M=[O?"new ":"",Q?"import":me("callee"),I,T?`/*:: ${de.callee.trailingComments[0].value.slice(2).trim()} */`:"",J(G,ne,me),_(G,ne,me)];return Q||v(de.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){it();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:de,isObjectProperty:ze}=ls(),{shouldInlineLogicalExpression:O}=po(),{printCallExpression:Q}=bl();function I(He,ut,qt,Yt,xn,ct){let Ye=M(He,ut,qt,Yt,ct),yt=qt(ct,{assignmentLayout:Ye});switch(Ye){case"break-after-operator":return d([d(Yt),xn,d(y([m,yt]))]);case"never-break-after-operator":return d([d(Yt),xn," ",yt]);case"fluid":{let Lt=Symbol("assignment");return d([d(Yt),xn,d(y(m),{id:Lt}),C,v(yt,{groupId:Lt})])}case"break-lhs":return d([Yt,xn," ",d(yt)]);case"chain":return[d(Yt),xn,m,yt];case"chain-tail":return[d(Yt),xn,y([m,yt])];case"chain-tail-arrow-chain":return[d(Yt),xn,yt];case"only-left":return Yt}}function U(He,ut,qt){let Yt=He.getValue();return I(He,ut,qt,qt("left"),[" ",Yt.operator],"right")}function T(He,ut,qt){return I(He,ut,qt,qt("id")," =","init")}function M(He,ut,qt,Yt,xn){let ct=He.getValue(),Ye=ct[xn];if(!Ye)return"only-left";let yt=!K(Ye);if(He.match(K,ee,ar=>!yt||ar.type!=="ExpressionStatement"&&ar.type!=="VariableDeclaration"))return yt?Ye.type==="ArrowFunctionExpression"&&Ye.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!yt&&K(Ye.right)||L(ut.originalText,Ye))return"break-after-operator";if(Ye.type==="CallExpression"&&Ye.callee.name==="require"||ut.parser==="json5"||ut.parser==="json")return"never-break-after-operator";if(ie(ct)||Ae(ct)||Le(ct)||et(ct)&&N(Yt))return"break-lhs";let Lt=Ut(ct,Yt,ut);return He.call(()=>z(He,ut,qt,Lt),xn)?"break-after-operator":Lt||Ye.type==="TemplateLiteral"||Ye.type==="TaggedTemplateExpression"||Ye.type==="BooleanLiteral"||J(Ye)||Ye.type==="ClassExpression"?"never-break-after-operator":"fluid"}function z(He,ut,qt,Yt){let xn=He.getValue();if(P(xn)&&!O(xn))return!0;switch(xn.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:yt}=xn;return P(yt)&&!O(yt)}case"ClassExpression":return l(xn.decorators)}if(Yt)return!1;let ct=xn,Ye=[];for(;;)if(ct.type==="UnaryExpression")ct=ct.argument,Ye.push("argument");else if(ct.type==="TSNonNullExpression")ct=ct.expression,Ye.push("expression");else break;return!!(_(ct)||He.call(()=>Ue(He,ut,qt),...Ye))}function ie(He){if(ee(He)){let ut=He.left||He.id;return ut.type==="ObjectPattern"&&ut.properties.length>2&&ut.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 Ae(He){let ut=je(He);if(l(ut)){let qt=He.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(ut.length>1&&ut.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:ut}=He.id;if(!ut||!ut.typeAnnotation)return!1;let qt=Se(ut.typeAnnotation);return l(qt)&&qt.length>1&&qt.some(Yt=>l(Se(Yt))||Yt.type==="TSConditionalType")}function et(He){return He.type==="VariableDeclarator"&&He.init&&He.init.type==="ArrowFunctionExpression"}function Se(He){return gt(He)&&He.typeParameters&&He.typeParameters.params?He.typeParameters.params:null}function gt(He){return He.type==="TSTypeReference"||He.type==="GenericTypeAnnotation"}function Ue(He,ut,qt){let Yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,xn=He.getValue(),ct=()=>Ue(He,ut,qt,!0);if(xn.type==="TSNonNullExpression")return He.call(ct,"expression");if(oe(xn)){if(Q(He,ut,qt).label==="member-chain")return!1;let Ye=G(xn);return!(Ye.length===0||Ye.length===1&&dt(Ye[0],ut))||vt(xn,qt)?!1:He.call(ct,"callee")}return H(xn)?He.call(ct,"object"):Yt&&(xn.type==="Identifier"||xn.type==="ThisExpression")}var Pe=.25;function dt(He,ut){let{printWidth:qt}=ut;if(me(He))return!1;let Yt=qt*Pe;if(He.type==="ThisExpression"||He.type==="Identifier"&&He.name.length<=Yt||de(He)&&!me(He.argument))return!0;let xn=He.type==="Literal"&&"regex"in He&&He.regex.pattern||He.type==="RegExpLiteral"&&He.pattern;return xn?xn.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 Ut(He,ut,qt){if(!ze(He))return!1;ut=A(ut);let Yt=3;return typeof ut=="string"&&f(ut)<qt.tabWidth+Yt}function vt(He,ut){let qt=Zt(He);if(l(qt)){if(qt.length>1)return!0;if(qt.length===1){let xn=qt[0];if(xn.type==="TSUnionType"||xn.type==="UnionTypeAnnotation"||xn.type==="TSIntersectionType"||xn.type==="IntersectionTypeAnnotation"||xn.type==="TSTypeLiteral"||xn.type==="ObjectTypeAnnotation")return!0}let Yt=He.typeParameters?"typeParameters":"typeArguments";if(B(ut(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:et}}}),vu=Be({"src/language-js/print/function-parameters.js"(r,a){it();var{getNextNonSpaceNonCommentCharacter:l}=Pi(),{printDanglingComments:f}=si(),{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:de}=ls(),{locEnd:ze}=Ts(),{ArgExpansionBailout:O}=Ci(),{printFunctionTypeParameters:Q}=ia();function I(z,ie,K,ee,Ae){let je=z.getValue(),$e=L(je),Le=Ae?Q(z,K,ie):"";if($e.length===0)return[Le,"(",f(z,K,!0,dt=>l(K.originalText,dt,ze)===")"),")"];let et=z.getParentNode(),Se=R(et),gt=U(je),Ue=[];if(P(z,(dt,Ut)=>{let vt=Ut===$e.length-1;vt&&je.rest&&Ue.push("..."),Ue.push(ie()),!vt&&(Ue.push(","),Se||gt?Ue.push(" "):de($e[Ut],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(dt=>!dt.decorators);return gt&&Pe?[Le,"(",...Ue,")"]:Se?[Le,"(",...Ue,")"]:(H(et)||J(et)||et.type==="TypeAlias"||et.type==="UnionTypeAnnotation"||et.type==="TSUnionType"||et.type==="IntersectionTypeAnnotation"||et.type==="FunctionTypeAnnotation"&&et.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 ie=L(z);if(ie.length!==1)return!1;let[K]=ie;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 ie;return z.returnType?(ie=z.returnType,ie.typeAnnotation&&(ie=ie.typeAnnotation)):z.typeAnnotation&&(ie=z.typeAnnotation),ie}function M(z,ie){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 Ae=ee[0];if(Ae.constraint||Ae.default)return!1}}return L(z).length===1&&(oe(K)||N(ie))}a.exports={printFunctionParameters:I,shouldHugFunctionParameters:U,shouldGroupFunctionParameters:M}}}),Za=Be({"src/language-js/print/type-annotation.js"(r,a){it();var{printComments:l,printDanglingComments:f}=si(),{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:de}=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,Ae=K.types.some(je=>je.type==="ObjectTypeAnnotation"||je.type==="TSTypeLiteral"||je.type==="GenericTypeAnnotation"||je.type==="TSTypeReference");if(K.types.length-1===ee&&Ae)return!0}return!1}function O(K,ee,Ae){let je=ee.semi?";":"",$e=K.getValue(),Le=[];return Le.push("opaque type ",Ae("id"),Ae("typeParameters")),$e.supertype&&Le.push(": ",Ae("supertype")),$e.impltype&&Le.push(" = ",Ae("impltype")),Le.push(je),Le}function Q(K,ee,Ae){let je=ee.semi?";":"",$e=K.getValue(),Le=[];$e.declare&&Le.push("declare "),Le.push("type ",Ae("id"),Ae("typeParameters"));let et=$e.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[G(K,ee,Ae,Le," =",et),je]}function I(K,ee,Ae){let je=K.getValue(),$e=K.map(Ae,"types"),Le=[],et=!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([" & ",et?A($e[Se]):$e[Se]]):!R(je.types[Se-1])&&!R(je.types[Se])?Le.push(A([" &",v,$e[Se]])):(Se>1&&(et=!0),Le.push(" & ",Se>1?A($e[Se]):$e[Se]));return d(Le)}function U(K,ee,Ae){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)),et=ze(je),Se=K.map(Pe=>{let dt=Ae();return et||(dt=B(2,dt)),l(Pe,dt,ee)},"types");if(et)return y(" | ",Se);let gt=Le&&!J(ee.originalText,je),Ue=[N([gt?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,Ae){let je=K.getValue(),$e=[],Le=K.getParentNode(0),et=K.getParentNode(1),Se=K.getParentNode(2),gt=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=gt&&(Le.type==="TypeAnnotation"||Le.type==="TSTypeAnnotation"),Pe=Ue&&gt&&(Le.type==="TypeAnnotation"||Le.type==="TSTypeAnnotation")&&et.type==="ArrowFunctionExpression";oe(Le)&&(gt=!0,Ue=!0),Pe&&$e.push("(");let dt=ne(K,Ae,ee,!1,!0),Ut=je.returnType||je.predicate||je.typeAnnotation?[gt?" => ":": ",Ae("returnType"),Ae("predicate"),Ae("typeAnnotation")]:"",vt=me(je,Ut);return $e.push(vt?d(dt):dt),Ut&&$e.push(Ut),Pe&&$e.push(")"),d($e)}function M(K,ee,Ae){let je=K.getValue(),$e=je.type==="TSTupleType"?"elementTypes":"types",Le=je[$e],et=m(Le),Se=et?C:"";return d(["[",A([Se,de(K,ee,$e,Ae)]),N(et&&H(ee,"all")?",":""),f(K,ee,!0),Se,"]"])}function z(K,ee,Ae){let je=K.getValue(),$e=je.type==="OptionalIndexedAccessType"&&je.optional?"?.[":"[";return[Ae("objectType"),$e,Ae("indexType"),"]"]}function ie(K,ee,Ae){let je=K.getValue();return[je.postfix?"":Ae,ee("typeAnnotation"),je.postfix?Ae:""]}a.exports={printOpaqueType:O,printTypeAlias:Q,printIntersectionType:I,printUnionType:U,printFunctionType:T,printTupleType:M,printIndexedAccessType:z,shouldHugType:ze,printJSDocType:ie}}}),ja=Be({"src/language-js/print/type-parameters.js"(r,a){it();var{printDanglingComments:l}=si(),{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)),de(O,Q),">"];let ie=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))]),ie,y,">"],{id:ne(T)})}function de(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){it();var{printComments:l}=si(),{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){it();var l=ii(),{printDanglingComments:f,printCommentsSeparately:m}=si(),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:de,shouldPrintComma:ze,startsWithNoLookaheadToken:O,isBinaryish:Q,isLineComment:I,hasComment:U,getComments:T,CommentCheckFlags:M,isCallLikeExpression:z,isCallExpression:ie,getCallArguments:K,hasNakedLeftSide:ee,getLeftSide:Ae}=ls(),{locEnd:je}=Ts(),{printFunctionParameters:$e,shouldGroupFunctionParameters:Le}=vu(),{printPropertyKey:et}=Ru(),{printFunctionTypeParameters:Se}=ia();function gt(Ye,yt,Lt,ar){let Mr=Ye.getValue(),Yr=!1;if((Mr.type==="FunctionDeclaration"||Mr.type==="FunctionExpression")&&ar&&ar.expandLastArg){let qr=Ye.getParentNode();ie(qr)&&K(qr).length>1&&(Yr=!0)}let Zn=[];Mr.type==="TSDeclareFunction"&&Mr.declare&&Zn.push("declare "),Mr.async&&Zn.push("async "),Mr.generator?Zn.push("function* "):Zn.push("function "),Mr.id&&Zn.push(yt("id"));let zi=$e(Ye,yt,Lt,Yr),er=ut(Ye,yt,Lt),Kt=Le(Mr,er);return Zn.push(Se(Ye,Lt,yt),A([Kt?A(zi):zi,er]),Mr.body?" ":"",yt("body")),Lt.semi&&(Mr.declare||!Mr.body)&&Zn.push(";"),Zn}function Ue(Ye,yt,Lt){let ar=Ye.getNode(),{kind:Mr}=ar,Yr=ar.value||ar,Zn=[];return!Mr||Mr==="init"||Mr==="method"||Mr==="constructor"?Yr.async&&Zn.push("async "):(l.ok(Mr==="get"||Mr==="set"),Zn.push(Mr," ")),Yr.generator&&Zn.push("*"),Zn.push(et(Ye,yt,Lt),ar.optional||ar.key.optional?"?":""),ar===Yr?Zn.push(Pe(Ye,yt,Lt)):Yr.type==="FunctionExpression"?Zn.push(Ye.call(zi=>Pe(zi,yt,Lt),"value")):Zn.push(Lt("value")),Zn}function Pe(Ye,yt,Lt){let ar=Ye.getNode(),Mr=$e(Ye,Lt,yt),Yr=ut(Ye,Lt,yt),Zn=Le(ar,Yr),zi=[Se(Ye,yt,Lt),A([Zn?A(Mr):Mr,Yr])];return ar.body?zi.push(" ",Lt("body")):zi.push(yt.semi?";":""),zi}function dt(Ye,yt,Lt,ar){let Mr=Ye.getValue(),Yr=[];if(Mr.async&&Yr.push("async "),He(Ye,yt))Yr.push(Lt(["params",0]));else{let zi=ar&&(ar.expandLastArg||ar.expandFirstArg),er=ut(Ye,Lt,yt);if(zi){if(J(er))throw new oe;er=A(R(er))}Yr.push(A([$e(Ye,Lt,yt,zi,!0),er]))}let Zn=f(Ye,yt,!0,zi=>{let er=y(yt.originalText,zi,je);return er!==!1&&yt.originalText.slice(er,er+2)==="=>"});return Zn&&Yr.push(" ",Zn),Yr}function Ut(Ye,yt,Lt,ar,Mr,Yr){let Zn=Ye.getName(),zi=Ye.getParentNode(),er=z(zi)&&Zn==="callee",Kt=Boolean(yt&&yt.assignmentLayout),qr=Yr.body.type!=="BlockStatement"&&Yr.body.type!=="ObjectExpression"&&Yr.body.type!=="SequenceExpression",tr=er&&qr||yt&&yt.assignmentLayout==="chain-tail-arrow-chain",Ke=Symbol("arrow-chain");return Yr.body.type==="SequenceExpression"&&(Mr=A(["(",B([C,Mr]),C,")"])),A([A(B([er||Kt?C:"",A(P([" =>",v],Lt),{shouldBreak:ar})]),{id:Ke,shouldBreak:tr})," =>",_(qr?B([v,Mr]):[" ",Mr],{groupId:Ke}),er?N(C,"",{groupId:Ke}):""])}function vt(Ye,yt,Lt,ar){let Mr=Ye.getValue(),Yr=[],Zn=[],zi=!1;if(function Ke(){let Cr=dt(Ye,yt,Lt,ar);if(Yr.length===0)Yr.push(Cr);else{let{leading:lr,trailing:_r}=m(Ye,yt);Yr.push([lr,Cr]),Zn.unshift(_r)}zi=zi||Mr.returnType&&H(Mr).length>0||Mr.typeParameters||H(Mr).some(lr=>lr.type!=="Identifier"),Mr.body.type!=="ArrowFunctionExpression"||ar&&ar.expandLastArg?Zn.unshift(Lt("body",ar)):(Mr=Mr.body,Ye.call(Ke,"body"))}(),Yr.length>1)return Ut(Ye,ar,Yr,zi,Zn,Mr);let er=Yr;if(er.push(" =>"),!G(yt.originalText,Mr.body)&&(Mr.body.type==="ArrayExpression"||Mr.body.type==="ObjectExpression"||Mr.body.type==="BlockStatement"||me(Mr.body)||de(Mr.body,yt.originalText)||Mr.body.type==="ArrowFunctionExpression"||Mr.body.type==="DoExpression"))return A([...er," ",Zn]);if(Mr.body.type==="SequenceExpression")return A([...er,A([" (",B([C,Zn]),C,")"])]);let Kt=(ar&&ar.expandLastArg||Ye.getParentNode().type==="JSXExpressionContainer")&&!U(Mr),qr=ar&&ar.expandLastArg&&ze(yt,"all"),tr=Mr.body.type==="ConditionalExpression"&&!O(Mr.body,!1);return A([...er,A([B([v,tr?N("","("):"",Zn,tr?N("",")"):""]),Kt?[N(qr?",":""),C]:""])])}function Zt(Ye){let yt=H(Ye);return yt.length===1&&!Ye.typeParameters&&!U(Ye,M.Dangling)&&yt[0].type==="Identifier"&&!yt[0].typeAnnotation&&!U(yt[0])&&!yt[0].optional&&!Ye.predicate&&!Ye.returnType}function He(Ye,yt){if(yt.arrowParens==="always")return!1;if(yt.arrowParens==="avoid"){let Lt=Ye.getValue();return Zt(Lt)}return!1}function ut(Ye,yt,Lt){let ar=Ye.getValue(),Mr=yt("returnType");if(ar.returnType&&ne(Lt.originalText,ar.returnType))return[" /*: ",Mr," */"];let Yr=[Mr];return ar.returnType&&ar.returnType.typeAnnotation&&Yr.unshift(": "),ar.predicate&&Yr.push(ar.returnType?" ":": ",yt("predicate")),Yr}function qt(Ye,yt,Lt){let ar=Ye.getValue(),Mr=yt.semi?";":"",Yr=[];ar.argument&&(ct(yt,ar.argument)?Yr.push([" (",B([L,Lt("argument")]),L,")"]):Q(ar.argument)||ar.argument.type==="SequenceExpression"?Yr.push(A([N(" ("," "),B([C,Lt("argument")]),C,N(")")])):Yr.push(" ",Lt("argument")));let Zn=T(ar),zi=d(Zn),er=zi&&I(zi);return er&&Yr.push(Mr),U(ar,M.Dangling)&&Yr.push(" ",f(Ye,yt,!0)),er||Yr.push(Mr),Yr}function Yt(Ye,yt,Lt){return["return",qt(Ye,yt,Lt)]}function xn(Ye,yt,Lt){return["throw",qt(Ye,yt,Lt)]}function ct(Ye,yt){if(G(Ye.originalText,yt))return!0;if(ee(yt)){let Lt=yt,ar;for(;ar=Ae(Lt);)if(Lt=ar,G(Ye.originalText,Lt))return!0}return!1}a.exports={printFunction:gt,printArrowFunction:vt,printMethod:Ue,printReturnStatement:Yt,printThrowStatement:xn,printMethodInternal:Pe,shouldPrintParamsWithoutParens:He}}}),$u=Be({"src/language-js/print/decorators.js"(r,a){it();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 de=ne.type==="ClassExpression"||ne.type==="ClassDeclaration"||R(ne,H);return[N(oe)?d:de?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){it();var{isNonEmptyArray:l,createGroupIdMapper:f}=Pi(),{printComments:m,printDanglingComments:d}=si(),{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:de}=$u();function ze(K,ee,Ae){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),et=[],Se=[];if(je.id&&et.push(" ",Ae("id")),et.push(Ae("typeParameters")),je.superClass){let gt=[M(K,ee,Ae),Ae("superTypeParameters")],Ue=K.call(Pe=>["extends ",m(Pe,gt,ee)],"superClass");Le?Se.push(v,B(Ue)):Se.push(" ",Ue)}else Se.push(T(K,ee,Ae,"extends"));if(Se.push(T(K,ee,Ae,"mixins"),T(K,ee,Ae,"implements")),Le){let gt;U(je)?gt=[...et,N(Se)]:gt=N([...et,Se]),$e.push(B(gt,{id:O(je)}))}else $e.push(...et,...Se);return $e.push(" ",Ae("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,Ae,je){let $e=K.getValue();if(!l($e[je]))return"";let Le=d(K,ee,!0,et=>{let{marker:Se}=et;return Se===je});return[U($e)?L(" ",v,{groupId:R($e.typeParameters)}):v,Le,Le&&C,je,B(N([v,y([",",v],K.map(Ae,je))]))]}function M(K,ee,Ae){let je=Ae("superClass");return K.getParentNode().type==="AssignmentExpression"?B(L(["(",N([A,je]),A,")"],je)):je}function z(K,ee,Ae){let je=K.getValue(),$e=[];return l(je.decorators)&&$e.push(de(K,ee,Ae)),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,Ae)),$e}function ie(K,ee,Ae){let je=K.getValue(),$e=[],Le=ee.semi?";":"";return l(je.decorators)&&$e.push(de(K,ee,Ae)),je.accessibility&&$e.push(je.accessibility+" "),je.declare&&$e.push("declare "),je.static&&$e.push("static "),(je.type==="TSAbstractPropertyDefinition"||je.abstract)&&$e.push("abstract "),je.override&&$e.push("override "),je.readonly&&$e.push("readonly "),je.variance&&$e.push(Ae("variance")),je.type==="ClassAccessorProperty"&&$e.push("accessor "),$e.push(ne(K,ee,Ae),oe(K),G(K),H(K,ee,Ae)),[me(K,ee,Ae,$e," =","value"),Le]}a.exports={printClass:ze,printClassMethod:z,printClassProperty:ie,printHardlineAfterHeritage:Q}}}),Hl=Be({"src/language-js/print/interface.js"(r,a){it();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){it();var{isNonEmptyArray:l}=Pi(),{builders:{softline:f,group:m,indent:d,join:y,line:v,ifBreak:C,hardline:A}}=xi(),{printDanglingComments:B}=si(),{hasComment:N,CommentCheckFlags:L,shouldPrintComma:P,needsHardlineAfterDanglingComment:_,isStringLiteral:R,rawText:J}=ls(),{locStart:oe,hasSameLoc:H}=Ts(),{hasDecoratorsBeforeExport:G,printDecoratorsBeforeExport:ne}=$u();function me(ie,K,ee){let Ae=ie.getValue(),je=K.semi?";":"",$e=[],{importKind:Le}=Ae;return $e.push("import"),Le&&Le!=="value"&&$e.push(" ",Le),$e.push(I(ie,K,ee),Q(ie,K,ee),T(ie,K,ee),je),$e}function de(ie,K,ee){let Ae=ie.getValue(),je=[];G(Ae)&&je.push(ne(ie,K,ee));let{type:$e,exportKind:Le,declaration:et}=Ae;return je.push("export"),(Ae.default||$e==="ExportDefaultDeclaration")&&je.push(" default"),N(Ae,L.Dangling)&&(je.push(" ",B(ie,K,!0)),_(Ae)&&je.push(A)),et?je.push(" ",ee("declaration")):je.push(Le==="type"?" type":"",I(ie,K,ee),Q(ie,K,ee),T(ie,K,ee)),O(Ae,K)&&je.push(";"),je}function ze(ie,K,ee){let Ae=ie.getValue(),je=K.semi?";":"",$e=[],{exportKind:Le,exported:et}=Ae;return $e.push("export"),Le==="type"&&$e.push(" type"),$e.push(" *"),et&&$e.push(" as ",ee("exported")),$e.push(Q(ie,K,ee),T(ie,K,ee),je),$e}function O(ie,K){if(!K.semi)return!1;let{type:ee,declaration:Ae}=ie,je=ie.default||ee==="ExportDefaultDeclaration";if(!Ae)return!0;let{type:$e}=Ae;return!!(je&&$e!=="ClassDeclaration"&&$e!=="FunctionDeclaration"&&$e!=="TSInterfaceDeclaration"&&$e!=="DeclareClass"&&$e!=="DeclareFunction"&&$e!=="TSDeclareFunction"&&$e!=="EnumDeclaration")}function Q(ie,K,ee){let Ae=ie.getValue();if(!Ae.source)return"";let je=[];return U(Ae,K)||je.push(" from"),je.push(" ",ee("source")),je}function I(ie,K,ee){let Ae=ie.getValue();if(U(Ae,K))return"";let je=[" "];if(l(Ae.specifiers)){let $e=[],Le=[];ie.each(()=>{let et=ie.getValue().type;if(et==="ExportNamespaceSpecifier"||et==="ExportDefaultSpecifier"||et==="ImportNamespaceSpecifier"||et==="ImportDefaultSpecifier")$e.push(ee());else if(et==="ExportSpecifier"||et==="ImportSpecifier")Le.push(ee());else throw new Error(`Unknown specifier type ${JSON.stringify(et)}`)},"specifiers"),je.push(y(", ",$e)),Le.length>0&&($e.length>0&&je.push(", "),Le.length>1||$e.length>0||Ae.specifiers.some(et=>N(et))?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(ie,K){let{type:ee,importKind:Ae,source:je,specifiers:$e}=ie;return ee!=="ImportDeclaration"||l($e)||Ae==="type"?!1:!/{\s*}/.test(K.originalText.slice(oe(ie),oe(je)))}function T(ie,K,ee){let Ae=ie.getNode();return l(Ae.assertions)?[" assert {",K.bracketSpacing?" ":"",y(", ",ie.map(ee,"assertions")),K.bracketSpacing?" ":"","}"]:""}function M(ie,K,ee){let Ae=ie.getNode(),{type:je}=Ae,$e=[],Le=je==="ImportSpecifier"?Ae.importKind:Ae.exportKind;Le&&Le!=="value"&&$e.push(Le," ");let et=je.startsWith("Import"),Se=et?"imported":"local",gt=et?"local":"exported",Ue=Ae[Se],Pe=Ae[gt],dt="",Ut="";return je==="ExportNamespaceSpecifier"||je==="ImportNamespaceSpecifier"?dt="*":Ue&&(dt=ee(Se)),Pe&&!z(Ae)&&(Ut=ee(gt)),$e.push(dt,dt&&Ut?" as ":"",Ut),$e}function z(ie){if(ie.type!=="ImportSpecifier"&&ie.type!=="ExportSpecifier")return!1;let{local:K,[ie.type==="ImportSpecifier"?"imported":"exported"]:ee}=ie;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:de,printExportAllDeclaration:ze,printModuleSpecifier:M}}}),Xs=Be({"src/language-js/print/object.js"(r,a){it();var{printDanglingComments:l}=si(),{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:de}=vu(),{shouldHugType:ze}=Za(),{printHardlineAfterHeritage:O}=xu();function Q(I,U,T){let M=U.semi?";":"",z=I.getValue(),ie;z.type==="TSTypeLiteral"?ie="members":z.type==="TSInterfaceBody"?ie="body":ie="properties";let K=z.type==="ObjectTypeAnnotation",ee=[ie];K&&ee.push("indexers","callProperties","internalSlots");let Ae=ee.map(He=>z[He][0]).sort((He,ut)=>H(He)-H(ut))[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"&&Ae&&B(U.originalText,H(z),H(Ae)),et=$e?";":z.type==="TSInterfaceBody"||z.type==="TSTypeLiteral"?v(M,";"):",",Se=z.type==="RecordExpression"?"#{":z.exact?"{|":"{",gt=z.exact?"|}":"}",Ue=[];for(let He of ee)I.each(ut=>{let qt=ut.getValue();Ue.push({node:qt,printed:T(),loc:H(qt)})},He);ee.length>1&&Ue.sort((He,ut)=>He.loc-ut.loc);let Pe=[],dt=Ue.map(He=>{let ut=[...Pe,d(He.printed)];return Pe=[et,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),ut});if(z.inexact){let He;if(_(z,J.Dangling)){let ut=_(z,J.Line);He=[l(I,U,!0),ut||N(U.originalText,G(A(R(z))))?C:f,"..."]}else He=["..."];dt.push([...Pe,...He])}let Ut=A(z[ie]),vt=!(z.inexact||Ut&&Ut.type==="RestElement"||Ut&&(Ut.type==="TSPropertySignature"||Ut.type==="TSCallSignatureDeclaration"||Ut.type==="TSMethodSignature"||Ut.type==="TSConstructSignatureDeclaration")&&_(Ut,J.PrettierIgnore)),Zt;if(dt.length===0){if(!_(z,J.Dangling))return[Se,gt,me(I,U,T)];Zt=d([Se,l(I,U),m,gt,ne(I),me(I,U,T)])}else Zt=[$e&&L(z.properties)?O(je):"",Se,y([U.bracketSpacing?f:m,...dt]),v(vt&&(et!==","||P(U))?et:""),U.bracketSpacing?f:m,gt,ne(I),me(I,U,T)];return I.match(He=>He.type==="ObjectPattern"&&!He.decorators,(He,ut,qt)=>de(He)&&(ut==="params"||ut==="parameters"||ut==="this"||ut==="rest")&&qt===0)||I.match(ze,(He,ut)=>ut==="typeAnnotation",(He,ut)=>ut==="typeAnnotation",(He,ut,qt)=>de(He)&&(ut==="params"||ut==="parameters"||ut==="this"||ut==="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){it();var l=ii(),{printDanglingComments:f}=si(),{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:de,printFunctionType:ze,printTupleType:O,printIndexedAccessType:Q}=Za(),{printInterface:I}=Hl(),{printTypeParameter:U,printTypeParameters:T}=ja(),{printExportDeclaration:M,printExportAllDeclaration:z}=Cu(),{printArrayItems:ie}=Ma(),{printObject:K}=Xs(),{printPropertyKey:ee}=Ru(),{printOptionalToken:Ae,printTypeAnnotation:je,printRestSpread:$e}=ia();function Le(Se,gt,Ue){let Pe=Se.getValue(),dt=gt.semi?";":"",Ut=[];switch(Pe.type){case"DeclareClass":return et(Se,H(Se,gt,Ue));case"DeclareFunction":return et(Se,["function ",Ue("id"),Pe.predicate?" ":"",Ue("predicate"),dt]);case"DeclareModule":return et(Se,["module ",Ue("id")," ",Ue("body")]);case"DeclareModuleExports":return et(Se,["module.exports",": ",Ue("typeAnnotation"),dt]);case"DeclareVariable":return et(Se,["var ",Ue("id"),dt]);case"DeclareOpaqueType":return et(Se,G(Se,gt,Ue));case"DeclareInterface":return et(Se,I(Se,gt,Ue));case"DeclareTypeAlias":return et(Se,ne(Se,gt,Ue));case"DeclareExportDeclaration":return et(Se,M(Se,gt,Ue));case"DeclareExportAllDeclaration":return et(Se,z(Se,gt,Ue));case"OpaqueType":return G(Se,gt,Ue);case"TypeAlias":return ne(Se,gt,Ue);case"IntersectionTypeAnnotation":return me(Se,gt,Ue);case"UnionTypeAnnotation":return de(Se,gt,Ue);case"FunctionTypeAnnotation":return ze(Se,gt,Ue);case"TupleTypeAnnotation":return O(Se,gt,Ue);case"GenericTypeAnnotation":return[Ue("id"),T(Se,gt,Ue,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Q(Se,gt,Ue);case"TypeAnnotation":return Ue("typeAnnotation");case"TypeParameter":return U(Se,gt,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 vt=null;switch(Pe.type){case"EnumBooleanBody":vt="boolean";break;case"EnumNumberBody":vt="number";break;case"EnumStringBody":vt="string";break;case"EnumSymbolBody":vt="symbol";break}Ut.push("of ",vt," ")}if(Pe.members.length===0&&!Pe.hasUnknownMembers)Ut.push(C(["{",f(Se,gt),v,"}"]));else{let vt=Pe.members.length>0?[y,ie(Se,gt,"members",Ue),Pe.hasUnknownMembers||_(gt)?",":""]:[];Ut.push(C(["{",A([...vt,...Pe.hasUnknownMembers?[y,"..."]:[]]),f(Se,gt,!0),y,"}"]))}return Ut}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 vt=Pe.name?Ue("name"):Se.getParentNode().this===Pe?"this":"";return[vt,Ae(Se),vt?": ":"",Ue("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return I(Se,gt,Ue);case"ClassImplements":case"InterfaceExtends":return[Ue("id"),Ue("typeParameters")];case"NullableTypeAnnotation":return["?",Ue("typeAnnotation")];case"Variance":{let{kind:vt}=Pe;return l.ok(vt==="plus"||vt==="minus"),vt==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Pe.static&&Ut.push("static "),Ut.push(Ue("value")),Ut;case"ObjectTypeIndexer":return[Pe.static?"static ":"",Pe.variance?Ue("variance"):"","[",Ue("id"),Pe.id?": ":"",Ue("key"),"]: ",Ue("value")];case"ObjectTypeProperty":{let vt="";return Pe.proto?vt="proto ":Pe.static&&(vt="static "),[vt,L(Pe)?Pe.kind+" ":"",Pe.variance?Ue("variance"):"",ee(Se,gt,Ue),Ae(Se),N(Pe)?"":": ",Ue("value")]}case"ObjectTypeAnnotation":return K(Se,gt,Ue);case"ObjectTypeInternalSlot":return[Pe.static?"static ":"","[[",Ue("id"),"]]",Ae(Se),Pe.method?"":": ",Ue("value")];case"ObjectTypeSpreadProperty":return $e(Se,gt,Ue);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[Ue("qualification"),".",Ue("id")];case"StringLiteralTypeAnnotation":return oe(m(P(Pe),gt));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,gt,Ue),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let vt=T(Se,gt,Ue,"params");if(gt.parser==="flow"){let Zt=R(Pe),He=J(Pe),ut=gt.originalText.lastIndexOf("/*",Zt),qt=gt.originalText.indexOf("*/",He);if(ut!==-1&&qt!==-1){let Yt=gt.originalText.slice(ut+2,qt).trim();if(Yt.startsWith("::")&&!Yt.includes("/*")&&!Yt.includes("*/"))return["/*:: ",vt," */"]}}return vt}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 et(Se,gt){let Ue=B(Se);return Ue?(l.strictEqual(Ue.type,"DeclareExportDeclaration"),gt):["declare ",gt]}a.exports={printFlow:Le}}}),oa=Be({"src/language-js/utils/is-ts-keyword-type.js"(r,a){it();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){it();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(),ie=T?I("test"):[I("checkType")," ","extends"," ",I("extendsType")];return z.type===U.type&&z[M]===U?R(2,ie):ie}var me=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function de(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",ie=T?["test"]:["checkType","extendsType"],K=U[M],ee=U[z],Ae=[],je=!1,$e=O.getParentNode(),Le=$e.type===U.type&&ie.some(qt=>$e[qt]===U),et=$e.type===U.type&&!Le,Se,gt,Ue=0;do gt=Se||U,Se=O.getParentNode(Ue),Ue++;while(Se&&Se.type===U.type&&ie.every(qt=>Se[qt]!==gt));let Pe=Se||$e,dt=gt;if(T&&(f(U[ie[0]])||f(K)||f(ee)||G(dt))){je=!0,et=!0;let qt=xn=>[J("("),_([L,xn]),L,J(")")],Yt=xn=>xn.type==="NullLiteral"||xn.type==="Literal"&&xn.value===null||xn.type==="Identifier"&&xn.name==="undefined";Ae.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))];Ae.push($e.type!==U.type||$e[z]===U||Le?qt:Q.useTabs?oe(_(qt)):R(Math.max(0,Q.tabWidth-2),qt))}let Ut=[...ie.map(qt=>m(U[qt])),m(K),m(ee)].flat().some(qt=>B(qt)&&l(Q.originalText,C(qt),A(qt))),vt=qt=>$e===Pe?P(qt,{shouldBreak:Ut}):Ut?[qt,H]:qt,Zt=!je&&(y($e)||$e.type==="NGPipeExpression"&&$e.left===U)&&!$e.computed,He=de(O),ut=vt([ne(O,Q,I),et?Ae:_(Ae),T&&Zt&&!He?L:""]);return Le||He?P([_([L,ut]),L]):ut}a.exports={printTernary:ze}}}),Eo=Be({"src/language-js/print/statement.js"(r,a){it();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,de,ze){let O=ne.getValue(),Q=[],I=O.type==="ClassBody",U=P(O[ze]);return ne.each((T,M,z)=>{let ie=T.getValue();if(ie.type==="EmptyStatement")return;let K=de();!me.semi&&!I&&!v(me,T)&&_(T,me)?C(ie,A.Leading)?Q.push(de([],{needsSemi:!0})):Q.push(";",K):Q.push(K),!me.semi&&I&&H(ie)&&G(ie,z[M+1])&&Q.push(";"),ie!==U&&(Q.push(l),B(ie,me)&&Q.push(l))},ze),Q}function P(ne){for(let me=ne.length-1;me>=0;me--){let de=ne[me];if(de.type!=="EmptyStatement")return de}}function _(ne,me){return ne.getNode().type!=="ExpressionStatement"?!1:ne.call(de=>R(de,me),"expression")}function R(ne,me){let de=ne.getValue();switch(de.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}=de;if(ze&&(O==="+"||O==="-"))return!0;break}case"BindExpression":{if(!de.object)return!0;break}case"Literal":{if(de.regex)return!0;break}default:if(y(de))return!0}return f(ne,me)?!0:d(de)?ne.call(ze=>R(ze,me),...m(ne,de)):!1}function J(ne,me,de){return L(ne,me,de,"body")}function oe(ne,me,de){return L(ne,me,de,"consequent")}var H=ne=>{let{type:me}=ne;return me==="ClassProperty"||me==="PropertyDefinition"||me==="ClassPrivateProperty"||me==="ClassAccessorProperty"};function G(ne,me){let de=ne.key&&ne.key.name;if((de==="static"||de==="get"||de==="set")&&!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){it();var{printDanglingComments:l}=si(),{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,de,ze)=>{ne.push(R()),(de<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){it();var{printDanglingComments:l}=si(),{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:de}=$s(),{printFunctionParameters:ze,shouldGroupFunctionParameters:O}=vu(),{printTemplateLiteral:Q}=uo(),{printArrayItems:I}=Ma(),{printObject:U}=Xs(),{printClassProperty:T,printClassMethod:M}=xu(),{printTypeParameter:z,printTypeParameters:ie}=ja(),{printPropertyKey:K}=Ru(),{printFunction:ee,printMethodInternal:Ae}=nl(),{printInterface:je}=Hl(),{printBlock:$e}=il(),{printTypeAlias:Le,printIntersectionType:et,printUnionType:Se,printFunctionType:gt,printTupleType:Ue,printIndexedAccessType:Pe,printJSDocType:dt}=Za();function Ut(vt,Zt,He){let ut=vt.getValue();if(!ut.type.startsWith("TS"))return;if(oe(ut))return ut.type.slice(2,-7).toLowerCase();let qt=Zt.semi?";":"",Yt=[];switch(ut.type){case"TSThisType":return"this";case"TSTypeAssertion":{let xn=!(ut.expression.type==="ArrayExpression"||ut.expression.type==="ObjectExpression"),ct=C(["<",A([v,He("typeAnnotation")]),v,">"]),Ye=[N("("),A([v,He("expression")]),v,N(")")];return xn?B([[ct,He("expression")],[ct,C(Ye,{shouldBreak:!0})],[ct,He("expression")]]):C([ct,He("expression")])}case"TSDeclareFunction":return ee(vt,He,Zt);case"TSExportAssignment":return["export = ",He("expression"),qt];case"TSModuleBlock":return $e(vt,Zt,He);case"TSInterfaceBody":case"TSTypeLiteral":return U(vt,Zt,He);case"TSTypeAliasDeclaration":return Le(vt,Zt,He);case"TSQualifiedName":return m(".",[He("left"),He("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return M(vt,Zt,He);case"TSAbstractPropertyDefinition":return T(vt,Zt,He);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Yt.push(He("expression")),ut.typeParameters&&Yt.push(He("typeParameters")),Yt;case"TSTemplateLiteralType":return Q(vt,He,Zt);case"TSNamedTupleMember":return[He("label"),ut.optional?"?":"",": ",He("elementType")];case"TSRestType":return["...",He("typeAnnotation")];case"TSOptionalType":return[He("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return je(vt,Zt,He);case"TSClassImplements":return[He("expression"),He("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return ie(vt,Zt,He,"params");case"TSTypeParameter":return z(vt,Zt,He);case"TSSatisfiesExpression":case"TSAsExpression":{let xn=ut.type==="TSAsExpression"?"as":"satisfies";Yt.push(He("expression"),` ${xn} `,He("typeAnnotation"));let ct=vt.getParentNode();return R(ct)&&ct.callee===ut||J(ct)&&ct.object===ut?C([A([v,...Yt]),v]):Yt}case"TSArrayType":return[He("elementType"),"[]"];case"TSPropertySignature":return ut.readonly&&Yt.push("readonly "),Yt.push(K(vt,Zt,He),ne(vt)),ut.typeAnnotation&&Yt.push(": ",He("typeAnnotation")),ut.initializer&&Yt.push(" = ",He("initializer")),Yt;case"TSParameterProperty":return ut.accessibility&&Yt.push(ut.accessibility+" "),ut.export&&Yt.push("export "),ut.static&&Yt.push("static "),ut.override&&Yt.push("override "),ut.readonly&&Yt.push("readonly "),Yt.push(He("parameter")),Yt;case"TSTypeQuery":return["typeof ",He("exprName"),He("typeParameters")];case"TSIndexSignature":{let xn=vt.getParentNode(),ct=ut.parameters.length>1?N(_(Zt)?",":""):"",Ye=C([A([v,m([", ",v],vt.map(He,"parameters"))]),ct,v]);return[ut.export?"export ":"",ut.accessibility?[ut.accessibility," "]:"",ut.static?"static ":"",ut.readonly?"readonly ":"",ut.declare?"declare ":"","[",ut.parameters?Ye:"",ut.typeAnnotation?"]: ":"]",ut.typeAnnotation?He("typeAnnotation"):"",xn.type==="ClassBody"?qt:""]}case"TSTypePredicate":return[ut.asserts?"asserts ":"",He("parameterName"),ut.typeAnnotation?[" is ",He("typeAnnotation")]:""];case"TSNonNullExpression":return[He("expression"),"!"];case"TSImportType":return[ut.isTypeOf?"typeof ":"","import(",He(ut.parameter?"parameter":"argument"),")",ut.qualifier?[".",He("qualifier")]:"",ie(vt,Zt,He,"typeParameters")];case"TSLiteralType":return He("literal");case"TSIndexedAccessType":return Pe(vt,Zt,He);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(ut.type==="TSConstructorType"&&ut.abstract&&Yt.push("abstract "),ut.type!=="TSCallSignatureDeclaration"&&Yt.push("new "),Yt.push(C(ze(vt,He,Zt,!1,!0))),ut.returnType||ut.typeAnnotation){let xn=ut.type==="TSConstructorType";Yt.push(xn?" => ":": ",He("returnType"),He("typeAnnotation"))}return Yt}case"TSTypeOperator":return[ut.operator," ",He("typeAnnotation")];case"TSMappedType":{let xn=f(Zt.originalText,H(ut),G(ut));return C(["{",A([Zt.bracketSpacing?d:v,ut.readonly?[P(ut.readonly,"readonly")," "]:"",me(vt,Zt,He),He("typeParameter"),ut.optional?P(ut.optional,"?"):"",ut.typeAnnotation?": ":"",He("typeAnnotation"),N(qt)]),l(vt,Zt,!0),Zt.bracketSpacing?d:v,"}"],{shouldBreak:xn})}case"TSMethodSignature":{let xn=ut.kind&&ut.kind!=="method"?`${ut.kind} `:"";Yt.push(ut.accessibility?[ut.accessibility," "]:"",xn,ut.export?"export ":"",ut.static?"static ":"",ut.readonly?"readonly ":"",ut.abstract?"abstract ":"",ut.declare?"declare ":"",ut.computed?"[":"",He("key"),ut.computed?"]":"",ne(vt));let ct=ze(vt,He,Zt,!1,!0),Ye=ut.returnType?"returnType":"typeAnnotation",yt=ut[Ye],Lt=yt?He(Ye):"",ar=O(ut,Lt);return Yt.push(ar?C(ct):ct),yt&&Yt.push(": ",C(Lt)),C(Yt)}case"TSNamespaceExportDeclaration":return Yt.push("export as namespace ",He("id")),Zt.semi&&Yt.push(";"),C(Yt);case"TSEnumDeclaration":return ut.declare&&Yt.push("declare "),ut.modifiers&&Yt.push(me(vt,Zt,He)),ut.const&&Yt.push("const "),Yt.push("enum ",He("id")," "),ut.members.length===0?Yt.push(C(["{",l(vt,Zt),v,"}"])):Yt.push(C(["{",A([y,I(vt,Zt,"members",He),_(Zt,"es5")?",":""]),l(vt,Zt,!0),y,"}"])),Yt;case"TSEnumMember":return ut.computed?Yt.push("[",He("id"),"]"):Yt.push(He("id")),ut.initializer&&Yt.push(" = ",He("initializer")),Yt;case"TSImportEqualsDeclaration":return ut.isExport&&Yt.push("export "),Yt.push("import "),ut.importKind&&ut.importKind!=="value"&&Yt.push(ut.importKind," "),Yt.push(He("id")," = ",He("moduleReference")),Zt.semi&&Yt.push(";"),C(Yt);case"TSExternalModuleReference":return["require(",He("expression"),")"];case"TSModuleDeclaration":{let xn=vt.getParentNode(),ct=L(ut.id),Ye=xn.type==="TSModuleDeclaration",yt=ut.body&&ut.body.type==="TSModuleDeclaration";if(Ye)Yt.push(".");else{ut.declare&&Yt.push("declare "),Yt.push(me(vt,Zt,He));let Lt=Zt.originalText.slice(H(ut),H(ut.id));ut.id.type==="Identifier"&&ut.id.name==="global"&&!/namespace|module/.test(Lt)||Yt.push(ct||/(?:^|\s)module(?:\s|$)/.test(Lt)?"module ":"namespace ")}return Yt.push(He("id")),yt?Yt.push(He("body")):ut.body?Yt.push(" ",C(He("body"))):Yt.push(qt),Yt}case"TSConditionalType":return de(vt,Zt,He);case"TSInferType":return["infer"," ",He("typeParameter")];case"TSIntersectionType":return et(vt,Zt,He);case"TSUnionType":return Se(vt,Zt,He);case"TSFunctionType":return gt(vt,Zt,He);case"TSTupleType":return Ue(vt,Zt,He);case"TSTypeReference":return[He("typeName"),ie(vt,Zt,He,"typeParameters")];case"TSTypeAnnotation":return He("typeAnnotation");case"TSEmptyBodyFunctionExpression":return Ae(vt,Zt,He);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return dt(vt,He,"?");case"TSJSDocNonNullableType":return dt(vt,He,"!");case"TSInstantiationExpression":return[He("expression"),He("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(ut.type)}.`)}}a.exports={printTypescript:Ut}}}),ql=Be({"src/language-js/print/comment.js"(r,a){it();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){it();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}}}),Wl=Be({"src/language-js/printer-estree.js"(r,a){it();var{printDanglingComments:l}=si(),{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:de,needsHardlineAfterDanglingComment:ze,rawText:O,hasIgnoreComment:Q,isCallExpression:I,isMemberExpression:U,markerForIfWithoutBlockAndSameLineComment:T}=ls(),{locStart:M,locEnd:z}=Ts(),ie=_a(),{printHtmlBinding:K,isVueEventBindingExpression:ee}=rl(),{printAngular:Ae}=Cl(),{printJsx:je,hasJsxIgnoreComment:$e}=Qa(),{printFlow:Le}=sa(),{printTypescript:et}=sl(),{printOptionalToken:Se,printBindExpressionCallee:gt,printTypeAnnotation:Ue,adjustClause:Pe,printRestSpread:dt,printDefiniteToken:Ut}=ia(),{printImportDeclaration:vt,printExportDeclaration:Zt,printExportAllDeclaration:He,printModuleSpecifier:ut}=Cu(),{printTernary:qt}=$s(),{printTemplateLiteral:Yt}=uo(),{printArray:xn}=Ma(),{printObject:ct}=Xs(),{printClass:Ye,printClassMethod:yt,printClassProperty:Lt}=xu(),{printProperty:ar}=Ru(),{printFunction:Mr,printArrowFunction:Yr,printMethod:Zn,printReturnStatement:zi,printThrowStatement:er}=nl(),{printCallExpression:Kt}=bl(),{printVariableDeclarator:qr,printAssignmentExpression:tr}=Du(),{printBinaryishExpression:Ke}=po(),{printSwitchCaseConsequent:Cr}=Eo(),{printMemberExpression:lr}=Co(),{printBlock:_r,printBlockBody:Kn}=il(),{printComment:Fn}=ql(),{printLiteral:Pr}=ic(),{printDecorators:W}=$u();function at(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==="PropertyDefinition"||E==="TSAbstractPropertyDefinition"||E==="ClassPrivateProperty"||E==="MethodDefinition"||E==="TSAbstractMethodDefinition"||E==="TSDeclareMethod")return p;let k=[p],j=W(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[Pr,K,Ae,je,Le,et]){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 Kn(e,n,o);case"EmptyStatement":return"";case"ExpressionStatement":{if(p.directive)return[nn(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 tr(e,n,o);case"VariableDeclarator":return qr(e,n,o);case"BinaryExpression":case"LogicalExpression":return Ke(e,n,o);case"AssignmentPattern":return[o("left")," = ",o("right")];case"OptionalMemberExpression":case"MemberExpression":return lr(e,n,o);case"MetaProperty":return[o("meta"),".",o("property")];case"BindExpression":return p.object&&E.push(o("object")),E.push(C(A([v,gt(e,n,o)]))),E;case"Identifier":return[p.name,Se(e),Ut(e),Ue(e,n,o)];case"V8IntrinsicIdentifier":return["%",p.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return dt(e,n,o);case"FunctionDeclaration":case"FunctionExpression":return Mr(e,o,n,u);case"ArrowFunctionExpression":return Yr(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 vt(e,n,o);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return ut(e,n,o);case"ImportAttribute":return[o("key"),": ",o("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return _r(e,n,o);case"ThrowStatement":return er(e,n,o);case"ReturnStatement":return zi(e,n,o);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Kt(e,n,o);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ct(e,n,o);case"ObjectProperty":case"Property":return p.method||p.kind==="get"||p.kind==="set"?Zn(e,n,o):ar(e,n,o);case"ObjectMethod":return Zn(e,n,o);case"Decorator":return["@",o("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return xn(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 nn(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(Ee=>Ee.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(Ee=>[",",ke&&!$?y:d,Ee]))],$&&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,$=>!ie($)||$.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&&de(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=Cr(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 yt(e,n,o);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return Lt(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),de(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 nn(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 _i(e){return e.type&&!ie(e)&&!me(e)&&e.type!=="EmptyStatement"&&e.type!=="TemplateElement"&&e.type!=="Import"&&e.type!=="TSEmptyBodyFunctionExpression"}a.exports={preprocess:J,print:at,embed:N,insertPragma:P,massageAstNode:L,hasPrettierIgnore(e){return Q(e)||$e(e)},willPrintOwnComments:_.willPrintOwnComments,canAttachComment:_i,printComment:Fn,isBlockComment:ie,handleComments:{avoidAstMutation:!0,ownLine:_.handleOwnLineComment,endOfLine:_.handleEndOfLineComment,remaining:_.handleRemainingComment},getCommentChildNodes:_.getCommentChildNodes}}}),Al=Be({"src/language-js/printer-estree-json.js"(r,a){it();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){it();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){it();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"(){it()}}),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}}}),wl=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}}}),Vl=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){it();var l=Ka(),f=Wl(),m=Al(),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(wl(),()=>({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(Vl(),()=>({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){it();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){it();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){it();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}}),Tl=Be({"src/utils/front-matter/parse.js"(r,a){it();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){it();var l=Ko(),f=Tl();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}}}),Gl=Be({"src/language-css/utils/index.js"(r,a){it();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(ct,Ye){let yt=Array.isArray(Ye)?Ye:[Ye],Lt=-1,ar;for(;ar=ct.getParentNode(++Lt);)if(yt.includes(ar.type))return Lt;return-1}function m(ct,Ye){let yt=f(ct,Ye);return yt===-1?null:ct.getParentNode(yt)}function d(ct){var Ye;let yt=m(ct,"css-decl");return yt==null||(Ye=yt.prop)===null||Ye===void 0?void 0:Ye.toLowerCase()}var y=new Set(["initial","inherit","unset","revert"]);function v(ct){return y.has(ct.toLowerCase())}function C(ct,Ye){let yt=m(ct,"css-atrule");return(yt==null?void 0:yt.name)&&yt.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Ye.toLowerCase())}function A(ct){return ct.includes("$")||ct.includes("@")||ct.includes("#")||ct.startsWith("%")||ct.startsWith("--")||ct.startsWith(":--")||ct.includes("(")&&ct.includes(")")?ct:ct.toLowerCase()}function B(ct,Ye){var yt;let Lt=m(ct,"value-func");return(Lt==null||(yt=Lt.value)===null||yt===void 0?void 0:yt.toLowerCase())===Ye}function N(ct){var Ye;let yt=m(ct,"css-rule"),Lt=yt==null||(Ye=yt.raws)===null||Ye===void 0?void 0:Ye.selector;return Lt&&(Lt.startsWith(":import")||Lt.startsWith(":export"))}function L(ct,Ye){let yt=Array.isArray(Ye)?Ye:[Ye],Lt=m(ct,"css-atrule");return Lt&&yt.includes(Lt.name.toLowerCase())}function P(ct){let Ye=ct.getValue(),yt=m(ct,"css-atrule");return(yt==null?void 0:yt.name)==="import"&&Ye.groups[0].value==="url"&&Ye.groups.length===2}function _(ct){return ct.type==="value-func"&&ct.value.toLowerCase()==="url"}function R(ct,Ye){var yt;let Lt=(yt=ct.getParentNode())===null||yt===void 0?void 0:yt.nodes;return Lt&&Lt.indexOf(Ye)===Lt.length-1}function J(ct){let{selector:Ye}=ct;return Ye?typeof Ye=="string"&&/^@.+:.*$/.test(Ye)||Ye.value&&/^@.+:.*$/.test(Ye.value):!1}function oe(ct){return ct.type==="value-word"&&["from","through","end"].includes(ct.value)}function H(ct){return ct.type==="value-word"&&["and","or","not"].includes(ct.value)}function G(ct){return ct.type==="value-word"&&ct.value==="in"}function ne(ct){return ct.type==="value-operator"&&ct.value==="*"}function me(ct){return ct.type==="value-operator"&&ct.value==="/"}function de(ct){return ct.type==="value-operator"&&ct.value==="+"}function ze(ct){return ct.type==="value-operator"&&ct.value==="-"}function O(ct){return ct.type==="value-operator"&&ct.value==="%"}function Q(ct){return ne(ct)||me(ct)||de(ct)||ze(ct)||O(ct)}function I(ct){return ct.type==="value-word"&&["==","!="].includes(ct.value)}function U(ct){return ct.type==="value-word"&&["<",">","<=",">="].includes(ct.value)}function T(ct){return ct.type==="css-atrule"&&["if","else","for","each","while"].includes(ct.name)}function M(ct){var Ye;return((Ye=ct.raws)===null||Ye===void 0?void 0:Ye.params)&&/^\(\s*\)$/.test(ct.raws.params)}function z(ct){return ct.name.startsWith("prettier-placeholder")}function ie(ct){return ct.prop.startsWith("@prettier-placeholder")}function K(ct,Ye){return ct.value==="$$"&&ct.type==="value-func"&&(Ye==null?void 0:Ye.type)==="value-word"&&!Ye.raws.before}function ee(ct){var Ye,yt;return((Ye=ct.value)===null||Ye===void 0?void 0:Ye.type)==="value-root"&&((yt=ct.value.group)===null||yt===void 0?void 0:yt.type)==="value-value"&&ct.prop.toLowerCase()==="composes"}function Ae(ct){var Ye,yt,Lt;return((Ye=ct.value)===null||Ye===void 0||(yt=Ye.group)===null||yt===void 0||(Lt=yt.group)===null||Lt===void 0?void 0:Lt.type)==="value-paren_group"&&ct.value.group.group.open!==null&&ct.value.group.group.close!==null}function je(ct){var Ye;return((Ye=ct.raws)===null||Ye===void 0?void 0:Ye.before)===""}function $e(ct){var Ye,yt;return ct.type==="value-comma_group"&&((Ye=ct.groups)===null||Ye===void 0||(yt=Ye[1])===null||yt===void 0?void 0:yt.type)==="value-colon"}function Le(ct){var Ye;return ct.type==="value-paren_group"&&((Ye=ct.groups)===null||Ye===void 0?void 0:Ye[0])&&$e(ct.groups[0])}function et(ct){var Ye;let yt=ct.getValue();if(yt.groups.length===0)return!1;let Lt=ct.getParentNode(1);if(!Le(yt)&&!(Lt&&Le(Lt)))return!1;let ar=m(ct,"css-decl");return!!(ar!=null&&(Ye=ar.prop)!==null&&Ye!==void 0&&Ye.startsWith("$")||Le(Lt)||Lt.type==="value-func")}function Se(ct){return ct.type==="value-comment"&&ct.inline}function gt(ct){return ct.type==="value-word"&&ct.value==="#"}function Ue(ct){return ct.type==="value-word"&&ct.value==="{"}function Pe(ct){return ct.type==="value-word"&&ct.value==="}"}function dt(ct){return["value-word","value-atword"].includes(ct.type)}function Ut(ct){return(ct==null?void 0:ct.type)==="value-colon"}function vt(ct,Ye){if(!$e(Ye))return!1;let{groups:yt}=Ye,Lt=yt.indexOf(ct);return Lt===-1?!1:Ut(yt[Lt+1])}function Zt(ct){return ct.value&&["not","and","or"].includes(ct.value.toLowerCase())}function He(ct){return ct.type!=="value-func"?!1:l.has(ct.value.toLowerCase())}function ut(ct){return/\/\//.test(ct.split(/[\n\r]/).pop())}function qt(ct){return(ct==null?void 0:ct.type)==="value-atword"&&ct.value.startsWith("prettier-placeholder-")}function Yt(ct,Ye){var yt,Lt;if(((yt=ct.open)===null||yt===void 0?void 0:yt.value)!=="("||((Lt=ct.close)===null||Lt===void 0?void 0:Lt.value)!==")"||ct.groups.some(ar=>ar.type!=="value-comma_group"))return!1;if(Ye.type==="value-comma_group"){let ar=Ye.groups.indexOf(ct)-1,Mr=Ye.groups[ar];if((Mr==null?void 0:Mr.type)==="value-word"&&Mr.value==="with")return!0}return!1}function xn(ct){var Ye,yt;return ct.type==="value-paren_group"&&((Ye=ct.open)===null||Ye===void 0?void 0:Ye.value)==="("&&((yt=ct.close)===null||yt===void 0?void 0:yt.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:de,isSubtractionNode:ze,isModuloNode:O,isMathOperatorNode:Q,isEachKeywordNode:G,isForKeywordNode:oe,isURLFunctionNode:_,isIfElseKeywordNode:H,hasComposesNode:ee,hasParensAroundNode:Ae,hasEmptyRawBefore:je,isDetachedRulesetCallNode:M,isTemplatePlaceholderNode:z,isTemplatePropNode:ie,isPostcssSimpleVarNode:K,isKeyValuePairNode:$e,isKeyValuePairInParenGroupNode:Le,isKeyInValuePairNode:vt,isSCSSMapItemNode:et,isInlineValueCommentNode:Se,isHashNode:gt,isLeftCurlyBraceNode:Ue,isRightCurlyBraceNode:Pe,isWordNode:dt,isColonNode:Ut,isMediaAndSupportsKeywords:Zt,isColorAdjusterFuncNode:He,lastLineHasInlineComment:ut,isAtWordPlaceholderNode:qt,isConfigurationNode:Yt,isParenGroupNode:xn}}}),Ra=Be({"src/utils/line-column-to-index.js"(r,a){it(),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){it();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){it();function l(f){return f.parser==="css"||f.parser==="less"}a.exports=l}}),ho=Be({"src/language-css/utils/is-scss.js"(r,a){it();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){it();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){it();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(),de=ha(),{insertPragma:ze}=sc(),{getAncestorNode:O,getPropOfDeclNode:Q,maybeToLowerCase:I,insideValueFunctionNode:U,insideICSSRuleNode:T,insideAtRuleNode:M,insideURLFunctionInImportAtRuleNode:z,isKeyframeAtRuleKeywords:ie,isWideKeywords:K,isLastNode:ee,isSCSSControlDirectiveNode:Ae,isDetachedRulesetDeclarationNode:je,isRelationalOperatorNode:$e,isEqualityOperatorNode:Le,isMultiplicationNode:et,isDivisionNode:Se,isAdditionNode:gt,isSubtractionNode:Ue,isMathOperatorNode:Pe,isEachKeywordNode:dt,isForKeywordNode:Ut,isURLFunctionNode:vt,isIfElseKeywordNode:Zt,hasComposesNode:He,hasParensAroundNode:ut,hasEmptyRawBefore:qt,isKeyValuePairNode:Yt,isKeyInValuePairNode:xn,isDetachedRulesetCallNode:ct,isTemplatePlaceholderNode:Ye,isTemplatePropNode:yt,isPostcssSimpleVarNode:Lt,isSCSSMapItemNode:ar,isInlineValueCommentNode:Mr,isHashNode:Yr,isLeftCurlyBraceNode:Zn,isRightCurlyBraceNode:zi,isWordNode:er,isColonNode:Kt,isMediaAndSupportsKeywords:qr,isColorAdjusterFuncNode:tr,lastLineHasInlineComment:Ke,isAtWordPlaceholderNode:Cr,isConfigurationNode:lr,isParenGroupNode:_r}=Gl(),{locStart:Kn,locEnd:Fn}=Es(),Pr=$a(),W=ho(),at=cl();function Jt($){return $.trailingComma==="es5"||$.trailingComma==="all"}function nn($,ke,qe){let Ee=$.getValue();if(!Ee)return"";if(typeof Ee=="string")return Ee;switch(Ee.type){case"front-matter":return[Ee.raw,N];case"css-root":{let fr=_i($,ke,qe),$r=Ee.raws.after.trim();return[fr,$r?` ${$r}`:"",ne(fr).length>0?N:""]}case"css-comment":{let fr=Ee.inline||Ee.raws.inline,$r=ke.originalText.slice(Kn(Ee),Fn(Ee));return fr?$r.trimEnd():$r}case"css-rule":return[qe("selector"),Ee.important?" !important":"",Ee.nodes?[Ee.selector&&Ee.selector.type==="selector-unknown"&&Ke(Ee.selector.value)?B:" ","{",Ee.nodes.length>0?R([N,_i($,ke,qe)]):"",N,"}",je(Ee)?";":""]:";"];case"css-decl":{let fr=$.getParentNode(),{between:$r}=Ee.raws,pn=$r.trim(),Gn=pn===":",kn=He(Ee)?G(qe("value")):qe("value");return!Gn&&Ke(pn)&&(kn=R([N,J(kn)])),[Ee.raws.before.replace(/[\s;]/g,""),T($)?Ee.prop:I(Ee.prop),pn.startsWith("//")?" ":"",pn,Ee.extend?"":" ",Pr(ke)&&Ee.extend&&Ee.selector?["extend(",qe("selector"),")"]:"",kn,Ee.raws.important?Ee.raws.important.replace(/\s*!\s*important/i," !important"):Ee.important?" !important":"",Ee.raws.scssDefault?Ee.raws.scssDefault.replace(/\s*!default/i," !default"):Ee.scssDefault?" !default":"",Ee.raws.scssGlobal?Ee.raws.scssGlobal.replace(/\s*!global/i," !global"):Ee.scssGlobal?" !global":"",Ee.nodes?[" {",R([L,_i($,ke,qe)]),L,"}"]:yt(Ee)&&!fr.raws.semicolon&&ke.originalText[Fn(Ee)-1]!==";"?"":ke.__isHTMLStyleAttribute&&ee($,Ee)?oe(";"):";"]}case"css-atrule":{let fr=$.getParentNode(),$r=Ye(Ee)&&!fr.raws.semicolon&&ke.originalText[Fn(Ee)-1]!==";";if(Pr(ke)){if(Ee.mixin)return[qe("selector"),Ee.important?" !important":"",$r?"":";"];if(Ee.function)return[Ee.name,qe("params"),$r?"":";"];if(Ee.variable)return["@",Ee.name,": ",Ee.value?qe("value"):"",Ee.raws.between.trim()?Ee.raws.between.trim()+" ":"",Ee.nodes?["{",R([Ee.nodes.length>0?L:"",_i($,ke,qe)]),L,"}"]:"",$r?"":";"]}return["@",ct(Ee)||Ee.name.endsWith(":")?Ee.name:I(Ee.name),Ee.params?[ct(Ee)?"":Ye(Ee)?Ee.raws.afterName===""?"":Ee.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Ee.raws.afterName)?[N,N]:/^\s*\n/.test(Ee.raws.afterName)?N:" ":" ",qe("params")]:"",Ee.selector?R([" ",qe("selector")]):"",Ee.value?P([" ",qe("value"),Ae(Ee)?ut(Ee)?" ":B:""]):Ee.name==="else"?" ":"",Ee.nodes?[Ae(Ee)?"":Ee.selector&&!Ee.selector.nodes&&typeof Ee.selector.value=="string"&&Ke(Ee.selector.value)||!Ee.selector&&typeof Ee.params=="string"&&Ke(Ee.params)?B:" ","{",R([Ee.nodes.length>0?L:"",_i($,ke,qe)]),L,"}"]:$r?"":";"]}case"media-query-list":{let fr=[];return $.each($r=>{let pn=$r.getValue();pn.type==="media-query"&&pn.value===""||fr.push(qe())},"nodes"),P(R(A(B,fr)))}case"media-query":return[A(" ",$.map(qe,"nodes")),ee($,Ee)?"":","];case"media-type":return k(D(Ee.value,ke));case"media-feature-expression":return Ee.nodes?["(",...$.map(qe,"nodes"),")"]:Ee.value;case"media-feature":return I(D(Ee.value.replace(/ +/g," "),ke));case"media-colon":return[Ee.value," "];case"media-value":return k(D(Ee.value,ke));case"media-keyword":return D(Ee.value,ke);case"media-url":return D(Ee.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),ke);case"media-unknown":return Ee.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 Ee.value;case"selector-string":return D(Ee.value,ke);case"selector-tag":{let fr=$.getParentNode(),$r=fr&&fr.nodes.indexOf(Ee),pn=$r&&fr.nodes[$r-1];return[Ee.namespace?[Ee.namespace===!0?"":Ee.namespace.trim(),"|"]:"",pn.type==="selector-nesting"?Ee.value:k(ie($,Ee.value)?Ee.value.toLowerCase():Ee.value)]}case"selector-id":return["#",Ee.value];case"selector-class":return[".",k(D(Ee.value,ke))];case"selector-attribute":{var Ft;return["[",Ee.namespace?[Ee.namespace===!0?"":Ee.namespace.trim(),"|"]:"",Ee.attribute.trim(),(Ft=Ee.operator)!==null&&Ft!==void 0?Ft:"",Ee.value?E(D(Ee.value.trim(),ke),ke):"",Ee.insensitive?" i":"","]"]}case"selector-combinator":{if(Ee.value==="+"||Ee.value===">"||Ee.value==="~"||Ee.value===">>>"){let pn=$.getParentNode();return[pn.type==="selector-selector"&&pn.nodes[0]===Ee?"":B,Ee.value,ee($,Ee)?"":" "]}let fr=Ee.value.trim().startsWith("(")?B:"",$r=k(D(Ee.value.trim(),ke))||B;return[fr,$r]}case"selector-universal":return[Ee.namespace?[Ee.namespace===!0?"":Ee.namespace.trim(),"|"]:"",Ee.value];case"selector-pseudo":return[I(Ee.value),C(Ee.nodes)?P(["(",R([L,A([",",B],$.map(qe,"nodes"))]),L,")"]):""];case"selector-nesting":return Ee.value;case"selector-unknown":{let fr=O($,"css-rule");if(fr&&fr.isSCSSNesterProperty)return k(D(I(Ee.value),ke));let $r=$.getParentNode();if($r.raws&&$r.raws.selector){let Gn=Kn($r),kn=Gn+$r.raws.selector.length;return ke.originalText.slice(Gn,kn).trim()}let pn=$.getParentNode(1);if($r.type==="value-paren_group"&&pn&&pn.type==="value-func"&&pn.value==="selector"){let Gn=Fn($r.open)+1,kn=Kn($r.close),le=ke.originalText.slice(Gn,kn).trim();return Ke(le)?[H,le]:le}return Ee.value}case"value-value":case"value-root":return qe("group");case"value-comment":return ke.originalText.slice(Kn(Ee),Fn(Ee));case"value-comma_group":{let fr=$.getParentNode(),$r=$.getParentNode(1),pn=Q($),Gn=pn&&fr.type==="value-value"&&(pn==="grid"||pn.startsWith("grid-template")),kn=O($,"css-atrule"),le=kn&&Ae(kn),wt=Ee.groups.some(Vs=>Mr(Vs)),Kr=$.map(qe,"groups"),Bn=[],Ii=U($,"url"),As=!1,Li=!1;for(let Vs=0;Vs<Ee.groups.length;++Vs){var yr;Bn.push(Kr[Vs]);let Bs=Ee.groups[Vs-1],fi=Ee.groups[Vs],Fi=Ee.groups[Vs+1],fa=Ee.groups[Vs+2];if(Ii){(Fi&&gt(Fi)||gt(fi))&&Bn.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("-")&&Cr(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==="\\"||Lt(fi,Fi)||Yr(fi)||Zn(fi)||zi(Fi)||Zn(Fi)&&qt(Fi)||zi(fi)&&qt(Fi)||fi.value==="--"&&Yr(Fi))continue;let Zs=Pe(fi),to=Pe(Fi);if((Zs&&Yr(Fi)||to&&zi(fi))&&qt(Fi)||!Bs&&Se(fi)||U($,"calc")&&(gt(fi)||gt(Fi)||Ue(fi)||Ue(Fi))&&qt(Fi))continue;let Kl=(gt(fi)||Ue(fi))&&Vs===0&&(Fi.type==="value-number"||Fi.isHex)&&$r&&tr($r)&&!qt(Fi),Wu=fa&&fa.type==="value-func"||fa&&er(fa)||fi.type==="value-func"||er(fi),Pa=Fi.type==="value-func"||er(Fi)||Bs&&Bs.type==="value-func"||Bs&&er(Bs);if(!(!(et(Fi)||et(fi))&&!U($,"calc")&&!Kl&&(Se(Fi)&&!Wu||Se(fi)&&!Pa||gt(Fi)&&!Wu||gt(fi)&&!Pa||Ue(Fi)||Ue(fi))&&(qt(Fi)||Zs&&(!Bs||Bs&&Pe(Bs))))){if(Mr(fi)){if(fr.type==="value-paren_group"){Bn.push(J(N));continue}Bn.push(N);continue}if(le&&(Le(Fi)||$e(Fi)||Zt(Fi)||dt(fi)||Ut(fi))){Bn.push(" ");continue}if(kn&&kn.name.toLowerCase()==="namespace"){Bn.push(" ");continue}if(Gn){fi.source&&Fi.source&&fi.source.start.line!==Fi.source.start.line?(Bn.push(N),Li=!0):Bn.push(" ");continue}if(to){Bn.push(" ");continue}if(!(Fi&&Fi.value==="...")&&!(Cr(fi)&&Cr(Fi)&&Fn(fi)===Kn(Fi))){if(Cr(fi)&&_r(Fi)&&Fn(fi)===Kn(Fi.open)){Bn.push(L);continue}if(fi.value==="with"&&_r(Fi)){Bn.push(" ");continue}(yr=fi.value)!==null&&yr!==void 0&&yr.endsWith("#")&&Fi.value==="{"&&_r(Fi.group)||Bn.push(B)}}}return wt&&Bn.push(H),Li&&Bn.unshift(N),le?P(R(Bn)):z($)?P(_(Bn)):P(R(_(Bn)))}case"value-paren_group":{let fr=$.getParentNode();if(fr&&vt(fr)&&(Ee.groups.length===1||Ee.groups.length>0&&Ee.groups[0].type==="value-comma_group"&&Ee.groups[0].groups.length>0&&Ee.groups[0].groups[0].type==="value-word"&&Ee.groups[0].groups[0].value.startsWith("data:")))return[Ee.open?qe("open"):"",A(",",$.map(qe,"groups")),Ee.close?qe("close"):""];if(!Ee.open){let Ii=$.map(qe,"groups"),As=[];for(let Li=0;Li<Ii.length;Li++)Li!==0&&As.push([",",B]),As.push(Ii[Li]);return P(R(_(As)))}let $r=ar($),pn=l(Ee.groups),Gn=pn&&pn.type==="value-comment",kn=xn(Ee,fr),le=lr(Ee,fr),wt=le||$r&&!kn,Kr=le||kn,Bn=P([Ee.open?qe("open"):"",R([L,A([B],$.map((Ii,As)=>{let Li=Ii.getValue(),Vs=As===Ee.groups.length-1,Bs=[qe(),Vs?"":","];if(Yt(Li)&&Li.type==="value-comma_group"&&Li.groups&&Li.groups[0].type!=="value-paren_group"&&Li.groups[2]&&Li.groups[2].type==="value-paren_group"){let fi=ne(Bs[0].contents.contents);return fi[1]=P(fi[1]),P(J(Bs))}if(!Vs&&Li.type==="value-comma_group"&&C(Li.groups)){let fi=l(Li.groups);fi.source&&v(ke.originalText,fi,Fn)&&Bs.push(N)}return Bs},"groups"))]),oe(!Gn&&W(ke.parser,ke.originalText)&&$r&&Jt(ke)?",":""),L,Ee.close?qe("close"):""],{shouldBreak:wt});return Kr?J(Bn):Bn}case"value-func":return[Ee.value,M($,"supports")&&qr(Ee)?" ":"",qe("group")];case"value-paren":return Ee.value;case"value-number":return[j(Ee.value),at(Ee.unit)];case"value-operator":return Ee.value;case"value-word":return Ee.isColor&&Ee.isHex||K(Ee.value)?Ee.value.toLowerCase():Ee.value;case"value-colon":{let fr=$.getParentNode(),$r=fr&&fr.groups.indexOf(Ee),pn=$r&&fr.groups[$r-1];return[Ee.value,pn&&typeof pn.value=="string"&&l(pn.value)==="\\"||U($,"url")?"":B]}case"value-comma":return[Ee.value," "];case"value-string":return m(Ee.raws.quote+Ee.value+Ee.raws.quote,ke);case"value-atword":return["@",Ee.value];case"value-unicode-range":return Ee.value;case"value-unknown":return Ee.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(Ee.type)}`)}}function _i($,ke,qe){let Ee=[];return $.each((Ft,yr,fr)=>{let $r=fr[yr-1];if($r&&$r.type==="css-comment"&&$r.text.trim()==="prettier-ignore"){let pn=Ft.getValue();Ee.push(ke.originalText.slice(Kn(pn),Fn(pn)))}else Ee.push(qe());yr!==fr.length-1&&(fr[yr+1].type==="css-comment"&&!d(ke.originalText,Kn(fr[yr+1]),{backwards:!0})&&!y(fr[yr])||fr[yr+1].type==="css-atrule"&&fr[yr+1].name==="else"&&fr[yr].type!=="css-comment"?Ee.push(" "):(Ee.push(ke.__isHTMLStyleAttribute?B:N),v(ke.originalText,Ft.getValue(),Fn)&&!y(fr[yr])&&Ee.push(N)))},"nodes"),Ee}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,Ee,Ft,yr)=>!Ee&&Ft?j(Ft)+I(yr||""):ke)}function j($){return f($).replace(/\.0(?=$|e)/,"")}a.exports={print:nn,embed:de,insertPragma:ze,massageAstNode:me}}}),Yo=Be({"src/language-css/options.js"(r,a){it();var l=Jo();a.exports={singleQuote:l.singleQuote}}}),nu=Be({"src/language-css/parsers.js"(){it()}}),Sl=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){it();var l=Ka(),f=pl(),m=Yo(),d=nu(),y=[l(Sl(),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}}}),Fl=Be({"src/language-handlebars/loc.js"(r,a){it();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){it();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}}),kl=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){it();var{htmlVoidElements:l}=kl(),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,de,ze,O;let Q=G.getValue(),I=(me=G.getParentNode(0))!==null&&me!==void 0?me:{},U=(de=(ze=(O=I.children)!==null&&O!==void 0?O:I.body)!==null&&ze!==void 0?ze:I.parts)!==null&&de!==void 0?de:[],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){it();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}=Fl(),oe=Oo(),{getNextNode:H,getPreviousNode:G,hasPrettierIgnore:ne,isLastNodeOfSiblings:me,isNextNodeOfSomeType:de,isNodeOfSomeType:ze,isParentOfSomeType:O,isPreviousNodeOfSomeType:Q,isVoid:I,isWhitespaceNode:U}=Lo(),T=2;function M(Ke,Cr,lr){let _r=Ke.getValue();if(!_r)return"";if(ne(Ke))return Cr.originalText.slice(R(_r),J(_r));let Kn=Cr.singleQuote?"'":'"';switch(_r.type){case"Block":case"Program":case"Template":return m(Ke.map(lr,"body"));case"ElementNode":{let Fn=m(ie(Ke,lr)),Pr=Cr.htmlWhitespaceSensitivity==="ignore"&&de(Ke,["ElementNode"])?B:"";if(I(_r))return[Fn,Pr];let W=["</",_r.tag,">"];return _r.children.length===0?[Fn,v(W),Pr]:Cr.htmlWhitespaceSensitivity==="ignore"?[Fn,v(K(Ke,Cr,lr)),d,v(W),Pr]:[Fn,v(m(K(Ke,Cr,lr))),v(W),Pr]}case"BlockStatement":{let Fn=Ke.getParentNode(1);return Fn&&Fn.inverse&&Fn.inverse.body.length===1&&Fn.inverse.body[0]===_r&&Fn.inverse.body[0].path.parts[0]===Fn.path.parts[0]?[Ut(Ke,lr,Fn.inverse.body[0].path.parts[0]),qt(Ke,lr,Cr),Yt(Ke,lr,Cr)]:[Pe(Ke,lr),m([qt(Ke,lr,Cr),Yt(Ke,lr,Cr),vt(Ke,lr,Cr)])]}case"ElementModifierStatement":return m(["{{",er(Ke,lr),"}}"]);case"MustacheStatement":return m([Ae(_r),er(Ke,lr),je(_r)]);case"SubExpression":return m(["(",zi(Ke,lr),B,")"]);case"AttrNode":{let Fn=_r.value.type==="TextNode";if(Fn&&_r.value.chars===""&&R(_r.value)===J(_r.value))return _r.name;let Pr=Fn?P(_r.value.chars,Kn).quote:_r.value.type==="ConcatStatement"?P(_r.value.parts.filter(at=>at.type==="TextNode").map(at=>at.chars).join(""),Kn).quote:"",W=lr("value");return[_r.name,"=",Pr,_r.name==="class"&&Pr?m(v(W)):W,Pr]}case"ConcatStatement":return Ke.map(lr,"parts");case"Hash":return C(A,Ke.map(lr,"pairs"));case"HashPair":return[_r.key,"=",lr("value")];case"TextNode":{let Fn=_r.chars.replace(/{{/g,"\\{{"),Pr=Ye(Ke);if(Pr){if(Pr==="class"){let u=Fn.trim().split(/\s+/).join(" "),p=!1,D=!1;return O(Ke,["ConcatStatement"])&&(Q(Ke,["MustacheStatement"])&&/^\s/.test(Fn)&&(p=!0),de(Ke,["MustacheStatement"])&&/\s$/.test(Fn)&&u!==""&&(D=!0)),[p?A:"",u,D?A:""]}return L(Fn)}let W=/^[\t\n\f\r ]*$/.test(Fn),at=!G(Ke),Jt=!H(Ke);if(Cr.htmlWhitespaceSensitivity!=="ignore"){let u=/^[\t\n\f\r ]*/,p=/[\t\n\f\r ]*$/,D=Jt&&O(Ke,["Template"]),E=at&&O(Ke,["Template"]);if(W){if(E||D)return"";let qe=[A],Ee=yt(Fn);return Ee&&(qe=Mr(Ee)),me(Ke)&&(qe=qe.map(Ft=>l(Ft))),qe}let[k]=Fn.match(u),[j]=Fn.match(p),$=[];if(k){$=[A];let qe=yt(k);qe&&($=Mr(qe)),Fn=Fn.replace(u,"")}let ke=[];if(j){if(!D){ke=[A];let qe=yt(j);qe&&(ke=Mr(qe)),me(Ke)&&(ke=ke.map(Ee=>l(Ee)))}Fn=Fn.replace(p,"")}return[...$,f(xn(Fn)),...ke]}let nn=yt(Fn),_i=Lt(Fn),e=ar(Fn);if((at||Jt)&&W&&O(Ke,["Block","ElementNode","Template"]))return"";W&&nn?(_i=Math.min(nn,T),e=0):(de(Ke,["BlockStatement","ElementNode"])&&(e=Math.max(e,1)),Q(Ke,["BlockStatement","ElementNode"])&&(_i=Math.max(_i,1)));let n="",o="";return e===0&&de(Ke,["MustacheStatement"])&&(o=" "),_i===0&&Q(Ke,["MustacheStatement"])&&(n=" "),at&&(_i=0,n=""),Jt&&(e=0,o=""),Fn=Fn.replace(/^[\t\n\f\r ]+/g,n).replace(/[\t\n\f\r ]+$/,o),[...Mr(_i),f(xn(Fn)),...Mr(e)]}case"MustacheCommentStatement":{let Fn=R(_r),Pr=J(_r),W=Cr.originalText.charAt(Fn+2)==="~",at=Cr.originalText.charAt(Pr-3)==="~",Jt=_r.value.includes("}}")?"--":"";return["{{",W?"~":"","!",Jt,_r.value,Jt,at?"~":"","}}"]}case"PathExpression":return _r.original;case"BooleanLiteral":return String(_r.value);case"CommentStatement":return["<!--",_r.value,"-->"];case"StringLiteral":{if(Zn(Ke)){let Fn=Cr.singleQuote?'"':"'";return Yr(_r.value,Fn)}return Yr(_r.value,Kn)}case"NumberLiteral":return String(_r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(_r.type))}}function z(Ke,Cr){return R(Ke)-R(Cr)}function ie(Ke,Cr){let lr=Ke.getValue(),_r=["attributes","modifiers","comments"].filter(Fn=>_(lr[Fn])),Kn=_r.flatMap(Fn=>lr[Fn]).sort(z);for(let Fn of _r)Ke.each(Pr=>{let W=Kn.indexOf(Pr.getValue());Kn.splice(W,1,[A,Cr()])},Fn);return _(lr.blockParams)&&Kn.push(A,tr(lr)),["<",lr.tag,v(Kn),ee(lr)]}function K(Ke,Cr,lr){let _r=Ke.getValue().children.every(Kn=>U(Kn));return Cr.htmlWhitespaceSensitivity==="ignore"&&_r?"":Ke.map((Kn,Fn)=>{let Pr=lr();return Fn===0&&Cr.htmlWhitespaceSensitivity==="ignore"?[B,Pr]:Pr},"children")}function ee(Ke){return I(Ke)?y([B,"/>"],[" />",B]):y([B,">"],">")}function Ae(Ke){let Cr=Ke.escaped===!1?"{{{":"{{",lr=Ke.strip&&Ke.strip.open?"~":"";return[Cr,lr]}function je(Ke){let Cr=Ke.escaped===!1?"}}}":"}}";return[Ke.strip&&Ke.strip.close?"~":"",Cr]}function $e(Ke){let Cr=Ae(Ke),lr=Ke.openStrip.open?"~":"";return[Cr,lr,"#"]}function Le(Ke){let Cr=je(Ke);return[Ke.openStrip.close?"~":"",Cr]}function et(Ke){let Cr=Ae(Ke),lr=Ke.closeStrip.open?"~":"";return[Cr,lr,"/"]}function Se(Ke){let Cr=je(Ke);return[Ke.closeStrip.close?"~":"",Cr]}function gt(Ke){let Cr=Ae(Ke),lr=Ke.inverseStrip.open?"~":"";return[Cr,lr]}function Ue(Ke){let Cr=je(Ke);return[Ke.inverseStrip.close?"~":"",Cr]}function Pe(Ke,Cr){let lr=Ke.getValue(),_r=$e(lr),Kn=Le(lr),Fn=[Kt(Ke,Cr)],Pr=qr(Ke,Cr);if(Pr&&Fn.push(A,Pr),_(lr.program.blockParams)){let W=tr(lr.program);Fn.push(A,W)}return m([_r,v(Fn),B,Kn])}function dt(Ke,Cr){return[Cr.htmlWhitespaceSensitivity==="ignore"?d:"",gt(Ke),"else",Ue(Ke)]}function Ut(Ke,Cr,lr){let _r=Ke.getParentNode(1);return[gt(_r),"else ",lr," ",qr(Ke,Cr),Ue(_r)]}function vt(Ke,Cr,lr){let _r=Ke.getValue();return lr.htmlWhitespaceSensitivity==="ignore"?[Zt(_r)?B:d,et(_r),Cr("path"),Se(_r)]:[et(_r),Cr("path"),Se(_r)]}function Zt(Ke){return ze(Ke,["BlockStatement"])&&Ke.program.body.every(Cr=>U(Cr))}function He(Ke){return ut(Ke)&&Ke.inverse.body.length===1&&ze(Ke.inverse.body[0],["BlockStatement"])&&Ke.inverse.body[0].path.parts[0]===Ke.path.parts[0]}function ut(Ke){return ze(Ke,["BlockStatement"])&&Ke.inverse}function qt(Ke,Cr,lr){let _r=Ke.getValue();if(Zt(_r))return"";let Kn=Cr("program");return lr.htmlWhitespaceSensitivity==="ignore"?v([d,Kn]):v(Kn)}function Yt(Ke,Cr,lr){let _r=Ke.getValue(),Kn=Cr("inverse"),Fn=lr.htmlWhitespaceSensitivity==="ignore"?[d,Kn]:Kn;return He(_r)?Fn:ut(_r)?[dt(_r,lr),v(Fn)]:""}function xn(Ke){return N(C(A,ct(Ke)))}function ct(Ke){return Ke.split(/[\t\n\f\r ]+/)}function Ye(Ke){for(let Cr=0;Cr<2;Cr++){let lr=Ke.getParentNode(Cr);if(lr&&lr.type==="AttrNode")return lr.name.toLowerCase()}}function yt(Ke){return Ke=typeof Ke=="string"?Ke:"",Ke.split(`
99
+ `).length-1}function Lt(Ke){Ke=typeof Ke=="string"?Ke:"";let Cr=(Ke.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return yt(Cr)}function ar(Ke){Ke=typeof Ke=="string"?Ke:"";let Cr=(Ke.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return yt(Cr)}function Mr(){let Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Ke,T)}).fill(d)}function Yr(Ke,Cr){let{quote:lr,regex:_r}=P(Ke,Cr);return[lr,Ke.replace(_r,`\\${lr}`),lr]}function Zn(Ke){let Cr=0,lr=Ke.getParentNode(Cr);for(;lr&&ze(lr,["SubExpression"]);)Cr++,lr=Ke.getParentNode(Cr);return!!(lr&&ze(Ke.getParentNode(Cr+1),["ConcatStatement"])&&ze(Ke.getParentNode(Cr+2),["AttrNode"]))}function zi(Ke,Cr){let lr=Kt(Ke,Cr),_r=qr(Ke,Cr);return _r?v([lr,A,m(_r)]):lr}function er(Ke,Cr){let lr=Kt(Ke,Cr),_r=qr(Ke,Cr);return _r?[v([lr,A,_r]),B]:lr}function Kt(Ke,Cr){return Cr("path")}function qr(Ke,Cr){let lr=Ke.getValue(),_r=[];if(lr.params.length>0){let Kn=Ke.map(Cr,"params");_r.push(...Kn)}if(lr.hash&&lr.hash.pairs.length>0){let Kn=Cr("hash");_r.push(Kn)}return _r.length===0?"":C(A,_r)}function tr(Ke){return["as |",Ke.blockParams.join(" "),"|"]}a.exports={print:M,massageAstNode:oe}}}),te=Be({"src/language-handlebars/parsers.js"(){it()}}),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){it();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){it();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}}}),ve=Be({"src/language-graphql/loc.js"(r,a){it();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}}}),ye=Be({"src/language-graphql/printer-graphql.js"(r,a){it();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}=ve();function _(de,ze,O){let Q=de.getValue();if(!Q)return"";if(typeof Q=="string")return Q;switch(Q.kind){case"Document":{let I=[];return de.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],de.map(O,"variableDefinitions"))]),d,")"]):"",R(de,O,Q),Q.selectionSet?!I&&!U?"":" ":"",O("selectionSet")]}case"FragmentDefinition":return["fragment ",O("name"),B(Q.variableDefinitions)?y(["(",v([d,l([C("",", "),d],de.map(O,"variableDefinitions"))]),d,")"]):""," on ",O("typeCondition"),R(de,O,Q)," ",O("selectionSet")];case"SelectionSet":return["{",v([f,l(f,J(de,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(de,ze,O,"arguments"))]),d,")"]):"",R(de,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],de.map(O,"values"))]),d,"]"]);case"ObjectValue":return y(["{",ze.bracketSpacing&&Q.fields.length>0?" ":"",v([d,l([C("",", "),d],de.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(de,ze,O,"arguments"))]),d,")"]):""];case"NamedType":return O("name");case"VariableDefinition":return[O("variable"),": ",O("type"),Q.defaultValue?[" = ",O("defaultValue")]:"",R(de,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(de,ze,O)]:"",R(de,O,Q),Q.fields.length>0?[" {",v([f,l(f,J(de,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(de,ze,O,"arguments"))]),d,")"]):"",": ",O("type"),R(de,O,Q)];case"DirectiveDefinition":return[O("description"),Q.description?f:"","directive ","@",O("name"),Q.arguments.length>0?y(["(",v([d,l([C("",", "),d],J(de,ze,O,"arguments"))]),d,")"]):"",Q.repeatable?" repeatable":""," on ",l(" | ",de.map(O,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[O("description"),Q.description?f:"",Q.kind==="EnumTypeExtension"?"extend ":"","enum ",O("name"),R(de,O,Q),Q.values.length>0?[" {",v([f,l(f,J(de,ze,O,"values"))]),f,"}"]:""];case"EnumValueDefinition":return[O("description"),Q.description?f:"",O("name"),R(de,O,Q)];case"InputValueDefinition":return[O("description"),Q.description?Q.description.block?f:m:"",O("name"),": ",O("type"),Q.defaultValue?[" = ",O("defaultValue")]:"",R(de,O,Q)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[O("description"),Q.description?f:"",Q.kind==="InputObjectTypeExtension"?"extend ":"","input ",O("name"),R(de,O,Q),Q.fields.length>0?[" {",v([f,l(f,J(de,ze,O,"fields"))]),f,"}"]:""];case"SchemaExtension":return["extend schema",R(de,O,Q),...Q.operationTypes.length>0?[" {",v([f,l(f,J(de,ze,O,"operationTypes"))]),f,"}"]:[]];case"SchemaDefinition":return[O("description"),Q.description?f:"","schema",R(de,O,Q)," {",Q.operationTypes.length>0?v([f,l(f,J(de,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(de,ze,O)]:"",R(de,O,Q),Q.fields.length>0?[" {",v([f,l(f,J(de,ze,O,"fields"))]),f,"}"]:""];case"FragmentSpread":return["...",O("name"),R(de,O,Q)];case"InlineFragment":return["...",Q.typeCondition?[" on ",O("typeCondition")]:"",R(de,O,Q)," ",O("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return y([O("description"),Q.description?f:"",y([Q.kind==="UnionTypeExtension"?"extend ":"","union ",O("name"),R(de,O,Q),Q.types.length>0?[" =",C(""," "),v([C([m," "]),l([m,"| "],de.map(O,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[O("description"),Q.description?f:"",Q.kind==="ScalarTypeExtension"?"extend ":"","scalar ",O("name"),R(de,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(de,ze,O){if(O.directives.length===0)return"";let Q=l(m,de.map(ze,"directives"));return O.kind==="FragmentDefinition"||O.kind==="OperationDefinition"?y([m,Q]):[" ",y(v([d,Q]))]}function J(de,ze,O,Q){return de.map((I,U,T)=>{let M=O();return U<T.length-1&&A(ze.originalText,I.getValue(),P)?[M,f]:M},Q)}function oe(de){return de.kind&&de.kind!=="Comment"}function H(de){let ze=de.getValue();if(ze.kind==="Comment")return"#"+ze.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(ze))}function G(de,ze,O){let Q=de.getNode(),I=[],{interfaces:U}=Q,T=de.map(M=>O(M),"interfaces");for(let M=0;M<U.length;M++){let z=U[M];I.push(T[M]);let ie=U[M+1];if(ie){let K=ze.originalText.slice(z.loc.end,ie.loc.start),ee=K.includes("#"),Ae=K.replace(/#.*/g,"").trim();I.push(Ae===","?",":" &",ee?m:" ")}}return I}function ne(de,ze){de.kind==="StringValue"&&de.block&&!de.value.includes(`
103
+ `)&&(ze.value=ze.value.trim())}ne.ignoredProperties=new Set(["loc","comments"]);function me(de){var ze;let O=de.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}}}),be=Be({"src/language-graphql/options.js"(r,a){it();var l=Jo();a.exports={bracketSpacing:l.bracketSpacing}}}),pe=Be({"src/language-graphql/parsers.js"(){it()}}),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){it();var l=Ka(),f=ye(),m=be(),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){it();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){it();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",de="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,ie]of M.entries())if(!((z===0||z===M.length-1)&&ie==="")){if(z%2===0){ie!==""&&I({type:"word",value:ie,kind:ne,hasLeadingPunctuation:N.test(ie[0]),hasTrailingPunctuation:N.test(l(ie))});continue}I(N.test(ie)?{type:"word",value:ie,kind:ze,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:ie,kind:B.test(ie)?de: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,ie){return T.kind===z&&U.kind===ie||T.kind===ie&&U.kind===z}}}function P(H,G){let[,ne,me,de]=G.slice(H.position.start.offset,H.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:ne,marker:me,leadingSpaces:de}}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 de=Number(P(H.children[2],G.originalText).numberText);return me===1&&de===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,de,ze){let O=Object.assign({},G(me,de,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){it();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}}),we=Be({"src/language-markdown/pragma.js"(r,a){it();var l=Tl(),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}`}}}}),Ge=Be({"src/language-markdown/print-preprocess.js"(r,a){it();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((de,ze)=>{let O=l(de);return O&&H(O,ze)?de.splice(-1,1,G(O,ze)):de.push(ze),de},[]);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[de]=me;if(G.type!=="text")return G;let{value:ze}=G;return de.type==="paragraph"&&(ne===0&&(ze=ze.trimStart()),ne===de.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 de=/^\n?(?: {4,}|\t)/.test(H.originalText.slice(G.position.start.offset,G.position.end.offset));if(G.isIndented=de,de)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,de,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[de,ze]=me.children;if(f(de,H.originalText).leadingSpaces.length>1)return!0;let O=G(de);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}}),Ve=Be({"src/language-markdown/clean.js"(r,a){it();var{isFrontMatterNode:l}=Pi(),{startWithPragma:f}=we(),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){it();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:de}}=xi(),ze=Ie(),{insertPragma:O}=we(),{locStart:Q,locEnd:I}=b(),U=Ge(),T=Ve(),{getFencedCodeBlockValue:M,hasGitDiffFriendlyOrderedList:z,splitText:ie,punctuationPattern:K,INLINE_NODE_TYPES:ee,INLINE_NODE_WRAPPER_TYPES:Ae,isAutolink:je}=V(),$e=new Set(["importExport"]),Le=["heading","tableCell","link","wikiLink"],et=new Set(["listItem","definition","footnoteDefinition"]);function Se(er,Kt,qr){let tr=er.getValue();if(ar(er))return ie(Kt.originalText.slice(tr.position.start.offset,tr.position.end.offset),Kt).map(Ke=>Ke.type==="word"?Ke.value:Ke.value===""?"":Zt(er,Ke.value,Kt));switch(tr.type){case"front-matter":return Kt.originalText.slice(tr.position.start.offset,tr.position.end.offset);case"root":return tr.children.length===0?"":[ne(ut(er,Kt,qr)),$e.has(xn(tr).type)?"":L];case"paragraph":return qt(er,Kt,qr,{postprocessor:R});case"sentence":return qt(er,Kt,qr);case"word":{let Ke=tr.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${K})(_+)`,`(_+)(${K}|$)`].join("|"),"g"),(_r,Kn,Fn,Pr,W)=>(Fn?`${Kn}${Fn}`:`${Pr}${W}`).replace(/_/g,"\\_")),Cr=(_r,Kn,Fn)=>_r.type==="sentence"&&Fn===0,lr=(_r,Kn,Fn)=>je(_r.children[Fn-1]);return Ke!==tr.value&&(er.match(void 0,Cr,lr)||er.match(void 0,Cr,(_r,Kn,Fn)=>_r.type==="emphasis"&&Fn===0,lr))&&(Ke=Ke.replace(/^(\\?[*_])+/,_r=>_r.replace(/\\/g,""))),Ke}case"whitespace":{let Ke=er.getParentNode(),Cr=Ke.children.indexOf(tr),lr=Ke.children[Cr+1],_r=lr&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(lr.value)?"never":Kt.proseWrap;return Zt(er,tr.value,{proseWrap:_r})}case"emphasis":{let Ke;if(je(tr.children[0]))Ke=Kt.originalText[tr.position.start.offset];else{let Cr=er.getParentNode(),lr=Cr.children.indexOf(tr),_r=Cr.children[lr-1],Kn=Cr.children[lr+1];Ke=_r&&_r.type==="sentence"&&_r.children.length>0&&l(_r.children).type==="word"&&!l(_r.children).hasTrailingPunctuation||Kn&&Kn.type==="sentence"&&Kn.children.length>0&&Kn.children[0].type==="word"&&!Kn.children[0].hasLeadingPunctuation||vt(er,"emphasis")?"*":"_"}return[Ke,qt(er,Kt,qr),Ke]}case"strong":return["**",qt(er,Kt,qr),"**"];case"delete":return["~~",qt(er,Kt,qr),"~~"];case"inlineCode":{let Ke=f(tr.value,"`"),Cr="`".repeat(Ke||1),lr=Ke&&!/^\s/.test(tr.value)?" ":"";return[Cr,lr,tr.value,lr,Cr]}case"wikiLink":{let Ke="";return Kt.proseWrap==="preserve"?Ke=tr.value:Ke=tr.value.replace(/[\t\n]+/g," "),["[[",Ke,"]]"]}case"link":switch(Kt.originalText[tr.position.start.offset]){case"<":{let Ke="mailto:";return["<",tr.url.startsWith(Ke)&&Kt.originalText.slice(tr.position.start.offset+1,tr.position.start.offset+1+Ke.length)!==Ke?tr.url.slice(Ke.length):tr.url,">"]}case"[":return["[",qt(er,Kt,qr),"](",Mr(tr.url,")"),Yr(tr.title,Kt),")"];default:return Kt.originalText.slice(tr.position.start.offset,tr.position.end.offset)}case"image":return["![",tr.alt||"","](",Mr(tr.url,")"),Yr(tr.title,Kt),")"];case"blockquote":return["> ",J("> ",qt(er,Kt,qr))];case"heading":return["#".repeat(tr.depth)+" ",qt(er,Kt,qr)];case"code":{if(tr.isIndented){let lr=" ".repeat(4);return J(lr,[lr,...me(tr.value,L)])}let Ke=Kt.__inJsTemplate?"~":"`",Cr=Ke.repeat(Math.max(3,m(tr.value,Ke)+1));return[Cr,tr.lang||"",tr.meta?" "+tr.meta:"",L,...me(M(tr,Kt.originalText),L),L,Cr]}case"html":{let Ke=er.getParentNode(),Cr=Ke.type==="root"&&l(Ke.children)===tr?tr.value.trimEnd():tr.value,lr=/^<!--.*-->$/s.test(Cr);return me(Cr,lr?L:N(B))}case"list":{let Ke=Pe(tr,er.getParentNode()),Cr=z(tr,Kt);return qt(er,Kt,qr,{processor:(lr,_r)=>{let Kn=Pr(),Fn=lr.getValue();if(Fn.children.length===2&&Fn.children[1].type==="html"&&Fn.children[0].position.start.column!==Fn.children[1].position.start.column)return[Kn,gt(lr,Kt,qr,Kn)];return[Kn,J(" ".repeat(Kn.length),gt(lr,Kt,qr,Kn))];function Pr(){let W=tr.ordered?(_r===0?tr.start:Cr?1:tr.start+_r)+(Ke%2===0?". ":") "):Ke%2===0?"- ":"* ";return tr.isAligned||tr.hasIndentedCodeblock?Ue(W,Kt):W}}})}case"thematicBreak":{let Ke=Ut(er,"list");return Ke===-1?"---":Pe(er.getParentNode(Ke),er.getParentNode(Ke+1))%2===0?"***":"---"}case"linkReference":return["[",qt(er,Kt,qr),"]",tr.referenceType==="full"?["[",tr.identifier,"]"]:tr.referenceType==="collapsed"?"[]":""];case"imageReference":switch(tr.referenceType){case"full":return["![",tr.alt||"","][",tr.identifier,"]"];default:return["![",tr.alt,"]",tr.referenceType==="collapsed"?"[]":""]}case"definition":{let Ke=Kt.proseWrap==="always"?A:" ";return H(["[",tr.identifier,"]:",oe([Ke,Mr(tr.url),tr.title===null?"":[Ke,Yr(tr.title,Kt,!1)]])])}case"footnote":return["[^",qt(er,Kt,qr),"]"];case"footnoteReference":return["[^",tr.identifier,"]"];case"footnoteDefinition":{let Ke=er.getParentNode().children[er.getName()+1],Cr=tr.children.length===1&&tr.children[0].type==="paragraph"&&(Kt.proseWrap==="never"||Kt.proseWrap==="preserve"&&tr.children[0].position.start.line===tr.children[0].position.end.line);return["[^",tr.identifier,"]: ",Cr?qt(er,Kt,qr):H([J(" ".repeat(4),qt(er,Kt,qr,{processor:(lr,_r)=>_r===0?H([P,qr()]):qr()})),Ke&&Ke.type==="footnoteDefinition"?P:""])]}case"table":return He(er,Kt,qr);case"tableCell":return qt(er,Kt,qr);case"break":return/\s/.test(Kt.originalText[tr.position.start.offset])?[" ",N(B)]:["\\",L];case"liquidNode":return me(tr.value,L);case"importExport":return[tr.value,L];case"esComment":return["{/* ",tr.value," */}"];case"jsx":return tr.value;case"math":return["$$",L,tr.value?[...me(tr.value,L),L]:"","$$"];case"inlineMath":return Kt.originalText.slice(Q(tr),I(tr));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(tr.type)}`)}}function gt(er,Kt,qr,tr){let Ke=er.getValue(),Cr=Ke.checked===null?"":Ke.checked?"[x] ":"[ ] ";return[Cr,qt(er,Kt,qr,{processor:(lr,_r)=>{if(_r===0&&lr.getValue().type!=="list")return J(" ".repeat(Cr.length),qr());let Kn=" ".repeat(Zn(Kt.tabWidth-tr.length,0,3));return[Kn,J(Kn,qr())]}})]}function Ue(er,Kt){let qr=tr();return er+" ".repeat(qr>=4?0:qr);function tr(){let Ke=er.length%Kt.tabWidth;return Ke===0?0:Kt.tabWidth-Ke}}function Pe(er,Kt){return dt(er,Kt,qr=>qr.ordered===er.ordered)}function dt(er,Kt,qr){let tr=-1;for(let Ke of Kt.children)if(Ke.type===er.type&&qr(Ke)?tr++:tr=-1,Ke===er)return tr}function Ut(er,Kt){let qr=Array.isArray(Kt)?Kt:[Kt],tr=-1,Ke;for(;Ke=er.getParentNode(++tr);)if(qr.includes(Ke.type))return tr;return-1}function vt(er,Kt){let qr=Ut(er,Kt);return qr===-1?null:er.getParentNode(qr)}function Zt(er,Kt,qr){if(qr.proseWrap==="preserve"&&Kt===`
122
+ `)return L;let tr=qr.proseWrap==="always"&&!vt(er,Le);return Kt!==""?tr?A:" ":tr?P:""}function He(er,Kt,qr){let tr=er.getValue(),Ke=[],Cr=er.map(W=>W.map((at,Jt)=>{let nn=de(qr(),Kt).formatted,_i=d(nn);return Ke[Jt]=Math.max(Ke[Jt]||3,_i),{text:nn,width:_i}},"children"),"children"),lr=Kn(!1);if(Kt.proseWrap!=="never")return[v,lr];let _r=Kn(!0);return[v,H(_(_r,lr))];function Kn(W){let at=[Pr(Cr[0],W),Fn(W)];return Cr.length>1&&at.push(C(G,Cr.slice(1).map(Jt=>Pr(Jt,W)))),C(G,at)}function Fn(W){return`| ${Ke.map((at,Jt)=>{let nn=tr.align[Jt],_i=nn==="center"||nn==="left"?":":"-",e=nn==="center"||nn==="right"?":":"-",n=W?"-":"-".repeat(at-2);return`${_i}${n}${e}`}).join(" | ")} |`}function Pr(W,at){return`| ${W.map((Jt,nn)=>{let{text:_i,width:e}=Jt;if(at)return _i;let n=Ke[nn]-e,o=tr.align[nn],u=0;o==="right"?u=n:o==="center"&&(u=Math.floor(n/2));let p=n-u;return`${" ".repeat(u)}${_i}${" ".repeat(p)}`}).join(" | ")} |`}}function ut(er,Kt,qr){let tr=[],Ke=null,{children:Cr}=er.getValue();for(let[lr,_r]of Cr.entries())switch(ct(_r)){case"start":Ke===null&&(Ke={index:lr,offset:_r.position.end.offset});break;case"end":Ke!==null&&(tr.push({start:Ke,end:{index:lr,offset:_r.position.start.offset}}),Ke=null);break}return qt(er,Kt,qr,{processor:(lr,_r)=>{if(tr.length>0){let Kn=tr[0];if(_r===Kn.start.index)return[Yt(Cr[Kn.start.index]),Kt.originalText.slice(Kn.start.offset,Kn.end.offset),Yt(Cr[Kn.end.index])];if(Kn.start.index<_r&&_r<Kn.end.index)return!1;if(_r===Kn.end.index)return tr.shift(),!1}return qr()}})}function qt(er,Kt,qr){let tr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Ke}=tr,Cr=tr.processor||(()=>qr()),lr=er.getValue(),_r=[],Kn;return er.each((Fn,Pr)=>{let W=Fn.getValue(),at=Cr(Fn,Pr);if(at!==!1){let Jt={parts:_r,prevNode:Kn,parentNode:lr,options:Kt};Ye(W,Jt)&&(_r.push(L),Kn&&$e.has(Kn.type)||(yt(W,Jt)||Lt(W,Jt))&&_r.push(L),Lt(W,Jt)&&_r.push(L)),_r.push(at),Kn=W}},"children"),Ke?Ke(_r):_r}function Yt(er){if(er.type==="html")return er.value;if(er.type==="paragraph"&&Array.isArray(er.children)&&er.children.length===1&&er.children[0].type==="esComment")return["{/* ",er.children[0].value," */}"]}function xn(er){let Kt=er;for(;y(Kt.children);)Kt=l(Kt.children);return Kt}function ct(er){let Kt;if(er.type==="html")Kt=er.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let qr;er.type==="esComment"?qr=er:er.type==="paragraph"&&er.children.length===1&&er.children[0].type==="esComment"&&(qr=er.children[0]),qr&&(Kt=qr.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Kt?Kt[1]||"next":!1}function Ye(er,Kt){let qr=Kt.parts.length===0,tr=ee.includes(er.type),Ke=er.type==="html"&&Ae.includes(Kt.parentNode.type);return!qr&&!tr&&!Ke}function yt(er,Kt){var qr,tr,Ke;let Cr=(Kt.prevNode&&Kt.prevNode.type)===er.type&&et.has(er.type),lr=Kt.parentNode.type==="listItem"&&!Kt.parentNode.loose,_r=((qr=Kt.prevNode)===null||qr===void 0?void 0:qr.type)==="listItem"&&Kt.prevNode.loose,Kn=ct(Kt.prevNode)==="next",Fn=er.type==="html"&&((tr=Kt.prevNode)===null||tr===void 0?void 0:tr.type)==="html"&&Kt.prevNode.position.end.line+1===er.position.start.line,Pr=er.type==="html"&&Kt.parentNode.type==="listItem"&&((Ke=Kt.prevNode)===null||Ke===void 0?void 0:Ke.type)==="paragraph"&&Kt.prevNode.position.end.line+1===er.position.start.line;return _r||!(Cr||lr||Kn||Fn||Pr)}function Lt(er,Kt){let qr=Kt.prevNode&&Kt.prevNode.type==="list",tr=er.type==="code"&&er.isIndented;return qr&&tr}function ar(er){let Kt=vt(er,["linkReference","imageReference"]);return Kt&&(Kt.type!=="linkReference"||Kt.referenceType!=="full")}function Mr(er){let Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],qr=[" ",...Array.isArray(Kt)?Kt:[Kt]];return new RegExp(qr.map(tr=>`\\${tr}`).join("|")).test(er)?`<${er}>`:er}function Yr(er,Kt){let qr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!er)return"";if(qr)return" "+Yr(er,Kt,!1);if(er=er.replace(/\\(["')])/g,"$1"),er.includes('"')&&er.includes("'")&&!er.includes(")"))return`(${er})`;let tr=er.split("'").length-1,Ke=er.split('"').length-1,Cr=tr>Ke?'"':Ke>tr||Kt.singleQuote?"'":'"';return er=er.replace(/\\/,"\\\\"),er=er.replace(new RegExp(`(${Cr})`,"g"),"\\$1"),`${Cr}${er}${Cr}`}function Zn(er,Kt,qr){return er<Kt?Kt:er>qr?qr:er}function zi(er){let Kt=Number(er.getName());if(Kt===0)return!1;let qr=er.getParentNode().children[Kt-1];return ct(qr)==="next"}a.exports={preprocess:U,print:Se,embed:ze,massageAstNode:T,hasPrettierIgnore:zi,insertPragma:O}}}),lt=Be({"src/language-markdown/options.js"(r,a){it();var l=Jo();a.exports={proseWrap:l.proseWrap,singleQuote:l.singleQuote}}}),Ct=Be({"src/language-markdown/parsers.js"(){it()}}),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}}}),hn=Be({"src/language-markdown/index.js"(r,a){it();var l=Ka(),f=Ne(),m=lt(),d=Ct(),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}}}),Rn=Be({"src/language-html/clean.js"(r,a){it();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}}),$n=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){it();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){it();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}=$n(),P=Di(),_=new Set([" ",`
123
+ `,"\f","\r"," "]),R=W=>W.replace(/^[\t\n\f\r ]+/,""),J=W=>W.replace(/[\t\n\f\r ]+$/,""),oe=W=>R(J(W)),H=W=>W.replace(/^[\t\f\r ]*\n/g,""),G=W=>H(J(W)),ne=W=>W.split(/[\t\n\f\r ]+/),me=W=>W.match(/^[\t\n\f\r ]*/)[0],de=W=>{let[,at,Jt,nn]=W.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:at,trailingWhitespace:nn,text:Jt}},ze=W=>/[\t\n\f\r ]/.test(W);function O(W,at){return!!(W.type==="ieConditionalComment"&&W.lastChild&&!W.lastChild.isSelfClosing&&!W.lastChild.endSourceSpan||W.type==="ieConditionalComment"&&!W.complete||Lt(W)&&W.children.some(Jt=>Jt.type!=="text"&&Jt.type!=="interpolation")||lr(W,at)&&!T(W)&&W.type!=="interpolation")}function Q(W){return W.type==="attribute"||!W.parent||!W.prev?!1:I(W.prev)}function I(W){return W.type==="comment"&&W.value.trim()==="prettier-ignore"}function U(W){return W.type==="text"||W.type==="comment"}function T(W){return W.type==="element"&&(W.fullName==="script"||W.fullName==="style"||W.fullName==="svg:style"||P(W)&&(W.name==="script"||W.name==="style"))}function M(W){return W.children&&!T(W)}function z(W){return T(W)||W.type==="interpolation"||ie(W)}function ie(W){return Zn(W).startsWith("pre")}function K(W,at){let Jt=nn();if(Jt&&!W.prev&&W.parent&&W.parent.tagDefinition&&W.parent.tagDefinition.ignoreFirstLf)return W.type==="interpolation";return Jt;function nn(){return f(W)?!1:(W.type==="text"||W.type==="interpolation")&&W.prev&&(W.prev.type==="text"||W.prev.type==="interpolation")?!0:!W.parent||W.parent.cssDisplay==="none"?!1:Lt(W.parent)?!0:!(!W.prev&&(W.parent.type==="root"||Lt(W)&&W.parent||T(W.parent)||Ke(W.parent,at)||!Yt(W.parent.cssDisplay))||W.prev&&!Ye(W.prev.cssDisplay))}}function ee(W,at){return f(W)?!1:(W.type==="text"||W.type==="interpolation")&&W.next&&(W.next.type==="text"||W.next.type==="interpolation")?!0:!W.parent||W.parent.cssDisplay==="none"?!1:Lt(W.parent)?!0:!(!W.next&&(W.parent.type==="root"||Lt(W)&&W.parent||T(W.parent)||Ke(W.parent,at)||!xn(W.parent.cssDisplay))||W.next&&!ct(W.next.cssDisplay))}function Ae(W){return yt(W.cssDisplay)&&!T(W)}function je(W){return f(W)||W.next&&W.sourceSpan.end&&W.sourceSpan.end.line+1<W.next.sourceSpan.start.line}function $e(W){return Le(W)||W.type==="element"&&W.children.length>0&&(["body","script","style"].includes(W.name)||W.children.some(at=>vt(at)))||W.firstChild&&W.firstChild===W.lastChild&&W.firstChild.type!=="text"&&Ue(W.firstChild)&&(!W.lastChild.isTrailingSpaceSensitive||Pe(W.lastChild))}function Le(W){return W.type==="element"&&W.children.length>0&&(["html","head","ul","ol","select"].includes(W.name)||W.cssDisplay.startsWith("table")&&W.cssDisplay!=="table-cell")}function et(W){return dt(W)||W.prev&&Se(W.prev)||gt(W)}function Se(W){return dt(W)||W.type==="element"&&W.fullName==="br"||gt(W)}function gt(W){return Ue(W)&&Pe(W)}function Ue(W){return W.hasLeadingSpaces&&(W.prev?W.prev.sourceSpan.end.line<W.sourceSpan.start.line:W.parent.type==="root"||W.parent.startSourceSpan.end.line<W.sourceSpan.start.line)}function Pe(W){return W.hasTrailingSpaces&&(W.next?W.next.sourceSpan.start.line>W.sourceSpan.end.line:W.parent.type==="root"||W.parent.endSourceSpan&&W.parent.endSourceSpan.start.line>W.sourceSpan.end.line)}function dt(W){switch(W.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(W.name)}return!1}function Ut(W){return W.lastChild?Ut(W.lastChild):W}function vt(W){return W.children&&W.children.some(at=>at.type!=="text")}function Zt(W){let{type:at,lang:Jt}=W.attrMap;if(at==="module"||at==="text/javascript"||at==="text/babel"||at==="application/javascript"||Jt==="jsx")return"babel";if(at==="application/x-typescript"||Jt==="ts"||Jt==="tsx")return"typescript";if(at==="text/markdown")return"markdown";if(at==="text/html")return"html";if(at&&(at.endsWith("json")||at.endsWith("importmap"))||at==="speculationrules")return"json";if(at==="text/x-handlebars-template")return"glimmer"}function He(W,at){let{lang:Jt}=W.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",at)}function ut(W,at){if(W.name==="script"&&!W.attrMap.src)return!W.attrMap.lang&&!W.attrMap.type?"babel":Zt(W);if(W.name==="style")return He(W,at);if(at&&lr(W,at))return Zt(W)||!("src"in W.attrMap)&&l(W.attrMap.lang,at)}function qt(W){return W==="block"||W==="list-item"||W.startsWith("table")}function Yt(W){return!qt(W)&&W!=="inline-block"}function xn(W){return!qt(W)&&W!=="inline-block"}function ct(W){return!qt(W)}function Ye(W){return!qt(W)}function yt(W){return!qt(W)&&W!=="inline-block"}function Lt(W){return Zn(W).startsWith("pre")}function ar(W,at){let Jt=0;for(let nn=W.stack.length-1;nn>=0;nn--){let _i=W.stack[nn];_i&&typeof _i=="object"&&!Array.isArray(_i)&&at(_i)&&Jt++}return Jt}function Mr(W,at){let Jt=W;for(;Jt;){if(at(Jt))return!0;Jt=Jt.parent}return!1}function Yr(W,at){if(W.prev&&W.prev.type==="comment"){let nn=W.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(nn)return nn[1]}let Jt=!1;if(W.type==="element"&&W.namespace==="svg")if(Mr(W,nn=>nn.fullName==="svg:foreignObject"))Jt=!0;else return W.name==="svg"?"inline-block":"block";switch(at.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return at.parser==="vue"&&W.parent&&W.parent.type==="root"?"block":W.type==="element"&&(!W.namespace||Jt||P(W))&&A[W.name]||B}}function Zn(W){return W.type==="element"&&(!W.namespace||P(W))&&N[W.name]||L}function zi(W){let at=Number.POSITIVE_INFINITY;for(let Jt of W.split(`
124
+ `)){if(Jt.length===0)continue;if(!_.has(Jt[0]))return 0;let nn=me(Jt).length;Jt.length!==nn&&nn<at&&(at=nn)}return at===Number.POSITIVE_INFINITY?0:at}function er(W){let at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:zi(W);return at===0?W:W.split(`
125
+ `).map(Jt=>Jt.slice(at)).join(`
126
+ `)}function Kt(W,at){let Jt=0;for(let nn=0;nn<W.length;nn++)W[nn]===at&&Jt++;return Jt}function qr(W){return W.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var tr=new Set(["template","style","script"]);function Ke(W,at){return Cr(W,at)&&!tr.has(W.fullName)}function Cr(W,at){return at.parser==="vue"&&W.type==="element"&&W.parent.type==="root"&&W.fullName.toLowerCase()!=="html"}function lr(W,at){return Cr(W,at)&&(Ke(W,at)||W.attrMap.lang&&W.attrMap.lang!=="html")}function _r(W){let at=W.fullName;return at.charAt(0)==="#"||at==="slot-scope"||at==="v-slot"||at.startsWith("v-slot:")}function Kn(W,at){let Jt=W.parent;if(!Cr(Jt,at))return!1;let nn=Jt.fullName,_i=W.fullName;return nn==="script"&&_i==="setup"||nn==="style"&&_i==="vars"}function Fn(W){let at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W.value;return W.parent.isWhitespaceSensitive?W.parent.isIndentationSensitive?C(at):C(er(G(at)),d):v(y(m,ne(at)))}function Pr(W,at){return Cr(W,at)&&W.name==="script"}a.exports={htmlTrim:oe,htmlTrimPreserveIndentation:G,hasHtmlWhitespace:ze,getLeadingAndTrailingHtmlWhitespace:de,canHaveInterpolation:M,countChars:Kt,countParents:ar,dedentString:er,forceBreakChildren:Le,forceBreakContent:$e,forceNextEmptyLine:je,getLastDescendant:Ut,getNodeCssStyleDisplay:Yr,getNodeCssStyleWhiteSpace:Zn,hasPrettierIgnore:Q,inferScriptParser:ut,isVueCustomBlock:Ke,isVueNonHtmlBlock:lr,isVueScriptTag:Pr,isVueSlotAttribute:_r,isVueSfcBindingsAttribute:Kn,isVueSfcBlock:Cr,isDanglingSpaceSensitiveNode:Ae,isIndentationSensitiveNode:ie,isLeadingSpaceSensitiveNode:K,isPreLikeNode:Lt,isScriptLikeTag:T,isTextLikeNode:U,isTrailingSpaceSensitiveNode:ee,isWhitespaceSensitiveNode:z,isUnknownNamespace:P,preferHardlineAsLeadingSpaces:et,preferHardlineAsTrailingSpaces:Se,shouldPreserveContent:O,unescapeQuoteEntities:qr,getTextValueParts:Fn}}}),on=Be({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(r){it(),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){it(),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){it(),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),ie=0;ie<M;ie++)z[ie]=arguments[ie];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 ie=T.indexOf(M);return ie==-1?z:[T.slice(0,ie).trim(),T.slice(ie+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(ie=>{z[ie]=y(T[ie],this,M)}),z}visitPrimitive(T,M){return T}visitOther(T,M){return T}};r.ValueTransformer=A,r.SyncAsync={assertSync:T=>{if(de(T))throw new Error("Illegal state: value cannot be a promise");return T},then:(T,M)=>de(T)?T.then(M):M(T),all:T=>T.some(de)?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 ie=T.charCodeAt(z);if(ie>=55296&&ie<=56319&&T.length>z+1){let K=T.charCodeAt(z+1);K>=56320&&K<=57343&&(z++,ie=(ie-55296<<10)+K-56320+65536)}ie<=127?M+=String.fromCharCode(ie):ie<=2047?M+=String.fromCharCode(ie>>6&31|192,ie&63|128):ie<=65535?M+=String.fromCharCode(ie>>12|224,ie>>6&63|128,ie&63|128):ie<=2097151&&(M+=String.fromCharCode(ie>>18&7|240,ie>>12&63|128,ie>>6&63|128,ie&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 de(T){return!!T&&typeof T.then=="function"}r.isPromise=de;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}}),wn=Be({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(r){it(),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 ie=z.reference;if(ie instanceof a.StaticSymbol)return ie.name;if(ie.__anonymousType)return ie.__anonymousType;let K=l.stringify(ie);return K.indexOf("(")>=0?(K=`anonymous_${d++}`,ie.__anonymousType=K):K=m(K),K}r.identifierName=y;function v(z){let ie=z.reference;return ie instanceof a.StaticSymbol?ie.filePath:`./${l.stringify(ie)}`}r.identifierModuleUrl=v;function C(z,ie){return`View_${y({reference:z})}_${ie}`}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:ie,styleUrls:K}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=z||null,this.styles=de(ie),this.styleUrls=de(K)}};r.CompileStylesheetMetadata=R;var J=class{constructor(z){let{encapsulation:ie,template:K,templateUrl:ee,htmlAst:Ae,styles:je,styleUrls:$e,externalStylesheets:Le,animations:et,ngContentSelectors:Se,interpolation:gt,isInline:Ue,preserveWhitespaces:Pe}=z;if(this.encapsulation=ie,this.template=K,this.templateUrl=ee,this.htmlAst=Ae,this.styles=de(je),this.styleUrls=de($e),this.externalStylesheets=de(Le),this.animations=et?O(et):[],this.ngContentSelectors=Se||[],gt&&gt.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=gt,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:ie,type:K,isComponent:ee,selector:Ae,exportAs:je,changeDetection:$e,inputs:Le,outputs:et,host:Se,providers:gt,viewProviders:Ue,queries:Pe,guards:dt,viewQueries:Ut,entryComponents:vt,template:Zt,componentViewType:He,rendererType:ut,componentFactory:qt}=z,Yt={},xn={},ct={};Se!=null&&Object.keys(Se).forEach(Lt=>{let ar=Se[Lt],Mr=Lt.match(f);Mr===null?ct[Lt]=ar:Mr[1]!=null?xn[Mr[1]]=ar:Mr[2]!=null&&(Yt[Mr[2]]=ar)});let Ye={};Le!=null&&Le.forEach(Lt=>{let ar=l.splitAtColon(Lt,[Lt,Lt]);Ye[ar[0]]=ar[1]});let yt={};return et!=null&&et.forEach(Lt=>{let ar=l.splitAtColon(Lt,[Lt,Lt]);yt[ar[0]]=ar[1]}),new oe({isHost:ie,type:K,isComponent:!!ee,selector:Ae,exportAs:je,changeDetection:$e,inputs:Ye,outputs:yt,hostListeners:Yt,hostProperties:xn,hostAttributes:ct,providers:gt,viewProviders:Ue,queries:Pe,guards:dt,viewQueries:Ut,entryComponents:vt,template:Zt,componentViewType:He,rendererType:ut,componentFactory:qt})}constructor(z){let{isHost:ie,type:K,isComponent:ee,selector:Ae,exportAs:je,changeDetection:$e,inputs:Le,outputs:et,hostListeners:Se,hostProperties:gt,hostAttributes:Ue,providers:Pe,viewProviders:dt,queries:Ut,guards:vt,viewQueries:Zt,entryComponents:He,template:ut,componentViewType:qt,rendererType:Yt,componentFactory:xn}=z;this.isHost=!!ie,this.type=K,this.isComponent=ee,this.selector=Ae,this.exportAs=je,this.changeDetection=$e,this.inputs=Le,this.outputs=et,this.hostListeners=Se,this.hostProperties=gt,this.hostAttributes=Ue,this.providers=de(Pe),this.viewProviders=de(dt),this.queries=de(Ut),this.guards=vt,this.viewQueries=de(Zt),this.entryComponents=de(He),this.template=ut,this.componentViewType=qt,this.rendererType=Yt,this.componentFactory=xn}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:ie,name:K,pure:ee}=z;this.type=ie,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:ie,providers:K,declaredDirectives:ee,exportedDirectives:Ae,declaredPipes:je,exportedPipes:$e,entryComponents:Le,bootstrapComponents:et,importedModules:Se,exportedModules:gt,schemas:Ue,transitiveModule:Pe,id:dt}=z;this.type=ie||null,this.declaredDirectives=de(ee),this.exportedDirectives=de(Ae),this.declaredPipes=de(je),this.exportedPipes=de($e),this.providers=de(K),this.entryComponents=de(Le),this.bootstrapComponents=de(et),this.importedModules=de(Se),this.exportedModules=de(gt),this.schemas=de(Ue),this.id=dt||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,ie){this.providers.push({provider:z,module:ie})}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 de(z){return z||[]}var ze=class{constructor(z,ie){let{useClass:K,useValue:ee,useExisting:Ae,useFactory:je,deps:$e,multi:Le}=ie;this.token=z,this.useClass=K||null,this.useValue=ee,this.useExisting=Ae,this.useFactory=je||null,this.dependencies=$e||null,this.multi=!!Le}};r.ProviderMeta=ze;function O(z){return z.reduce((ie,K)=>{let ee=Array.isArray(K)?O(K):K;return ie.concat(ee)},[])}r.flatten=O;function Q(z){return z.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function I(z,ie,K){let ee;return K.isInline?ie.type.reference instanceof a.StaticSymbol?ee=`${ie.type.reference.filePath}.${ie.type.reference.name}.html`:ee=`${y(z)}/${y(ie.type)}.html`:ee=K.templateUrl,ie.type.reference instanceof a.StaticSymbol?ee:Q(ee)}r.templateSourceUrl=I;function U(z,ie){let K=z.moduleUrl.split(/\/\\/g),ee=K[K.length-1];return Q(`css/${ie}${ee}.ngstyle.js`)}r.sharedStylesheetJitUrl=U;function T(z){return Q(`${y(z.type)}/module.ngfactory.js`)}r.ngModuleJitUrl=T;function M(z,ie){return Q(`${y(z)}/${y(ie.type)}.ngfactory.js`)}r.templateJitUrl=M}}),Wr=Be({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(r){it(),Object.defineProperty(r,"__esModule",{value:!0});var a=on(),l=wn(),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}}),yn=Be({"src/language-html/print-preprocess.js"(r,a){it();var{ParseSourceSpan:l}=Wr(),{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,de,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 ie=0;ie<z.children.length;ie++){let K=z.children[ie];if(!M(K))continue;let ee=K.prev,Ae=K.firstChild;z.removeChild(ee),ie--;let je=new l(ee.sourceSpan.start,Ae.sourceSpan.end),$e=new l(je.start,K.sourceSpan.end);K.condition=ee.condition,K.sourceSpan=$e,K.startSourceSpan=je,K.removeChild(Ae)}})}function H(T,M,z){T.walk(ie=>{if(ie.children)for(let K=0;K<ie.children.length;K++){let ee=ie.children[K];if(ee.type!=="text"&&!M(ee))continue;ee.type!=="text"&&(ee.type="text",ee.value=z(ee));let Ae=ee.prev;!Ae||Ae.type!=="text"||(Ae.value+=ee.value,Ae.sourceSpan=new l(Ae.sourceSpan.start,ee.sourceSpan.end),ie.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 ie=0;ie<z.children.length;ie++){let K=z.children[ie];if(!M(K))continue;let ee=K.prev,Ae=K.next;ee.value+=`<${K.rawName}>`+K.firstChild.value+`</${K.rawName}>`+Ae.value,ee.sourceSpan=new l(ee.sourceSpan.start,Ae.sourceSpan.end),ee.isTrailingSpaceSensitive=Ae.isTrailingSpaceSensitive,ee.hasTrailingSpaces=Ae.hasTrailingSpaces,z.removeChild(K),ie--,z.removeChild(Ae)}})}function me(T,M){if(M.parser==="html")return;let z=/{{(.+?)}}/s;T.walk(ie=>{if(y(ie))for(let K of ie.children){if(K.type!=="text")continue;let ee=K.sourceSpan.start,Ae=null,je=K.value.split(z);for(let $e=0;$e<je.length;$e++,ee=Ae){let Le=je[$e];if($e%2===0){Ae=ee.moveBy(Le.length),Le.length>0&&ie.insertChildBefore(K,{type:"text",value:Le,sourceSpan:new l(ee,Ae)});continue}Ae=ee.moveBy(Le.length+4),ie.insertChildBefore(K,{type:"interpolation",sourceSpan:new l(ee,Ae),children:Le.length===0?[]:[{type:"text",value:Le,sourceSpan:new l(ee.moveBy(2),Ae.moveBy(-2))}]})}ie.removeChild(K)}})}function de(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),ie=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:Ae,text:je,trailingWhitespace:$e}=m(ee.value),Le=ee.prev,et=ee.next;je?(ee.value=je,ee.sourceSpan=new l(ee.sourceSpan.start.moveBy(Ae.length),ee.sourceSpan.end.moveBy(-$e.length)),Ae&&(Le&&(Le.hasTrailingSpaces=!0),ee.hasLeadingSpaces=!0),$e&&(ee.hasTrailingSpaces=!0,et&&(et.hasLeadingSpaces=!0))):(M.removeChild(ee),K--,(Ae||$e)&&(Le&&(Le.hasTrailingSpaces=!0),et&&(et.hasLeadingSpaces=!0)))}M.isWhitespaceSensitive=z,M.isIndentationSensitive=ie})}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:ie}=z;if(ie){if(ie.length===0){z.isDanglingSpaceSensitive=C(z);return}for(let K of ie)K.isLeadingSpaceSensitive=B(K,M),K.isTrailingSpaceSensitive=N(K,M);for(let K=0;K<ie.length;K++){let ee=ie[K];ee.isLeadingSpaceSensitive=(K===0||ee.prev.isTrailingSpaceSensitive)&&ee.isLeadingSpaceSensitive,ee.isTrailingSpaceSensitive=(K===ie.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:ie}=z.attrMap;(ie==="ts"||ie==="typescript")&&(M.__should_parse_vue_template_with_ts=!0)}}a.exports=R}}),Or=Be({"src/language-html/pragma.js"(r,a){it();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){it();function l(m){return m.sourceSpan.start.offset}function f(m){return m.sourceSpan.end.offset}a.exports={locStart:l,locEnd:f}}}),Xi=Be({"src/language-html/print/tag.js"(r,a){it();var l=ii(),{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,gt){return[Se.isSelfClosing?"":G(Se,gt),ne(Se,gt)]}function G(Se,gt){return Se.lastChild&&T(Se.lastChild)?"":[me(Se,gt),ze(Se,gt)]}function ne(Se,gt){return(Se.next?I(Se.next):U(Se.parent))?"":[O(Se,gt),de(Se,gt)]}function me(Se,gt){return U(Se)?O(Se.lastChild,gt):""}function de(Se,gt){return T(Se)?ze(Se.parent,gt):M(Se)?Le(Se.next):""}function ze(Se,gt){if(l(!Se.isSelfClosing),Q(Se,gt))return"";switch(Se.type){case"ieConditionalComment":return"<!";case"element":if(Se.hasHtmComponentClosingTag)return"<//";default:return`</${Se.rawName}`}}function O(Se,gt){if(Q(Se,gt))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,gt){return!Se.isSelfClosing&&!Se.endSourceSpan&&(R(Se)||J(Se.parent,gt))}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 gt=Se.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return gt?gt[1]?gt[1].split(/\s+/):!0:!1}function ie(Se){return!Se.prev&&Se.isLeadingSpaceSensitive&&!Se.hasLeadingSpaces}function K(Se,gt,Ue){let Pe=Se.getValue();if(!f(Pe.attrs))return Pe.isSelfClosing?" ":"";let dt=Pe.prev&&Pe.prev.type==="comment"&&z(Pe.prev.value),Ut=typeof dt=="boolean"?()=>dt:Array.isArray(dt)?qt=>dt.includes(qt.rawName):()=>!1,vt=Se.map(qt=>{let Yt=qt.getValue();return Ut(Yt)?A(gt.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=gt.singleAttributePerLine&&Pe.attrs.length>1&&!oe(Pe,gt)?C:y,ut=[m([Zt?" ":y,d(He,vt)])];return Pe.firstChild&&ie(Pe.firstChild)||Pe.isSelfClosing&&U(Pe.parent)||Zt?ut.push(Pe.isSelfClosing?" ":""):ut.push(gt.bracketSameLine?Pe.isSelfClosing?" ":"":Pe.isSelfClosing?y:v),ut}function ee(Se){return Se.firstChild&&ie(Se.firstChild)?"":et(Se)}function Ae(Se,gt,Ue){let Pe=Se.getValue();return[je(Pe,gt),K(Se,gt,Ue),Pe.isSelfClosing?"":ee(Pe)]}function je(Se,gt){return Se.prev&&M(Se.prev)?"":[$e(Se,gt),Le(Se)]}function $e(Se,gt){return ie(Se)?et(Se.parent):I(Se)?O(Se.prev,gt):""}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 et(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:de,printClosingTagEnd:ne,needsToBorrowLastChildClosingTagEndMarker:U,needsToBorrowParentClosingTagStartMarker:T,needsToBorrowPrevClosingTagEndMarker:I,printOpeningTag:Ae,printOpeningTagStart:je,printOpeningTagPrefix:$e,printOpeningTagStartMarker:Le,printOpeningTagEndMarker:et,needsToBorrowNextOpeningTagStartMarker:M,needsToBorrowParentOpeningTagEndMarker:ie}}}),Ss=Be({"node_modules/parse-srcset/src/parse-srcset.js"(r,a){it(),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,""),de()):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),de();return}else if(H==="(")J=J+H,oe="in parens";else if(H===""){J&&R.push(J),de();return}else J=J+H;else if(oe==="in parens")if(H===")")J=J+H,oe="in descriptor";else if(H===""){R.push(J),de();return}else J=J+H;else if(oe==="after descriptor"&&!d(H))if(H===""){de();return}else oe="in descriptor",G-=1;G+=1}}function de(){var ze=!1,O,Q,I,U,T={},M,z,ie,K,ee;for(U=0;U<R.length;U++)M=R[U],z=M[M.length-1],ie=M.substring(0,M.length-1),K=parseInt(ie,10),ee=parseFloat(ie),L.test(ie)&&z==="w"?((O||Q)&&(ze=!0),K===0?ze=!0:O=K):P.test(ie)&&z==="x"?((O||Q||I)&&(ze=!0),ee<0?ze=!0:Q=ee):L.test(ie)&&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))}}})}}),Oi=Be({"src/language-html/syntax-attribute.js"(r,a){it();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:de}=me;return de}),N=A.some(me=>{let{h:de}=me;return de}),L=A.some(me=>{let{d:de}=me;return de});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 de=me.indexOf(".");return de===-1?me.length:de}),ne=R(G);return m([",",d],J.map((me,de)=>{let ze=[me],O=H[de];if(O){let Q=oe-me.length+1,I=ne-G[de],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}}}),$i=Be({"src/language-html/syntax-vue.js"(r,a){it();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}}}),Qn=Be({"src/language-html/get-node-content.js"(r,a){it();var{needsToBorrowParentClosingTagStartMarker:l,printClosingTagStartMarker:f,needsToBorrowLastChildClosingTagEndMarker:m,printClosingTagEndMarker:d,needsToBorrowParentOpeningTagEndMarker:y,printOpeningTagEndMarker:v}=Xi();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){it();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}=Xi(),{printImgSrcset:oe,printClassNames:H}=Oi(),{printVueFor:G,printVueBindings:ne,isVueEventBindingExpression:me}=$i(),{isScriptLikeTag:de,isVueNonHtmlBlock:ze,inferScriptParser:O,htmlTrimPreserveIndentation:Q,dedentString:I,unescapeQuoteEntities:U,isVueSlotAttribute:T,isVueSfcBindingsAttribute:M,getTextValueParts:z}=li(),ie=Qn();function K(Ae,je,$e){let Le=vt=>new RegExp(vt.join("|")).test(Ae.fullName),et=()=>U(Ae.value),Se=!1,gt=(vt,Zt)=>{let He=vt.type==="NGRoot"?vt.node.type==="NGMicrosyntax"&&vt.node.body.length===1&&vt.node.body[0].type==="NGMicrosyntaxExpression"?vt.node.body[0].expression:vt.node:vt.type==="JsExpressionRoot"?vt.node:vt;He&&(He.type==="ObjectExpression"||He.type==="ArrayExpression"||Zt.parser==="__vue_expression"&&(He.type==="TemplateLiteral"||He.type==="StringLiteral"))&&(Se=!0)},Ue=vt=>f(vt),Pe=function(vt){let Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return f([d([C,vt]),Zt?C:""])},dt=vt=>Se?Ue(vt):Pe(vt),Ut=(vt,Zt)=>je(vt,Object.assign({__onHtmlBindingRoot:gt,__embeddedInHtml:!0},Zt));if(Ae.fullName==="srcset"&&(Ae.parent.fullName==="img"||Ae.parent.fullName==="source"))return Pe(oe(et()));if(Ae.fullName==="class"&&!$e.parentParser){let vt=et();if(!vt.includes("{{"))return H(vt)}if(Ae.fullName==="style"&&!$e.parentParser){let vt=et();if(!vt.includes("{{"))return Pe(Ut(vt,{parser:"css",__isHTMLStyleAttribute:!0}))}if($e.parser==="vue"){if(Ae.fullName==="v-for")return G(et(),Ut);if(T(Ae)||M(Ae,$e))return ne(et(),Ut);let vt=["^@","^v-on:"],Zt=["^:","^v-bind:"],He=["^v-"];if(Le(vt)){let ut=et(),qt=me(ut)?"__js_expression":$e.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return dt(Ut(ut,{parser:qt}))}if(Le(Zt))return dt(Ut(et(),{parser:"__vue_expression"}));if(Le(He))return dt(Ut(et(),{parser:"__js_expression"}))}if($e.parser==="angular"){let vt=(ct,Ye)=>Ut(ct,Object.assign(Object.assign({},Ye),{},{trailingComma:"none"})),Zt=["^\\*"],He=["^\\(.+\\)$","^on-"],ut=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],qt=["^i18n(-.+)?$"];if(Le(He))return dt(vt(et(),{parser:"__ng_action"}));if(Le(ut))return dt(vt(et(),{parser:"__ng_binding"}));if(Le(qt)){let ct=et().trim();return Pe(v(z(Ae,ct)),!ct.includes("@@"))}if(Le(Zt))return dt(vt(et(),{parser:"__ng_directive"}));let Yt=/{{(.+?)}}/s,xn=et();if(Yt.test(xn)){let ct=[];for(let[Ye,yt]of xn.split(Yt).entries())if(Ye%2===0)ct.push(B(yt));else try{ct.push(f(["{{",d([y,vt(yt,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),y,"}}"]))}catch{ct.push("{{",B(yt),"}}")}return f(ct)}}return null}function ee(Ae,je,$e,Le){let et=Ae.getValue();switch(et.type){case"element":{if(de(et)||et.type==="interpolation")return;if(!et.isSelfClosing&&ze(et,Le)){let Se=O(et,Le);if(!Se)return;let gt=ie(et,Le),Ue=/^\s*$/.test(gt),Pe="";return Ue||(Pe=$e(Q(gt),{parser:Se,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Ue=Pe===""),[R(et,Le),f(J(Ae,Le,je)),Ue?"":m,Pe,Ue?"":m,L(et,Le),P(et,Le)]}break}case"text":{if(de(et.parent)){let Se=O(et.parent,Le);if(Se){let gt=Se==="markdown"?I(et.value.replace(/^[^\S\n]*\n/,"")):et.value,Ue={parser:Se,__embeddedInHtml:!0};if(Le.parser==="html"&&Se==="babel"){let Pe="script",{attrMap:dt}=et.parent;dt&&(dt.type==="module"||dt.type==="text/babel"&&dt["data-type"]==="module")&&(Pe="module"),Ue.__babelSourceType=Pe}return[l,R(et,Le),$e(gt,Ue,{stripTrailingHardline:!0}),P(et,Le)]}}else if(et.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(et.value,Se,{stripTrailingHardline:!0})]),et.parent.next&&_(et.parent.next)?" ":y]}break}case"attribute":{if(!et.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(Le.originalText.slice(et.valueSpan.start.offset,et.valueSpan.end.offset)))return[et.rawName,"=",et.value];if(Le.parser==="lwc"&&/^{.*}$/s.test(Le.originalText.slice(et.valueSpan.start.offset,et.valueSpan.end.offset)))return[et.rawName,"=",et.value];let Se=K(et,(gt,Ue)=>$e(gt,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Ue),{stripTrailingHardline:!0}),Le);if(Se)return[et.rawName,'="',f(A(Se,gt=>typeof gt=="string"?gt.replace(/"/g,"&quot;"):gt)),'"'];break}case"front-matter":return N(et,$e)}}a.exports=ee}}),vi=Be({"src/language-html/print/children.js"(r,a){it();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:de}=Xi();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&&de(I.lastChild)&&I.lastChild.lastChild&&de(I.lastChild.lastChild)?v:U.hasLeadingSpaces?d:y}function Q(I,U,T){let M=I.getValue();if(N(M))return[l,...I.map(ie=>{let K=ie.getValue(),ee=K.prev?O(K.prev,K):"";return[ee?[ee,L(K.prev)?v:""]:"",ze(ie,U,T)]},"children")];let z=M.children.map(()=>Symbol(""));return I.map((ie,K)=>{let ee=ie.getValue();if(P(ee)){if(ee.prev&&P(ee.prev)){let gt=O(ee.prev,ee);if(gt)return L(ee.prev)?[v,v,ze(ie,U,T)]:[gt,ze(ie,U,T)]}return ze(ie,U,T)}let Ae=[],je=[],$e=[],Le=[],et=ee.prev?O(ee.prev,ee):"",Se=ee.next?O(ee,ee.next):"";return et&&(L(ee.prev)?Ae.push(v,v):et===v?Ae.push(v):P(ee.prev)?je.push(et):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)),[...Ae,f([...je,f([ze(ie,U,T),...$e],{id:z[K]})]),...Le]},"children")}a.exports={printChildren:Q}}}),Ti=Be({"src/language-html/print/element.js"(r,a){it();var{builders:{breakParent:l,dedentToRoot:f,group:m,ifBreak:d,indentIfBreak:y,indent:v,line:C,softline:A},utils:{replaceTextEndOfLine:B}}=xi(),N=Qn(),{shouldPreserveContent:L,isScriptLikeTag:P,isVueCustomBlock:_,countParents:R,forceBreakContent:J}=li(),{printOpeningTagPrefix:oe,printOpeningTag:H,printClosingTagSuffix:G,printClosingTag:ne,needsToBorrowPrevClosingTagEndMarker:me,needsToBorrowLastChildClosingTagEndMarker:de}=Xi(),{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"),ie=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,Ae=()=>(T.next?me(T.next):de(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?ie(T.hasDanglingSpaces&&T.isDanglingSpaceSensitive?C:""):ie([J(T)?l:"",K([ee(),ze(Q,I,U)]),Ae()])}a.exports={printElement:O}}}),Wt=Be({"src/language-html/printer-html.js"(r,a){it();var{builders:{fill:l,group:f,hardline:m,literalline:d},utils:{cleanDoc:y,getDocParts:v,isConcat:C,replaceTextEndOfLine:A}}=xi(),B=Rn(),{countChars:N,unescapeQuoteEntities:L,getTextValueParts:P}=li(),_=yn(),{insertPragma:R}=Or(),{locStart:J,locEnd:oe}=Is(),H=Ni(),{printClosingTagSuffix:G,printClosingTagEnd:ne,printOpeningTagPrefix:me,printOpeningTagStart:de}=Xi(),{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[de(M),ne(M)];case"interpolation":return[de(M,U),...I.map(T,"children"),ne(M,U)];case"text":{if(M.parent.type==="interpolation"){let ie=/\n[^\S\n]*$/,K=ie.test(M.value),ee=K?M.value.replace(ie,""):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([de(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),ie=N(z,"'"),K=N(z,'"'),ee=ie<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}}}),br=Be({"src/language-html/options.js"(r,a){it();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."}}}}),kr=Be({"src/language-html/parsers.js"(){it()}}),Nn=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}}}),Ot=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}}}),ni=Be({"src/language-html/index.js"(r,a){it();var l=Ka(),f=Wt(),m=br(),d=kr(),y=[l(Nn(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),l(Nn(),C=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...C.extensions,".mjml"]})),l(Nn(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),l(Ot(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],v={html:f};a.exports={languages:y,printers:v,options:m,parsers:d}}}),Xn=Be({"src/language-yaml/pragma.js"(r,a){it();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){it();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){it();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){it();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 de(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 ie=M.split(`
138
+ `).map(ee=>ee.slice(z));if(T.proseWrap==="preserve"||O.type==="blockLiteral")return K(ie.map(ee=>ee.length===0?[]:[ee]));return K(ie.map(ee=>ee.length===0?[]:ne(ee)).reduce((ee,Ae,je)=>je!==0&&ie[je-1].length>0&&Ae.length>0&&!/^\s/.test(Ae[0])&&!/^\s|\s$/.test(l(ee))?[...ee.slice(0,-1),[...l(ee),...Ae]]:[...ee,Ae],[]).map(ee=>ee.reduce((Ae,je)=>Ae.length>0&&/\s$/.test(l(Ae))?[...Ae.slice(0,-1),l(Ae)+" "+je]:[...Ae,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 Ae=0;for(let je=ee.length-1;je>=0&&ee[je].length===0;je--)Ae++;return Ae===0?ee:Ae>=2&&!U?ee.slice(0,-(Ae-1)):ee.slice(0,-Ae)}}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:de,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){it();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){it();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){it();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 de=C(oe.children),ze=de&&de.type==="flowMappingItem"&&v(de.key)&&v(de.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){it();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,de,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 ie=ze("value");if(U)return[": ",R(2,ie)];if(C(I)||!_(Q.content))return["? ",R(2,M),m,y("",de.map(ze,"value","leadingComments").map(Le=>[Le,m])),": ",R(2,ie)];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,": ",ie];let K=Symbol("mappingKey"),ee=f([d("? "),f(R(2,M),{id:K})]),Ae=[m,": ",R(2,ie)],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(ie);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(Ae,$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){it();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(),de=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:de,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+de,I))),O}a.exports=oe}}),Hs=Be({"src/language-yaml/printer-yaml.js"(r,a){it();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:_}=Xn(),{locStart:R}=Ys(),J=zs(),{getFlowScalarLineContents:oe,getLastDescendantNode:H,hasLeadingComments:G,hasMiddleComments:ne,hasTrailingComment:me,hasEndComments:de,hasPrettierIgnore:ze,isLastDescendantNode:O,isNode:Q,isInlineNode:I}=Qs(),U=fo(),{alignWithSpaces:T,printNextEmptyLine:M,shouldPrintEndComments:z}=gs(),{printFlowMapping:ie,printFlowSequence:K}=Us(),ee=Aa(),Ae=ua();function je(Pe,dt,Ut){let vt=Pe.getValue(),Zt=[];vt.type!=="mappingValue"&&G(vt)&&Zt.push([y(d,Pe.map(Ut,"leadingComments")),d]);let{tag:He,anchor:ut}=vt;He&&Zt.push(Ut("tag")),He&&ut&&Zt.push(" "),ut&&Zt.push(Ut("anchor"));let qt="";Q(vt,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!O(Pe)&&(qt=M(Pe,dt.originalText)),(He||ut)&&(Q(vt,["sequence","mapping"])&&!ne(vt)?Zt.push(d):Zt.push(" ")),ne(vt)&&Zt.push([vt.middleComments.length===1?"":d,y(d,Pe.map(Ut,"middleComments")),d]);let Yt=Pe.getParentNode();return ze(Pe)?Zt.push(N(dt.originalText.slice(vt.position.start.offset,vt.position.end.offset).trimEnd(),A)):Zt.push(m($e(vt,Yt,Pe,dt,Ut))),me(vt)&&!Q(vt,["document","documentHead"])&&Zt.push(C([vt.type==="mappingValue"&&!vt.content?"":" ",Yt.type==="mappingKey"&&Pe.getParentNode(2).type==="mapping"&&I(vt)?"":l,Ut("trailingComment")])),z(vt)&&Zt.push(T(vt.type==="sequenceItem"?2:0,[d,y(d,Pe.map(xn=>[L(dt.originalText,xn.getValue(),R)?d:"",Ut()],"endComments"))])),Zt.push(qt),Zt}function $e(Pe,dt,Ut,vt,Zt){switch(Pe.type){case"root":{let{children:He}=Pe,ut=[];Ut.each((Yt,xn)=>{let ct=He[xn],Ye=He[xn+1];xn!==0&&ut.push(d),ut.push(Zt()),et(ct,Ye)?(ut.push(d,"..."),me(ct)&&ut.push(" ",Zt("trailingComment"))):Ye&&!me(Ye.head)&&ut.push(d,"---")},"children");let qt=H(Pe);return(!Q(qt,["blockLiteral","blockFolded"])||qt.chomping!=="keep")&&ut.push(d),ut}case"document":{let He=dt.children[Ut.getName()+1],ut=[];return Se(Pe,He,dt,vt)==="head"&&((Pe.head.children.length>0||Pe.head.endComments.length>0)&&ut.push(Zt("head")),me(Pe.head)?ut.push(["---"," ",Zt(["head","trailingComment"])]):ut.push("---")),Le(Pe)&&ut.push(Zt("body")),y(d,ut)}case"documentHead":return y(d,[...Ut.map(Zt,"children"),...Ut.map(Zt,"endComments")]);case"documentBody":{let{children:He,endComments:ut}=Pe,qt="";if(He.length>0&&ut.length>0){let Yt=H(Pe);Q(Yt,["blockFolded","blockLiteral"])?Yt.chomping!=="keep"&&(qt=[d,d]):qt=d}return[y(d,Ut.map(Zt,"children")),qt,y(d,Ut.map(Zt,"endComments"))]}case"directive":return["%",y(" ",[Pe.name,...Pe.parameters])];case"comment":return["#",Pe.value];case"alias":return["*",Pe.value];case"tag":return vt.originalText.slice(Pe.position.start.offset,Pe.position.end.offset);case"anchor":return["&",Pe.value];case"plain":return gt(Pe.type,vt.originalText.slice(Pe.position.start.offset,Pe.position.end.offset),vt);case"quoteDouble":case"quoteSingle":{let He="'",ut='"',qt=vt.originalText.slice(Pe.position.start.offset+1,Pe.position.end.offset-1);if(Pe.type==="quoteSingle"&&qt.includes("\\")||Pe.type==="quoteDouble"&&/\\[^"]/.test(qt)){let xn=Pe.type==="quoteDouble"?ut:He;return[xn,gt(Pe.type,qt,vt),xn]}if(qt.includes(ut))return[He,gt(Pe.type,Pe.type==="quoteDouble"?qt.replace(/\\"/g,ut).replace(/'/g,He.repeat(2)):qt,vt),He];if(qt.includes(He))return[ut,gt(Pe.type,Pe.type==="quoteSingle"?qt.replace(/''/g,He):qt,vt),ut];let Yt=vt.singleQuote?He:ut;return[Yt,gt(Pe.type,qt,vt),Yt]}case"blockFolded":case"blockLiteral":return Ae(Ut,Zt,vt);case"mapping":case"sequence":return y(d,Ut.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,dt,Ut,Zt,vt);case"flowMapping":return ie(Ut,Zt,vt);case"flowSequence":return K(Ut,Zt,vt);case"flowSequenceItem":return Zt("content");default:throw new Error(`Unexpected node type ${Pe.type}`)}}function Le(Pe){return Pe.body.children.length>0||de(Pe.body)}function et(Pe,dt){return me(Pe)||dt&&(dt.head.children.length>0||de(dt.head))}function Se(Pe,dt,Ut,vt){return Ut.children[0]===Pe&&/---(?:\s|$)/.test(vt.originalText.slice(R(Pe),R(Pe)+4))||Pe.head.children.length>0||de(Pe.head)||me(Pe.head)?"head":et(Pe,dt)?!1:dt?"root":!1}function gt(Pe,dt,Ut){let vt=oe(Pe,dt,Ut);return y(d,vt.map(Zt=>f(B(y(v,Zt)))))}function Ue(Pe,dt){if(Q(dt))switch(delete dt.position,dt.type){case"comment":if(_(dt.value))return null;break;case"quoteDouble":case"quoteSingle":dt.type="quote";break}}a.exports={preprocess:U,embed:J,print:je,massageAstNode:Ue,insertPragma:P}}}),ya=Be({"src/language-yaml/options.js"(r,a){it();var l=Jo();a.exports={bracketSpacing:l.bracketSpacing,singleQuote:l.singleQuote,proseWrap:l.proseWrap}}}),Pl=Be({"src/language-yaml/parsers.js"(){it()}}),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){it();var l=Ka(),f=Hs(),m=ya(),d=Pl(),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){it(),a.exports=[Uu(),eo(),Y(),F(),hn(),ni(),Oc()]}});it();var{version:Mc}=cn(),mo=Fo(),{getSupportInfo:Nl}=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(Nl,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 Rt()})})(Nm);const iv=zp(Nm.exports);var Bm={exports:{}};(function(i,h){(function(c){i.exports=c()})(function(){var c=(Wn,xr)=>()=>(xr||Wn((xr={exports:{}}).exports,xr),xr.exports),g=c((Wn,xr)=>{var wr=function(Dr){return Dr&&Dr.Math==Math&&Dr};xr.exports=wr(typeof globalThis=="object"&&globalThis)||wr(typeof window=="object"&&window)||wr(typeof self=="object"&&self)||wr(typeof Rl=="object"&&Rl)||function(){return this}()||Function("return this")()}),x=c((Wn,xr)=>{xr.exports=function(wr){try{return!!wr()}catch{return!0}}}),S=c((Wn,xr)=>{var wr=x();xr.exports=!wr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),q=c((Wn,xr)=>{var wr=x();xr.exports=!wr(function(){var Dr=function(){}.bind();return typeof Dr!="function"||Dr.hasOwnProperty("prototype")})}),se=c((Wn,xr)=>{var wr=q(),Dr=Function.prototype.call;xr.exports=wr?Dr.bind(Dr):function(){return Dr.apply(Dr,arguments)}}),he=c(Wn=>{var xr={}.propertyIsEnumerable,wr=Object.getOwnPropertyDescriptor,Dr=wr&&!xr.call({1:2},1);Wn.f=Dr?function(Vr){var Bt=wr(this,Vr);return!!Bt&&Bt.enumerable}:xr}),xe=c((Wn,xr)=>{xr.exports=function(wr,Dr){return{enumerable:!(wr&1),configurable:!(wr&2),writable:!(wr&4),value:Dr}}}),Te=c((Wn,xr)=>{var wr=q(),Dr=Function.prototype,Vr=Dr.bind,Bt=Dr.call,Vn=wr&&Vr.bind(Bt,Bt);xr.exports=wr?function(Xt){return Xt&&Vn(Xt)}:function(Xt){return Xt&&function(){return Bt.apply(Xt,arguments)}}}),Xe=c((Wn,xr)=>{var wr=Te(),Dr=wr({}.toString),Vr=wr("".slice);xr.exports=function(Bt){return Vr(Dr(Bt),8,-1)}}),tt=c((Wn,xr)=>{var wr=g(),Dr=Te(),Vr=x(),Bt=Xe(),Vn=wr.Object,Xt=Dr("".split);xr.exports=Vr(function(){return!Vn("z").propertyIsEnumerable(0)})?function(_n){return Bt(_n)=="String"?Xt(_n,""):Vn(_n)}:Vn}),xt=c((Wn,xr)=>{var wr=g(),Dr=wr.TypeError;xr.exports=function(Vr){if(Vr==null)throw Dr("Can't call method on "+Vr);return Vr}}),Ht=c((Wn,xr)=>{var wr=tt(),Dr=xt();xr.exports=function(Vr){return wr(Dr(Vr))}}),$t=c((Wn,xr)=>{xr.exports=function(wr){return typeof wr=="function"}}),Lr=c((Wn,xr)=>{var wr=$t();xr.exports=function(Dr){return typeof Dr=="object"?Dr!==null:wr(Dr)}}),ht=c((Wn,xr)=>{var wr=g(),Dr=$t(),Vr=function(Bt){return Dr(Bt)?Bt:void 0};xr.exports=function(Bt,Vn){return arguments.length<2?Vr(wr[Bt]):wr[Bt]&&wr[Bt][Vn]}}),kt=c((Wn,xr)=>{var wr=Te();xr.exports=wr({}.isPrototypeOf)}),Mt=c((Wn,xr)=>{var wr=ht();xr.exports=wr("navigator","userAgent")||""}),mr=c((Wn,xr)=>{var wr=g(),Dr=Mt(),Vr=wr.process,Bt=wr.Deno,Vn=Vr&&Vr.versions||Bt&&Bt.version,Xt=Vn&&Vn.v8,_n,hr;Xt&&(_n=Xt.split("."),hr=_n[0]>0&&_n[0]<4?1:+(_n[0]+_n[1])),!hr&&Dr&&(_n=Dr.match(/Edge\/(\d+)/),(!_n||_n[1]>=74)&&(_n=Dr.match(/Chrome\/(\d+)/),_n&&(hr=+_n[1]))),xr.exports=hr}),Xr=c((Wn,xr)=>{var wr=mr(),Dr=x();xr.exports=!!Object.getOwnPropertySymbols&&!Dr(function(){var Vr=Symbol();return!String(Vr)||!(Object(Vr)instanceof Symbol)||!Symbol.sham&&wr&&wr<41})}),zn=c((Wn,xr)=>{var wr=Xr();xr.exports=wr&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),dn=c((Wn,xr)=>{var wr=g(),Dr=ht(),Vr=$t(),Bt=kt(),Vn=zn(),Xt=wr.Object;xr.exports=Vn?function(_n){return typeof _n=="symbol"}:function(_n){var hr=Dr("Symbol");return Vr(hr)&&Bt(hr.prototype,Xt(_n))}}),Pn=c((Wn,xr)=>{var wr=g(),Dr=wr.String;xr.exports=function(Vr){try{return Dr(Vr)}catch{return"Object"}}}),Jn=c((Wn,xr)=>{var wr=g(),Dr=$t(),Vr=Pn(),Bt=wr.TypeError;xr.exports=function(Vn){if(Dr(Vn))return Vn;throw Bt(Vr(Vn)+" is not a function")}}),En=c((Wn,xr)=>{var wr=Jn();xr.exports=function(Dr,Vr){var Bt=Dr[Vr];return Bt==null?void 0:wr(Bt)}}),Sn=c((Wn,xr)=>{var wr=g(),Dr=se(),Vr=$t(),Bt=Lr(),Vn=wr.TypeError;xr.exports=function(Xt,_n){var hr,Nt;if(_n==="string"&&Vr(hr=Xt.toString)&&!Bt(Nt=Dr(hr,Xt))||Vr(hr=Xt.valueOf)&&!Bt(Nt=Dr(hr,Xt))||_n!=="string"&&Vr(hr=Xt.toString)&&!Bt(Nt=Dr(hr,Xt)))return Nt;throw Vn("Can't convert object to primitive value")}}),oi=c((Wn,xr)=>{xr.exports=!1}),pr=c((Wn,xr)=>{var wr=g(),Dr=Object.defineProperty;xr.exports=function(Vr,Bt){try{Dr(wr,Vr,{value:Bt,configurable:!0,writable:!0})}catch{wr[Vr]=Bt}return Bt}}),bn=c((Wn,xr)=>{var wr=g(),Dr=pr(),Vr="__core-js_shared__",Bt=wr[Vr]||Dr(Vr,{});xr.exports=Bt}),Ce=c((Wn,xr)=>{var wr=oi(),Dr=bn();(xr.exports=function(Vr,Bt){return Dr[Vr]||(Dr[Vr]=Bt!==void 0?Bt:{})})("versions",[]).push({version:"3.22.2",mode:wr?"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"})}),en=c((Wn,xr)=>{var wr=g(),Dr=xt(),Vr=wr.Object;xr.exports=function(Bt){return Vr(Dr(Bt))}}),or=c((Wn,xr)=>{var wr=Te(),Dr=en(),Vr=wr({}.hasOwnProperty);xr.exports=Object.hasOwn||function(Bt,Vn){return Vr(Dr(Bt),Vn)}}),Tn=c((Wn,xr)=>{var wr=Te(),Dr=0,Vr=Math.random(),Bt=wr(1 .toString);xr.exports=function(Vn){return"Symbol("+(Vn===void 0?"":Vn)+")_"+Bt(++Dr+Vr,36)}}),ei=c((Wn,xr)=>{var wr=g(),Dr=Ce(),Vr=or(),Bt=Tn(),Vn=Xr(),Xt=zn(),_n=Dr("wks"),hr=wr.Symbol,Nt=hr&&hr.for,Me=Xt?hr:hr&&hr.withoutSetter||Bt;xr.exports=function(St){if(!Vr(_n,St)||!(Vn||typeof _n[St]=="string")){var jt="Symbol."+St;Vn&&Vr(hr,St)?_n[St]=hr[St]:Xt&&Nt?_n[St]=Nt(jt):_n[St]=Me(jt)}return _n[St]}}),Vi=c((Wn,xr)=>{var wr=g(),Dr=se(),Vr=Lr(),Bt=dn(),Vn=En(),Xt=Sn(),_n=ei(),hr=wr.TypeError,Nt=_n("toPrimitive");xr.exports=function(Me,St){if(!Vr(Me)||Bt(Me))return Me;var jt=Vn(Me,Nt),rr;if(jt){if(St===void 0&&(St="default"),rr=Dr(jt,Me,St),!Vr(rr)||Bt(rr))return rr;throw hr("Can't convert object to primitive value")}return St===void 0&&(St="number"),Xt(Me,St)}}),as=c((Wn,xr)=>{var wr=Vi(),Dr=dn();xr.exports=function(Vr){var Bt=wr(Vr,"string");return Dr(Bt)?Bt:Bt+""}}),fs=c((Wn,xr)=>{var wr=g(),Dr=Lr(),Vr=wr.document,Bt=Dr(Vr)&&Dr(Vr.createElement);xr.exports=function(Vn){return Bt?Vr.createElement(Vn):{}}}),es=c((Wn,xr)=>{var wr=S(),Dr=x(),Vr=fs();xr.exports=!wr&&!Dr(function(){return Object.defineProperty(Vr("div"),"a",{get:function(){return 7}}).a!=7})}),ts=c(Wn=>{var xr=S(),wr=se(),Dr=he(),Vr=xe(),Bt=Ht(),Vn=as(),Xt=or(),_n=es(),hr=Object.getOwnPropertyDescriptor;Wn.f=xr?hr:function(Nt,Me){if(Nt=Bt(Nt),Me=Vn(Me),_n)try{return hr(Nt,Me)}catch{}if(Xt(Nt,Me))return Vr(!wr(Dr.f,Nt,Me),Nt[Me])}}),Ir=c((Wn,xr)=>{var wr=S(),Dr=x();xr.exports=wr&&Dr(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),jr=c((Wn,xr)=>{var wr=g(),Dr=Lr(),Vr=wr.String,Bt=wr.TypeError;xr.exports=function(Vn){if(Dr(Vn))return Vn;throw Bt(Vr(Vn)+" is not an object")}}),gr=c(Wn=>{var xr=g(),wr=S(),Dr=es(),Vr=Ir(),Bt=jr(),Vn=as(),Xt=xr.TypeError,_n=Object.defineProperty,hr=Object.getOwnPropertyDescriptor,Nt="enumerable",Me="configurable",St="writable";Wn.f=wr?Vr?function(jt,rr,Nr){if(Bt(jt),rr=Vn(rr),Bt(Nr),typeof jt=="function"&&rr==="prototype"&&"value"in Nr&&St in Nr&&!Nr[St]){var Sr=hr(jt,rr);Sr&&Sr[St]&&(jt[rr]=Nr.value,Nr={configurable:Me in Nr?Nr[Me]:Sr[Me],enumerable:Nt in Nr?Nr[Nt]:Sr[Nt],writable:!1})}return _n(jt,rr,Nr)}:_n:function(jt,rr,Nr){if(Bt(jt),rr=Vn(rr),Bt(Nr),Dr)try{return _n(jt,rr,Nr)}catch{}if("get"in Nr||"set"in Nr)throw Xt("Accessors not supported");return"value"in Nr&&(jt[rr]=Nr.value),jt}}),un=c((Wn,xr)=>{var wr=S(),Dr=gr(),Vr=xe();xr.exports=wr?function(Bt,Vn,Xt){return Dr.f(Bt,Vn,Vr(1,Xt))}:function(Bt,Vn,Xt){return Bt[Vn]=Xt,Bt}}),jn=c((Wn,xr)=>{var wr=Te(),Dr=$t(),Vr=bn(),Bt=wr(Function.toString);Dr(Vr.inspectSource)||(Vr.inspectSource=function(Vn){return Bt(Vn)}),xr.exports=Vr.inspectSource}),ci=c((Wn,xr)=>{var wr=g(),Dr=$t(),Vr=jn(),Bt=wr.WeakMap;xr.exports=Dr(Bt)&&/native code/.test(Vr(Bt))}),On=c((Wn,xr)=>{var wr=Ce(),Dr=Tn(),Vr=wr("keys");xr.exports=function(Bt){return Vr[Bt]||(Vr[Bt]=Dr(Bt))}}),Je=c((Wn,xr)=>{xr.exports={}}),Et=c((Wn,xr)=>{var wr=ci(),Dr=g(),Vr=Te(),Bt=Lr(),Vn=un(),Xt=or(),_n=bn(),hr=On(),Nt=Je(),Me="Object already initialized",St=Dr.TypeError,jt=Dr.WeakMap,rr,Nr,Sr,Rt=function(Qe){return Sr(Qe)?Nr(Qe):rr(Qe,{})},_e=function(Qe){return function(nt){var Tt;if(!Bt(nt)||(Tt=Nr(nt)).type!==Qe)throw St("Incompatible receiver, "+Qe+" required");return Tt}};wr||_n.state?(ue=_n.state||(_n.state=new jt),re=Vr(ue.get),De=Vr(ue.has),Fe=Vr(ue.set),rr=function(Qe,nt){if(De(ue,Qe))throw new St(Me);return nt.facade=Qe,Fe(ue,Qe,nt),nt},Nr=function(Qe){return re(ue,Qe)||{}},Sr=function(Qe){return De(ue,Qe)}):(Re=hr("state"),Nt[Re]=!0,rr=function(Qe,nt){if(Xt(Qe,Re))throw new St(Me);return nt.facade=Qe,Vn(Qe,Re,nt),nt},Nr=function(Qe){return Xt(Qe,Re)?Qe[Re]:{}},Sr=function(Qe){return Xt(Qe,Re)});var ue,re,De,Fe,Re;xr.exports={set:rr,get:Nr,has:Sr,enforce:Rt,getterFor:_e}}),Ar=c((Wn,xr)=>{var wr=S(),Dr=or(),Vr=Function.prototype,Bt=wr&&Object.getOwnPropertyDescriptor,Vn=Dr(Vr,"name"),Xt=Vn&&function(){}.name==="something",_n=Vn&&(!wr||wr&&Bt(Vr,"name").configurable);xr.exports={EXISTS:Vn,PROPER:Xt,CONFIGURABLE:_n}}),zr=c((Wn,xr)=>{var wr=g(),Dr=$t(),Vr=or(),Bt=un(),Vn=pr(),Xt=jn(),_n=Et(),hr=Ar().CONFIGURABLE,Nt=_n.get,Me=_n.enforce,St=String(String).split("String");(xr.exports=function(jt,rr,Nr,Sr){var Rt=Sr?!!Sr.unsafe:!1,_e=Sr?!!Sr.enumerable:!1,ue=Sr?!!Sr.noTargetGet:!1,re=Sr&&Sr.name!==void 0?Sr.name:rr,De;if(Dr(Nr)&&(String(re).slice(0,7)==="Symbol("&&(re="["+String(re).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Vr(Nr,"name")||hr&&Nr.name!==re)&&Bt(Nr,"name",re),De=Me(Nr),De.source||(De.source=St.join(typeof re=="string"?re:""))),jt===wr){_e?jt[rr]=Nr:Vn(rr,Nr);return}else Rt?!ue&&jt[rr]&&(_e=!0):delete jt[rr];_e?jt[rr]=Nr:Bt(jt,rr,Nr)})(Function.prototype,"toString",function(){return Dr(this)&&Nt(this).source||Xt(this)})}),Tr=c((Wn,xr)=>{var wr=Math.ceil,Dr=Math.floor;xr.exports=function(Vr){var Bt=+Vr;return Bt!==Bt||Bt===0?0:(Bt>0?Dr:wr)(Bt)}}),rn=c((Wn,xr)=>{var wr=Tr(),Dr=Math.max,Vr=Math.min;xr.exports=function(Bt,Vn){var Xt=wr(Bt);return Xt<0?Dr(Xt+Vn,0):Vr(Xt,Vn)}}),Gr=c((Wn,xr)=>{var wr=Tr(),Dr=Math.min;xr.exports=function(Vr){return Vr>0?Dr(wr(Vr),9007199254740991):0}}),ln=c((Wn,xr)=>{var wr=Gr();xr.exports=function(Dr){return wr(Dr.length)}}),Ln=c((Wn,xr)=>{var wr=Ht(),Dr=rn(),Vr=ln(),Bt=function(Vn){return function(Xt,_n,hr){var Nt=wr(Xt),Me=Vr(Nt),St=Dr(hr,Me),jt;if(Vn&&_n!=_n){for(;Me>St;)if(jt=Nt[St++],jt!=jt)return!0}else for(;Me>St;St++)if((Vn||St in Nt)&&Nt[St]===_n)return Vn||St||0;return!Vn&&-1}};xr.exports={includes:Bt(!0),indexOf:Bt(!1)}}),Qr=c((Wn,xr)=>{var wr=Te(),Dr=or(),Vr=Ht(),Bt=Ln().indexOf,Vn=Je(),Xt=wr([].push);xr.exports=function(_n,hr){var Nt=Vr(_n),Me=0,St=[],jt;for(jt in Nt)!Dr(Vn,jt)&&Dr(Nt,jt)&&Xt(St,jt);for(;hr.length>Me;)Dr(Nt,jt=hr[Me++])&&(~Bt(St,jt)||Xt(St,jt));return St}}),At=c((Wn,xr)=>{xr.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),dr=c(Wn=>{var xr=Qr(),wr=At(),Dr=wr.concat("length","prototype");Wn.f=Object.getOwnPropertyNames||function(Vr){return xr(Vr,Dr)}}),Vt=c(Wn=>{Wn.f=Object.getOwnPropertySymbols}),qn=c((Wn,xr)=>{var wr=ht(),Dr=Te(),Vr=dr(),Bt=Vt(),Vn=jr(),Xt=Dr([].concat);xr.exports=wr("Reflect","ownKeys")||function(_n){var hr=Vr.f(Vn(_n)),Nt=Bt.f;return Nt?Xt(hr,Nt(_n)):hr}}),ki=c((Wn,xr)=>{var wr=or(),Dr=qn(),Vr=ts(),Bt=gr();xr.exports=function(Vn,Xt,_n){for(var hr=Dr(Xt),Nt=Bt.f,Me=Vr.f,St=0;St<hr.length;St++){var jt=hr[St];!wr(Vn,jt)&&!(_n&&wr(_n,jt))&&Nt(Vn,jt,Me(Xt,jt))}}}),ds=c((Wn,xr)=>{var wr=x(),Dr=$t(),Vr=/#|\.prototype\./,Bt=function(Nt,Me){var St=Xt[Vn(Nt)];return St==hr?!0:St==_n?!1:Dr(Me)?wr(Me):!!Me},Vn=Bt.normalize=function(Nt){return String(Nt).replace(Vr,".").toLowerCase()},Xt=Bt.data={},_n=Bt.NATIVE="N",hr=Bt.POLYFILL="P";xr.exports=Bt}),Qi=c((Wn,xr)=>{var wr=g(),Dr=ts().f,Vr=un(),Bt=zr(),Vn=pr(),Xt=ki(),_n=ds();xr.exports=function(hr,Nt){var Me=hr.target,St=hr.global,jt=hr.stat,rr,Nr,Sr,Rt,_e,ue;if(St?Nr=wr:jt?Nr=wr[Me]||Vn(Me,{}):Nr=(wr[Me]||{}).prototype,Nr)for(Sr in Nt){if(_e=Nt[Sr],hr.noTargetGet?(ue=Dr(Nr,Sr),Rt=ue&&ue.value):Rt=Nr[Sr],rr=_n(St?Sr:Me+(jt?".":"#")+Sr,hr.forced),!rr&&Rt!==void 0){if(typeof _e==typeof Rt)continue;Xt(_e,Rt)}(hr.sham||Rt&&Rt.sham)&&Vr(_e,"sham",!0),Bt(Nr,Sr,_e,hr)}}}),Ds=c(()=>{var Wn=Qi(),xr=g();Wn({global:!0},{globalThis:xr})}),os=c(()=>{Ds()}),ta=c((Wn,xr)=>{os();var wr=Object.defineProperty,Dr=Object.getOwnPropertyDescriptor,Vr=Object.getOwnPropertyNames,Bt=Object.prototype.hasOwnProperty,Vn=(w,te)=>function(){return w&&(te=(0,w[Vr(w)[0]])(w=0)),te},Xt=(w,te)=>function(){return te||(0,w[Vr(w)[0]])((te={exports:{}}).exports,te),te.exports},_n=(w,te)=>{for(var X in te)wr(w,X,{get:te[X],enumerable:!0})},hr=(w,te,X,Y)=>{if(te&&typeof te=="object"||typeof te=="function")for(let fe of Vr(te))!Bt.call(w,fe)&&fe!==X&&wr(w,fe,{get:()=>te[fe],enumerable:!(Y=Dr(te,fe))||Y.enumerable});return w},Nt=w=>hr(wr({},"__esModule",{value:!0}),w),Me=Vn({"<define:process>"(){}}),St=Xt({"src/common/parser-create-error.js"(w,te){Me();function X(Y,fe){let ve=new SyntaxError(Y+" ("+fe.start.line+":"+fe.start.column+")");return ve.loc=fe,ve}te.exports=X}}),jt=Xt({"src/utils/get-last.js"(w,te){Me();var X=Y=>Y[Y.length-1];te.exports=X}}),rr=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 ve=fe.match(X);if(!ve)return{content:fe};let{startDelimiter:ye,language:be,value:pe="",endDelimiter:ae}=ve.groups,F=be.trim()||"yaml";if(ye==="+++"&&(F="toml"),F!=="yaml"&&ye!==ae)return{content:fe};let[b]=ve;return{frontMatter:{type:"front-matter",lang:F,value:pe,startDelimiter:ye,endDelimiter:ae,raw:b.replace(/\n$/,"")},content:b.replace(/[^\n]/g," ")+fe.slice(b.length)}}te.exports=Y}}),Nr={};_n(Nr,{EOL:()=>Be,arch:()=>Qt,cpus:()=>Fe,default:()=>vr,endianness:()=>Sr,freemem:()=>re,getNetworkInterfaces:()=>Tt,hostname:()=>Rt,loadavg:()=>_e,networkInterfaces:()=>nt,platform:()=>ir,release:()=>Qe,tmpDir:()=>Pt,tmpdir:()=>Jr,totalmem:()=>De,type:()=>Re,uptime:()=>ue});function Sr(){if(typeof Fr>"u"){var w=new ArrayBuffer(2),te=new Uint8Array(w),X=new Uint16Array(w);if(te[0]=1,te[1]=2,X[0]===258)Fr="BE";else if(X[0]===513)Fr="LE";else throw new Error("unable to figure out endianess")}return Fr}function Rt(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function _e(){return[]}function ue(){return 0}function re(){return Number.MAX_VALUE}function De(){return Number.MAX_VALUE}function Fe(){return[]}function Re(){return"Browser"}function Qe(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function nt(){}function Tt(){}function Qt(){return"javascript"}function ir(){return"browser"}function Pt(){return"/tmp"}var Fr,Jr,Be,vr,An=Vn({"node-modules-polyfills:os"(){Me(),Jr=Pt,Be=`
140
+ `,vr={EOL:Be,tmpdir:Jr,tmpDir:Pt,networkInterfaces:nt,getNetworkInterfaces:Tt,release:Qe,type:Re,cpus:Fe,totalmem:De,freemem:re,uptime:ue,loadavg:_e,hostname:Rt,endianness:Sr}}}),bi=Xt({"node-modules-polyfills-commonjs:os"(w,te){Me();var X=(An(),Nt(Nr));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 ve=fe.filter(be=>be===`\r
141
+ `).length,ye=fe.length-ve;return ve>ye?`\r
142
+ `:`
143
+ `};te.exports=X,te.exports.graceful=Y=>typeof Y=="string"&&X(Y)||`
144
+ `}}),mn=Xt({"node_modules/jest-docblock/build/index.js"(w){Me(),Object.defineProperty(w,"__esModule",{value:!0}),w.extract=V,w.parse=we,w.parseWithComments=Ge,w.print=Ve,w.strip=Ie;function te(){let lt=bi();return te=function(){return lt},lt}function X(){let lt=Y(ui());return X=function(){return lt},lt}function Y(lt){return lt&&lt.__esModule?lt:{default:lt}}var fe=/\*\/$/,ve=/^\/\*\*?/,ye=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,be=/(^|\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(lt){let Ct=lt.match(ye);return Ct?Ct[0].trimLeft():""}function Ie(lt){let Ct=lt.match(ye);return Ct&&Ct[0]?lt.substring(Ct[0].length):lt}function we(lt){return Ge(lt).pragmas}function Ge(lt){let Ct=(0,X().default)(lt)||te().EOL;lt=lt.replace(ve,"").replace(fe,"").replace(b,"$1");let Gt="";for(;Gt!==lt;)Gt=lt,lt=lt.replace(ae,`${Ct}$1 $2${Ct}`);lt=lt.replace(pe,"").trimRight();let hn=Object.create(null),Rn=lt.replace(F,"").replace(pe,"").trimRight(),$n;for(;$n=F.exec(lt);){let Di=$n[2].replace(be,"");typeof hn[$n[1]]=="string"||Array.isArray(hn[$n[1]])?hn[$n[1]]=Z.concat(hn[$n[1]],Di):hn[$n[1]]=Di}return{comments:Rn,pragmas:hn}}function Ve(lt){let{comments:Ct="",pragmas:Gt={}}=lt,hn=(0,X().default)(Ct)||te().EOL,Rn="/**",$n=" *",Di=" */",li=Object.keys(Gt),on=li.map(mi=>Ne(mi,Gt[mi])).reduce((mi,wn)=>mi.concat(wn),[]).map(mi=>`${$n} ${mi}${hn}`).join("");if(!Ct){if(li.length===0)return"";if(li.length===1&&!Array.isArray(Gt[li[0]])){let mi=Gt[li[0]];return`${Rn} ${Ne(li[0],mi)[0]}${Di}`}}let Ei=Ct.split(hn).map(mi=>`${$n} ${mi}`).join(hn)+hn;return Rn+hn+(Ct?Ei:"")+(Ct&&li.length?$n+hn:"")+on+Di}function Ne(lt,Ct){return Z.concat(Ct).map(Gt=>`@${lt} ${Gt}`.trim())}}}),ns=Xt({"src/common/end-of-line.js"(w,te){Me();function X(ye){let be=ye.indexOf("\r");return be>=0?ye.charAt(be+1)===`
145
+ `?"crlf":"cr":"lf"}function Y(ye){switch(ye){case"cr":return"\r";case"crlf":return`\r
146
+ `;default:return`
147
+ `}}function fe(ye,be){let pe;switch(be){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(be)}.`)}let ae=ye.match(pe);return ae?ae.length:0}function ve(ye){return ye.replace(/\r\n?/g,`
150
+ `)}te.exports={guessEndOfLine:X,convertEndOfLineToChars:Y,countEndOfLineChars:fe,normalizeEndOfLine:ve}}}),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}}),it=Xt({"src/language-js/pragma.js"(w,te){Me();var{parseWithComments:X,strip:Y,extract:fe,print:ve}=mn(),{normalizeEndOfLine:ye}=ns(),be=Fs();function pe(b){let Z=be(b);Z&&(b=b.slice(Z.length+1));let V=fe(b),{pragmas:Ie,comments:we}=X(V);return{shebang:Z,text:b,pragmas:Ie,comments:we}}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:we}=pe(b),Ge=Y(V),Ve=ve({pragmas:Object.assign({format:""},Ie),comments:we.trimStart()});return(Z?`${Z}
152
+ `:"")+ye(Ve)+(Ge.startsWith(`
153
+ `)?`
154
+ `:`
155
+
156
+ `)+Ge}te.exports={hasPragma:ae,insertPragma:F}}}),cn=Xt({"src/language-css/pragma.js"(w,te){Me();var X=it(),Y=rr();function fe(ye){return X.hasPragma(Y(ye).content)}function ve(ye){let{frontMatter:be,content:pe}=Y(ye);return(be?be.raw+`
157
+
158
+ `:"")+X.insertPragma(pe)}te.exports={hasPragma:fe,insertPragma:ve}}}),di=Xt({"src/utils/text/skip.js"(w,te){Me();function X(be){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(be instanceof RegExp){if(!be.test(Ie))return V}else if(!be.includes(Ie))return V;b?V--:V++}return V===-1||V===Z?V:!1}}var Y=X(/\s/),fe=X(" "),ve=X(",; "),ye=X(/[^\n\r]/);te.exports={skipWhitespace:Y,skipSpaces:fe,skipToLineEnd:ve,skipEverythingButNewLine:ye}}}),ms=Xt({"src/utils/line-column-to-index.js"(w,te){Me(),te.exports=function(X,Y){let fe=0;for(let ve=0;ve<X.line-1;++ve)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 ve(V,Ie){return typeof V.sourceIndex=="number"?V.sourceIndex:V.source?fe(V.source.start,Ie)-1:null}function ye(V,Ie){if(V.type==="css-comment"&&V.inline)return X(Ie,V.source.startOffset);let we=V.nodes&&Y(V.nodes);return we&&V.source&&!V.source.end&&(V=we),V.source&&V.source.end?fe(V.source.end,Ie):null}function be(V,Ie){V.source&&(V.source.startOffset=ve(V,Ie),V.source.endOffset=ye(V,Ie));for(let we in V){let Ge=V[we];we==="source"||!Ge||typeof Ge!="object"||(Ge.type==="value-root"||Ge.type==="value-unknown"?pe(Ge,ae(V),Ge.text||Ge.value):be(Ge,Ie))}}function pe(V,Ie,we){V.source&&(V.source.startOffset=ve(V,we)+Ie,V.source.endOffset=ye(V,we)+Ie);for(let Ge in V){let Ve=V[Ge];Ge==="source"||!Ve||typeof Ve!="object"||pe(Ve,Ie,we)}}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",we="initial",Ge,Ve=!1,Ne=[];for(let lt=0;lt<V.length;lt++){let Ct=V[lt];switch(Ie){case"initial":if(Ct==="'"){Ie="single-quotes";continue}if(Ct==='"'){Ie="double-quotes";continue}if((Ct==="u"||Ct==="U")&&V.slice(lt,lt+4).toLowerCase()==="url("){Ie="url",lt+=3;continue}if(Ct==="*"&&V[lt-1]==="/"){Ie="comment-block";continue}if(Ct==="/"&&V[lt-1]==="/"){Ie="comment-inline",Ge=lt-1;continue}continue;case"single-quotes":if(Ct==="'"&&V[lt-1]!=="\\"&&(Ie=we,we="initial"),Ct===`
160
+ `||Ct==="\r")return V;continue;case"double-quotes":if(Ct==='"'&&V[lt-1]!=="\\"&&(Ie=we,we="initial"),Ct===`
161
+ `||Ct==="\r")return V;continue;case"url":if(Ct===")"&&(Ie="initial"),Ct===`
162
+ `||Ct==="\r")return V;if(Ct==="'"){Ie="single-quotes",we="url";continue}if(Ct==='"'){Ie="double-quotes",we="url";continue}continue;case"comment-block":Ct==="/"&&V[lt-1]==="*"&&(Ie="initial");continue;case"comment-inline":(Ct==='"'||Ct==="'"||Ct==="*")&&(Ve=!0),(Ct===`
163
+ `||Ct==="\r")&&(Ve&&Ne.push([Ge,lt]),Ie="initial",Ve=!1);continue}}for(let[lt,Ct]of Ne)V=V.slice(0,lt)+V.slice(lt,Ct).replace(/["'*]/g," ")+V.slice(Ct);return V}function b(V){return V.source.startOffset}function Z(V){return V.source.endOffset}te.exports={locStart:b,locEnd:Z,calculateLoc:be,replaceQuotesInInlineComments:F}}}),Mi=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=Mi();function Y(fe){if(X(fe)){for(let ve=fe.length-1;ve>0;ve--)if(fe[ve].type==="word"&&fe[ve].value==="{"&&fe[ve-1].type==="word"&&fe[ve-1].value.endsWith("#"))return!0}return!1}te.exports=Y}}),ge=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}}),rt=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}}),ft=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}}),cr=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,ve,ye;if(Y.groups){var be,pe,ae;let Ve=((be=Y.open)===null||be===void 0?void 0:be.value)||"",Ne=Y.groups.map(Ct=>X(Ct)).join(((pe=Y.groups[0])===null||pe===void 0?void 0:pe.type)==="comma_group"?",":""),lt=((ae=Y.close)===null||ae===void 0?void 0:ae.value)||"";return Ve+Ne+lt}let F=((fe=Y.raws)===null||fe===void 0?void 0:fe.before)||"",b=((ve=Y.raws)===null||ve===void 0?void 0:ve.quote)||"",Z=Y.type==="atword"?"@":"",V=Y.value||"",Ie=Y.unit||"",we=Y.group?X(Y.group):"",Ge=((ye=Y.raws)===null||ye===void 0?void 0:ye.after)||"";return F+b+Z+V+b+Ie+we+Ge}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 ve=new Y.constructor;for(let ye in Y){if(!Y.hasOwnProperty(ye))continue;let be=Y[ye],pe=typeof be;ye==="parent"&&pe==="object"?fe&&(ve[ye]=fe):ye==="source"?ve[ye]=be:be instanceof Array?ve[ye]=be.map(ae=>X(ae,ve)):ye!=="before"&&ye!=="after"&&ye!=="between"&&ye!=="semicolon"&&(pe==="object"&&be!==null&&(be=X(be)),ve[ye]=be)}return ve};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 ve in Y)fe[ve]=Y[ve];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 ve=this[fe];ve instanceof Array?Y[fe]=ve.map(ye=>typeof ye=="object"&&ye.toJSON?ye.toJSON():ye):typeof ve=="object"&&ve.toJSON?Y[fe]=ve.toJSON():Y[fe]=ve}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(),ve=this.source.start.column,ye=this.source.start.line;for(let be=0;be<Y;be++)fe[be]===`
164
+ `?(ve=1,ye+=1):ve+=1;return{line:ye,column:ve}}positionBy(Y){let fe=this.source.start;if(Object(Y).index)fe=this.positionInside(Y.index);else if(Object(Y).word){let ve=this.toString().indexOf(Y.word);ve!==-1&&(fe=this.positionInside(ve))}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 ve=this.lastEach,ye,be;if(this.indexes[ve]=0,!!this.nodes){for(;this.indexes[ve]<this.nodes.length&&(ye=this.indexes[ve],be=fe(this.nodes[ye],ye),be!==!1);)this.indexes[ve]+=1;return delete this.indexes[ve],be}}walk(fe){return this.each((ve,ye)=>{let be=fe(ve,ye);return be!==!1&&ve.walk&&(be=ve.walk(fe)),be})}walkType(fe,ve){if(!fe||!ve)throw new Error("Parameters {type} and {callback} are required.");let ye=typeof fe=="function";return this.walk((be,pe)=>{if(ye&&be instanceof fe||!ye&&be.type===fe)return ve.call(this,be,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 ve of this.nodes)ve.cleanRaws(fe)}insertAfter(fe,ve){let ye=this.index(fe),be;this.nodes.splice(ye+1,0,ve);for(let pe in this.indexes)be=this.indexes[pe],ye<=be&&(this.indexes[pe]=be+this.nodes.length);return this}insertBefore(fe,ve){let ye=this.index(fe),be;this.nodes.splice(ye,0,ve);for(let pe in this.indexes)be=this.indexes[pe],ye<=be&&(this.indexes[pe]=be+this.nodes.length);return this}removeChild(fe){fe=this.index(fe),this.nodes[fe].parent=void 0,this.nodes.splice(fe,1);let ve;for(let ye in this.indexes)ve=this.indexes[ye],ve>=fe&&(this.indexes[ye]=ve-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 ve="walk"+fe.name;ve.lastIndexOf("s")!==ve.length-1&&(ve+="s"),!Y.prototype[ve]&&(Y.prototype[ve]=function(ye){return this.walkType(fe,ye)})},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(ve){super(ve),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(ve){super(ve),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(ve){super(ve),this.type="comment",this.inline=Object(ve).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(ve){super(ve),this.type="number",this.unit=Object(ve).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(ve){super(ve),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(ve){super(ve),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(ve){super(ve),this.type="string"}toString(){let ve=this.quoted?this.raws.quote:"";return[this.raws.before,ve,this.value+"",ve,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(ve){super(ve),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(ve){super(ve),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 vl(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=ji.call(Mn)*.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,ti,fn,Cn,sn,an,ri,Yn,ai,yi,Ki,Ci,Mn,ji,rs,wi,Zi,js=Vn({"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=[],ti="",fn={},Cn={},sn={},an=Sa,ri=Sa,Yn=Sa,ai=Sa,yi=Sa,Ki=Sa,Ci=Sa,Mn=globalThis.performance||{},ji=Mn.now||Mn.mozNow||Mn.msNow||Mn.oNow||Mn.webkitNow||function(){return new Date().getTime()},rs=new Date,wi={nextTick:vl,title:Uo,browser:tu,env:Ga,argv:fu,version:ti,versions:fn,on:an,addListener:ri,once:Yn,off:ai,removeListener:yi,removeAllListeners:Ki,emit:Ci,binding:ao,cwd:va,chdir:hu,umask:Qu,hrtime:Zu,platform:eu,release:Cn,config:sn,uptime:qa},Zi=wi}}),Hi,Wi,st=Vn({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){Me(),typeof Object.create=="function"?Hi=function(w,te){w.super_=te,w.prototype=Object.create(te.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}})}:Hi=function(w,te){w.super_=te;var X=function(){};X.prototype=te.prototype,w.prototype=new X,w.prototype.constructor=w},Wi=Hi}}),Ms={};_n(Ms,{_extend:()=>We,debuglog:()=>So,default:()=>Ji,deprecate:()=>Os,format:()=>ra,inherits:()=>Wi,inspect:()=>Ps,isArray:()=>It,isBoolean:()=>vn,isBuffer:()=>Zr,isDate:()=>Hr,isError:()=>pi,isFunction:()=>In,isNull:()=>ot,isNullOrUndefined:()=>_t,isNumber:()=>sr,isObject:()=>tn,isPrimitive:()=>Cs,isRegExp:()=>Un,isString:()=>Ur,isSymbol:()=>Er,isUndefined:()=>Rr,log:()=>cs});function ra(w){if(!Ur(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,ve=String(w).replace(Br,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}}),ye=Y[X];X<fe;ye=Y[++X])ot(ye)||!tn(ye)?ve+=" "+ye:ve+=" "+Ps(ye);return ve}function Os(w,te){if(Rr(globalThis.process))return function(){return Os(w,te).apply(this,arguments)};if(Zi.noDeprecation===!0)return w;var X=!1;function Y(){if(!X){if(Zi.throwDeprecation)throw new Error(te);Zi.traceDeprecation?console.trace(te):console.error(te),X=!0}return w.apply(this,arguments)}return Y}function So(w){if(Rr(gn)&&(gn=Zi.env.NODE_DEBUG||""),w=w.toUpperCase(),!nr[w])if(new RegExp("\\b"+w+"\\b","i").test(gn)){var te=0;nr[w]=function(){var X=ra.apply(null,arguments);console.error("%s %d: %s",w,te,X)}}else nr[w]=function(){};return nr[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]),vn(te)?X.showHidden=te:te&&We(X,te),Rr(X.showHidden)&&(X.showHidden=!1),Rr(X.depth)&&(X.depth=2),Rr(X.colors)&&(X.colors=!1),Rr(X.customInspect)&&(X.customInspect=!0),X.colors&&(X.stylize=Gi),Dt(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 Dt(w,te,X){if(w.customInspect&&te&&In(te.inspect)&&te.inspect!==Ps&&!(te.constructor&&te.constructor.prototype===te)){var Y=te.inspect(X,w);return Ur(Y)||(Y=Dt(w,Y,X)),Y}var fe=bt(w,te);if(fe)return fe;var ve=Object.keys(te),ye=Oe(ve);if(w.showHidden&&(ve=Object.getOwnPropertyNames(te)),pi(te)&&(ve.indexOf("message")>=0||ve.indexOf("description")>=0))return zt(te);if(ve.length===0){if(In(te)){var be=te.name?": "+te.name:"";return w.stylize("[Function"+be+"]","special")}if(Un(te))return w.stylize(RegExp.prototype.toString.call(te),"regexp");if(Hr(te))return w.stylize(Date.prototype.toString.call(te),"date");if(pi(te))return zt(te)}var pe="",ae=!1,F=["{","}"];if(It(te)&&(ae=!0,F=["[","]"]),In(te)){var b=te.name?": "+te.name:"";pe=" [Function"+b+"]"}if(Un(te)&&(pe=" "+RegExp.prototype.toString.call(te)),Hr(te)&&(pe=" "+Date.prototype.toUTCString.call(te)),pi(te)&&(pe=" "+zt(te)),ve.length===0&&(!ae||te.length==0))return F[0]+pe+F[1];if(X<0)return Un(te)?w.stylize(RegExp.prototype.toString.call(te),"regexp"):w.stylize("[Object]","special");w.seen.push(te);var Z;return ae?Z=Ze(w,te,X,ye,ve):Z=ve.map(function(V){return mt(w,te,X,ye,V,ae)}),w.seen.pop(),ur(Z,pe,F)}function bt(w,te){if(Rr(te))return w.stylize("undefined","undefined");if(Ur(te)){var X="'"+JSON.stringify(te).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return w.stylize(X,"string")}if(sr(te))return w.stylize(""+te,"number");if(vn(te))return w.stylize(""+te,"boolean");if(ot(te))return w.stylize("null","null")}function zt(w){return"["+Error.prototype.toString.call(w)+"]"}function Ze(w,te,X,Y,fe){for(var ve=[],ye=0,be=te.length;ye<be;++ye)pt(te,String(ye))?ve.push(mt(w,te,X,Y,String(ye),!0)):ve.push("");return fe.forEach(function(pe){pe.match(/^\d+$/)||ve.push(mt(w,te,X,Y,pe,!0))}),ve}function mt(w,te,X,Y,fe,ve){var ye,be,pe;if(pe=Object.getOwnPropertyDescriptor(te,fe)||{value:te[fe]},pe.get?pe.set?be=w.stylize("[Getter/Setter]","special"):be=w.stylize("[Getter]","special"):pe.set&&(be=w.stylize("[Setter]","special")),pt(Y,fe)||(ye="["+fe+"]"),be||(w.seen.indexOf(pe.value)<0?(ot(X)?be=Dt(w,pe.value,null):be=Dt(w,pe.value,X-1),be.indexOf(`
165
+ `)>-1&&(ve?be=be.split(`
166
+ `).map(function(ae){return" "+ae}).join(`
167
+ `).substr(2):be=`
168
+ `+be.split(`
169
+ `).map(function(ae){return" "+ae}).join(`
170
+ `))):be=w.stylize("[Circular]","special")),Rr(ye)){if(ve&&fe.match(/^\d+$/))return be;ye=JSON.stringify(""+fe),ye.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ye=ye.substr(1,ye.length-2),ye=w.stylize(ye,"name")):(ye=ye.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ye=w.stylize(ye,"string"))}return ye+": "+be}function ur(w,te,X){var Y=0,fe=w.reduce(function(ve,ye){return Y++,ye.indexOf(`
171
+ `)>=0&&Y++,ve+ye.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 It(w){return Array.isArray(w)}function vn(w){return typeof w=="boolean"}function ot(w){return w===null}function _t(w){return w==null}function sr(w){return typeof w=="number"}function Ur(w){return typeof w=="string"}function Er(w){return typeof w=="symbol"}function Rr(w){return w===void 0}function Un(w){return tn(w)&&Si(w)==="[object RegExp]"}function tn(w){return typeof w=="object"&&w!==null}function Hr(w){return tn(w)&&Si(w)==="[object Date]"}function pi(w){return tn(w)&&(Si(w)==="[object Error]"||w instanceof Error)}function In(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 Zr(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 qi(){var w=new Date,te=[Ai(w.getHours()),Ai(w.getMinutes()),Ai(w.getSeconds())].join(":");return[w.getDate(),Ri[w.getMonth()],te].join(" ")}function cs(){console.log("%s - %s",qi(),ra.apply(null,arguments))}function We(w,te){if(!te||!tn(te))return w;for(var X=Object.keys(te),Y=X.length;Y--;)w[X[Y]]=te[X[Y]];return w}function pt(w,te){return Object.prototype.hasOwnProperty.call(w,te)}var Br,nr,gn,Ri,Ji,Js=Vn({"node-modules-polyfills:util"(){Me(),js(),st(),Br=/%[sdj%]/g,nr={},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"},Ri=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ji={inherits:Wi,_extend:We,log:cs,isBuffer:Zr,isPrimitive:Cs,isFunction:In,isError:pi,isDate:Hr,isObject:tn,isRegExp:Un,isUndefined:Rr,isSymbol:Er,isString:Ur,isNumber:sr,isNullOrUndefined:_t,isNull:ot,isBoolean:vn,isArray:It,inspect:Ps,deprecate:Os,format:ra,debuglog:So}}}),Ns=Xt({"node-modules-polyfills-commonjs:util"(w,te){Me();var X=(Js(),Nt(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),ve=")".charCodeAt(0),ye="'".charCodeAt(0),be='"'.charCodeAt(0),pe="\\".charCodeAt(0),ae="/".charCodeAt(0),F=".".charCodeAt(0),b=",".charCodeAt(0),Z=":".charCodeAt(0),V="*".charCodeAt(0),Ie="-".charCodeAt(0),we="+".charCodeAt(0),Ge="#".charCodeAt(0),Ve=`
174
+ `.charCodeAt(0),Ne=" ".charCodeAt(0),lt="\f".charCodeAt(0),Ct=" ".charCodeAt(0),Gt="\r".charCodeAt(0),hn="@".charCodeAt(0),Rn="e".charCodeAt(0),$n="E".charCodeAt(0),Di="0".charCodeAt(0),li="9".charCodeAt(0),on="u".charCodeAt(0),Ei="U".charCodeAt(0),mi=/[ \n\t\r\{\(\)'"\\;,/]/g,wn=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Wr=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,yn=/^[a-z0-9]/i,Or=/^[a-f0-9?\-]/i,Is=Ns(),Xi=na();te.exports=function(Ss,Oi){Oi=Oi||{};let $i=[],Qn=Ss.valueOf(),Ni=Qn.length,vi=-1,Ti=1,Wt=0,br=0,kr=null,Nn,Ot,ni,Xn,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 Xi(ya)}for(;Wt<Ni;){switch(Nn=Qn.charCodeAt(Wt),Nn===Ve&&(vi=Wt,Ti+=1),Nn){case Ve:case Ne:case Ct:case Gt:case lt:Ot=Wt;do Ot+=1,Nn=Qn.charCodeAt(Ot),Nn===Ve&&(vi=Ot,Ti+=1);while(Nn===Ne||Nn===Ve||Nn===Ct||Nn===Gt||Nn===lt);$i.push(["space",Qn.slice(Wt,Ot),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot-1;break;case Z:Ot=Wt+1,$i.push(["colon",Qn.slice(Wt,Ot),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot-1;break;case b:Ot=Wt+1,$i.push(["comma",Qn.slice(Wt,Ot),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot-1;break;case X:$i.push(["{","{",Ti,Wt-vi,Ti,Ot-vi,Wt]);break;case Y:$i.push(["}","}",Ti,Wt-vi,Ti,Ot-vi,Wt]);break;case fe:br++,kr=!kr&&br===1&&$i.length>0&&$i[$i.length-1][0]==="word"&&$i[$i.length-1][1]==="url",$i.push(["(","(",Ti,Wt-vi,Ti,Ot-vi,Wt]);break;case ve:br--,kr=kr&&br>0,$i.push([")",")",Ti,Wt-vi,Ti,Ot-vi,Wt]);break;case ye:case be:ni=Nn===ye?"'":'"',Ot=Wt;do for(gs=!1,Ot=Qn.indexOf(ni,Ot+1),Ot===-1&&ua("quote"),Us=Ot;Qn.charCodeAt(Us-1)===pe;)Us-=1,gs=!gs;while(gs);$i.push(["string",Qn.slice(Wt,Ot+1),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot;break;case hn:mi.lastIndex=Wt+1,mi.lastIndex===0?Ot=Qn.length-1:Ot=mi.lastIndex-2,$i.push(["atword",Qn.slice(Wt,Ot+1),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot;break;case pe:Ot=Wt,Nn=Qn.charCodeAt(Ot+1),$i.push(["word",Qn.slice(Wt,Ot+1),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot;break;case we:case Ie:case V:if(Ot=Wt+1,Aa=Qn.slice(Wt+1,Ot+1),Qn.slice(Wt-1,Wt),Nn===Ie&&Aa.charCodeAt(0)===Ie){Ot++,$i.push(["word",Qn.slice(Wt,Ot),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot-1;break}$i.push(["operator",Qn.slice(Wt,Ot),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot-1;break;default:if(Nn===ae&&(Qn.charCodeAt(Wt+1)===V||Oi.loose&&!kr&&Qn.charCodeAt(Wt+1)===ae)){if(Qn.charCodeAt(Wt+1)===V)Ot=Qn.indexOf("*/",Wt+2)+1,Ot===0&&ua("comment");else{let Hs=Qn.indexOf(`
175
+ `,Wt+2);Ot=Hs!==-1?Hs-1:Ni}zs=Qn.slice(Wt,Ot+1),Xn=zs.split(`
176
+ `),Ys=Xn.length-1,Ys>0?(Qs=Ti+Ys,fo=Ot-Xn[Ys].length):(Qs=Ti,fo=vi),$i.push(["comment",zs,Ti,Wt-vi,Qs,Ot-fo,Wt]),vi=fo,Ti=Qs,Wt=Ot}else if(Nn===Ge&&!yn.test(Qn.slice(Wt+1,Wt+2)))Ot=Wt+1,$i.push(["#",Qn.slice(Wt,Ot),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot-1;else if((Nn===on||Nn===Ei)&&Qn.charCodeAt(Wt+1)===we){Ot=Wt+2;do Ot+=1,Nn=Qn.charCodeAt(Ot);while(Ot<Ni&&Or.test(Qn.slice(Ot,Ot+1)));$i.push(["unicoderange",Qn.slice(Wt,Ot),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot-1}else if(Nn===ae)Ot=Wt+1,$i.push(["operator",Qn.slice(Wt,Ot),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot-1;else{let Hs=wn;if(Nn>=Di&&Nn<=li&&(Hs=Wr),Hs.lastIndex=Wt+1,Hs.test(Qn),Hs.lastIndex===0?Ot=Qn.length-1:Ot=Hs.lastIndex-2,Hs===Wr||Nn===F){let ya=Qn.charCodeAt(Ot),Pl=Qn.charCodeAt(Ot+1),hl=Qn.charCodeAt(Ot+2);(ya===Rn||ya===$n)&&(Pl===Ie||Pl===we)&&hl>=Di&&hl<=li&&(Wr.lastIndex=Ot+2,Wr.lastIndex===0?Ot=Qn.length-1:Ot=Wr.lastIndex-2)}$i.push(["word",Qn.slice(Wt,Ot+1),Ti,Wt-vi,Ti,Ot-vi,Wt]),Wt=Ot}break}Wt++}return $i}}}),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(ve){return ve}):X;return fe(X,1);function fe(ve,ye){return ve.reduce(function(be,pe){return Array.isArray(pe)&&ye<Y?be.concat(fe(pe,ye+1)):be.concat(pe)},[])}}}}),Rs=Xt({"node_modules/indexes-of/index.js"(w,te){Me(),te.exports=function(X,Y){for(var fe=-1,ve=[];(fe=X.indexOf(Y,fe+1))!==-1;)ve.push(fe);return ve}}}),ca=Xt({"node_modules/uniq/uniq.js"(w,te){Me();function X(ve,ye){for(var be=1,pe=ve.length,ae=ve[0],F=ve[0],b=1;b<pe;++b)if(F=ae,ae=ve[b],ye(ae,F)){if(b===be){be++;continue}ve[be++]=ae}return ve.length=be,ve}function Y(ve){for(var ye=1,be=ve.length,pe=ve[0],ae=ve[0],F=1;F<be;++F,ae=pe)if(ae=pe,pe=ve[F],pe!==ae){if(F===ye){ye++;continue}ve[ye++]=pe}return ve.length=ye,ve}function fe(ve,ye,be){return ve.length===0?ve:ye?(be||ve.sort(ye),X(ve,ye)):(be||ve.sort(),Y(ve))}te.exports=fe}}),Dn=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}}),Hn=Xt({"node_modules/postcss-values-parser/lib/parser.js"(w,te){Me();var X=Bi(),Y=Fu(),fe=uu(),ve=so(),ye=Na(),be=ku(),pe=xi(),ae=yo(),F=lu(),b=Pu(),Z=zo(),V=cu(),Ie=Nu(),we=Ts(),Ge=la(),Ve=Rs(),Ne=ca(),lt=Dn();function Ct(Gt){return Gt.sort((hn,Rn)=>hn-Rn)}te.exports=class{constructor(Gt,hn){let Rn={loose:!1};this.cache=[],this.input=Gt,this.options=Object.assign({},Rn,hn),this.position=0,this.unbalanced=0,this.root=new X;let $n=new Y;this.root.append($n),this.current=$n,this.tokens=we(Gt,this.options)}parse(){return this.loop()}colon(){let Gt=this.currToken;this.newNode(new ve({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 ye({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,hn=this.currToken[1].replace(/\/\*|\*\//g,""),Rn;this.options.loose&&hn.startsWith("//")&&(hn=hn.substring(2),Gt=!0),Rn=new be({value:hn,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(Rn),this.position++}error(Gt,hn){throw new lt(Gt+` at line: ${hn[2]}, column ${hn[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],hn;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 hn=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(hn)}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,hn=this.position+1,Rn=this.currToken,$n;for(;hn<this.tokens.length&&Gt;){let Di=this.tokens[hn];Di[0]==="("&&Gt++,Di[0]===")"&&Gt--,hn++}if(Gt&&this.error("Expected closing parenthesis",Rn),$n=this.current.last,$n&&$n.type==="func"&&$n.unbalanced<0&&($n.unbalanced=0,this.current=$n),this.current.unbalanced++,this.newNode(new b({value:Rn[1],source:{start:{line:Rn[2],column:Rn[3]},end:{line:Rn[4],column:Rn[5]}},sourceIndex:Rn[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],on={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:on,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,hn=this.currToken[1],Rn=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,$n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,Di,li;if(!$n.test(hn))for(;Gt&&Gt[0]==="word";)this.position++,hn+=this.currToken[1],Gt=this.nextToken;Di=Ve(hn,"@"),li=Ct(Ne(Ge([[0],Di]))),li.forEach((on,Ei)=>{let mi=li[Ei+1]||hn.length,wn=hn.slice(on,mi),Wr;if(~Di.indexOf(on))Wr=new fe({value:wn.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+on},end:{line:this.currToken[4],column:this.currToken[3]+(mi-1)}},sourceIndex:this.currToken[6]+li[Ei]});else if(Rn.test(this.currToken[1])){let yn=wn.replace(Rn,"");Wr=new ae({value:wn.replace(yn,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+on},end:{line:this.currToken[4],column:this.currToken[3]+(mi-1)}},sourceIndex:this.currToken[6]+li[Ei],unit:yn})}else Wr=new(Gt&&Gt[0]==="("?pe:V)({value:wn,source:{start:{line:this.currToken[2],column:this.currToken[3]+on},end:{line:this.currToken[4],column:this.currToken[3]+(mi-1)}},sourceIndex:this.currToken[6]+li[Ei]}),Wr.type==="word"?(Wr.isHex=/^#(.+)/.test(wn),Wr.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(wn)):this.cache.push(this.current);this.newNode(Wr)}),this.position++}string(){let Gt=this.currToken,hn=this.currToken[1],Rn=/^(\"|\')/,$n=Rn.test(hn),Di="",li;$n&&(Di=hn.match(Rn)[0],hn=hn.slice(1,hn.length-1)),li=new Z({value:hn,source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6],quoted:$n}),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=Hn(),Y=uu(),fe=so(),ve=Na(),ye=ku(),be=xi(),pe=yo(),ae=lu(),F=Pu(),b=zo(),Z=Nu(),V=Fu(),Ie=cu(),we=function(Ge,Ve){return new X(Ge,Ve)};we.atword=function(Ge){return new Y(Ge)},we.colon=function(Ge){return new fe(Object.assign({value:":"},Ge))},we.comma=function(Ge){return new ve(Object.assign({value:","},Ge))},we.comment=function(Ge){return new ye(Ge)},we.func=function(Ge){return new be(Ge)},we.number=function(Ge){return new pe(Ge)},we.operator=function(Ge){return new ae(Ge)},we.paren=function(Ge){return new F(Object.assign({value:"("},Ge))},we.string=function(Ge){return new b(Object.assign({quote:"'"},Ge))},we.value=function(Ge){return new V(Ge)},we.word=function(Ge){return new Ie(Ge)},we.unicodeRange=function(Ge){return new Z(Ge)},te.exports=we}}),ii=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(ye){return typeof ye}:function(ye){return ye&&typeof Symbol=="function"&&ye.constructor===Symbol&&ye!==Symbol.prototype?"symbol":typeof ye};function Y(ye,be){if(!(ye instanceof be))throw new TypeError("Cannot call a class as a function")}var fe=function ye(be,pe){if((typeof be>"u"?"undefined":X(be))!=="object")return be;var ae=new be.constructor;for(var F in be)if(be.hasOwnProperty(F)){var b=be[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 ye(V,ae)}):ae[F]=ye(b,ae)}return ae},ve=function(){function ye(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Y(this,ye);for(var pe in be)this[pe]=be[pe];var ae=be.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 ye.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},ye.prototype.replaceWith=function(){if(this.parent){for(var be in arguments)this.parent.insertBefore(this,arguments[be]);this.remove()}return this},ye.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},ye.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},ye.prototype.clone=function(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pe=fe(this);for(var ae in be)pe[ae]=be[ae];return pe},ye.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},ye}();w.default=ve,te.exports=w.default}}),si=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,we){for(var Ge=0;Ge<we.length;Ge++){var Ve=we[Ge];Ve.enumerable=Ve.enumerable||!1,Ve.configurable=!0,"value"in Ve&&(Ve.writable=!0),Object.defineProperty(Ie,Ve.key,Ve)}}return function(Ie,we,Ge){return we&&V(Ie.prototype,we),Ge&&V(Ie,Ge),Ie}}(),Y=ii(),fe=pe(Y),ve=si(),ye=be(ve);function be(V){if(V&&V.__esModule)return V;var Ie={};if(V!=null)for(var we in V)Object.prototype.hasOwnProperty.call(V,we)&&(Ie[we]=V[we]);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(we){ae(this,Ie);var Ge=F(this,V.call(this,we));return Ge.nodes||(Ge.nodes=[]),Ge}return Ie.prototype.append=function(we){return we.parent=this,this.nodes.push(we),this},Ie.prototype.prepend=function(we){return we.parent=this,this.nodes.unshift(we),this},Ie.prototype.at=function(we){return this.nodes[we]},Ie.prototype.index=function(we){return typeof we=="number"?we:this.nodes.indexOf(we)},Ie.prototype.removeChild=function(we){we=this.index(we),this.at(we).parent=void 0,this.nodes.splice(we,1);var Ge=void 0;for(var Ve in this.indexes)Ge=this.indexes[Ve],Ge>=we&&(this.indexes[Ve]=Ge-1);return this},Ie.prototype.removeAll=function(){for(var Ve=this.nodes,we=Array.isArray(Ve),Ge=0,Ve=we?Ve:Ve[Symbol.iterator]();;){var Ne;if(we){if(Ge>=Ve.length)break;Ne=Ve[Ge++]}else{if(Ge=Ve.next(),Ge.done)break;Ne=Ge.value}var lt=Ne;lt.parent=void 0}return this.nodes=[],this},Ie.prototype.empty=function(){return this.removeAll()},Ie.prototype.insertAfter=function(we,Ge){var Ve=this.index(we);this.nodes.splice(Ve+1,0,Ge);var Ne=void 0;for(var lt in this.indexes)Ne=this.indexes[lt],Ve<=Ne&&(this.indexes[lt]=Ne+this.nodes.length);return this},Ie.prototype.insertBefore=function(we,Ge){var Ve=this.index(we);this.nodes.splice(Ve,0,Ge);var Ne=void 0;for(var lt in this.indexes)Ne=this.indexes[lt],Ve<=Ne&&(this.indexes[lt]=Ne+this.nodes.length);return this},Ie.prototype.each=function(we){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Ge=this.lastEach;if(this.indexes[Ge]=0,!!this.length){for(var Ve=void 0,Ne=void 0;this.indexes[Ge]<this.length&&(Ve=this.indexes[Ge],Ne=we(this.at(Ve),Ve),Ne!==!1);)this.indexes[Ge]+=1;if(delete this.indexes[Ge],Ne===!1)return!1}},Ie.prototype.walk=function(we){return this.each(function(Ge,Ve){var Ne=we(Ge,Ve);if(Ne!==!1&&Ge.length&&(Ne=Ge.walk(we)),Ne===!1)return!1})},Ie.prototype.walkAttributes=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.ATTRIBUTE)return we.call(Ge,Ve)})},Ie.prototype.walkClasses=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.CLASS)return we.call(Ge,Ve)})},Ie.prototype.walkCombinators=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.COMBINATOR)return we.call(Ge,Ve)})},Ie.prototype.walkComments=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.COMMENT)return we.call(Ge,Ve)})},Ie.prototype.walkIds=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.ID)return we.call(Ge,Ve)})},Ie.prototype.walkNesting=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.NESTING)return we.call(Ge,Ve)})},Ie.prototype.walkPseudos=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.PSEUDO)return we.call(Ge,Ve)})},Ie.prototype.walkTags=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.TAG)return we.call(Ge,Ve)})},Ie.prototype.walkUniversals=function(we){var Ge=this;return this.walk(function(Ve){if(Ve.type===ye.UNIVERSAL)return we.call(Ge,Ve)})},Ie.prototype.split=function(we){var Ge=this,Ve=[];return this.reduce(function(Ne,lt,Ct){var Gt=we.call(Ge,lt);return Ve.push(lt),Gt?(Ne.push(Ve),Ve=[]):Ct===Ge.length-1&&Ne.push(Ve),Ne},[])},Ie.prototype.map=function(we){return this.nodes.map(we)},Ie.prototype.reduce=function(we,Ge){return this.nodes.reduce(we,Ge)},Ie.prototype.every=function(we){return this.nodes.every(we)},Ie.prototype.some=function(we){return this.nodes.some(we)},Ie.prototype.filter=function(we){return this.nodes.filter(we)},Ie.prototype.sort=function(we){return this.nodes.sort(we)},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=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(this,F.call(this,Z));return V.type=fe.ROOT,V}return b.prototype.toString=function(){var Z=this.reduce(function(V,Ie){var we=String(Ie);return we?V+we+",":""},"").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=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ii(),fe=ve(Y);function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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 ye(this,b),be(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=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ii(),Y=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ii(),Y=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ii(),Y=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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=ii(),Y=ve(X),fe=si();function ve(F){return F&&F.__esModule?F:{default:F}}function ye(F,b){if(!(F instanceof b))throw new TypeError("Cannot call a class as a function")}function be(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){ye(this,b);var V=be(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,ve){return fe-ve})}te.exports=w.default}}),qo=Xt({"node_modules/postcss-selector-parser/dist/tokenize.js"(w,te){Me(),w.__esModule=!0,w.default=on;var X=39,Y=34,fe=92,ve=47,ye=10,be=32,pe=12,ae=9,F=13,b=43,Z=62,V=126,Ie=124,we=44,Ge=40,Ve=41,Ne=91,lt=93,Ct=59,Gt=42,hn=58,Rn=38,$n=64,Di=/[ \n\t\r\{\(\)'"\\;/]/g,li=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function on(Ei){for(var mi=[],wn=Ei.css.valueOf(),Wr=void 0,yn=void 0,Or=void 0,Is=void 0,Xi=void 0,Ss=void 0,Oi=void 0,$i=void 0,Qn=void 0,Ni=void 0,vi=void 0,Ti=wn.length,Wt=-1,br=1,kr=0,Nn=function(Ot,ni){if(Ei.safe)wn+=ni,yn=wn.length-1;else throw Ei.error("Unclosed "+Ot,br,kr-Wt,kr)};kr<Ti;){switch(Wr=wn.charCodeAt(kr),Wr===ye&&(Wt=kr,br+=1),Wr){case ye:case be:case ae:case F:case pe:yn=kr;do yn+=1,Wr=wn.charCodeAt(yn),Wr===ye&&(Wt=yn,br+=1);while(Wr===be||Wr===ye||Wr===ae||Wr===F||Wr===pe);mi.push(["space",wn.slice(kr,yn),br,kr-Wt,kr]),kr=yn-1;break;case b:case Z:case V:case Ie:yn=kr;do yn+=1,Wr=wn.charCodeAt(yn);while(Wr===b||Wr===Z||Wr===V||Wr===Ie);mi.push(["combinator",wn.slice(kr,yn),br,kr-Wt,kr]),kr=yn-1;break;case Gt:mi.push(["*","*",br,kr-Wt,kr]);break;case Rn:mi.push(["&","&",br,kr-Wt,kr]);break;case we:mi.push([",",",",br,kr-Wt,kr]);break;case Ne:mi.push(["[","[",br,kr-Wt,kr]);break;case lt:mi.push(["]","]",br,kr-Wt,kr]);break;case hn:mi.push([":",":",br,kr-Wt,kr]);break;case Ct:mi.push([";",";",br,kr-Wt,kr]);break;case Ge:mi.push(["(","(",br,kr-Wt,kr]);break;case Ve:mi.push([")",")",br,kr-Wt,kr]);break;case X:case Y:Or=Wr===X?"'":'"',yn=kr;do for(Ni=!1,yn=wn.indexOf(Or,yn+1),yn===-1&&Nn("quote",Or),vi=yn;wn.charCodeAt(vi-1)===fe;)vi-=1,Ni=!Ni;while(Ni);mi.push(["string",wn.slice(kr,yn+1),br,kr-Wt,br,yn-Wt,kr]),kr=yn;break;case $n:Di.lastIndex=kr+1,Di.lastIndex===0?yn=wn.length-1:yn=Di.lastIndex-2,mi.push(["at-word",wn.slice(kr,yn+1),br,kr-Wt,br,yn-Wt,kr]),kr=yn;break;case fe:for(yn=kr,Oi=!0;wn.charCodeAt(yn+1)===fe;)yn+=1,Oi=!Oi;Wr=wn.charCodeAt(yn+1),Oi&&Wr!==ve&&Wr!==be&&Wr!==ye&&Wr!==ae&&Wr!==F&&Wr!==pe&&(yn+=1),mi.push(["word",wn.slice(kr,yn+1),br,kr-Wt,br,yn-Wt,kr]),kr=yn;break;default:Wr===ve&&wn.charCodeAt(kr+1)===Gt?(yn=wn.indexOf("*/",kr+2)+1,yn===0&&Nn("comment","*/"),Ss=wn.slice(kr,yn+1),Is=Ss.split(`
177
+ `),Xi=Is.length-1,Xi>0?($i=br+Xi,Qn=yn-Is[Xi].length):($i=br,Qn=Wt),mi.push(["comment",Ss,br,kr-Wt,$i,yn-Qn,kr]),Wt=Qn,br=$i,kr=yn):(li.lastIndex=kr+1,li.lastIndex===0?yn=wn.length-1:yn=li.lastIndex-2,mi.push(["word",wn.slice(kr,yn+1),br,kr-Wt,br,yn-Wt,kr]),kr=yn);break}kr++}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(br,kr){for(var Nn=0;Nn<kr.length;Nn++){var Ot=kr[Nn];Ot.enumerable=Ot.enumerable||!1,Ot.configurable=!0,"value"in Ot&&(Ot.writable=!0),Object.defineProperty(br,Ot.key,Ot)}}return function(br,kr,Nn){return kr&&Wt(br.prototype,kr),Nn&&Wt(br,Nn),br}}(),Y=la(),fe=Ni(Y),ve=Rs(),ye=Ni(ve),be=ca(),pe=Ni(be),ae=ps(),F=Ni(ae),b=bs(),Z=Ni(b),V=Fo(),Ie=Ni(V),we=ko(),Ge=Ni(we),Ve=Ka(),Ne=Ni(Ve),lt=ru(),Ct=Ni(lt),Gt=Po(),hn=Ni(Gt),Rn=Ca(),$n=Ni(Rn),Di=Ba(),li=Ni(Di),on=_a(),Ei=Ni(on),mi=Ho(),wn=Ni(mi),Wr=ls(),yn=Ni(Wr),Or=uo(),Is=Ni(Or),Xi=qo(),Ss=Ni(Xi),Oi=si(),$i=Qn(Oi);function Qn(Wt){if(Wt&&Wt.__esModule)return Wt;var br={};if(Wt!=null)for(var kr in Wt)Object.prototype.hasOwnProperty.call(Wt,kr)&&(br[kr]=Wt[kr]);return br.default=Wt,br}function Ni(Wt){return Wt&&Wt.__esModule?Wt:{default:Wt}}function vi(Wt,br){if(!(Wt instanceof br))throw new TypeError("Cannot call a class as a function")}var Ti=function(){function Wt(br){vi(this,Wt),this.input=br,this.lossy=br.options.lossless===!1,this.position=0,this.root=new F.default;var kr=new Z.default;return this.root.append(kr),this.current=kr,this.lossy?this.tokens=(0,Ss.default)({safe:br.safe,css:br.css.trim()}):this.tokens=(0,Ss.default)(br),this.loop()}return Wt.prototype.attribute=function(){var br="",kr=void 0,Nn=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)br+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~br.indexOf("]")&&this.error("Expected a closing square bracket.");var Ot=br.split(/((?:[*~^$|]?=))([^]*)/),ni=Ot[0].split(/(\|)/g),Xn={operator:Ot[1],value:Ot[2],source:{start:{line:Nn[2],column:Nn[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Nn[4]};if(ni.length>1?(ni[0]===""&&(ni[0]=!0),Xn.attribute=this.parseValue(ni[2]),Xn.namespace=this.parseNamespace(ni[0])):Xn.attribute=this.parseValue(Ot[0]),kr=new li.default(Xn),Ot[2]){var Ys=Ot[2].split(/(\s+i\s*?)$/),zs=Ys[0].trim();kr.value=this.lossy?zs:Ys[0],Ys[1]&&(kr.insensitive=!0,this.lossy||(kr.raws.insensitive=Ys[1])),kr.quoted=zs[0]==="'"||zs[0]==='"',kr.raws.unquoted=kr.quoted?zs.slice(1,-1):zs}this.newNode(kr),this.position++},Wt.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var br=new wn.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"?(br.spaces.before=this.parseSpace(this.currToken[1]),br.source.start.line=this.nextToken[2],br.source.start.column=this.nextToken[3],br.source.end.column=this.nextToken[3],br.source.end.line=this.nextToken[2],br.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?br.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?br.value=this.currToken[1]:this.currToken[0]==="space"&&(br.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(br)},Wt.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var br=new Z.default;this.current.parent.append(br),this.current=br,this.position++},Wt.prototype.comment=function(){var br=new Ge.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(br),this.position++},Wt.prototype.error=function(br){throw new this.input.error(br)},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 br=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(br);if(this.nextToken[0]==="*")return this.position++,this.universal(br)},Wt.prototype.nesting=function(){this.newNode(new yn.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 br=this.current.last;if(br&&br.type===$i.PSEUDO){var kr=new Z.default,Nn=this.current;br.append(kr),this.current=kr;var Ot=1;for(this.position++;this.position<this.tokens.length&&Ot;)this.currToken[0]==="("&&Ot++,this.currToken[0]===")"&&Ot--,Ot?this.parse():(kr.parent.source.end.line=this.currToken[2],kr.parent.source.end.column=this.currToken[3],this.position++);Ot&&this.error("Expected closing parenthesis."),this.current=Nn}else{var ni=1;for(this.position++,br.value+="(";this.position<this.tokens.length&&ni;)this.currToken[0]==="("&&ni++,this.currToken[0]===")"&&ni--,br.value+=this.parseParenthesisToken(this.currToken),this.position++;ni&&this.error("Expected closing parenthesis.")}},Wt.prototype.pseudo=function(){for(var br=this,kr="",Nn=this.currToken;this.currToken&&this.currToken[0]===":";)kr+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var Ot=void 0;this.splitWord(!1,function(ni,Xn){kr+=ni,Ot=new $n.default({value:kr,source:{start:{line:Nn[2],column:Nn[3]},end:{line:br.currToken[4],column:br.currToken[5]}},sourceIndex:Nn[4]}),br.newNode(Ot),Xn>1&&br.nextToken&&br.nextToken[0]==="("&&br.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Wt.prototype.space=function(){var br=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(br[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(br[1]),this.position++):this.combinator()},Wt.prototype.string=function(){var br=this.currToken;this.newNode(new hn.default({value:this.currToken[1],source:{start:{line:br[2],column:br[3]},end:{line:br[4],column:br[5]}},sourceIndex:br[6]})),this.position++},Wt.prototype.universal=function(br){var kr=this.nextToken;if(kr&&kr[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]}),br),this.position++},Wt.prototype.splitWord=function(br,kr){for(var Nn=this,Ot=this.nextToken,ni=this.currToken[1];Ot&&Ot[0]==="word";){this.position++;var Xn=this.currToken[1];if(ni+=Xn,Xn.lastIndexOf("\\")===Xn.length-1){var Ys=this.nextToken;Ys&&Ys[0]==="space"&&(ni+=this.parseSpace(Ys[1]," "),this.position++)}Ot=this.nextToken}var zs=(0,ye.default)(ni,"."),Qs=(0,ye.default)(ni,"#"),fo=(0,ye.default)(ni,"#{");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]||ni.length,Hs=ni.slice(Us,ua);if(Aa===0&&kr)return kr.call(Nn,Hs,gs.length);var ya=void 0;~zs.indexOf(Us)?ya=new Ie.default({value:Hs.slice(1),source:{start:{line:Nn.currToken[2],column:Nn.currToken[3]+Us},end:{line:Nn.currToken[4],column:Nn.currToken[3]+(ua-1)}},sourceIndex:Nn.currToken[6]+gs[Aa]}):~Qs.indexOf(Us)?ya=new Ne.default({value:Hs.slice(1),source:{start:{line:Nn.currToken[2],column:Nn.currToken[3]+Us},end:{line:Nn.currToken[4],column:Nn.currToken[3]+(ua-1)}},sourceIndex:Nn.currToken[6]+gs[Aa]}):ya=new Ct.default({value:Hs,source:{start:{line:Nn.currToken[2],column:Nn.currToken[3]+Us},end:{line:Nn.currToken[4],column:Nn.currToken[3]+(ua-1)}},sourceIndex:Nn.currToken[6]+gs[Aa]}),Nn.newNode(ya,br)}),this.position++},Wt.prototype.word=function(br){var kr=this.nextToken;return kr&&kr[1]==="|"?(this.position++,this.namespace()):this.splitWord(br)},Wt.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Wt.prototype.parse=function(br){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":br&&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(br){if(this.lossy&&typeof br=="string"){var kr=br.trim();return kr.length?kr:!0}return br},Wt.prototype.parseSpace=function(br,kr){return this.lossy?kr||"":br},Wt.prototype.parseValue=function(br){return this.lossy&&br&&typeof br=="string"?br.trim():br},Wt.prototype.parseParenthesisToken=function(br){return this.lossy?br[0]==="space"?this.parseSpace(br[1]," "):this.parseValue(br[1]):br[1]},Wt.prototype.newNode=function(br,kr){return kr&&(br.namespace=this.parseNamespace(kr)),this.spaces&&(br.spaces.before=this.spaces,this.spaces=""),this.current.append(br)},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=ve(Y);function ve(pe){return pe&&pe.__esModule?pe:{default:pe}}function ye(pe,ae){if(!(pe instanceof ae))throw new TypeError("Cannot call a class as a function")}var be=function(){function pe(ae){return ye(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=be,te.exports=w.default}}),Lu=Xt({"node_modules/postcss-selector-parser/dist/index.js"(w,te){Me(),w.__esModule=!0;var X=vo(),Y=Wr(X),fe=Ba(),ve=Wr(fe),ye=Fo(),be=Wr(ye),pe=Ho(),ae=Wr(pe),F=ko(),b=Wr(F),Z=Ka(),V=Wr(Z),Ie=ls(),we=Wr(Ie),Ge=Ca(),Ve=Wr(Ge),Ne=ps(),lt=Wr(Ne),Ct=bs(),Gt=Wr(Ct),hn=Po(),Rn=Wr(hn),$n=ru(),Di=Wr($n),li=_a(),on=Wr(li),Ei=si(),mi=wn(Ei);function wn(Or){if(Or&&Or.__esModule)return Or;var Is={};if(Or!=null)for(var Xi in Or)Object.prototype.hasOwnProperty.call(Or,Xi)&&(Is[Xi]=Or[Xi]);return Is.default=Or,Is}function Wr(Or){return Or&&Or.__esModule?Or:{default:Or}}var yn=function(Or){return new Y.default(Or)};yn.attribute=function(Or){return new ve.default(Or)},yn.className=function(Or){return new be.default(Or)},yn.combinator=function(Or){return new ae.default(Or)},yn.comment=function(Or){return new b.default(Or)},yn.id=function(Or){return new V.default(Or)},yn.nesting=function(Or){return new we.default(Or)},yn.pseudo=function(Or){return new Ve.default(Or)},yn.root=function(Or){return new lt.default(Or)},yn.selector=function(Or){return new Gt.default(Or)},yn.string=function(Or){return new Rn.default(Or)},yn.tag=function(Or){return new Di.default(Or)},yn.universal=function(Or){return new on.default(Or)},Object.keys(mi).forEach(function(Or){Or!=="__esModule"&&(yn[Or]=mi[Or])}),w.default=yn,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(ve){return ve&&ve.__esModule?ve:{default:ve}}function fe(ve){var ye=this;this.constructor(ve),this.nodes=ve.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(be){be.parent=ye})}fe.prototype=Object.create(X.default.prototype),fe.constructor=X.default,fe.prototype.walk=function(ve,ye){for(var be=typeof ve=="string"||ve instanceof RegExp,pe=be?ye:ve,ae=typeof ve=="string"?new RegExp(ve):ve,F=0;F<this.nodes.length;F++){var b=this.nodes[F],Z=be?ae.test(b.type):!0;if(Z&&pe&&pe(b,F,this.nodes)===!1||b.nodes&&b.walk(ve,ye)===!1)return!1}return!0},fe.prototype.each=function(){for(var ve=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],ye=0;ye<this.nodes.length;ye++){var be=this.nodes[ye];if(ve(be,ye,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=ye,w.parseMediaQuery=be,w.parseMediaList=pe;var te=No(),X=ve(te),Y=lo(),fe=ve(Y);function ve(ae){return ae&&ae.__esModule?ae:{default:ae}}function ye(ae){var F=arguments.length<=1||arguments[1]===void 0?0:arguments[1],b=[{mode:"normal",character:null}],Z=[],V=0,Ie="",we=null,Ge=null,Ve=F,Ne=ae;ae[0]==="("&&ae[ae.length-1]===")"&&(Ne=ae.substring(1,ae.length-1),Ve++);for(var lt=0;lt<Ne.length;lt++){var Ct=Ne[lt];if((Ct==="'"||Ct==='"')&&(b[V].isCalculationEnabled===!0?(b.push({mode:"string",isCalculationEnabled:!1,character:Ct}),V++):b[V].mode==="string"&&b[V].character===Ct&&Ne[lt-1]!=="\\"&&(b.pop(),V--)),Ct==="{"?(b.push({mode:"interpolation",isCalculationEnabled:!0}),V++):Ct==="}"&&(b.pop(),V--),b[V].mode==="normal"&&Ct===":"){var Gt=Ne.substring(lt+1);Ge={type:"value",before:/^(\s*)/.exec(Gt)[1],after:/(\s*)$/.exec(Gt)[1],value:Gt.trim()},Ge.sourceIndex=Ge.before.length+lt+1+Ve,we={type:"colon",sourceIndex:lt+Ve,after:Ge.before,value:":"};break}Ie+=Ct}return Ie={type:"media-feature",before:/^(\s*)/.exec(Ie)[1],after:/(\s*)$/.exec(Ie)[1],value:Ie.trim()},Ie.sourceIndex=Ie.before.length+Ve,Z.push(Ie),we!==null&&(we.before=Ie.after,Z.push(we)),Ge!==null&&Z.push(Ge),Z}function be(ae){var F=arguments.length<=1||arguments[1]===void 0?0:arguments[1],b=[],Z=0,V=!1,Ie=void 0;function we(){return{before:"",after:"",value:""}}Ie=we();for(var Ge=0;Ge<ae.length;Ge++){var Ve=ae[Ge];V?(Ie.value+=Ve,(Ve==="{"||Ve==="(")&&Z++,(Ve===")"||Ve==="}")&&Z--):Ve.search(/\s/)!==-1?Ie.before+=Ve:(Ve==="("&&(Ie.type="media-feature-expression",Z++),Ie.value=Ve,Ie.sourceIndex=F+Ge,V=!0),V&&Z===0&&(Ve===")"||Ge===ae.length-1||ae[Ge+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(Ie.value)!==-1&&(Ie.type="keyword"),Ie.type==="media-feature-expression"&&(Ie.nodes=ye(Ie.value,Ie.sourceIndex)),b.push(Array.isArray(Ie.nodes)?new fe.default(Ie):new X.default(Ie)),Ie=we(),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,we=1;we>0;){var Ge=ae[Ie];Ge==="("&&we++,Ge===")"&&we--,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 Ve=b;Ve<ae.length;Ve++){var Ne=ae[Ve];if(Ne==="("&&Z++,Ne===")"&&Z--,Z===0&&Ne===","){var lt=ae.substring(b,Ve),Ct=/^(\s*)/.exec(lt)[1];F.push(new fe.default({type:"media-query",value:lt.trim(),sourceIndex:b+Ct.length,nodes:be(lt,b),before:Ct,after:/(\s*)$/.exec(lt)[1]})),b=Ve+1}}var Gt=ae.substring(b),hn=/^(\s*)/.exec(Gt)[1];return F.push(new fe.default({type:"media-query",value:Gt.trim(),sourceIndex:b+hn.length,nodes:be(Gt,b),before:hn,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=ve;var te=lo(),X=fe(te),Y=pa();function fe(ye){return ye&&ye.__esModule?ye:{default:ye}}function ve(ye){return new X.default({nodes:(0,Y.parseMediaList)(ye),type:"media-query-list",value:ye.trim()})}}}),Ia={};_n(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("/")),ve=Math.min(Y.length,fe.length),ye=ve,be=0;be<ve;be++)if(Y[be]!==fe[be]){ye=be;break}for(var pe=[],be=ye;be<Y.length;be++)pe.push("..");return pe=pe.concat(fe.slice(ye)),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=Vn({"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)}}}),Ul=Xt({"node-modules-polyfills-commonjs:path"(w,te){Me();var X=(tl(),Nt(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}}),xl=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(xl());function fe(we){return we&&we.__esModule?we:{default:we}}function ve(we){if(we===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we}function ye(we,Ge){we.prototype=Object.create(Ge.prototype),we.prototype.constructor=we,we.__proto__=Ge}function be(we){var Ge=typeof Map=="function"?new Map:void 0;return be=function(Ve){if(Ve===null||!F(Ve))return Ve;if(typeof Ve!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Ge<"u"){if(Ge.has(Ve))return Ge.get(Ve);Ge.set(Ve,Ne)}function Ne(){return pe(Ve,arguments,Z(this).constructor)}return Ne.prototype=Object.create(Ve.prototype,{constructor:{value:Ne,enumerable:!1,writable:!0,configurable:!0}}),b(Ne,Ve)},be(we)}function pe(we,Ge,Ve){return ae()?pe=Reflect.construct:pe=function(Ne,lt,Ct){var Gt=[null];Gt.push.apply(Gt,lt);var hn=Function.bind.apply(Ne,Gt),Rn=new hn;return Ct&&b(Rn,Ct.prototype),Rn},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(we){return Function.toString.call(we).indexOf("[native code]")!==-1}function b(we,Ge){return b=Object.setPrototypeOf||function(Ve,Ne){return Ve.__proto__=Ne,Ve},b(we,Ge)}function Z(we){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(Ge){return Ge.__proto__||Object.getPrototypeOf(Ge)},Z(we)}var V=function(we){ye(Ge,we);function Ge(Ne,lt,Ct,Gt,hn,Rn){var $n;return $n=we.call(this,Ne)||this,$n.name="CssSyntaxError",$n.reason=Ne,hn&&($n.file=hn),Gt&&($n.source=Gt),Rn&&($n.plugin=Rn),typeof lt<"u"&&typeof Ct<"u"&&($n.line=lt,$n.column=Ct),$n.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(ve($n),Ge),$n}var Ve=Ge.prototype;return Ve.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},Ve.showSourceCode=function(Ne){var lt=this;if(!this.source)return"";var Ct=this.source;Y.default&&(typeof Ne>"u"&&(Ne=X.default.isColorSupported),Ne&&(Ct=(0,Y.default)(Ct)));var Gt=Ct.split(/\r?\n/),hn=Math.max(this.line-3,0),Rn=Math.min(this.line+2,Gt.length),$n=String(Rn).length;function Di(on){return Ne&&X.default.red?X.default.red(X.default.bold(on)):on}function li(on){return Ne&&X.default.gray?X.default.gray(on):on}return Gt.slice(hn,Rn).map(function(on,Ei){var mi=hn+1+Ei,wn=" "+(" "+mi).slice(-$n)+" | ";if(mi===lt.line){var Wr=li(wn.replace(/\d/g," "))+on.slice(0,lt.column-1).replace(/[^\t]/g," ");return Di(">")+li(wn)+on+`
178
+ `+Wr+Di("^")}return" "+li(wn)+on}).join(`
179
+ `)},Ve.toString=function(){var Ne=this.showSourceCode();return Ne&&(Ne=`
180
+
181
+ `+Ne+`
182
+ `),this.name+": "+this.message+Ne},Ge}(be(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=ve(Ul()),Y=ve(ju()),fe=ve(Ko());function ve(b){return b&&b.__esModule?b:{default:b}}function ye(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 be(b,Z,V){return Z&&ye(b.prototype,Z),V&&ye(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 we=new fe.default(this.css,Ie);if(we.text){this.map=we;var Ge=we.consumer().file;!this.file&&Ge&&(this.file=this.mapResolve(Ge))}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,we,Ge){Ge===void 0&&(Ge={});var Ve,Ne=this.origin(Ie,we);return Ne?Ve=new Y.default(V,Ne.line,Ne.column,Ne.source,Ne.file,Ge.plugin):Ve=new Y.default(V,Ie,we,this.css,this.file,Ge.plugin),Ve.input={line:Ie,column:we,source:this.css},this.file&&(Ve.input.file=this.file),Ve},Z.origin=function(V,Ie){if(!this.map)return!1;var we=this.map.consumer(),Ge=we.originalPositionFor({line:V,column:Ie});if(!Ge.source)return!1;var Ve={file:this.mapResolve(Ge.source),line:Ge.line,column:Ge.column},Ne=we.sourceContentFor(Ge.source);return Ne&&(Ve.source=Ne),Ve},Z.mapResolve=function(V){return/^\w+:\/\//.test(V)?V:X.default.resolve(this.map.consumer().sourceRoot||".",V)},be(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(ye){return ye[0].toUpperCase()+ye.slice(1)}var fe=function(){function ye(pe){this.builder=pe}var be=ye.prototype;return be.stringify=function(pe,ae){this[pe.type](pe,ae)},be.root=function(pe){this.body(pe),pe.raws.after&&this.builder(pe.raws.after)},be.comment=function(pe){var ae=this.raw(pe,"left","commentLeft"),F=this.raw(pe,"right","commentRight");this.builder("/*"+ae+pe.text+F+"*/",pe)},be.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)},be.rule=function(pe){this.block(pe,this.rawValue(pe,"selector")),pe.raws.ownSemicolon&&this.builder(pe.raws.ownSemicolon,pe,"end")},be.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)}},be.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)}},be.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")},be.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(we){if(b=we.raws[ae],typeof b<"u")return!1}),typeof b>"u"&&(b=X[F]),V.rawCache[F]=b,b},be.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},be.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},be.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},be.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},be.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},be.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},be.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},be.rawBeforeOpen=function(pe){var ae;return pe.walk(function(F){if(F.type!=="decl"&&(ae=F.raws.between,typeof ae<"u"))return!1}),ae},be.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},be.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},be.rawValue=function(pe,ae){var F=pe[ae],b=pe.raws[ae];return b&&b.value===F?b.raw:F},ye}(),ve=fe;w.default=ve,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(ye){return ye&&ye.__esModule?ye:{default:ye}}function fe(ye,be){var pe=new X.default(be);pe.stringify(ye)}var ve=fe;w.default=ve,te.exports=w.default}}),rl=Xt({"node_modules/postcss/lib/node.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=ve(ju()),Y=ve(_o()),fe=ve(yu());function ve(ae){return ae&&ae.__esModule?ae:{default:ae}}function ye(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(we){return ye(we,b)}):(Ie==="object"&&V!==null&&(V=ye(V)),b[Z]=V)}return b}var be=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 we in V)Ie[we]=V[we];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=ye(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,we=Z;Ie<we.length;Ie++){var Ge=we[Ie];this.parent.insertBefore(this,Ge)}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,we=0;we<b;we++)Z[we]===`
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=be;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(be){return be&&be.__esModule?be:{default:be}}function fe(be,pe){be.prototype=Object.create(pe.prototype),be.prototype.constructor=be,be.__proto__=pe}var ve=function(be){fe(pe,be);function pe(ae){var F;return F=be.call(this,ae)||this,F.type="comment",F}return pe}(X.default),ye=ve;w.default=ye,te.exports=w.default}}),Cl=Xt({"node_modules/postcss/lib/declaration.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(rl());function Y(be){return be&&be.__esModule?be:{default:be}}function fe(be,pe){be.prototype=Object.create(pe.prototype),be.prototype.constructor=be,be.__proto__=pe}var ve=function(be){fe(pe,be);function pe(ae){var F;return F=be.call(this,ae)||this,F.type="decl",F}return pe}(X.default),ye=ve;w.default=ye,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),ve="/".charCodeAt(0),ye=`
195
+ `.charCodeAt(0),be=" ".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),we="{".charCodeAt(0),Ge="}".charCodeAt(0),Ve=";".charCodeAt(0),Ne="*".charCodeAt(0),lt=":".charCodeAt(0),Ct="@".charCodeAt(0),Gt=/[ \n\t\r\f{}()'"\\;/[\]#]/g,hn=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Rn=/.[\\/("'\n]/,$n=/[a-f0-9]/i;function Di(li,on){on===void 0&&(on={});var Ei=li.css.valueOf(),mi=on.ignoreErrors,wn,Wr,yn,Or,Is,Xi,Ss,Oi,$i,Qn,Ni,vi,Ti,Wt,br=Ei.length,kr=-1,Nn=1,Ot=0,ni=[],Xn=[];function Ys(){return Ot}function zs(Us){throw li.error("Unclosed "+Us,Nn,Ot-kr)}function Qs(){return Xn.length===0&&Ot>=br}function fo(Us){if(Xn.length)return Xn.pop();if(!(Ot>=br)){var Aa=Us?Us.ignoreUnclosed:!1;switch(wn=Ei.charCodeAt(Ot),(wn===ye||wn===pe||wn===F&&Ei.charCodeAt(Ot+1)!==ye)&&(kr=Ot,Nn+=1),wn){case ye:case be:case ae:case F:case pe:Wr=Ot;do Wr+=1,wn=Ei.charCodeAt(Wr),wn===ye&&(kr=Wr,Nn+=1);while(wn===be||wn===ye||wn===ae||wn===F||wn===pe);Wt=["space",Ei.slice(Ot,Wr)],Ot=Wr-1;break;case b:case Z:case we:case Ge:case lt:case Ve:case Ie:var ua=String.fromCharCode(wn);Wt=[ua,ua,Nn,Ot-kr];break;case V:if(vi=ni.length?ni.pop()[1]:"",Ti=Ei.charCodeAt(Ot+1),vi==="url"&&Ti!==X&&Ti!==Y&&Ti!==be&&Ti!==ye&&Ti!==ae&&Ti!==pe&&Ti!==F){Wr=Ot;do{if(Qn=!1,Wr=Ei.indexOf(")",Wr+1),Wr===-1)if(mi||Aa){Wr=Ot;break}else zs("bracket");for(Ni=Wr;Ei.charCodeAt(Ni-1)===fe;)Ni-=1,Qn=!Qn}while(Qn);Wt=["brackets",Ei.slice(Ot,Wr+1),Nn,Ot-kr,Nn,Wr-kr],Ot=Wr}else Wr=Ei.indexOf(")",Ot+1),Xi=Ei.slice(Ot,Wr+1),Wr===-1||Rn.test(Xi)?Wt=["(","(",Nn,Ot-kr]:(Wt=["brackets",Xi,Nn,Ot-kr,Nn,Wr-kr],Ot=Wr);break;case X:case Y:yn=wn===X?"'":'"',Wr=Ot;do{if(Qn=!1,Wr=Ei.indexOf(yn,Wr+1),Wr===-1)if(mi||Aa){Wr=Ot+1;break}else zs("string");for(Ni=Wr;Ei.charCodeAt(Ni-1)===fe;)Ni-=1,Qn=!Qn}while(Qn);Xi=Ei.slice(Ot,Wr+1),Or=Xi.split(`
196
+ `),Is=Or.length-1,Is>0?(Oi=Nn+Is,$i=Wr-Or[Is].length):(Oi=Nn,$i=kr),Wt=["string",Ei.slice(Ot,Wr+1),Nn,Ot-kr,Oi,Wr-$i],kr=$i,Nn=Oi,Ot=Wr;break;case Ct:Gt.lastIndex=Ot+1,Gt.lastIndex===0?Wr=Ei.length-1:Wr=Gt.lastIndex-2,Wt=["at-word",Ei.slice(Ot,Wr+1),Nn,Ot-kr,Nn,Wr-kr],Ot=Wr;break;case fe:for(Wr=Ot,Ss=!0;Ei.charCodeAt(Wr+1)===fe;)Wr+=1,Ss=!Ss;if(wn=Ei.charCodeAt(Wr+1),Ss&&wn!==ve&&wn!==be&&wn!==ye&&wn!==ae&&wn!==F&&wn!==pe&&(Wr+=1,$n.test(Ei.charAt(Wr)))){for(;$n.test(Ei.charAt(Wr+1));)Wr+=1;Ei.charCodeAt(Wr+1)===be&&(Wr+=1)}Wt=["word",Ei.slice(Ot,Wr+1),Nn,Ot-kr,Nn,Wr-kr],Ot=Wr;break;default:wn===ve&&Ei.charCodeAt(Ot+1)===Ne?(Wr=Ei.indexOf("*/",Ot+2)+1,Wr===0&&(mi||Aa?Wr=Ei.length:zs("comment")),Xi=Ei.slice(Ot,Wr+1),Or=Xi.split(`
197
+ `),Is=Or.length-1,Is>0?(Oi=Nn+Is,$i=Wr-Or[Is].length):(Oi=Nn,$i=kr),Wt=["comment",Xi,Nn,Ot-kr,Oi,Wr-$i],kr=$i,Nn=Oi,Ot=Wr):(hn.lastIndex=Ot+1,hn.lastIndex===0?Wr=Ei.length-1:Wr=hn.lastIndex-2,Wt=["word",Ei.slice(Ot,Wr+1),Nn,Ot-kr,Nn,Wr-kr],ni.push(Wt),Ot=Wr);break}return Ot++,Wt}}function gs(Us){Xn.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(be){return be&&be.__esModule?be:{default:be}}function ve(be,pe){var ae=new Y.default(be,pe),F=new X.default(ae);try{F.parse()}catch(b){throw b}return F.root}var ye=ve;w.default=ye,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,ve,ye){for(var be=[],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&&ve.indexOf(Ie)!==-1&&(ae=!0),ae?(pe!==""&&be.push(pe.trim()),pe="",ae=!1):pe+=Ie}return(ye||pe!=="")&&be.push(pe.trim()),be},space:function(fe){var ve=[" ",`
198
+ `," "];return X.split(fe,ve)},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 ve(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 ye(F,b,Z){return b&&ve(F.prototype,b),Z&&ve(F,Z),F}function be(F,b){F.prototype=Object.create(b.prototype),F.prototype.constructor=F,F.__proto__=b}var pe=function(F){be(b,F);function b(Z){var V;return V=F.call(this,Z)||this,V.type="rule",V.nodes||(V.nodes=[]),V}return ye(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=ve(Cl()),Y=ve(po()),fe=ve(rl());function ve(we){return we&&we.__esModule?we:{default:we}}function ye(we,Ge){var Ve;if(typeof Symbol>"u"||we[Symbol.iterator]==null){if(Array.isArray(we)||(Ve=be(we))||Ge&&we&&typeof we.length=="number"){Ve&&(we=Ve);var Ne=0;return function(){return Ne>=we.length?{done:!0}:{done:!1,value:we[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 Ve=we[Symbol.iterator](),Ve.next.bind(Ve)}function be(we,Ge){if(we){if(typeof we=="string")return pe(we,Ge);var Ve=Object.prototype.toString.call(we).slice(8,-1);if(Ve==="Object"&&we.constructor&&(Ve=we.constructor.name),Ve==="Map"||Ve==="Set")return Array.from(we);if(Ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ve))return pe(we,Ge)}}function pe(we,Ge){(Ge==null||Ge>we.length)&&(Ge=we.length);for(var Ve=0,Ne=new Array(Ge);Ve<Ge;Ve++)Ne[Ve]=we[Ve];return Ne}function ae(we,Ge){for(var Ve=0;Ve<Ge.length;Ve++){var Ne=Ge[Ve];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(we,Ne.key,Ne)}}function F(we,Ge,Ve){return Ge&&ae(we.prototype,Ge),Ve&&ae(we,Ve),we}function b(we,Ge){we.prototype=Object.create(Ge.prototype),we.prototype.constructor=we,we.__proto__=Ge}function Z(we){return we.map(function(Ge){return Ge.nodes&&(Ge.nodes=Z(Ge.nodes)),delete Ge.source,Ge})}var V=function(we){b(Ge,we);function Ge(){return we.apply(this,arguments)||this}var Ve=Ge.prototype;return Ve.push=function(Ne){return Ne.parent=this,this.nodes.push(Ne),this},Ve.each=function(Ne){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var lt=this.lastEach;if(this.indexes[lt]=0,!!this.nodes){for(var Ct,Gt;this.indexes[lt]<this.nodes.length&&(Ct=this.indexes[lt],Gt=Ne(this.nodes[Ct],Ct),Gt!==!1);)this.indexes[lt]+=1;return delete this.indexes[lt],Gt}},Ve.walk=function(Ne){return this.each(function(lt,Ct){var Gt;try{Gt=Ne(lt,Ct)}catch(Rn){if(Rn.postcssNode=lt,Rn.stack&&lt.source&&/\n\s{4}at /.test(Rn.stack)){var hn=lt.source;Rn.stack=Rn.stack.replace(/\n\s{4}at /,"$&"+hn.input.from+":"+hn.start.line+":"+hn.start.column+"$&")}throw Rn}return Gt!==!1&&lt.walk&&(Gt=lt.walk(Ne)),Gt})},Ve.walkDecls=function(Ne,lt){return lt?Ne instanceof RegExp?this.walk(function(Ct,Gt){if(Ct.type==="decl"&&Ne.test(Ct.prop))return lt(Ct,Gt)}):this.walk(function(Ct,Gt){if(Ct.type==="decl"&&Ct.prop===Ne)return lt(Ct,Gt)}):(lt=Ne,this.walk(function(Ct,Gt){if(Ct.type==="decl")return lt(Ct,Gt)}))},Ve.walkRules=function(Ne,lt){return lt?Ne instanceof RegExp?this.walk(function(Ct,Gt){if(Ct.type==="rule"&&Ne.test(Ct.selector))return lt(Ct,Gt)}):this.walk(function(Ct,Gt){if(Ct.type==="rule"&&Ct.selector===Ne)return lt(Ct,Gt)}):(lt=Ne,this.walk(function(Ct,Gt){if(Ct.type==="rule")return lt(Ct,Gt)}))},Ve.walkAtRules=function(Ne,lt){return lt?Ne instanceof RegExp?this.walk(function(Ct,Gt){if(Ct.type==="atrule"&&Ne.test(Ct.name))return lt(Ct,Gt)}):this.walk(function(Ct,Gt){if(Ct.type==="atrule"&&Ct.name===Ne)return lt(Ct,Gt)}):(lt=Ne,this.walk(function(Ct,Gt){if(Ct.type==="atrule")return lt(Ct,Gt)}))},Ve.walkComments=function(Ne){return this.walk(function(lt,Ct){if(lt.type==="comment")return Ne(lt,Ct)})},Ve.append=function(){for(var Ne=arguments.length,lt=new Array(Ne),Ct=0;Ct<Ne;Ct++)lt[Ct]=arguments[Ct];for(var Gt=0,hn=lt;Gt<hn.length;Gt++)for(var Rn=hn[Gt],$n=this.normalize(Rn,this.last),Di=ye($n),li;!(li=Di()).done;){var on=li.value;this.nodes.push(on)}return this},Ve.prepend=function(){for(var Ne=arguments.length,lt=new Array(Ne),Ct=0;Ct<Ne;Ct++)lt[Ct]=arguments[Ct];lt=lt.reverse();for(var Gt=ye(lt),hn;!(hn=Gt()).done;){for(var Rn=hn.value,$n=this.normalize(Rn,this.first,"prepend").reverse(),Di=ye($n),li;!(li=Di()).done;){var on=li.value;this.nodes.unshift(on)}for(var Ei in this.indexes)this.indexes[Ei]=this.indexes[Ei]+$n.length}return this},Ve.cleanRaws=function(Ne){if(we.prototype.cleanRaws.call(this,Ne),this.nodes)for(var lt=ye(this.nodes),Ct;!(Ct=lt()).done;){var Gt=Ct.value;Gt.cleanRaws(Ne)}},Ve.insertBefore=function(Ne,lt){Ne=this.index(Ne);for(var Ct=Ne===0?"prepend":!1,Gt=this.normalize(lt,this.nodes[Ne],Ct).reverse(),hn=ye(Gt),Rn;!(Rn=hn()).done;){var $n=Rn.value;this.nodes.splice(Ne,0,$n)}var Di;for(var li in this.indexes)Di=this.indexes[li],Ne<=Di&&(this.indexes[li]=Di+Gt.length);return this},Ve.insertAfter=function(Ne,lt){Ne=this.index(Ne);for(var Ct=this.normalize(lt,this.nodes[Ne]).reverse(),Gt=ye(Ct),hn;!(hn=Gt()).done;){var Rn=hn.value;this.nodes.splice(Ne+1,0,Rn)}var $n;for(var Di in this.indexes)$n=this.indexes[Di],Ne<$n&&(this.indexes[Di]=$n+Ct.length);return this},Ve.removeChild=function(Ne){Ne=this.index(Ne),this.nodes[Ne].parent=void 0,this.nodes.splice(Ne,1);var lt;for(var Ct in this.indexes)lt=this.indexes[Ct],lt>=Ne&&(this.indexes[Ct]=lt-1);return this},Ve.removeAll=function(){for(var Ne=ye(this.nodes),lt;!(lt=Ne()).done;){var Ct=lt.value;Ct.parent=void 0}return this.nodes=[],this},Ve.replaceValues=function(Ne,lt,Ct){return Ct||(Ct=lt,lt={}),this.walkDecls(function(Gt){lt.props&&lt.props.indexOf(Gt.prop)===-1||lt.fast&&Gt.value.indexOf(lt.fast)===-1||(Gt.value=Gt.value.replace(Ne,Ct))}),this},Ve.every=function(Ne){return this.nodes.every(Ne)},Ve.some=function(Ne){return this.nodes.some(Ne)},Ve.index=function(Ne){return typeof Ne=="number"?Ne:this.nodes.indexOf(Ne)},Ve.normalize=function(Ne,lt){var Ct=this;if(typeof Ne=="string"){var Gt=ia();Ne=Z(Gt(Ne).nodes)}else if(Array.isArray(Ne)){Ne=Ne.slice(0);for(var hn=ye(Ne),Rn;!(Rn=hn()).done;){var $n=Rn.value;$n.parent&&$n.parent.removeChild($n,"ignore")}}else if(Ne.type==="root"){Ne=Ne.nodes.slice(0);for(var Di=ye(Ne),li;!(li=Di()).done;){var on=li.value;on.parent&&on.parent.removeChild(on,"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=El();Ne=[new mi(Ne)]}else if(Ne.text)Ne=[new Y.default(Ne)];else throw new Error("Unknown node type in node creation");var wn=Ne.map(function(Wr){return Wr.parent&&Wr.parent.removeChild(Wr),typeof Wr.raws.before>"u"&&lt&&typeof lt.raws.before<"u"&&(Wr.raws.before=lt.raws.before.replace(/[^\s]/g,"")),Wr.parent=Ct,Wr});return wn},F(Ge,[{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]}}]),Ge}(fe.default),Ie=V;w.default=Ie,te.exports=w.default}}),El=Xt({"node_modules/postcss/lib/at-rule.js"(w,te){Me(),w.__esModule=!0,w.default=void 0;var X=Y(Co());function Y(be){return be&&be.__esModule?be:{default:be}}function fe(be,pe){be.prototype=Object.create(pe.prototype),be.prototype.constructor=be,be.__proto__=pe}var ve=function(be){fe(pe,be);function pe(F){var b;return b=be.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=be.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=be.prototype.prepend).call.apply(F,[this].concat(Z))},pe}(X.default),ye=ve;w.default=ye,te.exports=w.default}}),bl=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(ye,be){if(be===void 0&&(be={}),this.type="warning",this.text=ye,be.node&&be.node.source){var pe=be.node.positionBy(be);this.line=pe.line,this.column=pe.column}for(var ae in be)this[ae]=be[ae]}var ve=fe.prototype;return ve.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 ve(pe,ae,F){return ae&&fe(pe.prototype,ae),F&&fe(pe,F),pe}var ye=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"})},ve(pe,[{key:"content",get:function(){return this.css}}]),pe}(),be=ye;w.default=be,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=ye(bl()),Y=ye(yu());ye(Du());var fe=ye(Za()),ve=ye(ia());function ye(we){return we&&we.__esModule?we:{default:we}}function be(we,Ge){var Ve;if(typeof Symbol>"u"||we[Symbol.iterator]==null){if(Array.isArray(we)||(Ve=pe(we))||Ge&&we&&typeof we.length=="number"){Ve&&(we=Ve);var Ne=0;return function(){return Ne>=we.length?{done:!0}:{done:!1,value:we[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 Ve=we[Symbol.iterator](),Ve.next.bind(Ve)}function pe(we,Ge){if(we){if(typeof we=="string")return ae(we,Ge);var Ve=Object.prototype.toString.call(we).slice(8,-1);if(Ve==="Object"&&we.constructor&&(Ve=we.constructor.name),Ve==="Map"||Ve==="Set")return Array.from(we);if(Ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ve))return ae(we,Ge)}}function ae(we,Ge){(Ge==null||Ge>we.length)&&(Ge=we.length);for(var Ve=0,Ne=new Array(Ge);Ve<Ge;Ve++)Ne[Ve]=we[Ve];return Ne}function F(we,Ge){for(var Ve=0;Ve<Ge.length;Ve++){var Ne=Ge[Ve];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(we,Ne.key,Ne)}}function b(we,Ge,Ve){return Ge&&F(we.prototype,Ge),Ve&&F(we,Ve),we}function Z(we){return typeof we=="object"&&typeof we.then=="function"}var V=function(){function we(Ve,Ne,lt){this.stringified=!1,this.processed=!1;var Ct;if(typeof Ne=="object"&&Ne!==null&&Ne.type==="root")Ct=Ne;else if(Ne instanceof we||Ne instanceof fe.default)Ct=Ne.root,Ne.map&&(typeof lt.map>"u"&&(lt.map={}),lt.map.inline||(lt.map.inline=!1),lt.map.prev=Ne.map);else{var Gt=ve.default;lt.syntax&&(Gt=lt.syntax.parse),lt.parser&&(Gt=lt.parser),Gt.parse&&(Gt=Gt.parse);try{Ct=Gt(Ne,lt)}catch(hn){this.error=hn}}this.result=new fe.default(Ve,Ct,lt)}var Ge=we.prototype;return Ge.warnings=function(){return this.sync().warnings()},Ge.toString=function(){return this.css},Ge.then=function(Ve,Ne){return this.async().then(Ve,Ne)},Ge.catch=function(Ve){return this.async().catch(Ve)},Ge.finally=function(Ve){return this.async().then(Ve,Ve)},Ge.handleError=function(Ve,Ne){try{if(this.error=Ve,Ve.name==="CssSyntaxError"&&!Ve.plugin)Ve.plugin=Ne.postcssPlugin,Ve.setMessage();else if(Ne.postcssVersion&&!1)var lt,Ct,Gt,hn,Rn}catch($n){console&&console.error&&console.error($n)}},Ge.asyncTick=function(Ve,Ne){var lt=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,Ve();try{var Ct=this.processor.plugins[this.plugin],Gt=this.run(Ct);this.plugin+=1,Z(Gt)?Gt.then(function(){lt.asyncTick(Ve,Ne)}).catch(function(hn){lt.handleError(hn,Ct),lt.processed=!0,Ne(hn)}):this.asyncTick(Ve,Ne)}catch(hn){this.processed=!0,Ne(hn)}},Ge.async=function(){var Ve=this;return this.processed?new Promise(function(Ne,lt){Ve.error?lt(Ve.error):Ne(Ve.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ne,lt){if(Ve.error)return lt(Ve.error);Ve.plugin=0,Ve.asyncTick(Ne,lt)}).then(function(){return Ve.processed=!0,Ve.stringify()}),this.processing)},Ge.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var Ve=be(this.result.processor.plugins),Ne;!(Ne=Ve()).done;){var lt=Ne.value,Ct=this.run(lt);if(Z(Ct))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Ge.run=function(Ve){this.result.lastPlugin=Ve;try{return Ve(this.result.root,this.result)}catch(Ne){throw this.handleError(Ne,Ve),Ne}},Ge.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var Ve=this.result.opts,Ne=Y.default;Ve.syntax&&(Ne=Ve.syntax.stringify),Ve.stringifier&&(Ne=Ve.stringifier),Ne.stringify&&(Ne=Ne.stringify);var lt=new X.default(Ne,this.result.root,this.result.opts),Ct=lt.generate();return this.result.css=Ct[0],this.result.map=Ct[1],this.result},b(we,[{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}}]),we}(),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=ve(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 ve(ae,F){if(ae){if(typeof ae=="string")return ye(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 ye(ae,F)}}function ye(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 be=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 we=Ie.value;if(we.postcss===!0){var Ge=we();throw new Error("PostCSS plugin "+Ge.postcssPlugin+` requires PostCSS 8.
202
+ Migration guide for end-users:
203
+ https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(we.postcss&&(we=we.postcss),typeof we=="object"&&Array.isArray(we.plugins))Z=Z.concat(we.plugins);else if(typeof we=="function")Z.push(we);else if(!(typeof we=="object"&&(we.parse||we.stringify)))throw typeof we=="object"&&we.postcssPlugin?new Error("PostCSS plugin "+we.postcssPlugin+` requires PostCSS 8.
204
+ Migration guide for end-users:
205
+ https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(we+" is not a PostCSS plugin")}return Z},ae}(),pe=be;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=ve(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 ve(F,b){if(F){if(typeof F=="string")return ye(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 ye(F,b)}}function ye(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 be(F,b){F.prototype=Object.create(b.prototype),F.prototype.constructor=F,F.__proto__=b}var pe=function(F){be(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 we=this.index(V);return!Ie&&we===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[we].raws.before),F.prototype.removeChild.call(this,V)},Z.normalize=function(V,Ie,we){var Ge=F.prototype.normalize.call(this,V);if(Ie){if(we==="prepend")this.nodes.length>1?Ie.raws.before=this.nodes[1].raws.before:delete Ie.raws.before;else if(this.first!==Ie)for(var Ve=fe(Ge),Ne;!(Ne=Ve()).done;){var lt=Ne.value;lt.raws.before=Ie.raws.before}}return Ge},Z.toResult=function(V){V===void 0&&(V={});var Ie=ja(),we=Ru(),Ge=new Ie(new we,this,V);return Ge.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(Cl()),Y=pe(Qa()),fe=pe(po()),ve=pe(El()),ye=pe(nl()),be=pe(Io());function pe(F){return F&&F.__esModule?F:{default:F}}var ae=function(){function F(Z){this.input=Z,this.root=new ye.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 we=Ie.match(/^(\s*)([^]*[^\s])(\s*)$/);V.text=we[2],V.raws.left=we[1],V.raws.right=we[3]}},b.emptyRule=function(Z){var V=new be.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,we=!1,Ge=null,Ve=[],Ne=[],lt=Z;lt;){if(Ie=lt[0],Ne.push(lt),Ie==="("||Ie==="[")Ge||(Ge=lt),Ve.push(Ie==="("?")":"]");else if(Ve.length===0)if(Ie===";")if(we){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===":"&&(we=!0);else Ie===Ve[Ve.length-1]&&(Ve.pop(),Ve.length===0&&(Ge=null));lt=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(V=!0),Ve.length>0&&this.unclosedBracket(Ge),V&&we){for(;Ne.length&&(lt=Ne[Ne.length-1][0],!(lt!=="space"&&lt!=="comment"));)this.tokenizer.back(Ne.pop());this.decl(Ne)}else this.unknownWord(Ne)},b.rule=function(Z){Z.pop();var V=new be.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 we=Z[0][0];if(we===":"||we==="space"||we==="comment")break;V.prop+=Z.shift()[1]}V.raws.between="";for(var Ge;Z.length;)if(Ge=Z.shift(),Ge[0]===":"){V.raws.between+=Ge[1];break}else Ge[0]==="word"&&/\w/.test(Ge[1])&&this.unknownWord([Ge]),V.raws.between+=Ge[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 Ve=Z.length-1;Ve>0;Ve--){if(Ge=Z[Ve],Ge[1].toLowerCase()==="!important"){V.important=!0;var Ne=this.stringFrom(Z,Ve);Ne=this.spacesFromEnd(Z)+Ne,Ne!==" !important"&&(V.raws.important=Ne);break}else if(Ge[1].toLowerCase()==="important"){for(var lt=Z.slice(0),Ct="",Gt=Ve;Gt>0;Gt--){var hn=lt[Gt][0];if(Ct.trim().indexOf("!")===0&&hn!=="space")break;Ct=lt.pop()[1]+Ct}Ct.trim().indexOf("!")===0&&(V.important=!0,V.raws.important=Ct,Z=lt)}if(Ge[0]!=="space"&&Ge[0]!=="comment")break}this.raw(V,"value",Z),V.value.indexOf(":")!==-1&&this.checkMissedSemicolon(Z)},b.atrule=function(Z){var V=new ve.default;V.name=Z[1].slice(1),V.name===""&&this.unnamedAtrule(V,Z),this.init(V,Z[2],Z[3]);for(var Ie,we,Ge=!1,Ve=!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]==="{"){Ve=!0;break}else if(Z[0]==="}"){if(Ne.length>0){for(we=Ne.length-1,Ie=Ne[we];Ie&&Ie[0]==="space";)Ie=Ne[--we];Ie&&(V.source.end={line:Ie[4],column:Ie[5]})}this.end(Z);break}else Ne.push(Z);if(this.tokenizer.endOfFile()){Ge=!0;break}}V.raws.between=this.spacesAndCommentsFromEnd(Ne),Ne.length?(V.raws.afterName=this.spacesAndCommentsFromStart(Ne),this.raw(V,"params",Ne),Ge&&(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=""),Ve&&(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 we,Ge,Ve=Ie.length,Ne="",lt=!0,Ct,Gt,hn=/^([.|#])?([\w])+/i,Rn=0;Rn<Ve;Rn+=1){if(we=Ie[Rn],Ge=we[0],Ge==="comment"&&Z.type==="rule"){Gt=Ie[Rn-1],Ct=Ie[Rn+1],Gt[0]!=="space"&&Ct[0]!=="space"&&hn.test(Gt[1])&&hn.test(Ct[1])?Ne+=we[1]:lt=!1;continue}Ge==="comment"||Ge==="space"&&Rn===Ve-1?lt=!1:Ne+=we[1]}if(!lt){var $n=Ie.reduce(function(Di,li){return Di+li[1]},"");Z.raws[V]={value:Ne,raw:$n}}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="",we=V;we<Z.length;we++)Ie+=Z[we][1];return Z.splice(V,Z.length-V),Ie},b.colon=function(Z){for(var V=0,Ie,we,Ge,Ve=0;Ve<Z.length;Ve++){if(Ie=Z[Ve],we=Ie[0],we==="("&&(V+=1),we===")"&&(V-=1),V===0&&we===":")if(!Ge)this.doubleColon(Ie);else{if(Ge[0]==="word"&&Ge[1]==="progid")continue;return Ve}Ge=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,we,Ge=V-1;Ge>=0&&(we=Z[Ge],!(we[0]!=="space"&&(Ie+=1,Ie===2)));Ge--);throw this.input.error("Missed semicolon",we[2],we[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 ve=fe,ye=[],be;for(;fe;){if(/\r?\n/.test(fe[1])){if(/['"].*\r?\n/.test(fe[1])){ye.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}ye.push(fe[1]),be=fe,fe=this.tokenizer.nextToken({ignoreUnclosed:!0})}let pe=["comment",ye.join(""),ve[2],ve[3],be[2],be[3]];return this.inlineComment(pe),!0}else if(fe[1]==="/"){let ve=this.tokenizer.nextToken({ignoreUnclosed:!0});if(ve[0]==="comment"&&/^\/\*/.test(ve[1]))return ve[0]="word",ve[1]=ve[1].slice(1),fe[1]="//",this.tokenizer.back(ve),te.exports.isInlineComment.bind(this)(fe)}return!1}}}}),Hl=Xt({"node_modules/postcss-less/lib/nodes/interpolation.js"(w,te){Me(),te.exports={interpolation(X){let Y=X,fe=[X],ve=["word","{","}"];if(X=this.tokenizer.nextToken(),Y[1].length>1||X[0]!=="{")return this.tokenizer.back(X),!1;for(;X&&ve.includes(X[0]);)fe.push(X),X=this.tokenizer.nextToken();let ye=fe.map(b=>b[1]);[Y]=fe;let be=fe.pop(),pe=[Y[2],Y[3]],ae=[be[4]||be[2],be[5]||be[3]],F=["word",ye.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=ve=>{let[,ye]=ve,[be]=ye;return(be==="."||be==="#")&&X.test(ye)===!1&&Y.test(ye)===!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:ve,params:ye=""}=fe;if(ve==="import"&&ye.length){fe.import=!0;let be=X({css:ye});for(fe.filename=ye.replace(Y,"$1");!be.endOfFile();){let[pe,ae]=be.nextToken();if(pe==="word"&&ae==="url")return;if(pe==="brackets"){fe.options=ae,fe.filename=ye.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:ve,params:ye=""}=fe;if(fe.name.slice(-1)===":"){if(X.test(ve)){let[be]=ve.match(X);fe.name=ve.replace(be,""),fe.raws.afterName=be+(fe.raws.afterName||""),fe.variable=!0,fe.value=fe.params}if(Y.test(ye)){let[be]=ye.match(Y);fe.value=ye.replace(be,""),fe.raws.afterName=(fe.raws.afterName||"")+be,fe.variable=!0}}}}}),oa=Xt({"node_modules/postcss-less/lib/LessParser.js"(w,te){Me();var X=po(),Y=$u(),{isInlineComment:fe}=xu(),{interpolation:ve}=Hl(),{isMixinToken:ye}=Cu(),be=Xs(),pe=sa(),ae=/(!\s*important)$/i;te.exports=class extends Y{constructor(){super(...arguments),this.lastNode=null}atrule(F){ve.bind(this)(F)||(super.atrule(F),be(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(we=>we[0]==="("),Z=F.reverse().find(we=>we[0]===")"),V=F.reverse().indexOf(Z),Ie=F.splice(b,V).map(we=>we[1]).join("");for(let we of F.reverse())this.tokenizer.back(we);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]==="("),we="";if((V<0||V>3)&&Ie>0){let Ne=F.reduce((on,Ei,mi)=>Ei[0]===")"?mi:on),lt=F.slice(Ie,Ne+Ie).map(on=>on[1]).join(""),[Ct]=F.slice(Ie),Gt=[Ct[2],Ct[3]],[hn]=F.slice(Ne,Ne+1),Rn=[hn[2],hn[3]],$n=["brackets",lt].concat(Gt,Rn),Di=F.slice(0,Ie),li=F.slice(Ne+1);F=Di,F.push($n),F=F.concat(li)}let Ge=[];for(let Ne of F)if((Ne[1]==="!"||Ge.length)&&Ge.push(Ne),Ne[1]==="important")break;if(Ge.length){let[Ne]=Ge,lt=F.indexOf(Ne),Ct=Ge[Ge.length-1],Gt=[Ne[2],Ne[3]],hn=[Ct[4],Ct[5]],Rn=Ge.map(Di=>Di[1]).join(""),$n=["word",Rn].concat(Gt,hn);F.splice(lt,Ge.length,$n)}let Ve=F.findIndex(Ne=>ae.test(Ne[1]));Ve>0&&([,we]=F[Ve],F.splice(Ve,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,we&&(this.lastNode.important=!0,this.lastNode.raws.important=we)}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),ve.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(ye(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 ve=`${Y.function?"":Y.raws.identifier||"@"}${Y.name}`,ye=Y.params?this.rawValue(Y,"params"):"",be=Y.raws.important||"";if(Y.variable&&(ye=Y.value),typeof Y.raws.afterName<"u"?ve+=Y.raws.afterName:ye&&(ve+=" "),Y.nodes)this.block(Y,ve+ye+be);else{let pe=(Y.raws.between||"")+be+(fe?";":"");this.builder(ve+ye+pe,Y)}}comment(Y){if(Y.inline){let fe=this.raw(Y,"left","commentLeft"),ve=this.raw(Y,"right","commentRight");this.builder(`//${fe}${Y.text}${ve}`,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(ve,ye){let be=new X(ve,ye),pe=new Y(be);return pe.parse(),pe.root},stringify(ve,ye){new fe(ye).stringify(ve)},nodeToString(ve){let ye="";return te.exports.stringify(ve,be=>{ye+=be}),ye}}}}),il=Xt({"node_modules/postcss-scss/lib/scss-stringifier.js"(w,te){Me();function X(ve,ye){ve.prototype=Object.create(ye.prototype),ve.prototype.constructor=ve,ve.__proto__=ye}var Y=_o(),fe=function(ve){X(ye,ve);function ye(){return ve.apply(this,arguments)||this}var be=ye.prototype;return be.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)},be.decl=function(pe,ae){if(!pe.isNested)ve.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")}},be.rawValue=function(pe,ae){var F=pe[ae],b=pe.raws[ae];return b&&b.value===F?b.scss?b.scss:b.raw:F},ye}(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 ve=new X(fe);ve.stringify(Y)}}}),ql=Xt({"node_modules/postcss-scss/lib/nested-declaration.js"(w,te){Me();function X(ve,ye){ve.prototype=Object.create(ye.prototype),ve.prototype.constructor=ve,ve.__proto__=ye}var Y=Co(),fe=function(ve){X(ye,ve);function ye(be){var pe;return pe=ve.call(this,be)||this,pe.type="decl",pe.isNested=!0,pe.nodes||(pe.nodes=[]),pe}return ye}(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),ve="/".charCodeAt(0),ye=`
209
+ `.charCodeAt(0),be=" ".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),we="{".charCodeAt(0),Ge="}".charCodeAt(0),Ve=";".charCodeAt(0),Ne="*".charCodeAt(0),lt=":".charCodeAt(0),Ct="@".charCodeAt(0),Gt=",".charCodeAt(0),hn="#".charCodeAt(0),Rn=/[ \n\t\r\f{}()'"\\;/[\]#]/g,$n=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Di=/.[\\/("'\n]/,li=/[a-f0-9]/i,on=/[\r\f\n]/g;te.exports=function(Ei,mi){mi===void 0&&(mi={});var wn=Ei.css.valueOf(),Wr=mi.ignoreErrors,yn,Or,Is,Xi,Ss,Oi,$i,Qn,Ni,vi,Ti,Wt,br,kr,Nn=wn.length,Ot=-1,ni=1,Xn=0,Ys=[],zs=[];function Qs(ua){throw Ei.error("Unclosed "+ua,ni,Xn-Ot)}function fo(){return zs.length===0&&Xn>=Nn}function gs(){for(var ua=1,Hs=!1,ya=!1;ua>0;)Or+=1,wn.length<=Or&&Qs("interpolation"),yn=wn.charCodeAt(Or),Wt=wn.charCodeAt(Or+1),Hs?!ya&&yn===Hs?(Hs=!1,ya=!1):yn===fe?ya=!vi:ya&&(ya=!1):yn===X||yn===Y?Hs=yn:yn===Ge?ua-=1:yn===hn&&Wt===we&&(ua+=1)}function Us(){if(zs.length)return zs.pop();if(!(Xn>=Nn)){switch(yn=wn.charCodeAt(Xn),(yn===ye||yn===pe||yn===F&&wn.charCodeAt(Xn+1)!==ye)&&(Ot=Xn,ni+=1),yn){case ye:case be:case ae:case F:case pe:Or=Xn;do Or+=1,yn=wn.charCodeAt(Or),yn===ye&&(Ot=Or,ni+=1);while(yn===be||yn===ye||yn===ae||yn===F||yn===pe);br=["space",wn.slice(Xn,Or)],Xn=Or-1;break;case b:br=["[","[",ni,Xn-Ot];break;case Z:br=["]","]",ni,Xn-Ot];break;case we:br=["{","{",ni,Xn-Ot];break;case Ge:br=["}","}",ni,Xn-Ot];break;case Gt:br=["word",",",ni,Xn-Ot,ni,Xn-Ot+1];break;case lt:br=[":",":",ni,Xn-Ot];break;case Ve:br=[";",";",ni,Xn-Ot];break;case V:if(Ti=Ys.length?Ys.pop()[1]:"",Wt=wn.charCodeAt(Xn+1),Ti==="url"&&Wt!==X&&Wt!==Y){for(kr=1,vi=!1,Or=Xn+1;Or<=wn.length-1;){if(Wt=wn.charCodeAt(Or),Wt===fe)vi=!vi;else if(Wt===V)kr+=1;else if(Wt===Ie&&(kr-=1,kr===0))break;Or+=1}Oi=wn.slice(Xn,Or+1),Xi=Oi.split(`
210
+ `),Ss=Xi.length-1,Ss>0?(Qn=ni+Ss,Ni=Or-Xi[Ss].length):(Qn=ni,Ni=Ot),br=["brackets",Oi,ni,Xn-Ot,Qn,Or-Ni],Ot=Ni,ni=Qn,Xn=Or}else Or=wn.indexOf(")",Xn+1),Oi=wn.slice(Xn,Or+1),Or===-1||Di.test(Oi)?br=["(","(",ni,Xn-Ot]:(br=["brackets",Oi,ni,Xn-Ot,ni,Or-Ot],Xn=Or);break;case Ie:br=[")",")",ni,Xn-Ot];break;case X:case Y:for(Is=yn,Or=Xn,vi=!1;Or<Nn&&(Or++,Or===Nn&&Qs("string"),yn=wn.charCodeAt(Or),Wt=wn.charCodeAt(Or+1),!(!vi&&yn===Is));)yn===fe?vi=!vi:vi?vi=!1:yn===hn&&Wt===we&&gs();Oi=wn.slice(Xn,Or+1),Xi=Oi.split(`
211
+ `),Ss=Xi.length-1,Ss>0?(Qn=ni+Ss,Ni=Or-Xi[Ss].length):(Qn=ni,Ni=Ot),br=["string",wn.slice(Xn,Or+1),ni,Xn-Ot,Qn,Or-Ni],Ot=Ni,ni=Qn,Xn=Or;break;case Ct:Rn.lastIndex=Xn+1,Rn.lastIndex===0?Or=wn.length-1:Or=Rn.lastIndex-2,br=["at-word",wn.slice(Xn,Or+1),ni,Xn-Ot,ni,Or-Ot],Xn=Or;break;case fe:for(Or=Xn,$i=!0;wn.charCodeAt(Or+1)===fe;)Or+=1,$i=!$i;if(yn=wn.charCodeAt(Or+1),$i&&yn!==ve&&yn!==be&&yn!==ye&&yn!==ae&&yn!==F&&yn!==pe&&(Or+=1,li.test(wn.charAt(Or)))){for(;li.test(wn.charAt(Or+1));)Or+=1;wn.charCodeAt(Or+1)===be&&(Or+=1)}br=["word",wn.slice(Xn,Or+1),ni,Xn-Ot,ni,Or-Ot],Xn=Or;break;default:Wt=wn.charCodeAt(Xn+1),yn===hn&&Wt===we?(Or=Xn,gs(),Oi=wn.slice(Xn,Or+1),Xi=Oi.split(`
212
+ `),Ss=Xi.length-1,Ss>0?(Qn=ni+Ss,Ni=Or-Xi[Ss].length):(Qn=ni,Ni=Ot),br=["word",Oi,ni,Xn-Ot,Qn,Or-Ni],Ot=Ni,ni=Qn,Xn=Or):yn===ve&&Wt===Ne?(Or=wn.indexOf("*/",Xn+2)+1,Or===0&&(Wr?Or=wn.length:Qs("comment")),Oi=wn.slice(Xn,Or+1),Xi=Oi.split(`
213
+ `),Ss=Xi.length-1,Ss>0?(Qn=ni+Ss,Ni=Or-Xi[Ss].length):(Qn=ni,Ni=Ot),br=["comment",Oi,ni,Xn-Ot,Qn,Or-Ni],Ot=Ni,ni=Qn,Xn=Or):yn===ve&&Wt===ve?(on.lastIndex=Xn+1,on.lastIndex===0?Or=wn.length-1:Or=on.lastIndex-2,Oi=wn.slice(Xn,Or+1),br=["comment",Oi,ni,Xn-Ot,ni,Or-Ot,"inline"],Xn=Or):($n.lastIndex=Xn+1,$n.lastIndex===0?Or=wn.length-1:Or=$n.lastIndex-2,br=["word",wn.slice(Xn,Or+1),ni,Xn-Ot,ni,Or-Ot],Ys.push(br),Xn=Or);break}return Xn++,br}}function Aa(ua){zs.push(ua)}return{back:Aa,nextToken:Us,endOfFile:fo}}}}),Wl=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(),ve=ql(),ye=ic(),be=function(pe){X(ae,pe);function ae(){return pe.apply(this,arguments)||this}var F=ae.prototype;return F.createTokenizer=function(){this.tokenizer=ye(this.input)},F.rule=function(b){for(var Z=!1,V=0,Ie="",Ve=b,we=Array.isArray(Ve),Ge=0,Ve=we?Ve:Ve[Symbol.iterator]();;){var Ne;if(we){if(Ge>=Ve.length)break;Ne=Ve[Ge++]}else{if(Ge=Ve.next(),Ge.done)break;Ne=Ge.value}var lt=Ne;if(Z)lt[0]!=="comment"&&lt[0]!=="{"&&(Ie+=lt[1]);else{if(lt[0]==="space"&&lt[1].indexOf(`
214
+ `)!==-1)break;lt[0]==="("?V+=1:lt[0]===")"?V-=1:V===0&&lt[0]===":"&&(Z=!0)}}if(!Z||Ie.trim()===""||/^[a-zA-Z-:#]/.test(Ie))pe.prototype.rule.call(this,b);else{b.pop();var Ct=new ve;this.init(Ct);var Gt=b[b.length-1];for(Gt[4]?Ct.source.end={line:Gt[4],column:Gt[5]}:Ct.source.end={line:Gt[2],column:Gt[3]};b[0][0]!=="word";)Ct.raws.before+=b.shift()[1];for(Ct.source.start={line:b[0][2],column:b[0][3]},Ct.prop="";b.length;){var hn=b[0][0];if(hn===":"||hn==="space"||hn==="comment")break;Ct.prop+=b.shift()[1]}Ct.raws.between="";for(var Rn;b.length;)if(Rn=b.shift(),Rn[0]===":"){Ct.raws.between+=Rn[1];break}else Ct.raws.between+=Rn[1];(Ct.prop[0]==="_"||Ct.prop[0]==="*")&&(Ct.raws.before+=Ct.prop[0],Ct.prop=Ct.prop.slice(1)),Ct.raws.between+=this.spacesAndCommentsFromStart(b),this.precheckMissedSemicolon(b);for(var $n=b.length-1;$n>0;$n--){if(Rn=b[$n],Rn[1]==="!important"){Ct.important=!0;var Di=this.stringFrom(b,$n);Di=this.spacesFromEnd(b)+Di,Di!==" !important"&&(Ct.raws.important=Di);break}else if(Rn[1]==="important"){for(var li=b.slice(0),on="",Ei=$n;Ei>0;Ei--){var mi=li[Ei][0];if(on.trim().indexOf("!")===0&&mi!=="space")break;on=li.pop()[1]+on}on.trim().indexOf("!")===0&&(Ct.important=!0,Ct.raws.important=on,b=li)}if(Rn[0]!=="space"&&Rn[0]!=="comment")break}this.raw(Ct,"value",b),Ct.value.indexOf(":")!==-1&&this.checkMissedSemicolon(b),this.current=Ct}},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*)$/),we=Ie[2].replace(/(\*\/|\/\*)/g,"*//*");Z.text=we,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(we,Ge){if(Ge[0]==="comment"&&Ge[6]==="inline"){var Ve=Ge[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return we+"/*"+Ve+"*/"}else return we+Ge[1]},""),Ie!==b.raws[Z].raw&&(b.raws[Z].scss=Ie)}},ae}(fe);te.exports=be}}),Al=Xt({"node_modules/postcss-scss/lib/scss-parse.js"(w,te){Me();var X=ga(),Y=Wl();te.exports=function(fe,ve){var ye=new X(fe,ve),be=new Y(ye);return be.parse(),be.root}}}),Jo=Xt({"node_modules/postcss-scss/lib/scss-syntax.js"(w,te){Me();var X=sl(),Y=Al();te.exports={parse:Y,stringify:X}}});Me();var Eu=St(),al=jt(),zu=rr(),{hasPragma:wl}=cn(),{locStart:ol,locEnd:ul}=ws(),{calculateLoc:ll,replaceQuotesInInlineComments:Vl}=ws(),Uu=is(),Hu=ge(),Xo=rt(),ha=ft(),Tl=cr(),sc=gi(),Gl=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],ve=Y,ye={groups:[],type:"comma_group"},be=[ye];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=Gl({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),ye={groups:[],type:"comma_group"},be.push(ye);else if(ae.type==="paren"&&ae.value===")"){if(ye.groups.length>0&&Y.groups.push(ye),Y.close=ae,be.length===1)throw new Error("Unbalanced parenthesis");be.pop(),ye=al(be),ye.groups.push(Y),fe.pop(),Y=al(fe)}else ae.type==="comma"?(Y.groups.push(ye),ye={groups:[],type:"comma_group"},be[be.length-1]=ye):ye.groups.push(ae)}return ye.groups.length>0&&Y.groups.push(ye),ve}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 Sl(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 ve="";if(typeof w.selector=="string"){var X;ve=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&&(ve+=w.raws.between),w.raws.selector=ve}let ye="";if(typeof w.value=="string"){var Y;ye=w.raws.value?(Y=w.raws.value.scss)!==null&&Y!==void 0?Y:w.raws.value.raw:w.value,ye=ye.trim(),w.raws.value=ye}let be="";if(typeof w.params=="string"){var fe;be=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&&(be=w.raws.afterName+be),w.raws.between&&w.raws.between.trim().length>0&&(be=be+w.raws.between),be=be.trim(),w.raws.params=be}if(ve.trim().length>0)return ve.startsWith("@")&&ve.endsWith(":")?w:w.mixin?(w.selector=Yo(ve,te),w):(Tl(w)&&(w.isSCSSNesterProperty=!0),w.selector=nu(ve),w);if(ye.length>0){let pe=ye.match(bu);pe&&(ye=ye.slice(0,pe.index),w.scssDefault=!0,pe[0].trim()!=="!default"&&(w.raws.scssDefault=pe[0]));let ae=ye.match(iu);if(ae&&(ye=ye.slice(0,ae.index),w.scssGlobal=!0,ae[0].trim()!=="!global"&&(w.raws.scssGlobal=ae[0])),ye.startsWith("progid:"))return{type:"value-unknown",value:ye};w.value=Yo(ye,te)}if(Xo(te)&&w.type==="css-decl"&&ye.startsWith("extend(")&&(w.extend||(w.extend=w.raws.between===":"),w.extend&&!w.selector&&(delete w.value,w.selector=nu(ye.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"&&be.length>0){let{name:pe}=w,ae=w.name.toLowerCase();return pe==="warn"||pe==="error"?(w.params={type:"media-unknown",value:be},w):pe==="extend"||pe==="nest"?(w.selector=nu(be),delete w.params,w):pe==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(be)?w.params=Yo(be,te):(w.selector=nu(be),delete w.params),w):Ra(ae)?(w.import=!0,delete w.filename,w.params=Yo(be,te),w):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(pe)?(be=be.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),be=be.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),w.value=Yo(be,te),delete w.params,w):["media","custom-media"].includes(ae)?be.includes("#{")?{type:"media-unknown",value:be}:(w.params=Sl(be),w):(w.params=be,w)}}return w}function eo(w,te,X){let Y=zu(te),{frontMatter:fe}=Y;te=Y.content;let ve;try{ve=w(te)}catch(ye){let{name:be,reason:pe,line:ae,column:F}=ye;throw typeof ae!="number"?ye:Eu(`${be}: ${pe}`,{start:{line:ae,column:F}})}return ve=qu(ba(ve,"css-"),X),ll(ve,te),fe&&(fe.source={startOffset:0,endOffset:fe.raw.length},ve.nodes.unshift(fe)),ve}function Fl(w,te){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Y=ha(X.parser,w)?[kl,Oo]:[Oo,kl],fe;for(let ve of Y)try{return ve(w,te,X)}catch(ye){fe=fe||ye}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(Vl(fe)),w,X)}function kl(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:wl,locStart:ol,locEnd:ul};xr.exports={parsers:{css:Object.assign(Object.assign({},Lo),{},{parse:Fl}),less:Object.assign(Object.assign({},Lo),{},{parse:Oo}),scss:Object.assign(Object.assign({},Lo),{},{parse:kl})}}});return ta()})})(Bm);const sv=zp(Bm.exports);var _m={exports:{}};(function(i,h){(function(c){i.exports=c()})(function(){var c=(Rt,_e)=>()=>(_e||Rt((_e={exports:{}}).exports,_e),_e.exports),g=c((Rt,_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 Rl=="object"&&Rl)||function(){return this}()||Function("return this")()}),x=c((Rt,_e)=>{_e.exports=function(ue){try{return!!ue()}catch{return!0}}}),S=c((Rt,_e)=>{var ue=x();_e.exports=!ue(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),q=c((Rt,_e)=>{var ue=x();_e.exports=!ue(function(){var re=function(){}.bind();return typeof re!="function"||re.hasOwnProperty("prototype")})}),se=c((Rt,_e)=>{var ue=q(),re=Function.prototype.call;_e.exports=ue?re.bind(re):function(){return re.apply(re,arguments)}}),he=c(Rt=>{var _e={}.propertyIsEnumerable,ue=Object.getOwnPropertyDescriptor,re=ue&&!_e.call({1:2},1);Rt.f=re?function(De){var Fe=ue(this,De);return!!Fe&&Fe.enumerable}:_e}),xe=c((Rt,_e)=>{_e.exports=function(ue,re){return{enumerable:!(ue&1),configurable:!(ue&2),writable:!(ue&4),value:re}}}),Te=c((Rt,_e)=>{var ue=q(),re=Function.prototype,De=re.bind,Fe=re.call,Re=ue&&De.bind(Fe,Fe);_e.exports=ue?function(Qe){return Qe&&Re(Qe)}:function(Qe){return Qe&&function(){return Fe.apply(Qe,arguments)}}}),Xe=c((Rt,_e)=>{var ue=Te(),re=ue({}.toString),De=ue("".slice);_e.exports=function(Fe){return De(re(Fe),8,-1)}}),tt=c((Rt,_e)=>{var ue=g(),re=Te(),De=x(),Fe=Xe(),Re=ue.Object,Qe=re("".split);_e.exports=De(function(){return!Re("z").propertyIsEnumerable(0)})?function(nt){return Fe(nt)=="String"?Qe(nt,""):Re(nt)}:Re}),xt=c((Rt,_e)=>{var ue=g(),re=ue.TypeError;_e.exports=function(De){if(De==null)throw re("Can't call method on "+De);return De}}),Ht=c((Rt,_e)=>{var ue=tt(),re=xt();_e.exports=function(De){return ue(re(De))}}),$t=c((Rt,_e)=>{_e.exports=function(ue){return typeof ue=="function"}}),Lr=c((Rt,_e)=>{var ue=$t();_e.exports=function(re){return typeof re=="object"?re!==null:ue(re)}}),ht=c((Rt,_e)=>{var ue=g(),re=$t(),De=function(Fe){return re(Fe)?Fe:void 0};_e.exports=function(Fe,Re){return arguments.length<2?De(ue[Fe]):ue[Fe]&&ue[Fe][Re]}}),kt=c((Rt,_e)=>{var ue=Te();_e.exports=ue({}.isPrototypeOf)}),Mt=c((Rt,_e)=>{var ue=ht();_e.exports=ue("navigator","userAgent")||""}),mr=c((Rt,_e)=>{var ue=g(),re=Mt(),De=ue.process,Fe=ue.Deno,Re=De&&De.versions||Fe&&Fe.version,Qe=Re&&Re.v8,nt,Tt;Qe&&(nt=Qe.split("."),Tt=nt[0]>0&&nt[0]<4?1:+(nt[0]+nt[1])),!Tt&&re&&(nt=re.match(/Edge\/(\d+)/),(!nt||nt[1]>=74)&&(nt=re.match(/Chrome\/(\d+)/),nt&&(Tt=+nt[1]))),_e.exports=Tt}),Xr=c((Rt,_e)=>{var ue=mr(),re=x();_e.exports=!!Object.getOwnPropertySymbols&&!re(function(){var De=Symbol();return!String(De)||!(Object(De)instanceof Symbol)||!Symbol.sham&&ue&&ue<41})}),zn=c((Rt,_e)=>{var ue=Xr();_e.exports=ue&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),dn=c((Rt,_e)=>{var ue=g(),re=ht(),De=$t(),Fe=kt(),Re=zn(),Qe=ue.Object;_e.exports=Re?function(nt){return typeof nt=="symbol"}:function(nt){var Tt=re("Symbol");return De(Tt)&&Fe(Tt.prototype,Qe(nt))}}),Pn=c((Rt,_e)=>{var ue=g(),re=ue.String;_e.exports=function(De){try{return re(De)}catch{return"Object"}}}),Jn=c((Rt,_e)=>{var ue=g(),re=$t(),De=Pn(),Fe=ue.TypeError;_e.exports=function(Re){if(re(Re))return Re;throw Fe(De(Re)+" is not a function")}}),En=c((Rt,_e)=>{var ue=Jn();_e.exports=function(re,De){var Fe=re[De];return Fe==null?void 0:ue(Fe)}}),Sn=c((Rt,_e)=>{var ue=g(),re=se(),De=$t(),Fe=Lr(),Re=ue.TypeError;_e.exports=function(Qe,nt){var Tt,Qt;if(nt==="string"&&De(Tt=Qe.toString)&&!Fe(Qt=re(Tt,Qe))||De(Tt=Qe.valueOf)&&!Fe(Qt=re(Tt,Qe))||nt!=="string"&&De(Tt=Qe.toString)&&!Fe(Qt=re(Tt,Qe)))return Qt;throw Re("Can't convert object to primitive value")}}),oi=c((Rt,_e)=>{_e.exports=!1}),pr=c((Rt,_e)=>{var ue=g(),re=Object.defineProperty;_e.exports=function(De,Fe){try{re(ue,De,{value:Fe,configurable:!0,writable:!0})}catch{ue[De]=Fe}return Fe}}),bn=c((Rt,_e)=>{var ue=g(),re=pr(),De="__core-js_shared__",Fe=ue[De]||re(De,{});_e.exports=Fe}),Ce=c((Rt,_e)=>{var ue=oi(),re=bn();(_e.exports=function(De,Fe){return re[De]||(re[De]=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"})}),en=c((Rt,_e)=>{var ue=g(),re=xt(),De=ue.Object;_e.exports=function(Fe){return De(re(Fe))}}),or=c((Rt,_e)=>{var ue=Te(),re=en(),De=ue({}.hasOwnProperty);_e.exports=Object.hasOwn||function(Fe,Re){return De(re(Fe),Re)}}),Tn=c((Rt,_e)=>{var ue=Te(),re=0,De=Math.random(),Fe=ue(1 .toString);_e.exports=function(Re){return"Symbol("+(Re===void 0?"":Re)+")_"+Fe(++re+De,36)}}),ei=c((Rt,_e)=>{var ue=g(),re=Ce(),De=or(),Fe=Tn(),Re=Xr(),Qe=zn(),nt=re("wks"),Tt=ue.Symbol,Qt=Tt&&Tt.for,ir=Qe?Tt:Tt&&Tt.withoutSetter||Fe;_e.exports=function(Pt){if(!De(nt,Pt)||!(Re||typeof nt[Pt]=="string")){var Fr="Symbol."+Pt;Re&&De(Tt,Pt)?nt[Pt]=Tt[Pt]:Qe&&Qt?nt[Pt]=Qt(Fr):nt[Pt]=ir(Fr)}return nt[Pt]}}),Vi=c((Rt,_e)=>{var ue=g(),re=se(),De=Lr(),Fe=dn(),Re=En(),Qe=Sn(),nt=ei(),Tt=ue.TypeError,Qt=nt("toPrimitive");_e.exports=function(ir,Pt){if(!De(ir)||Fe(ir))return ir;var Fr=Re(ir,Qt),Jr;if(Fr){if(Pt===void 0&&(Pt="default"),Jr=re(Fr,ir,Pt),!De(Jr)||Fe(Jr))return Jr;throw Tt("Can't convert object to primitive value")}return Pt===void 0&&(Pt="number"),Qe(ir,Pt)}}),as=c((Rt,_e)=>{var ue=Vi(),re=dn();_e.exports=function(De){var Fe=ue(De,"string");return re(Fe)?Fe:Fe+""}}),fs=c((Rt,_e)=>{var ue=g(),re=Lr(),De=ue.document,Fe=re(De)&&re(De.createElement);_e.exports=function(Re){return Fe?De.createElement(Re):{}}}),es=c((Rt,_e)=>{var ue=S(),re=x(),De=fs();_e.exports=!ue&&!re(function(){return Object.defineProperty(De("div"),"a",{get:function(){return 7}}).a!=7})}),ts=c(Rt=>{var _e=S(),ue=se(),re=he(),De=xe(),Fe=Ht(),Re=as(),Qe=or(),nt=es(),Tt=Object.getOwnPropertyDescriptor;Rt.f=_e?Tt:function(Qt,ir){if(Qt=Fe(Qt),ir=Re(ir),nt)try{return Tt(Qt,ir)}catch{}if(Qe(Qt,ir))return De(!ue(re.f,Qt,ir),Qt[ir])}}),Ir=c((Rt,_e)=>{var ue=S(),re=x();_e.exports=ue&&re(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),jr=c((Rt,_e)=>{var ue=g(),re=Lr(),De=ue.String,Fe=ue.TypeError;_e.exports=function(Re){if(re(Re))return Re;throw Fe(De(Re)+" is not an object")}}),gr=c(Rt=>{var _e=g(),ue=S(),re=es(),De=Ir(),Fe=jr(),Re=as(),Qe=_e.TypeError,nt=Object.defineProperty,Tt=Object.getOwnPropertyDescriptor,Qt="enumerable",ir="configurable",Pt="writable";Rt.f=ue?De?function(Fr,Jr,Be){if(Fe(Fr),Jr=Re(Jr),Fe(Be),typeof Fr=="function"&&Jr==="prototype"&&"value"in Be&&Pt in Be&&!Be[Pt]){var vr=Tt(Fr,Jr);vr&&vr[Pt]&&(Fr[Jr]=Be.value,Be={configurable:ir in Be?Be[ir]:vr[ir],enumerable:Qt in Be?Be[Qt]:vr[Qt],writable:!1})}return nt(Fr,Jr,Be)}:nt:function(Fr,Jr,Be){if(Fe(Fr),Jr=Re(Jr),Fe(Be),re)try{return nt(Fr,Jr,Be)}catch{}if("get"in Be||"set"in Be)throw Qe("Accessors not supported");return"value"in Be&&(Fr[Jr]=Be.value),Fr}}),un=c((Rt,_e)=>{var ue=S(),re=gr(),De=xe();_e.exports=ue?function(Fe,Re,Qe){return re.f(Fe,Re,De(1,Qe))}:function(Fe,Re,Qe){return Fe[Re]=Qe,Fe}}),jn=c((Rt,_e)=>{var ue=Te(),re=$t(),De=bn(),Fe=ue(Function.toString);re(De.inspectSource)||(De.inspectSource=function(Re){return Fe(Re)}),_e.exports=De.inspectSource}),ci=c((Rt,_e)=>{var ue=g(),re=$t(),De=jn(),Fe=ue.WeakMap;_e.exports=re(Fe)&&/native code/.test(De(Fe))}),On=c((Rt,_e)=>{var ue=Ce(),re=Tn(),De=ue("keys");_e.exports=function(Fe){return De[Fe]||(De[Fe]=re(Fe))}}),Je=c((Rt,_e)=>{_e.exports={}}),Et=c((Rt,_e)=>{var ue=ci(),re=g(),De=Te(),Fe=Lr(),Re=un(),Qe=or(),nt=bn(),Tt=On(),Qt=Je(),ir="Object already initialized",Pt=re.TypeError,Fr=re.WeakMap,Jr,Be,vr,An=function(cn){return vr(cn)?Be(cn):Jr(cn,{})},bi=function(cn){return function(di){var ms;if(!Fe(di)||(ms=Be(di)).type!==cn)throw Pt("Incompatible receiver, "+cn+" required");return ms}};ue||nt.state?(ui=nt.state||(nt.state=new Fr),mn=De(ui.get),ns=De(ui.has),Fs=De(ui.set),Jr=function(cn,di){if(ns(ui,cn))throw new Pt(ir);return di.facade=cn,Fs(ui,cn,di),di},Be=function(cn){return mn(ui,cn)||{}},vr=function(cn){return ns(ui,cn)}):(it=Tt("state"),Qt[it]=!0,Jr=function(cn,di){if(Qe(cn,it))throw new Pt(ir);return di.facade=cn,Re(cn,it,di),di},Be=function(cn){return Qe(cn,it)?cn[it]:{}},vr=function(cn){return Qe(cn,it)});var ui,mn,ns,Fs,it;_e.exports={set:Jr,get:Be,has:vr,enforce:An,getterFor:bi}}),Ar=c((Rt,_e)=>{var ue=S(),re=or(),De=Function.prototype,Fe=ue&&Object.getOwnPropertyDescriptor,Re=re(De,"name"),Qe=Re&&function(){}.name==="something",nt=Re&&(!ue||ue&&Fe(De,"name").configurable);_e.exports={EXISTS:Re,PROPER:Qe,CONFIGURABLE:nt}}),zr=c((Rt,_e)=>{var ue=g(),re=$t(),De=or(),Fe=un(),Re=pr(),Qe=jn(),nt=Et(),Tt=Ar().CONFIGURABLE,Qt=nt.get,ir=nt.enforce,Pt=String(String).split("String");(_e.exports=function(Fr,Jr,Be,vr){var An=vr?!!vr.unsafe:!1,bi=vr?!!vr.enumerable:!1,ui=vr?!!vr.noTargetGet:!1,mn=vr&&vr.name!==void 0?vr.name:Jr,ns;if(re(Be)&&(String(mn).slice(0,7)==="Symbol("&&(mn="["+String(mn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!De(Be,"name")||Tt&&Be.name!==mn)&&Fe(Be,"name",mn),ns=ir(Be),ns.source||(ns.source=Pt.join(typeof mn=="string"?mn:""))),Fr===ue){bi?Fr[Jr]=Be:Re(Jr,Be);return}else An?!ui&&Fr[Jr]&&(bi=!0):delete Fr[Jr];bi?Fr[Jr]=Be:Fe(Fr,Jr,Be)})(Function.prototype,"toString",function(){return re(this)&&Qt(this).source||Qe(this)})}),Tr=c((Rt,_e)=>{var ue=Math.ceil,re=Math.floor;_e.exports=function(De){var Fe=+De;return Fe!==Fe||Fe===0?0:(Fe>0?re:ue)(Fe)}}),rn=c((Rt,_e)=>{var ue=Tr(),re=Math.max,De=Math.min;_e.exports=function(Fe,Re){var Qe=ue(Fe);return Qe<0?re(Qe+Re,0):De(Qe,Re)}}),Gr=c((Rt,_e)=>{var ue=Tr(),re=Math.min;_e.exports=function(De){return De>0?re(ue(De),9007199254740991):0}}),ln=c((Rt,_e)=>{var ue=Gr();_e.exports=function(re){return ue(re.length)}}),Ln=c((Rt,_e)=>{var ue=Ht(),re=rn(),De=ln(),Fe=function(Re){return function(Qe,nt,Tt){var Qt=ue(Qe),ir=De(Qt),Pt=re(Tt,ir),Fr;if(Re&&nt!=nt){for(;ir>Pt;)if(Fr=Qt[Pt++],Fr!=Fr)return!0}else for(;ir>Pt;Pt++)if((Re||Pt in Qt)&&Qt[Pt]===nt)return Re||Pt||0;return!Re&&-1}};_e.exports={includes:Fe(!0),indexOf:Fe(!1)}}),Qr=c((Rt,_e)=>{var ue=Te(),re=or(),De=Ht(),Fe=Ln().indexOf,Re=Je(),Qe=ue([].push);_e.exports=function(nt,Tt){var Qt=De(nt),ir=0,Pt=[],Fr;for(Fr in Qt)!re(Re,Fr)&&re(Qt,Fr)&&Qe(Pt,Fr);for(;Tt.length>ir;)re(Qt,Fr=Tt[ir++])&&(~Fe(Pt,Fr)||Qe(Pt,Fr));return Pt}}),At=c((Rt,_e)=>{_e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),dr=c(Rt=>{var _e=Qr(),ue=At(),re=ue.concat("length","prototype");Rt.f=Object.getOwnPropertyNames||function(De){return _e(De,re)}}),Vt=c(Rt=>{Rt.f=Object.getOwnPropertySymbols}),qn=c((Rt,_e)=>{var ue=ht(),re=Te(),De=dr(),Fe=Vt(),Re=jr(),Qe=re([].concat);_e.exports=ue("Reflect","ownKeys")||function(nt){var Tt=De.f(Re(nt)),Qt=Fe.f;return Qt?Qe(Tt,Qt(nt)):Tt}}),ki=c((Rt,_e)=>{var ue=or(),re=qn(),De=ts(),Fe=gr();_e.exports=function(Re,Qe,nt){for(var Tt=re(Qe),Qt=Fe.f,ir=De.f,Pt=0;Pt<Tt.length;Pt++){var Fr=Tt[Pt];!ue(Re,Fr)&&!(nt&&ue(nt,Fr))&&Qt(Re,Fr,ir(Qe,Fr))}}}),ds=c((Rt,_e)=>{var ue=x(),re=$t(),De=/#|\.prototype\./,Fe=function(Qt,ir){var Pt=Qe[Re(Qt)];return Pt==Tt?!0:Pt==nt?!1:re(ir)?ue(ir):!!ir},Re=Fe.normalize=function(Qt){return String(Qt).replace(De,".").toLowerCase()},Qe=Fe.data={},nt=Fe.NATIVE="N",Tt=Fe.POLYFILL="P";_e.exports=Fe}),Qi=c((Rt,_e)=>{var ue=g(),re=ts().f,De=un(),Fe=zr(),Re=pr(),Qe=ki(),nt=ds();_e.exports=function(Tt,Qt){var ir=Tt.target,Pt=Tt.global,Fr=Tt.stat,Jr,Be,vr,An,bi,ui;if(Pt?Be=ue:Fr?Be=ue[ir]||Re(ir,{}):Be=(ue[ir]||{}).prototype,Be)for(vr in Qt){if(bi=Qt[vr],Tt.noTargetGet?(ui=re(Be,vr),An=ui&&ui.value):An=Be[vr],Jr=nt(Pt?vr:ir+(Fr?".":"#")+vr,Tt.forced),!Jr&&An!==void 0){if(typeof bi==typeof An)continue;Qe(bi,An)}(Tt.sham||An&&An.sham)&&De(bi,"sham",!0),Fe(Be,vr,bi,Tt)}}}),Ds=c(()=>{var Rt=Qi(),_e=g();Rt({global:!0},{globalThis:_e})}),os=c(()=>{Ds()}),ta=c((Rt,_e)=>{var ue=Xe();_e.exports=Array.isArray||function(re){return ue(re)=="Array"}}),Wn=c((Rt,_e)=>{var ue=Te(),re=Jn(),De=q(),Fe=ue(ue.bind);_e.exports=function(Re,Qe){return re(Re),Qe===void 0?Re:De?Fe(Re,Qe):function(){return Re.apply(Qe,arguments)}}}),xr=c((Rt,_e)=>{var ue=g(),re=ta(),De=ln(),Fe=Wn(),Re=ue.TypeError,Qe=function(nt,Tt,Qt,ir,Pt,Fr,Jr,Be){for(var vr=Pt,An=0,bi=Jr?Fe(Jr,Be):!1,ui,mn;An<ir;){if(An in Qt){if(ui=bi?bi(Qt[An],An,Tt):Qt[An],Fr>0&&re(ui))mn=De(ui),vr=Qe(nt,Tt,ui,mn,vr,Fr-1)-1;else{if(vr>=9007199254740991)throw Re("Exceed the acceptable array length");nt[vr]=ui}vr++}An++}return vr};_e.exports=Qe}),wr=c((Rt,_e)=>{var ue=ei(),re=ue("toStringTag"),De={};De[re]="z",_e.exports=String(De)==="[object z]"}),Dr=c((Rt,_e)=>{var ue=g(),re=wr(),De=$t(),Fe=Xe(),Re=ei(),Qe=Re("toStringTag"),nt=ue.Object,Tt=Fe(function(){return arguments}())=="Arguments",Qt=function(ir,Pt){try{return ir[Pt]}catch{}};_e.exports=re?Fe:function(ir){var Pt,Fr,Jr;return ir===void 0?"Undefined":ir===null?"Null":typeof(Fr=Qt(Pt=nt(ir),Qe))=="string"?Fr:Tt?Fe(Pt):(Jr=Fe(Pt))=="Object"&&De(Pt.callee)?"Arguments":Jr}}),Vr=c((Rt,_e)=>{var ue=Te(),re=x(),De=$t(),Fe=Dr(),Re=ht(),Qe=jn(),nt=function(){},Tt=[],Qt=Re("Reflect","construct"),ir=/^\s*(?:class|function)\b/,Pt=ue(ir.exec),Fr=!ir.exec(nt),Jr=function(vr){if(!De(vr))return!1;try{return Qt(nt,Tt,vr),!0}catch{return!1}},Be=function(vr){if(!De(vr))return!1;switch(Fe(vr)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Fr||!!Pt(ir,Qe(vr))}catch{return!0}};Be.sham=!0,_e.exports=!Qt||re(function(){var vr;return Jr(Jr.call)||!Jr(Object)||!Jr(function(){vr=!0})||vr})?Be:Jr}),Bt=c((Rt,_e)=>{var ue=g(),re=ta(),De=Vr(),Fe=Lr(),Re=ei(),Qe=Re("species"),nt=ue.Array;_e.exports=function(Tt){var Qt;return re(Tt)&&(Qt=Tt.constructor,De(Qt)&&(Qt===nt||re(Qt.prototype))?Qt=void 0:Fe(Qt)&&(Qt=Qt[Qe],Qt===null&&(Qt=void 0))),Qt===void 0?nt:Qt}}),Vn=c((Rt,_e)=>{var ue=Bt();_e.exports=function(re,De){return new(ue(re))(De===0?0:De)}}),Xt=c(()=>{var Rt=Qi(),_e=xr(),ue=Jn(),re=en(),De=ln(),Fe=Vn();Rt({target:"Array",proto:!0},{flatMap:function(Re){var Qe=re(this),nt=De(Qe),Tt;return ue(Re),Tt=Fe(Qe,0),Tt.length=_e(Tt,Qe,Qe,nt,0,1,Re,arguments.length>1?arguments[1]:void 0),Tt}})}),_n=c((Rt,_e)=>{_e.exports={}}),hr=c((Rt,_e)=>{var ue=ei(),re=_n(),De=ue("iterator"),Fe=Array.prototype;_e.exports=function(Re){return Re!==void 0&&(re.Array===Re||Fe[De]===Re)}}),Nt=c((Rt,_e)=>{var ue=Dr(),re=En(),De=_n(),Fe=ei(),Re=Fe("iterator");_e.exports=function(Qe){if(Qe!=null)return re(Qe,Re)||re(Qe,"@@iterator")||De[ue(Qe)]}}),Me=c((Rt,_e)=>{var ue=g(),re=se(),De=Jn(),Fe=jr(),Re=Pn(),Qe=Nt(),nt=ue.TypeError;_e.exports=function(Tt,Qt){var ir=arguments.length<2?Qe(Tt):Qt;if(De(ir))return Fe(re(ir,Tt));throw nt(Re(Tt)+" is not iterable")}}),St=c((Rt,_e)=>{var ue=se(),re=jr(),De=En();_e.exports=function(Fe,Re,Qe){var nt,Tt;re(Fe);try{if(nt=De(Fe,"return"),!nt){if(Re==="throw")throw Qe;return Qe}nt=ue(nt,Fe)}catch(Qt){Tt=!0,nt=Qt}if(Re==="throw")throw Qe;if(Tt)throw nt;return re(nt),Qe}}),jt=c((Rt,_e)=>{var ue=g(),re=Wn(),De=se(),Fe=jr(),Re=Pn(),Qe=hr(),nt=ln(),Tt=kt(),Qt=Me(),ir=Nt(),Pt=St(),Fr=ue.TypeError,Jr=function(vr,An){this.stopped=vr,this.result=An},Be=Jr.prototype;_e.exports=function(vr,An,bi){var ui=bi&&bi.that,mn=!!(bi&&bi.AS_ENTRIES),ns=!!(bi&&bi.IS_ITERATOR),Fs=!!(bi&&bi.INTERRUPTED),it=re(An,ui),cn,di,ms,ws,Mi,is,ge,rt=function(cr){return cn&&Pt(cn,"normal",cr),new Jr(!0,cr)},ft=function(cr){return mn?(Fe(cr),Fs?it(cr[0],cr[1],rt):it(cr[0],cr[1])):Fs?it(cr,rt):it(cr)};if(ns)cn=vr;else{if(di=ir(vr),!di)throw Fr(Re(vr)+" is not iterable");if(Qe(di)){for(ms=0,ws=nt(vr);ws>ms;ms++)if(Mi=ft(vr[ms]),Mi&&Tt(Be,Mi))return Mi;return new Jr(!1)}cn=Qt(vr,di)}for(is=cn.next;!(ge=De(is,cn)).done;){try{Mi=ft(ge.value)}catch(cr){Pt(cn,"throw",cr)}if(typeof Mi=="object"&&Mi&&Tt(Be,Mi))return Mi}return new Jr(!1)}}),rr=c((Rt,_e)=>{var ue=as(),re=gr(),De=xe();_e.exports=function(Fe,Re,Qe){var nt=ue(Re);nt in Fe?re.f(Fe,nt,De(0,Qe)):Fe[nt]=Qe}}),Nr=c(()=>{var Rt=Qi(),_e=jt(),ue=rr();Rt({target:"Object",stat:!0},{fromEntries:function(re){var De={};return _e(re,function(Fe,Re){ue(De,Fe,Re)},{AS_ENTRIES:!0}),De}})}),Sr=c((Rt,_e)=>{var ue=["cliName","cliCategory","cliDescription"];function re(ce,Oe){if(ce==null)return{};var Dt=De(ce,Oe),bt,zt;if(Object.getOwnPropertySymbols){var Ze=Object.getOwnPropertySymbols(ce);for(zt=0;zt<Ze.length;zt++)bt=Ze[zt],!(Oe.indexOf(bt)>=0)&&(!Object.prototype.propertyIsEnumerable.call(ce,bt)||(Dt[bt]=ce[bt]))}return Dt}function De(ce,Oe){if(ce==null)return{};var Dt={},bt=Object.keys(ce),zt,Ze;for(Ze=0;Ze<bt.length;Ze++)zt=bt[Ze],!(Oe.indexOf(zt)>=0)&&(Dt[zt]=ce[zt]);return Dt}os(),Xt(),Nr();var Fe=Object.create,Re=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,nt=Object.getOwnPropertyNames,Tt=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty,ir=(ce,Oe)=>function(){return ce&&(Oe=(0,ce[nt(ce)[0]])(ce=0)),Oe},Pt=(ce,Oe)=>function(){return Oe||(0,ce[nt(ce)[0]])((Oe={exports:{}}).exports,Oe),Oe.exports},Fr=(ce,Oe)=>{for(var Dt in Oe)Re(ce,Dt,{get:Oe[Dt],enumerable:!0})},Jr=(ce,Oe,Dt,bt)=>{if(Oe&&typeof Oe=="object"||typeof Oe=="function")for(let zt of nt(Oe))!Qt.call(ce,zt)&&zt!==Dt&&Re(ce,zt,{get:()=>Oe[zt],enumerable:!(bt=Qe(Oe,zt))||bt.enumerable});return ce},Be=(ce,Oe,Dt)=>(Dt=ce!=null?Fe(Tt(ce)):{},Jr(Oe||!ce||!ce.__esModule?Re(Dt,"default",{value:ce,enumerable:!0}):Dt,ce)),vr=ce=>Jr(Re({},"__esModule",{value:!0}),ce),An,bi,ui,mn=ir({"<define:process>"(){An={},bi=[],ui={env:An,argv:bi}}}),ns=Pt({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(ce){mn(),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(ur){return ur>=ce.$TAB&&ur<=ce.$SPACE||ur==ce.$NBSP}ce.isWhitespace=Oe;function Dt(ur){return ce.$0<=ur&&ur<=ce.$9}ce.isDigit=Dt;function bt(ur){return ur>=ce.$a&&ur<=ce.$z||ur>=ce.$A&&ur<=ce.$Z}ce.isAsciiLetter=bt;function zt(ur){return ur>=ce.$a&&ur<=ce.$f||ur>=ce.$A&&ur<=ce.$F||Dt(ur)}ce.isAsciiHexDigit=zt;function Ze(ur){return ur===ce.$LF||ur===ce.$CR}ce.isNewLine=Ze;function mt(ur){return ce.$0<=ur&&ur<=ce.$7}ce.isOctalDigit=mt}}),Fs=Pt({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=class{constructor(bt,zt,Ze){this.filePath=bt,this.name=zt,this.members=Ze}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};ce.StaticSymbol=Oe;var Dt=class{constructor(){this.cache=new Map}get(bt,zt,Ze){Ze=Ze||[];let mt=Ze.length?`.${Ze.join(".")}`:"",ur=`"${bt}".${zt}${mt}`,It=this.cache.get(ur);return It||(It=new Oe(bt,zt,Ze),this.cache.set(ur,It)),It}};ce.StaticSymbolCache=Dt}}),it=Pt({"node_modules/angular-html-parser/lib/compiler/src/util.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=/-+([a-z0-9])/g;function Dt(pt){return pt.replace(Oe,function(){for(var Br=arguments.length,nr=new Array(Br),gn=0;gn<Br;gn++)nr[gn]=arguments[gn];return nr[1].toUpperCase()})}ce.dashCaseToCamelCase=Dt;function bt(pt,Br){return Ze(pt,":",Br)}ce.splitAtColon=bt;function zt(pt,Br){return Ze(pt,".",Br)}ce.splitAtPeriod=zt;function Ze(pt,Br,nr){let gn=pt.indexOf(Br);return gn==-1?nr:[pt.slice(0,gn).trim(),pt.slice(gn+1).trim()]}function mt(pt,Br,nr){return Array.isArray(pt)?Br.visitArray(pt,nr):Hr(pt)?Br.visitStringMap(pt,nr):pt==null||typeof pt=="string"||typeof pt=="number"||typeof pt=="boolean"?Br.visitPrimitive(pt,nr):Br.visitOther(pt,nr)}ce.visitValue=mt;function ur(pt){return pt!=null}ce.isDefined=ur;function It(pt){return pt===void 0?null:pt}ce.noUndefined=It;var vn=class{visitArray(pt,Br){return pt.map(nr=>mt(nr,this,Br))}visitStringMap(pt,Br){let nr={};return Object.keys(pt).forEach(gn=>{nr[gn]=mt(pt[gn],this,Br)}),nr}visitPrimitive(pt,Br){return pt}visitOther(pt,Br){return pt}};ce.ValueTransformer=vn,ce.SyncAsync={assertSync:pt=>{if(Zr(pt))throw new Error("Illegal state: value cannot be a promise");return pt},then:(pt,Br)=>Zr(pt)?pt.then(Br):Br(pt),all:pt=>pt.some(Zr)?Promise.all(pt):pt};function ot(pt){throw new Error(`Internal Error: ${pt}`)}ce.error=ot;function _t(pt,Br){let nr=Error(pt);return nr[sr]=!0,Br&&(nr[Ur]=Br),nr}ce.syntaxError=_t;var sr="ngSyntaxError",Ur="ngParseErrors";function Er(pt){return pt[sr]}ce.isSyntaxError=Er;function Rr(pt){return pt[Ur]||[]}ce.getParseErrors=Rr;function Un(pt){return pt.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}ce.escapeRegExp=Un;var tn=Object.getPrototypeOf({});function Hr(pt){return typeof pt=="object"&&pt!==null&&Object.getPrototypeOf(pt)===tn}function pi(pt){let Br="";for(let nr=0;nr<pt.length;nr++){let gn=pt.charCodeAt(nr);if(gn>=55296&&gn<=56319&&pt.length>nr+1){let Ri=pt.charCodeAt(nr+1);Ri>=56320&&Ri<=57343&&(nr++,gn=(gn-55296<<10)+Ri-56320+65536)}gn<=127?Br+=String.fromCharCode(gn):gn<=2047?Br+=String.fromCharCode(gn>>6&31|192,gn&63|128):gn<=65535?Br+=String.fromCharCode(gn>>12|224,gn>>6&63|128,gn&63|128):gn<=2097151&&(Br+=String.fromCharCode(gn>>18&7|240,gn>>12&63|128,gn>>6&63|128,gn&63|128))}return Br}ce.utf8Encode=pi;function In(pt){if(typeof pt=="string")return pt;if(pt instanceof Array)return"["+pt.map(In).join(", ")+"]";if(pt==null)return""+pt;if(pt.overriddenName)return`${pt.overriddenName}`;if(pt.name)return`${pt.name}`;if(!pt.toString)return"object";let Br=pt.toString();if(Br==null)return""+Br;let nr=Br.indexOf(`
215
+ `);return nr===-1?Br:Br.substring(0,nr)}ce.stringify=In;function Cs(pt){return typeof pt=="function"&&pt.hasOwnProperty("__forward_ref__")?pt():pt}ce.resolveForwardRef=Cs;function Zr(pt){return!!pt&&typeof pt.then=="function"}ce.isPromise=Zr;var Si=class{constructor(pt){this.full=pt;let Br=pt.split(".");this.major=Br[0],this.minor=Br[1],this.patch=Br.slice(2).join(".")}};ce.Version=Si;var Ai=typeof window<"u"&&window,qi=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,cs=typeof globalThis<"u"&&globalThis,We=cs||Ai||qi;ce.global=We}}),cn=Pt({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=Fs(),Dt=it(),bt=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function zt(nr){return nr.replace(/\W/g,"_")}ce.sanitizeIdentifier=zt;var Ze=0;function mt(nr){if(!nr||!nr.reference)return null;let gn=nr.reference;if(gn instanceof Oe.StaticSymbol)return gn.name;if(gn.__anonymousType)return gn.__anonymousType;let Ri=Dt.stringify(gn);return Ri.indexOf("(")>=0?(Ri=`anonymous_${Ze++}`,gn.__anonymousType=Ri):Ri=zt(Ri),Ri}ce.identifierName=mt;function ur(nr){let gn=nr.reference;return gn instanceof Oe.StaticSymbol?gn.filePath:`./${Dt.stringify(gn)}`}ce.identifierModuleUrl=ur;function It(nr,gn){return`View_${mt({reference:nr})}_${gn}`}ce.viewClassName=It;function vn(nr){return`RenderType_${mt({reference:nr})}`}ce.rendererTypeName=vn;function ot(nr){return`HostView_${mt({reference:nr})}`}ce.hostViewClassName=ot;function _t(nr){return`${mt({reference:nr})}NgFactory`}ce.componentFactoryName=_t;var sr;(function(nr){nr[nr.Pipe=0]="Pipe",nr[nr.Directive=1]="Directive",nr[nr.NgModule=2]="NgModule",nr[nr.Injectable=3]="Injectable"})(sr=ce.CompileSummaryKind||(ce.CompileSummaryKind={}));function Ur(nr){return nr.value!=null?zt(nr.value):mt(nr.identifier)}ce.tokenName=Ur;function Er(nr){return nr.identifier!=null?nr.identifier.reference:nr.value}ce.tokenReference=Er;var Rr=class{constructor(){let{moduleUrl:nr,styles:gn,styleUrls:Ri}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=nr||null,this.styles=Zr(gn),this.styleUrls=Zr(Ri)}};ce.CompileStylesheetMetadata=Rr;var Un=class{constructor(nr){let{encapsulation:gn,template:Ri,templateUrl:Ji,htmlAst:Js,styles:Ns,styleUrls:na,externalStylesheets:Ts,animations:la,ngContentSelectors:Rs,interpolation:ca,isInline:Dn,preserveWhitespaces:Hn}=nr;if(this.encapsulation=gn,this.template=Ri,this.templateUrl=Ji,this.htmlAst=Js,this.styles=Zr(Ns),this.styleUrls=Zr(na),this.externalStylesheets=Zr(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=Dn,this.preserveWhitespaces=Hn}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};ce.CompileTemplateMetadata=Un;var tn=class{static create(nr){let{isHost:gn,type:Ri,isComponent:Ji,selector:Js,exportAs:Ns,changeDetection:na,inputs:Ts,outputs:la,host:Rs,providers:ca,viewProviders:Dn,queries:Hn,guards:hi,viewQueries:ii,entryComponents:si,template:vs,componentViewType:ps,rendererType:bs,componentFactory:aa}=nr,Fo={},ko={},Ka={};Rs!=null&&Object.keys(Rs).forEach(Ca=>{let Ba=Rs[Ca],_a=Ca.match(bt);_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=Dt.splitAtColon(Ca,[Ca,Ca]);ru[Ba[0]]=Ba[1]});let Po={};return la!=null&&la.forEach(Ca=>{let Ba=Dt.splitAtColon(Ca,[Ca,Ca]);Po[Ba[0]]=Ba[1]}),new tn({isHost:gn,type:Ri,isComponent:!!Ji,selector:Js,exportAs:Ns,changeDetection:na,inputs:ru,outputs:Po,hostListeners:Fo,hostProperties:ko,hostAttributes:Ka,providers:ca,viewProviders:Dn,queries:Hn,guards:hi,viewQueries:ii,entryComponents:si,template:vs,componentViewType:ps,rendererType:bs,componentFactory:aa})}constructor(nr){let{isHost:gn,type:Ri,isComponent:Ji,selector:Js,exportAs:Ns,changeDetection:na,inputs:Ts,outputs:la,hostListeners:Rs,hostProperties:ca,hostAttributes:Dn,providers:Hn,viewProviders:hi,queries:ii,guards:si,viewQueries:vs,entryComponents:ps,template:bs,componentViewType:aa,rendererType:Fo,componentFactory:ko}=nr;this.isHost=!!gn,this.type=Ri,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=Dn,this.providers=Zr(Hn),this.viewProviders=Zr(hi),this.queries=Zr(ii),this.guards=si,this.viewQueries=Zr(vs),this.entryComponents=Zr(ps),this.template=bs,this.componentViewType=aa,this.rendererType=Fo,this.componentFactory=ko}toSummary(){return{summaryKind:sr.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=tn;var Hr=class{constructor(nr){let{type:gn,name:Ri,pure:Ji}=nr;this.type=gn,this.name=Ri,this.pure=!!Ji}toSummary(){return{summaryKind:sr.Pipe,type:this.type,name:this.name,pure:this.pure}}};ce.CompilePipeMetadata=Hr;var pi=class{};ce.CompileShallowModuleMetadata=pi;var In=class{constructor(nr){let{type:gn,providers:Ri,declaredDirectives:Ji,exportedDirectives:Js,declaredPipes:Ns,exportedPipes:na,entryComponents:Ts,bootstrapComponents:la,importedModules:Rs,exportedModules:ca,schemas:Dn,transitiveModule:Hn,id:hi}=nr;this.type=gn||null,this.declaredDirectives=Zr(Ji),this.exportedDirectives=Zr(Js),this.declaredPipes=Zr(Ns),this.exportedPipes=Zr(na),this.providers=Zr(Ri),this.entryComponents=Zr(Ts),this.bootstrapComponents=Zr(la),this.importedModules=Zr(Rs),this.exportedModules=Zr(ca),this.schemas=Zr(Dn),this.id=hi||null,this.transitiveModule=Hn||null}toSummary(){let nr=this.transitiveModule;return{summaryKind:sr.NgModule,type:this.type,entryComponents:nr.entryComponents,providers:nr.providers,modules:nr.modules,exportedDirectives:nr.exportedDirectives,exportedPipes:nr.exportedPipes}}};ce.CompileNgModuleMetadata=In;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(nr,gn){this.providers.push({provider:nr,module:gn})}addDirective(nr){this.directivesSet.has(nr.reference)||(this.directivesSet.add(nr.reference),this.directives.push(nr))}addExportedDirective(nr){this.exportedDirectivesSet.has(nr.reference)||(this.exportedDirectivesSet.add(nr.reference),this.exportedDirectives.push(nr))}addPipe(nr){this.pipesSet.has(nr.reference)||(this.pipesSet.add(nr.reference),this.pipes.push(nr))}addExportedPipe(nr){this.exportedPipesSet.has(nr.reference)||(this.exportedPipesSet.add(nr.reference),this.exportedPipes.push(nr))}addModule(nr){this.modulesSet.has(nr.reference)||(this.modulesSet.add(nr.reference),this.modules.push(nr))}addEntryComponent(nr){this.entryComponentsSet.has(nr.componentType)||(this.entryComponentsSet.add(nr.componentType),this.entryComponents.push(nr))}};ce.TransitiveCompileNgModuleMetadata=Cs;function Zr(nr){return nr||[]}var Si=class{constructor(nr,gn){let{useClass:Ri,useValue:Ji,useExisting:Js,useFactory:Ns,deps:na,multi:Ts}=gn;this.token=nr,this.useClass=Ri||null,this.useValue=Ji,this.useExisting=Js,this.useFactory=Ns||null,this.dependencies=na||null,this.multi=!!Ts}};ce.ProviderMeta=Si;function Ai(nr){return nr.reduce((gn,Ri)=>{let Ji=Array.isArray(Ri)?Ai(Ri):Ri;return gn.concat(Ji)},[])}ce.flatten=Ai;function qi(nr){return nr.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function cs(nr,gn,Ri){let Ji;return Ri.isInline?gn.type.reference instanceof Oe.StaticSymbol?Ji=`${gn.type.reference.filePath}.${gn.type.reference.name}.html`:Ji=`${mt(nr)}/${mt(gn.type)}.html`:Ji=Ri.templateUrl,gn.type.reference instanceof Oe.StaticSymbol?Ji:qi(Ji)}ce.templateSourceUrl=cs;function We(nr,gn){let Ri=nr.moduleUrl.split(/\/\\/g),Ji=Ri[Ri.length-1];return qi(`css/${gn}${Ji}.ngstyle.js`)}ce.sharedStylesheetJitUrl=We;function pt(nr){return qi(`${mt(nr.type)}/module.ngfactory.js`)}ce.ngModuleJitUrl=pt;function Br(nr,gn){return qi(`${mt(nr)}/${mt(gn.type)}.ngfactory.js`)}ce.templateJitUrl=Br}}),di=Pt({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=ns(),Dt=cn(),bt=class{constructor(ot,_t,sr,Ur){this.file=ot,this.offset=_t,this.line=sr,this.col=Ur}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(ot){let _t=this.file.content,sr=_t.length,Ur=this.offset,Er=this.line,Rr=this.col;for(;Ur>0&&ot<0;)if(Ur--,ot++,_t.charCodeAt(Ur)==Oe.$LF){Er--;let Un=_t.substr(0,Ur-1).lastIndexOf(String.fromCharCode(Oe.$LF));Rr=Un>0?Ur-Un:Ur}else Rr--;for(;Ur<sr&&ot>0;){let Un=_t.charCodeAt(Ur);Ur++,ot--,Un==Oe.$LF?(Er++,Rr=0):Rr++}return new bt(this.file,Ur,Er,Rr)}getContext(ot,_t){let sr=this.file.content,Ur=this.offset;if(Ur!=null){Ur>sr.length-1&&(Ur=sr.length-1);let Er=Ur,Rr=0,Un=0;for(;Rr<ot&&Ur>0&&(Ur--,Rr++,!(sr[Ur]==`
216
+ `&&++Un==_t)););for(Rr=0,Un=0;Rr<ot&&Er<sr.length-1&&(Er++,Rr++,!(sr[Er]==`
217
+ `&&++Un==_t)););return{before:sr.substring(Ur,this.offset),after:sr.substring(this.offset,Er+1)}}return null}};ce.ParseLocation=bt;var zt=class{constructor(ot,_t){this.content=ot,this.url=_t}};ce.ParseSourceFile=zt;var Ze=class{constructor(ot,_t){let sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=ot,this.end=_t,this.details=sr}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};ce.ParseSourceSpan=Ze,ce.EMPTY_PARSE_LOCATION=new bt(new zt("",""),0,0,0),ce.EMPTY_SOURCE_SPAN=new Ze(ce.EMPTY_PARSE_LOCATION,ce.EMPTY_PARSE_LOCATION);var mt;(function(ot){ot[ot.WARNING=0]="WARNING",ot[ot.ERROR=1]="ERROR"})(mt=ce.ParseErrorLevel||(ce.ParseErrorLevel={}));var ur=class{constructor(ot,_t){let sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mt.ERROR;this.span=ot,this.msg=_t,this.level=sr}contextualMessage(){let ot=this.span.start.getContext(100,3);return ot?`${this.msg} ("${ot.before}[${mt[this.level]} ->]${ot.after}")`:this.msg}toString(){let ot=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${ot}`}};ce.ParseError=ur;function It(ot,_t){let sr=Dt.identifierModuleUrl(_t),Ur=sr!=null?`in ${ot} ${Dt.identifierName(_t)} in ${sr}`:`in ${ot} ${Dt.identifierName(_t)}`,Er=new zt("",Ur);return new Ze(new bt(Er,-1,-1,-1),new bt(Er,-1,-1,-1))}ce.typeSourceSpan=It;function vn(ot,_t,sr){let Ur=`in ${ot} ${_t} in ${sr}`,Er=new zt("",Ur);return new Ze(new bt(Er,-1,-1,-1),new bt(Er,-1,-1,-1))}ce.r3JitTypeSourceSpan=vn}}),ms=Pt({"src/utils/front-matter/parse.js"(ce,Oe){mn();var Dt=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function bt(zt){let Ze=zt.match(Dt);if(!Ze)return{content:zt};let{startDelimiter:mt,language:ur,value:It="",endDelimiter:vn}=Ze.groups,ot=ur.trim()||"yaml";if(mt==="+++"&&(ot="toml"),ot!=="yaml"&&mt!==vn)return{content:zt};let[_t]=Ze;return{frontMatter:{type:"front-matter",lang:ot,value:It,startDelimiter:mt,endDelimiter:vn,raw:_t.replace(/\n$/,"")},content:_t.replace(/[^\n]/g," ")+zt.slice(_t.length)}}Oe.exports=bt}}),ws=Pt({"src/utils/get-last.js"(ce,Oe){mn();var Dt=bt=>bt[bt.length-1];Oe.exports=Dt}}),Mi=Pt({"src/common/parser-create-error.js"(ce,Oe){mn();function Dt(bt,zt){let Ze=new SyntaxError(bt+" ("+zt.start.line+":"+zt.start.column+")");return Ze.loc=zt,Ze}Oe.exports=Dt}}),is={};Fr(is,{default:()=>ge});function ge(ce){if(typeof ce!="string")throw new TypeError("Expected a string");return ce.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var rt=ir({"node_modules/escape-string-regexp/index.js"(){mn()}}),ft=Pt({"node_modules/semver/internal/debug.js"(ce,Oe){mn();var Dt=typeof ui=="object"&&ui.env&&ui.env.NODE_DEBUG&&/\bsemver\b/i.test(ui.env.NODE_DEBUG)?function(){for(var bt=arguments.length,zt=new Array(bt),Ze=0;Ze<bt;Ze++)zt[Ze]=arguments[Ze];return console.error("SEMVER",...zt)}:()=>{};Oe.exports=Dt}}),cr=Pt({"node_modules/semver/internal/constants.js"(ce,Oe){mn();var Dt="2.0.0",bt=256,zt=Number.MAX_SAFE_INTEGER||9007199254740991,Ze=16;Oe.exports={SEMVER_SPEC_VERSION:Dt,MAX_LENGTH:bt,MAX_SAFE_INTEGER:zt,MAX_SAFE_COMPONENT_LENGTH:Ze}}}),gi=Pt({"node_modules/semver/internal/re.js"(ce,Oe){mn();var{MAX_SAFE_COMPONENT_LENGTH:Dt}=cr(),bt=ft();ce=Oe.exports={};var zt=ce.re=[],Ze=ce.src=[],mt=ce.t={},ur=0,It=(vn,ot,_t)=>{let sr=ur++;bt(vn,sr,ot),mt[vn]=sr,Ze[sr]=ot,zt[sr]=new RegExp(ot,_t?"g":void 0)};It("NUMERICIDENTIFIER","0|[1-9]\\d*"),It("NUMERICIDENTIFIERLOOSE","[0-9]+"),It("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),It("MAINVERSION",`(${Ze[mt.NUMERICIDENTIFIER]})\\.(${Ze[mt.NUMERICIDENTIFIER]})\\.(${Ze[mt.NUMERICIDENTIFIER]})`),It("MAINVERSIONLOOSE",`(${Ze[mt.NUMERICIDENTIFIERLOOSE]})\\.(${Ze[mt.NUMERICIDENTIFIERLOOSE]})\\.(${Ze[mt.NUMERICIDENTIFIERLOOSE]})`),It("PRERELEASEIDENTIFIER",`(?:${Ze[mt.NUMERICIDENTIFIER]}|${Ze[mt.NONNUMERICIDENTIFIER]})`),It("PRERELEASEIDENTIFIERLOOSE",`(?:${Ze[mt.NUMERICIDENTIFIERLOOSE]}|${Ze[mt.NONNUMERICIDENTIFIER]})`),It("PRERELEASE",`(?:-(${Ze[mt.PRERELEASEIDENTIFIER]}(?:\\.${Ze[mt.PRERELEASEIDENTIFIER]})*))`),It("PRERELEASELOOSE",`(?:-?(${Ze[mt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${Ze[mt.PRERELEASEIDENTIFIERLOOSE]})*))`),It("BUILDIDENTIFIER","[0-9A-Za-z-]+"),It("BUILD",`(?:\\+(${Ze[mt.BUILDIDENTIFIER]}(?:\\.${Ze[mt.BUILDIDENTIFIER]})*))`),It("FULLPLAIN",`v?${Ze[mt.MAINVERSION]}${Ze[mt.PRERELEASE]}?${Ze[mt.BUILD]}?`),It("FULL",`^${Ze[mt.FULLPLAIN]}$`),It("LOOSEPLAIN",`[v=\\s]*${Ze[mt.MAINVERSIONLOOSE]}${Ze[mt.PRERELEASELOOSE]}?${Ze[mt.BUILD]}?`),It("LOOSE",`^${Ze[mt.LOOSEPLAIN]}$`),It("GTLT","((?:<|>)?=?)"),It("XRANGEIDENTIFIERLOOSE",`${Ze[mt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),It("XRANGEIDENTIFIER",`${Ze[mt.NUMERICIDENTIFIER]}|x|X|\\*`),It("XRANGEPLAIN",`[v=\\s]*(${Ze[mt.XRANGEIDENTIFIER]})(?:\\.(${Ze[mt.XRANGEIDENTIFIER]})(?:\\.(${Ze[mt.XRANGEIDENTIFIER]})(?:${Ze[mt.PRERELEASE]})?${Ze[mt.BUILD]}?)?)?`),It("XRANGEPLAINLOOSE",`[v=\\s]*(${Ze[mt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Ze[mt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Ze[mt.XRANGEIDENTIFIERLOOSE]})(?:${Ze[mt.PRERELEASELOOSE]})?${Ze[mt.BUILD]}?)?)?`),It("XRANGE",`^${Ze[mt.GTLT]}\\s*${Ze[mt.XRANGEPLAIN]}$`),It("XRANGELOOSE",`^${Ze[mt.GTLT]}\\s*${Ze[mt.XRANGEPLAINLOOSE]}$`),It("COERCE",`(^|[^\\d])(\\d{1,${Dt}})(?:\\.(\\d{1,${Dt}}))?(?:\\.(\\d{1,${Dt}}))?(?:$|[^\\d])`),It("COERCERTL",Ze[mt.COERCE],!0),It("LONETILDE","(?:~>?)"),It("TILDETRIM",`(\\s*)${Ze[mt.LONETILDE]}\\s+`,!0),ce.tildeTrimReplace="$1~",It("TILDE",`^${Ze[mt.LONETILDE]}${Ze[mt.XRANGEPLAIN]}$`),It("TILDELOOSE",`^${Ze[mt.LONETILDE]}${Ze[mt.XRANGEPLAINLOOSE]}$`),It("LONECARET","(?:\\^)"),It("CARETTRIM",`(\\s*)${Ze[mt.LONECARET]}\\s+`,!0),ce.caretTrimReplace="$1^",It("CARET",`^${Ze[mt.LONECARET]}${Ze[mt.XRANGEPLAIN]}$`),It("CARETLOOSE",`^${Ze[mt.LONECARET]}${Ze[mt.XRANGEPLAINLOOSE]}$`),It("COMPARATORLOOSE",`^${Ze[mt.GTLT]}\\s*(${Ze[mt.LOOSEPLAIN]})$|^$`),It("COMPARATOR",`^${Ze[mt.GTLT]}\\s*(${Ze[mt.FULLPLAIN]})$|^$`),It("COMPARATORTRIM",`(\\s*)${Ze[mt.GTLT]}\\s*(${Ze[mt.LOOSEPLAIN]}|${Ze[mt.XRANGEPLAIN]})`,!0),ce.comparatorTrimReplace="$1$2$3",It("HYPHENRANGE",`^\\s*(${Ze[mt.XRANGEPLAIN]})\\s+-\\s+(${Ze[mt.XRANGEPLAIN]})\\s*$`),It("HYPHENRANGELOOSE",`^\\s*(${Ze[mt.XRANGEPLAINLOOSE]})\\s+-\\s+(${Ze[mt.XRANGEPLAINLOOSE]})\\s*$`),It("STAR","(<|>)?=?\\s*\\*"),It("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),It("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),ss=Pt({"node_modules/semver/internal/parse-options.js"(ce,Oe){mn();var Dt=["includePrerelease","loose","rtl"],bt=zt=>zt?typeof zt!="object"?{loose:!0}:Dt.filter(Ze=>zt[Ze]).reduce((Ze,mt)=>(Ze[mt]=!0,Ze),{}):{};Oe.exports=bt}}),us=Pt({"node_modules/semver/internal/identifiers.js"(ce,Oe){mn();var Dt=/^[0-9]+$/,bt=(Ze,mt)=>{let ur=Dt.test(Ze),It=Dt.test(mt);return ur&&It&&(Ze=+Ze,mt=+mt),Ze===mt?0:ur&&!It?-1:It&&!ur?1:Ze<mt?-1:1},zt=(Ze,mt)=>bt(mt,Ze);Oe.exports={compareIdentifiers:bt,rcompareIdentifiers:zt}}}),xs=Pt({"node_modules/semver/classes/semver.js"(ce,Oe){mn();var Dt=ft(),{MAX_LENGTH:bt,MAX_SAFE_INTEGER:zt}=cr(),{re:Ze,t:mt}=gi(),ur=ss(),{compareIdentifiers:It}=us(),vn=class{constructor(ot,_t){if(_t=ur(_t),ot instanceof vn){if(ot.loose===!!_t.loose&&ot.includePrerelease===!!_t.includePrerelease)return ot;ot=ot.version}else if(typeof ot!="string")throw new TypeError(`Invalid Version: ${ot}`);if(ot.length>bt)throw new TypeError(`version is longer than ${bt} characters`);Dt("SemVer",ot,_t),this.options=_t,this.loose=!!_t.loose,this.includePrerelease=!!_t.includePrerelease;let sr=ot.trim().match(_t.loose?Ze[mt.LOOSE]:Ze[mt.FULL]);if(!sr)throw new TypeError(`Invalid Version: ${ot}`);if(this.raw=ot,this.major=+sr[1],this.minor=+sr[2],this.patch=+sr[3],this.major>zt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>zt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>zt||this.patch<0)throw new TypeError("Invalid patch version");sr[4]?this.prerelease=sr[4].split(".").map(Ur=>{if(/^[0-9]+$/.test(Ur)){let Er=+Ur;if(Er>=0&&Er<zt)return Er}return Ur}):this.prerelease=[],this.build=sr[5]?sr[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(ot){if(Dt("SemVer.compare",this.version,this.options,ot),!(ot instanceof vn)){if(typeof ot=="string"&&ot===this.version)return 0;ot=new vn(ot,this.options)}return ot.version===this.version?0:this.compareMain(ot)||this.comparePre(ot)}compareMain(ot){return ot instanceof vn||(ot=new vn(ot,this.options)),It(this.major,ot.major)||It(this.minor,ot.minor)||It(this.patch,ot.patch)}comparePre(ot){if(ot instanceof vn||(ot=new vn(ot,this.options)),this.prerelease.length&&!ot.prerelease.length)return-1;if(!this.prerelease.length&&ot.prerelease.length)return 1;if(!this.prerelease.length&&!ot.prerelease.length)return 0;let _t=0;do{let sr=this.prerelease[_t],Ur=ot.prerelease[_t];if(Dt("prerelease compare",_t,sr,Ur),sr===void 0&&Ur===void 0)return 0;if(Ur===void 0)return 1;if(sr===void 0)return-1;if(sr!==Ur)return It(sr,Ur)}while(++_t)}compareBuild(ot){ot instanceof vn||(ot=new vn(ot,this.options));let _t=0;do{let sr=this.build[_t],Ur=ot.build[_t];if(Dt("prerelease compare",_t,sr,Ur),sr===void 0&&Ur===void 0)return 0;if(Ur===void 0)return 1;if(sr===void 0)return-1;if(sr!==Ur)return It(sr,Ur)}while(++_t)}inc(ot,_t){switch(ot){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",_t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",_t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",_t),this.inc("pre",_t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",_t),this.inc("pre",_t);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 sr=this.prerelease.length;for(;--sr>=0;)typeof this.prerelease[sr]=="number"&&(this.prerelease[sr]++,sr=-2);sr===-1&&this.prerelease.push(0)}_t&&(It(this.prerelease[0],_t)===0?isNaN(this.prerelease[1])&&(this.prerelease=[_t,0]):this.prerelease=[_t,0]);break;default:throw new Error(`invalid increment argument: ${ot}`)}return this.format(),this.raw=this.version,this}};Oe.exports=vn}}),ks=Pt({"node_modules/semver/functions/compare.js"(ce,Oe){mn();var Dt=xs(),bt=(zt,Ze,mt)=>new Dt(zt,mt).compare(new Dt(Ze,mt));Oe.exports=bt}}),Bi=Pt({"node_modules/semver/functions/lt.js"(ce,Oe){mn();var Dt=ks(),bt=(zt,Ze,mt)=>Dt(zt,Ze,mt)<0;Oe.exports=bt}}),Fu=Pt({"node_modules/semver/functions/gte.js"(ce,Oe){mn();var Dt=ks(),bt=(zt,Ze,mt)=>Dt(zt,Ze,mt)>=0;Oe.exports=bt}}),uu=Pt({"src/utils/arrayify.js"(ce,Oe){mn(),Oe.exports=(Dt,bt)=>Object.entries(Dt).map(zt=>{let[Ze,mt]=zt;return Object.assign({[bt]:Ze},mt)})}}),so=Pt({"package.json"(ce,Oe){Oe.exports={version:"2.8.0"}}}),Na=Pt({"node_modules/outdent/lib/index.js"(ce,Oe){mn(),Object.defineProperty(ce,"__esModule",{value:!0}),ce.outdent=void 0;function Dt(){for(var Hr=[],pi=0;pi<arguments.length;pi++)Hr[pi]=arguments[pi]}function bt(){return typeof WeakMap<"u"?new WeakMap:zt()}function zt(){return{add:Dt,delete:Dt,get:Dt,set:Dt,has:function(Hr){return!1}}}var Ze=Object.prototype.hasOwnProperty,mt=function(Hr,pi){return Ze.call(Hr,pi)};function ur(Hr,pi){for(var In in pi)mt(pi,In)&&(Hr[In]=pi[In]);return Hr}var It=/^[ \t]*(?:\r\n|\r|\n)/,vn=/(?:\r\n|\r|\n)[ \t]*$/,ot=/^(?:[\r\n]|$)/,_t=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,sr=/^[ \t]*[\r\n][ \t\r\n]*$/;function Ur(Hr,pi,In){var Cs=0,Zr=Hr[0].match(_t);Zr&&(Cs=Zr[1].length);var Si="(\\r\\n|\\r|\\n).{0,"+Cs+"}",Ai=new RegExp(Si,"g");pi&&(Hr=Hr.slice(1));var qi=In.newline,cs=In.trimLeadingNewline,We=In.trimTrailingNewline,pt=typeof qi=="string",Br=Hr.length,nr=Hr.map(function(gn,Ri){return gn=gn.replace(Ai,"$1"),Ri===0&&cs&&(gn=gn.replace(It,"")),Ri===Br-1&&We&&(gn=gn.replace(vn,"")),pt&&(gn=gn.replace(/\r\n|\n|\r/g,function(Ji){return qi})),gn});return nr}function Er(Hr,pi){for(var In="",Cs=0,Zr=Hr.length;Cs<Zr;Cs++)In+=Hr[Cs],Cs<Zr-1&&(In+=pi[Cs]);return In}function Rr(Hr){return mt(Hr,"raw")&&mt(Hr,"length")}function Un(Hr){var pi=bt(),In=bt();function Cs(Si){for(var Ai=[],qi=1;qi<arguments.length;qi++)Ai[qi-1]=arguments[qi];if(Rr(Si)){var cs=Si,We=(Ai[0]===Cs||Ai[0]===tn)&&sr.test(cs[0])&&ot.test(cs[1]),pt=We?In:pi,Br=pt.get(cs);if(Br||(Br=Ur(cs,We,Hr),pt.set(cs,Br)),Ai.length===0)return Br[0];var nr=Er(Br,We?Ai.slice(1):Ai);return nr}else return Un(ur(ur({},Hr),Si||{}))}var Zr=ur(Cs,{string:function(Si){return Ur([Si],!1,Hr)[0]}});return Zr}var tn=Un({trimLeadingNewline:!0,trimTrailingNewline:!0});if(ce.outdent=tn,ce.default=tn,typeof Oe<"u")try{Oe.exports=tn,Object.defineProperty(tn,"__esModule",{value:!0}),tn.default=tn,tn.outdent=tn}catch{}}}),ku=Pt({"src/main/core-options.js"(ce,Oe){mn();var{outdent:Dt}=Na(),bt="Config",zt="Editor",Ze="Format",mt="Other",ur="Output",It="Global",vn="Special",ot={cursorOffset:{since:"1.4.0",category:vn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Dt`
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:zt},endOfLine:{since:"1.15.0",category:It,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:Dt`
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:vn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:mt,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:vn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:mt},parser:{since:"0.0.10",category:It,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:_t=>typeof _t=="string"||typeof _t=="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:It,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:_t=>typeof _t=="string"||typeof _t=="object",cliName:"plugin",cliCategory:bt},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:It,description:Dt`
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:_t=>typeof _t=="string"||typeof _t=="object",cliName:"plugin-search-dir",cliCategory:bt},printWidth:{since:"0.0.0",category:It,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:vn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Dt`
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:zt},rangeStart:{since:"1.4.0",category:vn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Dt`
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:zt},requirePragma:{since:"1.7.0",category:vn,type:"boolean",default:!1,description:Dt`
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:mt},tabWidth:{type:"int",category:It,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:It,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:It,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:bt,CATEGORY_EDITOR:zt,CATEGORY_FORMAT:Ze,CATEGORY_OTHER:mt,CATEGORY_OUTPUT:ur,CATEGORY_GLOBAL:It,CATEGORY_SPECIAL:vn,options:ot}}}),xi=Pt({"src/main/support.js"(ce,Oe){mn();var Dt={compare:ks(),lt:Bi(),gte:Fu()},bt=uu(),zt=so().version,Ze=ku().options;function mt(){let{plugins:It=[],showUnreleased:vn=!1,showDeprecated:ot=!1,showInternal:_t=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},sr=zt.split("-",1)[0],Ur=It.flatMap(Hr=>Hr.languages||[]).filter(Rr),Er=bt(Object.assign({},...It.map(Hr=>{let{options:pi}=Hr;return pi}),Ze),"name").filter(Hr=>Rr(Hr)&&Un(Hr)).sort((Hr,pi)=>Hr.name===pi.name?0:Hr.name<pi.name?-1:1).map(tn).map(Hr=>{Hr=Object.assign({},Hr),Array.isArray(Hr.default)&&(Hr.default=Hr.default.length===1?Hr.default[0].value:Hr.default.filter(Rr).sort((In,Cs)=>Dt.compare(Cs.since,In.since))[0].value),Array.isArray(Hr.choices)&&(Hr.choices=Hr.choices.filter(In=>Rr(In)&&Un(In)),Hr.name==="parser"&&ur(Hr,Ur,It));let pi=Object.fromEntries(It.filter(In=>In.defaultOptions&&In.defaultOptions[Hr.name]!==void 0).map(In=>[In.name,In.defaultOptions[Hr.name]]));return Object.assign(Object.assign({},Hr),{},{pluginDefaults:pi})});return{languages:Ur,options:Er};function Rr(Hr){return vn||!("since"in Hr)||Hr.since&&Dt.gte(sr,Hr.since)}function Un(Hr){return ot||!("deprecated"in Hr)||Hr.deprecated&&Dt.lt(sr,Hr.deprecated)}function tn(Hr){return _t?Hr:re(Hr,ue)}}function ur(It,vn,ot){let _t=new Set(It.choices.map(sr=>sr.value));for(let sr of vn)if(sr.parsers){for(let Ur of sr.parsers)if(!_t.has(Ur)){_t.add(Ur);let Er=ot.find(Un=>Un.parsers&&Un.parsers[Ur]),Rr=sr.name;Er&&Er.name&&(Rr+=` (plugin: ${Er.name})`),It.choices.push({value:Ur,description:Rr})}}}Oe.exports={getSupportInfo:mt}}}),yo=Pt({"src/utils/is-non-empty-array.js"(ce,Oe){mn();function Dt(bt){return Array.isArray(bt)&&bt.length>0}Oe.exports=Dt}});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=ir({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){mn()}});function zo(ce){if(typeof ce!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof ce}\``);return ce.replace(lu(),"")}var cu=ir({"node_modules/strip-ansi/index.js"(){mn(),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=ir({"node_modules/is-fullwidth-code-point/index.js"(){mn()}}),_u=Pt({"node_modules/emoji-regex/index.js"(ce,Oe){mn(),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={};Fr(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 Dt=0;Dt<ce.length;Dt++){let bt=ce.codePointAt(Dt);bt<=31||bt>=127&&bt<=159||bt>=768&&bt<=879||(bt>65535&&Dt++,Oe+=Nu(bt)?2:1)}return Oe}var Ou,Ha=ir({"node_modules/string-width/index.js"(){mn(),cu(),Bu(),Ou=Be(_u())}}),vl=Pt({"src/utils/get-string-width.js"(ce,Oe){mn();var Dt=(Ha(),vr(Do)).default,bt=/[^\x20-\x7F]/;function zt(Ze){return Ze?bt.test(Ze)?Dt(Ze):Ze.length:0}Oe.exports=zt}}),pu=Pt({"src/utils/text/skip.js"(ce,Oe){mn();function Dt(ur){return(It,vn,ot)=>{let _t=ot&&ot.backwards;if(vn===!1)return!1;let{length:sr}=It,Ur=vn;for(;Ur>=0&&Ur<sr;){let Er=It.charAt(Ur);if(ur instanceof RegExp){if(!ur.test(Er))return Ur}else if(!ur.includes(Er))return Ur;_t?Ur--:Ur++}return Ur===-1||Ur===sr?Ur:!1}}var bt=Dt(/\s/),zt=Dt(" "),Ze=Dt(",; "),mt=Dt(/[^\n\r]/);Oe.exports={skipWhitespace:bt,skipSpaces:zt,skipToLineEnd:Ze,skipEverythingButNewLine:mt}}}),Sa=Pt({"src/utils/text/skip-inline-comment.js"(ce,Oe){mn();function Dt(bt,zt){if(zt===!1)return!1;if(bt.charAt(zt)==="/"&&bt.charAt(zt+1)==="*"){for(let Ze=zt+2;Ze<bt.length;++Ze)if(bt.charAt(Ze)==="*"&&bt.charAt(Ze+1)==="/")return Ze+2}return zt}Oe.exports=Dt}}),ao=Pt({"src/utils/text/skip-trailing-comment.js"(ce,Oe){mn();var{skipEverythingButNewLine:Dt}=pu();function bt(zt,Ze){return Ze===!1?!1:zt.charAt(Ze)==="/"&&zt.charAt(Ze+1)==="/"?Dt(zt,Ze):Ze}Oe.exports=bt}}),va=Pt({"src/utils/text/skip-newline.js"(ce,Oe){mn();function Dt(bt,zt,Ze){let mt=Ze&&Ze.backwards;if(zt===!1)return!1;let ur=bt.charAt(zt);if(mt){if(bt.charAt(zt-1)==="\r"&&ur===`
239
+ `)return zt-2;if(ur===`
240
+ `||ur==="\r"||ur==="\u2028"||ur==="\u2029")return zt-1}else{if(ur==="\r"&&bt.charAt(zt+1)===`
241
+ `)return zt+2;if(ur===`
242
+ `||ur==="\r"||ur==="\u2028"||ur==="\u2029")return zt+1}return zt}Oe.exports=Dt}}),hu=Pt({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ce,Oe){mn();var Dt=Sa(),bt=va(),zt=ao(),{skipSpaces:Ze}=pu();function mt(ur,It){let vn=null,ot=It;for(;ot!==vn;)vn=ot,ot=Ze(ur,ot),ot=Dt(ur,ot),ot=zt(ur,ot),ot=bt(ur,ot);return ot}Oe.exports=mt}}),Qu=Pt({"src/common/util.js"(ce,Oe){mn();var{default:Dt}=(rt(),vr(is)),bt=ws(),{getSupportInfo:zt}=xi(),Ze=yo(),mt=vl(),{skipWhitespace:ur,skipSpaces:It,skipToLineEnd:vn,skipEverythingButNewLine:ot}=pu(),_t=Sa(),sr=ao(),Ur=va(),Er=hu(),Rr=Dn=>Dn[Dn.length-2];function Un(Dn){return(Hn,hi,ii)=>{let si=ii&&ii.backwards;if(hi===!1)return!1;let{length:vs}=Hn,ps=hi;for(;ps>=0&&ps<vs;){let bs=Hn.charAt(ps);if(Dn instanceof RegExp){if(!Dn.test(bs))return ps}else if(!Dn.includes(bs))return ps;si?ps--:ps++}return ps===-1||ps===vs?ps:!1}}function tn(Dn,Hn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ii=It(Dn,hi.backwards?Hn-1:Hn,hi),si=Ur(Dn,ii,hi);return ii!==si}function Hr(Dn,Hn,hi){for(let ii=Hn;ii<hi;++ii)if(Dn.charAt(ii)===`
243
+ `)return!0;return!1}function pi(Dn,Hn,hi){let ii=hi(Hn)-1;ii=It(Dn,ii,{backwards:!0}),ii=Ur(Dn,ii,{backwards:!0}),ii=It(Dn,ii,{backwards:!0});let si=Ur(Dn,ii,{backwards:!0});return ii!==si}function In(Dn,Hn){let hi=null,ii=Hn;for(;ii!==hi;)hi=ii,ii=vn(Dn,ii),ii=_t(Dn,ii),ii=It(Dn,ii);return ii=sr(Dn,ii),ii=Ur(Dn,ii),ii!==!1&&tn(Dn,ii)}function Cs(Dn,Hn,hi){return In(Dn,hi(Hn))}function Zr(Dn,Hn,hi){return Er(Dn,hi(Hn))}function Si(Dn,Hn,hi){return Dn.charAt(Zr(Dn,Hn,hi))}function Ai(Dn,Hn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return It(Dn,hi.backwards?Hn-1:Hn,hi)!==Hn}function qi(Dn,Hn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,ii=0;for(let si=hi;si<Dn.length;++si)Dn[si]===" "?ii=ii+Hn-ii%Hn:ii++;return ii}function cs(Dn,Hn){let hi=Dn.lastIndexOf(`
244
+ `);return hi===-1?0:qi(Dn.slice(hi+1).match(/^[\t ]*/)[0],Hn)}function We(Dn,Hn){let hi={quote:'"',regex:/"/g,escaped:"&quot;"},ii={quote:"'",regex:/'/g,escaped:"&apos;"},si=Hn==="'"?ii:hi,vs=si===ii?hi:ii,ps=si;if(Dn.includes(si.quote)||Dn.includes(vs.quote)){let bs=(Dn.match(si.regex)||[]).length,aa=(Dn.match(vs.regex)||[]).length;ps=bs>aa?vs:si}return ps}function pt(Dn,Hn){let hi=Dn.slice(1,-1),ii=Hn.parser==="json"||Hn.parser==="json5"&&Hn.quoteProps==="preserve"&&!Hn.singleQuote?'"':Hn.__isInHtmlAttribute?"'":We(hi,Hn.singleQuote?"'":'"').quote;return Br(hi,ii,!(Hn.parser==="css"||Hn.parser==="less"||Hn.parser==="scss"||Hn.__embeddedInHtml))}function Br(Dn,Hn,hi){let ii=Hn==='"'?"'":'"',si=/\\(.)|(["'])/gs,vs=Dn.replace(si,(ps,bs,aa)=>bs===ii?bs:aa===Hn?"\\"+aa:aa||(hi&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(bs)?bs:"\\"+bs));return Hn+vs+Hn}function nr(Dn){return Dn.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function gn(Dn,Hn){let hi=Dn.match(new RegExp(`(${Dt(Hn)})+`,"g"));return hi===null?0:hi.reduce((ii,si)=>Math.max(ii,si.length/Hn.length),0)}function Ri(Dn,Hn){let hi=Dn.match(new RegExp(`(${Dt(Hn)})+`,"g"));if(hi===null)return 0;let ii=new Map,si=0;for(let vs of hi){let ps=vs.length/Hn.length;ii.set(ps,!0),ps>si&&(si=ps)}for(let vs=1;vs<si;vs++)if(!ii.get(vs))return vs;return si+1}function Ji(Dn,Hn){(Dn.comments||(Dn.comments=[])).push(Hn),Hn.printed=!1,Hn.nodeDescription=ca(Dn)}function Js(Dn,Hn){Hn.leading=!0,Hn.trailing=!1,Ji(Dn,Hn)}function Ns(Dn,Hn,hi){Hn.leading=!1,Hn.trailing=!1,hi&&(Hn.marker=hi),Ji(Dn,Hn)}function na(Dn,Hn){Hn.leading=!1,Hn.trailing=!0,Ji(Dn,Hn)}function Ts(Dn,Hn){let{languages:hi}=zt({plugins:Hn.plugins}),ii=hi.find(si=>{let{name:vs}=si;return vs.toLowerCase()===Dn})||hi.find(si=>{let{aliases:vs}=si;return Array.isArray(vs)&&vs.includes(Dn)})||hi.find(si=>{let{extensions:vs}=si;return Array.isArray(vs)&&vs.includes(`.${Dn}`)});return ii&&ii.parsers[0]}function la(Dn){return Dn&&Dn.type==="front-matter"}function Rs(Dn){let Hn=new WeakMap;return function(hi){return Hn.has(hi)||Hn.set(hi,Symbol(Dn)),Hn.get(hi)}}function ca(Dn){let Hn=Dn.type||Dn.kind||"(unknown type)",hi=String(Dn.name||Dn.id&&(typeof Dn.id=="object"?Dn.id.name:Dn.id)||Dn.key&&(typeof Dn.key=="object"?Dn.key.name:Dn.key)||Dn.value&&(typeof Dn.value=="object"?"":String(Dn.value))||Dn.operator||"");return hi.length>20&&(hi=hi.slice(0,19)+"…"),Hn+(hi?" "+hi:"")}Oe.exports={inferParserByLanguage:Ts,getStringWidth:mt,getMaxContinuousCount:gn,getMinNotPresentContinuousCount:Ri,getPenultimate:Rr,getLast:bt,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Er,getNextNonSpaceNonCommentCharacterIndex:Zr,getNextNonSpaceNonCommentCharacter:Si,skip:Un,skipWhitespace:ur,skipSpaces:It,skipToLineEnd:vn,skipEverythingButNewLine:ot,skipInlineComment:_t,skipTrailingComment:sr,skipNewline:Ur,isNextLineEmptyAfterIndex:In,isNextLineEmpty:Cs,isPreviousLineEmpty:pi,hasNewline:tn,hasNewlineInRange:Hr,hasSpaces:Ai,getAlignmentSize:qi,getIndentSize:cs,getPreferredQuote:We,printString:pt,printNumber:nr,makeString:Br,addLeadingComment:Js,addDanglingComment:Ns,addTrailingComment:na,isFrontMatterNode:la,isNonEmptyArray:Ze,createGroupIdMapper:Rs}}}),Zu=Pt({"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=Pt({"src/language-html/utils/array-to-map.js"(ce,Oe){mn();function Dt(bt){let zt=Object.create(null);for(let Ze of bt)zt[Ze]=!0;return zt}Oe.exports=Dt}}),Wa=Pt({"src/language-html/utils/html-tag-names.js"(ce,Oe){mn();var{htmlTagNames:Dt}=Zu(),bt=qa(),zt=bt(Dt);Oe.exports=zt}}),Pi=Pt({"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=Pt({"src/language-html/utils/map-object.js"(ce,Oe){mn();function Dt(bt,zt){let Ze=Object.create(null);for(let[mt,ur]of Object.entries(bt))Ze[mt]=zt(ur,mt);return Ze}Oe.exports=Dt}}),oo=Pt({"src/language-html/utils/html-elements-attributes.js"(ce,Oe){mn();var{htmlElementAttributes:Dt}=Pi(),bt=Fa(),zt=qa(),Ze=bt(Dt,zt);Oe.exports=Ze}}),xa=Pt({"src/language-html/utils/is-unknown-namespace.js"(ce,Oe){mn();function Dt(bt){return bt.type==="element"&&!bt.hasExplicitNamespace&&!["html","svg"].includes(bt.namespace)}Oe.exports=Dt}}),Va=Pt({"src/language-html/pragma.js"(ce,Oe){mn();function Dt(zt){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(zt)}function bt(zt){return`<!-- @format -->
245
+
246
+ `+zt.replace(/^\s*\n/,"")}Oe.exports={hasPragma:Dt,insertPragma:bt}}}),Uo=Pt({"src/language-html/ast.js"(ce,Oe){mn();var Dt={attrs:!0,children:!0},bt=new Set(["parent"]),zt=class{constructor(){let mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let ur of new Set([...bt,...Object.keys(mt)]))this.setProperty(ur,mt[ur])}setProperty(mt,ur){if(this[mt]!==ur){if(mt in Dt&&(ur=ur.map(It=>this.createChild(It))),!bt.has(mt)){this[mt]=ur;return}Object.defineProperty(this,mt,{value:ur,enumerable:!1,configurable:!0})}}map(mt){let ur;for(let It in Dt){let vn=this[It];if(vn){let ot=Ze(vn,_t=>_t.map(mt));ur!==vn&&(ur||(ur=new zt({parent:this.parent})),ur.setProperty(It,ot))}}if(ur)for(let It in this)It in Dt||(ur[It]=this[It]);return mt(ur||this)}walk(mt){for(let ur in Dt){let It=this[ur];if(It)for(let vn=0;vn<It.length;vn++)It[vn].walk(mt)}mt(this)}createChild(mt){let ur=mt instanceof zt?mt.clone():new zt(mt);return ur.setProperty("parent",this),ur}insertChildBefore(mt,ur){this.children.splice(this.children.indexOf(mt),0,this.createChild(ur))}removeChild(mt){this.children.splice(this.children.indexOf(mt),1)}replaceChild(mt,ur){this.children[this.children.indexOf(mt)]=this.createChild(ur)}clone(){return new zt(this)}get firstChild(){var mt;return(mt=this.children)===null||mt===void 0?void 0:mt[0]}get lastChild(){var mt;return(mt=this.children)===null||mt===void 0?void 0:mt[this.children.length-1]}get prev(){var mt;return(mt=this.parent)===null||mt===void 0?void 0:mt.children[this.parent.children.indexOf(this)-1]}get next(){var mt;return(mt=this.parent)===null||mt===void 0?void 0:mt.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(mt=>[mt.fullName,mt.value]))}};function Ze(mt,ur){let It=mt.map(ur);return It.some((vn,ot)=>vn!==mt[ot])?It:mt}Oe.exports={Node:zt}}}),eu=Pt({"src/language-html/conditional-comment.js"(ce,Oe){mn();var{ParseSourceSpan:Dt}=di(),bt=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:Ze},{regex:/^\[if([^\]]*)]><!$/,parse:mt},{regex:/^<!\s*\[endif]$/,parse:ur}];function zt(It,vn){if(It.value)for(let{regex:ot,parse:_t}of bt){let sr=It.value.match(ot);if(sr)return _t(It,vn,sr)}return null}function Ze(It,vn,ot){let[,_t,sr,Ur]=ot,Er=4+_t.length,Rr=It.sourceSpan.start.moveBy(Er),Un=Rr.moveBy(Ur.length),[tn,Hr]=(()=>{try{return[!0,vn(Ur,Rr).children]}catch{return[!1,[{type:"text",value:Ur,sourceSpan:new Dt(Rr,Un)}]]}})();return{type:"ieConditionalComment",complete:tn,children:Hr,condition:sr.trim().replace(/\s+/g," "),sourceSpan:It.sourceSpan,startSourceSpan:new Dt(It.sourceSpan.start,Rr),endSourceSpan:new Dt(Un,It.sourceSpan.end)}}function mt(It,vn,ot){let[,_t]=ot;return{type:"ieConditionalStartComment",condition:_t.trim().replace(/\s+/g," "),sourceSpan:It.sourceSpan}}function ur(It){return{type:"ieConditionalEndComment",sourceSpan:It.sourceSpan}}Oe.exports={parseIeConditionalComment:zt}}}),tu=Pt({"src/language-html/loc.js"(ce,Oe){mn();function Dt(zt){return zt.sourceSpan.start.offset}function bt(zt){return zt.sourceSpan.end.offset}Oe.exports={locStart:Dt,locEnd:bt}}}),Ga=Pt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0}),function(ur){ur[ur.RAW_TEXT=0]="RAW_TEXT",ur[ur.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",ur[ur.PARSABLE_DATA=2]="PARSABLE_DATA"}(ce.TagContentType||(ce.TagContentType={}));function Oe(ur){if(ur[0]!=":")return[null,ur];let It=ur.indexOf(":",1);if(It==-1)throw new Error(`Unsupported format "${ur}" expecting ":namespace:name"`);return[ur.slice(1,It),ur.slice(It+1)]}ce.splitNsName=Oe;function Dt(ur){return Oe(ur)[1]==="ng-container"}ce.isNgContainer=Dt;function bt(ur){return Oe(ur)[1]==="ng-content"}ce.isNgContent=bt;function zt(ur){return Oe(ur)[1]==="ng-template"}ce.isNgTemplate=zt;function Ze(ur){return ur===null?null:Oe(ur)[0]}ce.getNsPrefix=Ze;function mt(ur,It){return ur?`:${ur}:${It}`:It}ce.mergeNsAndName=mt,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=Pt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=Ga(),Dt=class{constructor(){let{closedByChildren:mt,implicitNamespacePrefix:ur,contentType:It=Oe.TagContentType.PARSABLE_DATA,closedByParent:vn=!1,isVoid:ot=!1,ignoreFirstLf:_t=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,mt&&mt.length>0&&mt.forEach(sr=>this.closedByChildren[sr]=!0),this.isVoid=ot,this.closedByParent=vn||ot,this.implicitNamespacePrefix=ur||null,this.contentType=It,this.ignoreFirstLf=_t}isClosedByChild(mt){return this.isVoid||mt.toLowerCase()in this.closedByChildren}};ce.HtmlTagDefinition=Dt;var bt,zt;function Ze(mt){return zt||(bt=new Dt,zt={base:new Dt({isVoid:!0}),meta:new Dt({isVoid:!0}),area:new Dt({isVoid:!0}),embed:new Dt({isVoid:!0}),link:new Dt({isVoid:!0}),img:new Dt({isVoid:!0}),input:new Dt({isVoid:!0}),param:new Dt({isVoid:!0}),hr:new Dt({isVoid:!0}),br:new Dt({isVoid:!0}),source:new Dt({isVoid:!0}),track:new Dt({isVoid:!0}),wbr:new Dt({isVoid:!0}),p:new Dt({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 Dt({closedByChildren:["tbody","tfoot"]}),tbody:new Dt({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Dt({closedByChildren:["tbody"],closedByParent:!0}),tr:new Dt({closedByChildren:["tr"],closedByParent:!0}),td:new Dt({closedByChildren:["td","th"],closedByParent:!0}),th:new Dt({closedByChildren:["td","th"],closedByParent:!0}),col:new Dt({isVoid:!0}),svg:new Dt({implicitNamespacePrefix:"svg"}),math:new Dt({implicitNamespacePrefix:"math"}),li:new Dt({closedByChildren:["li"],closedByParent:!0}),dt:new Dt({closedByChildren:["dt","dd"]}),dd:new Dt({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Dt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Dt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Dt({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Dt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Dt({closedByChildren:["optgroup"],closedByParent:!0}),option:new Dt({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Dt({ignoreFirstLf:!0}),listing:new Dt({ignoreFirstLf:!0}),style:new Dt({contentType:Oe.TagContentType.RAW_TEXT}),script:new Dt({contentType:Oe.TagContentType.RAW_TEXT}),title:new Dt({contentType:Oe.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new Dt({contentType:Oe.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),zt[mt]||bt}ce.getHtmlTagDefinition=Ze}}),ti=Pt({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=class{constructor(Dt){let bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=Dt,this.position=bt}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(Dt){return Dt&&this.path[this.path.indexOf(Dt)-1]}childOf(Dt){return this.path[this.path.indexOf(Dt)+1]}first(Dt){for(let bt=this.path.length-1;bt>=0;bt--){let zt=this.path[bt];if(zt instanceof Dt)return zt}}push(Dt){this.path.push(Dt)}pop(){return this.path.pop()}};ce.AstPath=Oe}}),fn=Pt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=ti(),Dt=class{constructor(Er,Rr,Un){this.value=Er,this.sourceSpan=Rr,this.i18n=Un,this.type="text"}visit(Er,Rr){return Er.visitText(this,Rr)}};ce.Text=Dt;var bt=class{constructor(Er,Rr){this.value=Er,this.sourceSpan=Rr,this.type="cdata"}visit(Er,Rr){return Er.visitCdata(this,Rr)}};ce.CDATA=bt;var zt=class{constructor(Er,Rr,Un,tn,Hr,pi){this.switchValue=Er,this.type=Rr,this.cases=Un,this.sourceSpan=tn,this.switchValueSourceSpan=Hr,this.i18n=pi}visit(Er,Rr){return Er.visitExpansion(this,Rr)}};ce.Expansion=zt;var Ze=class{constructor(Er,Rr,Un,tn,Hr){this.value=Er,this.expression=Rr,this.sourceSpan=Un,this.valueSourceSpan=tn,this.expSourceSpan=Hr}visit(Er,Rr){return Er.visitExpansionCase(this,Rr)}};ce.ExpansionCase=Ze;var mt=class{constructor(Er,Rr,Un){let tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Hr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,pi=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=Er,this.value=Rr,this.sourceSpan=Un,this.valueSpan=tn,this.nameSpan=Hr,this.i18n=pi,this.type="attribute"}visit(Er,Rr){return Er.visitAttribute(this,Rr)}};ce.Attribute=mt;var ur=class{constructor(Er,Rr,Un,tn){let Hr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,pi=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,In=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,Cs=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=Er,this.attrs=Rr,this.children=Un,this.sourceSpan=tn,this.startSourceSpan=Hr,this.endSourceSpan=pi,this.nameSpan=In,this.i18n=Cs,this.type="element"}visit(Er,Rr){return Er.visitElement(this,Rr)}};ce.Element=ur;var It=class{constructor(Er,Rr){this.value=Er,this.sourceSpan=Rr,this.type="comment"}visit(Er,Rr){return Er.visitComment(this,Rr)}};ce.Comment=It;var vn=class{constructor(Er,Rr){this.value=Er,this.sourceSpan=Rr,this.type="docType"}visit(Er,Rr){return Er.visitDocType(this,Rr)}};ce.DocType=vn;function ot(Er,Rr){let Un=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,tn=[],Hr=Er.visit?pi=>Er.visit(pi,Un)||pi.visit(Er,Un):pi=>pi.visit(Er,Un);return Rr.forEach(pi=>{let In=Hr(pi);In&&tn.push(In)}),tn}ce.visitAll=ot;var _t=class{constructor(){}visitElement(Er,Rr){this.visitChildren(Rr,Un=>{Un(Er.attrs),Un(Er.children)})}visitAttribute(Er,Rr){}visitText(Er,Rr){}visitCdata(Er,Rr){}visitComment(Er,Rr){}visitDocType(Er,Rr){}visitExpansion(Er,Rr){return this.visitChildren(Rr,Un=>{Un(Er.cases)})}visitExpansionCase(Er,Rr){}visitChildren(Er,Rr){let Un=[],tn=this;function Hr(pi){pi&&Un.push(ot(tn,pi,Er))}return Rr(Hr),Array.prototype.concat.apply([],Un)}};ce.RecursiveVisitor=_t;function sr(Er){let Rr=Er.sourceSpan.start.offset,Un=Er.sourceSpan.end.offset;return Er instanceof ur&&(Er.endSourceSpan?Un=Er.endSourceSpan.end.offset:Er.children&&Er.children.length&&(Un=sr(Er.children[Er.children.length-1]).end)),{start:Rr,end:Un}}function Ur(Er,Rr){let Un=[],tn=new class extends _t{visit(Hr,pi){let In=sr(Hr);if(In.start<=Rr&&Rr<In.end)Un.push(Hr);else return!0}};return ot(tn,Er),new Oe.AstPath(Un,Rr)}ce.findNode=Ur}}),Cn=Pt({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});function Oe(zt,Ze){if(Ze!=null){if(!Array.isArray(Ze))throw new Error(`Expected '${zt}' to be an array of strings.`);for(let mt=0;mt<Ze.length;mt+=1)if(typeof Ze[mt]!="string")throw new Error(`Expected '${zt}' to be an array of strings.`)}}ce.assertArrayOfStrings=Oe;var Dt=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function bt(zt,Ze){if(Ze!=null&&!(Array.isArray(Ze)&&Ze.length==2))throw new Error(`Expected '${zt}' to be an array, [start, end].`);if(Ze!=null){let mt=Ze[0],ur=Ze[1];Dt.forEach(It=>{if(It.test(mt)||It.test(ur))throw new Error(`['${mt}', '${ur}'] contains unusable interpolation symbol.`)})}}ce.assertInterpolationSymbols=bt}}),sn=Pt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=Cn(),Dt=class{constructor(bt,zt){this.start=bt,this.end=zt}static fromArray(bt){return bt?(Oe.assertInterpolationSymbols("interpolation",bt),new Dt(bt[0],bt[1])):ce.DEFAULT_INTERPOLATION_CONFIG}};ce.InterpolationConfig=Dt,ce.DEFAULT_INTERPOLATION_CONFIG=new Dt("{{","}}")}}),an=Pt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=ns(),Dt=di(),bt=sn(),zt=Ga(),Ze;(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"})(Ze=ce.TokenType||(ce.TokenType={}));var mt=class{constructor(We,pt,Br){this.type=We,this.parts=pt,this.sourceSpan=Br}};ce.Token=mt;var ur=class extends Dt.ParseError{constructor(We,pt,Br){super(Br,We),this.tokenType=pt}};ce.TokenError=ur;var It=class{constructor(We,pt){this.tokens=We,this.errors=pt}};ce.TokenizeResult=It;function vn(We,pt,Br){let nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new Er(new Dt.ParseSourceFile(We,pt),Br,nr).tokenize()}ce.tokenize=vn;var ot=/\r\n?/g;function _t(We){return`Unexpected character "${We===Oe.$EOF?"EOF":String.fromCharCode(We)}"`}function sr(We){return`Unknown entity "${We}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var Ur=class{constructor(We){this.error=We}},Er=class{constructor(We,pt,Br){this._getTagContentType=pt,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=Br.tokenizeExpansionForms||!1,this._interpolationConfig=Br.interpolationConfig||bt.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=Br.leadingTriviaChars&&Br.leadingTriviaChars.map(gn=>gn.codePointAt(0)||0),this._canSelfClose=Br.canSelfClose||!1,this._allowHtmComponentClosingTags=Br.allowHtmComponentClosingTags||!1;let nr=Br.range||{endPos:We.content.length,startPos:0,startLine:0,startCol:0};this._cursor=Br.escapedString?new qi(We,nr):new Ai(We,nr);try{this._cursor.init()}catch(gn){this.handleError(gn)}}_processCarriageReturns(We){return We.replace(ot,`
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 pt=this._cursor.clone();this._attemptCharCode(Oe.$QUESTION)?(this._cursor=pt,this._consumeBogusComment(We)):this._consumeTagOpen(We)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(pt){this.handleError(pt)}}return this._beginToken(Ze.EOF),this._endToken([]),new It(Si(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(In(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 pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=pt,this._currentTokenType=We}_endToken(We){let pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new ur("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(pt));if(this._currentTokenType===null)throw new ur("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let Br=new mt(this._currentTokenType,We,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(Br),this._currentTokenStart=null,this._currentTokenType=null,Br}_createError(We,pt){this._isInExpansionForm()&&(We+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let Br=new ur(We,this._currentTokenType,pt);return this._currentTokenStart=null,this._currentTokenType=null,new Ur(Br)}handleError(We){if(We instanceof cs&&(We=this._createError(We.msg,this._cursor.getSpan(We.cursor))),We instanceof Ur)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 pt=this._cursor.clone();if(!this._attemptCharCode(We))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(pt))}_attemptStr(We){let pt=We.length;if(this._cursor.charsLeft()<pt)return!1;let Br=this._cursor.clone();for(let nr=0;nr<pt;nr++)if(!this._attemptCharCode(We.charCodeAt(nr)))return this._cursor=Br,!1;return!0}_attemptStrCaseInsensitive(We){for(let pt=0;pt<We.length;pt++)if(!this._attemptCharCodeCaseInsensitive(We.charCodeAt(pt)))return!1;return!0}_requireStr(We){let pt=this._cursor.clone();if(!this._attemptStr(We))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(pt))}_requireStrCaseInsensitive(We){let pt=this._cursor.clone();if(!this._attemptStrCaseInsensitive(We))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(pt))}_attemptCharCodeUntilFn(We){for(;!We(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(We,pt){let Br=this._cursor.clone();if(this._attemptCharCodeUntilFn(We),this._cursor.clone().diff(Br)<pt)throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(Br))}_attemptUntilChar(We){for(;this._cursor.peek()!==We;)this._cursor.advance()}_readChar(We){if(We&&this._cursor.peek()===Oe.$AMPERSAND)return this._decodeEntity();{let pt=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),pt}}_decodeEntity(){let We=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(Oe.$HASH)){let pt=this._attemptCharCode(Oe.$x)||this._attemptCharCode(Oe.$X),Br=this._cursor.clone();if(this._attemptCharCodeUntilFn(Hr),this._cursor.peek()!=Oe.$SEMICOLON)throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan());let nr=this._cursor.getChars(Br);this._cursor.advance();try{let gn=parseInt(nr,pt?16:10);return String.fromCharCode(gn)}catch{throw this._createError(sr(this._cursor.getChars(We)),this._cursor.getSpan())}}else{let pt=this._cursor.clone();if(this._attemptCharCodeUntilFn(pi),this._cursor.peek()!=Oe.$SEMICOLON)return this._cursor=pt,"&";let Br=this._cursor.getChars(pt);this._cursor.advance();let nr=zt.NAMED_ENTITIES[Br];if(!nr)throw this._createError(sr(Br),this._cursor.getSpan(We));return nr}}_consumeRawText(We,pt){this._beginToken(We?Ze.ESCAPABLE_RAW_TEXT:Ze.RAW_TEXT);let Br=[];for(;;){let nr=this._cursor.clone(),gn=pt();if(this._cursor=nr,gn)break;Br.push(this._readChar(We))}return this._endToken([this._processCarriageReturns(Br.join(""))])}_consumeComment(We){this._beginToken(Ze.COMMENT_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(Ze.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(We){this._beginToken(Ze.COMMENT_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Oe.$GT),this._beginToken(Ze.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(We){this._beginToken(Ze.CDATA_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(Ze.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(We){this._beginToken(Ze.DOC_TYPE_START,We),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Oe.$GT),this._beginToken(Ze.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let We=this._cursor.clone(),pt="";for(;this._cursor.peek()!==Oe.$COLON&&!tn(this._cursor.peek());)this._cursor.advance();let Br;this._cursor.peek()===Oe.$COLON?(pt=this._cursor.getChars(We),this._cursor.advance(),Br=this._cursor.clone()):Br=We,this._requireCharCodeUntilFn(Un,pt===""?0:1);let nr=this._cursor.getChars(Br);return[pt,nr]}_consumeTagOpen(We){let pt,Br,nr,gn=this.tokens.length,Ri=this._cursor.clone(),Ji=[];try{if(!Oe.isAsciiLetter(this._cursor.peek()))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(We));for(nr=this._consumeTagOpenStart(We),Br=nr.parts[0],pt=nr.parts[1],this._attemptCharCodeUntilFn(Rr);this._cursor.peek()!==Oe.$SLASH&&this._cursor.peek()!==Oe.$GT;){let[Ns,na]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(Rr),this._attemptCharCode(Oe.$EQ)){this._attemptCharCodeUntilFn(Rr);let Ts=this._consumeAttributeValue();Ji.push({prefix:Ns,name:na,value:Ts})}else Ji.push({prefix:Ns,name:na});this._attemptCharCodeUntilFn(Rr)}this._consumeTagOpenEnd()}catch(Ns){if(Ns instanceof Ur){this._cursor=Ri,nr&&(this.tokens.length=gn),this._beginToken(Ze.TEXT,We),this._endToken(["<"]);return}throw Ns}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===Ze.TAG_OPEN_END_VOID)return;let Js=this._getTagContentType(pt,Br,this._fullNameStack.length>0,Ji);this._handleFullNameStackForTagOpen(Br,pt),Js===zt.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(Br,pt,!1):Js===zt.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(Br,pt,!0)}_consumeRawTextWithTagClose(We,pt,Br){this._consumeRawText(Br,()=>!this._attemptCharCode(Oe.$LT)||!this._attemptCharCode(Oe.$SLASH)||(this._attemptCharCodeUntilFn(Rr),!this._attemptStrCaseInsensitive(We?`${We}:${pt}`:pt))?!1:(this._attemptCharCodeUntilFn(Rr),this._attemptCharCode(Oe.$GT))),this._beginToken(Ze.TAG_CLOSE),this._requireCharCodeUntilFn(nr=>nr===Oe.$GT,3),this._cursor.advance(),this._endToken([We,pt]),this._handleFullNameStackForTagClose(We,pt)}_consumeTagOpenStart(We){this._beginToken(Ze.TAG_OPEN_START,We);let pt=this._consumePrefixAndName();return this._endToken(pt)}_consumeAttributeName(){let We=this._cursor.peek();if(We===Oe.$SQ||We===Oe.$DQ)throw this._createError(_t(We),this._cursor.getSpan());this._beginToken(Ze.ATTR_NAME);let pt=this._consumePrefixAndName();return this._endToken(pt),pt}_consumeAttributeValue(){let We;if(this._cursor.peek()===Oe.$SQ||this._cursor.peek()===Oe.$DQ){this._beginToken(Ze.ATTR_QUOTE);let pt=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(pt)]),this._beginToken(Ze.ATTR_VALUE);let Br=[];for(;this._cursor.peek()!==pt;)Br.push(this._readChar(!0));We=this._processCarriageReturns(Br.join("")),this._endToken([We]),this._beginToken(Ze.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(pt)])}else{this._beginToken(Ze.ATTR_VALUE);let pt=this._cursor.clone();this._requireCharCodeUntilFn(Un,1),We=this._processCarriageReturns(this._cursor.getChars(pt)),this._endToken([We])}return We}_consumeTagOpenEnd(){let We=this._attemptCharCode(Oe.$SLASH)?Ze.TAG_OPEN_END_VOID:Ze.TAG_OPEN_END;this._beginToken(We),this._requireCharCode(Oe.$GT),this._endToken([])}_consumeTagClose(We){if(this._beginToken(Ze.TAG_CLOSE,We),this._attemptCharCodeUntilFn(Rr),this._allowHtmComponentClosingTags&&this._attemptCharCode(Oe.$SLASH))this._attemptCharCodeUntilFn(Rr),this._requireCharCode(Oe.$GT),this._endToken([]);else{let[pt,Br]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Rr),this._requireCharCode(Oe.$GT),this._endToken([pt,Br]),this._handleFullNameStackForTagClose(pt,Br)}}_consumeExpansionFormStart(){this._beginToken(Ze.EXPANSION_FORM_START),this._requireCharCode(Oe.$LBRACE),this._endToken([]),this._expansionCaseStack.push(Ze.EXPANSION_FORM_START),this._beginToken(Ze.RAW_TEXT);let We=this._readUntil(Oe.$COMMA);this._endToken([We]),this._requireCharCode(Oe.$COMMA),this._attemptCharCodeUntilFn(Rr),this._beginToken(Ze.RAW_TEXT);let pt=this._readUntil(Oe.$COMMA);this._endToken([pt]),this._requireCharCode(Oe.$COMMA),this._attemptCharCodeUntilFn(Rr)}_consumeExpansionCaseStart(){this._beginToken(Ze.EXPANSION_CASE_VALUE);let We=this._readUntil(Oe.$LBRACE).trim();this._endToken([We]),this._attemptCharCodeUntilFn(Rr),this._beginToken(Ze.EXPANSION_CASE_EXP_START),this._requireCharCode(Oe.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(Rr),this._expansionCaseStack.push(Ze.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(Ze.EXPANSION_CASE_EXP_END),this._requireCharCode(Oe.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(Rr),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(Ze.EXPANSION_FORM_END),this._requireCharCode(Oe.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let We=this._cursor.clone();this._beginToken(Ze.TEXT,We);let pt=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(pt.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(pt.push(this._interpolationConfig.end),this._inInterpolation=!1):pt.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(pt.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 pt=this._cursor.clone();return this._attemptUntilChar(We),this._cursor.getChars(pt)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Ze.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Ze.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==Oe.$LBRACE)return!1;if(this._interpolationConfig){let We=this._cursor.clone(),pt=this._attemptStr(this._interpolationConfig.start);return this._cursor=We,!pt}return!0}_handleFullNameStackForTagOpen(We,pt){let Br=zt.mergeNsAndName(We,pt);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===Br)&&this._fullNameStack.push(Br)}_handleFullNameStackForTagClose(We,pt){let Br=zt.mergeNsAndName(We,pt);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===Br&&this._fullNameStack.pop()}};function Rr(We){return!Oe.isWhitespace(We)||We===Oe.$EOF}function Un(We){return Oe.isWhitespace(We)||We===Oe.$GT||We===Oe.$SLASH||We===Oe.$SQ||We===Oe.$DQ||We===Oe.$EQ}function tn(We){return(We<Oe.$a||Oe.$z<We)&&(We<Oe.$A||Oe.$Z<We)&&(We<Oe.$0||We>Oe.$9)}function Hr(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 In(We){return We===Oe.$EQ||Oe.isAsciiLetter(We)||Oe.isDigit(We)}function Cs(We,pt){return Zr(We)==Zr(pt)}function Zr(We){return We>=Oe.$a&&We<=Oe.$z?We-Oe.$a+Oe.$A:We}function Si(We){let pt=[],Br;for(let nr=0;nr<We.length;nr++){let gn=We[nr];Br&&Br.type==Ze.TEXT&&gn.type==Ze.TEXT?(Br.parts[0]+=gn.parts[0],Br.sourceSpan.end=gn.sourceSpan.end):(Br=gn,pt.push(Br))}return pt}var Ai=class{constructor(We,pt){if(We instanceof Ai)this.file=We.file,this.input=We.input,this.end=We.end,this.state=Object.assign({},We.state);else{if(!pt)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=We,this.input=We.content,this.end=pt.endPos,this.state={peek:-1,offset:pt.startPos,line:pt.startLine,column:pt.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,pt){if(We=We||this,pt)for(We=We.clone();this.diff(We)>0&&pt.indexOf(We.peek())!==-1;)We.advance();return new Dt.ParseSourceSpan(new Dt.ParseLocation(We.file,We.state.offset,We.state.line,We.state.column),new Dt.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 pt=this.charAt(We.offset);pt===Oe.$LF?(We.line++,We.column=0):Oe.isNewLine(pt)||We.column++,We.offset++,this.updatePeek(We)}updatePeek(We){We.peek=We.offset>=this.end?Oe.$EOF:this.charAt(We.offset)}},qi=class extends Ai{constructor(We,pt){We instanceof qi?(super(We),this.internalState=Object.assign({},We.internalState)):(super(We,pt),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new qi(this)}getChars(We){let pt=We.clone(),Br="";for(;pt.internalState.offset<this.internalState.offset;)Br+=String.fromCodePoint(pt.peek()),pt.advance();return Br}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 pt=this.clone(),Br=0;for(;We()!==Oe.$RBRACE;)this.advanceState(this.internalState),Br++;this.state.peek=this.decodeHexDigits(pt,Br)}else{let pt=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(pt,4)}else if(We()===Oe.$x){this.advanceState(this.internalState);let pt=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(pt,2)}else if(Oe.isOctalDigit(We())){let pt="",Br=0,nr=this.clone();for(;Oe.isOctalDigit(We())&&Br<3;)nr=this.clone(),pt+=String.fromCodePoint(We()),this.advanceState(this.internalState),Br++;this.state.peek=parseInt(pt,8),this.internalState=nr.internalState}else Oe.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(We,pt){let Br=this.input.substr(We.internalState.offset,pt),nr=parseInt(Br,16);if(isNaN(nr))throw We.state=We.internalState,new cs("Invalid hexadecimal escape sequence",We);return nr}},cs=class{constructor(We,pt){this.msg=We,this.cursor=pt}};ce.CursorError=cs}}),ri=Pt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=di(),Dt=fn(),bt=an(),zt=Ga(),Ze=class extends Oe.ParseError{constructor(ot,_t,sr){super(_t,sr),this.elementName=ot}static create(ot,_t,sr){return new Ze(ot,_t,sr)}};ce.TreeError=Ze;var mt=class{constructor(ot,_t){this.rootNodes=ot,this.errors=_t}};ce.ParseTreeResult=mt;var ur=class{constructor(ot){this.getTagDefinition=ot}parse(ot,_t,sr){let Ur=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Er=arguments.length>4?arguments[4]:void 0,Rr=Ai=>function(qi){for(var cs=arguments.length,We=new Array(cs>1?cs-1:0),pt=1;pt<cs;pt++)We[pt-1]=arguments[pt];return Ai(qi.toLowerCase(),...We)},Un=Ur?this.getTagDefinition:Rr(this.getTagDefinition),tn=Ai=>Un(Ai).contentType,Hr=Ur?Er:Rr(Er),pi=Er?(Ai,qi,cs,We)=>{let pt=Hr(Ai,qi,cs,We);return pt!==void 0?pt:tn(Ai)}:tn,In=bt.tokenize(ot,_t,pi,sr),Cs=sr&&sr.canSelfClose||!1,Zr=sr&&sr.allowHtmComponentClosingTags||!1,Si=new It(In.tokens,Un,Cs,Zr,Ur).build();return new mt(Si.rootNodes,In.errors.concat(Si.errors))}};ce.Parser=ur;var It=class{constructor(ot,_t,sr,Ur,Er){this.tokens=ot,this.getTagDefinition=_t,this.canSelfClose=sr,this.allowHtmComponentClosingTags=Ur,this.isTagNameCaseSensitive=Er,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==bt.TokenType.EOF;)this._peek.type===bt.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===bt.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===bt.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===bt.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===bt.TokenType.TEXT||this._peek.type===bt.TokenType.RAW_TEXT||this._peek.type===bt.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===bt.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===bt.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new mt(this._rootNodes,this._errors)}_advance(){let ot=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],ot}_advanceIf(ot){return this._peek.type===ot?this._advance():null}_consumeCdata(ot){let _t=this._advance(),sr=this._getText(_t),Ur=this._advanceIf(bt.TokenType.CDATA_END);this._addToParent(new Dt.CDATA(sr,new Oe.ParseSourceSpan(ot.sourceSpan.start,(Ur||_t).sourceSpan.end)))}_consumeComment(ot){let _t=this._advanceIf(bt.TokenType.RAW_TEXT),sr=this._advanceIf(bt.TokenType.COMMENT_END),Ur=_t!=null?_t.parts[0].trim():null,Er=new Oe.ParseSourceSpan(ot.sourceSpan.start,(sr||_t||ot).sourceSpan.end);this._addToParent(new Dt.Comment(Ur,Er))}_consumeDocType(ot){let _t=this._advanceIf(bt.TokenType.RAW_TEXT),sr=this._advanceIf(bt.TokenType.DOC_TYPE_END),Ur=_t!=null?_t.parts[0].trim():null,Er=new Oe.ParseSourceSpan(ot.sourceSpan.start,(sr||_t||ot).sourceSpan.end);this._addToParent(new Dt.DocType(Ur,Er))}_consumeExpansion(ot){let _t=this._advance(),sr=this._advance(),Ur=[];for(;this._peek.type===bt.TokenType.EXPANSION_CASE_VALUE;){let Rr=this._parseExpansionCase();if(!Rr)return;Ur.push(Rr)}if(this._peek.type!==bt.TokenType.EXPANSION_FORM_END){this._errors.push(Ze.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let Er=new Oe.ParseSourceSpan(ot.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new Dt.Expansion(_t.parts[0],sr.parts[0],Ur,Er,_t.sourceSpan)),this._advance()}_parseExpansionCase(){let ot=this._advance();if(this._peek.type!==bt.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(Ze.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let _t=this._advance(),sr=this._collectExpansionExpTokens(_t);if(!sr)return null;let Ur=this._advance();sr.push(new bt.Token(bt.TokenType.EOF,[],Ur.sourceSpan));let Er=new It(sr,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(Er.errors.length>0)return this._errors=this._errors.concat(Er.errors),null;let Rr=new Oe.ParseSourceSpan(ot.sourceSpan.start,Ur.sourceSpan.end),Un=new Oe.ParseSourceSpan(_t.sourceSpan.start,Ur.sourceSpan.end);return new Dt.ExpansionCase(ot.parts[0],Er.rootNodes,Rr,ot.sourceSpan,Un)}_collectExpansionExpTokens(ot){let _t=[],sr=[bt.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===bt.TokenType.EXPANSION_FORM_START||this._peek.type===bt.TokenType.EXPANSION_CASE_EXP_START)&&sr.push(this._peek.type),this._peek.type===bt.TokenType.EXPANSION_CASE_EXP_END)if(vn(sr,bt.TokenType.EXPANSION_CASE_EXP_START)){if(sr.pop(),sr.length==0)return _t}else return this._errors.push(Ze.create(null,ot.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===bt.TokenType.EXPANSION_FORM_END)if(vn(sr,bt.TokenType.EXPANSION_FORM_START))sr.pop();else return this._errors.push(Ze.create(null,ot.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===bt.TokenType.EOF)return this._errors.push(Ze.create(null,ot.sourceSpan,"Invalid ICU message. Missing '}'.")),null;_t.push(this._advance())}}_getText(ot){let _t=ot.parts[0];if(_t.length>0&&_t[0]==`
249
+ `){let sr=this._getParentElement();sr!=null&&sr.children.length==0&&this.getTagDefinition(sr.name).ignoreFirstLf&&(_t=_t.substring(1))}return _t}_consumeText(ot){let _t=this._getText(ot);_t.length>0&&this._addToParent(new Dt.Text(_t,ot.sourceSpan))}_closeVoidElement(){let ot=this._getParentElement();ot&&this.getTagDefinition(ot.name).isVoid&&this._elementStack.pop()}_consumeStartTag(ot){let _t=ot.parts[0],sr=ot.parts[1],Ur=[];for(;this._peek.type===bt.TokenType.ATTR_NAME;)Ur.push(this._consumeAttr(this._advance()));let Er=this._getElementFullName(_t,sr,this._getParentElement()),Rr=!1;if(this._peek.type===bt.TokenType.TAG_OPEN_END_VOID){this._advance(),Rr=!0;let In=this.getTagDefinition(Er);this.canSelfClose||In.canSelfClose||zt.getNsPrefix(Er)!==null||In.isVoid||this._errors.push(Ze.create(Er,ot.sourceSpan,`Only void and foreign elements can be self closed "${ot.parts[1]}"`))}else this._peek.type===bt.TokenType.TAG_OPEN_END&&(this._advance(),Rr=!1);let Un=this._peek.sourceSpan.start,tn=new Oe.ParseSourceSpan(ot.sourceSpan.start,Un),Hr=new Oe.ParseSourceSpan(ot.sourceSpan.start.moveBy(1),ot.sourceSpan.end),pi=new Dt.Element(Er,Ur,[],tn,tn,void 0,Hr);this._pushElement(pi),Rr&&(this._popElement(Er),pi.endSourceSpan=tn)}_pushElement(ot){let _t=this._getParentElement();_t&&this.getTagDefinition(_t.name).isClosedByChild(ot.name)&&this._elementStack.pop(),this._addToParent(ot),this._elementStack.push(ot)}_consumeEndTag(ot){let _t=this.allowHtmComponentClosingTags&&ot.parts.length===0?null:this._getElementFullName(ot.parts[0],ot.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=ot.sourceSpan),_t&&this.getTagDefinition(_t).isVoid)this._errors.push(Ze.create(_t,ot.sourceSpan,`Void elements do not have end tags "${ot.parts[1]}"`));else if(!this._popElement(_t)){let sr=`Unexpected closing tag "${_t}". 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(Ze.create(_t,ot.sourceSpan,sr))}}_popElement(ot){for(let _t=this._elementStack.length-1;_t>=0;_t--){let sr=this._elementStack[_t];if(!ot||(zt.getNsPrefix(sr.name)?sr.name==ot:sr.name.toLowerCase()==ot.toLowerCase()))return this._elementStack.splice(_t,this._elementStack.length-_t),!0;if(!this.getTagDefinition(sr.name).closedByParent)return!1}return!1}_consumeAttr(ot){let _t=zt.mergeNsAndName(ot.parts[0],ot.parts[1]),sr=ot.sourceSpan.end,Ur="",Er,Rr;if(this._peek.type===bt.TokenType.ATTR_QUOTE&&(Rr=this._advance().sourceSpan.start),this._peek.type===bt.TokenType.ATTR_VALUE){let Un=this._advance();Ur=Un.parts[0],sr=Un.sourceSpan.end,Er=Un.sourceSpan}return this._peek.type===bt.TokenType.ATTR_QUOTE&&(sr=this._advance().sourceSpan.end,Er=new Oe.ParseSourceSpan(Rr,sr)),new Dt.Attribute(_t,Ur,new Oe.ParseSourceSpan(ot.sourceSpan.start,sr),Er,ot.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let ot=null;for(let _t=this._elementStack.length-1;_t>=0;_t--){if(!zt.isNgContainer(this._elementStack[_t].name))return{parent:this._elementStack[_t],container:ot};ot=this._elementStack[_t]}return{parent:null,container:ot}}_addToParent(ot){let _t=this._getParentElement();_t!=null?_t.children.push(ot):this._rootNodes.push(ot)}_insertBeforeContainer(ot,_t,sr){if(!_t)this._addToParent(sr),this._elementStack.push(sr);else{if(ot){let Ur=ot.children.indexOf(_t);ot.children[Ur]=sr}else this._rootNodes.push(sr);sr.children.push(_t),this._elementStack.splice(this._elementStack.indexOf(_t),0,sr)}}_getElementFullName(ot,_t,sr){return ot===""&&(ot=this.getTagDefinition(_t).implicitNamespacePrefix||"",ot===""&&sr!=null&&(ot=zt.getNsPrefix(sr.name))),zt.mergeNsAndName(ot,_t)}};function vn(ot,_t){return ot.length>0&&ot[ot.length-1]===_t}}}),Yn=Pt({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=fu(),Dt=ri(),bt=ri();ce.ParseTreeResult=bt.ParseTreeResult,ce.TreeError=bt.TreeError;var zt=class extends Dt.Parser{constructor(){super(Oe.getHtmlTagDefinition)}parse(Ze,mt,ur){let It=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,vn=arguments.length>4?arguments[4]:void 0;return super.parse(Ze,mt,ur,It,vn)}};ce.HtmlParser=zt}}),ai=Pt({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(ce){mn(),Object.defineProperty(ce,"__esModule",{value:!0});var Oe=Yn(),Dt=Ga();ce.TagContentType=Dt.TagContentType;var bt=null,zt=()=>(bt||(bt=new Oe.HtmlParser),bt);function Ze(mt){let ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:It=!1,allowHtmComponentClosingTags:vn=!1,isTagNameCaseSensitive:ot=!1,getTagContentType:_t}=ur;return zt().parse(mt,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:It,allowHtmComponentClosingTags:vn},ot,_t)}ce.parse=Ze}});mn();var{ParseSourceSpan:yi,ParseLocation:Ki,ParseSourceFile:Ci}=di(),Mn=ms(),ji=ws(),rs=Mi(),{inferParserByLanguage:wi}=Qu(),Zi=Wa(),js=oo(),Hi=xa(),{hasPragma:Wi}=Va(),{Node:st}=Uo(),{parseIeConditionalComment:Ms}=eu(),{locStart:ra,locEnd:Os}=tu();function So(ce,Oe,Dt){let{recognizeSelfClosing:bt,normalizeTagName:zt,normalizeAttributeName:Ze,allowHtmComponentClosingTags:mt,isTagNameCaseSensitive:ur,getTagContentType:It}=Oe,vn=ai(),{RecursiveVisitor:ot,visitAll:_t}=fn(),{ParseSourceSpan:sr}=di(),{getHtmlTagDefinition:Ur}=fu(),{rootNodes:Er,errors:Rr}=vn.parse(ce,{canSelfClose:bt,allowHtmComponentClosingTags:mt,isTagNameCaseSensitive:ur,getTagContentType:It});if(Dt.parser==="vue")if(Er.some(Zr=>Zr.type==="docType"&&Zr.value==="html"||Zr.type==="element"&&Zr.name.toLowerCase()==="html")){bt=!0,zt=!0,Ze=!0,mt=!0,ur=!1;let Zr=vn.parse(ce,{canSelfClose:bt,allowHtmComponentClosingTags:mt,isTagNameCaseSensitive:ur});Er=Zr.rootNodes,Rr=Zr.errors}else{let Zr=Si=>{if(!Si||Si.type!=="element"||Si.name!=="template")return!1;let Ai=Si.attrs.find(cs=>cs.name==="lang"),qi=Ai&&Ai.value;return!qi||wi(qi,Dt)==="html"};if(Er.some(Zr)){let Si,Ai=()=>vn.parse(ce,{canSelfClose:bt,allowHtmComponentClosingTags:mt,isTagNameCaseSensitive:ur}),qi=()=>Si||(Si=Ai()),cs=We=>qi().rootNodes.find(pt=>{let{startSourceSpan:Br}=pt;return Br&&Br.start.offset===We.startSourceSpan.start.offset});for(let We=0;We<Er.length;We++){let pt=Er[We],{endSourceSpan:Br,startSourceSpan:nr}=pt;if(Br===null)Rr=qi().errors,Er[We]=cs(pt)||pt;else if(Zr(pt)){let gn=qi(),Ri=nr.end.offset,Ji=Br.start.offset;for(let Js of gn.errors){let{offset:Ns}=Js.span.start;if(Ri<Ns&&Ns<Ji){Rr=[Js];break}}Er[We]=cs(pt)||pt}}}}if(Rr.length>0){let{msg:Zr,span:{start:Si,end:Ai}}=Rr[0];throw rs(Zr,{start:{line:Si.line+1,column:Si.col+1},end:{line:Ai.line+1,column:Ai.col+1}})}let Un=Zr=>{let Si=Zr.name.startsWith(":")?Zr.name.slice(1).split(":")[0]:null,Ai=Zr.nameSpan.toString(),qi=Si!==null&&Ai.startsWith(`${Si}:`),cs=qi?Ai.slice(Si.length+1):Ai;Zr.name=cs,Zr.namespace=Si,Zr.hasExplicitNamespace=qi},tn=Zr=>{switch(Zr.type){case"element":Un(Zr);for(let Si of Zr.attrs)Un(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":Zr.value=Zr.sourceSpan.toString().slice(4,-3);break;case"text":Zr.value=Zr.sourceSpan.toString();break}},Hr=(Zr,Si)=>{let Ai=Zr.toLowerCase();return Si(Ai)?Ai:Zr},pi=Zr=>{if(Zr.type==="element"&&(zt&&(!Zr.namespace||Zr.namespace===Zr.tagDefinition.implicitNamespacePrefix||Hi(Zr))&&(Zr.name=Hr(Zr.name,Si=>Si in Zi)),Ze)){let Si=js[Zr.name]||Object.create(null);for(let Ai of Zr.attrs)Ai.namespace||(Ai.name=Hr(Ai.name,qi=>Zr.name in js&&(qi in js["*"]||qi in Si)))}},In=Zr=>{Zr.sourceSpan&&Zr.endSourceSpan&&(Zr.sourceSpan=new sr(Zr.sourceSpan.start,Zr.endSourceSpan.end))},Cs=Zr=>{if(Zr.type==="element"){let Si=Ur(ur?Zr.name:Zr.name.toLowerCase());!Zr.namespace||Zr.namespace===Si.implicitNamespacePrefix||Hi(Zr)?Zr.tagDefinition=Si:Zr.tagDefinition=Ur("")}};return _t(new class extends ot{visit(Zr){tn(Zr),Cs(Zr),pi(Zr),In(Zr)}},Er),Er}function Ps(ce,Oe,Dt){let bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:zt,content:Ze}=bt?Mn(ce):{frontMatter:null,content:ce},mt=new Ci(ce,Oe.filepath),ur=new Ki(mt,0,0,0),It=ur.moveBy(ce.length),vn={type:"root",sourceSpan:new yi(ur,It),children:So(Ze,Dt,Oe)};if(zt){let sr=new Ki(mt,0,0,0),Ur=sr.moveBy(zt.raw.length);zt.sourceSpan=new yi(sr,Ur),vn.children.unshift(zt)}let ot=new st(vn),_t=(sr,Ur)=>{let{offset:Er}=Ur,Rr=ce.slice(0,Er).replace(/[^\n\r]/g," "),Un=Ps(Rr+sr,Oe,Dt,!1);Un.sourceSpan=new yi(Ur,ji(Un.children).sourceSpan.end);let tn=Un.children[0];return tn.length===Er?Un.children.shift():(tn.sourceSpan=new yi(tn.sourceSpan.start.moveBy(Er),tn.sourceSpan.end),tn.value=tn.value.slice(Er)),Un};return ot.walk(sr=>{if(sr.type==="comment"){let Ur=Ms(sr,_t);Ur&&sr.parent.replaceChild(sr,Ur)}}),ot}function Gi(){let{name:ce,recognizeSelfClosing:Oe=!1,normalizeTagName:Dt=!1,normalizeAttributeName:bt=!1,allowHtmComponentClosingTags:zt=!1,isTagNameCaseSensitive:Ze=!1,getTagContentType:mt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(ur,It,vn)=>Ps(ur,Object.assign({parser:ce},vn),{recognizeSelfClosing:Oe,normalizeTagName:Dt,normalizeAttributeName:bt,allowHtmComponentClosingTags:zt,isTagNameCaseSensitive:Ze,getTagContentType:mt}),hasPragma:Wi,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,Dt,bt)=>{if(ce.toLowerCase()!=="html"&&!Dt&&(ce!=="template"||bt.some(zt=>{let{name:Ze,value:mt}=zt;return Ze==="lang"&&mt!=="html"&&mt!==""&&mt!==void 0})))return ai().TagContentType.RAW_TEXT}}),lwc:Gi({name:"lwc"})}}});return Sr()})})(_m);const av=zp(_m.exports);var Im={exports:{}};(function(i,h){(function(c){i.exports=c()})(function(){var c=(hr,Nt)=>()=>(Nt||hr((Nt={exports:{}}).exports,Nt),Nt.exports),g=c((hr,Nt)=>{var Me=function(St){return St&&St.Math==Math&&St};Nt.exports=Me(typeof globalThis=="object"&&globalThis)||Me(typeof window=="object"&&window)||Me(typeof self=="object"&&self)||Me(typeof Rl=="object"&&Rl)||function(){return this}()||Function("return this")()}),x=c((hr,Nt)=>{Nt.exports=function(Me){try{return!!Me()}catch{return!0}}}),S=c((hr,Nt)=>{var Me=x();Nt.exports=!Me(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),q=c((hr,Nt)=>{var Me=x();Nt.exports=!Me(function(){var St=function(){}.bind();return typeof St!="function"||St.hasOwnProperty("prototype")})}),se=c((hr,Nt)=>{var Me=q(),St=Function.prototype.call;Nt.exports=Me?St.bind(St):function(){return St.apply(St,arguments)}}),he=c(hr=>{var Nt={}.propertyIsEnumerable,Me=Object.getOwnPropertyDescriptor,St=Me&&!Nt.call({1:2},1);hr.f=St?function(jt){var rr=Me(this,jt);return!!rr&&rr.enumerable}:Nt}),xe=c((hr,Nt)=>{Nt.exports=function(Me,St){return{enumerable:!(Me&1),configurable:!(Me&2),writable:!(Me&4),value:St}}}),Te=c((hr,Nt)=>{var Me=q(),St=Function.prototype,jt=St.bind,rr=St.call,Nr=Me&&jt.bind(rr,rr);Nt.exports=Me?function(Sr){return Sr&&Nr(Sr)}:function(Sr){return Sr&&function(){return rr.apply(Sr,arguments)}}}),Xe=c((hr,Nt)=>{var Me=Te(),St=Me({}.toString),jt=Me("".slice);Nt.exports=function(rr){return jt(St(rr),8,-1)}}),tt=c((hr,Nt)=>{var Me=g(),St=Te(),jt=x(),rr=Xe(),Nr=Me.Object,Sr=St("".split);Nt.exports=jt(function(){return!Nr("z").propertyIsEnumerable(0)})?function(Rt){return rr(Rt)=="String"?Sr(Rt,""):Nr(Rt)}:Nr}),xt=c((hr,Nt)=>{var Me=g(),St=Me.TypeError;Nt.exports=function(jt){if(jt==null)throw St("Can't call method on "+jt);return jt}}),Ht=c((hr,Nt)=>{var Me=tt(),St=xt();Nt.exports=function(jt){return Me(St(jt))}}),$t=c((hr,Nt)=>{Nt.exports=function(Me){return typeof Me=="function"}}),Lr=c((hr,Nt)=>{var Me=$t();Nt.exports=function(St){return typeof St=="object"?St!==null:Me(St)}}),ht=c((hr,Nt)=>{var Me=g(),St=$t(),jt=function(rr){return St(rr)?rr:void 0};Nt.exports=function(rr,Nr){return arguments.length<2?jt(Me[rr]):Me[rr]&&Me[rr][Nr]}}),kt=c((hr,Nt)=>{var Me=Te();Nt.exports=Me({}.isPrototypeOf)}),Mt=c((hr,Nt)=>{var Me=ht();Nt.exports=Me("navigator","userAgent")||""}),mr=c((hr,Nt)=>{var Me=g(),St=Mt(),jt=Me.process,rr=Me.Deno,Nr=jt&&jt.versions||rr&&rr.version,Sr=Nr&&Nr.v8,Rt,_e;Sr&&(Rt=Sr.split("."),_e=Rt[0]>0&&Rt[0]<4?1:+(Rt[0]+Rt[1])),!_e&&St&&(Rt=St.match(/Edge\/(\d+)/),(!Rt||Rt[1]>=74)&&(Rt=St.match(/Chrome\/(\d+)/),Rt&&(_e=+Rt[1]))),Nt.exports=_e}),Xr=c((hr,Nt)=>{var Me=mr(),St=x();Nt.exports=!!Object.getOwnPropertySymbols&&!St(function(){var jt=Symbol();return!String(jt)||!(Object(jt)instanceof Symbol)||!Symbol.sham&&Me&&Me<41})}),zn=c((hr,Nt)=>{var Me=Xr();Nt.exports=Me&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),dn=c((hr,Nt)=>{var Me=g(),St=ht(),jt=$t(),rr=kt(),Nr=zn(),Sr=Me.Object;Nt.exports=Nr?function(Rt){return typeof Rt=="symbol"}:function(Rt){var _e=St("Symbol");return jt(_e)&&rr(_e.prototype,Sr(Rt))}}),Pn=c((hr,Nt)=>{var Me=g(),St=Me.String;Nt.exports=function(jt){try{return St(jt)}catch{return"Object"}}}),Jn=c((hr,Nt)=>{var Me=g(),St=$t(),jt=Pn(),rr=Me.TypeError;Nt.exports=function(Nr){if(St(Nr))return Nr;throw rr(jt(Nr)+" is not a function")}}),En=c((hr,Nt)=>{var Me=Jn();Nt.exports=function(St,jt){var rr=St[jt];return rr==null?void 0:Me(rr)}}),Sn=c((hr,Nt)=>{var Me=g(),St=se(),jt=$t(),rr=Lr(),Nr=Me.TypeError;Nt.exports=function(Sr,Rt){var _e,ue;if(Rt==="string"&&jt(_e=Sr.toString)&&!rr(ue=St(_e,Sr))||jt(_e=Sr.valueOf)&&!rr(ue=St(_e,Sr))||Rt!=="string"&&jt(_e=Sr.toString)&&!rr(ue=St(_e,Sr)))return ue;throw Nr("Can't convert object to primitive value")}}),oi=c((hr,Nt)=>{Nt.exports=!1}),pr=c((hr,Nt)=>{var Me=g(),St=Object.defineProperty;Nt.exports=function(jt,rr){try{St(Me,jt,{value:rr,configurable:!0,writable:!0})}catch{Me[jt]=rr}return rr}}),bn=c((hr,Nt)=>{var Me=g(),St=pr(),jt="__core-js_shared__",rr=Me[jt]||St(jt,{});Nt.exports=rr}),Ce=c((hr,Nt)=>{var Me=oi(),St=bn();(Nt.exports=function(jt,rr){return St[jt]||(St[jt]=rr!==void 0?rr:{})})("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"})}),en=c((hr,Nt)=>{var Me=g(),St=xt(),jt=Me.Object;Nt.exports=function(rr){return jt(St(rr))}}),or=c((hr,Nt)=>{var Me=Te(),St=en(),jt=Me({}.hasOwnProperty);Nt.exports=Object.hasOwn||function(rr,Nr){return jt(St(rr),Nr)}}),Tn=c((hr,Nt)=>{var Me=Te(),St=0,jt=Math.random(),rr=Me(1 .toString);Nt.exports=function(Nr){return"Symbol("+(Nr===void 0?"":Nr)+")_"+rr(++St+jt,36)}}),ei=c((hr,Nt)=>{var Me=g(),St=Ce(),jt=or(),rr=Tn(),Nr=Xr(),Sr=zn(),Rt=St("wks"),_e=Me.Symbol,ue=_e&&_e.for,re=Sr?_e:_e&&_e.withoutSetter||rr;Nt.exports=function(De){if(!jt(Rt,De)||!(Nr||typeof Rt[De]=="string")){var Fe="Symbol."+De;Nr&&jt(_e,De)?Rt[De]=_e[De]:Sr&&ue?Rt[De]=ue(Fe):Rt[De]=re(Fe)}return Rt[De]}}),Vi=c((hr,Nt)=>{var Me=g(),St=se(),jt=Lr(),rr=dn(),Nr=En(),Sr=Sn(),Rt=ei(),_e=Me.TypeError,ue=Rt("toPrimitive");Nt.exports=function(re,De){if(!jt(re)||rr(re))return re;var Fe=Nr(re,ue),Re;if(Fe){if(De===void 0&&(De="default"),Re=St(Fe,re,De),!jt(Re)||rr(Re))return Re;throw _e("Can't convert object to primitive value")}return De===void 0&&(De="number"),Sr(re,De)}}),as=c((hr,Nt)=>{var Me=Vi(),St=dn();Nt.exports=function(jt){var rr=Me(jt,"string");return St(rr)?rr:rr+""}}),fs=c((hr,Nt)=>{var Me=g(),St=Lr(),jt=Me.document,rr=St(jt)&&St(jt.createElement);Nt.exports=function(Nr){return rr?jt.createElement(Nr):{}}}),es=c((hr,Nt)=>{var Me=S(),St=x(),jt=fs();Nt.exports=!Me&&!St(function(){return Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a!=7})}),ts=c(hr=>{var Nt=S(),Me=se(),St=he(),jt=xe(),rr=Ht(),Nr=as(),Sr=or(),Rt=es(),_e=Object.getOwnPropertyDescriptor;hr.f=Nt?_e:function(ue,re){if(ue=rr(ue),re=Nr(re),Rt)try{return _e(ue,re)}catch{}if(Sr(ue,re))return jt(!Me(St.f,ue,re),ue[re])}}),Ir=c((hr,Nt)=>{var Me=S(),St=x();Nt.exports=Me&&St(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),jr=c((hr,Nt)=>{var Me=g(),St=Lr(),jt=Me.String,rr=Me.TypeError;Nt.exports=function(Nr){if(St(Nr))return Nr;throw rr(jt(Nr)+" is not an object")}}),gr=c(hr=>{var Nt=g(),Me=S(),St=es(),jt=Ir(),rr=jr(),Nr=as(),Sr=Nt.TypeError,Rt=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,ue="enumerable",re="configurable",De="writable";hr.f=Me?jt?function(Fe,Re,Qe){if(rr(Fe),Re=Nr(Re),rr(Qe),typeof Fe=="function"&&Re==="prototype"&&"value"in Qe&&De in Qe&&!Qe[De]){var nt=_e(Fe,Re);nt&&nt[De]&&(Fe[Re]=Qe.value,Qe={configurable:re in Qe?Qe[re]:nt[re],enumerable:ue in Qe?Qe[ue]:nt[ue],writable:!1})}return Rt(Fe,Re,Qe)}:Rt:function(Fe,Re,Qe){if(rr(Fe),Re=Nr(Re),rr(Qe),St)try{return Rt(Fe,Re,Qe)}catch{}if("get"in Qe||"set"in Qe)throw Sr("Accessors not supported");return"value"in Qe&&(Fe[Re]=Qe.value),Fe}}),un=c((hr,Nt)=>{var Me=S(),St=gr(),jt=xe();Nt.exports=Me?function(rr,Nr,Sr){return St.f(rr,Nr,jt(1,Sr))}:function(rr,Nr,Sr){return rr[Nr]=Sr,rr}}),jn=c((hr,Nt)=>{var Me=Te(),St=$t(),jt=bn(),rr=Me(Function.toString);St(jt.inspectSource)||(jt.inspectSource=function(Nr){return rr(Nr)}),Nt.exports=jt.inspectSource}),ci=c((hr,Nt)=>{var Me=g(),St=$t(),jt=jn(),rr=Me.WeakMap;Nt.exports=St(rr)&&/native code/.test(jt(rr))}),On=c((hr,Nt)=>{var Me=Ce(),St=Tn(),jt=Me("keys");Nt.exports=function(rr){return jt[rr]||(jt[rr]=St(rr))}}),Je=c((hr,Nt)=>{Nt.exports={}}),Et=c((hr,Nt)=>{var Me=ci(),St=g(),jt=Te(),rr=Lr(),Nr=un(),Sr=or(),Rt=bn(),_e=On(),ue=Je(),re="Object already initialized",De=St.TypeError,Fe=St.WeakMap,Re,Qe,nt,Tt=function(vr){return nt(vr)?Qe(vr):Re(vr,{})},Qt=function(vr){return function(An){var bi;if(!rr(An)||(bi=Qe(An)).type!==vr)throw De("Incompatible receiver, "+vr+" required");return bi}};Me||Rt.state?(ir=Rt.state||(Rt.state=new Fe),Pt=jt(ir.get),Fr=jt(ir.has),Jr=jt(ir.set),Re=function(vr,An){if(Fr(ir,vr))throw new De(re);return An.facade=vr,Jr(ir,vr,An),An},Qe=function(vr){return Pt(ir,vr)||{}},nt=function(vr){return Fr(ir,vr)}):(Be=_e("state"),ue[Be]=!0,Re=function(vr,An){if(Sr(vr,Be))throw new De(re);return An.facade=vr,Nr(vr,Be,An),An},Qe=function(vr){return Sr(vr,Be)?vr[Be]:{}},nt=function(vr){return Sr(vr,Be)});var ir,Pt,Fr,Jr,Be;Nt.exports={set:Re,get:Qe,has:nt,enforce:Tt,getterFor:Qt}}),Ar=c((hr,Nt)=>{var Me=S(),St=or(),jt=Function.prototype,rr=Me&&Object.getOwnPropertyDescriptor,Nr=St(jt,"name"),Sr=Nr&&function(){}.name==="something",Rt=Nr&&(!Me||Me&&rr(jt,"name").configurable);Nt.exports={EXISTS:Nr,PROPER:Sr,CONFIGURABLE:Rt}}),zr=c((hr,Nt)=>{var Me=g(),St=$t(),jt=or(),rr=un(),Nr=pr(),Sr=jn(),Rt=Et(),_e=Ar().CONFIGURABLE,ue=Rt.get,re=Rt.enforce,De=String(String).split("String");(Nt.exports=function(Fe,Re,Qe,nt){var Tt=nt?!!nt.unsafe:!1,Qt=nt?!!nt.enumerable:!1,ir=nt?!!nt.noTargetGet:!1,Pt=nt&&nt.name!==void 0?nt.name:Re,Fr;if(St(Qe)&&(String(Pt).slice(0,7)==="Symbol("&&(Pt="["+String(Pt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!jt(Qe,"name")||_e&&Qe.name!==Pt)&&rr(Qe,"name",Pt),Fr=re(Qe),Fr.source||(Fr.source=De.join(typeof Pt=="string"?Pt:""))),Fe===Me){Qt?Fe[Re]=Qe:Nr(Re,Qe);return}else Tt?!ir&&Fe[Re]&&(Qt=!0):delete Fe[Re];Qt?Fe[Re]=Qe:rr(Fe,Re,Qe)})(Function.prototype,"toString",function(){return St(this)&&ue(this).source||Sr(this)})}),Tr=c((hr,Nt)=>{var Me=Math.ceil,St=Math.floor;Nt.exports=function(jt){var rr=+jt;return rr!==rr||rr===0?0:(rr>0?St:Me)(rr)}}),rn=c((hr,Nt)=>{var Me=Tr(),St=Math.max,jt=Math.min;Nt.exports=function(rr,Nr){var Sr=Me(rr);return Sr<0?St(Sr+Nr,0):jt(Sr,Nr)}}),Gr=c((hr,Nt)=>{var Me=Tr(),St=Math.min;Nt.exports=function(jt){return jt>0?St(Me(jt),9007199254740991):0}}),ln=c((hr,Nt)=>{var Me=Gr();Nt.exports=function(St){return Me(St.length)}}),Ln=c((hr,Nt)=>{var Me=Ht(),St=rn(),jt=ln(),rr=function(Nr){return function(Sr,Rt,_e){var ue=Me(Sr),re=jt(ue),De=St(_e,re),Fe;if(Nr&&Rt!=Rt){for(;re>De;)if(Fe=ue[De++],Fe!=Fe)return!0}else for(;re>De;De++)if((Nr||De in ue)&&ue[De]===Rt)return Nr||De||0;return!Nr&&-1}};Nt.exports={includes:rr(!0),indexOf:rr(!1)}}),Qr=c((hr,Nt)=>{var Me=Te(),St=or(),jt=Ht(),rr=Ln().indexOf,Nr=Je(),Sr=Me([].push);Nt.exports=function(Rt,_e){var ue=jt(Rt),re=0,De=[],Fe;for(Fe in ue)!St(Nr,Fe)&&St(ue,Fe)&&Sr(De,Fe);for(;_e.length>re;)St(ue,Fe=_e[re++])&&(~rr(De,Fe)||Sr(De,Fe));return De}}),At=c((hr,Nt)=>{Nt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),dr=c(hr=>{var Nt=Qr(),Me=At(),St=Me.concat("length","prototype");hr.f=Object.getOwnPropertyNames||function(jt){return Nt(jt,St)}}),Vt=c(hr=>{hr.f=Object.getOwnPropertySymbols}),qn=c((hr,Nt)=>{var Me=ht(),St=Te(),jt=dr(),rr=Vt(),Nr=jr(),Sr=St([].concat);Nt.exports=Me("Reflect","ownKeys")||function(Rt){var _e=jt.f(Nr(Rt)),ue=rr.f;return ue?Sr(_e,ue(Rt)):_e}}),ki=c((hr,Nt)=>{var Me=or(),St=qn(),jt=ts(),rr=gr();Nt.exports=function(Nr,Sr,Rt){for(var _e=St(Sr),ue=rr.f,re=jt.f,De=0;De<_e.length;De++){var Fe=_e[De];!Me(Nr,Fe)&&!(Rt&&Me(Rt,Fe))&&ue(Nr,Fe,re(Sr,Fe))}}}),ds=c((hr,Nt)=>{var Me=x(),St=$t(),jt=/#|\.prototype\./,rr=function(ue,re){var De=Sr[Nr(ue)];return De==_e?!0:De==Rt?!1:St(re)?Me(re):!!re},Nr=rr.normalize=function(ue){return String(ue).replace(jt,".").toLowerCase()},Sr=rr.data={},Rt=rr.NATIVE="N",_e=rr.POLYFILL="P";Nt.exports=rr}),Qi=c((hr,Nt)=>{var Me=g(),St=ts().f,jt=un(),rr=zr(),Nr=pr(),Sr=ki(),Rt=ds();Nt.exports=function(_e,ue){var re=_e.target,De=_e.global,Fe=_e.stat,Re,Qe,nt,Tt,Qt,ir;if(De?Qe=Me:Fe?Qe=Me[re]||Nr(re,{}):Qe=(Me[re]||{}).prototype,Qe)for(nt in ue){if(Qt=ue[nt],_e.noTargetGet?(ir=St(Qe,nt),Tt=ir&&ir.value):Tt=Qe[nt],Re=Rt(De?nt:re+(Fe?".":"#")+nt,_e.forced),!Re&&Tt!==void 0){if(typeof Qt==typeof Tt)continue;Sr(Qt,Tt)}(_e.sham||Tt&&Tt.sham)&&jt(Qt,"sham",!0),rr(Qe,nt,Qt,_e)}}}),Ds=c(()=>{var hr=Qi(),Nt=g();hr({global:!0},{globalThis:Nt})}),os=c(()=>{Ds()}),ta=c((hr,Nt)=>{var Me=Xe();Nt.exports=Array.isArray||function(St){return Me(St)=="Array"}}),Wn=c((hr,Nt)=>{var Me=Te(),St=Jn(),jt=q(),rr=Me(Me.bind);Nt.exports=function(Nr,Sr){return St(Nr),Sr===void 0?Nr:jt?rr(Nr,Sr):function(){return Nr.apply(Sr,arguments)}}}),xr=c((hr,Nt)=>{var Me=g(),St=ta(),jt=ln(),rr=Wn(),Nr=Me.TypeError,Sr=function(Rt,_e,ue,re,De,Fe,Re,Qe){for(var nt=De,Tt=0,Qt=Re?rr(Re,Qe):!1,ir,Pt;Tt<re;){if(Tt in ue){if(ir=Qt?Qt(ue[Tt],Tt,_e):ue[Tt],Fe>0&&St(ir))Pt=jt(ir),nt=Sr(Rt,_e,ir,Pt,nt,Fe-1)-1;else{if(nt>=9007199254740991)throw Nr("Exceed the acceptable array length");Rt[nt]=ir}nt++}Tt++}return nt};Nt.exports=Sr}),wr=c((hr,Nt)=>{var Me=ei(),St=Me("toStringTag"),jt={};jt[St]="z",Nt.exports=String(jt)==="[object z]"}),Dr=c((hr,Nt)=>{var Me=g(),St=wr(),jt=$t(),rr=Xe(),Nr=ei(),Sr=Nr("toStringTag"),Rt=Me.Object,_e=rr(function(){return arguments}())=="Arguments",ue=function(re,De){try{return re[De]}catch{}};Nt.exports=St?rr:function(re){var De,Fe,Re;return re===void 0?"Undefined":re===null?"Null":typeof(Fe=ue(De=Rt(re),Sr))=="string"?Fe:_e?rr(De):(Re=rr(De))=="Object"&&jt(De.callee)?"Arguments":Re}}),Vr=c((hr,Nt)=>{var Me=Te(),St=x(),jt=$t(),rr=Dr(),Nr=ht(),Sr=jn(),Rt=function(){},_e=[],ue=Nr("Reflect","construct"),re=/^\s*(?:class|function)\b/,De=Me(re.exec),Fe=!re.exec(Rt),Re=function(nt){if(!jt(nt))return!1;try{return ue(Rt,_e,nt),!0}catch{return!1}},Qe=function(nt){if(!jt(nt))return!1;switch(rr(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Fe||!!De(re,Sr(nt))}catch{return!0}};Qe.sham=!0,Nt.exports=!ue||St(function(){var nt;return Re(Re.call)||!Re(Object)||!Re(function(){nt=!0})||nt})?Qe:Re}),Bt=c((hr,Nt)=>{var Me=g(),St=ta(),jt=Vr(),rr=Lr(),Nr=ei(),Sr=Nr("species"),Rt=Me.Array;Nt.exports=function(_e){var ue;return St(_e)&&(ue=_e.constructor,jt(ue)&&(ue===Rt||St(ue.prototype))?ue=void 0:rr(ue)&&(ue=ue[Sr],ue===null&&(ue=void 0))),ue===void 0?Rt:ue}}),Vn=c((hr,Nt)=>{var Me=Bt();Nt.exports=function(St,jt){return new(Me(St))(jt===0?0:jt)}}),Xt=c(()=>{var hr=Qi(),Nt=xr(),Me=Jn(),St=en(),jt=ln(),rr=Vn();hr({target:"Array",proto:!0},{flatMap:function(Nr){var Sr=St(this),Rt=jt(Sr),_e;return Me(Nr),_e=rr(Sr,0),_e.length=Nt(_e,Sr,Sr,Rt,0,1,Nr,arguments.length>1?arguments[1]:void 0),_e}})}),_n=c((hr,Nt)=>{os(),Xt();var Me=Object.defineProperty,St=Object.getOwnPropertyDescriptor,jt=Object.getOwnPropertyNames,rr=Object.prototype.hasOwnProperty,Nr=(ti,fn)=>function(){return ti&&(fn=(0,ti[jt(ti)[0]])(ti=0)),fn},Sr=(ti,fn)=>function(){return fn||(0,ti[jt(ti)[0]])((fn={exports:{}}).exports,fn),fn.exports},Rt=(ti,fn)=>{for(var Cn in fn)Me(ti,Cn,{get:fn[Cn],enumerable:!0})},_e=(ti,fn,Cn,sn)=>{if(fn&&typeof fn=="object"||typeof fn=="function")for(let an of jt(fn))!rr.call(ti,an)&&an!==Cn&&Me(ti,an,{get:()=>fn[an],enumerable:!(sn=St(fn,an))||sn.enumerable});return ti},ue=ti=>_e(Me({},"__esModule",{value:!0}),ti),re=Nr({"<define:process>"(){}}),De=Sr({"src/utils/try-combinations.js"(ti,fn){re();function Cn(){let sn;for(var an=arguments.length,ri=new Array(an),Yn=0;Yn<an;Yn++)ri[Yn]=arguments[Yn];for(let[ai,yi]of ri.entries())try{return{result:yi()}}catch(Ki){ai===0&&(sn=Ki)}return{error:sn}}fn.exports=Cn}}),Fe=Sr({"src/language-js/utils/get-shebang.js"(ti,fn){re();function Cn(sn){if(!sn.startsWith("#!"))return"";let an=sn.indexOf(`
250
+ `);return an===-1?sn:sn.slice(0,an)}fn.exports=Cn}}),Re=Sr({"src/utils/text/skip-inline-comment.js"(ti,fn){re();function Cn(sn,an){if(an===!1)return!1;if(sn.charAt(an)==="/"&&sn.charAt(an+1)==="*"){for(let ri=an+2;ri<sn.length;++ri)if(sn.charAt(ri)==="*"&&sn.charAt(ri+1)==="/")return ri+2}return an}fn.exports=Cn}}),Qe=Sr({"src/utils/text/skip-newline.js"(ti,fn){re();function Cn(sn,an,ri){let Yn=ri&&ri.backwards;if(an===!1)return!1;let ai=sn.charAt(an);if(Yn){if(sn.charAt(an-1)==="\r"&&ai===`
251
+ `)return an-2;if(ai===`
252
+ `||ai==="\r"||ai==="\u2028"||ai==="\u2029")return an-1}else{if(ai==="\r"&&sn.charAt(an+1)===`
253
+ `)return an+2;if(ai===`
254
+ `||ai==="\r"||ai==="\u2028"||ai==="\u2029")return an+1}return an}fn.exports=Cn}}),nt=Sr({"src/utils/text/skip.js"(ti,fn){re();function Cn(ai){return(yi,Ki,Ci)=>{let Mn=Ci&&Ci.backwards;if(Ki===!1)return!1;let{length:ji}=yi,rs=Ki;for(;rs>=0&&rs<ji;){let wi=yi.charAt(rs);if(ai instanceof RegExp){if(!ai.test(wi))return rs}else if(!ai.includes(wi))return rs;Mn?rs--:rs++}return rs===-1||rs===ji?rs:!1}}var sn=Cn(/\s/),an=Cn(" "),ri=Cn(",; "),Yn=Cn(/[^\n\r]/);fn.exports={skipWhitespace:sn,skipSpaces:an,skipToLineEnd:ri,skipEverythingButNewLine:Yn}}}),Tt=Sr({"src/utils/text/skip-trailing-comment.js"(ti,fn){re();var{skipEverythingButNewLine:Cn}=nt();function sn(an,ri){return ri===!1?!1:an.charAt(ri)==="/"&&an.charAt(ri+1)==="/"?Cn(an,ri):ri}fn.exports=sn}}),Qt=Sr({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ti,fn){re();var Cn=Re(),sn=Qe(),an=Tt(),{skipSpaces:ri}=nt();function Yn(ai,yi){let Ki=null,Ci=yi;for(;Ci!==Ki;)Ki=Ci,Ci=ri(ai,Ci),Ci=Cn(ai,Ci),Ci=an(ai,Ci),Ci=sn(ai,Ci);return Ci}fn.exports=Yn}}),ir={};Rt(ir,{EOL:()=>Mi,arch:()=>it,cpus:()=>bi,default:()=>is,endianness:()=>Pt,freemem:()=>vr,getNetworkInterfaces:()=>Fs,hostname:()=>Fr,loadavg:()=>Jr,networkInterfaces:()=>ns,platform:()=>cn,release:()=>mn,tmpDir:()=>di,tmpdir:()=>ws,totalmem:()=>An,type:()=>ui,uptime:()=>Be});function Pt(){if(typeof ms>"u"){var ti=new ArrayBuffer(2),fn=new Uint8Array(ti),Cn=new Uint16Array(ti);if(fn[0]=1,fn[1]=2,Cn[0]===258)ms="BE";else if(Cn[0]===513)ms="LE";else throw new Error("unable to figure out endianess")}return ms}function Fr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Jr(){return[]}function Be(){return 0}function vr(){return Number.MAX_VALUE}function An(){return Number.MAX_VALUE}function bi(){return[]}function ui(){return"Browser"}function mn(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ns(){}function Fs(){}function it(){return"javascript"}function cn(){return"browser"}function di(){return"/tmp"}var ms,ws,Mi,is,ge=Nr({"node-modules-polyfills:os"(){re(),ws=di,Mi=`
255
+ `,is={EOL:Mi,tmpdir:ws,tmpDir:di,networkInterfaces:ns,getNetworkInterfaces:Fs,release:mn,type:ui,cpus:bi,totalmem:An,freemem:vr,uptime:Be,loadavg:Jr,hostname:Fr,endianness:Pt}}}),rt=Sr({"node-modules-polyfills-commonjs:os"(ti,fn){re();var Cn=(ge(),ue(ir));if(Cn&&Cn.default){fn.exports=Cn.default;for(let sn in Cn)fn.exports[sn]=Cn[sn]}else Cn&&(fn.exports=Cn)}}),ft=Sr({"node_modules/detect-newline/index.js"(ti,fn){re();var Cn=sn=>{if(typeof sn!="string")throw new TypeError("Expected a string");let an=sn.match(/(?:\r?\n)/g)||[];if(an.length===0)return;let ri=an.filter(ai=>ai===`\r
256
+ `).length,Yn=an.length-ri;return ri>Yn?`\r
257
+ `:`
258
+ `};fn.exports=Cn,fn.exports.graceful=sn=>typeof sn=="string"&&Cn(sn)||`
259
+ `}}),cr=Sr({"node_modules/jest-docblock/build/index.js"(ti){re(),Object.defineProperty(ti,"__esModule",{value:!0}),ti.extract=rs,ti.parse=Zi,ti.parseWithComments=js,ti.print=Hi,ti.strip=wi;function fn(){let st=rt();return fn=function(){return st},st}function Cn(){let st=sn(ft());return Cn=function(){return st},st}function sn(st){return st&&st.__esModule?st:{default:st}}var an=/\*\/$/,ri=/^\/\*\*?/,Yn=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,ai=/(^|\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,Mn=/(\r?\n|^) *\* ?/g,ji=[];function rs(st){let Ms=st.match(Yn);return Ms?Ms[0].trimLeft():""}function wi(st){let Ms=st.match(Yn);return Ms&&Ms[0]?st.substring(Ms[0].length):st}function Zi(st){return js(st).pragmas}function js(st){let Ms=(0,Cn().default)(st)||fn().EOL;st=st.replace(ri,"").replace(an,"").replace(Mn,"$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(ai,"");typeof Os[Ps[1]]=="string"||Array.isArray(Os[Ps[1]])?Os[Ps[1]]=ji.concat(Os[Ps[1]],Gi):Os[Ps[1]]=Gi}return{comments:So,pragmas:Os}}function Hi(st){let{comments:Ms="",pragmas:ra={}}=st,Os=(0,Cn().default)(Ms)||fn().EOL,So="/**",Ps=" *",Gi=" */",ce=Object.keys(ra),Oe=ce.map(bt=>Wi(bt,ra[bt])).reduce((bt,zt)=>bt.concat(zt),[]).map(bt=>`${Ps} ${bt}${Os}`).join("");if(!Ms){if(ce.length===0)return"";if(ce.length===1&&!Array.isArray(ra[ce[0]])){let bt=ra[ce[0]];return`${So} ${Wi(ce[0],bt)[0]}${Gi}`}}let Dt=Ms.split(Os).map(bt=>`${Ps} ${bt}`).join(Os)+Os;return So+Os+(Ms?Dt:"")+(Ms&&ce.length?Ps+Os:"")+Oe+Gi}function Wi(st,Ms){return ji.concat(Ms).map(ra=>`@${st} ${ra}`.trim())}}}),gi=Sr({"src/common/end-of-line.js"(ti,fn){re();function Cn(Yn){let ai=Yn.indexOf("\r");return ai>=0?Yn.charAt(ai+1)===`
260
+ `?"crlf":"cr":"lf"}function sn(Yn){switch(Yn){case"cr":return"\r";case"crlf":return`\r
261
+ `;default:return`
262
+ `}}function an(Yn,ai){let yi;switch(ai){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(ai)}.`)}let Ki=Yn.match(yi);return Ki?Ki.length:0}function ri(Yn){return Yn.replace(/\r\n?/g,`
265
+ `)}fn.exports={guessEndOfLine:Cn,convertEndOfLineToChars:sn,countEndOfLineChars:an,normalizeEndOfLine:ri}}}),ss=Sr({"src/language-js/pragma.js"(ti,fn){re();var{parseWithComments:Cn,strip:sn,extract:an,print:ri}=cr(),{normalizeEndOfLine:Yn}=gi(),ai=Fe();function yi(Mn){let ji=ai(Mn);ji&&(Mn=Mn.slice(ji.length+1));let rs=an(Mn),{pragmas:wi,comments:Zi}=Cn(rs);return{shebang:ji,text:Mn,pragmas:wi,comments:Zi}}function Ki(Mn){let ji=Object.keys(yi(Mn).pragmas);return ji.includes("prettier")||ji.includes("format")}function Ci(Mn){let{shebang:ji,text:rs,pragmas:wi,comments:Zi}=yi(Mn),js=sn(rs),Hi=ri({pragmas:Object.assign({format:""},wi),comments:Zi.trimStart()});return(ji?`${ji}
266
+ `:"")+Yn(Hi)+(js.startsWith(`
267
+ `)?`
268
+ `:`
269
+
270
+ `)+js}fn.exports={hasPragma:Ki,insertPragma:Ci}}}),us=Sr({"src/utils/is-non-empty-array.js"(ti,fn){re();function Cn(sn){return Array.isArray(sn)&&sn.length>0}fn.exports=Cn}}),xs=Sr({"src/language-js/loc.js"(ti,fn){re();var Cn=us();function sn(yi){var Ki,Ci;let Mn=yi.range?yi.range[0]:yi.start,ji=(Ki=(Ci=yi.declaration)===null||Ci===void 0?void 0:Ci.decorators)!==null&&Ki!==void 0?Ki:yi.decorators;return Cn(ji)?Math.min(sn(ji[0]),Mn):Mn}function an(yi){return yi.range?yi.range[1]:yi.end}function ri(yi,Ki){let Ci=sn(yi);return Number.isInteger(Ci)&&Ci===sn(Ki)}function Yn(yi,Ki){let Ci=an(yi);return Number.isInteger(Ci)&&Ci===an(Ki)}function ai(yi,Ki){return ri(yi,Ki)&&Yn(yi,Ki)}fn.exports={locStart:sn,locEnd:an,hasSameLocStart:ri,hasSameLoc:ai}}}),ks=Sr({"src/language-js/parse/utils/create-parser.js"(ti,fn){re();var{hasPragma:Cn}=ss(),{locStart:sn,locEnd:an}=xs();function ri(Yn){return Yn=typeof Yn=="function"?{parse:Yn}:Yn,Object.assign({astFormat:"estree",hasPragma:Cn,locStart:sn,locEnd:an},Yn)}fn.exports=ri}}),Bi=Sr({"src/common/parser-create-error.js"(ti,fn){re();function Cn(sn,an){let ri=new SyntaxError(sn+" ("+an.start.line+":"+an.start.column+")");return ri.loc=an,ri}fn.exports=Cn}}),Fu=Sr({"src/language-js/parse/utils/create-babel-parse-error.js"(ti,fn){re();var Cn=Bi();function sn(an){let{message:ri,loc:Yn}=an;return Cn(ri.replace(/ \(.*\)/,""),{start:{line:Yn?Yn.line:0,column:Yn?Yn.column+1:0}})}fn.exports=sn}}),uu=Sr({"src/language-js/utils/is-ts-keyword-type.js"(ti,fn){re();function Cn(sn){let{type:an}=sn;return an.startsWith("TS")&&an.endsWith("Keyword")}fn.exports=Cn}}),so=Sr({"src/language-js/utils/is-block-comment.js"(ti,fn){re();var Cn=new Set(["Block","CommentBlock","MultiLine"]),sn=an=>Cn.has(an==null?void 0:an.type);fn.exports=sn}}),Na=Sr({"src/language-js/utils/is-type-cast-comment.js"(ti,fn){re();var Cn=so();function sn(an){return Cn(an)&&an.value[0]==="*"&&/@type\b/.test(an.value)}fn.exports=sn}}),ku=Sr({"src/utils/get-last.js"(ti,fn){re();var Cn=sn=>sn[sn.length-1];fn.exports=Cn}}),xi=Sr({"src/language-js/parse/postprocess/visit-node.js"(ti,fn){re();function Cn(sn,an){if(Array.isArray(sn)){for(let ri=0;ri<sn.length;ri++)sn[ri]=Cn(sn[ri],an);return sn}if(sn&&typeof sn=="object"&&typeof sn.type=="string"){let ri=Object.keys(sn);for(let Yn=0;Yn<ri.length;Yn++)sn[ri[Yn]]=Cn(sn[ri[Yn]],an);return an(sn)||sn}return sn}fn.exports=Cn}}),yo=Sr({"src/language-js/parse/postprocess/throw-syntax-error.js"(ti,fn){re();var Cn=Bi();function sn(an,ri){let{start:Yn,end:ai}=an.loc;throw Cn(ri,{start:{line:Yn.line,column:Yn.column+1},end:{line:ai.line,column:ai.column+1}})}fn.exports=sn}}),lu=Sr({"src/language-js/parse/postprocess/typescript.js"(ti,fn){re();var Cn=us(),sn=xi(),an=yo(),ri={AbstractKeyword:126,SourceFile:308,PropertyDeclaration:169};function Yn(Ci){for(;Ci&&Ci.kind!==ri.SourceFile;)Ci=Ci.parent;return Ci}function ai(Ci){let{illegalDecorators:Mn}=Ci;if(!Cn(Mn))return;let[{expression:ji}]=Mn,rs=Yn(ji),[wi,Zi]=[ji.pos,ji.end].map(js=>{let{line:Hi,character:Wi}=rs.getLineAndCharacterOfPosition(js);return{line:Hi+1,column:Wi}});an({loc:{start:wi,end:Zi}},"Decorators are not valid here.")}function yi(Ci,Mn){Ci.kind!==ri.PropertyDeclaration||Ci.modifiers&&!Ci.modifiers.some(ji=>ji.kind===ri.AbstractKeyword)||Ci.initializer&&Mn.value===null&&an(Mn,"Abstract property cannot have an initializer")}function Ki(Ci,Mn){let{esTreeNodeToTSNodeMap:ji,tsNodeToESTreeNodeMap:rs}=Mn.tsParseResult;sn(Ci,wi=>{let Zi=ji.get(wi);if(!Zi)return;let js=rs.get(Zi);js===wi&&(ai(Zi),yi(Zi,js))})}fn.exports={throwErrorForInvalidNodes:Ki}}}),Pu=Sr({"src/language-js/parse/postprocess/index.js"(ti,fn){re();var{locStart:Cn,locEnd:sn}=xs(),an=uu(),ri=Na(),Yn=ku(),ai=xi(),{throwErrorForInvalidNodes:yi}=lu(),Ki=yo();function Ci(wi,Zi){if(Zi.parser==="typescript"&&/@|abstract/.test(Zi.originalText)&&yi(wi,Zi),Zi.parser!=="typescript"&&Zi.parser!=="flow"&&Zi.parser!=="acorn"&&Zi.parser!=="espree"&&Zi.parser!=="meriyah"){let Hi=new Set;wi=ai(wi,Wi=>{Wi.leadingComments&&Wi.leadingComments.some(ri)&&Hi.add(Cn(Wi))}),wi=ai(wi,Wi=>{if(Wi.type==="ParenthesizedExpression"){let{expression:st}=Wi;if(st.type==="TypeCastExpression")return st.range=Wi.range,st;let Ms=Cn(Wi);if(!Hi.has(Ms))return st.extra=Object.assign(Object.assign({},st.extra),{},{parenthesized:!0}),st}})}return wi=ai(wi,Hi=>{switch(Hi.type){case"ChainExpression":return Mn(Hi.expression);case"LogicalExpression":{if(ji(Hi))return rs(Hi);break}case"VariableDeclaration":{let Wi=Yn(Hi.declarations);Wi&&Wi.init&&js(Hi,Wi);break}case"TSParenthesizedType":return an(Hi.typeAnnotation)||Hi.typeAnnotation.type==="TSThisType"||(Hi.typeAnnotation.range=[Cn(Hi),sn(Hi)]),Hi.typeAnnotation;case"TSTypeParameter":if(typeof Hi.name=="string"){let Wi=Cn(Hi);Hi.name={type:"Identifier",name:Hi.name,range:[Wi,Wi+Hi.name.length]}}break;case"ObjectExpression":if(Zi.parser==="typescript"){let Wi=Hi.properties.find(st=>st.type==="Property"&&st.value.type==="TSEmptyBodyFunctionExpression");Wi&&Ki(Wi.value,"Unexpected token.")}break;case"SequenceExpression":{let Wi=Yn(Hi.expressions);Hi.range=[Cn(Hi),Math.min(sn(Wi),sn(Hi))];break}case"TopicReference":Zi.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:Wi}=Hi;if(Zi.parser==="meriyah"&&Wi&&Wi.type==="Identifier"){let st=Zi.originalText.slice(Cn(Wi),sn(Wi));(st.startsWith('"')||st.startsWith("'"))&&(Hi.exported=Object.assign(Object.assign({},Hi.exported),{},{type:"Literal",value:Hi.exported.name,raw:st}))}break}}}),wi;function js(Hi,Wi){Zi.originalText[sn(Wi)]!==";"&&(Hi.range=[Cn(Hi),sn(Wi)])}}function Mn(wi){switch(wi.type){case"CallExpression":wi.type="OptionalCallExpression",wi.callee=Mn(wi.callee);break;case"MemberExpression":wi.type="OptionalMemberExpression",wi.object=Mn(wi.object);break;case"TSNonNullExpression":wi.expression=Mn(wi.expression);break}return wi}function ji(wi){return wi.type==="LogicalExpression"&&wi.right.type==="LogicalExpression"&&wi.operator===wi.right.operator}function rs(wi){return ji(wi)?rs({type:"LogicalExpression",operator:wi.operator,left:rs({type:"LogicalExpression",operator:wi.operator,left:wi.left,right:wi.right.left,range:[Cn(wi.left),sn(wi.right.left)]}),right:wi.right.right,range:[Cn(wi),sn(wi)]}):wi}fn.exports=Ci}}),zo=Sr({"node_modules/@babel/parser/lib/index.js"(ti){re(),Object.defineProperty(ti,"__esModule",{value:!0});function fn(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 Cn=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}},sn=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 an(s,t){let{line:r,column:a,index:l}=s;return new Cn(r,a+t,l+t)}var ri={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},Yn=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)}}},ai=(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,Yn(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:ri.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:ri.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]},Mn={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."},ji={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.'},Zi=["toMessage"],js=["message"];function Hi(s){let{toMessage:t}=s,r=fn(s,Zi);return function a(l){let{loc:f,details:m}=l;return ai(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 Cn("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 Wi(s,t){if(Array.isArray(s))return a=>Wi(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=fn(f,js),y=typeof m=="string"?()=>m:m;r[a]=Hi(Object.assign({code:ri.SyntaxError,reasonCode:a,toMessage:y},t?{syntaxPlugin:t}:{},d))}return r}var st=Object.assign({},Wi(yi),Wi(Mn),Wi(ji),Wi`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,Dt=!0,bt=!0,zt=!0,Ze=!0,mt=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}},ur=new Map;function It(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.keyword=s;let r=tn(s,t);return ur.set(s,r),r}function vn(s,t){return tn(s,{beforeExpr:ce,binop:t})}var ot=-1,_t=[],sr=[],Ur=[],Er=[],Rr=[],Un=[];function tn(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r,a,l,f;return++ot,sr.push(s),Ur.push((r=t.binop)!=null?r:-1),Er.push((a=t.beforeExpr)!=null?a:!1),Rr.push((l=t.startsExpr)!=null?l:!1),Un.push((f=t.prefix)!=null?f:!1),_t.push(new mt(s,t)),ot}function Hr(s){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r,a,l,f;return++ot,ur.set(s,ot),sr.push(s),Ur.push((r=t.binop)!=null?r:-1),Er.push((a=t.beforeExpr)!=null?a:!1),Rr.push((l=t.startsExpr)!=null?l:!1),Un.push((f=t.prefix)!=null?f:!1),_t.push(new mt("name",t)),ot}var pi={bracketL:tn("[",{beforeExpr:ce,startsExpr:Oe}),bracketHashL:tn("#[",{beforeExpr:ce,startsExpr:Oe}),bracketBarL:tn("[|",{beforeExpr:ce,startsExpr:Oe}),bracketR:tn("]"),bracketBarR:tn("|]"),braceL:tn("{",{beforeExpr:ce,startsExpr:Oe}),braceBarL:tn("{|",{beforeExpr:ce,startsExpr:Oe}),braceHashL:tn("#{",{beforeExpr:ce,startsExpr:Oe}),braceR:tn("}"),braceBarR:tn("|}"),parenL:tn("(",{beforeExpr:ce,startsExpr:Oe}),parenR:tn(")"),comma:tn(",",{beforeExpr:ce}),semi:tn(";",{beforeExpr:ce}),colon:tn(":",{beforeExpr:ce}),doubleColon:tn("::",{beforeExpr:ce}),dot:tn("."),question:tn("?",{beforeExpr:ce}),questionDot:tn("?."),arrow:tn("=>",{beforeExpr:ce}),template:tn("template"),ellipsis:tn("...",{beforeExpr:ce}),backQuote:tn("`",{startsExpr:Oe}),dollarBraceL:tn("${",{beforeExpr:ce,startsExpr:Oe}),templateTail:tn("...`",{startsExpr:Oe}),templateNonTail:tn("...${",{beforeExpr:ce,startsExpr:Oe}),at:tn("@"),hash:tn("#",{startsExpr:Oe}),interpreterDirective:tn("#!..."),eq:tn("=",{beforeExpr:ce,isAssign:bt}),assign:tn("_=",{beforeExpr:ce,isAssign:bt}),slashAssign:tn("_=",{beforeExpr:ce,isAssign:bt}),xorAssign:tn("_=",{beforeExpr:ce,isAssign:bt}),moduloAssign:tn("_=",{beforeExpr:ce,isAssign:bt}),incDec:tn("++/--",{prefix:zt,postfix:Ze,startsExpr:Oe}),bang:tn("!",{beforeExpr:ce,prefix:zt,startsExpr:Oe}),tilde:tn("~",{beforeExpr:ce,prefix:zt,startsExpr:Oe}),doubleCaret:tn("^^",{startsExpr:Oe}),doubleAt:tn("@@",{startsExpr:Oe}),pipeline:vn("|>",0),nullishCoalescing:vn("??",1),logicalOR:vn("||",1),logicalAND:vn("&&",2),bitwiseOR:vn("|",3),bitwiseXOR:vn("^",4),bitwiseAND:vn("&",5),equality:vn("==/!=/===/!==",6),lt:vn("</>/<=/>=",7),gt:vn("</>/<=/>=",7),relational:vn("</>/<=/>=",7),bitShift:vn("<</>>/>>>",8),bitShiftL:vn("<</>>/>>>",8),bitShiftR:vn("<</>>/>>>",8),plusMin:tn("+/-",{beforeExpr:ce,binop:9,prefix:zt,startsExpr:Oe}),modulo:tn("%",{binop:10,startsExpr:Oe}),star:tn("*",{binop:10}),slash:vn("/",10),exponent:tn("**",{beforeExpr:ce,binop:11,rightAssociative:!0}),_in:It("in",{beforeExpr:ce,binop:7}),_instanceof:It("instanceof",{beforeExpr:ce,binop:7}),_break:It("break"),_case:It("case",{beforeExpr:ce}),_catch:It("catch"),_continue:It("continue"),_debugger:It("debugger"),_default:It("default",{beforeExpr:ce}),_else:It("else",{beforeExpr:ce}),_finally:It("finally"),_function:It("function",{startsExpr:Oe}),_if:It("if"),_return:It("return",{beforeExpr:ce}),_switch:It("switch"),_throw:It("throw",{beforeExpr:ce,prefix:zt,startsExpr:Oe}),_try:It("try"),_var:It("var"),_const:It("const"),_with:It("with"),_new:It("new",{beforeExpr:ce,startsExpr:Oe}),_this:It("this",{startsExpr:Oe}),_super:It("super",{startsExpr:Oe}),_class:It("class",{startsExpr:Oe}),_extends:It("extends",{beforeExpr:ce}),_export:It("export"),_import:It("import",{startsExpr:Oe}),_null:It("null",{startsExpr:Oe}),_true:It("true",{startsExpr:Oe}),_false:It("false",{startsExpr:Oe}),_typeof:It("typeof",{beforeExpr:ce,prefix:zt,startsExpr:Oe}),_void:It("void",{beforeExpr:ce,prefix:zt,startsExpr:Oe}),_delete:It("delete",{beforeExpr:ce,prefix:zt,startsExpr:Oe}),_do:It("do",{isLoop:Dt,beforeExpr:ce}),_for:It("for",{isLoop:Dt}),_while:It("while",{isLoop:Dt}),_as:Hr("as",{startsExpr:Oe}),_assert:Hr("assert",{startsExpr:Oe}),_async:Hr("async",{startsExpr:Oe}),_await:Hr("await",{startsExpr:Oe}),_from:Hr("from",{startsExpr:Oe}),_get:Hr("get",{startsExpr:Oe}),_let:Hr("let",{startsExpr:Oe}),_meta:Hr("meta",{startsExpr:Oe}),_of:Hr("of",{startsExpr:Oe}),_sent:Hr("sent",{startsExpr:Oe}),_set:Hr("set",{startsExpr:Oe}),_static:Hr("static",{startsExpr:Oe}),_using:Hr("using",{startsExpr:Oe}),_yield:Hr("yield",{startsExpr:Oe}),_asserts:Hr("asserts",{startsExpr:Oe}),_checks:Hr("checks",{startsExpr:Oe}),_exports:Hr("exports",{startsExpr:Oe}),_global:Hr("global",{startsExpr:Oe}),_implements:Hr("implements",{startsExpr:Oe}),_intrinsic:Hr("intrinsic",{startsExpr:Oe}),_infer:Hr("infer",{startsExpr:Oe}),_is:Hr("is",{startsExpr:Oe}),_mixins:Hr("mixins",{startsExpr:Oe}),_proto:Hr("proto",{startsExpr:Oe}),_require:Hr("require",{startsExpr:Oe}),_satisfies:Hr("satisfies",{startsExpr:Oe}),_keyof:Hr("keyof",{startsExpr:Oe}),_readonly:Hr("readonly",{startsExpr:Oe}),_unique:Hr("unique",{startsExpr:Oe}),_abstract:Hr("abstract",{startsExpr:Oe}),_declare:Hr("declare",{startsExpr:Oe}),_enum:Hr("enum",{startsExpr:Oe}),_module:Hr("module",{startsExpr:Oe}),_namespace:Hr("namespace",{startsExpr:Oe}),_interface:Hr("interface",{startsExpr:Oe}),_type:Hr("type",{startsExpr:Oe}),_opaque:Hr("opaque",{startsExpr:Oe}),name:tn("name",{startsExpr:Oe}),string:tn("string",{startsExpr:Oe}),num:tn("num",{startsExpr:Oe}),bigint:tn("bigint",{startsExpr:Oe}),decimal:tn("decimal",{startsExpr:Oe}),regexp:tn("regexp",{startsExpr:Oe}),privateName:tn("#name",{startsExpr:Oe}),eof:tn("eof"),jsxName:tn("jsxName"),jsxText:tn("jsxText",{beforeExpr:!0}),jsxTagStart:tn("jsxTagStart",{startsExpr:!0}),jsxTagEnd:tn("jsxTagEnd"),placeholder:tn("%%",{startsExpr:!0})};function In(s){return s>=93&&s<=130}function Cs(s){return s<=92}function Zr(s){return s>=58&&s<=130}function Si(s){return s>=58&&s<=134}function Ai(s){return Er[s]}function qi(s){return Rr[s]}function cs(s){return s>=29&&s<=33}function We(s){return s>=127&&s<=129}function pt(s){return s>=90&&s<=92}function Br(s){return s>=58&&s<=92}function nr(s){return s>=39&&s<=59}function gn(s){return s===34}function Ri(s){return Un[s]}function Ji(s){return s>=119&&s<=121}function Js(s){return s>=122&&s<=128}function Ns(s){return sr[s]}function na(s){return Ur[s]}function Ts(s){return s===57}function la(s){return s>=24&&s<=25}function Rs(s){return _t[s]}_t[8].updateContext=s=>{s.pop()},_t[5].updateContext=_t[7].updateContext=_t[23].updateContext=s=>{s.push(Gi.brace)},_t[22].updateContext=s=>{s[s.length-1]===Gi.template?s.pop():s.push(Gi.template)},_t[140].updateContext=s=>{s.push(Gi.j_expr,Gi.j_oTag)};var ca="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Dn="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Hn=new RegExp("["+ca+"]"),hi=new RegExp("["+ca+Dn+"]");ca=Dn=null;var ii=[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],si=[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&&Hn.test(String.fromCharCode(s)):vs(s,ii)}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,ii)||vs(s,si)}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,Ul=Oa|0|Bo|0,nc=0|ka|0|Go,xl=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,Cl=La,Qa=4,ia=2,Ma=1,Io=ia|Ma,Co=ia|Qa,El=Ma|Qa,bl=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 Hl(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&&Hl(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,ql=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 Wl=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 Cn(a,l,0)}curPosition(){return new Cn(this.curLine,this.pos-this.lineStart,this.pos)}clone(s){let t=new Wl,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}},Al=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=wl(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 wl(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:Al(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 Vl=["at"],Uu=["at"];function Hu(s,t,r){return new Cn(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 sn(s.startLoc,s.endLoc)}},Tl=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 Wl,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 sn(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 sn(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:an(s,1)});let y=this.input.charCodeAt(l);if(Eo(y))throw this.raise(st.UnterminatedRegExp,{at:an(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=()=>an(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:an(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:an(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 Cn(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=ur.get(t);r!==void 0?this.finishToken(r,Ns(r)):this.finishToken(130,t)}checkKeywordEscapes(){let{type:s}=this.state;Br(s)&&this.state.containsEsc&&this.raise(st.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Ns(s)})}raise(s,t){let{at:r}=t,a=fn(t,Vl),l=r instanceof Cn?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=fn(t,Uu),l=r instanceof Cn?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}},Gl=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 Sl(){return new cl($a)}function bu(){return new ba}var iu=0,qu=1,eo=2,Fl=4,Oo=8,kl=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()&Fl)>0}get hasIn(){return(this.currentFlags()&Oo)>0}};function Lo(s,t){return(s?eo:0)|(t?qu:0)}var w=class extends Tl{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 ql.lastIndex=this.state.end,ql.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 kl;let d=this.classScope;this.classScope=new Gl(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 sn(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 ve(s)}function ve(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 ye(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 be=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=Wi`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType: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 Zr(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 we=/\*?\s*@((?:no)?flow)\b/,Ge=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=we.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,Cl,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?Ul: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(In(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(Br(this.state.type)){let d=Ns(this.state.type);return this.next(),super.createIdentifier(r,d)}else if(In(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(Zr(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)||In(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(t)}else if(In(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&&!Zr(this.state.type)?(t.imported=C,t.importKind=d,t.local=ve(C)):(t.imported=m,t.importKind=null,t.local=this.parseIdentifier())}else{if(d!==null&&Zr(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=ve(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(!In(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}},Ve={__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=Wi`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 lt(s){return s?s.type==="JSXOpeningFragment"||s.type==="JSXClosingFragment":!1}function Ct(s){if(s.type==="JSXIdentifier")return s.name;if(s.type==="JSXNamespacedName")return s.namespace.name+":"+s.name.name;if(s.type==="JSXMemberExpression")return Ct(s.object)+"."+Ct(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=Ve[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:Br(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()}lt(l)&&!lt(f)&&f!==null?this.raise(Ne.MissingClosingTagFragment,{at:f}):!lt(l)&&lt(f)?this.raise(Ne.MissingClosingTagElement,{at:f,openingTagName:Ct(l.name)}):!lt(l)&&!lt(f)&&Ct(f.name)!==Ct(l.name)&&this.raise(Ne.MissingClosingTagElement,{at:f,openingTagName:Ct(l.name)})}if(lt(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 lt(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)}},hn=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}},Rn=class extends ja{constructor(){super(...arguments),this.importsStack=[]}createScope(s){return this.importsStack.push(new Set),new hn(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)}},$n=(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 on=Wi`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 wn(s){return s==="in"||s==="out"}var Wr=s=>class extends s{getScopeHandler(){return Rn}tsIsIdentifier(){return In(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(!In(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=on.InvalidModifierOnTypeMember}=t,d=(v,C,A,B)=>{C===A&&r[B]&&this.raise(on.InvalidModifiersOrder,{at:v,orderedModifiers:[A,B]})},y=(v,C,A,B)=>{(r[A]&&C===B||r[B]&&C===A)&&this.raise(on.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(on.DuplicateAccessibilityModifier,{at:v,modifier:C}):(d(v,C,C,"override"),d(v,C,C,"static"),d(v,C,C,"readonly"),r.accessibility=C):wn(C)?(r[C]&&this.raise(on.DuplicateModifier,{at:v,modifier:C}),r[C]=!0,d(v,C,"in","out")):(Object.hasOwnProperty.call(r,C)?this.raise(on.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(on.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:on.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:on.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(on.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(on.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(),In(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(on.ReadonlyForMethodSignature,{at:t});let l=a;l.kind&&this.match(47)&&this.raise(on.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(on.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(on.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),d.type==="Identifier"&&d.optional&&this.raise(on.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),d.type==="RestElement"&&this.raise(on.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}l[m]&&this.raise(on.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(on.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(on.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(on.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(In(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(on.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(In(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(),!In(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(on.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(on.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),In(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,nc)):(t.id=null,this.raise(on.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,xl),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(on.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(In(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)||In(this.state.type)))return this.tsParseAbstractDeclaration(t,l);break;case"module":if(this.tsCheckLineTerminator(a)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(t);if(In(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(a)&&In(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(a)&&In(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(on.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(on.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(on.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(on.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(on.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&&qi(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(on.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(on.ImportReflectionHasImportType,{at:t.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(t){if(t.importKind="value",In(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()),In(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(on.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(on.InitializerNotAllowedInAmbientContext,{at:d}):d.type!=="StringLiteral"&&d.type!=="BooleanLiteral"&&d.type!=="NumericLiteral"&&d.type!=="BigIntLiteral"&&(d.type!=="TemplateLiteral"||d.expressions.length>0)&&!yn(d)&&this.raise(on.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:on.InvalidModifierOnTypeParameterPositions});let f=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(r,l)&&this.raise(on.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(on.IndexSignatureHasAbstract,{at:r}),r.accessibility&&this.raise(on.IndexSignatureHasAccessibility,{at:r,modifier:r.accessibility}),r.declare&&this.raise(on.IndexSignatureHasDeclare,{at:r}),r.override&&this.raise(on.IndexSignatureHasOverride,{at:r});return}!this.state.inAbstractClass&&r.abstract&&this.raise(on.NonAbstractClassHasAbstractMethod,{at:r}),r.override&&(a.hadSuperClass||this.raise(on.OverrideNotInSubClass,{at:r})),super.parseClassMemberWithIsStatic(t,r,a,l)}parsePostMemberNameModifiers(t){this.eat(17)&&(t.optional=!0),t.readonly&&this.match(10)&&this.raise(on.ClassMethodHasReadonly,{at:t}),t.declare&&this.match(10)&&this.raise(on.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(on.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let l=In(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(on.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),t.abstract&&this.match(29)){let{key:r}=t;this.raise(on.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(on.PrivateElementHasAbstract,{at:t}),t.accessibility&&this.raise(on.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(on.ConstructorHasTypeParameters,{at:d});let{declare:y=!1,kind:v}=r;y&&(v==="get"||v==="set")&&this.raise(on.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(on.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(on.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(on.UnexpectedTypeCastInParameter,{at:t}):this.raise(on.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 $n({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(on.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(on.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(on.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();Zr(this.state.type)?(y=!0,m=B,d=r?this.parseIdentifier():this.parseModuleExportName(),v=!1):(d=N,v=!1)}else Zr(this.state.type)?(v=!1,d=r?this.parseIdentifier():this.parseModuleExportName()):(y=!0,m=B)}else Zr(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?on.TypeModifierIsUsedInTypeImports:on.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]=ve(t[l])),r&&this.checkIdentifier(t[f],y?po:Xa)}};function yn(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:Or(s.object)}function Or(s){return s.type==="Identifier"?!0:s.type!=="MemberExpression"||s.computed?!1:Or(s.object)}var Is=Wi`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),Xi=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(),In(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 Oi(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 $i(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 Qn=["minimal","fsharp","hack","smart"],Ni=["^^","@@","^","%","#"],vi=["hash","bar"];function Ti(s){if(Oi(s,"decorators")){if(Oi(s,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=$i(s,"decorators","decoratorsBeforeExport");if(t!=null&&typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.");let r=$i(s,"decorators","allowCallParenthesized");if(r!=null&&typeof r!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(Oi(s,"flow")&&Oi(s,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Oi(s,"placeholders")&&Oi(s,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Oi(s,"pipelineOperator")){let t=$i(s,"pipelineOperator","proposal");if(!Qn.includes(t)){let a=Qn.map(l=>`"${l}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${a}.`)}let r=Oi(s,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(Oi(s,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Oi(s,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let a=$i(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(Oi(s,"moduleAttributes")){if(Oi(s,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if($i(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(Oi(s,"recordAndTuple")&&$i(s,"recordAndTuple","syntaxType")!=null&&!vi.includes($i(s,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+vi.map(t=>`'${t}'`).join(", "));if(Oi(s,"asyncDoExpressions")&&!Oi(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:Ge,typescript:Wr,v8intrinsic:Ss,placeholders:Xi},br=Object.keys(Wt),kr={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 Nn(s){let t={};for(let r of Object.keys(kr))t[r]=s&&s[r]!=null?s[r]:kr[r];return t}var Ot=(s,t)=>Object.hasOwnProperty.call(s,t)&&s[t],ni=s=>s.type==="ParenthesizedExpression"?ni(s.expression):s,Xn=class extends be{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=ni(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 Ot({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 Xn{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||In(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(nr(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(Ri(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")?qi(d):qi(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(;gn(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(Sl()),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(In(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(In(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=an(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(an(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(an(r,1));l===null&&(s||this.raise(st.InvalidEscapeSequenceTemplate,{at:an(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,an(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,ve(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,ve(s.key))}else s.value=ve(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(Zr(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()|Fl),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(Zr(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=an(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=an(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=an(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=an(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 Pl=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",an(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 In(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=pt(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||In(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:Ul,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=In(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:bl:l.kind==="set"?l.static?El: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(In(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(In(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(In(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||In(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=ye(s.local):s.exported||(s.exported=ve(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();In(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 In(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=ve(f))}return this.finishImportSpecifier(s,"ImportSpecifier",l)}isThisParam(s){return s.type==="Identifier"&&s.name==="this"}},hl=class extends Pl{constructor(s,t){s=Nn(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 Nl=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=br.filter(l=>Oi(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}ti.parse=Lc,ti.parseExpression=Mc,ti.tokTypes=Nl}}),cu=Sr({"src/language-js/parse/json.js"(ti,fn){re();var Cn=us(),sn=Bi(),an=ks(),ri=Fu();function Yn(){let Mn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:ji=!0}=Mn;return function(rs){let{parseExpression:wi}=zo(),Zi;try{Zi=wi(rs,{tokens:!0,ranges:!0})}catch(js){throw ri(js)}if(!ji&&Cn(Zi.comments))throw ai(Zi.comments[0],"Comment");return yi(Zi),Zi}}function ai(Mn,ji){let[rs,wi]=[Mn.loc.start,Mn.loc.end].map(Zi=>{let{line:js,column:Hi}=Zi;return{line:js,column:Hi+1}});return sn(`${ji} is not allowed in JSON.`,{start:rs,end:wi})}function yi(Mn){switch(Mn.type){case"ArrayExpression":for(let ji of Mn.elements)ji!==null&&yi(ji);return;case"ObjectExpression":for(let ji of Mn.properties)yi(ji);return;case"ObjectProperty":if(Mn.computed)throw ai(Mn.key,"Computed key");if(Mn.shorthand)throw ai(Mn.key,"Shorthand property");Mn.key.type!=="Identifier"&&yi(Mn.key),yi(Mn.value);return;case"UnaryExpression":{let{operator:ji,argument:rs}=Mn;if(ji!=="+"&&ji!=="-")throw ai(Mn,`Operator '${Mn.operator}'`);if(rs.type==="NumericLiteral"||rs.type==="Identifier"&&(rs.name==="Infinity"||rs.name==="NaN"))return;throw ai(rs,`Operator '${ji}' before '${rs.type}'`)}case"Identifier":if(Mn.name!=="Infinity"&&Mn.name!=="NaN"&&Mn.name!=="undefined")throw ai(Mn,`Identifier '${Mn.name}'`);return;case"TemplateLiteral":if(Cn(Mn.expressions))throw ai(Mn.expressions[0],"'TemplateLiteral' with expression");for(let ji of Mn.quasis)yi(ji);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw ai(Mn,`'${Mn.type}'`)}}var Ki=Yn(),Ci={json:an({parse:Ki,hasPragma(){return!0}}),json5:an(Ki),"json-stringify":an({parse:Yn({allowComments:!1}),astFormat:"estree-json"})};fn.exports=Ci}});re();var Nu=De(),Bu=Fe(),_u=Qt(),Do=ks(),Iu=Fu(),Ou=Pu(),Ha=cu(),vl={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(ti){let fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vl;return Object.assign(Object.assign({},fn),{},{plugins:[...fn.plugins,...ti]})},hu=/@(?:no)?flow\b/;function Qu(ti,fn){if(fn.filepath&&fn.filepath.endsWith(".js.flow"))return!0;let Cn=Bu(ti);Cn&&(ti=ti.slice(Cn.length));let sn=_u(ti,0);return sn!==!1&&(ti=ti.slice(0,sn)),hu.test(ti)}function Zu(ti,fn,Cn){let sn=zo()[ti](fn,Cn),an=sn.errors.find(ri=>!Uo.has(ri.reasonCode));if(an)throw an;return sn}function qa(ti){for(var fn=arguments.length,Cn=new Array(fn>1?fn-1:0),sn=1;sn<fn;sn++)Cn[sn-1]=arguments[sn];return function(an,ri){let Yn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((Yn.parser==="babel"||Yn.parser==="__babel_estree")&&Qu(an,Yn))return Yn.parser="babel-flow",Pi(an,ri,Yn);let ai=Cn;Yn.__babelSourceType==="script"&&(ai=ai.map(Mn=>Object.assign(Object.assign({},Mn),{},{sourceType:"script"}))),/#[[{]/.test(an)&&(ai=ai.map(Mn=>va([pu],Mn)));let yi=/%[A-Z]/.test(an);an.includes("|>")?ai=(yi?[...ao,Sa]:ao).flatMap(Mn=>ai.map(ji=>va([Mn],ji))):yi&&(ai=ai.map(Mn=>va([Sa],Mn)));let{result:Ki,error:Ci}=Nu(...ai.map(Mn=>()=>Zu(ti,an,Mn)));if(!Ki)throw Iu(Ci);return Yn.originalText=an,Ou(Ki,Yn)}}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);Nt.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 _n()})})(Im);const ov=zp(Im.exports);function uv(i,h,c){const g={css:sv,html:av,babel:ov};return Ws(()=>{if(!hs(h))return hs(i)||"/* empty */";try{return iv.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 lv(i,h=!0){return uv(i,h,"css")}const cv={"h-full":""},pv={p:"x4 y2",grid:"~ cols-4 gap-4"},hv=Ui("div",{op80:""}," Presets ",-1),fv={op50:"","ws-pre":""},dv={overflow:"auto"},mv=Ui("div",{op80:""}," Rules ",-1),gv=Ui("span",{op50:""},"dynamic",-1),yv=Ui("br",null,null,-1),Dv=Ui("span",{op50:""},"static",-1),vv=Ui("div",{op80:""}," Variants ",-1),xv=Ui("div",{op80:""}," Shortcuts ",-1),Cv={key:0},Ev=Ui("div",{op80:""}," Config File ",-1),bv=Ui("div",{op80:""}," Version ",-1),Av={op50:"","ws-pre":""},wv={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},Tv=Ui("div",{op80:""}," Included Files ",-1),Sv=Ui("div",{op80:""}," CSS Size ",-1),Fv=Ui("span",{op50:""},"gzipped",-1),kv=Ui("div",{op80:""}," Matched Rules ",-1),Pv=Ui("div",{op80:""}," Layers ",-1),Nv={op50:"","ws-pre":""},Bv=Yu({__name:"Overview",setup(i){const h=Ta(null),c=nv(h,"overview-scrolls");Wh.execute();const g=Ta(!1),x=lv(Ws(()=>{var S;return(S=up.value)==null?void 0:S.css}),g);return(S,q)=>{const se=rv,he=XD,xe=VD,Te=UD;return ma(),go("div",cv,[Gs(xe,{ref_key:"status",ref:h,p0:""},{default:Ol(()=>{var Xe,tt,xt,Ht,$t,Lr,ht,kt,Mt,mr,Xr,zn,dn,Pn,Jn,En,Sn,oi;return[Ui("div",pv,[Ui("div",null,[hv,Ui("div",fv,jo((xt=(tt=(Xe=hs(ro))==null?void 0:Xe.config)==null?void 0:tt.presets)==null?void 0:xt.map(pr=>pr.name).join(`
279
+ `)),1)]),Ui("div",dv,[mv,Vu(" "+jo((Lr=($t=(Ht=hs(ro))==null?void 0:Ht.config)==null?void 0:$t.rulesDynamic)==null?void 0:Lr.length)+" ",1),gv,yv,Vu(" "+jo(Object.keys(((kt=(ht=hs(ro))==null?void 0:ht.config)==null?void 0:kt.rulesStaticMap)||{}).length)+" ",1),Dv]),Ui("div",null,[vv,Vu(" "+jo((Xr=(mr=(Mt=hs(ro))==null?void 0:Mt.config)==null?void 0:mr.variants)==null?void 0:Xr.length),1)]),Ui("div",null,[xv,Vu(" "+jo((zn=hs(ro))==null?void 0:zn.config.shortcuts.length),1)]),(dn=hs(ro))!=null&&dn.configPath?(ma(),go("div",Cv,[Ev,Gs(se,{id:hs(ro).configPath},null,8,["id"])])):bp("",!0),Ui("div",null,[bv,Ui("div",Av,jo((Pn=hs(ro))==null?void 0:Pn.version),1)])]),Ui("div",wv,[Ui("div",null,[Tv,Vu(" "+jo((Jn=hs(ro))==null?void 0:Jn.modules.length),1)]),Ui("div",null,[Sv,Vu(" "+jo(((((En=hs(up))==null?void 0:En.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),Fv]),Ui("div",null,[kv,Vu(" "+jo((Sn=hs(up))==null?void 0:Sn.matched.length),1)]),Ui("div",null,[Pv,Ui("div",Nv,jo((oi=hs(up))==null?void 0:oi.layers.join(`
280
+ `)),1)])]),Gs(he,{border:"t gray-400/20",title:"Output CSS"},{default:Ol(()=>[Ui("label",null,[y0(Ui("input",{"onUpdate:modelValue":q[0]||(q[0]=pr=>g.value=pr),type:"checkbox"},null,512),[[gy,g.value]]),Vu(" Prettify ")])]),_:1})]}),_:1},512),Gs(Te,{"model-value":hs(x),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:tp(hs(c))},null,8,["model-value","style"])])}}}),_v={};function Iv(i,h){const c=Bv;return ma(),Tc(c)}const Ov=Tm(_v,[["render",Iv]]),Lv=()=>Ch(()=>import("./repl-0ed4321d.js"),[]),Mv=()=>Ch(()=>import("./_id_-04a1e846.js"),[]),jv=[{name:"repl",path:"/repl",component:Lv,props:!0},{name:"index",path:"/",component:Ov,props:!0},{name:"module-id",path:"/module/:id",component:Mv,props:!0}];const vc=typeof window<"u";function Rv(i){return i.__esModule||i[Symbol.toStringTag]==="Module"}const qs=Object.assign;function Qp(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,$v=/\/$/,zv=i=>i.replace($v,"");function Zp(i,h,c="/"){let g,x={},S="",q="";const se=h.indexOf("#");let he=h.indexOf("?");return se<he&&se>=0&&(he=-1),he>-1&&(g=h.slice(0,he),S=h.slice(he+1,se>-1?se:h.length),x=i(S)),se>-1&&(g=g||h.slice(0,se),q=h.slice(se,h.length)),g=Wv(g??h,c),{fullPath:g+(S&&"?")+S+q,path:g,query:x,hash:q}}function Uv(i,h){const c=h.query?i(h.query):"";return h.path+(c&&"?")+c+(h.hash||"")}function Xf(i,h){return!h||!i.toLowerCase().startsWith(h.toLowerCase())?i:i.slice(h.length)||"/"}function Hv(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])&&Om(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 Om(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)?Yf(i,h):Xu(h)?Yf(h,i):i===h}function Yf(i,h){return Xu(h)?i.length===h.length&&i.every((c,g)=>c===h[g]):i.length===1&&i[0]===h}function Wv(i,h){if(i.startsWith("/"))return i;if(!i)return h;const c=h.split("/"),g=i.split("/");let x=c.length-1,S,q;for(S=0;S<g.length;S++)if(q=g[S],q!==".")if(q==="..")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 Vv(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),zv(i)}const Gv=/^[^#]+#/;function Kv(i,h){return i.replace(Gv,"#")+h}function Jv(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 Hp=()=>({left:window.pageXOffset,top:window.pageYOffset});function Xv(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=Jv(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 Qf(i,h){return(history.state?history.state.position-h:-1)+i}const Dh=new Map;function Yv(i,h){Dh.set(i,h)}function Qv(i){const h=Dh.get(i);return Dh.delete(i),h}let Zv=()=>location.protocol+"//"+location.host;function Lm(i,h){const{pathname:c,search:g,hash:x}=h,S=i.indexOf("#");if(S>-1){let se=x.includes(i.slice(S))?i.slice(S).length:1,he=x.slice(se);return he[0]!=="/"&&(he="/"+he),Xf(he,"")}return Xf(c,i)+g+x}function e1(i,h,c,g){let x=[],S=[],q=null;const se=({state:tt})=>{const xt=Lm(i,location),Ht=c.value,$t=h.value;let Lr=0;if(tt){if(c.value=xt,h.value=tt,q&&q===Ht){q=null;return}Lr=$t?tt.position-$t.position:0}else g(xt);x.forEach(ht=>{ht(c.value,Ht,{delta:Lr,type:ep.pop,direction:Lr?Lr>0?Vc.forward:Vc.back:Vc.unknown})})};function he(){q=c.value}function xe(tt){x.push(tt);const xt=()=>{const Ht=x.indexOf(tt);Ht>-1&&x.splice(Ht,1)};return S.push(xt),xt}function Te(){const{history:tt}=window;!tt.state||tt.replaceState(qs({},tt.state,{scroll:Hp()}),"")}function Xe(){for(const tt of S)tt();S=[],window.removeEventListener("popstate",se),window.removeEventListener("beforeunload",Te)}return window.addEventListener("popstate",se),window.addEventListener("beforeunload",Te),{pauseListeners:he,listen:xe,destroy:Xe}}function Zf(i,h,c,g=!1,x=!1){return{back:i,current:h,forward:c,replaced:g,position:window.history.length,scroll:x?Hp():null}}function t1(i){const{history:h,location:c}=window,g={value:Lm(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(he,xe,Te){const Xe=i.indexOf("#"),tt=Xe>-1?(c.host&&document.querySelector("base")?i:i.slice(Xe))+he:Zv()+i+he;try{h[Te?"replaceState":"pushState"](xe,"",tt),x.value=xe}catch(xt){console.error(xt),c[Te?"replace":"assign"](tt)}}function q(he,xe){const Te=qs({},h.state,Zf(x.value.back,he,x.value.forward,!0),xe,{position:x.value.position});S(he,Te,!0),g.value=he}function se(he,xe){const Te=qs({},x.value,h.state,{forward:he,scroll:Hp()});S(Te.current,Te,!0);const Xe=qs({},Zf(g.value,he,null),{position:Te.position+1},xe);S(he,Xe,!1),g.value=he}return{location:g,state:x,push:se,replace:q}}function r1(i){i=Vv(i);const h=t1(i),c=e1(i,h.state,h.location,h.replace);function g(S,q=!0){q||c.pauseListeners(),history.go(S)}const x=qs({location:"",base:i,go:g,createHref:Kv.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 n1(i){return i=location.host?i||location.pathname+location.search:"",i.includes("#")||(i+="#"),r1(i)}function i1(i){return typeof i=="string"||i&&typeof i=="object"}function Mm(i){return typeof i=="string"||typeof i=="symbol"}const Xl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},jm=Symbol("");var ed;(function(i){i[i.aborted=4]="aborted",i[i.cancelled=8]="cancelled",i[i.duplicated=16]="duplicated"})(ed||(ed={}));function kc(i,h){return qs(new Error,{type:i,[jm]:!0},h)}function _l(i,h){return i instanceof Error&&jm in i&&(h==null||!!(i.type&h))}const td="[^/]+?",s1={sensitive:!1,strict:!1,start:!0,end:!0},a1=/[.+*?^${}()[\]/\\]/g;function o1(i,h){const c=qs({},s1,h),g=[];let x=c.start?"^":"";const S=[];for(const xe of i){const Te=xe.length?[]:[90];c.strict&&!xe.length&&(x+="/");for(let Xe=0;Xe<xe.length;Xe++){const tt=xe[Xe];let xt=40+(c.sensitive?.25:0);if(tt.type===0)Xe||(x+="/"),x+=tt.value.replace(a1,"\\$&"),xt+=40;else if(tt.type===1){const{value:Ht,repeatable:$t,optional:Lr,regexp:ht}=tt;S.push({name:Ht,repeatable:$t,optional:Lr});const kt=ht||td;if(kt!==td){xt+=10;try{new RegExp(`(${kt})`)}catch(mr){throw new Error(`Invalid custom RegExp for param "${Ht}" (${kt}): `+mr.message)}}let Mt=$t?`((?:${kt})(?:/(?:${kt}))*)`:`(${kt})`;Xe||(Mt=Lr&&xe.length<2?`(?:/${Mt})`:"/"+Mt),Lr&&(Mt+="?"),x+=Mt,xt+=20,Lr&&(xt+=-8),$t&&(xt+=-20),kt===".*"&&(xt+=-50)}Te.push(xt)}g.push(Te)}if(c.strict&&c.end){const xe=g.length-1;g[xe][g[xe].length-1]+=.7000000000000001}c.strict||(x+="/?"),c.end?x+="$":c.strict&&(x+="(?:/|$)");const q=new RegExp(x,c.sensitive?"":"i");function se(xe){const Te=xe.match(q),Xe={};if(!Te)return null;for(let tt=1;tt<Te.length;tt++){const xt=Te[tt]||"",Ht=S[tt-1];Xe[Ht.name]=xt&&Ht.repeatable?xt.split("/"):xt}return Xe}function he(xe){let Te="",Xe=!1;for(const tt of i){(!Xe||!Te.endsWith("/"))&&(Te+="/"),Xe=!1;for(const xt of tt)if(xt.type===0)Te+=xt.value;else if(xt.type===1){const{value:Ht,repeatable:$t,optional:Lr}=xt,ht=Ht in xe?xe[Ht]:"";if(Xu(ht)&&!$t)throw new Error(`Provided param "${Ht}" is an array but it is not repeatable (* or + modifiers)`);const kt=Xu(ht)?ht.join("/"):ht;if(!kt)if(Lr)tt.length<2&&(Te.endsWith("/")?Te=Te.slice(0,-1):Xe=!0);else throw new Error(`Missing required param "${Ht}"`);Te+=kt}}return Te||"/"}return{re:q,score:g,keys:S,parse:se,stringify:he}}function u1(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 l1(i,h){let c=0;const g=i.score,x=h.score;for(;c<g.length&&c<x.length;){const S=u1(g[c],x[c]);if(S)return S;c++}if(Math.abs(x.length-g.length)===1){if(rd(g))return 1;if(rd(x))return-1}return x.length-g.length}function rd(i){const h=i[i.length-1];return i.length>0&&h[h.length-1]<0}const c1={type:0,value:""},p1=/[a-zA-Z0-9_]/;function h1(i){if(!i)return[[]];if(i==="/")return[[c1]];if(!i.startsWith("/"))throw new Error(`Invalid path "${i}"`);function h(xt){throw new Error(`ERR (${c})/"${xe}": ${xt}`)}let c=0,g=c;const x=[];let S;function q(){S&&x.push(S),S=[]}let se=0,he,xe="",Te="";function Xe(){!xe||(c===0?S.push({type:0,value:xe}):c===1||c===2||c===3?(S.length>1&&(he==="*"||he==="+")&&h(`A repeatable param (${xe}) must be alone in its segment. eg: '/:ids+.`),S.push({type:1,value:xe,regexp:Te,repeatable:he==="*"||he==="+",optional:he==="*"||he==="?"})):h("Invalid state to consume buffer"),xe="")}function tt(){xe+=he}for(;se<i.length;){if(he=i[se++],he==="\\"&&c!==2){g=c,c=4;continue}switch(c){case 0:he==="/"?(xe&&Xe(),q()):he===":"?(Xe(),c=1):tt();break;case 4:tt(),c=g;break;case 1:he==="("?c=2:p1.test(he)?tt():(Xe(),c=0,he!=="*"&&he!=="?"&&he!=="+"&&se--);break;case 2:he===")"?Te[Te.length-1]=="\\"?Te=Te.slice(0,-1)+he:c=3:Te+=he;break;case 3:Xe(),c=0,he!=="*"&&he!=="?"&&he!=="+"&&se--,Te="";break;default:h("Unknown state");break}}return c===2&&h(`Unfinished custom RegExp for param "${xe}"`),Xe(),q(),x}function f1(i,h,c){const g=o1(h1(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 d1(i,h){const c=[],g=new Map;h=sd({strict:!1,end:!0,sensitive:!1},h);function x(Te){return g.get(Te)}function S(Te,Xe,tt){const xt=!tt,Ht=m1(Te);Ht.aliasOf=tt&&tt.record;const $t=sd(h,Te),Lr=[Ht];if("alias"in Te){const Mt=typeof Te.alias=="string"?[Te.alias]:Te.alias;for(const mr of Mt)Lr.push(qs({},Ht,{components:tt?tt.record.components:Ht.components,path:mr,aliasOf:tt?tt.record:Ht}))}let ht,kt;for(const Mt of Lr){const{path:mr}=Mt;if(Xe&&mr[0]!=="/"){const Xr=Xe.record.path,zn=Xr[Xr.length-1]==="/"?"":"/";Mt.path=Xe.record.path+(mr&&zn+mr)}if(ht=f1(Mt,Xe,$t),tt?tt.alias.push(ht):(kt=kt||ht,kt!==ht&&kt.alias.push(ht),xt&&Te.name&&!id(ht)&&q(Te.name)),Ht.children){const Xr=Ht.children;for(let zn=0;zn<Xr.length;zn++)S(Xr[zn],ht,tt&&tt.children[zn])}tt=tt||ht,(ht.record.components&&Object.keys(ht.record.components).length||ht.record.name||ht.record.redirect)&&he(ht)}return kt?()=>{q(kt)}:Wc}function q(Te){if(Mm(Te)){const Xe=g.get(Te);Xe&&(g.delete(Te),c.splice(c.indexOf(Xe),1),Xe.children.forEach(q),Xe.alias.forEach(q))}else{const Xe=c.indexOf(Te);Xe>-1&&(c.splice(Xe,1),Te.record.name&&g.delete(Te.record.name),Te.children.forEach(q),Te.alias.forEach(q))}}function se(){return c}function he(Te){let Xe=0;for(;Xe<c.length&&l1(Te,c[Xe])>=0&&(Te.record.path!==c[Xe].record.path||!Rm(Te,c[Xe]));)Xe++;c.splice(Xe,0,Te),Te.record.name&&!id(Te)&&g.set(Te.record.name,Te)}function xe(Te,Xe){let tt,xt={},Ht,$t;if("name"in Te&&Te.name){if(tt=g.get(Te.name),!tt)throw kc(1,{location:Te});$t=tt.record.name,xt=qs(nd(Xe.params,tt.keys.filter(kt=>!kt.optional).map(kt=>kt.name)),Te.params&&nd(Te.params,tt.keys.map(kt=>kt.name))),Ht=tt.stringify(xt)}else if("path"in Te)Ht=Te.path,tt=c.find(kt=>kt.re.test(Ht)),tt&&(xt=tt.parse(Ht),$t=tt.record.name);else{if(tt=Xe.name?g.get(Xe.name):c.find(kt=>kt.re.test(Xe.path)),!tt)throw kc(1,{location:Te,currentLocation:Xe});$t=tt.record.name,xt=qs({},Xe.params,Te.params),Ht=tt.stringify(xt)}const Lr=[];let ht=tt;for(;ht;)Lr.unshift(ht.record),ht=ht.parent;return{name:$t,path:Ht,params:xt,matched:Lr,meta:y1(Lr)}}return i.forEach(Te=>S(Te)),{addRoute:S,resolve:xe,removeRoute:q,getRoutes:se,getRecordMatcher:x}}function nd(i,h){const c={};for(const g of h)g in i&&(c[g]=i[g]);return c}function m1(i){return{path:i.path,redirect:i.redirect,name:i.name,meta:i.meta||{},aliasOf:void 0,beforeEnter:i.beforeEnter,props:g1(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 g1(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 id(i){for(;i;){if(i.record.aliasOf)return!0;i=i.parent}return!1}function y1(i){return i.reduce((h,c)=>qs(h,c.meta),{})}function sd(i,h){const c={};for(const g in i)c[g]=g in h?h[g]:i[g];return c}function Rm(i,h){return h.children.some(c=>c===i||Rm(i,c))}const $m=/#/g,D1=/&/g,v1=/\//g,x1=/=/g,C1=/\?/g,zm=/\+/g,E1=/%5B/g,b1=/%5D/g,Um=/%5E/g,A1=/%60/g,Hm=/%7B/g,w1=/%7C/g,qm=/%7D/g,T1=/%20/g;function Vh(i){return encodeURI(""+i).replace(w1,"|").replace(E1,"[").replace(b1,"]")}function S1(i){return Vh(i).replace(Hm,"{").replace(qm,"}").replace(Um,"^")}function vh(i){return Vh(i).replace(zm,"%2B").replace(T1,"+").replace($m,"%23").replace(D1,"%26").replace(A1,"`").replace(Hm,"{").replace(qm,"}").replace(Um,"^")}function F1(i){return vh(i).replace(x1,"%3D")}function k1(i){return Vh(i).replace($m,"%23").replace(C1,"%3F")}function P1(i){return i==null?"":k1(i).replace(v1,"%2F")}function wp(i){try{return decodeURIComponent(""+i)}catch{}return""+i}function N1(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(zm," "),q=S.indexOf("="),se=wp(q<0?S:S.slice(0,q)),he=q<0?null:wp(S.slice(q+1));if(se in h){let xe=h[se];Xu(xe)||(xe=h[se]=[xe]),xe.push(he)}else h[se]=he}return h}function ad(i){let h="";for(let c in i){const g=i[c];if(c=F1(c),g==null){g!==void 0&&(h+=(h.length?"&":"")+c);continue}(Xu(g)?g.map(S=>S&&vh(S)):[g&&vh(g)]).forEach(S=>{S!==void 0&&(h+=(h.length?"&":"")+c,S!=null&&(h+="="+S))})}return h}function B1(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 _1=Symbol(""),od=Symbol(""),Gh=Symbol(""),Kh=Symbol(""),xh=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((q,se)=>{const he=Xe=>{Xe===!1?se(kc(4,{from:c,to:h})):Xe instanceof Error?se(Xe):i1(Xe)?se(kc(2,{from:h,to:Xe})):(S&&g.enterCallbacks[x]===S&&typeof Xe=="function"&&S.push(Xe),q())},xe=i.call(g&&g.instances[x],h,c,he);let Te=Promise.resolve(xe);i.length<3&&(Te=Te.then(he)),Te.catch(Xe=>se(Xe))})}function eh(i,h,c,g){const x=[];for(const S of i)for(const q in S.components){let se=S.components[q];if(!(h!=="beforeRouteEnter"&&!S.instances[q]))if(I1(se)){const xe=(se.__vccOpts||se)[h];xe&&x.push(Ql(xe,c,g,S,q))}else{let he=se();x.push(()=>he.then(xe=>{if(!xe)return Promise.reject(new Error(`Couldn't resolve component "${q}" at "${S.path}"`));const Te=Rv(xe)?xe.default:xe;S.components[q]=Te;const tt=(Te.__vccOpts||Te)[h];return tt&&Ql(tt,c,g,S,q)()}))}}return x}function I1(i){return typeof i=="object"||"displayName"in i||"props"in i||"__vccOpts"in i}function ud(i){const h=Ll(Gh),c=Ll(Kh),g=Ws(()=>h.resolve(hs(i.to))),x=Ws(()=>{const{matched:he}=g.value,{length:xe}=he,Te=he[xe-1],Xe=c.matched;if(!Te||!Xe.length)return-1;const tt=Xe.findIndex(Fc.bind(null,Te));if(tt>-1)return tt;const xt=ld(he[xe-2]);return xe>1&&ld(Te)===xt&&Xe[Xe.length-1].path!==xt?Xe.findIndex(Fc.bind(null,he[xe-2])):tt}),S=Ws(()=>x.value>-1&&j1(c.params,g.value.params)),q=Ws(()=>x.value>-1&&x.value===c.matched.length-1&&Om(c.params,g.value.params));function se(he={}){return M1(he)?h[hs(i.replace)?"replace":"push"](hs(i.to)).catch(Wc):Promise.resolve()}return{route:g,href:Ws(()=>g.value.href),isActive:S,isExactActive:q,navigate:se}}const O1=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:ud,setup(i,{slots:h}){const c=_c(ud(i)),{options:g}=Ll(Gh),x=Ws(()=>({[cd(i.activeClass,g.linkActiveClass,"router-link-active")]:c.isActive,[cd(i.exactActiveClass,g.linkExactActiveClass,"router-link-exact-active")]:c.isExactActive}));return()=>{const S=h.default&&h.default(c);return i.custom?S:Uh("a",{"aria-current":c.isExactActive?i.ariaCurrentValue:null,href:c.href,onClick:c.navigate,class:x.value},S)}}}),L1=O1;function M1(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 j1(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,q)=>S!==x[q]))return!1}return!0}function ld(i){return i?i.aliasOf?i.aliasOf.path:i.path:""}const cd=(i,h,c)=>i??h??c,R1=Yu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(i,{attrs:h,slots:c}){const g=Ll(xh),x=Ws(()=>i.route||g.value),S=Ll(od,0),q=Ws(()=>{let xe=hs(S);const{matched:Te}=x.value;let Xe;for(;(Xe=Te[xe])&&!Xe.components;)xe++;return xe}),se=Ws(()=>x.value.matched[q.value]);hp(od,Ws(()=>q.value+1)),hp(_1,se),hp(xh,x);const he=Ta();return Ua(()=>[he.value,se.value,i.name],([xe,Te,Xe],[tt,xt,Ht])=>{Te&&(Te.instances[Xe]=xe,xt&&xt!==Te&&xe&&xe===tt&&(Te.leaveGuards.size||(Te.leaveGuards=xt.leaveGuards),Te.updateGuards.size||(Te.updateGuards=xt.updateGuards))),xe&&Te&&(!xt||!Fc(Te,xt)||!tt)&&(Te.enterCallbacks[Xe]||[]).forEach($t=>$t(xe))},{flush:"post"}),()=>{const xe=x.value,Te=i.name,Xe=se.value,tt=Xe&&Xe.components[Te];if(!tt)return pd(c.default,{Component:tt,route:xe});const xt=Xe.props[Te],Ht=xt?xt===!0?xe.params:typeof xt=="function"?xt(xe):xt:null,Lr=Uh(tt,qs({},Ht,h,{onVnodeUnmounted:ht=>{ht.component.isUnmounted&&(Xe.instances[Te]=null)},ref:he}));return pd(c.default,{Component:Lr,route:xe})||Lr}}});function pd(i,h){if(!i)return null;const c=i(h);return c.length===1?c[0]:c}const $1=R1;function z1(i){const h=d1(i.routes,i),c=i.parseQuery||N1,g=i.stringifyQuery||ad,x=i.history,S=Rc(),q=Rc(),se=Rc(),he=zc(Xl);let xe=Xl;vc&&i.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Te=Qp.bind(null,Ir=>""+Ir),Xe=Qp.bind(null,P1),tt=Qp.bind(null,wp);function xt(Ir,jr){let gr,un;return Mm(Ir)?(gr=h.getRecordMatcher(Ir),un=jr):un=Ir,h.addRoute(un,gr)}function Ht(Ir){const jr=h.getRecordMatcher(Ir);jr&&h.removeRoute(jr)}function $t(){return h.getRoutes().map(Ir=>Ir.record)}function Lr(Ir){return!!h.getRecordMatcher(Ir)}function ht(Ir,jr){if(jr=qs({},jr||he.value),typeof Ir=="string"){const Je=Zp(c,Ir,jr.path),Et=h.resolve({path:Je.path},jr),Ar=x.createHref(Je.fullPath);return qs(Je,Et,{params:tt(Et.params),hash:wp(Je.hash),redirectedFrom:void 0,href:Ar})}let gr;if("path"in Ir)gr=qs({},Ir,{path:Zp(c,Ir.path,jr.path).path});else{const Je=qs({},Ir.params);for(const Et in Je)Je[Et]==null&&delete Je[Et];gr=qs({},Ir,{params:Xe(Ir.params)}),jr.params=Xe(jr.params)}const un=h.resolve(gr,jr),jn=Ir.hash||"";un.params=Te(tt(un.params));const ci=Uv(g,qs({},Ir,{hash:S1(jn),path:un.path})),On=x.createHref(ci);return qs({fullPath:ci,hash:jn,query:g===ad?B1(Ir.query):Ir.query||{}},un,{redirectedFrom:void 0,href:On})}function kt(Ir){return typeof Ir=="string"?Zp(c,Ir,he.value.path):qs({},Ir)}function Mt(Ir,jr){if(xe!==Ir)return kc(8,{from:jr,to:Ir})}function mr(Ir){return dn(Ir)}function Xr(Ir){return mr(qs(kt(Ir),{replace:!0}))}function zn(Ir){const jr=Ir.matched[Ir.matched.length-1];if(jr&&jr.redirect){const{redirect:gr}=jr;let un=typeof gr=="function"?gr(Ir):gr;return typeof un=="string"&&(un=un.includes("?")||un.includes("#")?un=kt(un):{path:un},un.params={}),qs({query:Ir.query,hash:Ir.hash,params:"path"in un?{}:Ir.params},un)}}function dn(Ir,jr){const gr=xe=ht(Ir),un=he.value,jn=Ir.state,ci=Ir.force,On=Ir.replace===!0,Je=zn(gr);if(Je)return dn(qs(kt(Je),{state:typeof Je=="object"?qs({},jn,Je.state):jn,force:ci,replace:On}),jr||gr);const Et=gr;Et.redirectedFrom=jr;let Ar;return!ci&&Hv(g,un,gr)&&(Ar=kc(16,{to:Et,from:un}),Vi(un,un,!0,!1)),(Ar?Promise.resolve(Ar):Jn(Et,un)).catch(zr=>_l(zr)?_l(zr,2)?zr:ei(zr):or(zr,Et,un)).then(zr=>{if(zr){if(_l(zr,2))return dn(qs({replace:On},kt(zr.to),{state:typeof zr.to=="object"?qs({},jn,zr.to.state):jn,force:ci}),jr||Et)}else zr=Sn(Et,un,!0,On,jn);return En(Et,un,zr),zr})}function Pn(Ir,jr){const gr=Mt(Ir,jr);return gr?Promise.reject(gr):Promise.resolve()}function Jn(Ir,jr){let gr;const[un,jn,ci]=U1(Ir,jr);gr=eh(un.reverse(),"beforeRouteLeave",Ir,jr);for(const Je of un)Je.leaveGuards.forEach(Et=>{gr.push(Ql(Et,Ir,jr))});const On=Pn.bind(null,Ir,jr);return gr.push(On),Dc(gr).then(()=>{gr=[];for(const Je of S.list())gr.push(Ql(Je,Ir,jr));return gr.push(On),Dc(gr)}).then(()=>{gr=eh(jn,"beforeRouteUpdate",Ir,jr);for(const Je of jn)Je.updateGuards.forEach(Et=>{gr.push(Ql(Et,Ir,jr))});return gr.push(On),Dc(gr)}).then(()=>{gr=[];for(const Je of Ir.matched)if(Je.beforeEnter&&!jr.matched.includes(Je))if(Xu(Je.beforeEnter))for(const Et of Je.beforeEnter)gr.push(Ql(Et,Ir,jr));else gr.push(Ql(Je.beforeEnter,Ir,jr));return gr.push(On),Dc(gr)}).then(()=>(Ir.matched.forEach(Je=>Je.enterCallbacks={}),gr=eh(ci,"beforeRouteEnter",Ir,jr),gr.push(On),Dc(gr))).then(()=>{gr=[];for(const Je of q.list())gr.push(Ql(Je,Ir,jr));return gr.push(On),Dc(gr)}).catch(Je=>_l(Je,8)?Je:Promise.reject(Je))}function En(Ir,jr,gr){for(const un of se.list())un(Ir,jr,gr)}function Sn(Ir,jr,gr,un,jn){const ci=Mt(Ir,jr);if(ci)return ci;const On=jr===Xl,Je=vc?history.state:{};gr&&(un||On?x.replace(Ir.fullPath,qs({scroll:On&&Je&&Je.scroll},jn)):x.push(Ir.fullPath,jn)),he.value=Ir,Vi(Ir,jr,gr,On),ei()}let oi;function pr(){oi||(oi=x.listen((Ir,jr,gr)=>{if(!ts.listening)return;const un=ht(Ir),jn=zn(un);if(jn){dn(qs(jn,{replace:!0}),un).catch(Wc);return}xe=un;const ci=he.value;vc&&Yv(Qf(ci.fullPath,gr.delta),Hp()),Jn(un,ci).catch(On=>_l(On,12)?On:_l(On,2)?(dn(On.to,un).then(Je=>{_l(Je,20)&&!gr.delta&&gr.type===ep.pop&&x.go(-1,!1)}).catch(Wc),Promise.reject()):(gr.delta&&x.go(-gr.delta,!1),or(On,un,ci))).then(On=>{On=On||Sn(un,ci,!1),On&&(gr.delta&&!_l(On,8)?x.go(-gr.delta,!1):gr.type===ep.pop&&_l(On,20)&&x.go(-1,!1)),En(un,ci,On)}).catch(Wc)}))}let bn=Rc(),Ce=Rc(),en;function or(Ir,jr,gr){ei(Ir);const un=Ce.list();return un.length?un.forEach(jn=>jn(Ir,jr,gr)):console.error(Ir),Promise.reject(Ir)}function Tn(){return en&&he.value!==Xl?Promise.resolve():new Promise((Ir,jr)=>{bn.add([Ir,jr])})}function ei(Ir){return en||(en=!Ir,pr(),bn.list().forEach(([jr,gr])=>Ir?gr(Ir):jr()),bn.reset()),Ir}function Vi(Ir,jr,gr,un){const{scrollBehavior:jn}=i;if(!vc||!jn)return Promise.resolve();const ci=!gr&&Qv(Qf(Ir.fullPath,0))||(un||!gr)&&history.state&&history.state.scroll||null;return Ih().then(()=>jn(Ir,jr,ci)).then(On=>On&&Xv(On)).catch(On=>or(On,Ir,jr))}const as=Ir=>x.go(Ir);let fs;const es=new Set,ts={currentRoute:he,listening:!0,addRoute:xt,removeRoute:Ht,hasRoute:Lr,getRoutes:$t,resolve:ht,options:i,push:mr,replace:Xr,go:as,back:()=>as(-1),forward:()=>as(1),beforeEach:S.add,beforeResolve:q.add,afterEach:se.add,onError:Ce.add,isReady:Tn,install(Ir){const jr=this;Ir.component("RouterLink",L1),Ir.component("RouterView",$1),Ir.config.globalProperties.$router=jr,Object.defineProperty(Ir.config.globalProperties,"$route",{enumerable:!0,get:()=>hs(he)}),vc&&!fs&&he.value===Xl&&(fs=!0,mr(x.location).catch(jn=>{}));const gr={};for(const jn in Xl)gr[jn]=Ws(()=>he.value[jn]);Ir.provide(Gh,jr),Ir.provide(Kh,_c(gr)),Ir.provide(xh,he);const un=Ir.unmount;es.add(Ir),Ir.unmount=function(){es.delete(Ir),es.size<1&&(xe=Xl,oi&&oi(),oi=null,he.value=Xl,fs=!1,en=!1),un()}}};return ts}function Dc(i){return i.reduce((h,c)=>h.then(()=>c()),Promise.resolve())}function U1(i,h){const c=[],g=[],x=[],S=Math.max(h.matched.length,i.matched.length);for(let q=0;q<S;q++){const se=h.matched[q];se&&(i.matched.find(xe=>Fc(xe,se))?g.push(se):c.push(se));const he=i.matched[q];he&&(h.matched.find(xe=>Fc(xe,he))||x.push(he))}return[c,g,x]}function H1(){return Ll(Kh)}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))}}),W1={open:""},V1={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},G1={"ml-1":""},K1=Yu({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(i){const h=H1();return(c,g)=>{const x=Dp("ModuleTreeNode",!0),S=q1,q=Dp("RouterLink");return ma(),go("details",W1,[Ui("summary",V1,[Ui("div",{class:Ac(i.icon)},null,2),Vu(" "+jo(i.node.name),1)]),(ma(!0),go(Ro,null,pf(Object.entries(i.node.children),se=>(ma(),Tc(x,{key:se[0],ml2:"",node:se[1]},null,8,["node"]))),128)),(ma(!0),go(Ro,null,pf(i.node.items,se=>(ma(),go("div",{key:se.full,ml4:"","ws-nowrap":""},[Gs(q,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(se.full)}`,class:Ac({"bg-gray/10":se.full===hs(h).params.id})},{default:Ol(()=>[Gs(S,{id:se.path},null,8,["id"]),Ui("span",G1,jo(se.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),J1="/__unocss/icon.svg",X1={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},Y1=Ui("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Ui("img",{src:J1,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Ui("div",{"of-hidden":""},[Vu(" Inspector "),Ui("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),Q1=Yu({__name:"NarBar",setup(i){const h=pD(),c=By(h);return(g,x)=>(ma(),go("nav",X1,[Y1,Ui("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:x[0]||(x[0]=S=>hs(c)())})]))}}),Z1={"h-full":""},ex={b:"r main","of-hidden":""},tx={pt:"4",flex:"~ col gap-3"},rx=Ui("div",{"i-carbon-dashboard":""},null,-1),nx=Ui("span",null," Overview ",-1),ix=Ui("div",{"i-carbon-terminal":""},null,-1),sx=Ui("span",null," REPL ",-1),ax=Ui("div",{b:"b main"},null,-1),ox={b:"r main",class:"scrolls scrolls-sidebar"},ux=Yu({__name:"Sidebar",setup(i){return(h,c)=>{const g=Q1,x=Dp("RouterLink"),S=K1;return ma(),go("div",Z1,[Ui("div",ex,[Gs(g),Ui("div",tx,[Gs(x,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:Ol(()=>[rx,nx]),_:1}),Gs(x,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:Ol(()=>[ix,sx]),_:1}),ax])]),Ui("div",ox,[Object.keys(hs(lp).workspace.children).length?(ma(),Tc(S,{key:0,node:hs(lp).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):bp("",!0),Object.keys(hs(lp).root.children).length?(ma(),Tc(S,{key:1,node:hs(lp).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):bp("",!0)])])}}}),lx={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 q=[h,h+1],se=this.panes[q[0]]||null,he=this.panes[q[1]]||null;const xe=se.max<100&&S>=se.max+c.prevPanesSize,Te=he.max<100&&S<=100-(he.max+this.sumNextPanesSize(h+1));if(xe||Te){xe?(se.size=se.max,he.size=Math.max(100-se.max-c.prevPanesSize-c.nextPanesSize,0)):(se.size=Math.max(100-he.max-c.prevPanesSize-this.sumNextPanesSize(h+1),0),he.size=he.max);return}if(this.pushOtherPanes){const Xe=this.doPushOtherPanes(c,S);if(!Xe)return;({sums:c,panesToResize:q}=Xe),se=this.panes[q[0]]||null,he=this.panes[q[1]]||null}se!==null&&(se.size=Math.min(Math.max(S-c.prevPanesSize-c.prevReachedMinPanes,se.min),se.max)),he!==null&&(he.size=Math.min(Math.max(100-S-c.nextPanesSize-c.nextReachedMinPanes,he.min),he.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(q=>{g-=q.size,q.size>=q.max&&x.push(q.id),q.size<=q.min&&S.push(q.id)}),!(Math.abs(g)<.1)&&(this.panes.forEach(q=>{i&&i.givenSize!==null&&i.id===q.id||(q.size=Math.max(Math.min(c,q.max),q.min)),g-=q.size,q.size>=q.max&&x.push(q.id),q.size<=q.min&&S.push(q.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 q=Math.max(Math.min(x.size+g,x.max),x.min),se=q-x.size;i-=se,x.size=q}else if(!c.includes(x.id)){const q=Math.max(Math.min(x.size+g,x.max),x.min),se=q-x.size;i-=se,x.size=q}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 Uh("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},cx=(i,h)=>{const c=i.__vccOpts||i;for(const[g,x]of h)c[g]=x;return c},px={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 hx(i,h,c,g,x,S){return ma(),go("div",{class:"splitpanes__pane",onClick:h[0]||(h[0]=q=>S.onPaneClick(q,i._.uid)),style:tp(i.style)},[vp(i.$slots,"default")],4)}const hd=cx(px,[["render",hx]]),fx={"h-screen":"","w-screen":"","of-hidden":""},dx={"h-full":"","of-hidden":""},mx=Yu({__name:"App",setup(i){return(h,c)=>{const g=ux,x=Dp("RouterView");return ma(),go("div",fx,[Gs(hs(lx),null,{default:Ol(()=>[Gs(hs(hd),{size:"20","push-other-panes":!1},{default:Ol(()=>[Gs(g)]),_:1}),Gs(hs(hd),{size:"80"},{default:Ol(()=>[Ui("div",dx,[Gs(x)])]),_:1})]),_:1})])}}}),Wm=xy(mx);Wm.use(z1({history:n1(),routes:jv}));Wm.mount("#app");export{gx as A,lv as B,Ws as C,bp as D,jo as E,hd as F,rv as G,H1 as H,lx as M,VD as _,yx as a,Em as b,go as c,Yu as d,Gs as e,xx as f,Ui as g,y0 as h,hs as i,wa as j,Vu as k,XD as l,UD as m,tp as n,ma as o,Tm as p,Tc as q,Ta as r,PD as s,ND as t,nv as u,gy as v,Ol as w,Dx as x,vx as y,Ug as z};