You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
283 lines
1.7 MiB
283 lines
1.7 MiB
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&n(u)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();const TE="modulepreload",kE=function(r){return"/__unocss/"+r},KO={},Qy=function(e,t,n){if(!t||t.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(t.map(s=>{if(s=kE(s),s in KO)return;KO[s]=!0;const u=s.endsWith(".css"),p=u?'[rel="stylesheet"]':"";if(!!n)for(let O=i.length-1;O>=0;O--){const b=i[O];if(b.href===s&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${p}`))return;const m=document.createElement("link");if(m.rel=u?"stylesheet":TE,u||(m.as="script",m.crossOrigin=""),m.href=s,document.head.appendChild(m),u)return new Promise((O,b)=>{m.addEventListener("load",O),m.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>e())};function jy(r,e){const t=Object.create(null),n=r.split(",");for(let i=0;i<n.length;i++)t[n[i]]=!0;return e?i=>!!t[i.toLowerCase()]:i=>!!t[i]}function Rf(r){if(ki(r)){const e={};for(let t=0;t<r.length;t++){const n=r[t],i=So(n)?$E(n):Rf(n);if(i)for(const s in i)e[s]=i[s]}return e}else{if(So(r))return r;if(js(r))return r}}const FE=/;(?![^(]*\))/g,BE=/:([^]+)/,_E=/\/\*.*?\*\//gs;function $E(r){const e={};return r.replace(_E,"").split(FE).forEach(t=>{if(t){const n=t.split(BE);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function xh(r){let e="";if(So(r))e=r;else if(ki(r))for(let t=0;t<r.length;t++){const n=xh(r[t]);n&&(e+=n+" ")}else if(js(r))for(const t in r)r[t]&&(e+=t+" ");return e.trim()}const NE="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",IE=jy(NE);function Nb(r){return!!r||r===""}function QE(r,e){if(r.length!==e.length)return!1;let t=!0;for(let n=0;t&&n<r.length;n++)t=Vm(r[n],e[n]);return t}function Vm(r,e){if(r===e)return!0;let t=eD(r),n=eD(e);if(t||n)return t&&n?r.getTime()===e.getTime():!1;if(t=Of(r),n=Of(e),t||n)return r===e;if(t=ki(r),n=ki(e),t||n)return t&&n?QE(r,e):!1;if(t=js(r),n=js(e),t||n){if(!t||!n)return!1;const i=Object.keys(r).length,s=Object.keys(e).length;if(i!==s)return!1;for(const u in r){const p=r.hasOwnProperty(u),f=e.hasOwnProperty(u);if(p&&!f||!p&&f||!Vm(r[u],e[u]))return!1}}return String(r)===String(e)}function Ib(r,e){return r.findIndex(t=>Vm(t,e))}const aa=r=>So(r)?r:r==null?"":ki(r)||js(r)&&(r.toString===Mb||!Zi(r.toString))?JSON.stringify(r,Qb,2):String(r),Qb=(r,e)=>e&&e.__v_isRef?Qb(r,e.value):ch(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[n,i])=>(t[`${n} =>`]=i,t),{})}:Um(e)?{[`Set(${e.size})`]:[...e.values()]}:js(e)&&!ki(e)&&!Lb(e)?String(e):e,Vs={},lh=[],bu=()=>{},jE=()=>!1,ME=/^on[^a-z]/,Xm=r=>ME.test(r),My=r=>r.startsWith("onUpdate:"),na=Object.assign,Ly=(r,e)=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)},LE=Object.prototype.hasOwnProperty,ps=(r,e)=>LE.call(r,e),ki=Array.isArray,ch=r=>Vf(r)==="[object Map]",Um=r=>Vf(r)==="[object Set]",eD=r=>Vf(r)==="[object Date]",Zi=r=>typeof r=="function",So=r=>typeof r=="string",Of=r=>typeof r=="symbol",js=r=>r!==null&&typeof r=="object",jb=r=>js(r)&&Zi(r.then)&&Zi(r.catch),Mb=Object.prototype.toString,Vf=r=>Mb.call(r),RE=r=>Vf(r).slice(8,-1),Lb=r=>Vf(r)==="[object Object]",Ry=r=>So(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,jd=jy(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wm=r=>{const e=Object.create(null);return t=>e[t]||(e[t]=r(t))},VE=/-(\w)/g,pl=Wm(r=>r.replace(VE,(e,t)=>t?t.toUpperCase():"")),XE=/\B([A-Z])/g,Bh=Wm(r=>r.replace(XE,"-$1").toLowerCase()),qm=Wm(r=>r.charAt(0).toUpperCase()+r.slice(1)),Bg=Wm(r=>r?`on${qm(r)}`:""),Df=(r,e)=>!Object.is(r,e),Md=(r,e)=>{for(let t=0;t<r.length;t++)r[t](e)},tm=(r,e,t)=>{Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value:t})},UE=r=>{const e=parseFloat(r);return isNaN(e)?r:e};let tD;const WE=()=>tD||(tD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Qa;class qE{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Qa,!e&&Qa&&(this.index=(Qa.scopes||(Qa.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Qa;try{return Qa=this,e()}finally{Qa=t}}}on(){Qa=this}off(){Qa=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function ZE(r,e=Qa){e&&e.active&&e.effects.push(r)}function Rb(){return Qa}function zE(r){Qa&&Qa.cleanups.push(r)}const Vy=r=>{const e=new Set(r);return e.w=0,e.n=0,e},Vb=r=>(r.w&$c)>0,Xb=r=>(r.n&$c)>0,YE=({deps:r})=>{if(r.length)for(let e=0;e<r.length;e++)r[e].w|=$c},GE=r=>{const{deps:e}=r;if(e.length){let t=0;for(let n=0;n<e.length;n++){const i=e[n];Vb(i)&&!Xb(i)?i.delete(r):e[t++]=i,i.w&=~$c,i.n&=~$c}e.length=t}},rm=new WeakMap;let Kh=0,$c=1;const C0=30;let Ou;const xp=Symbol(""),S0=Symbol("");class Xy{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,ZE(this,n)}run(){if(!this.active)return this.fn();let e=Ou,t=kc;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Ou,Ou=this,kc=!0,$c=1<<++Kh,Kh<=C0?YE(this):rD(this),this.fn()}finally{Kh<=C0&&GE(this),$c=1<<--Kh,Ou=this.parent,kc=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ou===this?this.deferStop=!0:this.active&&(rD(this),this.onStop&&this.onStop(),this.active=!1)}}function rD(r){const{deps:e}=r;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(r);e.length=0}}let kc=!0;const Ub=[];function _h(){Ub.push(kc),kc=!1}function $h(){const r=Ub.pop();kc=r===void 0?!0:r}function Aa(r,e,t){if(kc&&Ou){let n=rm.get(r);n||rm.set(r,n=new Map);let i=n.get(t);i||n.set(t,i=Vy()),Wb(i)}}function Wb(r,e){let t=!1;Kh<=C0?Xb(r)||(r.n|=$c,t=!Vb(r)):t=!r.has(Ou),t&&(r.add(Ou),Ou.deps.push(r))}function Wl(r,e,t,n,i,s){const u=rm.get(r);if(!u)return;let p=[];if(e==="clear")p=[...u.values()];else if(t==="length"&&ki(r)){const f=Number(n);u.forEach((m,O)=>{(O==="length"||O>=f)&&p.push(m)})}else switch(t!==void 0&&p.push(u.get(t)),e){case"add":ki(r)?Ry(t)&&p.push(u.get("length")):(p.push(u.get(xp)),ch(r)&&p.push(u.get(S0)));break;case"delete":ki(r)||(p.push(u.get(xp)),ch(r)&&p.push(u.get(S0)));break;case"set":ch(r)&&p.push(u.get(xp));break}if(p.length===1)p[0]&&E0(p[0]);else{const f=[];for(const m of p)m&&f.push(...m);E0(Vy(f))}}function E0(r,e){const t=ki(r)?r:[...r];for(const n of t)n.computed&&nD(n);for(const n of t)n.computed||nD(n)}function nD(r,e){(r!==Ou||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}function HE(r,e){var t;return(t=rm.get(r))===null||t===void 0?void 0:t.get(e)}const JE=jy("__proto__,__v_isRef,__isVue"),qb=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(Of)),KE=Uy(),eA=Uy(!1,!0),tA=Uy(!0),iD=rA();function rA(){const r={};return["includes","indexOf","lastIndexOf"].forEach(e=>{r[e]=function(...t){const n=fs(this);for(let s=0,u=this.length;s<u;s++)Aa(n,"get",s+"");const i=n[e](...t);return i===-1||i===!1?n[e](...t.map(fs)):i}}),["push","pop","shift","unshift","splice"].forEach(e=>{r[e]=function(...t){_h();const n=fs(this)[e].apply(this,t);return $h(),n}}),r}function nA(r){const e=fs(this);return Aa(e,"has",r),e.hasOwnProperty(r)}function Uy(r=!1,e=!1){return function(n,i,s){if(i==="__v_isReactive")return!r;if(i==="__v_isReadonly")return r;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&s===(r?e?DA:Hb:e?Gb:Yb).get(n))return n;const u=ki(n);if(!r){if(u&&ps(iD,i))return Reflect.get(iD,i,s);if(i==="hasOwnProperty")return nA}const p=Reflect.get(n,i,s);return(Of(i)?qb.has(i):JE(i))||(r||Aa(n,"get",i),e)?p:no(p)?u&&Ry(i)?p:p.value:js(p)?r?Xf(p):Nh(p):p}}const iA=Zb(),sA=Zb(!0);function Zb(r=!1){return function(t,n,i,s){let u=t[n];if(bh(u)&&no(u)&&!no(i))return!1;if(!r&&(!nm(i)&&!bh(i)&&(u=fs(u),i=fs(i)),!ki(t)&&no(u)&&!no(i)))return u.value=i,!0;const p=ki(t)&&Ry(n)?Number(n)<t.length:ps(t,n),f=Reflect.set(t,n,i,s);return t===fs(s)&&(p?Df(i,u)&&Wl(t,"set",n,i):Wl(t,"add",n,i)),f}}function oA(r,e){const t=ps(r,e);r[e];const n=Reflect.deleteProperty(r,e);return n&&t&&Wl(r,"delete",e,void 0),n}function aA(r,e){const t=Reflect.has(r,e);return(!Of(e)||!qb.has(e))&&Aa(r,"has",e),t}function uA(r){return Aa(r,"iterate",ki(r)?"length":xp),Reflect.ownKeys(r)}const zb={get:KE,set:iA,deleteProperty:oA,has:aA,ownKeys:uA},lA={get:tA,set(r,e){return!0},deleteProperty(r,e){return!0}},cA=na({},zb,{get:eA,set:sA}),Wy=r=>r,Zm=r=>Reflect.getPrototypeOf(r);function od(r,e,t=!1,n=!1){r=r.__v_raw;const i=fs(r),s=fs(e);t||(e!==s&&Aa(i,"get",e),Aa(i,"get",s));const{has:u}=Zm(i),p=n?Wy:t?zy:xf;if(u.call(i,e))return p(r.get(e));if(u.call(i,s))return p(r.get(s));r!==i&&r.get(e)}function ad(r,e=!1){const t=this.__v_raw,n=fs(t),i=fs(r);return e||(r!==i&&Aa(n,"has",r),Aa(n,"has",i)),r===i?t.has(r):t.has(r)||t.has(i)}function ud(r,e=!1){return r=r.__v_raw,!e&&Aa(fs(r),"iterate",xp),Reflect.get(r,"size",r)}function sD(r){r=fs(r);const e=fs(this);return Zm(e).has.call(e,r)||(e.add(r),Wl(e,"add",r,r)),this}function oD(r,e){e=fs(e);const t=fs(this),{has:n,get:i}=Zm(t);let s=n.call(t,r);s||(r=fs(r),s=n.call(t,r));const u=i.call(t,r);return t.set(r,e),s?Df(e,u)&&Wl(t,"set",r,e):Wl(t,"add",r,e),this}function aD(r){const e=fs(this),{has:t,get:n}=Zm(e);let i=t.call(e,r);i||(r=fs(r),i=t.call(e,r)),n&&n.call(e,r);const s=e.delete(r);return i&&Wl(e,"delete",r,void 0),s}function uD(){const r=fs(this),e=r.size!==0,t=r.clear();return e&&Wl(r,"clear",void 0,void 0),t}function ld(r,e){return function(n,i){const s=this,u=s.__v_raw,p=fs(u),f=e?Wy:r?zy:xf;return!r&&Aa(p,"iterate",xp),u.forEach((m,O)=>n.call(i,f(m),f(O),s))}}function cd(r,e,t){return function(...n){const i=this.__v_raw,s=fs(i),u=ch(s),p=r==="entries"||r===Symbol.iterator&&u,f=r==="keys"&&u,m=i[r](...n),O=t?Wy:e?zy:xf;return!e&&Aa(s,"iterate",f?S0:xp),{next(){const{value:b,done:N}=m.next();return N?{value:b,done:N}:{value:p?[O(b[0]),O(b[1])]:O(b),done:N}},[Symbol.iterator](){return this}}}}function yc(r){return function(...e){return r==="delete"?!1:this}}function pA(){const r={get(s){return od(this,s)},get size(){return ud(this)},has:ad,add:sD,set:oD,delete:aD,clear:uD,forEach:ld(!1,!1)},e={get(s){return od(this,s,!1,!0)},get size(){return ud(this)},has:ad,add:sD,set:oD,delete:aD,clear:uD,forEach:ld(!1,!0)},t={get(s){return od(this,s,!0)},get size(){return ud(this,!0)},has(s){return ad.call(this,s,!0)},add:yc("add"),set:yc("set"),delete:yc("delete"),clear:yc("clear"),forEach:ld(!0,!1)},n={get(s){return od(this,s,!0,!0)},get size(){return ud(this,!0)},has(s){return ad.call(this,s,!0)},add:yc("add"),set:yc("set"),delete:yc("delete"),clear:yc("clear"),forEach:ld(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{r[s]=cd(s,!1,!1),t[s]=cd(s,!0,!1),e[s]=cd(s,!1,!0),n[s]=cd(s,!0,!0)}),[r,t,e,n]}const[hA,fA,dA,mA]=pA();function qy(r,e){const t=e?r?mA:dA:r?fA:hA;return(n,i,s)=>i==="__v_isReactive"?!r:i==="__v_isReadonly"?r:i==="__v_raw"?n:Reflect.get(ps(t,i)&&i in n?t:n,i,s)}const gA={get:qy(!1,!1)},yA={get:qy(!1,!0)},OA={get:qy(!0,!1)},Yb=new WeakMap,Gb=new WeakMap,Hb=new WeakMap,DA=new WeakMap;function xA(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bA(r){return r.__v_skip||!Object.isExtensible(r)?0:xA(RE(r))}function Nh(r){return bh(r)?r:Zy(r,!1,zb,gA,Yb)}function vA(r){return Zy(r,!1,cA,yA,Gb)}function Xf(r){return Zy(r,!0,lA,OA,Hb)}function Zy(r,e,t,n,i){if(!js(r)||r.__v_raw&&!(e&&r.__v_isReactive))return r;const s=i.get(r);if(s)return s;const u=bA(r);if(u===0)return r;const p=new Proxy(r,u===2?n:t);return i.set(r,p),p}function ph(r){return bh(r)?ph(r.__v_raw):!!(r&&r.__v_isReactive)}function bh(r){return!!(r&&r.__v_isReadonly)}function nm(r){return!!(r&&r.__v_isShallow)}function Jb(r){return ph(r)||bh(r)}function fs(r){const e=r&&r.__v_raw;return e?fs(e):r}function Kb(r){return tm(r,"__v_skip",!0),r}const xf=r=>js(r)?Nh(r):r,zy=r=>js(r)?Xf(r):r;function Yy(r){kc&&Ou&&(r=fs(r),Wb(r.dep||(r.dep=Vy())))}function Gy(r,e){r=fs(r);const t=r.dep;t&&E0(t)}function no(r){return!!(r&&r.__v_isRef===!0)}function go(r){return ev(r,!1)}function hh(r){return ev(r,!0)}function ev(r,e){return no(r)?r:new CA(r,e)}class CA{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:fs(e),this._value=t?e:xf(e)}get value(){return Yy(this),this._value}set value(e){const t=this.__v_isShallow||nm(e)||bh(e);e=t?e:fs(e),Df(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:xf(e),Gy(this))}}function Xi(r){return no(r)?r.value:r}const SA={get:(r,e,t)=>Xi(Reflect.get(r,e,t)),set:(r,e,t,n)=>{const i=r[e];return no(i)&&!no(t)?(i.value=t,!0):Reflect.set(r,e,t,n)}};function tv(r){return ph(r)?r:new Proxy(r,SA)}class EA{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Yy(this),()=>Gy(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function AA(r){return new EA(r)}function wA(r){const e=ki(r)?new Array(r.length):{};for(const t in r)e[t]=rv(r,t);return e}class PA{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return HE(fs(this._object),this._key)}}function rv(r,e,t){const n=r[e];return no(n)?n:new PA(r,e,t)}var nv;class TA{constructor(e,t,n,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[nv]=!1,this._dirty=!0,this.effect=new Xy(e,()=>{this._dirty||(this._dirty=!0,Gy(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=fs(this);return Yy(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}nv="__v_isReadonly";function kA(r,e,t=!1){let n,i;const s=Zi(r);return s?(n=r,i=bu):(n=r.get,i=r.set),new TA(n,i,s||!i,t)}function Fc(r,e,t,n){let i;try{i=n?r(...n):r()}catch(s){zm(s,e,t)}return i}function Ga(r,e,t,n){if(Zi(r)){const s=Fc(r,e,t,n);return s&&jb(s)&&s.catch(u=>{zm(u,e,t)}),s}const i=[];for(let s=0;s<r.length;s++)i.push(Ga(r[s],e,t,n));return i}function zm(r,e,t,n=!0){const i=e?e.vnode:null;if(e){let s=e.parent;const u=e.proxy,p=t;for(;s;){const m=s.ec;if(m){for(let O=0;O<m.length;O++)if(m[O](r,u,p)===!1)return}s=s.parent}const f=e.appContext.config.errorHandler;if(f){Fc(f,null,10,[r,u,p]);return}}FA(r,t,i,n)}function FA(r,e,t,n=!0){console.error(r)}let bf=!1,A0=!1;const ta=[];let nl=0;const fh=[];let Ll=null,hp=0;const iv=Promise.resolve();let Hy=null;function Ym(r){const e=Hy||iv;return r?e.then(this?r.bind(this):r):e}function BA(r){let e=nl+1,t=ta.length;for(;e<t;){const n=e+t>>>1;vf(ta[n])<r?e=n+1:t=n}return e}function Jy(r){(!ta.length||!ta.includes(r,bf&&r.allowRecurse?nl+1:nl))&&(r.id==null?ta.push(r):ta.splice(BA(r.id),0,r),sv())}function sv(){!bf&&!A0&&(A0=!0,Hy=iv.then(av))}function _A(r){const e=ta.indexOf(r);e>nl&&ta.splice(e,1)}function $A(r){ki(r)?fh.push(...r):(!Ll||!Ll.includes(r,r.allowRecurse?hp+1:hp))&&fh.push(r),sv()}function lD(r,e=bf?nl+1:0){for(;e<ta.length;e++){const t=ta[e];t&&t.pre&&(ta.splice(e,1),e--,t())}}function ov(r){if(fh.length){const e=[...new Set(fh)];if(fh.length=0,Ll){Ll.push(...e);return}for(Ll=e,Ll.sort((t,n)=>vf(t)-vf(n)),hp=0;hp<Ll.length;hp++)Ll[hp]();Ll=null,hp=0}}const vf=r=>r.id==null?1/0:r.id,NA=(r,e)=>{const t=vf(r)-vf(e);if(t===0){if(r.pre&&!e.pre)return-1;if(e.pre&&!r.pre)return 1}return t};function av(r){A0=!1,bf=!0,ta.sort(NA);const e=bu;try{for(nl=0;nl<ta.length;nl++){const t=ta[nl];t&&t.active!==!1&&Fc(t,null,14)}}finally{nl=0,ta.length=0,ov(),bf=!1,Hy=null,(ta.length||fh.length)&&av()}}function IA(r,e,...t){if(r.isUnmounted)return;const n=r.vnode.props||Vs;let i=t;const s=e.startsWith("update:"),u=s&&e.slice(7);if(u&&u in n){const O=`${u==="modelValue"?"model":u}Modifiers`,{number:b,trim:N}=n[O]||Vs;N&&(i=t.map(U=>So(U)?U.trim():U)),b&&(i=t.map(UE))}let p,f=n[p=Bg(e)]||n[p=Bg(pl(e))];!f&&s&&(f=n[p=Bg(Bh(e))]),f&&Ga(f,r,6,i);const m=n[p+"Once"];if(m){if(!r.emitted)r.emitted={};else if(r.emitted[p])return;r.emitted[p]=!0,Ga(m,r,6,i)}}function uv(r,e,t=!1){const n=e.emitsCache,i=n.get(r);if(i!==void 0)return i;const s=r.emits;let u={},p=!1;if(!Zi(r)){const f=m=>{const O=uv(m,e,!0);O&&(p=!0,na(u,O))};!t&&e.mixins.length&&e.mixins.forEach(f),r.extends&&f(r.extends),r.mixins&&r.mixins.forEach(f)}return!s&&!p?(js(r)&&n.set(r,null),null):(ki(s)?s.forEach(f=>u[f]=null):na(u,s),js(r)&&n.set(r,u),u)}function Gm(r,e){return!r||!Xm(e)?!1:(e=e.slice(2).replace(/Once$/,""),ps(r,e[0].toLowerCase()+e.slice(1))||ps(r,Bh(e))||ps(r,e))}let Xo=null,lv=null;function im(r){const e=Xo;return Xo=r,lv=r&&r.type.__scopeId||null,e}function Vl(r,e=Xo,t){if(!e||r._n)return r;const n=(...i)=>{n._d&&xD(-1);const s=im(e);let u;try{u=r(...i)}finally{im(s),n._d&&xD(1)}return u};return n._n=!0,n._c=!0,n._d=!0,n}function _g(r){const{type:e,vnode:t,proxy:n,withProxy:i,props:s,propsOptions:[u],slots:p,attrs:f,emit:m,render:O,renderCache:b,data:N,setupState:U,ctx:he,inheritAttrs:Re}=r;let Ge,$e;const gt=im(r);try{if(t.shapeFlag&4){const qt=i||n;Ge=tl(O.call(qt,qt,b,s,U,N,he)),$e=f}else{const qt=e;Ge=tl(qt.length>1?qt(s,{attrs:f,slots:p,emit:m}):qt(s,null)),$e=e.props?f:QA(f)}}catch(qt){uf.length=0,zm(qt,r,1),Ge=Ps(Ha)}let kt=Ge;if($e&&Re!==!1){const qt=Object.keys($e),{shapeFlag:Yt}=kt;qt.length&&Yt&7&&(u&&qt.some(My)&&($e=jA($e,u)),kt=Nc(kt,$e))}return t.dirs&&(kt=Nc(kt),kt.dirs=kt.dirs?kt.dirs.concat(t.dirs):t.dirs),t.transition&&(kt.transition=t.transition),Ge=kt,im(gt),Ge}const QA=r=>{let e;for(const t in r)(t==="class"||t==="style"||Xm(t))&&((e||(e={}))[t]=r[t]);return e},jA=(r,e)=>{const t={};for(const n in r)(!My(n)||!(n.slice(9)in e))&&(t[n]=r[n]);return t};function MA(r,e,t){const{props:n,children:i,component:s}=r,{props:u,children:p,patchFlag:f}=e,m=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&f>=0){if(f&1024)return!0;if(f&16)return n?cD(n,u,m):!!u;if(f&8){const O=e.dynamicProps;for(let b=0;b<O.length;b++){const N=O[b];if(u[N]!==n[N]&&!Gm(m,N))return!0}}}else return(i||p)&&(!p||!p.$stable)?!0:n===u?!1:n?u?cD(n,u,m):!0:!!u;return!1}function cD(r,e,t){const n=Object.keys(e);if(n.length!==Object.keys(r).length)return!0;for(let i=0;i<n.length;i++){const s=n[i];if(e[s]!==r[s]&&!Gm(t,s))return!0}return!1}function LA({vnode:r,parent:e},t){for(;e&&e.subTree===r;)(r=e.vnode).el=t,e=e.parent}const RA=r=>r.__isSuspense;function VA(r,e){e&&e.pendingBranch?ki(r)?e.effects.push(...r):e.effects.push(r):$A(r)}function Ld(r,e){if(uo){let t=uo.provides;const n=uo.parent&&uo.parent.provides;n===t&&(t=uo.provides=Object.create(n)),t[r]=e}}function ul(r,e,t=!1){const n=uo||Xo;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&r in i)return i[r];if(arguments.length>1)return t&&Zi(e)?e.call(n.proxy):e}}function cv(r,e){return Ky(r,null,e)}const pd={};function $o(r,e,t){return Ky(r,e,t)}function Ky(r,e,{immediate:t,deep:n,flush:i,onTrack:s,onTrigger:u}=Vs){const p=Rb()===(uo==null?void 0:uo.scope)?uo:null;let f,m=!1,O=!1;if(no(r)?(f=()=>r.value,m=nm(r)):ph(r)?(f=()=>r,n=!0):ki(r)?(O=!0,m=r.some(kt=>ph(kt)||nm(kt)),f=()=>r.map(kt=>{if(no(kt))return kt.value;if(ph(kt))return yp(kt);if(Zi(kt))return Fc(kt,p,2)})):Zi(r)?e?f=()=>Fc(r,p,2):f=()=>{if(!(p&&p.isUnmounted))return b&&b(),Ga(r,p,3,[N])}:f=bu,e&&n){const kt=f;f=()=>yp(kt())}let b,N=kt=>{b=$e.onStop=()=>{Fc(kt,p,4)}},U;if(Sf)if(N=bu,e?t&&Ga(e,p,3,[f(),O?[]:void 0,N]):f(),i==="sync"){const kt=Qw();U=kt.__watcherHandles||(kt.__watcherHandles=[])}else return bu;let he=O?new Array(r.length).fill(pd):pd;const Re=()=>{if($e.active)if(e){const kt=$e.run();(n||m||(O?kt.some((qt,Yt)=>Df(qt,he[Yt])):Df(kt,he)))&&(b&&b(),Ga(e,p,3,[kt,he===pd?void 0:O&&he[0]===pd?[]:he,N]),he=kt)}else $e.run()};Re.allowRecurse=!!e;let Ge;i==="sync"?Ge=Re:i==="post"?Ge=()=>Ca(Re,p&&p.suspense):(Re.pre=!0,p&&(Re.id=p.uid),Ge=()=>Jy(Re));const $e=new Xy(f,Ge);e?t?Re():he=$e.run():i==="post"?Ca($e.run.bind($e),p&&p.suspense):$e.run();const gt=()=>{$e.stop(),p&&p.scope&&Ly(p.scope.effects,$e)};return U&&U.push(gt),gt}function XA(r,e,t){const n=this.proxy,i=So(r)?r.includes(".")?pv(n,r):()=>n[r]:r.bind(n,n);let s;Zi(e)?s=e:(s=e.handler,t=e);const u=uo;vh(this);const p=Ky(i,s.bind(n),t);return u?vh(u):vp(),p}function pv(r,e){const t=e.split(".");return()=>{let n=r;for(let i=0;i<t.length&&n;i++)n=n[t[i]];return n}}function yp(r,e){if(!js(r)||r.__v_skip||(e=e||new Set,e.has(r)))return r;if(e.add(r),no(r))yp(r.value,e);else if(ki(r))for(let t=0;t<r.length;t++)yp(r[t],e);else if(Um(r)||ch(r))r.forEach(t=>{yp(t,e)});else if(Lb(r))for(const t in r)yp(r[t],e);return r}function UA(){const r={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Uf(()=>{r.isMounted=!0}),mv(()=>{r.isUnmounting=!0}),r}const qa=[Function,Array],WA={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qa,onEnter:qa,onAfterEnter:qa,onEnterCancelled:qa,onBeforeLeave:qa,onLeave:qa,onAfterLeave:qa,onLeaveCancelled:qa,onBeforeAppear:qa,onAppear:qa,onAfterAppear:qa,onAppearCancelled:qa},setup(r,{slots:e}){const t=tg(),n=UA();let i;return()=>{const s=e.default&&fv(e.default(),!0);if(!s||!s.length)return;let u=s[0];if(s.length>1){for(const Re of s)if(Re.type!==Ha){u=Re;break}}const p=fs(r),{mode:f}=p;if(n.isLeaving)return $g(u);const m=pD(u);if(!m)return $g(u);const O=w0(m,p,n,t);P0(m,O);const b=t.subTree,N=b&&pD(b);let U=!1;const{getTransitionKey:he}=m.type;if(he){const Re=he();i===void 0?i=Re:Re!==i&&(i=Re,U=!0)}if(N&&N.type!==Ha&&(!fp(m,N)||U)){const Re=w0(N,p,n,t);if(P0(N,Re),f==="out-in")return n.isLeaving=!0,Re.afterLeave=()=>{n.isLeaving=!1,t.update.active!==!1&&t.update()},$g(u);f==="in-out"&&m.type!==Ha&&(Re.delayLeave=(Ge,$e,gt)=>{const kt=hv(n,N);kt[String(N.key)]=N,Ge._leaveCb=()=>{$e(),Ge._leaveCb=void 0,delete O.delayedLeave},O.delayedLeave=gt})}return u}}},qA=WA;function hv(r,e){const{leavingVNodes:t}=r;let n=t.get(e.type);return n||(n=Object.create(null),t.set(e.type,n)),n}function w0(r,e,t,n){const{appear:i,mode:s,persisted:u=!1,onBeforeEnter:p,onEnter:f,onAfterEnter:m,onEnterCancelled:O,onBeforeLeave:b,onLeave:N,onAfterLeave:U,onLeaveCancelled:he,onBeforeAppear:Re,onAppear:Ge,onAfterAppear:$e,onAppearCancelled:gt}=e,kt=String(r.key),qt=hv(t,r),Yt=(mr,kr)=>{mr&&Ga(mr,n,9,kr)},Pr=(mr,kr)=>{const Rr=kr[1];Yt(mr,kr),ki(mr)?mr.every(dn=>dn.length<=1)&&Rr():mr.length<=1&&Rr()},vr={mode:s,persisted:u,beforeEnter(mr){let kr=p;if(!t.isMounted)if(i)kr=Re||p;else return;mr._leaveCb&&mr._leaveCb(!0);const Rr=qt[kt];Rr&&fp(r,Rr)&&Rr.el._leaveCb&&Rr.el._leaveCb(),Yt(kr,[mr])},enter(mr){let kr=f,Rr=m,dn=O;if(!t.isMounted)if(i)kr=Ge||f,Rr=$e||m,dn=gt||O;else return;let Nn=!1;const Bi=mr._enterCb=Gi=>{Nn||(Nn=!0,Gi?Yt(dn,[mr]):Yt(Rr,[mr]),vr.delayedLeave&&vr.delayedLeave(),mr._enterCb=void 0)};kr?Pr(kr,[mr,Bi]):Bi()},leave(mr,kr){const Rr=String(r.key);if(mr._enterCb&&mr._enterCb(!0),t.isUnmounting)return kr();Yt(b,[mr]);let dn=!1;const Nn=mr._leaveCb=Bi=>{dn||(dn=!0,kr(),Bi?Yt(he,[mr]):Yt(U,[mr]),mr._leaveCb=void 0,qt[Rr]===r&&delete qt[Rr])};qt[Rr]=r,N?Pr(N,[mr,Nn]):Nn()},clone(mr){return w0(mr,e,t,n)}};return vr}function $g(r){if(Hm(r))return r=Nc(r),r.children=null,r}function pD(r){return Hm(r)?r.children?r.children[0]:void 0:r}function P0(r,e){r.shapeFlag&6&&r.component?P0(r.component.subTree,e):r.shapeFlag&128?(r.ssContent.transition=e.clone(r.ssContent),r.ssFallback.transition=e.clone(r.ssFallback)):r.transition=e}function fv(r,e=!1,t){let n=[],i=0;for(let s=0;s<r.length;s++){let u=r[s];const p=t==null?u.key:String(t)+String(u.key!=null?u.key:s);u.type===ua?(u.patchFlag&128&&i++,n=n.concat(fv(u.children,e,p))):(e||u.type!==Ha)&&n.push(p!=null?Nc(u,{key:p}):u)}if(i>1)for(let s=0;s<n.length;s++)n[s].patchFlag=-2;return n}function Cu(r){return Zi(r)?{setup:r,name:r.name}:r}const of=r=>!!r.type.__asyncLoader,Hm=r=>r.type.__isKeepAlive;function ZA(r,e){dv(r,"a",e)}function zA(r,e){dv(r,"da",e)}function dv(r,e,t=uo){const n=r.__wdc||(r.__wdc=()=>{let i=t;for(;i;){if(i.isDeactivated)return;i=i.parent}return r()});if(Jm(e,n,t),t){let i=t.parent;for(;i&&i.parent;)Hm(i.parent.vnode)&&YA(n,e,t,i),i=i.parent}}function YA(r,e,t,n){const i=Jm(e,r,n,!0);gv(()=>{Ly(n[e],i)},t)}function Jm(r,e,t=uo,n=!1){if(t){const i=t[r]||(t[r]=[]),s=e.__weh||(e.__weh=(...u)=>{if(t.isUnmounted)return;_h(),vh(t);const p=Ga(e,t,r,u);return vp(),$h(),p});return n?i.unshift(s):i.push(s),s}}const zl=r=>(e,t=uo)=>(!Sf||r==="sp")&&Jm(r,(...n)=>e(...n),t),GA=zl("bm"),Uf=zl("m"),HA=zl("bu"),JA=zl("u"),mv=zl("bum"),gv=zl("um"),KA=zl("sp"),ew=zl("rtg"),tw=zl("rtc");function rw(r,e=uo){Jm("ec",r,e)}function nw(r,e){const t=Xo;if(t===null)return r;const n=rg(t)||t.proxy,i=r.dirs||(r.dirs=[]);for(let s=0;s<e.length;s++){let[u,p,f,m=Vs]=e[s];u&&(Zi(u)&&(u={mounted:u,updated:u}),u.deep&&yp(p),i.push({dir:u,instance:n,value:p,oldValue:void 0,arg:f,modifiers:m}))}return r}function up(r,e,t,n){const i=r.dirs,s=e&&e.dirs;for(let u=0;u<i.length;u++){const p=i[u];s&&(p.oldValue=s[u].value);let f=p.dir[n];f&&(_h(),Ga(f,t,8,[r.el,p,r,e]),$h())}}const yv="components";function sm(r,e){return sw(yv,r,!0,e)||r}const iw=Symbol();function sw(r,e,t=!0,n=!1){const i=Xo||uo;if(i){const s=i.type;if(r===yv){const p=$w(s,!1);if(p&&(p===e||p===pl(e)||p===qm(pl(e))))return s}const u=hD(i[r]||s[r],e)||hD(i.appContext[r],e);return!u&&n?s:u}}function hD(r,e){return r&&(r[e]||r[pl(e)]||r[qm(pl(e))])}function fD(r,e,t,n){let i;const s=t&&t[n];if(ki(r)||So(r)){i=new Array(r.length);for(let u=0,p=r.length;u<p;u++)i[u]=e(r[u],u,void 0,s&&s[u])}else if(typeof r=="number"){i=new Array(r);for(let u=0;u<r;u++)i[u]=e(u+1,u,void 0,s&&s[u])}else if(js(r))if(r[Symbol.iterator])i=Array.from(r,(u,p)=>e(u,p,void 0,s&&s[p]));else{const u=Object.keys(r);i=new Array(u.length);for(let p=0,f=u.length;p<f;p++){const m=u[p];i[p]=e(r[m],m,p,s&&s[p])}}else i=[];return t&&(t[n]=i),i}function om(r,e,t={},n,i){if(Xo.isCE||Xo.parent&&of(Xo.parent)&&Xo.parent.isCE)return e!=="default"&&(t.name=e),Ps("slot",t,n&&n());let s=r[e];s&&s._c&&(s._d=!1),qs();const u=s&&Ov(s(t)),p=bp(ua,{key:t.key||u&&u.key||`_${e}`},u||(n?n():[]),u&&r._===1?64:-2);return!i&&p.scopeId&&(p.slotScopeIds=[p.scopeId+"-s"]),s&&s._c&&(s._d=!0),p}function Ov(r){return r.some(e=>um(e)?!(e.type===Ha||e.type===ua&&!Ov(e.children)):!0)?r:null}const T0=r=>r?Tv(r)?rg(r)||r.proxy:T0(r.parent):null,af=na(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>T0(r.parent),$root:r=>T0(r.root),$emit:r=>r.emit,$options:r=>eO(r),$forceUpdate:r=>r.f||(r.f=()=>Jy(r.update)),$nextTick:r=>r.n||(r.n=Ym.bind(r.proxy)),$watch:r=>XA.bind(r)}),Ng=(r,e)=>r!==Vs&&!r.__isScriptSetup&&ps(r,e),ow={get({_:r},e){const{ctx:t,setupState:n,data:i,props:s,accessCache:u,type:p,appContext:f}=r;let m;if(e[0]!=="$"){const U=u[e];if(U!==void 0)switch(U){case 1:return n[e];case 2:return i[e];case 4:return t[e];case 3:return s[e]}else{if(Ng(n,e))return u[e]=1,n[e];if(i!==Vs&&ps(i,e))return u[e]=2,i[e];if((m=r.propsOptions[0])&&ps(m,e))return u[e]=3,s[e];if(t!==Vs&&ps(t,e))return u[e]=4,t[e];k0&&(u[e]=0)}}const O=af[e];let b,N;if(O)return e==="$attrs"&&Aa(r,"get",e),O(r);if((b=p.__cssModules)&&(b=b[e]))return b;if(t!==Vs&&ps(t,e))return u[e]=4,t[e];if(N=f.config.globalProperties,ps(N,e))return N[e]},set({_:r},e,t){const{data:n,setupState:i,ctx:s}=r;return Ng(i,e)?(i[e]=t,!0):n!==Vs&&ps(n,e)?(n[e]=t,!0):ps(r.props,e)||e[0]==="$"&&e.slice(1)in r?!1:(s[e]=t,!0)},has({_:{data:r,setupState:e,accessCache:t,ctx:n,appContext:i,propsOptions:s}},u){let p;return!!t[u]||r!==Vs&&ps(r,u)||Ng(e,u)||(p=s[0])&&ps(p,u)||ps(n,u)||ps(af,u)||ps(i.config.globalProperties,u)},defineProperty(r,e,t){return t.get!=null?r._.accessCache[e]=0:ps(t,"value")&&this.set(r,e,t.value,null),Reflect.defineProperty(r,e,t)}};let k0=!0;function aw(r){const e=eO(r),t=r.proxy,n=r.ctx;k0=!1,e.beforeCreate&&dD(e.beforeCreate,r,"bc");const{data:i,computed:s,methods:u,watch:p,provide:f,inject:m,created:O,beforeMount:b,mounted:N,beforeUpdate:U,updated:he,activated:Re,deactivated:Ge,beforeDestroy:$e,beforeUnmount:gt,destroyed:kt,unmounted:qt,render:Yt,renderTracked:Pr,renderTriggered:vr,errorCaptured:mr,serverPrefetch:kr,expose:Rr,inheritAttrs:dn,components:Nn,directives:Bi,filters:Gi}=e;if(m&&uw(m,n,null,r.appContext.config.unwrapInjectedRef),u)for(const ti in u){const Mn=u[ti];Zi(Mn)&&(n[ti]=Mn.bind(t))}if(i){const ti=i.call(t,t);js(ti)&&(r.data=Nh(ti))}if(k0=!0,s)for(const ti in s){const Mn=s[ti],Sn=Zi(Mn)?Mn.bind(t,t):Zi(Mn.get)?Mn.get.bind(t,t):bu,es=!Zi(Mn)&&Zi(Mn.set)?Mn.set.bind(t):bu,Qi=Cs({get:Sn,set:es});Object.defineProperty(n,ti,{enumerable:!0,configurable:!0,get:()=>Qi.value,set:os=>Qi.value=os})}if(p)for(const ti in p)Dv(p[ti],n,t,ti);if(f){const ti=Zi(f)?f.call(t):f;Reflect.ownKeys(ti).forEach(Mn=>{Ld(Mn,ti[Mn])})}O&&dD(O,r,"c");function jn(ti,Mn){ki(Mn)?Mn.forEach(Sn=>ti(Sn.bind(t))):Mn&&ti(Mn.bind(t))}if(jn(GA,b),jn(Uf,N),jn(HA,U),jn(JA,he),jn(ZA,Re),jn(zA,Ge),jn(rw,mr),jn(tw,Pr),jn(ew,vr),jn(mv,gt),jn(gv,qt),jn(KA,kr),ki(Rr))if(Rr.length){const ti=r.exposed||(r.exposed={});Rr.forEach(Mn=>{Object.defineProperty(ti,Mn,{get:()=>t[Mn],set:Sn=>t[Mn]=Sn})})}else r.exposed||(r.exposed={});Yt&&r.render===bu&&(r.render=Yt),dn!=null&&(r.inheritAttrs=dn),Nn&&(r.components=Nn),Bi&&(r.directives=Bi)}function uw(r,e,t=bu,n=!1){ki(r)&&(r=F0(r));for(const i in r){const s=r[i];let u;js(s)?"default"in s?u=ul(s.from||i,s.default,!0):u=ul(s.from||i):u=ul(s),no(u)&&n?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>u.value,set:p=>u.value=p}):e[i]=u}}function dD(r,e,t){Ga(ki(r)?r.map(n=>n.bind(e.proxy)):r.bind(e.proxy),e,t)}function Dv(r,e,t,n){const i=n.includes(".")?pv(t,n):()=>t[n];if(So(r)){const s=e[r];Zi(s)&&$o(i,s)}else if(Zi(r))$o(i,r.bind(t));else if(js(r))if(ki(r))r.forEach(s=>Dv(s,e,t,n));else{const s=Zi(r.handler)?r.handler.bind(t):e[r.handler];Zi(s)&&$o(i,s,r)}}function eO(r){const e=r.type,{mixins:t,extends:n}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:u}}=r.appContext,p=s.get(e);let f;return p?f=p:!i.length&&!t&&!n?f=e:(f={},i.length&&i.forEach(m=>am(f,m,u,!0)),am(f,e,u)),js(e)&&s.set(e,f),f}function am(r,e,t,n=!1){const{mixins:i,extends:s}=e;s&&am(r,s,t,!0),i&&i.forEach(u=>am(r,u,t,!0));for(const u in e)if(!(n&&u==="expose")){const p=lw[u]||t&&t[u];r[u]=p?p(r[u],e[u]):e[u]}return r}const lw={data:mD,props:pp,emits:pp,methods:pp,computed:pp,beforeCreate:oa,created:oa,beforeMount:oa,mounted:oa,beforeUpdate:oa,updated:oa,beforeDestroy:oa,beforeUnmount:oa,destroyed:oa,unmounted:oa,activated:oa,deactivated:oa,errorCaptured:oa,serverPrefetch:oa,components:pp,directives:pp,watch:pw,provide:mD,inject:cw};function mD(r,e){return e?r?function(){return na(Zi(r)?r.call(this,this):r,Zi(e)?e.call(this,this):e)}:e:r}function cw(r,e){return pp(F0(r),F0(e))}function F0(r){if(ki(r)){const e={};for(let t=0;t<r.length;t++)e[r[t]]=r[t];return e}return r}function oa(r,e){return r?[...new Set([].concat(r,e))]:e}function pp(r,e){return r?na(na(Object.create(null),r),e):e}function pw(r,e){if(!r)return e;if(!e)return r;const t=na(Object.create(null),r);for(const n in e)t[n]=oa(r[n],e[n]);return t}function hw(r,e,t,n=!1){const i={},s={};tm(s,eg,1),r.propsDefaults=Object.create(null),xv(r,e,i,s);for(const u in r.propsOptions[0])u in i||(i[u]=void 0);t?r.props=n?i:vA(i):r.type.props?r.props=i:r.props=s,r.attrs=s}function fw(r,e,t,n){const{props:i,attrs:s,vnode:{patchFlag:u}}=r,p=fs(i),[f]=r.propsOptions;let m=!1;if((n||u>0)&&!(u&16)){if(u&8){const O=r.vnode.dynamicProps;for(let b=0;b<O.length;b++){let N=O[b];if(Gm(r.emitsOptions,N))continue;const U=e[N];if(f)if(ps(s,N))U!==s[N]&&(s[N]=U,m=!0);else{const he=pl(N);i[he]=B0(f,p,he,U,r,!1)}else U!==s[N]&&(s[N]=U,m=!0)}}}else{xv(r,e,i,s)&&(m=!0);let O;for(const b in p)(!e||!ps(e,b)&&((O=Bh(b))===b||!ps(e,O)))&&(f?t&&(t[b]!==void 0||t[O]!==void 0)&&(i[b]=B0(f,p,b,void 0,r,!0)):delete i[b]);if(s!==p)for(const b in s)(!e||!ps(e,b))&&(delete s[b],m=!0)}m&&Wl(r,"set","$attrs")}function xv(r,e,t,n){const[i,s]=r.propsOptions;let u=!1,p;if(e)for(let f in e){if(jd(f))continue;const m=e[f];let O;i&&ps(i,O=pl(f))?!s||!s.includes(O)?t[O]=m:(p||(p={}))[O]=m:Gm(r.emitsOptions,f)||(!(f in n)||m!==n[f])&&(n[f]=m,u=!0)}if(s){const f=fs(t),m=p||Vs;for(let O=0;O<s.length;O++){const b=s[O];t[b]=B0(i,f,b,m[b],r,!ps(m,b))}}return u}function B0(r,e,t,n,i,s){const u=r[t];if(u!=null){const p=ps(u,"default");if(p&&n===void 0){const f=u.default;if(u.type!==Function&&Zi(f)){const{propsDefaults:m}=i;t in m?n=m[t]:(vh(i),n=m[t]=f.call(null,e),vp())}else n=f}u[0]&&(s&&!p?n=!1:u[1]&&(n===""||n===Bh(t))&&(n=!0))}return n}function bv(r,e,t=!1){const n=e.propsCache,i=n.get(r);if(i)return i;const s=r.props,u={},p=[];let f=!1;if(!Zi(r)){const O=b=>{f=!0;const[N,U]=bv(b,e,!0);na(u,N),U&&p.push(...U)};!t&&e.mixins.length&&e.mixins.forEach(O),r.extends&&O(r.extends),r.mixins&&r.mixins.forEach(O)}if(!s&&!f)return js(r)&&n.set(r,lh),lh;if(ki(s))for(let O=0;O<s.length;O++){const b=pl(s[O]);gD(b)&&(u[b]=Vs)}else if(s)for(const O in s){const b=pl(O);if(gD(b)){const N=s[O],U=u[b]=ki(N)||Zi(N)?{type:N}:Object.assign({},N);if(U){const he=DD(Boolean,U.type),Re=DD(String,U.type);U[0]=he>-1,U[1]=Re<0||he<Re,(he>-1||ps(U,"default"))&&p.push(b)}}}const m=[u,p];return js(r)&&n.set(r,m),m}function gD(r){return r[0]!=="$"}function yD(r){const e=r&&r.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:r===null?"null":""}function OD(r,e){return yD(r)===yD(e)}function DD(r,e){return ki(e)?e.findIndex(t=>OD(t,r)):Zi(e)&&OD(e,r)?0:-1}const vv=r=>r[0]==="_"||r==="$stable",tO=r=>ki(r)?r.map(tl):[tl(r)],dw=(r,e,t)=>{if(e._n)return e;const n=Vl((...i)=>tO(e(...i)),t);return n._c=!1,n},Cv=(r,e,t)=>{const n=r._ctx;for(const i in r){if(vv(i))continue;const s=r[i];if(Zi(s))e[i]=dw(i,s,n);else if(s!=null){const u=tO(s);e[i]=()=>u}}},Sv=(r,e)=>{const t=tO(e);r.slots.default=()=>t},mw=(r,e)=>{if(r.vnode.shapeFlag&32){const t=e._;t?(r.slots=fs(e),tm(e,"_",t)):Cv(e,r.slots={})}else r.slots={},e&&Sv(r,e);tm(r.slots,eg,1)},gw=(r,e,t)=>{const{vnode:n,slots:i}=r;let s=!0,u=Vs;if(n.shapeFlag&32){const p=e._;p?t&&p===1?s=!1:(na(i,e),!t&&p===1&&delete i._):(s=!e.$stable,Cv(e,i)),u=e}else e&&(Sv(r,e),u={default:1});if(s)for(const p in i)!vv(p)&&!(p in u)&&delete i[p]};function Ev(){return{app:null,config:{isNativeTag:jE,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 yw=0;function Ow(r,e){return function(n,i=null){Zi(n)||(n=Object.assign({},n)),i!=null&&!js(i)&&(i=null);const s=Ev(),u=new Set;let p=!1;const f=s.app={_uid:yw++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:jw,get config(){return s.config},set config(m){},use(m,...O){return u.has(m)||(m&&Zi(m.install)?(u.add(m),m.install(f,...O)):Zi(m)&&(u.add(m),m(f,...O))),f},mixin(m){return s.mixins.includes(m)||s.mixins.push(m),f},component(m,O){return O?(s.components[m]=O,f):s.components[m]},directive(m,O){return O?(s.directives[m]=O,f):s.directives[m]},mount(m,O,b){if(!p){const N=Ps(n,i);return N.appContext=s,O&&e?e(N,m):r(N,m,b),p=!0,f._container=m,m.__vue_app__=f,rg(N.component)||N.component.proxy}},unmount(){p&&(r(null,f._container),delete f._container.__vue_app__)},provide(m,O){return s.provides[m]=O,f}};return f}}function _0(r,e,t,n,i=!1){if(ki(r)){r.forEach((N,U)=>_0(N,e&&(ki(e)?e[U]:e),t,n,i));return}if(of(n)&&!i)return;const s=n.shapeFlag&4?rg(n.component)||n.component.proxy:n.el,u=i?null:s,{i:p,r:f}=r,m=e&&e.r,O=p.refs===Vs?p.refs={}:p.refs,b=p.setupState;if(m!=null&&m!==f&&(So(m)?(O[m]=null,ps(b,m)&&(b[m]=null)):no(m)&&(m.value=null)),Zi(f))Fc(f,p,12,[u,O]);else{const N=So(f),U=no(f);if(N||U){const he=()=>{if(r.f){const Re=N?ps(b,f)?b[f]:O[f]:f.value;i?ki(Re)&&Ly(Re,s):ki(Re)?Re.includes(s)||Re.push(s):N?(O[f]=[s],ps(b,f)&&(b[f]=O[f])):(f.value=[s],r.k&&(O[r.k]=f.value))}else N?(O[f]=u,ps(b,f)&&(b[f]=u)):U&&(f.value=u,r.k&&(O[r.k]=u))};u?(he.id=-1,Ca(he,t)):he()}}}const Ca=VA;function Dw(r){return xw(r)}function xw(r,e){const t=WE();t.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:u,createText:p,createComment:f,setText:m,setElementText:O,parentNode:b,nextSibling:N,setScopeId:U=bu,insertStaticContent:he}=r,Re=(qe,yt,pr,gr=null,$r=null,Yr=null,gn=!1,Gr=null,rn=!!yt.dynamicChildren)=>{if(qe===yt)return;qe&&!fp(qe,yt)&&(gr=fn(qe),os(qe,$r,Yr,!0),qe=null),yt.patchFlag===-2&&(rn=!1,yt.dynamicChildren=null);const{type:Vr,ref:Yn,shapeFlag:Dn}=yt;switch(Vr){case Km:Ge(qe,yt,pr,gr);break;case Ha:$e(qe,yt,pr,gr);break;case Ig:qe==null&>(yt,pr,gr,gn);break;case ua:Nn(qe,yt,pr,gr,$r,Yr,gn,Gr,rn);break;default:Dn&1?Yt(qe,yt,pr,gr,$r,Yr,gn,Gr,rn):Dn&6?Bi(qe,yt,pr,gr,$r,Yr,gn,Gr,rn):(Dn&64||Dn&128)&&Vr.process(qe,yt,pr,gr,$r,Yr,gn,Gr,rn,xi)}Yn!=null&&$r&&_0(Yn,qe&&qe.ref,Yr,yt||qe,!yt)},Ge=(qe,yt,pr,gr)=>{if(qe==null)n(yt.el=p(yt.children),pr,gr);else{const $r=yt.el=qe.el;yt.children!==qe.children&&m($r,yt.children)}},$e=(qe,yt,pr,gr)=>{qe==null?n(yt.el=f(yt.children||""),pr,gr):yt.el=qe.el},gt=(qe,yt,pr,gr)=>{[qe.el,qe.anchor]=he(qe.children,yt,pr,gr,qe.el,qe.anchor)},kt=({el:qe,anchor:yt},pr,gr)=>{let $r;for(;qe&&qe!==yt;)$r=N(qe),n(qe,pr,gr),qe=$r;n(yt,pr,gr)},qt=({el:qe,anchor:yt})=>{let pr;for(;qe&&qe!==yt;)pr=N(qe),i(qe),qe=pr;i(yt)},Yt=(qe,yt,pr,gr,$r,Yr,gn,Gr,rn)=>{gn=gn||yt.type==="svg",qe==null?Pr(yt,pr,gr,$r,Yr,gn,Gr,rn):kr(qe,yt,$r,Yr,gn,Gr,rn)},Pr=(qe,yt,pr,gr,$r,Yr,gn,Gr)=>{let rn,Vr;const{type:Yn,props:Dn,shapeFlag:Gn,transition:Ei,dirs:Mi}=qe;if(rn=qe.el=u(qe.type,Yr,Dn&&Dn.is,Dn),Gn&8?O(rn,qe.children):Gn&16&&mr(qe.children,rn,null,gr,$r,Yr&&Yn!=="foreignObject",gn,Gr),Mi&&up(qe,null,gr,"created"),vr(rn,qe,qe.scopeId,gn,gr),Dn){for(const ns in Dn)ns!=="value"&&!jd(ns)&&s(rn,ns,null,Dn[ns],Yr,qe.children,gr,$r,mn);"value"in Dn&&s(rn,"value",null,Dn.value),(Vr=Dn.onVnodeBeforeMount)&&Gu(Vr,gr,qe)}Mi&&up(qe,null,gr,"beforeMount");const as=(!$r||$r&&!$r.pendingBranch)&&Ei&&!Ei.persisted;as&&Ei.beforeEnter(rn),n(rn,yt,pr),((Vr=Dn&&Dn.onVnodeMounted)||as||Mi)&&Ca(()=>{Vr&&Gu(Vr,gr,qe),as&&Ei.enter(rn),Mi&&up(qe,null,gr,"mounted")},$r)},vr=(qe,yt,pr,gr,$r)=>{if(pr&&U(qe,pr),gr)for(let Yr=0;Yr<gr.length;Yr++)U(qe,gr[Yr]);if($r){let Yr=$r.subTree;if(yt===Yr){const gn=$r.vnode;vr(qe,gn,gn.scopeId,gn.slotScopeIds,$r.parent)}}},mr=(qe,yt,pr,gr,$r,Yr,gn,Gr,rn=0)=>{for(let Vr=rn;Vr<qe.length;Vr++){const Yn=qe[Vr]=Gr?bc(qe[Vr]):tl(qe[Vr]);Re(null,Yn,yt,pr,gr,$r,Yr,gn,Gr)}},kr=(qe,yt,pr,gr,$r,Yr,gn)=>{const Gr=yt.el=qe.el;let{patchFlag:rn,dynamicChildren:Vr,dirs:Yn}=yt;rn|=qe.patchFlag&16;const Dn=qe.props||Vs,Gn=yt.props||Vs;let Ei;pr&&lp(pr,!1),(Ei=Gn.onVnodeBeforeUpdate)&&Gu(Ei,pr,yt,qe),Yn&&up(yt,qe,pr,"beforeUpdate"),pr&&lp(pr,!0);const Mi=$r&&yt.type!=="foreignObject";if(Vr?Rr(qe.dynamicChildren,Vr,Gr,pr,gr,Mi,Yr):gn||Mn(qe,yt,Gr,null,pr,gr,Mi,Yr,!1),rn>0){if(rn&16)dn(Gr,yt,Dn,Gn,pr,gr,$r);else if(rn&2&&Dn.class!==Gn.class&&s(Gr,"class",null,Gn.class,$r),rn&4&&s(Gr,"style",Dn.style,Gn.style,$r),rn&8){const as=yt.dynamicProps;for(let ns=0;ns<as.length;ns++){const As=as[ns],Oo=Dn[As],fa=Gn[As];(fa!==Oo||As==="value")&&s(Gr,As,Oo,fa,$r,qe.children,pr,gr,mn)}}rn&1&&qe.children!==yt.children&&O(Gr,yt.children)}else!gn&&Vr==null&&dn(Gr,yt,Dn,Gn,pr,gr,$r);((Ei=Gn.onVnodeUpdated)||Yn)&&Ca(()=>{Ei&&Gu(Ei,pr,yt,qe),Yn&&up(yt,qe,pr,"updated")},gr)},Rr=(qe,yt,pr,gr,$r,Yr,gn)=>{for(let Gr=0;Gr<yt.length;Gr++){const rn=qe[Gr],Vr=yt[Gr],Yn=rn.el&&(rn.type===ua||!fp(rn,Vr)||rn.shapeFlag&70)?b(rn.el):pr;Re(rn,Vr,Yn,null,gr,$r,Yr,gn,!0)}},dn=(qe,yt,pr,gr,$r,Yr,gn)=>{if(pr!==gr){if(pr!==Vs)for(const Gr in pr)!jd(Gr)&&!(Gr in gr)&&s(qe,Gr,pr[Gr],null,gn,yt.children,$r,Yr,mn);for(const Gr in gr){if(jd(Gr))continue;const rn=gr[Gr],Vr=pr[Gr];rn!==Vr&&Gr!=="value"&&s(qe,Gr,Vr,rn,gn,yt.children,$r,Yr,mn)}"value"in gr&&s(qe,"value",pr.value,gr.value)}},Nn=(qe,yt,pr,gr,$r,Yr,gn,Gr,rn)=>{const Vr=yt.el=qe?qe.el:p(""),Yn=yt.anchor=qe?qe.anchor:p("");let{patchFlag:Dn,dynamicChildren:Gn,slotScopeIds:Ei}=yt;Ei&&(Gr=Gr?Gr.concat(Ei):Ei),qe==null?(n(Vr,pr,gr),n(Yn,pr,gr),mr(yt.children,pr,Yn,$r,Yr,gn,Gr,rn)):Dn>0&&Dn&64&&Gn&&qe.dynamicChildren?(Rr(qe.dynamicChildren,Gn,pr,$r,Yr,gn,Gr),(yt.key!=null||$r&&yt===$r.subTree)&&Av(qe,yt,!0)):Mn(qe,yt,pr,Yn,$r,Yr,gn,Gr,rn)},Bi=(qe,yt,pr,gr,$r,Yr,gn,Gr,rn)=>{yt.slotScopeIds=Gr,qe==null?yt.shapeFlag&512?$r.ctx.activate(yt,pr,gr,gn,rn):Gi(yt,pr,gr,$r,Yr,gn,rn):Si(qe,yt,rn)},Gi=(qe,yt,pr,gr,$r,Yr,gn)=>{const Gr=qe.component=Tw(qe,gr,$r);if(Hm(qe)&&(Gr.ctx.renderer=xi),kw(Gr),Gr.asyncDep){if($r&&$r.registerDep(Gr,jn),!qe.el){const rn=Gr.subTree=Ps(Ha);$e(null,rn,yt,pr)}return}jn(Gr,qe,yt,pr,$r,Yr,gn)},Si=(qe,yt,pr)=>{const gr=yt.component=qe.component;if(MA(qe,yt,pr))if(gr.asyncDep&&!gr.asyncResolved){ti(gr,yt,pr);return}else gr.next=yt,_A(gr.update),gr.update();else yt.el=qe.el,gr.vnode=yt},jn=(qe,yt,pr,gr,$r,Yr,gn)=>{const Gr=()=>{if(qe.isMounted){let{next:Yn,bu:Dn,u:Gn,parent:Ei,vnode:Mi}=qe,as=Yn,ns;lp(qe,!1),Yn?(Yn.el=Mi.el,ti(qe,Yn,gn)):Yn=Mi,Dn&&Md(Dn),(ns=Yn.props&&Yn.props.onVnodeBeforeUpdate)&&Gu(ns,Ei,Yn,Mi),lp(qe,!0);const As=_g(qe),Oo=qe.subTree;qe.subTree=As,Re(Oo,As,b(Oo.el),fn(Oo),qe,$r,Yr),Yn.el=As.el,as===null&&LA(qe,As.el),Gn&&Ca(Gn,$r),(ns=Yn.props&&Yn.props.onVnodeUpdated)&&Ca(()=>Gu(ns,Ei,Yn,Mi),$r)}else{let Yn;const{el:Dn,props:Gn}=yt,{bm:Ei,m:Mi,parent:as}=qe,ns=of(yt);if(lp(qe,!1),Ei&&Md(Ei),!ns&&(Yn=Gn&&Gn.onVnodeBeforeMount)&&Gu(Yn,as,yt),lp(qe,!0),Dn&&$i){const As=()=>{qe.subTree=_g(qe),$i(Dn,qe.subTree,qe,$r,null)};ns?yt.type.__asyncLoader().then(()=>!qe.isUnmounted&&As()):As()}else{const As=qe.subTree=_g(qe);Re(null,As,pr,gr,qe,$r,Yr),yt.el=As.el}if(Mi&&Ca(Mi,$r),!ns&&(Yn=Gn&&Gn.onVnodeMounted)){const As=yt;Ca(()=>Gu(Yn,as,As),$r)}(yt.shapeFlag&256||as&&of(as.vnode)&&as.vnode.shapeFlag&256)&&qe.a&&Ca(qe.a,$r),qe.isMounted=!0,yt=pr=gr=null}},rn=qe.effect=new Xy(Gr,()=>Jy(Vr),qe.scope),Vr=qe.update=()=>rn.run();Vr.id=qe.uid,lp(qe,!0),Vr()},ti=(qe,yt,pr)=>{yt.component=qe;const gr=qe.vnode.props;qe.vnode=yt,qe.next=null,fw(qe,yt.props,gr,pr),gw(qe,yt.children,pr),_h(),lD(),$h()},Mn=(qe,yt,pr,gr,$r,Yr,gn,Gr,rn=!1)=>{const Vr=qe&&qe.children,Yn=qe?qe.shapeFlag:0,Dn=yt.children,{patchFlag:Gn,shapeFlag:Ei}=yt;if(Gn>0){if(Gn&128){es(Vr,Dn,pr,gr,$r,Yr,gn,Gr,rn);return}else if(Gn&256){Sn(Vr,Dn,pr,gr,$r,Yr,gn,Gr,rn);return}}Ei&8?(Yn&16&&mn(Vr,$r,Yr),Dn!==Vr&&O(pr,Dn)):Yn&16?Ei&16?es(Vr,Dn,pr,gr,$r,Yr,gn,Gr,rn):mn(Vr,$r,Yr,!0):(Yn&8&&O(pr,""),Ei&16&&mr(Dn,pr,gr,$r,Yr,gn,Gr,rn))},Sn=(qe,yt,pr,gr,$r,Yr,gn,Gr,rn)=>{qe=qe||lh,yt=yt||lh;const Vr=qe.length,Yn=yt.length,Dn=Math.min(Vr,Yn);let Gn;for(Gn=0;Gn<Dn;Gn++){const Ei=yt[Gn]=rn?bc(yt[Gn]):tl(yt[Gn]);Re(qe[Gn],Ei,pr,null,$r,Yr,gn,Gr,rn)}Vr>Yn?mn(qe,$r,Yr,!0,!1,Dn):mr(yt,pr,gr,$r,Yr,gn,Gr,rn,Dn)},es=(qe,yt,pr,gr,$r,Yr,gn,Gr,rn)=>{let Vr=0;const Yn=yt.length;let Dn=qe.length-1,Gn=Yn-1;for(;Vr<=Dn&&Vr<=Gn;){const Ei=qe[Vr],Mi=yt[Vr]=rn?bc(yt[Vr]):tl(yt[Vr]);if(fp(Ei,Mi))Re(Ei,Mi,pr,null,$r,Yr,gn,Gr,rn);else break;Vr++}for(;Vr<=Dn&&Vr<=Gn;){const Ei=qe[Dn],Mi=yt[Gn]=rn?bc(yt[Gn]):tl(yt[Gn]);if(fp(Ei,Mi))Re(Ei,Mi,pr,null,$r,Yr,gn,Gr,rn);else break;Dn--,Gn--}if(Vr>Dn){if(Vr<=Gn){const Ei=Gn+1,Mi=Ei<Yn?yt[Ei].el:gr;for(;Vr<=Gn;)Re(null,yt[Vr]=rn?bc(yt[Vr]):tl(yt[Vr]),pr,Mi,$r,Yr,gn,Gr,rn),Vr++}}else if(Vr>Gn)for(;Vr<=Dn;)os(qe[Vr],$r,Yr,!0),Vr++;else{const Ei=Vr,Mi=Vr,as=new Map;for(Vr=Mi;Vr<=Gn;Vr++){const to=yt[Vr]=rn?bc(yt[Vr]):tl(yt[Vr]);to.key!=null&&as.set(to.key,Vr)}let ns,As=0;const Oo=Gn-Mi+1;let fa=!1,Wo=0;const da=new Array(Oo);for(Vr=0;Vr<Oo;Vr++)da[Vr]=0;for(Vr=Ei;Vr<=Dn;Vr++){const to=qe[Vr];if(As>=Oo){os(to,$r,Yr,!0);continue}let zr;if(to.key!=null)zr=as.get(to.key);else for(ns=Mi;ns<=Gn;ns++)if(da[ns-Mi]===0&&fp(to,yt[ns])){zr=ns;break}zr===void 0?os(to,$r,Yr,!0):(da[zr-Mi]=Vr+1,zr>=Wo?Wo=zr:fa=!0,Re(to,yt[zr],pr,null,$r,Yr,gn,Gr,rn),As++)}const Au=fa?bw(da):lh;for(ns=Au.length-1,Vr=Oo-1;Vr>=0;Vr--){const to=Mi+Vr,zr=yt[to],Ht=to+1<Yn?yt[to+1].el:gr;da[Vr]===0?Re(null,zr,pr,Ht,$r,Yr,gn,Gr,rn):fa&&(ns<0||Vr!==Au[ns]?Qi(zr,pr,Ht,2):ns--)}}},Qi=(qe,yt,pr,gr,$r=null)=>{const{el:Yr,type:gn,transition:Gr,children:rn,shapeFlag:Vr}=qe;if(Vr&6){Qi(qe.component.subTree,yt,pr,gr);return}if(Vr&128){qe.suspense.move(yt,pr,gr);return}if(Vr&64){gn.move(qe,yt,pr,xi);return}if(gn===ua){n(Yr,yt,pr);for(let Dn=0;Dn<rn.length;Dn++)Qi(rn[Dn],yt,pr,gr);n(qe.anchor,yt,pr);return}if(gn===Ig){kt(qe,yt,pr);return}if(gr!==2&&Vr&1&&Gr)if(gr===0)Gr.beforeEnter(Yr),n(Yr,yt,pr),Ca(()=>Gr.enter(Yr),$r);else{const{leave:Dn,delayLeave:Gn,afterLeave:Ei}=Gr,Mi=()=>n(Yr,yt,pr),as=()=>{Dn(Yr,()=>{Mi(),Ei&&Ei()})};Gn?Gn(Yr,Mi,as):as()}else n(Yr,yt,pr)},os=(qe,yt,pr,gr=!1,$r=!1)=>{const{type:Yr,props:gn,ref:Gr,children:rn,dynamicChildren:Vr,shapeFlag:Yn,patchFlag:Dn,dirs:Gn}=qe;if(Gr!=null&&_0(Gr,null,pr,qe,!0),Yn&256){yt.ctx.deactivate(qe);return}const Ei=Yn&1&&Gn,Mi=!of(qe);let as;if(Mi&&(as=gn&&gn.onVnodeBeforeUnmount)&&Gu(as,yt,qe),Yn&6)Cr(qe.component,pr,gr);else{if(Yn&128){qe.suspense.unmount(pr,gr);return}Ei&&up(qe,null,yt,"beforeUnmount"),Yn&64?qe.type.remove(qe,yt,pr,$r,xi,gr):Vr&&(Yr!==ua||Dn>0&&Dn&64)?mn(Vr,yt,pr,!1,!0):(Yr===ua&&Dn&384||!$r&&Yn&16)&&mn(rn,yt,pr),gr&&Es(qe)}(Mi&&(as=gn&&gn.onVnodeUnmounted)||Ei)&&Ca(()=>{as&&Gu(as,yt,qe),Ei&&up(qe,null,yt,"unmounted")},pr)},Es=qe=>{const{type:yt,el:pr,anchor:gr,transition:$r}=qe;if(yt===ua){ys(pr,gr);return}if(yt===Ig){qt(qe);return}const Yr=()=>{i(pr),$r&&!$r.persisted&&$r.afterLeave&&$r.afterLeave()};if(qe.shapeFlag&1&&$r&&!$r.persisted){const{leave:gn,delayLeave:Gr}=$r,rn=()=>gn(pr,Yr);Gr?Gr(qe.el,Yr,rn):rn()}else Yr()},ys=(qe,yt)=>{let pr;for(;qe!==yt;)pr=N(qe),i(qe),qe=pr;i(yt)},Cr=(qe,yt,pr)=>{const{bum:gr,scope:$r,update:Yr,subTree:gn,um:Gr}=qe;gr&&Md(gr),$r.stop(),Yr&&(Yr.active=!1,os(gn,qe,yt,pr)),Gr&&Ca(Gr,yt),Ca(()=>{qe.isUnmounted=!0},yt),yt&&yt.pendingBranch&&!yt.isUnmounted&&qe.asyncDep&&!qe.asyncResolved&&qe.suspenseId===yt.pendingId&&(yt.deps--,yt.deps===0&&yt.resolve())},mn=(qe,yt,pr,gr=!1,$r=!1,Yr=0)=>{for(let gn=Yr;gn<qe.length;gn++)os(qe[gn],yt,pr,gr,$r)},fn=qe=>qe.shapeFlag&6?fn(qe.component.subTree):qe.shapeFlag&128?qe.suspense.next():N(qe.anchor||qe.el),En=(qe,yt,pr)=>{qe==null?yt._vnode&&os(yt._vnode,null,null,!0):Re(yt._vnode||null,qe,yt,null,null,null,pr),lD(),ov(),yt._vnode=qe},xi={p:Re,um:os,m:Qi,r:Es,mt:Gi,mc:mr,pc:Mn,pbc:Rr,n:fn,o:r};let ss,$i;return e&&([ss,$i]=e(xi)),{render:En,hydrate:ss,createApp:Ow(En,ss)}}function lp({effect:r,update:e},t){r.allowRecurse=e.allowRecurse=t}function Av(r,e,t=!1){const n=r.children,i=e.children;if(ki(n)&&ki(i))for(let s=0;s<n.length;s++){const u=n[s];let p=i[s];p.shapeFlag&1&&!p.dynamicChildren&&((p.patchFlag<=0||p.patchFlag===32)&&(p=i[s]=bc(i[s]),p.el=u.el),t||Av(u,p)),p.type===Km&&(p.el=u.el)}}function bw(r){const e=r.slice(),t=[0];let n,i,s,u,p;const f=r.length;for(n=0;n<f;n++){const m=r[n];if(m!==0){if(i=t[t.length-1],r[i]<m){e[n]=i,t.push(n);continue}for(s=0,u=t.length-1;s<u;)p=s+u>>1,r[t[p]]<m?s=p+1:u=p;m<r[t[s]]&&(s>0&&(e[n]=t[s-1]),t[s]=n)}}for(s=t.length,u=t[s-1];s-- >0;)t[s]=u,u=e[u];return t}const vw=r=>r.__isTeleport,ua=Symbol(void 0),Km=Symbol(void 0),Ha=Symbol(void 0),Ig=Symbol(void 0),uf=[];let Du=null;function qs(r=!1){uf.push(Du=r?null:[])}function Cw(){uf.pop(),Du=uf[uf.length-1]||null}let Cf=1;function xD(r){Cf+=r}function wv(r){return r.dynamicChildren=Cf>0?Du||lh:null,Cw(),Cf>0&&Du&&Du.push(r),r}function Uo(r,e,t,n,i,s){return wv(Di(r,e,t,n,i,s,!0))}function bp(r,e,t,n,i){return wv(Ps(r,e,t,n,i,!0))}function um(r){return r?r.__v_isVNode===!0:!1}function fp(r,e){return r.type===e.type&&r.key===e.key}const eg="__vInternal",Pv=({key:r})=>r??null,Rd=({ref:r,ref_key:e,ref_for:t})=>r!=null?So(r)||no(r)||Zi(r)?{i:Xo,r,k:e,f:!!t}:r:null;function Di(r,e=null,t=null,n=0,i=null,s=r===ua?0:1,u=!1,p=!1){const f={__v_isVNode:!0,__v_skip:!0,type:r,props:e,key:e&&Pv(e),ref:e&&Rd(e),scopeId:lv,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Xo};return p?(rO(f,t),s&128&&r.normalize(f)):t&&(f.shapeFlag|=So(t)?8:16),Cf>0&&!u&&Du&&(f.patchFlag>0||s&6)&&f.patchFlag!==32&&Du.push(f),f}const Ps=Sw;function Sw(r,e=null,t=null,n=0,i=null,s=!1){if((!r||r===iw)&&(r=Ha),um(r)){const p=Nc(r,e,!0);return t&&rO(p,t),Cf>0&&!s&&Du&&(p.shapeFlag&6?Du[Du.indexOf(r)]=p:Du.push(p)),p.patchFlag|=-2,p}if(Nw(r)&&(r=r.__vccOpts),e){e=Ew(e);let{class:p,style:f}=e;p&&!So(p)&&(e.class=xh(p)),js(f)&&(Jb(f)&&!ki(f)&&(f=na({},f)),e.style=Rf(f))}const u=So(r)?1:RA(r)?128:vw(r)?64:js(r)?4:Zi(r)?2:0;return Di(r,e,t,n,i,u,s,!0)}function Ew(r){return r?Jb(r)||eg in r?na({},r):r:null}function Nc(r,e,t=!1){const{props:n,ref:i,patchFlag:s,children:u}=r,p=e?Aw(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:p,key:p&&Pv(p),ref:e&&e.ref?t&&i?ki(i)?i.concat(Rd(e)):[i,Rd(e)]:Rd(e):i,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:u,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:e&&r.type!==ua?s===-1?16:s|16:s,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&Nc(r.ssContent),ssFallback:r.ssFallback&&Nc(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function yu(r=" ",e=0){return Ps(Km,null,r,e)}function lf(r="",e=!1){return e?(qs(),bp(Ha,null,r)):Ps(Ha,null,r)}function tl(r){return r==null||typeof r=="boolean"?Ps(Ha):ki(r)?Ps(ua,null,r.slice()):typeof r=="object"?bc(r):Ps(Km,null,String(r))}function bc(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:Nc(r)}function rO(r,e){let t=0;const{shapeFlag:n}=r;if(e==null)e=null;else if(ki(e))t=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),rO(r,i()),i._c&&(i._d=!0));return}else{t=32;const i=e._;!i&&!(eg in e)?e._ctx=Xo:i===3&&Xo&&(Xo.slots._===1?e._=1:(e._=2,r.patchFlag|=1024))}else Zi(e)?(e={default:e,_ctx:Xo},t=32):(e=String(e),n&64?(t=16,e=[yu(e)]):t=8);r.children=e,r.shapeFlag|=t}function Aw(...r){const e={};for(let t=0;t<r.length;t++){const n=r[t];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=xh([e.class,n.class]));else if(i==="style")e.style=Rf([e.style,n.style]);else if(Xm(i)){const s=e[i],u=n[i];u&&s!==u&&!(ki(s)&&s.includes(u))&&(e[i]=s?[].concat(s,u):u)}else i!==""&&(e[i]=n[i])}return e}function Gu(r,e,t,n=null){Ga(r,e,7,[t,n])}const ww=Ev();let Pw=0;function Tw(r,e,t){const n=r.type,i=(e?e.appContext:r.appContext)||ww,s={uid:Pw++,vnode:r,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new qE(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bv(n,i),emitsOptions:uv(n,i),emit:null,emitted:null,propsDefaults:Vs,inheritAttrs:n.inheritAttrs,ctx:Vs,data:Vs,props:Vs,attrs:Vs,slots:Vs,refs:Vs,setupState:Vs,setupContext:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=IA.bind(null,s),r.ce&&r.ce(s),s}let uo=null;const tg=()=>uo||Xo,vh=r=>{uo=r,r.scope.on()},vp=()=>{uo&&uo.scope.off(),uo=null};function Tv(r){return r.vnode.shapeFlag&4}let Sf=!1;function kw(r,e=!1){Sf=e;const{props:t,children:n}=r.vnode,i=Tv(r);hw(r,t,i,e),mw(r,n);const s=i?Fw(r,e):void 0;return Sf=!1,s}function Fw(r,e){const t=r.type;r.accessCache=Object.create(null),r.proxy=Kb(new Proxy(r.ctx,ow));const{setup:n}=t;if(n){const i=r.setupContext=n.length>1?_w(r):null;vh(r),_h();const s=Fc(n,r,0,[r.props,i]);if($h(),vp(),jb(s)){if(s.then(vp,vp),e)return s.then(u=>{bD(r,u,e)}).catch(u=>{zm(u,r,0)});r.asyncDep=s}else bD(r,s,e)}else kv(r,e)}function bD(r,e,t){Zi(e)?r.type.__ssrInlineRender?r.ssrRender=e:r.render=e:js(e)&&(r.setupState=tv(e)),kv(r,t)}let vD;function kv(r,e,t){const n=r.type;if(!r.render){if(!e&&vD&&!n.render){const i=n.template||eO(r).template;if(i){const{isCustomElement:s,compilerOptions:u}=r.appContext.config,{delimiters:p,compilerOptions:f}=n,m=na(na({isCustomElement:s,delimiters:p},u),f);n.render=vD(i,m)}}r.render=n.render||bu}vh(r),_h(),aw(r),$h(),vp()}function Bw(r){return new Proxy(r.attrs,{get(e,t){return Aa(r,"get","$attrs"),e[t]}})}function _w(r){const e=n=>{r.exposed=n||{}};let t;return{get attrs(){return t||(t=Bw(r))},slots:r.slots,emit:r.emit,expose:e}}function rg(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(tv(Kb(r.exposed)),{get(e,t){if(t in e)return e[t];if(t in af)return af[t](r)},has(e,t){return t in e||t in af}}))}function $w(r,e=!0){return Zi(r)?r.displayName||r.name:r.name||e&&r.__name}function Nw(r){return Zi(r)&&"__vccOpts"in r}const Cs=(r,e)=>kA(r,e,Sf);function nO(r,e,t){const n=arguments.length;return n===2?js(e)&&!ki(e)?um(e)?Ps(r,null,[e]):Ps(r,e):Ps(r,null,e):(n>3?t=Array.prototype.slice.call(arguments,2):n===3&&um(t)&&(t=[t]),Ps(r,e,t))}const Iw=Symbol(""),Qw=()=>ul(Iw),jw="3.2.47",Mw="http://www.w3.org/2000/svg",dp=typeof document<"u"?document:null,CD=dp&&dp.createElement("template"),Lw={insert:(r,e,t)=>{e.insertBefore(r,t||null)},remove:r=>{const e=r.parentNode;e&&e.removeChild(r)},createElement:(r,e,t,n)=>{const i=e?dp.createElementNS(Mw,r):dp.createElement(r,t?{is:t}:void 0);return r==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:r=>dp.createTextNode(r),createComment:r=>dp.createComment(r),setText:(r,e)=>{r.nodeValue=e},setElementText:(r,e)=>{r.textContent=e},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>dp.querySelector(r),setScopeId(r,e){r.setAttribute(e,"")},insertStaticContent(r,e,t,n,i,s){const u=t?t.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),t),!(i===s||!(i=i.nextSibling)););else{CD.innerHTML=n?`<svg>${r}</svg>`:r;const p=CD.content;if(n){const f=p.firstChild;for(;f.firstChild;)p.appendChild(f.firstChild);p.removeChild(f)}e.insertBefore(p,t)}return[u?u.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}};function Rw(r,e,t){const n=r._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?r.removeAttribute("class"):t?r.setAttribute("class",e):r.className=e}function Vw(r,e,t){const n=r.style,i=So(t);if(t&&!i){if(e&&!So(e))for(const s in e)t[s]==null&&$0(n,s,"");for(const s in t)$0(n,s,t[s])}else{const s=n.display;i?e!==t&&(n.cssText=t):e&&r.removeAttribute("style"),"_vod"in r&&(n.display=s)}}const SD=/\s*!important$/;function $0(r,e,t){if(ki(t))t.forEach(n=>$0(r,e,n));else if(t==null&&(t=""),e.startsWith("--"))r.setProperty(e,t);else{const n=Xw(r,e);SD.test(t)?r.setProperty(Bh(n),t.replace(SD,""),"important"):r[n]=t}}const ED=["Webkit","Moz","ms"],Qg={};function Xw(r,e){const t=Qg[e];if(t)return t;let n=pl(e);if(n!=="filter"&&n in r)return Qg[e]=n;n=qm(n);for(let i=0;i<ED.length;i++){const s=ED[i]+n;if(s in r)return Qg[e]=s}return e}const AD="http://www.w3.org/1999/xlink";function Uw(r,e,t,n,i){if(n&&e.startsWith("xlink:"))t==null?r.removeAttributeNS(AD,e.slice(6,e.length)):r.setAttributeNS(AD,e,t);else{const s=IE(e);t==null||s&&!Nb(t)?r.removeAttribute(e):r.setAttribute(e,s?"":t)}}function Ww(r,e,t,n,i,s,u){if(e==="innerHTML"||e==="textContent"){n&&u(n,i,s),r[e]=t??"";return}if(e==="value"&&r.tagName!=="PROGRESS"&&!r.tagName.includes("-")){r._value=t;const f=t??"";(r.value!==f||r.tagName==="OPTION")&&(r.value=f),t==null&&r.removeAttribute(e);return}let p=!1;if(t===""||t==null){const f=typeof r[e];f==="boolean"?t=Nb(t):t==null&&f==="string"?(t="",p=!0):f==="number"&&(t=0,p=!0)}try{r[e]=t}catch{}p&&r.removeAttribute(e)}function Fv(r,e,t,n){r.addEventListener(e,t,n)}function qw(r,e,t,n){r.removeEventListener(e,t,n)}function Zw(r,e,t,n,i=null){const s=r._vei||(r._vei={}),u=s[e];if(n&&u)u.value=n;else{const[p,f]=zw(e);if(n){const m=s[e]=Hw(n,i);Fv(r,p,m,f)}else u&&(qw(r,p,u,f),s[e]=void 0)}}const wD=/(?:Once|Passive|Capture)$/;function zw(r){let e;if(wD.test(r)){e={};let n;for(;n=r.match(wD);)r=r.slice(0,r.length-n[0].length),e[n[0].toLowerCase()]=!0}return[r[2]===":"?r.slice(3):Bh(r.slice(2)),e]}let jg=0;const Yw=Promise.resolve(),Gw=()=>jg||(Yw.then(()=>jg=0),jg=Date.now());function Hw(r,e){const t=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=t.attached)return;Ga(Jw(n,t.value),e,5,[n])};return t.value=r,t.attached=Gw(),t}function Jw(r,e){if(ki(e)){const t=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{t.call(r),r._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const PD=/^on[a-z]/,Kw=(r,e,t,n,i=!1,s,u,p,f)=>{e==="class"?Rw(r,n,i):e==="style"?Vw(r,t,n):Xm(e)?My(e)||Zw(r,e,t,n,u):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):eP(r,e,n,i))?Ww(r,e,n,s,u,p,f):(e==="true-value"?r._trueValue=n:e==="false-value"&&(r._falseValue=n),Uw(r,e,n,i))};function eP(r,e,t,n){return n?!!(e==="innerHTML"||e==="textContent"||e in r&&PD.test(e)&&Zi(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&r.tagName==="INPUT"||e==="type"&&r.tagName==="TEXTAREA"||PD.test(e)&&So(t)?!1:e in r}const tP={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};qA.props;const TD=r=>{const e=r.props["onUpdate:modelValue"]||!1;return ki(e)?t=>Md(e,t):e},rP={deep:!0,created(r,e,t){r._assign=TD(t),Fv(r,"change",()=>{const n=r._modelValue,i=nP(r),s=r.checked,u=r._assign;if(ki(n)){const p=Ib(n,i),f=p!==-1;if(s&&!f)u(n.concat(i));else if(!s&&f){const m=[...n];m.splice(p,1),u(m)}}else if(Um(n)){const p=new Set(n);s?p.add(i):p.delete(i),u(p)}else u(Bv(r,s))})},mounted:kD,beforeUpdate(r,e,t){r._assign=TD(t),kD(r,e,t)}};function kD(r,{value:e,oldValue:t},n){r._modelValue=e,ki(e)?r.checked=Ib(e,n.props.value)>-1:Um(e)?r.checked=e.has(n.props.value):e!==t&&(r.checked=Vm(e,Bv(r,!0)))}function nP(r){return"_value"in r?r._value:r.value}function Bv(r,e){const t=e?"_trueValue":"_falseValue";return t in r?r[t]:e}const iP=na({patchProp:Kw},Lw);let FD;function sP(){return FD||(FD=Dw(iP))}const oP=(...r)=>{const e=sP().createApp(...r),{mount:t}=e;return e.mount=n=>{const i=aP(n);if(!i)return;const s=e._component;!Zi(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const u=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),u},e};function aP(r){return So(r)?document.querySelector(r):r}function hd(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const uP=/^\[(.+?)~?="(.*)"\]$/,lP=/[\w\u00A0-\uFFFF-_:%-?]/;function cP(r){return r.match(uP)}function uQ(r=""){return lP.test(r)}const fd={};function pP(r=["-",":"]){const e=r.join("|");return fd[e]||(fd[e]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),fd[e].lastIndex=0,fd[e]}const hP=/([\\:]?[\s"'`;<>]|:\(|\)"|\)\s)/g;var ql=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ng(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var BD={exports:{}};(function(r,e){(function(t,n){n(e)})(ql,function(t){const n=",".charCodeAt(0),i=";".charCodeAt(0),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=new Uint8Array(64),p=new Uint8Array(128);for(let $e=0;$e<s.length;$e++){const gt=s.charCodeAt($e);u[$e]=gt,p[gt]=$e}const f=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode($e){return Buffer.from($e.buffer,$e.byteOffset,$e.byteLength).toString()}}:{decode($e){let gt="";for(let kt=0;kt<$e.length;kt++)gt+=String.fromCharCode($e[kt]);return gt}};function m($e){const gt=new Int32Array(5),kt=[];let qt=0;do{const Yt=O($e,qt),Pr=[];let vr=!0,mr=0;gt[0]=0;for(let kr=qt;kr<Yt;kr++){let Rr;kr=b($e,kr,gt,0);const dn=gt[0];dn<mr&&(vr=!1),mr=dn,N($e,kr,Yt)?(kr=b($e,kr,gt,1),kr=b($e,kr,gt,2),kr=b($e,kr,gt,3),N($e,kr,Yt)?(kr=b($e,kr,gt,4),Rr=[dn,gt[1],gt[2],gt[3],gt[4]]):Rr=[dn,gt[1],gt[2],gt[3]]):Rr=[dn],Pr.push(Rr)}vr||U(Pr),kt.push(Pr),qt=Yt+1}while(qt<=$e.length);return kt}function O($e,gt){const kt=$e.indexOf(";",gt);return kt===-1?$e.length:kt}function b($e,gt,kt,qt){let Yt=0,Pr=0,vr=0;do{const kr=$e.charCodeAt(gt++);vr=p[kr],Yt|=(vr&31)<<Pr,Pr+=5}while(vr&32);const mr=Yt&1;return Yt>>>=1,mr&&(Yt=-2147483648|-Yt),kt[qt]+=Yt,gt}function N($e,gt,kt){return gt>=kt?!1:$e.charCodeAt(gt)!==n}function U($e){$e.sort(he)}function he($e,gt){return $e[0]-gt[0]}function Re($e){const gt=new Int32Array(5),kt=1024*16,qt=kt-36,Yt=new Uint8Array(kt),Pr=Yt.subarray(0,qt);let vr=0,mr="";for(let kr=0;kr<$e.length;kr++){const Rr=$e[kr];if(kr>0&&(vr===kt&&(mr+=f.decode(Yt),vr=0),Yt[vr++]=i),Rr.length!==0){gt[0]=0;for(let dn=0;dn<Rr.length;dn++){const Nn=Rr[dn];vr>qt&&(mr+=f.decode(Pr),Yt.copyWithin(0,qt,vr),vr-=qt),dn>0&&(Yt[vr++]=n),vr=Ge(Yt,vr,gt,Nn,0),Nn.length!==1&&(vr=Ge(Yt,vr,gt,Nn,1),vr=Ge(Yt,vr,gt,Nn,2),vr=Ge(Yt,vr,gt,Nn,3),Nn.length!==4&&(vr=Ge(Yt,vr,gt,Nn,4)))}}}return mr+f.decode(Yt.subarray(0,vr))}function Ge($e,gt,kt,qt,Yt){const Pr=qt[Yt];let vr=Pr-kt[Yt];kt[Yt]=Pr,vr=vr<0?-vr<<1|1:vr<<1;do{let mr=vr&31;vr>>>=5,vr>0&&(mr|=32),$e[gt++]=u[mr]}while(vr>0);return gt}t.decode=m,t.encode=Re,Object.defineProperty(t,"__esModule",{value:!0})})})(BD,BD.exports);const fP=/(?:[\w&:[\]-]|\[\S+=\S+\])+\[\\?['"]?\S+?['"]\]\]?[\w:-]*/g,dP=/\[(\\\W|[\w-])+:[^\s:]*?("\S+?"|'\S+?'|`\S+?`|[^\s:]+?)[^\s:]*?\)?\]/g;function mP(r,e,t){const n=[];return e.forEach(i=>{if(i.includes(":"))i===r&&n.push([t,t+i.length,i]);else{const u=new RegExp(`.(${i})[.#=s(]|.(${i})$`).exec(r);u?n.push([t+u.index+1,t+u.index+i.length+1,i]):i===r&&n.push([t,t+i.length,i])}}),n}function gP(r,e,t=!1,n=!1,i=void 0){const s=[],u=[],p=new Set;Array.from(e).forEach(O=>{const b=cP(O);b?b[2]?u.push(b):(f(b[1]),p.add(b[1])):(f(O),p.add(O))});function f(O){if(O.match(/[><]/))for(const b of r.matchAll(new RegExp(hd(O),"g"))){const N=b.index,U=N+b[0].length;s.push([N,U,b[0]])}}let m=0;r.split(hP).forEach(O=>{const b=m+O.length;n?s.push(...mP(O,p,m)):p.has(O)&&s.push([m,b,O]),m=b});for(const O of r.matchAll(fP)){const b=O.index,N=b+O[0].length;p.has(O[0])&&s.push([b,N,O[0]])}for(const O of r.matchAll(dP)){const b=O.index,N=b+O[0].length;p.has(O[0])&&s.findIndex(([he,Re])=>he===b&&Re===N)<0&&s.push([b,N,O[0]])}return t&&Array.from(r.matchAll(pP(i==null?void 0:i.config.separators))).forEach(O=>{const[,b,N,U]=O;let Re=O.index+b.length+N.length+1;U.split(/([\s"'`;*]|:\(|\)"|\)\s)/g).forEach(Ge=>{const $e=Re+Ge.length,gt=b+N+Ge;if(p.has(gt)){const kt=s.findIndex(([qt,Yt])=>qt===Re&&Yt===$e);kt<0?s.push([Re,$e,gt]):s[kt][2]=gt}Re=$e})}),u.forEach(([,O,b])=>{const N=new RegExp(`(${hd(O)}=)(['"])[^\\2]*?${hd(b)}[^\\2]*?\\2`,"g");Array.from(r.matchAll(N)).forEach(U=>{var kt,qt;const he=U[1],Re=U[0].slice(he.length);let Ge=((kt=Re.match(`[\\b\\s'"]${hd(b)}[\\b\\s'"]`))==null?void 0:kt.index)??-1;if((qt=Re[Ge])!=null&&qt.match(/[\s'"]/)&&Ge++,Ge<0)return;const $e=U.index+he.length+Ge,gt=$e+b.length;s.push([$e,gt,`[${O}="${b}"]`])})}),s.sort((O,b)=>O[0]-b[0])}class ms{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),il.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),il.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new cf(this),s=new cf(e);for(let u=t,p=t;;){if(i.next(u),s.next(u),u=0,i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return!1;if(p+=i.value.length,i.done||p>=n)return!0}}iter(e=1){return new cf(this,e)}iterRange(e,t=this.length){return new _v(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new $v(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ms.empty:e.length<=32?new ao(e):il.from(ao.split(e,[]))}}class ao extends ms{constructor(e,t=yP(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let s=0;;s++){let u=this.text[s],p=i+u.length;if((t?n:p)>=e)return new OP(i,p,n,u);i=p+1,n++}}decompose(e,t,n,i){let s=e<=0&&t>=this.length?this:new ao(_D(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(i&1){let u=n.pop(),p=Vd(s.text,u.text.slice(),0,s.length);if(p.length<=32)n.push(new ao(p,u.length+s.length));else{let f=p.length>>1;n.push(new ao(p.slice(0,f)),new ao(p.slice(f)))}}else n.push(s)}replace(e,t,n){if(!(n instanceof ao))return super.replace(e,t,n);let i=Vd(this.text,Vd(n.text,_D(this.text,0,e)),t),s=this.length+n.length-(t-e);return i.length<=32?new ao(i,s):il.from(ao.split(i,[]),s)}sliceString(e,t=this.length,n=`
|
|
`){let i="";for(let s=0,u=0;s<=t&&u<this.text.length;u++){let p=this.text[u],f=s+p.length;s>e&&u&&(i+=n),e<f&&t>s&&(i+=p.slice(Math.max(0,e-s),t-s)),s=f+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let s of e)n.push(s),i+=s.length+1,n.length==32&&(t.push(new ao(n,i)),n=[],i=-1);return i>-1&&t.push(new ao(n,i)),t}}class il extends ms{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,i){for(let s=0;;s++){let u=this.children[s],p=i+u.length,f=n+u.lines-1;if((t?f:p)>=e)return u.lineInner(e,t,n,i);i=p+1,n=f+1}}decompose(e,t,n,i){for(let s=0,u=0;u<=t&&s<this.children.length;s++){let p=this.children[s],f=u+p.length;if(e<=f&&t>=u){let m=i&((u<=e?1:0)|(f>=t?2:0));u>=e&&f<=t&&!m?n.push(p):p.decompose(e-u,t-u,n,m)}u=f+1}}replace(e,t,n){if(n.lines<this.lines)for(let i=0,s=0;i<this.children.length;i++){let u=this.children[i],p=s+u.length;if(e>=s&&t<=p){let f=u.replace(e-s,t-s,n),m=this.lines-u.lines+f.lines;if(f.lines<m>>5-1&&f.lines>m>>5+1){let O=this.children.slice();return O[i]=f,new il(O,this.length-(t-e)+n.length)}return super.replace(s,p,f)}s=p+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=`
|
|
`){let i="";for(let s=0,u=0;s<this.children.length&&u<=t;s++){let p=this.children[s],f=u+p.length;u>e&&s&&(i+=n),e<f&&t>u&&(i+=p.sliceString(e-u,t-u,n)),u=f+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof il))return 0;let n=0,[i,s,u,p]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,s+=t){if(i==u||s==p)return n;let f=this.children[i],m=e.children[s];if(f!=m)return n+f.scanIdentical(m,t);n+=f.length+1}}static from(e,t=e.reduce((n,i)=>n+i.length+1,-1)){let n=0;for(let U of e)n+=U.lines;if(n<32){let U=[];for(let he of e)he.flatten(U);return new ao(U,t)}let i=Math.max(32,n>>5),s=i<<1,u=i>>1,p=[],f=0,m=-1,O=[];function b(U){let he;if(U.lines>s&&U instanceof il)for(let Re of U.children)b(Re);else U.lines>u&&(f>u||!f)?(N(),p.push(U)):U instanceof ao&&f&&(he=O[O.length-1])instanceof ao&&U.lines+he.lines<=32?(f+=U.lines,m+=U.length+1,O[O.length-1]=new ao(he.text.concat(U.text),he.length+1+U.length)):(f+U.lines>i&&N(),f+=U.lines,m+=U.length+1,O.push(U))}function N(){f!=0&&(p.push(O.length==1?O[0]:il.from(O,m)),m=-1,f=O.length=0)}for(let U of e)b(U);return N(),p.length==1?p[0]:new il(p,t)}}ms.empty=new ao([""],0);function yP(r){let e=-1;for(let t of r)e+=t.length+1;return e}function Vd(r,e,t=0,n=1e9){for(let i=0,s=0,u=!0;s<r.length&&i<=n;s++){let p=r[s],f=i+p.length;f>=t&&(f>n&&(p=p.slice(0,n-i)),i<t&&(p=p.slice(t-i)),u?(e[e.length-1]+=p,u=!1):e.push(p)),i=f+1}return e}function _D(r,e,t){return Vd(r,[""],e,t)}class cf{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof ao?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],s=this.offsets[n],u=s>>1,p=i instanceof ao?i.text.length:i.children.length;if(u==(t>0?p:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=`
|
|
`,this;e--}else if(i instanceof ao){let f=i.text[u+(t<0?-1:0)];if(this.offsets[n]+=t,f.length>Math.max(0,e))return this.value=e==0?f:t>0?f.slice(e):f.slice(0,f.length-e),this;e-=f.length}else{let f=i.children[u+(t<0?-1:0)];e>f.length?(e-=f.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(f),this.offsets.push(t>0?1:(f instanceof ao?f.text.length:f.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class _v{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new cf(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class $v{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ms.prototype[Symbol.iterator]=function(){return this.iter()},cf.prototype[Symbol.iterator]=_v.prototype[Symbol.iterator]=$v.prototype[Symbol.iterator]=function(){return this});class OP{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let dh="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(r=>r?parseInt(r,36):1);for(let r=1;r<dh.length;r++)dh[r]+=dh[r-1];function DP(r){for(let e=1;e<dh.length;e+=2)if(dh[e]>r)return dh[e-1]<=r;return!1}function $D(r){return r>=127462&&r<=127487}const ND=8205;function la(r,e,t=!0,n=!0){return(t?Nv:xP)(r,e,n)}function Nv(r,e,t){if(e==r.length)return e;e&&Iv(r.charCodeAt(e))&&Qv(r.charCodeAt(e-1))&&e--;let n=Lo(r,e);for(e+=Ma(n);e<r.length;){let i=Lo(r,e);if(n==ND||i==ND||t&&DP(i))e+=Ma(i),n=i;else if($D(i)){let s=0,u=e-2;for(;u>=0&&$D(Lo(r,u));)s++,u-=2;if(s%2==0)break;e+=2}else break}return e}function xP(r,e,t){for(;e>0;){let n=Nv(r,e-2,t);if(n<e)return n;e--}return 0}function Iv(r){return r>=56320&&r<57344}function Qv(r){return r>=55296&&r<56320}function Lo(r,e){let t=r.charCodeAt(e);if(!Qv(t)||e+1==r.length)return t;let n=r.charCodeAt(e+1);return Iv(n)?(t-55296<<10)+(n-56320)+65536:t}function iO(r){return r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode((r>>10)+55296,(r&1023)+56320))}function Ma(r){return r<65536?1:2}const N0=/\r\n?|\n/;var Vo=function(r){return r[r.Simple=0]="Simple",r[r.TrackDel=1]="TrackDel",r[r.TrackBefore=2]="TrackBefore",r[r.TrackAfter=3]="TrackAfter",r}(Vo||(Vo={}));class ll{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,i=0;t<this.sections.length;){let s=this.sections[t++],u=this.sections[t++];u<0?(e(n,i,s),i+=s):i+=u,n+=s}}iterChangedRanges(e,t=!1){I0(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];i<0?e.push(n,i):e.push(i,n)}return new ll(e)}composeDesc(e){return this.empty?e:e.empty?this:jv(this,e)}mapDesc(e,t=!1){return e.empty?this:Q0(this,e,t)}mapPos(e,t=-1,n=Vo.Simple){let i=0,s=0;for(let u=0;u<this.sections.length;){let p=this.sections[u++],f=this.sections[u++],m=i+p;if(f<0){if(m>e)return s+(e-i);s+=p}else{if(n!=Vo.Simple&&m>=e&&(n==Vo.TrackDel&&i<e&&m>e||n==Vo.TrackBefore&&i<e||n==Vo.TrackAfter&&m>e))return null;if(m>e||m==e&&t<0&&!p)return e==i||t<0?s:s+f;s+=f}i=m}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return s}touchesRange(e,t=e){for(let n=0,i=0;n<this.sections.length&&i<=t;){let s=this.sections[n++],u=this.sections[n++],p=i+s;if(u>=0&&i<=t&&p>=e)return i<e&&p>t?"cover":!0;i=p}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];e+=(e?" ":"")+n+(i>=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new ll(e)}static create(e){return new ll(e)}}class bo extends ll{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return I0(this,(t,n,i,s,u)=>e=e.replace(i,i+(n-t),u),!1),e}mapDesc(e,t=!1){return Q0(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i<t.length;i+=2){let u=t[i],p=t[i+1];if(p>=0){t[i]=p,t[i+1]=u;let f=i>>1;for(;n.length<f;)n.push(ms.empty);n.push(u?e.slice(s,s+u):ms.empty)}s+=u}return new bo(t,n)}compose(e){return this.empty?e:e.empty?this:jv(this,e,!0)}map(e,t=!1){return e.empty?this:Q0(this,e,t,!0)}iterChanges(e,t=!1){I0(this,e,t)}get desc(){return ll.create(this.sections)}filter(e){let t=[],n=[],i=[],s=new Ef(this);e:for(let u=0,p=0;;){let f=u==e.length?1e9:e[u++];for(;p<f||p==f&&s.len==0;){if(s.done)break e;let O=Math.min(s.len,f-p);ea(i,O,-1);let b=s.ins==-1?-1:s.off==0?s.ins:0;ea(t,O,b),b>0&&Ac(n,t,s.text),s.forward(O),p+=O}let m=e[u++];for(;p<m;){if(s.done)break e;let O=Math.min(s.len,m-p);ea(t,O,-1),ea(i,O,s.ins==-1?-1:s.off==0?s.ins:0),s.forward(O),p+=O}}return{changes:new bo(t,n),filtered:ll.create(i)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],i=this.sections[t+1];i<0?e.push(n):i==0?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],u=0,p=null;function f(O=!1){if(!O&&!i.length)return;u<t&&ea(i,t-u,-1);let b=new bo(i,s);p=p?p.compose(b.map(p)):b,i=[],s=[],u=0}function m(O){if(Array.isArray(O))for(let b of O)m(b);else if(O instanceof bo){if(O.length!=t)throw new RangeError(`Mismatched change set length (got ${O.length}, expected ${t})`);f(),p=p?p.compose(O.map(p)):O}else{let{from:b,to:N=b,insert:U}=O;if(b>N||b<0||N>t)throw new RangeError(`Invalid change range ${b} to ${N} (in doc of length ${t})`);let he=U?typeof U=="string"?ms.of(U.split(n||N0)):U:ms.empty,Re=he.length;if(b==N&&Re==0)return;b<u&&f(),b>u&&ea(i,b-u,-1),ea(i,N-b,Re),Ac(s,i,he),u=N}}return m(e),f(!p),p}static empty(e){return new bo(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;i<e.length;i++){let s=e[i];if(typeof s=="number")t.push(s,-1);else{if(!Array.isArray(s)||typeof s[0]!="number"||s.some((u,p)=>p&&typeof u!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)t.push(s[0],0);else{for(;n.length<i;)n.push(ms.empty);n[i]=ms.of(s.slice(1)),t.push(s[0],n[i].length)}}}return new bo(t,n)}static createSet(e,t){return new bo(e,t)}}function ea(r,e,t,n=!1){if(e==0&&t<=0)return;let i=r.length-2;i>=0&&t<=0&&t==r[i+1]?r[i]+=e:e==0&&r[i]==0?r[i+1]+=t:n?(r[i]+=e,r[i+1]+=t):r.push(e,t)}function Ac(r,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n<r.length)r[r.length-1]=r[r.length-1].append(t);else{for(;r.length<n;)r.push(ms.empty);r.push(t)}}function I0(r,e,t){let n=r.inserted;for(let i=0,s=0,u=0;u<r.sections.length;){let p=r.sections[u++],f=r.sections[u++];if(f<0)i+=p,s+=p;else{let m=i,O=s,b=ms.empty;for(;m+=p,O+=f,f&&n&&(b=b.append(n[u-2>>1])),!(t||u==r.sections.length||r.sections[u+1]<0);)p=r.sections[u++],f=r.sections[u++];e(i,m,s,O,b),i=m,s=O}}}function Q0(r,e,t,n=!1){let i=[],s=n?[]:null,u=new Ef(r),p=new Ef(e);for(let f=-1;;)if(u.ins==-1&&p.ins==-1){let m=Math.min(u.len,p.len);ea(i,m,-1),u.forward(m),p.forward(m)}else if(p.ins>=0&&(u.ins<0||f==u.i||u.off==0&&(p.len<u.len||p.len==u.len&&!t))){let m=p.len;for(ea(i,p.ins,-1);m;){let O=Math.min(u.len,m);u.ins>=0&&f<u.i&&u.len<=O&&(ea(i,0,u.ins),s&&Ac(s,i,u.text),f=u.i),u.forward(O),m-=O}p.next()}else if(u.ins>=0){let m=0,O=u.len;for(;O;)if(p.ins==-1){let b=Math.min(O,p.len);m+=b,O-=b,p.forward(b)}else if(p.ins==0&&p.len<O)O-=p.len,p.next();else break;ea(i,m,f<u.i?u.ins:0),s&&f<u.i&&Ac(s,i,u.text),f=u.i,u.forward(u.len-O)}else{if(u.done&&p.done)return s?bo.createSet(i,s):ll.create(i);throw new Error("Mismatched change set lengths")}}function jv(r,e,t=!1){let n=[],i=t?[]:null,s=new Ef(r),u=new Ef(e);for(let p=!1;;){if(s.done&&u.done)return i?bo.createSet(n,i):ll.create(n);if(s.ins==0)ea(n,s.len,0,p),s.next();else if(u.len==0&&!u.done)ea(n,0,u.ins,p),i&&Ac(i,n,u.text),u.next();else{if(s.done||u.done)throw new Error("Mismatched change set lengths");{let f=Math.min(s.len2,u.len),m=n.length;if(s.ins==-1){let O=u.ins==-1?-1:u.off?0:u.ins;ea(n,f,O,p),i&&O&&Ac(i,n,u.text)}else u.ins==-1?(ea(n,s.off?0:s.len,f,p),i&&Ac(i,n,s.textBit(f))):(ea(n,s.off?0:s.len,u.off?0:u.ins,p),i&&!u.off&&Ac(i,n,u.text));p=(s.ins>f||u.ins>=0&&u.len>f)&&(p||n.length>m),s.forward2(f),u.forward(f)}}}}class Ef{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?ms.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?ms.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Op{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new Op(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return Tr.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return Tr.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Tr.range(e.anchor,e.head)}static create(e,t,n){return new Op(e,t,n)}}class Tr{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:Tr.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;t<this.ranges.length;t++)if(!this.ranges[t].eq(e.ranges[t]))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new Tr([this.main],0)}addRange(e,t=!0){return Tr.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,Tr.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Tr(e.ranges.map(t=>Op.fromJSON(t)),e.main)}static single(e,t=e){return new Tr([Tr.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;i<e.length;i++){let s=e[i];if(s.empty?s.from<=n:s.from<n)return Tr.normalized(e.slice(),t);n=s.to}return new Tr(e,t)}static cursor(e,t=0,n,i){return Op.create(e,e,(t==0?0:t<0?4:8)|(n==null?3:Math.min(2,n))|(i??33554431)<<5)}static range(e,t,n,i){let s=(n??33554431)<<5|(i==null?3:Math.min(2,i));return t<e?Op.create(t,e,24|s):Op.create(e,t,(t>e?4:0)|s)}static normalized(e,t=0){let n=e[t];e.sort((i,s)=>i.from-s.from),t=e.indexOf(n);for(let i=1;i<e.length;i++){let s=e[i],u=e[i-1];if(s.empty?s.from<=u.to:s.from<u.to){let p=u.from,f=Math.max(s.to,u.to);i<=t&&t--,e.splice(--i,2,s.anchor>s.head?Tr.range(f,p):Tr.range(p,f))}}return new Tr(e,t)}}function Mv(r,e){for(let t of r.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let sO=0;class ei{constructor(e,t,n,i,s){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=sO++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new ei(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:oO),!!e.static,e.enables)}of(e){return new Xd([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Xd(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new Xd(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function oO(r,e){return r==e||r.length==e.length&&r.every((t,n)=>t===e[n])}class Xd{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=sO++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,s=this.id,u=e[s]>>1,p=this.type==2,f=!1,m=!1,O=[];for(let b of this.dependencies)b=="doc"?f=!0:b=="selection"?m=!0:((t=e[b.id])!==null&&t!==void 0?t:1)&1||O.push(e[b.id]);return{create(b){return b.values[u]=n(b),1},update(b,N){if(f&&N.docChanged||m&&(N.docChanged||N.selection)||j0(b,O)){let U=n(b);if(p?!ID(U,b.values[u],i):!i(U,b.values[u]))return b.values[u]=U,1}return 0},reconfigure:(b,N)=>{let U,he=N.config.address[s];if(he!=null){let Re=cm(N,he);if(this.dependencies.every(Ge=>Ge instanceof ei?N.facet(Ge)===b.facet(Ge):Ge instanceof Eo?N.field(Ge,!1)==b.field(Ge,!1):!0)||(p?ID(U=n(b),Re,i):i(U=n(b),Re)))return b.values[u]=Re,0}else U=n(b);return b.values[u]=U,1}}}}function ID(r,e,t){if(r.length!=e.length)return!1;for(let n=0;n<r.length;n++)if(!t(r[n],e[n]))return!1;return!0}function j0(r,e){let t=!1;for(let n of e)pf(r,n)&1&&(t=!0);return t}function bP(r,e,t){let n=t.map(f=>r[f.id]),i=t.map(f=>f.type),s=n.filter(f=>!(f&1)),u=r[e.id]>>1;function p(f){let m=[];for(let O=0;O<n.length;O++){let b=cm(f,n[O]);if(i[O]==2)for(let N of b)m.push(N);else m.push(b)}return e.combine(m)}return{create(f){for(let m of n)pf(f,m);return f.values[u]=p(f),1},update(f,m){if(!j0(f,s))return 0;let O=p(f);return e.compare(O,f.values[u])?0:(f.values[u]=O,1)},reconfigure(f,m){let O=j0(f,n),b=m.config.facets[e.id],N=m.facet(e);if(b&&!O&&oO(t,b))return f.values[u]=N,0;let U=p(f);return e.compare(U,N)?(f.values[u]=N,0):(f.values[u]=U,1)}}}const QD=ei.define({static:!0});class Eo{constructor(e,t,n,i,s){this.id=e,this.createF=t,this.updateF=n,this.compareF=i,this.spec=s,this.provides=void 0}static define(e){let t=new Eo(sO++,e.create,e.update,e.compare||((n,i)=>n===i),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(QD).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,i)=>{let s=n.values[t],u=this.updateF(s,i);return this.compareF(s,u)?0:(n.values[t]=u,1)},reconfigure:(n,i)=>i.config.address[this.id]!=null?(n.values[t]=i.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,QD.of({field:this,create:e})]}get extension(){return this}}const mp={lowest:4,low:3,default:2,high:1,highest:0};function Wh(r){return e=>new Lv(e,r)}const kp={highest:Wh(mp.highest),high:Wh(mp.high),default:Wh(mp.default),low:Wh(mp.low),lowest:Wh(mp.lowest)};class Lv{constructor(e,t){this.inner=e,this.prec=t}}class ig{of(e){return new M0(this,e)}reconfigure(e){return ig.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class M0{constructor(e,t){this.compartment=e,this.inner=t}}class lm{constructor(e,t,n,i,s,u){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=s,this.facets=u,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return t==null?e.default:this.staticValues[t>>1]}static resolve(e,t,n){let i=[],s=Object.create(null),u=new Map;for(let N of vP(e,t,u))N instanceof Eo?i.push(N):(s[N.facet.id]||(s[N.facet.id]=[])).push(N);let p=Object.create(null),f=[],m=[];for(let N of i)p[N.id]=m.length<<1,m.push(U=>N.slot(U));let O=n==null?void 0:n.config.facets;for(let N in s){let U=s[N],he=U[0].facet,Re=O&&O[N]||[];if(U.every(Ge=>Ge.type==0))if(p[he.id]=f.length<<1|1,oO(Re,U))f.push(n.facet(he));else{let Ge=he.combine(U.map($e=>$e.value));f.push(n&&he.compare(Ge,n.facet(he))?n.facet(he):Ge)}else{for(let Ge of U)Ge.type==0?(p[Ge.id]=f.length<<1|1,f.push(Ge.value)):(p[Ge.id]=m.length<<1,m.push($e=>Ge.dynamicSlot($e)));p[he.id]=m.length<<1,m.push(Ge=>bP(Ge,he,U))}}let b=m.map(N=>N(p));return new lm(e,u,b,p,f,s)}}function vP(r,e,t){let n=[[],[],[],[],[]],i=new Map;function s(u,p){let f=i.get(u);if(f!=null){if(f<=p)return;let m=n[f].indexOf(u);m>-1&&n[f].splice(m,1),u instanceof M0&&t.delete(u.compartment)}if(i.set(u,p),Array.isArray(u))for(let m of u)s(m,p);else if(u instanceof M0){if(t.has(u.compartment))throw new RangeError("Duplicate use of compartment in extensions");let m=e.get(u.compartment)||u.inner;t.set(u.compartment,m),s(m,p)}else if(u instanceof Lv)s(u.inner,u.prec);else if(u instanceof Eo)n[p].push(u),u.provides&&s(u.provides,p);else if(u instanceof Xd)n[p].push(u),u.facet.extensions&&s(u.facet.extensions,mp.default);else{let m=u.extension;if(!m)throw new Error(`Unrecognized extension value in extension set (${u}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(m,p)}}return s(r,mp.default),n.reduce((u,p)=>u.concat(p))}function pf(r,e){if(e&1)return 2;let t=e>>1,n=r.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;r.status[t]=4;let i=r.computeSlot(r,r.config.dynamicSlots[t]);return r.status[t]=2|i}function cm(r,e){return e&1?r.config.staticValues[e>>1]:r.values[e>>1]}const Rv=ei.define(),Vv=ei.define({combine:r=>r.some(e=>e),static:!0}),Xv=ei.define({combine:r=>r.length?r[0]:void 0,static:!0}),Uv=ei.define(),Wv=ei.define(),qv=ei.define(),Zv=ei.define({combine:r=>r.length?r[0]:!1});class Vc{constructor(e,t){this.type=e,this.value=t}static define(){return new CP}}class CP{of(e){return new Vc(this,e)}}class SP{constructor(e){this.map=e}of(e){return new Ii(this,e)}}class Ii{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new Ii(this.type,t)}is(e){return this.type==e}static define(e={}){return new SP(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let s=i.map(t);s&&n.push(s)}return n}}Ii.reconfigure=Ii.define();Ii.appendConfig=Ii.define();class vo{constructor(e,t,n,i,s,u){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=s,this.scrollIntoView=u,this._doc=null,this._state=null,n&&Mv(n,t.newLength),s.some(p=>p.type==vo.time)||(this.annotations=s.concat(vo.time.of(Date.now())))}static create(e,t,n,i,s,u){return new vo(e,t,n,i,s,u)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(vo.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}vo.time=Vc.define();vo.userEvent=Vc.define();vo.addToHistory=Vc.define();vo.remote=Vc.define();function EP(r,e){let t=[];for(let n=0,i=0;;){let s,u;if(n<r.length&&(i==e.length||e[i]>=r[n]))s=r[n++],u=r[n++];else if(i<e.length)s=e[i++],u=e[i++];else return t;!t.length||t[t.length-1]<s?t.push(s,u):t[t.length-1]<u&&(t[t.length-1]=u)}}function zv(r,e,t){var n;let i,s,u;return t?(i=e.changes,s=bo.empty(e.changes.length),u=r.changes.compose(e.changes)):(i=e.changes.map(r.changes),s=r.changes.mapDesc(e.changes,!0),u=r.changes.compose(i)),{changes:u,selection:e.selection?e.selection.map(s):(n=r.selection)===null||n===void 0?void 0:n.map(i),effects:Ii.mapEffects(r.effects,i).concat(Ii.mapEffects(e.effects,s)),annotations:r.annotations.length?r.annotations.concat(e.annotations):e.annotations,scrollIntoView:r.scrollIntoView||e.scrollIntoView}}function L0(r,e,t){let n=e.selection,i=mh(e.annotations);return e.userEvent&&(i=i.concat(vo.userEvent.of(e.userEvent))),{changes:e.changes instanceof bo?e.changes:bo.of(e.changes||[],t,r.facet(Xv)),selection:n&&(n instanceof Tr?n:Tr.single(n.anchor,n.head)),effects:mh(e.effects),annotations:i,scrollIntoView:!!e.scrollIntoView}}function Yv(r,e,t){let n=L0(r,e.length?e[0]:{},r.doc.length);e.length&&e[0].filter===!1&&(t=!1);for(let s=1;s<e.length;s++){e[s].filter===!1&&(t=!1);let u=!!e[s].sequential;n=zv(n,L0(r,e[s],u?n.changes.newLength:r.doc.length),u)}let i=vo.create(r,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return wP(t?AP(i):i)}function AP(r){let e=r.startState,t=!0;for(let i of e.facet(Uv)){let s=i(r);if(s===!1){t=!1;break}Array.isArray(s)&&(t=t===!0?s:EP(t,s))}if(t!==!0){let i,s;if(t===!1)s=r.changes.invertedDesc,i=bo.empty(e.doc.length);else{let u=r.changes.filter(t);i=u.changes,s=u.filtered.mapDesc(u.changes).invertedDesc}r=vo.create(e,i,r.selection&&r.selection.map(s),Ii.mapEffects(r.effects,s),r.annotations,r.scrollIntoView)}let n=e.facet(Wv);for(let i=n.length-1;i>=0;i--){let s=n[i](r);s instanceof vo?r=s:Array.isArray(s)&&s.length==1&&s[0]instanceof vo?r=s[0]:r=Yv(e,mh(s),!1)}return r}function wP(r){let e=r.startState,t=e.facet(qv),n=r;for(let i=t.length-1;i>=0;i--){let s=t[i](r);s&&Object.keys(s).length&&(n=zv(n,L0(e,s,r.changes.newLength),!0))}return n==r?r:vo.create(e,r.changes,r.selection,n.effects,n.annotations,n.scrollIntoView)}const PP=[];function mh(r){return r==null?PP:Array.isArray(r)?r:[r]}var Zs=function(r){return r[r.Word=0]="Word",r[r.Space=1]="Space",r[r.Other=2]="Other",r}(Zs||(Zs={}));const TP=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let R0;try{R0=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function kP(r){if(R0)return R0.test(r);for(let e=0;e<r.length;e++){let t=r[e];if(/\w/.test(t)||t>""&&(t.toUpperCase()!=t.toLowerCase()||TP.test(t)))return!0}return!1}function FP(r){return e=>{if(!/\S/.test(e))return Zs.Space;if(kP(e))return Zs.Word;for(let t=0;t<r.length;t++)if(e.indexOf(r[t])>-1)return Zs.Word;return Zs.Other}}class hs{constructor(e,t,n,i,s,u){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=s,u&&(u._state=this);for(let p=0;p<this.config.dynamicSlots.length;p++)pf(this,p<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(n==null){if(t)throw new RangeError("Field is not present in this state");return}return pf(this,n),cm(this,n)}update(...e){return Yv(this,e,!0)}applyTransaction(e){let t=this.config,{base:n,compartments:i}=t;for(let u of e.effects)u.is(ig.reconfigure)?(t&&(i=new Map,t.compartments.forEach((p,f)=>i.set(f,p)),t=null),i.set(u.value.compartment,u.value.extension)):u.is(Ii.reconfigure)?(t=null,n=u.value):u.is(Ii.appendConfig)&&(t=null,n=mh(n).concat(u.value));let s;t?s=e.startState.values.slice():(t=lm.resolve(n,i,this),s=new hs(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(p,f)=>f.reconfigure(p,this),null).values),new hs(t,e.newDoc,e.newSelection,s,(u,p)=>p.update(u,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:Tr.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),s=[n.range],u=mh(n.effects);for(let p=1;p<t.ranges.length;p++){let f=e(t.ranges[p]),m=this.changes(f.changes),O=m.map(i);for(let N=0;N<p;N++)s[N]=s[N].map(O);let b=i.mapDesc(m,!0);s.push(f.range.map(b)),i=i.compose(O),u=Ii.mapEffects(u,O).concat(Ii.mapEffects(mh(f.effects),b))}return{changes:i,selection:Tr.create(s,t.mainIndex),effects:u}}changes(e=[]){return e instanceof bo?e:bo.of(e,this.doc.length,this.facet(hs.lineSeparator))}toText(e){return ms.of(e.split(this.facet(hs.lineSeparator)||N0))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return t==null?e.default:(pf(this,t),cm(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let i=e[n];i instanceof Eo&&this.config.address[i.id]!=null&&(t[n]=i.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(n){for(let s in n)if(Object.prototype.hasOwnProperty.call(e,s)){let u=n[s],p=e[s];i.push(u.init(f=>u.spec.fromJSON(p,f)))}}return hs.create({doc:e.doc,selection:Tr.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=lm.resolve(e.extensions||[],new Map),n=e.doc instanceof ms?e.doc:ms.of((e.doc||"").split(t.staticFacet(hs.lineSeparator)||N0)),i=e.selection?e.selection instanceof Tr?e.selection:Tr.single(e.selection.anchor,e.selection.head):Tr.single(0);return Mv(i,n.length),t.staticFacet(Vv)||(i=i.asSingle()),new hs(t,n,i,t.dynamicSlots.map(()=>null),(s,u)=>u.create(s),null)}get tabSize(){return this.facet(hs.tabSize)}get lineBreak(){return this.facet(hs.lineSeparator)||`
|
|
`}get readOnly(){return this.facet(Zv)}phrase(e,...t){for(let n of this.facet(hs.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,i)=>{if(i=="$")return"$";let s=+(i||1);return!s||s>t.length?n:t[s-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let s of this.facet(Rv))for(let u of s(this,t,n))Object.prototype.hasOwnProperty.call(u,e)&&i.push(u[e]);return i}charCategorizer(e){return FP(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),s=this.charCategorizer(e),u=e-n,p=e-n;for(;u>0;){let f=la(t,u,!1);if(s(t.slice(f,u))!=Zs.Word)break;u=f}for(;p<i;){let f=la(t,p);if(s(t.slice(p,f))!=Zs.Word)break;p=f}return u==p?null:Tr.range(u+n,p+n)}}hs.allowMultipleSelections=Vv;hs.tabSize=ei.define({combine:r=>r.length?r[0]:4});hs.lineSeparator=Xv;hs.readOnly=Zv;hs.phrases=ei.define({compare(r,e){let t=Object.keys(r),n=Object.keys(e);return t.length==n.length&&t.every(i=>r[i]==e[i])}});hs.languageData=Rv;hs.changeFilter=Uv;hs.transactionFilter=Wv;hs.transactionExtender=qv;ig.reconfigure=Ii.define();function fl(r,e,t={}){let n={};for(let i of r)for(let s of Object.keys(i)){let u=i[s],p=n[s];if(p===void 0)n[s]=u;else if(!(p===u||u===void 0))if(Object.hasOwnProperty.call(t,s))n[s]=t[s](p,u);else throw new Error("Config merge conflict for field "+s)}for(let i in e)n[i]===void 0&&(n[i]=e[i]);return n}class Sp{eq(e){return this==e}range(e,t=e){return V0.create(e,t,this)}}Sp.prototype.startSide=Sp.prototype.endSide=0;Sp.prototype.point=!1;Sp.prototype.mapMode=Vo.TrackDel;let V0=class Gv{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new Gv(e,t,n)}};function X0(r,e){return r.from-e.from||r.value.startSide-e.value.startSide}class aO{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let s=n?this.to:this.from;for(let u=i,p=s.length;;){if(u==p)return u;let f=u+p>>1,m=s[f]-e||(n?this.value[f].endSide:this.value[f].startSide)-t;if(f==u)return m>=0?u:p;m>=0?p=f:u=f+1}}between(e,t,n,i){for(let s=this.findIndex(t,-1e9,!0),u=this.findIndex(n,1e9,!1,s);s<u;s++)if(i(this.from[s]+e,this.to[s]+e,this.value[s])===!1)return!1}map(e,t){let n=[],i=[],s=[],u=-1,p=-1;for(let f=0;f<this.value.length;f++){let m=this.value[f],O=this.from[f]+e,b=this.to[f]+e,N,U;if(O==b){let he=t.mapPos(O,m.startSide,m.mapMode);if(he==null||(N=U=he,m.startSide!=m.endSide&&(U=t.mapPos(O,m.endSide),U<N)))continue}else if(N=t.mapPos(O,m.startSide),U=t.mapPos(b,m.endSide),N>U||N==U&&m.startSide>0&&m.endSide<=0)continue;(U-N||m.endSide-m.startSide)<0||(u<0&&(u=N),m.point&&(p=Math.max(p,U-N)),n.push(m),i.push(N-u),s.push(U-u))}return{mapped:n.length?new aO(i,s,n,p):null,pos:u}}}class Ss{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new Ss(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:s=this.length}=e,u=e.filter;if(t.length==0&&!u)return this;if(n&&(t=t.slice().sort(X0)),this.isEmpty)return t.length?Ss.of(t):this;let p=new Hv(this,null,-1).goto(0),f=0,m=[],O=new Ic;for(;p.value||f<t.length;)if(f<t.length&&(p.from-t[f].from||p.startSide-t[f].value.startSide)>=0){let b=t[f++];O.addInner(b.from,b.to,b.value)||m.push(b)}else p.rangeIndex==1&&p.chunkIndex<this.chunk.length&&(f==t.length||this.chunkEnd(p.chunkIndex)<t[f].from)&&(!u||i>this.chunkEnd(p.chunkIndex)||s<this.chunkPos[p.chunkIndex])&&O.addChunk(this.chunkPos[p.chunkIndex],this.chunk[p.chunkIndex])?p.nextChunk():((!u||i>p.to||s<p.from||u(p.from,p.to,p.value))&&(O.addInner(p.from,p.to,p.value)||m.push(V0.create(p.from,p.to,p.value))),p.next());return O.finishInner(this.nextLayer.isEmpty&&!m.length?Ss.empty:this.nextLayer.update({add:m,filter:u,filterFrom:i,filterTo:s}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],i=-1;for(let u=0;u<this.chunk.length;u++){let p=this.chunkPos[u],f=this.chunk[u],m=e.touchesRange(p,p+f.length);if(m===!1)i=Math.max(i,f.maxPoint),t.push(f),n.push(e.mapPos(p));else if(m===!0){let{mapped:O,pos:b}=f.map(p,e);O&&(i=Math.max(i,O.maxPoint),t.push(O),n.push(b))}}let s=this.nextLayer.map(e);return t.length==0?s:new Ss(n,t,s||Ss.empty,i)}between(e,t,n){if(!this.isEmpty){for(let i=0;i<this.chunk.length;i++){let s=this.chunkPos[i],u=this.chunk[i];if(t>=s&&e<=s+u.length&&u.between(s,e-s,t-s,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return Af.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Af.from(e).goto(t)}static compare(e,t,n,i,s=-1){let u=e.filter(b=>b.maxPoint>0||!b.isEmpty&&b.maxPoint>=s),p=t.filter(b=>b.maxPoint>0||!b.isEmpty&&b.maxPoint>=s),f=jD(u,p,n),m=new qh(u,f,s),O=new qh(p,f,s);n.iterGaps((b,N,U)=>MD(m,b,O,N,U,i)),n.empty&&n.length==0&&MD(m,0,O,0,0,i)}static eq(e,t,n=0,i){i==null&&(i=1e9-1);let s=e.filter(O=>!O.isEmpty&&t.indexOf(O)<0),u=t.filter(O=>!O.isEmpty&&e.indexOf(O)<0);if(s.length!=u.length)return!1;if(!s.length)return!0;let p=jD(s,u),f=new qh(s,p,0).goto(n),m=new qh(u,p,0).goto(n);for(;;){if(f.to!=m.to||!U0(f.active,m.active)||f.point&&(!m.point||!f.point.eq(m.point)))return!1;if(f.to>i)return!0;f.next(),m.next()}}static spans(e,t,n,i,s=-1){let u=new qh(e,null,s).goto(t),p=t,f=u.openStart;for(;;){let m=Math.min(u.to,n);if(u.point){let O=u.activeForPoint(u.to),b=u.pointFrom<t?O.length+1:Math.min(O.length,f);i.point(p,m,u.point,O,b,u.pointRank),f=Math.min(u.openEnd(m),O.length)}else m>p&&(i.span(p,m,u.active,f),f=u.openEnd(m));if(u.to>n)return f+(u.point&&u.to>n?1:0);p=u.to,u.next()}}static of(e,t=!1){let n=new Ic;for(let i of e instanceof V0?[e]:t?BP(e):e)n.add(i.from,i.to,i.value);return n.finish()}}Ss.empty=new Ss([],[],null,-1);function BP(r){if(r.length>1)for(let e=r[0],t=1;t<r.length;t++){let n=r[t];if(X0(e,n)>0)return r.slice().sort(X0);e=n}return r}Ss.empty.nextLayer=Ss.empty;class Ic{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new aO(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new Ic)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(Ss.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=Ss.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function jD(r,e,t){let n=new Map;for(let s of r)for(let u=0;u<s.chunk.length;u++)s.chunk[u].maxPoint<=0&&n.set(s.chunk[u],s.chunkPos[u]);let i=new Set;for(let s of e)for(let u=0;u<s.chunk.length;u++){let p=n.get(s.chunk[u]);p!=null&&(t?t.mapPos(p):p)==s.chunkPos[u]&&!(t!=null&&t.touchesRange(p,p+s.chunk[u].length))&&i.add(s.chunk[u])}return i}class Hv{constructor(e,t,n,i=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let i=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(i)||this.layer.chunkEnd(this.chunkIndex)<e||i.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class Af{constructor(e){this.heap=e}static from(e,t=null,n=-1){let i=[];for(let s=0;s<e.length;s++)for(let u=e[s];!u.isEmpty;u=u.nextLayer)u.maxPoint>=n&&i.push(new Hv(u,t,n,s));return i.length==1?i[0]:new Af(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)Mg(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)Mg(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Mg(this.heap,0)}}}function Mg(r,e){for(let t=r[e];;){let n=(e<<1)+1;if(n>=r.length)break;let i=r[n];if(n+1<r.length&&i.compare(r[n+1])>=0&&(i=r[n+1],n++),t.compare(i)<0)break;r[n]=t,r[e]=i,e=n}}class qh{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Af.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){dd(this.active,e),dd(this.activeTo,e),dd(this.activeRank,e),this.minActive=LD(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:s}=this.cursor;for(;t<this.activeRank.length&&this.activeRank[t]<=s;)t++;md(this.active,t,n),md(this.activeTo,t,i),md(this.activeRank,t,s),e&&md(e,t,this.cursor.from),this.minActive=LD(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&dd(n,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=s,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=s.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let i=n.length-1;i>=0&&n[i]<e;i--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function MD(r,e,t,n,i,s){r.goto(e),t.goto(n);let u=n+i,p=n,f=n-e;for(;;){let m=r.to+f-t.to||r.endSide-t.endSide,O=m<0?r.to+f:t.to,b=Math.min(O,u);if(r.point||t.point?r.point&&t.point&&(r.point==t.point||r.point.eq(t.point))&&U0(r.activeForPoint(r.to+f),t.activeForPoint(t.to))||s.comparePoint(p,b,r.point,t.point):b>p&&!U0(r.active,t.active)&&s.compareRange(p,b,r.active,t.active),O>u)break;p=O,m<=0&&r.next(),m>=0&&t.next()}}function U0(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!=e[t]&&!r[t].eq(e[t]))return!1;return!0}function dd(r,e){for(let t=e,n=r.length-1;t<n;t++)r[t]=r[t+1];r.pop()}function md(r,e,t){for(let n=r.length-1;n>=e;n--)r[n+1]=r[n];r[e]=t}function LD(r,e){let t=-1,n=1e9;for(let i=0;i<e.length;i++)(e[i]-n||r[i].endSide-r[t].endSide)<0&&(t=i,n=e[i]);return t}function Wf(r,e,t=r.length){let n=0;for(let i=0;i<t;)r.charCodeAt(i)==9?(n+=e-n%e,i++):(n++,i=la(r,i));return n}function W0(r,e,t,n){for(let i=0,s=0;;){if(s>=e)return i;if(i==r.length)break;s+=r.charCodeAt(i)==9?t-s%t:1,i=la(r,i)}return n===!0?-1:r.length}const q0="ͼ",RD=typeof Symbol>"u"?"__"+q0:Symbol.for(q0),Z0=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),VD=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Qc{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(u){return/^@/.test(u)?[u]:u.split(/,\s*/)}function s(u,p,f,m){let O=[],b=/^@(\w+)\b/.exec(u[0]),N=b&&b[1]=="keyframes";if(b&&p==null)return f.push(u[0]+";");for(let U in p){let he=p[U];if(/&/.test(U))s(U.split(/,\s*/).map(Re=>u.map(Ge=>Re.replace(/&/,Ge))).reduce((Re,Ge)=>Re.concat(Ge)),he,f);else if(he&&typeof he=="object"){if(!b)throw new RangeError("The value of a property ("+U+") should be a primitive value.");s(i(U),he,O,N)}else he!=null&&O.push(U.replace(/_.*/,"").replace(/[A-Z]/g,Re=>"-"+Re.toLowerCase())+": "+he+";")}(O.length||N)&&f.push((n&&!b&&!m?u.map(n):u).join(", ")+" {"+O.join(" ")+"}")}for(let u in e)s(i(u),e[u],this.rules)}getRules(){return this.rules.join(`
|
|
`)}static newName(){let e=VD[RD]||1;return VD[RD]=e+1,q0+e.toString(36)}static mount(e,t){(e[Z0]||new _P(e)).mount(Array.isArray(t)?t:[t])}}let gd=null;class _P{constructor(e){if(!e.head&&e.adoptedStyleSheets&&typeof CSSStyleSheet<"u"){if(gd)return e.adoptedStyleSheets=[gd.sheet].concat(e.adoptedStyleSheets),e[Z0]=gd;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),gd=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[Z0]=this}mount(e){let t=this.sheet,n=0,i=0;for(let s=0;s<e.length;s++){let u=e[s],p=this.modules.indexOf(u);if(p<i&&p>-1&&(this.modules.splice(p,1),i--,p=-1),p==-1){if(this.modules.splice(i++,0,u),t)for(let f=0;f<u.rules.length;f++)t.insertRule(u.rules[f],n++)}else{for(;i<p;)n+=this.modules[i++].rules.length;n+=u.rules.length,i++}}if(!t){let s="";for(let u=0;u<this.modules.length;u++)s+=this.modules[u].getRules()+`
|
|
`;this.styleTag.textContent=s}}}var jc={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},wf={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},XD=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent),$P=typeof navigator<"u"&&/Mac/.test(navigator.platform),NP=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),IP=$P||XD&&+XD[1]<57;for(var Ro=0;Ro<10;Ro++)jc[48+Ro]=jc[96+Ro]=String(Ro);for(var Ro=1;Ro<=24;Ro++)jc[Ro+111]="F"+Ro;for(var Ro=65;Ro<=90;Ro++)jc[Ro]=String.fromCharCode(Ro+32),wf[Ro]=String.fromCharCode(Ro);for(var Lg in jc)wf.hasOwnProperty(Lg)||(wf[Lg]=jc[Lg]);function QP(r){var e=IP&&(r.ctrlKey||r.altKey||r.metaKey)||NP&&r.shiftKey&&r.key&&r.key.length==1||r.key=="Unidentified",t=!e&&r.key||(r.shiftKey?wf:jc)[r.keyCode]||r.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function pm(r){let e;return r.nodeType==11?e=r.getSelection?r:r.ownerDocument:e=r,e.getSelection()}function Ch(r,e){return e?r==e||r.contains(e.nodeType!=1?e.parentNode:e):!1}function jP(r){let e=r.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Ud(r,e){if(!e.anchorNode)return!1;try{return Ch(r,e.anchorNode)}catch{return!1}}function Pf(r){return r.nodeType==3?Sh(r,0,r.nodeValue.length).getClientRects():r.nodeType==1?r.getClientRects():[]}function hm(r,e,t,n){return t?UD(r,e,t,n,-1)||UD(r,e,t,n,1):!1}function fm(r){for(var e=0;;e++)if(r=r.previousSibling,!r)return e}function UD(r,e,t,n,i){for(;;){if(r==t&&e==n)return!0;if(e==(i<0?0:Tf(r))){if(r.nodeName=="DIV")return!1;let s=r.parentNode;if(!s||s.nodeType!=1)return!1;e=fm(r)+(i<0?0:1),r=s}else if(r.nodeType==1){if(r=r.childNodes[e+(i<0?-1:0)],r.nodeType==1&&r.contentEditable=="false")return!1;e=i<0?Tf(r):0}else return!1}}function Tf(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}const Jv={left:0,right:0,top:0,bottom:0};function uO(r,e){let t=e?r.left:r.right;return{left:t,right:t,top:r.top,bottom:r.bottom}}function MP(r){return{left:0,right:r.innerWidth,top:0,bottom:r.innerHeight}}function LP(r,e,t,n,i,s,u,p){let f=r.ownerDocument,m=f.defaultView||window;for(let O=r;O;)if(O.nodeType==1){let b,N=O==f.body;if(N)b=MP(m);else{if(O.scrollHeight<=O.clientHeight&&O.scrollWidth<=O.clientWidth){O=O.assignedSlot||O.parentNode;continue}let Re=O.getBoundingClientRect();b={left:Re.left,right:Re.left+O.clientWidth,top:Re.top,bottom:Re.top+O.clientHeight}}let U=0,he=0;if(i=="nearest")e.top<b.top?(he=-(b.top-e.top+u),t>0&&e.bottom>b.bottom+he&&(he=e.bottom-b.bottom+he+u)):e.bottom>b.bottom&&(he=e.bottom-b.bottom+u,t<0&&e.top-he<b.top&&(he=-(b.top+he-e.top+u)));else{let Re=e.bottom-e.top,Ge=b.bottom-b.top;he=(i=="center"&&Re<=Ge?e.top+Re/2-Ge/2:i=="start"||i=="center"&&t<0?e.top-u:e.bottom-Ge+u)-b.top}if(n=="nearest"?e.left<b.left?(U=-(b.left-e.left+s),t>0&&e.right>b.right+U&&(U=e.right-b.right+U+s)):e.right>b.right&&(U=e.right-b.right+s,t<0&&e.left<b.left+U&&(U=-(b.left+U-e.left+s))):U=(n=="center"?e.left+(e.right-e.left)/2-(b.right-b.left)/2:n=="start"==p?e.left-s:e.right-(b.right-b.left)+s)-b.left,U||he)if(N)m.scrollBy(U,he);else{let Re=0,Ge=0;if(he){let $e=O.scrollTop;O.scrollTop+=he,Ge=O.scrollTop-$e}if(U){let $e=O.scrollLeft;O.scrollLeft+=U,Re=O.scrollLeft-$e}e={left:e.left-Re,top:e.top-Ge,right:e.right-Re,bottom:e.bottom-Ge},Re&&Math.abs(Re-U)<1&&(n="nearest"),Ge&&Math.abs(Ge-he)<1&&(i="nearest")}if(N)break;O=O.assignedSlot||O.parentNode}else if(O.nodeType==11)O=O.host;else break}function RP(r){let e=r.ownerDocument;for(let t=r.parentNode;t&&t!=e.body;)if(t.nodeType==1){if(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class VP{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){this.set(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)}set(e,t,n,i){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=i}}let Kp=null;function Kv(r){if(r.setActive)return r.setActive();if(Kp)return r.focus(Kp);let e=[];for(let t=r;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(r.focus(Kp==null?{get preventScroll(){return Kp={preventScroll:!0},!0}}:void 0),!Kp){Kp=!1;for(let t=0;t<e.length;){let n=e[t++],i=e[t++],s=e[t++];n.scrollTop!=i&&(n.scrollTop=i),n.scrollLeft!=s&&(n.scrollLeft=s)}}}let WD;function Sh(r,e,t=e){let n=WD||(WD=document.createRange());return n.setEnd(r,t),n.setStart(r,e),n}function gh(r,e,t){let n={key:e,code:e,keyCode:t,which:t,cancelable:!0},i=new KeyboardEvent("keydown",n);i.synthetic=!0,r.dispatchEvent(i);let s=new KeyboardEvent("keyup",n);return s.synthetic=!0,r.dispatchEvent(s),i.defaultPrevented||s.defaultPrevented}function XP(r){for(;r;){if(r&&(r.nodeType==9||r.nodeType==11&&r.host))return r;r=r.assignedSlot||r.parentNode}return null}function eC(r){for(;r.attributes.length;)r.removeAttributeNode(r.attributes[0])}function UP(r,e){let t=e.focusNode,n=e.focusOffset;if(!t||e.anchorNode!=t||e.anchorOffset!=n)return!1;for(;;)if(n){if(t.nodeType!=1)return!1;let i=t.childNodes[n-1];i.contentEditable=="false"?n--:(t=i,n=Tf(t))}else{if(t==r)return!0;n=fm(t),t=t.parentNode}}class ra{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new ra(e.parentNode,fm(e),t)}static after(e,t){return new ra(e.parentNode,fm(e)+1,t)}}const lO=[];class Us{constructor(){this.parent=null,this.dom=null,this.dirty=2}get editorView(){if(!this.parent)throw new Error("Accessing view in orphan content view");return this.parent.editorView}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}coordsAt(e,t){return null}sync(e){if(this.dirty&2){let t=this.dom,n=null,i;for(let s of this.children){if(s.dirty){if(!s.dom&&(i=n?n.nextSibling:t.firstChild)){let u=Us.get(i);(!u||!u.parent&&u.canReuseDOM(s))&&s.reuseDOM(i)}s.sync(e),s.dirty=0}if(i=n?n.nextSibling:t.firstChild,e&&!e.written&&e.node==t&&i!=s.dom&&(e.written=!0),s.dom.parentNode==t)for(;i&&i!=s.dom;)i=qD(i);else t.insertBefore(s.dom,i);n=s.dom}for(i=n?n.nextSibling:t.firstChild,i&&e&&e.node==t&&(e.written=!0);i;)i=qD(i)}else if(this.dirty&1)for(let t of this.children)t.dirty&&(t.sync(e),t.dirty=0)}reuseDOM(e){}localPosFromDOM(e,t){let n;if(e==this.dom)n=this.dom.childNodes[t];else{let i=Tf(e)==0?0:t==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;i==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?i=-1:i=1),e=s}i<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Us.get(n);)n=n.nextSibling;if(!n)return this.length;for(let i=0,s=0;;i++){let u=this.children[i];if(u.dom==n)return s;s+=u.length+u.breakAfter}}domBoundsAround(e,t,n=0){let i=-1,s=-1,u=-1,p=-1;for(let f=0,m=n,O=n;f<this.children.length;f++){let b=this.children[f],N=m+b.length;if(m<e&&N>t)return b.domBoundsAround(e,t,m);if(N>=e&&i==-1&&(i=f,s=m),m>t&&b.dom.parentNode==this.dom){u=f,p=O;break}O=N,m=N+b.breakAfter}return{from:s,to:p<0?n+this.length:p,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:u<this.children.length&&u>=0?this.children[u].dom:null}}markDirty(e=!1){this.dirty|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),t.dirty&1)return;t.dirty|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}setDOM(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=lO){this.markDirty();for(let i=e;i<t;i++){let s=this.children[i];s.parent==this&&s.destroy()}this.children.splice(e,t-e,...n);for(let i=0;i<n.length;i++)n[i].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new tC(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+(e=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}merge(e,t,n,i,s,u){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor}getSide(){return 0}destroy(){this.parent=null}}Us.prototype.breakAfter=0;function qD(r){let e=r.nextSibling;return r.parentNode.removeChild(r),e}class tC{constructor(e,t,n){this.children=e,this.pos=t,this.i=n,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function rC(r,e,t,n,i,s,u,p,f){let{children:m}=r,O=m.length?m[e]:null,b=s.length?s[s.length-1]:null,N=b?b.breakAfter:u;if(!(e==n&&O&&!u&&!N&&s.length<2&&O.merge(t,i,s.length?b:null,t==0,p,f))){if(n<m.length){let U=m[n];U&&i<U.length?(e==n&&(U=U.split(i),i=0),!N&&b&&U.merge(0,i,b,!0,0,f)?s[s.length-1]=U:(i&&U.merge(0,i,null,!1,0,f),s.push(U))):U!=null&&U.breakAfter&&(b?b.breakAfter=1:u=1),n++}for(O&&(O.breakAfter=u,t>0&&(!u&&s.length&&O.merge(t,O.length,s[0],!1,p,0)?O.breakAfter=s.shift().breakAfter:(t<O.length||O.children.length&&O.children[O.children.length-1].length==0)&&O.merge(t,O.length,null,!1,p,0),e++));e<n&&s.length;)if(m[n-1].become(s[s.length-1]))n--,s.pop(),f=s.length?0:p;else if(m[e].become(s[0]))e++,s.shift(),p=s.length?0:f;else break;!s.length&&e&&n<m.length&&!m[e-1].breakAfter&&m[n].merge(0,0,m[e-1],!1,p,f)&&e--,(e<n||s.length)&&r.replaceChildren(e,n,s)}}function nC(r,e,t,n,i,s){let u=r.childCursor(),{i:p,off:f}=u.findPos(t,1),{i:m,off:O}=u.findPos(e,-1),b=e-t;for(let N of n)b+=N.length;r.length+=b,rC(r,m,O,p,f,n,0,i,s)}let La=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},z0=typeof document<"u"?document:{documentElement:{style:{}}};const Y0=/Edge\/(\d+)/.exec(La.userAgent),iC=/MSIE \d/.test(La.userAgent),G0=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(La.userAgent),sg=!!(iC||G0||Y0),ZD=!sg&&/gecko\/(\d+)/i.test(La.userAgent),Rg=!sg&&/Chrome\/(\d+)/.exec(La.userAgent),zD="webkitFontSmoothing"in z0.documentElement.style,sC=!sg&&/Apple Computer/.test(La.vendor),YD=sC&&(/Mobile\/\w+/.test(La.userAgent)||La.maxTouchPoints>2);var Kn={mac:YD||/Mac/.test(La.platform),windows:/Win/.test(La.platform),linux:/Linux|X11/.test(La.platform),ie:sg,ie_version:iC?z0.documentMode||6:G0?+G0[1]:Y0?+Y0[1]:0,gecko:ZD,gecko_version:ZD?+(/Firefox\/(\d+)/.exec(La.userAgent)||[0,0])[1]:0,chrome:!!Rg,chrome_version:Rg?+Rg[1]:0,ios:YD,android:/Android\b/.test(La.userAgent),webkit:zD,safari:sC,webkit_version:zD?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:z0.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const WP=256;class Mc extends Us{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,n){return n&&(!(n instanceof Mc)||this.length-(t-e)+n.length>WP)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new Mc(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new ra(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return H0(this.dom,e,t)}}class hl extends Us{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let i of t)i.setParent(this)}setAttrs(e){if(eC(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}sync(e){this.dom?this.dirty&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e)}merge(e,t,n,i,s,u){return n&&(!(n instanceof hl&&n.mark.eq(this.mark))||e&&s<=0||t<this.length&&u<=0)?!1:(nC(this,e,t,n?n.children:[],s-1,u-1),this.markDirty(),!0)}split(e){let t=[],n=0,i=-1,s=0;for(let p of this.children){let f=n+p.length;f>e&&t.push(n<e?p.split(e-n):p),i<0&&n>=e&&(i=s),n=f,s++}let u=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new hl(this.mark,t,u)}domAtPos(e){return uC(this,e)}coordsAt(e,t){return cC(this,e,t)}}function H0(r,e,t){let n=r.nodeValue.length;e>n&&(e=n);let i=e,s=e,u=0;e==0&&t<0||e==n&&t>=0?Kn.chrome||Kn.gecko||(e?(i--,u=1):s<n&&(s++,u=-1)):t<0?i--:s<n&&s++;let p=Sh(r,i,s).getClientRects();if(!p.length)return Jv;let f=p[(u?u<0:t>=0)?0:p.length-1];return Kn.safari&&!u&&f.width==0&&(f=Array.prototype.find.call(p,m=>m.width)||f),u?uO(f,u<0):f||null}class wc extends Us{constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}static create(e,t,n){return new(e.customView||wc)(e,t,n)}split(e){let t=wc.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,n,i,s,u){return n&&(!(n instanceof wc)||!this.widget.compare(n.widget)||e>0&&s<=0||t<this.length&&u<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-t),!0)}become(e){return e.length==this.length&&e instanceof wc&&e.side==this.side&&this.widget.constructor==e.widget.constructor?(this.widget.eq(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return ms.empty;let e=this;for(;e.parent;)e=e.parent;let t=e.editorView,n=t&&t.state.doc,i=this.posAtStart;return n?n.slice(i,i+this.length):ms.empty}domAtPos(e){return e==0?ra.before(this.dom):ra.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.dom.getClientRects(),i=null;if(!n.length)return Jv;for(let s=e>0?n.length-1:0;i=n[s],!(e>0?s==0:s==n.length-1||i.top<i.bottom);s+=e>0?-1:1);return this.length?i:uO(i,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class oC extends wc{domAtPos(e){let{topView:t,text:n}=this.widget;return t?J0(e,0,t,n,(i,s)=>i.domAtPos(s),i=>new ra(n,Math.min(i,n.nodeValue.length))):new ra(n,Math.min(e,n.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(e,t){let{topView:n,text:i}=this.widget;return n?aC(e,t,n,i):Math.min(t,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(e,t){let{topView:n,text:i}=this.widget;return n?J0(e,t,n,i,(s,u,p)=>s.coordsAt(u,p),(s,u)=>H0(i,s,u)):H0(i,e,t)}destroy(){var e;super.destroy(),(e=this.widget.topView)===null||e===void 0||e.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function J0(r,e,t,n,i,s){if(t instanceof hl){for(let u=t.dom.firstChild;u;u=u.nextSibling){let p=Us.get(u);if(!p)return s(r,e);let f=Ch(u,n),m=p.length+(f?n.nodeValue.length:0);if(r<m||r==m&&p.getSide()<=0)return f?J0(r,e,p,n,i,s):i(p,r,e);r-=m}return i(t,t.length,-1)}else return t.dom==n?s(r,e):i(t,r,e)}function aC(r,e,t,n){if(t instanceof hl)for(let i of t.children){let s=0,u=Ch(i.dom,n);if(Ch(i.dom,r))return s+(u?aC(r,e,i,n):i.localPosFromDOM(r,e));s+=u?n.nodeValue.length:i.length}else if(t.dom==n)return Math.min(e,n.nodeValue.length);return t.localPosFromDOM(r,e)}class Eh extends Us{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof Eh&&e.side==this.side}split(){return new Eh(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return ra.before(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){let t=this.dom.getBoundingClientRect(),n=qP(this,this.side>0?-1:1);return n&&n.top<t.bottom&&n.bottom>t.top?{left:t.left,right:t.right,top:n.top,bottom:n.bottom}:t}get overrideDOMText(){return ms.empty}}Mc.prototype.children=wc.prototype.children=Eh.prototype.children=lO;function qP(r,e){let t=r.parent,n=t?t.children.indexOf(r):-1;for(;t&&n>=0;)if(e<0?n>0:n<t.children.length){let i=t.children[n+e];if(i instanceof Mc){let s=i.coordsAt(e<0?i.length:0,e);if(s)return s}n+=e}else if(t instanceof hl&&t.parent)n=t.parent.children.indexOf(t)+(e<0?0:1),t=t.parent;else{let i=t.dom.lastChild;if(i&&i.nodeName=="BR")return i.getClientRects()[0];break}}function uC(r,e){let t=r.dom,{children:n}=r,i=0;for(let s=0;i<n.length;i++){let u=n[i],p=s+u.length;if(!(p==s&&u.getSide()<=0)){if(e>s&&e<p&&u.dom.parentNode==t)return u.domAtPos(e-s);if(e<=s)break;s=p}}for(let s=i;s>0;s--){let u=n[s-1];if(u.dom.parentNode==t)return u.domAtPos(u.length)}for(let s=i;s<n.length;s++){let u=n[s];if(u.dom.parentNode==t)return u.domAtPos(0)}return new ra(t,0)}function lC(r,e,t){let n,{children:i}=r;t>0&&e instanceof hl&&i.length&&(n=i[i.length-1])instanceof hl&&n.mark.eq(e.mark)?lC(n,e.children[0],t-1):(i.push(e),e.setParent(r)),r.length+=e.length}function cC(r,e,t){let n=null,i=-1,s=null,u=-1;function p(m,O){for(let b=0,N=0;b<m.children.length&&N<=O;b++){let U=m.children[b],he=N+U.length;he>=O&&(U.children.length?p(U,O-N):!s&&(he>O||N==he&&U.getSide()>0)?(s=U,u=O-N):(N<O||N==he&&U.getSide()<0)&&(n=U,i=O-N)),N=he}}p(r,e);let f=(t<0?n:s)||n||s;return f?f.coordsAt(Math.max(0,f==n?i:u),t):ZP(r)}function ZP(r){let e=r.dom.lastChild;if(!e)return r.dom.getBoundingClientRect();let t=Pf(e);return t[t.length-1]||null}function K0(r,e){for(let t in r)t=="class"&&e.class?e.class+=" "+r.class:t=="style"&&e.style?e.style+=";"+r.style:e[t]=r[t];return e}function cO(r,e){if(r==e)return!0;if(!r||!e)return!1;let t=Object.keys(r),n=Object.keys(e);if(t.length!=n.length)return!1;for(let i of t)if(n.indexOf(i)==-1||r[i]!==e[i])return!1;return!0}function ey(r,e,t){let n=null;if(e)for(let i in e)t&&i in t||r.removeAttribute(n=i);if(t)for(let i in t)e&&e[i]==t[i]||r.setAttribute(n=i,t[i]);return!!n}class Yl{eq(e){return!1}updateDOM(e){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}ignoreEvent(e){return!0}get customView(){return null}destroy(e){}}var Qs=function(r){return r[r.Text=0]="Text",r[r.WidgetBefore=1]="WidgetBefore",r[r.WidgetAfter=2]="WidgetAfter",r[r.WidgetRange=3]="WidgetRange",r}(Qs||(Qs={}));class ci extends Sp{constructor(e,t,n,i){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=i}get heightRelevant(){return!1}static mark(e){return new og(e)}static widget(e){let t=e.side||0,n=!!e.block;return t+=n?t>0?3e8:-4e8:t>0?1e8:-1e8,new Ep(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,i;if(e.isBlockGap)n=-5e8,i=4e8;else{let{start:s,end:u}=pC(e,t);n=(s?t?-3e8:-1:5e8)-1,i=(u?t?2e8:1:-6e8)+1}return new Ep(e,n,i,t,e.widget||null,!0)}static line(e){return new qf(e)}static set(e,t=!1){return Ss.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}ci.none=Ss.empty;class og extends ci{constructor(e){let{start:t,end:n}=pC(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){return this==e||e instanceof og&&this.tagName==e.tagName&&this.class==e.class&&cO(this.attrs,e.attrs)}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}og.prototype.point=!1;class qf extends ci{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof qf&&this.spec.class==e.spec.class&&cO(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}qf.prototype.mapMode=Vo.TrackBefore;qf.prototype.point=!0;class Ep extends ci{constructor(e,t,n,i,s,u){super(t,n,s,e),this.block=i,this.isReplace=u,this.mapMode=i?t<=0?Vo.TrackBefore:Vo.TrackAfter:Vo.TrackDel}get type(){return this.startSide<this.endSide?Qs.WidgetRange:this.startSide<=0?Qs.WidgetBefore:Qs.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&this.widget.estimatedHeight>=5}eq(e){return e instanceof Ep&&zP(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}Ep.prototype.point=!0;function pC(r,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=r;return t==null&&(t=r.inclusive),n==null&&(n=r.inclusive),{start:t??e,end:n??e}}function zP(r,e){return r==e||!!(r&&e&&r.compare(e))}function ty(r,e,t,n=0){let i=t.length-1;i>=0&&t[i]+n>=r?t[i]=Math.max(t[i],e):t.push(r,e)}class ca extends Us{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,i,s,u){if(n){if(!(n instanceof ca))return!1;this.dom||n.transferDOM(this)}return i&&this.setDeco(n?n.attrs:null),nC(this,e,t,n?n.children:[],s,u),!0}split(e){let t=new ca;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i:n,off:i}=this.childPos(e);i&&(t.append(this.children[n].split(i),0),this.children[n].merge(i,this.children[n].length,null,!1,0,0),n++);for(let s=n;s<this.children.length;s++)t.append(this.children[s],0);for(;n>0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){cO(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){lC(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=K0(t,this.attrs||{})),n&&(this.attrs=K0({class:n},this.attrs||{}))}domAtPos(e){return uC(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.dirty|=6)}sync(e){var t;this.dom?this.dirty&4&&(eC(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(ey(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e);let n=this.dom.lastChild;for(;n&&Us.get(n)instanceof hl;)n=n.lastChild;if(!n||!this.length||n.nodeName!="BR"&&((t=Us.get(n))===null||t===void 0?void 0:t.isEditable)==!1&&(!Kn.ios||!this.children.some(i=>i instanceof Mc))){let i=document.createElement("BR");i.cmIgnore=!0,this.dom.appendChild(i)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0;for(let t of this.children){if(!(t instanceof Mc)||/[^ -~]/.test(t.text))return null;let n=Pf(t.dom);if(n.length!=1)return null;e+=n[0].width}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length}:null}coordsAt(e,t){return cC(this,e,t)}become(e){return!1}get type(){return Qs.Text}static find(e,t){for(let n=0,i=0;n<e.children.length;n++){let s=e.children[n],u=i+s.length;if(u>=t){if(s instanceof ca)return s;if(u>t)break}i=u+s.breakAfter}return null}}class Cp extends Us{constructor(e,t,n){super(),this.widget=e,this.length=t,this.type=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,i,s,u){return n&&(!(n instanceof Cp)||!this.widget.compare(n.widget)||e>0&&s<=0||t<this.length&&u<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-t),!0)}domAtPos(e){return e==0?ra.before(this.dom):ra.after(this.dom,e==this.length)}split(e){let t=this.length-e;this.length=e;let n=new Cp(this.widget,t,this.type);return n.breakAfter=this.breakAfter,n}get children(){return lO}sync(){(!this.dom||!this.widget.updateDOM(this.dom))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):ms.empty}domBoundsAround(){return null}become(e){return e instanceof Cp&&e.type==this.type&&e.widget.constructor==this.widget.constructor?(e.widget.eq(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.breakAfter=e.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class pO{constructor(e,t,n,i){this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!e.breakAfter&&!(e instanceof Cp&&e.type==Qs.WidgetBefore)}getLine(){return this.curLine||(this.content.push(this.curLine=new ca),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(yd(new Eh(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,this.posCovered()||this.getLine()}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:u,done:p}=this.cursor.next(this.skip);if(this.skip=0,p)throw new Error("Ran out of text content when drawing inline views");if(u){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(yd(new Mc(this.text.slice(this.textOff,this.textOff+i)),t),n),this.atCursorPos=!0,this.textOff+=i,e-=i,n=0}}span(e,t,n,i){this.buildText(t-e,n,i),this.pos=t,this.openStart<0&&(this.openStart=i)}point(e,t,n,i,s,u){if(this.disallowBlockEffectsFor[u]&&n instanceof Ep){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let p=t-e;if(n instanceof Ep)if(n.block){let{type:f}=n;f==Qs.WidgetAfter&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Cp(n.widget||new GD("div"),p,f))}else{let f=wc.create(n.widget||new GD("span"),p,p?0:n.startSide),m=this.atCursorPos&&!f.isEditable&&s<=i.length&&(e<t||n.startSide>0),O=!f.isEditable&&(e<t||s>i.length||n.startSide<=0),b=this.getLine();this.pendingBuffer==2&&!m&&(this.pendingBuffer=0),this.flushBuffer(i),m&&(b.append(yd(new Eh(1),i),s),s=i.length+Math.max(0,s-i.length)),b.append(yd(f,i),s),this.atCursorPos=O,this.pendingBuffer=O?e<t||s>i.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);p&&(this.textOff+p<=this.text.length?this.textOff+=p:(this.skip+=p-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=s)}static build(e,t,n,i,s){let u=new pO(e,t,n,s);return u.openEnd=Ss.spans(i,t,n,u),u.openStart<0&&(u.openStart=u.openEnd),u.finish(u.openEnd),u}}function yd(r,e){for(let t of e)r=new hl(t,[r],r.length);return r}class GD extends Yl{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}}const hC=ei.define(),fC=ei.define(),dC=ei.define(),mC=ei.define(),ry=ei.define(),gC=ei.define(),yC=ei.define({combine:r=>r.some(e=>e)}),OC=ei.define({combine:r=>r.some(e=>e)});class dm{constructor(e,t="nearest",n="nearest",i=5,s=5){this.range=e,this.y=t,this.x=n,this.yMargin=i,this.xMargin=s}map(e){return e.empty?this:new dm(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const HD=Ii.define({map:(r,e)=>r.map(e)});function Va(r,e,t){let n=r.facet(mC);n.length?n[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const ag=ei.define({combine:r=>r.length?r[0]:!0});let YP=0;const ef=ei.define();class yo{constructor(e,t,n,i){this.id=e,this.create=t,this.domEventHandlers=n,this.extension=i(this)}static define(e,t){const{eventHandlers:n,provide:i,decorations:s}=t||{};return new yo(YP++,e,n,u=>{let p=[ef.of(u)];return s&&p.push(kf.of(f=>{let m=f.plugin(u);return m?s(m):ci.none})),i&&p.push(i(u)),p})}static fromClass(e,t){return yo.define(n=>new e(n),t)}}class Vg{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(Va(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Va(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){Va(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const DC=ei.define(),hO=ei.define(),kf=ei.define(),xC=ei.define(),bC=ei.define(),tf=ei.define();class cl{constructor(e,t,n,i){this.fromA=e,this.toA=t,this.fromB=n,this.toB=i}join(e){return new cl(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let i=e[t-1];if(!(i.fromA>n.toA)){if(i.toA<n.fromA)break;n=n.join(i),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(e,t){if(t.length==0)return e;let n=[];for(let i=0,s=0,u=0,p=0;;i++){let f=i==e.length?null:e[i],m=u-p,O=f?f.fromB:1e9;for(;s<t.length&&t[s]<O;){let b=t[s],N=t[s+1],U=Math.max(p,b),he=Math.min(O,N);if(U<=he&&new cl(U+m,he+m,U,he).addToSet(n),N>O)break;s+=2}if(!f)return n;new cl(f.fromA,f.toA,f.fromB,f.toB).addToSet(n),u=f.toA,p=f.toB}}}class mm{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=bo.empty(this.startState.doc.length);for(let u of n)this.changes=this.changes.compose(u.changes);let i=[];this.changes.iterChangedRanges((u,p,f,m)=>i.push(new cl(u,p,f,m))),this.changedRanges=i;let s=e.hasFocus;s!=e.inputState.notifiedFocused&&(e.inputState.notifiedFocused=s,this.flags|=1)}static create(e,t,n){return new mm(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var Ks=function(r){return r[r.LTR=0]="LTR",r[r.RTL=1]="RTL",r}(Ks||(Ks={}));const ny=Ks.LTR,GP=Ks.RTL;function vC(r){let e=[];for(let t=0;t<r.length;t++)e.push(1<<+r[t]);return e}const HP=vC("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),JP=vC("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),iy=Object.create(null),Hu=[];for(let r of["()","[]","{}"]){let e=r.charCodeAt(0),t=r.charCodeAt(1);iy[e]=t,iy[t]=-e}function KP(r){return r<=247?HP[r]:1424<=r&&r<=1524?2:1536<=r&&r<=1785?JP[r-1536]:1774<=r&&r<=2220?4:8192<=r&&r<=8203?256:64336<=r&&r<=65023?4:r==8204?256:1}const eT=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class yh{constructor(e,t,n){this.from=e,this.to=t,this.level=n}get dir(){return this.level%2?GP:ny}side(e,t){return this.dir==t==e?this.to:this.from}static find(e,t,n,i){let s=-1;for(let u=0;u<e.length;u++){let p=e[u];if(p.from<=t&&p.to>=t){if(p.level==n)return u;(s<0||(i!=0?i<0?p.from<t:p.to>t:e[s].level>p.level))&&(s=u)}}if(s<0)throw new RangeError("Index out of range");return s}}const Js=[];function tT(r,e){let t=r.length,n=e==ny?1:2,i=e==ny?2:1;if(!r||n==1&&!eT.test(r))return CC(t);for(let u=0,p=n,f=n;u<t;u++){let m=KP(r.charCodeAt(u));m==512?m=p:m==8&&f==4&&(m=16),Js[u]=m==4?2:m,m&7&&(f=m),p=m}for(let u=0,p=n,f=n;u<t;u++){let m=Js[u];if(m==128)u<t-1&&p==Js[u+1]&&p&24?m=Js[u]=p:Js[u]=256;else if(m==64){let O=u+1;for(;O<t&&Js[O]==64;)O++;let b=u&&p==8||O<t&&Js[O]==8?f==1?1:8:256;for(let N=u;N<O;N++)Js[N]=b;u=O-1}else m==8&&f==1&&(Js[u]=1);p=m,m&7&&(f=m)}for(let u=0,p=0,f=0,m,O,b;u<t;u++)if(O=iy[m=r.charCodeAt(u)])if(O<0){for(let N=p-3;N>=0;N-=3)if(Hu[N+1]==-O){let U=Hu[N+2],he=U&2?n:U&4?U&1?i:n:0;he&&(Js[u]=Js[Hu[N]]=he),p=N;break}}else{if(Hu.length==189)break;Hu[p++]=u,Hu[p++]=m,Hu[p++]=f}else if((b=Js[u])==2||b==1){let N=b==n;f=N?0:1;for(let U=p-3;U>=0;U-=3){let he=Hu[U+2];if(he&2)break;if(N)Hu[U+2]|=2;else{if(he&4)break;Hu[U+2]|=4}}}for(let u=0;u<t;u++)if(Js[u]==256){let p=u+1;for(;p<t&&Js[p]==256;)p++;let f=(u?Js[u-1]:n)==1,m=(p<t?Js[p]:n)==1,O=f==m?f?1:2:n;for(let b=u;b<p;b++)Js[b]=O;u=p-1}let s=[];if(n==1)for(let u=0;u<t;){let p=u,f=Js[u++]!=1;for(;u<t&&f==(Js[u]!=1);)u++;if(f)for(let m=u;m>p;){let O=m,b=Js[--m]!=2;for(;m>p&&b==(Js[m-1]!=2);)m--;s.push(new yh(m,O,b?2:1))}else s.push(new yh(p,u,0))}else for(let u=0;u<t;){let p=u,f=Js[u++]==2;for(;u<t&&f==(Js[u]==2);)u++;s.push(new yh(p,u,f?1:2))}return s}function CC(r){return[new yh(0,r,0)]}let SC="";function rT(r,e,t,n,i){var s;let u=n.head-r.from,p=-1;if(u==0){if(!i||!r.length)return null;e[0].level!=t&&(u=e[0].side(!1,t),p=0)}else if(u==r.length){if(i)return null;let N=e[e.length-1];N.level!=t&&(u=N.side(!0,t),p=e.length-1)}p<0&&(p=yh.find(e,u,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc));let f=e[p];u==f.side(i,t)&&(f=e[p+=i?1:-1],u=f.side(!i,t));let m=i==(f.dir==t),O=la(r.text,u,m);if(SC=r.text.slice(Math.min(u,O),Math.max(u,O)),O!=f.side(i,t))return Tr.cursor(O+r.from,m?-1:1,f.level);let b=p==(i?e.length-1:0)?null:e[p+(i?1:-1)];return!b&&f.level!=t?Tr.cursor(i?r.to:r.from,i?-1:1,t):b&&b.level<f.level?Tr.cursor(b.side(!i,t)+r.from,i?1:-1,b.level):Tr.cursor(O+r.from,i?-1:1,f.level)}const Pc="";class EC{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(hs.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Pc}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let i=e;;){this.findPointBefore(n,i),this.readNode(i);let s=i.nextSibling;if(s==t)break;let u=Us.get(i),p=Us.get(s);(u&&p?u.breakAfter:(u?u.breakAfter:JD(i))||JD(s)&&(i.nodeName!="BR"||i.cmIgnore))&&this.lineBreak(),i=s}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,u=1,p;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,n),u=this.lineSeparator.length):(p=i.exec(t))&&(s=p.index,u=p[0].length),this.append(t.slice(n,s<0?t.length:s)),s<0)break;if(this.lineBreak(),u>1)for(let f of this.points)f.node==e&&f.pos>this.text.length&&(f.pos-=u-1);n=s+u}}readNode(e){if(e.cmIgnore)return;let t=Us.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let i=n.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}}function JD(r){return r.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(r.nodeName)}class KD{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class e1 extends Us{constructor(e){super(),this.view=e,this.compositionDeco=ci.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new ca],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new cl(0,0,0,e.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:u,toA:p})=>p<this.minWidthFrom||u>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=ci.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=iT(this.view,e.changes)),(Kn.ie||Kn.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let n=this.decorations,i=this.updateDeco(),s=uT(n,i,e.changes);return t=cl.extendWithRanges(t,s),this.dirty==0&&t.length==0?!1:(this.updateInner(t,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);let{observer:n}=this.view;n.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=Kn.chrome||Kn.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.sync(s),this.dirty=0,s&&(s.written||n.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""});let i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let s of this.children)s instanceof Cp&&s.widget instanceof t1&&i.push(s.dom);n.updateGaps(i)}updateChildren(e,t){let n=this.childCursor(t);for(let i=e.length-1;;i--){let s=i>=0?e[i]:null;if(!s)break;let{fromA:u,toA:p,fromB:f,toB:m}=s,{content:O,breakAtStart:b,openStart:N,openEnd:U}=pO.build(this.view.state.doc,f,m,this.decorations,this.dynamicDecorationMap),{i:he,off:Re}=n.findPos(p,1),{i:Ge,off:$e}=n.findPos(u,-1);rC(this,Ge,$e,he,Re,O,b,N,U)}}updateSelection(e=!1,t=!1){if((e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(t||this.mayControlSelection()))return;let n=this.forceSelection;this.forceSelection=!1;let i=this.view.state.selection.main,s=this.domAtPos(i.anchor),u=i.empty?s:this.domAtPos(i.head);if(Kn.gecko&&i.empty&&nT(s)){let f=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(f,s.node.childNodes[s.offset]||null)),s=u=new ra(f,0),n=!0}let p=this.view.observer.selectionRange;(n||!p.focusNode||!hm(s.node,s.offset,p.anchorNode,p.anchorOffset)||!hm(u.node,u.offset,p.focusNode,p.focusOffset))&&(this.view.observer.ignore(()=>{Kn.android&&Kn.chrome&&this.dom.contains(p.focusNode)&&lT(p.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=pm(this.view.root);if(f)if(i.empty){if(Kn.gecko){let m=oT(s.node,s.offset);if(m&&m!=3){let O=wC(s.node,s.offset,m==1?1:-1);O&&(s=new ra(O,m==1?0:O.nodeValue.length))}}f.collapse(s.node,s.offset),i.bidiLevel!=null&&p.cursorBidiLevel!=null&&(p.cursorBidiLevel=i.bidiLevel)}else if(f.extend){f.collapse(s.node,s.offset);try{f.extend(u.node,u.offset)}catch{}}else{let m=document.createRange();i.anchor>i.head&&([s,u]=[u,s]),m.setEnd(u.node,u.offset),m.setStart(s.node,s.offset),f.removeAllRanges(),f.addRange(m)}}),this.view.observer.setSelectionRange(s,u)),this.impreciseAnchor=s.precise?null:new ra(p.anchorNode,p.anchorOffset),this.impreciseHead=u.precise?null:new ra(p.focusNode,p.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let{view:e}=this,t=e.state.selection.main,n=pm(e.root),{anchorNode:i,anchorOffset:s}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let u=ca.find(this,t.head);if(!u)return;let p=u.posAtStart;if(t.head==p||t.head==p+u.length)return;let f=this.coordsAt(t.head,-1),m=this.coordsAt(t.head,1);if(!f||!m||f.bottom>m.top)return;let O=this.domAtPos(t.head+t.assoc);n.collapse(O.node,O.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let b=e.observer.selectionRange;e.docView.posFromDOM(b.anchorNode,b.anchorOffset)!=t.from&&n.collapse(i,s)}mayControlSelection(){let e=this.view.root.activeElement;return e==this.dom||Ud(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}nearest(e){for(let t=e;t;){let n=Us.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let i=this.children[t];if(n<i.length||i instanceof ca)break;t++,n=0}return this.children[t].domAtPos(n)}coordsAt(e,t){for(let n=this.length,i=this.children.length-1;;i--){let s=this.children[i],u=n-s.breakAfter-s.length;if(e>u||e==u&&s.type!=Qs.WidgetBefore&&s.type!=Qs.WidgetAfter&&(!i||t==2||this.children[i-1].breakAfter||this.children[i-1].type==Qs.WidgetBefore&&t>-2))return s.coordsAt(e-u,t);n=u}}measureVisibleLineHeights(e){let t=[],{from:n,to:i}=e,s=this.view.contentDOM.clientWidth,u=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,p=-1,f=this.view.textDirection==Ks.LTR;for(let m=0,O=0;O<this.children.length;O++){let b=this.children[O],N=m+b.length;if(N>i)break;if(m>=n){let U=b.dom.getBoundingClientRect();if(t.push(U.height),u){let he=b.dom.lastChild,Re=he?Pf(he):[];if(Re.length){let Ge=Re[Re.length-1],$e=f?Ge.right-U.left:U.right-Ge.left;$e>p&&(p=$e,this.minWidth=s,this.minWidthFrom=m,this.minWidthTo=N)}}}m=N+b.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?Ks.RTL:Ks.LTR}measureTextSize(){for(let i of this.children)if(i instanceof ca){let s=i.measureTextSize();if(s)return s}let e=document.createElement("div"),t,n;return e.className="cm-line",e.style.width="99999px",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let i=Pf(e.firstChild)[0];t=e.getBoundingClientRect().height,n=i?i.width/27:7,e.remove()}),{lineHeight:t,charWidth:n}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new tC(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,i=0;;i++){let s=i==t.viewports.length?null:t.viewports[i],u=s?s.from-1:this.length;if(u>n){let p=t.lineBlockAt(u).bottom-t.lineBlockAt(n).top;e.push(ci.replace({widget:new t1(p),block:!0,inclusive:!0,isBlockGap:!0}).range(n,u))}if(!s)break;n=s.to+1}return ci.set(e)}updateDeco(){let e=this.view.state.facet(kf).map((t,n)=>(this.dynamicDecorationMap[n]=typeof t=="function")?t(this.view):t);for(let t=e.length;t<e.length+3;t++)this.dynamicDecorationMap[t]=!1;return this.decorations=[...e,this.compositionDeco,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco]}scrollIntoView(e){let{range:t}=e,n=this.coordsAt(t.head,t.empty?t.assoc:t.head>t.anchor?-1:1),i;if(!n)return;!t.empty&&(i=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,i.left),top:Math.min(n.top,i.top),right:Math.max(n.right,i.right),bottom:Math.max(n.bottom,i.bottom)});let s=0,u=0,p=0,f=0;for(let O of this.view.state.facet(bC).map(b=>b(this.view)))if(O){let{left:b,right:N,top:U,bottom:he}=O;b!=null&&(s=Math.max(s,b)),N!=null&&(u=Math.max(u,N)),U!=null&&(p=Math.max(p,U)),he!=null&&(f=Math.max(f,he))}let m={left:n.left-s,top:n.top-p,right:n.right+u,bottom:n.bottom+f};LP(this.view.scrollDOM,m,t.head<t.anchor?-1:1,e.x,e.y,e.xMargin,e.yMargin,this.view.textDirection==Ks.LTR)}}function nT(r){return r.node.nodeType==1&&r.node.firstChild&&(r.offset==0||r.node.childNodes[r.offset-1].contentEditable=="false")&&(r.offset==r.node.childNodes.length||r.node.childNodes[r.offset].contentEditable=="false")}class t1 extends Yl{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get estimatedHeight(){return this.height}}function AC(r){let e=r.observer.selectionRange,t=e.focusNode&&wC(e.focusNode,e.focusOffset,0);if(!t)return null;let n=r.docView.nearest(t);if(!n)return null;if(n instanceof ca){let i=t;for(;i.parentNode!=n.dom;)i=i.parentNode;let s=i.previousSibling;for(;s&&!Us.get(s);)s=s.previousSibling;let u=s?Us.get(s).posAtEnd:n.posAtStart;return{from:u,to:u,node:i,text:t}}else{for(;;){let{parent:s}=n;if(!s)return null;if(s instanceof ca)break;n=s}let i=n.posAtStart;return{from:i,to:i+n.length,node:n.dom,text:t}}}function iT(r,e){let t=AC(r);if(!t)return ci.none;let{from:n,to:i,node:s,text:u}=t,p=e.mapPos(n,1),f=Math.max(p,e.mapPos(i,-1)),{state:m}=r,O=s.nodeType==3?s.nodeValue:new EC([],m).readRange(s.firstChild,null).text;if(f-p<O.length)if(m.doc.sliceString(p,Math.min(m.doc.length,p+O.length),Pc)==O)f=p+O.length;else if(m.doc.sliceString(Math.max(0,f-O.length),f,Pc)==O)p=f-O.length;else return ci.none;else if(m.doc.sliceString(p,f,Pc)!=O)return ci.none;let b=Us.get(s);return b instanceof oC?b=b.widget.topView:b&&(b.parent=null),ci.set(ci.replace({widget:new sT(s,u,b),inclusive:!0}).range(p,f))}class sT extends Yl{constructor(e,t,n){super(),this.top=e,this.text=t,this.topView=n}eq(e){return this.top==e.top&&this.text==e.text}toDOM(){return this.top}ignoreEvent(){return!1}get customView(){return oC}}function wC(r,e,t){for(;;){if(r.nodeType==3)return r;if(r.nodeType==1&&e>0&&t<=0)r=r.childNodes[e-1],e=Tf(r);else if(r.nodeType==1&&e<r.childNodes.length&&t>=0)r=r.childNodes[e],e=0;else return null}}function oT(r,e){return r.nodeType!=1?0:(e&&r.childNodes[e-1].contentEditable=="false"?1:0)|(e<r.childNodes.length&&r.childNodes[e].contentEditable=="false"?2:0)}class aT{constructor(){this.changes=[]}compareRange(e,t){ty(e,t,this.changes)}comparePoint(e,t){ty(e,t,this.changes)}}function uT(r,e,t){let n=new aT;return Ss.compare(r,e,t,n),n.changes}function lT(r,e){for(let t=r;t&&t!=e;t=t.assignedSlot||t.parentNode)if(t.nodeType==1&&t.contentEditable=="false")return!0;return!1}function cT(r,e,t=1){let n=r.charCategorizer(e),i=r.doc.lineAt(e),s=e-i.from;if(i.length==0)return Tr.cursor(e);s==0?t=1:s==i.length&&(t=-1);let u=s,p=s;t<0?u=la(i.text,s,!1):p=la(i.text,s);let f=n(i.text.slice(u,p));for(;u>0;){let m=la(i.text,u,!1);if(n(i.text.slice(m,u))!=f)break;u=m}for(;p<i.length;){let m=la(i.text,p);if(n(i.text.slice(p,m))!=f)break;p=m}return Tr.range(u+i.from,p+i.from)}function pT(r,e){return e.left>r?e.left-r:Math.max(0,r-e.right)}function hT(r,e){return e.top>r?e.top-r:Math.max(0,r-e.bottom)}function Xg(r,e){return r.top<e.bottom-1&&r.bottom>e.top+1}function r1(r,e){return e<r.top?{top:e,left:r.left,right:r.right,bottom:r.bottom}:r}function n1(r,e){return e>r.bottom?{top:r.top,left:r.left,right:r.right,bottom:e}:r}function sy(r,e,t){let n,i,s,u,p=!1,f,m,O,b;for(let he=r.firstChild;he;he=he.nextSibling){let Re=Pf(he);for(let Ge=0;Ge<Re.length;Ge++){let $e=Re[Ge];i&&Xg(i,$e)&&($e=r1(n1($e,i.bottom),i.top));let gt=pT(e,$e),kt=hT(t,$e);if(gt==0&&kt==0)return he.nodeType==3?i1(he,e,t):sy(he,e,t);if(!n||u>kt||u==kt&&s>gt){n=he,i=$e,s=gt,u=kt;let qt=kt?t<$e.top?-1:1:gt?e<$e.left?-1:1:0;p=!qt||(qt>0?Ge<Re.length-1:Ge>0)}gt==0?t>$e.bottom&&(!O||O.bottom<$e.bottom)?(f=he,O=$e):t<$e.top&&(!b||b.top>$e.top)&&(m=he,b=$e):O&&Xg(O,$e)?O=n1(O,$e.bottom):b&&Xg(b,$e)&&(b=r1(b,$e.top))}}if(O&&O.bottom>=t?(n=f,i=O):b&&b.top<=t&&(n=m,i=b),!n)return{node:r,offset:0};let N=Math.max(i.left,Math.min(i.right,e));if(n.nodeType==3)return i1(n,N,t);if(p&&n.contentEditable!="false")return sy(n,N,t);let U=Array.prototype.indexOf.call(r.childNodes,n)+(e>=(i.left+i.right)/2?1:0);return{node:r,offset:U}}function i1(r,e,t){let n=r.nodeValue.length,i=-1,s=1e9,u=0;for(let p=0;p<n;p++){let f=Sh(r,p,p+1).getClientRects();for(let m=0;m<f.length;m++){let O=f[m];if(O.top==O.bottom)continue;u||(u=e-O.left);let b=(O.top>t?O.top-t:t-O.bottom)-1;if(O.left-1<=e&&O.right+1>=e&&b<s){let N=e>=(O.left+O.right)/2,U=N;if((Kn.chrome||Kn.gecko)&&Sh(r,p).getBoundingClientRect().left==O.right&&(U=!N),b<=0)return{node:r,offset:p+(U?1:0)};i=p+(U?1:0),s=b}}}return{node:r,offset:i>-1?i:u>0?r.nodeValue.length:0}}function PC(r,{x:e,y:t},n,i=-1){var s;let u=r.contentDOM.getBoundingClientRect(),p=u.top+r.viewState.paddingTop,f,{docHeight:m}=r.viewState,O=t-p;if(O<0)return 0;if(O>m)return r.state.doc.length;for(let $e=r.defaultLineHeight/2,gt=!1;f=r.elementAtHeight(O),f.type!=Qs.Text;)for(;O=i>0?f.bottom+$e:f.top-$e,!(O>=0&&O<=m);){if(gt)return n?null:0;gt=!0,i=-i}t=p+O;let b=f.from;if(b<r.viewport.from)return r.viewport.from==0?0:n?null:s1(r,u,f,e,t);if(b>r.viewport.to)return r.viewport.to==r.state.doc.length?r.state.doc.length:n?null:s1(r,u,f,e,t);let N=r.dom.ownerDocument,U=r.root.elementFromPoint?r.root:N,he=U.elementFromPoint(e,t);he&&!r.contentDOM.contains(he)&&(he=null),he||(e=Math.max(u.left+1,Math.min(u.right-1,e)),he=U.elementFromPoint(e,t),he&&!r.contentDOM.contains(he)&&(he=null));let Re,Ge=-1;if(he&&((s=r.docView.nearest(he))===null||s===void 0?void 0:s.isEditable)!=!1){if(N.caretPositionFromPoint){let $e=N.caretPositionFromPoint(e,t);$e&&({offsetNode:Re,offset:Ge}=$e)}else if(N.caretRangeFromPoint){let $e=N.caretRangeFromPoint(e,t);$e&&({startContainer:Re,startOffset:Ge}=$e,(!r.contentDOM.contains(Re)||Kn.safari&&fT(Re,Ge,e)||Kn.chrome&&dT(Re,Ge,e))&&(Re=void 0))}}if(!Re||!r.docView.dom.contains(Re)){let $e=ca.find(r.docView,b);if(!$e)return O>f.top+f.height/2?f.to:f.from;({node:Re,offset:Ge}=sy($e.dom,e,t))}return r.docView.posFromDOM(Re,Ge)}function s1(r,e,t,n,i){let s=Math.round((n-e.left)*r.defaultCharacterWidth);if(r.lineWrapping&&t.height>r.defaultLineHeight*1.5){let p=Math.floor((i-t.top)/r.defaultLineHeight);s+=p*r.viewState.heightOracle.lineLength}let u=r.state.sliceDoc(t.from,t.to);return t.from+W0(u,s,r.state.tabSize)}function fT(r,e,t){let n;if(r.nodeType!=3||e!=(n=r.nodeValue.length))return!1;for(let i=r.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return Sh(r,n-1,n).getBoundingClientRect().left>t}function dT(r,e,t){if(e!=0)return!1;for(let i=r;;){let s=i.parentNode;if(!s||s.nodeType!=1||s.firstChild!=i)return!1;if(s.classList.contains("cm-line"))break;i=s}let n=r.nodeType==1?r.getBoundingClientRect():Sh(r,0,Math.max(r.nodeValue.length,1)).getBoundingClientRect();return t-n.left>5}function mT(r,e,t,n){let i=r.state.doc.lineAt(e.head),s=!n||!r.lineWrapping?null:r.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(s){let f=r.dom.getBoundingClientRect(),m=r.textDirectionAt(i.from),O=r.posAtCoords({x:t==(m==Ks.LTR)?f.right-1:f.left+1,y:(s.top+s.bottom)/2});if(O!=null)return Tr.cursor(O,t?-1:1)}let u=ca.find(r.docView,e.head),p=u?t?u.posAtEnd:u.posAtStart:t?i.to:i.from;return Tr.cursor(p,t?-1:1)}function o1(r,e,t,n){let i=r.state.doc.lineAt(e.head),s=r.bidiSpans(i),u=r.textDirectionAt(i.from);for(let p=e,f=null;;){let m=rT(i,s,u,p,t),O=SC;if(!m){if(i.number==(t?r.state.doc.lines:1))return p;O=`
|
|
`,i=r.state.doc.line(i.number+(t?1:-1)),s=r.bidiSpans(i),m=Tr.cursor(t?i.from:i.to)}if(f){if(!f(O))return p}else{if(!n)return m;f=n(O)}p=m}}function gT(r,e,t){let n=r.state.charCategorizer(e),i=n(t);return s=>{let u=n(s);return i==Zs.Space&&(i=u),i==u}}function yT(r,e,t,n){let i=e.head,s=t?1:-1;if(i==(t?r.state.doc.length:0))return Tr.cursor(i,e.assoc);let u=e.goalColumn,p,f=r.contentDOM.getBoundingClientRect(),m=r.coordsAtPos(i),O=r.documentTop;if(m)u==null&&(u=m.left-f.left),p=s<0?m.top:m.bottom;else{let U=r.viewState.lineBlockAt(i);u==null&&(u=Math.min(f.right-f.left,r.defaultCharacterWidth*(i-U.from))),p=(s<0?U.top:U.bottom)+O}let b=f.left+u,N=n??r.defaultLineHeight>>1;for(let U=0;;U+=10){let he=p+(N+U)*s,Re=PC(r,{x:b,y:he},!1,s);if(he<f.top||he>f.bottom||(s<0?Re<i:Re>i))return Tr.cursor(Re,e.assoc,void 0,u)}}function Ug(r,e,t){let n=r.state.facet(xC).map(i=>i(r));for(;;){let i=!1;for(let s of n)s.between(t.from-1,t.from+1,(u,p,f)=>{t.from>u&&t.from<p&&(t=e.head>t.from?Tr.cursor(u,1):Tr.cursor(p,-1),i=!0)});if(!i)return t}}class OT{constructor(e){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;let t=(n,i)=>{this.ignoreDuringComposition(i)||i.type=="keydown"&&this.keydown(e,i)||(this.mustFlushObserver(i)&&e.observer.forceFlush(),this.runCustomHandlers(i.type,e,i)?i.preventDefault():n(e,i))};for(let n in Co){let i=Co[n];e.contentDOM.addEventListener(n,s=>{a1(e,s)&&t(i,s)},oy[n]),this.registeredEvents.push(n)}e.scrollDOM.addEventListener("mousedown",n=>{n.target==e.scrollDOM&&t(Co.mousedown,n)}),Kn.chrome&&Kn.chrome_version==102&&e.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?e.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,e.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=e.hasFocus,Kn.safari&&e.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}ensureHandlers(e,t){var n;let i;this.customHandlers=[];for(let s of t)if(i=(n=s.update(e).spec)===null||n===void 0?void 0:n.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:i});for(let u in i)this.registeredEvents.indexOf(u)<0&&u!="scroll"&&(this.registeredEvents.push(u),e.contentDOM.addEventListener(u,p=>{a1(e,p)&&this.runCustomHandlers(u,e,p)&&p.preventDefault()}))}}runCustomHandlers(e,t,n){for(let i of this.customHandlers){let s=i.handlers[e];if(s)try{if(s.call(i.plugin,n,t)||n.defaultPrevented)return!0}catch(u){Va(t.state,u)}}return!1}runScrollHandlers(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;for(let n of this.customHandlers){let i=n.handlers.scroll;if(i)try{i.call(n.plugin,t,e)}catch(s){Va(e.state,s)}}}keydown(e,t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()<this.lastEscPress+2e3)return!0;if(Kn.android&&Kn.chrome&&!t.synthetic&&(t.keyCode==13||t.keyCode==8))return e.observer.delayAndroidKey(t.key,t.keyCode),!0;let n;return Kn.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&((n=TC.find(i=>i.keyCode==t.keyCode))&&!t.ctrlKey||DT.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(e),250),!0):!1}flushIOSKey(e){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,gh(e.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:Kn.safari&&!Kn.ios&&Date.now()-this.compositionEndedAt<100?(this.compositionEndedAt=0,!0):!1:!1}mustFlushObserver(e){return e.type=="keydown"&&e.keyCode!=229}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const TC=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],DT="dthko",kC=[16,17,18,20,91,92,224,225];function Od(r){return r*.7+8}class xT{constructor(e,t,n,i){this.view=e,this.style=n,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=RP(e.contentDOM);let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(hs.allowMultipleSelections)&&bT(e,t),this.dragMove=vT(e,t),this.dragging=CT(e,t)&&$C(t)==1?null:!1,this.dragging===!1&&(t.preventDefault(),this.select(t))}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging!==!1)return;this.select(this.lastEvent=e);let n=0,i=0,s=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight};e.clientX<=s.left?n=-Od(s.left-e.clientX):e.clientX>=s.right&&(n=Od(e.clientX-s.right)),e.clientY<=s.top?i=-Od(s.top-e.clientY):e.clientY>=s.bottom&&(i=Od(e.clientY-s.bottom)),this.setScrollSpeed(n,i)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}select(e){let t=this.style.get(e,this.extend,this.multiple);(this.mustSelect||!t.eq(this.view.state.selection)||t.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:t,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function bT(r,e){let t=r.state.facet(hC);return t.length?t[0](e):Kn.mac?e.metaKey:e.ctrlKey}function vT(r,e){let t=r.state.facet(fC);return t.length?t[0](e):Kn.mac?!e.altKey:!e.ctrlKey}function CT(r,e){let{main:t}=r.state.selection;if(t.empty)return!1;let n=pm(r.root);if(!n||n.rangeCount==0)return!0;let i=n.getRangeAt(0).getClientRects();for(let s=0;s<i.length;s++){let u=i[s];if(u.left<=e.clientX&&u.right>=e.clientX&&u.top<=e.clientY&&u.bottom>=e.clientY)return!0}return!1}function a1(r,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=r.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Us.get(t))&&n.ignoreEvent(e))return!1;return!0}const Co=Object.create(null),oy=Object.create(null),FC=Kn.ie&&Kn.ie_version<15||Kn.ios&&Kn.webkit_version<604;function ST(r){let e=r.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{r.focus(),t.remove(),BC(r,t.value)},50)}function BC(r,e){let{state:t}=r,n,i=1,s=t.toText(e),u=s.lines==t.selection.ranges.length;if(ay!=null&&t.selection.ranges.every(f=>f.empty)&&ay==s.toString()){let f=-1;n=t.changeByRange(m=>{let O=t.doc.lineAt(m.from);if(O.from==f)return{range:m};f=O.from;let b=t.toText((u?s.line(i++).text:e)+t.lineBreak);return{changes:{from:O.from,insert:b},range:Tr.cursor(m.from+b.length)}})}else u?n=t.changeByRange(f=>{let m=s.line(i++);return{changes:{from:f.from,to:f.to,insert:m.text},range:Tr.cursor(f.from+m.length)}}):n=t.replaceSelection(s);r.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}Co.keydown=(r,e)=>{r.inputState.setSelectionOrigin("select"),e.keyCode==27?r.inputState.lastEscPress=Date.now():kC.indexOf(e.keyCode)<0&&(r.inputState.lastEscPress=0)};Co.touchstart=(r,e)=>{r.inputState.lastTouchTime=Date.now(),r.inputState.setSelectionOrigin("select.pointer")};Co.touchmove=r=>{r.inputState.setSelectionOrigin("select.pointer")};oy.touchstart=oy.touchmove={passive:!0};Co.mousedown=(r,e)=>{if(r.observer.flush(),r.inputState.lastTouchTime>Date.now()-2e3)return;let t=null;for(let n of r.state.facet(dC))if(t=n(r,e),t)break;if(!t&&e.button==0&&(t=wT(r,e)),t){let n=r.root.activeElement!=r.contentDOM;n&&r.observer.ignore(()=>Kv(r.contentDOM)),r.inputState.startMouseSelection(new xT(r,e,t,n))}};function u1(r,e,t,n){if(n==1)return Tr.cursor(e,t);if(n==2)return cT(r.state,e,t);{let i=ca.find(r.docView,e),s=r.state.doc.lineAt(i?i.posAtEnd:e),u=i?i.posAtStart:s.from,p=i?i.posAtEnd:s.to;return p<r.state.doc.length&&p==s.to&&p++,Tr.range(u,p)}}let _C=(r,e)=>r>=e.top&&r<=e.bottom,l1=(r,e,t)=>_C(e,t)&&r>=t.left&&r<=t.right;function ET(r,e,t,n){let i=ca.find(r.docView,e);if(!i)return 1;let s=e-i.posAtStart;if(s==0)return 1;if(s==i.length)return-1;let u=i.coordsAt(s,-1);if(u&&l1(t,n,u))return-1;let p=i.coordsAt(s,1);return p&&l1(t,n,p)?1:u&&_C(n,u)?-1:1}function c1(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:ET(r,t,e.clientX,e.clientY)}}const AT=Kn.ie&&Kn.ie_version<=11;let p1=null,h1=0,f1=0;function $C(r){if(!AT)return r.detail;let e=p1,t=f1;return p1=r,f1=Date.now(),h1=!e||t>Date.now()-400&&Math.abs(e.clientX-r.clientX)<2&&Math.abs(e.clientY-r.clientY)<2?(h1+1)%3:1}function wT(r,e){let t=c1(r,e),n=$C(e),i=r.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),i=i.map(s.changes))},get(s,u,p){let f=c1(r,s),m=u1(r,f.pos,f.bias,n);if(t.pos!=f.pos&&!u){let O=u1(r,t.pos,t.bias,n),b=Math.min(O.from,m.from),N=Math.max(O.to,m.to);m=b<m.from?Tr.range(b,N):Tr.range(N,b)}return u?i.replaceRange(i.main.extend(m.from,m.to)):p&&i.ranges.length>1&&i.ranges.some(O=>O.eq(m))?PT(i,m):p?i.addRange(m):Tr.create([m])}}}function PT(r,e){for(let t=0;;t++)if(r.ranges[t].eq(e))return Tr.create(r.ranges.slice(0,t).concat(r.ranges.slice(t+1)),r.mainIndex==t?0:r.mainIndex-(r.mainIndex>t?1:0))}Co.dragstart=(r,e)=>{let{selection:{main:t}}=r.state,{mouseSelection:n}=r.inputState;n&&(n.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",r.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove")};function d1(r,e,t,n){if(!t)return;let i=r.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:s}=r.inputState,u=n&&s&&s.dragging&&s.dragMove?{from:s.dragging.from,to:s.dragging.to}:null,p={from:i,insert:t},f=r.state.changes(u?[u,p]:p);r.focus(),r.dispatch({changes:f,selection:{anchor:f.mapPos(i,-1),head:f.mapPos(i,1)},userEvent:u?"move.drop":"input.drop"})}Co.drop=(r,e)=>{if(!e.dataTransfer)return;if(r.state.readOnly)return e.preventDefault();let t=e.dataTransfer.files;if(t&&t.length){e.preventDefault();let n=Array(t.length),i=0,s=()=>{++i==t.length&&d1(r,e,n.filter(u=>u!=null).join(r.state.lineBreak),!1)};for(let u=0;u<t.length;u++){let p=new FileReader;p.onerror=s,p.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(p.result)||(n[u]=p.result),s()},p.readAsText(t[u])}}else d1(r,e,e.dataTransfer.getData("Text"),!0)};Co.paste=(r,e)=>{if(r.state.readOnly)return e.preventDefault();r.observer.flush();let t=FC?null:e.clipboardData;t?(BC(r,t.getData("text/plain")),e.preventDefault()):ST(r)};function TT(r,e){let t=r.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),r.focus()},50)}function kT(r){let e=[],t=[],n=!1;for(let i of r.selection.ranges)i.empty||(e.push(r.sliceDoc(i.from,i.to)),t.push(i));if(!e.length){let i=-1;for(let{from:s}of r.selection.ranges){let u=r.doc.lineAt(s);u.number>i&&(e.push(u.text),t.push({from:u.from,to:Math.min(r.doc.length,u.to+1)})),i=u.number}n=!0}return{text:e.join(r.lineBreak),ranges:t,linewise:n}}let ay=null;Co.copy=Co.cut=(r,e)=>{let{text:t,ranges:n,linewise:i}=kT(r.state);if(!t&&!i)return;ay=i?t:null;let s=FC?null:e.clipboardData;s?(e.preventDefault(),s.clearData(),s.setData("text/plain",t)):TT(r,t),e.type=="cut"&&!r.state.readOnly&&r.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"})};function NC(r){setTimeout(()=>{r.hasFocus!=r.inputState.notifiedFocused&&r.update([])},10)}Co.focus=r=>{r.inputState.lastFocusTime=Date.now(),!r.scrollDOM.scrollTop&&(r.inputState.lastScrollTop||r.inputState.lastScrollLeft)&&(r.scrollDOM.scrollTop=r.inputState.lastScrollTop,r.scrollDOM.scrollLeft=r.inputState.lastScrollLeft),NC(r)};Co.blur=r=>{r.observer.clearSelectionRange(),NC(r)};Co.compositionstart=Co.compositionupdate=r=>{r.inputState.compositionFirstChange==null&&(r.inputState.compositionFirstChange=!0),r.inputState.composing<0&&(r.inputState.composing=0)};Co.compositionend=r=>{r.inputState.composing=-1,r.inputState.compositionEndedAt=Date.now(),r.inputState.compositionFirstChange=null,Kn.chrome&&Kn.android&&r.observer.flushSoon(),setTimeout(()=>{r.inputState.composing<0&&r.docView.compositionDeco.size&&r.update([])},50)};Co.contextmenu=r=>{r.inputState.lastContextMenu=Date.now()};Co.beforeinput=(r,e)=>{var t;let n;if(Kn.chrome&&Kn.android&&(n=TC.find(i=>i.inputType==e.inputType))&&(r.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let i=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>i+10&&r.hasFocus&&(r.contentDOM.blur(),r.focus())},100)}};const m1=["pre-wrap","normal","pre-line","break-spaces"];class FT{constructor(e){this.lineWrapping=e,this.doc=ms.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength)),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return m1.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let i=e[n];i<0?n++:this.heightSamples[Math.floor(i*10)]||(t=!0,this.heightSamples[Math.floor(i*10)]=!0)}return t}refresh(e,t,n,i,s){let u=m1.indexOf(e)>-1,p=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=u;if(this.lineWrapping=u,this.lineHeight=t,this.charWidth=n,this.lineLength=i,p){this.heightSamples={};for(let f=0;f<s.length;f++){let m=s[f];m<0?f++:this.heightSamples[Math.floor(m*10)]=!0}}return p}}class BT{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class Tc{constructor(e,t,n,i,s){this.from=e,this.length=t,this.top=n,this.height=i,this.type=s}get to(){return this.from+this.length}get bottom(){return this.top+this.height}join(e){let t=(Array.isArray(this.type)?this.type:[this]).concat(Array.isArray(e.type)?e.type:[e]);return new Tc(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var Rs=function(r){return r[r.ByPos=0]="ByPos",r[r.ByHeight=1]="ByHeight",r[r.ByPosNoHeight=2]="ByPosNoHeight",r}(Rs||(Rs={}));const Wd=.001;class pa{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Wd&&(e.heightChanged=!0),this.height=t)}replace(e,t,n){return pa.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,i){let s=this;for(let u=i.length-1;u>=0;u--){let{fromA:p,toA:f,fromB:m,toB:O}=i[u],b=s.lineAt(p,Rs.ByPosNoHeight,t,0,0),N=b.to>=f?b:s.lineAt(f,Rs.ByPosNoHeight,t,0,0);for(O+=N.to-f,f=N.to;u>0&&b.from<=i[u-1].toA;)p=i[u-1].fromA,m=i[u-1].fromB,u--,p<b.from&&(b=s.lineAt(p,Rs.ByPosNoHeight,t,0,0));m+=b.from-p,p=b.from;let U=fO.build(n,e,m,O);s=s.replace(p,f,U)}return s.updateHeight(n,0)}static empty(){return new ja(0,0)}static of(e){if(e.length==1)return e[0];let t=0,n=e.length,i=0,s=0;for(;;)if(t==n)if(i>s*2){let p=e[t-1];p.break?e.splice(--t,1,p.left,null,p.right):e.splice(--t,1,p.left,p.right),n+=1+p.break,i-=p.size}else if(s>i*2){let p=e[n];p.break?e.splice(n,1,p.left,null,p.right):e.splice(n,1,p.left,p.right),n+=2+p.break,s-=p.size}else break;else if(i<s){let p=e[t++];p&&(i+=p.size)}else{let p=e[--n];p&&(s+=p.size)}let u=0;return e[t-1]==null?(u=1,t--):e[t]==null&&(u=1,n++),new _T(pa.of(e.slice(0,t)),u,pa.of(e.slice(n)))}}pa.prototype.size=1;class IC extends pa{constructor(e,t,n){super(e,t),this.type=n}blockAt(e,t,n,i){return new Tc(i,this.length,n,this.height,this.type)}lineAt(e,t,n,i,s){return this.blockAt(0,n,i,s)}forEachLine(e,t,n,i,s,u){e<=s+this.length&&t>=s&&u(this.blockAt(0,n,i,s))}updateHeight(e,t=0,n=!1,i){return i&&i.from<=t&&i.more&&this.setHeight(e,i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class ja extends IC{constructor(e,t){super(e,t,Qs.Text),this.collapsed=0,this.widgetHeight=0}replace(e,t,n){let i=n[0];return n.length==1&&(i instanceof ja||i instanceof jo&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof jo?i=new ja(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):pa.of(n)}updateHeight(e,t=0,n=!1,i){return i&&i.from<=t&&i.more?this.setHeight(e,i.heights[i.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class jo extends pa{constructor(e){super(e,0)}lines(e,t){let n=e.lineAt(t).number,i=e.lineAt(t+this.length).number;return{firstLine:n,lastLine:i,lineHeight:this.height/(i-n+1)}}blockAt(e,t,n,i){let{firstLine:s,lastLine:u,lineHeight:p}=this.lines(t,i),f=Math.max(0,Math.min(u-s,Math.floor((e-n)/p))),{from:m,length:O}=t.line(s+f);return new Tc(m,O,n+p*f,p,Qs.Text)}lineAt(e,t,n,i,s){if(t==Rs.ByHeight)return this.blockAt(e,n,i,s);if(t==Rs.ByPosNoHeight){let{from:b,to:N}=n.lineAt(e);return new Tc(b,N-b,0,0,Qs.Text)}let{firstLine:u,lineHeight:p}=this.lines(n,s),{from:f,length:m,number:O}=n.lineAt(e);return new Tc(f,m,i+p*(O-u),p,Qs.Text)}forEachLine(e,t,n,i,s,u){let{firstLine:p,lineHeight:f}=this.lines(n,s);for(let m=Math.max(e,s),O=Math.min(s+this.length,t);m<=O;){let b=n.lineAt(m);m==e&&(i+=f*(b.number-p)),u(new Tc(b.from,b.length,i,f,Qs.Text)),i+=f,m=b.to+1}}replace(e,t,n){let i=this.length-t;if(i>0){let s=n[n.length-1];s instanceof jo?n[n.length-1]=new jo(s.length+i):n.push(null,new jo(i-1))}if(e>0){let s=n[0];s instanceof jo?n[0]=new jo(e+s.length):n.unshift(new jo(e-1),null)}return pa.of(n)}decomposeLeft(e,t){t.push(new jo(e-1),null)}decomposeRight(e,t){t.push(null,new jo(this.length-e-1))}updateHeight(e,t=0,n=!1,i){let s=t+this.length;if(i&&i.from<=t+this.length&&i.more){let u=[],p=Math.max(t,i.from),f=-1,m=e.heightChanged;for(i.from>t&&u.push(new jo(i.from-t-1).updateHeight(e,t));p<=s&&i.more;){let b=e.doc.lineAt(p).length;u.length&&u.push(null);let N=i.heights[i.index++];f==-1?f=N:Math.abs(N-f)>=Wd&&(f=-2);let U=new ja(b,N);U.outdated=!1,u.push(U),p+=b+1}p<=s&&u.push(null,new jo(s-p).updateHeight(e,p));let O=pa.of(u);return e.heightChanged=m||f<0||Math.abs(O.height-this.height)>=Wd||Math.abs(f-this.lines(e.doc,t).lineHeight)>=Wd,O}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class _T extends pa{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,i){let s=n+this.left.height;return e<s?this.left.blockAt(e,t,n,i):this.right.blockAt(e,t,s,i+this.left.length+this.break)}lineAt(e,t,n,i,s){let u=i+this.left.height,p=s+this.left.length+this.break,f=t==Rs.ByHeight?e<u:e<p,m=f?this.left.lineAt(e,t,n,i,s):this.right.lineAt(e,t,n,u,p);if(this.break||(f?m.to<p:m.from>p))return m;let O=t==Rs.ByPosNoHeight?Rs.ByPosNoHeight:Rs.ByPos;return f?m.join(this.right.lineAt(p,O,n,u,p)):this.left.lineAt(p,O,n,i,s).join(m)}forEachLine(e,t,n,i,s,u){let p=i+this.left.height,f=s+this.left.length+this.break;if(this.break)e<f&&this.left.forEachLine(e,t,n,i,s,u),t>=f&&this.right.forEachLine(e,t,n,p,f,u);else{let m=this.lineAt(f,Rs.ByPos,n,i,s);e<m.from&&this.left.forEachLine(e,m.from-1,n,i,s,u),m.to>=e&&m.from<=t&&u(m),t>m.to&&this.right.forEachLine(m.to+1,t,n,p,f,u)}}replace(e,t,n){let i=this.left.length+this.break;if(t<i)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-i,t-i,n));let s=[];e>0&&this.decomposeLeft(e,s);let u=s.length;for(let p of n)s.push(p);if(e>0&&g1(s,u-1),t<this.length){let p=s.length;this.decomposeRight(t,s),g1(s,p)}return pa.of(s)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,i=n+this.break;if(e>=i)return this.right.decomposeRight(e-i,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<i&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?pa.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,i){let{left:s,right:u}=this,p=t+s.length+this.break,f=null;return i&&i.from<=t+s.length&&i.more?f=s=s.updateHeight(e,t,n,i):s.updateHeight(e,t,n),i&&i.from<=p+u.length&&i.more?f=u=u.updateHeight(e,p,n,i):u.updateHeight(e,p,n),f?this.balanced(s,u):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function g1(r,e){let t,n;r[e]==null&&(t=r[e-1])instanceof jo&&(n=r[e+1])instanceof jo&&r.splice(e-1,3,new jo(t.length+1+n.length))}const $T=5;class fO{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof ja?i.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new ja(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let i=n.widget?n.widget.estimatedHeight:0;i<0&&(i=this.oracle.lineHeight);let s=t-e;n.block?this.addBlock(new IC(s,i,n.type)):(s||i>=$T)&&this.addLineDeco(i,s)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new ja(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new jo(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof ja)return e;let t=new ja(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine(),e.type==Qs.WidgetAfter&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=Qs.WidgetBefore&&(this.covering=e)}addLineDeco(e,t){let n=this.ensureLine();n.length+=t,n.collapsed+=t,n.widgetHeight=Math.max(n.widgetHeight,e),this.writtenTo=this.pos=this.pos+t}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof ja)&&!this.isCovered?this.nodes.push(new ja(0,-1)):(this.writtenTo<this.pos||t==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let i of this.nodes)i instanceof ja&&i.updateHeight(this.oracle,n),n+=i?i.length:1;return this.nodes}static build(e,t,n,i){let s=new fO(n,e);return Ss.spans(t,n,i,s,0),s.finish(n)}}function NT(r,e,t){let n=new IT;return Ss.compare(r,e,t,n,0),n.changes}class IT{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,i){(e<t||n&&n.heightRelevant||i&&i.heightRelevant)&&ty(e,t,this.changes,5)}}function QT(r,e){let t=r.getBoundingClientRect(),n=r.ownerDocument,i=n.defaultView||window,s=Math.max(0,t.left),u=Math.min(i.innerWidth,t.right),p=Math.max(0,t.top),f=Math.min(i.innerHeight,t.bottom);for(let m=r.parentNode;m&&m!=n.body;)if(m.nodeType==1){let O=m,b=window.getComputedStyle(O);if((O.scrollHeight>O.clientHeight||O.scrollWidth>O.clientWidth)&&b.overflow!="visible"){let N=O.getBoundingClientRect();s=Math.max(s,N.left),u=Math.min(u,N.right),p=Math.max(p,N.top),f=m==r.parentNode?N.bottom:Math.min(f,N.bottom)}m=b.position=="absolute"||b.position=="fixed"?O.offsetParent:O.parentNode}else if(m.nodeType==11)m=m.host;else break;return{left:s-t.left,right:Math.max(s,u)-t.left,top:p-(t.top+e),bottom:Math.max(p,f)-(t.top+e)}}function jT(r,e){let t=r.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class Wg{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],s=t[n];if(i.from!=s.from||i.to!=s.to||i.size!=s.size)return!1}return!0}draw(e){return ci.replace({widget:new MT(this.size,e)}).range(this.from,this.to)}}class MT extends Yl{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class y1{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scaler=O1,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Ks.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(hO).some(n=>typeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new FT(t),this.stateDeco=e.facet(kf).filter(n=>typeof n!="function"),this.heightMap=pa.empty().applyChanges(this.stateDeco,ms.empty,this.heightOracle.setDoc(e.doc),[new cl(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ci.set(this.lineGaps.map(n=>n.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let i=n?t.head:t.anchor;if(!e.some(({from:s,to:u})=>i>=s&&i<=u)){let{from:s,to:u}=this.lineBlockAt(i);e.push(new Dd(s,u))}}this.viewports=e.sort((n,i)=>n.from-i.from),this.scaler=this.heightMap.height<=7e6?O1:new VT(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:rf(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(kf).filter(m=>typeof m!="function");let i=e.changedRanges,s=cl.extendWithRanges(i,NT(n,this.stateDeco,e?e.changes:bo.empty(this.state.doc.length))),u=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=u&&(e.flags|=2);let p=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<p.from||t.range.head>p.to)||!this.viewportIsAppropriate(p))&&(p=this.getViewport(0,t));let f=!e.changes.empty||e.flags&2||p.from!=this.viewport.from||p.to!=this.viewport.to;this.viewport=p,this.updateForViewport(),f&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>2e3<<1)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(OC)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),i=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Ks.RTL:Ks.LTR;let u=this.heightOracle.mustRefreshForWrapping(s),p=u||this.mustMeasureContent||this.contentDOMHeight!=t.clientHeight;this.contentDOMHeight=t.clientHeight,this.mustMeasureContent=!1;let f=0,m=0,O=parseInt(n.paddingTop)||0,b=parseInt(n.paddingBottom)||0;(this.paddingTop!=O||this.paddingBottom!=b)&&(this.paddingTop=O,this.paddingBottom=b,f|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(p=!0),this.editorWidth=e.scrollDOM.clientWidth,f|=8);let N=(this.printing?jT:QT)(t,this.paddingTop),U=N.top-this.pixelViewport.top,he=N.bottom-this.pixelViewport.bottom;this.pixelViewport=N;let Re=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(Re!=this.inView&&(this.inView=Re,Re&&(p=!0)),!this.inView&&!this.scrollTarget)return 0;let Ge=t.clientWidth;if((this.contentDOMWidth!=Ge||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=Ge,this.editorHeight=e.scrollDOM.clientHeight,f|=8),p){let gt=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(gt)&&(u=!0),u||i.lineWrapping&&Math.abs(Ge-this.contentDOMWidth)>i.charWidth){let{lineHeight:kt,charWidth:qt}=e.docView.measureTextSize();u=kt>0&&i.refresh(s,kt,qt,Ge/qt,gt),u&&(e.docView.minWidth=0,f|=8)}U>0&&he>0?m=Math.max(U,he):U<0&&he<0&&(m=Math.min(U,he)),i.heightChanged=!1;for(let kt of this.viewports){let qt=kt.from==this.viewport.from?gt:e.docView.measureVisibleLineHeights(kt);this.heightMap=(u?pa.empty().applyChanges(this.stateDeco,ms.empty,this.heightOracle,[new cl(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,u,new BT(kt.from,qt))}i.heightChanged&&(f|=2)}let $e=!this.viewportIsAppropriate(this.viewport,m)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return $e&&(this.viewport=this.getViewport(m,this.scrollTarget)),this.updateForViewport(),(f&2||$e)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>2e3<<1)&&this.updateLineGaps(this.ensureLineGaps(u?[]:this.lineGaps,e)),f|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),f}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,s=this.state.doc,{visibleTop:u,visibleBottom:p}=this,f=new Dd(i.lineAt(u-n*1e3,Rs.ByHeight,s,0,0).from,i.lineAt(p+(1-n)*1e3,Rs.ByHeight,s,0,0).to);if(t){let{head:m}=t.range;if(m<f.from||m>f.to){let O=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),b=i.lineAt(m,Rs.ByPos,s,0,0),N;t.y=="center"?N=(b.top+b.bottom)/2-O/2:t.y=="start"||t.y=="nearest"&&m<f.from?N=b.top:N=b.bottom-O,f=new Dd(i.lineAt(N-1e3/2,Rs.ByHeight,s,0,0).from,i.lineAt(N+O+1e3/2,Rs.ByHeight,s,0,0).to)}}return f}mapViewport(e,t){let n=t.mapPos(e.from,-1),i=t.mapPos(e.to,1);return new Dd(this.heightMap.lineAt(n,Rs.ByPos,this.state.doc,0,0).from,this.heightMap.lineAt(i,Rs.ByPos,this.state.doc,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:i}=this.heightMap.lineAt(e,Rs.ByPos,this.state.doc,0,0),{bottom:s}=this.heightMap.lineAt(t,Rs.ByPos,this.state.doc,0,0),{visibleTop:u,visibleBottom:p}=this;return(e==0||i<=u-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||s>=p+Math.max(10,Math.min(n,250)))&&i>u-2*1e3&&s<p+2*1e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let i of e)t.touchesRange(i.from,i.to)||n.push(new Wg(t.mapPos(i.from),t.mapPos(i.to),i.size));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,i=n?1e4:2e3,s=i>>1,u=i<<1;if(this.defaultTextDirection!=Ks.LTR&&!n)return[];let p=[],f=(m,O,b,N)=>{if(O-m<s)return;let U=this.state.selection.main,he=[U.from];U.empty||he.push(U.to);for(let Ge of he)if(Ge>m&&Ge<O){f(m,Ge-10,b,N),f(Ge+10,O,b,N);return}let Re=RT(e,Ge=>Ge.from>=b.from&&Ge.to<=b.to&&Math.abs(Ge.from-m)<s&&Math.abs(Ge.to-O)<s&&!he.some($e=>Ge.from<$e&&Ge.to>$e));if(!Re){if(O<b.to&&t&&n&&t.visibleRanges.some(Ge=>Ge.from<=O&&Ge.to>=O)){let Ge=t.moveToLineBoundary(Tr.cursor(O),!1,!0).head;Ge>m&&(O=Ge)}Re=new Wg(m,O,this.gapSize(b,m,O,N))}p.push(Re)};for(let m of this.viewportLines){if(m.length<u)continue;let O=LT(m.from,m.to,this.stateDeco);if(O.total<u)continue;let b=this.scrollTarget?this.scrollTarget.range.head:null,N,U;if(n){let he=i/this.heightOracle.lineLength*this.heightOracle.lineHeight,Re,Ge;if(b!=null){let $e=bd(O,b),gt=((this.visibleBottom-this.visibleTop)/2+he)/m.height;Re=$e-gt,Ge=$e+gt}else Re=(this.visibleTop-m.top-he)/m.height,Ge=(this.visibleBottom-m.top+he)/m.height;N=xd(O,Re),U=xd(O,Ge)}else{let he=O.total*this.heightOracle.charWidth,Re=i*this.heightOracle.charWidth,Ge,$e;if(b!=null){let gt=bd(O,b),kt=((this.pixelViewport.right-this.pixelViewport.left)/2+Re)/he;Ge=gt-kt,$e=gt+kt}else Ge=(this.pixelViewport.left-Re)/he,$e=(this.pixelViewport.right+Re)/he;N=xd(O,Ge),U=xd(O,$e)}N>m.from&&f(m.from,N,m,O),U<m.to&&f(U,m.to,m,O)}return p}gapSize(e,t,n,i){let s=bd(i,n)-bd(i,t);return this.heightOracle.lineWrapping?e.height*s:i.total*this.heightOracle.charWidth*s}updateLineGaps(e){Wg.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=ci.set(e.map(t=>t.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];Ss.spans(e,this.viewport.from,this.viewport.to,{span(i,s){t.push({from:i,to:s})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((i,s)=>i.from!=t[s].from||i.to!=t[s].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||rf(this.heightMap.lineAt(e,Rs.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(e){return rf(this.heightMap.lineAt(this.scaler.fromDOM(e),Rs.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(e){return rf(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Dd{constructor(e,t){this.from=e,this.to=t}}function LT(r,e,t){let n=[],i=r,s=0;return Ss.spans(t,r,e,{span(){},point(u,p){u>i&&(n.push({from:i,to:u}),s+=u-i),i=p}},20),i<e&&(n.push({from:i,to:e}),s+=e-i),{total:s,ranges:n}}function xd({total:r,ranges:e},t){if(t<=0)return e[0].from;if(t>=1)return e[e.length-1].to;let n=Math.floor(r*t);for(let i=0;;i++){let{from:s,to:u}=e[i],p=u-s;if(n<=p)return s+n;n-=p}}function bd(r,e){let t=0;for(let{from:n,to:i}of r.ranges){if(e<=i){t+=e-n;break}t+=i-n}return t/r.total}function RT(r,e){for(let t of r)if(e(t))return t}const O1={toDOM(r){return r},fromDOM(r){return r},scale:1};class VT{constructor(e,t,n){let i=0,s=0,u=0;this.viewports=n.map(({from:p,to:f})=>{let m=t.lineAt(p,Rs.ByPos,e,0,0).top,O=t.lineAt(f,Rs.ByPos,e,0,0).bottom;return i+=O-m,{from:p,to:f,top:m,bottom:O,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(t.height-i);for(let p of this.viewports)p.domTop=u+(p.top-s)*this.scale,u=p.domBottom=p.domTop+(p.bottom-p.top),s=p.bottom}toDOM(e){for(let t=0,n=0,i=0;;t++){let s=t<this.viewports.length?this.viewports[t]:null;if(!s||e<s.top)return i+(e-n)*this.scale;if(e<=s.bottom)return s.domTop+(e-s.top);n=s.bottom,i=s.domBottom}}fromDOM(e){for(let t=0,n=0,i=0;;t++){let s=t<this.viewports.length?this.viewports[t]:null;if(!s||e<s.domTop)return n+(e-i)/this.scale;if(e<=s.domBottom)return s.top+(e-s.domTop);n=s.bottom,i=s.domBottom}}}function rf(r,e){if(e.scale==1)return r;let t=e.toDOM(r.top),n=e.toDOM(r.bottom);return new Tc(r.from,r.length,t,n-t,Array.isArray(r.type)?r.type.map(i=>rf(i,e)):r.type)}const vd=ei.define({combine:r=>r.join(" ")}),uy=ei.define({combine:r=>r.indexOf(!0)>-1}),ly=Qc.newName(),QC=Qc.newName(),jC=Qc.newName(),MC={"&light":"."+QC,"&dark":"."+jC};function cy(r,e,t){return new Qc(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,i=>{if(i=="&")return r;if(!t||!t[i])throw new RangeError(`Unsupported selector: ${i}`);return t[i]}):r+" "+n}})}const XT=cy("."+ly,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},MC);class UT{constructor(e,t,n,i){this.typeOver=i,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:u}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let p=s||u?[]:qT(e),f=new EC(p,e.state);f.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=f.text,this.newSel=ZT(p,this.bounds.from)}else{let p=e.observer.selectionRange,f=s&&s.node==p.focusNode&&s.offset==p.focusOffset||!Ch(e.contentDOM,p.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(p.focusNode,p.focusOffset),m=u&&u.node==p.anchorNode&&u.offset==p.anchorOffset||!Ch(e.contentDOM,p.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(p.anchorNode,p.anchorOffset);this.newSel=Tr.single(m,f)}}}function LC(r,e){let t,{newSel:n}=e,i=r.state.selection.main;if(e.bounds){let{from:s,to:u}=e.bounds,p=i.from,f=null;(r.inputState.lastKeyCode===8&&r.inputState.lastKeyTime>Date.now()-100||Kn.android&&e.text.length<u-s)&&(p=i.to,f="end");let m=WT(r.state.doc.sliceString(s,u,Pc),e.text,p-s,f);m&&(Kn.chrome&&r.inputState.lastKeyCode==13&&m.toB==m.from+2&&e.text.slice(m.from,m.toB)==Pc+Pc&&m.toB--,t={from:s+m.from,to:s+m.toA,insert:ms.of(e.text.slice(m.from,m.toB).split(Pc))})}else n&&(!r.hasFocus&&r.state.facet(ag)||n.main.eq(i))&&(n=null);if(!t&&!n)return!1;if(!t&&e.typeOver&&!i.empty&&n&&n.main.empty?t={from:i.from,to:i.to,insert:r.state.doc.slice(i.from,i.to)}:t&&t.from>=i.from&&t.to<=i.to&&(t.from!=i.from||t.to!=i.to)&&i.to-i.from-(t.to-t.from)<=4?t={from:i.from,to:i.to,insert:r.state.doc.slice(i.from,t.from).append(t.insert).append(r.state.doc.slice(t.to,i.to))}:(Kn.mac||Kn.android)&&t&&t.from==t.to&&t.from==i.head-1&&/^\. ?$/.test(t.insert.toString())?(n&&t.insert.length==2&&(n=Tr.single(n.main.anchor-1,n.main.head-1)),t={from:i.from,to:i.to,insert:ms.of([" "])}):Kn.chrome&&t&&t.from==t.to&&t.from==i.head&&t.insert.toString()==`
|
|
`&&r.lineWrapping&&(n&&(n=Tr.single(n.main.anchor-1,n.main.head-1)),t={from:i.from,to:i.to,insert:ms.of([" "])}),t){let s=r.state;if(Kn.ios&&r.inputState.flushIOSKey(r)||Kn.android&&(t.from==i.from&&t.to==i.to&&t.insert.length==1&&t.insert.lines==2&&gh(r.contentDOM,"Enter",13)||t.from==i.from-1&&t.to==i.to&&t.insert.length==0&&gh(r.contentDOM,"Backspace",8)||t.from==i.from&&t.to==i.to+1&&t.insert.length==0&&gh(r.contentDOM,"Delete",46)))return!0;let u=t.insert.toString();if(r.state.facet(gC).some(m=>m(r,t.from,t.to,u)))return!0;r.inputState.composing>=0&&r.inputState.composing++;let p;if(t.from>=i.from&&t.to<=i.to&&t.to-t.from>=(i.to-i.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&r.inputState.composing<0){let m=i.from<t.from?s.sliceDoc(i.from,t.from):"",O=i.to>t.to?s.sliceDoc(t.to,i.to):"";p=s.replaceSelection(r.state.toText(m+t.insert.sliceString(0,void 0,r.state.lineBreak)+O))}else{let m=s.changes(t),O=n&&!s.selection.main.eq(n.main)&&n.main.to<=m.newLength?n.main:void 0;if(s.selection.ranges.length>1&&r.inputState.composing>=0&&t.to<=i.to&&t.to>=i.to-10){let b=r.state.sliceDoc(t.from,t.to),N=AC(r)||r.state.doc.lineAt(i.head),U=i.to-t.to,he=i.to-i.from;p=s.changeByRange(Re=>{if(Re.from==i.from&&Re.to==i.to)return{changes:m,range:O||Re.map(m)};let Ge=Re.to-U,$e=Ge-b.length;if(Re.to-Re.from!=he||r.state.sliceDoc($e,Ge)!=b||N&&Re.to>=N.from&&Re.from<=N.to)return{range:Re};let gt=s.changes({from:$e,to:Ge,insert:t.insert}),kt=Re.to-i.to;return{changes:gt,range:O?Tr.range(Math.max(0,O.anchor+kt),Math.max(0,O.head+kt)):Re.map(gt)}})}else p={changes:m,selection:O&&s.selection.replaceRange(O)}}let f="input.type";return r.composing&&(f+=".compose",r.inputState.compositionFirstChange&&(f+=".start",r.inputState.compositionFirstChange=!1)),r.dispatch(p,{scrollIntoView:!0,userEvent:f}),!0}else if(n&&!n.main.eq(i)){let s=!1,u="select";return r.inputState.lastSelectionTime>Date.now()-50&&(r.inputState.lastSelectionOrigin=="select"&&(s=!0),u=r.inputState.lastSelectionOrigin),r.dispatch({selection:n,scrollIntoView:s,userEvent:u}),!0}else return!1}function WT(r,e,t,n){let i=Math.min(r.length,e.length),s=0;for(;s<i&&r.charCodeAt(s)==e.charCodeAt(s);)s++;if(s==i&&r.length==e.length)return null;let u=r.length,p=e.length;for(;u>0&&p>0&&r.charCodeAt(u-1)==e.charCodeAt(p-1);)u--,p--;if(n=="end"){let f=Math.max(0,s-Math.min(u,p));t-=u+f-s}if(u<s&&r.length<e.length){let f=t<=s&&t>=u?s-t:0;s-=f,p=s+(p-u),u=s}else if(p<s){let f=t<=s&&t>=p?s-t:0;s-=f,u=s+(u-p),p=s}return{from:s,toA:u,toB:p}}function qT(r){let e=[];if(r.root.activeElement!=r.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:i,focusOffset:s}=r.observer.selectionRange;return t&&(e.push(new KD(t,n)),(i!=t||s!=n)&&e.push(new KD(i,s))),e}function ZT(r,e){if(r.length==0)return null;let t=r[0].pos,n=r.length==2?r[1].pos:t;return t>-1&&n>-1?Tr.single(t+e,n+e):null}const zT={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},qg=Kn.ie&&Kn.ie_version<=11;class YT{constructor(e){this.view=e,this.active=!1,this.selectionRange=new VP,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(Kn.ie&&Kn.ie_version<=11||Kn.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),qg&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM),this.resizeContent=new ResizeObserver(()=>this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runScrollHandlers(this.view,e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(ag)?n.root.activeElement!=this.dom:!Ud(n.dom,i))return;let s=i.anchorNode&&n.docView.nearest(i.anchorNode);if(s&&s.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(Kn.ie&&Kn.ie_version<=11||Kn.android&&Kn.chrome)&&!n.state.selection.main.empty&&i.focusNode&&hm(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Kn.safari&&e.root.nodeType==11&&jP(this.dom.ownerDocument)==this.dom&>(this.view)||pm(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=Ud(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&UP(this.dom,t)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(t),n&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(n.nodeType==1)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);for(let n of this.scrollTargets=t)n.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,zT),qg&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),qg&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let i=()=>{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),!this.flush()&&s.force&&gh(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(!((n=this.delayedAndroidKey)===null||n===void 0)&&n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}processRecords(){let e=this.queue;for(let s of this.observer.takeRecords())e.push(s);e.length&&(this.queue=[]);let t=-1,n=-1,i=!1;for(let s of e){let u=this.readMutation(s);u&&(u.typeOver&&(i=!0),t==-1?{from:t,to:n}=u:(t=Math.min(u.from,t),n=Math.max(u.to,n)))}return{from:t,to:n,typeOver:i}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),i=this.selectionChanged&&Ud(this.dom,this.selectionRange);return e<0&&!i?null:(e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new UT(this.view,e,t,n))}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,i=LC(this.view,t);return this.view.state==n&&this.view.update([]),i}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.dirty|=4),e.type=="childList"){let n=D1(t,e.previousSibling||e.target.previousSibling,-1),i=D1(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:i?t.posBefore(i):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,n,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect(),(i=this.resizeContent)===null||i===void 0||i.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function D1(r,e,t){for(;e;){let n=Us.get(e);if(n&&n.parent==r)return n;let i=e.parentNode;e=i!=r.dom?i:t>0?e.nextSibling:e.previousSibling}return null}function GT(r){let e=null;function t(f){f.preventDefault(),f.stopImmediatePropagation(),e=f.getTargetRanges()[0]}if(r.contentDOM.addEventListener("beforeinput",t,!0),r.dom.ownerDocument.execCommand("indent"),r.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,i=e.startOffset,s=e.endContainer,u=e.endOffset,p=r.docView.domAtPos(r.state.selection.main.anchor);return hm(p.node,p.offset,s,u)&&([n,i,s,u]=[s,u,n,i]),{anchorNode:n,anchorOffset:i,focusNode:s,focusOffset:u}}class ni{constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=e.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=e.root||XP(e.parent)||document,this.viewState=new y1(e.state||hs.create(e)),this.plugins=this.state.facet(ef).map(t=>new Vg(t));for(let t of this.plugins)t.update(this);this.observer=new YT(this),this.inputState=new OT(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new e1(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...e){this._dispatch(e.length==1&&e[0]instanceof vo?e[0]:this.state.update(...e))}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,i,s=this.state;for(let m of e){if(m.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=m.state}if(this.destroyed){this.viewState.state=s;return}let u=this.observer.delayedAndroidKey,p=null;if(u?(this.observer.clearDelayedAndroidKey(),p=this.observer.readChange(),(p&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(p=null)):this.observer.clear(),s.facet(hs.phrases)!=this.state.facet(hs.phrases))return this.setState(s);i=mm.create(this,s,e);let f=this.viewState.scrollTarget;try{this.updateState=2;for(let m of e){if(f&&(f=f.map(m.changes)),m.scrollIntoView){let{main:O}=m.state.selection;f=new dm(O.empty?O:Tr.cursor(O.head,O.head>O.anchor?-1:1))}for(let O of m.effects)O.is(HD)&&(f=O.value)}this.viewState.update(i,f),this.bidiCache=gm.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),t=this.docView.update(i),this.state.facet(tf)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(m=>m.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(vd)!=i.state.facet(vd)&&(this.viewState.mustMeasureContent=!0),(t||n||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!i.empty)for(let m of this.state.facet(ry))m(i);p&&!LC(this,p)&&u.force&&gh(this.contentDOM,u.key,u.keyCode)}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new y1(e),this.plugins=e.facet(ef).map(n=>new Vg(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new e1(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(ef),n=e.state.facet(ef);if(t!=n){let i=[];for(let s of n){let u=t.indexOf(s);if(u<0)i.push(new Vg(s));else{let p=this.plugins[u];p.mustUpdate=e,i.push(p)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=i,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i<this.plugins.length;i++)this.plugins[i].update(this)}measure(e=!0){if(this.destroyed)return;this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,{scrollHeight:n,scrollTop:i,clientHeight:s}=this.scrollDOM,u=i>n-s-4?n:i;try{for(let p=0;;p++){this.updateState=1;let f=this.viewport,m=this.viewState.lineBlockAtHeight(u),O=this.viewState.measure(this);if(!O&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(p>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let b=[];O&4||([this.measureRequests,b]=[b,this.measureRequests]);let N=b.map(Ge=>{try{return Ge.read(this)}catch($e){return Va(this.state,$e),x1}}),U=mm.create(this,this.state,[]),he=!1,Re=!1;U.flags|=O,t?t.flags|=O:t=U,this.updateState=2,U.empty||(this.updatePlugins(U),this.inputState.update(U),this.updateAttrs(),he=this.docView.update(U));for(let Ge=0;Ge<b.length;Ge++)if(N[Ge]!=x1)try{let $e=b[Ge];$e.write&&$e.write(N[Ge],this)}catch($e){Va(this.state,$e)}if(this.viewState.editorHeight)if(this.viewState.scrollTarget)this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,Re=!0;else{let Ge=this.viewState.lineBlockAt(m.from).top-m.top;(Ge>1||Ge<-1)&&(this.scrollDOM.scrollTop+=Ge,Re=!0)}if(he&&this.docView.updateSelection(!0),this.viewport.from==f.from&&this.viewport.to==f.to&&!Re&&this.measureRequests.length==0)break}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let p of this.state.facet(ry))p(t)}get themeClasses(){return ly+" "+(this.state.facet(uy)?jC:QC)+" "+this.state.facet(vd)}updateAttrs(){let e=b1(this,DC,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(ag)?"true":"false",class:"cm-content",style:`${Kn.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),b1(this,hO,t);let n=this.observer.ignore(()=>{let i=ey(this.contentDOM,this.contentAttrs,t),s=ey(this.dom,this.editorAttrs,e);return i||s});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let i of n.effects)if(i.is(ni.announce)){t&&(this.announceDOM.textContent=""),t=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(tf),Qc.mount(this.root,this.styleModules.concat(XT).reverse())}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key){this.measureRequests[t]=e;return}}this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(t===void 0||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find(n=>n.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return Ug(this,e,o1(this,e,t,n))}moveByGroup(e,t){return Ug(this,e,o1(this,e,t,n=>gT(this,e.head,n)))}moveToLineBoundary(e,t,n=!0){return mT(this,e,t,n)}moveVertically(e,t,n){return Ug(this,e,yT(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),PC(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let i=this.state.doc.lineAt(e),s=this.bidiSpans(i),u=s[yh.find(s,e-i.from,-1,t)];return uO(n,u.dir==Ks.LTR==t>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(yC)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>HT)return CC(e.length);let t=this.textDirectionAt(e.from);for(let i of this.bidiCache)if(i.from==e.from&&i.dir==t)return i.order;let n=tT(e.text,t);return this.bidiCache.push(new gm(e.from,e.to,t,n)),n}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||Kn.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Kv(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return HD.of(new dm(typeof e=="number"?Tr.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return yo.define(()=>({}),{eventHandlers:e})}static theme(e,t){let n=Qc.newName(),i=[vd.of(n),tf.of(cy(`.${n}`,e))];return t&&t.dark&&i.push(uy.of(!0)),i}static baseTheme(e){return kp.lowest(tf.of(cy("."+ly,e,MC)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),i=n&&Us.get(n)||Us.get(e);return((t=i==null?void 0:i.rootView)===null||t===void 0?void 0:t.view)||null}}ni.styleModule=tf;ni.inputHandler=gC;ni.perLineTextDirection=yC;ni.exceptionSink=mC;ni.updateListener=ry;ni.editable=ag;ni.mouseSelectionStyle=dC;ni.dragMovesSelection=fC;ni.clickAddsSelectionRange=hC;ni.decorations=kf;ni.atomicRanges=xC;ni.scrollMargins=bC;ni.darkTheme=uy;ni.contentAttributes=hO;ni.editorAttributes=DC;ni.lineWrapping=ni.contentAttributes.of({class:"cm-lineWrapping"});ni.announce=Ii.define();const HT=4096,x1={};class gm{constructor(e,t,n,i){this.from=e,this.to=t,this.dir=n,this.order=i}static update(e,t){if(t.empty)return e;let n=[],i=e.length?e[e.length-1].dir:Ks.LTR;for(let s=Math.max(0,e.length-10);s<e.length;s++){let u=e[s];u.dir==i&&!t.touchesRange(u.from,u.to)&&n.push(new gm(t.mapPos(u.from,1),t.mapPos(u.to,-1),u.dir,u.order))}return n}}function b1(r,e,t){for(let n=r.state.facet(e),i=n.length-1;i>=0;i--){let s=n[i],u=typeof s=="function"?s(r):s;u&&K0(u,t)}return t}const JT=Kn.mac?"mac":Kn.windows?"win":Kn.linux?"linux":"key";function KT(r,e){const t=r.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let i,s,u,p;for(let f=0;f<t.length-1;++f){const m=t[f];if(/^(cmd|meta|m)$/i.test(m))p=!0;else if(/^a(lt)?$/i.test(m))i=!0;else if(/^(c|ctrl|control)$/i.test(m))s=!0;else if(/^s(hift)?$/i.test(m))u=!0;else if(/^mod$/i.test(m))e=="mac"?p=!0:s=!0;else throw new Error("Unrecognized modifier name: "+m)}return i&&(n="Alt-"+n),s&&(n="Ctrl-"+n),p&&(n="Meta-"+n),u&&(n="Shift-"+n),n}function Cd(r,e,t){return e.altKey&&(r="Alt-"+r),e.ctrlKey&&(r="Ctrl-"+r),e.metaKey&&(r="Meta-"+r),t!==!1&&e.shiftKey&&(r="Shift-"+r),r}const ek=kp.default(ni.domEventHandlers({keydown(r,e){return VC(RC(e.state),r,e,"editor")}})),Zf=ei.define({enables:ek}),v1=new WeakMap;function RC(r){let e=r.facet(Zf),t=v1.get(e);return t||v1.set(e,t=nk(e.reduce((n,i)=>n.concat(i),[]))),t}function tk(r,e,t){return VC(RC(r.state),e,r,t)}let Ec=null;const rk=4e3;function nk(r,e=JT){let t=Object.create(null),n=Object.create(null),i=(u,p)=>{let f=n[u];if(f==null)n[u]=p;else if(f!=p)throw new Error("Key binding "+u+" is used both as a regular binding and as a multi-stroke prefix")},s=(u,p,f,m)=>{var O,b;let N=t[u]||(t[u]=Object.create(null)),U=p.split(/ (?!$)/).map(Ge=>KT(Ge,e));for(let Ge=1;Ge<U.length;Ge++){let $e=U.slice(0,Ge).join(" ");i($e,!0),N[$e]||(N[$e]={preventDefault:!0,run:[gt=>{let kt=Ec={view:gt,prefix:$e,scope:u};return setTimeout(()=>{Ec==kt&&(Ec=null)},rk),!0}]})}let he=U.join(" ");i(he,!1);let Re=N[he]||(N[he]={preventDefault:!1,run:((b=(O=N._any)===null||O===void 0?void 0:O.run)===null||b===void 0?void 0:b.slice())||[]});f&&Re.run.push(f),m&&(Re.preventDefault=!0)};for(let u of r){let p=u.scope?u.scope.split(" "):["editor"];if(u.any)for(let m of p){let O=t[m]||(t[m]=Object.create(null));O._any||(O._any={preventDefault:!1,run:[]});for(let b in O)O[b].run.push(u.any)}let f=u[e]||u.key;if(f)for(let m of p)s(m,f,u.run,u.preventDefault),u.shift&&s(m,"Shift-"+f,u.shift,u.preventDefault)}return t}function VC(r,e,t,n){let i=QP(e),s=Lo(i,0),u=Ma(s)==i.length&&i!=" ",p="",f=!1;Ec&&Ec.view==t&&Ec.scope==n&&(p=Ec.prefix+" ",(f=kC.indexOf(e.keyCode)<0)&&(Ec=null));let m=new Set,O=he=>{if(he){for(let Re of he.run)if(!m.has(Re)&&(m.add(Re),Re(t,e)))return!0;he.preventDefault&&(f=!0)}return!1},b=r[n],N,U;if(b){if(O(b[p+Cd(i,e,!u)]))return!0;if(u&&(e.altKey||e.metaKey||e.ctrlKey)&&!(Kn.windows&&e.ctrlKey&&e.altKey)&&(N=jc[e.keyCode])&&N!=i){if(O(b[p+Cd(N,e,!0)]))return!0;if(e.shiftKey&&(U=wf[e.keyCode])!=i&&U!=N&&O(b[p+Cd(U,e,!1)]))return!0}else if(u&&e.shiftKey&&O(b[p+Cd(i,e,!0)]))return!0;if(O(b._any))return!0}return f}class zf{constructor(e,t,n,i,s){this.className=e,this.left=t,this.top=n,this.width=i,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let i=e.coordsAtPos(n.head,n.assoc||1);if(!i)return[];let s=XC(e);return[new zf(t,i.left-s.left,i.top-s.top,null,i.bottom-i.top)]}else return ik(e,t,n)}}function XC(r){let e=r.scrollDOM.getBoundingClientRect();return{left:(r.textDirection==Ks.LTR?e.left:e.right-r.scrollDOM.clientWidth)-r.scrollDOM.scrollLeft,top:e.top-r.scrollDOM.scrollTop}}function C1(r,e,t){let n=Tr.cursor(e);return{from:Math.max(t.from,r.moveToLineBoundary(n,!1,!0).from),to:Math.min(t.to,r.moveToLineBoundary(n,!0,!0).from),type:Qs.Text}}function S1(r,e){let t=r.lineBlockAt(e);if(Array.isArray(t.type)){for(let n of t.type)if(n.to>e||n.to==e&&(n.to==t.to||n.type==Qs.Text))return n}return t}function ik(r,e,t){if(t.to<=r.viewport.from||t.from>=r.viewport.to)return[];let n=Math.max(t.from,r.viewport.from),i=Math.min(t.to,r.viewport.to),s=r.textDirection==Ks.LTR,u=r.contentDOM,p=u.getBoundingClientRect(),f=XC(r),m=window.getComputedStyle(u.firstChild),O=p.left+parseInt(m.paddingLeft)+Math.min(0,parseInt(m.textIndent)),b=p.right-parseInt(m.paddingRight),N=S1(r,n),U=S1(r,i),he=N.type==Qs.Text?N:null,Re=U.type==Qs.Text?U:null;if(r.lineWrapping&&(he&&(he=C1(r,n,he)),Re&&(Re=C1(r,i,Re))),he&&Re&&he.from==Re.from)return $e(gt(t.from,t.to,he));{let qt=he?gt(t.from,null,he):kt(N,!1),Yt=Re?gt(null,t.to,Re):kt(U,!0),Pr=[];return(he||N).to<(Re||U).from-1?Pr.push(Ge(O,qt.bottom,b,Yt.top)):qt.bottom<Yt.top&&r.elementAtHeight((qt.bottom+Yt.top)/2).type==Qs.Text&&(qt.bottom=Yt.top=(qt.bottom+Yt.top)/2),$e(qt).concat(Pr).concat($e(Yt))}function Ge(qt,Yt,Pr,vr){return new zf(e,qt-f.left,Yt-f.top-.01,Pr-qt,vr-Yt+.01)}function $e({top:qt,bottom:Yt,horizontal:Pr}){let vr=[];for(let mr=0;mr<Pr.length;mr+=2)vr.push(Ge(Pr[mr],qt,Pr[mr+1],Yt));return vr}function gt(qt,Yt,Pr){let vr=1e9,mr=-1e9,kr=[];function Rr(Bi,Gi,Si,jn,ti){let Mn=r.coordsAtPos(Bi,Bi==Pr.to?-2:2),Sn=r.coordsAtPos(Si,Si==Pr.from?2:-2);vr=Math.min(Mn.top,Sn.top,vr),mr=Math.max(Mn.bottom,Sn.bottom,mr),ti==Ks.LTR?kr.push(s&&Gi?O:Mn.left,s&&jn?b:Sn.right):kr.push(!s&&jn?O:Sn.left,!s&&Gi?b:Mn.right)}let dn=qt??Pr.from,Nn=Yt??Pr.to;for(let Bi of r.visibleRanges)if(Bi.to>dn&&Bi.from<Nn)for(let Gi=Math.max(Bi.from,dn),Si=Math.min(Bi.to,Nn);;){let jn=r.state.doc.lineAt(Gi);for(let ti of r.bidiSpans(jn)){let Mn=ti.from+jn.from,Sn=ti.to+jn.from;if(Mn>=Si)break;Sn>Gi&&Rr(Math.max(Mn,Gi),qt==null&&Mn<=dn,Math.min(Sn,Si),Yt==null&&Sn>=Nn,ti.dir)}if(Gi=jn.to+1,Gi>=Si)break}return kr.length==0&&Rr(dn,qt==null,Nn,Yt==null,r.textDirection),{top:vr,bottom:mr,horizontal:kr}}function kt(qt,Yt){let Pr=p.top+(Yt?qt.top:qt.bottom);return{top:Pr,bottom:Pr,horizontal:[]}}}function sk(r,e){return r.constructor==e.constructor&&r.eq(e)}class ok{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(qd)!=e.state.facet(qd)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&e.view.requestMeasure(this.measureReq)}setOrder(e){let t=0,n=e.facet(qd);for(;t<n.length&&n[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}measure(){return this.layer.markers(this.view)}draw(e){if(e.length!=this.drawn.length||e.some((t,n)=>!sk(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let i of e)i.update&&t&&i.constructor&&this.drawn[n].constructor&&i.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(i.draw(),t);for(;t;){let i=t.nextSibling;t.remove(),t=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const qd=ei.define();function UC(r){return[yo.define(e=>new ok(e,r)),qd.of(r)]}const WC=!Kn.ios,Ff=ei.define({combine(r){return fl(r,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function ak(r={}){return[Ff.of(r),uk,lk,ck,OC.of(!0)]}function qC(r){return r.startState.facet(Ff)!=r.state.facet(Ff)}const uk=UC({above:!0,markers(r){let{state:e}=r,t=e.facet(Ff),n=[];for(let i of e.selection.ranges){let s=i==e.selection.main;if(i.empty?!s||WC:t.drawRangeCursor){let u=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",p=i.empty?i:Tr.cursor(i.head,i.head>i.anchor?-1:1);for(let f of zf.forRange(r,u,p))n.push(f)}}return n},update(r,e){r.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=qC(r);return t&&E1(r.state,e),r.docChanged||r.selectionSet||t},mount(r,e){E1(e.state,r)},class:"cm-cursorLayer"});function E1(r,e){e.style.animationDuration=r.facet(Ff).cursorBlinkRate+"ms"}const lk=UC({above:!1,markers(r){return r.state.selection.ranges.map(e=>e.empty?[]:zf.forRange(r,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(r,e){return r.docChanged||r.selectionSet||r.viewportChanged||qC(r)},class:"cm-selectionLayer"}),ZC={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};WC&&(ZC[".cm-line"].caretColor="transparent !important");const ck=kp.highest(ni.theme(ZC)),zC=Ii.define({map(r,e){return r==null?null:e.mapPos(r)}}),nf=Eo.define({create(){return null},update(r,e){return r!=null&&(r=e.changes.mapPos(r)),e.effects.reduce((t,n)=>n.is(zC)?n.value:t,r)}}),pk=yo.fromClass(class{constructor(r){this.view=r,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(r){var e;let t=r.state.field(nf);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(r.startState.field(nf)!=t||r.docChanged||r.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let r=this.view.state.field(nf),e=r!=null&&this.view.coordsAtPos(r);if(!e)return null;let t=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-t.left+this.view.scrollDOM.scrollLeft,top:e.top-t.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(r){this.cursor&&(r?(this.cursor.style.left=r.left+"px",this.cursor.style.top=r.top+"px",this.cursor.style.height=r.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(r){this.view.state.field(nf)!=r&&this.view.dispatch({effects:zC.of(r)})}},{eventHandlers:{dragover(r){this.setDropPos(this.view.posAtCoords({x:r.clientX,y:r.clientY}))},dragleave(r){(r.target==this.view.contentDOM||!this.view.contentDOM.contains(r.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function hk(){return[nf,pk]}function A1(r,e,t,n,i){e.lastIndex=0;for(let s=r.iterRange(t,n),u=t,p;!s.next().done;u+=s.value.length)if(!s.lineBreak)for(;p=e.exec(s.value);)i(u+p.index,p)}function fk(r,e){let t=r.visibleRanges;if(t.length==1&&t[0].from==r.viewport.from&&t[0].to==r.viewport.to)return t;let n=[];for(let{from:i,to:s}of t)i=Math.max(r.state.doc.lineAt(i).from,i-e),s=Math.min(r.state.doc.lineAt(s).to,s+e),n.length&&n[n.length-1].to>=i?n[n.length-1].to=s:n.push({from:i,to:s});return n}class dk{constructor(e){const{regexp:t,decoration:n,decorate:i,boundary:s,maxLength:u=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,i)this.addMatch=(p,f,m,O)=>i(O,m,m+p[0].length,p,f);else if(typeof n=="function")this.addMatch=(p,f,m,O)=>{let b=n(p,f,m);b&&O(m,m+p[0].length,b)};else if(n)this.addMatch=(p,f,m,O)=>O(m,m+p[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=u}createDeco(e){let t=new Ic,n=t.add.bind(t);for(let{from:i,to:s}of fk(e,this.maxLength))A1(e.state.doc,this.regexp,i,s,(u,p)=>this.addMatch(p,e,u,n));return t.finish()}updateDeco(e,t){let n=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((s,u,p,f)=>{f>e.view.viewport.from&&p<e.view.viewport.to&&(n=Math.min(p,n),i=Math.max(f,i))}),e.viewportChanged||i-n>1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,t.map(e.changes),n,i):t}updateRange(e,t,n,i){for(let s of e.visibleRanges){let u=Math.max(s.from,n),p=Math.min(s.to,i);if(p>u){let f=e.state.doc.lineAt(u),m=f.to<p?e.state.doc.lineAt(p):f,O=Math.max(s.from,f.from),b=Math.min(s.to,m.to);if(this.boundary){for(;u>f.from;u--)if(this.boundary.test(f.text[u-1-f.from])){O=u;break}for(;p<m.to;p++)if(this.boundary.test(m.text[p-m.from])){b=p;break}}let N=[],U,he=(Re,Ge,$e)=>N.push($e.range(Re,Ge));if(f==m)for(this.regexp.lastIndex=O-f.from;(U=this.regexp.exec(f.text))&&U.index<b-f.from;)this.addMatch(U,e,U.index+f.from,he);else A1(e.state.doc,this.regexp,O,b,(Re,Ge)=>this.addMatch(Ge,e,Re,he));t=t.update({filterFrom:O,filterTo:b,filter:(Re,Ge)=>Re<O||Ge>b,add:N})}}return t}}const py=/x/.unicode!=null?"gu":"g",mk=new RegExp(`[\0-\b
|
|
--\u2028\u2029\uFEFF-]`,py),gk={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let Zg=null;function yk(){var r;if(Zg==null&&typeof document<"u"&&document.body){let e=document.body.style;Zg=((r=e.tabSize)!==null&&r!==void 0?r:e.MozTabSize)!=null}return Zg||!1}const Zd=ei.define({combine(r){let e=fl(r,{render:null,specialChars:mk,addSpecialChars:null});return(e.replaceTabs=!yk())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,py)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,py)),e}});function Ok(r={}){return[Zd.of(r),Dk()]}let w1=null;function Dk(){return w1||(w1=yo.fromClass(class{constructor(r){this.view=r,this.decorations=ci.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(r.state.facet(Zd)),this.decorations=this.decorator.createDeco(r)}makeDecorator(r){return new dk({regexp:r.specialChars,decoration:(e,t,n)=>{let{doc:i}=t.state,s=Lo(e[0],0);if(s==9){let u=i.lineAt(n),p=t.state.tabSize,f=Wf(u.text,p,n-u.from);return ci.replace({widget:new Ck((p-f%p)*this.view.defaultCharacterWidth)})}return this.decorationCache[s]||(this.decorationCache[s]=ci.replace({widget:new vk(r,s)}))},boundary:r.replaceTabs?void 0:/[^]/})}update(r){let e=r.state.facet(Zd);r.startState.facet(Zd)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(r.view)):this.decorations=this.decorator.updateDeco(r,this.decorations)}},{decorations:r=>r.decorations}))}const xk="•";function bk(r){return r>=32?xk:r==10?"":String.fromCharCode(9216+r)}class vk extends Yl{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=bk(this.code),n=e.state.phrase("Control character")+" "+(gk[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,n,t);if(i)return i;let s=document.createElement("span");return s.textContent=t,s.title=n,s.setAttribute("aria-label",n),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class Ck extends Yl{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function Sk(){return Ak}const Ek=ci.line({class:"cm-activeLine"}),Ak=yo.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.docChanged||r.selectionSet)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=-1,t=[];for(let n of r.state.selection.ranges){let i=r.lineBlockAt(n.head);i.from>e&&(t.push(Ek.range(i.from)),e=i.from)}return ci.set(t)}},{decorations:r=>r.decorations}),hy=2e3;function wk(r,e,t){let n=Math.min(e.line,t.line),i=Math.max(e.line,t.line),s=[];if(e.off>hy||t.off>hy||e.col<0||t.col<0){let u=Math.min(e.off,t.off),p=Math.max(e.off,t.off);for(let f=n;f<=i;f++){let m=r.doc.line(f);m.length<=p&&s.push(Tr.range(m.from+u,m.to+p))}}else{let u=Math.min(e.col,t.col),p=Math.max(e.col,t.col);for(let f=n;f<=i;f++){let m=r.doc.line(f),O=W0(m.text,u,r.tabSize,!0);if(O<0)s.push(Tr.cursor(m.to));else{let b=W0(m.text,p,r.tabSize);s.push(Tr.range(m.from+O,m.from+b))}}}return s}function Pk(r,e){let t=r.coordsAtPos(r.viewport.from);return t?Math.round(Math.abs((t.left-e)/r.defaultCharacterWidth)):-1}function P1(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1),n=r.state.doc.lineAt(t),i=t-n.from,s=i>hy?-1:i==n.length?Pk(r,e.clientX):Wf(n.text,r.state.tabSize,t-n.from);return{line:n.number,col:s,off:i}}function Tk(r,e){let t=P1(r,e),n=r.state.selection;return t?{update(i){if(i.docChanged){let s=i.changes.mapPos(i.startState.doc.line(t.line).from),u=i.state.doc.lineAt(s);t={line:u.number,col:t.col,off:Math.min(t.off,u.length)},n=n.map(i.changes)}},get(i,s,u){let p=P1(r,i);if(!p)return n;let f=wk(r.state,t,p);return f.length?u?Tr.create(f.concat(n.ranges)):Tr.create(f):n}}:null}function kk(r){let e=(r==null?void 0:r.eventFilter)||(t=>t.altKey&&t.button==0);return ni.mouseSelectionStyle.of((t,n)=>e(n)?Tk(t,n):null)}const Fk={Alt:[18,r=>r.altKey],Control:[17,r=>r.ctrlKey],Shift:[16,r=>r.shiftKey],Meta:[91,r=>r.metaKey]},Bk={style:"cursor: crosshair"};function _k(r={}){let[e,t]=Fk[r.key||"Alt"],n=yo.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventHandlers:{keydown(i){this.set(i.keyCode==e||t(i))},keyup(i){(i.keyCode==e||!t(i))&&this.set(!1)},mousemove(i){this.set(t(i))}}});return[n,ni.contentAttributes.of(i=>{var s;return!((s=i.plugin(n))===null||s===void 0)&&s.isDown?Bk:null})]}const Sd="-10000px";class YC{constructor(e,t,n){this.facet=t,this.createTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(i=>i),this.tooltipViews=this.tooltips.map(n)}update(e){var t;let n=e.state.facet(this.facet),i=n.filter(u=>u);if(n===this.input){for(let u of this.tooltipViews)u.update&&u.update(e);return!1}let s=[];for(let u=0;u<i.length;u++){let p=i[u],f=-1;if(p){for(let m=0;m<this.tooltips.length;m++){let O=this.tooltips[m];O&&O.create==p.create&&(f=m)}if(f<0)s[u]=this.createTooltipView(p);else{let m=s[u]=this.tooltipViews[f];m.update&&m.update(e)}}}for(let u of this.tooltipViews)s.indexOf(u)<0&&(u.dom.remove(),(t=u.destroy)===null||t===void 0||t.call(u));return this.input=n,this.tooltips=i,this.tooltipViews=s,!0}}function $k(r){let{win:e}=r;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const zg=ei.define({combine:r=>{var e,t,n;return{position:Kn.ios?"absolute":((e=r.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=r.find(i=>i.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=r.find(i=>i.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||$k}}}),GC=yo.fromClass(class{constructor(r){this.view=r,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=r.state.facet(zg);this.position=e.position,this.parent=e.parent,this.classes=r.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new YC(r,dO,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),r.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let r of this.manager.tooltipViews)this.intersectionObserver.observe(r.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(r){r.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(r);e&&this.observeIntersection();let t=e||r.geometryChanged,n=r.state.facet(zg);if(n.position!=this.position){this.position=n.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(r){let e=r.create(this.view);if(e.dom.classList.add("cm-tooltip"),r.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=Sd,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var r,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(r=t.destroy)===null||r===void 0||r.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let r=this.view.dom.getBoundingClientRect();return{editor:r,parent:this.parent?this.container.getBoundingClientRect():r,pos:this.manager.tooltips.map((e,t)=>{let n=this.manager.tooltipViews[t];return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(zg).tooltipSpace(this.view)}}writeMeasure(r){let{editor:e,space:t}=r,n=[];for(let i=0;i<this.manager.tooltips.length;i++){let s=this.manager.tooltips[i],u=this.manager.tooltipViews[i],{dom:p}=u,f=r.pos[i],m=r.size[i];if(!f||f.bottom<=Math.max(e.top,t.top)||f.top>=Math.min(e.bottom,t.bottom)||f.right<Math.max(e.left,t.left)-.1||f.left>Math.min(e.right,t.right)+.1){p.style.top=Sd;continue}let O=s.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,b=O?7:0,N=m.right-m.left,U=m.bottom-m.top,he=u.offset||Ik,Re=this.view.textDirection==Ks.LTR,Ge=m.width>t.right-t.left?Re?t.left:t.right-m.width:Re?Math.min(f.left-(O?14:0)+he.x,t.right-N):Math.max(t.left,f.left-N+(O?14:0)-he.x),$e=!!s.above;!s.strictSide&&($e?f.top-(m.bottom-m.top)-he.y<t.top:f.bottom+(m.bottom-m.top)+he.y>t.bottom)&&$e==t.bottom-f.bottom>f.top-t.top&&($e=!$e);let gt=($e?f.top-t.top:t.bottom-f.bottom)-b;if(gt<U&&u.resize!==!1){if(gt<this.view.defaultLineHeight){p.style.top=Sd;continue}p.style.height=(U=gt)+"px"}else p.style.height&&(p.style.height="");let kt=$e?f.top-U-b-he.y:f.bottom+b+he.y,qt=Ge+N;if(u.overlap!==!0)for(let Yt of n)Yt.left<qt&&Yt.right>Ge&&Yt.top<kt+U&&Yt.bottom>kt&&(kt=$e?Yt.top-U-2-b:Yt.bottom+b+2);this.position=="absolute"?(p.style.top=kt-r.parent.top+"px",p.style.left=Ge-r.parent.left+"px"):(p.style.top=kt+"px",p.style.left=Ge+"px"),O&&(O.style.left=`${f.left+(Re?he.x:-he.x)-(Ge+14-7)}px`),u.overlap!==!0&&n.push({left:Ge,top:kt,right:qt,bottom:kt+U}),p.classList.toggle("cm-tooltip-above",$e),p.classList.toggle("cm-tooltip-below",!$e),u.positioned&&u.positioned(r.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let r of this.manager.tooltipViews)r.dom.style.top=Sd}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),Nk=ni.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Ik={x:0,y:0},dO=ei.define({enables:[GC,Nk]}),ym=ei.define();class mO{constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new YC(e,ym,t=>this.createHostedView(t))}static create(e){return new mO(e)}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}}const Qk=dO.compute([ym],r=>{let e=r.facet(ym).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:mO.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class jk{constructor(e,t,n,i,s){this.view=e,this.source=t,this.field=n,this.setHover=i,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{lastMove:e}=this,t=this.view.contentDOM.contains(e.target)?this.view.posAtCoords(e):null;if(t==null)return;let n=this.view.coordsAtPos(t);if(n==null||e.y<n.top||e.y>n.bottom||e.x<n.left-this.view.defaultCharacterWidth||e.x>n.right+this.view.defaultCharacterWidth)return;let i=this.view.bidiSpans(this.view.state.doc.lineAt(t)).find(p=>p.from<=t&&p.to>=t),s=i&&i.dir==Ks.RTL?-1:1,u=this.source(this.view,t,e.x<n.left?-s:s);if(u!=null&&u.then){let p=this.pending={pos:t};u.then(f=>{this.pending==p&&(this.pending=null,f&&this.view.dispatch({effects:this.setHover.of(f)}))},f=>Va(this.view.state,f,"hover tooltip"))}else u&&this.view.dispatch({effects:this.setHover.of(u)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let n=this.active;if(n&&!T1(this.lastMove.target)||this.pending){let{pos:i}=n||this.pending,s=(t=n==null?void 0:n.end)!==null&&t!==void 0?t:i;(i==s?this.view.posAtCoords(this.lastMove)!=i:!Mk(this.view,i,s,e.clientX,e.clientY,6))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!T1(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function T1(r){for(let e=r;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function Mk(r,e,t,n,i,s){let u=document.createRange(),p=r.domAtPos(e),f=r.domAtPos(t);u.setEnd(f.node,f.offset),u.setStart(p.node,p.offset);let m=u.getClientRects();u.detach();for(let O=0;O<m.length;O++){let b=m[O];if(Math.max(b.top-i,i-b.bottom,b.left-n,n-b.right)<=s)return!0}return!1}function Lk(r,e={}){let t=Ii.define(),n=Eo.define({create(){return null},update(i,s){if(i&&(e.hideOnChange&&(s.docChanged||s.selection)||e.hideOn&&e.hideOn(s,i)))return null;if(i&&s.docChanged){let u=s.changes.mapPos(i.pos,-1,Vo.TrackDel);if(u==null)return null;let p=Object.assign(Object.create(null),i);p.pos=u,i.end!=null&&(p.end=s.changes.mapPos(i.end)),i=p}for(let u of s.effects)u.is(t)&&(i=u.value),u.is(Vk)&&(i=null);return i},provide:i=>ym.from(i)});return[n,yo.define(i=>new jk(i,r,n,t,e.hoverTime||300)),Qk]}function Rk(r,e){let t=r.plugin(GC);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}const Vk=Ii.define(),k1=ei.define({combine(r){let e,t;for(let n of r)e=e||n.topContainer,t=t||n.bottomContainer;return{topContainer:e,bottomContainer:t}}});function Bf(r,e){let t=r.plugin(HC),n=t?t.specs.indexOf(e):-1;return n>-1?t.panels[n]:null}const HC=yo.fromClass(class{constructor(r){this.input=r.state.facet(_f),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(r));let e=r.state.facet(k1);this.top=new Ed(r,!0,e.topContainer),this.bottom=new Ed(r,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(r){let e=r.state.facet(k1);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Ed(r.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Ed(r.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=r.state.facet(_f);if(t!=this.input){let n=t.filter(f=>f),i=[],s=[],u=[],p=[];for(let f of n){let m=this.specs.indexOf(f),O;m<0?(O=f(r.view),p.push(O)):(O=this.panels[m],O.update&&O.update(r)),i.push(O),(O.top?s:u).push(O)}this.specs=n,this.panels=i,this.top.sync(s),this.bottom.sync(u);for(let f of p)f.dom.classList.add("cm-panel"),f.mount&&f.mount()}else for(let n of this.panels)n.update&&n.update(r)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:r=>ni.scrollMargins.of(e=>{let t=e.plugin(r);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class Ed{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=F1(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=F1(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function F1(r){let e=r.nextSibling;return r.remove(),e}const _f=ei.define({enables:HC});class Zl extends Sp{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}Zl.prototype.elementClass="";Zl.prototype.toDOM=void 0;Zl.prototype.mapMode=Vo.TrackBefore;Zl.prototype.startSide=Zl.prototype.endSide=-1;Zl.prototype.point=!0;const zd=ei.define(),Xk={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Ss.empty,lineMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},hf=ei.define();function Uk(r){return[JC(),hf.of(Object.assign(Object.assign({},Xk),r))]}const fy=ei.define({combine:r=>r.some(e=>e)});function JC(r){let e=[Wk];return r&&r.fixed===!1&&e.push(fy.of(!0)),e}const Wk=yo.fromClass(class{constructor(r){this.view=r,this.prevViewport=r.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=r.state.facet(hf).map(e=>new _1(r,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!r.state.facet(fy),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),r.scrollDOM.insertBefore(this.dom,r.contentDOM)}update(r){if(this.updateGutters(r)){let e=this.prevViewport,t=r.view.viewport,n=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(n<(t.to-t.from)*.8)}r.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(fy)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=r.view.viewport}syncGutters(r){let e=this.dom.nextSibling;r&&this.dom.remove();let t=Ss.iter(this.view.state.facet(zd),this.view.viewport.from),n=[],i=this.gutters.map(s=>new qk(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks){let u;if(Array.isArray(s.type)){for(let p of s.type)if(p.type==Qs.Text){u=p;break}}else u=s.type==Qs.Text?s:void 0;if(u){n.length&&(n=[]),KC(t,n,s.from);for(let p of i)p.line(this.view,u,n)}}for(let s of i)s.finish();r&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(r){let e=r.startState.facet(hf),t=r.state.facet(hf),n=r.docChanged||r.heightChanged||r.viewportChanged||!Ss.eq(r.startState.facet(zd),r.state.facet(zd),r.view.viewport.from,r.view.viewport.to);if(e==t)for(let i of this.gutters)i.update(r)&&(n=!0);else{n=!0;let i=[];for(let s of t){let u=e.indexOf(s);u<0?i.push(new _1(this.view,s)):(this.gutters[u].update(r),i.push(this.gutters[u]))}for(let s of this.gutters)s.dom.remove(),i.indexOf(s)<0&&s.destroy();for(let s of i)this.dom.appendChild(s.dom);this.gutters=i}return n}destroy(){for(let r of this.gutters)r.destroy();this.dom.remove()}},{provide:r=>ni.scrollMargins.of(e=>{let t=e.plugin(r);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==Ks.LTR?{left:t.dom.offsetWidth}:{right:t.dom.offsetWidth}})});function B1(r){return Array.isArray(r)?r:[r]}function KC(r,e,t){for(;r.value&&r.from<=t;)r.from==t&&e.push(r.value),r.next()}class qk{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=Ss.iter(e.markers,t.from)}line(e,t,n){let i=[];KC(this.cursor,i,t.from),n.length&&(i=i.concat(n));let s=this.gutter.config.lineMarker(e,t,i);s&&i.unshift(s);let u=this.gutter;if(i.length==0&&!u.config.renderEmptyElements)return;let p=t.top-this.height;if(this.i==u.elements.length){let f=new eS(e,t.height,p,i);u.elements.push(f),u.dom.appendChild(f.dom)}else u.elements[this.i].update(e,t.height,p,i);this.height=t.bottom,this.i++}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class _1{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,i=>{let s=i.target,u;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let f=s.getBoundingClientRect();u=(f.top+f.bottom)/2}else u=i.clientY;let p=e.lineBlockAtHeight(u-e.documentTop);t.domEventHandlers[n](e,p,i)&&i.preventDefault()});this.markers=B1(t.markers(e)),t.initialSpacer&&(this.spacer=new eS(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=B1(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let n=e.view.viewport;return!Ss.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class eS{constructor(e,t,n,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,i)}update(e,t,n,i){this.height!=t&&(this.dom.style.height=(this.height=t)+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),Zk(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,t){let n="cm-gutterElement",i=this.dom.firstChild;for(let s=0,u=0;;){let p=u,f=s<t.length?t[s++]:null,m=!1;if(f){let O=f.elementClass;O&&(n+=" "+O);for(let b=u;b<this.markers.length;b++)if(this.markers[b].compare(f)){p=b,m=!0;break}}else p=this.markers.length;for(;u<p;){let O=this.markers[u++];if(O.toDOM){O.destroy(i);let b=i.nextSibling;i.remove(),i=b}}if(!f)break;f.toDOM&&(m?i=i.nextSibling:this.dom.insertBefore(f.toDOM(e),i)),m&&u++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}function Zk(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++)if(!r[t].compare(e[t]))return!1;return!0}const zk=ei.define(),sh=ei.define({combine(r){return fl(r,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let i in t){let s=n[i],u=t[i];n[i]=s?(p,f,m)=>s(p,f,m)||u(p,f,m):u}return n}})}});class Yg extends Zl{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Gg(r,e){return r.state.facet(sh).formatNumber(e,r.state)}const Yk=hf.compute([sh],r=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(zk)},lineMarker(e,t,n){return n.some(i=>i.toDOM)?null:new Yg(Gg(e,e.state.doc.lineAt(t.from).number))},lineMarkerChange:e=>e.startState.facet(sh)!=e.state.facet(sh),initialSpacer(e){return new Yg(Gg(e,$1(e.state.doc.lines)))},updateSpacer(e,t){let n=Gg(t.view,$1(t.view.state.doc.lines));return n==e.number?e:new Yg(n)},domEventHandlers:r.facet(sh).domEventHandlers}));function Gk(r={}){return[sh.of(r),JC(),Yk]}function $1(r){let e=9;for(;e<r;)e=e*10+9;return e}const Hk=new class extends Zl{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},Jk=zd.compute(["selection"],r=>{let e=[],t=-1;for(let n of r.selection.ranges){let i=r.doc.lineAt(n.head).from;i>t&&(t=i,e.push(Hk.range(i)))}return Ss.of(e)});function Kk(){return Jk}function Yf(r){return Rb()?(zE(r),!0):!1}function ff(){const r=new Set,e=i=>{r.delete(i)};return{on:i=>{r.add(i);const s=()=>e(i);return Yf(s),{off:s}},off:e,trigger:i=>Promise.all(Array.from(r).map(s=>s(i)))}}function _o(r){return typeof r=="function"?r():Xi(r)}const Ad=_o,tS=typeof window<"u",eF=r=>typeof r<"u",Ap=()=>{};function gO(r,e){function t(...n){return new Promise((i,s)=>{Promise.resolve(r(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})).then(i).catch(s)})}return t}const rS=r=>r();function tF(r,e={}){let t,n,i=Ap;const s=p=>{clearTimeout(p),i(),i=Ap};return p=>{const f=_o(r),m=_o(e.maxWait);return t&&s(t),f<=0||m!==void 0&&m<=0?(n&&(s(n),n=null),Promise.resolve(p())):new Promise((O,b)=>{i=e.rejectOnCancel?b:O,m&&!n&&(n=setTimeout(()=>{t&&s(t),n=null,O(p())},m)),t=setTimeout(()=>{n&&s(n),n=null,O(p())},f)})}}function rF(r,e=!0,t=!0,n=!1){let i=0,s,u=!0,p=Ap,f;const m=()=>{s&&(clearTimeout(s),s=void 0,p(),p=Ap)};return b=>{const N=_o(r),U=Date.now()-i,he=()=>f=b();return m(),N<=0?(i=Date.now(),he()):(U>N&&(t||!u)?(i=Date.now(),he()):e&&(f=new Promise((Re,Ge)=>{p=n?Ge:Re,s=setTimeout(()=>{i=Date.now(),u=!0,Re(he()),m()},Math.max(0,N-U))})),!t&&!s&&(s=setTimeout(()=>u=!0,N)),u=!1,f)}}function nF(r=rS){const e=go(!0);function t(){e.value=!1}function n(){e.value=!0}const i=(...s)=>{e.value&&r(...s)};return{isActive:Xf(e),pause:t,resume:n,eventFilter:i}}function N1(r,e=!1,t="Timeout"){return new Promise((n,i)=>{setTimeout(e?()=>i(t):n,r)})}function iF(r,...e){return e.some(t=>t in r)}function df(...r){if(r.length!==1)return rv(...r);const e=r[0];return typeof e=="function"?Xf(AA(()=>({get:e,set:Ap}))):go(e)}function sF(r,e=200,t={}){return gO(tF(e,t),r)}function oF(r,e=200,t={}){const n=go(r.value),i=sF(()=>{n.value=r.value},e,t);return $o(r,()=>i()),n}function aF(r,e=200,t=!1,n=!0,i=!1){return gO(rF(e,t,n,i),r)}function uF(r,e=!0){tg()?Uf(r):e?r():Ym(r)}function dy(r,e=!1){function t(b,{flush:N="sync",deep:U=!1,timeout:he,throwOnTimeout:Re}={}){let Ge=null;const gt=[new Promise(kt=>{Ge=$o(r,qt=>{b(qt)!==e&&(Ge==null||Ge(),kt(qt))},{flush:N,deep:U,immediate:!0})})];return he!=null&>.push(N1(he,Re).then(()=>_o(r)).finally(()=>Ge==null?void 0:Ge())),Promise.race(gt)}function n(b,N){if(!no(b))return t(qt=>qt===b,N);const{flush:U="sync",deep:he=!1,timeout:Re,throwOnTimeout:Ge}=N??{};let $e=null;const kt=[new Promise(qt=>{$e=$o([r,b],([Yt,Pr])=>{e!==(Yt===Pr)&&($e==null||$e(),qt(Yt))},{flush:U,deep:he,immediate:!0})})];return Re!=null&&kt.push(N1(Re,Ge).then(()=>_o(r)).finally(()=>($e==null||$e(),_o(r)))),Promise.race(kt)}function i(b){return t(N=>!!N,b)}function s(b){return n(null,b)}function u(b){return n(void 0,b)}function p(b){return t(Number.isNaN,b)}function f(b,N){return t(U=>{const he=Array.from(U);return he.includes(b)||he.includes(_o(b))},N)}function m(b){return O(1,b)}function O(b=1,N){let U=-1;return t(()=>(U+=1,U>=b),N)}return Array.isArray(_o(r))?{toMatch:t,toContains:f,changed:m,changedTimes:O,get not(){return dy(r,!e)}}:{toMatch:t,toBe:n,toBeTruthy:i,toBeNull:s,toBeNaN:p,toBeUndefined:u,changed:m,changedTimes:O,get not(){return dy(r,!e)}}}function lF(r){return dy(r)}function cF(r,e,t={}){const{immediate:n=!0}=t,i=go(!1);let s=null;function u(){s&&(clearTimeout(s),s=null)}function p(){i.value=!1,u()}function f(...m){u(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,r(...m)},_o(e))}return n&&(i.value=!0,tS&&f()),Yf(p),{isPending:Xf(i),start:f,stop:p}}function pF(r=!1,e={}){const{truthyValue:t=!0,falsyValue:n=!1}=e,i=no(r),s=go(r);function u(p){if(arguments.length)return s.value=p,s.value;{const f=_o(t);return s.value=s.value===f?_o(n):f,s.value}}return i?u:[s,u]}var I1=Object.getOwnPropertySymbols,hF=Object.prototype.hasOwnProperty,fF=Object.prototype.propertyIsEnumerable,dF=(r,e)=>{var t={};for(var n in r)hF.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&I1)for(var n of I1(r))e.indexOf(n)<0&&fF.call(r,n)&&(t[n]=r[n]);return t};function mF(r,e,t={}){const n=t,{eventFilter:i=rS}=n,s=dF(n,["eventFilter"]);return $o(r,gO(i,e),s)}var gF=Object.defineProperty,yF=Object.defineProperties,OF=Object.getOwnPropertyDescriptors,Om=Object.getOwnPropertySymbols,nS=Object.prototype.hasOwnProperty,iS=Object.prototype.propertyIsEnumerable,Q1=(r,e,t)=>e in r?gF(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,DF=(r,e)=>{for(var t in e||(e={}))nS.call(e,t)&&Q1(r,t,e[t]);if(Om)for(var t of Om(e))iS.call(e,t)&&Q1(r,t,e[t]);return r},xF=(r,e)=>yF(r,OF(e)),bF=(r,e)=>{var t={};for(var n in r)nS.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&Om)for(var n of Om(r))e.indexOf(n)<0&&iS.call(r,n)&&(t[n]=r[n]);return t};function vF(r,e,t={}){const n=t,{eventFilter:i}=n,s=bF(n,["eventFilter"]),{eventFilter:u,pause:p,resume:f,isActive:m}=nF(i);return{stop:mF(r,e,xF(DF({},s),{eventFilter:u})),pause:p,resume:f,isActive:m}}function lQ(r,e,t){let n;no(t)?n={evaluating:t}:n=t||{};const{lazy:i=!1,evaluating:s=void 0,shallow:u=!0,onError:p=Ap}=n,f=go(!i),m=u?hh(e):go(e);let O=0;return cv(async b=>{if(!f.value)return;O++;const N=O;let U=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const he=await r(Re=>{b(()=>{s&&(s.value=!1),U||Re()})});N===O&&(m.value=he)}catch(he){p(he)}finally{s&&N===O&&(s.value=!1),U=!0}}),i?Cs(()=>(f.value=!0,m.value)):m}function $f(r){var e;const t=_o(r);return(e=t==null?void 0:t.$el)!=null?e:t}const Lc=tS?window:void 0;function my(...r){let e,t,n,i;if(typeof r[0]=="string"||Array.isArray(r[0])?([t,n,i]=r,e=Lc):[e,t,n,i]=r,!e)return Ap;Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);const s=[],u=()=>{s.forEach(O=>O()),s.length=0},p=(O,b,N,U)=>(O.addEventListener(b,N,U),()=>O.removeEventListener(b,N,U)),f=$o(()=>[$f(e),_o(i)],([O,b])=>{u(),O&&s.push(...t.flatMap(N=>n.map(U=>p(O,N,U,b))))},{immediate:!0,flush:"post"}),m=()=>{f(),u()};return Yf(m),m}function CF(){const r=go(!1);return tg()&&Uf(()=>{r.value=!0}),r}function sS(r){const e=CF();return Cs(()=>(e.value,!!r()))}function SF(r,e={}){const{window:t=Lc}=e,n=sS(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let i;const s=go(!1),u=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",p):i.removeListener(p))},p=()=>{n.value&&(u(),i=t.matchMedia(df(r).value),s.value=!!(i!=null&&i.matches),i&&("addEventListener"in i?i.addEventListener("change",p):i.addListener(p)))};return cv(p),Yf(()=>u()),s}function EF(r){return JSON.parse(JSON.stringify(r))}const wd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pd="__vueuse_ssr_handlers__",AF=wF();function wF(){return Pd in wd||(wd[Pd]=wd[Pd]||{}),wd[Pd]}function oS(r,e){return AF[r]||e}function PF(r){return r==null?"any":r instanceof Set?"set":r instanceof Map?"map":r instanceof Date?"date":typeof r=="boolean"?"boolean":typeof r=="string"?"string":typeof r=="object"?"object":Number.isNaN(r)?"any":"number"}var TF=Object.defineProperty,j1=Object.getOwnPropertySymbols,kF=Object.prototype.hasOwnProperty,FF=Object.prototype.propertyIsEnumerable,M1=(r,e,t)=>e in r?TF(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,L1=(r,e)=>{for(var t in e||(e={}))kF.call(e,t)&&M1(r,t,e[t]);if(j1)for(var t of j1(e))FF.call(e,t)&&M1(r,t,e[t]);return r};const BF={boolean:{read:r=>r==="true",write:r=>String(r)},object:{read:r=>JSON.parse(r),write:r=>JSON.stringify(r)},number:{read:r=>Number.parseFloat(r),write:r=>String(r)},any:{read:r=>r,write:r=>String(r)},string:{read:r=>r,write:r=>String(r)},map:{read:r=>new Map(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r.entries()))},set:{read:r=>new Set(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r))},date:{read:r=>new Date(r),write:r=>r.toISOString()}},R1="vueuse-storage";function aS(r,e,t,n={}){var i;const{flush:s="pre",deep:u=!0,listenToStorageChanges:p=!0,writeDefaults:f=!0,mergeDefaults:m=!1,shallow:O,window:b=Lc,eventFilter:N,onError:U=mr=>{console.error(mr)}}=n,he=(O?hh:go)(e);if(!t)try{t=oS("getDefaultStorage",()=>{var mr;return(mr=Lc)==null?void 0:mr.localStorage})()}catch(mr){U(mr)}if(!t)return he;const Re=_o(e),Ge=PF(Re),$e=(i=n.serializer)!=null?i:BF[Ge],{pause:gt,resume:kt}=vF(he,()=>qt(he.value),{flush:s,deep:u,eventFilter:N});return b&&p&&(my(b,"storage",vr),my(b,R1,Pr)),vr(),he;function qt(mr){try{if(mr==null)t.removeItem(r);else{const kr=$e.write(mr),Rr=t.getItem(r);Rr!==kr&&(t.setItem(r,kr),b&&b.dispatchEvent(new CustomEvent(R1,{detail:{key:r,oldValue:Rr,newValue:kr,storageArea:t}})))}}catch(kr){U(kr)}}function Yt(mr){const kr=mr?mr.newValue:t.getItem(r);if(kr==null)return f&&Re!==null&&t.setItem(r,$e.write(Re)),Re;if(!mr&&m){const Rr=$e.read(kr);return typeof m=="function"?m(Rr,Re):Ge==="object"&&!Array.isArray(Rr)?L1(L1({},Re),Rr):Rr}else return typeof kr!="string"?kr:$e.read(kr)}function Pr(mr){vr(mr.detail)}function vr(mr){if(!(mr&&mr.storageArea!==t)){if(mr&&mr.key==null){he.value=Re;return}if(!(mr&&mr.key!==r)){gt();try{he.value=Yt(mr)}catch(kr){U(kr)}finally{mr?Ym(kt):kt()}}}}}function _F(r){return SF("(prefers-color-scheme: dark)",r)}var $F=Object.defineProperty,V1=Object.getOwnPropertySymbols,NF=Object.prototype.hasOwnProperty,IF=Object.prototype.propertyIsEnumerable,X1=(r,e,t)=>e in r?$F(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,QF=(r,e)=>{for(var t in e||(e={}))NF.call(e,t)&&X1(r,t,e[t]);if(V1)for(var t of V1(e))IF.call(e,t)&&X1(r,t,e[t]);return r};function jF(r={}){const{selector:e="html",attribute:t="class",initialValue:n="auto",window:i=Lc,storage:s,storageKey:u="vueuse-color-scheme",listenToStorageChanges:p=!0,storageRef:f,emitAuto:m,disableTransition:O=!0}=r,b=QF({auto:"",light:"light",dark:"dark"},r.modes||{}),N=_F({window:i}),U=Cs(()=>N.value?"dark":"light"),he=f||(u==null?df(n):aS(u,n,s,{window:i,listenToStorageChanges:p})),Re=Cs(()=>he.value==="auto"?U.value:he.value),Ge=oS("updateHTMLAttrs",(qt,Yt,Pr)=>{const vr=typeof qt=="string"?i==null?void 0:i.document.querySelector(qt):$f(qt);if(!vr)return;let mr;if(O&&(mr=i.document.createElement("style"),mr.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),i.document.head.appendChild(mr)),Yt==="class"){const kr=Pr.split(/\s/g);Object.values(b).flatMap(Rr=>(Rr||"").split(/\s/g)).filter(Boolean).forEach(Rr=>{kr.includes(Rr)?vr.classList.add(Rr):vr.classList.remove(Rr)})}else vr.setAttribute(Yt,Pr);O&&(i.getComputedStyle(mr).opacity,document.head.removeChild(mr))});function $e(qt){var Yt;Ge(e,t,(Yt=b[qt])!=null?Yt:qt)}function gt(qt){r.onChanged?r.onChanged(qt,$e):$e(qt)}$o(Re,gt,{flush:"post",immediate:!0}),uF(()=>gt(Re.value));const kt=Cs({get(){return m?he.value:Re.value},set(qt){he.value=qt}});try{return Object.assign(kt,{store:he,system:U,state:Re})}catch{return kt}}var MF=Object.defineProperty,LF=Object.defineProperties,RF=Object.getOwnPropertyDescriptors,U1=Object.getOwnPropertySymbols,VF=Object.prototype.hasOwnProperty,XF=Object.prototype.propertyIsEnumerable,W1=(r,e,t)=>e in r?MF(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,UF=(r,e)=>{for(var t in e||(e={}))VF.call(e,t)&&W1(r,t,e[t]);if(U1)for(var t of U1(e))XF.call(e,t)&&W1(r,t,e[t]);return r},WF=(r,e)=>LF(r,RF(e));function qF(r={}){const{valueDark:e="dark",valueLight:t=""}=r,n=jF(WF(UF({},r),{onChanged:(s,u)=>{var p;r.onChanged?(p=r.onChanged)==null||p.call(r,s==="dark",u,s):u(s)},modes:{dark:e,light:t}}));return Cs({get(){return n.value==="dark"},set(s){const u=s?"dark":"light";n.system.value===u?n.value="auto":n.value=u}})}var q1=Object.getOwnPropertySymbols,ZF=Object.prototype.hasOwnProperty,zF=Object.prototype.propertyIsEnumerable,YF=(r,e)=>{var t={};for(var n in r)ZF.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&q1)for(var n of q1(r))e.indexOf(n)<0&&zF.call(r,n)&&(t[n]=r[n]);return t};function GF(r,e,t={}){const n=t,{window:i=Lc}=n,s=YF(n,["window"]);let u;const p=sS(()=>i&&"ResizeObserver"in i),f=()=>{u&&(u.disconnect(),u=void 0)},m=Cs(()=>Array.isArray(r)?r.map(N=>$f(N)):[$f(r)]),O=$o(m,N=>{if(f(),p.value&&i){u=new ResizeObserver(e);for(const U of N)U&&u.observe(U,s)}},{immediate:!0,flush:"post",deep:!0}),b=()=>{f(),O()};return Yf(b),{isSupported:p,stop:b}}var HF=Object.defineProperty,JF=Object.defineProperties,KF=Object.getOwnPropertyDescriptors,Z1=Object.getOwnPropertySymbols,e3=Object.prototype.hasOwnProperty,t3=Object.prototype.propertyIsEnumerable,z1=(r,e,t)=>e in r?HF(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,va=(r,e)=>{for(var t in e||(e={}))e3.call(e,t)&&z1(r,t,e[t]);if(Z1)for(var t of Z1(e))t3.call(e,t)&&z1(r,t,e[t]);return r},Zh=(r,e)=>JF(r,KF(e));const r3={json:"application/json",text:"text/plain"};function Y1(r){return r&&iF(r,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Hg(r){return typeof Headers<"u"&&r instanceof Headers?Object.fromEntries([...r.entries()]):r}function ug(r,...e){var t;const n=typeof AbortController=="function";let i={},s={immediate:!0,refetch:!1,timeout:0};const u={method:"GET",type:"text",payload:void 0};e.length>0&&(Y1(e[0])?s=va(va({},s),e[0]):i=e[0]),e.length>1&&Y1(e[1])&&(s=va(va({},s),e[1]));const{fetch:p=(t=Lc)==null?void 0:t.fetch,initialData:f,timeout:m}=s,O=ff(),b=ff(),N=ff(),U=go(!1),he=go(!1),Re=go(!1),Ge=go(null),$e=hh(null),gt=hh(null),kt=hh(f||null),qt=Cs(()=>n&&he.value);let Yt,Pr;const vr=()=>{n&&(Yt==null||Yt.abort(),Yt=new AbortController,Yt.signal.onabort=()=>Re.value=!0,i=Zh(va({},i),{signal:Yt.signal}))},mr=Si=>{he.value=Si,U.value=!Si};m&&(Pr=cF(vr,m,{immediate:!1}));const kr=async(Si=!1)=>{var jn;vr(),mr(!0),gt.value=null,Ge.value=null,Re.value=!1;const ti={method:u.method,headers:{}};if(u.payload){const Qi=Hg(ti.headers);u.payloadType&&(Qi["Content-Type"]=(jn=r3[u.payloadType])!=null?jn:u.payloadType);const os=_o(u.payload);ti.body=u.payloadType==="json"?JSON.stringify(os):os}let Mn=!1;const Sn={url:_o(r),options:va(va({},ti),i),cancel:()=>{Mn=!0}};if(s.beforeFetch&&Object.assign(Sn,await s.beforeFetch(Sn)),Mn||!p)return mr(!1),Promise.resolve(null);let es=null;return Pr&&Pr.start(),new Promise((Qi,os)=>{var Es;p(Sn.url,Zh(va(va({},ti),Sn.options),{headers:va(va({},Hg(ti.headers)),Hg((Es=Sn.options)==null?void 0:Es.headers))})).then(async ys=>{if($e.value=ys,Ge.value=ys.status,es=await ys[u.type](),!ys.ok)throw kt.value=f||null,new Error(ys.statusText);return s.afterFetch&&({data:es}=await s.afterFetch({data:es,response:ys})),kt.value=es,O.trigger(ys),Qi(ys)}).catch(async ys=>{let Cr=ys.message||ys.name;return s.onFetchError&&({error:Cr}=await s.onFetchError({data:es,error:ys,response:$e.value})),gt.value=Cr,b.trigger(ys),Si?os(ys):Qi(null)}).finally(()=>{mr(!1),Pr&&Pr.stop(),N.trigger(null)})})},Rr=df(s.refetch);$o([Rr,df(r)],([Si])=>Si&&kr(),{deep:!0});const dn={isFinished:U,statusCode:Ge,response:$e,error:gt,data:kt,isFetching:he,canAbort:qt,aborted:Re,abort:vr,execute:kr,onFetchResponse:O.on,onFetchError:b.on,onFetchFinally:N.on,get:Nn("GET"),put:Nn("PUT"),post:Nn("POST"),delete:Nn("DELETE"),patch:Nn("PATCH"),head:Nn("HEAD"),options:Nn("OPTIONS"),json:Gi("json"),text:Gi("text"),blob:Gi("blob"),arrayBuffer:Gi("arrayBuffer"),formData:Gi("formData")};function Nn(Si){return(jn,ti)=>{if(!he.value){u.method=Si,u.payload=jn,u.payloadType=ti,no(u.payload)&&$o([Rr,df(u.payload)],([Sn])=>Sn&&kr(),{deep:!0});const Mn=_o(u.payload);return!ti&&Mn&&Object.getPrototypeOf(Mn)===Object.prototype&&!(Mn instanceof FormData)&&(u.payloadType="json"),Zh(va({},dn),{then(Sn,es){return Bi().then(Sn,es)}})}}}function Bi(){return new Promise((Si,jn)=>{lF(U).toBe(!0).then(()=>Si(dn)).catch(ti=>jn(ti))})}function Gi(Si){return()=>{if(!he.value)return u.type=Si,Zh(va({},dn),{then(jn,ti){return Bi().then(jn,ti)}})}}return s.immediate&&Promise.resolve().then(()=>kr()),Zh(va({},dn),{then(Si,jn){return Bi().then(Si,jn)}})}function cQ(r,e,t={}){const{window:n=Lc}=t;return aS(r,e,n==null?void 0:n.localStorage,t)}function n3(r,e,t,n={}){var i,s,u;const{clone:p=!1,passive:f=!1,eventName:m,deep:O=!1,defaultValue:b,shouldEmit:N}=n,U=tg(),he=t||(U==null?void 0:U.emit)||((i=U==null?void 0:U.$emit)==null?void 0:i.bind(U))||((u=(s=U==null?void 0:U.proxy)==null?void 0:s.$emit)==null?void 0:u.bind(U==null?void 0:U.proxy));let Re=m;e||(e="modelValue"),Re=m||Re||`update:${e.toString()}`;const Ge=kt=>p?typeof p=="function"?p(kt):EF(kt):kt,$e=()=>eF(r[e])?Ge(r[e]):b,gt=kt=>{N?N(kt)&&he(Re,kt):he(Re,kt)};if(f){const kt=$e(),qt=go(kt);return $o(()=>r[e],Yt=>qt.value=Ge(Yt)),$o(qt,Yt=>{(Yt!==r[e]||O)&>(Yt)},{deep:O}),qt}else return Cs({get(){return $e()},set(kt){gt(kt)}})}const uS=1024;let i3=0;class za{constructor(e,t){this.from=e,this.to=t}}class Yi{constructor(e={}){this.id=i3++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ha.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}Yi.closedBy=new Yi({deserialize:r=>r.split(" ")});Yi.openedBy=new Yi({deserialize:r=>r.split(" ")});Yi.group=new Yi({deserialize:r=>r.split(" ")});Yi.contextHash=new Yi({perNode:!0});Yi.lookAhead=new Yi({perNode:!0});Yi.mounted=new Yi({perNode:!0});class s3{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const o3=Object.create(null);class ha{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):o3,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new ha(e.name||"",t,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(i)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(Yi.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return n=>{for(let i=n.prop(Yi.group),s=-1;s<(i?i.length:0);s++){let u=t[s<0?n.name:i[s]];if(u)return u}}}}ha.none=new ha("",Object.create(null),0,8);class yO{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let i=null;for(let s of e){let u=s(n);u&&(i||(i=Object.assign({},n.props)),i[u[0].id]=u[1])}t.push(i?new ha(n.name,i,n.id,n.flags):n)}return new yO(t)}}const Td=new WeakMap,G1=new WeakMap;var Xs;(function(r){r[r.ExcludeBuffers=1]="ExcludeBuffers",r[r.IncludeAnonymous=2]="IncludeAnonymous",r[r.IgnoreMounts=4]="IgnoreMounts",r[r.IgnoreOverlays=8]="IgnoreOverlays"})(Xs||(Xs={}));class eo{constructor(e,t,n,i,s){if(this.type=e,this.children=t,this.positions=n,this.length=i,this.props=null,s&&s.length){this.props=Object.create(null);for(let[u,p]of s)this.props[typeof u=="number"?u:u.id]=p}}toString(){let e=this.prop(Yi.mounted);if(e&&!e.overlay)return e.tree.toString();let t="";for(let n of this.children){let i=n.toString();i&&(t&&(t+=","),t+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new Nf(this.topNode,e)}cursorAt(e,t=0,n=0){let i=Td.get(this)||this.topNode,s=new Nf(i);return s.moveTo(e,t),Td.set(this,s._tree),s}get topNode(){return new Ja(this,0,0,null)}resolve(e,t=0){let n=Ah(Td.get(this)||this.topNode,e,t,!1);return Td.set(this,n),n}resolveInner(e,t=0){let n=Ah(G1.get(this)||this.topNode,e,t,!0);return G1.set(this,n),n}iterate(e){let{enter:t,leave:n,from:i=0,to:s=this.length}=e;for(let u=this.cursor((e.mode||0)|Xs.IncludeAnonymous);;){let p=!1;if(u.from<=s&&u.to>=i&&(u.type.isAnonymous||t(u)!==!1)){if(u.firstChild())continue;p=!0}for(;p&&n&&!u.type.isAnonymous&&n(u),!u.nextSibling();){if(!u.parent())return;p=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:xO(ha.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,i)=>new eo(this.type,t,n,i,this.propValues),e.makeTree||((t,n,i)=>new eo(ha.none,t,n,i)))}static build(e){return u3(e)}}eo.empty=new eo(ha.none,[],[],0);class OO{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new OO(this.buffer,this.index)}}class Fp{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return ha.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],i=this.set.types[t],s=i.name;if(/\W/.test(s)&&!i.isError&&(s=JSON.stringify(s)),e+=4,n==e)return s;let u=[];for(;e<n;)u.push(this.childString(e)),e=this.buffer[e+3];return s+"("+u.join(",")+")"}findChild(e,t,n,i,s){let{buffer:u}=this,p=-1;for(let f=e;f!=t&&!(lS(s,i,u[f+1],u[f+2])&&(p=f,n>0));f=u[f+3]);return p}slice(e,t,n){let i=this.buffer,s=new Uint16Array(t-e),u=0;for(let p=e,f=0;p<t;){s[f++]=i[p++],s[f++]=i[p++]-n;let m=s[f++]=i[p++]-n;s[f++]=i[p++]-e,u=Math.max(u,m)}return new Fp(s,u,this.set)}}function lS(r,e,t,n){switch(r){case-2:return t<e;case-1:return n>=e&&t<e;case 0:return t<e&&n>e;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function cS(r,e){let t=r.childBefore(e);for(;t;){let n=t.lastChild;if(!n||n.to!=t.to)break;n.type.isError&&n.from==n.to?(r=t,t=n.prevSibling):t=n}return r}function Ah(r,e,t,n){for(var i;r.from==r.to||(t<1?r.from>=e:r.from>e)||(t>-1?r.to<=e:r.to<e);){let u=!n&&r instanceof Ja&&r.index<0?null:r.parent;if(!u)return r;r=u}let s=n?0:Xs.IgnoreOverlays;if(n)for(let u=r,p=u.parent;p;u=p,p=u.parent)u instanceof Ja&&u.index<0&&((i=p.enter(e,t,s))===null||i===void 0?void 0:i.from)!=u.from&&(r=p);for(;;){let u=r.enter(e,t,s);if(!u)return r;r=u}}class Ja{constructor(e,t,n,i){this._tree=e,this.from=t,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,i,s=0){for(let u=this;;){for(let{children:p,positions:f}=u._tree,m=t>0?p.length:-1;e!=m;e+=t){let O=p[e],b=f[e]+u.from;if(lS(i,n,b,b+O.length)){if(O instanceof Fp){if(s&Xs.ExcludeBuffers)continue;let N=O.findChild(0,O.buffer.length,t,n-b,i);if(N>-1)return new sl(new a3(u,O,e,b),null,N)}else if(s&Xs.IncludeAnonymous||!O.type.isAnonymous||DO(O)){let N;if(!(s&Xs.IgnoreMounts)&&O.props&&(N=O.prop(Yi.mounted))&&!N.overlay)return new Ja(N.tree,b,e,u);let U=new Ja(O,b,e,u);return s&Xs.IncludeAnonymous||!U.type.isAnonymous?U:U.nextChild(t<0?O.children.length-1:0,t,n,i)}}}if(s&Xs.IncludeAnonymous||!u.type.isAnonymous||(u.index>=0?e=u.index+t:e=t<0?-1:u._parent._tree.children.length,u=u._parent,!u))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let i;if(!(n&Xs.IgnoreOverlays)&&(i=this._tree.prop(Yi.mounted))&&i.overlay){let s=e-this.from;for(let{from:u,to:p}of i.overlay)if((t>0?u<=s:u<s)&&(t<0?p>=s:p>s))return new Ja(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new Nf(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return Ah(this,e,t,!1)}resolveInner(e,t=0){return Ah(this,e,t,!0)}enterUnfinishedNodesBefore(e){return cS(this,e)}getChild(e,t=null,n=null){let i=Dm(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return Dm(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return xm(this,e)}}function Dm(r,e,t,n){let i=r.cursor(),s=[];if(!i.firstChild())return s;if(t!=null){for(;!i.type.is(t);)if(!i.nextSibling())return s}for(;;){if(n!=null&&i.type.is(n))return s;if(i.type.is(e)&&s.push(i.node),!i.nextSibling())return n==null?s:[]}}function xm(r,e,t=e.length-1){for(let n=r.parent;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class a3{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class sl{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return s<0?null:new sl(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&Xs.ExcludeBuffers)return null;let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new sl(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new sl(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new sl(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new Nf(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,s=n.buffer[this.index+3];if(s>i){let u=n.buffer[this.index+1];e.push(n.slice(i,s,u)),t.push(0)}return new eo(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Ah(this,e,t,!1)}resolveInner(e,t=0){return Ah(this,e,t,!0)}enterUnfinishedNodesBefore(e){return cS(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=Dm(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return Dm(this,e,t,n)}get node(){return this}matchContext(e){return xm(this,e)}}class Nf{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Ja)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return e?e instanceof Ja?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,s=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&Xs.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Xs.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Xs.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let i=t.buffer[this.index+3];if(i<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let s=0;s<this.index;s++)if(i.buffer.buffer[s+3]<this.index)return!1;({index:t,parent:n}=i)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let s=t+e,u=e<0?-1:n._tree.children.length;s!=u;s+=e){let p=n._tree.children[s];if(this.mode&Xs.IncludeAnonymous||p instanceof Fp||!p.type.isAnonymous||DO(p))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let i=this.index,s=this.stack.length;s>=0;){for(let u=e;u;u=u._parent)if(u.index==i){if(i==this.index)return u;t=u,n=s+1;break e}i=this.stack[--s]}for(let i=n;i<this.stack.length;i++)t=new sl(this.buffer,t,this.stack[i]);return this.bufferNode=new sl(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let i=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;i&&t&&t(this),i=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,i=!0}}}matchContext(e){if(!this.buffer)return xm(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let i=e.length-1,s=this.stack.length-1;i>=0;s--){if(s<0)return xm(this.node,e,i);let u=n[t.buffer[this.stack[s]]];if(!u.isAnonymous){if(e[i]&&e[i]!=u.name)return!1;i--}}return!0}}function DO(r){return r.children.some(e=>e instanceof Fp||!e.type.isAnonymous||DO(e))}function u3(r){var e;let{buffer:t,nodeSet:n,maxBufferLength:i=uS,reused:s=[],minRepeatType:u=n.types.length}=r,p=Array.isArray(t)?new OO(t,t.length):t,f=n.types,m=0,O=0;function b(qt,Yt,Pr,vr,mr){let{id:kr,start:Rr,end:dn,size:Nn}=p,Bi=O;for(;Nn<0;)if(p.next(),Nn==-1){let Mn=s[kr];Pr.push(Mn),vr.push(Rr-qt);return}else if(Nn==-3){m=kr;return}else if(Nn==-4){O=kr;return}else throw new RangeError(`Unrecognized record size: ${Nn}`);let Gi=f[kr],Si,jn,ti=Rr-qt;if(dn-Rr<=i&&(jn=Re(p.pos-Yt,mr))){let Mn=new Uint16Array(jn.size-jn.skip),Sn=p.pos-jn.size,es=Mn.length;for(;p.pos>Sn;)es=Ge(jn.start,Mn,es);Si=new Fp(Mn,dn-jn.start,n),ti=jn.start-qt}else{let Mn=p.pos-Nn;p.next();let Sn=[],es=[],Qi=kr>=u?kr:-1,os=0,Es=dn;for(;p.pos>Mn;)Qi>=0&&p.id==Qi&&p.size>=0?(p.end<=Es-i&&(U(Sn,es,Rr,os,p.end,Es,Qi,Bi),os=Sn.length,Es=p.end),p.next()):b(Rr,Mn,Sn,es,Qi);if(Qi>=0&&os>0&&os<Sn.length&&U(Sn,es,Rr,os,Rr,Es,Qi,Bi),Sn.reverse(),es.reverse(),Qi>-1&&os>0){let ys=N(Gi);Si=xO(Gi,Sn,es,0,Sn.length,0,dn-Rr,ys,ys)}else Si=he(Gi,Sn,es,dn-Rr,Bi-dn)}Pr.push(Si),vr.push(ti)}function N(qt){return(Yt,Pr,vr)=>{let mr=0,kr=Yt.length-1,Rr,dn;if(kr>=0&&(Rr=Yt[kr])instanceof eo){if(!kr&&Rr.type==qt&&Rr.length==vr)return Rr;(dn=Rr.prop(Yi.lookAhead))&&(mr=Pr[kr]+Rr.length+dn)}return he(qt,Yt,Pr,vr,mr)}}function U(qt,Yt,Pr,vr,mr,kr,Rr,dn){let Nn=[],Bi=[];for(;qt.length>vr;)Nn.push(qt.pop()),Bi.push(Yt.pop()+Pr-mr);qt.push(he(n.types[Rr],Nn,Bi,kr-mr,dn-kr)),Yt.push(mr-Pr)}function he(qt,Yt,Pr,vr,mr=0,kr){if(m){let Rr=[Yi.contextHash,m];kr=kr?[Rr].concat(kr):[Rr]}if(mr>25){let Rr=[Yi.lookAhead,mr];kr=kr?[Rr].concat(kr):[Rr]}return new eo(qt,Yt,Pr,vr,kr)}function Re(qt,Yt){let Pr=p.fork(),vr=0,mr=0,kr=0,Rr=Pr.end-i,dn={size:0,start:0,skip:0};e:for(let Nn=Pr.pos-qt;Pr.pos>Nn;){let Bi=Pr.size;if(Pr.id==Yt&&Bi>=0){dn.size=vr,dn.start=mr,dn.skip=kr,kr+=4,vr+=4,Pr.next();continue}let Gi=Pr.pos-Bi;if(Bi<0||Gi<Nn||Pr.start<Rr)break;let Si=Pr.id>=u?4:0,jn=Pr.start;for(Pr.next();Pr.pos>Gi;){if(Pr.size<0)if(Pr.size==-3)Si+=4;else break e;else Pr.id>=u&&(Si+=4);Pr.next()}mr=jn,vr+=Bi,kr+=Si}return(Yt<0||vr==qt)&&(dn.size=vr,dn.start=mr,dn.skip=kr),dn.size>4?dn:void 0}function Ge(qt,Yt,Pr){let{id:vr,start:mr,end:kr,size:Rr}=p;if(p.next(),Rr>=0&&vr<u){let dn=Pr;if(Rr>4){let Nn=p.pos-(Rr-4);for(;p.pos>Nn;)Pr=Ge(qt,Yt,Pr)}Yt[--Pr]=dn,Yt[--Pr]=kr-qt,Yt[--Pr]=mr-qt,Yt[--Pr]=vr}else Rr==-3?m=vr:Rr==-4&&(O=vr);return Pr}let $e=[],gt=[];for(;p.pos>0;)b(r.start||0,r.bufferStart||0,$e,gt,-1);let kt=(e=r.length)!==null&&e!==void 0?e:$e.length?gt[0]+$e[0].length:0;return new eo(f[r.topID],$e.reverse(),gt.reverse(),kt)}const H1=new WeakMap;function Yd(r,e){if(!r.isAnonymous||e instanceof Fp||e.type!=r)return 1;let t=H1.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=r||!(n instanceof eo)){t=1;break}t+=Yd(r,n)}H1.set(e,t)}return t}function xO(r,e,t,n,i,s,u,p,f){let m=0;for(let he=n;he<i;he++)m+=Yd(r,e[he]);let O=Math.ceil(m*1.5/8),b=[],N=[];function U(he,Re,Ge,$e,gt){for(let kt=Ge;kt<$e;){let qt=kt,Yt=Re[kt],Pr=Yd(r,he[kt]);for(kt++;kt<$e;kt++){let vr=Yd(r,he[kt]);if(Pr+vr>=O)break;Pr+=vr}if(kt==qt+1){if(Pr>O){let vr=he[qt];U(vr.children,vr.positions,0,vr.children.length,Re[qt]+gt);continue}b.push(he[qt])}else{let vr=Re[kt-1]+he[kt-1].length-Yt;b.push(xO(r,he,Re,qt,kt,Yt,vr,null,f))}N.push(Yt+gt-s)}}return U(e,t,n,i,0),(p||f)(b,N,u)}class pS{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof sl?this.setBuffer(e.context.buffer,e.index,t):e instanceof Ja&&this.map.set(e.tree,t)}get(e){return e instanceof sl?this.getBuffer(e.context.buffer,e.index):e instanceof Ja?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Xl{constructor(e,t,n,i,s=!1,u=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(s?1:0)|(u?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let i=[new Xl(0,e.length,e,0,!1,n)];for(let s of t)s.to>e.length&&i.push(s);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],s=1,u=e.length?e[0]:null;for(let p=0,f=0,m=0;;p++){let O=p<t.length?t[p]:null,b=O?O.fromA:1e9;if(b-f>=n)for(;u&&u.from<b;){let N=u;if(f>=N.from||b<=N.to||m){let U=Math.max(N.from,f)-m,he=Math.min(N.to,b)-m;N=U>=he?null:new Xl(U,he,N.tree,N.offset+m,p>0,!!O)}if(N&&i.push(N),u.to>b)break;u=s<e.length?e[s++]:null}if(!O)break;f=O.toA,m=O.toA-O.toB}return i}}class hS{startParse(e,t,n){return typeof e=="string"&&(e=new l3(e)),n=n?n.length?n.map(i=>new za(i.from,i.to)):[new za(0,0)]:[new za(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let s=i.advance();if(s)return s}}}class l3{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function c3(r){return(e,t,n,i)=>new h3(e,r,t,n,i)}class J1{constructor(e,t,n,i,s){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=s}}class p3{constructor(e,t,n,i,s,u,p){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=s,this.target=u,this.prev=p,this.depth=0,this.ranges=[]}}const gy=new Yi({perNode:!0});class h3{constructor(e,t,n,i,s){this.nest=t,this.input=n,this.fragments=i,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let i of this.inner)i.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new eo(n.type,n.children,n.positions,n.length,n.propValues.concat([[gy,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[Yi.mounted.id]=new s3(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].ranges[0].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new m3(this.fragments),t=null,n=null,i=new Nf(new Ja(this.baseTree,this.ranges[0].from,0,null),Xs.IncludeAnonymous|Xs.IgnoreMounts);e:for(let s,u;this.stoppedAt==null||i.from<this.stoppedAt;){let p=!0,f;if(e.hasNode(i)){if(t){let m=t.mounts.find(O=>O.frag.from<=i.from&&O.frag.to>=i.to&&O.mount.overlay);if(m)for(let O of m.mount.overlay){let b=O.from+m.pos,N=O.to+m.pos;b>=i.from&&N<=i.to&&!t.ranges.some(U=>U.from<N&&U.to>b)&&t.ranges.push({from:b,to:N})}}p=!1}else if(n&&(u=f3(n.ranges,i.from,i.to)))p=u!=2;else if(!i.type.isAnonymous&&i.from<i.to&&(s=this.nest(i,this.input))){i.tree||d3(i);let m=e.findMounts(i.from,s.parser);if(typeof s.overlay=="function")t=new p3(s.parser,s.overlay,m,this.inner.length,i.from,i.tree,t);else{let O=tx(this.ranges,s.overlay||[new za(i.from,i.to)]);O.length&&this.inner.push(new J1(s.parser,s.parser.startParse(this.input,rx(m,O),O),s.overlay?s.overlay.map(b=>new za(b.from-i.from,b.to-i.from)):null,i.tree,O)),s.overlay?O.length&&(n={ranges:O,depth:0,prev:n}):p=!1}}else t&&(f=t.predicate(i))&&(f===!0&&(f=new za(i.from,i.to)),f.from<f.to&&t.ranges.push(f));if(p&&i.firstChild())t&&t.depth++,n&&n.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(t&&!--t.depth){let m=tx(this.ranges,t.ranges);m.length&&this.inner.splice(t.index,0,new J1(t.parser,t.parser.startParse(this.input,rx(t.mounts,m),m),t.ranges.map(O=>new za(O.from-t.start,O.to-t.start)),t.target,m)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function f3(r,e,t){for(let n of r){if(n.from>=t)break;if(n.to>e)return n.from<=e&&n.to>=t?2:1}return 0}function K1(r,e,t,n,i,s){if(e<t){let u=r.buffer[e+1];n.push(r.slice(e,t,u)),i.push(u-s)}}function d3(r){let{node:e}=r,t=0;do r.parent(),t++;while(!r.tree);let n=0,i=r.tree,s=0;for(;s=i.positions[n]+r.from,!(s<=e.from&&s+i.children[n].length>=e.to);n++);let u=i.children[n],p=u.buffer;function f(m,O,b,N,U){let he=m;for(;p[he+2]+s<=e.from;)he=p[he+3];let Re=[],Ge=[];K1(u,m,he,Re,Ge,N);let $e=p[he+1],gt=p[he+2],kt=$e+s==e.from&>+s==e.to&&p[he]==e.type.id;return Re.push(kt?e.toTree():f(he+4,p[he+3],u.set.types[p[he]],$e,gt-$e)),Ge.push($e-N),K1(u,p[he+3],O,Re,Ge,N),new eo(b,Re,Ge,U)}i.children[n]=f(0,p.length,ha.none,0,u.length);for(let m=0;m<=t;m++)r.childAfter(e.from)}class ex{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Xs.IncludeAnonymous|Xs.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,Xs.IgnoreOverlays|Xs.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof eo)t=t.children[0];else break}return!1}}let m3=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(t=n.tree.prop(gy))!==null&&t!==void 0?t:n.to,this.inner=new ex(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(gy))!==null&&e!==void 0?e:t.to,this.inner=new ex(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let u=(n=s.tree)===null||n===void 0?void 0:n.prop(Yi.mounted);if(u&&u.parser==t)for(let p=this.fragI;p<this.fragments.length;p++){let f=this.fragments[p];if(f.from>=s.to)break;f.tree==this.curFrag.tree&&i.push({frag:f,pos:s.from-f.offset,mount:u})}}}return i}};function tx(r,e){let t=null,n=e;for(let i=1,s=0;i<r.length;i++){let u=r[i-1].to,p=r[i].from;for(;s<n.length;s++){let f=n[s];if(f.from>=p)break;f.to<=u||(t||(n=t=e.slice()),f.from<u?(t[s]=new za(f.from,u),f.to>p&&t.splice(s+1,0,new za(p,f.to))):f.to>p?t[s--]=new za(p,f.to):t.splice(s--,1))}}return n}function g3(r,e,t,n){let i=0,s=0,u=!1,p=!1,f=-1e9,m=[];for(;;){let O=i==r.length?1e9:u?r[i].to:r[i].from,b=s==e.length?1e9:p?e[s].to:e[s].from;if(u!=p){let N=Math.max(f,t),U=Math.min(O,b,n);N<U&&m.push(new za(N,U))}if(f=Math.min(O,b),f==1e9)break;O==f&&(u?(u=!1,i++):u=!0),b==f&&(p?(p=!1,s++):p=!0)}return m}function rx(r,e){let t=[];for(let{pos:n,mount:i,frag:s}of r){let u=n+(i.overlay?i.overlay[0].from:0),p=u+i.tree.length,f=Math.max(s.from,u),m=Math.min(s.to,p);if(i.overlay){let O=i.overlay.map(N=>new za(N.from+n,N.to+n)),b=g3(e,O,f,m);for(let N=0,U=f;;N++){let he=N==b.length,Re=he?m:b[N].from;if(Re>U&&t.push(new Xl(U,Re,i.tree,-u,s.from>=U||s.openStart,s.to<=Re||s.openEnd)),he)break;U=b[N].to}}else t.push(new Xl(f,m,i.tree,-u,s.from>=u||s.openStart,s.to<=p||s.openEnd))}return t}let y3=0;class rl{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=y3++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new rl([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new bm;return t=>t.modified.indexOf(e)>-1?t:bm.get(t.base||t,t.modified.concat(e).sort((n,i)=>n.id-i.id))}}let O3=0;class bm{constructor(){this.instances=[],this.id=O3++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(p=>p.base==e&&D3(t,p.modified));if(n)return n;let i=[],s=new rl(i,e,t);for(let p of t)p.instances.push(s);let u=x3(t);for(let p of e.set)if(!p.modified.length)for(let f of u)i.push(bm.get(p,f));return s}}function D3(r,e){return r.length==e.length&&r.every((t,n)=>t==e[n])}function x3(r){let e=[[]];for(let t=0;t<r.length;t++)for(let n=0,i=e.length;n<i;n++)e.push(e[n].concat(r[t]));return e.sort((t,n)=>n.length-t.length)}function Gf(r){let e=Object.create(null);for(let t in r){let n=r[t];Array.isArray(n)||(n=[n]);for(let i of t.split(" "))if(i){let s=[],u=2,p=i;for(let b=0;;){if(p=="..."&&b>0&&b+3==i.length){u=1;break}let N=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(p);if(!N)throw new RangeError("Invalid path: "+i);if(s.push(N[0]=="*"?"":N[0][0]=='"'?JSON.parse(N[0]):N[0]),b+=N[0].length,b==i.length)break;let U=i[b++];if(b==i.length&&U=="!"){u=0;break}if(U!="/")throw new RangeError("Invalid path: "+i);p=i.slice(b)}let f=s.length-1,m=s[f];if(!m)throw new RangeError("Invalid path: "+i);let O=new vm(n,u,f>0?s.slice(0,f):null);e[m]=O.sort(e[m])}}return fS.add(e)}const fS=new Yi;class vm{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}vm.empty=new vm([],2,null);function dS(r,e){let t=Object.create(null);for(let s of r)if(!Array.isArray(s.tag))t[s.tag.id]=s.class;else for(let u of s.tag)t[u.id]=s.class;let{scope:n,all:i=null}=e||{};return{style:s=>{let u=i;for(let p of s)for(let f of p.set){let m=t[f.id];if(m){u=u?u+" "+m:m;break}}return u},scope:n}}function b3(r,e){let t=null;for(let n of r){let i=n.style(e);i&&(t=t?t+" "+i:i)}return t}function v3(r,e,t,n=0,i=r.length){let s=new C3(n,Array.isArray(e)?e:[e],t);s.highlightRange(r.cursor(),n,i,"",s.highlighters),s.flush(i)}class C3{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,s){let{type:u,from:p,to:f}=e;if(p>=n||f<=t)return;u.isTop&&(s=this.highlighters.filter(U=>!U.scope||U.scope(u)));let m=i,O=S3(e)||vm.empty,b=b3(s,O.tags);if(b&&(m&&(m+=" "),m+=b,O.mode==1&&(i+=(i?" ":"")+b)),this.startSpan(e.from,m),O.opaque)return;let N=e.tree&&e.tree.prop(Yi.mounted);if(N&&N.overlay){let U=e.node.enter(N.overlay[0].from+p,1),he=this.highlighters.filter(Ge=>!Ge.scope||Ge.scope(N.tree.type)),Re=e.firstChild();for(let Ge=0,$e=p;;Ge++){let gt=Ge<N.overlay.length?N.overlay[Ge]:null,kt=gt?gt.from+p:f,qt=Math.max(t,$e),Yt=Math.min(n,kt);if(qt<Yt&&Re)for(;e.from<Yt&&(this.highlightRange(e,qt,Yt,i,s),this.startSpan(Math.min(Yt,e.to),m),!(e.to>=kt||!e.nextSibling())););if(!gt||kt>n)break;$e=gt.to+p,$e>t&&(this.highlightRange(U.cursor(),Math.max(t,gt.from+p),Math.min(n,$e),i,he),this.startSpan($e,m))}Re&&e.parent()}else if(e.firstChild()){do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,i,s),this.startSpan(Math.min(n,e.to),m)}while(e.nextSibling());e.parent()}}}function S3(r){let e=r.type.prop(fS);for(;e&&e.context&&!r.matchContext(e.context);)e=e.next;return e||null}const On=rl.define,kd=On(),vc=On(),nx=On(vc),ix=On(vc),Cc=On(),Fd=On(Cc),Jg=On(Cc),el=On(),cp=On(el),Ju=On(),Ku=On(),yy=On(),zh=On(yy),Bd=On(),He={comment:kd,lineComment:On(kd),blockComment:On(kd),docComment:On(kd),name:vc,variableName:On(vc),typeName:nx,tagName:On(nx),propertyName:ix,attributeName:On(ix),className:On(vc),labelName:On(vc),namespace:On(vc),macroName:On(vc),literal:Cc,string:Fd,docString:On(Fd),character:On(Fd),attributeValue:On(Fd),number:Jg,integer:On(Jg),float:On(Jg),bool:On(Cc),regexp:On(Cc),escape:On(Cc),color:On(Cc),url:On(Cc),keyword:Ju,self:On(Ju),null:On(Ju),atom:On(Ju),unit:On(Ju),modifier:On(Ju),operatorKeyword:On(Ju),controlKeyword:On(Ju),definitionKeyword:On(Ju),moduleKeyword:On(Ju),operator:Ku,derefOperator:On(Ku),arithmeticOperator:On(Ku),logicOperator:On(Ku),bitwiseOperator:On(Ku),compareOperator:On(Ku),updateOperator:On(Ku),definitionOperator:On(Ku),typeOperator:On(Ku),controlOperator:On(Ku),punctuation:yy,separator:On(yy),bracket:zh,angleBracket:On(zh),squareBracket:On(zh),paren:On(zh),brace:On(zh),content:el,heading:cp,heading1:On(cp),heading2:On(cp),heading3:On(cp),heading4:On(cp),heading5:On(cp),heading6:On(cp),contentSeparator:On(el),list:On(el),quote:On(el),emphasis:On(el),strong:On(el),link:On(el),monospace:On(el),strikethrough:On(el),inserted:On(),deleted:On(),changed:On(),invalid:On(),meta:Bd,documentMeta:On(Bd),annotation:On(Bd),processingInstruction:On(Bd),definition:rl.defineModifier(),constant:rl.defineModifier(),function:rl.defineModifier(),standard:rl.defineModifier(),local:rl.defineModifier(),special:rl.defineModifier()};dS([{tag:He.link,class:"tok-link"},{tag:He.heading,class:"tok-heading"},{tag:He.emphasis,class:"tok-emphasis"},{tag:He.strong,class:"tok-strong"},{tag:He.keyword,class:"tok-keyword"},{tag:He.atom,class:"tok-atom"},{tag:He.bool,class:"tok-bool"},{tag:He.url,class:"tok-url"},{tag:He.labelName,class:"tok-labelName"},{tag:He.inserted,class:"tok-inserted"},{tag:He.deleted,class:"tok-deleted"},{tag:He.literal,class:"tok-literal"},{tag:He.string,class:"tok-string"},{tag:He.number,class:"tok-number"},{tag:[He.regexp,He.escape,He.special(He.string)],class:"tok-string2"},{tag:He.variableName,class:"tok-variableName"},{tag:He.local(He.variableName),class:"tok-variableName tok-local"},{tag:He.definition(He.variableName),class:"tok-variableName tok-definition"},{tag:He.special(He.variableName),class:"tok-variableName2"},{tag:He.definition(He.propertyName),class:"tok-propertyName tok-definition"},{tag:He.typeName,class:"tok-typeName"},{tag:He.namespace,class:"tok-namespace"},{tag:He.className,class:"tok-className"},{tag:He.macroName,class:"tok-macroName"},{tag:He.propertyName,class:"tok-propertyName"},{tag:He.operator,class:"tok-operator"},{tag:He.comment,class:"tok-comment"},{tag:He.meta,class:"tok-meta"},{tag:He.invalid,class:"tok-invalid"},{tag:He.punctuation,class:"tok-punctuation"}]);var Kg;const oh=new Yi;function mS(r){return ei.define({combine:r?e=>e.concat(r):void 0})}const bO=new Yi;class xu{constructor(e,t,n=[],i=""){this.data=e,this.name=i,hs.prototype.hasOwnProperty("tree")||Object.defineProperty(hs.prototype,"tree",{get(){return lo(this)}}),this.parser=t,this.extension=[Rc.of(this),hs.languageData.of((s,u,p)=>{let f=sx(s,u,p),m=f.type.prop(oh);if(!m)return[];let O=s.facet(m),b=f.type.prop(bO);if(b){let N=f.resolve(u-f.from,p);for(let U of b)if(U.test(N,s)){let he=s.facet(U.facet);return U.type=="replace"?he:he.concat(O)}}return O})].concat(n)}isActiveAt(e,t,n=-1){return sx(e,t,n).type.prop(oh)==this.data}findRegions(e){let t=e.facet(Rc);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(s,u)=>{if(s.prop(oh)==this.data){n.push({from:u,to:u+s.length});return}let p=s.prop(Yi.mounted);if(p){if(p.tree.prop(oh)==this.data){if(p.overlay)for(let f of p.overlay)n.push({from:f.from+u,to:f.to+u});else n.push({from:u,to:u+s.length});return}else if(p.overlay){let f=n.length;if(i(p.tree,p.overlay[0].from+u),n.length>f)return}}for(let f=0;f<s.children.length;f++){let m=s.children[f];m instanceof eo&&i(m,s.positions[f]+u)}};return i(lo(e),0),n}get allowsNesting(){return!0}}xu.setState=Ii.define();function sx(r,e,t){let n=r.facet(Rc),i=lo(r).topNode;if(!n||n.allowsNesting)for(let s=i;s;s=s.enter(e,t,Xs.ExcludeBuffers))s.type.isTop&&(i=s);return i}class wp extends xu{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=mS(e.languageData);return new wp(t,e.parser.configure({props:[oh.add(n=>n.isTop?t:void 0)]}),e.name)}configure(e,t){return new wp(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function lo(r){let e=r.field(xu.state,!1);return e?e.tree:eo.empty}class E3{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let Yh=null;class Cm{constructor(e,t,n=[],i,s,u,p,f){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=s,this.viewport=u,this.skipped=p,this.scheduleOn=f,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new Cm(e,t,[],eo.empty,0,n,[],null)}startParse(){return this.parser.startParse(new E3(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=eo.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let i=this.parse.advance();if(i)if(this.fragments=this.withoutTempSkipped(Xl.addTree(i,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length,this.tree=i,this.parse=null,this.treeLen<(t??this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(Xl.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=Yh;Yh=this;try{return e()}finally{Yh=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=ox(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:u,skipped:p}=this;if(this.takeTree(),!e.empty){let f=[];if(e.iterChangedRanges((m,O,b,N)=>f.push({fromA:m,toA:O,fromB:b,toB:N})),n=Xl.applyChanges(n,f),i=eo.empty,s=0,u={from:e.mapPos(u.from,-1),to:e.mapPos(u.to,1)},this.skipped.length){p=[];for(let m of this.skipped){let O=e.mapPos(m.from,1),b=e.mapPos(m.to,-1);O<b&&p.push({from:O,to:b})}}}return new Cm(this.parser,t,n,i,s,u,p,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:i,to:s}=this.skipped[n];i<e.to&&s>e.from&&(this.fragments=ox(this.fragments,i,s),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends hS{createParse(t,n,i){let s=i[0].from,u=i[i.length-1].to;return{parsedPos:s,advance(){let f=Yh;if(f){for(let m of i)f.tempSkipped.push(m);e&&(f.scheduleOn=f.scheduleOn?Promise.all([f.scheduleOn,e]):e)}return this.parsedPos=u,new eo(ha.none,[],[],u-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return Yh}}function ox(r,e,t){return Xl.applyChanges(r,[{fromA:e,toA:t,fromB:e,toB:t}])}class wh{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new wh(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=Cm.create(e.facet(Rc).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new wh(n)}}xu.state=Eo.define({create:wh.init,update(r,e){for(let t of e.effects)if(t.is(xu.setState))return t.value;return e.startState.facet(Rc)!=e.state.facet(Rc)?wh.init(e.state):r.apply(e)}});let gS=r=>{let e=setTimeout(()=>r(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(gS=r=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(r,{timeout:500-100})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const e0=typeof navigator<"u"&&(!((Kg=navigator.scheduling)===null||Kg===void 0)&&Kg.isInputPending)?()=>navigator.scheduling.isInputPending():null,A3=yo.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(xu.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(xu.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=gS(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:i}}=this.view,s=n.field(xu.state);if(s.tree==s.context.tree&&s.context.isDone(i+1e5))return;let u=Date.now()+Math.min(this.chunkBudget,100,e&&!e0?Math.max(25,e.timeRemaining()-5):1e9),p=s.context.treeLen<i&&n.doc.length>i+1e3,f=s.context.work(()=>e0&&e0()||Date.now()>u,i+(p?0:1e5));this.chunkBudget-=Date.now()-t,(f||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:xu.setState.of(new wh(s.context))})),this.chunkBudget>0&&!(f&&!p)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>Va(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Rc=ei.define({combine(r){return r.length?r[0]:null},enables:r=>[xu.state,A3,ni.contentAttributes.compute([r],e=>{let t=e.facet(r);return t&&t.name?{"data-language":t.name}:{}})]});class vO{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const w3=ei.define(),lg=ei.define({combine:r=>{if(!r.length)return" ";let e=r[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(r[0]));return e}});function Sm(r){let e=r.facet(lg);return e.charCodeAt(0)==9?r.tabSize*e.length:e.length}function If(r,e){let t="",n=r.tabSize,i=r.facet(lg)[0];if(i==" "){for(;e>=n;)t+=" ",e-=n;i=" "}for(let s=0;s<e;s++)t+=i;return t}function CO(r,e){r instanceof hs&&(r=new cg(r));for(let n of r.state.facet(w3)){let i=n(r,e);if(i!==void 0)return i}let t=lo(r.state);return t?P3(r,t,e):null}class cg{constructor(e,t={}){this.state=e,this.options=t,this.unit=Sm(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:s}=this.options;return i!=null&&i>=n.from&&i<=n.to?s&&i==e?{text:"",from:e}:(t<0?i<e:i<=e)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:i}=this.lineAt(e,t);return n.slice(e-i,Math.min(n.length,e+100-i))}column(e,t=1){let{text:n,from:i}=this.lineAt(e,t),s=this.countColumn(n,e-i),u=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return u>-1&&(s+=u-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,t=e.length){return Wf(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let u=s(i);if(u>-1)return u}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Hf=new Yi;function P3(r,e,t){return yS(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,r)}function T3(r){return r.pos==r.options.simulateBreak&&r.options.simulateDoubleBreak}function k3(r){let e=r.type.prop(Hf);if(e)return e;let t=r.firstChild,n;if(t&&(n=t.type.prop(Yi.closedBy))){let i=r.lastChild,s=i&&n.indexOf(i.name)>-1;return u=>OS(u,!0,1,void 0,s&&!T3(u)?i.from:void 0)}return r.parent==null?F3:null}function yS(r,e,t){for(;r;r=r.parent){let n=k3(r);if(n)return n(SO.create(t,e,r))}return null}function F3(){return 0}class SO extends cg{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new SO(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(B3(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?yS(e,this.pos,this.base):0}}function B3(r,e){for(let t=e;t;t=t.parent)if(r==t)return!0;return!1}function _3(r){let e=r.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let i=r.options.simulateBreak,s=r.state.doc.lineAt(t.from),u=i==null||i<=s.from?s.to:Math.min(s.to,i);for(let p=t.to;;){let f=e.childAfter(p);if(!f||f==n)return null;if(!f.type.isSkipped)return f.from<u?t:null;p=f.to}}function $3({closing:r,align:e=!0,units:t=1}){return n=>OS(n,e,t,r)}function OS(r,e,t,n,i){let s=r.textAfter,u=s.match(/^\s*/)[0].length,p=n&&s.slice(u,u+n.length)==n||i==r.pos+u,f=e?_3(r):null;return f?p?r.column(f.from):r.column(f.to):r.baseIndent+(p?0:r.unit*t)}const N3=r=>r.baseIndent;function Gd({except:r,units:e=1}={}){return t=>{let n=r&&r.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const I3=200;function Q3(){return hs.transactionFilter.of(r=>{if(!r.docChanged||!r.isUserEvent("input.type")&&!r.isUserEvent("input.complete"))return r;let e=r.startState.languageDataAt("indentOnInput",r.startState.selection.main.head);if(!e.length)return r;let t=r.newDoc,{head:n}=r.newSelection.main,i=t.lineAt(n);if(n>i.from+I3)return r;let s=t.sliceString(i.from,n);if(!e.some(m=>m.test(s)))return r;let{state:u}=r,p=-1,f=[];for(let{head:m}of u.selection.ranges){let O=u.doc.lineAt(m);if(O.from==p)continue;p=O.from;let b=CO(u,O.from);if(b==null)continue;let N=/^\s*/.exec(O.text)[0],U=If(u,b);N!=U&&f.push({from:O.from,to:O.from+N.length,insert:U})}return f.length?[r,{changes:f,sequential:!0}]:r})}const j3=ei.define(),Jf=new Yi;function DS(r){let e=r.firstChild,t=r.lastChild;return e&&e.to<t.from?{from:e.to,to:t.type.isError?r.to:t.from}:null}function M3(r,e,t){let n=lo(r);if(n.length<t)return null;let i=n.resolveInner(t,1),s=null;for(let u=i;u;u=u.parent){if(u.to<=t||u.from>t)continue;if(s&&u.from<e)break;let p=u.type.prop(Jf);if(p&&(u.to<n.length-50||n.length==r.doc.length||!L3(u))){let f=p(u,r);f&&f.from<=t&&f.from>=e&&f.to>t&&(s=f)}}return s}function L3(r){let e=r.lastChild;return e&&e.to==r.to&&e.type.isError}function Em(r,e,t){for(let n of r.facet(j3)){let i=n(r,e,t);if(i)return i}return M3(r,e,t)}function xS(r,e){let t=e.mapPos(r.from,1),n=e.mapPos(r.to,-1);return t>=n?void 0:{from:t,to:n}}const pg=Ii.define({map:xS}),Kf=Ii.define({map:xS});function bS(r){let e=[];for(let{head:t}of r.state.selection.ranges)e.some(n=>n.from<=t&&n.to>=t)||e.push(r.lineBlockAt(t));return e}const Pp=Eo.define({create(){return ci.none},update(r,e){r=r.map(e.changes);for(let t of e.effects)t.is(pg)&&!R3(r,t.value.from,t.value.to)?r=r.update({add:[ax.range(t.value.from,t.value.to)]}):t.is(Kf)&&(r=r.update({filter:(n,i)=>t.value.from!=n||t.value.to!=i,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:n}=e.selection.main;r.between(n,n,(i,s)=>{i<n&&s>n&&(t=!0)}),t&&(r=r.update({filterFrom:n,filterTo:n,filter:(i,s)=>s<=n||i>=n}))}return r},provide:r=>ni.decorations.from(r),toJSON(r,e){let t=[];return r.between(0,e.doc.length,(n,i)=>{t.push(n,i)}),t},fromJSON(r){if(!Array.isArray(r)||r.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t<r.length;){let n=r[t++],i=r[t++];if(typeof n!="number"||typeof i!="number")throw new RangeError("Invalid JSON for fold state");e.push(ax.range(n,i))}return ci.set(e,!0)}});function Am(r,e,t){var n;let i=null;return(n=r.field(Pp,!1))===null||n===void 0||n.between(e,t,(s,u)=>{(!i||i.from>s)&&(i={from:s,to:u})}),i}function R3(r,e,t){let n=!1;return r.between(e,e,(i,s)=>{i==e&&s==t&&(n=!0)}),n}function vS(r,e){return r.field(Pp,!1)?e:e.concat(Ii.appendConfig.of(ES()))}const V3=r=>{for(let e of bS(r)){let t=Em(r.state,e.from,e.to);if(t)return r.dispatch({effects:vS(r.state,[pg.of(t),CS(r,t)])}),!0}return!1},X3=r=>{if(!r.state.field(Pp,!1))return!1;let e=[];for(let t of bS(r)){let n=Am(r.state,t.from,t.to);n&&e.push(Kf.of(n),CS(r,n,!1))}return e.length&&r.dispatch({effects:e}),e.length>0};function CS(r,e,t=!0){let n=r.state.doc.lineAt(e.from).number,i=r.state.doc.lineAt(e.to).number;return ni.announce.of(`${r.state.phrase(t?"Folded lines":"Unfolded lines")} ${n} ${r.state.phrase("to")} ${i}.`)}const U3=r=>{let{state:e}=r,t=[];for(let n=0;n<e.doc.length;){let i=r.lineBlockAt(n),s=Em(e,i.from,i.to);s&&t.push(pg.of(s)),n=(s?r.lineBlockAt(s.to):i).to+1}return t.length&&r.dispatch({effects:vS(r.state,t)}),!!t.length},W3=r=>{let e=r.state.field(Pp,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,r.state.doc.length,(n,i)=>{t.push(Kf.of({from:n,to:i}))}),r.dispatch({effects:t}),!0},q3=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:V3},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:X3},{key:"Ctrl-Alt-[",run:U3},{key:"Ctrl-Alt-]",run:W3}],Z3={placeholderDOM:null,placeholderText:"…"},SS=ei.define({combine(r){return fl(r,Z3)}});function ES(r){let e=[Pp,G3];return r&&e.push(SS.of(r)),e}const ax=ci.replace({widget:new class extends Yl{toDOM(r){let{state:e}=r,t=e.facet(SS),n=s=>{let u=r.lineBlockAt(r.posAtDOM(s.target)),p=Am(r.state,u.from,u.to);p&&r.dispatch({effects:Kf.of(p)}),s.preventDefault()};if(t.placeholderDOM)return t.placeholderDOM(r,n);let i=document.createElement("span");return i.textContent=t.placeholderText,i.setAttribute("aria-label",e.phrase("folded code")),i.title=e.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=n,i}}}),z3={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class t0 extends Zl{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function Y3(r={}){let e=Object.assign(Object.assign({},z3),r),t=new t0(e,!0),n=new t0(e,!1),i=yo.fromClass(class{constructor(u){this.from=u.viewport.from,this.markers=this.buildMarkers(u)}update(u){(u.docChanged||u.viewportChanged||u.startState.facet(Rc)!=u.state.facet(Rc)||u.startState.field(Pp,!1)!=u.state.field(Pp,!1)||lo(u.startState)!=lo(u.state)||e.foldingChanged(u))&&(this.markers=this.buildMarkers(u.view))}buildMarkers(u){let p=new Ic;for(let f of u.viewportLineBlocks){let m=Am(u.state,f.from,f.to)?n:Em(u.state,f.from,f.to)?t:null;m&&p.add(f.from,f.from,m)}return p.finish()}}),{domEventHandlers:s}=e;return[i,Uk({class:"cm-foldGutter",markers(u){var p;return((p=u.plugin(i))===null||p===void 0?void 0:p.markers)||Ss.empty},initialSpacer(){return new t0(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(u,p,f)=>{if(s.click&&s.click(u,p,f))return!0;let m=Am(u.state,p.from,p.to);if(m)return u.dispatch({effects:Kf.of(m)}),!0;let O=Em(u.state,p.from,p.to);return O?(u.dispatch({effects:pg.of(O)}),!0):!1}})}),ES()]}const G3=ni.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ed{constructor(e,t){this.specs=e;let n;function i(p){let f=Qc.newName();return(n||(n=Object.create(null)))["."+f]=p,f}const s=typeof t.all=="string"?t.all:t.all?i(t.all):void 0,u=t.scope;this.scope=u instanceof xu?p=>p.prop(oh)==u.data:u?p=>p==u:void 0,this.style=dS(e.map(p=>({tag:p.tag,class:p.class||i(Object.assign({},p,{tag:null}))})),{all:s}).style,this.module=n?new Qc(n):null,this.themeType=t.themeType}static define(e,t){return new ed(e,t||{})}}const Oy=ei.define(),AS=ei.define({combine(r){return r.length?[r[0]]:null}});function r0(r){let e=r.facet(Oy);return e.length?e:r.facet(AS)}function wS(r,e){let t=[J3],n;return r instanceof ed&&(r.module&&t.push(ni.styleModule.of(r.module)),n=r.themeType),e!=null&&e.fallback?t.push(AS.of(r)):n?t.push(Oy.computeN([ni.darkTheme],i=>i.facet(ni.darkTheme)==(n=="dark")?[r]:[])):t.push(Oy.of(r)),t}class H3{constructor(e){this.markCache=Object.create(null),this.tree=lo(e.state),this.decorations=this.buildDeco(e,r0(e.state))}update(e){let t=lo(e.state),n=r0(e.state),i=n!=r0(e.startState);t.length<e.view.viewport.to&&!i&&t.type==this.tree.type?this.decorations=this.decorations.map(e.changes):(t!=this.tree||e.viewportChanged||i)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n))}buildDeco(e,t){if(!t||!this.tree.length)return ci.none;let n=new Ic;for(let{from:i,to:s}of e.visibleRanges)v3(this.tree,t,(u,p,f)=>{n.add(u,p,this.markCache[f]||(this.markCache[f]=ci.mark({class:f})))},i,s);return n.finish()}}const J3=kp.high(yo.fromClass(H3,{decorations:r=>r.decorations})),K3=ed.define([{tag:He.meta,color:"#404740"},{tag:He.link,textDecoration:"underline"},{tag:He.heading,textDecoration:"underline",fontWeight:"bold"},{tag:He.emphasis,fontStyle:"italic"},{tag:He.strong,fontWeight:"bold"},{tag:He.strikethrough,textDecoration:"line-through"},{tag:He.keyword,color:"#708"},{tag:[He.atom,He.bool,He.url,He.contentSeparator,He.labelName],color:"#219"},{tag:[He.literal,He.inserted],color:"#164"},{tag:[He.string,He.deleted],color:"#a11"},{tag:[He.regexp,He.escape,He.special(He.string)],color:"#e40"},{tag:He.definition(He.variableName),color:"#00f"},{tag:He.local(He.variableName),color:"#30a"},{tag:[He.typeName,He.namespace],color:"#085"},{tag:He.className,color:"#167"},{tag:[He.special(He.variableName),He.macroName],color:"#256"},{tag:He.definition(He.propertyName),color:"#00c"},{tag:He.comment,color:"#940"},{tag:He.invalid,color:"#f00"}]),eB=ni.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),PS=1e4,TS="()[]{}",kS=ei.define({combine(r){return fl(r,{afterCursor:!0,brackets:TS,maxScanDistance:PS,renderMatch:nB})}}),tB=ci.mark({class:"cm-matchingBracket"}),rB=ci.mark({class:"cm-nonmatchingBracket"});function nB(r){let e=[],t=r.matched?tB:rB;return e.push(t.range(r.start.from,r.start.to)),r.end&&e.push(t.range(r.end.from,r.end.to)),e}const iB=Eo.define({create(){return ci.none},update(r,e){if(!e.docChanged&&!e.selection)return r;let t=[],n=e.state.facet(kS);for(let i of e.state.selection.ranges){if(!i.empty)continue;let s=ol(e.state,i.head,-1,n)||i.head>0&&ol(e.state,i.head-1,1,n)||n.afterCursor&&(ol(e.state,i.head,1,n)||i.head<e.state.doc.length&&ol(e.state,i.head+1,-1,n));s&&(t=t.concat(n.renderMatch(s,e.state)))}return ci.set(t,!0)},provide:r=>ni.decorations.from(r)}),sB=[iB,eB];function oB(r={}){return[kS.of(r),sB]}const EO=new Yi;function Dy(r,e,t){let n=r.prop(e<0?Yi.openedBy:Yi.closedBy);if(n)return n;if(r.name.length==1){let i=t.indexOf(r.name);if(i>-1&&i%2==(e<0?1:0))return[t[i+e]]}return null}function xy(r){let e=r.type.prop(EO);return e?e(r.node):r}function ol(r,e,t,n={}){let i=n.maxScanDistance||PS,s=n.brackets||TS,u=lo(r),p=u.resolveInner(e,t);for(let f=p;f;f=f.parent){let m=Dy(f.type,t,s);if(m&&f.from<f.to){let O=xy(f);if(O&&(t>0?e>=O.from&&e<O.to:e>O.from&&e<=O.to))return aB(r,e,t,f,O,m,s)}}return uB(r,e,t,u,p.type,i,s)}function aB(r,e,t,n,i,s,u){let p=n.parent,f={from:i.from,to:i.to},m=0,O=p==null?void 0:p.cursor();if(O&&(t<0?O.childBefore(n.from):O.childAfter(n.to)))do if(t<0?O.to<=n.from:O.from>=n.to){if(m==0&&s.indexOf(O.type.name)>-1&&O.from<O.to){let b=xy(O);return{start:f,end:b?{from:b.from,to:b.to}:void 0,matched:!0}}else if(Dy(O.type,t,u))m++;else if(Dy(O.type,-t,u)){if(m==0){let b=xy(O);return{start:f,end:b&&b.from<b.to?{from:b.from,to:b.to}:void 0,matched:!1}}m--}}while(t<0?O.prevSibling():O.nextSibling());return{start:f,matched:!1}}function uB(r,e,t,n,i,s,u){let p=t<0?r.sliceDoc(e-1,e):r.sliceDoc(e,e+1),f=u.indexOf(p);if(f<0||f%2==0!=t>0)return null;let m={from:t<0?e-1:e,to:t>0?e+1:e},O=r.doc.iterRange(e,t>0?r.doc.length:0),b=0;for(let N=0;!O.next().done&&N<=s;){let U=O.value;t<0&&(N+=U.length);let he=e+N*t;for(let Re=t>0?0:U.length-1,Ge=t>0?U.length:-1;Re!=Ge;Re+=t){let $e=u.indexOf(U[Re]);if(!($e<0||n.resolveInner(he+Re,1).type!=i))if($e%2==0==t>0)b++;else{if(b==1)return{start:m,end:{from:he+Re,to:he+Re+1},matched:$e>>1==f>>1};b--}}t>0&&(N+=U.length)}return O.done?{start:m,matched:!1}:null}const lB=Object.create(null),ux=[ha.none],lx=[],cB=Object.create(null);for(let[r,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])cB[r]=pB(lB,e);function n0(r,e){lx.indexOf(r)>-1||(lx.push(r),console.warn(e))}function pB(r,e){let t=null;for(let s of e.split(".")){let u=r[s]||He[s];u?typeof u=="function"?t?t=u(t):n0(s,`Modifier ${s} used at start of tag`):t?n0(s,`Tag ${s} used as modifier`):t=u:n0(s,`Unknown highlighting tag ${s}`)}if(!t)return 0;let n=e.replace(/ /g,"_"),i=ha.define({id:ux.length,name:n,props:[Gf({[n]:t})]});return ux.push(i),i.id}const hB=r=>{let e=wO(r.state);return e.line?fB(r):e.block?mB(r):!1};function AO(r,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=r(e,t);return i?(n(t.update(i)),!0):!1}}const fB=AO(OB,0),dB=AO(FS,0),mB=AO((r,e)=>FS(r,e,yB(e)),0);function wO(r,e=r.selection.main.head){let t=r.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const Gh=50;function gB(r,{open:e,close:t},n,i){let s=r.sliceDoc(n-Gh,n),u=r.sliceDoc(i,i+Gh),p=/\s*$/.exec(s)[0].length,f=/^\s*/.exec(u)[0].length,m=s.length-p;if(s.slice(m-e.length,m)==e&&u.slice(f,f+t.length)==t)return{open:{pos:n-p,margin:p&&1},close:{pos:i+f,margin:f&&1}};let O,b;i-n<=2*Gh?O=b=r.sliceDoc(n,i):(O=r.sliceDoc(n,n+Gh),b=r.sliceDoc(i-Gh,i));let N=/^\s*/.exec(O)[0].length,U=/\s*$/.exec(b)[0].length,he=b.length-U-t.length;return O.slice(N,N+e.length)==e&&b.slice(he,he+t.length)==t?{open:{pos:n+N+e.length,margin:/\s/.test(O.charAt(N+e.length))?1:0},close:{pos:i-U-t.length,margin:/\s/.test(b.charAt(he-1))?1:0}}:null}function yB(r){let e=[];for(let t of r.selection.ranges){let n=r.doc.lineAt(t.from),i=t.to<=n.to?n:r.doc.lineAt(t.to),s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=i.to:e.push({from:n.from,to:i.to})}return e}function FS(r,e,t=e.selection.ranges){let n=t.map(s=>wO(e,s.from).block);if(!n.every(s=>s))return null;let i=t.map((s,u)=>gB(e,n[u],s.from,s.to));if(r!=2&&!i.every(s=>s))return{changes:e.changes(t.map((s,u)=>i[u]?[]:[{from:s.from,insert:n[u].open+" "},{from:s.to,insert:" "+n[u].close}]))};if(r!=1&&i.some(s=>s)){let s=[];for(let u=0,p;u<i.length;u++)if(p=i[u]){let f=n[u],{open:m,close:O}=p;s.push({from:m.pos-f.open.length,to:m.pos+m.margin},{from:O.pos-O.margin,to:O.pos+f.close.length})}return{changes:s}}return null}function OB(r,e,t=e.selection.ranges){let n=[],i=-1;for(let{from:s,to:u}of t){let p=n.length,f=1e9;for(let m=s;m<=u;){let O=e.doc.lineAt(m);if(O.from>i&&(s==u||u>O.from)){i=O.from;let b=wO(e,m).line;if(!b)continue;let N=/^\s*/.exec(O.text)[0].length,U=N==O.length,he=O.text.slice(N,N+b.length)==b?N:-1;N<O.text.length&&N<f&&(f=N),n.push({line:O,comment:he,token:b,indent:N,empty:U,single:!1})}m=O.to+1}if(f<1e9)for(let m=p;m<n.length;m++)n[m].indent<n[m].line.text.length&&(n[m].indent=f);n.length==p+1&&(n[p].single=!0)}if(r!=2&&n.some(s=>s.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:p,token:f,indent:m,empty:O,single:b}of n)(b||!O)&&s.push({from:p.from+m,insert:f+" "});let u=e.changes(s);return{changes:u,selection:e.selection.map(u,1)}}else if(r!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:u,comment:p,token:f}of n)if(p>=0){let m=u.from+p,O=m+f.length;u.text[O-u.from]==" "&&O++,s.push({from:m,to:O})}return{changes:s}}return null}const by=Vc.define(),DB=Vc.define(),xB=ei.define(),BS=ei.define({combine(r){return fl(r,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,i)=>e(n,i)||t(n,i)})}});function bB(r){let e=0;return r.iterChangedRanges((t,n)=>e=n),e}const _S=Eo.define({create(){return al.empty},update(r,e){let t=e.state.facet(BS),n=e.annotation(by);if(n){let f=e.docChanged?Tr.single(bB(e.changes)):void 0,m=Ea.fromTransaction(e,f),O=n.side,b=O==0?r.undone:r.done;return m?b=wm(b,b.length,t.minDepth,m):b=IS(b,e.startState.selection),new al(O==0?n.rest:b,O==0?b:n.rest)}let i=e.annotation(DB);if((i=="full"||i=="before")&&(r=r.isolate()),e.annotation(vo.addToHistory)===!1)return e.changes.empty?r:r.addMapping(e.changes.desc);let s=Ea.fromTransaction(e),u=e.annotation(vo.time),p=e.annotation(vo.userEvent);return s?r=r.addChanges(s,u,p,t,e):e.selection&&(r=r.addSelection(e.startState.selection,u,p,t.newGroupDelay)),(i=="full"||i=="after")&&(r=r.isolate()),r},toJSON(r){return{done:r.done.map(e=>e.toJSON()),undone:r.undone.map(e=>e.toJSON())}},fromJSON(r){return new al(r.done.map(Ea.fromJSON),r.undone.map(Ea.fromJSON))}});function vB(r={}){return[_S,BS.of(r),ni.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?$S:e.inputType=="historyRedo"?vy:null;return n?(e.preventDefault(),n(t)):!1}})]}function hg(r,e){return function({state:t,dispatch:n}){if(!e&&t.readOnly)return!1;let i=t.field(_S,!1);if(!i)return!1;let s=i.pop(r,t,e);return s?(n(s),!0):!1}}const $S=hg(0,!1),vy=hg(1,!1),CB=hg(0,!0),SB=hg(1,!0);class Ea{constructor(e,t,n,i,s){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=s}setSelAfter(e){return new Ea(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new Ea(e.changes&&bo.fromJSON(e.changes),[],e.mapped&&ll.fromJSON(e.mapped),e.startSelection&&Tr.fromJSON(e.startSelection),e.selectionsAfter.map(Tr.fromJSON))}static fromTransaction(e,t){let n=Ya;for(let i of e.startState.facet(xB)){let s=i(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new Ea(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,Ya)}static selection(e){return new Ea(void 0,Ya,void 0,void 0,e)}}function wm(r,e,t,n){let i=e+1>t+20?e-t-1:0,s=r.slice(i,e);return s.push(n),s}function EB(r,e){let t=[],n=!1;return r.iterChangedRanges((i,s)=>t.push(i,s)),e.iterChangedRanges((i,s,u,p)=>{for(let f=0;f<t.length;){let m=t[f++],O=t[f++];p>=m&&u<=O&&(n=!0)}}),n}function AB(r,e){return r.ranges.length==e.ranges.length&&r.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length===0}function NS(r,e){return r.length?e.length?r.concat(e):r:e}const Ya=[],wB=200;function IS(r,e){if(r.length){let t=r[r.length-1],n=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-wB));return n.length&&n[n.length-1].eq(e)?r:(n.push(e),wm(r,r.length-1,1e9,t.setSelAfter(n)))}else return[Ea.selection([e])]}function PB(r){let e=r[r.length-1],t=r.slice();return t[r.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function i0(r,e){if(!r.length)return r;let t=r.length,n=Ya;for(;t;){let i=TB(r[t-1],e,n);if(i.changes&&!i.changes.empty||i.effects.length){let s=r.slice(0,t);return s[t-1]=i,s}else e=i.mapped,t--,n=i.selectionsAfter}return n.length?[Ea.selection(n)]:Ya}function TB(r,e,t){let n=NS(r.selectionsAfter.length?r.selectionsAfter.map(p=>p.map(e)):Ya,t);if(!r.changes)return Ea.selection(n);let i=r.changes.map(e),s=e.mapDesc(r.changes,!0),u=r.mapped?r.mapped.composeDesc(s):s;return new Ea(i,Ii.mapEffects(r.effects,e),u,r.startSelection.map(s),n)}const kB=/^(input\.type|delete)($|\.)/;class al{constructor(e,t,n=0,i=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new al(this.done,this.undone):this}addChanges(e,t,n,i,s){let u=this.done,p=u[u.length-1];return p&&p.changes&&!p.changes.empty&&e.changes&&(!n||kB.test(n))&&(!p.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(s,EB(p.changes,e.changes))||n=="input.type.compose")?u=wm(u,u.length-1,i.minDepth,new Ea(e.changes.compose(p.changes),NS(e.effects,p.effects),p.mapped,p.startSelection,Ya)):u=wm(u,u.length,i.minDepth,e),new al(u,Ya,t,n)}addSelection(e,t,n,i){let s=this.done.length?this.done[this.done.length-1].selectionsAfter:Ya;return s.length>0&&t-this.prevTime<i&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&AB(s[s.length-1],e)?this:new al(IS(this.done,e),this.undone,t,n)}addMapping(e){return new al(i0(this.done,e),i0(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=e==0?this.done:this.undone;if(i.length==0)return null;let s=i[i.length-1];if(n&&s.selectionsAfter.length)return t.update({selection:s.selectionsAfter[s.selectionsAfter.length-1],annotations:by.of({side:e,rest:PB(i)}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(s.changes){let u=i.length==1?Ya:i.slice(0,i.length-1);return s.mapped&&(u=i0(u,s.mapped)),t.update({changes:s.changes,selection:s.startSelection,effects:s.effects,annotations:by.of({side:e,rest:u}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}}al.empty=new al(Ya,Ya);const FB=[{key:"Mod-z",run:$S,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:vy,preventDefault:!0},{linux:"Ctrl-Shift-z",run:vy,preventDefault:!0},{key:"Mod-u",run:CB,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:SB,preventDefault:!0}];function Ih(r,e){return Tr.create(r.ranges.map(e),r.mainIndex)}function dl(r,e){return r.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function Su({state:r,dispatch:e},t){let n=Ih(r.selection,t);return n.eq(r.selection)?!1:(e(dl(r,n)),!0)}function fg(r,e){return Tr.cursor(e?r.to:r.from)}function QS(r,e){return Su(r,t=>t.empty?r.moveByChar(t,e):fg(t,e))}function ia(r){return r.textDirectionAt(r.state.selection.main.head)==Ks.LTR}const jS=r=>QS(r,!ia(r)),MS=r=>QS(r,ia(r));function LS(r,e){return Su(r,t=>t.empty?r.moveByGroup(t,e):fg(t,e))}const BB=r=>LS(r,!ia(r)),_B=r=>LS(r,ia(r));function $B(r,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(r.sliceDoc(e.from,e.to)))||e.firstChild}function dg(r,e,t){let n=lo(r).resolveInner(e.head),i=t?Yi.closedBy:Yi.openedBy;for(let f=e.head;;){let m=t?n.childAfter(f):n.childBefore(f);if(!m)break;$B(r,m,i)?n=m:f=t?m.to:m.from}let s=n.type.prop(i),u,p;return s&&(u=t?ol(r,n.from,1):ol(r,n.to,-1))&&u.matched?p=t?u.end.to:u.end.from:p=t?n.to:n.from,Tr.cursor(p,t?-1:1)}const NB=r=>Su(r,e=>dg(r.state,e,!ia(r))),IB=r=>Su(r,e=>dg(r.state,e,ia(r)));function RS(r,e){return Su(r,t=>{if(!t.empty)return fg(t,e);let n=r.moveVertically(t,e);return n.head!=t.head?n:r.moveToLineBoundary(t,e)})}const VS=r=>RS(r,!1),XS=r=>RS(r,!0);function US(r){return Math.max(r.defaultLineHeight,Math.min(r.dom.clientHeight,innerHeight)-5)}function WS(r,e){let{state:t}=r,n=Ih(t.selection,p=>p.empty?r.moveVertically(p,e,US(r)):fg(p,e));if(n.eq(t.selection))return!1;let i=r.coordsAtPos(t.selection.main.head),s=r.scrollDOM.getBoundingClientRect(),u;return i&&i.top>s.top&&i.bottom<s.bottom&&i.top-s.top<=r.scrollDOM.scrollHeight-r.scrollDOM.scrollTop-r.scrollDOM.clientHeight&&(u=ni.scrollIntoView(n.main.head,{y:"start",yMargin:i.top-s.top})),r.dispatch(dl(t,n),{effects:u}),!0}const cx=r=>WS(r,!1),Cy=r=>WS(r,!0);function Xc(r,e,t){let n=r.lineBlockAt(e.head),i=r.moveToLineBoundary(e,t);if(i.head==e.head&&i.head!=(t?n.to:n.from)&&(i=r.moveToLineBoundary(e,t,!1)),!t&&i.head==n.from&&n.length){let s=/^\s*/.exec(r.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(i=Tr.cursor(n.from+s))}return i}const QB=r=>Su(r,e=>Xc(r,e,!0)),jB=r=>Su(r,e=>Xc(r,e,!1)),MB=r=>Su(r,e=>Xc(r,e,!ia(r))),LB=r=>Su(r,e=>Xc(r,e,ia(r))),RB=r=>Su(r,e=>Tr.cursor(r.lineBlockAt(e.head).from,1)),VB=r=>Su(r,e=>Tr.cursor(r.lineBlockAt(e.head).to,-1));function XB(r,e,t){let n=!1,i=Ih(r.selection,s=>{let u=ol(r,s.head,-1)||ol(r,s.head,1)||s.head>0&&ol(r,s.head-1,1)||s.head<r.doc.length&&ol(r,s.head+1,-1);if(!u||!u.end)return s;n=!0;let p=u.start.from==s.head?u.end.to:u.end.from;return t?Tr.range(s.anchor,p):Tr.cursor(p)});return n?(e(dl(r,i)),!0):!1}const UB=({state:r,dispatch:e})=>XB(r,e,!1);function eu(r,e){let t=Ih(r.state.selection,n=>{let i=e(n);return Tr.range(n.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return t.eq(r.state.selection)?!1:(r.dispatch(dl(r.state,t)),!0)}function qS(r,e){return eu(r,t=>r.moveByChar(t,e))}const ZS=r=>qS(r,!ia(r)),zS=r=>qS(r,ia(r));function YS(r,e){return eu(r,t=>r.moveByGroup(t,e))}const WB=r=>YS(r,!ia(r)),qB=r=>YS(r,ia(r)),ZB=r=>eu(r,e=>dg(r.state,e,!ia(r))),zB=r=>eu(r,e=>dg(r.state,e,ia(r)));function GS(r,e){return eu(r,t=>r.moveVertically(t,e))}const HS=r=>GS(r,!1),JS=r=>GS(r,!0);function KS(r,e){return eu(r,t=>r.moveVertically(t,e,US(r)))}const px=r=>KS(r,!1),hx=r=>KS(r,!0),YB=r=>eu(r,e=>Xc(r,e,!0)),GB=r=>eu(r,e=>Xc(r,e,!1)),HB=r=>eu(r,e=>Xc(r,e,!ia(r))),JB=r=>eu(r,e=>Xc(r,e,ia(r))),KB=r=>eu(r,e=>Tr.cursor(r.lineBlockAt(e.head).from)),e_=r=>eu(r,e=>Tr.cursor(r.lineBlockAt(e.head).to)),fx=({state:r,dispatch:e})=>(e(dl(r,{anchor:0})),!0),dx=({state:r,dispatch:e})=>(e(dl(r,{anchor:r.doc.length})),!0),mx=({state:r,dispatch:e})=>(e(dl(r,{anchor:r.selection.main.anchor,head:0})),!0),gx=({state:r,dispatch:e})=>(e(dl(r,{anchor:r.selection.main.anchor,head:r.doc.length})),!0),t_=({state:r,dispatch:e})=>(e(r.update({selection:{anchor:0,head:r.doc.length},userEvent:"select"})),!0),r_=({state:r,dispatch:e})=>{let t=gg(r).map(({from:n,to:i})=>Tr.range(n,Math.min(i+1,r.doc.length)));return e(r.update({selection:Tr.create(t),userEvent:"select"})),!0},n_=({state:r,dispatch:e})=>{let t=Ih(r.selection,n=>{var i;let s=lo(r).resolveInner(n.head,1);for(;!(s.from<n.from&&s.to>=n.to||s.to>n.to&&s.from<=n.from||!(!((i=s.parent)===null||i===void 0)&&i.parent));)s=s.parent;return Tr.range(s.to,s.from)});return e(dl(r,t)),!0},i_=({state:r,dispatch:e})=>{let t=r.selection,n=null;return t.ranges.length>1?n=Tr.create([t.main]):t.main.empty||(n=Tr.create([Tr.cursor(t.main.head)])),n?(e(dl(r,n)),!0):!1};function mg(r,e){if(r.state.readOnly)return!1;let t="delete.selection",{state:n}=r,i=n.changeByRange(s=>{let{from:u,to:p}=s;if(u==p){let f=e(u);f<u?(t="delete.backward",f=_d(r,f,!1)):f>u&&(t="delete.forward",f=_d(r,f,!0)),u=Math.min(u,f),p=Math.max(p,f)}else u=_d(r,u,!1),p=_d(r,p,!0);return u==p?{range:s}:{changes:{from:u,to:p},range:Tr.cursor(u)}});return i.changes.empty?!1:(r.dispatch(n.update(i,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?ni.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function _d(r,e,t){if(r instanceof ni)for(let n of r.state.facet(ni.atomicRanges).map(i=>i(r)))n.between(e,e,(i,s)=>{i<e&&s>e&&(e=t?s:i)});return e}const e2=(r,e)=>mg(r,t=>{let{state:n}=r,i=n.doc.lineAt(t),s,u;if(!e&&t>i.from&&t<i.from+200&&!/[^ \t]/.test(s=i.text.slice(0,t-i.from))){if(s[s.length-1]==" ")return t-1;let p=Wf(s,n.tabSize),f=p%Sm(n)||Sm(n);for(let m=0;m<f&&s[s.length-1-m]==" ";m++)t--;u=t}else u=la(i.text,t-i.from,e,e)+i.from,u==t&&i.number!=(e?n.doc.lines:1)&&(u+=e?1:-1);return u}),Sy=r=>e2(r,!1),t2=r=>e2(r,!0),r2=(r,e)=>mg(r,t=>{let n=t,{state:i}=r,s=i.doc.lineAt(n),u=i.charCategorizer(n);for(let p=null;;){if(n==(e?s.to:s.from)){n==t&&s.number!=(e?i.doc.lines:1)&&(n+=e?1:-1);break}let f=la(s.text,n-s.from,e)+s.from,m=s.text.slice(Math.min(n,f)-s.from,Math.max(n,f)-s.from),O=u(m);if(p!=null&&O!=p)break;(m!=" "||n!=t)&&(p=O),n=f}return n}),n2=r=>r2(r,!1),s_=r=>r2(r,!0),i2=r=>mg(r,e=>{let t=r.lineBlockAt(e).to;return e<t?t:Math.min(r.state.doc.length,e+1)}),o_=r=>mg(r,e=>{let t=r.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),a_=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:ms.of(["",""])},range:Tr.cursor(n.from)}));return e(r.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},u_=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>{if(!n.empty||n.from==0||n.from==r.doc.length)return{range:n};let i=n.from,s=r.doc.lineAt(i),u=i==s.from?i-1:la(s.text,i-s.from,!1)+s.from,p=i==s.to?i+1:la(s.text,i-s.from,!0)+s.from;return{changes:{from:u,to:p,insert:r.doc.slice(i,p).append(r.doc.slice(u,i))},range:Tr.cursor(p)}});return t.changes.empty?!1:(e(r.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function gg(r){let e=[],t=-1;for(let n of r.selection.ranges){let i=r.doc.lineAt(n.from),s=r.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=r.doc.lineAt(n.to-1)),t>=i.number){let u=e[e.length-1];u.to=s.to,u.ranges.push(n)}else e.push({from:i.from,to:s.to,ranges:[n]});t=s.number+1}return e}function s2(r,e,t){if(r.readOnly)return!1;let n=[],i=[];for(let s of gg(r)){if(t?s.to==r.doc.length:s.from==0)continue;let u=r.doc.lineAt(t?s.to+1:s.from-1),p=u.length+1;if(t){n.push({from:s.to,to:u.to},{from:s.from,insert:u.text+r.lineBreak});for(let f of s.ranges)i.push(Tr.range(Math.min(r.doc.length,f.anchor+p),Math.min(r.doc.length,f.head+p)))}else{n.push({from:u.from,to:s.from},{from:s.to,insert:r.lineBreak+u.text});for(let f of s.ranges)i.push(Tr.range(f.anchor-p,f.head-p))}}return n.length?(e(r.update({changes:n,scrollIntoView:!0,selection:Tr.create(i,r.selection.mainIndex),userEvent:"move.line"})),!0):!1}const l_=({state:r,dispatch:e})=>s2(r,e,!1),c_=({state:r,dispatch:e})=>s2(r,e,!0);function o2(r,e,t){if(r.readOnly)return!1;let n=[];for(let i of gg(r))t?n.push({from:i.from,insert:r.doc.slice(i.from,i.to)+r.lineBreak}):n.push({from:i.to,insert:r.lineBreak+r.doc.slice(i.from,i.to)});return e(r.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const p_=({state:r,dispatch:e})=>o2(r,e,!1),h_=({state:r,dispatch:e})=>o2(r,e,!0),f_=r=>{if(r.state.readOnly)return!1;let{state:e}=r,t=e.changes(gg(e).map(({from:i,to:s})=>(i>0?i--:s<e.doc.length&&s++,{from:i,to:s}))),n=Ih(e.selection,i=>r.moveVertically(i,!0)).map(t);return r.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function d_(r,e){if(/\(\)|\[\]|\{\}/.test(r.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=lo(r).resolveInner(e),n=t.childBefore(e),i=t.childAfter(e),s;return n&&i&&n.to<=e&&i.from>=e&&(s=n.type.prop(Yi.closedBy))&&s.indexOf(i.name)>-1&&r.doc.lineAt(n.to).from==r.doc.lineAt(i.from).from?{from:n.to,to:i.from}:null}const m_=a2(!1),g_=a2(!0);function a2(r){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(i=>{let{from:s,to:u}=i,p=e.doc.lineAt(s),f=!r&&s==u&&d_(e,s);r&&(s=u=(u<=p.to?p:e.doc.lineAt(u)).to);let m=new cg(e,{simulateBreak:s,simulateDoubleBreak:!!f}),O=CO(m,s);for(O==null&&(O=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);u<p.to&&/\s/.test(p.text[u-p.from]);)u++;f?{from:s,to:u}=f:s>p.from&&s<p.from+100&&!/\S/.test(p.text.slice(0,s))&&(s=p.from);let b=["",If(e,O)];return f&&b.push(If(e,m.lineIndent(p.from,-1))),{changes:{from:s,to:u,insert:ms.of(b)},range:Tr.cursor(s+1+b[1].length)}});return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}}function PO(r,e){let t=-1;return r.changeByRange(n=>{let i=[];for(let u=n.from;u<=n.to;){let p=r.doc.lineAt(u);p.number>t&&(n.empty||n.to>p.from)&&(e(p,i,n),t=p.number),u=p.to+1}let s=r.changes(i);return{changes:i,range:Tr.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const y_=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=Object.create(null),n=new cg(r,{overrideIndentation:s=>{let u=t[s];return u??-1}}),i=PO(r,(s,u,p)=>{let f=CO(n,s.from);if(f==null)return;/\S/.test(s.text)||(f=0);let m=/^\s*/.exec(s.text)[0],O=If(r,f);(m!=O||p.from<s.from+m.length)&&(t[s.from]=f,u.push({from:s.from,to:s.from+m.length,insert:O}))});return i.changes.empty||e(r.update(i,{userEvent:"indent"})),!0},O_=({state:r,dispatch:e})=>r.readOnly?!1:(e(r.update(PO(r,(t,n)=>{n.push({from:t.from,insert:r.facet(lg)})}),{userEvent:"input.indent"})),!0),D_=({state:r,dispatch:e})=>r.readOnly?!1:(e(r.update(PO(r,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let s=Wf(i,r.tabSize),u=0,p=If(r,Math.max(0,s-Sm(r)));for(;u<i.length&&u<p.length&&i.charCodeAt(u)==p.charCodeAt(u);)u++;n.push({from:t.from+u,to:t.from+i.length,insert:p.slice(u)})}),{userEvent:"delete.dedent"})),!0),x_=[{key:"Ctrl-b",run:jS,shift:ZS,preventDefault:!0},{key:"Ctrl-f",run:MS,shift:zS},{key:"Ctrl-p",run:VS,shift:HS},{key:"Ctrl-n",run:XS,shift:JS},{key:"Ctrl-a",run:RB,shift:KB},{key:"Ctrl-e",run:VB,shift:e_},{key:"Ctrl-d",run:t2},{key:"Ctrl-h",run:Sy},{key:"Ctrl-k",run:i2},{key:"Ctrl-Alt-h",run:n2},{key:"Ctrl-o",run:a_},{key:"Ctrl-t",run:u_},{key:"Ctrl-v",run:Cy}],b_=[{key:"ArrowLeft",run:jS,shift:ZS,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:BB,shift:WB,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:MB,shift:HB,preventDefault:!0},{key:"ArrowRight",run:MS,shift:zS,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:_B,shift:qB,preventDefault:!0},{mac:"Cmd-ArrowRight",run:LB,shift:JB,preventDefault:!0},{key:"ArrowUp",run:VS,shift:HS,preventDefault:!0},{mac:"Cmd-ArrowUp",run:fx,shift:mx},{mac:"Ctrl-ArrowUp",run:cx,shift:px},{key:"ArrowDown",run:XS,shift:JS,preventDefault:!0},{mac:"Cmd-ArrowDown",run:dx,shift:gx},{mac:"Ctrl-ArrowDown",run:Cy,shift:hx},{key:"PageUp",run:cx,shift:px},{key:"PageDown",run:Cy,shift:hx},{key:"Home",run:jB,shift:GB,preventDefault:!0},{key:"Mod-Home",run:fx,shift:mx},{key:"End",run:QB,shift:YB,preventDefault:!0},{key:"Mod-End",run:dx,shift:gx},{key:"Enter",run:m_},{key:"Mod-a",run:t_},{key:"Backspace",run:Sy,shift:Sy},{key:"Delete",run:t2},{key:"Mod-Backspace",mac:"Alt-Backspace",run:n2},{key:"Mod-Delete",mac:"Alt-Delete",run:s_},{mac:"Mod-Backspace",run:o_},{mac:"Mod-Delete",run:i2}].concat(x_.map(r=>({mac:r.key,run:r.run,shift:r.shift}))),v_=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:NB,shift:ZB},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:IB,shift:zB},{key:"Alt-ArrowUp",run:l_},{key:"Shift-Alt-ArrowUp",run:p_},{key:"Alt-ArrowDown",run:c_},{key:"Shift-Alt-ArrowDown",run:h_},{key:"Escape",run:i_},{key:"Mod-Enter",run:g_},{key:"Alt-l",mac:"Ctrl-l",run:r_},{key:"Mod-i",run:n_,preventDefault:!0},{key:"Mod-[",run:D_},{key:"Mod-]",run:O_},{key:"Mod-Alt-\\",run:y_},{key:"Shift-Mod-k",run:f_},{key:"Shift-Mod-\\",run:UB},{key:"Mod-/",run:hB},{key:"Alt-A",run:dB}].concat(b_);function Is(){var r=arguments[0];typeof r=="string"&&(r=document.createElement(r));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];typeof i=="string"?r.setAttribute(n,i):i!=null&&(r[n]=i)}e++}for(;e<arguments.length;e++)u2(r,arguments[e]);return r}function u2(r,e){if(typeof e=="string")r.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)r.appendChild(e);else if(Array.isArray(e))for(var t=0;t<e.length;t++)u2(r,e[t]);else throw new RangeError("Unsupported child node: "+e)}const yx=typeof String.prototype.normalize=="function"?r=>r.normalize("NFKD"):r=>r;class Ph{constructor(e,t,n=0,i=e.length,s,u){this.test=u,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=s?p=>s(yx(p)):yx,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Lo(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=iO(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=Ma(e);let i=this.normalize(t);for(let s=0,u=n;;s++){let p=i.charCodeAt(s),f=this.match(p,u);if(f)return this.value=f,this;if(s==i.length-1)break;u==n&&s<t.length&&t.charCodeAt(s)==p&&u++}}}match(e,t){let n=null;for(let i=0;i<this.matches.length;i+=2){let s=this.matches[i],u=!1;this.query.charCodeAt(s)==e&&(s==this.query.length-1?n={from:this.matches[i+1],to:t+1}:(this.matches[i]++,u=!0)),u||(this.matches.splice(i,2),i-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?n={from:t,to:t+1}:this.matches.push(1,t)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferPos)&&(n=null),n}}typeof Symbol<"u"&&(Ph.prototype[Symbol.iterator]=function(){return this});const l2={from:-1,to:-1,match:/.*/.exec("")},TO="gm"+(/x/.unicode==null?"":"u");class c2{constructor(e,t,n,i=0,s=e.length){if(this.text=e,this.to=s,this.curLine="",this.done=!1,this.value=l2,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new p2(e,t,n,i,s);this.re=new RegExp(t,TO+(n!=null&&n.ignoreCase?"i":"")),this.test=n==null?void 0:n.test,this.iter=e.iter();let u=e.lineAt(i);this.curLineStart=u.from,this.matchPos=Pm(e,i),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=Pm(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<i||n>this.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}}const s0=new WeakMap;class Oh{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let i=s0.get(e);if(!i||i.from>=n||i.to<=t){let p=new Oh(t,e.sliceString(t,n));return s0.set(e,p),p}if(i.from==t&&i.to==n)return i;let{text:s,from:u}=i;return u>t&&(s=e.sliceString(t,u)+s,u=t),i.to<n&&(s+=e.sliceString(i.to,n)),s0.set(e,new Oh(u,s)),new Oh(t,s.slice(t-u,n-u))}}class p2{constructor(e,t,n,i,s){this.text=e,this.to=s,this.done=!1,this.value=l2,this.matchPos=Pm(e,i),this.re=new RegExp(t,TO+(n!=null&&n.ignoreCase?"i":"")),this.test=n==null?void 0:n.test,this.flat=Oh.get(e,i,this.chunkEnd(i+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=Pm(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Oh.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(c2.prototype[Symbol.iterator]=p2.prototype[Symbol.iterator]=function(){return this});function C_(r){try{return new RegExp(r,TO),!0}catch{return!1}}function Pm(r,e){if(e>=r.length)return e;let t=r.lineAt(e),n;for(;e<t.to&&(n=t.text.charCodeAt(e-t.from))>=56320&&n<57344;)e++;return e}function Ey(r){let e=Is("input",{class:"cm-textfield",name:"line"}),t=Is("form",{class:"cm-gotoLine",onkeydown:i=>{i.keyCode==27?(i.preventDefault(),r.dispatch({effects:Tm.of(!1)}),r.focus()):i.keyCode==13&&(i.preventDefault(),n())},onsubmit:i=>{i.preventDefault(),n()}},Is("label",r.state.phrase("Go to line"),": ",e)," ",Is("button",{class:"cm-button",type:"submit"},r.state.phrase("go")));function n(){let i=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!i)return;let{state:s}=r,u=s.doc.lineAt(s.selection.main.head),[,p,f,m,O]=i,b=m?+m.slice(1):0,N=f?+f:u.number;if(f&&O){let he=N/100;p&&(he=he*(p=="-"?-1:1)+u.number/s.doc.lines),N=Math.round(s.doc.lines*he)}else f&&p&&(N=N*(p=="-"?-1:1)+u.number);let U=s.doc.line(Math.max(1,Math.min(s.doc.lines,N)));r.dispatch({effects:Tm.of(!1),selection:Tr.cursor(U.from+Math.max(0,Math.min(b,U.length))),scrollIntoView:!0}),r.focus()}return{dom:t}}const Tm=Ii.define(),Ox=Eo.define({create(){return!0},update(r,e){for(let t of e.effects)t.is(Tm)&&(r=t.value);return r},provide:r=>_f.from(r,e=>e?Ey:null)}),S_=r=>{let e=Bf(r,Ey);if(!e){let t=[Tm.of(!0)];r.state.field(Ox,!1)==null&&t.push(Ii.appendConfig.of([Ox,E_])),r.dispatch({effects:t}),e=Bf(r,Ey)}return e&&e.dom.querySelector("input").focus(),!0},E_=ni.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),A_={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},h2=ei.define({combine(r){return fl(r,A_,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function w_(r){let e=[B_,F_];return r&&e.push(h2.of(r)),e}const P_=ci.mark({class:"cm-selectionMatch"}),T_=ci.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function Dx(r,e,t,n){return(t==0||r(e.sliceDoc(t-1,t))!=Zs.Word)&&(n==e.doc.length||r(e.sliceDoc(n,n+1))!=Zs.Word)}function k_(r,e,t,n){return r(e.sliceDoc(t,t+1))==Zs.Word&&r(e.sliceDoc(n-1,n))==Zs.Word}const F_=yo.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.selectionSet||r.docChanged||r.viewportChanged)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=r.state.facet(h2),{state:t}=r,n=t.selection;if(n.ranges.length>1)return ci.none;let i=n.main,s,u=null;if(i.empty){if(!e.highlightWordAroundCursor)return ci.none;let f=t.wordAt(i.head);if(!f)return ci.none;u=t.charCategorizer(i.head),s=t.sliceDoc(f.from,f.to)}else{let f=i.to-i.from;if(f<e.minSelectionLength||f>200)return ci.none;if(e.wholeWords){if(s=t.sliceDoc(i.from,i.to),u=t.charCategorizer(i.head),!(Dx(u,t,i.from,i.to)&&k_(u,t,i.from,i.to)))return ci.none}else if(s=t.sliceDoc(i.from,i.to).trim(),!s)return ci.none}let p=[];for(let f of r.visibleRanges){let m=new Ph(t.doc,s,f.from,f.to);for(;!m.next().done;){let{from:O,to:b}=m.value;if((!u||Dx(u,t,O,b))&&(i.empty&&O<=i.from&&b>=i.to?p.push(T_.range(O,b)):(O>=i.to||b<=i.from)&&p.push(P_.range(O,b)),p.length>e.maxMatches))return ci.none}}return ci.set(p)}},{decorations:r=>r.decorations}),B_=ni.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),__=({state:r,dispatch:e})=>{let{selection:t}=r,n=Tr.create(t.ranges.map(i=>r.wordAt(i.head)||Tr.cursor(i.head)),t.mainIndex);return n.eq(t)?!1:(e(r.update({selection:n})),!0)};function $_(r,e){let{main:t,ranges:n}=r.selection,i=r.wordAt(t.head),s=i&&i.from==t.from&&i.to==t.to;for(let u=!1,p=new Ph(r.doc,e,n[n.length-1].to);;)if(p.next(),p.done){if(u)return null;p=new Ph(r.doc,e,0,Math.max(0,n[n.length-1].from-1)),u=!0}else{if(u&&n.some(f=>f.from==p.value.from))continue;if(s){let f=r.wordAt(p.value.from);if(!f||f.from!=p.value.from||f.to!=p.value.to)continue}return p.value}}const N_=({state:r,dispatch:e})=>{let{ranges:t}=r.selection;if(t.some(s=>s.from===s.to))return __({state:r,dispatch:e});let n=r.sliceDoc(t[0].from,t[0].to);if(r.selection.ranges.some(s=>r.sliceDoc(s.from,s.to)!=n))return!1;let i=$_(r,n);return i?(e(r.update({selection:r.selection.addRange(Tr.range(i.from,i.to),!1),effects:ni.scrollIntoView(i.to)})),!0):!1},kO=ei.define({combine(r){return fl(r,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new Z_(e)})}});class f2{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||C_(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,n)=>n=="n"?`
|
|
`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new M_(this):new Q_(this)}getCursor(e,t=0,n){let i=e.doc?e:hs.create({doc:e});return n==null&&(n=i.doc.length),this.regexp?nh(this,i,t,n):rh(this,i,t,n)}}class d2{constructor(e){this.spec=e}}function rh(r,e,t,n){return new Ph(e.doc,r.unquoted,t,n,r.caseSensitive?void 0:i=>i.toLowerCase(),r.wholeWord?I_(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function I_(r,e){return(t,n,i,s)=>((s>t||s+i.length<n)&&(s=Math.max(0,t-2),i=r.sliceString(s,Math.min(r.length,n+2))),(e(km(i,t-s))!=Zs.Word||e(Fm(i,t-s))!=Zs.Word)&&(e(Fm(i,n-s))!=Zs.Word||e(km(i,n-s))!=Zs.Word))}class Q_ extends d2{constructor(e){super(e)}nextMatch(e,t,n){let i=rh(this.spec,e,n,e.doc.length).nextOverlapping();return i.done&&(i=rh(this.spec,e,0,t).nextOverlapping()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=n;;){let s=Math.max(t,i-1e4-this.spec.unquoted.length),u=rh(this.spec,e,s,i),p=null;for(;!u.nextOverlapping().done;)p=u.value;if(p)return p;if(s==t)return null;i-=1e4}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=rh(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let s=rh(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}function nh(r,e,t,n){return new c2(e.doc,r.search,{ignoreCase:!r.caseSensitive,test:r.wholeWord?j_(e.charCategorizer(e.selection.main.head)):void 0},t,n)}function km(r,e){return r.slice(la(r,e,!1),e)}function Fm(r,e){return r.slice(e,la(r,e))}function j_(r){return(e,t,n)=>!n[0].length||(r(km(n.input,n.index))!=Zs.Word||r(Fm(n.input,n.index))!=Zs.Word)&&(r(Fm(n.input,n.index+n[0].length))!=Zs.Word||r(km(n.input,n.index+n[0].length))!=Zs.Word)}class M_ extends d2{nextMatch(e,t,n){let i=nh(this.spec,e,n,e.doc.length).next();return i.done&&(i=nh(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let s=Math.max(t,n-i*1e4),u=nh(this.spec,e,s,n),p=null;for(;!u.next().done;)p=u.value;if(p&&(s==t||p.from>s+10))return p;if(s==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>n=="$"?"$":n=="&"?e.match[0]:n!="0"&&+n<e.match.length?e.match[n]:t))}matchAll(e,t){let n=nh(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let s=nh(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}const Qf=Ii.define(),FO=Ii.define(),Bc=Eo.define({create(r){return new o0(Ay(r).create(),null)},update(r,e){for(let t of e.effects)t.is(Qf)?r=new o0(t.value.create(),r.panel):t.is(FO)&&(r=new o0(r.query,t.value?BO:null));return r},provide:r=>_f.from(r,e=>e.panel)});class o0{constructor(e,t){this.query=e,this.panel=t}}const L_=ci.mark({class:"cm-searchMatch"}),R_=ci.mark({class:"cm-searchMatch cm-searchMatch-selected"}),V_=yo.fromClass(class{constructor(r){this.view=r,this.decorations=this.highlight(r.state.field(Bc))}update(r){let e=r.state.field(Bc);(e!=r.startState.field(Bc)||r.docChanged||r.selectionSet||r.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:r,panel:e}){if(!e||!r.spec.valid)return ci.none;let{view:t}=this,n=new Ic;for(let i=0,s=t.visibleRanges,u=s.length;i<u;i++){let{from:p,to:f}=s[i];for(;i<u-1&&f>s[i+1].from-2*250;)f=s[++i].to;r.highlight(t.state,p,f,(m,O)=>{let b=t.state.selection.ranges.some(N=>N.from==m&&N.to==O);n.add(m,O,b?R_:L_)})}return n.finish()}},{decorations:r=>r.decorations});function td(r){return e=>{let t=e.state.field(Bc,!1);return t&&t.query.spec.valid?r(e,t):m2(e)}}const Bm=td((r,{query:e})=>{let{to:t}=r.state.selection.main,n=e.nextMatch(r.state,t,t);return n?(r.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:_O(r,n),userEvent:"select.search"}),!0):!1}),_m=td((r,{query:e})=>{let{state:t}=r,{from:n}=t.selection.main,i=e.prevMatch(t,n,n);return i?(r.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:_O(r,i),userEvent:"select.search"}),!0):!1}),X_=td((r,{query:e})=>{let t=e.matchAll(r.state,1e3);return!t||!t.length?!1:(r.dispatch({selection:Tr.create(t.map(n=>Tr.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),U_=({state:r,dispatch:e})=>{let t=r.selection;if(t.ranges.length>1||t.main.empty)return!1;let{from:n,to:i}=t.main,s=[],u=0;for(let p=new Ph(r.doc,r.sliceDoc(n,i));!p.next().done;){if(s.length>1e3)return!1;p.value.from==n&&(u=s.length),s.push(Tr.range(p.value.from,p.value.to))}return e(r.update({selection:Tr.create(s,u),userEvent:"select.search.matches"})),!0},xx=td((r,{query:e})=>{let{state:t}=r,{from:n,to:i}=t.selection.main;if(t.readOnly)return!1;let s=e.nextMatch(t,n,n);if(!s)return!1;let u=[],p,f,m=[];if(s.from==n&&s.to==i&&(f=t.toText(e.getReplacement(s)),u.push({from:s.from,to:s.to,insert:f}),s=e.nextMatch(t,s.from,s.to),m.push(ni.announce.of(t.phrase("replaced match on line $",t.doc.lineAt(n).number)+"."))),s){let O=u.length==0||u[0].from>=s.to?0:s.to-s.from-f.length;p={anchor:s.from-O,head:s.to-O},m.push(_O(r,s))}return r.dispatch({changes:u,selection:p,scrollIntoView:!!p,effects:m,userEvent:"input.replace"}),!0}),W_=td((r,{query:e})=>{if(r.state.readOnly)return!1;let t=e.matchAll(r.state,1e9).map(i=>{let{from:s,to:u}=i;return{from:s,to:u,insert:e.getReplacement(i)}});if(!t.length)return!1;let n=r.state.phrase("replaced $ matches",t.length)+".";return r.dispatch({changes:t,effects:ni.announce.of(n),userEvent:"input.replace.all"}),!0});function BO(r){return r.state.facet(kO).createPanel(r)}function Ay(r,e){var t,n,i,s;let u=r.selection.main,p=u.empty||u.to>u.from+100?"":r.sliceDoc(u.from,u.to);if(e&&!p)return e;let f=r.facet(kO);return new f2({search:((t=e==null?void 0:e.literal)!==null&&t!==void 0?t:f.literal)?p:p.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:f.caseSensitive,literal:(i=e==null?void 0:e.literal)!==null&&i!==void 0?i:f.literal,wholeWord:(s=e==null?void 0:e.wholeWord)!==null&&s!==void 0?s:f.wholeWord})}const m2=r=>{let e=r.state.field(Bc,!1);if(e&&e.panel){let t=Bf(r,BO);if(!t)return!1;let n=t.dom.querySelector("[main-field]");if(n&&n!=r.root.activeElement){let i=Ay(r.state,e.query.spec);i.valid&&r.dispatch({effects:Qf.of(i)}),n.focus(),n.select()}}else r.dispatch({effects:[FO.of(!0),e?Qf.of(Ay(r.state,e.query.spec)):Ii.appendConfig.of(Y_)]});return!0},g2=r=>{let e=r.state.field(Bc,!1);if(!e||!e.panel)return!1;let t=Bf(r,BO);return t&&t.dom.contains(r.root.activeElement)&&r.focus(),r.dispatch({effects:FO.of(!1)}),!0},q_=[{key:"Mod-f",run:m2,scope:"editor search-panel"},{key:"F3",run:Bm,shift:_m,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Bm,shift:_m,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:g2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:U_},{key:"Alt-g",run:S_},{key:"Mod-d",run:N_,preventDefault:!0}];class Z_{constructor(e){this.view=e;let t=this.query=e.state.field(Bc).query.spec;this.commit=this.commit.bind(this),this.searchField=Is("input",{value:t.search,placeholder:Ia(e,"Find"),"aria-label":Ia(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Is("input",{value:t.replace,placeholder:Ia(e,"Replace"),"aria-label":Ia(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Is("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=Is("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=Is("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function n(i,s,u){return Is("button",{class:"cm-button",name:i,onclick:s,type:"button"},u)}this.dom=Is("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,n("next",()=>Bm(e),[Ia(e,"next")]),n("prev",()=>_m(e),[Ia(e,"previous")]),n("select",()=>X_(e),[Ia(e,"all")]),Is("label",null,[this.caseField,Ia(e,"match case")]),Is("label",null,[this.reField,Ia(e,"regexp")]),Is("label",null,[this.wordField,Ia(e,"by word")]),...e.state.readOnly?[]:[Is("br"),this.replaceField,n("replace",()=>xx(e),[Ia(e,"replace")]),n("replaceAll",()=>W_(e),[Ia(e,"replace all")])],Is("button",{name:"close",onclick:()=>g2(e),"aria-label":Ia(e,"close"),type:"button"},["×"])])}commit(){let e=new f2({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:Qf.of(e)}))}keydown(e){tk(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?_m:Bm)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),xx(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(Qf)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(kO).top}}function Ia(r,e){return r.state.phrase(e)}const $d=30,Nd=/[\s\.,:;?!]/;function _O(r,{from:e,to:t}){let n=r.state.doc.lineAt(e),i=r.state.doc.lineAt(t).to,s=Math.max(n.from,e-$d),u=Math.min(i,t+$d),p=r.state.sliceDoc(s,u);if(s!=n.from){for(let f=0;f<$d;f++)if(!Nd.test(p[f+1])&&Nd.test(p[f])){p=p.slice(f);break}}if(u!=i){for(let f=p.length-1;f>p.length-$d;f--)if(!Nd.test(p[f-1])&&Nd.test(p[f])){p=p.slice(0,f);break}}return ni.announce.of(`${r.state.phrase("current match")}. ${p} ${r.state.phrase("on line")} ${n.number}.`)}const z_=ni.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),Y_=[Bc,kp.lowest(V_),z_];class y2{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=lo(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),s=i.search(D2(e,!1));return s<0?null:{from:n+s,to:this.pos,text:i.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function bx(r){let e=Object.keys(r).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function G_(r){let e=Object.create(null),t=Object.create(null);for(let{label:i}of r){e[i[0]]=!0;for(let s=1;s<i.length;s++)t[i[s]]=!0}let n=bx(e)+bx(t)+"*$";return[new RegExp("^"+n),new RegExp(n)]}function O2(r){let e=r.map(i=>typeof i=="string"?{label:i}:i),[t,n]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:G_(e);return i=>{let s=i.matchBefore(n);return s||i.explicit?{from:s?s.from:i.pos,options:e,validFor:t}:null}}function H_(r,e){return t=>{for(let n=lo(t.state).resolveInner(t.pos,-1);n;n=n.parent)if(r.indexOf(n.name)>-1)return null;return e(t)}}class vx{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function _c(r){return r.selection.main.head}function D2(r,e){var t;let{source:n}=r,i=e&&n[0]!="^",s=n[n.length-1]!="$";return!i&&!s?r:new RegExp(`${i?"^":""}(?:${n})${s?"$":""}`,(t=r.flags)!==null&&t!==void 0?t:r.ignoreCase?"i":"")}const J_=Vc.define();function K_(r,e,t,n){return Object.assign(Object.assign({},r.changeByRange(i=>{if(i==r.selection.main)return{changes:{from:t,to:n,insert:e},range:Tr.cursor(t+e.length)};let s=n-t;return!i.empty||s&&r.sliceDoc(i.from-s,i.from)!=r.sliceDoc(t,n)?{range:i}:{changes:{from:i.from-s,to:i.from,insert:e},range:Tr.cursor(i.from-s+e.length)}})),{userEvent:"input.complete"})}function x2(r,e){const t=e.completion.apply||e.completion.label;let n=e.source;typeof t=="string"?r.dispatch(Object.assign(Object.assign({},K_(r.state,t,n.from,n.to)),{annotations:J_.of(e.completion)})):t(r,e.completion,n.from,n.to)}const Cx=new WeakMap;function e$(r){if(!Array.isArray(r))return r;let e=Cx.get(r);return e||Cx.set(r,e=O2(r)),e}class t${constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t<e.length;){let n=Lo(e,t),i=Ma(n);this.chars.push(n);let s=e.slice(t,t+i),u=s.toUpperCase();this.folded.push(Lo(u==s?s.toLowerCase():u,0)),t+=i}this.astral=e.length!=this.chars.length}match(e){if(this.pattern.length==0)return[0];if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:i,precise:s,byWord:u}=this;if(t.length==1){let gt=Lo(e,0);return gt==t[0]?[0,0,Ma(gt)]:gt==n[0]?[-200,0,Ma(gt)]:null}let p=e.indexOf(this.pattern);if(p==0)return[0,0,this.pattern.length];let f=t.length,m=0;if(p<0){for(let gt=0,kt=Math.min(e.length,200);gt<kt&&m<f;){let qt=Lo(e,gt);(qt==t[m]||qt==n[m])&&(i[m++]=gt),gt+=Ma(qt)}if(m<f)return null}let O=0,b=0,N=!1,U=0,he=-1,Re=-1,Ge=/[a-z]/.test(e),$e=!0;for(let gt=0,kt=Math.min(e.length,200),qt=0;gt<kt&&b<f;){let Yt=Lo(e,gt);p<0&&(O<f&&Yt==t[O]&&(s[O++]=gt),U<f&&(Yt==t[U]||Yt==n[U]?(U==0&&(he=gt),Re=gt+1,U++):U=0));let Pr,vr=Yt<255?Yt>=48&&Yt<=57||Yt>=97&&Yt<=122?2:Yt>=65&&Yt<=90?1:0:(Pr=iO(Yt))!=Pr.toLowerCase()?1:Pr!=Pr.toUpperCase()?2:0;(!gt||vr==1&&Ge||qt==0&&vr!=0)&&(t[b]==Yt||n[b]==Yt&&(N=!0)?u[b++]=gt:u.length&&($e=!1)),qt=vr,gt+=Ma(Yt)}return b==f&&u[0]==0&&$e?this.result(-100+(N?-200:0),u,e):U==f&&he==0?[-200-e.length,0,Re]:p>-1?[-700-e.length,p,p+this.pattern.length]:U==f?[-200+-700-e.length,he,Re]:b==f?this.result(-100+(N?-200:0)+-700+($e?0:-1100),u,e):t.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,t,n){let i=[e-n.length],s=1;for(let u of t){let p=u+(this.astral?Ma(Lo(n,u)):1);s>1&&i[s-1]==u?i[s-1]=p:(i[s++]=u,i[s++]=p)}return i}}const Ka=ei.define({combine(r){return fl(r,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>Sx(e(n),t(n)),optionClass:(e,t)=>n=>Sx(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})}});function Sx(r,e){return r?e?r+" "+e:r:e}function r$(r){let e=r.addToOptions.slice();return r.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,i){let s=document.createElement("span");s.className="cm-completionLabel";let{label:u}=t,p=0;for(let f=1;f<i.length;){let m=i[f++],O=i[f++];m>p&&s.appendChild(document.createTextNode(u.slice(p,m)));let b=s.appendChild(document.createElement("span"));b.appendChild(document.createTextNode(u.slice(m,O))),b.className="cm-completionMatchedText",p=O}return p<u.length&&s.appendChild(document.createTextNode(u.slice(p))),s},position:50},{render(t){if(!t.detail)return null;let n=document.createElement("span");return n.className="cm-completionDetail",n.textContent=t.detail,n},position:80}),e.sort((t,n)=>t.position-n.position).map(t=>t.render)}function Ex(r,e,t){if(r<=t)return{from:0,to:r};if(e<0&&(e=0),e<=r>>1){let i=Math.floor(e/t);return{from:i*t,to:(i+1)*t}}let n=Math.floor((r-e)/t);return{from:r-(n+1)*t,to:r-n*t}}class n${constructor(e,t){this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:p=>this.positionInfo(p),key:this},this.space=null,this.currentClass="";let n=e.state.field(t),{options:i,selected:s}=n.open,u=e.state.facet(Ka);this.optionContent=r$(u),this.optionClass=u.optionClass,this.tooltipClass=u.tooltipClass,this.range=Ex(i.length,s,u.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",p=>{for(let f=p.target,m;f&&f!=this.dom;f=f.parentNode)if(f.nodeName=="LI"&&(m=/-(\d+)$/.exec(f.id))&&+m[1]<i.length){x2(e,i[+m[1]]),p.preventDefault();return}}),this.list=this.dom.appendChild(this.createListBox(i,n.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){var t,n,i;let s=e.state.field(this.stateField),u=e.startState.field(this.stateField);this.updateTooltipClass(e.state),s!=u&&(this.updateSel(),((t=s.open)===null||t===void 0?void 0:t.disabled)!=((n=u.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((i=s.open)===null||i===void 0)&&i.disabled)))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=Ex(t.options.length,t.selected,this.view.state.facet(Ka).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s=typeof i=="string"?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(u=>{u&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(u)}).catch(u=>Va(this.view.state,u,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,i=this.range.from;n;n=n.nextSibling,i++)i==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&s$(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),s=this.space;if(!s){let he=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:he.innerWidth,bottom:he.innerHeight}}if(i.top>Math.min(s.bottom,t.bottom)-10||i.bottom<Math.max(s.top,t.top)+10)return null;let u=this.view.textDirection==Ks.RTL,p=u,f=!1,m,O="",b="",N=t.left-s.left,U=s.right-t.right;if(p&&N<Math.min(n.width,U)?p=!1:!p&&U<Math.min(n.width,N)&&(p=!0),n.width<=(p?N:U))O=Math.max(s.top,Math.min(i.top,s.bottom-n.height))-t.top+"px",m=Math.min(400,p?N:U)+"px";else{f=!0,m=Math.min(400,(u?t.right:s.right-t.left)-30)+"px";let he=s.bottom-t.bottom;he>=n.height||he>t.top?O=i.bottom-t.top+"px":b=t.bottom-i.top+"px"}return{top:O,bottom:b,maxWidth:m,class:f?u?"left-narrow":"right-narrow":p?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){const i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let s=n.from;s<n.to;s++){let{completion:u,match:p}=e[s];const f=i.appendChild(document.createElement("li"));f.id=t+"-"+s,f.setAttribute("role","option");let m=this.optionClass(u);m&&(f.className=m);for(let O of this.optionContent){let b=O(u,this.view.state,p);b&&f.appendChild(b)}}return n.from&&i.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&i.classList.add("cm-completionListIncompleteBottom"),i}}function i$(r){return e=>new n$(e,r)}function s$(r,e){let t=r.getBoundingClientRect(),n=e.getBoundingClientRect();n.top<t.top?r.scrollTop-=t.top-n.top:n.bottom>t.bottom&&(r.scrollTop+=n.bottom-t.bottom)}function Ax(r){return(r.boost||0)*100+(r.apply?10:0)+(r.info?5:0)+(r.type?1:0)}function o$(r,e){let t=[],n=0;for(let p of r)if(p.hasResult())if(p.result.filter===!1){let f=p.result.getMatch;for(let m of p.result.options){let O=[1e9-n++];if(f)for(let b of f(m))O.push(b);t.push(new vx(m,p,O))}}else{let f=new t$(e.sliceDoc(p.from,p.to)),m;for(let O of p.result.options)(m=f.match(O.label))&&(O.boost!=null&&(m[0]+=O.boost),t.push(new vx(O,p,m)))}let i=[],s=null,u=e.facet(Ka).compareCompletions;for(let p of t.sort((f,m)=>m.match[0]-f.match[0]||u(f.completion,m.completion)))!s||s.label!=p.completion.label||s.detail!=p.completion.detail||s.type!=null&&p.completion.type!=null&&s.type!=p.completion.type||s.apply!=p.completion.apply?i.push(p):Ax(p.completion)>Ax(s)&&(i[i.length-1]=p),s=p.completion;return i}class ah{constructor(e,t,n,i,s,u){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=i,this.selected=s,this.disabled=u}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new ah(this.options,wx(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,i,s){let u=o$(e,t);if(!u.length)return i&&e.some(f=>f.state==1)?new ah(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let p=t.facet(Ka).selectOnOpen?0:-1;if(i&&i.selected!=p&&i.selected!=-1){let f=i.options[i.selected].completion;for(let m=0;m<u.length;m++)if(u[m].completion==f){p=m;break}}return new ah(u,wx(n,p),{pos:e.reduce((f,m)=>m.hasResult()?Math.min(f,m.from):f,1e8),create:i$(Za),above:s.aboveCursor},i?i.timestamp:Date.now(),p,!1)}map(e){return new ah(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class $m{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new $m(l$,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(Ka),s=(n.override||t.languageDataAt("autocomplete",_c(t)).map(e$)).map(p=>(this.active.find(m=>m.source==p)||new Sa(p,this.active.some(m=>m.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((p,f)=>p==this.active[f])&&(s=this.active);let u=this.open;u&&e.docChanged&&(u=u.map(e.changes)),e.selection||s.some(p=>p.hasResult()&&e.changes.touchesRange(p.from,p.to))||!a$(s,this.active)?u=ah.build(s,t,this.id,u,n):u&&u.disabled&&!s.some(p=>p.state==1)&&(u=null),!u&&s.every(p=>p.state!=1)&&s.some(p=>p.hasResult())&&(s=s.map(p=>p.hasResult()?new Sa(p.source,0):p));for(let p of e.effects)p.is(v2)&&(u=u&&u.setSelected(p.value,this.id));return s==this.active&&u==this.open?this:new $m(s,this.id,u)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:u$}}function a$(r,e){if(r==e)return!0;for(let t=0,n=0;;){for(;t<r.length&&!r[t].hasResult;)t++;for(;n<e.length&&!e[n].hasResult;)n++;let i=t==r.length,s=n==e.length;if(i||s)return i==s;if(r[t++].result!=e[n++].result)return!1}}const u$={"aria-autocomplete":"list"};function wx(r,e){let t={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":r};return e>-1&&(t["aria-activedescendant"]=r+"-"+e),t}const l$=[];function wy(r){return r.isUserEvent("input.type")?"input":r.isUserEvent("delete.backward")?"delete":null}class Sa{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=wy(e),i=this;n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&i.state!=0&&(i=new Sa(i.source,0));for(let s of e.effects)if(s.is($O))i=new Sa(i.source,1,s.value?_c(e.state):-1);else if(s.is(Nm))i=new Sa(i.source,0);else if(s.is(b2))for(let u of s.value)u.source==i.source&&(i=u);return i}handleUserEvent(e,t,n){return t=="delete"||!n.activateOnTyping?this.map(e.changes):new Sa(this.source,1)}handleChange(e){return e.changes.touchesRange(_c(e.startState))?new Sa(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Sa(this.source,this.state,e.mapPos(this.explicitPos))}}class mf extends Sa{constructor(e,t,n,i,s){super(e,2,t),this.result=n,this.from=i,this.to=s}hasResult(){return!0}handleUserEvent(e,t,n){var i;let s=e.changes.mapPos(this.from),u=e.changes.mapPos(this.to,1),p=_c(e.state);if((this.explicitPos<0?p<=s:p<this.from)||p>u||t=="delete"&&_c(e.startState)==this.from)return new Sa(this.source,t=="input"&&n.activateOnTyping?1:0);let f=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),m;return c$(this.result.validFor,e.state,s,u)?new mf(this.source,f,this.result,s,u):this.result.update&&(m=this.result.update(this.result,s,u,new y2(e.state,p,f>=0)))?new mf(this.source,f,m,m.from,(i=m.to)!==null&&i!==void 0?i:_c(e.state)):new Sa(this.source,1,f)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Sa(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new mf(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function c$(r,e,t,n){if(!r)return!1;let i=e.sliceDoc(t,n);return typeof r=="function"?r(i,t,n,e):D2(r,!0).test(i)}const $O=Ii.define(),Nm=Ii.define(),b2=Ii.define({map(r,e){return r.map(t=>t.map(e))}}),v2=Ii.define(),Za=Eo.define({create(){return $m.start()},update(r,e){return r.update(e)},provide:r=>[dO.from(r,e=>e.tooltip),ni.contentAttributes.from(r,e=>e.attrs)]});function Id(r,e="option"){return t=>{let n=t.state.field(Za,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp<t.state.facet(Ka).interactionDelay)return!1;let i=1,s;e=="page"&&(s=Rk(t,n.open.tooltip))&&(i=Math.max(2,Math.floor(s.dom.offsetHeight/s.dom.querySelector("li").offsetHeight)-1));let{length:u}=n.open.options,p=n.open.selected>-1?n.open.selected+i*(r?1:-1):r?0:u-1;return p<0?p=e=="page"?0:u-1:p>=u&&(p=e=="page"?u-1:0),t.dispatch({effects:v2.of(p)}),!0}}const C2=r=>{let e=r.state.field(Za,!1);return r.state.readOnly||!e||!e.open||e.open.selected<0||Date.now()-e.open.timestamp<r.state.facet(Ka).interactionDelay?!1:(e.open.disabled||x2(r,e.open.options[e.open.selected]),!0)},p$=r=>r.state.field(Za,!1)?(r.dispatch({effects:$O.of(!0)}),!0):!1,h$=r=>{let e=r.state.field(Za,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(r.dispatch({effects:Nm.of(null)}),!0)};class f${constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const Px=50,d$=50,m$=1e3,g$=yo.fromClass(class{constructor(r){this.view=r,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of r.state.field(Za).active)e.state==1&&this.startQuery(e)}update(r){let e=r.state.field(Za);if(!r.selectionSet&&!r.docChanged&&r.startState.field(Za)==e)return;let t=r.transactions.some(n=>(n.selection||n.docChanged)&&!wy(n));for(let n=0;n<this.running.length;n++){let i=this.running[n];if(t||i.updates.length+r.transactions.length>d$&&Date.now()-i.time>m$){for(let s of i.context.abortListeners)try{s()}catch(u){Va(this.view.state,u)}i.context.abortListeners=null,this.running.splice(n--,1)}else i.updates.push(...r.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(i=>i.active.source==n.source))?setTimeout(()=>this.startUpdate(),Px):-1,this.composing!=0)for(let n of r.transactions)wy(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:r}=this.view,e=r.field(Za);for(let t of e.active)t.state==1&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t)}startQuery(r){let{state:e}=this.view,t=_c(e),n=new y2(e,t,r.explicitPos==t),i=new f$(r,n);this.running.push(i),Promise.resolve(r.source(n)).then(s=>{i.context.aborted||(i.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Nm.of(null)}),Va(this.view.state,s)})}scheduleAccept(){this.running.every(r=>r.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),Px))}accept(){var r;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(Ka);for(let n=0;n<this.running.length;n++){let i=this.running[n];if(i.done===void 0)continue;if(this.running.splice(n--,1),i.done){let u=new mf(i.active.source,i.active.explicitPos,i.done,i.done.from,(r=i.done.to)!==null&&r!==void 0?r:_c(i.updates.length?i.updates[0].startState:this.view.state));for(let p of i.updates)u=u.update(p,t);if(u.hasResult()){e.push(u);continue}}let s=this.view.state.field(Za).active.find(u=>u.source==i.active.source);if(s&&s.state==1)if(i.done==null){let u=new Sa(i.active.source,0);for(let p of i.updates)u=u.update(p,t);u.state!=1&&e.push(u)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:b2.of(e)})}},{eventHandlers:{blur(){let r=this.view.state.field(Za,!1);r&&r.tooltip&&this.view.state.facet(Ka).closeOnBlur&&this.view.dispatch({effects:Nm.of(null)})},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:$O.of(!1)}),20),this.composing=0}}}),S2=ni.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class y${constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class NO{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,Vo.TrackDel),n=e.mapPos(this.to,1,Vo.TrackDel);return t==null||n==null?null:new NO(this.field,t,n)}}class IO{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],s=e.doc.lineAt(t),u=/^\s*/.exec(s.text)[0];for(let f of this.lines){if(n.length){let m=u,O=/^\t*/.exec(f)[0].length;for(let b=0;b<O;b++)m+=e.facet(lg);i.push(t+m.length-O),f=m+f.slice(O)}n.push(f),t+=f.length+1}let p=this.fieldPositions.map(f=>new NO(f.field,i[f.line]+f.from,i[f.line]+f.to));return{text:n,ranges:p}}static parse(e){let t=[],n=[],i=[],s;for(let u of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(u);){let p=s[1]?+s[1]:null,f=s[2]||s[3]||"",m=-1;for(let O=0;O<t.length;O++)(p!=null?t[O].seq==p:f&&t[O].name==f)&&(m=O);if(m<0){let O=0;for(;O<t.length&&(p==null||t[O].seq!=null&&t[O].seq<p);)O++;t.splice(O,0,{seq:p,name:f}),m=O;for(let b of i)b.field>=m&&b.field++}i.push(new y$(m,n.length,s.index,s.index+f.length)),u=u.slice(0,s.index)+f+u.slice(s.index+s[0].length)}for(let p;p=/\\([{}])/.exec(u);){u=u.slice(0,p.index)+p[1]+u.slice(p.index+p[0].length);for(let f of i)f.line==n.length&&f.from>p.index&&(f.from--,f.to--)}n.push(u)}return new IO(n,i)}}let O$=ci.widget({widget:new class extends Yl{toDOM(){let r=document.createElement("span");return r.className="cm-snippetFieldPosition",r}ignoreEvent(){return!1}}}),D$=ci.mark({class:"cm-snippetField"});class Qh{constructor(e,t){this.ranges=e,this.active=t,this.deco=ci.set(e.map(n=>(n.from==n.to?O$:D$).range(n.from,n.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new Qh(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const rd=Ii.define({map(r,e){return r&&r.map(e)}}),x$=Ii.define(),jf=Eo.define({create(){return null},update(r,e){for(let t of e.effects){if(t.is(rd))return t.value;if(t.is(x$)&&r)return new Qh(r.ranges,t.value)}return r&&e.docChanged&&(r=r.map(e.changes)),r&&e.selection&&!r.selectionInsideField(e.selection)&&(r=null),r},provide:r=>ni.decorations.from(r,e=>e?e.deco:ci.none)});function QO(r,e){return Tr.create(r.filter(t=>t.field==e).map(t=>Tr.range(t.from,t.to)))}function b$(r){let e=IO.parse(r);return(t,n,i,s)=>{let{text:u,ranges:p}=e.instantiate(t.state,i),f={changes:{from:i,to:s,insert:ms.of(u)},scrollIntoView:!0};if(p.length&&(f.selection=QO(p,0)),p.length>1){let m=new Qh(p,0),O=f.effects=[rd.of(m)];t.state.field(jf,!1)===void 0&&O.push(Ii.appendConfig.of([jf,A$,w$,S2]))}t.dispatch(t.state.update(f))}}function E2(r){return({state:e,dispatch:t})=>{let n=e.field(jf,!1);if(!n||r<0&&n.active==0)return!1;let i=n.active+r,s=r>0&&!n.ranges.some(u=>u.field==i+r);return t(e.update({selection:QO(n.ranges,i),effects:rd.of(s?null:new Qh(n.ranges,i))})),!0}}const v$=({state:r,dispatch:e})=>r.field(jf,!1)?(e(r.update({effects:rd.of(null)})),!0):!1,C$=E2(1),S$=E2(-1),E$=[{key:"Tab",run:C$,shift:S$},{key:"Escape",run:v$}],Tx=ei.define({combine(r){return r.length?r[0]:E$}}),A$=kp.highest(Zf.compute([Tx],r=>r.facet(Tx)));function mu(r,e){return Object.assign(Object.assign({},e),{apply:b$(r)})}const w$=ni.domEventHandlers({mousedown(r,e){let t=e.state.field(jf,!1),n;if(!t||(n=e.posAtCoords({x:r.clientX,y:r.clientY}))==null)return!1;let i=t.ranges.find(s=>s.from<=n&&s.to>=n);return!i||i.field==t.active?!1:(e.dispatch({selection:QO(t.ranges,i.field),effects:rd.of(t.ranges.some(s=>s.field>i.field)?new Qh(t.ranges,i.field):null)}),!0)}}),Mf={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Dp=Ii.define({map(r,e){let t=e.mapPos(r,-1,Vo.TrackAfter);return t??void 0}}),jO=Ii.define({map(r,e){return e.mapPos(r)}}),MO=new class extends Sp{};MO.startSide=1;MO.endSide=-1;const A2=Eo.define({create(){return Ss.empty},update(r,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,n=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(n,-1)&&(r=Ss.empty)}r=r.map(e.changes);for(let t of e.effects)t.is(Dp)?r=r.update({add:[MO.range(t.value,t.value+1)]}):t.is(jO)&&(r=r.update({filter:n=>n!=t.value}));return r}});function P$(){return[k$,A2]}const a0="()[]{}<>";function w2(r){for(let e=0;e<a0.length;e+=2)if(a0.charCodeAt(e)==r)return a0.charAt(e+1);return iO(r<128?r:r+1)}function P2(r,e){return r.languageDataAt("closeBrackets",e)[0]||Mf}const T$=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),k$=ni.inputHandler.of((r,e,t,n)=>{if((T$?r.composing:r.compositionStarted)||r.state.readOnly)return!1;let i=r.state.selection.main;if(n.length>2||n.length==2&&Ma(Lo(n,0))==1||e!=i.from||t!=i.to)return!1;let s=_$(r.state,n);return s?(r.dispatch(s),!0):!1}),F$=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let n=P2(r,r.selection.main.head).brackets||Mf.brackets,i=null,s=r.changeByRange(u=>{if(u.empty){let p=$$(r.doc,u.head);for(let f of n)if(f==p&&yg(r.doc,u.head)==w2(Lo(f,0)))return{changes:{from:u.head-f.length,to:u.head+f.length},range:Tr.cursor(u.head-f.length)}}return{range:i=u}});return i||e(r.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},B$=[{key:"Backspace",run:F$}];function _$(r,e){let t=P2(r,r.selection.main.head),n=t.brackets||Mf.brackets;for(let i of n){let s=w2(Lo(i,0));if(e==i)return s==i?Q$(r,i,n.indexOf(i+i+i)>-1,t):N$(r,i,s,t.before||Mf.before);if(e==s&&T2(r,r.selection.main.from))return I$(r,i,s)}return null}function T2(r,e){let t=!1;return r.field(A2).between(0,r.doc.length,n=>{n==e&&(t=!0)}),t}function yg(r,e){let t=r.sliceString(e,e+2);return t.slice(0,Ma(Lo(t,0)))}function $$(r,e){let t=r.sliceString(e-2,e);return Ma(Lo(t,0))==t.length?t:t.slice(1)}function N$(r,e,t,n){let i=null,s=r.changeByRange(u=>{if(!u.empty)return{changes:[{insert:e,from:u.from},{insert:t,from:u.to}],effects:Dp.of(u.to+e.length),range:Tr.range(u.anchor+e.length,u.head+e.length)};let p=yg(r.doc,u.head);return!p||/\s/.test(p)||n.indexOf(p)>-1?{changes:{insert:e+t,from:u.head},effects:Dp.of(u.head+e.length),range:Tr.cursor(u.head+e.length)}:{range:i=u}});return i?null:r.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function I$(r,e,t){let n=null,i=r.selection.ranges.map(s=>s.empty&&yg(r.doc,s.head)==t?Tr.cursor(s.head+t.length):n=s);return n?null:r.update({selection:Tr.create(i,r.selection.mainIndex),scrollIntoView:!0,effects:r.selection.ranges.map(({from:s})=>jO.of(s))})}function Q$(r,e,t,n){let i=n.stringPrefixes||Mf.stringPrefixes,s=null,u=r.changeByRange(p=>{if(!p.empty)return{changes:[{insert:e,from:p.from},{insert:e,from:p.to}],effects:Dp.of(p.to+e.length),range:Tr.range(p.anchor+e.length,p.head+e.length)};let f=p.head,m=yg(r.doc,f),O;if(m==e){if(kx(r,f))return{changes:{insert:e+e,from:f},effects:Dp.of(f+e.length),range:Tr.cursor(f+e.length)};if(T2(r,f)){let b=t&&r.sliceDoc(f,f+e.length*3)==e+e+e;return{range:Tr.cursor(f+e.length*(b?3:1)),effects:jO.of(f)}}}else{if(t&&r.sliceDoc(f-2*e.length,f)==e+e&&(O=Fx(r,f-2*e.length,i))>-1&&kx(r,O))return{changes:{insert:e+e+e+e,from:f},effects:Dp.of(f+e.length),range:Tr.cursor(f+e.length)};if(r.charCategorizer(f)(m)!=Zs.Word&&Fx(r,f,i)>-1&&!j$(r,f,e,i))return{changes:{insert:e+e,from:f},effects:Dp.of(f+e.length),range:Tr.cursor(f+e.length)}}return{range:s=p}});return s?null:r.update(u,{scrollIntoView:!0,userEvent:"input.type"})}function kx(r,e){let t=lo(r).resolveInner(e+1);return t.parent&&t.from==e}function j$(r,e,t,n){let i=lo(r).resolveInner(e,-1),s=n.reduce((u,p)=>Math.max(u,p.length),0);for(let u=0;u<5;u++){let p=r.sliceDoc(i.from,Math.min(i.to,i.from+t.length+s)),f=p.indexOf(t);if(!f||f>-1&&n.indexOf(p.slice(0,f))>-1){let O=i.firstChild;for(;O&&O.from==i.from&&O.to-O.from>t.length+f;){if(r.sliceDoc(O.to-t.length,O.to)==t)return!1;O=O.firstChild}return!0}let m=i.to==e&&i.parent;if(!m)break;i=m}return!1}function Fx(r,e,t){let n=r.charCategorizer(e);if(n(r.sliceDoc(e-1,e))!=Zs.Word)return e;for(let i of t){let s=e-i.length;if(r.sliceDoc(s,e)==i&&n(r.sliceDoc(s-1,s))!=Zs.Word)return s}return-1}function M$(r={}){return[Za,Ka.of(r),g$,L$,S2]}const LO=[{key:"Ctrl-Space",run:p$},{key:"Escape",run:h$},{key:"ArrowDown",run:Id(!0)},{key:"ArrowUp",run:Id(!1)},{key:"PageDown",run:Id(!0,"page")},{key:"PageUp",run:Id(!1,"page")},{key:"Enter",run:C2}],L$=kp.highest(Zf.computeN([Ka],r=>r.facet(Ka).defaultKeymap?[LO]:[]));class R${constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class gp{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,s=n.facet(uh).markerFilter;s&&(i=s(i));let u=ci.set(i.map(p=>p.from==p.to||p.from==p.to-1&&n.doc.lineAt(p.from).to==p.from?ci.widget({widget:new H$(p),diagnostic:p}).range(p.from):ci.mark({attributes:{class:"cm-lintRange cm-lintRange-"+p.severity},diagnostic:p}).range(p.from,p.to)),!0);return new gp(u,t,Th(u))}}function Th(r,e=null,t=0){let n=null;return r.between(t,1e9,(i,s,{spec:u})=>{if(!(e&&u.diagnostic!=e))return n=new R$(i,s,u.diagnostic),!1}),n}function V$(r,e){return!!(r.effects.some(t=>t.is(RO))||r.changes.touchesRange(e.pos))}function k2(r,e){return r.field(Ra,!1)?e:e.concat(Ii.appendConfig.of([Ra,ni.decorations.compute([Ra],t=>{let{selected:n,panel:i}=t.field(Ra);return!n||!i||n.from==n.to?ci.none:ci.set([U$.range(n.from,n.to)])}),Lk(W$,{hideOn:V$}),K$]))}function X$(r,e){return{effects:k2(r,[RO.of(e)])}}const RO=Ii.define(),VO=Ii.define(),F2=Ii.define(),Ra=Eo.define({create(){return new gp(ci.none,null,null)},update(r,e){if(e.docChanged){let t=r.diagnostics.map(e.changes),n=null;if(r.selected){let i=e.changes.mapPos(r.selected.from,1);n=Th(t,r.selected.diagnostic,i)||Th(t,null,i)}r=new gp(t,r.panel,n)}for(let t of e.effects)t.is(RO)?r=gp.init(t.value,r.panel,e.state):t.is(VO)?r=new gp(r.diagnostics,t.value?Og.open:null,r.selected):t.is(F2)&&(r=new gp(r.diagnostics,r.panel,t.value));return r},provide:r=>[_f.from(r,e=>e.panel),ni.decorations.from(r,e=>e.diagnostics)]}),U$=ci.mark({class:"cm-lintRange cm-lintRange-active"});function W$(r,e,t){let{diagnostics:n}=r.state.field(Ra),i=[],s=2e8,u=0;n.between(e-(t<0?1:0),e+(t>0?1:0),(f,m,{spec:O})=>{e>=f&&e<=m&&(f==m||(e>f||t>0)&&(e<m||t<0))&&(i.push(O.diagnostic),s=Math.min(f,s),u=Math.max(m,u))});let p=r.state.facet(uh).tooltipFilter;return p&&(i=p(i)),i.length?{pos:s,end:u,above:r.state.doc.lineAt(s).to<u,create(){return{dom:q$(r,i)}}}:null}function q$(r,e){return Is("ul",{class:"cm-tooltip-lint"},e.map(t=>_2(r,t,!1)))}const Z$=r=>{let e=r.state.field(Ra,!1);(!e||!e.panel)&&r.dispatch({effects:k2(r.state,[VO.of(!0)])});let t=Bf(r,Og.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},Bx=r=>{let e=r.state.field(Ra,!1);return!e||!e.panel?!1:(r.dispatch({effects:VO.of(!1)}),!0)},z$=r=>{let e=r.state.field(Ra,!1);if(!e)return!1;let t=r.state.selection.main,n=e.diagnostics.iter(t.to+1);return!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==t.from&&n.to==t.to)?!1:(r.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},Y$=[{key:"Mod-Shift-m",run:Z$,preventDefault:!0},{key:"F8",run:z$}],G$=yo.fromClass(class{constructor(r){this.view=r,this.timeout=-1,this.set=!0;let{delay:e}=r.state.facet(uh);this.lintTime=Date.now()+e,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,e)}run(){let r=Date.now();if(r<this.lintTime-10)setTimeout(this.run,this.lintTime-r);else{this.set=!1;let{state:e}=this.view,{sources:t}=e.facet(uh);Promise.all(t.map(n=>Promise.resolve(n(this.view)))).then(n=>{let i=n.reduce((s,u)=>s.concat(u));this.view.state.doc==e.doc&&this.view.dispatch(X$(this.view.state,i))},n=>{Va(this.view.state,n)})}}update(r){let e=r.state.facet(uh);(r.docChanged||e!=r.startState.facet(uh))&&(this.lintTime=Date.now()+e.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,e.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),uh=ei.define({combine(r){return Object.assign({sources:r.map(e=>e.source)},fl(r.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:G$});function B2(r){let e=[];if(r)e:for(let{name:t}of r){for(let n=0;n<t.length;n++){let i=t[n];if(/[a-zA-Z]/.test(i)&&!e.some(s=>s.toLowerCase()==i.toLowerCase())){e.push(i);continue e}}e.push("")}return e}function _2(r,e,t){var n;let i=t?B2(e.actions):[];return Is("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Is("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(n=e.actions)===null||n===void 0?void 0:n.map((s,u)=>{let p=b=>{b.preventDefault();let N=Th(r.state.field(Ra).diagnostics,e);N&&s.apply(r,N.from,N.to)},{name:f}=s,m=i[u]?f.indexOf(i[u]):-1,O=m<0?f:[f.slice(0,m),Is("u",f.slice(m,m+1)),f.slice(m+1)];return Is("button",{type:"button",class:"cm-diagnosticAction",onclick:p,onmousedown:p,"aria-label":` Action: ${f}${m<0?"":` (access key "${i[u]})"`}.`},O)}),e.source&&Is("div",{class:"cm-diagnosticSource"},e.source))}class H$ extends Yl{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Is("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class _x{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=_2(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Og{constructor(e){this.view=e,this.items=[];let t=i=>{if(i.keyCode==27)Bx(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],u=B2(s.actions);for(let p=0;p<u.length;p++)if(u[p].toUpperCase().charCodeAt(0)==i.keyCode){let f=Th(this.view.state.field(Ra).diagnostics,s);f&&s.actions[p].apply(e,f.from,f.to)}}else return;i.preventDefault()},n=i=>{for(let s=0;s<this.items.length;s++)this.items[s].dom.contains(i.target)&&this.moveSelection(s)};this.list=Is("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t,onclick:n}),this.dom=Is("div",{class:"cm-panel-lint"},this.list,Is("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>Bx(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Ra).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(Ra),n=0,i=!1,s=null;for(e.between(0,this.view.state.doc.length,(u,p,{spec:f})=>{let m=-1,O;for(let b=n;b<this.items.length;b++)if(this.items[b].diagnostic==f.diagnostic){m=b;break}m<0?(O=new _x(this.view,f.diagnostic),this.items.splice(n,0,O),i=!0):(O=this.items[m],m>n&&(this.items.splice(n,m-n),i=!0)),t&&O.diagnostic==t.diagnostic?O.dom.hasAttribute("aria-selected")||(O.dom.setAttribute("aria-selected","true"),s=O):O.dom.hasAttribute("aria-selected")&&O.dom.removeAttribute("aria-selected"),n++});n<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)i=!0,this.items.pop();this.items.length==0&&(this.items.push(new _x(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),s?(this.list.setAttribute("aria-activedescendant",s.id),this.view.requestMeasure({key:this,read:()=>({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:u,panel:p})=>{u.top<p.top?this.list.scrollTop-=p.top-u.top:u.bottom>p.bottom&&(this.list.scrollTop+=u.bottom-p.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let n=e;e=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(Ra),n=Th(t.diagnostics,this.items[e].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:F2.of(n)})}static open(e){return new Og(e)}}function J$(r,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(r)}</svg>')`}function u0(r){return J$(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${r}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const K$=ni.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:u0("#d11")},".cm-lintRange-warning":{backgroundImage:u0("orange")},".cm-lintRange-info":{backgroundImage:u0("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),eN=(()=>[Gk(),Kk(),Ok(),vB(),Y3(),ak(),hk(),hs.allowMultipleSelections.of(!0),Q3(),wS(K3,{fallback:!0}),oB(),P$(),M$(),kk(),_k(),Sk(),w_(),Zf.of([...B$,...v_,...q_,...FB,...q3,...LO,...Y$])])();class Im{constructor(e,t,n,i,s,u,p,f,m,O=0,b){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=s,this.score=u,this.buffer=p,this.bufferBase=f,this.curContext=m,this.lookAhead=O,this.parent=b}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new Im(e,[],t,n,n,0,[],0,i?new $x(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=e&65535,{parser:i}=this.p,s=i.dynamicPrecedence(n);if(s&&(this.score+=s),t==0){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),n<i.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,4,!0),this.reduceContext(n,this.reducePos);return}let u=this.stack.length-(t-1)*3-(e&262144?6:0),p=u?this.stack[u-2]:0,f=this.reducePos-p;f>=2e3&&(p==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=f):this.p.lastBigReductionSize<f&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=p,this.p.lastBigReductionSize=f));let m=u?this.stack[u-1]:0,O=this.bufferBase+this.buffer.length-m;if(n<i.minRepeatTerm||e&131072){let b=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,p,b,O+4,!0)}if(e&262144)this.state=this.stack[u];else{let b=this.stack[u-3];this.state=i.getGoto(b,n,!0)}for(;this.stack.length>u;)this.stack.pop();this.reduceContext(n,p)}storeNode(e,t,n,i=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let u=this,p=this.buffer.length;if(p==0&&u.parent&&(p=u.bufferBase-u.parent.bufferBase,u=u.parent),p>0&&u.buffer[p-4]==0&&u.buffer[p-1]>-1){if(t==n)return;if(u.buffer[p-2]>=t){u.buffer[p-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,t,n,i);else{let u=this.buffer.length;if(u>0&&this.buffer[u-4]!=0)for(;u>0&&this.buffer[u-2]>n;)this.buffer[u]=this.buffer[u-4],this.buffer[u+1]=this.buffer[u-3],this.buffer[u+2]=this.buffer[u-2],this.buffer[u+3]=this.buffer[u-1],u-=4,i>4&&(i-=4);this.buffer[u]=e,this.buffer[u+1]=t,this.buffer[u+2]=n,this.buffer[u+3]=i}}shift(e,t,n){let i=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4);else{let s=e,{parser:u}=this.p;(n>this.pos||t<=u.maxNode)&&(this.pos=n,u.stateFlag(s,1)||(this.reducePos=n)),this.pushState(s,i),this.shiftContext(t,i),t<=u.maxNode&&this.buffer.push(t,i,n,4)}}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new Im(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new tN(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>4<<1||this.stack.length>=120){let i=[];for(let s=0,u;s<t.length;s+=2)(u=t[s+1])!=this.state&&this.p.parser.hasAction(u,e)&&i.push(t[s],u);if(this.stack.length<120)for(let s=0;i.length<4<<1&&s<t.length;s+=2){let u=t[s+1];i.some((p,f)=>f&1&&p==u)||i.push(t[s],u)}t=i}let n=[];for(let i=0;i<t.length&&n.length<4;i+=2){let s=t[i+1];if(s==this.state)continue;let u=this.split();u.pushState(s,this.pos),u.storeNode(0,u.pos,u.pos,4,!0),u.shiftContext(t[i],this.pos),u.score-=200,n.push(u)}return n}forceReduce(){let e=this.p.parser.stateSlot(this.state,5);if(!(e&65536))return!1;let{parser:t}=this.p;if(!t.validAction(this.state,e)){let n=e>>19,i=e&65535,s=this.stack.length-n*3;if(s<0||t.getGoto(this.stack[s],i,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.reducePos,this.reducePos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.reducePos,this.reducePos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new $x(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class $x{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var Nx;(function(r){r[r.Insert=200]="Insert",r[r.Delete=190]="Delete",r[r.Reduce=100]="Reduce",r[r.MaxNext=4]="MaxNext",r[r.MaxInsertStackDepth=300]="MaxInsertStackDepth",r[r.DampenInsertStackDepth=120]="DampenInsertStackDepth",r[r.MinBigReduction=2e3]="MinBigReduction"})(Nx||(Nx={}));class tN{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=i}}class Qm{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new Qm(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new Qm(this.stack,this.pos,this.index)}}function sf(r,e=Uint16Array){if(typeof r!="string")return r;let t=null;for(let n=0,i=0;n<r.length;){let s=0;for(;;){let u=r.charCodeAt(n++),p=!1;if(u==126){s=65535;break}u>=92&&u--,u>=34&&u--;let f=u-32;if(f>=46&&(f-=46,p=!0),s+=f,p)break;s*=46}t?t[i++]=s:t=new e(s)}return t}class Hd{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Ix=new Hd;class rN{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Ix,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,s=this.pos+e;for(;s<n.from;){if(!i)return null;let u=this.ranges[--i];s-=n.from-u.to,n=u}for(;t<0?s>n.to:s>=n.to;){if(i==this.ranges.length-1)return null;let u=this.ranges[++i];s+=u.from-n.to,n=u}return s}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t<this.chunk.length)n=this.pos+e,i=this.chunk.charCodeAt(t);else{let s=this.resolveOffset(e,1);if(s==null)return-1;if(n=s,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)i=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let u=this.rangeIndex,p=this.range;for(;p.to<=n;)p=this.ranges[++u];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>p.to&&(this.chunk2=this.chunk2.slice(0,p.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=Ix,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class Dh{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;$2(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}Dh.prototype.contextual=Dh.prototype.fallback=Dh.prototype.extend=!1;class Py{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e=="string"?sf(e):e}token(e,t){let n=e.pos,i;for(;i=e.pos,$2(this.data,e,t,0,this.data,this.precTable),!(e.token.value>-1);){if(this.elseToken==null)return;if(e.next<0)break;e.advance(),e.reset(i+1,e.token)}i>n&&(e.reset(n,e.token),e.acceptToken(this.elseToken,i-n))}}Py.prototype.contextual=Dh.prototype.fallback=Dh.prototype.extend=!1;class Eu{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function $2(r,e,t,n,i,s){let u=0,p=1<<n,{dialect:f}=t.p.parser;e:for(;p&r[u];){let m=r[u+1];for(let U=u+3;U<m;U+=2)if((r[U+1]&p)>0){let he=r[U];if(f.allows(he)&&(e.token.value==-1||e.token.value==he||nN(he,e.token.value,i,s))){e.acceptToken(he);break}}let O=e.next,b=0,N=r[u+2];if(e.next<0&&N>b&&r[m+N*3-3]==65535&&r[m+N*3-3]==65535){u=r[m+N*3-1];continue e}for(;b<N;){let U=b+N>>1,he=m+U+(U<<1),Re=r[he],Ge=r[he+1]||65536;if(O<Re)N=U;else if(O>=Ge)b=U+1;else{u=r[he+2],e.advance();continue e}}break}}function Qx(r,e,t){for(let n=e,i;(i=r[n])!=65535;n++)if(i==t)return n-e;return-1}function nN(r,e,t,n){let i=Qx(t,n,e);return i<0||Qx(t,n,r)<i}const gu=typeof process<"u"&&process.env&&/\bparse\b/.test({}.LOG);let l0=null;var jx;(function(r){r[r.Margin=25]="Margin"})(jx||(jx={}));function Mx(r,e,t){let n=r.cursor(Xs.IncludeAnonymous);for(n.moveTo(e);;)if(!(t<0?n.childBefore(e):n.childAfter(e)))for(;;){if((t<0?n.to<e:n.from>e)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(r.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:r.length}}class iN{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Mx(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Mx(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let s=n.children[i],u=this.start[t]+n.positions[i];if(u>e)return this.nextStart=u,null;if(s instanceof eo){if(u==e){if(u<this.safeFrom)return null;let p=u+s.length;if(p<=this.safeTo){let f=s.prop(Yi.lookAhead);if(!f||p+f<this.fragment.to)return s}}this.index[t]++,u+s.length>=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(u),this.index.push(0))}else this.index[t]++,this.nextStart=u+s.length}}}class sN{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Hd)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:s}=i,u=i.stateSlot(e.state,3),p=e.curContext?e.curContext.hash:0,f=0;for(let m=0;m<s.length;m++){if(!(1<<m&u))continue;let O=s[m],b=this.tokens[m];if(!(n&&!O.fallback)&&((O.contextual||b.start!=e.pos||b.mask!=u||b.context!=p)&&(this.updateCachedToken(b,O,e),b.mask=u,b.context=p),b.lookAhead>b.end+25&&(f=Math.max(b.lookAhead,f)),b.value!=0)){let N=t;if(b.extended>-1&&(t=this.addActions(e,b.extended,b.end,t)),t=this.addActions(e,b.value,b.end,t),!O.extend&&(n=b,t>N))break}}for(;this.actions.length>t;)this.actions.pop();return f&&e.setLookAhead(f),!n&&e.pos==this.stream.end&&(n=new Hd,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new Hd,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:s}=n.p;for(let u=0;u<s.specialized.length;u++)if(s.specialized[u]==e.value){let p=s.specializers[u](this.stream.read(e.start,e.end),n);if(p>=0&&n.p.parser.dialect.allows(p>>1)){p&1?e.extended=p>>1:e.value=p>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let s=0;s<i;s+=3)if(this.actions[s]==e)return i;return this.actions[i++]=e,this.actions[i++]=t,this.actions[i++]=n,i}addActions(e,t,n,i){let{state:s}=e,{parser:u}=e.p,{data:p}=u;for(let f=0;f<2;f++)for(let m=u.stateSlot(s,f?2:1);;m+=3){if(p[m]==65535)if(p[m+1]==1)m=Rl(p,m+2);else{i==0&&p[m+1]==2&&(i=this.putAction(Rl(p,m+2),t,n,i));break}p[m]==t&&(i=this.putAction(Rl(p,m+1),t,n,i))}return i}}var Lx;(function(r){r[r.Distance=5]="Distance",r[r.MaxRemainingPerStep=3]="MaxRemainingPerStep",r[r.MinBufferLengthPrune=500]="MinBufferLengthPrune",r[r.ForceReduceLimit=10]="ForceReduceLimit",r[r.CutDepth=15e3]="CutDepth",r[r.CutTo=9e3]="CutTo",r[r.MaxLeftAssociativeReductionCount=1e3]="MaxLeftAssociativeReductionCount"})(Lx||(Lx={}));class oN{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new rN(t,i),this.tokens=new sN(e,this.stream),this.topTerm=e.top[1];let{from:s}=i[0];this.stacks=[Im.start(this,e.top[0],s)],this.fragments=n.length&&this.stream.end-s>e.bufferLength*4?new iN(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],i,s;if(this.bigReductionCount>1e3&&e.length==1){let[u]=e;for(;u.forceReduce()&&u.stack.length&&u.stack[u.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let u=0;u<e.length;u++){let p=e[u];for(;;){if(this.tokens.mainToken=null,p.pos>t)n.push(p);else{if(this.advanceStack(p,n,e))continue;{i||(i=[],s=[]),i.push(p);let f=this.tokens.getMainToken(p);s.push(f.value,f.end)}}break}}if(!n.length){let u=i&&uN(i);if(u)return this.stackToTree(u);if(this.parser.strict)throw gu&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&i){let u=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,s,n);if(u)return this.stackToTree(u.forceAll())}if(this.recovering){let u=this.recovering==1?1:this.recovering*3;if(n.length>u)for(n.sort((p,f)=>f.score-p.score);n.length>u;)n.pop();n.some(p=>p.reducePos>t)&&this.recovering--}else if(n.length>1)e:for(let u=0;u<n.length-1;u++){let p=n[u];for(let f=u+1;f<n.length;f++){let m=n[f];if(p.sameState(m)||p.buffer.length>500&&m.buffer.length>500)if((p.score-m.score||p.buffer.length-m.buffer.length)>0)n.splice(f--,1);else{n.splice(u--,1);continue e}}}this.minStackPos=n[0].pos;for(let u=1;u<n.length;u++)n[u].pos<this.minStackPos&&(this.minStackPos=n[u].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:s}=this,u=gu?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let m=e.curContext&&e.curContext.tracker.strict,O=m?e.curContext.hash:0;for(let b=this.fragments.nodeAt(i);b;){let N=this.parser.nodeSet.types[b.type.id]==b.type?s.getGoto(e.state,b.type.id):-1;if(N>-1&&b.length&&(!m||(b.prop(Yi.contextHash)||0)==O))return e.useNode(b,N),gu&&console.log(u+this.stackID(e)+` (via reuse of ${s.getName(b.type.id)})`),!0;if(!(b instanceof eo)||b.children.length==0||b.positions[0]>0)break;let U=b.children[0];if(U instanceof eo&&b.positions[0]==0)b=U;else break}}let p=s.stateSlot(e.state,4);if(p>0)return e.reduce(p),gu&&console.log(u+this.stackID(e)+` (via always-reduce ${s.getName(p&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let f=this.tokens.getActions(e);for(let m=0;m<f.length;){let O=f[m++],b=f[m++],N=f[m++],U=m==f.length||!n,he=U?e:e.split();if(he.apply(O,b,N),gu&&console.log(u+this.stackID(he)+` (via ${O&65536?`reduce of ${s.getName(O&65535)}`:"shift"} for ${s.getName(b)} @ ${i}${he==e?"":", split"})`),U)return!0;he.pos>i?t.push(he):n.push(he)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Rx(e,t),!0}}runRecovery(e,t,n){let i=null,s=!1;for(let u=0;u<e.length;u++){let p=e[u],f=t[u<<1],m=t[(u<<1)+1],O=gu?this.stackID(p)+" -> ":"";if(p.deadEnd&&(s||(s=!0,p.restart(),gu&&console.log(O+this.stackID(p)+" (restarted)"),this.advanceFully(p,n))))continue;let b=p.split(),N=O;for(let U=0;b.forceReduce()&&U<10&&(gu&&console.log(N+this.stackID(b)+" (via force-reduce)"),!this.advanceFully(b,n));U++)gu&&(N=this.stackID(b)+" -> ");for(let U of p.recoverByInsert(f))gu&&console.log(O+this.stackID(U)+" (via recover-insert)"),this.advanceFully(U,n);this.stream.end>p.pos?(m==p.pos&&(m++,f=0),p.recoverByDelete(f,m),gu&&console.log(O+this.stackID(p)+` (via recover-delete ${this.parser.getName(f)})`),Rx(p,n)):(!i||i.score<p.score)&&(i=p)}return i}stackToTree(e){return e.close(),eo.build({buffer:Qm.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(l0||(l0=new WeakMap)).get(e);return t||l0.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function Rx(r,e){for(let t=0;t<e.length;t++){let n=e[t];if(n.pos==r.pos&&n.sameState(r)){e[t].score<r.score&&(e[t]=r);return}}e.push(r)}class aN{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}}const c0=r=>r;class XO{constructor(e){this.start=e.start,this.shift=e.shift||c0,this.reduce=e.reduce||c0,this.reuse=e.reuse||c0,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Tp extends hS{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let p=0;p<e.repeatNodeCount;p++)t.push("");let n=Object.keys(e.topRules).map(p=>e.topRules[p][1]),i=[];for(let p=0;p<t.length;p++)i.push([]);function s(p,f,m){i[p].push([f,f.deserialize(String(m))])}if(e.nodeProps)for(let p of e.nodeProps){let f=p[0];typeof f=="string"&&(f=Yi[f]);for(let m=1;m<p.length;){let O=p[m++];if(O>=0)s(O,f,p[m++]);else{let b=p[m+-O];for(let N=-O;N>0;N--)s(p[m++],f,b);m++}}}this.nodeSet=new yO(t.map((p,f)=>ha.define({name:f>=this.minRepeatTerm?void 0:p,id:f,props:i[f],top:n.indexOf(f)>-1,error:f==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(f)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=uS;let u=sf(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let p=0;p<this.specializerSpecs.length;p++)this.specialized[p]=this.specializerSpecs[p].term;this.specializers=this.specializerSpecs.map(Vx),this.states=sf(e.states,Uint32Array),this.data=sf(e.stateData),this.goto=sf(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(p=>typeof p=="number"?new Dh(u,p):p),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new oN(this,e,t,n);for(let s of this.wrappers)i=s(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return-1;for(let s=i[t+1];;){let u=i[s++],p=u&1,f=i[s++];if(p&&n)return f;for(let m=s+(u>>1);s<m;s++)if(i[s]==e)return f;if(p)return-1}}hasAction(e,t){let n=this.data;for(let i=0;i<2;i++)for(let s=this.stateSlot(e,i?2:1),u;;s+=3){if((u=n[s])==65535)if(n[s+1]==1)u=n[s=Rl(n,s+2)];else{if(n[s+1]==2)return Rl(n,s+2);break}if(u==t||u==0)return Rl(n,s+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Rl(this.data,n+2);else return!1;if(t==Rl(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Rl(this.data,n+2);else break;if(!(this.data[n+2]&1)){let i=this.data[n+1];t.some((s,u)=>u&1&&s==i)||t.push(this.data[n],i)}}return t}configure(e){let t=Object.assign(Object.create(Tp.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(n=>{let i=e.tokenizers.find(s=>s.from==n);return i?i.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let s=e.specializers.find(p=>p.from==n.external);if(!s)return n;let u=Object.assign(Object.assign({},n),{external:s.to});return t.specializers[i]=Vx(u),u})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let s of e.split(" ")){let u=t.indexOf(s);u>=0&&(n[u]=!0)}let i=null;for(let s=0;s<t.length;s++)if(!n[s])for(let u=this.dialects[t[s]],p;(p=this.data[u++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[p]=1;return new aN(e,n,i)}static deserialize(e){return new Tp(e)}}function Rl(r,e){return r[e]|r[e+1]<<16}function uN(r){let e=null;for(let t of r){let n=t.p.stoppedAt;(t.pos==t.p.stream.end||n!=null&&t.pos>n)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.score<t.score)&&(e=t)}return e}function Vx(r){if(r.external){let e=r.extend?1:0;return(t,n)=>r.external(t,n)<<1|e}return r.get}const Xx=301,Ux=1,lN=2,Wx=302,cN=304,pN=305,hN=3,fN=4,dN=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],N2=125,mN=59,qx=47,gN=42,yN=43,ON=45,DN=new XO({start:!1,shift(r,e){return e==hN||e==fN||e==cN?r:e==pN},strict:!1}),xN=new Eu((r,e)=>{let{next:t}=r;(t==N2||t==-1||e.context)&&e.canShift(Wx)&&r.acceptToken(Wx)},{contextual:!0,fallback:!0}),bN=new Eu((r,e)=>{let{next:t}=r,n;dN.indexOf(t)>-1||t==qx&&((n=r.peek(1))==qx||n==gN)||t!=N2&&t!=mN&&t!=-1&&!e.context&&e.canShift(Xx)&&r.acceptToken(Xx)},{contextual:!0}),vN=new Eu((r,e)=>{let{next:t}=r;if((t==yN||t==ON)&&(r.advance(),t==r.next)){r.advance();let n=!e.context&&e.canShift(Ux);r.acceptToken(n?Ux:lN)}},{contextual:!0}),CN=Gf({"get set async static":He.modifier,"for while do if else switch try catch finally return throw break continue default case":He.controlKeyword,"in of await yield void typeof delete instanceof":He.operatorKeyword,"let var const function class extends":He.definitionKeyword,"import export from":He.moduleKeyword,"with debugger as new":He.keyword,TemplateString:He.special(He.string),super:He.atom,BooleanLiteral:He.bool,this:He.self,null:He.null,Star:He.modifier,VariableName:He.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":He.function(He.variableName),VariableDefinition:He.definition(He.variableName),Label:He.labelName,PropertyName:He.propertyName,PrivatePropertyName:He.special(He.propertyName),"CallExpression/MemberExpression/PropertyName":He.function(He.propertyName),"FunctionDeclaration/VariableDefinition":He.function(He.definition(He.variableName)),"ClassDeclaration/VariableDefinition":He.definition(He.className),PropertyDefinition:He.definition(He.propertyName),PrivatePropertyDefinition:He.definition(He.special(He.propertyName)),UpdateOp:He.updateOperator,LineComment:He.lineComment,BlockComment:He.blockComment,Number:He.number,String:He.string,Escape:He.escape,ArithOp:He.arithmeticOperator,LogicOp:He.logicOperator,BitOp:He.bitwiseOperator,CompareOp:He.compareOperator,RegExp:He.regexp,Equals:He.definitionOperator,Arrow:He.function(He.punctuation),": Spread":He.punctuation,"( )":He.paren,"[ ]":He.squareBracket,"{ }":He.brace,"InterpolationStart InterpolationEnd":He.special(He.brace),".":He.derefOperator,", ;":He.separator,"@":He.meta,TypeName:He.typeName,TypeDefinition:He.definition(He.typeName),"type enum interface implements namespace module declare":He.definitionKeyword,"abstract global Privacy readonly override":He.modifier,"is keyof unique infer":He.operatorKeyword,JSXAttributeValue:He.attributeValue,JSXText:He.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":He.angleBracket,"JSXIdentifier JSXNameSpacedName":He.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":He.attributeName,"JSXBuiltin/JSXIdentifier":He.standard(He.tagName)}),SN={__proto__:null,export:14,as:19,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:70,void:74,typeof:78,super:96,new:130,delete:146,yield:155,await:159,class:164,public:219,private:219,protected:219,readonly:221,instanceof:240,satisfies:243,in:244,const:246,import:278,keyof:333,unique:337,infer:343,is:379,abstract:399,implements:401,type:403,let:406,var:408,interface:415,enum:419,namespace:425,module:427,declare:431,global:435,for:456,of:465,while:468,with:472,do:476,if:480,else:482,switch:486,case:492,try:498,catch:502,finally:506,return:510,throw:514,break:518,continue:522,debugger:526},EN={__proto__:null,async:117,get:119,set:121,public:181,private:181,protected:181,static:183,abstract:185,override:187,readonly:193,accessor:195,new:383},AN={__proto__:null,"<":137},wN=Tp.deserialize({version:14,states:"$BhO`QUOOO%QQUOOO'TQWOOP(_OSOOO*mQ(CjO'#CfO*tOpO'#CgO+SO!bO'#CgO+bO07`O'#DZO-sQUO'#DaO.TQUO'#DlO%QQUO'#DvO0[QUO'#EOOOQ(CY'#EW'#EWO0rQSO'#ETOOQO'#I_'#I_O0zQSO'#GjOOQO'#Eh'#EhO1VQSO'#EgO1[QSO'#EgO3^Q(CjO'#JbO5}Q(CjO'#JcO6kQSO'#FVO6pQ#tO'#FnOOQ(CY'#F_'#F_O6{O&jO'#F_O7ZQ,UO'#FuO8qQSO'#FtOOQ(CY'#Jc'#JcOOQ(CW'#Jb'#JbOOQQ'#J|'#J|O8vQSO'#IOO8{Q(C[O'#IPOOQQ'#JO'#JOOOQQ'#IT'#ITQ`QUOOO%QQUO'#DnO9TQUO'#DzO%QQUO'#D|O9[QSO'#GjO9aQ,UO'#ClO9oQSO'#EfO9zQSO'#EqO:PQ,UO'#F^O:nQSO'#GjO:sQSO'#GnO;OQSO'#GnO;^QSO'#GqO;^QSO'#GrO;^QSO'#GtO9[QSO'#GwO;}QSO'#GzO=`QSO'#CbO=pQSO'#HXO=xQSO'#H_O=xQSO'#HaO`QUO'#HcO=xQSO'#HeO=xQSO'#HhO=}QSO'#HnO>SQ(C]O'#HtO%QQUO'#HvO>_Q(C]O'#HxO>jQ(C]O'#HzO8{Q(C[O'#H|O>uQ(CjO'#CfO?wQWO'#DfQOQSOOO@_QSO'#EPO9aQ,UO'#EfO@jQSO'#EfO@uQ`O'#F^OOQQ'#Cd'#CdOOQ(CW'#Dk'#DkOOQ(CW'#Jf'#JfO%QQUO'#JfOBOQWO'#E_OOQ(CW'#E^'#E^OBYQ(C`O'#E_OBtQWO'#ESOOQO'#Ji'#JiOCYQWO'#ESOCgQWO'#E_OC}QWO'#EeODQQWO'#E_O@}QWO'#E_OBtQWO'#E_PDkO?MpO'#C`POOO)CDm)CDmOOOO'#IU'#IUODvOpO,59ROOQ(CY,59R,59ROOOO'#IV'#IVOEUO!bO,59RO%QQUO'#D]OOOO'#IX'#IXOEdO07`O,59uOOQ(CY,59u,59uOErQUO'#IYOFVQSO'#JdOHXQbO'#JdO+pQUO'#JdOH`QSO,59{OHvQSO'#EhOITQSO'#JqOI`QSO'#JpOI`QSO'#JpOIhQSO,5;UOImQSO'#JoOOQ(CY,5:W,5:WOItQUO,5:WOKuQ(CjO,5:bOLfQSO,5:jOLkQSO'#JmOMeQ(C[O'#JnO:sQSO'#JmOMlQSO'#JmOMtQSO,5;TOMyQSO'#JmOOQ(CY'#Cf'#CfO%QQUO'#EOONmQ`O,5:oOOQO'#Jj'#JjOOQO-E<]-E<]O9[QSO,5=UO! TQSO,5=UO! YQUO,5;RO!#]Q,UO'#EcO!$pQSO,5;RO!&YQ,UO'#DpO!&aQUO'#DuO!&kQWO,5;[O!&sQWO,5;[O%QQUO,5;[OOQQ'#E}'#E}OOQQ'#FP'#FPO%QQUO,5;]O%QQUO,5;]O%QQUO,5;]O%QQUO,5;]O%QQUO,5;]O%QQUO,5;]O%QQUO,5;]O%QQUO,5;]O%QQUO,5;]O%QQUO,5;]O%QQUO,5;]OOQQ'#FT'#FTO!'RQUO,5;nOOQ(CY,5;s,5;sOOQ(CY,5;t,5;tO!)UQSO,5;tOOQ(CY,5;u,5;uO%QQUO'#IeO!)^Q(C[O,5<bO!#]Q,UO,5;]O!){Q,UO,5;]O%QQUO,5;qO!*SQ#tO'#FdO!+PQ#tO'#JuO!*kQ#tO'#JuO!+WQ#tO'#JuOOQO'#Ju'#JuO!+lQ#tO,5;|OOOO,5<Y,5<YO!+}QUO'#FpOOOO'#Id'#IdO6{O&jO,5;yO!,UQ#tO'#FrOOQ(CY,5;y,5;yO!,uQ7[O'#CrOOQ(CY'#Cv'#CvO!-YQSO'#CvO!-_O07`O'#CzO!-{Q,UO,5<_O!.SQSO,5<aO!/iQMhO'#GPO!/vQSO'#GQO!/{QSO'#GQO!0QQMhO'#GUO!1PQWO'#GYO!1rQ7[O'#J]OOQ(CY'#J]'#J]O!1|QSO'#J[O!2[QSO'#JZO!2dQSO'#CqOOQ(CY'#Ct'#CtOOQ(CY'#DO'#DOOOQ(CY'#DQ'#DQO0uQSO'#DSO!$uQ,UO'#FwO!$uQ,UO'#FyO!2lQSO'#F{O!2qQSO'#F|O!/{QSO'#GSO!$uQ,UO'#GXO!2vQSO'#EiO!3bQSO,5<`O`QUO,5>jOOQQ'#JW'#JWOOQQ,5>k,5>kOOQQ-E<R-E<RO!5aQ(CjO,5:YO!7}Q(CjO,5:fO%QQUO,5:fO!:hQ(CjO,5:hOOQ(CW'#Co'#CoO!;XQ,UO,5=UO!;gQ(C[O'#JXO8qQSO'#JXO=}QSO,59WO!;xQWO,59WO!<QQ,UO,59WO9aQ,UO,59WO!<]QSO,5;RO!<eQSO'#HWO!<vQSO'#KQO%QQUO,5;vO!=OQWO,5;xO!=TQSO,5=qO!=YQSO,5=qO!=_QSO,5=qO8{Q(C[O,5=qO!=mQSO'#EjO!>gQWO'#EkOOQ(CW'#Jo'#JoO!>nQ(C[O'#J}O8{Q(C[O,5=YO;^QSO,5=`OOQO'#Cr'#CrO!>yQWO,5=]O!?RQ,UO,5=^O!?^QSO,5=`O!?cQ`O,5=cO=}QSO'#G|O9[QSO'#HOO!?kQSO'#HOO9aQ,UO'#HRO!?pQSO'#HROOQQ,5=f,5=fO!?uQSO'#HSO!?}QSO'#ClO!@SQSO,58|O!@^QSO,58|O!BfQUO,58|OOQQ,58|,58|O!BsQ(C[O,58|O%QQUO,58|O!COQUO'#HZOOQQ'#H['#H[OOQQ'#H]'#H]O`QUO,5=sO!C`QSO,5=sO`QUO,5=yO`QUO,5={O!CeQSO,5=}O`QUO,5>PO!CjQSO,5>SO!CoQUO,5>YOOQQ,5>`,5>`O%QQUO,5>`O8{Q(C[O,5>bOOQQ,5>d,5>dO!GvQSO,5>dOOQQ,5>f,5>fO!GvQSO,5>fOOQQ,5>h,5>hO!G{QWO'#DXO%QQUO'#JfO!HjQWO'#JfO!IXQWO'#DgO!IjQWO'#DgO!K{QUO'#DgO!LSQSO'#JeO!L[QSO,5:QO!LaQSO'#ElO!LoQSO'#JrO!LwQSO,5;VO!L|QWO'#DgO!MZQWO'#EROOQ(CY,5:k,5:kO%QQUO,5:kO!MbQSO,5:kO=}QSO,5;QO!;xQWO,5;QO!<QQ,UO,5;QO9aQ,UO,5;QO!MjQSO,5@QO!MoQ!LQO,5:oO!NrQ(C`O,5:yOBtQWO,5:nO# ^QWO,5:nO# kQWO,5:yO#!RQWO,5:yO#!lQWO,5:yOBtQWO,5:yO=}QSO,5:nOOQ(CW'#Eb'#EbOOQO,5:y,5:yO%QQUO,5:yO##]Q(C[O,5:yO##hQ(C[O,5:yO!;xQWO,5:nOOQO,5;P,5;PO##vQ(C[O,5:yPOOO'#IS'#ISP#$[O?MpO,58zPOOO,58z,58zOOOO-E<S-E<SOOQ(CY1G.m1G.mOOOO-E<T-E<TO#$gQ`O,59wOOOO-E<V-E<VOOQ(CY1G/a1G/aO#$lQbO,5>tO+pQUO,5>tOOQO,5>z,5>zO#$vQUO'#IYOOQO-E<W-E<WO#%TQSO,5@OO#%]QbO,5@OO#%dQSO,5@[OOQ(CY1G/g1G/gO%QQUO,5@]O#%lQSO'#I`OOQO-E<^-E<^O#%dQSO,5@[OOQ(CW1G0p1G0pOOQ(CY1G/r1G/rOOQ(CY1G0U1G0UO#&QQSO,5@XO:sQSO,5@XO#&YQSO,5@XO%QQUO,5@YO#&hQ(C[O,5@YO#&yQ(C[O,5@YO#'QQSO'#IbO#&QQSO,5@XOOQ(CW1G0o1G0oO!&kQWO,5:qO!&vQWO,5:qOOQO,5:s,5:sO#'oQSO,5:sO#'wQ,UO1G2pO9[QSO1G2pOOQ(CY1G0m1G0mO#(VQ(CjO1G0mO#)[Q(ChO,5:}OOQ(CY'#GO'#GOO#)xQ(CjO'#J]O! YQUO1G0mO#,QQ,UO'#JgO#,[QSO,5:[O#,aQbO'#JhO%QQUO'#JhO#,kQSO,5:aOOQ(CY'#DX'#DXOOQ(CY1G0v1G0vO%QQUO1G0vOOQ(CY1G1`1G1`O#,pQSO1G0vO#/XQ(CjO1G0wO#/`Q(CjO1G0wO#1yQ(CjO1G0wO#2QQ(CjO1G0wO#4[Q(CjO1G0wO#4rQ(CjO1G0wO#7lQ(CjO1G0wO#7sQ(CjO1G0wO#:^Q(CjO1G0wO#:eQ(CjO1G0wO#<]Q(CjO1G0wO#?]Q$IUO'#CfO#AZQ$IUO1G1YO#CXQ$IUO'#JcO!)XQSO1G1`O#ClQ(CjO,5?POOQ(CW-E<c-E<cO#D`Q(CjO1G0wOOQ(CY1G0w1G0wO#FkQ(CjO1G1]O#G_Q#tO,5<QO#GgQ#tO,5<RO#GoQ#tO'#FiO#HWQSO'#FhOOQO'#Jv'#JvOOQO'#Ic'#IcO#H]Q#tO1G1hOOQ(CY1G1h1G1hOOOO1G1s1G1sO#HnQ$IUO'#JbO#HxQSO,5<[O!'RQUO,5<[OOOO-E<b-E<bOOQ(CY1G1e1G1eO#H}QWO'#JuOOQ(CY,5<^,5<^O#IVQWO,5<^OOQ(CY,59b,59bO!#]Q,UO'#C|OOOO'#IW'#IWO#I[O07`O,59fOOQ(CY,59f,59fO%QQUO1G1yO!2qQSO'#IgO#IgQSO,5<rOOQ(CY,5<o,5<oOOQO'#Ge'#GeO!$uQ,UO,5=OOOQO'#Gg'#GgO!$uQ,UO,5=QO!#]Q,UO,5=SOOQO1G1{1G1{O#IuQ`O'#CoO#JYQ`O,5<kO#JaQSO'#JyO9[QSO'#JyO#JoQSO,5<mO!$uQ,UO,5<lO#JtQSO'#GRO#KPQSO,5<lO#KUQ`O'#GOO#KcQ`O'#JzO#KmQSO'#JzO!#]Q,UO'#JzO#KrQSO,5<pO#KwQWO'#GZO!0zQWO'#GZO#LYQSO'#G]O#L_QSO'#G_O!/{QSO'#GbO#LdQ(C[O'#IiO#LoQWO,5<tOOQ(CY,5<t,5<tO#LvQWO'#GZO#MUQWO'#G[O#M^QWO'#G[OOQ(CY,5=T,5=TO!$uQ,UO,5?vO!$uQ,UO,5?vO#McQSO'#IjO#MnQSO,5?uO#MvQSO,59]O#NgQ,UO,59nOOQ(CY,59n,59nO$ YQ,UO,5<cO$ {Q,UO,5<eO?oQSO,5<gOOQ(CY,5<h,5<hO$!VQSO,5<nO$![Q,UO,5<sO! YQUO1G1zO$!lQSO1G1zOOQQ1G4U1G4UOOQ(CY1G/t1G/tO!)UQSO1G/tO$$kQ(CjO1G0QOOQQ1G2p1G2pO!#]Q,UO1G2pO%QQUO1G2pO$%[QSO1G2pO$%gQ,UO'#EcOOQ(CW,5?s,5?sO$%qQ(C[O,5?sOOQQ1G.r1G.rO=}QSO1G.rO!;xQWO1G.rO!<QQ,UO1G.rO$&SQSO1G0mO$&XQSO'#CfO$&dQSO'#KRO$&lQSO,5=rO$&qQSO'#KRO$&vQSO'#KRO$'RQSO'#IrO$'aQSO,5@lO$'iQbO1G1bOOQ(CY1G1d1G1dO9[QSO1G3]O?oQSO1G3]O$'pQSO1G3]O$'uQSO1G3]OOQQ1G3]1G3]O:sQSO'#JpO:sQSO'#ElO%QQUO'#ElO:sQSO'#IlO$'zQ(C[O,5@iOOQQ1G2t1G2tO!?^QSO1G2zO!#]Q,UO1G2wO$(VQSO1G2wOOQQ1G2x1G2xO!#]Q,UO1G2xO$([QSO1G2xO$(dQWO'#GvOOQQ1G2z1G2zO!0zQWO'#InO!?cQ`O1G2}OOQQ1G2}1G2}OOQQ,5=h,5=hO$(lQ,UO,5=jO9[QSO,5=jO#L_QSO,5=mO8qQSO,5=mO!;xQWO,5=mO!<QQ,UO,5=mO9aQ,UO,5=mO$(zQSO'#KPO$)VQSO,5=nOOQQ1G.h1G.hO$)[Q(C[O1G.hO?oQSO1G.hO$)gQSO1G.hO8{Q(C[O1G.hO$)rQbO,5@nO$*VQSO,5@nO$*bQUO,5=uO$*iQSO,5=uO:sQSO,5@nOOQQ1G3_1G3_O`QUO1G3_OOQQ1G3e1G3eOOQQ1G3g1G3gO=xQSO1G3iO$*nQUO1G3kO$.oQUO'#HjOOQQ1G3n1G3nO$.|QSO'#HpO=}QSO'#HrOOQQ1G3t1G3tO$/UQUO1G3tO8{Q(C[O1G3zOOQQ1G3|1G3|OOQ(CW'#GV'#GVO8{Q(C[O1G4OO8{Q(C[O1G4QO$3YQSO,5@QO!'RQUO,5;WO:sQSO,5;WO=}QSO,5:RO!'RQUO,5:RO!;xQWO,5:RO$3_Q$IUO,5:ROOQO,5;W,5;WO$3iQWO'#IZO$4PQSO,5@POOQ(CY1G/l1G/lO$4XQWO'#IaO$4cQSO,5@^OOQ(CW1G0q1G0qO!IjQWO,5:ROOQO'#I^'#I^O$4kQWO,5:mOOQ(CY,5:m,5:mO!MeQSO1G0VOOQ(CY1G0V1G0VO%QQUO1G0VOOQ(CY1G0l1G0lO=}QSO1G0lO!;xQWO1G0lO!<QQ,UO1G0lOOQ(CW1G5l1G5lO=}QSO1G0YOOQO1G0e1G0eO%QQUO1G0eO$4rQ(C[O1G0eO$4}Q(C[O1G0eO!;xQWO1G0YOBtQWO1G0YO$5]Q(C`O1G0eO$5wQWO1G0YOBtQWO1G0eO$6UQWO1G0eO$6lQWO1G0eO$7VQ(C[O1G0eOOQO1G0Y1G0YO$7kQ(CjO1G0ePOOO-E<Q-E<QPOOO1G.f1G.fOOOO1G/c1G/cO$7uQ`O,5<bO$7}QbO1G4`OOQO1G4f1G4fO%QQUO,5>tO$8XQSO1G5jO$8aQSO1G5vO$8iQbO1G5wO:sQSO,5>zO$8sQSO1G5sO$8sQSO1G5sO:sQSO1G5sO$8{Q(CjO1G5tO%QQUO1G5tO$9]Q(C[O1G5tO$9nQSO,5>|O:sQSO,5>|OOQO,5>|,5>|O$:SQSO,5>|OOQO-E<`-E<`OOQO1G0]1G0]OOQO1G0_1G0_O!)XQSO1G0_OOQQ7+([7+([O!#]Q,UO7+([O%QQUO7+([O$:bQSO7+([O$:mQ,UO7+([O$:{Q(CjO,59nO$=TQ(CjO,5<cO$?`Q(CjO,5<eO$AkQ(CjO,5<sOOQ(CY7+&X7+&XO$C|Q(CjO7+&XO$DpQ,UO'#I[O$DzQSO,5@ROOQ(CY1G/v1G/vO$ESQUO'#I]O$EaQSO,5@SO$EiQbO,5@SOOQ(CY1G/{1G/{O$EsQSO7+&bOOQ(CY7+&b7+&bO$ExQ$IUO,5:bO%QQUO7+&tO$FSQ$IUO,5:YO$FaQ$IUO,5:fO$FkQ$IUO,5:hOOQ(CY7+&z7+&zOOQO1G1l1G1lOOQO1G1m1G1mO$FuQ#tO,5<TO!'RQUO,5<SOOQO-E<a-E<aOOQ(CY7+'S7+'SOOOO7+'_7+'_OOOO1G1v1G1vO$GQQSO1G1vOOQ(CY1G1x1G1xO$GVQ`O,59hOOOO-E<U-E<UOOQ(CY1G/Q1G/QO$G^Q(CjO7+'eOOQ(CY,5?R,5?RO$HQQSO,5?ROOQ(CY1G2^1G2^P$HVQSO'#IgPOQ(CY-E<e-E<eO$HyQ,UO1G2jO$IlQ,UO1G2lO$IvQ`O1G2nOOQ(CY1G2V1G2VO$I}QSO'#IfO$J]QSO,5@eO$J]QSO,5@eO$JeQSO,5@eO$JpQSO,5@eOOQO1G2X1G2XO$KOQ,UO1G2WO!$uQ,UO1G2WO$K`QMhO'#IhO$KpQSO,5@fO!#]Q,UO,5@fO$KxQ`O,5@fOOQ(CY1G2[1G2[OOQ(CW,5<u,5<uOOQ(CW,5<v,5<vO$LSQSO,5<vOBoQSO,5<vO!;xQWO,5<uOOQO'#G^'#G^O$LXQSO,5<wOOQ(CW,5<y,5<yO$LSQSO,5<|OOQO,5?T,5?TOOQO-E<g-E<gOOQ(CY1G2`1G2`O!0zQWO,5<uO$LaQSO,5<vO#LYQSO,5<wO!0zQWO,5<vO$LlQ,UO1G5bO$LvQ,UO1G5bOOQO,5?U,5?UOOQO-E<h-E<hOOQO1G.w1G.wO!=OQWO,59pO%QQUO,59pO$MTQSO1G2RO!$uQ,UO1G2YO$MYQ(CjO7+'fOOQ(CY7+'f7+'fO! YQUO7+'fOOQ(CY7+%`7+%`O$M|Q`O'#J{O!MeQSO7+([O$NWQbO7+([O$:eQSO7+([O$N_Q(ChO'#CfO$NrQ(ChO,5<zO% dQSO,5<zOOQ(CW1G5_1G5_OOQQ7+$^7+$^O=}QSO7+$^O!;xQWO7+$^O! YQUO7+&XO% iQSO'#IqO% }QSO,5@mOOQO1G3^1G3^O9[QSO,5@mO% }QSO,5@mO%!VQSO,5@mOOQO,5?^,5?^OOQO-E<p-E<pOOQ(CY7+&|7+&|O%![QSO7+(wO8{Q(C[O7+(wO9[QSO7+(wO?oQSO7+(wO%!aQSO,5;WOOQ(CW,5?W,5?WOOQ(CW-E<j-E<jOOQQ7+(f7+(fO%!fQ(ChO7+(cO!#]Q,UO7+(cO%!pQ`O7+(dOOQQ7+(d7+(dO!#]Q,UO7+(dO%!wQSO'#KOO%#SQSO,5=bOOQO,5?Y,5?YOOQO-E<l-E<lOOQQ7+(i7+(iO%$`QWO'#HPOOQQ1G3U1G3UO!#]Q,UO1G3UO%QQUO1G3UO%$gQSO1G3UO%$rQ,UO1G3UO8{Q(C[O1G3XO#L_QSO1G3XO8qQSO1G3XO!;xQWO1G3XO!<QQ,UO1G3XO%%QQSO'#IpO%%]QSO,5@kO%%eQWO,5@kOOQ(CW1G3Y1G3YOOQQ7+$S7+$SO?oQSO7+$SO8{Q(C[O7+$SO%%pQSO7+$SO%QQUO1G6YO%QQUO1G6ZO%%uQUO1G3aO%%|QSO1G3aO%&RQUO1G3aO%&YQ(C[O1G6YOOQQ7+(y7+(yO8{Q(C[O7+)TO`QUO7+)VOOQQ'#KU'#KUOOQQ'#Is'#IsO%&dQUO,5>UOOQQ,5>U,5>UO%QQUO'#HkO%&qQSO'#HmOOQQ,5>[,5>[O:sQSO,5>[OOQQ,5>^,5>^OOQQ7+)`7+)`OOQQ7+)f7+)fOOQQ7+)j7+)jOOQQ7+)l7+)lO%&vQWO1G5lO%'[Q$IUO1G0rO%'fQSO1G0rOOQO1G/m1G/mO%'qQ$IUO1G/mO=}QSO1G/mO!'RQUO'#DgOOQO,5>u,5>uOOQO-E<X-E<XOOQO,5>{,5>{OOQO-E<_-E<_O!;xQWO1G/mOOQO-E<[-E<[OOQ(CY1G0X1G0XOOQ(CY7+%q7+%qO!MeQSO7+%qOOQ(CY7+&W7+&WO=}QSO7+&WO!;xQWO7+&WOOQO7+%t7+%tO$7kQ(CjO7+&POOQO7+&P7+&PO%QQUO7+&PO%'{Q(C[O7+&PO=}QSO7+%tO!;xQWO7+%tO%(WQ(C[O7+&POBtQWO7+%tO%(fQ(C[O7+&PO%(zQ(C`O7+&PO%)UQWO7+%tOBtQWO7+&PO%)cQWO7+&PO%)yQSO7++_O%)yQSO7++_O%*RQ(CjO7++`O%QQUO7++`OOQO1G4h1G4hO:sQSO1G4hO%*cQSO1G4hOOQO7+%y7+%yO!MeQSO<<KvO$NWQbO<<KvO%*qQSO<<KvOOQQ<<Kv<<KvO!#]Q,UO<<KvO%QQUO<<KvO%*yQSO<<KvO%+UQ(CjO1G2jO%-aQ(CjO1G2lO%/lQ(CjO1G2WO%1}Q,UO,5>vOOQO-E<Y-E<YO%2XQbO,5>wO%QQUO,5>wOOQO-E<Z-E<ZO%2cQSO1G5nOOQ(CY<<I|<<I|O%2kQ$IUO1G0mO%4uQ$IUO1G0wO%4|Q$IUO1G0wO%7QQ$IUO1G0wO%7XQ$IUO1G0wO%8|Q$IUO1G0wO%9dQ$IUO1G0wO%;wQ$IUO1G0wO%<OQ$IUO1G0wO%>SQ$IUO1G0wO%>ZQ$IUO1G0wO%@RQ$IUO1G0wO%@fQ(CjO<<J`O%AkQ$IUO1G0wO%CaQ$IUO'#J]O%EdQ$IUO1G1]O%EqQ$IUO1G0QO!'RQUO'#FkOOQO'#Jw'#JwOOQO1G1o1G1oO%E{QSO1G1nO%FQQ$IUO,5?POOOO7+'b7+'bOOOO1G/S1G/SOOQ(CY1G4m1G4mO!$uQ,UO7+(YO%F[QSO,5?QO9[QSO,5?QOOQO-E<d-E<dO%FjQSO1G6PO%FjQSO1G6PO%FrQSO1G6PO%F}Q,UO7+'rO%G_Q`O,5?SO%GiQSO,5?SO!#]Q,UO,5?SOOQO-E<f-E<fO%GnQ`O1G6QO%GxQSO1G6QOOQ(CW1G2b1G2bO$LSQSO1G2bOOQ(CW1G2a1G2aO%HQQSO1G2cO!#]Q,UO1G2cOOQ(CW1G2h1G2hO!;xQWO1G2aOBoQSO1G2bO%HVQSO1G2cO%H_QSO1G2bO!$uQ,UO7+*|OOQ(CY1G/[1G/[O%HjQSO1G/[OOQ(CY7+'m7+'mO%HoQ,UO7+'tO%IPQ(CjO<<KQOOQ(CY<<KQ<<KQO!#]Q,UO'#IkO%IsQSO,5@gO!#]Q,UO1G2fOOQQ<<Gx<<GxO=}QSO<<GxO%I{Q(CjO<<IsOOQ(CY<<Is<<IsOOQO,5?],5?]O%JoQSO,5?]O$&vQSO,5?]OOQO-E<o-E<oO%JtQSO1G6XO%JtQSO1G6XO9[QSO1G6XO?oQSO<<LcOOQQ<<Lc<<LcO%J|QSO<<LcO8{Q(C[O<<LcO%KRQSO1G0rOOQQ<<K}<<K}O%!fQ(ChO<<K}OOQQ<<LO<<LOO%!pQ`O<<LOO%KWQWO'#ImO%KcQSO,5@jO!'RQUO,5@jOOQQ1G2|1G2|O%KkQ(C`O'#JfO%LVQUO'#JfO%L^QWO'#E_O%LwQ(C[O'#E_OBYQ(C`O'#E_O(VQWO'#HQOOQO'#Io'#IoO8{Q(C[O'#IoO%M]QWO,5=kOOQQ,5=k,5=kO%MuQWO'#E_O%LmQWO'#E_O%M|QWO'#E_O%NgQWO'#E_O& WQWO'#HQO& iQSO7+(pO& nQSO7+(pOOQQ7+(p7+(pO!#]Q,UO7+(pO%QQUO7+(pO& vQSO7+(pOOQQ7+(s7+(sO8{Q(C[O7+(sO#L_QSO7+(sO8qQSO7+(sO!;xQWO7+(sO&!RQSO,5?[OOQO-E<n-E<nOOQO'#HT'#HTO&!^QSO1G6VO8{Q(C[O<<GnOOQQ<<Gn<<GnO?oQSO<<GnO&!fQSO7++tO&!kQSO7++uOOQQ7+({7+({O&!pQSO7+({O&!uQUO7+({O&!|QSO7+({O%QQUO7++tO%QQUO7++uOOQQ<<Lo<<LoOOQQ<<Lq<<LqOOQQ-E<q-E<qOOQQ1G3p1G3pO&#RQSO,5>VOOQQ,5>X,5>XO&#WQSO1G3vO:sQSO7+&^O!'RQUO7+&^OOQO7+%X7+%XO&#]Q$IUO1G5wO=}QSO7+%XOOQ(CY<<I]<<I]OOQ(CY<<Ir<<IrO=}QSO<<IrOOQO<<Ik<<IkO$7kQ(CjO<<IkO%QQUO<<IkOOQO<<I`<<I`O=}QSO<<I`O&#gQ(C[O<<IkO!;xQWO<<I`O&#rQ(C[O<<IkOBtQWO<<I`O&$QQ(C[O<<IkO&$fQ(C`O<<IkO&$pQWO<<I`OBtQWO<<IkO&$}QSO<<NyO&%VQ(CjO<<NzOOQO7+*S7+*SO:sQSO7+*SOOQQANAbANAbO&%gQSOANAbO!#]Q,UOANAbO!MeQSOANAbO$NWQbOANAbO%QQUOANAbO&%oQ(CjO7+'rO&(QQ(CjO7+'tO&*cQbO1G4cO&*mQ$IUO7+&XO&*zQ$IUO,59nO&,}Q$IUO,5<cO&/QQ$IUO,5<eO&1TQ$IUO,5<sO&2yQ$IUO7+'eO&3WQ$IUO7+'fO&3eQSO,5<VOOQO7+'Y7+'YO&3jQ,UO<<KtOOQO1G4l1G4lO&3qQSO1G4lO&3|QSO1G4lO&4[QSO7++kO&4[QSO7++kO!#]Q,UO1G4nO&4dQ`O1G4nO&4nQSO7++lOOQ(CW7+'|7+'|O$LSQSO7+'}O&4vQ`O7+'}OOQ(CW7+'{7+'{O$LSQSO7+'|O&4}QSO7+'}O!#]Q,UO7+'}OBoQSO7+'|O&5SQ,UO<<NhOOQ(CY7+$v7+$vO&5^Q`O,5?VOOQO-E<i-E<iO&5hQ(ChO7+(QOOQQAN=dAN=dO9[QSO1G4wOOQO1G4w1G4wO&5xQSO1G4wO&5}QSO7++sO&5}QSO7++sO8{Q(C[OANA}O?oQSOANA}OOQQANA}ANA}OOQQANAiANAiOOQQANAjANAjO&6VQSO,5?XOOQO-E<k-E<kO&6bQ$IUO1G6UO#L_QSO,5=lO8qQSO,5=lO&8rQbO'#CfO&8|QWO,5:yO&9WQWO,5:yO&9eQWO,5:yO!;xQWO,5=lOOQO,5?Z,5?ZOOQO-E<m-E<mOOQQ1G3V1G3VO%LVQUO,5<wO%KkQ(C`O,5=lO!NrQ(C`O,5:yO(VQWO,5=lO&9xQWO,5=lO&:ZQWO,5:yOOQQ<<L[<<L[O!#]Q,UO<<L[O& iQSO<<L[O&:tQSO<<L[O%QQUO<<L[OOQQ<<L_<<L_O8{Q(C[O<<L_O#L_QSO<<L_O8qQSO<<L_O&:|QWO1G4vO&;XQSO7++qOOQQAN=YAN=YO8{Q(C[OAN=YOOQQ<= `<= `OOQQ<= a<= aOOQQ<<Lg<<LgO&;aQSO<<LgO&;fQUO<<LgO&;mQSO<= `O&;rQSO<= aOOQQ1G3q1G3qO=}QSO7+)bO&;wQSO<<IxO&<SQ$IUO<<IxOOQO<<Hs<<HsOOQ(CYAN?^AN?^OOQOAN?VAN?VO$7kQ(CjOAN?VOOQOAN>zAN>zO%QQUOAN?VO=}QSOAN>zO&<^Q(C[OAN?VO!;xQWOAN>zO&<iQ(C[OAN?VOBtQWOAN>zO&<wQ(C[OAN?VOOQO<<Mn<<MnOOQQG26|G26|O!#]Q,UOG26|O!MeQSOG26|O&=]QSOG26|O$NWQbOG26|O&=eQ$IUO<<J`O&=rQ$IUO1G2WO&?hQ$IUO1G2jO&AkQ$IUO1G2lO&CnQ$IUO<<KQO&C{Q$IUO<<IsOOQO1G1q1G1qO!$uQ,UOANA`OOQO7+*W7+*WO&DYQSO7+*WO&DeQSO<= VO&DmQ`O7+*YOOQ(CW<<Ki<<KiO$LSQSO<<KiOOQ(CW<<Kh<<KhO&DwQ`O<<KiO$LSQSO<<KhOOQO7+*c7+*cO9[QSO7+*cO&EOQSO<= _OOQQG27iG27iO8{Q(C[OG27iO!'RQUO1G4sO&EWQSO7++pO8{Q(C[O1G3WO#L_QSO1G3WO&E`QWO1G0eO&EjQWO1G0eO8qQSO1G3WO!;xQWO1G3WO(VQWO1G3WO%KkQ(C`O1G3WO$5]Q(C`O1G0eO&EwQWO1G3WO& iQSOANAvOOQQANAvANAvO!#]Q,UOANAvO&FYQSOANAvOOQQANAyANAyO8{Q(C[OANAyO#L_QSOANAyOOQO'#HU'#HUOOQO7+*b7+*bOOQQG22tG22tOOQQANBRANBRO&FbQSOANBROOQQANDzANDzOOQQAND{AND{OOQQ<<L|<<L|O!'RQUOAN?dOOQOG24qG24qO$7kQ(CjOG24qOOQOG24fG24fO%QQUOG24qO=}QSOG24fO&FgQ(C[OG24qO!;xQWOG24fO&FrQ(C[OG24qO!MeQSOLD,hOOQQLD,hLD,hO!#]Q,UOLD,hO&GQQSOLD,hO&GYQ$IUO7+'rO&IOQ$IUO7+'tO&JtQ,UOG26zOOQO<<Mr<<MrOOQ(CWANATANATO$LSQSOANATOOQ(CWANASANASOOQO<<M}<<M}OOQQLD-TLD-TO&KUQ$IUO7+*_OOQO7+(r7+(rO8{Q(C[O7+(rO&K`QWO7+&PO#L_QSO7+(rO8qQSO7+(rO!;xQWO7+(rO(VQWO7+(rOOQQG27bG27bO& iQSOG27bO!#]Q,UOG27bOOQQG27eG27eO8{Q(C[OG27eOOQQG27mG27mO&KjQ$IUOG25OOOQOLD*]LD*]O$7kQ(CjOLD*]OOQOLD*QLD*QO%QQUOLD*]O=}QSOLD*QO&KtQ(C[OLD*]OOQQ!$(!S!$(!SO!MeQSO!$(!SO!#]Q,UO!$(!SO&LPQ(CjOG26zOOQ(CWG26oG26oOOQO<<L^<<L^O8{Q(C[O<<L^O#L_QSO<<L^O8qQSO<<L^O!;xQWO<<L^OOQQLD,|LD,|O& iQSOLD,|OOQQLD-PLD-POOQO!$'Mw!$'MwO$7kQ(CjO!$'MwOOQO!$'Ml!$'MlO%QQUO!$'MwOOQQ!)9En!)9EnO!MeQSO!)9EnOOQOANAxANAxO8{Q(C[OANAxO#L_QSOANAxO8qQSOANAxOOQQ!$(!h!$(!hOOQO!)9Cc!)9CcO$7kQ(CjO!)9CcOOQQ!.K;Y!.K;YO&NbQ$IUOG26zOOQOG27dG27dO8{Q(C[OG27dO#L_QSOG27dOOQO!.K8}!.K8}OOQOLD-OLD-OO8{Q(C[OLD-OOOQO!$(!j!$(!jO!'RQUO'#DvO0rQSO'#ETO'!WQbO'#JbO!'RQUO'#DnO'!_QUO'#DzO!'RQUO'#D|O'!fQbO'#CfO'$|QbO'#CfO'%^QUO,5;RO!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO,5;]O!'RQUO'#IeO''aQSO,5<bO''iQ,UO,5;]O'(|Q,UO,5;]O!'RQUO,5;qO0uQSO'#DSO0uQSO'#DSO!#]Q,UO'#FwO''iQ,UO'#FwO!#]Q,UO'#FyO''iQ,UO'#FyO!#]Q,UO'#GXO''iQ,UO'#GXO!'RQUO,5:fO!'RQUO,5@]O'%^QUO1G0mO')TQ$IUO'#CfO!'RQUO1G1yO!#]Q,UO,5=OO''iQ,UO,5=OO!#]Q,UO,5=QO''iQ,UO,5=QO!#]Q,UO,5<lO''iQ,UO,5<lO'%^QUO1G1zO!'RQUO7+&tO!#]Q,UO1G2WO''iQ,UO1G2WO!#]Q,UO1G2YO''iQ,UO1G2YO'%^QUO7+'fO'%^QUO7+&XO!#]Q,UOANA`O''iQ,UOANA`O')_QSO'#EgO')dQSO'#EgO')lQSO'#FVO')qQSO'#EqO')vQSO'#JqO'*RQSO'#JoO'*^QSO,5;RO'*cQ,UO,5<_O'*jQSO'#GQO'*oQSO'#GQO'*tQSO,5<`O'*|QSO,5;RO'+UQ$IUO1G1YO'+]QSO,5<lO'+bQSO,5<lO'+gQSO,5<nO'+lQSO,5<nO'+qQSO1G1zO'+vQSO1G0mO'+{Q,UO<<KtO',SQ,UO<<KtO7ZQ,UO'#FuO8qQSO'#FtO@jQSO'#EfO!'RQUO,5;nO!/{QSO'#GQO!/{QSO'#GQO!/{QSO'#GSO!/{QSO'#GSO!$uQ,UO7+(YO!$uQ,UO7+(YO$IvQ`O1G2nO$IvQ`O1G2nO!#]Q,UO,5=SO!#]Q,UO,5=S",stateData:"'-[~O'lOS'mOSROS'nRQ~OPYOQYOV!TO^pOaxObwOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!XXO!csO!hZO!kYO!lYO!mYO!otO!quO!tvO!x]O#o}O$PzO$TfO%_{O%a!OO%c|O%d|O%g!PO%i!QO%l!RO%m!RO%o!SO%|!UO&S!VO&U!WO&W!XO&Y!YO&]!ZO&c![O&i!]O&k!^O&m!_O&o!`O&q!aO'sSO'uTO'xUO(QVO(_[O(liO~OPYOQYOa!gOb!fOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!cO!csO!hZO!kYO!lYO!mYO!otO!quO!t!eO$P!hO$TfO's!bO'uTO'xUO(QVO(_[O(liO~O^!qOl!kO|!lO![!rO!]!pO!^!pO!x;oO!|!vO!}!tO#O!uO#P!sO#S!wO#T!wO't!iO'uTO'xUO(T!jO(_!nO~O'n!xO~OPYXXYX^YXkYXyYXzYX|YX!VYX!eYX!fYX!hYX!lYX#WYX#ccX#fYX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#pYX#rYX#tYX#uYX#zYX'jYX(QYX(`YX(gYX(hYX~O!a$yX~P(dO[!zO'u!|O'v!zO'w!|O~O[!}O'w!|O'x!|O'y!}O~Oq#PO!O#QO(R#QO(S#SO~OPYOQYOa!gOb!fOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!cO!csO!hZO!kYO!lYO!mYO!otO!quO!t!eO$P!hO$TfO's;tO'uTO'xUO(QVO(_[O(liO~O!U#WO!V#TO!S(WP!S(dP~P+pO!W#`O~P`OPYOQYOa!gOb!fOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!cO!csO!hZO!kYO!lYO!mYO!otO!quO!t!eO$P!hO$TfO'uTO'xUO(QVO(_[O(liO~O!U#fO!x]O#a#iO#b#fO's;uO!g(aP~P.[O!h#kO's#jO~O!t#oO!x]O%_#pO~O#c#qO~O!a#rO#c#qO~OP$YOX$aOk#}Oy#vOz#wO|#xO!V$^O!e$PO!f#tO!h#uO!l$YO#f#{O#g#|O#h#|O#i#|O#j$OO#k$PO#l$PO#m$`O#n$PO#p$QO#r$SO#t$UO#u$VO(QVO(`$WO(g#yO(h#zO~O^(UX'j(UX'h(UX!g(UX!S(UX!X(UX%`(UX!a(UX~P1dO#W$bO#z$bOP(VXX(VXk(VXy(VXz(VX|(VX!V(VX!e(VX!h(VX!l(VX#f(VX#g(VX#h(VX#i(VX#j(VX#k(VX#l(VX#m(VX#n(VX#p(VX#r(VX#t(VX#u(VX(Q(VX(`(VX(g(VX(h(VX!X(VX%`(VX~O^(VX!f(VX'j(VX'h(VX!S(VX!g(VXo(VX!a(VX~P3zO#W$bO~O$V$dO$X$cO$`$iO~O!X$jO$TfO$c$kO$e$mO~Oi%POk$qOl$pOm$pOs%QOu%ROw%SO|$xO!X$yO!c%XO!h$uO#b%YO$P%VO$l%TO$n%UO$q%WO's$oO'uTO'xUO'|%OO(Q$rOd'}P~O!h%ZO~O!a%]O~O^%^O'j%^O~O't!iO~P%QO's%eO~O!h%ZO's%eO't!iO'|%OO~Ob%lO!h%ZO's%eO~O#n$PO~Oy%qO!X%nO!h%pO%a%tO's%eO't!iO'uTO'xUO](tP~O!t#oO~O|%vO!X%wO's%eO~O|%vO!X%wO%i%{O's%eO~O's%|O~O#o}O%a!OO%c|O%d|O%g!PO%i!QO%l!RO%m!RO~Oa&VOb&UO!t&SO%_&TO%q&RO~P;cOa&YObwO!X&XO!tvO!x]O#o}O%_{O%c|O%d|O%g!PO%i!QO%l!RO%m!RO%o!SO~O_&]O#W&`O%a&ZO't!iO~P<bO!h&aO!q&eO~O!h#kO~O!XXO~O^%^O'i&mO'j%^O~O^%^O'i&pO'j%^O~O^%^O'i&rO'j%^O~O'hYX!SYXoYX!gYX&QYX!XYX%`YX!aYX~P(dO!['PO!]&xO!^&xO't!iO'uTO'xUO~Ol&vO|&uO!U&yO(T&tO!W(XP!W(fP~P?cOg'SO!X'QO's%eO~Ob'XO!h%ZO's%eO~Oy%qO!h%pO~Ol!kO|!lO!['^O!]']O!^']O!}'`O#O'`O#P'_O#S'bO#T'bO't!iO'uTO'xUO(T!jO(_!nO~O!x;oO!|'aO~P@}O^%^O!a#rO!h%ZO!l'hO#W'fO'j%^O'|%OO(`'dO~Ol!kO|!lO'uTO'xUO(T!jO(_!nO~O!]']O!^']O't!iO~PBtO!['^O!]']O!^']O#S'bO#T'bO't!iO~PBtO!XXO!['^O!]']O!^']O#P'_O#S'bO#T'bO't!iO~PBtO'o'lO'p'lO'q'nO~O[!zO'u'pO'v!zO'w'pO~O[!}O'w'pO'x'pO'y!}O~Oq#PO!O#QO(R#QO(S'tO~O!U'vO!S&|X!S'SX!V&|X!V'SX~P+pO!V'xO!S(WX~OP$YOX$aOk#}Oy#vOz#wO|#xO!V'xO!e$PO!f#tO!h#uO!l$YO#f#{O#g#|O#h#|O#i#|O#j$OO#k$PO#l$PO#m$`O#n$PO#p$QO#r$SO#t$UO#u$VO(QVO(`$WO(g#yO(h#zO~O!S(WX~PF_O!S'}O~O!S(cX!V(cX!a(cX!g(cX(`(cX~O#W(cX#c#[X!W(cX~PHeO#W(OO!S(eX!V(eX~O!V(PO!S(dX~O!S(SO~O#W$bO~PHeO!W(TO~P`Oy#vOz#wO|#xO!f#tO!h#uO(QVOP!jaX!jak!ja!V!ja!e!ja!l!ja#f!ja#g!ja#h!ja#i!ja#j!ja#k!ja#l!ja#m!ja#n!ja#p!ja#r!ja#t!ja#u!ja(`!ja(g!ja(h!ja~O^!ja'j!ja'h!ja!S!ja!g!jao!ja!X!ja%`!ja!a!ja~PI{O!g(UO~O|%vO!X%wO!x]O#a(XO#b(WO's%eO~O!a#rO#W(YO(`'dO!V(bX^(bX'j(bX~O!g(bX~PMPO!V(]O!g(aX~O!g(_O~O|%vO!X%wO#b(WO's%eO~Oy(`Oz(aO!f#tO!h#uO!x!wa|!wa~O!t!wa%_!wa!X!wa#a!wa#b!wa's!wa~PNXO!t(eO~OPYOQYOa!gOb!fOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!XXO!csO!hZO!kYO!lYO!mYO!otO!quO!t!eO$P!hO$TfO's!bO'uTO'xUO(QVO(_[O(liO~Oi%POk$qOl$pOm$pOs%QOu%ROw<XO|$xO!X$yO!c=cO!h$uO#b<_O$P%VO$l<ZO$n<]O$q%WO's(iO'uTO'xUO'|%OO(Q$rO~O#c(kO~Oi%POk$qOl$pOm$pOs%QOu%ROw%SO|$xO!X$yO!c%XO!h$uO#b%YO$P%VO$l%TO$n%UO$q%WO's(iO'uTO'xUO'|%OO(Q$rO~Od(ZP~P!$uO!U(oO!g([P~P%QO(T(qO(_[O~O|(sO!h#uO(T(qO(_[O~OP;nOQ;nOa=_Ob!fOikOk;nOlkOmkOskOu;nOw;nO|WO!QkO!RkO!X!cO!c;qO!hZO!k;nO!l;nO!m;nO!o;rO!q;sO!t!eO$P!hO$TfO's)RO'uTO'xUO(QVO(_[O(l=]O~Oz)UO!h#uO~O!V$^O^$ja'j$ja'h$ja!g$ja!S$ja!X$ja%`$ja!a$ja~O#o)YO~P!#]Oy)]O!a)[O!X$WX$S$WX$V$WX$X$WX$`$WX~O!a)[O!X(iX$S(iX$V(iX$X(iX$`(iX~Oy)]O~P!*kOy)]O!X(iX$S(iX$V(iX$X(iX$`(iX~O!X)_O$S)cO$V)^O$X)^O$`)dO~O!U)gO~P!'RO$V$dO$X$cO$`)kO~Og$rXy$rX|$rX!f$rX(g$rX(h$rX~OdfXd$rXgfX!VfX#WfX~P!,aOl)mO~Oq)nO(R)oO(S)qO~Og)zOy)sO|)tO(g)vO(h)xO~Od)rO~P!-jOd){O~Oi%POk$qOl$pOm$pOs%QOu%ROw<XO|$xO!X$yO!c=cO!h$uO#b<_O$P%VO$l<ZO$n<]O$q%WO'uTO'xUO'|%OO(Q$rO~O!U*PO's)|O!g(mP~P!.XO#c*RO~O!h*SO~O!U*XO's*UO!S(nP~P!.XOk*eO|*]O![*cO!]*[O!^*[O!h*SO#S*dO%V*_O't!iO(T!jO~O!W*bO~P!0_O!f#tOg(PXy(PX|(PX(g(PX(h(PX!V(PX#W(PX~Od(PX#x(PX~P!1WOg*hO#W*gOd(OX!V(OX~O!V*iOd'}X~O's%|Od'}P~O!h*pO~O's(iO~O|%vO!U#fO!X%wO!x]O#a#iO#b#fO's%eO!g(aP~O!a#rO#c*tO~OP$YOX$aOk#}Oy#vOz#wO|#xO!e$PO!f#tO!h#uO!l$YO#f#{O#g#|O#h#|O#i#|O#j$OO#k$PO#l$PO#m$`O#n$PO#p$QO#r$SO#t$UO#u$VO(QVO(`$WO(g#yO(h#zO~O^!ba!V!ba'j!ba'h!ba!S!ba!g!bao!ba!X!ba%`!ba!a!ba~P!3jOy#vOz#wO|#xO!f#tO!h#uO(QVOP!naX!nak!na!V!na!e!na!l!na#f!na#g!na#h!na#i!na#j!na#k!na#l!na#m!na#n!na#p!na#r!na#t!na#u!na(`!na(g!na(h!na~O^!na'j!na'h!na!S!na!g!nao!na!X!na%`!na!a!na~P!6TOy#vOz#wO|#xO!f#tO!h#uO(QVOP!paX!pak!pa!V!pa!e!pa!l!pa#f!pa#g!pa#h!pa#i!pa#j!pa#k!pa#l!pa#m!pa#n!pa#p!pa#r!pa#t!pa#u!pa(`!pa(g!pa(h!pa~O^!pa'j!pa'h!pa!S!pa!g!pao!pa!X!pa%`!pa!a!pa~P!8nOg*|O!X'QO%`*{O'|%OO~O!a+OO!X'{X^'{X!V'{X'j'{X~O!h%ZO'|%OO~O!h%ZO's%eO'|%OO~O!a#rO#c(kO~O%a+[O's+WO'uTO'xUO!W(uP~O!V+]O](tX~O(T(qO~OX+aO~O]+bO~O!X%nO's%eO't!iO](tP~O|%vO!U+fO!V(PO!X%wO's%eO!S(dP~Ol&|O|+hO!U+gO'uTO'xUO(T(qO~O!W(fP~P!>RO!V+iO^(qX'j(qX~O#W+mO'|%OO~Og+pO!X$yO'|%OO~O!X+rO~Oy+tO!XXO~O!t+yO~Ob,OO~O's#jO!W(sP~Ob%lO~O%a!OO's%|O~P<bOX,UO],TO~OPYOQYOaxObwOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!csO!hZO!kYO!lYO!mYO!otO!quO!tvO!x]O$TfO%_{O'uTO'xUO(QVO(_[O(liO~O!X!cO$P!hO's!bO~P!@fO],TO^%^O'j%^O~O^,YO#o,[O%c,[O%d,[O~P%QO!h&aO~O&S,aO~O!X,cO~O&e,eO&g,fOP&baQ&baV&ba^&baa&bab&bai&bak&bal&bam&bas&bau&baw&ba|&ba!Q&ba!R&ba!X&ba!c&ba!h&ba!k&ba!l&ba!m&ba!o&ba!q&ba!t&ba!x&ba#o&ba$P&ba$T&ba%_&ba%a&ba%c&ba%d&ba%g&ba%i&ba%l&ba%m&ba%o&ba%|&ba&S&ba&U&ba&W&ba&Y&ba&]&ba&c&ba&i&ba&k&ba&m&ba&o&ba&q&ba'h&ba's&ba'u&ba'x&ba(Q&ba(_&ba(l&ba!W&ba&Z&ba_&ba&`&ba~O's,kO~O!V{X!V!_X!W{X!W!_X!a{X!a!_X!h!_X#W{X'|!_X~O!a,pO#W,oO!V#`X!V(YX!W#`X!W(YX!a(YX!h(YX'|(YX~O!a,rO!h%ZO'|%OO!V!ZX!W!ZX~Ol!kO|!lO'uTO'xUO(T!jO~OP;nOQ;nOa=_Ob!fOikOk;nOlkOmkOskOu;nOw;nO|WO!QkO!RkO!X!cO!c;qO!hZO!k;nO!l;nO!m;nO!o;rO!q;sO!t!eO$P!hO$TfO'uTO'xUO(QVO(_[O(l=]O~O's<dO~P!I{O!V,vO!W(XX~O!W,xO~O!a,pO#W,oO!V#`X!W#`X~O!V,yO!W(fX~O!W,{O~O!],|O!^,|O't!iO~P!IjO!W-PO~P'TOg-SO!X'QO~O!S-XO~Ol!wa![!wa!]!wa!^!wa!|!wa!}!wa#O!wa#P!wa#S!wa#T!wa't!wa'u!wa'x!wa(T!wa(_!wa~PNXO^%^O!a#rO!h%ZO!l-^O#W-[O'j%^O'|%OO(`'dO~O!]-`O!^-`O't!iO~PBtO![-bO!]-`O!^-`O#S-cO#T-cO't!iO~PBtO![-bO!]-`O!^-`O#P-dO#S-cO#T-cO't!iO~PBtO![-bO!]-`O!^-`O!}-eO#O-eO#P-dO#S-cO#T-cO't!iO~PBtO^%^O#W-[O'j%^O~O^%^O!a#rO#W-[O'j%^O~O^%^O!a#rO!l-^O#W-[O'j%^O(`'dO~O'o'lO'p'lO'q-jO~Oo-kO~O!S&|a!V&|a~P!3jO!U-oO!S&|X!V&|X~P%QO!V'xO!S(Wa~O!S(Wa~PF_O!V(PO!S(da~O|%vO!U-sO!X%wO's%eO!S'SX!V'SX~O!V(]O!g(aa~O|%vO!X%wO#b-vO's%eO~O#W-xO!V(ba!g(ba^(ba'j(ba~O!a#rO~P#&hO|%vO!U-{O!X%wO!x]O#a-}O#b-{O's%eO!V'UX!g'UX~Oz.RO!h#uO~Og.UO!X'QO%`.TO'|%OO~O^#Zi!V#Zi'j#Zi'h#Zi!S#Zi!g#Zio#Zi!X#Zi%`#Zi!a#Zi~P!3jOg=iOy)sO|)tO(g)vO(h)xO~O#c#Va^#Va#W#Va'j#Va!V#Va!g#Va!X#Va!S#Va~P#(yO#c(PXP(PXX(PX^(PXk(PXz(PX!e(PX!h(PX!l(PX#f(PX#g(PX#h(PX#i(PX#j(PX#k(PX#l(PX#m(PX#n(PX#p(PX#r(PX#t(PX#u(PX'j(PX(Q(PX(`(PX!g(PX!S(PX'h(PXo(PX!X(PX%`(PX!a(PX~P!1WO!V._Od(ZX~P!-jOd.aO~O!V.bO!g([X~P!3jO!g.eO~O!S.gO~OP$YOy#vOz#wO|#xO!f#tO!h#uO!l$YO(QVOX#ei^#eik#ei!V#ei!e#ei#g#ei#h#ei#i#ei#j#ei#k#ei#l#ei#m#ei#n#ei#p#ei#r#ei#t#ei#u#ei'j#ei(`#ei(g#ei(h#ei'h#ei!S#ei!g#eio#ei!X#ei%`#ei!a#ei~O#f#ei~P#,uO#f#{O~P#,uOP$YOy#vOz#wO|#xO!f#tO!h#uO!l$YO#f#{O#g#|O#h#|O#i#|O(QVOX#ei^#ei!V#ei!e#ei#j#ei#k#ei#l#ei#m#ei#n#ei#p#ei#r#ei#t#ei#u#ei'j#ei(`#ei(g#ei(h#ei'h#ei!S#ei!g#eio#ei!X#ei%`#ei!a#ei~Ok#ei~P#/gOk#}O~P#/gOP$YOk#}Oy#vOz#wO|#xO!f#tO!h#uO!l$YO#f#{O#g#|O#h#|O#i#|O#j$OO(QVO^#ei!V#ei#p#ei#r#ei#t#ei#u#ei'j#ei(`#ei(g#ei(h#ei'h#ei!S#ei!g#eio#ei!X#ei%`#ei!a#ei~OX#ei!e#ei#k#ei#l#ei#m#ei#n#ei~P#2XOX$aO!e$PO#k$PO#l$PO#m$`O#n$PO~P#2XOP$YOX$aOk#}Oy#vOz#wO|#xO!e$PO!f#tO!h#uO!l$YO#f#{O#g#|O#h#|O#i#|O#j$OO#k$PO#l$PO#m$`O#n$PO#p$QO(QVO^#ei!V#ei#r#ei#t#ei#u#ei'j#ei(`#ei(h#ei'h#ei!S#ei!g#eio#ei!X#ei%`#ei!a#ei~O(g#ei~P#5YO(g#yO~P#5YOP$YOX$aOk#}Oy#vOz#wO|#xO!e$PO!f#tO!h#uO!l$YO#f#{O#g#|O#h#|O#i#|O#j$OO#k$PO#l$PO#m$`O#n$PO#p$QO#r$SO(QVO(g#yO^#ei!V#ei#t#ei#u#ei'j#ei(`#ei'h#ei!S#ei!g#eio#ei!X#ei%`#ei!a#ei~O(h#ei~P#7zO(h#zO~P#7zOP$YOX$aOk#}Oy#vOz#wO|#xO!e$PO!f#tO!h#uO!l$YO#f#{O#g#|O#h#|O#i#|O#j$OO#k$PO#l$PO#m$`O#n$PO#p$QO#r$SO#t$UO(QVO(g#yO(h#zO~O^#ei!V#ei#u#ei'j#ei(`#ei'h#ei!S#ei!g#eio#ei!X#ei%`#ei!a#ei~P#:lOPYXXYXkYXyYXzYX|YX!eYX!fYX!hYX!lYX#WYX#ccX#fYX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#pYX#rYX#tYX#uYX#zYX(QYX(`YX(gYX(hYX!VYX!WYX~O#xYX~P#=VOP$YOX<VOk;yOy#vOz#wO|#xO!e;{O!f#tO!h#uO!l$YO#f;wO#g;xO#h;xO#i;xO#j;zO#k;{O#l;{O#m<UO#n;{O#p;|O#r<OO#t<QO#u<RO(QVO(`$WO(g#yO(h#zO~O#x.iO~P#?dOP(VXX(VXk(VXy(VXz(VX|(VX!e(VX!f(VX!h(VX!l(VX#f(VX#g(VX#h(VX#i(VX#j(VX#k(VX#l(VX#m(VX#p(VX#r(VX#t(VX#u(VX(Q(VX(`(VX(g(VX(h(VX!V(VX~O#W<WO#z<WO#n(VX#x(VX!W(VX~P#AbO^'Xa!V'Xa'j'Xa'h'Xa!g'Xa!S'Xao'Xa!X'Xa%`'Xa!a'Xa~P!3jOP#eiX#ei^#eik#eiz#ei!V#ei!e#ei!f#ei!h#ei!l#ei#f#ei#g#ei#h#ei#i#ei#j#ei#k#ei#l#ei#m#ei#n#ei#p#ei#r#ei#t#ei#u#ei'j#ei(Q#ei(`#ei'h#ei!S#ei!g#eio#ei!X#ei%`#ei!a#ei~P#(yO^#yi!V#yi'j#yi'h#yi!S#yi!g#yio#yi!X#yi%`#yi!a#yi~P!3jO$V.nO$X.nO~O$V.oO$X.oO~O!a)[O#W.pO!X$]X$S$]X$V$]X$X$]X$`$]X~O!U.qO~O!X)_O$S.sO$V)^O$X)^O$`.tO~O!V<SO!W(UX~P#?dO!W.uO~O!a)[O$`(iX~O$`.wO~Oq)nO(R)oO(S.zO~Ol.}O!S/OO'uTO'xUO~O!VcX!acX!gcX!g$rX(`cX~P!,aO!g/UO~P#(yO!V/VO!a#rO(`'dO!g(mX~O!g/[O~O!U*PO's%eO!g(mP~O#c/^O~O!S$rX!V$rX!a$yX~P!,aO!V/_O!S(nX~P#(yO!a/aO~O!S/cO~Ok/gO!a#rO!h%ZO'|%OO(`'dO~O's/iO~O!a+OO~O^%^O!V/mO'j%^O~O!W/oO~P!0_O!]/pO!^/pO't!iO(T!jO~O|/rO(T!jO~O#S/sO~O's%|Od'^X!V'^X~O!V*iOd'}a~Od/xO~Oy/yOz/yO|/zOgva(gva(hva!Vva#Wva~Odva#xva~P#M{Oy)sO|)tOg$ka(g$ka(h$ka!V$ka#W$ka~Od$ka#x$ka~P#NqOy)sO|)tOg$ma(g$ma(h$ma!V$ma#W$ma~Od$ma#x$ma~P$ dO#c/|O~Od${a!V${a#W${a#x${a~P!-jO#c0PO~Oy#vOz#wO|#xO!f#tO!h#uO(QVOP!niX!nik!ni!V!ni!e!ni!l!ni#f!ni#g!ni#h!ni#i!ni#j!ni#k!ni#l!ni#m!ni#n!ni#p!ni#r!ni#t!ni#u!ni(`!ni(g!ni(h!ni~O^!ni'j!ni'h!ni!S!ni!g!nio!ni!X!ni%`!ni!a!ni~P$!qOg.UO!X'QO%`.TO~Oi0WO's0VO~P!.[O!a+OO!X'{a^'{a!V'{a'j'{a~O#c0^O~OXYX!VcX!WcX~O!V0_O!W(uX~O!W0aO~OX0bO~O's+WO'uTO'xUO~O!X%nO's%eO]'fX!V'fX~O!V+]O](ta~O!g0gO~P!3jOX0jO~O]0kO~O!V+iO^(qa'j(qa~O#W0qO~Og0tO!X$yO~O(T(qO!W(rP~Og0}O!X0zO%`0|O'|%OO~OX1XO!V1VO!W(sX~O!W1YO~O]1[O^%^O'j%^O~O's#jO'uTO'xUO~O#W$bO#n1_O#z$bO&Q1`O^(VX~P#AbO#W$bO#n1_O&Q1`O~O^1aO~P%QO^1cO~O&Z1gOP&XiQ&XiV&Xi^&Xia&Xib&Xii&Xik&Xil&Xim&Xis&Xiu&Xiw&Xi|&Xi!Q&Xi!R&Xi!X&Xi!c&Xi!h&Xi!k&Xi!l&Xi!m&Xi!o&Xi!q&Xi!t&Xi!x&Xi#o&Xi$P&Xi$T&Xi%_&Xi%a&Xi%c&Xi%d&Xi%g&Xi%i&Xi%l&Xi%m&Xi%o&Xi%|&Xi&S&Xi&U&Xi&W&Xi&Y&Xi&]&Xi&c&Xi&i&Xi&k&Xi&m&Xi&o&Xi&q&Xi'h&Xi's&Xi'u&Xi'x&Xi(Q&Xi(_&Xi(l&Xi!W&Xi_&Xi&`&Xi~O_1mO!W1kO&`1lO~P`O!XXO!h1oO~O&g,fOP&biQ&biV&bi^&bia&bib&bii&bik&bil&bim&bis&biu&biw&bi|&bi!Q&bi!R&bi!X&bi!c&bi!h&bi!k&bi!l&bi!m&bi!o&bi!q&bi!t&bi!x&bi#o&bi$P&bi$T&bi%_&bi%a&bi%c&bi%d&bi%g&bi%i&bi%l&bi%m&bi%o&bi%|&bi&S&bi&U&bi&W&bi&Y&bi&]&bi&c&bi&i&bi&k&bi&m&bi&o&bi&q&bi'h&bi's&bi'u&bi'x&bi(Q&bi(_&bi(l&bi!W&bi&Z&bi_&bi&`&bi~O!S1uO~O!V!Za!W!Za~P#?dOl!kO|!lO!U1{O(T!jO!V&}X!W&}X~P?cO!V,vO!W(Xa~O!V'TX!W'TX~P!>RO!V,yO!W(fa~O!W2SO~P'TO^%^O#W2]O'j%^O~O^%^O!a#rO#W2]O'j%^O~O^%^O!a#rO!h%ZO!l2aO#W2]O'j%^O'|%OO(`'dO~O!]2bO!^2bO't!iO~PBtO![2eO!]2bO!^2bO#S2fO#T2fO't!iO~PBtO![2eO!]2bO!^2bO#P2gO#S2fO#T2fO't!iO~PBtO^%^O!a#rO!l2aO#W2]O'j%^O(`'dO~O^%^O'j%^O~P!3jO!V$^Oo$ja~O!S&|i!V&|i~P!3jO!V'xO!S(Wi~O!V(PO!S(di~O!S(ei!V(ei~P!3jO!V(]O!g(ai~O!V(bi!g(bi^(bi'j(bi~P!3jO#W2kO!V(bi!g(bi^(bi'j(bi~O|%vO!X%wO!x]O#a2nO#b2mO's%eO~O|%vO!X%wO#b2mO's%eO~Og2uO!X'QO%`2tO~Og2uO!X'QO%`2tO'|%OO~O#cvaPvaXva^vakva!eva!fva!hva!lva#fva#gva#hva#iva#jva#kva#lva#mva#nva#pva#rva#tva#uva'jva(Qva(`va!gva!Sva'hvaova!Xva%`va!ava~P#M{O#c$kaP$kaX$ka^$kak$kaz$ka!e$ka!f$ka!h$ka!l$ka#f$ka#g$ka#h$ka#i$ka#j$ka#k$ka#l$ka#m$ka#n$ka#p$ka#r$ka#t$ka#u$ka'j$ka(Q$ka(`$ka!g$ka!S$ka'h$kao$ka!X$ka%`$ka!a$ka~P#NqO#c$maP$maX$ma^$mak$maz$ma!e$ma!f$ma!h$ma!l$ma#f$ma#g$ma#h$ma#i$ma#j$ma#k$ma#l$ma#m$ma#n$ma#p$ma#r$ma#t$ma#u$ma'j$ma(Q$ma(`$ma!g$ma!S$ma'h$mao$ma!X$ma%`$ma!a$ma~P$ dO#c${aP${aX${a^${ak${az${a!V${a!e${a!f${a!h${a!l${a#f${a#g${a#h${a#i${a#j${a#k${a#l${a#m${a#n${a#p${a#r${a#t${a#u${a'j${a(Q${a(`${a!g${a!S${a'h${a#W${ao${a!X${a%`${a!a${a~P#(yO^#Zq!V#Zq'j#Zq'h#Zq!S#Zq!g#Zqo#Zq!X#Zq%`#Zq!a#Zq~P!3jOd'OX!V'OX~P!$uO!V._Od(Za~O!U2}O!V'PX!g'PX~P%QO!V.bO!g([a~O!V.bO!g([a~P!3jO!S3QO~O#x!ja!W!ja~PI{O#x!ba!V!ba!W!ba~P#?dO#x!na!W!na~P!6TO#x!pa!W!pa~P!8nO!X3dO$TfO$^3eO~O!W3iO~Oo3jO~P#(yO^$gq!V$gq'j$gq'h$gq!S$gq!g$gqo$gq!X$gq%`$gq!a$gq~P!3jO!S3kO~Ol.}O'uTO'xUO~Oy)sO|)tO(h)xOg%Wi(g%Wi!V%Wi#W%Wi~Od%Wi#x%Wi~P$HbOy)sO|)tOg%Yi(g%Yi(h%Yi!V%Yi#W%Yi~Od%Yi#x%Yi~P$ITO(`$WO~P#(yO!U3nO's%eO!V'YX!g'YX~O!V/VO!g(ma~O!V/VO!a#rO!g(ma~O!V/VO!a#rO(`'dO!g(ma~Od$ti!V$ti#W$ti#x$ti~P!-jO!U3vO's*UO!S'[X!V'[X~P!.XO!V/_O!S(na~O!V/_O!S(na~P#(yO!a#rO~O!a#rO#n4OO~Ok4RO!a#rO(`'dO~Od(Oi!V(Oi~P!-jO#W4UOd(Oi!V(Oi~P!-jO!g4XO~O^$hq!V$hq'j$hq'h$hq!S$hq!g$hqo$hq!X$hq%`$hq!a$hq~P!3jO!V4]O!X(oX~P#(yO!f#tO~P3zO!X$rX%TYX^$rX!V$rX'j$rX~P!,aO%T4_OghXyhX|hX!XhX(ghX(hhX^hX!VhX'jhX~O%T4_O~O%a4fO's+WO'uTO'xUO!V'eX!W'eX~O!V0_O!W(ua~OX4jO~O]4kO~O!S4oO~O^%^O'j%^O~P#(yO!X$yO~P#(yO!V4tO#W4vO!W(rX~O!W4wO~Ol!kO|4yO![5WO!]4}O!^4}O!x;oO!|5VO!}5UO#O5UO#P5TO#S5SO#T!wO't!iO'uTO'xUO(T!jO(_!nO~O!W5RO~P%#XOg5]O!X0zO%`5[O~Og5]O!X0zO%`5[O'|%OO~O's#jO!V'dX!W'dX~O!V1VO!W(sa~O'uTO'xUO(T5fO~O]5jO~O!g5mO~P%QO^5oO~O^5oO~P%QO#n5qO&Q5rO~PMPO_1mO!W5vO&`1lO~P`O!a5xO~O!a5zO!V(Yi!W(Yi!a(Yi!h(Yi'|(Yi~O!V#`i!W#`i~P#?dO#W5{O!V#`i!W#`i~O!V!Zi!W!Zi~P#?dO^%^O#W6UO'j%^O~O^%^O!a#rO#W6UO'j%^O~O^%^O!a#rO!l6ZO#W6UO'j%^O(`'dO~O!h%ZO'|%OO~P%(fO!]6[O!^6[O't!iO~PBtO![6_O!]6[O!^6[O#S6`O#T6`O't!iO~PBtO!V(]O!g(aq~O!V(bq!g(bq^(bq'j(bq~P!3jO|%vO!X%wO#b6dO's%eO~O!X'QO%`6gO~Og6jO!X'QO%`6gO~O#c%WiP%WiX%Wi^%Wik%Wiz%Wi!e%Wi!f%Wi!h%Wi!l%Wi#f%Wi#g%Wi#h%Wi#i%Wi#j%Wi#k%Wi#l%Wi#m%Wi#n%Wi#p%Wi#r%Wi#t%Wi#u%Wi'j%Wi(Q%Wi(`%Wi!g%Wi!S%Wi'h%Wio%Wi!X%Wi%`%Wi!a%Wi~P$HbO#c%YiP%YiX%Yi^%Yik%Yiz%Yi!e%Yi!f%Yi!h%Yi!l%Yi#f%Yi#g%Yi#h%Yi#i%Yi#j%Yi#k%Yi#l%Yi#m%Yi#n%Yi#p%Yi#r%Yi#t%Yi#u%Yi'j%Yi(Q%Yi(`%Yi!g%Yi!S%Yi'h%Yio%Yi!X%Yi%`%Yi!a%Yi~P$ITO#c$tiP$tiX$ti^$tik$tiz$ti!V$ti!e$ti!f$ti!h$ti!l$ti#f$ti#g$ti#h$ti#i$ti#j$ti#k$ti#l$ti#m$ti#n$ti#p$ti#r$ti#t$ti#u$ti'j$ti(Q$ti(`$ti!g$ti!S$ti'h$ti#W$tio$ti!X$ti%`$ti!a$ti~P#(yOd'Oa!V'Oa~P!-jO!V'Pa!g'Pa~P!3jO!V.bO!g([i~O#x#Zi!V#Zi!W#Zi~P#?dOP$YOy#vOz#wO|#xO!f#tO!h#uO!l$YO(QVOX#eik#ei!e#ei#g#ei#h#ei#i#ei#j#ei#k#ei#l#ei#m#ei#n#ei#p#ei#r#ei#t#ei#u#ei#x#ei(`#ei(g#ei(h#ei!V#ei!W#ei~O#f#ei~P%2xO#f;wO~P%2xOP$YOy#vOz#wO|#xO!f#tO!h#uO!l$YO#f;wO#g;xO#h;xO#i;xO(QVOX#ei!e#ei#j#ei#k#ei#l#ei#m#ei#n#ei#p#ei#r#ei#t#ei#u#ei#x#ei(`#ei(g#ei(h#ei!V#ei!W#ei~Ok#ei~P%5TOk;yO~P%5TOP$YOk;yOy#vOz#wO|#xO!f#tO!h#uO!l$YO#f;wO#g;xO#h;xO#i;xO#j;zO(QVO#p#ei#r#ei#t#ei#u#ei#x#ei(`#ei(g#ei(h#ei!V#ei!W#ei~OX#ei!e#ei#k#ei#l#ei#m#ei#n#ei~P%7`OX<VO!e;{O#k;{O#l;{O#m<UO#n;{O~P%7`OP$YOX<VOk;yOy#vOz#wO|#xO!e;{O!f#tO!h#uO!l$YO#f;wO#g;xO#h;xO#i;xO#j;zO#k;{O#l;{O#m<UO#n;{O#p;|O(QVO#r#ei#t#ei#u#ei#x#ei(`#ei(h#ei!V#ei!W#ei~O(g#ei~P%9zO(g#yO~P%9zOP$YOX<VOk;yOy#vOz#wO|#xO!e;{O!f#tO!h#uO!l$YO#f;wO#g;xO#h;xO#i;xO#j;zO#k;{O#l;{O#m<UO#n;{O#p;|O#r<OO(QVO(g#yO#t#ei#u#ei#x#ei(`#ei!V#ei!W#ei~O(h#ei~P%<VO(h#zO~P%<VOP$YOX<VOk;yOy#vOz#wO|#xO!e;{O!f#tO!h#uO!l$YO#f;wO#g;xO#h;xO#i;xO#j;zO#k;{O#l;{O#m<UO#n;{O#p;|O#r<OO#t<QO(QVO(g#yO(h#zO~O#u#ei#x#ei(`#ei!V#ei!W#ei~P%>bO^#vy!V#vy'j#vy'h#vy!S#vy!g#vyo#vy!X#vy%`#vy!a#vy~P!3jOg=jOy)sO|)tO(g)vO(h)xO~OP#eiX#eik#eiz#ei!e#ei!f#ei!h#ei!l#ei#f#ei#g#ei#h#ei#i#ei#j#ei#k#ei#l#ei#m#ei#n#ei#p#ei#r#ei#t#ei#u#ei#x#ei(Q#ei(`#ei!V#ei!W#ei~P%AYO!f#tOP(PXX(PXg(PXk(PXy(PXz(PX|(PX!e(PX!h(PX!l(PX#f(PX#g(PX#h(PX#i(PX#j(PX#k(PX#l(PX#m(PX#n(PX#p(PX#r(PX#t(PX#u(PX#x(PX(Q(PX(`(PX(g(PX(h(PX!V(PX!W(PX~O#x#yi!V#yi!W#yi~P#?dO#x!ni!W!ni~P$!qO!W6vO~O!V'Xa!W'Xa~P#?dO!a#rO(`'dO!V'Ya!g'Ya~O!V/VO!g(mi~O!V/VO!a#rO!g(mi~Od$tq!V$tq#W$tq#x$tq~P!-jO!S'[a!V'[a~P#(yO!a6}O~O!V/_O!S(ni~P#(yO!V/_O!S(ni~O!S7RO~O!a#rO#n7WO~Ok7XO!a#rO(`'dO~O!S7ZO~Od$vq!V$vq#W$vq#x$vq~P!-jO^$hy!V$hy'j$hy'h$hy!S$hy!g$hyo$hy!X$hy%`$hy!a$hy~P!3jO!V4]O!X(oa~O^#Zy!V#Zy'j#Zy'h#Zy!S#Zy!g#Zyo#Zy!X#Zy%`#Zy!a#Zy~P!3jOX7`O~O!V0_O!W(ui~O]7fO~O!a5zO~O(T(qO!V'aX!W'aX~O!V4tO!W(ra~O!h%ZO'|%OO^(YX!a(YX!l(YX#W(YX'j(YX(`(YX~O's7oO~P.[O!x;oO!|7rO!}7qO#O7qO#P7pO#S'bO#T'bO~PBtO^%^O!a#rO!l'hO#W'fO'j%^O(`'dO~O!W7vO~P%#XOl!kO'uTO'xUO(T!jO(_!nO~O|7wO~P%MdO![7{O!]7zO!^7zO#P7pO#S'bO#T'bO't!iO~PBtO![7{O!]7zO!^7zO!}7|O#O7|O#P7pO#S'bO#T'bO't!iO~PBtO!]7zO!^7zO't!iO(T!jO(_!nO~O!X0zO~O!X0zO%`8OO~Og8RO!X0zO%`8OO~OX8WO!V'da!W'da~O!V1VO!W(si~O!g8[O~O!g8]O~O!g8^O~O!g8^O~P%QO^8`O~O!a8cO~O!g8dO~O!V(ei!W(ei~P#?dO^%^O#W8lO'j%^O~O^%^O!a#rO#W8lO'j%^O~O^%^O!a#rO!l8pO#W8lO'j%^O(`'dO~O!h%ZO'|%OO~P&$QO!]8qO!^8qO't!iO~PBtO!V(]O!g(ay~O!V(by!g(by^(by'j(by~P!3jO!X'QO%`8uO~O#c$tqP$tqX$tq^$tqk$tqz$tq!V$tq!e$tq!f$tq!h$tq!l$tq#f$tq#g$tq#h$tq#i$tq#j$tq#k$tq#l$tq#m$tq#n$tq#p$tq#r$tq#t$tq#u$tq'j$tq(Q$tq(`$tq!g$tq!S$tq'h$tq#W$tqo$tq!X$tq%`$tq!a$tq~P#(yO#c$vqP$vqX$vq^$vqk$vqz$vq!V$vq!e$vq!f$vq!h$vq!l$vq#f$vq#g$vq#h$vq#i$vq#j$vq#k$vq#l$vq#m$vq#n$vq#p$vq#r$vq#t$vq#u$vq'j$vq(Q$vq(`$vq!g$vq!S$vq'h$vq#W$vqo$vq!X$vq%`$vq!a$vq~P#(yO!V'Pi!g'Pi~P!3jO#x#Zq!V#Zq!W#Zq~P#?dOy/yOz/yO|/zOPvaXvagvakva!eva!fva!hva!lva#fva#gva#hva#iva#jva#kva#lva#mva#nva#pva#rva#tva#uva#xva(Qva(`va(gva(hva!Vva!Wva~Oy)sO|)tOP$kaX$kag$kak$kaz$ka!e$ka!f$ka!h$ka!l$ka#f$ka#g$ka#h$ka#i$ka#j$ka#k$ka#l$ka#m$ka#n$ka#p$ka#r$ka#t$ka#u$ka#x$ka(Q$ka(`$ka(g$ka(h$ka!V$ka!W$ka~Oy)sO|)tOP$maX$mag$mak$maz$ma!e$ma!f$ma!h$ma!l$ma#f$ma#g$ma#h$ma#i$ma#j$ma#k$ma#l$ma#m$ma#n$ma#p$ma#r$ma#t$ma#u$ma#x$ma(Q$ma(`$ma(g$ma(h$ma!V$ma!W$ma~OP${aX${ak${az${a!e${a!f${a!h${a!l${a#f${a#g${a#h${a#i${a#j${a#k${a#l${a#m${a#n${a#p${a#r${a#t${a#u${a#x${a(Q${a(`${a!V${a!W${a~P%AYO#x$gq!V$gq!W$gq~P#?dO#x$hq!V$hq!W$hq~P#?dO!W9PO~O#x9QO~P!-jO!a#rO!V'Yi!g'Yi~O!a#rO(`'dO!V'Yi!g'Yi~O!V/VO!g(mq~O!S'[i!V'[i~P#(yO!V/_O!S(nq~O!S9WO~P#(yO!S9WO~Od(Oy!V(Oy~P!-jO!V'_a!X'_a~P#(yO!X%Sq^%Sq!V%Sq'j%Sq~P#(yOX9]O~O!V0_O!W(uq~O#W9aO!V'aa!W'aa~O!V4tO!W(ri~P#?dOPYXXYXkYXyYXzYX|YX!SYX!VYX!eYX!fYX!hYX!lYX#WYX#ccX#fYX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#pYX#rYX#tYX#uYX#zYX(QYX(`YX(gYX(hYX~O!a%QX#n%QX~P&6lO#S-cO#T-cO~PBtO#P9eO#S-cO#T-cO~PBtO!}9fO#O9fO#P9eO#S-cO#T-cO~PBtO!]9iO!^9iO't!iO(T!jO(_!nO~O![9lO!]9iO!^9iO#P9eO#S-cO#T-cO't!iO~PBtO!X0zO%`9oO~O'uTO'xUO(T9tO~O!V1VO!W(sq~O!g9wO~O!g9wO~P%QO!g9yO~O!g9zO~O#W9|O!V#`y!W#`y~O!V#`y!W#`y~P#?dO^%^O#W:QO'j%^O~O^%^O!a#rO#W:QO'j%^O~O^%^O!a#rO!l:UO#W:QO'j%^O(`'dO~O!X'QO%`:XO~O#x#vy!V#vy!W#vy~P#?dOP$tiX$tik$tiz$ti!e$ti!f$ti!h$ti!l$ti#f$ti#g$ti#h$ti#i$ti#j$ti#k$ti#l$ti#m$ti#n$ti#p$ti#r$ti#t$ti#u$ti#x$ti(Q$ti(`$ti!V$ti!W$ti~P%AYOy)sO|)tO(h)xOP%WiX%Wig%Wik%Wiz%Wi!e%Wi!f%Wi!h%Wi!l%Wi#f%Wi#g%Wi#h%Wi#i%Wi#j%Wi#k%Wi#l%Wi#m%Wi#n%Wi#p%Wi#r%Wi#t%Wi#u%Wi#x%Wi(Q%Wi(`%Wi(g%Wi!V%Wi!W%Wi~Oy)sO|)tOP%YiX%Yig%Yik%Yiz%Yi!e%Yi!f%Yi!h%Yi!l%Yi#f%Yi#g%Yi#h%Yi#i%Yi#j%Yi#k%Yi#l%Yi#m%Yi#n%Yi#p%Yi#r%Yi#t%Yi#u%Yi#x%Yi(Q%Yi(`%Yi(g%Yi(h%Yi!V%Yi!W%Yi~O#x$hy!V$hy!W$hy~P#?dO#x#Zy!V#Zy!W#Zy~P#?dO!a#rO!V'Yq!g'Yq~O!V/VO!g(my~O!S'[q!V'[q~P#(yO!S:`O~P#(yO!V0_O!W(uy~O!V4tO!W(rq~O#S2fO#T2fO~PBtO#P:gO#S2fO#T2fO~PBtO!]:kO!^:kO't!iO(T!jO(_!nO~O!X0zO%`:nO~O!g:qO~O^%^O#W:vO'j%^O~O^%^O!a#rO#W:vO'j%^O~O!X'QO%`:{O~OP$tqX$tqk$tqz$tq!e$tq!f$tq!h$tq!l$tq#f$tq#g$tq#h$tq#i$tq#j$tq#k$tq#l$tq#m$tq#n$tq#p$tq#r$tq#t$tq#u$tq#x$tq(Q$tq(`$tq!V$tq!W$tq~P%AYOP$vqX$vqk$vqz$vq!e$vq!f$vq!h$vq!l$vq#f$vq#g$vq#h$vq#i$vq#j$vq#k$vq#l$vq#m$vq#n$vq#p$vq#r$vq#t$vq#u$vq#x$vq(Q$vq(`$vq!V$vq!W$vq~P%AYOd%[!Z!V%[!Z#W%[!Z#x%[!Z~P!-jO!V'aq!W'aq~P#?dO#S6`O#T6`O~PBtO!V#`!Z!W#`!Z~P#?dO^%^O#W;ZO'j%^O~O#c%[!ZP%[!ZX%[!Z^%[!Zk%[!Zz%[!Z!V%[!Z!e%[!Z!f%[!Z!h%[!Z!l%[!Z#f%[!Z#g%[!Z#h%[!Z#i%[!Z#j%[!Z#k%[!Z#l%[!Z#m%[!Z#n%[!Z#p%[!Z#r%[!Z#t%[!Z#u%[!Z'j%[!Z(Q%[!Z(`%[!Z!g%[!Z!S%[!Z'h%[!Z#W%[!Zo%[!Z!X%[!Z%`%[!Z!a%[!Z~P#(yOP%[!ZX%[!Zk%[!Zz%[!Z!e%[!Z!f%[!Z!h%[!Z!l%[!Z#f%[!Z#g%[!Z#h%[!Z#i%[!Z#j%[!Z#k%[!Z#l%[!Z#m%[!Z#n%[!Z#p%[!Z#r%[!Z#t%[!Z#u%[!Z#x%[!Z(Q%[!Z(`%[!Z!V%[!Z!W%[!Z~P%AYOo(UX~P1dO't!iO~P!'RO!ScX!VcX#WcX~P&6lOPYXXYXkYXyYXzYX|YX!VYX!VcX!eYX!fYX!hYX!lYX#WYX#WcX#ccX#fYX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#pYX#rYX#tYX#uYX#zYX(QYX(`YX(gYX(hYX~O!acX!gYX!gcX(`cX~P'!sOP;nOQ;nOa=_Ob!fOikOk;nOlkOmkOskOu;nOw;nO|WO!QkO!RkO!XXO!c;qO!hZO!k;nO!l;nO!m;nO!o;rO!q;sO!t!eO$P!hO$TfO's)RO'uTO'xUO(QVO(_[O(l=]O~O!V<SO!W$ja~Oi%POk$qOl$pOm$pOs%QOu%ROw<YO|$xO!X$yO!c=dO!h$uO#b<`O$P%VO$l<[O$n<^O$q%WO's(iO'uTO'xUO'|%OO(Q$rO~O#o)YO~P''iO!WYX!WcX~P'!sO#c;vO~O!a#rO#c;vO~O#W<WO~O#n;{O~O#W<bO!V(eX!W(eX~O#W<WO!V(cX!W(cX~O#c<cO~Od<eO~P!-jO#c<jO~O#c<kO~O!a#rO#c<lO~O!a#rO#c<cO~O#x<mO~P#?dO#c<nO~O#c<oO~O#c<pO~O#c<qO~O#c<rO~O#c<sO~O#x<tO~P!-jO#x<uO~P!-jO$T~!f!|#O#P#S#a#b#m(l$l$n$q%T%_%`%a%g%i%l%m%o%q~'nR$T(l#g!R'l't#hl#f#iky'm(T'm's$V$X$V~",goto:"$/X(yPPPP(zP(}P)_P+a/fPPPP6iPP7OP<|@mPAQPAQPPPAQPBpPAQPAQPAQPBtPPByPCdPH`PPPHdPPPPHdKfPPPKlMlPHdP!!SPPPP!$eHdPPPHdPHdP!&vHdP!*]!+_!+dP!,U!,Y!,UPPPP!/f!1kPP!1t!3OP!+_HdHd!6b!9m!>v!>v!BnPPP!BuHdPPPPPPPPPPP!FTP!GiPPHd!HyPHdPHdHdHdHdPHd!J`PP!MiP#!nP#!r#!|##Q##QP!MfP##U##UP#&ZP#&_HdHd#&e#)iAQPAQPAQAQP#*sAQAQ#,mAQ#.zAQ#0nAQAQ#1[#3W#3W#3[#3d#3W#3lP#3WPAQ#4hAQ#5pAQAQ6iPPP#6{PP#7e#7eP#7eP#7z#7ePP#8QP#7wP#7w#8d!1p#7w#9O#9U6f(}#9X(}P#9`#9`#9`P(}P(}P(}P(}PP(}P#9f#9iP#9i(}P#9mP#9pP(}P(}P(}P(}P(}P(}(}PP#9v#9|#:W#:^#:d#:j#:p#;O#;U#;[#;f#;l#<h#<w#<}#=a#=g#=m#={#>b#?r#@Q#@W#@^#@d#@j#@t#@z#AQ#A[#An#AtPPPPPPPPPP#AzPPPPPPP#Bn#FYP#Gu#G|#HUPPPP#L`$ U$'t$'w$'z$)w$)z$)}$*UPP$*[$*`$+X$,X$,]$,qPP$,u$,{$-PP$-S$-W$-Z$.P$.g$.l$.o$.r$.x$.{$/P$/TR!yRmpOXr!X#a%]&d&f&g&i,^,c1g1jU!pQ'Q-OQ%ctQ%kwQ%rzQ&[!TS&x!c,vQ'W!f[']!m!r!s!t!u!vS*[$y*aQ+U%lQ+c%tQ+}&UQ,|'PQ-W'XW-`'^'_'`'aQ/p*cQ1U,OU2b-b-d-eS4}0z5QS6[2e2gU7z5U5V5WQ8q6_S9i7{7|Q:k9lR<a;r%QdOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$^$b%]%c%p&]&`&d&f&g&i&m&u'S'f'v'x(O(Y(k(o(s)r*t+h,Y,^,c-S-[-o-x.b.i/z0P0^0}1_1`1a1c1g1j1l2]2k2}4y5]5o5q5r6U7w8R8`8l:Q:v;ZS#m];o!r)T$X$j&y)g,o,r.q1{3d4v5{9a9|;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`Q*l%SQ+Z%nQ,P&XQ,W&aQ.X<XQ0T*|Q0X+OQ0d+[Q1^,UQ2q.UQ4e0_Q5d1VQ6i2uQ6o<YQ7b4fR8x6j'OkOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$X$^$b$j%]%c%p&]&`&a&d&f&g&i&m&u&y'S'f'v'x(O(Y(k(o(s)g)r*t*|+h,Y,^,c,o,r-S-[-o-x.U.b.i.q/z0P0^0}1_1`1a1c1g1j1l1{2]2k2u2}3d4v4y5]5o5q5r5{6U6j7w8R8`8l9a9|:Q:v;Z;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`#S!kQ!m!p!r!s!t!u!v!w&x'P'Q']'^'_'`'a'b,v,|-O-`-b-c-d-e0z2b2e2f2g4z5Q5S5T5U5V6[6_6`7p7q7r7|8q9e9f:g$Y$pi#r#t$`$a$u$x%T%U%Y)n)w)y)z*R*X*g*h*{+O+m+p.T._/^/_/a/|0q0t0|2t3l3v4O4U4]4_5[6g6}7W8O8u9Q9o:X:n:{<U<V<Z<[<]<^<_<`<f<g<h<i<j<k<n<o<p<q<t<u=]=e=f=i=jQ%uzQ&v!cS&|%w,yQ+Z%nS.})t/PQ/{*pQ0d+[Q0i+bQ1],TQ1^,UQ4e0_Q4n0kQ5g1XQ5h1[Q7b4fQ7e4kQ8Z5jQ9`7fR9u8WpmOXr!T!X#a%]&Z&d&f&g&i,^,c1g1jR,R&]&x`OPXYrstux!X!^!g!l#P#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$X$^$b$j%]%c%p&]&`&a&d&f&g&i&m&u'S'f'x(O(Y(k(o(s)g)r*t*|+h,Y,^,c,o,r-S-[-o-x.U.b.i.q/z0P0^0}1_1`1a1c1g1j1l1{2]2k2u2}3d4v4y5]5o5q5r5{6U6j7w8R8`8l9a9|:Q:v;Z;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=_=`[#YWZ#T#W&y'vQ%fvQ%jwS%oz%t!U%x|}#d#f#i%Z%v(P(W(X(]+f+g+i,[,p-s-v-z-{-}1o2m2n5z6dQ&Q!RQ'T!eQ'V!fQ(d#oS*O$u*SS+T%k%lQ+X%nQ+x&SQ+|&US-V'W'XQ.W(eQ/Z*PQ0]+UQ0c+[Q0e+]Q0h+aQ1P+yS1T+},OQ2X-WQ3m/VQ4d0_Q4h0bQ4m0jQ5c1UQ6z3nQ7a4fQ7d4jQ9[7`R:b9]v$wi#t%T%U%Y)w)y*R*g*h._/^/|3l4U9Q=]=e=f!`%hw!f!o%j%k%l&w'V'W'X'['i*Z+T+U,s-V-W-_-a/h0]2Q2X2`2d4Q6Y6^8o:TQ*}%fQ+n%}Q+q&OQ+{&UQ.V(dQ1O+xU1S+|+},OQ2v.WQ5^1PS5b1T1US7n4x4|Q8V5cU9g7s7x7yU:i9h9j9kQ;R:jQ;a;S!z=a#r$`$a$u$x)n)z*X*{+O+m+p.T/_/a0q0t0|2t3v4O4]4_5[6g6}7W8O8u9o:X:n:{<Z<]<_<f<h<j<n<p<t=i=jg=b<U<V<[<^<`<g<i<k<o<q<uW$|i%O*i=]S%}!O&ZQ&O!PQ&P!QR+l%{$Z${i#r#t$`$a$u$x%T%U%Y)n)w)y)z*R*X*g*h*{+O+m+p.T._/^/_/a/|0q0t0|2t3l3v4O4U4]4_5[6g6}7W8O8u9Q9o:X:n:{<U<V<Z<[<]<^<_<`<f<g<h<i<j<k<n<o<p<q<t<u=]=e=f=i=jT)o$r)pV*m%S<X<YU&|!c%w,yS(r#v#wQ+`%qS.P(`(aQ0u+rQ4V/yR7j4t'OkOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$X$^$b$j%]%c%p&]&`&a&d&f&g&i&m&u&y'S'f'v'x(O(Y(k(o(s)g)r*t*|+h,Y,^,c,o,r-S-[-o-x.U.b.i.q/z0P0^0}1_1`1a1c1g1j1l1{2]2k2u2}3d4v4y5]5o5q5r5{6U6j7w8R8`8l9a9|:Q:v;Z;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`$o$]c#V#b%a%b%d'u'{(g(n(v(w(x(y(z({(|(})O)P)Q)S)V)Z)e*y+_,t-h-m-r-w.^.d.h.j.k.l.{/}1v1y2Z2j2|3R3S3T3U3V3W3X3Y3Z3[3]3^3_3b3c3h4Z4b5}6T6b6m6n6s6t7l8f8j8y8}9O:O:d:r:t;X;d;p=ST#QV#R'PkOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$X$^$b$j%]%c%p&]&`&a&d&f&g&i&m&u&y'S'f'v'x(O(Y(k(o(s)g)r*t*|+h,Y,^,c,o,r-S-[-o-x.U.b.i.q/z0P0^0}1_1`1a1c1g1j1l1{2]2k2u2}3d4v4y5]5o5q5r5{6U6j7w8R8`8l9a9|:Q:v;Z;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`Q&z!cR1|,v!z!kQ!c!m!p!r!s!t!u!v!w&x'P'Q']'^'_'`'a'b,v,|-O-`-b-c-d-e2b2e2f2g4z5S5T6[6_6`7p7q7r8q9e9f:gS*Z$y*aS/h*[*cQ/q*dQ0w+tQ4Q/pQ4T/sS4x0z5QS7s4}5WS7x5U5VS9h7z7{Q9j7|S:j9i9lR;S:klpOXr!X#a%]&d&f&g&i,^,c1g1jQ&kO)P)Q)S)V)Z)e*y+_,t-h-m-r-w.^.d.h.k.l.{/}1v1y2Z2j2|3R3S3T3U3V3W3X3Y3Z3[3]3^3_3b3c3h4Z4b5}6T6b6m6n6s6t7l8f8j8y8}9O:O:d:r:t;X;d;p=SS(c#l'ZU*f$z(j3aS*x%a.jQ2r0TQ6f2qQ8w6iR:Y8x$j$Zc#V#b%b%d'u'{(g(n(v(w(x(y(z({(|(})O)P)Q)S)V)Z)e*y+_,t-h-m-r-w.^.d.h.k.l.{/}1v1y2Z2j2|3R3S3T3U3V3W3X3Y3Z3[3]3^3_3b3c3h4Z4b5}6T6b6m6n6s6t7l8f8j8y8}9O:O:d:r:t;X;d;p=SS(b#l'ZS(t#w$[S*w%a.jS.Q(a(cQ.m)UQ0Q*xR2o.R'OkOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$X$^$b$j%]%c%p&]&`&a&d&f&g&i&m&u&y'S'f'v'x(O(Y(k(o(s)g)r*t*|+h,Y,^,c,o,r-S-[-o-x.U.b.i.q/z0P0^0}1_1`1a1c1g1j1l1{2]2k2u2}3d4v4y5]5o5q5r5{6U6j7w8R8`8l9a9|:Q:v;Z;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`S#m];oQ&f!VQ&g!WQ&i!YQ&j!ZR1f,aQ'R!eQ*z%fQ-R'TS.S(d*}Q2T-QW2s.V.W0S0UQ6P2UU6e2p2r2vS8t6f6hS:W8v8wS:y:V:YQ;[:zR;e;]V!qQ'Q-O!_^OQXZ_r!T!X!m#a#d%Z%]&Z&]&d&f&g&i'Q(],^,c-O-z0z1g1j4z5QT#m];o%[yOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$^$b%]%c%p&]&`&a&d&f&g&i&m&u'S'f'v'x(O(Y(k(o(s)r*t*|+h,Y,^,c-S-[-o-x.U.b.i/z0P0^0}1_1`1a1c1g1j1l2]2k2u2}4y5]5o5q5r6U6j7w8R8`8l:Q:v;ZS(r#v#wS.P(`(a!s<y$X$j&y)g,o,r.q1{3d4v5{9a9|;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`U!oQ'Q-OY'[!m!s!t!u!vS'i!p!rW'k!w4z5S5TS-_']'^U-a'_'`'aW-f'b7p7q7rS2`-`-bU2c-c9e9fS2d-d-eS4|0z5QS6Y2b2eS6]2f:gQ6^2gS7s4}5WS7y5U5VS8o6[6_Q8r6`S9h7z7{Q9k7|Q:T8qS:j9i9lR;S:kU!qQ'Q-OT5O0z5QU'h!o4{4|S([#e1dU-^'['k7yQ/Y*OQ/f*ZU2a-a-f9kQ3r/ZS3{/g/qS6Z2c2dQ6y3mS7U4R4TS8p6]6^Q9S6zQ9Z7XR:U8rQ#sbU'g!o4{4|S(Z#e1dQ*u%[Q+P%gQ+V%mW-]'['h'k7yQ-y([Q/X*OQ/e*ZQ/k*^Q0Y+QQ1Q+zW2^-^-a-f9kS3q/Y/ZS3z/f/qQ3}/jQ4P/lQ5`1RU6X2a2c2dQ6x3mQ6|3rS7Q3{4TQ7V4SQ8T5aU8n6Z6]6^S9R6y6zQ9V7RQ9X7UQ9c7mQ9r8US:S8p8rQ:^9SQ:_9WQ:a9ZQ:f9dQ:p9sQ:x:UQ:}:`Q;P:hQ;_;QQ;h;`Q;l;iQ<|<wQ=X=QR=Y=R%[aOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$^$b%]%c%p&]&`&a&d&f&g&i&m&u'S'f'v'x(O(Y(k(o(s)r*t*|+h,Y,^,c-S-[-o-x.U.b.i/z0P0^0}1_1`1a1c1g1j1l2]2k2u2}4y5]5o5q5r6U6j7w8R8`8l:Q:v;ZS#sx!g!r<v$X$j&y)g,o,r.q1{3d4v5{9a9|;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`R<|=_%[bOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$^$b%]%c%p&]&`&a&d&f&g&i&m&u'S'f'v'x(O(Y(k(o(s)r*t*|+h,Y,^,c-S-[-o-x.U.b.i/z0P0^0}1_1`1a1c1g1j1l2]2k2u2}4y5]5o5q5r6U6j7w8R8`8l:Q:v;ZQ%[j!`%gw!f!o%j%k%l&w'V'W'X'['i*Z+T+U,s-V-W-_-a/h0]2Q2X2`2d4Q6Y6^8o:TS%mx!gQ+Q%hQ+z&UW1R+{+|+},OU5a1S1T1US7m4x4|S8U5b5cW9d7n7s7x7yQ9s8VW:h9g9h9j9kS;Q:i:jS;`;R;SQ;i;a!r<w$X$j&y)g,o,r.q1{3d4v5{9a9|;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`Q=Q=^R=R=_%OeOPXYrstu!X!^!l#P#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$^$b%]%c%p&]&`&d&f&g&i&m&u'S'f'x(O(Y(k(o(s)r*t*|+h,Y,^,c-S-[-o-x.U.b.i/z0P0^0}1_1`1a1c1g1j1l2]2k2u2}4y5]5o5q5r6U6j7w8R8`8l:Q:v;ZY#_WZ#T#W'v!U%x|}#d#f#i%Z%v(P(W(X(]+f+g+i,[,p-s-v-z-{-}1o2m2n5z6dQ,X&a!p<x$X$j)g,o,r.q1{3d4v5{9a9|;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`R<{&yS&}!c%wR2O,y%QdOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$^$b%]%c%p&]&`&d&f&g&i&m&u'S'f'v'x(O(Y(k(o(s)r*t+h,Y,^,c-S-[-o-x.b.i/z0P0^0}1_1`1a1c1g1j1l2]2k2}4y5]5o5q5r6U7w8R8`8l:Q:v;Z!r)T$X$j&y)g,o,r.q1{3d4v5{9a9|;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`Q,W&aQ0T*|Q2q.UQ6i2uR8x6j!l$Rc#V%a'u'{(g(n(})O)P)Q)V)Z+_-h-m-r-w.^.d.{/}2Z2j2|3_4Z4b6T6b6m8j:O:t;X;d;p!T;})S)e,t.j1v1y3R3Z3[3]3^3b3h5}6n6s6t7l8f8y8}9O:d:r=S!h$Tc#V%a'u'{(g(n)P)Q)V)Z+_-h-m-r-w.^.d.{/}2Z2j2|3_4Z4b6T6b6m8j:O:t;X;d;p!P<P)S)e,t.j1v1y3R3]3^3b3h5}6n6s6t7l8f8y8}9O:d:r=S!d$Xc#V%a'u'{(g(n)V)Z+_-h-m-r-w.^.d.{/}2Z2j2|3_4Z4b6T6b6m8j:O:t;X;d;pQ3l/Tz=`)S)e,t.j1v1y3R3b3h5}6n6s6t7l8f8y8}9O:d:r=SQ=e=gR=f=h'OkOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$X$^$b$j%]%c%p&]&`&a&d&f&g&i&m&u&y'S'f'v'x(O(Y(k(o(s)g)r*t*|+h,Y,^,c,o,r-S-[-o-x.U.b.i.q/z0P0^0}1_1`1a1c1g1j1l1{2]2k2u2}3d4v4y5]5o5q5r5{6U6j7w8R8`8l9a9|:Q:v;Z;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`S$kh$lR3e.p'VgOPWXYZhrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$X$^$b$j$l%]%c%p&]&`&a&d&f&g&i&m&u&y'S'f'v'x(O(Y(k(o(s)g)r*t*|+h,Y,^,c,o,r-S-[-o-x.U.b.i.p.q/z0P0^0}1_1`1a1c1g1j1l1{2]2k2u2}3d4v4y5]5o5q5r5{6U6j7w8R8`8l9a9|:Q:v;Z;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`T$gf$mQ$efS)^$h)bR)j$mT$ff$mT)`$h)b'VhOPWXYZhrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$X$^$b$j$l%]%c%p&]&`&a&d&f&g&i&m&u&y'S'f'v'x(O(Y(k(o(s)g)r*t*|+h,Y,^,c,o,r-S-[-o-x.U.b.i.p.q/z0P0^0}1_1`1a1c1g1j1l1{2]2k2u2}3d4v4y5]5o5q5r5{6U6j7w8R8`8l9a9|:Q:v;Z;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`T$kh$lQ$nhR)i$l%[jOPWXYZrstu!X!^!l#P#T#W#a#k#q#u#x#{#|#}$O$P$Q$R$S$T$U$V$^$b%]%c%p&]&`&a&d&f&g&i&m&u'S'f'v'x(O(Y(k(o(s)r*t*|+h,Y,^,c-S-[-o-x.U.b.i/z0P0^0}1_1`1a1c1g1j1l2]2k2u2}4y5]5o5q5r6U6j7w8R8`8l:Q:v;Z!s=^$X$j&y)g,o,r.q1{3d4v5{9a9|;n;q;r;s;v;w;x;y;z;{;|;}<O<P<Q<R<S<W<a<b<c<e<l<m<r<s=`#alOPXZr!X!^!l#P#a#k#x$j%]&]&`&a&d&f&g&i&m&u'S(s)g*|+h,Y,^,c-S.U.q/z0}1_1`1a1c1g1j1l2u3d4y5]5o5q5r6j7w8R8`v$zi#t%T%U%Y)w)y*R*g*h._/^/|3l4U9Q=]=e=f!z(j#r$`$a$u$x)n)z*X*{+O+m+p.T/_/a0q0t0|2t3v4O4]4_5[6g6}7W8O8u9o:X:n:{<Z<]<_<f<h<j<n<p<t=i=jQ*q%WQ.|)sg3a<U<V<[<^<`<g<i<k<o<q<uv$vi#t%T%U%Y)w)y*R*g*h._/^/|3l4U9Q=]=e=fQ*T$wS*^$y*aQ*r%XQ/l*_!z=O#r$`$a$u$x)n)z*X*{+O+m+p.T/_/a0q0t0|2t3v4O4]4_5[6g6}7W8O8u9o:X:n:{<Z<]<_<f<h<j<n<p<t=i=jf=P<U<V<[<^<`<g<i<k<o<q<uQ=T=aQ=U=bQ=V=cR=W=dv$zi#t%T%U%Y)w)y*R*g*h._/^/|3l4U9Q=]=e=f!z(j#r$`$a$u$x)n)z*X*{+O+m+p.T/_/a0q0t0|2t3v4O4]4_5[6g6}7W8O8u9o:X:n:{<Z<]<_<f<h<j<n<p<t=i=jg3a<U<V<[<^<`<g<i<k<o<q<ulnOXr!X#a%]&d&f&g&i,^,c1g1jQ*W$xQ,l&pQ,m&rR3u/_$Y${i#r#t$`$a$u$x%T%U%Y)n)w)y)z*R*X*g*h*{+O+m+p.T._/^/_/a/|0q0t0|2t3l3v4O4U4]4_5[6g6}7W8O8u9Q9o:X:n:{<U<V<Z<[<]<^<_<`<f<g<h<i<j<k<n<o<p<q<t<u=]=e=f=i=jQ+o&OQ0s+qQ4r0rR7i4sT*`$y*aS*`$y*aT5P0z5QS/j*]4yT4S/r7wQ+P%gQ/k*^Q0Y+QQ1Q+zQ5`1RQ8T5aQ9c7mQ9r8UQ:f9dQ:p9sQ;P:hQ;_;QQ;h;`R;l;in)w$s(l*s/]/t/u2z3s4Y6w7Y:]<}=Z=[!W<f(h)X)}*V.[.x/T/b0R0p0r2y3t3x4q4s6k6l7O7S7[7^9U9Y:|=g=h]<g3`6r8z:Z:[;fp)y$s(l*s/R/]/t/u2z3s4Y6w7Y:]<}=Z=[!Y<h(h)X)}*V.[.x/T/b0R0p0r2w2y3t3x4q4s6k6l7O7S7[7^9U9Y:|=g=h_<i3`6r8z8{:Z:[;fpmOXr!T!X#a%]&Z&d&f&g&i,^,c1g1jQ&W!SR,Y&apmOXr!T!X#a%]&Z&d&f&g&i,^,c1g1jR&W!SQ+s&PR0o+lqmOXr!T!X#a%]&Z&d&f&g&i,^,c1g1jQ0{+xS5Z1O1PU7}5X5Y5^S9n8P8QS:l9m9pQ;T:mR;b;UQ&_!TR,S&ZR5g1XS%oz%tR0e+]Q&d!UR,^&eR,d&jT1h,c1jR,h&kQ,g&kR1q,hQ'm!xR-i'mQrOQ#aXT%`r#aQ!{TR'o!{Q#OUR'q#OQ)p$rR.y)pQ#RVR's#RQ#UWU'y#U'z-pQ'z#VR-p'{Q,w&zR1},wQ.`(lR2{.`Q.c(nS3O.c3PR3P.dQ-O'QR2R-Or_OXr!T!X#a%]&Z&]&d&f&g&i,^,c1g1jU!mQ'Q-OS#dZ%ZY#n_!m#d-z4zQ-z(]T4z0z5QS#[W%vU(Q#[(R-qQ(R#]R-q'|Q,z&}R2P,zQ(^#gQ-t(VW.O(^-t2h6aQ2h-uR6a2iQ)b$hR.r)bQ$lhR)h$lQ$_cU)W$_-l<TQ-l;pR<T)eQ/W*OW3o/W3p6{9TU3p/X/Y/ZS6{3q3rR9T6|#m)u$s(h(l)X)}*V*n*o*s.Y.Z.[.x/R/S/T/]/b/t/u0R0p0r2w2x2y2z3`3s3t3x4Y4q4s6k6l6p6q6r6w7O7S7Y7[7^8z8{8|9U9Y:Z:[:]:|;f<}=Z=[=g=hQ/`*VU3w/`3y7PQ3y/bR7P3xQ*a$yR/n*aQ*j$}R/w*jQ4^0RR7]4^Q+j%yR0n+jQ4u0uS7k4u9bR9b7lQ+u&QR0x+uQ5Q0zR7u5QQ1W,PS5e1W8XR8X5gQ0`+XW4g0`4i7c9^Q4i0cQ7c4hR9^7dQ+^%oR0f+^Q1j,cR5u1jWqOXr#aQ&h!XQ*v%]Q,]&dQ,_&fQ,`&gQ,b&iQ1e,^S1h,c1jR5t1gQ%_oQ&l!]Q&o!_Q&q!`Q&s!aU'e!o4{4|Q+e%uQ+k%zQ,R&_Q,j&nY-Z'['g'h'k7yQ/m*`S1Z,S,VQ1r,iQ1s,lQ1t,m[2[-]-^-a-f-h9kQ4l0iQ4p0pQ5_1QQ5i1]Q5s1fY6S2Z2^2a2c2dQ7g4nQ7h4qQ7t5PQ8S5`Q8Y5hY8i6T6X6Z6]6^Q9_7eQ9q8TQ9v8ZW9}8j8n8p8rQ:c9`Q:e9cQ:o9rU:s:O:S:UQ;O:fQ;V:pS;W:t:xQ;^;PQ;c;XQ;g;_Q;j;dQ;k;hR;m;lQ%iwQ'U!fQ'c!oU+S%j%k%lQ,q&wU-U'V'W'XS-Y'['iQ/d*ZS0[+T+UQ1z,sS2W-V-WS2_-_-aQ3|/hQ4a0]Q6O2QQ6R2XS6W2`2dQ7T4QS8m6Y6^Q:R8oR:w:TS$ti=]R*k%OU$}i%O=]R/v*iQ$siS(h#r+OQ(l#tS)X$`$aQ)}$uQ*V$xQ*n%TQ*o%UQ*s%YQ.Y<ZQ.Z<]Q.[<_Q.x)nQ/R)wQ/S)yQ/T)zQ/]*RQ/b*XQ/t*gQ/u*hh0R*{.T0|2t5[6g8O8u9o:X:n:{Q0p+mQ0r+pQ2w<fQ2x<hQ2y<jQ2z._S3`<U<VQ3s/^Q3t/_Q3x/aQ4Y/|Q4q0qQ4s0tQ6k<nQ6l<pQ6p<[Q6q<^Q6r<`Q6w3lQ7O3vQ7S4OQ7Y4UQ7[4]Q7^4_Q8z<kQ8{<gQ8|<iQ9U6}Q9Y7WQ:Z<oQ:[<qQ:]9QQ:|<tQ;f<uQ<}=]Q=Z=eQ=[=fQ=g=iR=h=jloOXr!X#a%]&d&f&g&i,^,c1g1jQ!dPS#cZ#kQ&n!^U'Y!l4y7wQ'r#PQ(u#xQ)f$jS,V&]&`Q,Z&aQ,i&mQ,n&uQ-Q'SQ.f(sQ.v)gQ0U*|Q0l+hQ1b,YQ2U-SQ2r.UQ3g.qQ4W/zQ5Y0}Q5k1_Q5l1`Q5n1aQ5p1cQ5w1lQ6f2uQ6u3dQ8Q5]Q8_5oQ8a5qQ8b5rQ8w6jQ9p8RR9x8`#UcOPXZr!X!^!l#a#k#x%]&]&`&a&d&f&g&i&m&u'S(s*|+h,Y,^,c-S.U/z0}1_1`1a1c1g1j1l2u4y5]5o5q5r6j7w8R8`Q#VWQ#bYQ%asQ%btQ%duS'u#T'xQ'{#WQ(g#qQ(n#uQ(v#{Q(w#|Q(x#}Q(y$OQ(z$PQ({$QQ(|$RQ(}$SQ)O$TQ)P$UQ)Q$VQ)S$XQ)V$^Q)Z$bW)e$j)g.q3dQ*y%cQ+_%pS,t&y1{Q-h'fS-m'v-oQ-r(OQ-w(YQ.^(kQ.d(oQ.h;nQ.j;qQ.k;rQ.l;sQ.{)rQ/}*tQ1v,oQ1y,rQ2Z-[Q2j-xQ2|.bQ3R;vQ3S;wQ3T;xQ3U;yQ3V;zQ3W;{Q3X;|Q3Y;}Q3Z<OQ3[<PQ3]<QQ3^<RQ3_.iQ3b<WQ3c<aQ3h<SQ4Z0PQ4b0^Q5}<bQ6T2]Q6b2kQ6m2}Q6n<cQ6s<eQ6t<lQ7l4vQ8f5{Q8j6UQ8y<mQ8}<rQ9O<sQ:O8lQ:d9aQ:r9|Q:t:QQ;X:vQ;d;ZQ;p#PR=S=`R#XWR&{!cU!oQ'Q-OS&w!c,vY'[!m!s!t!u!vS'i!p!r['k!w4z5S5T5U5VS,s&x'PS-_']'^U-a'_'`'aY-f'b7p7q7r7|Q2Q,|S2`-`-bU2c-c9e9fS2d-d-eS4{0z5QS6Y2b2eS6]2f:gQ6^2gS8o6[6_Q8r6`R:T8qR(m#tR(p#uQ!dQT,}'Q-OQ#l]R'Z;oT#hZ%ZS#gZ%ZU%y|},[U(V#d#f#iS-u(W(XQ-|(]Q0m+iQ2i-vU2l-z-{-}S6c2m2nR8s6d`#ZW#T#W%v'v(P+f-st#eZ|}#d#f#i%Z(W(X(]+i-v-z-{-}2m2n6dQ1d,[Q1w,pQ5y1oQ8e5zT<z&y+gT#^W%vS#]W%vS'w#T(PS'|#W+fS,u&y+gT-n'v-sT'O!c%wQ$hfR)l$mT)a$h)bR3f.pT*Q$u*SR*Y$xQ0S*{Q2p.TQ5X0|Q6h2tQ8P5[Q8v6gQ9m8OQ:V8uQ:m9oQ:z:XQ;U:nR;]:{lpOXr!X#a%]&d&f&g&i,^,c1g1jQ&^!TR,R&ZV%z|},[R0v+rR,Q&XQ%szR+d%tR+Y%nT&b!U&eT&c!U&eT1i,c1j",nodeNames:"⚠ ArithOp ArithOp LineComment BlockComment Script ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:362,context:DN,nodeProps:[["group",-26,6,14,16,62,198,202,205,206,208,211,214,225,227,233,235,237,239,242,248,254,256,258,260,262,264,265,"Statement",-32,10,11,25,28,29,35,45,48,49,51,56,64,72,76,78,80,81,102,103,112,113,130,133,135,136,137,138,140,141,161,162,164,"Expression",-23,24,26,30,34,36,38,165,167,169,170,172,173,174,176,177,178,180,181,182,192,194,196,197,"Type",-3,84,95,101,"ClassItem"],["openedBy",31,"InterpolationStart",50,"[",54,"{",69,"(",142,"JSXStartTag",154,"JSXStartTag JSXStartCloseTag"],["closedBy",33,"InterpolationEnd",44,"]",55,"}",70,")",143,"JSXSelfCloseEndTag JSXEndTag",159,"JSXEndTag"]],propSources:[CN],skippedNodes:[0,3,4,268],repeatNodeCount:32,tokenData:"$>y(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tu>PuvBavwDxwxGgxyMvyz! Qz{!![{|!%O|}!&]}!O!%O!O!P!'g!P!Q!1w!Q!R#0t!R![#3T![!]#@T!]!^#Aa!^!_#Bk!_!`#GS!`!a#In!a!b#N{!b!c$$z!c!}>P!}#O$&U#O#P$'`#P#Q$,w#Q#R$.R#R#S>P#S#T$/`#T#o$0j#o#p$4z#p#q$5p#q#r$7Q#r#s$8^#s$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$I|>P$I|$I}$<s$I}$JO$<s$JO$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(n%d_$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$c&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$c&j'y!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'y!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$c&j'vpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU'vpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'vp'y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$c&j'vp'y!b'l(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST'w#S$c&j'm(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$c&j'vp'y!b'm(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$c&j!l$Ip'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#p$Id$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#p$Id$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b3l_'u$(n$c&j'y!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$c&j'y!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$c&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$^#t$c&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#t6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y#t7bO$^#t#t7eP;=`<%l6y)`7kP;=`<%l5q*r7w]$^#t$c&j'y!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'y!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$^#t'y!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hg$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}st%Ztu<Puw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}<P!}#O%Z#O#P&c#P#R%Z#R#S<P#S#T%Z#T#o<P#o#p*g#p$g%Z$g;'S<P;'S;=`=y<%lO<P#%|<[i$c&j(_!L^'vp'y!bOY%ZYZ&cZr%Zrs&}st%Ztu<Puw%Zwx(rx!Q%Z!Q![<P![!^%Z!^!_*g!_!c%Z!c!}<P!}#O%Z#O#P&c#P#R%Z#R#S<P#S#T%Z#T#o<P#o#p*g#p$g%Z$g;'S<P;'S;=`=y<%lO<P#%|=|P;=`<%l<P(CS>`k$c&j'vp'y!b(T!LY's&;d$V#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P+d@`k$c&j'vp'y!b$V#tOY%ZYZ&cZr%Zrs&}st%Ztu@Tuw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![@T![!^%Z!^!_*g!_!c%Z!c!}@T!}#O%Z#O#P&c#P#R%Z#R#S@T#S#T%Z#T#o@T#o#p*g#p$g%Z$g;'S@T;'S;=`BT<%lO@T+dBWP;=`<%l@T(CSB^P;=`<%l>P%#SBl`$c&j'vp'y!b#h$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SCy_$c&j#z$Id'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%DfETa(h%<v$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sv%ZvwFYwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SFe`$c&j#t$Id'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2bGp_'x$)`$c&j'vpOYHoYZIuZrHorsIuswHowxKVx!^Ho!^!_LX!_#OHo#O#PIu#P#oHo#o#pLX#p;'SHo;'S;=`Mp<%lOHo*QHv_$c&j'vpOYHoYZIuZrHorsIuswHowxKVx!^Ho!^!_LX!_#OHo#O#PIu#P#oHo#o#pLX#p;'SHo;'S;=`Mp<%lOHo)`IzX$c&jOwIuwx6cx!^Iu!^!_Jg!_#oIu#o#pJg#p;'SIu;'S;=`KP<%lOIu#tJjTOwJgwx7]x;'SJg;'S;=`Jy<%lOJg#tJ|P;=`<%lJg)`KSP;=`<%lIu*QK`]$^#t$c&j'vpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r$fL^Z'vpOYLXYZJgZrLXrsJgswLXwxMPx#OLX#O#PJg#P;'SLX;'S;=`Mj<%lOLX$fMWU$^#t'vpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r$fMmP;=`<%lLX*QMsP;=`<%lHo(*QNR_!h(!b$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'l! ]_!gM|$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h!!ib$c&j'vp'y!b't#)d#i$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!#q{!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S!#|`$c&j'vp'y!b#f$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&-O!%Z`$c&j'vp'y!bk&%`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&C[!&h_!V&;l$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!'rc$c&j'vp'y!by'<nOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!(}!P!Q%Z!Q![!+g![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!)Wa$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!*]!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!*h_!UMt$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!+rg$c&j'vp'y!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!+g![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S!+g#S#X%Z#X#Y!-Z#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!-dg$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!.{|}%Z}!O!.{!O!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!/Uc$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!0lc$c&j'vp'y!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!2Sf$c&j'vp'y!b#g$IdOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}xz!3hz{#$s{!P!3h!P!Q#&Y!Q!^!3h!^!_!Mh!_!`#-x!`!a#/_!a!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(r!3sb$c&j'vp'y!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(Q!5U`$c&j'y!b!RSOY!4{YZ&cZw!4{wx!6Wx!P!4{!P!Q!=o!Q!^!4{!^!_!?g!_!}!4{!}#O!Bn#O#P!<w#P#o!4{#o#p!?g#p;'S!4{;'S;=`!Cw<%lO!4{&n!6_^$c&j!RSOY!6WYZ&cZ!P!6W!P!Q!7Z!Q!^!6W!^!_!8g!_!}!6W!}#O!;U#O#P!<w#P#o!6W#o#p!8g#p;'S!6W;'S;=`!=i<%lO!6W&n!7ba$c&j!RSO!^&c!_#Z&c#Z#[!7Z#[#]&c#]#^!7Z#^#a&c#a#b!7Z#b#g&c#g#h!7Z#h#i&c#i#j!7Z#j#m&c#m#n!7Z#n#o&c#p;'S&c;'S;=`&w<%lO&cS!8lX!RSOY!8gZ!P!8g!P!Q!9X!Q!}!8g!}#O!9p#O#P!:o#P;'S!8g;'S;=`!;O<%lO!8gS!9^U!RS#Z#[!9X#]#^!9X#a#b!9X#g#h!9X#i#j!9X#m#n!9XS!9sVOY!9pZ#O!9p#O#P!:Y#P#Q!8g#Q;'S!9p;'S;=`!:i<%lO!9pS!:]SOY!9pZ;'S!9p;'S;=`!:i<%lO!9pS!:lP;=`<%l!9pS!:rSOY!8gZ;'S!8g;'S;=`!;O<%lO!8gS!;RP;=`<%l!8g&n!;Z[$c&jOY!;UYZ&cZ!^!;U!^!_!9p!_#O!;U#O#P!<P#P#Q!6W#Q#o!;U#o#p!9p#p;'S!;U;'S;=`!<q<%lO!;U&n!<UX$c&jOY!;UYZ&cZ!^!;U!^!_!9p!_#o!;U#o#p!9p#p;'S!;U;'S;=`!<q<%lO!;U&n!<tP;=`<%l!;U&n!<|X$c&jOY!6WYZ&cZ!^!6W!^!_!8g!_#o!6W#o#p!8g#p;'S!6W;'S;=`!=i<%lO!6W&n!=lP;=`<%l!6W(Q!=xi$c&j'y!b!RSOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!=o#[#]&}#]#^!=o#^#a&}#a#b!=o#b#g&}#g#h!=o#h#i&}#i#j!=o#j#m&}#m#n!=o#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!?nZ'y!b!RSOY!?gZw!?gwx!8gx!P!?g!P!Q!@a!Q!}!?g!}#O!Ap#O#P!:o#P;'S!?g;'S;=`!Bh<%lO!?g!f!@hb'y!b!RSOY'}Zw'}x#O'}#P#Z'}#Z#[!@a#[#]'}#]#^!@a#^#a'}#a#b!@a#b#g'}#g#h!@a#h#i'}#i#j!@a#j#m'}#m#n!@a#n;'S'};'S;=`(f<%lO'}!f!AuX'y!bOY!ApZw!Apwx!9px#O!Ap#O#P!:Y#P#Q!?g#Q;'S!Ap;'S;=`!Bb<%lO!Ap!f!BeP;=`<%l!Ap!f!BkP;=`<%l!?g(Q!Bu^$c&j'y!bOY!BnYZ&cZw!Bnwx!;Ux!^!Bn!^!_!Ap!_#O!Bn#O#P!<P#P#Q!4{#Q#o!Bn#o#p!Ap#p;'S!Bn;'S;=`!Cq<%lO!Bn(Q!CtP;=`<%l!Bn(Q!CzP;=`<%l!4{'`!DW`$c&j'vp!RSOY!C}YZ&cZr!C}rs!6Ws!P!C}!P!Q!EY!Q!^!C}!^!_!GQ!_!}!C}!}#O!JX#O#P!<w#P#o!C}#o#p!GQ#p;'S!C};'S;=`!Kb<%lO!C}'`!Eci$c&j'vp!RSOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#Z(r#Z#[!EY#[#](r#]#^!EY#^#a(r#a#b!EY#b#g(r#g#h!EY#h#i(r#i#j!EY#j#m(r#m#n!EY#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rt!GXZ'vp!RSOY!GQZr!GQrs!8gs!P!GQ!P!Q!Gz!Q!}!GQ!}#O!IZ#O#P!:o#P;'S!GQ;'S;=`!JR<%lO!GQt!HRb'vp!RSOY)rZr)rs#O)r#P#Z)r#Z#[!Gz#[#])r#]#^!Gz#^#a)r#a#b!Gz#b#g)r#g#h!Gz#h#i)r#i#j!Gz#j#m)r#m#n!Gz#n;'S)r;'S;=`*Z<%lO)rt!I`X'vpOY!IZZr!IZrs!9ps#O!IZ#O#P!:Y#P#Q!GQ#Q;'S!IZ;'S;=`!I{<%lO!IZt!JOP;=`<%l!IZt!JUP;=`<%l!GQ'`!J`^$c&j'vpOY!JXYZ&cZr!JXrs!;Us!^!JX!^!_!IZ!_#O!JX#O#P!<P#P#Q!C}#Q#o!JX#o#p!IZ#p;'S!JX;'S;=`!K[<%lO!JX'`!K_P;=`<%l!JX'`!KeP;=`<%l!C}(r!Ksk$c&j'vp'y!b!RSOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#Z%Z#Z#[!Kh#[#]%Z#]#^!Kh#^#a%Z#a#b!Kh#b#g%Z#g#h!Kh#h#i%Z#i#j!Kh#j#m%Z#m#n!Kh#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#W!Mq]'vp'y!b!RSOY!MhZr!Mhrs!?gsw!Mhwx!GQx!P!Mh!P!Q!Nj!Q!}!Mh!}#O#!U#O#P!:o#P;'S!Mh;'S;=`##U<%lO!Mh#W!Nse'vp'y!b!RSOY*gZr*grs'}sw*gwx)rx#O*g#P#Z*g#Z#[!Nj#[#]*g#]#^!Nj#^#a*g#a#b!Nj#b#g*g#g#h!Nj#h#i*g#i#j!Nj#j#m*g#m#n!Nj#n;'S*g;'S;=`+Z<%lO*g#W#!]Z'vp'y!bOY#!UZr#!Urs!Apsw#!Uwx!IZx#O#!U#O#P!:Y#P#Q!Mh#Q;'S#!U;'S;=`##O<%lO#!U#W##RP;=`<%l#!U#W##XP;=`<%l!Mh(r##e`$c&j'vp'y!bOY##[YZ&cZr##[rs!Bnsw##[wx!JXx!^##[!^!_#!U!_#O##[#O#P!<P#P#Q!3h#Q#o##[#o#p#!U#p;'S##[;'S;=`#$g<%lO##[(r#$jP;=`<%l##[(r#$pP;=`<%l!3h(CS#%Qb$c&j'vp'y!b'n(;d!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(CS#&e_$c&j'vp'y!bR(;dOY#&YYZ&cZr#&Yrs#'dsw#&Ywx#*tx!^#&Y!^!_#,s!_#O#&Y#O#P#(f#P#o#&Y#o#p#,s#p;'S#&Y;'S;=`#-r<%lO#&Y(Bb#'m]$c&j'y!bR(;dOY#'dYZ&cZw#'dwx#(fx!^#'d!^!_#)w!_#O#'d#O#P#(f#P#o#'d#o#p#)w#p;'S#'d;'S;=`#*n<%lO#'d(AO#(mX$c&jR(;dOY#(fYZ&cZ!^#(f!^!_#)Y!_#o#(f#o#p#)Y#p;'S#(f;'S;=`#)q<%lO#(f(;d#)_SR(;dOY#)YZ;'S#)Y;'S;=`#)k<%lO#)Y(;d#)nP;=`<%l#)Y(AO#)tP;=`<%l#(f(<v#*OW'y!bR(;dOY#)wZw#)wwx#)Yx#O#)w#O#P#)Y#P;'S#)w;'S;=`#*h<%lO#)w(<v#*kP;=`<%l#)w(Bb#*qP;=`<%l#'d(Ap#*}]$c&j'vpR(;dOY#*tYZ&cZr#*trs#(fs!^#*t!^!_#+v!_#O#*t#O#P#(f#P#o#*t#o#p#+v#p;'S#*t;'S;=`#,m<%lO#*t(<U#+}W'vpR(;dOY#+vZr#+vrs#)Ys#O#+v#O#P#)Y#P;'S#+v;'S;=`#,g<%lO#+v(<U#,jP;=`<%l#+v(Ap#,pP;=`<%l#*t(=h#,|Y'vp'y!bR(;dOY#,sZr#,srs#)wsw#,swx#+vx#O#,s#O#P#)Y#P;'S#,s;'S;=`#-l<%lO#,s(=h#-oP;=`<%l#,s(CS#-uP;=`<%l#&Y%#W#.Vb$c&j#z$Id'vp'y!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h+h#/lb$S#t$c&j'vp'y!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h$/l#1Pp$c&j'vp'y!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!+g!P!Q%Z!Q![#3T![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S#3T#S#U%Z#U#V#6_#V#X%Z#X#Y!-Z#Y#b%Z#b#c#5T#c#d#9g#d#l%Z#l#m#<i#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#3`k$c&j'vp'y!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!+g!P!Q%Z!Q![#3T![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S#3T#S#X%Z#X#Y!-Z#Y#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#5`_$c&j'vp'y!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#6hd$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#7v!R!S#7v!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#7v#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#8Rf$c&j'vp'y!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#7v!R!S#7v!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#7v#S#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#9pc$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#:{!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#:{#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#;We$c&j'vp'y!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#:{!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#:{#S#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#<rg$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#>fi$c&j'vp'y!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#@b_!a$b$c&j#x%<f'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Al_^l$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS#Bz^'|!*v!e'.r'vp'y!b$T)d(lSOY*gZr*grs'}sw*gwx)rx!P*g!P!Q#Cv!Q!^*g!^!_#Dl!_!`#F^!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#DPX$e&j'vp'y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#DuZ#j$Id'vp'y!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Eh!`#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#EqX#z$Id'vp'y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#FgX#k$Id'vp'y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Gh#G_a#W%?x$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a#Hd!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#W#Ho_#c$Ih$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#I}adBf#k$Id$`#|$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`#KS!`!a#L^!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#K__#k$Id$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#Lia#j$Id$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`!a#Mn!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#My`#j$Id$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h$ Wc(`$Ip$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P$!c!P!^%Z!^!_*g!_!a%Z!a!b$#m!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+`$!n_z'#p$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$#x`$c&j#u$Id'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&^$%V_!x!Ln$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(@^$&a_|(8n$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$'eZ$c&jO!^$(W!^!_$(n!_#i$(W#i#j$(s#j#l$(W#l#m$*f#m#o$(W#o#p$(n#p;'S$(W;'S;=`$,q<%lO$(W(n$(_T[#S$c&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$(sO[#S(n$(x[$c&jO!Q&c!Q![$)n![!^&c!_!c&c!c!i$)n!i#T&c#T#Z$)n#Z#o&c#o#p$,U#p;'S&c;'S;=`&w<%lO&c(n$)sZ$c&jO!Q&c!Q![$*f![!^&c!_!c&c!c!i$*f!i#T&c#T#Z$*f#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$*kZ$c&jO!Q&c!Q![$+^![!^&c!_!c&c!c!i$+^!i#T&c#T#Z$+^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$+cZ$c&jO!Q&c!Q![$(W![!^&c!_!c&c!c!i$(W!i#T&c#T#Z$(W#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$,XR!Q![$,b!c!i$,b#T#Z$,b#S$,eS!Q![$,b!c!i$,b#T#Z$,b#q#r$(n(n$,tP;=`<%l$(W!'l$-S_!SM|$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$.^`#r$Id$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&,v$/k_$c&j'vp'y!b(Q&%WOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$0yk$c&j'vp'y!b(T!LY's&;d$X#tOY%ZYZ&cZr%Zrs&}st%Ztu$0juw%Zwx(rx}%Z}!O$2n!O!Q%Z!Q![$0j![!^%Z!^!_*g!_!c%Z!c!}$0j!}#O%Z#O#P&c#P#R%Z#R#S$0j#S#T%Z#T#o$0j#o#p*g#p$g%Z$g;'S$0j;'S;=`$4t<%lO$0j+d$2yk$c&j'vp'y!b$X#tOY%ZYZ&cZr%Zrs&}st%Ztu$2nuw%Zwx(rx}%Z}!O$2n!O!Q%Z!Q![$2n![!^%Z!^!_*g!_!c%Z!c!}$2n!}#O%Z#O#P&c#P#R%Z#R#S$2n#S#T%Z#T#o$2n#o#p*g#p$g%Z$g;'S$2n;'S;=`$4n<%lO$2n+d$4qP;=`<%l$2n(CS$4wP;=`<%l$0j!5p$5TX!X!3l'vp'y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Df$5{a(g%<v$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$#m#q;'S%Z;'S;=`+a<%lO%Z%#`$7__!W$I`o`$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(r$8i_!mS$c&j'vp'y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$9y|$c&j'vp'y!b'l(;d(T!LY's&;d$V#tOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(CS$=Uk$c&j'vp'y!b'm(;d(T!LY's&;d$V#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P",tokenizers:[bN,vN,2,3,4,5,6,7,8,9,10,11,12,13,xN,new Py("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOq~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!O~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(S~~",141,325),new Py("j~RQYZXz{^~^O'p~~aP!P!Qd~iO'q~~",25,307)],topRules:{Script:[0,5],SingleExpression:[1,266],SingleClassItem:[2,267]},dialects:{jsx:13213,ts:13215},dynamicPrecedences:{76:1,78:1,162:1,190:1},specialized:[{term:311,get:r=>SN[r]||-1},{term:327,get:r=>EN[r]||-1},{term:67,get:r=>AN[r]||-1}],tokenPrec:13238}),PN=[mu("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),mu("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),mu("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),mu("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),mu("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),mu(`try {
|
|
\${}
|
|
} catch (\${error}) {
|
|
\${}
|
|
}`,{label:"try",detail:"/ catch block",type:"keyword"}),mu("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),mu(`if (\${}) {
|
|
\${}
|
|
} else {
|
|
\${}
|
|
}`,{label:"if",detail:"/ else block",type:"keyword"}),mu(`class \${name} {
|
|
constructor(\${params}) {
|
|
\${}
|
|
}
|
|
}`,{label:"class",detail:"definition",type:"keyword"}),mu('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),mu('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Zx=new pS,I2=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Hh(r){return(e,t)=>{let n=e.node.getChild("VariableDefinition");return n&&t(n,r),!0}}const TN=["FunctionDeclaration"],kN={FunctionDeclaration:Hh("function"),ClassDeclaration:Hh("class"),ClassExpression:()=>!0,EnumDeclaration:Hh("constant"),TypeAliasDeclaration:Hh("type"),NamespaceDeclaration:Hh("namespace"),VariableDefinition(r,e){r.matchContext(TN)||e(r,"variable")},TypeDefinition(r,e){e(r,"type")},__proto__:null};function Q2(r,e){let t=Zx.get(e);if(t)return t;let n=[],i=!0;function s(u,p){let f=r.sliceString(u.from,u.to);n.push({label:f,type:p})}return e.cursor(Xs.IncludeAnonymous).iterate(u=>{if(i)i=!1;else if(u.name){let p=kN[u.name];if(p&&p(u,s)||I2.has(u.name))return!1}else if(u.to-u.from>8192){for(let p of Q2(r,u.node))n.push(p);return!1}}),Zx.set(e,n),n}const zx=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,j2=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function FN(r){let e=lo(r.state).resolveInner(r.pos,-1);if(j2.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&zx.test(r.state.sliceDoc(e.from,e.to));if(!t&&!r.explicit)return null;let n=[];for(let i=e;i;i=i.parent)I2.has(i.name)&&(n=n.concat(Q2(r.state.doc,i)));return{options:n,from:t?e.from:r.pos,validFor:zx}}const Ul=wp.define({name:"javascript",parser:wN.configure({props:[Hf.add({IfStatement:Gd({except:/^\s*({|else\b)/}),TryStatement:Gd({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:N3,SwitchBody:r=>{let e=r.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return r.baseIndent+(t?0:n?1:2)*r.unit},Block:$3({closing:"}"}),ArrowFunction:r=>r.baseIndent+r.unit,"TemplateString BlockComment":()=>null,"Statement Property":Gd({except:/^{/}),JSXElement(r){let e=/^\s*<\//.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},JSXEscape(r){let e=/\s*\}/.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},"JSXOpenTag JSXSelfClosingTag"(r){return r.column(r.node.from)+r.unit}}),Jf.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":DS,BlockComment(r){return{from:r.from+2,to:r.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),M2={test:r=>/^JSX/.test(r.name),facet:mS({commentTokens:{block:{open:"{/*",close:"*/}"}}})},L2=Ul.configure({dialect:"ts"},"typescript"),R2=Ul.configure({dialect:"jsx",props:[bO.add(r=>r.isTop?[M2]:void 0)]}),V2=Ul.configure({dialect:"jsx ts",props:[bO.add(r=>r.isTop?[M2]:void 0)]},"typescript"),BN="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(r=>({label:r,type:"keyword"}));function Oc(r={}){let e=r.jsx?r.typescript?V2:R2:r.typescript?L2:Ul;return new vO(e,[Ul.data.of({autocomplete:H_(j2,O2(PN.concat(BN)))}),Ul.data.of({autocomplete:FN}),r.jsx?IN:[]])}function _N(r){for(;;){if(r.name=="JSXOpenTag"||r.name=="JSXSelfClosingTag"||r.name=="JSXFragmentTag")return r;if(r.name=="JSXEscape"||!r.parent)return null;r=r.parent}}function Yx(r,e,t=r.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return r.sliceString(n.from,Math.min(n.to,t));return""}function $N(r){return r&&(r.name=="JSXEndTag"||r.name=="JSXSelfCloseEndTag")}const NN=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),IN=ni.inputHandler.of((r,e,t,n)=>{if((NN?r.composing:r.compositionStarted)||r.state.readOnly||e!=t||n!=">"&&n!="/"||!Ul.isActiveAt(r.state,e,-1))return!1;let{state:i}=r,s=i.changeByRange(u=>{var p;let{head:f}=u,m=lo(i).resolveInner(f,-1),O;if(m.name=="JSXStartTag"&&(m=m.parent),!(m.name=="JSXAttributeValue"&&m.to>f)){if(n==">"&&m.name=="JSXFragmentTag")return{range:Tr.cursor(f+1),changes:{from:f,insert:"></>"}};if(n=="/"&&m.name=="JSXFragmentTag"){let b=m.parent,N=b==null?void 0:b.parent;if(b.from==f-1&&((p=N.lastChild)===null||p===void 0?void 0:p.name)!="JSXEndTag"&&(O=Yx(i.doc,N==null?void 0:N.firstChild,f))){let U=`/${O}>`;return{range:Tr.cursor(f+U.length),changes:{from:f,insert:U}}}}else if(n==">"){let b=_N(m);if(b&&!$N(b.lastChild)&&i.sliceDoc(f,f+2)!="</"&&(O=Yx(i.doc,b,f)))return{range:Tr.cursor(f+1),changes:{from:f,insert:`></${O}>`}}}}return{range:u}});return s.changes.empty?!1:(r.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}),QN=94,Gx=1,jN=95,MN=96,Hx=2,X2=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],LN=58,RN=40,U2=95,VN=91,Jd=45,XN=46,UN=35,WN=37;function jm(r){return r>=65&&r<=90||r>=97&&r<=122||r>=161}function qN(r){return r>=48&&r<=57}const ZN=new Eu((r,e)=>{for(let t=!1,n=0,i=0;;i++){let{next:s}=r;if(jm(s)||s==Jd||s==U2||t&&qN(s))!t&&(s!=Jd||i>0)&&(t=!0),n===i&&s==Jd&&n++,r.advance();else{t&&r.acceptToken(s==RN?jN:n==2&&e.canShift(Hx)?Hx:MN);break}}}),zN=new Eu(r=>{if(X2.includes(r.peek(-1))){let{next:e}=r;(jm(e)||e==U2||e==UN||e==XN||e==VN||e==LN||e==Jd)&&r.acceptToken(QN)}}),YN=new Eu(r=>{if(!X2.includes(r.peek(-1))){let{next:e}=r;if(e==WN&&(r.advance(),r.acceptToken(Gx)),jm(e)){do r.advance();while(jm(r.next));r.acceptToken(Gx)}}}),GN=Gf({"AtKeyword import charset namespace keyframes media supports":He.definitionKeyword,"from to selector":He.keyword,NamespaceName:He.namespace,KeyframeName:He.labelName,TagName:He.tagName,ClassName:He.className,PseudoClassName:He.constant(He.className),IdName:He.labelName,"FeatureName PropertyName":He.propertyName,AttributeName:He.attributeName,NumberLiteral:He.number,KeywordQuery:He.keyword,UnaryQueryOp:He.operatorKeyword,"CallTag ValueName":He.atom,VariableName:He.variableName,Callee:He.operatorKeyword,Unit:He.unit,"UniversalSelector NestingSelector":He.definitionOperator,MatchOp:He.compareOperator,"ChildOp SiblingOp, LogicOp":He.logicOperator,BinOp:He.arithmeticOperator,Important:He.modifier,Comment:He.blockComment,ParenthesizedContent:He.special(He.name),ColorLiteral:He.color,StringLiteral:He.string,":":He.punctuation,"PseudoOp #":He.derefOperator,"; ,":He.separator,"( )":He.paren,"[ ]":He.squareBracket,"{ }":He.brace}),HN={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},JN={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},KN={__proto__:null,not:128,only:128,from:158,to:160},e8=Tp.deserialize({version:14,states:"7WQYQ[OOO#_Q[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO#fQ[O'#CfO$YQXO'#CaO$aQ[O'#ChO$lQ[O'#DPO$qQ[O'#DTOOQP'#Ed'#EdO$vQdO'#DeO%bQ[O'#DrO$vQdO'#DtO%sQ[O'#DvO&OQ[O'#DyO&TQ[O'#EPO&cQ[O'#EROOQS'#Ec'#EcOOQS'#ET'#ETQYQ[OOO&jQXO'#CdO'_QWO'#DaO'dQWO'#EjO'oQ[O'#EjQOQWOOOOQP'#Cg'#CgOOQP,59Q,59QO#fQ[O,59QO'yQ[O'#EWO(eQWO,58{O(mQ[O,59SO$lQ[O,59kO$qQ[O,59oO'yQ[O,59sO'yQ[O,59uO'yQ[O,59vO(xQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)PQWO,59SO)UQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)ZQ`O,59oOOQS'#Cp'#CpO$vQdO'#CqO)cQvO'#CsO*pQtO,5:POOQO'#Cx'#CxO)UQWO'#CwO+UQWO'#CyOOQS'#Eg'#EgOOQO'#Dh'#DhO+ZQ[O'#DoO+iQWO'#EkO&TQ[O'#DmO+wQWO'#DpOOQO'#El'#ElO(hQWO,5:^O+|QpO,5:`OOQS'#Dx'#DxO,UQWO,5:bO,ZQ[O,5:bOOQO'#D{'#D{O,cQWO,5:eO,hQWO,5:kO,pQWO,5:mOOQS-E8R-E8RO$vQdO,59{O,xQ[O'#EYO-VQWO,5;UO-VQWO,5;UOOQP1G.l1G.lO-|QXO,5:rOOQO-E8U-E8UOOQS1G.g1G.gOOQP1G.n1G.nO)PQWO1G.nO)UQWO1G.nOOQP1G/V1G/VO.ZQ`O1G/ZO.tQXO1G/_O/[QXO1G/aO/rQXO1G/bO0YQWO,59zO0_Q[O'#DOO0fQdO'#CoOOQP1G/Z1G/ZO$vQdO1G/ZO0mQpO,59]OOQS,59_,59_O$vQdO,59aO0uQWO1G/kOOQS,59c,59cO0zQ!bO,59eO1SQWO'#DhO1_QWO,5:TO1dQWO,5:ZO&TQ[O,5:VO&TQ[O'#EZO1lQWO,5;VO1wQWO,5:XO'yQ[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2YQWO1G/|O2_QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO2mQtO1G/gOOQO,5:t,5:tO3TQ[O,5:tOOQO-E8W-E8WO3bQWO1G0pOOQP7+$Y7+$YOOQP7+$u7+$uO$vQdO7+$uOOQS1G/f1G/fO3mQXO'#EiO3tQWO,59jO3yQtO'#EUO4nQdO'#EfO4xQWO,59ZO4}QpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5VQWO1G/PO$vQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5[QWO,5:uOOQO-E8X-E8XO5jQXO1G/vOOQS7+%h7+%hO5qQYO'#CsO(hQWO'#E[O5yQdO,5:hOOQS,5:h,5:hO6XQtO'#EXO$vQdO'#EXO7VQdO7+%ROOQO7+%R7+%ROOQO1G0`1G0`O7jQpO<<HaO7rQWO,5;TOOQP1G/U1G/UOOQS-E8S-E8SO$vQdO'#EVO7zQWO,5;QOOQT1G.u1G.uOOQP<<Ha<<HaOOQS7+$k7+$kO8SQdO7+%ZOOQO7+%b7+%bOOQS,5:v,5:vOOQS-E8Y-E8YOOQS1G0S1G0SO8ZQtO,5:sOOQS-E8V-E8VOOQO<<Hm<<HmOOQPAN={AN={O9XQdO,5:qOOQO-E8T-E8TOOQO<<Hu<<Hu",stateData:"9i~O#UOSROS~OUXOXXO]UO^UOtVOxWO!Y`O!ZYO!gZO!i[O!k]O!n^O!t_O#SQO#XSO~OQeOUXOXXO]UO^UOtVOxWO!Y`O!ZYO!gZO!i[O!k]O!n^O!t_O#SdO#XSO~O#P#^P~P!ZO#SiO~O]nO^nOplOtoOxpO|qO!PsO#QrO#XkO~O!RtO~P#kO`zO#RwO#SvO~O#S{O~O#S}O~OQ!WOb!QOf!WOh!WOn!VO#R!TO#S!PO#[!RO~Ob!YO!b![O!e!]O#S!XO!R#_P~Oh!bOn!VO#S!aO~O#S!dO~Ob!YO!b![O!e!]O#S!XO~O!W#_P~P%bO]WX]!UX^WXpWXtWXxWX|WX!PWX!RWX#QWX#XWX~O]!iO~O!W!jO#P#^X!Q#^X~O#P#^X!Q#^X~P!ZOUXOXXO]UO^UOtVOxWO#SQO#XSO~OplO!RtO~O`!sO#RwO#SvO~O!Q#^P~P!ZOb!zO~Ob!{O~Ov!|Oz!}O~OP#PObgXjgX!WgX!bgX!egX#SgXagXQgXfgXhgXngXpgX!VgX#PgX#RgX#[gXvgX!QgX~Ob!YOj#QO!b![O!e!]O#S!XO!W#_P~Ob#TO~Ob!YO!b![O!e!]O#S#UO~Op#YO!`#XO!R#_X!W#_X~Ob#]O~Oj#QO!W#_O~O!W#`O~Oh#aOn!VO~O!R#bO~O!RtO!`#XO~O!RtO!W#eO~O!W!|X#P!|X!Q!|X~P!ZO!W!jO#P#^a!Q#^a~O]nO^nOtoOxpO|qO!PsO#QrO#XkO~Op!za!R!zaa!za~P-bOv#lOz#mO~O]nO^nOtoOxpO#XkO~Op{i|{i!P{i!R{i#Q{ia{i~P.cOp}i|}i!P}i!R}i#Q}ia}i~P.cOp!Oi|!Oi!P!Oi!R!Oi#Q!Oia!Oi~P.cO!Q#nO~Oa#]P~P'yOa#YP~P$vOa#uOj#QO~O!W#wO~Oh#xOo#xO~O]!^Xa![X!`![X~O]#yO~Oa#zO!`#XO~Op#YO!R#_a!W#_a~O!`#XOp!aa!R!aa!W!aaa!aa~O!W$PO~O!Q$TO!q$RO!r$RO#[$QO~Oj#QOp$VO!V$XO!W!Ti#P!Ti!Q!Ti~P$vO!W!|a#P!|a!Q!|a~P!ZO!W!jO#P#^i!Q#^i~Oa#]X~P#kOa$]O~Oj#QOQ!xXa!xXb!xXf!xXh!xXn!xXp!xX#R!xX#S!xX#[!xX~Op$_Oa#YX~P$vOa$aO~Oj#QOv$bO~Oa$cO~O!`#XOp!}a!R!}a!W!}a~Oa$eO~P-bOP#PO!RgX~O!Q$hO!q$RO!r$RO#[$QO~Oj#QOQ!{Xb!{Xf!{Xh!{Xn!{Xp!{X!V!{X!W!{X#P!{X#R!{X#S!{X#[!{X!Q!{X~Op$VO!V$kO!W!Tq#P!Tq!Q!Tq~P$vOj#QOv$lO~OplOa#]a~Op$_Oa#Ya~Oa$oO~P$vOj#QOQ!{ab!{af!{ah!{an!{ap!{a!V!{a!W!{a#P!{a#R!{a#S!{a#[!{a!Q!{a~Oa!yap!ya~P$vOo#[j!Pj~",goto:",`#aPPPPP#bP#k#zP#k$Z#kPP$aPPP$g$p$pP%SP$pP$p%j%|PPP&f&l#kP&rP#kP&xP#kP#k#kPPP'O'b'oPP#bPP'v'v(Q'vP'vP'v'vP#bP#bP#bP(T#bP(W(ZPP#bP#bP(^(m({)R)])c)m)sPPPPPP)y*SP*o*rP+h+k+q+z_aOPcgt!j#hkXOPcglqrst!j!z#]#hkROPcglqrst!j!z#]#hQjSR!mkQxUR!qnQ!qzQ#S!UR#k!sq!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mp!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mT$R#b$Sq!UY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mp!WY[!Q!i!{!}#Q#f#m#r#y$V$W$_$d$mQ!b]R#a!cQyUR!rnQ!qyR#k!rQ|VR!toQ!OWR!upQuTQ!pmQ#^!_Q#d!fQ#e!gR$f$RSfPtQ!lgQ#g!jR$Y#hZePgt!j#ha!^Z_`!S!Y![#X#YR#V!YR!c]R!e^R#c!eQcOSgPtU!hcg#hR#h!jQ#r!{U$^#r$d$mQ$d#yR$m$_Q$`#rR$n$`QmTS!om$[R$[#oQ$W#fR$j$WQ!kfS#i!k#jR#j!lQ#Z!ZR#}#ZQ$S#bR$g$S_bOPcgt!j#h^TOPcgt!j#hQ!nlQ!vqQ!wrQ!xsQ#o!zR$O#]R#s!{Q!SYQ!`[Q#O!QQ#f!i[#q!{#r#y$_$d$mQ#t!}Q#v#QS$U#f$WQ$Z#mR$i$VR#p!zQhPR!ytQ!_ZQ!g`R#R!SU!ZZ`!SQ!f_Q#W!YQ#[![Q#{#XR#|#Y",nodeNames:"⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent , PseudoClassName ArgList IdSelector # IdName ] AttributeSelector [ AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports AtRule Styles",maxTerm:108,nodeProps:[["openedBy",17,"(",48,"{"],["closedBy",18,")",49,"}"]],propSources:[GN],skippedNodes:[0,3],repeatNodeCount:8,tokenData:"Lq~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Cu![!]Dp!]!^El!^!_$}!_!`E}!`!aF`!a!b$}!b!cG[!c!}$}!}#OHt#O#P$}#P#QIV#Q#R6d#R#T$}#T#UIh#U#c$}#c#dJy#d#o$}#o#pK`#p#q6d#q#rKq#r#sLS#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`Lk<%lO$}W%QSOy%^z;'S%^;'S;=`%o<%lO%^W%cSoWOy%^z;'S%^;'S;=`%o<%lO%^W%rP;=`<%l%^~%zh#U~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#U~oWOX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^^)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^^)sUoWOy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^^*[UoWOy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^^*sUoWOy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^^+[UoWOy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^^+sUoWOy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^^,[UoWOy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^^,sUoWOy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^^-[UoWOy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^^-uS!VUoWOy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.R_/zYtPOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^^0oYoWOy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^^1dYoWOy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^^2ZYfUoWOy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^^3QYfUoWOy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^^3uYoWOy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^^4lYfUoWOy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^^5aYoWOy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^^6WSfUoWOy%^z;'S%^;'S;=`%o<%lO%^Y6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^Y7QSzQoWOy%^z;'S%^;'S;=`%o<%lO%^X7cSXPOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7o_9cSbVOy%^z;'S%^;'S;=`%o<%lO%^~9tOa~_9{UUPjSOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^_:fWjS!PPOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^^;TUoWOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^^;nYoW#[UOy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^^<cYoWOy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^=WUoWOy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^=qUoW#[UOy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^^>[[oW#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^_?VSpVOy%^z;'S%^;'S;=`%o<%lO%^^?hWjSOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^_@VU#XPOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjSOy%^z{@}{;'S%^;'S;=`%o<%lO%^~ASUoWOy@}yzAfz{Bm{;'S@};'S;=`Co<%lO@}~AiTOzAfz{Ax{;'SAf;'S;=`Bg<%lOAf~A{VOzAfz{Ax{!PAf!P!QBb!Q;'SAf;'S;=`Bg<%lOAf~BgOR~~BjP;=`<%lAf~BrWoWOy@}yzAfz{Bm{!P@}!P!QC[!Q;'S@};'S;=`Co<%lO@}~CcSoWR~Oy%^z;'S%^;'S;=`%o<%lO%^~CrP;=`<%l@}^Cz[#[UOy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^XDuU]POy%^z![%^![!]EX!];'S%^;'S;=`%o<%lO%^XE`S^PoWOy%^z;'S%^;'S;=`%o<%lO%^_EqS!WVOy%^z;'S%^;'S;=`%o<%lO%^YFSSzQOy%^z;'S%^;'S;=`%o<%lO%^XFeU|POy%^z!`%^!`!aFw!a;'S%^;'S;=`%o<%lO%^XGOS|PoWOy%^z;'S%^;'S;=`%o<%lO%^XG_WOy%^z!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHO[!YPoWOy%^z}%^}!OGw!O!Q%^!Q![Gw![!c%^!c!}Gw!}#T%^#T#oGw#o;'S%^;'S;=`%o<%lO%^XHySxPOy%^z;'S%^;'S;=`%o<%lO%^^I[SvUOy%^z;'S%^;'S;=`%o<%lO%^XIkUOy%^z#b%^#b#cI}#c;'S%^;'S;=`%o<%lO%^XJSUoWOy%^z#W%^#W#XJf#X;'S%^;'S;=`%o<%lO%^XJmS!`PoWOy%^z;'S%^;'S;=`%o<%lO%^XJ|UOy%^z#f%^#f#gJf#g;'S%^;'S;=`%o<%lO%^XKeS!RPOy%^z;'S%^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",tokenizers:[zN,YN,ZN,0,1,2,3],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:95,get:r=>HN[r]||-1},{term:56,get:r=>JN[r]||-1},{term:96,get:r=>KN[r]||-1}],tokenPrec:1123});let p0=null;function h0(){if(!p0&&typeof document=="object"&&document.body){let{style:r}=document.body,e=[],t=new Set;for(let n in r)n!="cssText"&&n!="cssFloat"&&typeof r[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),t.has(n)||(e.push(n),t.add(n)));p0=e.sort().map(n=>({type:"property",label:n}))}return p0||[]}const Jx=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(r=>({type:"class",label:r})),Kx=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(r=>({type:"keyword",label:r})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(r=>({type:"constant",label:r}))),t8=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(r=>({type:"type",label:r})),Dc=/^(\w[\w-]*|-\w[\w-]*|)$/,r8=/^-(-[\w-]*)?$/;function n8(r,e){var t;if((r.name=="("||r.type.isError)&&(r=r.parent||r),r.name!="ArgList")return!1;let n=(t=r.parent)===null||t===void 0?void 0:t.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const eb=new pS,i8=["Declaration"];function s8(r){for(let e=r;;){if(e.type.isTop)return e;if(!(e=e.parent))return r}}function W2(r,e,t){if(e.to-e.from>4096){let n=eb.get(e);if(n)return n;let i=[],s=new Set,u=e.cursor(Xs.IncludeAnonymous);if(u.firstChild())do for(let p of W2(r,u.node,t))s.has(p.label)||(s.add(p.label),i.push(p));while(u.nextSibling());return eb.set(e,i),i}else{let n=[],i=new Set;return e.cursor().iterate(s=>{var u;if(t(s)&&s.matchContext(i8)&&((u=s.node.nextSibling)===null||u===void 0?void 0:u.name)==":"){let p=r.sliceString(s.from,s.to);i.has(p)||(i.add(p),n.push({label:p,type:"variable"}))}}),n}}const o8=r=>e=>{let{state:t,pos:n}=e,i=lo(t).resolveInner(n,-1),s=i.type.isError&&i.from==i.to-1&&t.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(s||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:h0(),validFor:Dc};if(i.name=="ValueName")return{from:i.from,options:Kx,validFor:Dc};if(i.name=="PseudoClassName")return{from:i.from,options:Jx,validFor:Dc};if(r(i)||(e.explicit||s)&&n8(i,t.doc))return{from:r(i)||s?i.from:n,options:W2(t.doc,s8(i),r),validFor:r8};if(i.name=="TagName"){for(let{parent:f}=i;f;f=f.parent)if(f.name=="Block")return{from:i.from,options:h0(),validFor:Dc};return{from:i.from,options:t8,validFor:Dc}}if(!e.explicit)return null;let u=i.resolve(n),p=u.childBefore(n);return p&&p.name==":"&&u.name=="PseudoClassSelector"?{from:n,options:Jx,validFor:Dc}:p&&p.name==":"&&u.name=="Declaration"||u.name=="ArgList"?{from:n,options:Kx,validFor:Dc}:u.name=="Block"||u.name=="Styles"?{from:n,options:h0(),validFor:Dc}:null},a8=o8(r=>r.name=="VariableName"),Mm=wp.define({name:"css",parser:e8.configure({props:[Hf.add({Declaration:Gd()}),Jf.add({Block:DS})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function u8(){return new vO(Mm,Mm.data.of({autocomplete:a8}))}const Ty=1,l8=2,c8=3,p8=4,h8=5,f8=35,d8=36,m8=37,g8=11,y8=13;function O8(r){return r==45||r==46||r==58||r>=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function D8(r){return r==9||r==10||r==13||r==32}let tb=null,rb=null,nb=0;function ky(r,e){let t=r.pos+e;if(rb==r&&nb==t)return tb;for(;D8(r.peek(e));)e++;let n="";for(;;){let i=r.peek(e);if(!O8(i))break;n+=String.fromCharCode(i),e++}return rb=r,nb=t,tb=n||null}function ib(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t<r.length;t++)this.hash+=(this.hash<<4)+r.charCodeAt(t)+(r.charCodeAt(t)<<8)}const x8=new XO({start:null,shift(r,e,t,n){return e==Ty?new ib(ky(n,1)||"",r):r},reduce(r,e){return e==g8&&r?r.parent:r},reuse(r,e,t,n){let i=e.type.id;return i==Ty||i==y8?new ib(ky(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),b8=new Eu((r,e)=>{if(r.next==60){if(r.advance(),r.next==47){r.advance();let t=ky(r,0);if(!t)return r.acceptToken(h8);if(e.context&&t==e.context.name)return r.acceptToken(l8);for(let n=e.context;n;n=n.parent)if(n.name==t)return r.acceptToken(c8,-2);r.acceptToken(p8)}else if(r.next!=33&&r.next!=63)return r.acceptToken(Ty)}},{contextual:!0});function UO(r,e){return new Eu(t=>{for(let n=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(r);break}if(t.next==e.charCodeAt(n)){if(n++,n==e.length){i>=e.length&&t.acceptToken(r,1-e.length);break}}else n=t.next==e.charCodeAt(0)?1:0;t.advance()}})}const v8=UO(f8,"-->"),C8=UO(d8,"?>"),S8=UO(m8,"]]>"),E8=Gf({Text:He.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":He.angleBracket,TagName:He.tagName,"MismatchedCloseTag/Tagname":[He.tagName,He.invalid],AttributeName:He.attributeName,AttributeValue:He.attributeValue,Is:He.definitionOperator,"EntityReference CharacterReference":He.character,Comment:He.blockComment,ProcessingInst:He.processingInstruction,DoctypeDecl:He.documentMeta,Cdata:He.special(He.string)}),A8=Tp.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:x8,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"]],propSources:[E8],skippedNodes:[0],repeatNodeCount:8,tokenData:"IX~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O*l!O!P$n!P!Q,{!Q![$n![!].e!]!^$n!^!_1v!_!`Cz!`!aDm!a!bE`!b!c$n!c!}.e!}#P$n#P#QFx#Q#R$n#R#S.e#S#T$n#T#o.e#o%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U$n4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^VOp(sqs(sst)ht!](s!^;'S(s;'S;=`)b<%lO(s~(vVOp(sqs(st!](s!]!^)]!^;'S(s;'S;=`)b<%lO(s~)bOW~~)eP;=`<%l(s~)kTOp)zq!])z!^;'S)z;'S;=`*f<%lO)z~)}UOp)zq!])z!]!^*a!^;'S)z;'S;=`*f<%lO)z~*fOX~~*iP;=`<%l)zZ*sYVP{WOr$nrs%_sv$nw}$n}!O+c!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ+jYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a,Y!a;'S$n;'S;=`&e<%lO$nZ,cW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n]-SYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-r!a;'S$n;'S;=`&e<%lO$n]-{WdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_.p!O`S^QVP{WOr$nrs%_sv$nw}$n}!O.e!O!P.e!P!Q$n!Q![.e![!].e!]!^$n!^!_%y!_!c$n!c!}.e!}#R$n#R#S.e#S#T$n#T#o.e#o$}$n$}%O.e%O%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U.e4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Je$n$Je$Jg.e$Jg$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$n_1sP;=`<%l.eX1{W{WOq%yqr2esv%yw!a%y!a!bCd!b;'S%y;'S;=`&_<%lO%yX2j]{WOr%ysv%yw}%y}!O3c!O!f%y!f!g4e!g!}%y!}#O9t#O#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX3hV{WOr%ysv%yw}%y}!O3}!O;'S%y;'S;=`&_<%lO%yX4UT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX4jV{WOr%ysv%yw!q%y!q!r5P!r;'S%y;'S;=`&_<%lO%yX5UV{WOr%ysv%yw!e%y!e!f5k!f;'S%y;'S;=`&_<%lO%yX5pV{WOr%ysv%yw!v%y!v!w6V!w;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!{%y!{!|6q!|;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!r%y!r!s7]!s;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!g%y!g!h7w!h;'S%y;'S;=`&_<%lO%yX7|X{WOr7wrs8isv7wvw8iw!`7w!`!a9W!a;'S7w;'S;=`9n<%lO7wP8lTO!`8i!`!a8{!a;'S8i;'S;=`9Q<%lO8iP9QOiPP9TP;=`<%l8iX9_TiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX9qP;=`<%l7wX9yX{WOr%ysv%yw!e%y!e!f:f!f#V%y#V#W=t#W;'S%y;'S;=`&_<%lO%yX:kV{WOr%ysv%yw!f%y!f!g;Q!g;'S%y;'S;=`&_<%lO%yX;VV{WOr%ysv%yw!c%y!c!d;l!d;'S%y;'S;=`&_<%lO%yX;qV{WOr%ysv%yw!v%y!v!w<W!w;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!c%y!c!d<r!d;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!}%y!}#O=^#O;'S%y;'S;=`&_<%lO%yX=eT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX=yV{WOr%ysv%yw#W%y#W#X>`#X;'S%y;'S;=`&_<%lO%yX>eV{WOr%ysv%yw#T%y#T#U>z#U;'S%y;'S;=`&_<%lO%yX?PV{WOr%ysv%yw#h%y#h#i?f#i;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#T%y#T#U<r#U;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#c%y#c#d@l#d;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#V%y#V#WAW#W;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#h%y#h#iAr#i;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#m%y#m#nB^#n;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#d%y#d#eBx#e;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#X%y#X#Y7w#Y;'S%y;'S;=`&_<%lO%yXCkT!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZDTWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_DvW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZEgYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aFV!a;'S$n;'S;=`&e<%lO$nZF`W!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGPYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QGo#Q;'S$n;'S;=`&e<%lO$nZGvYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aHf!a;'S$n;'S;=`&e<%lO$nZHoWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[b8,v8,C8,S8,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function Kd(r,e){let t=e&&e.getChild("TagName");return t?r.sliceString(t.from,t.to):""}function f0(r,e){let t=e&&e.firstChild;return!t||t.name!="OpenTag"?"":Kd(r,t)}function w8(r,e,t){let n=e&&e.getChildren("Attribute").find(s=>s.from<=t&&s.to>=t),i=n&&n.getChild("AttributeName");return i?r.sliceString(i.from,i.to):""}function d0(r){for(let e=r&&r.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function P8(r,e){var t;let n=lo(r).resolveInner(e,-1),i=null;for(let s=n;!i&&s.parent;s=s.parent)(s.name=="OpenTag"||s.name=="CloseTag"||s.name=="SelfClosingTag"||s.name=="MismatchedCloseTag")&&(i=s);if(i&&(i.to>e||i.lastChild.type.isError)){let s=i.parent;if(n.name=="TagName")return i.name=="CloseTag"||i.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:s}:{type:"openTag",from:n.from,context:d0(s)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:i};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:i};let u=n==i||n.name=="Attribute"?n.childBefore(e):n;return(u==null?void 0:u.name)=="StartTag"?{type:"openTag",from:e,context:d0(s)}:(u==null?void 0:u.name)=="StartCloseTag"&&u.to<=e?{type:"closeTag",from:e,context:s}:(u==null?void 0:u.name)=="Is"?{type:"attrValue",from:e,context:i}:u?{type:"attrName",from:e,context:i}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:e,context:n.parent};for(;n.parent&&n.to==e&&!(!((t=n.lastChild)===null||t===void 0)&&t.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:e,context:n.name=="Element"?n:d0(n)}:null}let T8=class{constructor(e,t,n){this.attrs=t,this.attrValues=n,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(i=>({label:i,type:"text"})):[]}};const m0=/^[:\-\.\w\u00b7-\uffff]*$/;function sb(r){return Object.assign(Object.assign({type:"property"},r.completion||{}),{label:r.name})}function ob(r){return typeof r=="string"?{label:`"${r}"`,type:"constant"}:/^"/.test(r.label)?r:Object.assign(Object.assign({},r),{label:`"${r.label}"`})}function k8(r,e){let t=[],n=[],i=Object.create(null);for(let f of e){let m=sb(f);t.push(m),f.global&&n.push(m),f.values&&(i[f.name]=f.values.map(ob))}let s=[],u=[],p=Object.create(null);for(let f of r){let m=n,O=i;f.attributes&&(m=m.concat(f.attributes.map(N=>typeof N=="string"?t.find(U=>U.label==N)||{label:N,type:"property"}:(N.values&&(O==i&&(O=Object.create(O)),O[N.name]=N.values.map(ob)),sb(N)))));let b=new T8(f,m,O);p[b.name]=b,s.push(b),f.top&&u.push(b)}u.length||(u=s);for(let f=0;f<s.length;f++){let m=r[f],O=s[f];if(m.children)for(let b of m.children)p[b]&&O.children.push(p[b]);else O.children=s}return f=>{var m;let{doc:O}=f.state,b=P8(f.state,f.pos);if(!b||b.type=="tag"&&!f.explicit)return null;let{type:N,from:U,context:he}=b;if(N=="openTag"){let Re=u,Ge=f0(O,he);if(Ge){let $e=p[Ge];Re=($e==null?void 0:$e.children)||s}return{from:U,options:Re.map($e=>$e.completion),validFor:m0}}else if(N=="closeTag"){let Re=f0(O,he);return Re?{from:U,to:f.pos+(O.sliceString(f.pos,f.pos+1)==">"?1:0),options:[((m=p[Re])===null||m===void 0?void 0:m.closeNameCompletion)||{label:Re+">",type:"type"}],validFor:m0}:null}else if(N=="attrName"){let Re=p[Kd(O,he)];return{from:U,options:(Re==null?void 0:Re.attrs)||n,validFor:m0}}else if(N=="attrValue"){let Re=w8(O,he,U);if(!Re)return null;let Ge=p[Kd(O,he)],$e=((Ge==null?void 0:Ge.attrValues)||i)[Re];return!$e||!$e.length?null:{from:U,to:f.pos+(O.sliceString(f.pos,f.pos+1)=='"'?1:0),options:$e,validFor:/^"[^"]*"?$/}}else if(N=="tag"){let Re=f0(O,he),Ge=p[Re],$e=[],gt=he&&he.lastChild;Re&&(!gt||gt.name!="CloseTag"||Kd(O,gt)!=Re)&&$e.push(Ge?Ge.closeCompletion:{label:"</"+Re+">",type:"type",boost:2});let kt=$e.concat(((Ge==null?void 0:Ge.children)||(he?s:u)).map(qt=>qt.openCompletion));if(he&&(Ge!=null&&Ge.text.length)){let qt=he.firstChild;qt.to>f.pos-20&&!/\S/.test(f.state.sliceDoc(qt.to,f.pos))&&(kt=kt.concat(Ge.text))}return{from:U,options:kt,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const ab=wp.define({name:"xml",parser:A8.configure({props:[Hf.add({Element(r){let e=/^\s*<\//.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit}}),Jf.add({Element(r){let e=r.firstChild,t=r.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:t.name=="CloseTag"?t.from:r.to}}}),EO.add({"OpenTag CloseTag":r=>r.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function F8(r={}){return new vO(ab,ab.data.of({autocomplete:k8(r.elements||[],r.attributes||[])}))}const B8=54,_8=1,$8=55,N8=2,I8=56,Q8=3,Lm=4,q2=5,Z2=6,z2=7,Y2=8,j8=9,M8=10,L8=11,g0=57,R8=12,ub=58,V8=18,X8=20,G2=21,U8=22,Fy=24,H2=25,W8=27,q8=30,Z8=33,J2=35,z8=36,Y8=0,G8={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},H8={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},lb={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function J8(r){return r==45||r==46||r==58||r>=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function K2(r){return r==9||r==10||r==13||r==32}let cb=null,pb=null,hb=0;function By(r,e){let t=r.pos+e;if(hb==t&&pb==r)return cb;let n=r.peek(e);for(;K2(n);)n=r.peek(++e);let i="";for(;J8(n);)i+=String.fromCharCode(n),n=r.peek(++e);return pb=r,hb=t,cb=i?i.toLowerCase():n==K8||n==eI?void 0:null}const eE=60,tE=62,rE=47,K8=63,eI=33,tI=45;function fb(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t<r.length;t++)this.hash+=(this.hash<<4)+r.charCodeAt(t)+(r.charCodeAt(t)<<8)}const rI=[Lm,Y2,q2,Z2,z2],nI=new XO({start:null,shift(r,e,t,n){return rI.indexOf(e)>-1?new fb(By(n,1)||"",r):r},reduce(r,e){return e==V8&&r?r.parent:r},reuse(r,e,t,n){let i=e.type.id;return i==Lm||i==J2?new fb(By(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),iI=new Eu((r,e)=>{if(r.next!=eE){r.next<0&&e.context&&r.acceptToken(g0);return}r.advance();let t=r.next==rE;t&&r.advance();let n=By(r,0);if(n===void 0)return;if(!n)return r.acceptToken(t?R8:Lm);let i=e.context?e.context.name:null;if(t){if(n==i)return r.acceptToken(j8);if(i&&H8[i])return r.acceptToken(g0,-2);if(e.dialectEnabled(Y8))return r.acceptToken(M8);for(let s=e.context;s;s=s.parent)if(s.name==n)return;r.acceptToken(L8)}else{if(n=="script")return r.acceptToken(q2);if(n=="style")return r.acceptToken(Z2);if(n=="textarea")return r.acceptToken(z2);if(G8.hasOwnProperty(n))return r.acceptToken(Y2);i&&lb[i]&&lb[i][n]?r.acceptToken(g0,-1):r.acceptToken(Lm)}},{contextual:!0}),sI=new Eu(r=>{for(let e=0,t=0;;t++){if(r.next<0){t&&r.acceptToken(ub);break}if(r.next==tI)e++;else if(r.next==tE&&e>=2){t>3&&r.acceptToken(ub,-2);break}else e=0;r.advance()}});function WO(r,e,t){let n=2+r.length;return new Eu(i=>{for(let s=0,u=0,p=0;;p++){if(i.next<0){p&&i.acceptToken(e);break}if(s==0&&i.next==eE||s==1&&i.next==rE||s>=2&&s<n&&i.next==r.charCodeAt(s-2))s++,u++;else if((s==2||s==n)&&K2(i.next))u++;else if(s==n&&i.next==tE){p>u?i.acceptToken(e,-u):i.acceptToken(t,-(u-2));break}else if((i.next==10||i.next==13)&&p){i.acceptToken(e,1);break}else s=u=0;i.advance()}})}const oI=WO("script",B8,_8),aI=WO("style",$8,N8),uI=WO("textarea",I8,Q8),lI=Gf({"Text RawText":He.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":He.angleBracket,TagName:He.tagName,"MismatchedCloseTag/TagName":[He.tagName,He.invalid],AttributeName:He.attributeName,"AttributeValue UnquotedAttributeValue":He.attributeValue,Is:He.definitionOperator,"EntityReference CharacterReference":He.character,Comment:He.blockComment,ProcessingInst:He.processingInstruction,DoctypeDecl:He.documentMeta}),cI=Tp.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DTO$tQ!bO'#DVO$yQ!bO'#DWOOOW'#Dk'#DkOOOW'#DY'#DYQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%sQ#tO,59mOOOX'#D^'#D^O%{OXO'#CwO&WOXO,59YOOOY'#D_'#D_O&`OYO'#CzO&kOYO,59YOOO['#D`'#D`O&sO[O'#C}O'OO[O,59YOOOW'#Da'#DaO'WOxO,59YO'_Q!bO'#DQOOOW,59Y,59YOOO`'#Db'#DbO'dO!rO,59oOOOW,59o,59oO'lQ!bO,59qO'qQ!bO,59rOOOW-E7W-E7WO'vQ#tO'#CqOOQO'#DZ'#DZO(UQ#tO1G.uOOOX1G.u1G.uO(^Q#tO1G/POOOY1G/P1G/PO(fQ#tO1G/SOOO[1G/S1G/SO(nQ#tO1G/VOOOW1G/V1G/VOOOW1G/X1G/XO(yQ#tO1G/XOOOX-E7[-E7[O)RQ!bO'#CxOOOW1G.t1G.tOOOY-E7]-E7]O)WQ!bO'#C{OOO[-E7^-E7^O)]Q!bO'#DOOOOW-E7_-E7_O)bQ!bO,59lOOO`-E7`-E7`OOOW1G/Z1G/ZOOOW1G/]1G/]OOOW1G/^1G/^O)gQ&jO,59]OOQO-E7X-E7XOOOX7+$a7+$aOOOY7+$k7+$kOOO[7+$n7+$nOOOW7+$q7+$qOOOW7+$s7+$sO)rQ!bO,59dO)wQ!bO,59gO)|Q!bO,59jOOOW1G/W1G/WO*RO,UO'#CtO*dO7[O'#CtOOQO1G.w1G.wOOOW1G/O1G/OOOOW1G/R1G/ROOOW1G/U1G/UOOOO'#D['#D[O*uO,UO,59`OOQO,59`,59`OOOO'#D]'#D]O+WO7[O,59`OOOO-E7Y-E7YOOQO1G.z1G.zOOOO-E7Z-E7Z",stateData:"+u~O!^OS~OSSOTPOUQOVROWTOY]OZ[O[^O^^O_^O`^Oa^Ox^O{_O!dZO~OdaO~OdbO~OdcO~OddO~OdeO~O!WfOPkP!ZkP~O!XiOQnP!ZnP~O!YlORqP!ZqP~OSSOTPOUQOVROWTOXqOY]OZ[O[^O^^O_^O`^Oa^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SOv!TO~OfyOj!TO~O!WfOPkX!ZkX~OP!WO!Z!XO~O!XiOQnX!ZnX~OQ!ZO!Z!XO~O!YlORqX!ZqX~OR!]O!Z!XO~O!Z!XO~P#dOd!_O~O![sO!e!aO~Oj!bO~Oj!cO~Og!dOfeXjeXveX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iOv!jO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!`!oO!b!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!`!wO!a!uO~O_!xO`!xOa!xO!b!wO!c!xO~O_!uO`!uOa!uO!`!{O!a!uO~O_!xO`!xOa!xO!b!{O!c!xO~Ov~vj`!dx{_a_~",goto:"%p!`PPPPPPPPPPPPPPPPPP!a!gP!mPP!yPP!|#P#S#Y#]#`#f#i#l#r#xP!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag SelfClosingEndTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:nI,nodeProps:[["closedBy",-10,1,2,3,5,6,7,8,9,10,11,"EndTag",4,"EndTag SelfClosingEndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,39,40,41,42,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag",38,"StartTag"]],propSources:[lI],skippedNodes:[0],repeatNodeCount:9,tokenData:"#(r!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs4ysv-_vw5iwxJ^x}-_}!OKP!O!P-_!P!Q!!O!Q![-_![!]!$c!]!^-_!^!_!(k!_!`#'S!`!a#'z!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U-_4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!Z$|c^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX^P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT^POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W^P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYiWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`^P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ecfSiWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0uXfSqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0pS1eP;=`<%l0p[1kP;=`<%l/^!U1wbfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!U3SP;=`<%l1n!V3bcfS^P!a`!cpOq&Xqr3Vrs&}sv3Vvw0pwx(tx!P3V!P!Q&X!Q!^3V!^!_1n!_!a&X!a#s3V#s$f&X$f;'S3V;'S;=`4m<%l?Ah3V?Ah?BY&X?BY?Mn3V?MnO&X!V4pP;=`<%l3V!_4vP;=`<%l-_!Z5SV!`h^P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_5rjfSiWa!ROX7dXZ8qZ[7d[^8q^p7dqr:crs8qst@Ttw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^/^!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!Z7ibiWOX7dXZ8qZ[7d[^8q^p7dqr7drs8qst+Ptw7dwx8qx!]7d!]!^9f!^!a8q!a#S7d#S#T8q#T;'S7d;'S;=`:]<%lO7d!R8tVOp8qqs8qt!]8q!]!^9Z!^;'S8q;'S;=`9`<%lO8q!R9`O_!R!R9cP;=`<%l8q!Z9mYiW_!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z:`P;=`<%l7d!_:jjfSiWOX7dXZ8qZ[7d[^8q^p7dqr:crs8qst/^tw:cwx8qx!P:c!P!Q7d!Q!]:c!]!^<[!^!_=p!_!a8q!a#S:c#S#T=p#T#s:c#s$f7d$f;'S:c;'S;=`?}<%l?Ah:c?Ah?BY7d?BY?Mn:c?MnO7d!_<ecfSiW_!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V=udfSOp8qqr=prs8qst0ptw=pwx8qx!P=p!P!Q8q!Q!]=p!]!^?T!^!_=p!_!a8q!a#s=p#s$f8q$f;'S=p;'S;=`?w<%l?Ah=p?Ah?BY8q?BY?Mn=p?MnO8q!V?[XfS_!Rqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0p!V?zP;=`<%l=p!_@QP;=`<%l:c!_@[ifSiWOXAyXZCTZ[Ay[^CT^pAyqrDrrsCTswDrwxCTx!PDr!P!QAy!Q!]Dr!]!^/^!^!_G|!_!aCT!a#SDr#S#TG|#T#sDr#s$fAy$f;'SDr;'S;=`JW<%l?AhDr?Ah?BYAy?BY?MnDr?MnOAy!ZBOaiWOXAyXZCTZ[Ay[^CT^pAyqrAyrsCTswAywxCTx!]Ay!]!^Cu!^!aCT!a#SAy#S#TCT#T;'SAy;'S;=`Dl<%lOAy!RCWUOpCTq!]CT!]!^Cj!^;'SCT;'S;=`Co<%lOCT!RCoO`!R!RCrP;=`<%lCT!ZC|YiW`!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZDoP;=`<%lAy!_DyifSiWOXAyXZCTZ[Ay[^CT^pAyqrDrrsCTswDrwxCTx!PDr!P!QAy!Q!]Dr!]!^Fh!^!_G|!_!aCT!a#SDr#S#TG|#T#sDr#s$fAy$f;'SDr;'S;=`JW<%l?AhDr?Ah?BYAy?BY?MnDr?MnOAy!_FqcfSiW`!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!^!_0p!a#S/^#S#T0p#T#s/^#s$f+P$f;'S/^;'S;=`1h<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VHRcfSOpCTqrG|rsCTswG|wxCTx!PG|!P!QCT!Q!]G|!]!^I^!^!_G|!_!aCT!a#sG|#s$fCT$f;'SG|;'S;=`JQ<%l?AhG|?Ah?BYCT?BY?MnG|?MnOCT!VIeXfS`!Rqr0psw0px!P0p!Q!_0p!a#s0p$f;'S0p;'S;=`1b<%l?Ah0p?BY?Mn0p!VJTP;=`<%lG|!_JZP;=`<%lDr!ZJgW!bx^P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aK^lfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMU!O!P-_!P!Q$q!Q!^-_!^!_1n!_!a&X!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aMckfS^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_1n!_!`&X!`!a! W!a#S-_#S#T3V#T#s-_#s$f$q$f;'S-_;'S;=`4s<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!T! cX^P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!a!!Zd^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!`&X!`!a!#i!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!X!#vX^P!a`!cpvSjUOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!a!$r!ZfSdQ^PiW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!O!$c!O!P!$c!P!Q$q!Q![!$c![!]!$c!]!^-_!^!_1n!_!a&X!a!c-_!c!}!$c!}#R-_#R#S!$c#S#T3V#T#o!$c#o#s-_#s$f$q$f$}-_$}%O!$c%O%W-_%W%o!$c%o%p-_%p&a!$c&a&b-_&b1p!$c1p4U!$c4U4d!$c4d4e-_4e$IS!$c$IS$I`-_$I`$Ib!$c$Ib$Je-_$Je$Jg!$c$Jg$Kh-_$Kh%#t!$c%#t&/x-_&/x&Et!$c&Et&FV-_&FV;'S!$c;'S;:j!(e;:j;=`4s<%l?&r-_?&r?Ah!$c?Ah?BY$q?BY?Mn!$c?MnO$q!a!(hP;=`<%l!$c!V!(tcfS!a`!cpOq*Vqr!*Prs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!b!H^!b#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!*YhfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex}1n}!O!+t!O!P1n!P!Q*V!Q!_1n!_!a*V!a!f1n!f!g!.p!g#W1n#W#X!?^#X#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!+}dfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex}1n}!O!-]!O!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!-hbfS!a`!cp!dPOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!.ydfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!q1n!q!r!0X!r#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!0bdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!e1n!e!f!1p!f#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!1ydfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!v1n!v!w!3X!w#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!3bdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!{1n!{!|!4p!|#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!4ydfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!r1n!r!s!6X!s#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!6bdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a!g1n!g!h!7p!h#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!7ycfS!a`!cpOq!9Uqr!7prs!9{sv!7pvw!=swx!;ox!P!7p!P!Q!9U!Q!_!7p!_!`!9U!`!a!<}!a#s!7p#s$f!9U$f;'S!7p;'S;=`!?W<%l?Ah!7p?Ah?BY!9U?BY?Mn!7p?MnO!9U!R!9]Y!a`!cpOr!9Urs!9{sv!9Uvw!:gwx!;ox!`!9U!`!a!<}!a;'S!9U;'S;=`!=m<%lO!9Uq!:QV!cpOv!9{vx!:gx!`!9{!`!a!;U!a;'S!9{;'S;=`!;i<%lO!9{P!:jTO!`!:g!`!a!:y!a;'S!:g;'S;=`!;O<%lO!:gP!;OO{PP!;RP;=`<%l!:gq!;]S!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!;lP;=`<%l!9{a!;tX!a`Or!;ors!:gsv!;ovw!:gw!`!;o!`!a!<a!a;'S!;o;'S;=`!<w<%lO!;oa!<hT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!<zP;=`<%l!;o!R!=WV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!=pP;=`<%l!9UT!=xbfSOq!:gqr!=srs!:gsw!=swx!:gx!P!=s!P!Q!:g!Q!_!=s!_!`!:g!`!a!:y!a#s!=s#s$f!:g$f;'S!=s;'S;=`!?Q<%l?Ah!=s?Ah?BY!:g?BY?Mn!=s?MnO!:gT!?TP;=`<%l!=s!V!?ZP;=`<%l!7p!V!?gdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#c1n#c#d!@u#d#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!AOdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#V1n#V#W!B^#W#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!BgdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#h1n#h#i!Cu#i#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!DOdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#m1n#m#n!E^#n#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!EgdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#d1n#d#e!Fu#e#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!GOdfS!a`!cpOq*Vqr1nrs(Vsv1nvw0pwx)ex!P1n!P!Q*V!Q!_1n!_!a*V!a#X1n#X#Y!7p#Y#s1n#s$f*V$f;'S1n;'S;=`3P<%l?Ah1n?Ah?BY*V?BY?Mn1n?MnO*V!V!HgcfS!a`!cpOq!Irqr!H^rs!Jisv!H^vw#!vwx!MZx!P!H^!P!Q!Ir!Q!_!H^!_!a!Ir!a!b#%h!b#s!H^#s$f!Ir$f;'S!H^;'S;=`#&|<%l?Ah!H^?Ah?BY!Ir?BY?Mn!H^?MnO!Ir!R!IyY!a`!cpOr!Irrs!Jisv!Irvw!KTwx!MZx!a!Ir!a!b# Z!b;'S!Ir;'S;=`#!p<%lO!Irq!JnV!cpOv!Jivx!KTx!a!Ji!a!b!LU!b;'S!Ji;'S;=`!MT<%lO!JiP!KWTO!a!KT!a!b!Kg!b;'S!KT;'S;=`!LO<%lO!KTP!KjTO!`!KT!`!a!Ky!a;'S!KT;'S;=`!LO<%lO!KTP!LOOxPP!LRP;=`<%l!KTq!LZV!cpOv!Jivx!KTx!`!Ji!`!a!Lp!a;'S!Ji;'S;=`!MT<%lO!Jiq!LwS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!MWP;=`<%l!Jia!M`X!a`Or!MZrs!KTsv!MZvw!KTw!a!MZ!a!b!M{!b;'S!MZ;'S;=`# T<%lO!MZa!NQX!a`Or!MZrs!KTsv!MZvw!KTw!`!MZ!`!a!Nm!a;'S!MZ;'S;=`# T<%lO!MZa!NtT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea# WP;=`<%l!MZ!R# bY!a`!cpOr!Irrs!Jisv!Irvw!KTwx!MZx!`!Ir!`!a#!Q!a;'S!Ir;'S;=`#!p<%lO!Ir!R#!ZV!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R#!sP;=`<%l!IrT#!{bfSOq!KTqr#!vrs!KTsw#!vwx!KTx!P#!v!P!Q!KT!Q!_#!v!_!a!KT!a!b#$T!b#s#!v#s$f!KT$f;'S#!v;'S;=`#%b<%l?Ah#!v?Ah?BY!KT?BY?Mn#!v?MnO!KTT#$YbfSOq!KTqr#!vrs!KTsw#!vwx!KTx!P#!v!P!Q!KT!Q!_#!v!_!`!KT!`!a!Ky!a#s#!v#s$f!KT$f;'S#!v;'S;=`#%b<%l?Ah#!v?Ah?BY!KT?BY?Mn#!v?MnO!KTT#%eP;=`<%l#!v!V#%qcfS!a`!cpOq!Irqr!H^rs!Jisv!H^vw#!vwx!MZx!P!H^!P!Q!Ir!Q!_!H^!_!`!Ir!`!a#!Q!a#s!H^#s$f!Ir$f;'S!H^;'S;=`#&|<%l?Ah!H^?Ah?BY!Ir?BY?Mn!H^?MnO!Ir!V#'PP;=`<%l!H^!V#'_XgS^P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!X#(VX^P!a`!cpjUOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[oI,aI,uI,iI,sI,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function nE(r,e){let t=Object.create(null);for(let n of r.getChildren(G2)){let i=n.getChild(U8),s=n.getChild(Fy)||n.getChild(H2);i&&(t[e.read(i.from,i.to)]=s?s.type.id==Fy?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return t}function db(r,e){let t=r.getChild(X8);return t?e.read(t.from,t.to):" "}function y0(r,e,t){let n;for(let i of t)if(!i.attrs||i.attrs(n||(n=nE(r.node.parent.firstChild,e))))return{parser:i.parser};return null}function pI(r=[],e=[]){let t=[],n=[],i=[],s=[];for(let p of r)(p.tag=="script"?t:p.tag=="style"?n:p.tag=="textarea"?i:s).push(p);let u=e.length?Object.create(null):null;for(let p of e)(u[p.name]||(u[p.name]=[])).push(p);return c3((p,f)=>{let m=p.type.id;if(m==W8)return y0(p,f,t);if(m==q8)return y0(p,f,n);if(m==Z8)return y0(p,f,i);if(m==J2&&s.length){let O=p.node,b=db(O,f),N;for(let U of s)if(U.tag==b&&(!U.attrs||U.attrs(N||(N=nE(O,f))))){let he=O.parent.lastChild;return{parser:U.parser,overlay:[{from:p.to,to:he.type.id==z8?he.from:O.parent.to}]}}}if(u&&m==G2){let O=p.node,b;if(b=O.firstChild){let N=u[f.read(b.from,b.to)];if(N)for(let U of N){if(U.tagName&&U.tagName!=db(O.parent,f))continue;let he=O.lastChild;if(he.type.id==Fy)return{parser:U.parser,overlay:[{from:he.from+1,to:he.to-1}]};if(he.type.id==H2)return{parser:U.parser,overlay:[{from:he.from,to:he.to}]}}}}return null})}const iE="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(r=>"on"+r);for(let r of iE);const hI=[{tag:"script",attrs:r=>r.type=="text/typescript"||r.lang=="ts",parser:L2.parser},{tag:"script",attrs:r=>r.type=="text/babel"||r.type=="text/jsx",parser:R2.parser},{tag:"script",attrs:r=>r.type=="text/typescript-jsx",parser:V2.parser},{tag:"script",attrs(r){return!r.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(r.type)},parser:Ul.parser},{tag:"style",attrs(r){return(!r.lang||r.lang=="css")&&(!r.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(r.type))},parser:Mm.parser}],fI=[{name:"style",parser:Mm.parser.configure({top:"Styles"})}].concat(iE.map(r=>({name:r,parser:Ul.parser}))),dI=wp.define({name:"html",parser:cI.configure({props:[Hf.add({Element(r){let e=/^(\s*)(<\/)?/.exec(r.textAfter);return r.node.to<=r.pos+e[0].length?r.continue():r.lineIndent(r.node.from)+(e[2]?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit},Document(r){if(r.pos+/\s*/.exec(r.textAfter)[0].length<r.node.to)return r.continue();let e=null,t;for(let n=r.node;;){let i=n.lastChild;if(!i||i.name!="Element"||i.to!=n.to)break;e=n=i}return e&&!((t=e.lastChild)&&(t.name=="CloseTag"||t.name=="SelfClosingTag"))?r.lineIndent(e.from)+r.unit:null}}),Jf.add({Element(r){let e=r.firstChild,t=r.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:t.name=="CloseTag"?t.from:r.to}}}),EO.add({"OpenTag CloseTag":r=>r.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),em=dI.configure({wrap:pI(hI,fI)}),mI="var(--cm-keyword)",mb="var(--cm-property)",gI="var(--cm-punctuation)",yI="#ffffff",_y="var(--cm-foreground)",sE="var(--cm-line-number)",OI="var(--cm-comment)",DI="var(--cm-variable)",xI="var(--cm-string)",bI="var(--cm-background)",vI="var(--cm-line-highlight-background)",gb="var(--cm-background)",O0="#242222",CI="var(--cm-selection-background)",yb="#888",SI=ni.theme({"&":{color:_y,backgroundColor:gb},"& div":{flexDirection:"initial"},"&.cm-focused":{outline:"none"},".cm-content":{caretColor:yb},".cm-completionIcon":{display:"none"},".cm-cursor, .cm-dropCursor":{borderLeftColor:yb},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:CI},".cm-panels":{backgroundColor:bI,color:_y},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-line":{border:"1px solid transparent"},".cm-activeLine":{backgroundColor:vI,border:"1px solid var(--cm-line-highlight-border)"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"transparent"},".cm-gutters":{backgroundColor:gb,color:sE,border:"none"},".cm-activeLineGutter":{backgroundColor:"transparent",color:"#bfbaaa"},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:O0,color:"#c2beb3"},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:O0,borderBottomColor:O0},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:"#ffffff14",color:"#c2beb3"}}},{dark:!0}),EI=ed.define([{tag:[He.variableName,He.regexp],color:"var(--cm-decorator)"},{tag:[He.name,He.deleted,He.character,He.propertyName,He.macroName],color:mb},{tag:[He.function(He.variableName),He.labelName],color:DI},{tag:[He.color,He.constant(He.name),He.standard(He.name)],color:"#c99076"},{tag:[He.definition(He.name),He.separator],color:_y},{tag:[He.angleBracket],color:"#666666"},{tag:[He.brace],color:"#5eaab5"},{tag:[He.bracket],color:"#4d9375"},{tag:[He.typeName,He.className,He.number,He.changed,He.annotation,He.modifier,He.self,He.namespace,He.keyword,He.atom,He.bool,He.special(He.variableName)],color:mI},{tag:[He.definitionKeyword],color:"var(--cm-definition-keyword)"},{tag:[He.operator,He.operatorKeyword,He.url,He.escape,He.link,He.special(He.string)],color:gI},{tag:[He.meta,He.comment],color:OI},{tag:He.strong,fontWeight:"bold"},{tag:He.emphasis,fontStyle:"italic"},{tag:He.strikethrough,textDecoration:"line-through"},{tag:He.link,color:sE,textDecoration:"underline"},{tag:He.heading,fontWeight:"bold",color:mb},{tag:[He.processingInstruction,He.string,He.inserted],color:xI},{tag:He.invalid,color:yI}]),AI=[SI,wS(EI)],oE=Ii.define(),aE=Ii.define(),wI=Eo.define({create(){return ci.none},update(r,e){r=r.map(e.changes);for(const t of e.effects)t.is(oE)?r=r.update({add:t.value,sort:!0}):t.is(aE)&&(r=r.update({filter:t.value}));return r},provide:r=>ni.decorations.from(r)}),PI={xml:F8,css:u8,html:()=>em.extension,vue:()=>em.extension,svelte:()=>em.extension,js:Oc,mjs:Oc,cjs:Oc,ts:()=>Oc({typescript:!0}),mts:()=>Oc({typescript:!0}),cts:()=>Oc({typescript:!0}),jsx:()=>Oc({jsx:!0}),tsx:()=>Oc({typescript:!0,jsx:!0})};function TI(r,e,t={}){const n=[...LO];n.push({key:"Tab",run:C2});const i=Cs(()=>{const{mode:p="html",readOnly:f,autocomplete:m}=Xi(t);return[eN,AI,wI,PI[p](),p==="html"&&m&&em.data.of({autocomplete:m}),f&&hs.readOnly.of(!0),Zf.of(n)].filter(Boolean)});let s=!1;const u=new ni({parent:r.value,doc:e.value,extensions:i.value,dispatch(p){u.update([p]);const f=u.state.selection.main;if(f.from!==f.to?(u.contentDOM.style.setProperty("--cm-line-highlight-background","transparent"),u.contentDOM.style.setProperty("--cm-line-highlight-border","transparent")):(u.contentDOM.style.removeProperty("--cm-line-highlight-background"),u.contentDOM.style.removeProperty("--cm-line-highlight-border")),p.docChanged){if(s){s=!1;return}e.value=u.state.doc.toString()}},...Xi(t)});return $o(t,()=>{u.dispatch({effects:Ii.reconfigure.of(i.value)})}),$o(e,p=>{if(p!==u.state.doc.toString()){s=!0;const f=u.state.selection.ranges;u.dispatch({changes:{from:0,to:u.state.doc.length,insert:p},selection:Tr.create(f)})}},{immediate:!0}),u}const kI=Cu({__name:"CodeMirror",props:{modelValue:null,mode:null,readOnly:{type:Boolean},matched:null,getHint:null},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=go(),i=n3(t,"modelValue",e,{passive:!0});return Uf(async()=>{const s=TI(n,i,Nh({autocomplete:t.getHint,...wA(t)}));my(s.contentDOM.parentElement,"scroll",aF(()=>{s.requestMeasure()},50,!0));function u(m,O){const b=ci.mark({class:"highlighted"});s.dispatch({effects:oE.of([b.range(m,O)])})}function p(){s.dispatch({effects:aE.of((m,O)=>O<=0||m>=s.state.doc.toString().length)}),gP(t.modelValue,Array.from(t.matched||[]),!0).forEach(m=>u(m[0],m[1]))}let f=0;$o(()=>[t.modelValue,t.matched],async()=>{clearTimeout(f),t.matched&&(f=setTimeout(p,200))},{immediate:!0})}),(s,u)=>(qs(),Uo("div",{ref_key:"el",ref:n,relative:"","font-mono":"","text-sm":"","data-enable-grammarly":"false","h-full":""},null,512))}});const uE=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t},FI={},BI={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function _I(r,e){return qs(),Uo("div",BI,[om(r.$slots,"default")])}const $I=uE(FI,[["render",_I]]),NI={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":""},II={"mr-2":"","op-60":"","shrink-0":""},QI={flex:"","gap-2":"","flex-auto":""},jI=Cu({__name:"TitleBar",props:{title:null},emits:["titleClick"],setup(r,{emit:e}){return(t,n)=>(qs(),Uo("div",NI,[Di("div",{flex:"",onClick:n[0]||(n[0]=i=>e("titleClick",i))},[om(t.$slots,"before"),Di("div",II,aa(r.title),1)]),Di("div",QI,[om(t.$slots,"default")])]))}}),MI="/@vite/client",lE=ff(),cE=ff(),LI=lE.on,pE=cE.on;Qy(()=>import(MI),[]).then(r=>{const e=r.createHotContext("/");e.on("vite:beforeUpdate",t=>{t.updates.forEach(n=>{lE.trigger(n)})}),e.on("unocss:config-changed",()=>{cE.trigger()})}).catch(r=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(r)});const Dg="/__unocss_api",hE=ug(Dg).json(),qO=ug(`${Dg}/overview`,{immediate:!1}).json(),Mo=hE.data,Qd=qO.data;pE(()=>{hE.execute(),qO.execute()});function dQ(r){const e=ug(Cs(()=>`${Dg}/module?id=${encodeURIComponent(Xi(r))}`),{refetch:!0}).json();return pE(()=>e.execute()),LI(t=>{var n;(t.path===Xi(r)||t.path===Xi(r).slice(((n=Mo.value)==null?void 0:n.root.length)||0))&&setTimeout(()=>{e.execute()},50)}),e}function mQ(r,e){const t=oF(r,500);return ug(Cs(()=>`${Dg}/repl?token=${encodeURIComponent(t.value)}&safelist=${e.value}`),{refetch:!0}).json()}const eh=Cs(()=>{if(!Mo.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]},nodeModules:{children:{},items:[]}};const r=[],e=[],t=[];return Mo.value.modules.map(n=>({full:n,path:n})).forEach(n=>{n.full.includes("node_modules")?t.push(n):n.full.startsWith(Mo.value.root)?r.push(n):e.push(n)}),r.forEach(n=>n.path=n.path.slice(Mo.value.root.length+1)),{workspace:D0(r,"Project Root"),nodeModules:D0(t,"Node Modules"),root:D0(e,"Disk Root")}});function D0(r,e){const t={name:e,children:{},items:[]};function n(s,u,p=t){if(!s)return;if(u.length<=1){p.items.push(s);return}const f=u.shift();p.children[f]||(p.children[f]={name:f,children:{},items:[]}),n(s,u,p.children[f])}r.forEach(s=>{const u=s.path.split(/\//g).filter(Boolean);n(s,u)});function i(s){if(!s)return;const u=Object.values(s.children);if(u.length===1&&!s.items.length){const p=u[0];s.name=s.name?`${s.name}/${p.name}`:p.name,s.items=p.items,s.children=p.children,i(s)}else u.forEach(i)}return Object.values(t.children).forEach(i),t}const RI={key:0,"ws-wrap":""},VI=Di("span",{op80:""},".",-1),XI={key:1},UI=Cu({__name:"ModuleId",props:{id:null},setup(r){return(e,t)=>r.id&&Xi(Mo)?(qs(),Uo("span",RI,[r.id.startsWith(Xi(Mo).root)?(qs(),Uo(ua,{key:0},[VI,Di("span",null,aa(r.id.slice(Xi(Mo).root.length)),1)],64)):(qs(),Uo("span",XI,aa(r.id),1))])):lf("",!0)}});function WI(r,e){const t=go(null);return GF(r,()=>{var i;const n=(i=$f(r))==null?void 0:i.clientHeight;t.value=n?`--${e}: calc(100vh - ${n}px - 2px);`:null}),t}var fE={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(me,ue)=>()=>(ue||me((ue={exports:{}}).exports,ue),ue.exports),n=t((me,ue)=>{var oe=function(Ce){return Ce&&Ce.Math==Math&&Ce};ue.exports=oe(typeof globalThis=="object"&&globalThis)||oe(typeof window=="object"&&window)||oe(typeof self=="object"&&self)||oe(typeof ql=="object"&&ql)||function(){return this}()||Function("return this")()}),i=t((me,ue)=>{ue.exports=function(oe){try{return!!oe()}catch{return!0}}}),s=t((me,ue)=>{var oe=i();ue.exports=!oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),u=t((me,ue)=>{var oe=i();ue.exports=!oe(function(){var Ce=function(){}.bind();return typeof Ce!="function"||Ce.hasOwnProperty("prototype")})}),p=t((me,ue)=>{var oe=u(),Ce=Function.prototype.call;ue.exports=oe?Ce.bind(Ce):function(){return Ce.apply(Ce,arguments)}}),f=t(me=>{var ue={}.propertyIsEnumerable,oe=Object.getOwnPropertyDescriptor,Ce=oe&&!ue.call({1:2},1);me.f=Ce?function(De){var Me=oe(this,De);return!!Me&&Me.enumerable}:ue}),m=t((me,ue)=>{ue.exports=function(oe,Ce){return{enumerable:!(oe&1),configurable:!(oe&2),writable:!(oe&4),value:Ce}}}),O=t((me,ue)=>{var oe=u(),Ce=Function.prototype,De=Ce.call,Me=oe&&Ce.bind.bind(De,De);ue.exports=oe?Me:function(rt){return function(){return De.apply(rt,arguments)}}}),b=t((me,ue)=>{var oe=O(),Ce=oe({}.toString),De=oe("".slice);ue.exports=function(Me){return De(Ce(Me),8,-1)}}),N=t((me,ue)=>{var oe=O(),Ce=i(),De=b(),Me=Object,rt=oe("".split);ue.exports=Ce(function(){return!Me("z").propertyIsEnumerable(0)})?function(ht){return De(ht)=="String"?rt(ht,""):Me(ht)}:Me}),U=t((me,ue)=>{ue.exports=function(oe){return oe==null}}),he=t((me,ue)=>{var oe=U(),Ce=TypeError;ue.exports=function(De){if(oe(De))throw Ce("Can't call method on "+De);return De}}),Re=t((me,ue)=>{var oe=N(),Ce=he();ue.exports=function(De){return oe(Ce(De))}}),Ge=t((me,ue)=>{var oe=typeof document=="object"&&document.all,Ce=typeof oe>"u"&&oe!==void 0;ue.exports={all:oe,IS_HTMLDDA:Ce}}),$e=t((me,ue)=>{var oe=Ge(),Ce=oe.all;ue.exports=oe.IS_HTMLDDA?function(De){return typeof De=="function"||De===Ce}:function(De){return typeof De=="function"}}),gt=t((me,ue)=>{var oe=$e(),Ce=Ge(),De=Ce.all;ue.exports=Ce.IS_HTMLDDA?function(Me){return typeof Me=="object"?Me!==null:oe(Me)||Me===De}:function(Me){return typeof Me=="object"?Me!==null:oe(Me)}}),kt=t((me,ue)=>{var oe=n(),Ce=$e(),De=function(Me){return Ce(Me)?Me:void 0};ue.exports=function(Me,rt){return arguments.length<2?De(oe[Me]):oe[Me]&&oe[Me][rt]}}),qt=t((me,ue)=>{var oe=O();ue.exports=oe({}.isPrototypeOf)}),Yt=t((me,ue)=>{var oe=kt();ue.exports=oe("navigator","userAgent")||""}),Pr=t((me,ue)=>{var oe=n(),Ce=Yt(),De=oe.process,Me=oe.Deno,rt=De&&De.versions||Me&&Me.version,ht=rt&&rt.v8,Ye,xt;ht&&(Ye=ht.split("."),xt=Ye[0]>0&&Ye[0]<4?1:+(Ye[0]+Ye[1])),!xt&&Ce&&(Ye=Ce.match(/Edge\/(\d+)/),(!Ye||Ye[1]>=74)&&(Ye=Ce.match(/Chrome\/(\d+)/),Ye&&(xt=+Ye[1]))),ue.exports=xt}),vr=t((me,ue)=>{var oe=Pr(),Ce=i();ue.exports=!!Object.getOwnPropertySymbols&&!Ce(function(){var De=Symbol();return!String(De)||!(Object(De)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})}),mr=t((me,ue)=>{var oe=vr();ue.exports=oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),kr=t((me,ue)=>{var oe=kt(),Ce=$e(),De=qt(),Me=mr(),rt=Object;ue.exports=Me?function(ht){return typeof ht=="symbol"}:function(ht){var Ye=oe("Symbol");return Ce(Ye)&&De(Ye.prototype,rt(ht))}}),Rr=t((me,ue)=>{var oe=String;ue.exports=function(Ce){try{return oe(Ce)}catch{return"Object"}}}),dn=t((me,ue)=>{var oe=$e(),Ce=Rr(),De=TypeError;ue.exports=function(Me){if(oe(Me))return Me;throw De(Ce(Me)+" is not a function")}}),Nn=t((me,ue)=>{var oe=dn(),Ce=U();ue.exports=function(De,Me){var rt=De[Me];return Ce(rt)?void 0:oe(rt)}}),Bi=t((me,ue)=>{var oe=p(),Ce=$e(),De=gt(),Me=TypeError;ue.exports=function(rt,ht){var Ye,xt;if(ht==="string"&&Ce(Ye=rt.toString)&&!De(xt=oe(Ye,rt))||Ce(Ye=rt.valueOf)&&!De(xt=oe(Ye,rt))||ht!=="string"&&Ce(Ye=rt.toString)&&!De(xt=oe(Ye,rt)))return xt;throw Me("Can't convert object to primitive value")}}),Gi=t((me,ue)=>{ue.exports=!1}),Si=t((me,ue)=>{var oe=n(),Ce=Object.defineProperty;ue.exports=function(De,Me){try{Ce(oe,De,{value:Me,configurable:!0,writable:!0})}catch{oe[De]=Me}return Me}}),jn=t((me,ue)=>{var oe=n(),Ce=Si(),De="__core-js_shared__",Me=oe[De]||Ce(De,{});ue.exports=Me}),ti=t((me,ue)=>{var oe=Gi(),Ce=jn();(ue.exports=function(De,Me){return Ce[De]||(Ce[De]=Me!==void 0?Me:{})})("versions",[]).push({version:"3.26.1",mode:oe?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Mn=t((me,ue)=>{var oe=he(),Ce=Object;ue.exports=function(De){return Ce(oe(De))}}),Sn=t((me,ue)=>{var oe=O(),Ce=Mn(),De=oe({}.hasOwnProperty);ue.exports=Object.hasOwn||function(Me,rt){return De(Ce(Me),rt)}}),es=t((me,ue)=>{var oe=O(),Ce=0,De=Math.random(),Me=oe(1 .toString);ue.exports=function(rt){return"Symbol("+(rt===void 0?"":rt)+")_"+Me(++Ce+De,36)}}),Qi=t((me,ue)=>{var oe=n(),Ce=ti(),De=Sn(),Me=es(),rt=vr(),ht=mr(),Ye=Ce("wks"),xt=oe.Symbol,nr=xt&&xt.for,Jt=ht?xt:xt&&xt.withoutSetter||Me;ue.exports=function(yr){if(!De(Ye,yr)||!(rt||typeof Ye[yr]=="string")){var br="Symbol."+yr;rt&&De(xt,yr)?Ye[yr]=xt[yr]:ht&&nr?Ye[yr]=nr(br):Ye[yr]=Jt(br)}return Ye[yr]}}),os=t((me,ue)=>{var oe=p(),Ce=gt(),De=kr(),Me=Nn(),rt=Bi(),ht=Qi(),Ye=TypeError,xt=ht("toPrimitive");ue.exports=function(nr,Jt){if(!Ce(nr)||De(nr))return nr;var yr=Me(nr,xt),br;if(yr){if(Jt===void 0&&(Jt="default"),br=oe(yr,nr,Jt),!Ce(br)||De(br))return br;throw Ye("Can't convert object to primitive value")}return Jt===void 0&&(Jt="number"),rt(nr,Jt)}}),Es=t((me,ue)=>{var oe=os(),Ce=kr();ue.exports=function(De){var Me=oe(De,"string");return Ce(Me)?Me:Me+""}}),ys=t((me,ue)=>{var oe=n(),Ce=gt(),De=oe.document,Me=Ce(De)&&Ce(De.createElement);ue.exports=function(rt){return Me?De.createElement(rt):{}}}),Cr=t((me,ue)=>{var oe=s(),Ce=i(),De=ys();ue.exports=!oe&&!Ce(function(){return Object.defineProperty(De("div"),"a",{get:function(){return 7}}).a!=7})}),mn=t(me=>{var ue=s(),oe=p(),Ce=f(),De=m(),Me=Re(),rt=Es(),ht=Sn(),Ye=Cr(),xt=Object.getOwnPropertyDescriptor;me.f=ue?xt:function(nr,Jt){if(nr=Me(nr),Jt=rt(Jt),Ye)try{return xt(nr,Jt)}catch{}if(ht(nr,Jt))return De(!oe(Ce.f,nr,Jt),nr[Jt])}}),fn=t((me,ue)=>{var oe=s(),Ce=i();ue.exports=oe&&Ce(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),En=t((me,ue)=>{var oe=gt(),Ce=String,De=TypeError;ue.exports=function(Me){if(oe(Me))return Me;throw De(Ce(Me)+" is not an object")}}),xi=t(me=>{var ue=s(),oe=Cr(),Ce=fn(),De=En(),Me=Es(),rt=TypeError,ht=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,xt="enumerable",nr="configurable",Jt="writable";me.f=ue?Ce?function(yr,br,Oe){if(De(yr),br=Me(br),De(Oe),typeof yr=="function"&&br==="prototype"&&"value"in Oe&&Jt in Oe&&!Oe[Jt]){var un=Ye(yr,br);un&&un[Jt]&&(yr[br]=Oe.value,Oe={configurable:nr in Oe?Oe[nr]:un[nr],enumerable:xt in Oe?Oe[xt]:un[xt],writable:!1})}return ht(yr,br,Oe)}:ht:function(yr,br,Oe){if(De(yr),br=Me(br),De(Oe),oe)try{return ht(yr,br,Oe)}catch{}if("get"in Oe||"set"in Oe)throw rt("Accessors not supported");return"value"in Oe&&(yr[br]=Oe.value),yr}}),ss=t((me,ue)=>{var oe=s(),Ce=xi(),De=m();ue.exports=oe?function(Me,rt,ht){return Ce.f(Me,rt,De(1,ht))}:function(Me,rt,ht){return Me[rt]=ht,Me}}),$i=t((me,ue)=>{var oe=s(),Ce=Sn(),De=Function.prototype,Me=oe&&Object.getOwnPropertyDescriptor,rt=Ce(De,"name"),ht=rt&&function(){}.name==="something",Ye=rt&&(!oe||oe&&Me(De,"name").configurable);ue.exports={EXISTS:rt,PROPER:ht,CONFIGURABLE:Ye}}),qe=t((me,ue)=>{var oe=O(),Ce=$e(),De=jn(),Me=oe(Function.toString);Ce(De.inspectSource)||(De.inspectSource=function(rt){return Me(rt)}),ue.exports=De.inspectSource}),yt=t((me,ue)=>{var oe=n(),Ce=$e(),De=oe.WeakMap;ue.exports=Ce(De)&&/native code/.test(String(De))}),pr=t((me,ue)=>{var oe=ti(),Ce=es(),De=oe("keys");ue.exports=function(Me){return De[Me]||(De[Me]=Ce(Me))}}),gr=t((me,ue)=>{ue.exports={}}),$r=t((me,ue)=>{var oe=yt(),Ce=n(),De=gt(),Me=ss(),rt=Sn(),ht=jn(),Ye=pr(),xt=gr(),nr="Object already initialized",Jt=Ce.TypeError,yr=Ce.WeakMap,br,Oe,un,pn=function(ze){return un(ze)?Oe(ze):br(ze,{})},si=function(ze){return function(xs){var Ao;if(!De(xs)||(Ao=Oe(xs)).type!==ze)throw Jt("Incompatible receiver, "+ze+" required");return Ao}};oe||ht.state?(yi=ht.state||(ht.state=new yr),yi.get=yi.get,yi.has=yi.has,yi.set=yi.set,br=function(ze,xs){if(yi.has(ze))throw Jt(nr);return xs.facade=ze,yi.set(ze,xs),xs},Oe=function(ze){return yi.get(ze)||{}},un=function(ze){return yi.has(ze)}):(zi=Ye("state"),xt[zi]=!0,br=function(ze,xs){if(rt(ze,zi))throw Jt(nr);return xs.facade=ze,Me(ze,zi,xs),xs},Oe=function(ze){return rt(ze,zi)?ze[zi]:{}},un=function(ze){return rt(ze,zi)});var yi,zi;ue.exports={set:br,get:Oe,has:un,enforce:pn,getterFor:si}}),Yr=t((me,ue)=>{var oe=i(),Ce=$e(),De=Sn(),Me=s(),rt=$i().CONFIGURABLE,ht=qe(),Ye=$r(),xt=Ye.enforce,nr=Ye.get,Jt=Object.defineProperty,yr=Me&&!oe(function(){return Jt(function(){},"length",{value:8}).length!==8}),br=String(String).split("String"),Oe=ue.exports=function(un,pn,si){String(pn).slice(0,7)==="Symbol("&&(pn="["+String(pn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),si&&si.getter&&(pn="get "+pn),si&&si.setter&&(pn="set "+pn),(!De(un,"name")||rt&&un.name!==pn)&&(Me?Jt(un,"name",{value:pn,configurable:!0}):un.name=pn),yr&&si&&De(si,"arity")&&un.length!==si.arity&&Jt(un,"length",{value:si.arity});try{si&&De(si,"constructor")&&si.constructor?Me&&Jt(un,"prototype",{writable:!1}):un.prototype&&(un.prototype=void 0)}catch{}var yi=xt(un);return De(yi,"source")||(yi.source=br.join(typeof pn=="string"?pn:"")),un};Function.prototype.toString=Oe(function(){return Ce(this)&&nr(this).source||ht(this)},"toString")}),gn=t((me,ue)=>{var oe=$e(),Ce=xi(),De=Yr(),Me=Si();ue.exports=function(rt,ht,Ye,xt){xt||(xt={});var nr=xt.enumerable,Jt=xt.name!==void 0?xt.name:ht;if(oe(Ye)&&De(Ye,Jt,xt),xt.global)nr?rt[ht]=Ye:Me(ht,Ye);else{try{xt.unsafe?rt[ht]&&(nr=!0):delete rt[ht]}catch{}nr?rt[ht]=Ye:Ce.f(rt,ht,{value:Ye,enumerable:!1,configurable:!xt.nonConfigurable,writable:!xt.nonWritable})}return rt}}),Gr=t((me,ue)=>{var oe=Math.ceil,Ce=Math.floor;ue.exports=Math.trunc||function(De){var Me=+De;return(Me>0?Ce:oe)(Me)}}),rn=t((me,ue)=>{var oe=Gr();ue.exports=function(Ce){var De=+Ce;return De!==De||De===0?0:oe(De)}}),Vr=t((me,ue)=>{var oe=rn(),Ce=Math.max,De=Math.min;ue.exports=function(Me,rt){var ht=oe(Me);return ht<0?Ce(ht+rt,0):De(ht,rt)}}),Yn=t((me,ue)=>{var oe=rn(),Ce=Math.min;ue.exports=function(De){return De>0?Ce(oe(De),9007199254740991):0}}),Dn=t((me,ue)=>{var oe=Yn();ue.exports=function(Ce){return oe(Ce.length)}}),Gn=t((me,ue)=>{var oe=Re(),Ce=Vr(),De=Dn(),Me=function(rt){return function(ht,Ye,xt){var nr=oe(ht),Jt=De(nr),yr=Ce(xt,Jt),br;if(rt&&Ye!=Ye){for(;Jt>yr;)if(br=nr[yr++],br!=br)return!0}else for(;Jt>yr;yr++)if((rt||yr in nr)&&nr[yr]===Ye)return rt||yr||0;return!rt&&-1}};ue.exports={includes:Me(!0),indexOf:Me(!1)}}),Ei=t((me,ue)=>{var oe=O(),Ce=Sn(),De=Re(),Me=Gn().indexOf,rt=gr(),ht=oe([].push);ue.exports=function(Ye,xt){var nr=De(Ye),Jt=0,yr=[],br;for(br in nr)!Ce(rt,br)&&Ce(nr,br)&&ht(yr,br);for(;xt.length>Jt;)Ce(nr,br=xt[Jt++])&&(~Me(yr,br)||ht(yr,br));return yr}}),Mi=t((me,ue)=>{ue.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),as=t(me=>{var ue=Ei(),oe=Mi(),Ce=oe.concat("length","prototype");me.f=Object.getOwnPropertyNames||function(De){return ue(De,Ce)}}),ns=t(me=>{me.f=Object.getOwnPropertySymbols}),As=t((me,ue)=>{var oe=kt(),Ce=O(),De=as(),Me=ns(),rt=En(),ht=Ce([].concat);ue.exports=oe("Reflect","ownKeys")||function(Ye){var xt=De.f(rt(Ye)),nr=Me.f;return nr?ht(xt,nr(Ye)):xt}}),Oo=t((me,ue)=>{var oe=Sn(),Ce=As(),De=mn(),Me=xi();ue.exports=function(rt,ht,Ye){for(var xt=Ce(ht),nr=Me.f,Jt=De.f,yr=0;yr<xt.length;yr++){var br=xt[yr];!oe(rt,br)&&!(Ye&&oe(Ye,br))&&nr(rt,br,Jt(ht,br))}}}),fa=t((me,ue)=>{var oe=i(),Ce=$e(),De=/#|\.prototype\./,Me=function(nr,Jt){var yr=ht[rt(nr)];return yr==xt?!0:yr==Ye?!1:Ce(Jt)?oe(Jt):!!Jt},rt=Me.normalize=function(nr){return String(nr).replace(De,".").toLowerCase()},ht=Me.data={},Ye=Me.NATIVE="N",xt=Me.POLYFILL="P";ue.exports=Me}),Wo=t((me,ue)=>{var oe=n(),Ce=mn().f,De=ss(),Me=gn(),rt=Si(),ht=Oo(),Ye=fa();ue.exports=function(xt,nr){var Jt=xt.target,yr=xt.global,br=xt.stat,Oe,un,pn,si,yi,zi;if(yr?un=oe:br?un=oe[Jt]||rt(Jt,{}):un=(oe[Jt]||{}).prototype,un)for(pn in nr){if(yi=nr[pn],xt.dontCallGetSet?(zi=Ce(un,pn),si=zi&&zi.value):si=un[pn],Oe=Ye(yr?pn:Jt+(br?".":"#")+pn,xt.forced),!Oe&&si!==void 0){if(typeof yi==typeof si)continue;ht(yi,si)}(xt.sham||si&&si.sham)&&De(yi,"sham",!0),Me(un,pn,yi,xt)}}}),da=t((me,ue)=>{var oe=b();ue.exports=Array.isArray||function(Ce){return oe(Ce)=="Array"}}),Au=t((me,ue)=>{var oe=TypeError,Ce=9007199254740991;ue.exports=function(De){if(De>Ce)throw oe("Maximum allowed index exceeded");return De}}),to=t((me,ue)=>{var oe=b(),Ce=O();ue.exports=function(De){if(oe(De)==="Function")return Ce(De)}}),zr=t((me,ue)=>{var oe=to(),Ce=dn(),De=u(),Me=oe(oe.bind);ue.exports=function(rt,ht){return Ce(rt),ht===void 0?rt:De?Me(rt,ht):function(){return rt.apply(ht,arguments)}}}),Ht=t((me,ue)=>{var oe=da(),Ce=Dn(),De=Au(),Me=zr(),rt=function(ht,Ye,xt,nr,Jt,yr,br,Oe){for(var un=Jt,pn=0,si=br?Me(br,Oe):!1,yi,zi;pn<nr;)pn in xt&&(yi=si?si(xt[pn],pn,Ye):xt[pn],yr>0&&oe(yi)?(zi=Ce(yi),un=rt(ht,Ye,yi,zi,un,yr-1)-1):(De(un+1),ht[un]=yi),un++),pn++;return un};ue.exports=rt}),zt=t((me,ue)=>{var oe=Qi(),Ce=oe("toStringTag"),De={};De[Ce]="z",ue.exports=String(De)==="[object z]"}),or=t((me,ue)=>{var oe=zt(),Ce=$e(),De=b(),Me=Qi(),rt=Me("toStringTag"),ht=Object,Ye=De(function(){return arguments}())=="Arguments",xt=function(nr,Jt){try{return nr[Jt]}catch{}};ue.exports=oe?De:function(nr){var Jt,yr,br;return nr===void 0?"Undefined":nr===null?"Null":typeof(yr=xt(Jt=ht(nr),rt))=="string"?yr:Ye?De(Jt):(br=De(Jt))=="Object"&&Ce(Jt.callee)?"Arguments":br}}),ar=t((me,ue)=>{var oe=O(),Ce=i(),De=$e(),Me=or(),rt=kt(),ht=qe(),Ye=function(){},xt=[],nr=rt("Reflect","construct"),Jt=/^\s*(?:class|function)\b/,yr=oe(Jt.exec),br=!Jt.exec(Ye),Oe=function(pn){if(!De(pn))return!1;try{return nr(Ye,xt,pn),!0}catch{return!1}},un=function(pn){if(!De(pn))return!1;switch(Me(pn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return br||!!yr(Jt,ht(pn))}catch{return!0}};un.sham=!0,ue.exports=!nr||Ce(function(){var pn;return Oe(Oe.call)||!Oe(Object)||!Oe(function(){pn=!0})||pn})?un:Oe}),xr=t((me,ue)=>{var oe=da(),Ce=ar(),De=gt(),Me=Qi(),rt=Me("species"),ht=Array;ue.exports=function(Ye){var xt;return oe(Ye)&&(xt=Ye.constructor,Ce(xt)&&(xt===ht||oe(xt.prototype))?xt=void 0:De(xt)&&(xt=xt[rt],xt===null&&(xt=void 0))),xt===void 0?ht:xt}}),Hr=t((me,ue)=>{var oe=xr();ue.exports=function(Ce,De){return new(oe(Ce))(De===0?0:De)}}),It=t(()=>{var me=Wo(),ue=Ht(),oe=dn(),Ce=Mn(),De=Dn(),Me=Hr();me({target:"Array",proto:!0},{flatMap:function(rt){var ht=Ce(this),Ye=De(ht),xt;return oe(rt),xt=Me(ht,0),xt.length=ue(xt,ht,ht,Ye,0,1,rt,arguments.length>1?arguments[1]:void 0),xt}})}),Cn=t((me,ue)=>{ue.exports={}}),_n=t((me,ue)=>{var oe=Qi(),Ce=Cn(),De=oe("iterator"),Me=Array.prototype;ue.exports=function(rt){return rt!==void 0&&(Ce.Array===rt||Me[De]===rt)}}),qn=t((me,ue)=>{var oe=or(),Ce=Nn(),De=U(),Me=Cn(),rt=Qi(),ht=rt("iterator");ue.exports=function(Ye){if(!De(Ye))return Ce(Ye,ht)||Ce(Ye,"@@iterator")||Me[oe(Ye)]}}),Xt=t((me,ue)=>{var oe=p(),Ce=dn(),De=En(),Me=Rr(),rt=qn(),ht=TypeError;ue.exports=function(Ye,xt){var nr=arguments.length<2?rt(Ye):xt;if(Ce(nr))return De(oe(nr,Ye));throw ht(Me(Ye)+" is not iterable")}}),ii=t((me,ue)=>{var oe=p(),Ce=En(),De=Nn();ue.exports=function(Me,rt,ht){var Ye,xt;Ce(Me);try{if(Ye=De(Me,"return"),!Ye){if(rt==="throw")throw ht;return ht}Ye=oe(Ye,Me)}catch(nr){xt=!0,Ye=nr}if(rt==="throw")throw ht;if(xt)throw Ye;return Ce(Ye),ht}}),fi=t((me,ue)=>{var oe=zr(),Ce=p(),De=En(),Me=Rr(),rt=_n(),ht=Dn(),Ye=qt(),xt=Xt(),nr=qn(),Jt=ii(),yr=TypeError,br=function(un,pn){this.stopped=un,this.result=pn},Oe=br.prototype;ue.exports=function(un,pn,si){var yi=si&&si.that,zi=!!(si&&si.AS_ENTRIES),ze=!!(si&&si.IS_RECORD),xs=!!(si&&si.IS_ITERATOR),Ao=!!(si&&si.INTERRUPTED),qo=oe(pn,yi),Os,co,Ds,Zo,io,zs,wu,Do=function(po){return Os&&Jt(Os,"normal",po),new br(!0,po)},Ws=function(po){return zi?(De(po),Ao?qo(po[0],po[1],Do):qo(po[0],po[1])):Ao?qo(po,Do):qo(po)};if(ze)Os=un.iterator;else if(xs)Os=un;else{if(co=nr(un),!co)throw yr(Me(un)+" is not iterable");if(rt(co)){for(Ds=0,Zo=ht(un);Zo>Ds;Ds++)if(io=Ws(un[Ds]),io&&Ye(Oe,io))return io;return new br(!1)}Os=xt(un,co)}for(zs=ze?un.next:Os.next;!(wu=Ce(zs,Os)).done;){try{io=Ws(wu.value)}catch(po){Jt(Os,"throw",po)}if(typeof io=="object"&&io&&Ye(Oe,io))return io}return new br(!1)}}),dr=t((me,ue)=>{var oe=Es(),Ce=xi(),De=m();ue.exports=function(Me,rt,ht){var Ye=oe(rt);Ye in Me?Ce.f(Me,Ye,De(0,ht)):Me[Ye]=ht}}),Ot=t(()=>{var me=Wo(),ue=fi(),oe=dr();me({target:"Object",stat:!0},{fromEntries:function(Ce){var De={};return ue(Ce,function(Me,rt){oe(De,Me,rt)},{AS_ENTRIES:!0}),De}})}),mt=t((me,ue)=>{var oe=Yr(),Ce=xi();ue.exports=function(De,Me,rt){return rt.get&&oe(rt.get,Me,{getter:!0}),rt.set&&oe(rt.set,Me,{setter:!0}),Ce.f(De,Me,rt)}}),St=t((me,ue)=>{var oe=En();ue.exports=function(){var Ce=oe(this),De="";return Ce.hasIndices&&(De+="d"),Ce.global&&(De+="g"),Ce.ignoreCase&&(De+="i"),Ce.multiline&&(De+="m"),Ce.dotAll&&(De+="s"),Ce.unicode&&(De+="u"),Ce.unicodeSets&&(De+="v"),Ce.sticky&&(De+="y"),De}}),Dt=t(()=>{var me=n(),ue=s(),oe=mt(),Ce=St(),De=i(),Me=me.RegExp,rt=Me.prototype,ht=ue&&De(function(){var Ye=!0;try{Me(".","d")}catch{Ye=!1}var xt={},nr="",Jt=Ye?"dgimsy":"gimsy",yr=function(pn,si){Object.defineProperty(xt,pn,{get:function(){return nr+=si,!0}})},br={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Ye&&(br.hasIndices="d");for(var Oe in br)yr(Oe,br[Oe]);var un=Object.getOwnPropertyDescriptor(rt,"flags").get.call(xt);return un!==Jt||nr!==Jt});ht&&oe(rt,"flags",{configurable:!0,get:Ce})}),Ke=t(()=>{var me=Wo(),ue=n();me({global:!0,forced:ue.globalThis!==ue},{globalThis:ue})}),ke=t(()=>{Ke()}),_e=t(()=>{var me=Wo(),ue=Ht(),oe=Mn(),Ce=Dn(),De=rn(),Me=Hr();me({target:"Array",proto:!0},{flat:function(){var rt=arguments.length?arguments[0]:void 0,ht=oe(this),Ye=Ce(ht),xt=Me(ht,0);return xt.length=ue(xt,ht,ht,Ye,0,rt===void 0?1:De(rt)),xt}})}),Ze=t((me,ue)=>{var oe=["cliName","cliCategory","cliDescription"],Ce=["_"],De=["languageId"];function Me(a,c){if(a==null)return{};var h=rt(a,c),d,g;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(a);for(g=0;g<y.length;g++)d=y[g],!(c.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(a,d)&&(h[d]=a[d])}return h}function rt(a,c){if(a==null)return{};var h={},d=Object.keys(a),g,y;for(y=0;y<d.length;y++)g=d[y],!(c.indexOf(g)>=0)&&(h[g]=a[g]);return h}It(),Ot(),Dt(),ke(),_e();var ht=Object.create,Ye=Object.defineProperty,xt=Object.getOwnPropertyDescriptor,nr=Object.getOwnPropertyNames,Jt=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty,br=(a,c)=>function(){return a&&(c=(0,a[nr(a)[0]])(a=0)),c},Oe=(a,c)=>function(){return c||(0,a[nr(a)[0]])((c={exports:{}}).exports,c),c.exports},un=(a,c)=>{for(var h in c)Ye(a,h,{get:c[h],enumerable:!0})},pn=(a,c,h,d)=>{if(c&&typeof c=="object"||typeof c=="function")for(let g of nr(c))!yr.call(a,g)&&g!==h&&Ye(a,g,{get:()=>c[g],enumerable:!(d=xt(c,g))||d.enumerable});return a},si=(a,c,h)=>(h=a!=null?ht(Jt(a)):{},pn(c||!a||!a.__esModule?Ye(h,"default",{value:a,enumerable:!0}):h,a)),yi=a=>pn(Ye({},"__esModule",{value:!0}),a),zi,ze=br({"<define:process>"(){zi={env:{},argv:[]}}}),xs=Oe({"package.json"(a,c){c.exports={version:"2.8.8"}}}),Ao=Oe({"node_modules/diff/lib/diff/base.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0}),a.default=c;function c(){}c.prototype={diff:function(g,y){var D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=D.callback;typeof D=="function"&&(x=D,D={}),this.options=D;var v=this;function S(L){return x?(setTimeout(function(){x(void 0,L)},0),!0):L}g=this.castInput(g),y=this.castInput(y),g=this.removeEmpty(this.tokenize(g)),y=this.removeEmpty(this.tokenize(y));var k=y.length,T=g.length,$=1,w=k+T,F=[{newPos:-1,components:[]}],Q=this.extractCommon(F[0],y,g,0);if(F[0].newPos+1>=k&&Q+1>=T)return S([{value:this.join(y),count:y.length}]);function Z(){for(var L=-1*$;L<=$;L+=2){var te=void 0,q=F[L-1],ae=F[L+1],ne=(ae?ae.newPos:0)-L;q&&(F[L-1]=void 0);var Fe=q&&q.newPos+1<k,_=ae&&0<=ne&&ne<T;if(!Fe&&!_){F[L]=void 0;continue}if(!Fe||_&&q.newPos<ae.newPos?(te=d(ae),v.pushComponent(te.components,void 0,!0)):(te=q,te.newPos++,v.pushComponent(te.components,!0,void 0)),ne=v.extractCommon(te,y,g,L),te.newPos+1>=k&&ne+1>=T)return S(h(v,te.components,y,g,v.useLongestToken));F[L]=te}$++}if(x)(function L(){setTimeout(function(){if($>w)return x();Z()||L()},0)})();else for(;$<=w;){var re=Z();if(re)return re}},pushComponent:function(g,y,D){var x=g[g.length-1];x&&x.added===y&&x.removed===D?g[g.length-1]={count:x.count+1,added:y,removed:D}:g.push({count:1,added:y,removed:D})},extractCommon:function(g,y,D,x){for(var v=y.length,S=D.length,k=g.newPos,T=k-x,$=0;k+1<v&&T+1<S&&this.equals(y[k+1],D[T+1]);)k++,T++,$++;return $&&g.components.push({count:$}),g.newPos=k,T},equals:function(g,y){return this.options.comparator?this.options.comparator(g,y):g===y||this.options.ignoreCase&&g.toLowerCase()===y.toLowerCase()},removeEmpty:function(g){for(var y=[],D=0;D<g.length;D++)g[D]&&y.push(g[D]);return y},castInput:function(g){return g},tokenize:function(g){return g.split("")},join:function(g){return g.join("")}};function h(g,y,D,x,v){for(var S=0,k=y.length,T=0,$=0;S<k;S++){var w=y[S];if(w.removed){if(w.value=g.join(x.slice($,$+w.count)),$+=w.count,S&&y[S-1].added){var F=y[S-1];y[S-1]=y[S],y[S]=F}}else{if(!w.added&&v){var Q=D.slice(T,T+w.count);Q=Q.map(function(re,L){var te=x[$+L];return te.length>re.length?te:re}),w.value=g.join(Q)}else w.value=g.join(D.slice(T,T+w.count));T+=w.count,w.added||($+=w.count)}}var Z=y[k-1];return k>1&&typeof Z.value=="string"&&(Z.added||Z.removed)&&g.equals("",Z.value)&&(y[k-2].value+=Z.value,y.pop()),y}function d(g){return{newPos:g.newPos,components:g.components.slice(0)}}}}),qo=Oe({"node_modules/diff/lib/diff/array.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0}),a.diffArrays=g,a.arrayDiff=void 0;var c=h(Ao());function h(y){return y&&y.__esModule?y:{default:y}}var d=new c.default;a.arrayDiff=d,d.tokenize=function(y){return y.slice()},d.join=d.removeEmpty=function(y){return y};function g(y,D,x){return d.diff(y,D,x)}}}),Os=Oe({"src/document/doc-builders.js"(a,c){ze();function h(M){return{type:"concat",parts:M}}function d(M){return{type:"indent",contents:M}}function g(M,A){return{type:"align",contents:A,n:M}}function y(M){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:A.id,contents:M,break:!!A.shouldBreak,expandedStates:A.expandedStates}}function D(M){return g(Number.NEGATIVE_INFINITY,M)}function x(M){return g({type:"root"},M)}function v(M){return g(-1,M)}function S(M,A){return y(M[0],Object.assign(Object.assign({},A),{},{expandedStates:M}))}function k(M){return{type:"fill",parts:M}}function T(M,A){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:M,flatContents:A,groupId:I.groupId}}function $(M,A){return{type:"indent-if-break",contents:M,groupId:A.groupId,negate:A.negate}}function w(M){return{type:"line-suffix",contents:M}}var F={type:"line-suffix-boundary"},Q={type:"break-parent"},Z={type:"trim"},re={type:"line",hard:!0},L={type:"line",hard:!0,literal:!0},te={type:"line"},q={type:"line",soft:!0},ae=h([re,Q]),ne=h([L,Q]),Fe={type:"cursor",placeholder:Symbol("cursor")};function _(M,A){let I=[];for(let j=0;j<A.length;j++)j!==0&&I.push(M),I.push(A[j]);return h(I)}function z(M,A,I){let j=M;if(A>0){for(let X=0;X<Math.floor(A/I);++X)j=d(j);j=g(A%I,j),j=g(Number.NEGATIVE_INFINITY,j)}return j}function B(M,A){return{type:"label",label:M,contents:A}}c.exports={concat:h,join:_,line:te,softline:q,hardline:ae,literalline:ne,group:y,conditionalGroup:S,fill:k,lineSuffix:w,lineSuffixBoundary:F,cursor:Fe,breakParent:Q,ifBreak:T,trim:Z,indent:d,indentIfBreak:$,align:g,addAlignmentToDoc:z,markAsRoot:x,dedentToRoot:D,dedent:v,hardlineWithoutBreakParent:re,literallineWithoutBreakParent:L,label:B}}}),co=Oe({"src/common/end-of-line.js"(a,c){ze();function h(D){let x=D.indexOf("\r");return x>=0?D.charAt(x+1)===`
|
|
`?"crlf":"cr":"lf"}function d(D){switch(D){case"cr":return"\r";case"crlf":return`\r
|
|
`;default:return`
|
|
`}}function g(D,x){let v;switch(x){case`
|
|
`:v=/\n/g;break;case"\r":v=/\r/g;break;case`\r
|
|
`:v=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(x)}.`)}let S=D.match(v);return S?S.length:0}function y(D){return D.replace(/\r\n?/g,`
|
|
`)}c.exports={guessEndOfLine:h,convertEndOfLineToChars:d,countEndOfLineChars:g,normalizeEndOfLine:y}}}),Ds=Oe({"src/utils/get-last.js"(a,c){ze();var h=d=>d[d.length-1];c.exports=h}});function Zo(){let{onlyFirst:a=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=["[\\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(c,a?void 0:"g")}var io=br({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){ze()}});function zs(a){if(typeof a!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof a}\``);return a.replace(Zo(),"")}var wu=br({"node_modules/strip-ansi/index.js"(){ze(),io()}});function Do(a){return Number.isInteger(a)?a>=4352&&(a<=4447||a===9001||a===9002||11904<=a&&a<=12871&&a!==12351||12880<=a&&a<=19903||19968<=a&&a<=42182||43360<=a&&a<=43388||44032<=a&&a<=55203||63744<=a&&a<=64255||65040<=a&&a<=65049||65072<=a&&a<=65131||65281<=a&&a<=65376||65504<=a&&a<=65510||110592<=a&&a<=110593||127488<=a&&a<=127569||131072<=a&&a<=262141):!1}var Ws=br({"node_modules/is-fullwidth-code-point/index.js"(){ze()}}),po=Oe({"node_modules/emoji-regex/index.js"(a,c){ze(),c.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}}}),ml={};un(ml,{default:()=>gl});function gl(a){if(typeof a!="string"||a.length===0||(a=zs(a),a.length===0))return 0;a=a.replace((0,Pu.default)()," ");let c=0;for(let h=0;h<a.length;h++){let d=a.codePointAt(h);d<=31||d>=127&&d<=159||d>=768&&d<=879||(d>65535&&h++,c+=Do(d)?2:1)}return c}var Pu,yl=br({"node_modules/string-width/index.js"(){ze(),wu(),Ws(),Pu=si(po())}}),tu=Oe({"src/utils/get-string-width.js"(a,c){ze();var h=(yl(),yi(ml)).default,d=/[^\x20-\x7F]/;function g(y){return y?d.test(y)?h(y):y.length:0}c.exports=g}}),wa=Oe({"src/document/doc-utils.js"(a,c){ze();var h=Ds(),{literalline:d,join:g}=Os(),y=A=>Array.isArray(A)||A&&A.type==="concat",D=A=>{if(Array.isArray(A))return A;if(A.type!=="concat"&&A.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return A.parts},x={};function v(A,I,j,X){let W=[A];for(;W.length>0;){let J=W.pop();if(J===x){j(W.pop());continue}if(j&&W.push(J,x),!I||I(J)!==!1)if(y(J)||J.type==="fill"){let ce=D(J);for(let Ae=ce.length,Te=Ae-1;Te>=0;--Te)W.push(ce[Te])}else if(J.type==="if-break")J.flatContents&&W.push(J.flatContents),J.breakContents&&W.push(J.breakContents);else if(J.type==="group"&&J.expandedStates)if(X)for(let ce=J.expandedStates.length,Ae=ce-1;Ae>=0;--Ae)W.push(J.expandedStates[Ae]);else W.push(J.contents);else J.contents&&W.push(J.contents)}}function S(A,I){let j=new Map;return X(A);function X(J){if(j.has(J))return j.get(J);let ce=W(J);return j.set(J,ce),ce}function W(J){if(Array.isArray(J))return I(J.map(X));if(J.type==="concat"||J.type==="fill"){let ce=J.parts.map(X);return I(Object.assign(Object.assign({},J),{},{parts:ce}))}if(J.type==="if-break"){let ce=J.breakContents&&X(J.breakContents),Ae=J.flatContents&&X(J.flatContents);return I(Object.assign(Object.assign({},J),{},{breakContents:ce,flatContents:Ae}))}if(J.type==="group"&&J.expandedStates){let ce=J.expandedStates.map(X),Ae=ce[0];return I(Object.assign(Object.assign({},J),{},{contents:Ae,expandedStates:ce}))}if(J.contents){let ce=X(J.contents);return I(Object.assign(Object.assign({},J),{},{contents:ce}))}return I(J)}}function k(A,I,j){let X=j,W=!1;function J(ce){let Ae=I(ce);if(Ae!==void 0&&(W=!0,X=Ae),W)return!1}return v(A,J),X}function T(A){if(A.type==="group"&&A.break||A.type==="line"&&A.hard||A.type==="break-parent")return!0}function $(A){return k(A,T,!1)}function w(A){if(A.length>0){let I=h(A);!I.expandedStates&&!I.break&&(I.break="propagated")}return null}function F(A){let I=new Set,j=[];function X(J){if(J.type==="break-parent"&&w(j),J.type==="group"){if(j.push(J),I.has(J))return!1;I.add(J)}}function W(J){J.type==="group"&&j.pop().break&&w(j)}v(A,X,W,!0)}function Q(A){return A.type==="line"&&!A.hard?A.soft?"":" ":A.type==="if-break"?A.flatContents||"":A}function Z(A){return S(A,Q)}var re=(A,I)=>A&&A.type==="line"&&A.hard&&I&&I.type==="break-parent";function L(A){if(!A)return A;if(y(A)||A.type==="fill"){let I=D(A);for(;I.length>1&&re(...I.slice(-2));)I.length-=2;if(I.length>0){let j=L(h(I));I[I.length-1]=j}return Array.isArray(A)?I:Object.assign(Object.assign({},A),{},{parts:I})}switch(A.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let I=L(A.contents);return Object.assign(Object.assign({},A),{},{contents:I})}case"if-break":{let I=L(A.breakContents),j=L(A.flatContents);return Object.assign(Object.assign({},A),{},{breakContents:I,flatContents:j})}}return A}function te(A){return L(ae(A))}function q(A){switch(A.type){case"fill":if(A.parts.every(j=>j===""))return"";break;case"group":if(!A.contents&&!A.id&&!A.break&&!A.expandedStates)return"";if(A.contents.type==="group"&&A.contents.id===A.id&&A.contents.break===A.break&&A.contents.expandedStates===A.expandedStates)return A.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!A.contents)return"";break;case"if-break":if(!A.flatContents&&!A.breakContents)return"";break}if(!y(A))return A;let I=[];for(let j of D(A)){if(!j)continue;let[X,...W]=y(j)?D(j):[j];typeof X=="string"&&typeof h(I)=="string"?I[I.length-1]+=X:I.push(X),I.push(...W)}return I.length===0?"":I.length===1?I[0]:Array.isArray(A)?I:Object.assign(Object.assign({},A),{},{parts:I})}function ae(A){return S(A,I=>q(I))}function ne(A){let I=[],j=A.filter(Boolean);for(;j.length>0;){let X=j.shift();if(X){if(y(X)){j.unshift(...D(X));continue}if(I.length>0&&typeof h(I)=="string"&&typeof X=="string"){I[I.length-1]+=X;continue}I.push(X)}}return I}function Fe(A){return S(A,I=>Array.isArray(I)?ne(I):I.parts?Object.assign(Object.assign({},I),{},{parts:ne(I.parts)}):I)}function _(A){return S(A,I=>typeof I=="string"&&I.includes(`
|
|
`)?z(I):I)}function z(A){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;return g(I,A.split(`
|
|
`)).parts}function B(A){if(A.type==="line")return!0}function M(A){return k(A,B,!1)}c.exports={isConcat:y,getDocParts:D,willBreak:$,traverseDoc:v,findInDoc:k,mapDoc:S,propagateBreaks:F,removeLines:Z,stripTrailingHardline:te,normalizeParts:ne,normalizeDoc:Fe,cleanDoc:ae,replaceTextEndOfLine:z,replaceEndOfLine:_,canBreak:M}}}),Gl=Oe({"src/document/doc-printer.js"(a,c){ze();var{convertEndOfLineToChars:h}=co(),d=Ds(),g=tu(),{fill:y,cursor:D,indent:x}=Os(),{isConcat:v,getDocParts:S}=wa(),k,T=1,$=2;function w(){return{value:"",length:0,queue:[]}}function F(q,ae){return Z(q,{type:"indent"},ae)}function Q(q,ae,ne){return ae===Number.NEGATIVE_INFINITY?q.root||w():ae<0?Z(q,{type:"dedent"},ne):ae?ae.type==="root"?Object.assign(Object.assign({},q),{},{root:q}):Z(q,{type:typeof ae=="string"?"stringAlign":"numberAlign",n:ae},ne):q}function Z(q,ae,ne){let Fe=ae.type==="dedent"?q.queue.slice(0,-1):[...q.queue,ae],_="",z=0,B=0,M=0;for(let ce of Fe)switch(ce.type){case"indent":j(),ne.useTabs?A(1):I(ne.tabWidth);break;case"stringAlign":j(),_+=ce.n,z+=ce.n.length;break;case"numberAlign":B+=1,M+=ce.n;break;default:throw new Error(`Unexpected type '${ce.type}'`)}return W(),Object.assign(Object.assign({},q),{},{value:_,length:z,queue:Fe});function A(ce){_+=" ".repeat(ce),z+=ne.tabWidth*ce}function I(ce){_+=" ".repeat(ce),z+=ce}function j(){ne.useTabs?X():W()}function X(){B>0&&A(B),J()}function W(){M>0&&I(M),J()}function J(){B=0,M=0}}function re(q){if(q.length===0)return 0;let ae=0;for(;q.length>0&&typeof d(q)=="string"&&/^[\t ]*$/.test(d(q));)ae+=q.pop().length;if(q.length>0&&typeof d(q)=="string"){let ne=d(q).replace(/[\t ]*$/,"");ae+=d(q).length-ne.length,q[q.length-1]=ne}return ae}function L(q,ae,ne,Fe,_){let z=ae.length,B=[q],M=[];for(;ne>=0;){if(B.length===0){if(z===0)return!0;B.push(ae[--z]);continue}let{mode:A,doc:I}=B.pop();if(typeof I=="string")M.push(I),ne-=g(I);else if(v(I)||I.type==="fill"){let j=S(I);for(let X=j.length-1;X>=0;X--)B.push({mode:A,doc:j[X]})}else switch(I.type){case"indent":case"align":case"indent-if-break":case"label":B.push({mode:A,doc:I.contents});break;case"trim":ne+=re(M);break;case"group":{if(_&&I.break)return!1;let j=I.break?T:A,X=I.expandedStates&&j===T?d(I.expandedStates):I.contents;B.push({mode:j,doc:X});break}case"if-break":{let j=(I.groupId?k[I.groupId]||$:A)===T?I.breakContents:I.flatContents;j&&B.push({mode:A,doc:j});break}case"line":if(A===T||I.hard)return!0;I.soft||(M.push(" "),ne--);break;case"line-suffix":Fe=!0;break;case"line-suffix-boundary":if(Fe)return!1;break}}return!1}function te(q,ae){k={};let ne=ae.printWidth,Fe=h(ae.endOfLine),_=0,z=[{ind:w(),mode:T,doc:q}],B=[],M=!1,A=[];for(;z.length>0;){let{ind:j,mode:X,doc:W}=z.pop();if(typeof W=="string"){let J=Fe!==`
|
|
`?W.replace(/\n/g,Fe):W;B.push(J),_+=g(J)}else if(v(W)){let J=S(W);for(let ce=J.length-1;ce>=0;ce--)z.push({ind:j,mode:X,doc:J[ce]})}else switch(W.type){case"cursor":B.push(D.placeholder);break;case"indent":z.push({ind:F(j,ae),mode:X,doc:W.contents});break;case"align":z.push({ind:Q(j,W.n,ae),mode:X,doc:W.contents});break;case"trim":_-=re(B);break;case"group":switch(X){case $:if(!M){z.push({ind:j,mode:W.break?T:$,doc:W.contents});break}case T:{M=!1;let J={ind:j,mode:$,doc:W.contents},ce=ne-_,Ae=A.length>0;if(!W.break&&L(J,z,ce,Ae))z.push(J);else if(W.expandedStates){let Te=d(W.expandedStates);if(W.break){z.push({ind:j,mode:T,doc:Te});break}else for(let we=1;we<W.expandedStates.length+1;we++)if(we>=W.expandedStates.length){z.push({ind:j,mode:T,doc:Te});break}else{let Ue=W.expandedStates[we],ge={ind:j,mode:$,doc:Ue};if(L(ge,z,ce,Ae)){z.push(ge);break}}}else z.push({ind:j,mode:T,doc:W.contents});break}}W.id&&(k[W.id]=d(z).mode);break;case"fill":{let J=ne-_,{parts:ce}=W;if(ce.length===0)break;let[Ae,Te]=ce,we={ind:j,mode:$,doc:Ae},Ue={ind:j,mode:T,doc:Ae},ge=L(we,[],J,A.length>0,!0);if(ce.length===1){ge?z.push(we):z.push(Ue);break}let lt={ind:j,mode:$,doc:Te},Pe={ind:j,mode:T,doc:Te};if(ce.length===2){ge?z.push(lt,we):z.push(Pe,Ue);break}ce.splice(0,2);let ve={ind:j,mode:X,doc:y(ce)},ut=ce[0];L({ind:j,mode:$,doc:[Ae,Te,ut]},[],J,A.length>0,!0)?z.push(ve,lt,we):ge?z.push(ve,Pe,we):z.push(ve,Pe,Ue);break}case"if-break":case"indent-if-break":{let J=W.groupId?k[W.groupId]:X;if(J===T){let ce=W.type==="if-break"?W.breakContents:W.negate?W.contents:x(W.contents);ce&&z.push({ind:j,mode:X,doc:ce})}if(J===$){let ce=W.type==="if-break"?W.flatContents:W.negate?x(W.contents):W.contents;ce&&z.push({ind:j,mode:X,doc:ce})}break}case"line-suffix":A.push({ind:j,mode:X,doc:W.contents});break;case"line-suffix-boundary":A.length>0&&z.push({ind:j,mode:X,doc:{type:"line",hard:!0}});break;case"line":switch(X){case $:if(W.hard)M=!0;else{W.soft||(B.push(" "),_+=1);break}case T:if(A.length>0){z.push({ind:j,mode:X,doc:W},...A.reverse()),A.length=0;break}W.literal?j.root?(B.push(Fe,j.root.value),_=j.root.length):(B.push(Fe),_=0):(_-=re(B),B.push(Fe+j.value),_=j.length);break}break;case"label":z.push({ind:j,mode:X,doc:W.contents});break}z.length===0&&A.length>0&&(z.push(...A.reverse()),A.length=0)}let I=B.indexOf(D.placeholder);if(I!==-1){let j=B.indexOf(D.placeholder,I+1),X=B.slice(0,I).join(""),W=B.slice(I+1,j).join(""),J=B.slice(j+1).join("");return{formatted:X+W+J,cursorNodeStart:X.length,cursorNodeText:W}}return{formatted:B.join("")}}c.exports={printDocToString:te}}}),Hl=Oe({"src/document/doc-debug.js"(a,c){ze();var{isConcat:h,getDocParts:d}=wa();function g(D){if(!D)return"";if(h(D)){let x=[];for(let v of d(D))if(h(v))x.push(...g(v).parts);else{let S=g(v);S!==""&&x.push(S)}return{type:"concat",parts:x}}return D.type==="if-break"?Object.assign(Object.assign({},D),{},{breakContents:g(D.breakContents),flatContents:g(D.flatContents)}):D.type==="group"?Object.assign(Object.assign({},D),{},{contents:g(D.contents),expandedStates:D.expandedStates&&D.expandedStates.map(g)}):D.type==="fill"?{type:"fill",parts:D.parts.map(g)}:D.contents?Object.assign(Object.assign({},D),{},{contents:g(D.contents)}):D}function y(D){let x=Object.create(null),v=new Set;return S(g(D));function S(T,$,w){if(typeof T=="string")return JSON.stringify(T);if(h(T)){let F=d(T).map(S).filter(Boolean);return F.length===1?F[0]:`[${F.join(", ")}]`}if(T.type==="line"){let F=Array.isArray(w)&&w[$+1]&&w[$+1].type==="break-parent";return T.literal?F?"literalline":"literallineWithoutBreakParent":T.hard?F?"hardline":"hardlineWithoutBreakParent":T.soft?"softline":"line"}if(T.type==="break-parent")return Array.isArray(w)&&w[$-1]&&w[$-1].type==="line"&&w[$-1].hard?void 0:"breakParent";if(T.type==="trim")return"trim";if(T.type==="indent")return"indent("+S(T.contents)+")";if(T.type==="align")return T.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+S(T.contents)+")":T.n<0?"dedent("+S(T.contents)+")":T.n.type==="root"?"markAsRoot("+S(T.contents)+")":"align("+JSON.stringify(T.n)+", "+S(T.contents)+")";if(T.type==="if-break")return"ifBreak("+S(T.breakContents)+(T.flatContents?", "+S(T.flatContents):"")+(T.groupId?(T.flatContents?"":', ""')+`, { groupId: ${k(T.groupId)} }`:"")+")";if(T.type==="indent-if-break"){let F=[];T.negate&&F.push("negate: true"),T.groupId&&F.push(`groupId: ${k(T.groupId)}`);let Q=F.length>0?`, { ${F.join(", ")} }`:"";return`indentIfBreak(${S(T.contents)}${Q})`}if(T.type==="group"){let F=[];T.break&&T.break!=="propagated"&&F.push("shouldBreak: true"),T.id&&F.push(`id: ${k(T.id)}`);let Q=F.length>0?`, { ${F.join(", ")} }`:"";return T.expandedStates?`conditionalGroup([${T.expandedStates.map(Z=>S(Z)).join(",")}]${Q})`:`group(${S(T.contents)}${Q})`}if(T.type==="fill")return`fill([${T.parts.map(F=>S(F)).join(", ")}])`;if(T.type==="line-suffix")return"lineSuffix("+S(T.contents)+")";if(T.type==="line-suffix-boundary")return"lineSuffixBoundary";if(T.type==="label")return`label(${JSON.stringify(T.label)}, ${S(T.contents)})`;throw new Error("Unknown doc type "+T.type)}function k(T){if(typeof T!="symbol")return JSON.stringify(String(T));if(T in x)return x[T];let $=String(T).slice(7,-1)||"symbol";for(let w=0;;w++){let F=$+(w>0?` #${w}`:"");if(!v.has(F))return v.add(F),x[T]=`Symbol.for(${JSON.stringify(F)})`}}}c.exports={printDocToDebug:y}}}),Ln=Oe({"src/document/index.js"(a,c){ze(),c.exports={builders:Os(),printer:Gl(),utils:wa(),debug:Hl()}}}),Ol={};un(Ol,{default:()=>Jl});function Jl(a){if(typeof a!="string")throw new TypeError("Expected a string");return a.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Kl=br({"node_modules/escape-string-regexp/index.js"(){ze()}}),Dl=Oe({"node_modules/semver/internal/debug.js"(a,c){ze();var h=typeof zi=="object"&&zi.env&&zi.env.NODE_DEBUG&&/\bsemver\b/i.test(zi.env.NODE_DEBUG)?function(){for(var d=arguments.length,g=new Array(d),y=0;y<d;y++)g[y]=arguments[y];return console.error("SEMVER",...g)}:()=>{};c.exports=h}}),Tu=Oe({"node_modules/semver/internal/constants.js"(a,c){ze();var h="2.0.0",d=256,g=Number.MAX_SAFE_INTEGER||9007199254740991,y=16;c.exports={SEMVER_SPEC_VERSION:h,MAX_LENGTH:d,MAX_SAFE_INTEGER:g,MAX_SAFE_COMPONENT_LENGTH:y}}}),xl=Oe({"node_modules/semver/internal/re.js"(a,c){ze();var{MAX_SAFE_COMPONENT_LENGTH:h}=Tu(),d=Dl();a=c.exports={};var g=a.re=[],y=a.src=[],D=a.t={},x=0,v=(S,k,T)=>{let $=x++;d(S,$,k),D[S]=$,y[$]=k,g[$]=new RegExp(k,T?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","[0-9]+"),v("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),v("MAINVERSION",`(${y[D.NUMERICIDENTIFIER]})\\.(${y[D.NUMERICIDENTIFIER]})\\.(${y[D.NUMERICIDENTIFIER]})`),v("MAINVERSIONLOOSE",`(${y[D.NUMERICIDENTIFIERLOOSE]})\\.(${y[D.NUMERICIDENTIFIERLOOSE]})\\.(${y[D.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASEIDENTIFIER",`(?:${y[D.NUMERICIDENTIFIER]}|${y[D.NONNUMERICIDENTIFIER]})`),v("PRERELEASEIDENTIFIERLOOSE",`(?:${y[D.NUMERICIDENTIFIERLOOSE]}|${y[D.NONNUMERICIDENTIFIER]})`),v("PRERELEASE",`(?:-(${y[D.PRERELEASEIDENTIFIER]}(?:\\.${y[D.PRERELEASEIDENTIFIER]})*))`),v("PRERELEASELOOSE",`(?:-?(${y[D.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${y[D.PRERELEASEIDENTIFIERLOOSE]})*))`),v("BUILDIDENTIFIER","[0-9A-Za-z-]+"),v("BUILD",`(?:\\+(${y[D.BUILDIDENTIFIER]}(?:\\.${y[D.BUILDIDENTIFIER]})*))`),v("FULLPLAIN",`v?${y[D.MAINVERSION]}${y[D.PRERELEASE]}?${y[D.BUILD]}?`),v("FULL",`^${y[D.FULLPLAIN]}$`),v("LOOSEPLAIN",`[v=\\s]*${y[D.MAINVERSIONLOOSE]}${y[D.PRERELEASELOOSE]}?${y[D.BUILD]}?`),v("LOOSE",`^${y[D.LOOSEPLAIN]}$`),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE",`${y[D.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),v("XRANGEIDENTIFIER",`${y[D.NUMERICIDENTIFIER]}|x|X|\\*`),v("XRANGEPLAIN",`[v=\\s]*(${y[D.XRANGEIDENTIFIER]})(?:\\.(${y[D.XRANGEIDENTIFIER]})(?:\\.(${y[D.XRANGEIDENTIFIER]})(?:${y[D.PRERELEASE]})?${y[D.BUILD]}?)?)?`),v("XRANGEPLAINLOOSE",`[v=\\s]*(${y[D.XRANGEIDENTIFIERLOOSE]})(?:\\.(${y[D.XRANGEIDENTIFIERLOOSE]})(?:\\.(${y[D.XRANGEIDENTIFIERLOOSE]})(?:${y[D.PRERELEASELOOSE]})?${y[D.BUILD]}?)?)?`),v("XRANGE",`^${y[D.GTLT]}\\s*${y[D.XRANGEPLAIN]}$`),v("XRANGELOOSE",`^${y[D.GTLT]}\\s*${y[D.XRANGEPLAINLOOSE]}$`),v("COERCE",`(^|[^\\d])(\\d{1,${h}})(?:\\.(\\d{1,${h}}))?(?:\\.(\\d{1,${h}}))?(?:$|[^\\d])`),v("COERCERTL",y[D.COERCE],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM",`(\\s*)${y[D.LONETILDE]}\\s+`,!0),a.tildeTrimReplace="$1~",v("TILDE",`^${y[D.LONETILDE]}${y[D.XRANGEPLAIN]}$`),v("TILDELOOSE",`^${y[D.LONETILDE]}${y[D.XRANGEPLAINLOOSE]}$`),v("LONECARET","(?:\\^)"),v("CARETTRIM",`(\\s*)${y[D.LONECARET]}\\s+`,!0),a.caretTrimReplace="$1^",v("CARET",`^${y[D.LONECARET]}${y[D.XRANGEPLAIN]}$`),v("CARETLOOSE",`^${y[D.LONECARET]}${y[D.XRANGEPLAINLOOSE]}$`),v("COMPARATORLOOSE",`^${y[D.GTLT]}\\s*(${y[D.LOOSEPLAIN]})$|^$`),v("COMPARATOR",`^${y[D.GTLT]}\\s*(${y[D.FULLPLAIN]})$|^$`),v("COMPARATORTRIM",`(\\s*)${y[D.GTLT]}\\s*(${y[D.LOOSEPLAIN]}|${y[D.XRANGEPLAIN]})`,!0),a.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE",`^\\s*(${y[D.XRANGEPLAIN]})\\s+-\\s+(${y[D.XRANGEPLAIN]})\\s*$`),v("HYPHENRANGELOOSE",`^\\s*(${y[D.XRANGEPLAINLOOSE]})\\s+-\\s+(${y[D.XRANGEPLAINLOOSE]})\\s*$`),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Uc=Oe({"node_modules/semver/internal/parse-options.js"(a,c){ze();var h=["includePrerelease","loose","rtl"],d=g=>g?typeof g!="object"?{loose:!0}:h.filter(y=>g[y]).reduce((y,D)=>(y[D]=!0,y),{}):{};c.exports=d}}),ec=Oe({"node_modules/semver/internal/identifiers.js"(a,c){ze();var h=/^[0-9]+$/,d=(y,D)=>{let x=h.test(y),v=h.test(D);return x&&v&&(y=+y,D=+D),y===D?0:x&&!v?-1:v&&!x?1:y<D?-1:1},g=(y,D)=>d(D,y);c.exports={compareIdentifiers:d,rcompareIdentifiers:g}}}),tc=Oe({"node_modules/semver/classes/semver.js"(a,c){ze();var h=Dl(),{MAX_LENGTH:d,MAX_SAFE_INTEGER:g}=Tu(),{re:y,t:D}=xl(),x=Uc(),{compareIdentifiers:v}=ec(),S=class{constructor(k,T){if(T=x(T),k instanceof S){if(k.loose===!!T.loose&&k.includePrerelease===!!T.includePrerelease)return k;k=k.version}else if(typeof k!="string")throw new TypeError(`Invalid Version: ${k}`);if(k.length>d)throw new TypeError(`version is longer than ${d} characters`);h("SemVer",k,T),this.options=T,this.loose=!!T.loose,this.includePrerelease=!!T.includePrerelease;let $=k.trim().match(T.loose?y[D.LOOSE]:y[D.FULL]);if(!$)throw new TypeError(`Invalid Version: ${k}`);if(this.raw=k,this.major=+$[1],this.minor=+$[2],this.patch=+$[3],this.major>g||this.major<0)throw new TypeError("Invalid major version");if(this.minor>g||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>g||this.patch<0)throw new TypeError("Invalid patch version");$[4]?this.prerelease=$[4].split(".").map(w=>{if(/^[0-9]+$/.test(w)){let F=+w;if(F>=0&&F<g)return F}return w}):this.prerelease=[],this.build=$[5]?$[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(k){if(h("SemVer.compare",this.version,this.options,k),!(k instanceof S)){if(typeof k=="string"&&k===this.version)return 0;k=new S(k,this.options)}return k.version===this.version?0:this.compareMain(k)||this.comparePre(k)}compareMain(k){return k instanceof S||(k=new S(k,this.options)),v(this.major,k.major)||v(this.minor,k.minor)||v(this.patch,k.patch)}comparePre(k){if(k instanceof S||(k=new S(k,this.options)),this.prerelease.length&&!k.prerelease.length)return-1;if(!this.prerelease.length&&k.prerelease.length)return 1;if(!this.prerelease.length&&!k.prerelease.length)return 0;let T=0;do{let $=this.prerelease[T],w=k.prerelease[T];if(h("prerelease compare",T,$,w),$===void 0&&w===void 0)return 0;if(w===void 0)return 1;if($===void 0)return-1;if($!==w)return v($,w)}while(++T)}compareBuild(k){k instanceof S||(k=new S(k,this.options));let T=0;do{let $=this.build[T],w=k.build[T];if(h("prerelease compare",T,$,w),$===void 0&&w===void 0)return 0;if(w===void 0)return 1;if($===void 0)return-1;if($!==w)return v($,w)}while(++T)}inc(k,T){switch(k){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 $=this.prerelease.length;for(;--$>=0;)typeof this.prerelease[$]=="number"&&(this.prerelease[$]++,$=-2);$===-1&&this.prerelease.push(0)}T&&(v(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: ${k}`)}return this.format(),this.raw=this.version,this}};c.exports=S}}),ma=Oe({"node_modules/semver/functions/compare.js"(a,c){ze();var h=tc(),d=(g,y,D)=>new h(g,D).compare(new h(y,D));c.exports=d}}),ku=Oe({"node_modules/semver/functions/lt.js"(a,c){ze();var h=ma(),d=(g,y,D)=>h(g,y,D)<0;c.exports=d}}),ga=Oe({"node_modules/semver/functions/gte.js"(a,c){ze();var h=ma(),d=(g,y,D)=>h(g,y,D)>=0;c.exports=d}}),rc=Oe({"src/utils/arrayify.js"(a,c){ze(),c.exports=(h,d)=>Object.entries(h).map(g=>{let[y,D]=g;return Object.assign({[d]:y},D)})}}),nc=Oe({"node_modules/outdent/lib/index.js"(a,c){ze(),Object.defineProperty(a,"__esModule",{value:!0}),a.outdent=void 0;function h(){for(var L=[],te=0;te<arguments.length;te++)L[te]=arguments[te]}function d(){return typeof WeakMap<"u"?new WeakMap:g()}function g(){return{add:h,delete:h,get:h,set:h,has:function(L){return!1}}}var y=Object.prototype.hasOwnProperty,D=function(L,te){return y.call(L,te)};function x(L,te){for(var q in te)D(te,q)&&(L[q]=te[q]);return L}var v=/^[ \t]*(?:\r\n|\r|\n)/,S=/(?:\r\n|\r|\n)[ \t]*$/,k=/^(?:[\r\n]|$)/,T=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,$=/^[ \t]*[\r\n][ \t\r\n]*$/;function w(L,te,q){var ae=0,ne=L[0].match(T);ne&&(ae=ne[1].length);var Fe="(\\r\\n|\\r|\\n).{0,"+ae+"}",_=new RegExp(Fe,"g");te&&(L=L.slice(1));var z=q.newline,B=q.trimLeadingNewline,M=q.trimTrailingNewline,A=typeof z=="string",I=L.length,j=L.map(function(X,W){return X=X.replace(_,"$1"),W===0&&B&&(X=X.replace(v,"")),W===I-1&&M&&(X=X.replace(S,"")),A&&(X=X.replace(/\r\n|\n|\r/g,function(J){return z})),X});return j}function F(L,te){for(var q="",ae=0,ne=L.length;ae<ne;ae++)q+=L[ae],ae<ne-1&&(q+=te[ae]);return q}function Q(L){return D(L,"raw")&&D(L,"length")}function Z(L){var te=d(),q=d();function ae(Fe){for(var _=[],z=1;z<arguments.length;z++)_[z-1]=arguments[z];if(Q(Fe)){var B=Fe,M=(_[0]===ae||_[0]===re)&&$.test(B[0])&&k.test(B[1]),A=M?q:te,I=A.get(B);if(I||(I=w(B,M,L),A.set(B,I)),_.length===0)return I[0];var j=F(I,M?_.slice(1):_);return j}else return Z(x(x({},L),Fe||{}))}var ne=x(ae,{string:function(Fe){return w([Fe],!1,L)[0]}});return ne}var re=Z({trimLeadingNewline:!0,trimTrailingNewline:!0});if(a.outdent=re,a.default=re,typeof c<"u")try{c.exports=re,Object.defineProperty(re,"__esModule",{value:!0}),re.default=re,re.outdent=re}catch{}}}),Wc=Oe({"src/main/core-options.js"(a,c){ze();var{outdent:h}=nc(),d="Config",g="Editor",y="Format",D="Other",x="Output",v="Global",S="Special",k={cursorOffset:{since:"1.4.0",category:S,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:h`
|
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
This option cannot be used with --range-start and --range-end.
|
|
`,cliCategory:g},endOfLine:{since:"1.15.0",category:v,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:h`
|
|
Maintain existing
|
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
`}]},filepath:{since:"1.4.0",category:S,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:D,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:S,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:D},parser:{since:"0.0.10",category:v,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception: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:v,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:T=>typeof T=="string"||typeof T=="object",cliName:"plugin",cliCategory:d},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:v,description:h`
|
|
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
Multiple values are accepted.
|
|
`,exception:T=>typeof T=="string"||typeof T=="object",cliName:"plugin-search-dir",cliCategory:d},printWidth:{since:"0.0.0",category:v,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:S,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:h`
|
|
Format code ending at a given character offset (exclusive).
|
|
The range will extend forwards to the end of the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`,cliCategory:g},rangeStart:{since:"1.4.0",category:S,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:h`
|
|
Format code starting at a given character offset.
|
|
The range will extend backwards to the start of the first line containing the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`,cliCategory:g},requirePragma:{since:"1.7.0",category:S,type:"boolean",default:!1,description:h`
|
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
in order for it to be formatted.
|
|
`,cliCategory:D},tabWidth:{type:"int",category:v,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:v,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:v,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};c.exports={CATEGORY_CONFIG:d,CATEGORY_EDITOR:g,CATEGORY_FORMAT:y,CATEGORY_OTHER:D,CATEGORY_OUTPUT:x,CATEGORY_GLOBAL:v,CATEGORY_SPECIAL:S,options:k}}}),Fu=Oe({"src/main/support.js"(a,c){ze();var h={compare:ma(),lt:ku(),gte:ga()},d=rc(),g=xs().version,y=Wc().options;function D(){let{plugins:v=[],showUnreleased:S=!1,showDeprecated:k=!1,showInternal:T=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=g.split("-",1)[0],w=v.flatMap(L=>L.languages||[]).filter(Q),F=d(Object.assign({},...v.map(L=>{let{options:te}=L;return te}),y),"name").filter(L=>Q(L)&&Z(L)).sort((L,te)=>L.name===te.name?0:L.name<te.name?-1:1).map(re).map(L=>{L=Object.assign({},L),Array.isArray(L.default)&&(L.default=L.default.length===1?L.default[0].value:L.default.filter(Q).sort((q,ae)=>h.compare(ae.since,q.since))[0].value),Array.isArray(L.choices)&&(L.choices=L.choices.filter(q=>Q(q)&&Z(q)),L.name==="parser"&&x(L,w,v));let te=Object.fromEntries(v.filter(q=>q.defaultOptions&&q.defaultOptions[L.name]!==void 0).map(q=>[q.name,q.defaultOptions[L.name]]));return Object.assign(Object.assign({},L),{},{pluginDefaults:te})});return{languages:w,options:F};function Q(L){return S||!("since"in L)||L.since&&h.gte($,L.since)}function Z(L){return k||!("deprecated"in L)||L.deprecated&&h.lt($,L.deprecated)}function re(L){return T?L:Me(L,oe)}}function x(v,S,k){let T=new Set(v.choices.map($=>$.value));for(let $ of S)if($.parsers){for(let w of $.parsers)if(!T.has(w)){T.add(w);let F=k.find(Z=>Z.parsers&&Z.parsers[w]),Q=$.name;F&&F.name&&(Q+=` (plugin: ${F.name})`),v.choices.push({value:w,description:Q})}}}c.exports={getSupportInfo:D}}}),Bu=Oe({"src/utils/is-non-empty-array.js"(a,c){ze();function h(d){return Array.isArray(d)&&d.length>0}c.exports=h}}),ho=Oe({"src/utils/text/skip.js"(a,c){ze();function h(x){return(v,S,k)=>{let T=k&&k.backwards;if(S===!1)return!1;let{length:$}=v,w=S;for(;w>=0&&w<$;){let F=v.charAt(w);if(x instanceof RegExp){if(!x.test(F))return w}else if(!x.includes(F))return w;T?w--:w++}return w===-1||w===$?w:!1}}var d=h(/\s/),g=h(" "),y=h(",; "),D=h(/[^\n\r]/);c.exports={skipWhitespace:d,skipSpaces:g,skipToLineEnd:y,skipEverythingButNewLine:D}}}),zo=Oe({"src/utils/text/skip-inline-comment.js"(a,c){ze();function h(d,g){if(g===!1)return!1;if(d.charAt(g)==="/"&&d.charAt(g+1)==="*"){for(let y=g+2;y<d.length;++y)if(d.charAt(y)==="*"&&d.charAt(y+1)==="/")return y+2}return g}c.exports=h}}),Yo=Oe({"src/utils/text/skip-trailing-comment.js"(a,c){ze();var{skipEverythingButNewLine:h}=ho();function d(g,y){return y===!1?!1:g.charAt(y)==="/"&&g.charAt(y+1)==="/"?h(g,y):y}c.exports=d}}),No=Oe({"src/utils/text/skip-newline.js"(a,c){ze();function h(d,g,y){let D=y&&y.backwards;if(g===!1)return!1;let x=d.charAt(g);if(D){if(d.charAt(g-1)==="\r"&&x===`
|
|
`)return g-2;if(x===`
|
|
`||x==="\r"||x==="\u2028"||x==="\u2029")return g-1}else{if(x==="\r"&&d.charAt(g+1)===`
|
|
`)return g+2;if(x===`
|
|
`||x==="\r"||x==="\u2028"||x==="\u2029")return g+1}return g}c.exports=h}}),wo=Oe({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(a,c){ze();var h=zo(),d=No(),g=Yo(),{skipSpaces:y}=ho();function D(x,v){let S=null,k=v;for(;k!==S;)S=k,k=y(x,k),k=h(x,k),k=g(x,k),k=d(x,k);return k}c.exports=D}}),pi=Oe({"src/common/util.js"(a,c){ze();var{default:h}=(Kl(),yi(Ol)),d=Ds(),{getSupportInfo:g}=Fu(),y=Bu(),D=tu(),{skipWhitespace:x,skipSpaces:v,skipToLineEnd:S,skipEverythingButNewLine:k}=ho(),T=zo(),$=Yo(),w=No(),F=wo(),Q=Pe=>Pe[Pe.length-2];function Z(Pe){return(ve,ut,wt)=>{let pt=wt&&wt.backwards;if(ut===!1)return!1;let{length:jt}=ve,Be=ut;for(;Be>=0&&Be<jt;){let Je=ve.charAt(Be);if(Pe instanceof RegExp){if(!Pe.test(Je))return Be}else if(!Pe.includes(Je))return Be;pt?Be--:Be++}return Be===-1||Be===jt?Be:!1}}function re(Pe,ve){let ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},wt=v(Pe,ut.backwards?ve-1:ve,ut),pt=w(Pe,wt,ut);return wt!==pt}function L(Pe,ve,ut){for(let wt=ve;wt<ut;++wt)if(Pe.charAt(wt)===`
|
|
`)return!0;return!1}function te(Pe,ve,ut){let wt=ut(ve)-1;wt=v(Pe,wt,{backwards:!0}),wt=w(Pe,wt,{backwards:!0}),wt=v(Pe,wt,{backwards:!0});let pt=w(Pe,wt,{backwards:!0});return wt!==pt}function q(Pe,ve){let ut=null,wt=ve;for(;wt!==ut;)ut=wt,wt=S(Pe,wt),wt=T(Pe,wt),wt=v(Pe,wt);return wt=$(Pe,wt),wt=w(Pe,wt),wt!==!1&&re(Pe,wt)}function ae(Pe,ve,ut){return q(Pe,ut(ve))}function ne(Pe,ve,ut){return F(Pe,ut(ve))}function Fe(Pe,ve,ut){return Pe.charAt(ne(Pe,ve,ut))}function _(Pe,ve){let ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v(Pe,ut.backwards?ve-1:ve,ut)!==ve}function z(Pe,ve){let ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,wt=0;for(let pt=ut;pt<Pe.length;++pt)Pe[pt]===" "?wt=wt+ve-wt%ve:wt++;return wt}function B(Pe,ve){let ut=Pe.lastIndexOf(`
|
|
`);return ut===-1?0:z(Pe.slice(ut+1).match(/^[\t ]*/)[0],ve)}function M(Pe,ve){let ut={quote:'"',regex:/"/g,escaped:"""},wt={quote:"'",regex:/'/g,escaped:"'"},pt=ve==="'"?wt:ut,jt=pt===wt?ut:wt,Be=pt;if(Pe.includes(pt.quote)||Pe.includes(jt.quote)){let Je=(Pe.match(pt.regex)||[]).length,$t=(Pe.match(jt.regex)||[]).length;Be=Je>$t?jt:pt}return Be}function A(Pe,ve){let ut=Pe.slice(1,-1),wt=ve.parser==="json"||ve.parser==="json5"&&ve.quoteProps==="preserve"&&!ve.singleQuote?'"':ve.__isInHtmlAttribute?"'":M(ut,ve.singleQuote?"'":'"').quote;return I(ut,wt,!(ve.parser==="css"||ve.parser==="less"||ve.parser==="scss"||ve.__embeddedInHtml))}function I(Pe,ve,ut){let wt=ve==='"'?"'":'"',pt=/\\(.)|(["'])/gs,jt=Pe.replace(pt,(Be,Je,$t)=>Je===wt?Je:$t===ve?"\\"+$t:$t||(ut&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Je)?Je:"\\"+Je));return ve+jt+ve}function j(Pe){return Pe.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function X(Pe,ve){let ut=Pe.match(new RegExp(`(${h(ve)})+`,"g"));return ut===null?0:ut.reduce((wt,pt)=>Math.max(wt,pt.length/ve.length),0)}function W(Pe,ve){let ut=Pe.match(new RegExp(`(${h(ve)})+`,"g"));if(ut===null)return 0;let wt=new Map,pt=0;for(let jt of ut){let Be=jt.length/ve.length;wt.set(Be,!0),Be>pt&&(pt=Be)}for(let jt=1;jt<pt;jt++)if(!wt.get(jt))return jt;return pt+1}function J(Pe,ve){(Pe.comments||(Pe.comments=[])).push(ve),ve.printed=!1,ve.nodeDescription=lt(Pe)}function ce(Pe,ve){ve.leading=!0,ve.trailing=!1,J(Pe,ve)}function Ae(Pe,ve,ut){ve.leading=!1,ve.trailing=!1,ut&&(ve.marker=ut),J(Pe,ve)}function Te(Pe,ve){ve.leading=!1,ve.trailing=!0,J(Pe,ve)}function we(Pe,ve){let{languages:ut}=g({plugins:ve.plugins}),wt=ut.find(pt=>{let{name:jt}=pt;return jt.toLowerCase()===Pe})||ut.find(pt=>{let{aliases:jt}=pt;return Array.isArray(jt)&&jt.includes(Pe)})||ut.find(pt=>{let{extensions:jt}=pt;return Array.isArray(jt)&&jt.includes(`.${Pe}`)});return wt&&wt.parsers[0]}function Ue(Pe){return Pe&&Pe.type==="front-matter"}function ge(Pe){let ve=new WeakMap;return function(ut){return ve.has(ut)||ve.set(ut,Symbol(Pe)),ve.get(ut)}}function lt(Pe){let ve=Pe.type||Pe.kind||"(unknown type)",ut=String(Pe.name||Pe.id&&(typeof Pe.id=="object"?Pe.id.name:Pe.id)||Pe.key&&(typeof Pe.key=="object"?Pe.key.name:Pe.key)||Pe.value&&(typeof Pe.value=="object"?"":String(Pe.value))||Pe.operator||"");return ut.length>20&&(ut=ut.slice(0,19)+"…"),ve+(ut?" "+ut:"")}c.exports={inferParserByLanguage:we,getStringWidth:D,getMaxContinuousCount:X,getMinNotPresentContinuousCount:W,getPenultimate:Q,getLast:d,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:F,getNextNonSpaceNonCommentCharacterIndex:ne,getNextNonSpaceNonCommentCharacter:Fe,skip:Z,skipWhitespace:x,skipSpaces:v,skipToLineEnd:S,skipEverythingButNewLine:k,skipInlineComment:T,skipTrailingComment:$,skipNewline:w,isNextLineEmptyAfterIndex:q,isNextLineEmpty:ae,isPreviousLineEmpty:te,hasNewline:re,hasNewlineInRange:L,hasSpaces:_,getAlignmentSize:z,getIndentSize:B,getPreferredQuote:M,printString:A,printNumber:j,makeString:I,addLeadingComment:ce,addDanglingComment:Ae,addTrailingComment:Te,isFrontMatterNode:Ue,isNonEmptyArray:y,createGroupIdMapper:ge}}}),Pa={};un(Pa,{basename:()=>Iu,default:()=>Nr,delimiter:()=>hr,dirname:()=>nu,extname:()=>vl,isAbsolute:()=>Ta,join:()=>$u,normalize:()=>_u,relative:()=>Nu,resolve:()=>ru,sep:()=>Ar});function bl(a,c){for(var h=0,d=a.length-1;d>=0;d--){var g=a[d];g==="."?a.splice(d,1):g===".."?(a.splice(d,1),h++):h&&(a.splice(d,1),h--)}if(c)for(;h--;h)a.unshift("..");return a}function ru(){for(var a="",c=!1,h=arguments.length-1;h>=-1&&!c;h--){var d=h>=0?arguments[h]:"/";if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");d&&(a=d+"/"+a,c=d.charAt(0)==="/")}return a=bl(xn(a.split("/"),function(g){return!!g}),!c).join("/"),(c?"/":"")+a||"."}function _u(a){var c=Ta(a),h=er(a,-1)==="/";return a=bl(xn(a.split("/"),function(d){return!!d}),!c).join("/"),!a&&!c&&(a="."),a&&h&&(a+="/"),(c?"/":"")+a}function Ta(a){return a.charAt(0)==="/"}function $u(){var a=Array.prototype.slice.call(arguments,0);return _u(xn(a,function(c,h){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))}function Nu(a,c){a=ru(a).substr(1),c=ru(c).substr(1);function h(S){for(var k=0;k<S.length&&S[k]==="";k++);for(var T=S.length-1;T>=0&&S[T]==="";T--);return k>T?[]:S.slice(k,T-k+1)}for(var d=h(a.split("/")),g=h(c.split("/")),y=Math.min(d.length,g.length),D=y,x=0;x<y;x++)if(d[x]!==g[x]){D=x;break}for(var v=[],x=D;x<d.length;x++)v.push("..");return v=v.concat(g.slice(D)),v.join("/")}function nu(a){var c=Xr(a),h=c[0],d=c[1];return!h&&!d?".":(d&&(d=d.substr(0,d.length-1)),h+d)}function Iu(a,c){var h=Xr(a)[2];return c&&h.substr(-1*c.length)===c&&(h=h.substr(0,h.length-c.length)),h}function vl(a){return Xr(a)[3]}function xn(a,c){if(a.filter)return a.filter(c);for(var h=[],d=0;d<a.length;d++)c(a[d],d,a)&&h.push(a[d]);return h}var Ur,Xr,Ar,hr,Nr,er,bn=br({"node-modules-polyfills:path"(){ze(),Ur=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Xr=function(a){return Ur.exec(a).slice(1)},Ar="/",hr=":",Nr={extname:vl,basename:Iu,dirname:nu,sep:Ar,delimiter:hr,relative:Nu,join:$u,isAbsolute:Ta,normalize:_u,resolve:ru},er="ab".substr(-1)==="b"?function(a,c,h){return a.substr(c,h)}:function(a,c,h){return c<0&&(c=a.length+c),a.substr(c,h)}}}),oi=Oe({"node-modules-polyfills-commonjs:path"(a,c){ze();var h=(bn(),yi(Pa));if(h&&h.default){c.exports=h.default;for(let d in h)c.exports[d]=h[d]}else h&&(c.exports=h)}}),bi=Oe({"src/common/errors.js"(a,c){ze();var h=class extends Error{},d=class extends Error{},g=class extends Error{},y=class extends Error{};c.exports={ConfigError:h,DebugError:d,UndefinedParserError:g,ArgExpansionBailout:y}}}),di={};un(di,{__assign:()=>Rt,__asyncDelegator:()=>At,__asyncGenerator:()=>ot,__asyncValues:()=>Xe,__await:()=>st,__awaiter:()=>Rn,__classPrivateFieldGet:()=>Kr,__classPrivateFieldSet:()=>nt,__createBinding:()=>gs,__decorate:()=>Mr,__exportStar:()=>_i,__extends:()=>kn,__generator:()=>Pi,__importDefault:()=>Zt,__importStar:()=>Mt,__makeTemplateObject:()=>at,__metadata:()=>Ts,__param:()=>Fi,__read:()=>Ys,__rest:()=>wi,__spread:()=>ee,__spreadArrays:()=>Ie,__values:()=>Hi});function kn(a,c){Ct(a,c);function h(){this.constructor=a}a.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}function wi(a,c){var h={};for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&c.indexOf(d)<0&&(h[d]=a[d]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,d=Object.getOwnPropertySymbols(a);g<d.length;g++)c.indexOf(d[g])<0&&Object.prototype.propertyIsEnumerable.call(a,d[g])&&(h[d[g]]=a[d[g]]);return h}function Mr(a,c,h,d){var g=arguments.length,y=g<3?c:d===null?d=Object.getOwnPropertyDescriptor(c,h):d,D;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(a,c,h,d);else for(var x=a.length-1;x>=0;x--)(D=a[x])&&(y=(g<3?D(y):g>3?D(c,h,y):D(c,h))||y);return g>3&&y&&Object.defineProperty(c,h,y),y}function Fi(a,c){return function(h,d){c(h,d,a)}}function Ts(a,c){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,c)}function Rn(a,c,h,d){function g(y){return y instanceof h?y:new h(function(D){D(y)})}return new(h||(h=Promise))(function(y,D){function x(k){try{S(d.next(k))}catch(T){D(T)}}function v(k){try{S(d.throw(k))}catch(T){D(T)}}function S(k){k.done?y(k.value):g(k.value).then(x,v)}S((d=d.apply(a,c||[])).next())})}function Pi(a,c){var h={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},d,g,y,D;return D={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(D[Symbol.iterator]=function(){return this}),D;function x(S){return function(k){return v([S,k])}}function v(S){if(d)throw new TypeError("Generator is already executing.");for(;h;)try{if(d=1,g&&(y=S[0]&2?g.return:S[0]?g.throw||((y=g.return)&&y.call(g),0):g.next)&&!(y=y.call(g,S[1])).done)return y;switch(g=0,y&&(S=[S[0]&2,y.value]),S[0]){case 0:case 1:y=S;break;case 4:return h.label++,{value:S[1],done:!1};case 5:h.label++,g=S[1],S=[0];continue;case 7:S=h.ops.pop(),h.trys.pop();continue;default:if(y=h.trys,!(y=y.length>0&&y[y.length-1])&&(S[0]===6||S[0]===2)){h=0;continue}if(S[0]===3&&(!y||S[1]>y[0]&&S[1]<y[3])){h.label=S[1];break}if(S[0]===6&&h.label<y[1]){h.label=y[1],y=S;break}if(y&&h.label<y[2]){h.label=y[2],h.ops.push(S);break}y[2]&&h.ops.pop(),h.trys.pop();continue}S=c.call(a,h)}catch(k){S=[6,k],g=0}finally{d=y=0}if(S[0]&5)throw S[1];return{value:S[0]?S[1]:void 0,done:!0}}}function gs(a,c,h,d){d===void 0&&(d=h),a[d]=c[h]}function _i(a,c){for(var h in a)h!=="default"&&!c.hasOwnProperty(h)&&(c[h]=a[h])}function Hi(a){var c=typeof Symbol=="function"&&Symbol.iterator,h=c&&a[c],d=0;if(h)return h.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&d>=a.length&&(a=void 0),{value:a&&a[d++],done:!a}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ys(a,c){var h=typeof Symbol=="function"&&a[Symbol.iterator];if(!h)return a;var d=h.call(a),g,y=[],D;try{for(;(c===void 0||c-- >0)&&!(g=d.next()).done;)y.push(g.value)}catch(x){D={error:x}}finally{try{g&&!g.done&&(h=d.return)&&h.call(d)}finally{if(D)throw D.error}}return y}function ee(){for(var a=[],c=0;c<arguments.length;c++)a=a.concat(Ys(arguments[c]));return a}function Ie(){for(var a=0,c=0,h=arguments.length;c<h;c++)a+=arguments[c].length;for(var d=Array(a),g=0,c=0;c<h;c++)for(var y=arguments[c],D=0,x=y.length;D<x;D++,g++)d[g]=y[D];return d}function st(a){return this instanceof st?(this.v=a,this):new st(a)}function ot(a,c,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=h.apply(a,c||[]),g,y=[];return g={},D("next"),D("throw"),D("return"),g[Symbol.asyncIterator]=function(){return this},g;function D($){d[$]&&(g[$]=function(w){return new Promise(function(F,Q){y.push([$,w,F,Q])>1||x($,w)})})}function x($,w){try{v(d[$](w))}catch(F){T(y[0][3],F)}}function v($){$.value instanceof st?Promise.resolve($.value.v).then(S,k):T(y[0][2],$)}function S($){x("next",$)}function k($){x("throw",$)}function T($,w){$(w),y.shift(),y.length&&x(y[0][0],y[0][1])}}function At(a){var c,h;return c={},d("next"),d("throw",function(g){throw g}),d("return"),c[Symbol.iterator]=function(){return this},c;function d(g,y){c[g]=a[g]?function(D){return(h=!h)?{value:st(a[g](D)),done:g==="return"}:y?y(D):D}:y}}function Xe(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c=a[Symbol.asyncIterator],h;return c?c.call(a):(a=typeof Hi=="function"?Hi(a):a[Symbol.iterator](),h={},d("next"),d("throw"),d("return"),h[Symbol.asyncIterator]=function(){return this},h);function d(y){h[y]=a[y]&&function(D){return new Promise(function(x,v){D=a[y](D),g(x,v,D.done,D.value)})}}function g(y,D,x,v){Promise.resolve(v).then(function(S){y({value:S,done:x})},D)}}function at(a,c){return Object.defineProperty?Object.defineProperty(a,"raw",{value:c}):a.raw=c,a}function Mt(a){if(a&&a.__esModule)return a;var c={};if(a!=null)for(var h in a)Object.hasOwnProperty.call(a,h)&&(c[h]=a[h]);return c.default=a,c}function Zt(a){return a&&a.__esModule?a:{default:a}}function Kr(a,c){if(!c.has(a))throw new TypeError("attempted to get private field on non-instance");return c.get(a)}function nt(a,c,h){if(!c.has(a))throw new TypeError("attempted to set private field on non-instance");return c.set(a,h),h}var Ct,Rt,ir=br({"node_modules/tslib/tslib.es6.js"(){ze(),Ct=function(a,c){return Ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,d){h.__proto__=d}||function(h,d){for(var g in d)d.hasOwnProperty(g)&&(h[g]=d[g])},Ct(a,c)},Rt=function(){return Rt=Object.assign||function(a){for(var c,h=1,d=arguments.length;h<d;h++){c=arguments[h];for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(a[g]=c[g])}return a},Rt.apply(this,arguments)}}}),Kt=Oe({"node_modules/vnopts/lib/descriptors/api.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0}),a.apiDescriptor={key:c=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(c)?c:JSON.stringify(c),value(c){if(c===null||typeof c!="object")return JSON.stringify(c);if(Array.isArray(c))return`[${c.map(d=>a.apiDescriptor.value(d)).join(", ")}]`;let h=Object.keys(c);return h.length===0?"{}":`{ ${h.map(d=>`${a.apiDescriptor.key(d)}: ${a.apiDescriptor.value(c[d])}`).join(", ")} }`},pair:c=>{let{key:h,value:d}=c;return a.apiDescriptor.value({[h]:d})}}}}),cr=Oe({"node_modules/vnopts/lib/descriptors/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=(ir(),yi(di));c.__exportStar(Kt(),a)}}),en=Oe({"scripts/build/shims/chalk.cjs"(a,c){ze();var h=d=>d;h.grey=h,h.red=h,h.bold=h,h.yellow=h,h.blue=h,h.default=h,c.exports=h}}),In=Oe({"node_modules/vnopts/lib/handlers/deprecated/common.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=en();a.commonDeprecatedHandler=(h,d,g)=>{let{descriptor:y}=g,D=[`${c.default.yellow(typeof h=="string"?y.key(h):y.pair(h))} is deprecated`];return d&&D.push(`we now treat it as ${c.default.blue(typeof d=="string"?y.key(d):y.pair(d))}`),D.join("; ")+"."}}}),Lr=Oe({"node_modules/vnopts/lib/handlers/deprecated/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=(ir(),yi(di));c.__exportStar(In(),a)}}),$n=Oe({"node_modules/vnopts/lib/handlers/invalid/common.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=en();a.commonInvalidHandler=(h,d,g)=>[`Invalid ${c.default.red(g.descriptor.key(h))} value.`,`Expected ${c.default.blue(g.schemas[h].expected(g))},`,`but received ${c.default.red(g.descriptor.value(d))}.`].join(" ")}}),Hn=Oe({"node_modules/vnopts/lib/handlers/invalid/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=(ir(),yi(di));c.__exportStar($n(),a)}}),ts=Oe({"node_modules/vnopts/node_modules/leven/index.js"(a,c){ze();var h=[],d=[];c.exports=function(g,y){if(g===y)return 0;var D=g;g.length>y.length&&(g=y,y=D);var x=g.length,v=y.length;if(x===0)return v;if(v===0)return x;for(;x>0&&g.charCodeAt(~-x)===y.charCodeAt(~-v);)x--,v--;if(x===0)return v;for(var S=0;S<x&&g.charCodeAt(S)===y.charCodeAt(S);)S++;if(x-=S,v-=S,x===0)return v;for(var k,T,$,w,F=0,Q=0;F<x;)d[S+F]=g.charCodeAt(S+F),h[F]=++F;for(;Q<v;)for(k=y.charCodeAt(S+Q),$=Q++,T=Q,F=0;F<x;F++)w=k===d[S+F]?$:$+1,$=h[F],T=h[F]=$>T?w>T?T+1:w:w>$?$+1:w;return T}}}),Sr=Oe({"node_modules/vnopts/lib/handlers/unknown/leven.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=en(),h=ts();a.levenUnknownHandler=(d,g,y)=>{let{descriptor:D,logger:x,schemas:v}=y,S=[`Ignored unknown option ${c.default.yellow(D.pair({key:d,value:g}))}.`],k=Object.keys(v).sort().find(T=>h(d,T)<3);k&&S.push(`Did you mean ${c.default.blue(D.key(k))}?`),x.warn(S.join(" "))}}}),Un=Oe({"node_modules/vnopts/lib/handlers/unknown/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=(ir(),yi(di));c.__exportStar(Sr(),a)}}),Zn=Oe({"node_modules/vnopts/lib/handlers/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=(ir(),yi(di));c.__exportStar(Lr(),a),c.__exportStar(Hn(),a),c.__exportStar(Un(),a)}}),Oi=Oe({"node_modules/vnopts/lib/schema.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function h(y,D){let x=new y(D),v=Object.create(x);for(let S of c)S in D&&(v[S]=g(D[S],x,d.prototype[S].length));return v}a.createSchema=h;var d=class{constructor(y){this.name=y.name}static create(y){return h(this,y)}default(y){}expected(y){return"nothing"}validate(y,D){return!1}deprecated(y,D){return!1}forward(y,D){}redirect(y,D){}overlap(y,D,x){return y}preprocess(y,D){return y}postprocess(y,D){return y}};a.Schema=d;function g(y,D,x){return typeof y=="function"?function(){for(var v=arguments.length,S=new Array(v),k=0;k<v;k++)S[k]=arguments[k];return y(...S.slice(0,x-1),D,...S.slice(x-1))}:()=>y}}}),Ai=Oe({"node_modules/vnopts/lib/schemas/alias.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Oi(),h=class extends c.Schema{constructor(d){super(d),this._sourceName=d.sourceName}expected(d){return d.schemas[this._sourceName].expected(d)}validate(d,g){return g.schemas[this._sourceName].validate(d,g)}redirect(d,g){return this._sourceName}};a.AliasSchema=h}}),Ne=Oe({"node_modules/vnopts/lib/schemas/any.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Oi(),h=class extends c.Schema{expected(){return"anything"}validate(){return!0}};a.AnySchema=h}}),it=Oe({"node_modules/vnopts/lib/schemas/array.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=(ir(),yi(di)),h=Oi(),d=class extends h.Schema{constructor(y){var{valueSchema:D,name:x=D.name}=y,v=c.__rest(y,["valueSchema","name"]);super(Object.assign({},v,{name:x})),this._valueSchema=D}expected(y){return`an array of ${this._valueSchema.expected(y)}`}validate(y,D){if(!Array.isArray(y))return!1;let x=[];for(let v of y){let S=D.normalizeValidateResult(this._valueSchema.validate(v,D),v);S!==!0&&x.push(S.value)}return x.length===0?!0:{value:x}}deprecated(y,D){let x=[];for(let v of y){let S=D.normalizeDeprecatedResult(this._valueSchema.deprecated(v,D),v);S!==!1&&x.push(...S.map(k=>{let{value:T}=k;return{value:[T]}}))}return x}forward(y,D){let x=[];for(let v of y){let S=D.normalizeForwardResult(this._valueSchema.forward(v,D),v);x.push(...S.map(g))}return x}redirect(y,D){let x=[],v=[];for(let S of y){let k=D.normalizeRedirectResult(this._valueSchema.redirect(S,D),S);"remain"in k&&x.push(k.remain),v.push(...k.redirect.map(g))}return x.length===0?{redirect:v}:{redirect:v,remain:x}}overlap(y,D){return y.concat(D)}};a.ArraySchema=d;function g(y){let{from:D,to:x}=y;return{from:[D],to:x}}}}),rr=Oe({"node_modules/vnopts/lib/schemas/boolean.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Oi(),h=class extends c.Schema{expected(){return"true or false"}validate(d){return typeof d=="boolean"}};a.BooleanSchema=h}}),Lt=Oe({"node_modules/vnopts/lib/utils.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});function c(w,F){let Q=Object.create(null);for(let Z of w){let re=Z[F];if(Q[re])throw new Error(`Duplicate ${F} ${JSON.stringify(re)}`);Q[re]=Z}return Q}a.recordFromArray=c;function h(w,F){let Q=new Map;for(let Z of w){let re=Z[F];if(Q.has(re))throw new Error(`Duplicate ${F} ${JSON.stringify(re)}`);Q.set(re,Z)}return Q}a.mapFromArray=h;function d(){let w=Object.create(null);return F=>{let Q=JSON.stringify(F);return w[Q]?!0:(w[Q]=!0,!1)}}a.createAutoChecklist=d;function g(w,F){let Q=[],Z=[];for(let re of w)F(re)?Q.push(re):Z.push(re);return[Q,Z]}a.partition=g;function y(w){return w===Math.floor(w)}a.isInt=y;function D(w,F){if(w===F)return 0;let Q=typeof w,Z=typeof F,re=["undefined","object","boolean","number","string"];return Q!==Z?re.indexOf(Q)-re.indexOf(Z):Q!=="string"?Number(w)-Number(F):w.localeCompare(F)}a.comparePrimitive=D;function x(w){return w===void 0?{}:w}a.normalizeDefaultResult=x;function v(w,F){return w===!0?!0:w===!1?{value:F}:w}a.normalizeValidateResult=v;function S(w,F){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return w===!1?!1:w===!0?Q?!0:[{value:F}]:"value"in w?[w]:w.length===0?!1:w}a.normalizeDeprecatedResult=S;function k(w,F){return typeof w=="string"||"key"in w?{from:F,to:w}:"from"in w?{from:w.from,to:w.to}:{from:F,to:w.to}}a.normalizeTransferResult=k;function T(w,F){return w===void 0?[]:Array.isArray(w)?w.map(Q=>k(Q,F)):[k(w,F)]}a.normalizeForwardResult=T;function $(w,F){let Q=T(typeof w=="object"&&"redirect"in w?w.redirect:w,F);return Q.length===0?{remain:F,redirect:Q}:typeof w=="object"&&"remain"in w?{remain:w.remain,redirect:Q}:{redirect:Q}}a.normalizeRedirectResult=$}}),Ir=Oe({"node_modules/vnopts/lib/schemas/choice.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Oi(),h=Lt(),d=class extends c.Schema{constructor(g){super(g),this._choices=h.mapFromArray(g.choices.map(y=>y&&typeof y=="object"?y:{value:y}),"value")}expected(g){let{descriptor:y}=g,D=Array.from(this._choices.keys()).map(S=>this._choices.get(S)).filter(S=>!S.deprecated).map(S=>S.value).sort(h.comparePrimitive).map(y.value),x=D.slice(0,-2),v=D.slice(-2);return x.concat(v.join(" or ")).join(", ")}validate(g){return this._choices.has(g)}deprecated(g){let y=this._choices.get(g);return y&&y.deprecated?{value:g}:!1}forward(g){let y=this._choices.get(g);return y?y.forward:void 0}redirect(g){let y=this._choices.get(g);return y?y.redirect:void 0}};a.ChoiceSchema=d}}),vi=Oe({"node_modules/vnopts/lib/schemas/number.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Oi(),h=class extends c.Schema{expected(){return"a number"}validate(d,g){return typeof d=="number"}};a.NumberSchema=h}}),Ji=Oe({"node_modules/vnopts/lib/schemas/integer.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Lt(),h=vi(),d=class extends h.NumberSchema{expected(){return"an integer"}validate(g,y){return y.normalizeValidateResult(super.validate(g,y),g)===!0&&c.isInt(g)}};a.IntegerSchema=d}}),Gs=Oe({"node_modules/vnopts/lib/schemas/string.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Oi(),h=class extends c.Schema{expected(){return"a string"}validate(d){return typeof d=="string"}};a.StringSchema=h}}),Bs=Oe({"node_modules/vnopts/lib/schemas/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=(ir(),yi(di));c.__exportStar(Ai(),a),c.__exportStar(Ne(),a),c.__exportStar(it(),a),c.__exportStar(rr(),a),c.__exportStar(Ir(),a),c.__exportStar(Ji(),a),c.__exportStar(vi(),a),c.__exportStar(Gs(),a)}}),fo=Oe({"node_modules/vnopts/lib/defaults.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Kt(),h=In(),d=Hn(),g=Sr();a.defaultDescriptor=c.apiDescriptor,a.defaultUnknownHandler=g.levenUnknownHandler,a.defaultInvalidHandler=d.commonInvalidHandler,a.defaultDeprecatedHandler=h.commonDeprecatedHandler}}),mo=Oe({"node_modules/vnopts/lib/normalize.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=fo(),h=Lt();a.normalize=(g,y,D)=>new d(y,D).normalize(g);var d=class{constructor(g,y){let{logger:D=console,descriptor:x=c.defaultDescriptor,unknown:v=c.defaultUnknownHandler,invalid:S=c.defaultInvalidHandler,deprecated:k=c.defaultDeprecatedHandler}=y||{};this._utils={descriptor:x,logger:D||{warn:()=>{}},schemas:h.recordFromArray(g,"name"),normalizeDefaultResult:h.normalizeDefaultResult,normalizeDeprecatedResult:h.normalizeDeprecatedResult,normalizeForwardResult:h.normalizeForwardResult,normalizeRedirectResult:h.normalizeRedirectResult,normalizeValidateResult:h.normalizeValidateResult},this._unknownHandler=v,this._invalidHandler=S,this._deprecatedHandler=k,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=h.createAutoChecklist()}normalize(g){let y={},D=[g],x=()=>{for(;D.length!==0;){let v=D.shift(),S=this._applyNormalization(v,y);D.push(...S)}};x();for(let v of Object.keys(this._utils.schemas)){let S=this._utils.schemas[v];if(!(v in y)){let k=h.normalizeDefaultResult(S.default(this._utils));"value"in k&&D.push({[v]:k.value})}}x();for(let v of Object.keys(this._utils.schemas)){let S=this._utils.schemas[v];v in y&&(y[v]=S.postprocess(y[v],this._utils))}return y}_applyNormalization(g,y){let D=[],[x,v]=h.partition(Object.keys(g),S=>S in this._utils.schemas);for(let S of x){let k=this._utils.schemas[S],T=k.preprocess(g[S],this._utils),$=h.normalizeValidateResult(k.validate(T,this._utils),T);if($!==!0){let{value:Z}=$,re=this._invalidHandler(S,Z,this._utils);throw typeof re=="string"?new Error(re):re}let w=Z=>{let{from:re,to:L}=Z;D.push(typeof L=="string"?{[L]:re}:{[L.key]:L.value})},F=Z=>{let{value:re,redirectTo:L}=Z,te=h.normalizeDeprecatedResult(k.deprecated(re,this._utils),T,!0);if(te!==!1)if(te===!0)this._hasDeprecationWarned(S)||this._utils.logger.warn(this._deprecatedHandler(S,L,this._utils));else for(let{value:q}of te){let ae={key:S,value:q};if(!this._hasDeprecationWarned(ae)){let ne=typeof L=="string"?{key:L,value:q}:L;this._utils.logger.warn(this._deprecatedHandler(ae,ne,this._utils))}}};h.normalizeForwardResult(k.forward(T,this._utils),T).forEach(w);let Q=h.normalizeRedirectResult(k.redirect(T,this._utils),T);if(Q.redirect.forEach(w),"remain"in Q){let Z=Q.remain;y[S]=S in y?k.overlap(y[S],Z,this._utils):Z,F({value:Z})}for(let{from:Z,to:re}of Q.redirect)F({value:Z,redirectTo:re})}for(let S of v){let k=g[S],T=this._unknownHandler(S,k,this._utils);if(T)for(let $ of Object.keys(T)){let w={[$]:T[$]};$ in this._utils.schemas?D.push(w):Object.assign(y,w)}}return D}};a.Normalizer=d}}),Po=Oe({"node_modules/vnopts/lib/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=(ir(),yi(di));c.__exportStar(cr(),a),c.__exportStar(Zn(),a),c.__exportStar(Bs(),a),c.__exportStar(mo(),a),c.__exportStar(Oi(),a)}}),To=Oe({"src/main/options-normalizer.js"(a,c){ze();var h=Po(),d=Ds(),g={key:$=>$.length===1?`-${$}`:`--${$}`,value:$=>h.apiDescriptor.value($),pair:$=>{let{key:w,value:F}=$;return F===!1?`--no-${w}`:F===!0?g.key(w):F===""?`${g.key(w)} without an argument`:`${g.key(w)}=${F}`}},y=$=>{let{colorsModule:w,levenshteinDistance:F}=$;return class extends h.ChoiceSchema{constructor(Q){let{name:Z,flags:re}=Q;super({name:Z,choices:re}),this._flags=[...re].sort()}preprocess(Q,Z){if(typeof Q=="string"&&Q.length>0&&!this._flags.includes(Q)){let re=this._flags.find(L=>F(L,Q)<3);if(re)return Z.logger.warn([`Unknown flag ${w.yellow(Z.descriptor.value(Q))},`,`did you mean ${w.blue(Z.descriptor.value(re))}?`].join(" ")),re}return Q}expected(){return"a flag"}}},D;function x($,w){let{logger:F=!1,isCLI:Q=!1,passThrough:Z=!1,colorsModule:re=null,levenshteinDistance:L=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},te=Z?Array.isArray(Z)?(z,B)=>Z.includes(z)?{[z]:B}:void 0:(z,B)=>({[z]:B}):(z,B,M)=>{let A=M.schemas,I=Me(A,Ce);return h.levenUnknownHandler(z,B,Object.assign(Object.assign({},M),{},{schemas:I}))},q=Q?g:h.apiDescriptor,ae=v(w,{isCLI:Q,colorsModule:re,levenshteinDistance:L}),ne=new h.Normalizer(ae,{logger:F,unknown:te,descriptor:q}),Fe=F!==!1;Fe&&D&&(ne._hasDeprecationWarned=D);let _=ne.normalize($);return Fe&&(D=ne._hasDeprecationWarned),Q&&_["plugin-search"]===!1&&(_["plugin-search-dir"]=!1),_}function v($,w){let{isCLI:F,colorsModule:Q,levenshteinDistance:Z}=w,re=[];F&&re.push(h.AnySchema.create({name:"_"}));for(let L of $)re.push(S(L,{isCLI:F,optionInfos:$,colorsModule:Q,levenshteinDistance:Z})),L.alias&&F&&re.push(h.AliasSchema.create({name:L.alias,sourceName:L.name}));return re}function S($,w){let{isCLI:F,optionInfos:Q,colorsModule:Z,levenshteinDistance:re}=w,{name:L}=$;if(L==="plugin-search-dir"||L==="pluginSearchDirs")return h.AnySchema.create({name:L,preprocess(ne){return ne===!1||(ne=Array.isArray(ne)?ne:[ne]),ne},validate(ne){return ne===!1?!0:ne.every(Fe=>typeof Fe=="string")},expected(){return"false or paths to plugin search dir"}});let te={name:L},q,ae={};switch($.type){case"int":q=h.IntegerSchema,F&&(te.preprocess=Number);break;case"string":q=h.StringSchema;break;case"choice":q=h.ChoiceSchema,te.choices=$.choices.map(ne=>typeof ne=="object"&&ne.redirect?Object.assign(Object.assign({},ne),{},{redirect:{to:{key:$.name,value:ne.redirect}}}):ne);break;case"boolean":q=h.BooleanSchema;break;case"flag":q=y({colorsModule:Z,levenshteinDistance:re}),te.flags=Q.flatMap(ne=>[ne.alias,ne.description&&ne.name,ne.oppositeDescription&&`no-${ne.name}`].filter(Boolean));break;case"path":q=h.StringSchema;break;default:throw new Error(`Unexpected type ${$.type}`)}if($.exception?te.validate=(ne,Fe,_)=>$.exception(ne)||Fe.validate(ne,_):te.validate=(ne,Fe,_)=>ne===void 0||Fe.validate(ne,_),$.redirect&&(ae.redirect=ne=>ne?{to:{key:$.redirect.option,value:$.redirect.value}}:void 0),$.deprecated&&(ae.deprecated=!0),F&&!$.array){let ne=te.preprocess||(Fe=>Fe);te.preprocess=(Fe,_,z)=>_.preprocess(ne(Array.isArray(Fe)?d(Fe):Fe),z)}return $.array?h.ArraySchema.create(Object.assign(Object.assign(Object.assign({},F?{preprocess:ne=>Array.isArray(ne)?ne:[ne]}:{}),ae),{},{valueSchema:q.create(te)})):q.create(Object.assign(Object.assign({},te),ae))}function k($,w,F){return x($,w,F)}function T($,w,F){return x($,w,Object.assign({isCLI:!0},F))}c.exports={normalizeApiOptions:k,normalizeCliOptions:T}}}),Ui=Oe({"src/language-js/loc.js"(a,c){ze();var h=Bu();function d(v){var S,k;let T=v.range?v.range[0]:v.start,$=(S=(k=v.declaration)===null||k===void 0?void 0:k.decorators)!==null&&S!==void 0?S:v.decorators;return h($)?Math.min(d($[0]),T):T}function g(v){return v.range?v.range[1]:v.end}function y(v,S){let k=d(v);return Number.isInteger(k)&&k===d(S)}function D(v,S){let k=g(v);return Number.isInteger(k)&&k===g(S)}function x(v,S){return y(v,S)&&D(v,S)}c.exports={locStart:d,locEnd:g,hasSameLocStart:y,hasSameLoc:x}}}),Qe=Oe({"src/main/load-parser.js"(a,c){ze(),c.exports=()=>{}}}),nn=Oe({"scripts/build/shims/babel-highlight.cjs"(a,c){ze();var h=en(),d={shouldHighlight:()=>!1,getChalk:()=>h};c.exports=d}}),Fn=Oe({"node_modules/@babel/code-frame/lib/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0}),a.codeFrameColumns=D,a.default=x;var c=nn(),h=!1;function d(v){return{gutter:v.grey,marker:v.red.bold,message:v.red.bold}}var g=/\r\n|[\n\r\u2028\u2029]/;function y(v,S,k){let T=Object.assign({column:0,line:-1},v.start),$=Object.assign({},T,v.end),{linesAbove:w=2,linesBelow:F=3}=k||{},Q=T.line,Z=T.column,re=$.line,L=$.column,te=Math.max(Q-(w+1),0),q=Math.min(S.length,re+F);Q===-1&&(te=0),re===-1&&(q=S.length);let ae=re-Q,ne={};if(ae)for(let Fe=0;Fe<=ae;Fe++){let _=Fe+Q;if(!Z)ne[_]=!0;else if(Fe===0){let z=S[_-1].length;ne[_]=[Z,z-Z+1]}else if(Fe===ae)ne[_]=[0,L];else{let z=S[_-Fe].length;ne[_]=[0,z]}}else Z===L?Z?ne[Q]=[Z,0]:ne[Q]=!0:ne[Q]=[Z,L-Z];return{start:te,end:q,markerLines:ne}}function D(v,S){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=(k.highlightCode||k.forceColor)&&(0,c.shouldHighlight)(k),$=(0,c.getChalk)(k),w=d($),F=(ne,Fe)=>T?ne(Fe):Fe,Q=v.split(g),{start:Z,end:re,markerLines:L}=y(S,Q,k),te=S.start&&typeof S.start.column=="number",q=String(re).length,ae=(T?(0,c.default)(v,k):v).split(g,re).slice(Z,re).map((ne,Fe)=>{let _=Z+1+Fe,z=` ${` ${_}`.slice(-q)} |`,B=L[_],M=!L[_+1];if(B){let A="";if(Array.isArray(B)){let I=ne.slice(0,Math.max(B[0]-1,0)).replace(/[^\t]/g," "),j=B[1]||1;A=[`
|
|
`,F(w.gutter,z.replace(/\d/g," "))," ",I,F(w.marker,"^").repeat(j)].join(""),M&&k.message&&(A+=" "+F(w.message,k.message))}return[F(w.marker,">"),F(w.gutter,z),ne.length>0?` ${ne}`:"",A].join("")}else return` ${F(w.gutter,z)}${ne.length>0?` ${ne}`:""}`}).join(`
|
|
`);return k.message&&!te&&(ae=`${" ".repeat(q+1)}${k.message}
|
|
${ae}`),T?$.reset(ae):ae}function x(v,S,k){let T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!h){h=!0;let $="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(zi.emitWarning)zi.emitWarning($,"DeprecationWarning");else{let w=new Error($);w.name="DeprecationWarning",console.warn(new Error($))}}return k=Math.max(k,0),D(v,{start:{column:k,line:S}},T)}}}),vn=Oe({"src/main/parser.js"(a,c){ze();var{ConfigError:h}=bi(),d=Ui();Qe();var{locStart:g,locEnd:y}=d,D=Object.getOwnPropertyNames,x=Object.getOwnPropertyDescriptor;function v(T){let $={};for(let w of T.plugins)if(w.parsers)for(let F of D(w.parsers))Object.defineProperty($,F,x(w.parsers,F));return $}function S(T){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v(T);if(typeof T.parser=="function")return{parse:T.parser,astFormat:"estree",locStart:g,locEnd:y};if(typeof T.parser=="string"){if(Object.prototype.hasOwnProperty.call($,T.parser))return $[T.parser];throw new h(`Couldn't resolve parser "${T.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function k(T,$){let w=v($),F=Object.defineProperties({},Object.fromEntries(Object.keys(w).map(Z=>[Z,{enumerable:!0,get(){return w[Z].parse}}]))),Q=S($,w);try{return Q.preprocess&&(T=Q.preprocess(T,$)),{text:T,ast:Q.parse(T,F,$)}}catch(Z){let{loc:re}=Z;if(re){let{codeFrameColumns:L}=Fn();throw Z.codeFrame=L(T,re,{highlightCode:!0}),Z.message+=`
|
|
`+Z.codeFrame,Z}throw Z}}c.exports={parse:k,resolveParser:S}}}),mi=Oe({"src/main/options.js"(a,c){ze();var h=oi(),{UndefinedParserError:d}=bi(),{getSupportInfo:g}=Fu(),y=To(),{resolveParser:D}=vn(),x={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function v(T){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=Object.assign({},T),F=g({plugins:T.plugins,showUnreleased:!0,showDeprecated:!0}).options,Q=Object.assign(Object.assign({},x),Object.fromEntries(F.filter(q=>q.default!==void 0).map(q=>[q.name,q.default])));if(!w.parser){if(!w.filepath)($.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."),w.parser="babel";else if(w.parser=k(w.filepath,w.plugins),!w.parser)throw new d(`No parser could be inferred for file: ${w.filepath}`)}let Z=D(y.normalizeApiOptions(w,[F.find(q=>q.name==="parser")],{passThrough:!0,logger:!1}));w.astFormat=Z.astFormat,w.locEnd=Z.locEnd,w.locStart=Z.locStart;let re=S(w);w.printer=re.printers[w.astFormat];let L=Object.fromEntries(F.filter(q=>q.pluginDefaults&&q.pluginDefaults[re.name]!==void 0).map(q=>[q.name,q.pluginDefaults[re.name]])),te=Object.assign(Object.assign({},Q),L);for(let[q,ae]of Object.entries(te))(w[q]===null||w[q]===void 0)&&(w[q]=ae);return w.parser==="json"&&(w.trailingComma="none"),y.normalizeApiOptions(w,F,Object.assign({passThrough:Object.keys(x)},$))}function S(T){let{astFormat:$}=T;if(!$)throw new Error("getPlugin() requires astFormat to be set");let w=T.plugins.find(F=>F.printers&&F.printers[$]);if(!w)throw new Error(`Couldn't find plugin for AST format "${$}"`);return w}function k(T,$){let w=h.basename(T).toLowerCase(),F=g({plugins:$}).languages.filter(Q=>Q.since!==null).find(Q=>Q.extensions&&Q.extensions.some(Z=>w.endsWith(Z))||Q.filenames&&Q.filenames.some(Z=>Z.toLowerCase()===w));return F&&F.parsers[0]}c.exports={normalize:v,hiddenDefaults:x,inferParser:k}}}),rs=Oe({"src/main/massage-ast.js"(a,c){ze();function h(d,g,y){if(Array.isArray(d))return d.map(S=>h(S,g,y)).filter(Boolean);if(!d||typeof d!="object")return d;let D=g.printer.massageAstNode,x;D&&D.ignoredProperties?x=D.ignoredProperties:x=new Set;let v={};for(let[S,k]of Object.entries(d))!x.has(S)&&typeof k!="function"&&(v[S]=h(k,g,d));if(D){let S=D(d,v,y);if(S===null)return;if(S)return S}return v}c.exports=h}}),us=Oe({"scripts/build/shims/assert.cjs"(a,c){ze();var h=()=>{};h.ok=h,h.strictEqual=h,c.exports=h}}),Wi=Oe({"src/main/comments.js"(a,c){ze();var h=us(),{builders:{line:d,hardline:g,breakParent:y,indent:D,lineSuffix:x,join:v,cursor:S}}=Ln(),{hasNewline:k,skipNewline:T,skipSpaces:$,isPreviousLineEmpty:w,addLeadingComment:F,addDanglingComment:Q,addTrailingComment:Z}=pi(),re=new WeakMap;function L(ce,Ae,Te){if(!ce)return;let{printer:we,locStart:Ue,locEnd:ge}=Ae;if(Te){if(we.canAttachComment&&we.canAttachComment(ce)){let Pe;for(Pe=Te.length-1;Pe>=0&&!(Ue(Te[Pe])<=Ue(ce)&&ge(Te[Pe])<=ge(ce));--Pe);Te.splice(Pe+1,0,ce);return}}else if(re.has(ce))return re.get(ce);let lt=we.getCommentChildNodes&&we.getCommentChildNodes(ce,Ae)||typeof ce=="object"&&Object.entries(ce).filter(Pe=>{let[ve]=Pe;return ve!=="enclosingNode"&&ve!=="precedingNode"&&ve!=="followingNode"&&ve!=="tokens"&&ve!=="comments"&&ve!=="parent"}).map(Pe=>{let[,ve]=Pe;return ve});if(lt){Te||(Te=[],re.set(ce,Te));for(let Pe of lt)L(Pe,Ae,Te);return Te}}function te(ce,Ae,Te,we){let{locStart:Ue,locEnd:ge}=Te,lt=Ue(Ae),Pe=ge(Ae),ve=L(ce,Te),ut,wt,pt=0,jt=ve.length;for(;pt<jt;){let Be=pt+jt>>1,Je=ve[Be],$t=Ue(Je),Nt=ge(Je);if($t<=lt&&Pe<=Nt)return te(Je,Ae,Te,Je);if(Nt<=lt){ut=Je,pt=Be+1;continue}if(Pe<=$t){wt=Je,jt=Be;continue}throw new Error("Comment location overlaps with node location")}if(we&&we.type==="TemplateLiteral"){let{quasis:Be}=we,Je=M(Be,Ae,Te);ut&&M(Be,ut,Te)!==Je&&(ut=null),wt&&M(Be,wt,Te)!==Je&&(wt=null)}return{enclosingNode:we,precedingNode:ut,followingNode:wt}}var q=()=>!1;function ae(ce,Ae,Te,we){if(!Array.isArray(ce))return;let Ue=[],{locStart:ge,locEnd:lt,printer:{handleComments:Pe={}}}=we,{avoidAstMutation:ve,ownLine:ut=q,endOfLine:wt=q,remaining:pt=q}=Pe,jt=ce.map((Be,Je)=>Object.assign(Object.assign({},te(Ae,Be,we)),{},{comment:Be,text:Te,options:we,ast:Ae,isLastComment:ce.length-1===Je}));for(let[Be,Je]of jt.entries()){let{comment:$t,precedingNode:Nt,enclosingNode:jr,followingNode:tt,text:Ve,options:ft,ast:vt,isLastComment:Ut}=Je;if(ft.parser==="json"||ft.parser==="json5"||ft.parser==="__js_expression"||ft.parser==="__vue_expression"||ft.parser==="__vue_ts_expression"){if(ge($t)-ge(vt)<=0){F(vt,$t);continue}if(lt($t)-lt(vt)>=0){Z(vt,$t);continue}}let sr;if(ve?sr=[Je]:($t.enclosingNode=jr,$t.precedingNode=Nt,$t.followingNode=tt,sr=[$t,Ve,ft,vt,Ut]),Fe(Ve,ft,jt,Be))$t.placement="ownLine",ut(...sr)||(tt?F(tt,$t):Nt?Z(Nt,$t):Q(jr||vt,$t));else if(_(Ve,ft,jt,Be))$t.placement="endOfLine",wt(...sr)||(Nt?Z(Nt,$t):tt?F(tt,$t):Q(jr||vt,$t));else if($t.placement="remaining",!pt(...sr))if(Nt&&tt){let Or=Ue.length;Or>0&&Ue[Or-1].followingNode!==tt&&z(Ue,Ve,ft),Ue.push(Je)}else Nt?Z(Nt,$t):tt?F(tt,$t):Q(jr||vt,$t)}if(z(Ue,Te,we),!ve)for(let Be of ce)delete Be.precedingNode,delete Be.enclosingNode,delete Be.followingNode}var ne=ce=>!/[\S\n\u2028\u2029]/.test(ce);function Fe(ce,Ae,Te,we){let{comment:Ue,precedingNode:ge}=Te[we],{locStart:lt,locEnd:Pe}=Ae,ve=lt(Ue);if(ge)for(let ut=we-1;ut>=0;ut--){let{comment:wt,precedingNode:pt}=Te[ut];if(pt!==ge||!ne(ce.slice(Pe(wt),ve)))break;ve=lt(wt)}return k(ce,ve,{backwards:!0})}function _(ce,Ae,Te,we){let{comment:Ue,followingNode:ge}=Te[we],{locStart:lt,locEnd:Pe}=Ae,ve=Pe(Ue);if(ge)for(let ut=we+1;ut<Te.length;ut++){let{comment:wt,followingNode:pt}=Te[ut];if(pt!==ge||!ne(ce.slice(ve,lt(wt))))break;ve=Pe(wt)}return k(ce,ve)}function z(ce,Ae,Te){let we=ce.length;if(we===0)return;let{precedingNode:Ue,followingNode:ge,enclosingNode:lt}=ce[0],Pe=Te.printer.getGapRegex&&Te.printer.getGapRegex(lt)||/^[\s(]*$/,ve=Te.locStart(ge),ut;for(ut=we;ut>0;--ut){let{comment:wt,precedingNode:pt,followingNode:jt}=ce[ut-1];h.strictEqual(pt,Ue),h.strictEqual(jt,ge);let Be=Ae.slice(Te.locEnd(wt),ve);if(Pe.test(Be))ve=Te.locStart(wt);else break}for(let[wt,{comment:pt}]of ce.entries())wt<ut?Z(Ue,pt):F(ge,pt);for(let wt of[Ue,ge])wt.comments&&wt.comments.length>1&&wt.comments.sort((pt,jt)=>Te.locStart(pt)-Te.locStart(jt));ce.length=0}function B(ce,Ae){let Te=ce.getValue();return Te.printed=!0,Ae.printer.printComment(ce,Ae)}function M(ce,Ae,Te){let we=Te.locStart(Ae)-1;for(let Ue=1;Ue<ce.length;++Ue)if(we<Te.locStart(ce[Ue]))return Ue-1;return 0}function A(ce,Ae){let Te=ce.getValue(),we=[B(ce,Ae)],{printer:Ue,originalText:ge,locStart:lt,locEnd:Pe}=Ae;if(Ue.isBlockComment&&Ue.isBlockComment(Te)){let ut=k(ge,Pe(Te))?k(ge,lt(Te),{backwards:!0})?g:d:" ";we.push(ut)}else we.push(g);let ve=T(ge,$(ge,Pe(Te)));return ve!==!1&&k(ge,ve)&&we.push(g),we}function I(ce,Ae){let Te=ce.getValue(),we=B(ce,Ae),{printer:Ue,originalText:ge,locStart:lt}=Ae,Pe=Ue.isBlockComment&&Ue.isBlockComment(Te);if(k(ge,lt(Te),{backwards:!0})){let ut=w(ge,Te,lt);return x([g,ut?g:"",we])}let ve=[" ",we];return Pe||(ve=[x(ve),y]),ve}function j(ce,Ae,Te,we){let Ue=[],ge=ce.getValue();return!ge||!ge.comments||(ce.each(()=>{let lt=ce.getValue();!lt.leading&&!lt.trailing&&(!we||we(lt))&&Ue.push(B(ce,Ae))},"comments"),Ue.length===0)?"":Te?v(g,Ue):D([g,v(g,Ue)])}function X(ce,Ae,Te){let we=ce.getValue();if(!we)return{};let Ue=we.comments||[];Te&&(Ue=Ue.filter(ve=>!Te.has(ve)));let ge=we===Ae.cursorNode;if(Ue.length===0){let ve=ge?S:"";return{leading:ve,trailing:ve}}let lt=[],Pe=[];return ce.each(()=>{let ve=ce.getValue();if(Te&&Te.has(ve))return;let{leading:ut,trailing:wt}=ve;ut?lt.push(A(ce,Ae)):wt&&Pe.push(I(ce,Ae))},"comments"),ge&&(lt.unshift(S),Pe.push(S)),{leading:lt,trailing:Pe}}function W(ce,Ae,Te,we){let{leading:Ue,trailing:ge}=X(ce,Te,we);return!Ue&&!ge?Ae:[Ue,Ae,ge]}function J(ce){if(ce)for(let Ae of ce){if(!Ae.printed)throw new Error('Comment "'+Ae.value.trim()+'" was not printed. Please report this error!');delete Ae.printed}}c.exports={attach:ae,printComments:W,printCommentsSeparately:X,printDanglingComments:j,getSortedChildNodes:L,ensureAllCommentsPrinted:J}}}),xo=Oe({"src/common/ast-path.js"(a,c){ze();var h=Ds();function d(D,x){let v=g(D.stack,x);return v===-1?null:D.stack[v]}function g(D,x){for(let v=D.length-1;v>=0;v-=2){let S=D[v];if(S&&!Array.isArray(S)&&--x<0)return v}return-1}var y=class{constructor(D){this.stack=[D]}getName(){let{stack:D}=this,{length:x}=D;return x>1?D[x-2]:null}getValue(){return h(this.stack)}getNode(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return d(this,D)}getParentNode(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return d(this,D+1)}call(D){let{stack:x}=this,{length:v}=x,S=h(x);for(var k=arguments.length,T=new Array(k>1?k-1:0),$=1;$<k;$++)T[$-1]=arguments[$];for(let F of T)S=S[F],x.push(F,S);let w=D(this);return x.length=v,w}callParent(D){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,v=g(this.stack,x+1),S=this.stack.splice(v+1),k=D(this);return this.stack.push(...S),k}each(D){let{stack:x}=this,{length:v}=x,S=h(x);for(var k=arguments.length,T=new Array(k>1?k-1:0),$=1;$<k;$++)T[$-1]=arguments[$];for(let w of T)S=S[w],x.push(w,S);for(let w=0;w<S.length;++w)x.push(w,S[w]),D(this,w,S),x.length-=2;x.length=v}map(D){let x=[];for(var v=arguments.length,S=new Array(v>1?v-1:0),k=1;k<v;k++)S[k-1]=arguments[k];return this.each((T,$,w)=>{x[$]=D(T,$,w)},...S),x}try(D){let{stack:x}=this,v=[...x];try{return D()}finally{x.length=0,x.push(...v)}}match(){let D=this.stack.length-1,x=null,v=this.stack[D--];for(var S=arguments.length,k=new Array(S),T=0;T<S;T++)k[T]=arguments[T];for(let $ of k){if(v===void 0)return!1;let w=null;if(typeof x=="number"&&(w=x,x=this.stack[D--],v=this.stack[D--]),$&&!$(v,x,w))return!1;x=this.stack[D--],v=this.stack[D--]}return!0}findAncestor(D){let x=this.stack.length-1,v=null,S=this.stack[x--];for(;S;){let k=null;if(typeof v=="number"&&(k=v,v=this.stack[x--],S=this.stack[x--]),v!==null&&D(S,v,k))return S;v=this.stack[x--],S=this.stack[x--]}}};c.exports=y}}),Xa=Oe({"src/main/multiparser.js"(a,c){ze();var{utils:{stripTrailingHardline:h}}=Ln(),{normalize:d}=mi(),g=Wi();function y(x,v,S,k){if(S.printer.embed&&S.embeddedLanguageFormatting==="auto")return S.printer.embed(x,v,(T,$,w)=>D(T,$,S,k,w),S)}function D(x,v,S,k){let{stripTrailingHardline:T=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},$=d(Object.assign(Object.assign(Object.assign({},S),v),{},{parentParser:S.parser,originalText:x}),{passThrough:!0}),w=vn().parse(x,$),{ast:F}=w;x=w.text;let Q=F.comments;delete F.comments,g.attach(Q,F,x,$),$[Symbol.for("comments")]=Q||[],$[Symbol.for("tokens")]=F.tokens||[];let Z=k(F,$);return g.ensureAllCommentsPrinted(Q),T?typeof Z=="string"?Z.replace(/(?:\r?\n)*$/,""):h(Z):Z}c.exports={printSubtree:y}}}),iu=Oe({"src/main/ast-to-doc.js"(a,c){ze();var h=xo(),{builders:{hardline:d,addAlignmentToDoc:g},utils:{propagateBreaks:y}}=Ln(),{printComments:D}=Wi(),x=Xa();function v(T,$){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:F}=$;F.preprocess&&(T=F.preprocess(T,$));let Q=new Map,Z=new h(T),re=L();return w>0&&(re=g([d,re],w,$.tabWidth)),y(re),re;function L(q,ae){return q===void 0||q===Z?te(ae):Array.isArray(q)?Z.call(()=>te(ae),...q):Z.call(()=>te(ae),q)}function te(q){let ae=Z.getValue(),ne=ae&&typeof ae=="object"&&q===void 0;if(ne&&Q.has(ae))return Q.get(ae);let Fe=k(Z,$,L,q);return ne&&Q.set(ae,Fe),Fe}}function S(T,$){let{originalText:w,[Symbol.for("comments")]:F,locStart:Q,locEnd:Z}=$,re=Q(T),L=Z(T),te=new Set;for(let q of F)Q(q)>=re&&Z(q)<=L&&(q.printed=!0,te.add(q));return{doc:w.slice(re,L),printedComments:te}}function k(T,$,w,F){let Q=T.getValue(),{printer:Z}=$,re,L;if(Z.hasPrettierIgnore&&Z.hasPrettierIgnore(T))({doc:re,printedComments:L}=S(Q,$));else{if(Q)try{re=x.printSubtree(T,w,$,v)}catch(te){if(globalThis.PRETTIER_DEBUG)throw te}re||(re=Z.print(T,$,w,F))}return(!Z.willPrintOwnComments||!Z.willPrintOwnComments(T,$))&&(re=D(T,re,$,L)),re}c.exports=v}}),su=Oe({"src/main/range-util.js"(a,c){ze();var h=us(),d=Wi(),g=F=>{let{parser:Q}=F;return Q==="json"||Q==="json5"||Q==="json-stringify"};function y(F,Q){let Z=[F.node,...F.parentNodes],re=new Set([Q.node,...Q.parentNodes]);return Z.find(L=>k.has(L.type)&&re.has(L))}function D(F){let Q=F.length-1;for(;;){let Z=F[Q];if(Z&&(Z.type==="Program"||Z.type==="File"))Q--;else break}return F.slice(0,Q+1)}function x(F,Q,Z){let{locStart:re,locEnd:L}=Z,te=F.node,q=Q.node;if(te===q)return{startNode:te,endNode:q};let ae=re(F.node);for(let Fe of D(Q.parentNodes))if(re(Fe)>=ae)q=Fe;else break;let ne=L(Q.node);for(let Fe of D(F.parentNodes)){if(L(Fe)<=ne)te=Fe;else break;if(te===q)break}return{startNode:te,endNode:q}}function v(F,Q,Z,re){let L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],te=arguments.length>5?arguments[5]:void 0,{locStart:q,locEnd:ae}=Z,ne=q(F),Fe=ae(F);if(!(Q>Fe||Q<ne||te==="rangeEnd"&&Q===ne||te==="rangeStart"&&Q===Fe)){for(let _ of d.getSortedChildNodes(F,Z)){let z=v(_,Q,Z,re,[F,...L],te);if(z)return z}if(!re||re(F,L[0]))return{node:F,parentNodes:L}}}function S(F,Q){return Q!=="DeclareExportDeclaration"&&F!=="TypeParameterDeclaration"&&(F==="Directive"||F==="TypeAlias"||F==="TSExportAssignment"||F.startsWith("Declare")||F.startsWith("TSDeclare")||F.endsWith("Statement")||F.endsWith("Declaration"))}var k=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),T=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function $(F,Q,Z){if(!Q)return!1;switch(F.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return S(Q.type,Z&&Z.type);case"json":case"json5":case"json-stringify":return k.has(Q.type);case"graphql":return T.has(Q.kind);case"vue":return Q.tag!=="root"}return!1}function w(F,Q,Z){let{rangeStart:re,rangeEnd:L,locStart:te,locEnd:q}=Q;h.ok(L>re);let ae=F.slice(re,L).search(/\S/),ne=ae===-1;if(!ne)for(re+=ae;L>re&&!/\S/.test(F[L-1]);--L);let Fe=v(Z,re,Q,(M,A)=>$(Q,M,A),[],"rangeStart"),_=ne?Fe:v(Z,L,Q,M=>$(Q,M),[],"rangeEnd");if(!Fe||!_)return{rangeStart:0,rangeEnd:0};let z,B;if(g(Q)){let M=y(Fe,_);z=M,B=M}else({startNode:z,endNode:B}=x(Fe,_,Q));return{rangeStart:Math.min(te(z),te(B)),rangeEnd:Math.max(q(z),q(B))}}c.exports={calculateRange:w,findNodeAtOffset:v}}}),Io=Oe({"src/main/core.js"(a,c){ze();var{diffArrays:h}=qo(),{printer:{printDocToString:d},debug:{printDocToDebug:g}}=Ln(),{getAlignmentSize:y}=pi(),{guessEndOfLine:D,convertEndOfLineToChars:x,countEndOfLineChars:v,normalizeEndOfLine:S}=co(),k=mi().normalize,T=rs(),$=Wi(),w=vn(),F=iu(),Q=su(),Z="\uFEFF",re=Symbol("cursor");function L(B,M,A){let I=M.comments;return I&&(delete M.comments,$.attach(I,M,B,A)),A[Symbol.for("comments")]=I||[],A[Symbol.for("tokens")]=M.tokens||[],A.originalText=B,I}function te(B,M){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!B||B.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:I,text:j}=w.parse(B,M);if(M.cursorOffset>=0){let ce=Q.findNodeAtOffset(I,M.cursorOffset,M);ce&&ce.node&&(M.cursorNode=ce.node)}let X=L(j,I,M),W=F(I,M,A),J=d(W,M);if($.ensureAllCommentsPrinted(X),A>0){let ce=J.formatted.trim();J.cursorNodeStart!==void 0&&(J.cursorNodeStart-=J.formatted.indexOf(ce)),J.formatted=ce+x(M.endOfLine)}if(M.cursorOffset>=0){let ce,Ae,Te,we,Ue;if(M.cursorNode&&J.cursorNodeText?(ce=M.locStart(M.cursorNode),Ae=j.slice(ce,M.locEnd(M.cursorNode)),Te=M.cursorOffset-ce,we=J.cursorNodeStart,Ue=J.cursorNodeText):(ce=0,Ae=j,Te=M.cursorOffset,we=0,Ue=J.formatted),Ae===Ue)return{formatted:J.formatted,cursorOffset:we+Te,comments:X};let ge=[...Ae];ge.splice(Te,0,re);let lt=[...Ue],Pe=h(ge,lt),ve=we;for(let ut of Pe)if(ut.removed){if(ut.value.includes(re))break}else ve+=ut.count;return{formatted:J.formatted,cursorOffset:ve,comments:X}}return{formatted:J.formatted,cursorOffset:-1,comments:X}}function q(B,M){let{ast:A,text:I}=w.parse(B,M),{rangeStart:j,rangeEnd:X}=Q.calculateRange(I,M,A),W=I.slice(j,X),J=Math.min(j,I.lastIndexOf(`
|
|
`,j)+1),ce=I.slice(J,j).match(/^\s*/)[0],Ae=y(ce,M.tabWidth),Te=te(W,Object.assign(Object.assign({},M),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:M.cursorOffset>j&&M.cursorOffset<=X?M.cursorOffset-j:-1,endOfLine:"lf"}),Ae),we=Te.formatted.trimEnd(),{cursorOffset:Ue}=M;Ue>X?Ue+=we.length-W.length:Te.cursorOffset>=0&&(Ue=Te.cursorOffset+j);let ge=I.slice(0,j)+we+I.slice(X);if(M.endOfLine!=="lf"){let lt=x(M.endOfLine);Ue>=0&<===`\r
|
|
`&&(Ue+=v(ge.slice(0,Ue),`
|
|
`)),ge=ge.replace(/\n/g,lt)}return{formatted:ge,cursorOffset:Ue,comments:Te.comments}}function ae(B,M,A){return typeof M!="number"||Number.isNaN(M)||M<0||M>B.length?A:M}function ne(B,M){let{cursorOffset:A,rangeStart:I,rangeEnd:j}=M;return A=ae(B,A,-1),I=ae(B,I,0),j=ae(B,j,B.length),Object.assign(Object.assign({},M),{},{cursorOffset:A,rangeStart:I,rangeEnd:j})}function Fe(B,M){let{cursorOffset:A,rangeStart:I,rangeEnd:j,endOfLine:X}=ne(B,M),W=B.charAt(0)===Z;if(W&&(B=B.slice(1),A--,I--,j--),X==="auto"&&(X=D(B)),B.includes("\r")){let J=ce=>v(B.slice(0,Math.max(ce,0)),`\r
|
|
`);A-=J(A),I-=J(I),j-=J(j),B=S(B)}return{hasBOM:W,text:B,options:ne(B,Object.assign(Object.assign({},M),{},{cursorOffset:A,rangeStart:I,rangeEnd:j,endOfLine:X}))}}function _(B,M){let A=w.resolveParser(M);return!A.hasPragma||A.hasPragma(B)}function z(B,M){let{hasBOM:A,text:I,options:j}=Fe(B,k(M));if(j.rangeStart>=j.rangeEnd&&I!==""||j.requirePragma&&!_(I,j))return{formatted:B,cursorOffset:M.cursorOffset,comments:[]};let X;return j.rangeStart>0||j.rangeEnd<I.length?X=q(I,j):(!j.requirePragma&&j.insertPragma&&j.printer.insertPragma&&!_(I,j)&&(I=j.printer.insertPragma(I)),X=te(I,j)),A&&(X.formatted=Z+X.formatted,X.cursorOffset>=0&&X.cursorOffset++),X}c.exports={formatWithCursor:z,parse(B,M,A){let{text:I,options:j}=Fe(B,k(M)),X=w.parse(I,j);return A&&(X.ast=T(X.ast,j)),X},formatAST(B,M){M=k(M);let A=F(B,M);return d(A,M)},formatDoc(B,M){return z(g(B),Object.assign(Object.assign({},M),{},{parser:"__js_expression"})).formatted},printToDoc(B,M){M=k(M);let{ast:A,text:I}=w.parse(B,M);return L(I,A,M),F(A,M)},printDocToString(B,M){return d(B,k(M))}}}}),ya=Oe({"src/common/util-shared.js"(a,c){ze();var{getMaxContinuousCount:h,getStringWidth:d,getAlignmentSize:g,getIndentSize:y,skip:D,skipWhitespace:x,skipSpaces:v,skipNewline:S,skipToLineEnd:k,skipEverythingButNewLine:T,skipInlineComment:$,skipTrailingComment:w,hasNewline:F,hasNewlineInRange:Q,hasSpaces:Z,isNextLineEmpty:re,isNextLineEmptyAfterIndex:L,isPreviousLineEmpty:te,getNextNonSpaceNonCommentCharacterIndex:q,makeString:ae,addLeadingComment:ne,addDanglingComment:Fe,addTrailingComment:_}=pi();c.exports={getMaxContinuousCount:h,getStringWidth:d,getAlignmentSize:g,getIndentSize:y,skip:D,skipWhitespace:x,skipSpaces:v,skipNewline:S,skipToLineEnd:k,skipEverythingButNewLine:T,skipInlineComment:$,skipTrailingComment:w,hasNewline:F,hasNewlineInRange:Q,hasSpaces:Z,isNextLineEmpty:re,isNextLineEmptyAfterIndex:L,isPreviousLineEmpty:te,getNextNonSpaceNonCommentCharacterIndex:q,makeString:ae,addLeadingComment:ne,addDanglingComment:Fe,addTrailingComment:_}}}),_s=Oe({"src/utils/create-language.js"(a,c){ze(),c.exports=function(h,d){let{languageId:g}=h,y=Me(h,De);return Object.assign(Object.assign({linguistLanguageId:g},y),d(h))}}}),Go=Oe({"node_modules/esutils/lib/ast.js"(a,c){ze(),function(){function h(v){if(v==null)return!1;switch(v.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function d(v){if(v==null)return!1;switch(v.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function g(v){if(v==null)return!1;switch(v.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function y(v){return g(v)||v!=null&&v.type==="FunctionDeclaration"}function D(v){switch(v.type){case"IfStatement":return v.alternate!=null?v.alternate:v.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return v.body}return null}function x(v){var S;if(v.type!=="IfStatement"||v.alternate==null)return!1;S=v.consequent;do{if(S.type==="IfStatement"&&S.alternate==null)return!0;S=D(S)}while(S);return!1}c.exports={isExpression:h,isStatement:g,isIterationStatement:d,isSourceElement:y,isProblematicIfStatement:x,trailingStatement:D}}()}}),ka=Oe({"node_modules/esutils/lib/code.js"(a,c){ze(),function(){var h,d,g,y,D,x;d={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]/},h={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function v(L){return 48<=L&&L<=57}function S(L){return 48<=L&&L<=57||97<=L&&L<=102||65<=L&&L<=70}function k(L){return L>=48&&L<=55}g=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function T(L){return L===32||L===9||L===11||L===12||L===160||L>=5760&&g.indexOf(L)>=0}function $(L){return L===10||L===13||L===8232||L===8233}function w(L){if(L<=65535)return String.fromCharCode(L);var te=String.fromCharCode(Math.floor((L-65536)/1024)+55296),q=String.fromCharCode((L-65536)%1024+56320);return te+q}for(y=new Array(128),x=0;x<128;++x)y[x]=x>=97&&x<=122||x>=65&&x<=90||x===36||x===95;for(D=new Array(128),x=0;x<128;++x)D[x]=x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===36||x===95;function F(L){return L<128?y[L]:d.NonAsciiIdentifierStart.test(w(L))}function Q(L){return L<128?D[L]:d.NonAsciiIdentifierPart.test(w(L))}function Z(L){return L<128?y[L]:h.NonAsciiIdentifierStart.test(w(L))}function re(L){return L<128?D[L]:h.NonAsciiIdentifierPart.test(w(L))}c.exports={isDecimalDigit:v,isHexDigit:S,isOctalDigit:k,isWhiteSpace:T,isLineTerminator:$,isIdentifierStartES5:F,isIdentifierPartES5:Q,isIdentifierStartES6:Z,isIdentifierPartES6:re}}()}}),Bp=Oe({"node_modules/esutils/lib/keyword.js"(a,c){ze(),function(){var h=ka();function d(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function g(F,Q){return!Q&&F==="yield"?!1:y(F,Q)}function y(F,Q){if(Q&&d(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function D(F,Q){return F==="null"||F==="true"||F==="false"||g(F,Q)}function x(F,Q){return F==="null"||F==="true"||F==="false"||y(F,Q)}function v(F){return F==="eval"||F==="arguments"}function S(F){var Q,Z,re;if(F.length===0||(re=F.charCodeAt(0),!h.isIdentifierStartES5(re)))return!1;for(Q=1,Z=F.length;Q<Z;++Q)if(re=F.charCodeAt(Q),!h.isIdentifierPartES5(re))return!1;return!0}function k(F,Q){return(F-55296)*1024+(Q-56320)+65536}function T(F){var Q,Z,re,L,te;if(F.length===0)return!1;for(te=h.isIdentifierStartES6,Q=0,Z=F.length;Q<Z;++Q){if(re=F.charCodeAt(Q),55296<=re&&re<=56319){if(++Q,Q>=Z||(L=F.charCodeAt(Q),!(56320<=L&&L<=57343)))return!1;re=k(re,L)}if(!te(re))return!1;te=h.isIdentifierPartES6}return!0}function $(F,Q){return S(F)&&!D(F,Q)}function w(F,Q){return T(F)&&!x(F,Q)}c.exports={isKeywordES5:g,isKeywordES6:y,isReservedWordES5:D,isReservedWordES6:x,isRestrictedWord:v,isIdentifierNameES5:S,isIdentifierNameES6:T,isIdentifierES5:$,isIdentifierES6:w}}()}}),qc=Oe({"node_modules/esutils/lib/utils.js"(a){ze(),function(){a.ast=Go(),a.code=ka(),a.keyword=Bp()}()}}),Ua=Oe({"src/language-js/utils/is-block-comment.js"(a,c){ze();var h=new Set(["Block","CommentBlock","MultiLine"]),d=g=>h.has(g==null?void 0:g.type);c.exports=d}}),_p=Oe({"src/language-js/utils/is-node-matches.js"(a,c){ze();function h(g,y){let D=y.split(".");for(let x=D.length-1;x>=0;x--){let v=D[x];if(x===0)return g.type==="Identifier"&&g.name===v;if(g.type!=="MemberExpression"||g.optional||g.computed||g.property.type!=="Identifier"||g.property.name!==v)return!1;g=g.object}}function d(g,y){return y.some(D=>h(g,D))}c.exports=d}}),is=Oe({"src/language-js/utils/index.js"(a,c){ze();var h=qc().keyword.isIdentifierNameES5,{getLast:d,hasNewline:g,skipWhitespace:y,isNonEmptyArray:D,isNextLineEmptyAfterIndex:x,getStringWidth:v}=pi(),{locStart:S,locEnd:k,hasSameLocStart:T}=Ui(),$=Ua(),w=_p(),F="(?:(?=.)\\s)",Q=new RegExp(`^${F}*:`),Z=new RegExp(`^${F}*::`);function re(be){var Wt,Tn;return((Wt=be.extra)===null||Wt===void 0?void 0:Wt.parenthesized)&&$((Tn=be.trailingComments)===null||Tn===void 0?void 0:Tn[0])&&Q.test(be.trailingComments[0].value)}function L(be){let Wt=be==null?void 0:be[0];return $(Wt)&&Z.test(Wt.value)}function te(be,Wt){if(!be||typeof be!="object")return!1;if(Array.isArray(be))return be.some(Li=>te(Li,Wt));let Tn=Wt(be);return typeof Tn=="boolean"?Tn:Object.values(be).some(Li=>te(Li,Wt))}function q(be){return be.type==="AssignmentExpression"||be.type==="BinaryExpression"||be.type==="LogicalExpression"||be.type==="NGPipeExpression"||be.type==="ConditionalExpression"||$t(be)||Nt(be)||be.type==="SequenceExpression"||be.type==="TaggedTemplateExpression"||be.type==="BindExpression"||be.type==="UpdateExpression"&&!be.prefix||$a(be)||be.type==="TSNonNullExpression"}function ae(be){var Wt,Tn,Li,Ri,ba,Ns;return be.expressions?be.expressions[0]:(Wt=(Tn=(Li=(Ri=(ba=(Ns=be.left)!==null&&Ns!==void 0?Ns:be.test)!==null&&ba!==void 0?ba:be.callee)!==null&&Ri!==void 0?Ri:be.object)!==null&&Li!==void 0?Li:be.tag)!==null&&Tn!==void 0?Tn:be.argument)!==null&&Wt!==void 0?Wt:be.expression}function ne(be,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 Fe(be){return be=new Set(be),Wt=>be.has(Wt==null?void 0:Wt.type)}var _=Fe(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),z=Fe(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function B(be){let Wt=be.getParentNode();return be.getName()==="declaration"&&z(Wt)?Wt:null}var M=Fe(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function A(be){return be.type==="NumericLiteral"||be.type==="Literal"&&typeof be.value=="number"}function I(be){return be.type==="UnaryExpression"&&(be.operator==="+"||be.operator==="-")&&A(be.argument)}function j(be){return be.type==="StringLiteral"||be.type==="Literal"&&typeof be.value=="string"}var X=Fe(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),W=Fe(["FunctionExpression","ArrowFunctionExpression"]);function J(be){return be.type==="FunctionExpression"||be.type==="ArrowFunctionExpression"&&be.body.type==="BlockStatement"}function ce(be){return $t(be)&&be.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(be.callee.name)}var Ae=Fe(["JSXElement","JSXFragment"]);function Te(be,Wt){if(be.parentParser!=="markdown"&&be.parentParser!=="mdx")return!1;let Tn=Wt.getNode();if(!Tn.expression||!Ae(Tn.expression))return!1;let Li=Wt.getParentNode();return Li.type==="Program"&&Li.body.length===1}function we(be){return be.kind==="get"||be.kind==="set"}function Ue(be){return we(be)||T(be,be.value)}function ge(be){return(be.type==="ObjectTypeProperty"||be.type==="ObjectTypeInternalSlot")&&be.value.type==="FunctionTypeAnnotation"&&!be.static&&!Ue(be)}function lt(be){return(be.type==="TypeAnnotation"||be.type==="TSTypeAnnotation")&&be.typeAnnotation.type==="FunctionTypeAnnotation"&&!be.static&&!T(be,be.typeAnnotation)}var Pe=Fe(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function ve(be){return Nt(be)||be.type==="BindExpression"&&!!be.object}var ut=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 wt(be){return be?!!((be.type==="GenericTypeAnnotation"||be.type==="TSTypeReference")&&!be.typeParameters||ut.has(be.type)):!1}function pt(be){let Wt=/^(?:before|after)(?:Each|All)$/;return be.callee.type==="Identifier"&&Wt.test(be.callee.name)&&be.arguments.length===1}var jt=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Be(be){return w(be,jt)}function Je(be,Wt){if(be.type!=="CallExpression")return!1;if(be.arguments.length===1){if(ce(be)&&Wt&&Je(Wt))return W(be.arguments[0]);if(pt(be))return ce(be.arguments[0])}else if((be.arguments.length===2||be.arguments.length===3)&&(be.arguments[0].type==="TemplateLiteral"||j(be.arguments[0]))&&Be(be.callee))return be.arguments[2]&&!A(be.arguments[2])?!1:(be.arguments.length===2?W(be.arguments[1]):J(be.arguments[1])&&Dr(be.arguments[1]).length<=1)||ce(be.arguments[1]);return!1}var $t=Fe(["CallExpression","OptionalCallExpression"]),Nt=Fe(["MemberExpression","OptionalMemberExpression"]);function jr(be){let Wt="expressions";be.type==="TSTemplateLiteralType"&&(Wt="types");let Tn=be[Wt];return Tn.length===0?!1:Tn.every(Li=>{if(Jn(Li))return!1;if(Li.type==="Identifier"||Li.type==="ThisExpression")return!0;if(Nt(Li)){let Ri=Li;for(;Nt(Ri);)if(Ri.property.type!=="Identifier"&&Ri.property.type!=="Literal"&&Ri.property.type!=="StringLiteral"&&Ri.property.type!=="NumericLiteral"||(Ri=Ri.object,Jn(Ri)))return!1;return Ri.type==="Identifier"||Ri.type==="ThisExpression"}return!1})}function tt(be,Wt){return be==="+"||be==="-"?be+Wt:Wt}function Ve(be,Wt){let Tn=S(Wt),Li=y(be,k(Wt));return Li!==!1&&be.slice(Tn,Tn+2)==="/*"&&be.slice(Li,Li+2)==="*/"}function ft(be,Wt){return Ae(Wt)?gi(Wt):Jn(Wt,on.Leading,Tn=>g(be,k(Tn)))}function vt(be,Wt){return Wt.parser!=="json"&&j(be.key)&&Ft(be.key).slice(1,-1)===be.key.value&&(h(be.key.value)&&!(Wt.parser==="babel-ts"&&be.type==="ClassProperty"||Wt.parser==="typescript"&&be.type==="PropertyDefinition")||Ut(be.key.value)&&String(Number(be.key.value))===be.key.value&&(Wt.parser==="babel"||Wt.parser==="acorn"||Wt.parser==="espree"||Wt.parser==="meriyah"||Wt.parser==="__babel_estree"))}function Ut(be){return/^(?:\d+|\d+\.\d+)$/.test(be)}function sr(be,Wt){let Tn=/^[fx]?(?:describe|it|test)$/;return Wt.type==="TaggedTemplateExpression"&&Wt.quasi===be&&Wt.tag.type==="MemberExpression"&&Wt.tag.property.type==="Identifier"&&Wt.tag.property.name==="each"&&(Wt.tag.object.type==="Identifier"&&Tn.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"&&Tn.test(Wt.tag.object.object.name))}function Or(be){return be.quasis.some(Wt=>Wt.value.raw.includes(`
|
|
`))}function hn(be,Wt){return(be.type==="TemplateLiteral"&&Or(be)||be.type==="TaggedTemplateExpression"&&Or(be.quasi))&&!g(Wt,S(be),{backwards:!0})}function Ci(be){if(!Jn(be))return!1;let Wt=d(Bt(be,on.Dangling));return Wt&&!$(Wt)}function hi(be){if(be.length<=1)return!1;let Wt=0;for(let Tn of be)if(W(Tn)){if(Wt+=1,Wt>1)return!0}else if($t(Tn)){for(let Li of Tn.arguments)if(W(Li))return!0}return!1}function cn(be){let Wt=be.getValue(),Tn=be.getParentNode();return $t(Wt)&&$t(Tn)&&Tn.callee===Wt&&Wt.arguments.length>Tn.arguments.length&&Tn.arguments.length>0}function Bn(be,Wt){if(Wt>=2)return!1;let Tn=Ns=>Bn(Ns,Wt+1),Li=be.type==="Literal"&&"regex"in be&&be.regex.pattern||be.type==="RegExpLiteral"&&be.pattern;if(Li&&v(Li)>5)return!1;if(be.type==="Literal"||be.type==="BigIntLiteral"||be.type==="DecimalLiteral"||be.type==="BooleanLiteral"||be.type==="NullLiteral"||be.type==="NumericLiteral"||be.type==="RegExpLiteral"||be.type==="StringLiteral"||be.type==="Identifier"||be.type==="ThisExpression"||be.type==="Super"||be.type==="PrivateName"||be.type==="PrivateIdentifier"||be.type==="ArgumentPlaceholder"||be.type==="Import")return!0;if(be.type==="TemplateLiteral")return be.quasis.every(Ns=>!Ns.value.raw.includes(`
|
|
`))&&be.expressions.every(Tn);if(be.type==="ObjectExpression")return be.properties.every(Ns=>!Ns.computed&&(Ns.shorthand||Ns.value&&Tn(Ns.value)));if(be.type==="ArrayExpression")return be.elements.every(Ns=>Ns===null||Tn(Ns));if(Bo(be))return(be.type==="ImportExpression"||Bn(be.callee,Wt))&&bs(be).every(Tn);if(Nt(be))return Bn(be.object,Wt)&&Bn(be.property,Wt);let Ri={"!":!0,"-":!0,"+":!0,"~":!0};if(be.type==="UnaryExpression"&&Ri[be.operator])return Bn(be.argument,Wt);let ba={"++":!0,"--":!0};return be.type==="UpdateExpression"&&ba[be.operator]?Bn(be.argument,Wt):be.type==="TSNonNullExpression"?Bn(be.expression,Wt):!1}function Ft(be){var Wt,Tn;return(Wt=(Tn=be.extra)===null||Tn===void 0?void 0:Tn.raw)!==null&&Wt!==void 0?Wt:be.raw}function je(be){return be}function Qt(be){return be.filepath&&/\.tsx$/i.test(be.filepath)}function et(be){let Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return be.trailingComma==="es5"&&Wt==="es5"||be.trailingComma==="all"&&(Wt==="all"||Wt==="es5")}function _t(be,Wt){switch(be.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return _t(be.left,Wt);case"MemberExpression":case"OptionalMemberExpression":return _t(be.object,Wt);case"TaggedTemplateExpression":return be.tag.type==="FunctionExpression"?!1:_t(be.tag,Wt);case"CallExpression":case"OptionalCallExpression":return be.callee.type==="FunctionExpression"?!1:_t(be.callee,Wt);case"ConditionalExpression":return _t(be.test,Wt);case"UpdateExpression":return!be.prefix&&_t(be.argument,Wt);case"BindExpression":return be.object&&_t(be.object,Wt);case"SequenceExpression":return _t(be.expressions[0],Wt);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return _t(be.expression,Wt);default:return Wt(be)}}var Wr={"==":!0,"!=":!0,"===":!0,"!==":!0},Br={"*":!0,"/":!0,"%":!0},Vt={">>":!0,">>>":!0,"<<":!0};function R(be,Wt){return!(Tt(Wt)!==Tt(be)||be==="**"||Wr[be]&&Wr[Wt]||Wt==="%"&&Br[be]||be==="%"&&Br[Wt]||Wt!==be&&Br[Wt]&&Br[be]||Vt[be]&&Vt[Wt])}var We=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((be,Wt)=>be.map(Tn=>[Tn,Wt])));function Tt(be){return We.get(be)}function fr(be){return!!Vt[be]||be==="|"||be==="^"||be==="&"}function Er(be){var Wt;if(be.rest)return!0;let Tn=Dr(be);return((Wt=d(Tn))===null||Wt===void 0?void 0:Wt.type)==="RestElement"}var an=new WeakMap;function Dr(be){if(an.has(be))return an.get(be);let Wt=[];return be.this&&Wt.push(be.this),Array.isArray(be.parameters)?Wt.push(...be.parameters):Array.isArray(be.params)&&Wt.push(...be.params),be.rest&&Wt.push(be.rest),an.set(be,Wt),Wt}function Fs(be,Wt){let Tn=be.getValue(),Li=0,Ri=ba=>Wt(ba,Li++);Tn.this&&be.call(Ri,"this"),Array.isArray(Tn.parameters)?be.each(Ri,"parameters"):Array.isArray(Tn.params)&&be.each(Ri,"params"),Tn.rest&&be.call(Ri,"rest")}var tn=new WeakMap;function bs(be){if(tn.has(be))return tn.get(be);let Wt=be.arguments;return be.type==="ImportExpression"&&(Wt=[be.source],be.attributes&&Wt.push(be.attributes)),tn.set(be,Wt),Wt}function Jr(be,Wt){let Tn=be.getValue();Tn.type==="ImportExpression"?(be.call(Li=>Wt(Li,0),"source"),Tn.attributes&&be.call(Li=>Wt(Li,1),"attributes")):be.each(Wt,"arguments")}function Wn(be){return be.value.trim()==="prettier-ignore"&&!be.unignore}function gi(be){return be&&(be.prettierIgnore||Jn(be,on.PrettierIgnore))}function cs(be){let Wt=be.getValue();return gi(Wt)}var on={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},li=(be,Wt)=>{if(typeof be=="function"&&(Wt=be,be=0),be||Wt)return(Tn,Li,Ri)=>!(be&on.Leading&&!Tn.leading||be&on.Trailing&&!Tn.trailing||be&on.Dangling&&(Tn.leading||Tn.trailing)||be&on.Block&&!$(Tn)||be&on.Line&&!_(Tn)||be&on.First&&Li!==0||be&on.Last&&Li!==Ri.length-1||be&on.PrettierIgnore&&!Wn(Tn)||Wt&&!Wt(Tn))};function Jn(be,Wt,Tn){if(!D(be==null?void 0:be.comments))return!1;let Li=li(Wt,Tn);return Li?be.comments.some(Li):!0}function Bt(be,Wt,Tn){if(!Array.isArray(be==null?void 0:be.comments))return[];let Li=li(Wt,Tn);return Li?be.comments.filter(Li):be.comments}var _a=(be,Wt)=>{let{originalText:Tn}=Wt;return x(Tn,k(be))};function Bo(be){return $t(be)||be.type==="NewExpression"||be.type==="ImportExpression"}function Ni(be){return be&&(be.type==="ObjectProperty"||be.type==="Property"&&!be.method&&be.kind==="init")}function ji(be){return!!be.__isUsingHackPipeline}var ds=Symbol("ifWithoutBlockAndSameLineComment");function $a(be){return be.type==="TSAsExpression"||be.type==="TSSatisfiesExpression"}c.exports={getFunctionParameters:Dr,iterateFunctionParametersPath:Fs,getCallArguments:bs,iterateCallArgumentsPath:Jr,hasRestParameter:Er,getLeftSide:ae,getLeftSidePathName:ne,getParentExportDeclaration:B,getTypeScriptMappedTypeModifier:tt,hasFlowAnnotationComment:L,hasFlowShorthandAnnotationComment:re,hasLeadingOwnLineComment:ft,hasNakedLeftSide:q,hasNode:te,hasIgnoreComment:cs,hasNodeIgnoreComment:gi,identity:je,isBinaryish:Pe,isCallLikeExpression:Bo,isEnabledHackPipeline:ji,isLineComment:_,isPrettierIgnoreComment:Wn,isCallExpression:$t,isMemberExpression:Nt,isExportDeclaration:z,isFlowAnnotationComment:Ve,isFunctionCompositionArgs:hi,isFunctionNotation:Ue,isFunctionOrArrowExpression:W,isGetterOrSetter:we,isJestEachTemplateLiteral:sr,isJsxNode:Ae,isLiteral:M,isLongCurriedCallExpression:cn,isSimpleCallArgument:Bn,isMemberish:ve,isNumericLiteral:A,isSignedNumericLiteral:I,isObjectProperty:Ni,isObjectType:X,isObjectTypePropertyAFunction:ge,isSimpleType:wt,isSimpleNumber:Ut,isSimpleTemplateLiteral:jr,isStringLiteral:j,isStringPropSafeToUnquote:vt,isTemplateOnItsOwnLine:hn,isTestCall:Je,isTheOnlyJsxElementInMarkdown:Te,isTSXFile:Qt,isTypeAnnotationAFunction:lt,isNextLineEmpty:_a,needsHardlineAfterDanglingComment:Ci,rawText:Ft,shouldPrintComma:et,isBitwiseOperator:fr,shouldFlatten:R,startsWithNoLookaheadToken:_t,getPrecedence:Tt,hasComment:Jn,getComments:Bt,CommentCheckFlags:on,markerForIfWithoutBlockAndSameLineComment:ds,isTSTypeExpression:$a}}}),Qu=Oe({"src/language-js/print/template-literal.js"(a,c){ze();var h=Ds(),{getStringWidth:d,getIndentSize:g}=pi(),{builders:{join:y,hardline:D,softline:x,group:v,indent:S,align:k,lineSuffixBoundary:T,addAlignmentToDoc:$},printer:{printDocToString:w},utils:{mapDoc:F}}=Ln(),{isBinaryish:Q,isJestEachTemplateLiteral:Z,isSimpleTemplateLiteral:re,hasComment:L,isMemberExpression:te,isTSTypeExpression:q}=is();function ae(M,A,I){let j=M.getValue();if(j.type==="TemplateLiteral"&&Z(j,M.getParentNode())){let Ae=ne(M,I,A);if(Ae)return Ae}let X="expressions";j.type==="TSTemplateLiteralType"&&(X="types");let W=[],J=M.map(A,X),ce=re(j);return ce&&(J=J.map(Ae=>w(Ae,Object.assign(Object.assign({},I),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),W.push(T,"`"),M.each(Ae=>{let Te=Ae.getName();if(W.push(A()),Te<J.length){let{tabWidth:we}=I,Ue=Ae.getValue(),ge=g(Ue.value.raw,we),lt=J[Te];if(!ce){let ve=j[X][Te];(L(ve)||te(ve)||ve.type==="ConditionalExpression"||ve.type==="SequenceExpression"||q(ve)||Q(ve))&&(lt=[S([x,lt]),x])}let Pe=ge===0&&Ue.value.raw.endsWith(`
|
|
`)?k(Number.NEGATIVE_INFINITY,lt):$(lt,ge,we);W.push(v(["${",Pe,T,"}"]))}},"quasis"),W.push("`"),W}function ne(M,A,I){let j=M.getNode(),X=j.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(X.length>1||X.some(W=>W.length>0)){A.__inJestEach=!0;let W=M.map(I,"expressions");A.__inJestEach=!1;let J=[],ce=W.map(ge=>"${"+w(ge,Object.assign(Object.assign({},A),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),Ae=[{hasLineBreak:!1,cells:[]}];for(let ge=1;ge<j.quasis.length;ge++){let lt=h(Ae),Pe=ce[ge-1];lt.cells.push(Pe),Pe.includes(`
|
|
`)&&(lt.hasLineBreak=!0),j.quasis[ge].value.raw.includes(`
|
|
`)&&Ae.push({hasLineBreak:!1,cells:[]})}let Te=Math.max(X.length,...Ae.map(ge=>ge.cells.length)),we=Array.from({length:Te}).fill(0),Ue=[{cells:X},...Ae.filter(ge=>ge.cells.length>0)];for(let{cells:ge}of Ue.filter(lt=>!lt.hasLineBreak))for(let[lt,Pe]of ge.entries())we[lt]=Math.max(we[lt],d(Pe));return J.push(T,"`",S([D,y(D,Ue.map(ge=>y(" | ",ge.cells.map((lt,Pe)=>ge.hasLineBreak?lt:lt+" ".repeat(we[Pe]-d(lt))))))]),D,"`"),J}}function Fe(M,A){let I=M.getValue(),j=A();return L(I)&&(j=v([S([x,j]),x])),["${",j,T,"}"]}function _(M,A){return M.map(I=>Fe(I,A),"expressions")}function z(M,A){return F(M,I=>typeof I=="string"?A?I.replace(/(\\*)`/g,"$1$1\\`"):B(I):I)}function B(M){return M.replace(/([\\`]|\${)/g,"\\$1")}c.exports={printTemplateLiteral:ae,printTemplateExpressions:_,escapeTemplateCharacters:z,uncookTemplateElementValue:B}}}),jh=Oe({"src/language-js/embed/markdown.js"(a,c){ze();var{builders:{indent:h,softline:d,literalline:g,dedentToRoot:y}}=Ln(),{escapeTemplateCharacters:D}=Qu();function x(S,k,T){let $=S.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(Z,re)=>"\\".repeat(re.length/2)+"`"),w=v($),F=w!=="";F&&($=$.replace(new RegExp(`^${w}`,"gm"),""));let Q=D(T($,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",F?h([d,Q]):[g,y(Q)],d,"`"]}function v(S){let k=S.match(/^([^\S\n]*)\S/m);return k===null?"":k[1]}c.exports=x}}),$p=Oe({"src/language-js/embed/css.js"(a,c){ze();var{isNonEmptyArray:h}=pi(),{builders:{indent:d,hardline:g,softline:y},utils:{mapDoc:D,replaceEndOfLine:x,cleanDoc:v}}=Ln(),{printTemplateExpressions:S}=Qu();function k(w,F,Q){let Z=w.getValue(),re=Z.quasis.map(ne=>ne.value.raw),L=0,te=re.reduce((ne,Fe,_)=>_===0?Fe:ne+"@prettier-placeholder-"+L+++"-id"+Fe,""),q=Q(te,{parser:"scss"},{stripTrailingHardline:!0}),ae=S(w,F);return T(q,Z,ae)}function T(w,F,Q){if(F.quasis.length===1&&!F.quasis[0].value.raw.trim())return"``";let Z=$(w,Q);if(!Z)throw new Error("Couldn't insert all the expressions");return["`",d([g,Z]),y,"`"]}function $(w,F){if(!h(F))return w;let Q=0,Z=D(v(w),re=>typeof re!="string"||!re.includes("@prettier-placeholder")?re:re.split(/@prettier-placeholder-(\d+)-id/).map((L,te)=>te%2===0?x(L):(Q++,F[L])));return F.length===Q?Z:null}c.exports=k}}),Np=Oe({"src/language-js/embed/graphql.js"(a,c){ze();var{builders:{indent:h,join:d,hardline:g}}=Ln(),{escapeTemplateCharacters:y,printTemplateExpressions:D}=Qu();function x(S,k,T){let $=S.getValue(),w=$.quasis.length;if(w===1&&$.quasis[0].value.raw.trim()==="")return"``";let F=D(S,k),Q=[];for(let Z=0;Z<w;Z++){let re=$.quasis[Z],L=Z===0,te=Z===w-1,q=re.value.cooked,ae=q.split(`
|
|
`),ne=ae.length,Fe=F[Z],_=ne>2&&ae[0].trim()===""&&ae[1].trim()==="",z=ne>2&&ae[ne-1].trim()===""&&ae[ne-2].trim()==="",B=ae.every(A=>/^\s*(?:#[^\n\r]*)?$/.test(A));if(!te&&/#[^\n\r]*$/.test(ae[ne-1]))return null;let M=null;B?M=v(ae):M=T(q,{parser:"graphql"},{stripTrailingHardline:!0}),M?(M=y(M,!1),!L&&_&&Q.push(""),Q.push(M),!te&&z&&Q.push("")):!L&&!te&&_&&Q.push(""),Fe&&Q.push(Fe)}return["`",h([g,d(g,Q)]),g,"`"]}function v(S){let k=[],T=!1,$=S.map(w=>w.trim());for(let[w,F]of $.entries())F!==""&&($[w-1]===""&&T?k.push([g,F]):k.push(F),T=!0);return k.length===0?null:d(g,k)}c.exports=x}}),ju=Oe({"src/language-js/embed/html.js"(a,c){ze();var{builders:{indent:h,line:d,hardline:g,group:y},utils:{mapDoc:D}}=Ln(),{printTemplateExpressions:x,uncookTemplateElementValue:v}=Qu(),S=0;function k(T,$,w,F,Q){let{parser:Z}=Q,re=T.getValue(),L=S;S=S+1>>>0;let te=I=>`PRETTIER_HTML_PLACEHOLDER_${I}_${L}_IN_JS`,q=re.quasis.map((I,j,X)=>j===X.length-1?I.value.cooked:I.value.cooked+te(j)).join(""),ae=x(T,$);if(ae.length===0&&q.trim().length===0)return"``";let ne=new RegExp(te("(\\d+)"),"g"),Fe=0,_=w(q,{parser:Z,__onHtmlRoot(I){Fe=I.children.length}},{stripTrailingHardline:!0}),z=D(_,I=>{if(typeof I!="string")return I;let j=[],X=I.split(ne);for(let W=0;W<X.length;W++){let J=X[W];if(W%2===0){J&&(J=v(J),F.__embeddedInHtml&&(J=J.replace(/<\/(script)\b/gi,"<\\/$1")),j.push(J));continue}let ce=Number(J);j.push(ae[ce])}return j}),B=/^\s/.test(q)?" ":"",M=/\s$/.test(q)?" ":"",A=F.htmlWhitespaceSensitivity==="ignore"?g:B&&M?d:null;return y(A?["`",h([A,y(z)]),A,"`"]:["`",B,Fe>1?h(y(z)):y(z),M,"`"])}c.exports=k}}),Mu=Oe({"src/language-js/embed.js"(a,c){ze();var{hasComment:h,CommentCheckFlags:d,isObjectProperty:g}=is(),y=jh(),D=$p(),x=Np(),v=ju();function S(_){if($(_)||Z(_)||re(_)||w(_))return"css";if(q(_))return"graphql";if(ne(_))return"html";if(F(_))return"angular";if(T(_))return"markdown"}function k(_,z,B,M){let A=_.getValue();if(A.type!=="TemplateLiteral"||Fe(A))return;let I=S(_);if(I){if(I==="markdown")return y(_,z,B);if(I==="css")return D(_,z,B);if(I==="graphql")return x(_,z,B);if(I==="html"||I==="angular")return v(_,z,B,M,{parser:I})}}function T(_){let z=_.getValue(),B=_.getParentNode();return B&&B.type==="TaggedTemplateExpression"&&z.quasis.length===1&&B.tag.type==="Identifier"&&(B.tag.name==="md"||B.tag.name==="markdown")}function $(_){let z=_.getValue(),B=_.getParentNode(),M=_.getParentNode(1);return M&&z.quasis&&B.type==="JSXExpressionContainer"&&M.type==="JSXElement"&&M.openingElement.name.name==="style"&&M.openingElement.attributes.some(A=>A.name.name==="jsx")||B&&B.type==="TaggedTemplateExpression"&&B.tag.type==="Identifier"&&B.tag.name==="css"||B&&B.type==="TaggedTemplateExpression"&&B.tag.type==="MemberExpression"&&B.tag.object.name==="css"&&(B.tag.property.name==="global"||B.tag.property.name==="resolve")}function w(_){return _.match(z=>z.type==="TemplateLiteral",(z,B)=>z.type==="ArrayExpression"&&B==="elements",(z,B)=>g(z)&&z.key.type==="Identifier"&&z.key.name==="styles"&&B==="value",...Q)}function F(_){return _.match(z=>z.type==="TemplateLiteral",(z,B)=>g(z)&&z.key.type==="Identifier"&&z.key.name==="template"&&B==="value",...Q)}var Q=[(_,z)=>_.type==="ObjectExpression"&&z==="properties",(_,z)=>_.type==="CallExpression"&&_.callee.type==="Identifier"&&_.callee.name==="Component"&&z==="arguments",(_,z)=>_.type==="Decorator"&&z==="expression"];function Z(_){let z=_.getParentNode();if(!z||z.type!=="TaggedTemplateExpression")return!1;let B=z.tag.type==="ParenthesizedExpression"?z.tag.expression:z.tag;switch(B.type){case"MemberExpression":return L(B.object)||te(B);case"CallExpression":return L(B.callee)||B.callee.type==="MemberExpression"&&(B.callee.object.type==="MemberExpression"&&(L(B.callee.object.object)||te(B.callee.object))||B.callee.object.type==="CallExpression"&&L(B.callee.object.callee));case"Identifier":return B.name==="css";default:return!1}}function re(_){let z=_.getParentNode(),B=_.getParentNode(1);return B&&z.type==="JSXExpressionContainer"&&B.type==="JSXAttribute"&&B.name.type==="JSXIdentifier"&&B.name.name==="css"}function L(_){return _.type==="Identifier"&&_.name==="styled"}function te(_){return/^[A-Z]/.test(_.object.name)&&_.property.name==="extend"}function q(_){let z=_.getValue(),B=_.getParentNode();return ae(z,"GraphQL")||B&&(B.type==="TaggedTemplateExpression"&&(B.tag.type==="MemberExpression"&&B.tag.object.name==="graphql"&&B.tag.property.name==="experimental"||B.tag.type==="Identifier"&&(B.tag.name==="gql"||B.tag.name==="graphql"))||B.type==="CallExpression"&&B.callee.type==="Identifier"&&B.callee.name==="graphql")}function ae(_,z){return h(_,d.Block|d.Leading,B=>{let{value:M}=B;return M===` ${z} `})}function ne(_){return ae(_.getValue(),"HTML")||_.match(z=>z.type==="TemplateLiteral",(z,B)=>z.type==="TaggedTemplateExpression"&&z.tag.type==="Identifier"&&z.tag.name==="html"&&B==="quasi")}function Fe(_){let{quasis:z}=_;return z.some(B=>{let{value:{cooked:M}}=B;return M===null})}c.exports=k}}),Oa=Oe({"src/language-js/clean.js"(a,c){ze();var h=Ua(),d=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),g=D=>{for(let x of D.quasis)delete x.value};function y(D,x,v){if(D.type==="Program"&&delete x.sourceType,(D.type==="BigIntLiteral"||D.type==="BigIntLiteralTypeAnnotation")&&x.value&&(x.value=x.value.toLowerCase()),(D.type==="BigIntLiteral"||D.type==="Literal")&&x.bigint&&(x.bigint=x.bigint.toLowerCase()),D.type==="DecimalLiteral"&&(x.value=Number(x.value)),D.type==="Literal"&&x.decimal&&(x.decimal=Number(x.decimal)),D.type==="EmptyStatement"||D.type==="JSXText"||D.type==="JSXExpressionContainer"&&(D.expression.type==="Literal"||D.expression.type==="StringLiteral")&&D.expression.value===" ")return null;if((D.type==="Property"||D.type==="ObjectProperty"||D.type==="MethodDefinition"||D.type==="ClassProperty"||D.type==="ClassMethod"||D.type==="PropertyDefinition"||D.type==="TSDeclareMethod"||D.type==="TSPropertySignature"||D.type==="ObjectTypeProperty")&&typeof D.key=="object"&&D.key&&(D.key.type==="Literal"||D.key.type==="NumericLiteral"||D.key.type==="StringLiteral"||D.key.type==="Identifier")&&delete x.key,D.type==="JSXElement"&&D.openingElement.name.name==="style"&&D.openingElement.attributes.some(T=>T.name.name==="jsx"))for(let{type:T,expression:$}of x.children)T==="JSXExpressionContainer"&&$.type==="TemplateLiteral"&&g($);D.type==="JSXAttribute"&&D.name.name==="css"&&D.value.type==="JSXExpressionContainer"&&D.value.expression.type==="TemplateLiteral"&&g(x.value.expression),D.type==="JSXAttribute"&&D.value&&D.value.type==="Literal"&&/["']|"|'/.test(D.value.value)&&(x.value.value=x.value.value.replace(/["']|"|'/g,'"'));let S=D.expression||D.callee;if(D.type==="Decorator"&&S.type==="CallExpression"&&S.callee.name==="Component"&&S.arguments.length===1){let T=D.expression.arguments[0].properties;for(let[$,w]of x.expression.arguments[0].properties.entries())switch(T[$].key.name){case"styles":w.value.type==="ArrayExpression"&&g(w.value.elements[0]);break;case"template":w.value.type==="TemplateLiteral"&&g(w.value);break}}if(D.type==="TaggedTemplateExpression"&&(D.tag.type==="MemberExpression"||D.tag.type==="Identifier"&&(D.tag.name==="gql"||D.tag.name==="graphql"||D.tag.name==="css"||D.tag.name==="md"||D.tag.name==="markdown"||D.tag.name==="html")||D.tag.type==="CallExpression")&&g(x.quasi),D.type==="TemplateLiteral"){var k;(!((k=D.leadingComments)===null||k===void 0)&&k.some(T=>h(T)&&["GraphQL","HTML"].some($=>T.value===` ${$} `))||v.type==="CallExpression"&&v.callee.name==="graphql"||!D.leadingComments)&&g(x)}if(D.type==="InterpreterDirective"&&(x.value=x.value.trimEnd()),(D.type==="TSIntersectionType"||D.type==="TSUnionType")&&D.types.length===1)return x.types[0]}y.ignoredProperties=d,c.exports=y}}),Cl={};un(Cl,{EOL:()=>Al,arch:()=>Xu,cpus:()=>Vu,default:()=>oc,endianness:()=>Lu,freemem:()=>Ru,getNetworkInterfaces:()=>sa,hostname:()=>ou,loadavg:()=>Sl,networkInterfaces:()=>ic,platform:()=>sc,release:()=>Da,tmpDir:()=>au,tmpdir:()=>El,totalmem:()=>Wa,type:()=>Ho,uptime:()=>Fa});function Lu(){if(typeof uu>"u"){var a=new ArrayBuffer(2),c=new Uint8Array(a),h=new Uint16Array(a);if(c[0]=1,c[1]=2,h[0]===258)uu="BE";else if(h[0]===513)uu="LE";else throw new Error("unable to figure out endianess")}return uu}function ou(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Sl(){return[]}function Fa(){return 0}function Ru(){return Number.MAX_VALUE}function Wa(){return Number.MAX_VALUE}function Vu(){return[]}function Ho(){return"Browser"}function Da(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ic(){}function sa(){}function Xu(){return"javascript"}function sc(){return"browser"}function au(){return"/tmp"}var uu,El,Al,oc,wl=br({"node-modules-polyfills:os"(){ze(),El=au,Al=`
|
|
`,oc={EOL:Al,tmpdir:El,tmpDir:au,networkInterfaces:ic,getNetworkInterfaces:sa,release:Da,type:Ho,cpus:Vu,totalmem:Wa,freemem:Ru,uptime:Fa,loadavg:Sl,hostname:ou,endianness:Lu}}}),Pl=Oe({"node-modules-polyfills-commonjs:os"(a,c){ze();var h=(wl(),yi(Cl));if(h&&h.default){c.exports=h.default;for(let d in h)c.exports[d]=h[d]}else h&&(c.exports=h)}}),Ip=Oe({"node_modules/detect-newline/index.js"(a,c){ze();var h=d=>{if(typeof d!="string")throw new TypeError("Expected a string");let g=d.match(/(?:\r?\n)/g)||[];if(g.length===0)return;let y=g.filter(x=>x===`\r
|
|
`).length,D=g.length-y;return y>D?`\r
|
|
`:`
|
|
`};c.exports=h,c.exports.graceful=d=>typeof d=="string"&&h(d)||`
|
|
`}}),Ba=Oe({"node_modules/jest-docblock/build/index.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0}),a.extract=w,a.parse=Q,a.parseWithComments=Z,a.print=re,a.strip=F;function c(){let te=Pl();return c=function(){return te},te}function h(){let te=d(Ip());return h=function(){return te},te}function d(te){return te&&te.__esModule?te:{default:te}}var g=/\*\/$/,y=/^\/\*\*?/,D=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,x=/(^|\s+)\/\/([^\r\n]*)/g,v=/^(\r?\n)+/,S=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,k=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,T=/(\r?\n|^) *\* ?/g,$=[];function w(te){let q=te.match(D);return q?q[0].trimLeft():""}function F(te){let q=te.match(D);return q&&q[0]?te.substring(q[0].length):te}function Q(te){return Z(te).pragmas}function Z(te){let q=(0,h().default)(te)||c().EOL;te=te.replace(y,"").replace(g,"").replace(T,"$1");let ae="";for(;ae!==te;)ae=te,te=te.replace(S,`${q}$1 $2${q}`);te=te.replace(v,"").trimRight();let ne=Object.create(null),Fe=te.replace(k,"").replace(v,"").trimRight(),_;for(;_=k.exec(te);){let z=_[2].replace(x,"");typeof ne[_[1]]=="string"||Array.isArray(ne[_[1]])?ne[_[1]]=$.concat(ne[_[1]],z):ne[_[1]]=z}return{comments:Fe,pragmas:ne}}function re(te){let{comments:q="",pragmas:ae={}}=te,ne=(0,h().default)(q)||c().EOL,Fe="/**",_=" *",z=" */",B=Object.keys(ae),M=B.map(I=>L(I,ae[I])).reduce((I,j)=>I.concat(j),[]).map(I=>`${_} ${I}${ne}`).join("");if(!q){if(B.length===0)return"";if(B.length===1&&!Array.isArray(ae[B[0]])){let I=ae[B[0]];return`${Fe} ${L(B[0],I)[0]}${z}`}}let A=q.split(ne).map(I=>`${_} ${I}`).join(ne)+ne;return Fe+ne+(q?A:"")+(q&&B.length?_+ne:"")+M+z}function L(te,q){return $.concat(q).map(ae=>`@${te} ${ae}`.trim())}}}),ac=Oe({"src/language-js/utils/get-shebang.js"(a,c){ze();function h(d){if(!d.startsWith("#!"))return"";let g=d.indexOf(`
|
|
`);return g===-1?d:d.slice(0,g)}c.exports=h}}),Uu=Oe({"src/language-js/pragma.js"(a,c){ze();var{parseWithComments:h,strip:d,extract:g,print:y}=Ba(),{normalizeEndOfLine:D}=co(),x=ac();function v(T){let $=x(T);$&&(T=T.slice($.length+1));let w=g(T),{pragmas:F,comments:Q}=h(w);return{shebang:$,text:T,pragmas:F,comments:Q}}function S(T){let $=Object.keys(v(T).pragmas);return $.includes("prettier")||$.includes("format")}function k(T){let{shebang:$,text:w,pragmas:F,comments:Q}=v(T),Z=d(w),re=y({pragmas:Object.assign({format:""},F),comments:Q.trimStart()});return($?`${$}
|
|
`:"")+D(re)+(Z.startsWith(`
|
|
`)?`
|
|
`:`
|
|
|
|
`)+Z}c.exports={hasPragma:S,insertPragma:k}}}),uc=Oe({"src/language-js/utils/is-type-cast-comment.js"(a,c){ze();var h=Ua();function d(g){return h(g)&&g.value[0]==="*"&&/@(?:type|satisfies)\b/.test(g.value)}c.exports=d}}),Tl=Oe({"src/language-js/comments.js"(a,c){ze();var{getLast:h,hasNewline:d,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:g,getNextNonSpaceNonCommentCharacter:y,hasNewlineInRange:D,addLeadingComment:x,addTrailingComment:v,addDanglingComment:S,getNextNonSpaceNonCommentCharacterIndex:k,isNonEmptyArray:T}=pi(),{getFunctionParameters:$,isPrettierIgnoreComment:w,isJsxNode:F,hasFlowShorthandAnnotationComment:Q,hasFlowAnnotationComment:Z,hasIgnoreComment:re,isCallLikeExpression:L,getCallArguments:te,isCallExpression:q,isMemberExpression:ae,isObjectProperty:ne,isLineComment:Fe,getComments:_,CommentCheckFlags:z,markerForIfWithoutBlockAndSameLineComment:B}=is(),{locStart:M,locEnd:A}=Ui(),I=Ua(),j=uc();function X(Vt){return[je,jr,lt,we,Ue,ge,wt,Or,vt,sr,hn,Ci,jt,tt,Ve].some(R=>R(Vt))}function W(Vt){return[Te,jr,Pe,hn,we,Ue,ge,wt,tt,ft,Ut,sr,Bn,Ve,et].some(R=>R(Vt))}function J(Vt){return[je,we,Ue,ve,Nt,jt,sr,$t,Je,Qt,Ve,Ft].some(R=>R(Vt))}function ce(Vt,R){let We=(Vt.body||Vt.properties).find(Tt=>{let{type:fr}=Tt;return fr!=="EmptyStatement"});We?x(We,R):S(Vt,R)}function Ae(Vt,R){Vt.type==="BlockStatement"?ce(Vt,R):x(Vt,R)}function Te(Vt){let{comment:R,followingNode:We}=Vt;return We&&j(R)?(x(We,R),!0):!1}function we(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,followingNode:fr,text:Er}=Vt;if((Tt==null?void 0:Tt.type)!=="IfStatement"||!fr)return!1;if(y(Er,R,A)===")")return v(We,R),!0;if(We===Tt.consequent&&fr===Tt.alternate){if(We.type==="BlockStatement")v(We,R);else{let an=R.type==="SingleLine"||R.loc.start.line===R.loc.end.line,Dr=R.loc.start.line===We.loc.start.line;an&&Dr?S(We,R,B):S(Tt,R)}return!0}return fr.type==="BlockStatement"?(ce(fr,R),!0):fr.type==="IfStatement"?(Ae(fr.consequent,R),!0):Tt.consequent===fr?(x(fr,R),!0):!1}function Ue(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,followingNode:fr,text:Er}=Vt;return(Tt==null?void 0:Tt.type)!=="WhileStatement"||!fr?!1:y(Er,R,A)===")"?(v(We,R),!0):fr.type==="BlockStatement"?(ce(fr,R),!0):Tt.body===fr?(x(fr,R),!0):!1}function ge(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,followingNode:fr}=Vt;return(Tt==null?void 0:Tt.type)!=="TryStatement"&&(Tt==null?void 0:Tt.type)!=="CatchClause"||!fr?!1:Tt.type==="CatchClause"&&We?(v(We,R),!0):fr.type==="BlockStatement"?(ce(fr,R),!0):fr.type==="TryStatement"?(Ae(fr.finalizer,R),!0):fr.type==="CatchClause"?(Ae(fr.body,R),!0):!1}function lt(Vt){let{comment:R,enclosingNode:We,followingNode:Tt}=Vt;return ae(We)&&(Tt==null?void 0:Tt.type)==="Identifier"?(x(We,R),!0):!1}function Pe(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,followingNode:fr,text:Er}=Vt,an=We&&!D(Er,A(We),M(R));return(!We||!an)&&((Tt==null?void 0:Tt.type)==="ConditionalExpression"||(Tt==null?void 0:Tt.type)==="TSConditionalType")&&fr?(x(fr,R),!0):!1}function ve(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt}=Vt;return ne(Tt)&&Tt.shorthand&&Tt.key===We&&Tt.value.type==="AssignmentPattern"?(v(Tt.value.left,R),!0):!1}var ut=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function wt(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,followingNode:fr}=Vt;if(ut.has(Tt==null?void 0:Tt.type)){if(T(Tt.decorators)&&!(fr&&fr.type==="Decorator"))return v(h(Tt.decorators),R),!0;if(Tt.body&&fr===Tt.body)return ce(Tt.body,R),!0;if(fr){if(Tt.superClass&&fr===Tt.superClass&&We&&(We===Tt.id||We===Tt.typeParameters))return v(We,R),!0;for(let Er of["implements","extends","mixins"])if(Tt[Er]&&fr===Tt[Er][0])return We&&(We===Tt.id||We===Tt.typeParameters||We===Tt.superClass)?v(We,R):S(Tt,R,Er),!0}}return!1}var pt=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function jt(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,text:fr}=Vt;return Tt&&We&&y(fr,R,A)==="("&&(Tt.type==="Property"||Tt.type==="TSDeclareMethod"||Tt.type==="TSAbstractMethodDefinition")&&We.type==="Identifier"&&Tt.key===We&&y(fr,We,A)!==":"||(We==null?void 0:We.type)==="Decorator"&&pt.has(Tt==null?void 0:Tt.type)?(v(We,R),!0):!1}var Be=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Je(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,text:fr}=Vt;return y(fr,R,A)!=="("?!1:We&&Be.has(Tt==null?void 0:Tt.type)?(v(We,R),!0):!1}function $t(Vt){let{comment:R,enclosingNode:We,text:Tt}=Vt;if((We==null?void 0:We.type)!=="ArrowFunctionExpression")return!1;let fr=k(Tt,R,A);return fr!==!1&&Tt.slice(fr,fr+2)==="=>"?(S(We,R),!0):!1}function Nt(Vt){let{comment:R,enclosingNode:We,text:Tt}=Vt;return y(Tt,R,A)!==")"?!1:We&&(_t(We)&&$(We).length===0||L(We)&&te(We).length===0)?(S(We,R),!0):((We==null?void 0:We.type)==="MethodDefinition"||(We==null?void 0:We.type)==="TSAbstractMethodDefinition")&&$(We.value).length===0?(S(We.value,R),!0):!1}function jr(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,followingNode:fr,text:Er}=Vt;if((We==null?void 0:We.type)==="FunctionTypeParam"&&(Tt==null?void 0:Tt.type)==="FunctionTypeAnnotation"&&(fr==null?void 0:fr.type)!=="FunctionTypeParam"||((We==null?void 0:We.type)==="Identifier"||(We==null?void 0:We.type)==="AssignmentPattern")&&Tt&&_t(Tt)&&y(Er,R,A)===")")return v(We,R),!0;if((Tt==null?void 0:Tt.type)==="FunctionDeclaration"&&(fr==null?void 0:fr.type)==="BlockStatement"){let an=(()=>{let Dr=$(Tt);if(Dr.length>0)return g(Er,A(h(Dr)));let Fs=g(Er,A(Tt.id));return Fs!==!1&&g(Er,Fs+1)})();if(M(R)>an)return ce(fr,R),!0}return!1}function tt(Vt){let{comment:R,enclosingNode:We}=Vt;return(We==null?void 0:We.type)==="LabeledStatement"?(x(We,R),!0):!1}function Ve(Vt){let{comment:R,enclosingNode:We}=Vt;return((We==null?void 0:We.type)==="ContinueStatement"||(We==null?void 0:We.type)==="BreakStatement")&&!We.label?(v(We,R),!0):!1}function ft(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt}=Vt;return q(Tt)&&We&&Tt.callee===We&&Tt.arguments.length>0?(x(Tt.arguments[0],R),!0):!1}function vt(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,followingNode:fr}=Vt;return(Tt==null?void 0:Tt.type)==="UnionTypeAnnotation"||(Tt==null?void 0:Tt.type)==="TSUnionType"?(w(R)&&(fr.prettierIgnore=!0,R.unignore=!0),We?(v(We,R),!0):!1):(((fr==null?void 0:fr.type)==="UnionTypeAnnotation"||(fr==null?void 0:fr.type)==="TSUnionType")&&w(R)&&(fr.types[0].prettierIgnore=!0,R.unignore=!0),!1)}function Ut(Vt){let{comment:R,enclosingNode:We}=Vt;return ne(We)?(x(We,R),!0):!1}function sr(Vt){let{comment:R,enclosingNode:We,followingNode:Tt,ast:fr,isLastComment:Er}=Vt;return fr&&fr.body&&fr.body.length===0?(Er?S(fr,R):x(fr,R),!0):(We==null?void 0:We.type)==="Program"&&(We==null?void 0:We.body.length)===0&&!T(We.directives)?(Er?S(We,R):x(We,R),!0):(Tt==null?void 0:Tt.type)==="Program"&&(Tt==null?void 0:Tt.body.length)===0&&(We==null?void 0:We.type)==="ModuleExpression"?(S(Tt,R),!0):!1}function Or(Vt){let{comment:R,enclosingNode:We}=Vt;return(We==null?void 0:We.type)==="ForInStatement"||(We==null?void 0:We.type)==="ForOfStatement"?(x(We,R),!0):!1}function hn(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,text:fr}=Vt;if((Tt==null?void 0:Tt.type)==="ImportSpecifier"||(Tt==null?void 0:Tt.type)==="ExportSpecifier")return x(Tt,R),!0;let Er=(We==null?void 0:We.type)==="ImportSpecifier"&&(Tt==null?void 0:Tt.type)==="ImportDeclaration",an=(We==null?void 0:We.type)==="ExportSpecifier"&&(Tt==null?void 0:Tt.type)==="ExportNamedDeclaration";return(Er||an)&&d(fr,A(R))?(v(We,R),!0):!1}function Ci(Vt){let{comment:R,enclosingNode:We}=Vt;return(We==null?void 0:We.type)==="AssignmentPattern"?(x(We,R),!0):!1}var hi=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),cn=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Bn(Vt){let{comment:R,enclosingNode:We,followingNode:Tt}=Vt;return hi.has(We==null?void 0:We.type)&&Tt&&(cn.has(Tt.type)||I(R))?(x(Tt,R),!0):!1}function Ft(Vt){let{comment:R,enclosingNode:We,followingNode:Tt,text:fr}=Vt;return!Tt&&((We==null?void 0:We.type)==="TSMethodSignature"||(We==null?void 0:We.type)==="TSDeclareFunction"||(We==null?void 0:We.type)==="TSAbstractMethodDefinition")&&y(fr,R,A)===";"?(v(We,R),!0):!1}function je(Vt){let{comment:R,enclosingNode:We,followingNode:Tt}=Vt;if(w(R)&&(We==null?void 0:We.type)==="TSMappedType"&&(Tt==null?void 0:Tt.type)==="TSTypeParameter"&&Tt.constraint)return We.prettierIgnore=!0,R.unignore=!0,!0}function Qt(Vt){let{comment:R,precedingNode:We,enclosingNode:Tt,followingNode:fr}=Vt;return(Tt==null?void 0:Tt.type)!=="TSMappedType"?!1:(fr==null?void 0:fr.type)==="TSTypeParameter"&&fr.name?(x(fr.name,R),!0):(We==null?void 0:We.type)==="TSTypeParameter"&&We.constraint?(v(We.constraint,R),!0):!1}function et(Vt){let{comment:R,enclosingNode:We,followingNode:Tt}=Vt;return!We||We.type!=="SwitchCase"||We.test||!Tt||Tt!==We.consequent[0]?!1:(Tt.type==="BlockStatement"&&Fe(R)?ce(Tt,R):S(We,R),!0)}function _t(Vt){return Vt.type==="ArrowFunctionExpression"||Vt.type==="FunctionExpression"||Vt.type==="FunctionDeclaration"||Vt.type==="ObjectMethod"||Vt.type==="ClassMethod"||Vt.type==="TSDeclareFunction"||Vt.type==="TSCallSignatureDeclaration"||Vt.type==="TSConstructSignatureDeclaration"||Vt.type==="TSMethodSignature"||Vt.type==="TSConstructorType"||Vt.type==="TSFunctionType"||Vt.type==="TSDeclareMethod"}function Wr(Vt,R){if((R.parser==="typescript"||R.parser==="flow"||R.parser==="acorn"||R.parser==="espree"||R.parser==="meriyah"||R.parser==="__babel_estree")&&Vt.type==="MethodDefinition"&&Vt.value&&Vt.value.type==="FunctionExpression"&&$(Vt.value).length===0&&!Vt.value.returnType&&!T(Vt.value.typeParameters)&&Vt.value.body)return[...Vt.decorators||[],Vt.key,Vt.value.body]}function Br(Vt){let R=Vt.getValue(),We=Vt.getParentNode(),Tt=fr=>Z(_(fr,z.Leading))||Z(_(fr,z.Trailing));return(R&&(F(R)||Q(R)||q(We)&&Tt(R))||We&&(We.type==="JSXSpreadAttribute"||We.type==="JSXSpreadChild"||We.type==="UnionTypeAnnotation"||We.type==="TSUnionType"||(We.type==="ClassDeclaration"||We.type==="ClassExpression")&&We.superClass===R))&&(!re(Vt)||We.type==="UnionTypeAnnotation"||We.type==="TSUnionType")}c.exports={handleOwnLineComment:X,handleEndOfLineComment:W,handleRemainingComment:J,getCommentChildNodes:Wr,willPrintOwnComments:Br}}}),lu=Oe({"src/language-js/needs-parens.js"(a,c){ze();var h=Ds(),d=Bu(),{getFunctionParameters:g,getLeftSidePathName:y,hasFlowShorthandAnnotationComment:D,hasNakedLeftSide:x,hasNode:v,isBitwiseOperator:S,startsWithNoLookaheadToken:k,shouldFlatten:T,getPrecedence:$,isCallExpression:w,isMemberExpression:F,isObjectProperty:Q,isTSTypeExpression:Z}=is();function re(_,z){let B=_.getParentNode();if(!B)return!1;let M=_.getName(),A=_.getNode();if(z.__isInHtmlInterpolation&&!z.bracketSpacing&&ae(A)&&ne(_))return!0;if(L(A))return!1;if(z.parser!=="flow"&&D(_.getValue()))return!0;if(A.type==="Identifier"){if(A.extra&&A.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(A.name)||M==="left"&&(A.name==="async"&&!B.await||A.name==="let")&&B.type==="ForOfStatement")return!0;if(A.name==="let"){var I;let X=(I=_.findAncestor(W=>W.type==="ForOfStatement"))===null||I===void 0?void 0:I.left;if(X&&k(X,W=>W===A))return!0}if(M==="object"&&A.name==="let"&&B.type==="MemberExpression"&&B.computed&&!B.optional){let X=_.findAncestor(J=>J.type==="ExpressionStatement"||J.type==="ForStatement"||J.type==="ForInStatement"),W=X?X.type==="ExpressionStatement"?X.expression:X.type==="ForStatement"?X.init:X.left:void 0;if(W&&k(W,J=>J===A))return!0}return!1}if(A.type==="ObjectExpression"||A.type==="FunctionExpression"||A.type==="ClassExpression"||A.type==="DoExpression"){var j;let X=(j=_.findAncestor(W=>W.type==="ExpressionStatement"))===null||j===void 0?void 0:j.expression;if(X&&k(X,W=>W===A))return!0}switch(B.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(M==="superClass"&&(A.type==="ArrowFunctionExpression"||A.type==="AssignmentExpression"||A.type==="AwaitExpression"||A.type==="BinaryExpression"||A.type==="ConditionalExpression"||A.type==="LogicalExpression"||A.type==="NewExpression"||A.type==="ObjectExpression"||A.type==="SequenceExpression"||A.type==="TaggedTemplateExpression"||A.type==="UnaryExpression"||A.type==="UpdateExpression"||A.type==="YieldExpression"||A.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return Fe(_,z)||A.type==="SequenceExpression";case"Decorator":{if(M==="expression"){if(F(A)&&A.computed)return!0;let X=!1,W=!1,J=A;for(;J;)switch(J.type){case"MemberExpression":W=!0,J=J.object;break;case"CallExpression":if(W||X)return z.parser!=="typescript";X=!0,J=J.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return z.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(M==="body"&&A.type!=="SequenceExpression"&&k(A,X=>X.type==="ObjectExpression"))return!0;break}}switch(A.type){case"UpdateExpression":if(B.type==="UnaryExpression")return A.prefix&&(A.operator==="++"&&B.operator==="+"||A.operator==="--"&&B.operator==="-");case"UnaryExpression":switch(B.type){case"UnaryExpression":return A.operator===B.operator&&(A.operator==="+"||A.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return M==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return M==="callee";case"BinaryExpression":return M==="left"&&B.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(B.type==="UpdateExpression"||A.operator==="in"&&te(_))return!0;if(A.operator==="|>"&&A.extra&&A.extra.parenthesized){let X=_.getParentNode(1);if(X.type==="BinaryExpression"&&X.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(B.type){case"TSSatisfiesExpression":case"TSAsExpression":return!Z(A);case"ConditionalExpression":return Z(A);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return M==="callee";case"ClassExpression":case"ClassDeclaration":return M==="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 M==="object";case"AssignmentExpression":case"AssignmentPattern":return M==="left"&&(A.type==="TSTypeAssertion"||Z(A));case"LogicalExpression":if(A.type==="LogicalExpression")return B.operator!==A.operator;case"BinaryExpression":{let{operator:X,type:W}=A;if(!X&&W!=="TSTypeAssertion")return!0;let J=$(X),ce=B.operator,Ae=$(ce);return Ae>J||M==="right"&&Ae===J||Ae===J&&!T(ce,X)?!0:Ae<J&&X==="%"?ce==="+"||ce==="-":!!S(ce)}default:return!1}case"SequenceExpression":switch(B.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return M!=="expression";case"ArrowFunctionExpression":return M!=="body";default:return!0}case"YieldExpression":if(B.type==="UnaryExpression"||B.type==="AwaitExpression"||Z(B)||B.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(B.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 M==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return M==="callee";case"ConditionalExpression":return M==="test";case"BinaryExpression":return!(!A.argument&&B.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(M==="extendsType"&&B.type==="TSConditionalType"){if(A.type==="TSConditionalType")return!0;let{typeAnnotation:X}=A.returnType||A.typeAnnotation;if(X.type==="TSTypePredicate"&&X.typeAnnotation&&(X=X.typeAnnotation.typeAnnotation),X.type==="TSInferType"&&X.typeParameter.constraint)return!0}if(M==="checkType"&&B.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((B.type==="TSUnionType"||B.type==="TSIntersectionType")&&B.types.length>1&&(!A.types||A.types.length>1))return!0;case"TSInferType":if(A.type==="TSInferType"&&B.type==="TSRestType")return!1;case"TSTypeOperator":return B.type==="TSArrayType"||B.type==="TSOptionalType"||B.type==="TSRestType"||M==="objectType"&&B.type==="TSIndexedAccessType"||B.type==="TSTypeOperator"||B.type==="TSTypeAnnotation"&&_.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return M==="objectType"&&B.type==="TSIndexedAccessType"||M==="elementType"&&B.type==="TSArrayType";case"TypeofTypeAnnotation":return M==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType")||M==="elementType"&&B.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return B.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return B.type==="ArrayTypeAnnotation"||B.type==="NullableTypeAnnotation"||B.type==="IntersectionTypeAnnotation"||B.type==="UnionTypeAnnotation"||M==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return B.type==="ArrayTypeAnnotation"||M==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let X=B.type==="NullableTypeAnnotation"?_.getParentNode(1):B;return X.type==="UnionTypeAnnotation"||X.type==="IntersectionTypeAnnotation"||X.type==="ArrayTypeAnnotation"||M==="objectType"&&(X.type==="IndexedAccessType"||X.type==="OptionalIndexedAccessType")||X.type==="NullableTypeAnnotation"||B.type==="FunctionTypeParam"&&B.name===null&&g(A).some(W=>W.typeAnnotation&&W.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return M==="objectType"&&B.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof A.value=="string"&&B.type==="ExpressionStatement"&&!B.directive){let X=_.getParentNode(1);return X.type==="Program"||X.type==="BlockStatement"}return M==="object"&&B.type==="MemberExpression"&&typeof A.value=="number";case"AssignmentExpression":{let X=_.getParentNode(1);return M==="body"&&B.type==="ArrowFunctionExpression"?!0:M==="key"&&(B.type==="ClassProperty"||B.type==="PropertyDefinition")&&B.computed||(M==="init"||M==="update")&&B.type==="ForStatement"?!1:B.type==="ExpressionStatement"?A.left.type==="ObjectPattern":!(M==="key"&&B.type==="TSPropertySignature"||B.type==="AssignmentExpression"||B.type==="SequenceExpression"&&X&&X.type==="ForStatement"&&(X.init===B||X.update===B)||M==="value"&&B.type==="Property"&&X&&X.type==="ObjectPattern"&&X.properties.includes(B)||B.type==="NGChainedExpression")}case"ConditionalExpression":switch(B.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 M==="callee";case"ConditionalExpression":return M==="test";case"MemberExpression":case"OptionalMemberExpression":return M==="object";default:return!1}case"FunctionExpression":switch(B.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return M==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(B.type){case"BinaryExpression":return B.operator!=="|>"||A.extra&&A.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return M==="callee";case"MemberExpression":case"OptionalMemberExpression":return M==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return M==="test";default:return!1}case"ClassExpression":if(d(A.decorators))return!0;switch(B.type){case"NewExpression":return M==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let X=_.getParentNode(1);if(M==="object"&&B.type==="MemberExpression"||M==="callee"&&(B.type==="CallExpression"||B.type==="NewExpression")||B.type==="TSNonNullExpression"&&X.type==="MemberExpression"&&X.object===B)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(M==="callee"&&(B.type==="BindExpression"||B.type==="NewExpression")){let X=A;for(;X;)switch(X.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":X=X.object;break;case"TaggedTemplateExpression":X=X.tag;break;case"TSNonNullExpression":X=X.expression;break;default:return!1}}return!1;case"BindExpression":return M==="callee"&&(B.type==="BindExpression"||B.type==="NewExpression")||M==="object"&&F(B);case"NGPipeExpression":return!(B.type==="NGRoot"||B.type==="NGMicrosyntaxExpression"||B.type==="ObjectProperty"&&!(A.extra&&A.extra.parenthesized)||B.type==="ArrayExpression"||w(B)&&B.arguments[M]===A||M==="right"&&B.type==="NGPipeExpression"||M==="property"&&B.type==="MemberExpression"||B.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return M==="callee"||M==="left"&&B.type==="BinaryExpression"&&B.operator==="<"||B.type!=="ArrayExpression"&&B.type!=="ArrowFunctionExpression"&&B.type!=="AssignmentExpression"&&B.type!=="AssignmentPattern"&&B.type!=="BinaryExpression"&&B.type!=="NewExpression"&&B.type!=="ConditionalExpression"&&B.type!=="ExpressionStatement"&&B.type!=="JsExpressionRoot"&&B.type!=="JSXAttribute"&&B.type!=="JSXElement"&&B.type!=="JSXExpressionContainer"&&B.type!=="JSXFragment"&&B.type!=="LogicalExpression"&&!w(B)&&!Q(B)&&B.type!=="ReturnStatement"&&B.type!=="ThrowStatement"&&B.type!=="TypeCastExpression"&&B.type!=="VariableDeclarator"&&B.type!=="YieldExpression";case"TypeAnnotation":return M==="returnType"&&B.type==="ArrowFunctionExpression"&&q(A)}return!1}function L(_){return _.type==="BlockStatement"||_.type==="BreakStatement"||_.type==="ClassBody"||_.type==="ClassDeclaration"||_.type==="ClassMethod"||_.type==="ClassProperty"||_.type==="PropertyDefinition"||_.type==="ClassPrivateProperty"||_.type==="ContinueStatement"||_.type==="DebuggerStatement"||_.type==="DeclareClass"||_.type==="DeclareExportAllDeclaration"||_.type==="DeclareExportDeclaration"||_.type==="DeclareFunction"||_.type==="DeclareInterface"||_.type==="DeclareModule"||_.type==="DeclareModuleExports"||_.type==="DeclareVariable"||_.type==="DoWhileStatement"||_.type==="EnumDeclaration"||_.type==="ExportAllDeclaration"||_.type==="ExportDefaultDeclaration"||_.type==="ExportNamedDeclaration"||_.type==="ExpressionStatement"||_.type==="ForInStatement"||_.type==="ForOfStatement"||_.type==="ForStatement"||_.type==="FunctionDeclaration"||_.type==="IfStatement"||_.type==="ImportDeclaration"||_.type==="InterfaceDeclaration"||_.type==="LabeledStatement"||_.type==="MethodDefinition"||_.type==="ReturnStatement"||_.type==="SwitchStatement"||_.type==="ThrowStatement"||_.type==="TryStatement"||_.type==="TSDeclareFunction"||_.type==="TSEnumDeclaration"||_.type==="TSImportEqualsDeclaration"||_.type==="TSInterfaceDeclaration"||_.type==="TSModuleDeclaration"||_.type==="TSNamespaceExportDeclaration"||_.type==="TypeAlias"||_.type==="VariableDeclaration"||_.type==="WhileStatement"||_.type==="WithStatement"}function te(_){let z=0,B=_.getValue();for(;B;){let M=_.getParentNode(z++);if(M&&M.type==="ForStatement"&&M.init===B)return!0;B=M}return!1}function q(_){return v(_,z=>z.type==="ObjectTypeAnnotation"&&v(z,B=>B.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ae(_){switch(_.type){case"ObjectExpression":return!0;default:return!1}}function ne(_){let z=_.getValue(),B=_.getParentNode(),M=_.getName();switch(B.type){case"NGPipeExpression":if(typeof M=="number"&&B.arguments[M]===z&&B.arguments.length-1===M)return _.callParent(ne);break;case"ObjectProperty":if(M==="value"){let A=_.getParentNode(1);return h(A.properties)===B}break;case"BinaryExpression":case"LogicalExpression":if(M==="right")return _.callParent(ne);break;case"ConditionalExpression":if(M==="alternate")return _.callParent(ne);break;case"UnaryExpression":if(B.prefix)return _.callParent(ne);break}return!1}function Fe(_,z){let B=_.getValue(),M=_.getParentNode();return B.type==="FunctionExpression"||B.type==="ClassExpression"?M.type==="ExportDefaultDeclaration"||!re(_,z):!x(B)||M.type!=="ExportDefaultDeclaration"&&re(_,z)?!1:_.call(A=>Fe(A,z),...y(_,B))}c.exports=re}}),kl=Oe({"src/language-js/print-preprocess.js"(a,c){ze();function h(d,g){switch(g.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},d),{},{type:g.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:d,comments:[],rootMarker:g.rootMarker});default:return d}}c.exports=h}}),Zc=Oe({"src/language-js/print/html-binding.js"(a,c){ze();var{builders:{join:h,line:d,group:g,softline:y,indent:D}}=Ln();function x(S,k,T){let $=S.getValue();if(k.__onHtmlBindingRoot&&S.getName()===null&&k.__onHtmlBindingRoot($,k),$.type==="File"){if(k.__isVueForBindingLeft)return S.call(w=>{let F=h([",",d],w.map(T,"params")),{params:Q}=w.getValue();return Q.length===1?F:["(",D([y,g(F)]),y,")"]},"program","body",0);if(k.__isVueBindings)return S.call(w=>h([",",d],w.map(T,"params")),"program","body",0)}}function v(S){switch(S.type){case"MemberExpression":switch(S.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return v(S.object)}return!1;case"Identifier":return!0;default:return!1}}c.exports={isVueEventBindingExpression:v,printHtmlBinding:x}}}),xa=Oe({"src/language-js/print/binaryish.js"(a,c){ze();var{printComments:h}=Wi(),{getLast:d}=pi(),{builders:{join:g,line:y,softline:D,group:x,indent:v,align:S,indentIfBreak:k},utils:{cleanDoc:T,getDocParts:$,isConcat:w}}=Ln(),{hasLeadingOwnLineComment:F,isBinaryish:Q,isJsxNode:Z,shouldFlatten:re,hasComment:L,CommentCheckFlags:te,isCallExpression:q,isMemberExpression:ae,isObjectProperty:ne,isEnabledHackPipeline:Fe}=is(),_=0;function z(A,I,j){let X=A.getValue(),W=A.getParentNode(),J=A.getParentNode(1),ce=X!==W.body&&(W.type==="IfStatement"||W.type==="WhileStatement"||W.type==="SwitchStatement"||W.type==="DoWhileStatement"),Ae=Fe(I)&&X.operator==="|>",Te=B(A,j,I,!1,ce);if(ce)return Te;if(Ae)return x(Te);if(q(W)&&W.callee===X||W.type==="UnaryExpression"||ae(W)&&!W.computed)return x([v([D,...Te]),D]);let we=W.type==="ReturnStatement"||W.type==="ThrowStatement"||W.type==="JSXExpressionContainer"&&J.type==="JSXAttribute"||X.operator!=="|"&&W.type==="JsExpressionRoot"||X.type!=="NGPipeExpression"&&(W.type==="NGRoot"&&I.parser==="__ng_binding"||W.type==="NGMicrosyntaxExpression"&&J.type==="NGMicrosyntax"&&J.body.length===1)||X===W.body&&W.type==="ArrowFunctionExpression"||X!==W.body&&W.type==="ForStatement"||W.type==="ConditionalExpression"&&J.type!=="ReturnStatement"&&J.type!=="ThrowStatement"&&!q(J)||W.type==="TemplateLiteral",Ue=W.type==="AssignmentExpression"||W.type==="VariableDeclarator"||W.type==="ClassProperty"||W.type==="PropertyDefinition"||W.type==="TSAbstractPropertyDefinition"||W.type==="ClassPrivateProperty"||ne(W),ge=Q(X.left)&&re(X.operator,X.left.operator);if(we||M(X)&&!ge||!M(X)&&Ue)return x(Te);if(Te.length===0)return"";let lt=Z(X.right),Pe=Te.findIndex(Be=>typeof Be!="string"&&!Array.isArray(Be)&&Be.type==="group"),ve=Te.slice(0,Pe===-1?1:Pe+1),ut=Te.slice(ve.length,lt?-1:void 0),wt=Symbol("logicalChain-"+ ++_),pt=x([...ve,v(ut)],{id:wt});if(!lt)return pt;let jt=d(Te);return x([pt,k(jt,{groupId:wt})])}function B(A,I,j,X,W){let J=A.getValue();if(!Q(J))return[x(I())];let ce=[];re(J.operator,J.left.operator)?ce=A.call(ut=>B(ut,I,j,!0,W),"left"):ce.push(x(I("left")));let Ae=M(J),Te=(J.operator==="|>"||J.type==="NGPipeExpression"||J.operator==="|"&&j.parser==="__vue_expression")&&!F(j.originalText,J.right),we=J.type==="NGPipeExpression"?"|":J.operator,Ue=J.type==="NGPipeExpression"&&J.arguments.length>0?x(v([y,": ",g([y,": "],A.map(I,"arguments").map(ut=>S(2,x(ut))))])):"",ge;if(Ae)ge=[we," ",I("right"),Ue];else{let ut=Fe(j)&&we==="|>"?A.call(wt=>B(wt,I,j,!0,W),"right"):I("right");ge=[Te?y:"",we,Te?" ":y,ut,Ue]}let lt=A.getParentNode(),Pe=L(J.left,te.Trailing|te.Line),ve=Pe||!(W&&J.type==="LogicalExpression")&<.type!==J.type&&J.left.type!==J.type&&J.right.type!==J.type;if(ce.push(Te?"":" ",ve?x(ge,{shouldBreak:Pe}):ge),X&&L(J)){let ut=T(h(A,ce,j));return w(ut)||ut.type==="fill"?$(ut):[ut]}return ce}function M(A){return A.type!=="LogicalExpression"?!1:!!(A.right.type==="ObjectExpression"&&A.right.properties.length>0||A.right.type==="ArrayExpression"&&A.right.elements.length>0||Z(A.right))}c.exports={printBinaryishExpression:z,shouldInlineLogicalExpression:M}}}),Qp=Oe({"src/language-js/print/angular.js"(a,c){ze();var{builders:{join:h,line:d,group:g}}=Ln(),{hasNode:y,hasComment:D,getComments:x}=is(),{printBinaryishExpression:v}=xa();function S($,w,F){let Q=$.getValue();if(Q.type.startsWith("NG"))switch(Q.type){case"NGRoot":return[F("node"),D(Q.node)?" //"+x(Q.node)[0].value.trimEnd():""];case"NGPipeExpression":return v($,w,F);case"NGChainedExpression":return g(h([";",d],$.map(Z=>T(Z)?F():["(",F(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[Q.prefix,": ",Q.value.trim()];case"NGMicrosyntax":return $.map((Z,re)=>[re===0?"":k(Z.getValue(),re,Q)?" ":[";",d],F()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(Q.name)?Q.name:JSON.stringify(Q.name);case"NGMicrosyntaxExpression":return[F("expression"),Q.alias===null?"":[" as ",F("alias")]];case"NGMicrosyntaxKeyedExpression":{let Z=$.getName(),re=$.getParentNode(),L=k(Q,Z,re)||(Z===1&&(Q.key.name==="then"||Q.key.name==="else")||Z===2&&Q.key.name==="else"&&re.body[Z-1].type==="NGMicrosyntaxKeyedExpression"&&re.body[Z-1].key.name==="then")&&re.body[0].type==="NGMicrosyntaxExpression";return[F("key"),L?" ":": ",F("expression")]}case"NGMicrosyntaxLet":return["let ",F("key"),Q.value===null?"":[" = ",F("value")]];case"NGMicrosyntaxAs":return[F("key")," as ",F("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(Q.type)}.`)}}function k($,w,F){return $.type==="NGMicrosyntaxKeyedExpression"&&$.key.name==="of"&&w===1&&F.body[0].type==="NGMicrosyntaxLet"&&F.body[0].value===null}function T($){return y($.getValue(),w=>{switch(w.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}c.exports={printAngular:S}}}),lc=Oe({"src/language-js/print/jsx.js"(a,c){ze();var{printComments:h,printDanglingComments:d,printCommentsSeparately:g}=Wi(),{builders:{line:y,hardline:D,softline:x,group:v,indent:S,conditionalGroup:k,fill:T,ifBreak:$,lineSuffixBoundary:w,join:F},utils:{willBreak:Q}}=Ln(),{getLast:Z,getPreferredQuote:re}=pi(),{isJsxNode:L,rawText:te,isCallExpression:q,isStringLiteral:ae,isBinaryish:ne,hasComment:Fe,CommentCheckFlags:_,hasNodeIgnoreComment:z}=is(),B=lu(),{willPrintOwnComments:M}=Tl(),A=Ve=>Ve===""||Ve===y||Ve===D||Ve===x;function I(Ve,ft,vt){let Ut=Ve.getValue();if(Ut.type==="JSXElement"&&$t(Ut))return[vt("openingElement"),vt("closingElement")];let sr=Ut.type==="JSXElement"?vt("openingElement"):vt("openingFragment"),Or=Ut.type==="JSXElement"?vt("closingElement"):vt("closingFragment");if(Ut.children.length===1&&Ut.children[0].type==="JSXExpressionContainer"&&(Ut.children[0].expression.type==="TemplateLiteral"||Ut.children[0].expression.type==="TaggedTemplateExpression"))return[sr,...Ve.map(vt,"children"),Or];Ut.children=Ut.children.map(R=>jr(R)?{type:"JSXText",value:" ",raw:" "}:R);let hn=Ut.children.some(L),Ci=Ut.children.filter(R=>R.type==="JSXExpressionContainer").length>1,hi=Ut.type==="JSXElement"&&Ut.openingElement.attributes.length>1,cn=Q(sr)||hn||hi||Ci,Bn=Ve.getParentNode().rootMarker==="mdx",Ft=ft.singleQuote?"{' '}":'{" "}',je=Bn?" ":$([Ft,x]," "),Qt=Ut.openingElement&&Ut.openingElement.name&&Ut.openingElement.name.name==="fbt",et=j(Ve,ft,vt,je,Qt),_t=Ut.children.some(R=>Nt(R));for(let R=et.length-2;R>=0;R--){let We=et[R]===""&&et[R+1]==="",Tt=et[R]===D&&et[R+1]===""&&et[R+2]===D,fr=(et[R]===x||et[R]===D)&&et[R+1]===""&&et[R+2]===je,Er=et[R]===je&&et[R+1]===""&&(et[R+2]===x||et[R+2]===D),an=et[R]===je&&et[R+1]===""&&et[R+2]===je,Dr=et[R]===x&&et[R+1]===""&&et[R+2]===D||et[R]===D&&et[R+1]===""&&et[R+2]===x;Tt&&_t||We||fr||an||Dr?et.splice(R,2):Er&&et.splice(R+1,2)}for(;et.length>0&&A(Z(et));)et.pop();for(;et.length>1&&A(et[0])&&A(et[1]);)et.shift(),et.shift();let Wr=[];for(let[R,We]of et.entries()){if(We===je){if(R===1&&et[R-1]===""){if(et.length===2){Wr.push(Ft);continue}Wr.push([Ft,D]);continue}else if(R===et.length-1){Wr.push(Ft);continue}else if(et[R-1]===""&&et[R-2]===D){Wr.push(Ft);continue}}Wr.push(We),Q(We)&&(cn=!0)}let Br=_t?T(Wr):v(Wr,{shouldBreak:!0});if(Bn)return Br;let Vt=v([sr,S([D,Br]),D,Or]);return cn?Vt:k([v([sr,...et,Or]),Vt])}function j(Ve,ft,vt,Ut,sr){let Or=[];return Ve.each((hn,Ci,hi)=>{let cn=hn.getValue();if(cn.type==="JSXText"){let Bn=te(cn);if(Nt(cn)){let Ft=Bn.split(jt);if(Ft[0]===""){if(Or.push(""),Ft.shift(),/\n/.test(Ft[0])){let Qt=hi[Ci+1];Or.push(W(sr,Ft[1],cn,Qt))}else Or.push(Ut);Ft.shift()}let je;if(Z(Ft)===""&&(Ft.pop(),je=Ft.pop()),Ft.length===0)return;for(let[Qt,et]of Ft.entries())Qt%2===1?Or.push(y):Or.push(et);if(je!==void 0)if(/\n/.test(je)){let Qt=hi[Ci+1];Or.push(W(sr,Z(Or),cn,Qt))}else Or.push(Ut);else{let Qt=hi[Ci+1];Or.push(X(sr,Z(Or),cn,Qt))}}else/\n/.test(Bn)?Bn.match(/\n/g).length>1&&Or.push("",D):Or.push("",Ut)}else{let Bn=vt();Or.push(Bn);let Ft=hi[Ci+1];if(Ft&&Nt(Ft)){let je=Je(te(Ft)).split(jt)[0];Or.push(X(sr,je,cn,Ft))}else Or.push(D)}},"children"),Or}function X(Ve,ft,vt,Ut){return Ve?"":vt.type==="JSXElement"&&!vt.closingElement||Ut&&Ut.type==="JSXElement"&&!Ut.closingElement?ft.length===1?x:D:x}function W(Ve,ft,vt,Ut){return Ve?D:ft.length===1?vt.type==="JSXElement"&&!vt.closingElement||Ut&&Ut.type==="JSXElement"&&!Ut.closingElement?D:x:D}function J(Ve,ft,vt){let Ut=Ve.getParentNode();if(!Ut||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Ut.type])return ft;let sr=Ve.match(void 0,hn=>hn.type==="ArrowFunctionExpression",q,hn=>hn.type==="JSXExpressionContainer"),Or=B(Ve,vt);return v([Or?"":$("("),S([x,ft]),x,Or?"":$(")")],{shouldBreak:sr})}function ce(Ve,ft,vt){let Ut=Ve.getValue(),sr=[];if(sr.push(vt("name")),Ut.value){let Or;if(ae(Ut.value)){let hn=te(Ut.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Ci,quote:hi,regex:cn}=re(hn,ft.jsxSingleQuote?"'":'"');hn=hn.replace(cn,Ci);let{leading:Bn,trailing:Ft}=Ve.call(()=>g(Ve,ft),"value");Or=[Bn,hi,hn,hi,Ft]}else Or=vt("value");sr.push("=",Or)}return sr}function Ae(Ve,ft,vt){let Ut=Ve.getValue(),sr=(Or,hn)=>Or.type==="JSXEmptyExpression"||!Fe(Or)&&(Or.type==="ArrayExpression"||Or.type==="ObjectExpression"||Or.type==="ArrowFunctionExpression"||Or.type==="AwaitExpression"&&(sr(Or.argument,Or)||Or.argument.type==="JSXElement")||q(Or)||Or.type==="FunctionExpression"||Or.type==="TemplateLiteral"||Or.type==="TaggedTemplateExpression"||Or.type==="DoExpression"||L(hn)&&(Or.type==="ConditionalExpression"||ne(Or)));return sr(Ut.expression,Ve.getParentNode(0))?v(["{",vt("expression"),w,"}"]):v(["{",S([x,vt("expression")]),x,w,"}"])}function Te(Ve,ft,vt){let Ut=Ve.getValue(),sr=Ut.name&&Fe(Ut.name)||Ut.typeParameters&&Fe(Ut.typeParameters);if(Ut.selfClosing&&Ut.attributes.length===0&&!sr)return["<",vt("name"),vt("typeParameters")," />"];if(Ut.attributes&&Ut.attributes.length===1&&Ut.attributes[0].value&&ae(Ut.attributes[0].value)&&!Ut.attributes[0].value.value.includes(`
|
|
`)&&!sr&&!Fe(Ut.attributes[0]))return v(["<",vt("name"),vt("typeParameters")," ",...Ve.map(vt,"attributes"),Ut.selfClosing?" />":">"]);let Or=Ut.attributes&&Ut.attributes.some(Ci=>Ci.value&&ae(Ci.value)&&Ci.value.value.includes(`
|
|
`)),hn=ft.singleAttributePerLine&&Ut.attributes.length>1?D:y;return v(["<",vt("name"),vt("typeParameters"),S(Ve.map(()=>[hn,vt()],"attributes")),...we(Ut,ft,sr)],{shouldBreak:Or})}function we(Ve,ft,vt){return Ve.selfClosing?[y,"/>"]:Ue(Ve,ft,vt)?[">"]:[x,">"]}function Ue(Ve,ft,vt){let Ut=Ve.attributes.length>0&&Fe(Z(Ve.attributes),_.Trailing);return Ve.attributes.length===0&&!vt||(ft.bracketSameLine||ft.jsxBracketSameLine)&&(!vt||Ve.attributes.length>0)&&!Ut}function ge(Ve,ft,vt){let Ut=Ve.getValue(),sr=[];sr.push("</");let Or=vt("name");return Fe(Ut.name,_.Leading|_.Line)?sr.push(S([D,Or]),D):Fe(Ut.name,_.Leading|_.Block)?sr.push(" ",Or):sr.push(Or),sr.push(">"),sr}function lt(Ve,ft){let vt=Ve.getValue(),Ut=Fe(vt),sr=Fe(vt,_.Line),Or=vt.type==="JSXOpeningFragment";return[Or?"<":"</",S([sr?D:Ut&&!Or?" ":"",d(Ve,ft,!0)]),sr?D:"",">"]}function Pe(Ve,ft,vt){let Ut=h(Ve,I(Ve,ft,vt),ft);return J(Ve,Ut,ft)}function ve(Ve,ft){let vt=Ve.getValue(),Ut=Fe(vt,_.Line);return[d(Ve,ft,!Ut),Ut?D:""]}function ut(Ve,ft,vt){let Ut=Ve.getValue();return["{",Ve.call(sr=>{let Or=["...",vt()],hn=sr.getValue();return!Fe(hn)||!M(sr)?Or:[S([x,h(sr,Or,ft)]),x]},Ut.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function wt(Ve,ft,vt){let Ut=Ve.getValue();if(Ut.type.startsWith("JSX"))switch(Ut.type){case"JSXAttribute":return ce(Ve,ft,vt);case"JSXIdentifier":return String(Ut.name);case"JSXNamespacedName":return F(":",[vt("namespace"),vt("name")]);case"JSXMemberExpression":return F(".",[vt("object"),vt("property")]);case"JSXSpreadAttribute":return ut(Ve,ft,vt);case"JSXSpreadChild":return ut(Ve,ft,vt);case"JSXExpressionContainer":return Ae(Ve,ft,vt);case"JSXFragment":case"JSXElement":return Pe(Ve,ft,vt);case"JSXOpeningElement":return Te(Ve,ft,vt);case"JSXClosingElement":return ge(Ve,ft,vt);case"JSXOpeningFragment":case"JSXClosingFragment":return lt(Ve,ft);case"JSXEmptyExpression":return ve(Ve,ft);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Ut.type)}.`)}}var pt=`
|
|
\r `,jt=new RegExp("(["+pt+"]+)"),Be=new RegExp("[^"+pt+"]"),Je=Ve=>Ve.replace(new RegExp("(?:^"+jt.source+"|"+jt.source+"$)"),"");function $t(Ve){if(Ve.children.length===0)return!0;if(Ve.children.length>1)return!1;let ft=Ve.children[0];return ft.type==="JSXText"&&!Nt(ft)}function Nt(Ve){return Ve.type==="JSXText"&&(Be.test(te(Ve))||!/\n/.test(te(Ve)))}function jr(Ve){return Ve.type==="JSXExpressionContainer"&&ae(Ve.expression)&&Ve.expression.value===" "&&!Fe(Ve.expression)}function tt(Ve){let ft=Ve.getValue(),vt=Ve.getParentNode();if(!vt||!ft||!L(ft)||!L(vt))return!1;let Ut=vt.children.indexOf(ft),sr=null;for(let Or=Ut;Or>0;Or--){let hn=vt.children[Or-1];if(!(hn.type==="JSXText"&&!Nt(hn))){sr=hn;break}}return sr&&sr.type==="JSXExpressionContainer"&&sr.expression.type==="JSXEmptyExpression"&&z(sr.expression)}c.exports={hasJsxIgnoreComment:tt,printJsx:wt}}}),ko=Oe({"src/language-js/print/misc.js"(a,c){ze();var{isNonEmptyArray:h}=pi(),{builders:{indent:d,join:g,line:y}}=Ln(),{isFlowAnnotationComment:D}=is();function x(Z){let re=Z.getValue();return!re.optional||re.type==="Identifier"&&re===Z.getParentNode().key?"":re.type==="OptionalCallExpression"||re.type==="OptionalMemberExpression"&&re.computed?"?.":"?"}function v(Z){return Z.getValue().definite||Z.match(void 0,(re,L)=>L==="id"&&re.type==="VariableDeclarator"&&re.definite)?"!":""}function S(Z,re,L){let te=Z.getValue();return te.typeArguments?L("typeArguments"):te.typeParameters?L("typeParameters"):""}function k(Z,re,L){let te=Z.getValue();if(!te.typeAnnotation)return"";let q=Z.getParentNode(),ae=q.type==="DeclareFunction"&&q.id===te;return D(re.originalText,te.typeAnnotation)?[" /*: ",L("typeAnnotation")," */"]:[ae?"":": ",L("typeAnnotation")]}function T(Z,re,L){return["::",L("callee")]}function $(Z,re,L){let te=Z.getValue();return h(te.modifiers)?[g(" ",Z.map(L,"modifiers"))," "]:""}function w(Z,re,L){return Z.type==="EmptyStatement"?";":Z.type==="BlockStatement"||L?[" ",re]:d([y,re])}function F(Z,re,L){return["...",L("argument"),k(Z,re,L)]}function Q(Z,re){let L=Z.slice(1,-1);if(L.includes('"')||L.includes("'"))return Z;let te=re.singleQuote?"'":'"';return te+L+te}c.exports={printOptionalToken:x,printDefiniteToken:v,printFunctionTypeParameters:S,printBindExpressionCallee:T,printTypeScriptModifiers:$,printTypeAnnotation:k,printRestSpread:F,adjustClause:w,printDirective:Q}}}),Wu=Oe({"src/language-js/print/array.js"(a,c){ze();var{printDanglingComments:h}=Wi(),{builders:{line:d,softline:g,hardline:y,group:D,indent:x,ifBreak:v,fill:S}}=Ln(),{getLast:k,hasNewline:T}=pi(),{shouldPrintComma:$,hasComment:w,CommentCheckFlags:F,isNextLineEmpty:Q,isNumericLiteral:Z,isSignedNumericLiteral:re}=is(),{locStart:L}=Ui(),{printOptionalToken:te,printTypeAnnotation:q}=ko();function ae(z,B,M){let A=z.getValue(),I=[],j=A.type==="TupleExpression"?"#[":"[",X="]";if(A.elements.length===0)w(A,F.Dangling)?I.push(D([j,h(z,B),g,X])):I.push(j,X);else{let W=k(A.elements),J=!(W&&W.type==="RestElement"),ce=W===null,Ae=Symbol("array"),Te=!B.__inJestEach&&A.elements.length>1&&A.elements.every((ge,lt,Pe)=>{let ve=ge&&ge.type;if(ve!=="ArrayExpression"&&ve!=="ObjectExpression")return!1;let ut=Pe[lt+1];if(ut&&ve!==ut.type)return!1;let wt=ve==="ArrayExpression"?"elements":"properties";return ge[wt]&&ge[wt].length>1}),we=ne(A,B),Ue=J?ce?",":$(B)?we?v(",","",{groupId:Ae}):v(","):"":"";I.push(D([j,x([g,we?_(z,B,M,Ue):[Fe(z,B,"elements",M),Ue],h(z,B,!0)]),g,X],{shouldBreak:Te,id:Ae}))}return I.push(te(z),q(z,B,M)),I}function ne(z,B){return z.elements.length>1&&z.elements.every(M=>M&&(Z(M)||re(M)&&!w(M.argument))&&!w(M,F.Trailing|F.Line,A=>!T(B.originalText,L(A),{backwards:!0})))}function Fe(z,B,M,A){let I=[],j=[];return z.each(X=>{I.push(j,D(A())),j=[",",d],X.getValue()&&Q(X.getValue(),B)&&j.push(g)},M),I}function _(z,B,M,A){let I=[];return z.each((j,X,W)=>{let J=X===W.length-1;I.push([M(),J?A:","]),J||I.push(Q(j.getValue(),B)?[y,y]:w(W[X+1],F.Leading|F.Line)?y:d)},"elements"),S(I)}c.exports={printArray:ae,printArrayItems:Fe,isConciselyPrintedArray:ne}}}),jp=Oe({"src/language-js/print/call-arguments.js"(a,c){ze();var{printDanglingComments:h}=Wi(),{getLast:d,getPenultimate:g}=pi(),{getFunctionParameters:y,hasComment:D,CommentCheckFlags:x,isFunctionCompositionArgs:v,isJsxNode:S,isLongCurriedCallExpression:k,shouldPrintComma:T,getCallArguments:$,iterateCallArgumentsPath:w,isNextLineEmpty:F,isCallExpression:Q,isStringLiteral:Z,isObjectProperty:re,isTSTypeExpression:L}=is(),{builders:{line:te,hardline:q,softline:ae,group:ne,indent:Fe,conditionalGroup:_,ifBreak:z,breakParent:B},utils:{willBreak:M}}=Ln(),{ArgExpansionBailout:A}=bi(),{isConciselyPrintedArray:I}=Wu();function j(we,Ue,ge){let lt=we.getValue(),Pe=lt.type==="ImportExpression",ve=$(lt);if(ve.length===0)return["(",h(we,Ue,!0),")"];if(ce(ve))return["(",ge(["arguments",0]),", ",ge(["arguments",1]),")"];let ut=!1,wt=!1,pt=ve.length-1,jt=[];w(we,(tt,Ve)=>{let ft=tt.getNode(),vt=[ge()];Ve===pt||(F(ft,Ue)?(Ve===0&&(wt=!0),ut=!0,vt.push(",",q,q)):vt.push(",",te)),jt.push(vt)});let Be=!(Pe||lt.callee&<.callee.type==="Import")&&T(Ue,"all")?",":"";function Je(){return ne(["(",Fe([te,...jt]),Be,te,")"],{shouldBreak:!0})}if(ut||we.getParentNode().type!=="Decorator"&&v(ve))return Je();let $t=J(ve),Nt=W(ve,Ue);if($t||Nt){if($t?jt.slice(1).some(M):jt.slice(0,-1).some(M))return Je();let tt=[];try{we.try(()=>{w(we,(Ve,ft)=>{$t&&ft===0&&(tt=[[ge([],{expandFirstArg:!0}),jt.length>1?",":"",wt?q:te,wt?q:""],...jt.slice(1)]),Nt&&ft===pt&&(tt=[...jt.slice(0,-1),ge([],{expandLastArg:!0})])})})}catch(Ve){if(Ve instanceof A)return Je();throw Ve}return[jt.some(M)?B:"",_([["(",...tt,")"],$t?["(",ne(tt[0],{shouldBreak:!0}),...tt.slice(1),")"]:["(",...jt.slice(0,-1),ne(d(tt),{shouldBreak:!0}),")"],Je()])]}let jr=["(",Fe([ae,...jt]),z(Be),ae,")"];return k(we)?jr:ne(jr,{shouldBreak:jt.some(M)||ut})}function X(we){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return we.type==="ObjectExpression"&&(we.properties.length>0||D(we))||we.type==="ArrayExpression"&&(we.elements.length>0||D(we))||we.type==="TSTypeAssertion"&&X(we.expression)||L(we)&&X(we.expression)||we.type==="FunctionExpression"||we.type==="ArrowFunctionExpression"&&(!we.returnType||!we.returnType.typeAnnotation||we.returnType.typeAnnotation.type!=="TSTypeReference"||Ae(we.body))&&(we.body.type==="BlockStatement"||we.body.type==="ArrowFunctionExpression"&&X(we.body,!0)||we.body.type==="ObjectExpression"||we.body.type==="ArrayExpression"||!Ue&&(Q(we.body)||we.body.type==="ConditionalExpression")||S(we.body))||we.type==="DoExpression"||we.type==="ModuleExpression"}function W(we,Ue){let ge=d(we),lt=g(we);return!D(ge,x.Leading)&&!D(ge,x.Trailing)&&X(ge)&&(!lt||lt.type!==ge.type)&&(we.length!==2||lt.type!=="ArrowFunctionExpression"||ge.type!=="ArrayExpression")&&!(we.length>1&&ge.type==="ArrayExpression"&&I(ge,Ue))}function J(we){if(we.length!==2)return!1;let[Ue,ge]=we;return Ue.type==="ModuleExpression"&&Te(ge)?!0:!D(Ue)&&(Ue.type==="FunctionExpression"||Ue.type==="ArrowFunctionExpression"&&Ue.body.type==="BlockStatement")&&ge.type!=="FunctionExpression"&&ge.type!=="ArrowFunctionExpression"&&ge.type!=="ConditionalExpression"&&!X(ge)}function ce(we){return we.length===2&&we[0].type==="ArrowFunctionExpression"&&y(we[0]).length===0&&we[0].body.type==="BlockStatement"&&we[1].type==="ArrayExpression"&&!we.some(Ue=>D(Ue))}function Ae(we){return we.type==="BlockStatement"&&(we.body.some(Ue=>Ue.type!=="EmptyStatement")||D(we,x.Dangling))}function Te(we){return we.type==="ObjectExpression"&&we.properties.length===1&&re(we.properties[0])&&we.properties[0].key.type==="Identifier"&&we.properties[0].key.name==="type"&&Z(we.properties[0].value)&&we.properties[0].value.value==="module"}c.exports=j}}),Fl=Oe({"src/language-js/print/member.js"(a,c){ze();var{builders:{softline:h,group:d,indent:g,label:y}}=Ln(),{isNumericLiteral:D,isMemberExpression:x,isCallExpression:v}=is(),{printOptionalToken:S}=ko();function k($,w,F){let Q=$.getValue(),Z=$.getParentNode(),re,L=0;do re=$.getParentNode(L),L++;while(re&&(x(re)||re.type==="TSNonNullExpression"));let te=F("object"),q=T($,w,F),ae=re&&(re.type==="NewExpression"||re.type==="BindExpression"||re.type==="AssignmentExpression"&&re.left.type!=="Identifier")||Q.computed||Q.object.type==="Identifier"&&Q.property.type==="Identifier"&&!x(Z)||(Z.type==="AssignmentExpression"||Z.type==="VariableDeclarator")&&(v(Q.object)&&Q.object.arguments.length>0||Q.object.type==="TSNonNullExpression"&&v(Q.object.expression)&&Q.object.expression.arguments.length>0||te.label==="member-chain");return y(te.label==="member-chain"?"member-chain":"member",[te,ae?q:d(g([h,q]))])}function T($,w,F){let Q=F("property"),Z=$.getValue(),re=S($);return Z.computed?!Z.property||D(Z.property)?[re,"[",Q,"]"]:d([re,"[",g([h,Q]),h,"]"]):[re,".",Q]}c.exports={printMemberExpression:k,printMemberLookup:T}}}),zc=Oe({"src/language-js/print/member-chain.js"(a,c){ze();var{printComments:h}=Wi(),{getLast:d,isNextLineEmptyAfterIndex:g,getNextNonSpaceNonCommentCharacterIndex:y}=pi(),D=lu(),{isCallExpression:x,isMemberExpression:v,isFunctionOrArrowExpression:S,isLongCurriedCallExpression:k,isMemberish:T,isNumericLiteral:$,isSimpleCallArgument:w,hasComment:F,CommentCheckFlags:Q,isNextLineEmpty:Z}=is(),{locEnd:re}=Ui(),{builders:{join:L,hardline:te,group:q,indent:ae,conditionalGroup:ne,breakParent:Fe,label:_},utils:{willBreak:z}}=Ln(),B=jp(),{printMemberLookup:M}=Fl(),{printOptionalToken:A,printFunctionTypeParameters:I,printBindExpressionCallee:j}=ko();function X(W,J,ce){let Ae=W.getParentNode(),Te=!Ae||Ae.type==="ExpressionStatement",we=[];function Ue(cn){let{originalText:Bn}=J,Ft=y(Bn,cn,re);return Bn.charAt(Ft)===")"?Ft!==!1&&g(Bn,Ft+1):Z(cn,J)}function ge(cn){let Bn=cn.getValue();x(Bn)&&(T(Bn.callee)||x(Bn.callee))?(we.unshift({node:Bn,printed:[h(cn,[A(cn),I(cn,J,ce),B(cn,J,ce)],J),Ue(Bn)?te:""]}),cn.call(Ft=>ge(Ft),"callee")):T(Bn)?(we.unshift({node:Bn,needsParens:D(cn,J),printed:h(cn,v(Bn)?M(cn,J,ce):j(cn,J,ce),J)}),cn.call(Ft=>ge(Ft),"object")):Bn.type==="TSNonNullExpression"?(we.unshift({node:Bn,printed:h(cn,"!",J)}),cn.call(Ft=>ge(Ft),"expression")):we.unshift({node:Bn,printed:ce()})}let lt=W.getValue();we.unshift({node:lt,printed:[A(W),I(W,J,ce),B(W,J,ce)]}),lt.callee&&W.call(cn=>ge(cn),"callee");let Pe=[],ve=[we[0]],ut=1;for(;ut<we.length&&(we[ut].node.type==="TSNonNullExpression"||x(we[ut].node)||v(we[ut].node)&&we[ut].node.computed&&$(we[ut].node.property));++ut)ve.push(we[ut]);if(!x(we[0].node))for(;ut+1<we.length&&T(we[ut].node)&&T(we[ut+1].node);++ut)ve.push(we[ut]);Pe.push(ve),ve=[];let wt=!1;for(;ut<we.length;++ut){if(wt&&T(we[ut].node)){if(we[ut].node.computed&&$(we[ut].node.property)){ve.push(we[ut]);continue}Pe.push(ve),ve=[],wt=!1}(x(we[ut].node)||we[ut].node.type==="ImportExpression")&&(wt=!0),ve.push(we[ut]),F(we[ut].node,Q.Trailing)&&(Pe.push(ve),ve=[],wt=!1)}ve.length>0&&Pe.push(ve);function pt(cn){return/^[A-Z]|^[$_]+$/.test(cn)}function jt(cn){return cn.length<=J.tabWidth}function Be(cn){let Bn=cn[1].length>0&&cn[1][0].node.computed;if(cn[0].length===1){let je=cn[0][0].node;return je.type==="ThisExpression"||je.type==="Identifier"&&(pt(je.name)||Te&&jt(je.name)||Bn)}let Ft=d(cn[0]).node;return v(Ft)&&Ft.property.type==="Identifier"&&(pt(Ft.property.name)||Bn)}let Je=Pe.length>=2&&!F(Pe[1][0].node)&&Be(Pe);function $t(cn){let Bn=cn.map(Ft=>Ft.printed);return cn.length>0&&d(cn).needsParens?["(",...Bn,")"]:Bn}function Nt(cn){return cn.length===0?"":ae(q([te,L(te,cn.map($t))]))}let jr=Pe.map($t),tt=jr,Ve=Je?3:2,ft=Pe.flat(),vt=ft.slice(1,-1).some(cn=>F(cn.node,Q.Leading))||ft.slice(0,-1).some(cn=>F(cn.node,Q.Trailing))||Pe[Ve]&&F(Pe[Ve][0].node,Q.Leading);if(Pe.length<=Ve&&!vt)return k(W)?tt:q(tt);let Ut=d(Pe[Je?1:0]).node,sr=!x(Ut)&&Ue(Ut),Or=[$t(Pe[0]),Je?Pe.slice(1,2).map($t):"",sr?te:"",Nt(Pe.slice(Je?2:1))],hn=we.map(cn=>{let{node:Bn}=cn;return Bn}).filter(x);function Ci(){let cn=d(d(Pe)).node,Bn=d(jr);return x(cn)&&z(Bn)&&hn.slice(0,-1).some(Ft=>Ft.arguments.some(S))}let hi;return vt||hn.length>2&&hn.some(cn=>!cn.arguments.every(Bn=>w(Bn,0)))||jr.slice(0,-1).some(z)||Ci()?hi=q(Or):hi=[z(tt)||sr?Fe:"",ne([tt,Or])],_("member-chain",hi)}c.exports=X}}),Bl=Oe({"src/language-js/print/call-expression.js"(a,c){ze();var{builders:{join:h,group:d}}=Ln(),g=lu(),{getCallArguments:y,hasFlowAnnotationComment:D,isCallExpression:x,isMemberish:v,isStringLiteral:S,isTemplateOnItsOwnLine:k,isTestCall:T,iterateCallArgumentsPath:$}=is(),w=zc(),F=jp(),{printOptionalToken:Q,printFunctionTypeParameters:Z}=ko();function re(te,q,ae){let ne=te.getValue(),Fe=te.getParentNode(),_=ne.type==="NewExpression",z=ne.type==="ImportExpression",B=Q(te),M=y(ne);if(M.length>0&&(!z&&!_&&L(ne,Fe)||M.length===1&&k(M[0],q.originalText)||!_&&T(ne,Fe))){let j=[];return $(te,()=>{j.push(ae())}),[_?"new ":"",ae("callee"),B,Z(te,q,ae),"(",h(", ",j),")"]}let A=(q.parser==="babel"||q.parser==="babel-flow")&&ne.callee&&ne.callee.type==="Identifier"&&D(ne.callee.trailingComments);if(A&&(ne.callee.trailingComments[0].printed=!0),!z&&!_&&v(ne.callee)&&!te.call(j=>g(j,q),"callee"))return w(te,q,ae);let I=[_?"new ":"",z?"import":ae("callee"),B,A?`/*:: ${ne.callee.trailingComments[0].value.slice(2).trim()} */`:"",Z(te,q,ae),F(te,q,ae)];return z||x(ne.callee)?d(I):I}function L(te,q){if(te.callee.type!=="Identifier")return!1;if(te.callee.name==="require")return!0;if(te.callee.name==="define"){let ae=y(te);return q.type==="ExpressionStatement"&&(ae.length===1||ae.length===2&&ae[0].type==="ArrayExpression"||ae.length===3&&S(ae[0])&&ae[1].type==="ArrayExpression")}return!1}c.exports={printCallExpression:re}}}),cu=Oe({"src/language-js/print/assignment.js"(a,c){ze();var{isNonEmptyArray:h,getStringWidth:d}=pi(),{builders:{line:g,group:y,indent:D,indentIfBreak:x,lineSuffixBoundary:v},utils:{cleanDoc:S,willBreak:k,canBreak:T}}=Ln(),{hasLeadingOwnLineComment:$,isBinaryish:w,isStringLiteral:F,isLiteral:Q,isNumericLiteral:Z,isCallExpression:re,isMemberExpression:L,getCallArguments:te,rawText:q,hasComment:ae,isSignedNumericLiteral:ne,isObjectProperty:Fe}=is(),{shouldInlineLogicalExpression:_}=xa(),{printCallExpression:z}=Bl();function B(Be,Je,$t,Nt,jr,tt){let Ve=I(Be,Je,$t,Nt,tt),ft=$t(tt,{assignmentLayout:Ve});switch(Ve){case"break-after-operator":return y([y(Nt),jr,y(D([g,ft]))]);case"never-break-after-operator":return y([y(Nt),jr," ",ft]);case"fluid":{let vt=Symbol("assignment");return y([y(Nt),jr,y(D(g),{id:vt}),v,x(ft,{groupId:vt})])}case"break-lhs":return y([Nt,jr," ",y(ft)]);case"chain":return[y(Nt),jr,g,ft];case"chain-tail":return[y(Nt),jr,D([g,ft])];case"chain-tail-arrow-chain":return[y(Nt),jr,ft];case"only-left":return Nt}}function M(Be,Je,$t){let Nt=Be.getValue();return B(Be,Je,$t,$t("left"),[" ",Nt.operator],"right")}function A(Be,Je,$t){return B(Be,Je,$t,$t("id")," =","init")}function I(Be,Je,$t,Nt,jr){let tt=Be.getValue(),Ve=tt[jr];if(!Ve)return"only-left";let ft=!W(Ve);if(Be.match(W,J,Ut=>!ft||Ut.type!=="ExpressionStatement"&&Ut.type!=="VariableDeclaration"))return ft?Ve.type==="ArrowFunctionExpression"&&Ve.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!ft&&W(Ve.right)||$(Je.originalText,Ve))return"break-after-operator";if(Ve.type==="CallExpression"&&Ve.callee.name==="require"||Je.parser==="json5"||Je.parser==="json")return"never-break-after-operator";if(X(tt)||ce(tt)||we(tt)||Ue(tt)&&T(Nt))return"break-lhs";let vt=wt(tt,Nt,Je);return Be.call(()=>j(Be,Je,$t,vt),jr)?"break-after-operator":vt||Ve.type==="TemplateLiteral"||Ve.type==="TaggedTemplateExpression"||Ve.type==="BooleanLiteral"||Z(Ve)||Ve.type==="ClassExpression"?"never-break-after-operator":"fluid"}function j(Be,Je,$t,Nt){let jr=Be.getValue();if(w(jr)&&!_(jr))return!0;switch(jr.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:ft}=jr;return w(ft)&&!_(ft)}case"ClassExpression":return h(jr.decorators)}if(Nt)return!1;let tt=jr,Ve=[];for(;;)if(tt.type==="UnaryExpression")tt=tt.argument,Ve.push("argument");else if(tt.type==="TSNonNullExpression")tt=tt.expression,Ve.push("expression");else break;return!!(F(tt)||Be.call(()=>Pe(Be,Je,$t),...Ve))}function X(Be){if(J(Be)){let Je=Be.left||Be.id;return Je.type==="ObjectPattern"&&Je.properties.length>2&&Je.properties.some($t=>Fe($t)&&(!$t.shorthand||$t.value&&$t.value.type==="AssignmentPattern"))}return!1}function W(Be){return Be.type==="AssignmentExpression"}function J(Be){return W(Be)||Be.type==="VariableDeclarator"}function ce(Be){let Je=Ae(Be);if(h(Je)){let $t=Be.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Je.length>1&&Je.some(Nt=>Nt[$t]||Nt.default))return!0}return!1}function Ae(Be){return Te(Be)&&Be.typeParameters&&Be.typeParameters.params?Be.typeParameters.params:null}function Te(Be){return Be.type==="TSTypeAliasDeclaration"||Be.type==="TypeAlias"}function we(Be){if(Be.type!=="VariableDeclarator")return!1;let{typeAnnotation:Je}=Be.id;if(!Je||!Je.typeAnnotation)return!1;let $t=ge(Je.typeAnnotation);return h($t)&&$t.length>1&&$t.some(Nt=>h(ge(Nt))||Nt.type==="TSConditionalType")}function Ue(Be){return Be.type==="VariableDeclarator"&&Be.init&&Be.init.type==="ArrowFunctionExpression"}function ge(Be){return lt(Be)&&Be.typeParameters&&Be.typeParameters.params?Be.typeParameters.params:null}function lt(Be){return Be.type==="TSTypeReference"||Be.type==="GenericTypeAnnotation"}function Pe(Be,Je,$t){let Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,jr=Be.getValue(),tt=()=>Pe(Be,Je,$t,!0);if(jr.type==="TSNonNullExpression")return Be.call(tt,"expression");if(re(jr)){if(z(Be,Je,$t).label==="member-chain")return!1;let Ve=te(jr);return!(Ve.length===0||Ve.length===1&&ut(Ve[0],Je))||pt(jr,$t)?!1:Be.call(tt,"callee")}return L(jr)?Be.call(tt,"object"):Nt&&(jr.type==="Identifier"||jr.type==="ThisExpression")}var ve=.25;function ut(Be,Je){let{printWidth:$t}=Je;if(ae(Be))return!1;let Nt=$t*ve;if(Be.type==="ThisExpression"||Be.type==="Identifier"&&Be.name.length<=Nt||ne(Be)&&!ae(Be.argument))return!0;let jr=Be.type==="Literal"&&"regex"in Be&&Be.regex.pattern||Be.type==="RegExpLiteral"&&Be.pattern;return jr?jr.length<=Nt:F(Be)?q(Be).length<=Nt:Be.type==="TemplateLiteral"?Be.expressions.length===0&&Be.quasis[0].value.raw.length<=Nt&&!Be.quasis[0].value.raw.includes(`
|
|
`):Q(Be)}function wt(Be,Je,$t){if(!Fe(Be))return!1;Je=S(Je);let Nt=3;return typeof Je=="string"&&d(Je)<$t.tabWidth+Nt}function pt(Be,Je){let $t=jt(Be);if(h($t)){if($t.length>1)return!0;if($t.length===1){let jr=$t[0];if(jr.type==="TSUnionType"||jr.type==="UnionTypeAnnotation"||jr.type==="TSIntersectionType"||jr.type==="IntersectionTypeAnnotation"||jr.type==="TSTypeLiteral"||jr.type==="ObjectTypeAnnotation")return!0}let Nt=Be.typeParameters?"typeParameters":"typeArguments";if(k(Je(Nt)))return!0}return!1}function jt(Be){return Be.typeParameters&&Be.typeParameters.params||Be.typeArguments&&Be.typeArguments.params}c.exports={printVariableDeclarator:A,printAssignmentExpression:M,printAssignment:B,isArrowFunctionVariableDeclarator:Ue}}}),cc=Oe({"src/language-js/print/function-parameters.js"(a,c){ze();var{getNextNonSpaceNonCommentCharacter:h}=pi(),{printDanglingComments:d}=Wi(),{builders:{line:g,hardline:y,softline:D,group:x,indent:v,ifBreak:S},utils:{removeLines:k,willBreak:T}}=Ln(),{getFunctionParameters:$,iterateFunctionParametersPath:w,isSimpleType:F,isTestCall:Q,isTypeAnnotationAFunction:Z,isObjectType:re,isObjectTypePropertyAFunction:L,hasRestParameter:te,shouldPrintComma:q,hasComment:ae,isNextLineEmpty:ne}=is(),{locEnd:Fe}=Ui(),{ArgExpansionBailout:_}=bi(),{printFunctionTypeParameters:z}=ko();function B(j,X,W,J,ce){let Ae=j.getValue(),Te=$(Ae),we=ce?z(j,W,X):"";if(Te.length===0)return[we,"(",d(j,W,!0,ut=>h(W.originalText,ut,Fe)===")"),")"];let Ue=j.getParentNode(),ge=Q(Ue),lt=M(Ae),Pe=[];if(w(j,(ut,wt)=>{let pt=wt===Te.length-1;pt&&Ae.rest&&Pe.push("..."),Pe.push(X()),!pt&&(Pe.push(","),ge||lt?Pe.push(" "):ne(Te[wt],W)?Pe.push(y,y):Pe.push(g))}),J){if(T(we)||T(Pe))throw new _;return x([k(we),"(",k(Pe),")"])}let ve=Te.every(ut=>!ut.decorators);return lt&&ve?[we,"(",...Pe,")"]:ge?[we,"(",...Pe,")"]:(L(Ue)||Z(Ue)||Ue.type==="TypeAlias"||Ue.type==="UnionTypeAnnotation"||Ue.type==="TSUnionType"||Ue.type==="IntersectionTypeAnnotation"||Ue.type==="FunctionTypeAnnotation"&&Ue.returnType===Ae)&&Te.length===1&&Te[0].name===null&&Ae.this!==Te[0]&&Te[0].typeAnnotation&&Ae.typeParameters===null&&F(Te[0].typeAnnotation)&&!Ae.rest?W.arrowParens==="always"?["(",...Pe,")"]:Pe:[we,"(",v([D,...Pe]),S(!te(Ae)&&q(W,"all")?",":""),D,")"]}function M(j){if(!j)return!1;let X=$(j);if(X.length!==1)return!1;let[W]=X;return!ae(W)&&(W.type==="ObjectPattern"||W.type==="ArrayPattern"||W.type==="Identifier"&&W.typeAnnotation&&(W.typeAnnotation.type==="TypeAnnotation"||W.typeAnnotation.type==="TSTypeAnnotation")&&re(W.typeAnnotation.typeAnnotation)||W.type==="FunctionTypeParam"&&re(W.typeAnnotation)||W.type==="AssignmentPattern"&&(W.left.type==="ObjectPattern"||W.left.type==="ArrayPattern")&&(W.right.type==="Identifier"||W.right.type==="ObjectExpression"&&W.right.properties.length===0||W.right.type==="ArrayExpression"&&W.right.elements.length===0))}function A(j){let X;return j.returnType?(X=j.returnType,X.typeAnnotation&&(X=X.typeAnnotation)):j.typeAnnotation&&(X=j.typeAnnotation),X}function I(j,X){let W=A(j);if(!W)return!1;let J=j.typeParameters&&j.typeParameters.params;if(J){if(J.length>1)return!1;if(J.length===1){let ce=J[0];if(ce.constraint||ce.default)return!1}}return $(j).length===1&&(re(W)||T(X))}c.exports={printFunctionParameters:B,shouldHugFunctionParameters:M,shouldGroupFunctionParameters:I}}}),qu=Oe({"src/language-js/print/type-annotation.js"(a,c){ze();var{printComments:h,printDanglingComments:d}=Wi(),{isNonEmptyArray:g}=pi(),{builders:{group:y,join:D,line:x,softline:v,indent:S,align:k,ifBreak:T}}=Ln(),$=lu(),{locStart:w}=Ui(),{isSimpleType:F,isObjectType:Q,hasLeadingOwnLineComment:Z,isObjectTypePropertyAFunction:re,shouldPrintComma:L}=is(),{printAssignment:te}=cu(),{printFunctionParameters:q,shouldGroupFunctionParameters:ae}=cc(),{printArrayItems:ne}=Wu();function Fe(W){if(F(W)||Q(W))return!0;if(W.type==="UnionTypeAnnotation"||W.type==="TSUnionType"){let J=W.types.filter(Ae=>Ae.type==="VoidTypeAnnotation"||Ae.type==="TSVoidKeyword"||Ae.type==="NullLiteralTypeAnnotation"||Ae.type==="TSNullKeyword").length,ce=W.types.some(Ae=>Ae.type==="ObjectTypeAnnotation"||Ae.type==="TSTypeLiteral"||Ae.type==="GenericTypeAnnotation"||Ae.type==="TSTypeReference");if(W.types.length-1===J&&ce)return!0}return!1}function _(W,J,ce){let Ae=J.semi?";":"",Te=W.getValue(),we=[];return we.push("opaque type ",ce("id"),ce("typeParameters")),Te.supertype&&we.push(": ",ce("supertype")),Te.impltype&&we.push(" = ",ce("impltype")),we.push(Ae),we}function z(W,J,ce){let Ae=J.semi?";":"",Te=W.getValue(),we=[];Te.declare&&we.push("declare "),we.push("type ",ce("id"),ce("typeParameters"));let Ue=Te.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[te(W,J,ce,we," =",Ue),Ae]}function B(W,J,ce){let Ae=W.getValue(),Te=W.map(ce,"types"),we=[],Ue=!1;for(let ge=0;ge<Te.length;++ge)ge===0?we.push(Te[ge]):Q(Ae.types[ge-1])&&Q(Ae.types[ge])?we.push([" & ",Ue?S(Te[ge]):Te[ge]]):!Q(Ae.types[ge-1])&&!Q(Ae.types[ge])?we.push(S([" &",x,Te[ge]])):(ge>1&&(Ue=!0),we.push(" & ",ge>1?S(Te[ge]):Te[ge]));return y(we)}function M(W,J,ce){let Ae=W.getValue(),Te=W.getParentNode(),we=Te.type!=="TypeParameterInstantiation"&&Te.type!=="TSTypeParameterInstantiation"&&Te.type!=="GenericTypeAnnotation"&&Te.type!=="TSTypeReference"&&Te.type!=="TSTypeAssertion"&&Te.type!=="TupleTypeAnnotation"&&Te.type!=="TSTupleType"&&!(Te.type==="FunctionTypeParam"&&!Te.name&&W.getParentNode(1).this!==Te)&&!((Te.type==="TypeAlias"||Te.type==="VariableDeclarator"||Te.type==="TSTypeAliasDeclaration")&&Z(J.originalText,Ae)),Ue=Fe(Ae),ge=W.map(ve=>{let ut=ce();return Ue||(ut=k(2,ut)),h(ve,ut,J)},"types");if(Ue)return D(" | ",ge);let lt=we&&!Z(J.originalText,Ae),Pe=[T([lt?x:"","| "]),D([x,"| "],ge)];return $(W,J)?y([S(Pe),v]):Te.type==="TupleTypeAnnotation"&&Te.types.length>1||Te.type==="TSTupleType"&&Te.elementTypes.length>1?y([S([T(["(",v]),Pe]),v,T(")")]):y(we?S(Pe):Pe)}function A(W,J,ce){let Ae=W.getValue(),Te=[],we=W.getParentNode(0),Ue=W.getParentNode(1),ge=W.getParentNode(2),lt=Ae.type==="TSFunctionType"||!((we.type==="ObjectTypeProperty"||we.type==="ObjectTypeInternalSlot")&&!we.variance&&!we.optional&&w(we)===w(Ae)||we.type==="ObjectTypeCallProperty"||ge&&ge.type==="DeclareFunction"),Pe=lt&&(we.type==="TypeAnnotation"||we.type==="TSTypeAnnotation"),ve=Pe&<&&(we.type==="TypeAnnotation"||we.type==="TSTypeAnnotation")&&Ue.type==="ArrowFunctionExpression";re(we)&&(lt=!0,Pe=!0),ve&&Te.push("(");let ut=q(W,ce,J,!1,!0),wt=Ae.returnType||Ae.predicate||Ae.typeAnnotation?[lt?" => ":": ",ce("returnType"),ce("predicate"),ce("typeAnnotation")]:"",pt=ae(Ae,wt);return Te.push(pt?y(ut):ut),wt&&Te.push(wt),ve&&Te.push(")"),y(Te)}function I(W,J,ce){let Ae=W.getValue(),Te=Ae.type==="TSTupleType"?"elementTypes":"types",we=Ae[Te],Ue=g(we),ge=Ue?v:"";return y(["[",S([ge,ne(W,J,Te,ce)]),T(Ue&&L(J,"all")?",":""),d(W,J,!0),ge,"]"])}function j(W,J,ce){let Ae=W.getValue(),Te=Ae.type==="OptionalIndexedAccessType"&&Ae.optional?"?.[":"[";return[ce("objectType"),Te,ce("indexType"),"]"]}function X(W,J,ce){let Ae=W.getValue();return[Ae.postfix?"":ce,J("typeAnnotation"),Ae.postfix?ce:""]}c.exports={printOpaqueType:_,printTypeAlias:z,printIntersectionType:B,printUnionType:M,printFunctionType:A,printTupleType:I,printIndexedAccessType:j,shouldHugType:Fe,printJSDocType:X}}}),pc=Oe({"src/language-js/print/type-parameters.js"(a,c){ze();var{printDanglingComments:h}=Wi(),{builders:{join:d,line:g,hardline:y,softline:D,group:x,indent:v,ifBreak:S}}=Ln(),{isTestCall:k,hasComment:T,CommentCheckFlags:$,isTSXFile:w,shouldPrintComma:F,getFunctionParameters:Q,isObjectType:Z,getTypeScriptMappedTypeModifier:re}=is(),{createGroupIdMapper:L}=pi(),{shouldHugType:te}=qu(),{isArrowFunctionVariableDeclarator:q}=cu(),ae=L("typeParameters");function ne(z,B,M,A){let I=z.getValue();if(!I[A])return"";if(!Array.isArray(I[A]))return M(A);let j=z.getNode(2),X=j&&k(j),W=z.match(ce=>!(ce[A].length===1&&Z(ce[A][0])),void 0,(ce,Ae)=>Ae==="typeAnnotation",ce=>ce.type==="Identifier",q);if(I[A].length===0||!W&&(X||I[A].length===1&&(I[A][0].type==="NullableTypeAnnotation"||te(I[A][0]))))return["<",d(", ",z.map(M,A)),Fe(z,B),">"];let J=I.type==="TSTypeParameterInstantiation"?"":Q(I).length===1&&w(B)&&!I[A][0].constraint&&z.getParentNode().type==="ArrowFunctionExpression"?",":F(B,"all")?S(","):"";return x(["<",v([D,d([",",g],z.map(M,A))]),J,D,">"],{id:ae(I)})}function Fe(z,B){let M=z.getValue();if(!T(M,$.Dangling))return"";let A=!T(M,$.Line),I=h(z,B,A);return A?I:[I,y]}function _(z,B,M){let A=z.getValue(),I=[A.type==="TSTypeParameter"&&A.const?"const ":""],j=z.getParentNode();return j.type==="TSMappedType"?(j.readonly&&I.push(re(j.readonly,"readonly")," "),I.push("[",M("name")),A.constraint&&I.push(" in ",M("constraint")),j.nameType&&I.push(" as ",z.callParent(()=>M("nameType"))),I.push("]"),I):(A.variance&&I.push(M("variance")),A.in&&I.push("in "),A.out&&I.push("out "),I.push(M("name")),A.bound&&I.push(": ",M("bound")),A.constraint&&I.push(" extends ",M("constraint")),A.default&&I.push(" = ",M("default")),I)}c.exports={printTypeParameter:_,printTypeParameters:ne,getTypeParametersGroupId:ae}}}),_l=Oe({"src/language-js/print/property.js"(a,c){ze();var{printComments:h}=Wi(),{printString:d,printNumber:g}=pi(),{isNumericLiteral:y,isSimpleNumber:D,isStringLiteral:x,isStringPropSafeToUnquote:v,rawText:S}=is(),{printAssignment:k}=cu(),T=new WeakMap;function $(F,Q,Z){let re=F.getNode();if(re.computed)return["[",Z("key"),"]"];let L=F.getParentNode(),{key:te}=re;if(Q.quoteProps==="consistent"&&!T.has(L)){let q=(L.properties||L.body||L.members).some(ae=>!ae.computed&&ae.key&&x(ae.key)&&!v(ae,Q));T.set(L,q)}if((te.type==="Identifier"||y(te)&&D(g(S(te)))&&String(te.value)===g(S(te))&&!(Q.parser==="typescript"||Q.parser==="babel-ts"))&&(Q.parser==="json"||Q.quoteProps==="consistent"&&T.get(L))){let q=d(JSON.stringify(te.type==="Identifier"?te.name:te.value.toString()),Q);return F.call(ae=>h(ae,q,Q),"key")}return v(re,Q)&&(Q.quoteProps==="as-needed"||Q.quoteProps==="consistent"&&!T.get(L))?F.call(q=>h(q,/^\d/.test(te.value)?g(te.value):te.value,Q),"key"):Z("key")}function w(F,Q,Z){return F.getValue().shorthand?Z("value"):k(F,Q,Z,$(F,Q,Z),":","value")}c.exports={printProperty:w,printPropertyKey:$}}}),Zu=Oe({"src/language-js/print/function.js"(a,c){ze();var h=us(),{printDanglingComments:d,printCommentsSeparately:g}=Wi(),y=Ds(),{getNextNonSpaceNonCommentCharacterIndex:D}=pi(),{builders:{line:x,softline:v,group:S,indent:k,ifBreak:T,hardline:$,join:w,indentIfBreak:F},utils:{removeLines:Q,willBreak:Z}}=Ln(),{ArgExpansionBailout:re}=bi(),{getFunctionParameters:L,hasLeadingOwnLineComment:te,isFlowAnnotationComment:q,isJsxNode:ae,isTemplateOnItsOwnLine:ne,shouldPrintComma:Fe,startsWithNoLookaheadToken:_,isBinaryish:z,isLineComment:B,hasComment:M,getComments:A,CommentCheckFlags:I,isCallLikeExpression:j,isCallExpression:X,getCallArguments:W,hasNakedLeftSide:J,getLeftSide:ce}=is(),{locEnd:Ae}=Ui(),{printFunctionParameters:Te,shouldGroupFunctionParameters:we}=cc(),{printPropertyKey:Ue}=_l(),{printFunctionTypeParameters:ge}=ko();function lt(Ve,ft,vt,Ut){let sr=Ve.getValue(),Or=!1;if((sr.type==="FunctionDeclaration"||sr.type==="FunctionExpression")&&Ut&&Ut.expandLastArg){let Bn=Ve.getParentNode();X(Bn)&&W(Bn).length>1&&(Or=!0)}let hn=[];sr.type==="TSDeclareFunction"&&sr.declare&&hn.push("declare "),sr.async&&hn.push("async "),sr.generator?hn.push("function* "):hn.push("function "),sr.id&&hn.push(ft("id"));let Ci=Te(Ve,ft,vt,Or),hi=Je(Ve,ft,vt),cn=we(sr,hi);return hn.push(ge(Ve,vt,ft),S([cn?S(Ci):Ci,hi]),sr.body?" ":"",ft("body")),vt.semi&&(sr.declare||!sr.body)&&hn.push(";"),hn}function Pe(Ve,ft,vt){let Ut=Ve.getNode(),{kind:sr}=Ut,Or=Ut.value||Ut,hn=[];return!sr||sr==="init"||sr==="method"||sr==="constructor"?Or.async&&hn.push("async "):(h.ok(sr==="get"||sr==="set"),hn.push(sr," ")),Or.generator&&hn.push("*"),hn.push(Ue(Ve,ft,vt),Ut.optional||Ut.key.optional?"?":""),Ut===Or?hn.push(ve(Ve,ft,vt)):Or.type==="FunctionExpression"?hn.push(Ve.call(Ci=>ve(Ci,ft,vt),"value")):hn.push(vt("value")),hn}function ve(Ve,ft,vt){let Ut=Ve.getNode(),sr=Te(Ve,vt,ft),Or=Je(Ve,vt,ft),hn=we(Ut,Or),Ci=[ge(Ve,ft,vt),S([hn?S(sr):sr,Or])];return Ut.body?Ci.push(" ",vt("body")):Ci.push(ft.semi?";":""),Ci}function ut(Ve,ft,vt,Ut){let sr=Ve.getValue(),Or=[];if(sr.async&&Or.push("async "),Be(Ve,ft))Or.push(vt(["params",0]));else{let Ci=Ut&&(Ut.expandLastArg||Ut.expandFirstArg),hi=Je(Ve,vt,ft);if(Ci){if(Z(hi))throw new re;hi=S(Q(hi))}Or.push(S([Te(Ve,vt,ft,Ci,!0),hi]))}let hn=d(Ve,ft,!0,Ci=>{let hi=D(ft.originalText,Ci,Ae);return hi!==!1&&ft.originalText.slice(hi,hi+2)==="=>"});return hn&&Or.push(" ",hn),Or}function wt(Ve,ft,vt,Ut,sr,Or){let hn=Ve.getName(),Ci=Ve.getParentNode(),hi=j(Ci)&&hn==="callee",cn=!!(ft&&ft.assignmentLayout),Bn=Or.body.type!=="BlockStatement"&&Or.body.type!=="ObjectExpression"&&Or.body.type!=="SequenceExpression",Ft=hi&&Bn||ft&&ft.assignmentLayout==="chain-tail-arrow-chain",je=Symbol("arrow-chain");return Or.body.type==="SequenceExpression"&&(sr=S(["(",k([v,sr]),v,")"])),S([S(k([hi||cn?v:"",S(w([" =>",x],vt),{shouldBreak:Ut})]),{id:je,shouldBreak:Ft})," =>",F(Bn?k([x,sr]):[" ",sr],{groupId:je}),hi?T(v,"",{groupId:je}):""])}function pt(Ve,ft,vt,Ut){let sr=Ve.getValue(),Or=[],hn=[],Ci=!1;if(function je(){let Qt=ut(Ve,ft,vt,Ut);if(Or.length===0)Or.push(Qt);else{let{leading:et,trailing:_t}=g(Ve,ft);Or.push([et,Qt]),hn.unshift(_t)}Ci=Ci||sr.returnType&&L(sr).length>0||sr.typeParameters||L(sr).some(et=>et.type!=="Identifier"),sr.body.type!=="ArrowFunctionExpression"||Ut&&Ut.expandLastArg?hn.unshift(vt("body",Ut)):(sr=sr.body,Ve.call(je,"body"))}(),Or.length>1)return wt(Ve,Ut,Or,Ci,hn,sr);let hi=Or;if(hi.push(" =>"),!te(ft.originalText,sr.body)&&(sr.body.type==="ArrayExpression"||sr.body.type==="ObjectExpression"||sr.body.type==="BlockStatement"||ae(sr.body)||ne(sr.body,ft.originalText)||sr.body.type==="ArrowFunctionExpression"||sr.body.type==="DoExpression"))return S([...hi," ",hn]);if(sr.body.type==="SequenceExpression")return S([...hi,S([" (",k([v,hn]),v,")"])]);let cn=(Ut&&Ut.expandLastArg||Ve.getParentNode().type==="JSXExpressionContainer")&&!M(sr),Bn=Ut&&Ut.expandLastArg&&Fe(ft,"all"),Ft=sr.body.type==="ConditionalExpression"&&!_(sr.body,je=>je.type==="ObjectExpression");return S([...hi,S([k([x,Ft?T("","("):"",hn,Ft?T("",")"):""]),cn?[T(Bn?",":""),v]:""])])}function jt(Ve){let ft=L(Ve);return ft.length===1&&!Ve.typeParameters&&!M(Ve,I.Dangling)&&ft[0].type==="Identifier"&&!ft[0].typeAnnotation&&!M(ft[0])&&!ft[0].optional&&!Ve.predicate&&!Ve.returnType}function Be(Ve,ft){if(ft.arrowParens==="always")return!1;if(ft.arrowParens==="avoid"){let vt=Ve.getValue();return jt(vt)}return!1}function Je(Ve,ft,vt){let Ut=Ve.getValue(),sr=ft("returnType");if(Ut.returnType&&q(vt.originalText,Ut.returnType))return[" /*: ",sr," */"];let Or=[sr];return Ut.returnType&&Ut.returnType.typeAnnotation&&Or.unshift(": "),Ut.predicate&&Or.push(Ut.returnType?" ":": ",ft("predicate")),Or}function $t(Ve,ft,vt){let Ut=Ve.getValue(),sr=ft.semi?";":"",Or=[];Ut.argument&&(tt(ft,Ut.argument)?Or.push([" (",k([$,vt("argument")]),$,")"]):z(Ut.argument)||Ut.argument.type==="SequenceExpression"?Or.push(S([T(" ("," "),k([v,vt("argument")]),v,T(")")])):Or.push(" ",vt("argument")));let hn=A(Ut),Ci=y(hn),hi=Ci&&B(Ci);return hi&&Or.push(sr),M(Ut,I.Dangling)&&Or.push(" ",d(Ve,ft,!0)),hi||Or.push(sr),Or}function Nt(Ve,ft,vt){return["return",$t(Ve,ft,vt)]}function jr(Ve,ft,vt){return["throw",$t(Ve,ft,vt)]}function tt(Ve,ft){if(te(Ve.originalText,ft))return!0;if(J(ft)){let vt=ft,Ut;for(;Ut=ce(vt);)if(vt=Ut,te(Ve.originalText,vt))return!0}return!1}c.exports={printFunction:lt,printArrowFunction:pt,printMethod:Pe,printReturnStatement:Nt,printThrowStatement:jr,printMethodInternal:ve,shouldPrintParamsWithoutParens:Be}}}),$l=Oe({"src/language-js/print/decorators.js"(a,c){ze();var{isNonEmptyArray:h,hasNewline:d}=pi(),{builders:{line:g,hardline:y,join:D,breakParent:x,group:v}}=Ln(),{locStart:S,locEnd:k}=Ui(),{getParentExportDeclaration:T}=is();function $(re,L,te){let q=re.getValue();return v([D(g,re.map(te,"decorators")),Q(q,L)?y:g])}function w(re,L,te){return[D(y,re.map(te,"declaration","decorators")),y]}function F(re,L,te){let q=re.getValue(),{decorators:ae}=q;if(!h(ae)||Z(re.getParentNode()))return;let ne=q.type==="ClassExpression"||q.type==="ClassDeclaration"||Q(q,L);return[T(re)?y:ne?x:"",D(g,re.map(te,"decorators")),g]}function Q(re,L){return re.decorators.some(te=>d(L.originalText,k(te)))}function Z(re){if(re.type!=="ExportDefaultDeclaration"&&re.type!=="ExportNamedDeclaration"&&re.type!=="DeclareExportDeclaration")return!1;let L=re.declaration&&re.declaration.decorators;return h(L)&&S(re)===S(L[0])}c.exports={printDecorators:F,printClassMemberDecorators:$,printDecoratorsBeforeExport:w,hasDecoratorsBeforeExport:Z}}}),pu=Oe({"src/language-js/print/class.js"(a,c){ze();var{isNonEmptyArray:h,createGroupIdMapper:d}=pi(),{printComments:g,printDanglingComments:y}=Wi(),{builders:{join:D,line:x,hardline:v,softline:S,group:k,indent:T,ifBreak:$}}=Ln(),{hasComment:w,CommentCheckFlags:F}=is(),{getTypeParametersGroupId:Q}=pc(),{printMethod:Z}=Zu(),{printOptionalToken:re,printTypeAnnotation:L,printDefiniteToken:te}=ko(),{printPropertyKey:q}=_l(),{printAssignment:ae}=cu(),{printClassMemberDecorators:ne}=$l();function Fe(W,J,ce){let Ae=W.getValue(),Te=[];Ae.declare&&Te.push("declare "),Ae.abstract&&Te.push("abstract "),Te.push("class");let we=Ae.id&&w(Ae.id,F.Trailing)||Ae.typeParameters&&w(Ae.typeParameters,F.Trailing)||Ae.superClass&&w(Ae.superClass)||h(Ae.extends)||h(Ae.mixins)||h(Ae.implements),Ue=[],ge=[];if(Ae.id&&Ue.push(" ",ce("id")),Ue.push(ce("typeParameters")),Ae.superClass){let lt=[I(W,J,ce),ce("superTypeParameters")],Pe=W.call(ve=>["extends ",g(ve,lt,J)],"superClass");we?ge.push(x,k(Pe)):ge.push(" ",Pe)}else ge.push(A(W,J,ce,"extends"));if(ge.push(A(W,J,ce,"mixins"),A(W,J,ce,"implements")),we){let lt;M(Ae)?lt=[...Ue,T(ge)]:lt=T([...Ue,ge]),Te.push(k(lt,{id:_(Ae)}))}else Te.push(...Ue,...ge);return Te.push(" ",ce("body")),Te}var _=d("heritageGroup");function z(W){return $(v,"",{groupId:_(W)})}function B(W){return["superClass","extends","mixins","implements"].filter(J=>!!W[J]).length>1}function M(W){return W.typeParameters&&!w(W.typeParameters,F.Trailing|F.Line)&&!B(W)}function A(W,J,ce,Ae){let Te=W.getValue();if(!h(Te[Ae]))return"";let we=y(W,J,!0,Ue=>{let{marker:ge}=Ue;return ge===Ae});return[M(Te)?$(" ",x,{groupId:Q(Te.typeParameters)}):x,we,we&&v,Ae,k(T([x,D([",",x],W.map(ce,Ae))]))]}function I(W,J,ce){let Ae=ce("superClass");return W.getParentNode().type==="AssignmentExpression"?k($(["(",T([S,Ae]),S,")"],Ae)):Ae}function j(W,J,ce){let Ae=W.getValue(),Te=[];return h(Ae.decorators)&&Te.push(ne(W,J,ce)),Ae.accessibility&&Te.push(Ae.accessibility+" "),Ae.readonly&&Te.push("readonly "),Ae.declare&&Te.push("declare "),Ae.static&&Te.push("static "),(Ae.type==="TSAbstractMethodDefinition"||Ae.abstract)&&Te.push("abstract "),Ae.override&&Te.push("override "),Te.push(Z(W,J,ce)),Te}function X(W,J,ce){let Ae=W.getValue(),Te=[],we=J.semi?";":"";return h(Ae.decorators)&&Te.push(ne(W,J,ce)),Ae.accessibility&&Te.push(Ae.accessibility+" "),Ae.declare&&Te.push("declare "),Ae.static&&Te.push("static "),(Ae.type==="TSAbstractPropertyDefinition"||Ae.type==="TSAbstractAccessorProperty"||Ae.abstract)&&Te.push("abstract "),Ae.override&&Te.push("override "),Ae.readonly&&Te.push("readonly "),Ae.variance&&Te.push(ce("variance")),(Ae.type==="ClassAccessorProperty"||Ae.type==="AccessorProperty"||Ae.type==="TSAbstractAccessorProperty")&&Te.push("accessor "),Te.push(q(W,J,ce),re(W),te(W),L(W,J,ce)),[ae(W,J,ce,Te," =","value"),we]}c.exports={printClass:Fe,printClassMethod:j,printClassProperty:X,printHardlineAfterHeritage:z}}}),Mp=Oe({"src/language-js/print/interface.js"(a,c){ze();var{isNonEmptyArray:h}=pi(),{builders:{join:d,line:g,group:y,indent:D,ifBreak:x}}=Ln(),{hasComment:v,identity:S,CommentCheckFlags:k}=is(),{getTypeParametersGroupId:T}=pc(),{printTypeScriptModifiers:$}=ko();function w(F,Q,Z){let re=F.getValue(),L=[];re.declare&&L.push("declare "),re.type==="TSInterfaceDeclaration"&&L.push(re.abstract?"abstract ":"",$(F,Q,Z)),L.push("interface");let te=[],q=[];re.type!=="InterfaceTypeAnnotation"&&te.push(" ",Z("id"),Z("typeParameters"));let ae=re.typeParameters&&!v(re.typeParameters,k.Trailing|k.Line);return h(re.extends)&&q.push(ae?x(" ",g,{groupId:T(re.typeParameters)}):g,"extends ",(re.extends.length===1?S:D)(d([",",g],F.map(Z,"extends")))),re.id&&v(re.id,k.Trailing)||h(re.extends)?ae?L.push(y([...te,D(q)])):L.push(y(D([...te,...q]))):L.push(...te,...q),L.push(" ",Z("body")),y(L)}c.exports={printInterface:w}}}),Lp=Oe({"src/language-js/print/module.js"(a,c){ze();var{isNonEmptyArray:h}=pi(),{builders:{softline:d,group:g,indent:y,join:D,line:x,ifBreak:v,hardline:S}}=Ln(),{printDanglingComments:k}=Wi(),{hasComment:T,CommentCheckFlags:$,shouldPrintComma:w,needsHardlineAfterDanglingComment:F,isStringLiteral:Q,rawText:Z}=is(),{locStart:re,hasSameLoc:L}=Ui(),{hasDecoratorsBeforeExport:te,printDecoratorsBeforeExport:q}=$l();function ae(X,W,J){let ce=X.getValue(),Ae=W.semi?";":"",Te=[],{importKind:we}=ce;return Te.push("import"),we&&we!=="value"&&Te.push(" ",we),Te.push(B(X,W,J),z(X,W,J),A(X,W,J),Ae),Te}function ne(X,W,J){let ce=X.getValue(),Ae=[];te(ce)&&Ae.push(q(X,W,J));let{type:Te,exportKind:we,declaration:Ue}=ce;return Ae.push("export"),(ce.default||Te==="ExportDefaultDeclaration")&&Ae.push(" default"),T(ce,$.Dangling)&&(Ae.push(" ",k(X,W,!0)),F(ce)&&Ae.push(S)),Ue?Ae.push(" ",J("declaration")):Ae.push(we==="type"?" type":"",B(X,W,J),z(X,W,J),A(X,W,J)),_(ce,W)&&Ae.push(";"),Ae}function Fe(X,W,J){let ce=X.getValue(),Ae=W.semi?";":"",Te=[],{exportKind:we,exported:Ue}=ce;return Te.push("export"),we==="type"&&Te.push(" type"),Te.push(" *"),Ue&&Te.push(" as ",J("exported")),Te.push(z(X,W,J),A(X,W,J),Ae),Te}function _(X,W){if(!W.semi)return!1;let{type:J,declaration:ce}=X,Ae=X.default||J==="ExportDefaultDeclaration";if(!ce)return!0;let{type:Te}=ce;return!!(Ae&&Te!=="ClassDeclaration"&&Te!=="FunctionDeclaration"&&Te!=="TSInterfaceDeclaration"&&Te!=="DeclareClass"&&Te!=="DeclareFunction"&&Te!=="TSDeclareFunction"&&Te!=="EnumDeclaration")}function z(X,W,J){let ce=X.getValue();if(!ce.source)return"";let Ae=[];return M(ce,W)||Ae.push(" from"),Ae.push(" ",J("source")),Ae}function B(X,W,J){let ce=X.getValue();if(M(ce,W))return"";let Ae=[" "];if(h(ce.specifiers)){let Te=[],we=[];X.each(()=>{let Ue=X.getValue().type;if(Ue==="ExportNamespaceSpecifier"||Ue==="ExportDefaultSpecifier"||Ue==="ImportNamespaceSpecifier"||Ue==="ImportDefaultSpecifier")Te.push(J());else if(Ue==="ExportSpecifier"||Ue==="ImportSpecifier")we.push(J());else throw new Error(`Unknown specifier type ${JSON.stringify(Ue)}`)},"specifiers"),Ae.push(D(", ",Te)),we.length>0&&(Te.length>0&&Ae.push(", "),we.length>1||Te.length>0||ce.specifiers.some(Ue=>T(Ue))?Ae.push(g(["{",y([W.bracketSpacing?x:d,D([",",x],we)]),v(w(W)?",":""),W.bracketSpacing?x:d,"}"])):Ae.push(["{",W.bracketSpacing?" ":"",...we,W.bracketSpacing?" ":"","}"]))}else Ae.push("{}");return Ae}function M(X,W){let{type:J,importKind:ce,source:Ae,specifiers:Te}=X;return J!=="ImportDeclaration"||h(Te)||ce==="type"?!1:!/{\s*}/.test(W.originalText.slice(re(X),re(Ae)))}function A(X,W,J){let ce=X.getNode();return h(ce.assertions)?[" assert {",W.bracketSpacing?" ":"",D(", ",X.map(J,"assertions")),W.bracketSpacing?" ":"","}"]:""}function I(X,W,J){let ce=X.getNode(),{type:Ae}=ce,Te=[],we=Ae==="ImportSpecifier"?ce.importKind:ce.exportKind;we&&we!=="value"&&Te.push(we," ");let Ue=Ae.startsWith("Import"),ge=Ue?"imported":"local",lt=Ue?"local":"exported",Pe=ce[ge],ve=ce[lt],ut="",wt="";return Ae==="ExportNamespaceSpecifier"||Ae==="ImportNamespaceSpecifier"?ut="*":Pe&&(ut=J(ge)),ve&&!j(ce)&&(wt=J(lt)),Te.push(ut,ut&&wt?" as ":"",wt),Te}function j(X){if(X.type!=="ImportSpecifier"&&X.type!=="ExportSpecifier")return!1;let{local:W,[X.type==="ImportSpecifier"?"imported":"exported"]:J}=X;if(W.type!==J.type||!L(W,J))return!1;if(Q(W))return W.value===J.value&&Z(W)===Z(J);switch(W.type){case"Identifier":return W.name===J.name;default:return!1}}c.exports={printImportDeclaration:ae,printExportDeclaration:ne,printExportAllDeclaration:Fe,printModuleSpecifier:I}}}),Yc=Oe({"src/language-js/print/object.js"(a,c){ze();var{printDanglingComments:h}=Wi(),{builders:{line:d,softline:g,group:y,indent:D,ifBreak:x,hardline:v}}=Ln(),{getLast:S,hasNewlineInRange:k,hasNewline:T,isNonEmptyArray:$}=pi(),{shouldPrintComma:w,hasComment:F,getComments:Q,CommentCheckFlags:Z,isNextLineEmpty:re}=is(),{locStart:L,locEnd:te}=Ui(),{printOptionalToken:q,printTypeAnnotation:ae}=ko(),{shouldHugFunctionParameters:ne}=cc(),{shouldHugType:Fe}=qu(),{printHardlineAfterHeritage:_}=pu();function z(B,M,A){let I=M.semi?";":"",j=B.getValue(),X;j.type==="TSTypeLiteral"?X="members":j.type==="TSInterfaceBody"?X="body":X="properties";let W=j.type==="ObjectTypeAnnotation",J=[X];W&&J.push("indexers","callProperties","internalSlots");let ce=J.map(Be=>j[Be][0]).sort((Be,Je)=>L(Be)-L(Je))[0],Ae=B.getParentNode(0),Te=W&&Ae&&(Ae.type==="InterfaceDeclaration"||Ae.type==="DeclareInterface"||Ae.type==="DeclareClass")&&B.getName()==="body",we=j.type==="TSInterfaceBody"||Te||j.type==="ObjectPattern"&&Ae.type!=="FunctionDeclaration"&&Ae.type!=="FunctionExpression"&&Ae.type!=="ArrowFunctionExpression"&&Ae.type!=="ObjectMethod"&&Ae.type!=="ClassMethod"&&Ae.type!=="ClassPrivateMethod"&&Ae.type!=="AssignmentPattern"&&Ae.type!=="CatchClause"&&j.properties.some(Be=>Be.value&&(Be.value.type==="ObjectPattern"||Be.value.type==="ArrayPattern"))||j.type!=="ObjectPattern"&&ce&&k(M.originalText,L(j),L(ce)),Ue=Te?";":j.type==="TSInterfaceBody"||j.type==="TSTypeLiteral"?x(I,";"):",",ge=j.type==="RecordExpression"?"#{":j.exact?"{|":"{",lt=j.exact?"|}":"}",Pe=[];for(let Be of J)B.each(Je=>{let $t=Je.getValue();Pe.push({node:$t,printed:A(),loc:L($t)})},Be);J.length>1&&Pe.sort((Be,Je)=>Be.loc-Je.loc);let ve=[],ut=Pe.map(Be=>{let Je=[...ve,y(Be.printed)];return ve=[Ue,d],(Be.node.type==="TSPropertySignature"||Be.node.type==="TSMethodSignature"||Be.node.type==="TSConstructSignatureDeclaration")&&F(Be.node,Z.PrettierIgnore)&&ve.shift(),re(Be.node,M)&&ve.push(v),Je});if(j.inexact){let Be;if(F(j,Z.Dangling)){let Je=F(j,Z.Line);Be=[h(B,M,!0),Je||T(M.originalText,te(S(Q(j))))?v:d,"..."]}else Be=["..."];ut.push([...ve,...Be])}let wt=S(j[X]),pt=!(j.inexact||wt&&wt.type==="RestElement"||wt&&(wt.type==="TSPropertySignature"||wt.type==="TSCallSignatureDeclaration"||wt.type==="TSMethodSignature"||wt.type==="TSConstructSignatureDeclaration")&&F(wt,Z.PrettierIgnore)),jt;if(ut.length===0){if(!F(j,Z.Dangling))return[ge,lt,ae(B,M,A)];jt=y([ge,h(B,M),g,lt,q(B),ae(B,M,A)])}else jt=[Te&&$(j.properties)?_(Ae):"",ge,D([M.bracketSpacing?d:g,...ut]),x(pt&&(Ue!==","||w(M))?Ue:""),M.bracketSpacing?d:g,lt,q(B),ae(B,M,A)];return B.match(Be=>Be.type==="ObjectPattern"&&!Be.decorators,(Be,Je,$t)=>ne(Be)&&(Je==="params"||Je==="parameters"||Je==="this"||Je==="rest")&&$t===0)||B.match(Fe,(Be,Je)=>Je==="typeAnnotation",(Be,Je)=>Je==="typeAnnotation",(Be,Je,$t)=>ne(Be)&&(Je==="params"||Je==="parameters"||Je==="this"||Je==="rest")&&$t===0)||!we&&B.match(Be=>Be.type==="ObjectPattern",Be=>Be.type==="AssignmentExpression"||Be.type==="VariableDeclarator")?jt:y(jt,{shouldBreak:we})}c.exports={printObject:z}}}),Rp=Oe({"src/language-js/print/flow.js"(a,c){ze();var h=us(),{printDanglingComments:d}=Wi(),{printString:g,printNumber:y}=pi(),{builders:{hardline:D,softline:x,group:v,indent:S}}=Ln(),{getParentExportDeclaration:k,isFunctionNotation:T,isGetterOrSetter:$,rawText:w,shouldPrintComma:F}=is(),{locStart:Q,locEnd:Z}=Ui(),{replaceTextEndOfLine:re}=wa(),{printClass:L}=pu(),{printOpaqueType:te,printTypeAlias:q,printIntersectionType:ae,printUnionType:ne,printFunctionType:Fe,printTupleType:_,printIndexedAccessType:z}=qu(),{printInterface:B}=Mp(),{printTypeParameter:M,printTypeParameters:A}=pc(),{printExportDeclaration:I,printExportAllDeclaration:j}=Lp(),{printArrayItems:X}=Wu(),{printObject:W}=Yc(),{printPropertyKey:J}=_l(),{printOptionalToken:ce,printTypeAnnotation:Ae,printRestSpread:Te}=ko();function we(ge,lt,Pe){let ve=ge.getValue(),ut=lt.semi?";":"",wt=[];switch(ve.type){case"DeclareClass":return Ue(ge,L(ge,lt,Pe));case"DeclareFunction":return Ue(ge,["function ",Pe("id"),ve.predicate?" ":"",Pe("predicate"),ut]);case"DeclareModule":return Ue(ge,["module ",Pe("id")," ",Pe("body")]);case"DeclareModuleExports":return Ue(ge,["module.exports",": ",Pe("typeAnnotation"),ut]);case"DeclareVariable":return Ue(ge,["var ",Pe("id"),ut]);case"DeclareOpaqueType":return Ue(ge,te(ge,lt,Pe));case"DeclareInterface":return Ue(ge,B(ge,lt,Pe));case"DeclareTypeAlias":return Ue(ge,q(ge,lt,Pe));case"DeclareExportDeclaration":return Ue(ge,I(ge,lt,Pe));case"DeclareExportAllDeclaration":return Ue(ge,j(ge,lt,Pe));case"OpaqueType":return te(ge,lt,Pe);case"TypeAlias":return q(ge,lt,Pe);case"IntersectionTypeAnnotation":return ae(ge,lt,Pe);case"UnionTypeAnnotation":return ne(ge,lt,Pe);case"FunctionTypeAnnotation":return Fe(ge,lt,Pe);case"TupleTypeAnnotation":return _(ge,lt,Pe);case"GenericTypeAnnotation":return[Pe("id"),A(ge,lt,Pe,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return z(ge,lt,Pe);case"TypeAnnotation":return Pe("typeAnnotation");case"TypeParameter":return M(ge,lt,Pe);case"TypeofTypeAnnotation":return["typeof ",Pe("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[Pe("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(ve.value);case"EnumDeclaration":return["enum ",Pe("id")," ",Pe("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(ve.type==="EnumSymbolBody"||ve.explicitType){let pt=null;switch(ve.type){case"EnumBooleanBody":pt="boolean";break;case"EnumNumberBody":pt="number";break;case"EnumStringBody":pt="string";break;case"EnumSymbolBody":pt="symbol";break}wt.push("of ",pt," ")}if(ve.members.length===0&&!ve.hasUnknownMembers)wt.push(v(["{",d(ge,lt),x,"}"]));else{let pt=ve.members.length>0?[D,X(ge,lt,"members",Pe),ve.hasUnknownMembers||F(lt)?",":""]:[];wt.push(v(["{",S([...pt,...ve.hasUnknownMembers?[D,"..."]:[]]),d(ge,lt,!0),D,"}"]))}return wt}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[Pe("id")," = ",typeof ve.init=="object"?Pe("init"):String(ve.init)];case"EnumDefaultedMember":return Pe("id");case"FunctionTypeParam":{let pt=ve.name?Pe("name"):ge.getParentNode().this===ve?"this":"";return[pt,ce(ge),pt?": ":"",Pe("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return B(ge,lt,Pe);case"ClassImplements":case"InterfaceExtends":return[Pe("id"),Pe("typeParameters")];case"NullableTypeAnnotation":return["?",Pe("typeAnnotation")];case"Variance":{let{kind:pt}=ve;return h.ok(pt==="plus"||pt==="minus"),pt==="plus"?"+":"-"}case"ObjectTypeCallProperty":return ve.static&&wt.push("static "),wt.push(Pe("value")),wt;case"ObjectTypeIndexer":return[ve.static?"static ":"",ve.variance?Pe("variance"):"","[",Pe("id"),ve.id?": ":"",Pe("key"),"]: ",Pe("value")];case"ObjectTypeProperty":{let pt="";return ve.proto?pt="proto ":ve.static&&(pt="static "),[pt,$(ve)?ve.kind+" ":"",ve.variance?Pe("variance"):"",J(ge,lt,Pe),ce(ge),T(ve)?"":": ",Pe("value")]}case"ObjectTypeAnnotation":return W(ge,lt,Pe);case"ObjectTypeInternalSlot":return[ve.static?"static ":"","[[",Pe("id"),"]]",ce(ge),ve.method?"":": ",Pe("value")];case"ObjectTypeSpreadProperty":return Te(ge,lt,Pe);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[Pe("qualification"),".",Pe("id")];case"StringLiteralTypeAnnotation":return re(g(w(ve),lt));case"NumberLiteralTypeAnnotation":h.strictEqual(typeof ve.value,"number");case"BigIntLiteralTypeAnnotation":return ve.extra?y(ve.extra.raw):y(ve.raw);case"TypeCastExpression":return["(",Pe("expression"),Ae(ge,lt,Pe),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let pt=A(ge,lt,Pe,"params");if(lt.parser==="flow"){let jt=Q(ve),Be=Z(ve),Je=lt.originalText.lastIndexOf("/*",jt),$t=lt.originalText.indexOf("*/",Be);if(Je!==-1&&$t!==-1){let Nt=lt.originalText.slice(Je+2,$t).trim();if(Nt.startsWith("::")&&!Nt.includes("/*")&&!Nt.includes("*/"))return["/*:: ",pt," */"]}}return pt}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",Pe("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(ve.type))}}function Ue(ge,lt){let Pe=k(ge);return Pe?(h.strictEqual(Pe.type,"DeclareExportDeclaration"),lt):["declare ",lt]}c.exports={printFlow:we}}}),Mh=Oe({"src/language-js/utils/is-ts-keyword-type.js"(a,c){ze();function h(d){let{type:g}=d;return g.startsWith("TS")&&g.endsWith("Keyword")}c.exports=h}}),zu=Oe({"src/language-js/print/ternary.js"(a,c){ze();var{hasNewlineInRange:h}=pi(),{isJsxNode:d,getComments:g,isCallExpression:y,isMemberExpression:D,isTSTypeExpression:x}=is(),{locStart:v,locEnd:S}=Ui(),k=Ua(),{builders:{line:T,softline:$,group:w,indent:F,align:Q,ifBreak:Z,dedent:re,breakParent:L}}=Ln();function te(_){let z=[_];for(let B=0;B<z.length;B++){let M=z[B];for(let A of["test","consequent","alternate"]){let I=M[A];if(d(I))return!0;I.type==="ConditionalExpression"&&z.push(I)}}return!1}function q(_,z,B){let M=_.getValue(),A=M.type==="ConditionalExpression",I=A?"alternate":"falseType",j=_.getParentNode(),X=A?B("test"):[B("checkType")," ","extends"," ",B("extendsType")];return j.type===M.type&&j[I]===M?Q(2,X):X}var ae=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function ne(_){let z=_.getValue();if(z.type!=="ConditionalExpression")return!1;let B,M=z;for(let A=0;!B;A++){let I=_.getParentNode(A);if(y(I)&&I.callee===M||D(I)&&I.object===M||I.type==="TSNonNullExpression"&&I.expression===M){M=I;continue}I.type==="NewExpression"&&I.callee===M||x(I)&&I.expression===M?(B=_.getParentNode(A+1),M=I):B=I}return M===z?!1:B[ae.get(B.type)]===M}function Fe(_,z,B){let M=_.getValue(),A=M.type==="ConditionalExpression",I=A?"consequent":"trueType",j=A?"alternate":"falseType",X=A?["test"]:["checkType","extendsType"],W=M[I],J=M[j],ce=[],Ae=!1,Te=_.getParentNode(),we=Te.type===M.type&&X.some($t=>Te[$t]===M),Ue=Te.type===M.type&&!we,ge,lt,Pe=0;do lt=ge||M,ge=_.getParentNode(Pe),Pe++;while(ge&&ge.type===M.type&&X.every($t=>ge[$t]!==lt));let ve=ge||Te,ut=lt;if(A&&(d(M[X[0]])||d(W)||d(J)||te(ut))){Ae=!0,Ue=!0;let $t=jr=>[Z("("),F([$,jr]),$,Z(")")],Nt=jr=>jr.type==="NullLiteral"||jr.type==="Literal"&&jr.value===null||jr.type==="Identifier"&&jr.name==="undefined";ce.push(" ? ",Nt(W)?B(I):$t(B(I))," : ",J.type===M.type||Nt(J)?B(j):$t(B(j)))}else{let $t=[T,"? ",W.type===M.type?Z("","("):"",Q(2,B(I)),W.type===M.type?Z("",")"):"",T,": ",J.type===M.type?B(j):Q(2,B(j))];ce.push(Te.type!==M.type||Te[j]===M||we?$t:z.useTabs?re(F($t)):Q(Math.max(0,z.tabWidth-2),$t))}let wt=[...X.map($t=>g(M[$t])),g(W),g(J)].flat().some($t=>k($t)&&h(z.originalText,v($t),S($t))),pt=$t=>Te===ve?w($t,{shouldBreak:wt}):wt?[$t,L]:$t,jt=!Ae&&(D(Te)||Te.type==="NGPipeExpression"&&Te.left===M)&&!Te.computed,Be=ne(_),Je=pt([q(_,z,B),Ue?ce:F(ce),A&&jt&&!Be?$:""]);return we||Be?w([F([$,Je]),$]):Je}c.exports={printTernary:Fe}}}),Yu=Oe({"src/language-js/print/statement.js"(a,c){ze();var{builders:{hardline:h}}=Ln(),d=lu(),{getLeftSidePathName:g,hasNakedLeftSide:y,isJsxNode:D,isTheOnlyJsxElementInMarkdown:x,hasComment:v,CommentCheckFlags:S,isNextLineEmpty:k}=is(),{shouldPrintParamsWithoutParens:T}=Zu();function $(q,ae,ne,Fe){let _=q.getValue(),z=[],B=_.type==="ClassBody",M=w(_[Fe]);return q.each((A,I,j)=>{let X=A.getValue();if(X.type==="EmptyStatement")return;let W=ne();!ae.semi&&!B&&!x(ae,A)&&F(A,ae)?v(X,S.Leading)?z.push(ne([],{needsSemi:!0})):z.push(";",W):z.push(W),!ae.semi&&B&&L(X)&&te(X,j[I+1])&&z.push(";"),X!==M&&(z.push(h),k(X,ae)&&z.push(h))},Fe),z}function w(q){for(let ae=q.length-1;ae>=0;ae--){let ne=q[ae];if(ne.type!=="EmptyStatement")return ne}}function F(q,ae){return q.getNode().type!=="ExpressionStatement"?!1:q.call(ne=>Q(ne,ae),"expression")}function Q(q,ae){let ne=q.getValue();switch(ne.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!T(q,ae))return!0;break}case"UnaryExpression":{let{prefix:Fe,operator:_}=ne;if(Fe&&(_==="+"||_==="-"))return!0;break}case"BindExpression":{if(!ne.object)return!0;break}case"Literal":{if(ne.regex)return!0;break}default:if(D(ne))return!0}return d(q,ae)?!0:y(ne)?q.call(Fe=>Q(Fe,ae),...g(q,ne)):!1}function Z(q,ae,ne){return $(q,ae,ne,"body")}function re(q,ae,ne){return $(q,ae,ne,"consequent")}var L=q=>{let{type:ae}=q;return ae==="ClassProperty"||ae==="PropertyDefinition"||ae==="ClassPrivateProperty"||ae==="ClassAccessorProperty"||ae==="AccessorProperty"||ae==="TSAbstractPropertyDefinition"||ae==="TSAbstractAccessorProperty"};function te(q,ae){let{type:ne,name:Fe}=q.key;if(!q.computed&&ne==="Identifier"&&(Fe==="static"||Fe==="get"||Fe==="set"||Fe==="accessor")&&!q.value&&!q.typeAnnotation)return!0;if(!ae||ae.static||ae.accessibility)return!1;if(!ae.computed){let _=ae.key&&ae.key.name;if(_==="in"||_==="instanceof")return!0}if(L(ae)&&ae.variance&&!ae.static&&!ae.declare)return!0;switch(ae.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return ae.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((ae.value?ae.value.async:ae.async)||ae.kind==="get"||ae.kind==="set")return!1;let _=ae.value?ae.value.generator:ae.generator;return!!(ae.computed||_)}case"TSIndexSignature":return!0}return!1}c.exports={printBody:Z,printSwitchCaseConsequent:re}}}),Vp=Oe({"src/language-js/print/block.js"(a,c){ze();var{printDanglingComments:h}=Wi(),{isNonEmptyArray:d}=pi(),{builders:{hardline:g,indent:y}}=Ln(),{hasComment:D,CommentCheckFlags:x,isNextLineEmpty:v}=is(),{printHardlineAfterHeritage:S}=pu(),{printBody:k}=Yu();function T(w,F,Q){let Z=w.getValue(),re=[];if(Z.type==="StaticBlock"&&re.push("static "),Z.type==="ClassBody"&&d(Z.body)){let te=w.getParentNode();re.push(S(te))}re.push("{");let L=$(w,F,Q);if(L)re.push(y([g,L]),g);else{let te=w.getParentNode(),q=w.getParentNode(1);te.type==="ArrowFunctionExpression"||te.type==="FunctionExpression"||te.type==="FunctionDeclaration"||te.type==="ObjectMethod"||te.type==="ClassMethod"||te.type==="ClassPrivateMethod"||te.type==="ForStatement"||te.type==="WhileStatement"||te.type==="DoWhileStatement"||te.type==="DoExpression"||te.type==="CatchClause"&&!q.finalizer||te.type==="TSModuleDeclaration"||te.type==="TSDeclareFunction"||Z.type==="StaticBlock"||Z.type==="ClassBody"||re.push(g)}return re.push("}"),re}function $(w,F,Q){let Z=w.getValue(),re=d(Z.directives),L=Z.body.some(ae=>ae.type!=="EmptyStatement"),te=D(Z,x.Dangling);if(!re&&!L&&!te)return"";let q=[];if(re&&w.each((ae,ne,Fe)=>{q.push(Q()),(ne<Fe.length-1||L||te)&&(q.push(g),v(ae.getValue(),F)&&q.push(g))},"directives"),L&&q.push(k(w,F,Q)),te&&q.push(h(w,F,!0)),Z.type==="Program"){let ae=w.getParentNode();(!ae||ae.type!=="ModuleExpression")&&q.push(g)}return q}c.exports={printBlock:T,printBlockBody:$}}}),Gc=Oe({"src/language-js/print/typescript.js"(a,c){ze();var{printDanglingComments:h}=Wi(),{hasNewlineInRange:d}=pi(),{builders:{join:g,line:y,hardline:D,softline:x,group:v,indent:S,conditionalGroup:k,ifBreak:T}}=Ln(),{isStringLiteral:$,getTypeScriptMappedTypeModifier:w,shouldPrintComma:F,isCallExpression:Q,isMemberExpression:Z}=is(),re=Mh(),{locStart:L,locEnd:te}=Ui(),{printOptionalToken:q,printTypeScriptModifiers:ae}=ko(),{printTernary:ne}=zu(),{printFunctionParameters:Fe,shouldGroupFunctionParameters:_}=cc(),{printTemplateLiteral:z}=Qu(),{printArrayItems:B}=Wu(),{printObject:M}=Yc(),{printClassProperty:A,printClassMethod:I}=pu(),{printTypeParameter:j,printTypeParameters:X}=pc(),{printPropertyKey:W}=_l(),{printFunction:J,printMethodInternal:ce}=Zu(),{printInterface:Ae}=Mp(),{printBlock:Te}=Vp(),{printTypeAlias:we,printIntersectionType:Ue,printUnionType:ge,printFunctionType:lt,printTupleType:Pe,printIndexedAccessType:ve,printJSDocType:ut}=qu();function wt(pt,jt,Be){let Je=pt.getValue();if(!Je.type.startsWith("TS"))return;if(re(Je))return Je.type.slice(2,-7).toLowerCase();let $t=jt.semi?";":"",Nt=[];switch(Je.type){case"TSThisType":return"this";case"TSTypeAssertion":{let jr=!(Je.expression.type==="ArrayExpression"||Je.expression.type==="ObjectExpression"),tt=v(["<",S([x,Be("typeAnnotation")]),x,">"]),Ve=[T("("),S([x,Be("expression")]),x,T(")")];return jr?k([[tt,Be("expression")],[tt,v(Ve,{shouldBreak:!0})],[tt,Be("expression")]]):v([tt,Be("expression")])}case"TSDeclareFunction":return J(pt,Be,jt);case"TSExportAssignment":return["export = ",Be("expression"),$t];case"TSModuleBlock":return Te(pt,jt,Be);case"TSInterfaceBody":case"TSTypeLiteral":return M(pt,jt,Be);case"TSTypeAliasDeclaration":return we(pt,jt,Be);case"TSQualifiedName":return g(".",[Be("left"),Be("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return I(pt,jt,Be);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return A(pt,jt,Be);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Nt.push(Be("expression")),Je.typeParameters&&Nt.push(Be("typeParameters")),Nt;case"TSTemplateLiteralType":return z(pt,Be,jt);case"TSNamedTupleMember":return[Be("label"),Je.optional?"?":"",": ",Be("elementType")];case"TSRestType":return["...",Be("typeAnnotation")];case"TSOptionalType":return[Be("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Ae(pt,jt,Be);case"TSClassImplements":return[Be("expression"),Be("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return X(pt,jt,Be,"params");case"TSTypeParameter":return j(pt,jt,Be);case"TSSatisfiesExpression":case"TSAsExpression":{let jr=Je.type==="TSAsExpression"?"as":"satisfies";Nt.push(Be("expression"),` ${jr} `,Be("typeAnnotation"));let tt=pt.getParentNode();return Q(tt)&&tt.callee===Je||Z(tt)&&tt.object===Je?v([S([x,...Nt]),x]):Nt}case"TSArrayType":return[Be("elementType"),"[]"];case"TSPropertySignature":return Je.readonly&&Nt.push("readonly "),Nt.push(W(pt,jt,Be),q(pt)),Je.typeAnnotation&&Nt.push(": ",Be("typeAnnotation")),Je.initializer&&Nt.push(" = ",Be("initializer")),Nt;case"TSParameterProperty":return Je.accessibility&&Nt.push(Je.accessibility+" "),Je.export&&Nt.push("export "),Je.static&&Nt.push("static "),Je.override&&Nt.push("override "),Je.readonly&&Nt.push("readonly "),Nt.push(Be("parameter")),Nt;case"TSTypeQuery":return["typeof ",Be("exprName"),Be("typeParameters")];case"TSIndexSignature":{let jr=pt.getParentNode(),tt=Je.parameters.length>1?T(F(jt)?",":""):"",Ve=v([S([x,g([", ",x],pt.map(Be,"parameters"))]),tt,x]);return[Je.export?"export ":"",Je.accessibility?[Je.accessibility," "]:"",Je.static?"static ":"",Je.readonly?"readonly ":"",Je.declare?"declare ":"","[",Je.parameters?Ve:"",Je.typeAnnotation?"]: ":"]",Je.typeAnnotation?Be("typeAnnotation"):"",jr.type==="ClassBody"?$t:""]}case"TSTypePredicate":return[Je.asserts?"asserts ":"",Be("parameterName"),Je.typeAnnotation?[" is ",Be("typeAnnotation")]:""];case"TSNonNullExpression":return[Be("expression"),"!"];case"TSImportType":return[Je.isTypeOf?"typeof ":"","import(",Be(Je.parameter?"parameter":"argument"),")",Je.qualifier?[".",Be("qualifier")]:"",X(pt,jt,Be,"typeParameters")];case"TSLiteralType":return Be("literal");case"TSIndexedAccessType":return ve(pt,jt,Be);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Je.type==="TSConstructorType"&&Je.abstract&&Nt.push("abstract "),Je.type!=="TSCallSignatureDeclaration"&&Nt.push("new "),Nt.push(v(Fe(pt,Be,jt,!1,!0))),Je.returnType||Je.typeAnnotation){let jr=Je.type==="TSConstructorType";Nt.push(jr?" => ":": ",Be("returnType"),Be("typeAnnotation"))}return Nt}case"TSTypeOperator":return[Je.operator," ",Be("typeAnnotation")];case"TSMappedType":{let jr=d(jt.originalText,L(Je),te(Je));return v(["{",S([jt.bracketSpacing?y:x,Be("typeParameter"),Je.optional?w(Je.optional,"?"):"",Je.typeAnnotation?": ":"",Be("typeAnnotation"),T($t)]),h(pt,jt,!0),jt.bracketSpacing?y:x,"}"],{shouldBreak:jr})}case"TSMethodSignature":{let jr=Je.kind&&Je.kind!=="method"?`${Je.kind} `:"";Nt.push(Je.accessibility?[Je.accessibility," "]:"",jr,Je.export?"export ":"",Je.static?"static ":"",Je.readonly?"readonly ":"",Je.abstract?"abstract ":"",Je.declare?"declare ":"",Je.computed?"[":"",Be("key"),Je.computed?"]":"",q(pt));let tt=Fe(pt,Be,jt,!1,!0),Ve=Je.returnType?"returnType":"typeAnnotation",ft=Je[Ve],vt=ft?Be(Ve):"",Ut=_(Je,vt);return Nt.push(Ut?v(tt):tt),ft&&Nt.push(": ",v(vt)),v(Nt)}case"TSNamespaceExportDeclaration":return Nt.push("export as namespace ",Be("id")),jt.semi&&Nt.push(";"),v(Nt);case"TSEnumDeclaration":return Je.declare&&Nt.push("declare "),Je.modifiers&&Nt.push(ae(pt,jt,Be)),Je.const&&Nt.push("const "),Nt.push("enum ",Be("id")," "),Je.members.length===0?Nt.push(v(["{",h(pt,jt),x,"}"])):Nt.push(v(["{",S([D,B(pt,jt,"members",Be),F(jt,"es5")?",":""]),h(pt,jt,!0),D,"}"])),Nt;case"TSEnumMember":return Je.computed?Nt.push("[",Be("id"),"]"):Nt.push(Be("id")),Je.initializer&&Nt.push(" = ",Be("initializer")),Nt;case"TSImportEqualsDeclaration":return Je.isExport&&Nt.push("export "),Nt.push("import "),Je.importKind&&Je.importKind!=="value"&&Nt.push(Je.importKind," "),Nt.push(Be("id")," = ",Be("moduleReference")),jt.semi&&Nt.push(";"),v(Nt);case"TSExternalModuleReference":return["require(",Be("expression"),")"];case"TSModuleDeclaration":{let jr=pt.getParentNode(),tt=$(Je.id),Ve=jr.type==="TSModuleDeclaration",ft=Je.body&&Je.body.type==="TSModuleDeclaration";if(Ve)Nt.push(".");else{Je.declare&&Nt.push("declare "),Nt.push(ae(pt,jt,Be));let vt=jt.originalText.slice(L(Je),L(Je.id));Je.id.type==="Identifier"&&Je.id.name==="global"&&!/namespace|module/.test(vt)||Nt.push(tt||/(?:^|\s)module(?:\s|$)/.test(vt)?"module ":"namespace ")}return Nt.push(Be("id")),ft?Nt.push(Be("body")):Je.body?Nt.push(" ",v(Be("body"))):Nt.push($t),Nt}case"TSConditionalType":return ne(pt,jt,Be);case"TSInferType":return["infer"," ",Be("typeParameter")];case"TSIntersectionType":return Ue(pt,jt,Be);case"TSUnionType":return ge(pt,jt,Be);case"TSFunctionType":return lt(pt,jt,Be);case"TSTupleType":return Pe(pt,jt,Be);case"TSTypeReference":return[Be("typeName"),X(pt,jt,Be,"typeParameters")];case"TSTypeAnnotation":return Be("typeAnnotation");case"TSEmptyBodyFunctionExpression":return ce(pt,jt,Be);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return ut(pt,Be,"?");case"TSJSDocNonNullableType":return ut(pt,Be,"!");case"TSInstantiationExpression":return[Be("expression"),Be("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(Je.type)}.`)}}c.exports={printTypescript:wt}}}),hc=Oe({"src/language-js/print/comment.js"(a,c){ze();var{hasNewline:h}=pi(),{builders:{join:d,hardline:g},utils:{replaceTextEndOfLine:y}}=Ln(),{isLineComment:D}=is(),{locStart:x,locEnd:v}=Ui(),S=Ua();function k(w,F){let Q=w.getValue();if(D(Q))return F.originalText.slice(x(Q),v(Q)).trimEnd();if(S(Q)){if(T(Q)){let L=$(Q);return Q.trailing&&!h(F.originalText,x(Q),{backwards:!0})?[g,L]:L}let Z=v(Q),re=F.originalText.slice(Z-3,Z)==="*-/";return["/*",y(Q.value),re?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(Q))}function T(w){let F=`*${w.value}*`.split(`
|
|
`);return F.length>1&&F.every(Q=>Q.trim()[0]==="*")}function $(w){let F=w.value.split(`
|
|
`);return["/*",d(g,F.map((Q,Z)=>Z===0?Q.trimEnd():" "+(Z<F.length-1?Q.trim():Q.trimStart()))),"*/"]}c.exports={printComment:k}}}),Nl=Oe({"src/language-js/print/literal.js"(a,c){ze();var{printString:h,printNumber:d}=pi(),{replaceTextEndOfLine:g}=wa(),{printDirective:y}=ko();function D(k,T){let $=k.getNode();switch($.type){case"RegExpLiteral":return S($);case"BigIntLiteral":return v($.bigint||$.extra.raw);case"NumericLiteral":return d($.extra.raw);case"StringLiteral":return g(h($.extra.raw,T));case"NullLiteral":return"null";case"BooleanLiteral":return String($.value);case"DecimalLiteral":return d($.value)+"m";case"Literal":{if($.regex)return S($.regex);if($.bigint)return v($.raw);if($.decimal)return d($.decimal)+"m";let{value:w}=$;return typeof w=="number"?d($.raw):typeof w=="string"?x(k)?y($.raw,T):g(h($.raw,T)):String(w)}}}function x(k){if(k.getName()!=="expression")return;let T=k.getParentNode();return T.type==="ExpressionStatement"&&T.directive}function v(k){return k.toLowerCase()}function S(k){let{pattern:T,flags:$}=k;return $=[...$].sort().join(""),`/${T}/${$}`}c.exports={printLiteral:D}}}),Il=Oe({"src/language-js/printer-estree.js"(a,c){ze();var{printDanglingComments:h}=Wi(),{hasNewline:d}=pi(),{builders:{join:g,line:y,hardline:D,softline:x,group:v,indent:S},utils:{replaceTextEndOfLine:k}}=Ln(),T=Mu(),$=Oa(),{insertPragma:w}=Uu(),F=Tl(),Q=lu(),Z=kl(),{hasFlowShorthandAnnotationComment:re,hasComment:L,CommentCheckFlags:te,isTheOnlyJsxElementInMarkdown:q,isLineComment:ae,isNextLineEmpty:ne,needsHardlineAfterDanglingComment:Fe,hasIgnoreComment:_,isCallExpression:z,isMemberExpression:B,markerForIfWithoutBlockAndSameLineComment:M}=is(),{locStart:A,locEnd:I}=Ui(),j=Ua(),{printHtmlBinding:X,isVueEventBindingExpression:W}=Zc(),{printAngular:J}=Qp(),{printJsx:ce,hasJsxIgnoreComment:Ae}=lc(),{printFlow:Te}=Rp(),{printTypescript:we}=Gc(),{printOptionalToken:Ue,printBindExpressionCallee:ge,printTypeAnnotation:lt,adjustClause:Pe,printRestSpread:ve,printDefiniteToken:ut,printDirective:wt}=ko(),{printImportDeclaration:pt,printExportDeclaration:jt,printExportAllDeclaration:Be,printModuleSpecifier:Je}=Lp(),{printTernary:$t}=zu(),{printTemplateLiteral:Nt}=Qu(),{printArray:jr}=Wu(),{printObject:tt}=Yc(),{printClass:Ve,printClassMethod:ft,printClassProperty:vt}=pu(),{printProperty:Ut}=_l(),{printFunction:sr,printArrowFunction:Or,printMethod:hn,printReturnStatement:Ci,printThrowStatement:hi}=Zu(),{printCallExpression:cn}=Bl(),{printVariableDeclarator:Bn,printAssignmentExpression:Ft}=cu(),{printBinaryishExpression:je}=xa(),{printSwitchCaseConsequent:Qt}=Yu(),{printMemberExpression:et}=Fl(),{printBlock:_t,printBlockBody:Wr}=Vp(),{printComment:Br}=hc(),{printLiteral:Vt}=Nl(),{printDecorators:R}=$l();function We(Er,an,Dr,Fs){let tn=Tt(Er,an,Dr,Fs);if(!tn)return"";let bs=Er.getValue(),{type:Jr}=bs;if(Jr==="ClassMethod"||Jr==="ClassPrivateMethod"||Jr==="ClassProperty"||Jr==="ClassAccessorProperty"||Jr==="AccessorProperty"||Jr==="TSAbstractAccessorProperty"||Jr==="PropertyDefinition"||Jr==="TSAbstractPropertyDefinition"||Jr==="ClassPrivateProperty"||Jr==="MethodDefinition"||Jr==="TSAbstractMethodDefinition"||Jr==="TSDeclareMethod")return tn;let Wn=[tn],gi=R(Er,an,Dr),cs=bs.type==="ClassExpression"&&gi;if(gi&&(Wn=[...gi,tn],!cs))return v(Wn);if(!Q(Er,an))return Fs&&Fs.needsSemi&&Wn.unshift(";"),Wn.length===1&&Wn[0]===tn?tn:Wn;if(cs&&(Wn=[S([y,...Wn])]),Wn.unshift("("),Fs&&Fs.needsSemi&&Wn.unshift(";"),re(bs)){let[on]=bs.trailingComments;Wn.push(" /*",on.value.trimStart(),"*/"),on.printed=!0}return cs&&Wn.push(y),Wn.push(")"),Wn}function Tt(Er,an,Dr,Fs){let tn=Er.getValue(),bs=an.semi?";":"";if(!tn)return"";if(typeof tn=="string")return tn;for(let Wn of[Vt,X,J,ce,Te,we]){let gi=Wn(Er,an,Dr);if(typeof gi<"u")return gi}let Jr=[];switch(tn.type){case"JsExpressionRoot":return Dr("node");case"JsonRoot":return[Dr("node"),D];case"File":return tn.program&&tn.program.interpreter&&Jr.push(Dr(["program","interpreter"])),Jr.push(Dr("program")),Jr;case"Program":return Wr(Er,an,Dr);case"EmptyStatement":return"";case"ExpressionStatement":{if(an.parser==="__vue_event_binding"||an.parser==="__vue_ts_event_binding"){let gi=Er.getParentNode();if(gi.type==="Program"&&gi.body.length===1&&gi.body[0]===tn)return[Dr("expression"),W(tn.expression)?";":""]}let Wn=h(Er,an,!0,gi=>{let{marker:cs}=gi;return cs===M});return[Dr("expression"),q(an,Er)?"":bs,Wn?[" ",Wn]:""]}case"ParenthesizedExpression":return!L(tn.expression)&&(tn.expression.type==="ObjectExpression"||tn.expression.type==="ArrayExpression")?["(",Dr("expression"),")"]:v(["(",S([x,Dr("expression")]),x,")"]);case"AssignmentExpression":return Ft(Er,an,Dr);case"VariableDeclarator":return Bn(Er,an,Dr);case"BinaryExpression":case"LogicalExpression":return je(Er,an,Dr);case"AssignmentPattern":return[Dr("left")," = ",Dr("right")];case"OptionalMemberExpression":case"MemberExpression":return et(Er,an,Dr);case"MetaProperty":return[Dr("meta"),".",Dr("property")];case"BindExpression":return tn.object&&Jr.push(Dr("object")),Jr.push(v(S([x,ge(Er,an,Dr)]))),Jr;case"Identifier":return[tn.name,Ue(Er),ut(Er),lt(Er,an,Dr)];case"V8IntrinsicIdentifier":return["%",tn.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return ve(Er,an,Dr);case"FunctionDeclaration":case"FunctionExpression":return sr(Er,Dr,an,Fs);case"ArrowFunctionExpression":return Or(Er,an,Dr,Fs);case"YieldExpression":return Jr.push("yield"),tn.delegate&&Jr.push("*"),tn.argument&&Jr.push(" ",Dr("argument")),Jr;case"AwaitExpression":{if(Jr.push("await"),tn.argument){Jr.push(" ",Dr("argument"));let Wn=Er.getParentNode();if(z(Wn)&&Wn.callee===tn||B(Wn)&&Wn.object===tn){Jr=[S([x,...Jr]),x];let gi=Er.findAncestor(cs=>cs.type==="AwaitExpression"||cs.type==="BlockStatement");if(!gi||gi.type!=="AwaitExpression")return v(Jr)}}return Jr}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return jt(Er,an,Dr);case"ExportAllDeclaration":return Be(Er,an,Dr);case"ImportDeclaration":return pt(Er,an,Dr);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Je(Er,an,Dr);case"ImportAttribute":return[Dr("key"),": ",Dr("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return _t(Er,an,Dr);case"ThrowStatement":return hi(Er,an,Dr);case"ReturnStatement":return Ci(Er,an,Dr);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return cn(Er,an,Dr);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return tt(Er,an,Dr);case"ObjectProperty":case"Property":return tn.method||tn.kind==="get"||tn.kind==="set"?hn(Er,an,Dr):Ut(Er,an,Dr);case"ObjectMethod":return hn(Er,an,Dr);case"Decorator":return["@",Dr("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return jr(Er,an,Dr);case"SequenceExpression":{let Wn=Er.getParentNode(0);if(Wn.type==="ExpressionStatement"||Wn.type==="ForStatement"){let gi=[];return Er.each((cs,on)=>{on===0?gi.push(Dr()):gi.push(",",S([y,Dr()]))},"expressions"),v(gi)}return v(g([",",y],Er.map(Dr,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Dr("value"),bs];case"DirectiveLiteral":return wt(tn.extra.raw,an);case"UnaryExpression":return Jr.push(tn.operator),/[a-z]$/.test(tn.operator)&&Jr.push(" "),L(tn.argument)?Jr.push(v(["(",S([x,Dr("argument")]),x,")"])):Jr.push(Dr("argument")),Jr;case"UpdateExpression":return Jr.push(Dr("argument"),tn.operator),tn.prefix&&Jr.reverse(),Jr;case"ConditionalExpression":return $t(Er,an,Dr);case"VariableDeclaration":{let Wn=Er.map(Dr,"declarations"),gi=Er.getParentNode(),cs=gi.type==="ForStatement"||gi.type==="ForInStatement"||gi.type==="ForOfStatement",on=tn.declarations.some(Jn=>Jn.init),li;return Wn.length===1&&!L(tn.declarations[0])?li=Wn[0]:Wn.length>0&&(li=S(Wn[0])),Jr=[tn.declare?"declare ":"",tn.kind,li?[" ",li]:"",S(Wn.slice(1).map(Jn=>[",",on&&!cs?D:y,Jn]))],cs&&gi.body!==tn||Jr.push(bs),v(Jr)}case"WithStatement":return v(["with (",Dr("object"),")",Pe(tn.body,Dr("body"))]);case"IfStatement":{let Wn=Pe(tn.consequent,Dr("consequent")),gi=v(["if (",v([S([x,Dr("test")]),x]),")",Wn]);if(Jr.push(gi),tn.alternate){let cs=L(tn.consequent,te.Trailing|te.Line)||Fe(tn),on=tn.consequent.type==="BlockStatement"&&!cs;Jr.push(on?" ":D),L(tn,te.Dangling)&&Jr.push(h(Er,an,!0),cs?D:" "),Jr.push("else",v(Pe(tn.alternate,Dr("alternate"),tn.alternate.type==="IfStatement")))}return Jr}case"ForStatement":{let Wn=Pe(tn.body,Dr("body")),gi=h(Er,an,!0),cs=gi?[gi,x]:"";return!tn.init&&!tn.test&&!tn.update?[cs,v(["for (;;)",Wn])]:[cs,v(["for (",v([S([x,Dr("init"),";",y,Dr("test"),";",y,Dr("update")]),x]),")",Wn])]}case"WhileStatement":return v(["while (",v([S([x,Dr("test")]),x]),")",Pe(tn.body,Dr("body"))]);case"ForInStatement":return v(["for (",Dr("left")," in ",Dr("right"),")",Pe(tn.body,Dr("body"))]);case"ForOfStatement":return v(["for",tn.await?" await":""," (",Dr("left")," of ",Dr("right"),")",Pe(tn.body,Dr("body"))]);case"DoWhileStatement":{let Wn=Pe(tn.body,Dr("body"));return Jr=[v(["do",Wn])],tn.body.type==="BlockStatement"?Jr.push(" "):Jr.push(D),Jr.push("while (",v([S([x,Dr("test")]),x]),")",bs),Jr}case"DoExpression":return[tn.async?"async ":"","do ",Dr("body")];case"BreakStatement":return Jr.push("break"),tn.label&&Jr.push(" ",Dr("label")),Jr.push(bs),Jr;case"ContinueStatement":return Jr.push("continue"),tn.label&&Jr.push(" ",Dr("label")),Jr.push(bs),Jr;case"LabeledStatement":return tn.body.type==="EmptyStatement"?[Dr("label"),":;"]:[Dr("label"),": ",Dr("body")];case"TryStatement":return["try ",Dr("block"),tn.handler?[" ",Dr("handler")]:"",tn.finalizer?[" finally ",Dr("finalizer")]:""];case"CatchClause":if(tn.param){let Wn=L(tn.param,cs=>!j(cs)||cs.leading&&d(an.originalText,I(cs))||cs.trailing&&d(an.originalText,A(cs),{backwards:!0})),gi=Dr("param");return["catch ",Wn?["(",S([x,gi]),x,") "]:["(",gi,") "],Dr("body")]}return["catch ",Dr("body")];case"SwitchStatement":return[v(["switch (",S([x,Dr("discriminant")]),x,")"])," {",tn.cases.length>0?S([D,g(D,Er.map((Wn,gi,cs)=>{let on=Wn.getValue();return[Dr(),gi!==cs.length-1&&ne(on,an)?D:""]},"cases"))]):"",D,"}"];case"SwitchCase":{tn.test?Jr.push("case ",Dr("test"),":"):Jr.push("default:"),L(tn,te.Dangling)&&Jr.push(" ",h(Er,an,!0));let Wn=tn.consequent.filter(gi=>gi.type!=="EmptyStatement");if(Wn.length>0){let gi=Qt(Er,an,Dr);Jr.push(Wn.length===1&&Wn[0].type==="BlockStatement"?[" ",gi]:S([D,gi]))}return Jr}case"DebuggerStatement":return["debugger",bs];case"ClassDeclaration":case"ClassExpression":return Ve(Er,an,Dr);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return ft(Er,an,Dr);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return vt(Er,an,Dr);case"TemplateElement":return k(tn.value.raw);case"TemplateLiteral":return Nt(Er,Dr,an);case"TaggedTemplateExpression":return[Dr("tag"),Dr("typeParameters"),Dr("quasi")];case"PrivateIdentifier":return["#",Dr("name")];case"PrivateName":return["#",Dr("id")];case"InterpreterDirective":return Jr.push("#!",tn.value,D),ne(tn,an)&&Jr.push(D),Jr;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Jr.push("module {");let Wn=Dr("body");return Wn&&Jr.push(S([D,Wn]),D),Jr.push("}"),Jr}default:throw new Error("unknown type: "+JSON.stringify(tn.type))}}function fr(Er){return Er.type&&!j(Er)&&!ae(Er)&&Er.type!=="EmptyStatement"&&Er.type!=="TemplateElement"&&Er.type!=="Import"&&Er.type!=="TSEmptyBodyFunctionExpression"}c.exports={preprocess:Z,print:We,embed:T,insertPragma:w,massageAstNode:$,hasPrettierIgnore(Er){return _(Er)||Ae(Er)},willPrintOwnComments:F.willPrintOwnComments,canAttachComment:fr,printComment:Br,isBlockComment:j,handleComments:{avoidAstMutation:!0,ownLine:F.handleOwnLineComment,endOfLine:F.handleEndOfLineComment,remaining:F.handleRemainingComment},getCommentChildNodes:F.getCommentChildNodes}}}),Lh=Oe({"src/language-js/printer-estree-json.js"(a,c){ze();var{builders:{hardline:h,indent:d,join:g}}=Ln(),y=kl();function D(k,T,$){let w=k.getValue();switch(w.type){case"JsonRoot":return[$("node"),h];case"ArrayExpression":{if(w.elements.length===0)return"[]";let F=k.map(()=>k.getValue()===null?"null":$(),"elements");return["[",d([h,g([",",h],F)]),h,"]"]}case"ObjectExpression":return w.properties.length===0?"{}":["{",d([h,g([",",h],k.map($,"properties"))]),h,"}"];case"ObjectProperty":return[$("key"),": ",$("value")];case"UnaryExpression":return[w.operator==="+"?"":w.operator,$("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return w.value?"true":"false";case"StringLiteral":return JSON.stringify(w.value);case"NumericLiteral":return x(k)?JSON.stringify(String(w.value)):JSON.stringify(w.value);case"Identifier":return x(k)?JSON.stringify(w.name):w.name;case"TemplateLiteral":return $(["quasis",0]);case"TemplateElement":return JSON.stringify(w.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(w.type))}}function x(k){return k.getName()==="key"&&k.getParentNode().type==="ObjectProperty"}var v=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function S(k,T){let{type:$}=k;if($==="ObjectProperty"){let{key:w}=k;w.type==="Identifier"?T.key={type:"StringLiteral",value:w.name}:w.type==="NumericLiteral"&&(T.key={type:"StringLiteral",value:String(w.value)});return}if($==="UnaryExpression"&&k.operator==="+")return T.argument;if($==="ArrayExpression"){for(let[w,F]of k.elements.entries())F===null&&T.elements.splice(w,0,{type:"NullLiteral"});return}if($==="TemplateLiteral")return{type:"StringLiteral",value:k.quasis[0].value.cooked}}S.ignoredProperties=v,c.exports={preprocess:y,print:D,massageAstNode:S}}}),hu=Oe({"src/common/common-options.js"(a,c){ze();var h="Common";c.exports={bracketSpacing:{since:"0.0.0",category:h,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:h,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:h,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:h,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:h,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Rh=Oe({"src/language-js/options.js"(a,c){ze();var h=hu(),d="JavaScript";c.exports={arrowParens:{since:"1.9.0",category:d,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:h.bracketSameLine,bracketSpacing:h.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:d,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:d,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:h.singleQuote,jsxSingleQuote:{since:"1.15.0",category:d,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:d,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:d,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:h.singleAttributePerLine}}}),Xp=Oe({"src/language-js/parse/parsers.js"(){ze()}}),Hc=Oe({"node_modules/linguist-languages/data/JavaScript.json"(a,c){c.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}}}),Up=Oe({"node_modules/linguist-languages/data/TypeScript.json"(a,c){c.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}}}),fc=Oe({"node_modules/linguist-languages/data/TSX.json"(a,c){c.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Jc=Oe({"node_modules/linguist-languages/data/JSON.json"(a,c){c.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}}}),Kc=Oe({"node_modules/linguist-languages/data/JSON with Comments.json"(a,c){c.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}}}),Wp=Oe({"node_modules/linguist-languages/data/JSON5.json"(a,c){c.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),ep=Oe({"src/language-js/index.js"(a,c){ze();var h=_s(),d=Il(),g=Lh(),y=Rh(),D=Xp(),x=[h(Hc(),S=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...S.interpreters,"zx"],extensions:[...S.extensions.filter(k=>k!==".jsx"),".wxs"]})),h(Hc(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),h(Hc(),()=>({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})),h(Up(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),h(fc(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),h(Jc(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),h(Jc(),S=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:S.extensions.filter(k=>k!==".jsonl")})),h(Kc(),S=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...S.filenames,".eslintrc",".swcrc"]})),h(Wp(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],v={estree:d,"estree-json":g};c.exports={languages:x,options:y,printers:v,parsers:D}}}),qp=Oe({"src/language-css/clean.js"(a,c){ze();var{isFrontMatterNode:h}=pi(),d=Ds(),g=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function y(x,v,S){if(h(x)&&x.lang==="yaml"&&delete v.value,x.type==="css-comment"&&S.type==="css-root"&&S.nodes.length>0&&((S.nodes[0]===x||h(S.nodes[0])&&S.nodes[1]===x)&&(delete v.text,/^\*\s*@(?:format|prettier)\s*$/.test(x.text))||S.type==="css-root"&&d(S.nodes)===x))return null;if(x.type==="value-root"&&delete v.text,(x.type==="media-query"||x.type==="media-query-list"||x.type==="media-feature-expression")&&delete v.value,x.type==="css-rule"&&delete v.params,x.type==="selector-combinator"&&(v.value=v.value.replace(/\s+/g," ")),x.type==="media-feature"&&(v.value=v.value.replace(/ /g,"")),(x.type==="value-word"&&(x.isColor&&x.isHex||["initial","inherit","unset","revert"].includes(v.value.replace().toLowerCase()))||x.type==="media-feature"||x.type==="selector-root-invalid"||x.type==="selector-pseudo")&&(v.value=v.value.toLowerCase()),x.type==="css-decl"&&(v.prop=v.prop.toLowerCase()),(x.type==="css-atrule"||x.type==="css-import")&&(v.name=v.name.toLowerCase()),x.type==="value-number"&&(v.unit=v.unit.toLowerCase()),(x.type==="media-feature"||x.type==="media-keyword"||x.type==="media-type"||x.type==="media-unknown"||x.type==="media-url"||x.type==="media-value"||x.type==="selector-attribute"||x.type==="selector-string"||x.type==="selector-class"||x.type==="selector-combinator"||x.type==="value-string")&&v.value&&(v.value=D(v.value)),x.type==="selector-attribute"&&(v.attribute=v.attribute.trim(),v.namespace&&typeof v.namespace=="string"&&(v.namespace=v.namespace.trim(),v.namespace.length===0&&(v.namespace=!0)),v.value&&(v.value=v.value.trim().replace(/^["']|["']$/g,""),delete v.quoted)),(x.type==="media-value"||x.type==="media-type"||x.type==="value-number"||x.type==="selector-root-invalid"||x.type==="selector-class"||x.type==="selector-combinator"||x.type==="selector-tag")&&v.value&&(v.value=v.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(k,T,$)=>{let w=Number(T);return Number.isNaN(w)?k:w+$.toLowerCase()})),x.type==="selector-tag"){let k=x.value.toLowerCase();["from","to"].includes(k)&&(v.value=k)}if(x.type==="css-atrule"&&x.name.toLowerCase()==="supports"&&delete v.value,x.type==="selector-unknown"&&delete v.value,x.type==="value-comma_group"){let k=x.groups.findIndex(T=>T.type==="value-number"&&T.unit==="...");k!==-1&&(v.groups[k].unit="",v.groups.splice(k+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(x.type==="value-comma_group"&&x.groups.some(k=>k.type==="value-atword"&&k.value.endsWith("[")||k.type==="value-word"&&k.value.startsWith("]")))return{type:"value-atword",value:x.groups.map(k=>k.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}y.ignoredProperties=g;function D(x){return x.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}c.exports=y}}),dc=Oe({"src/utils/front-matter/print.js"(a,c){ze();var{builders:{hardline:h,markAsRoot:d}}=Ln();function g(y,D){if(y.lang==="yaml"){let x=y.value.trim(),v=x?D(x,{parser:"yaml"},{stripTrailingHardline:!0}):"";return d([y.startDelimiter,h,v,v?h:"",y.endDelimiter])}}c.exports=g}}),Vh=Oe({"src/language-css/embed.js"(a,c){ze();var{builders:{hardline:h}}=Ln(),d=dc();function g(y,D,x){let v=y.getValue();if(v.type==="front-matter"){let S=d(v,x);return S?[S,h]:""}}c.exports=g}}),Zp=Oe({"src/utils/front-matter/parse.js"(a,c){ze();var h=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function d(g){let y=g.match(h);if(!y)return{content:g};let{startDelimiter:D,language:x,value:v="",endDelimiter:S}=y.groups,k=x.trim()||"yaml";if(D==="+++"&&(k="toml"),k!=="yaml"&&D!==S)return{content:g};let[T]=y;return{frontMatter:{type:"front-matter",lang:k,value:v,startDelimiter:D,endDelimiter:S,raw:T.replace(/\n$/,"")},content:T.replace(/[^\n]/g," ")+g.slice(T.length)}}c.exports=d}}),Ql=Oe({"src/language-css/pragma.js"(a,c){ze();var h=Uu(),d=Zp();function g(D){return h.hasPragma(d(D).content)}function y(D){let{frontMatter:x,content:v}=d(D);return(x?x.raw+`
|
|
|
|
`:"")+h.insertPragma(v)}c.exports={hasPragma:g,insertPragma:y}}}),tp=Oe({"src/language-css/utils/index.js"(a,c){ze();var h=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 d(tt,Ve){let ft=Array.isArray(Ve)?Ve:[Ve],vt=-1,Ut;for(;Ut=tt.getParentNode(++vt);)if(ft.includes(Ut.type))return vt;return-1}function g(tt,Ve){let ft=d(tt,Ve);return ft===-1?null:tt.getParentNode(ft)}function y(tt){var Ve;let ft=g(tt,"css-decl");return ft==null||(Ve=ft.prop)===null||Ve===void 0?void 0:Ve.toLowerCase()}var D=new Set(["initial","inherit","unset","revert"]);function x(tt){return D.has(tt.toLowerCase())}function v(tt,Ve){let ft=g(tt,"css-atrule");return(ft==null?void 0:ft.name)&&ft.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Ve.toLowerCase())}function S(tt){return tt.includes("$")||tt.includes("@")||tt.includes("#")||tt.startsWith("%")||tt.startsWith("--")||tt.startsWith(":--")||tt.includes("(")&&tt.includes(")")?tt:tt.toLowerCase()}function k(tt,Ve){var ft;let vt=g(tt,"value-func");return(vt==null||(ft=vt.value)===null||ft===void 0?void 0:ft.toLowerCase())===Ve}function T(tt){var Ve;let ft=g(tt,"css-rule"),vt=ft==null||(Ve=ft.raws)===null||Ve===void 0?void 0:Ve.selector;return vt&&(vt.startsWith(":import")||vt.startsWith(":export"))}function $(tt,Ve){let ft=Array.isArray(Ve)?Ve:[Ve],vt=g(tt,"css-atrule");return vt&&ft.includes(vt.name.toLowerCase())}function w(tt){let Ve=tt.getValue(),ft=g(tt,"css-atrule");return(ft==null?void 0:ft.name)==="import"&&Ve.groups[0].value==="url"&&Ve.groups.length===2}function F(tt){return tt.type==="value-func"&&tt.value.toLowerCase()==="url"}function Q(tt,Ve){var ft;let vt=(ft=tt.getParentNode())===null||ft===void 0?void 0:ft.nodes;return vt&&vt.indexOf(Ve)===vt.length-1}function Z(tt){let{selector:Ve}=tt;return Ve?typeof Ve=="string"&&/^@.+:.*$/.test(Ve)||Ve.value&&/^@.+:.*$/.test(Ve.value):!1}function re(tt){return tt.type==="value-word"&&["from","through","end"].includes(tt.value)}function L(tt){return tt.type==="value-word"&&["and","or","not"].includes(tt.value)}function te(tt){return tt.type==="value-word"&&tt.value==="in"}function q(tt){return tt.type==="value-operator"&&tt.value==="*"}function ae(tt){return tt.type==="value-operator"&&tt.value==="/"}function ne(tt){return tt.type==="value-operator"&&tt.value==="+"}function Fe(tt){return tt.type==="value-operator"&&tt.value==="-"}function _(tt){return tt.type==="value-operator"&&tt.value==="%"}function z(tt){return q(tt)||ae(tt)||ne(tt)||Fe(tt)||_(tt)}function B(tt){return tt.type==="value-word"&&["==","!="].includes(tt.value)}function M(tt){return tt.type==="value-word"&&["<",">","<=",">="].includes(tt.value)}function A(tt){return tt.type==="css-atrule"&&["if","else","for","each","while"].includes(tt.name)}function I(tt){var Ve;return((Ve=tt.raws)===null||Ve===void 0?void 0:Ve.params)&&/^\(\s*\)$/.test(tt.raws.params)}function j(tt){return tt.name.startsWith("prettier-placeholder")}function X(tt){return tt.prop.startsWith("@prettier-placeholder")}function W(tt,Ve){return tt.value==="$$"&&tt.type==="value-func"&&(Ve==null?void 0:Ve.type)==="value-word"&&!Ve.raws.before}function J(tt){var Ve,ft;return((Ve=tt.value)===null||Ve===void 0?void 0:Ve.type)==="value-root"&&((ft=tt.value.group)===null||ft===void 0?void 0:ft.type)==="value-value"&&tt.prop.toLowerCase()==="composes"}function ce(tt){var Ve,ft,vt;return((Ve=tt.value)===null||Ve===void 0||(ft=Ve.group)===null||ft===void 0||(vt=ft.group)===null||vt===void 0?void 0:vt.type)==="value-paren_group"&&tt.value.group.group.open!==null&&tt.value.group.group.close!==null}function Ae(tt){var Ve;return((Ve=tt.raws)===null||Ve===void 0?void 0:Ve.before)===""}function Te(tt){var Ve,ft;return tt.type==="value-comma_group"&&((Ve=tt.groups)===null||Ve===void 0||(ft=Ve[1])===null||ft===void 0?void 0:ft.type)==="value-colon"}function we(tt){var Ve;return tt.type==="value-paren_group"&&((Ve=tt.groups)===null||Ve===void 0?void 0:Ve[0])&&Te(tt.groups[0])}function Ue(tt){var Ve;let ft=tt.getValue();if(ft.groups.length===0)return!1;let vt=tt.getParentNode(1);if(!we(ft)&&!(vt&&we(vt)))return!1;let Ut=g(tt,"css-decl");return!!(Ut!=null&&(Ve=Ut.prop)!==null&&Ve!==void 0&&Ve.startsWith("$")||we(vt)||vt.type==="value-func")}function ge(tt){return tt.type==="value-comment"&&tt.inline}function lt(tt){return tt.type==="value-word"&&tt.value==="#"}function Pe(tt){return tt.type==="value-word"&&tt.value==="{"}function ve(tt){return tt.type==="value-word"&&tt.value==="}"}function ut(tt){return["value-word","value-atword"].includes(tt.type)}function wt(tt){return(tt==null?void 0:tt.type)==="value-colon"}function pt(tt,Ve){if(!Te(Ve))return!1;let{groups:ft}=Ve,vt=ft.indexOf(tt);return vt===-1?!1:wt(ft[vt+1])}function jt(tt){return tt.value&&["not","and","or"].includes(tt.value.toLowerCase())}function Be(tt){return tt.type!=="value-func"?!1:h.has(tt.value.toLowerCase())}function Je(tt){return/\/\//.test(tt.split(/[\n\r]/).pop())}function $t(tt){return(tt==null?void 0:tt.type)==="value-atword"&&tt.value.startsWith("prettier-placeholder-")}function Nt(tt,Ve){var ft,vt;if(((ft=tt.open)===null||ft===void 0?void 0:ft.value)!=="("||((vt=tt.close)===null||vt===void 0?void 0:vt.value)!==")"||tt.groups.some(Ut=>Ut.type!=="value-comma_group"))return!1;if(Ve.type==="value-comma_group"){let Ut=Ve.groups.indexOf(tt)-1,sr=Ve.groups[Ut];if((sr==null?void 0:sr.type)==="value-word"&&sr.value==="with")return!0}return!1}function jr(tt){var Ve,ft;return tt.type==="value-paren_group"&&((Ve=tt.open)===null||Ve===void 0?void 0:Ve.value)==="("&&((ft=tt.close)===null||ft===void 0?void 0:ft.value)===")"}c.exports={getAncestorCounter:d,getAncestorNode:g,getPropOfDeclNode:y,maybeToLowerCase:S,insideValueFunctionNode:k,insideICSSRuleNode:T,insideAtRuleNode:$,insideURLFunctionInImportAtRuleNode:w,isKeyframeAtRuleKeywords:v,isWideKeywords:x,isLastNode:Q,isSCSSControlDirectiveNode:A,isDetachedRulesetDeclarationNode:Z,isRelationalOperatorNode:M,isEqualityOperatorNode:B,isMultiplicationNode:q,isDivisionNode:ae,isAdditionNode:ne,isSubtractionNode:Fe,isModuloNode:_,isMathOperatorNode:z,isEachKeywordNode:te,isForKeywordNode:re,isURLFunctionNode:F,isIfElseKeywordNode:L,hasComposesNode:J,hasParensAroundNode:ce,hasEmptyRawBefore:Ae,isDetachedRulesetCallNode:I,isTemplatePlaceholderNode:j,isTemplatePropNode:X,isPostcssSimpleVarNode:W,isKeyValuePairNode:Te,isKeyValuePairInParenGroupNode:we,isKeyInValuePairNode:pt,isSCSSMapItemNode:Ue,isInlineValueCommentNode:ge,isHashNode:lt,isLeftCurlyBraceNode:Pe,isRightCurlyBraceNode:ve,isWordNode:ut,isColonNode:wt,isMediaAndSupportsKeywords:jt,isColorAdjusterFuncNode:Be,lastLineHasInlineComment:Je,isAtWordPlaceholderNode:$t,isConfigurationNode:Nt,isParenGroupNode:jr}}}),Jo=Oe({"src/utils/line-column-to-index.js"(a,c){ze(),c.exports=function(h,d){let g=0;for(let y=0;y<h.line-1;++y)g=d.indexOf(`
|
|
`,g)+1;return g+h.column}}}),zp=Oe({"src/language-css/loc.js"(a,c){ze();var{skipEverythingButNewLine:h}=ho(),d=Ds(),g=Jo();function y(w,F){return typeof w.sourceIndex=="number"?w.sourceIndex:w.source?g(w.source.start,F)-1:null}function D(w,F){if(w.type==="css-comment"&&w.inline)return h(F,w.source.startOffset);let Q=w.nodes&&d(w.nodes);return Q&&w.source&&!w.source.end&&(w=Q),w.source&&w.source.end?g(w.source.end,F):null}function x(w,F){w.source&&(w.source.startOffset=y(w,F),w.source.endOffset=D(w,F));for(let Q in w){let Z=w[Q];Q==="source"||!Z||typeof Z!="object"||(Z.type==="value-root"||Z.type==="value-unknown"?v(Z,S(w),Z.text||Z.value):x(Z,F))}}function v(w,F,Q){w.source&&(w.source.startOffset=y(w,Q)+F,w.source.endOffset=D(w,Q)+F);for(let Z in w){let re=w[Z];Z==="source"||!re||typeof re!="object"||v(re,F,Q)}}function S(w){let F=w.source.startOffset;return typeof w.prop=="string"&&(F+=w.prop.length),w.type==="css-atrule"&&typeof w.name=="string"&&(F+=1+w.name.length+w.raws.afterName.match(/^\s*:?\s*/)[0].length),w.type!=="css-atrule"&&w.raws&&typeof w.raws.between=="string"&&(F+=w.raws.between.length),F}function k(w){let F="initial",Q="initial",Z,re=!1,L=[];for(let te=0;te<w.length;te++){let q=w[te];switch(F){case"initial":if(q==="'"){F="single-quotes";continue}if(q==='"'){F="double-quotes";continue}if((q==="u"||q==="U")&&w.slice(te,te+4).toLowerCase()==="url("){F="url",te+=3;continue}if(q==="*"&&w[te-1]==="/"){F="comment-block";continue}if(q==="/"&&w[te-1]==="/"){F="comment-inline",Z=te-1;continue}continue;case"single-quotes":if(q==="'"&&w[te-1]!=="\\"&&(F=Q,Q="initial"),q===`
|
|
`||q==="\r")return w;continue;case"double-quotes":if(q==='"'&&w[te-1]!=="\\"&&(F=Q,Q="initial"),q===`
|
|
`||q==="\r")return w;continue;case"url":if(q===")"&&(F="initial"),q===`
|
|
`||q==="\r")return w;if(q==="'"){F="single-quotes",Q="url";continue}if(q==='"'){F="double-quotes",Q="url";continue}continue;case"comment-block":q==="/"&&w[te-1]==="*"&&(F="initial");continue;case"comment-inline":(q==='"'||q==="'"||q==="*")&&(re=!0),(q===`
|
|
`||q==="\r")&&(re&&L.push([Z,te]),F="initial",re=!1);continue}}for(let[te,q]of L)w=w.slice(0,te)+w.slice(te,q).replace(/["'*]/g," ")+w.slice(q);return w}function T(w){return w.source.startOffset}function $(w){return w.source.endOffset}c.exports={locStart:T,locEnd:$,calculateLoc:x,replaceQuotesInInlineComments:k}}}),Yp=Oe({"src/language-css/utils/is-less-parser.js"(a,c){ze();function h(d){return d.parser==="css"||d.parser==="less"}c.exports=h}}),fu=Oe({"src/language-css/utils/is-scss.js"(a,c){ze();function h(d,g){return d==="less"||d==="scss"?d==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(g)}c.exports=h}}),du=Oe({"src/language-css/utils/css-units.evaluate.js"(a,c){c.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"}}}),Gp=Oe({"src/language-css/utils/print-unit.js"(a,c){ze();var h=du();function d(g){let y=g.toLowerCase();return Object.prototype.hasOwnProperty.call(h,y)?h[y]:g}c.exports=d}}),rp=Oe({"src/language-css/printer-postcss.js"(a,c){ze();var h=Ds(),{printNumber:d,printString:g,hasNewline:y,isFrontMatterNode:D,isNextLineEmpty:x,isNonEmptyArray:v}=pi(),{builders:{join:S,line:k,hardline:T,softline:$,group:w,fill:F,indent:Q,dedent:Z,ifBreak:re,breakParent:L},utils:{removeLines:te,getDocParts:q}}=Ln(),ae=qp(),ne=Vh(),{insertPragma:Fe}=Ql(),{getAncestorNode:_,getPropOfDeclNode:z,maybeToLowerCase:B,insideValueFunctionNode:M,insideICSSRuleNode:A,insideAtRuleNode:I,insideURLFunctionInImportAtRuleNode:j,isKeyframeAtRuleKeywords:X,isWideKeywords:W,isLastNode:J,isSCSSControlDirectiveNode:ce,isDetachedRulesetDeclarationNode:Ae,isRelationalOperatorNode:Te,isEqualityOperatorNode:we,isMultiplicationNode:Ue,isDivisionNode:ge,isAdditionNode:lt,isSubtractionNode:Pe,isMathOperatorNode:ve,isEachKeywordNode:ut,isForKeywordNode:wt,isURLFunctionNode:pt,isIfElseKeywordNode:jt,hasComposesNode:Be,hasParensAroundNode:Je,hasEmptyRawBefore:$t,isKeyValuePairNode:Nt,isKeyInValuePairNode:jr,isDetachedRulesetCallNode:tt,isTemplatePlaceholderNode:Ve,isTemplatePropNode:ft,isPostcssSimpleVarNode:vt,isSCSSMapItemNode:Ut,isInlineValueCommentNode:sr,isHashNode:Or,isLeftCurlyBraceNode:hn,isRightCurlyBraceNode:Ci,isWordNode:hi,isColonNode:cn,isMediaAndSupportsKeywords:Bn,isColorAdjusterFuncNode:Ft,lastLineHasInlineComment:je,isAtWordPlaceholderNode:Qt,isConfigurationNode:et,isParenGroupNode:_t}=tp(),{locStart:Wr,locEnd:Br}=zp(),Vt=Yp(),R=fu(),We=Gp();function Tt(on){return on.trailingComma==="es5"||on.trailingComma==="all"}function fr(on,li,Jn){let Bt=on.getValue();if(!Bt)return"";if(typeof Bt=="string")return Bt;switch(Bt.type){case"front-matter":return[Bt.raw,T];case"css-root":{let Ni=Er(on,li,Jn),ji=Bt.raws.after.trim();return ji.startsWith(";")&&(ji=ji.slice(1).trim()),[Ni,ji?` ${ji}`:"",q(Ni).length>0?T:""]}case"css-comment":{let Ni=Bt.inline||Bt.raws.inline,ji=li.originalText.slice(Wr(Bt),Br(Bt));return Ni?ji.trimEnd():ji}case"css-rule":return[Jn("selector"),Bt.important?" !important":"",Bt.nodes?[Bt.selector&&Bt.selector.type==="selector-unknown"&&je(Bt.selector.value)?k:" ","{",Bt.nodes.length>0?Q([T,Er(on,li,Jn)]):"",T,"}",Ae(Bt)?";":""]:";"];case"css-decl":{let Ni=on.getParentNode(),{between:ji}=Bt.raws,ds=ji.trim(),$a=ds===":",be=Be(Bt)?te(Jn("value")):Jn("value");return!$a&&je(ds)&&(be=Q([T,Z(be)])),[Bt.raws.before.replace(/[\s;]/g,""),Ni.type==="css-atrule"&&Ni.variable||A(on)?Bt.prop:B(Bt.prop),ds.startsWith("//")?" ":"",ds,Bt.extend?"":" ",Vt(li)&&Bt.extend&&Bt.selector?["extend(",Jn("selector"),")"]:"",be,Bt.raws.important?Bt.raws.important.replace(/\s*!\s*important/i," !important"):Bt.important?" !important":"",Bt.raws.scssDefault?Bt.raws.scssDefault.replace(/\s*!default/i," !default"):Bt.scssDefault?" !default":"",Bt.raws.scssGlobal?Bt.raws.scssGlobal.replace(/\s*!global/i," !global"):Bt.scssGlobal?" !global":"",Bt.nodes?[" {",Q([$,Er(on,li,Jn)]),$,"}"]:ft(Bt)&&!Ni.raws.semicolon&&li.originalText[Br(Bt)-1]!==";"?"":li.__isHTMLStyleAttribute&&J(on,Bt)?re(";"):";"]}case"css-atrule":{let Ni=on.getParentNode(),ji=Ve(Bt)&&!Ni.raws.semicolon&&li.originalText[Br(Bt)-1]!==";";if(Vt(li)){if(Bt.mixin)return[Jn("selector"),Bt.important?" !important":"",ji?"":";"];if(Bt.function)return[Bt.name,Jn("params"),ji?"":";"];if(Bt.variable)return["@",Bt.name,": ",Bt.value?Jn("value"):"",Bt.raws.between.trim()?Bt.raws.between.trim()+" ":"",Bt.nodes?["{",Q([Bt.nodes.length>0?$:"",Er(on,li,Jn)]),$,"}"]:"",ji?"":";"]}return["@",tt(Bt)||Bt.name.endsWith(":")?Bt.name:B(Bt.name),Bt.params?[tt(Bt)?"":Ve(Bt)?Bt.raws.afterName===""?"":Bt.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Bt.raws.afterName)?[T,T]:/^\s*\n/.test(Bt.raws.afterName)?T:" ":" ",Jn("params")]:"",Bt.selector?Q([" ",Jn("selector")]):"",Bt.value?w([" ",Jn("value"),ce(Bt)?Je(Bt)?" ":k:""]):Bt.name==="else"?" ":"",Bt.nodes?[ce(Bt)?"":Bt.selector&&!Bt.selector.nodes&&typeof Bt.selector.value=="string"&&je(Bt.selector.value)||!Bt.selector&&typeof Bt.params=="string"&&je(Bt.params)?k:" ","{",Q([Bt.nodes.length>0?$:"",Er(on,li,Jn)]),$,"}"]:ji?"":";"]}case"media-query-list":{let Ni=[];return on.each(ji=>{let ds=ji.getValue();ds.type==="media-query"&&ds.value===""||Ni.push(Jn())},"nodes"),w(Q(S(k,Ni)))}case"media-query":return[S(" ",on.map(Jn,"nodes")),J(on,Bt)?"":","];case"media-type":return gi(Jr(Bt.value,li));case"media-feature-expression":return Bt.nodes?["(",...on.map(Jn,"nodes"),")"]:Bt.value;case"media-feature":return B(Jr(Bt.value.replace(/ +/g," "),li));case"media-colon":return[Bt.value," "];case"media-value":return gi(Jr(Bt.value,li));case"media-keyword":return Jr(Bt.value,li);case"media-url":return Jr(Bt.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),li);case"media-unknown":return Bt.value;case"selector-root":return w([I(on,"custom-selector")?[_(on,"css-atrule").customSelector,k]:"",S([",",I(on,["extend","custom-selector","nest"])?k:T],on.map(Jn,"nodes"))]);case"selector-selector":return w(Q(on.map(Jn,"nodes")));case"selector-comment":return Bt.value;case"selector-string":return Jr(Bt.value,li);case"selector-tag":{let Ni=on.getParentNode(),ji=Ni&&Ni.nodes.indexOf(Bt),ds=ji&&Ni.nodes[ji-1];return[Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",ds.type==="selector-nesting"?Bt.value:gi(X(on,Bt.value)?Bt.value.toLowerCase():Bt.value)]}case"selector-id":return["#",Bt.value];case"selector-class":return[".",gi(Jr(Bt.value,li))];case"selector-attribute":{var _a;return["[",Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",Bt.attribute.trim(),(_a=Bt.operator)!==null&&_a!==void 0?_a:"",Bt.value?Wn(Jr(Bt.value.trim(),li),li):"",Bt.insensitive?" i":"","]"]}case"selector-combinator":{if(Bt.value==="+"||Bt.value===">"||Bt.value==="~"||Bt.value===">>>"){let ds=on.getParentNode();return[ds.type==="selector-selector"&&ds.nodes[0]===Bt?"":k,Bt.value,J(on,Bt)?"":" "]}let Ni=Bt.value.trim().startsWith("(")?k:"",ji=gi(Jr(Bt.value.trim(),li))||k;return[Ni,ji]}case"selector-universal":return[Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",Bt.value];case"selector-pseudo":return[B(Bt.value),v(Bt.nodes)?w(["(",Q([$,S([",",k],on.map(Jn,"nodes"))]),$,")"]):""];case"selector-nesting":return Bt.value;case"selector-unknown":{let Ni=_(on,"css-rule");if(Ni&&Ni.isSCSSNesterProperty)return gi(Jr(B(Bt.value),li));let ji=on.getParentNode();if(ji.raws&&ji.raws.selector){let $a=Wr(ji),be=$a+ji.raws.selector.length;return li.originalText.slice($a,be).trim()}let ds=on.getParentNode(1);if(ji.type==="value-paren_group"&&ds&&ds.type==="value-func"&&ds.value==="selector"){let $a=Br(ji.open)+1,be=Wr(ji.close),Wt=li.originalText.slice($a,be).trim();return je(Wt)?[L,Wt]:Wt}return Bt.value}case"value-value":case"value-root":return Jn("group");case"value-comment":return li.originalText.slice(Wr(Bt),Br(Bt));case"value-comma_group":{let Ni=on.getParentNode(),ji=on.getParentNode(1),ds=z(on),$a=ds&&Ni.type==="value-value"&&(ds==="grid"||ds.startsWith("grid-template")),be=_(on,"css-atrule"),Wt=be&&ce(be),Tn=Bt.groups.some(Na=>sr(Na)),Li=on.map(Jn,"groups"),Ri=[],ba=M(on,"url"),Ns=!1,Qo=!1;for(let Na=0;Na<Bt.groups.length;++Na){var Bo;Ri.push(Li[Na]);let oo=Bt.groups[Na-1],ri=Bt.groups[Na],Ti=Bt.groups[Na+1],sd=Bt.groups[Na+2];if(ba){(Ti&<(Ti)||lt(ri))&&Ri.push(" ");continue}if(I(on,"forward")&&ri.type==="value-word"&&ri.value&&oo!==void 0&&oo.type==="value-word"&&oo.value==="as"&&Ti.type==="value-operator"&&Ti.value==="*"||!Ti||ri.type==="value-word"&&ri.value.endsWith("-")&&Qt(Ti))continue;if(ri.type==="value-string"&&ri.quoted){let kg=ri.value.lastIndexOf("#{"),Fg=ri.value.lastIndexOf("}");kg!==-1&&Fg!==-1?Ns=kg>Fg:kg!==-1?Ns=!0:Fg!==-1&&(Ns=!1)}if(Ns||cn(ri)||cn(Ti)||ri.type==="value-atword"&&(ri.value===""||ri.value.endsWith("["))||Ti.type==="value-word"&&Ti.value.startsWith("]")||ri.value==="~"||ri.value&&ri.value.includes("\\")&&Ti&&Ti.type!=="value-comment"||oo&&oo.value&&oo.value.indexOf("\\")===oo.value.length-1&&ri.type==="value-operator"&&ri.value==="/"||ri.value==="\\"||vt(ri,Ti)||Or(ri)||hn(ri)||Ci(Ti)||hn(Ti)&&$t(Ti)||Ci(ri)&&$t(Ti)||ri.value==="--"&&Or(Ti))continue;let Tg=ve(ri),GO=ve(Ti);if((Tg&&Or(Ti)||GO&&Ci(ri))&&$t(Ti)||!oo&&ge(ri)||M(on,"calc")&&(lt(ri)||lt(Ti)||Pe(ri)||Pe(Ti))&&$t(Ti))continue;let PE=(lt(ri)||Pe(ri))&&Na===0&&(Ti.type==="value-number"||Ti.isHex)&&ji&&Ft(ji)&&!$t(Ti),HO=sd&&sd.type==="value-func"||sd&&hi(sd)||ri.type==="value-func"||hi(ri),JO=Ti.type==="value-func"||hi(Ti)||oo&&oo.type==="value-func"||oo&&hi(oo);if(!(!(Ue(Ti)||Ue(ri))&&!M(on,"calc")&&!PE&&(ge(Ti)&&!HO||ge(ri)&&!JO||lt(Ti)&&!HO||lt(ri)&&!JO||Pe(Ti)||Pe(ri))&&($t(Ti)||Tg&&(!oo||oo&&ve(oo))))&&!((li.parser==="scss"||li.parser==="less")&&Tg&&ri.value==="-"&&_t(Ti)&&Br(ri)===Wr(Ti.open)&&Ti.open.value==="(")){if(sr(ri)){if(Ni.type==="value-paren_group"){Ri.push(Z(T));continue}Ri.push(T);continue}if(Wt&&(we(Ti)||Te(Ti)||jt(Ti)||ut(ri)||wt(ri))){Ri.push(" ");continue}if(be&&be.name.toLowerCase()==="namespace"){Ri.push(" ");continue}if($a){ri.source&&Ti.source&&ri.source.start.line!==Ti.source.start.line?(Ri.push(T),Qo=!0):Ri.push(" ");continue}if(GO){Ri.push(" ");continue}if(!(Ti&&Ti.value==="...")&&!(Qt(ri)&&Qt(Ti)&&Br(ri)===Wr(Ti))){if(Qt(ri)&&_t(Ti)&&Br(ri)===Wr(Ti.open)){Ri.push($);continue}if(ri.value==="with"&&_t(Ti)){Ri.push(" ");continue}(Bo=ri.value)!==null&&Bo!==void 0&&Bo.endsWith("#")&&Ti.value==="{"&&_t(Ti.group)||Ri.push(k)}}}return Tn&&Ri.push(L),Qo&&Ri.unshift(T),Wt?w(Q(Ri)):j(on)?w(F(Ri)):w(Q(F(Ri)))}case"value-paren_group":{let Ni=on.getParentNode();if(Ni&&pt(Ni)&&(Bt.groups.length===1||Bt.groups.length>0&&Bt.groups[0].type==="value-comma_group"&&Bt.groups[0].groups.length>0&&Bt.groups[0].groups[0].type==="value-word"&&Bt.groups[0].groups[0].value.startsWith("data:")))return[Bt.open?Jn("open"):"",S(",",on.map(Jn,"groups")),Bt.close?Jn("close"):""];if(!Bt.open){let ba=on.map(Jn,"groups"),Ns=[];for(let Qo=0;Qo<ba.length;Qo++)Qo!==0&&Ns.push([",",k]),Ns.push(ba[Qo]);return w(Q(F(Ns)))}let ji=Ut(on),ds=h(Bt.groups),$a=ds&&ds.type==="value-comment",be=jr(Bt,Ni),Wt=et(Bt,Ni),Tn=Wt||ji&&!be,Li=Wt||be,Ri=w([Bt.open?Jn("open"):"",Q([$,S([k],on.map((ba,Ns)=>{let Qo=ba.getValue(),Na=Ns===Bt.groups.length-1,oo=[Jn(),Na?"":","];if(Nt(Qo)&&Qo.type==="value-comma_group"&&Qo.groups&&Qo.groups[0].type!=="value-paren_group"&&Qo.groups[2]&&Qo.groups[2].type==="value-paren_group"){let ri=q(oo[0].contents.contents);ri[1]=w(ri[1]),oo=[w(Z(oo))]}if(!Na&&Qo.type==="value-comma_group"&&v(Qo.groups)){let ri=h(Qo.groups);!ri.source&&ri.close&&(ri=ri.close),ri.source&&x(li.originalText,ri,Br)&&oo.push(T)}return oo},"groups"))]),re(!$a&&R(li.parser,li.originalText)&&ji&&Tt(li)?",":""),$,Bt.close?Jn("close"):""],{shouldBreak:Tn});return Li?Z(Ri):Ri}case"value-func":return[Bt.value,I(on,"supports")&&Bn(Bt)?" ":"",Jn("group")];case"value-paren":return Bt.value;case"value-number":return[cs(Bt.value),We(Bt.unit)];case"value-operator":return Bt.value;case"value-word":return Bt.isColor&&Bt.isHex||W(Bt.value)?Bt.value.toLowerCase():Bt.value;case"value-colon":{let Ni=on.getParentNode(),ji=Ni&&Ni.groups.indexOf(Bt),ds=ji&&Ni.groups[ji-1];return[Bt.value,ds&&typeof ds.value=="string"&&h(ds.value)==="\\"||M(on,"url")?"":k]}case"value-comma":return[Bt.value," "];case"value-string":return g(Bt.raws.quote+Bt.value+Bt.raws.quote,li);case"value-atword":return["@",Bt.value];case"value-unicode-range":return Bt.value;case"value-unknown":return Bt.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(Bt.type)}`)}}function Er(on,li,Jn){let Bt=[];return on.each((_a,Bo,Ni)=>{let ji=Ni[Bo-1];if(ji&&ji.type==="css-comment"&&ji.text.trim()==="prettier-ignore"){let ds=_a.getValue();Bt.push(li.originalText.slice(Wr(ds),Br(ds)))}else Bt.push(Jn());Bo!==Ni.length-1&&(Ni[Bo+1].type==="css-comment"&&!y(li.originalText,Wr(Ni[Bo+1]),{backwards:!0})&&!D(Ni[Bo])||Ni[Bo+1].type==="css-atrule"&&Ni[Bo+1].name==="else"&&Ni[Bo].type!=="css-comment"?Bt.push(" "):(Bt.push(li.__isHTMLStyleAttribute?k:T),x(li.originalText,_a.getValue(),Br)&&!D(Ni[Bo])&&Bt.push(T)))},"nodes"),Bt}var an=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Dr=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Fs=/[A-Za-z]+/g,tn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,bs=new RegExp(an.source+`|(${tn.source})?(${Dr.source})(${Fs.source})?`,"g");function Jr(on,li){return on.replace(an,Jn=>g(Jn,li))}function Wn(on,li){let Jn=li.singleQuote?"'":'"';return on.includes('"')||on.includes("'")?on:Jn+on+Jn}function gi(on){return on.replace(bs,(li,Jn,Bt,_a,Bo)=>!Bt&&_a?cs(_a)+B(Bo||""):li)}function cs(on){return d(on).replace(/\.0(?=$|e)/,"")}c.exports={print:fr,embed:ne,insertPragma:Fe,massageAstNode:ae}}}),Hp=Oe({"src/language-css/options.js"(a,c){ze();var h=hu();c.exports={singleQuote:h.singleQuote}}}),jl=Oe({"src/language-css/parsers.js"(){ze()}}),np=Oe({"node_modules/linguist-languages/data/CSS.json"(a,c){c.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Xh=Oe({"node_modules/linguist-languages/data/PostCSS.json"(a,c){c.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),ip=Oe({"node_modules/linguist-languages/data/Less.json"(a,c){c.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}}}),sp=Oe({"node_modules/linguist-languages/data/SCSS.json"(a,c){c.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),op=Oe({"src/language-css/index.js"(a,c){ze();var h=_s(),d=rp(),g=Hp(),y=jl(),D=[h(np(),v=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...v.extensions,".wxss"]})),h(Xh(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),h(ip(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),h(sp(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],x={postcss:d};c.exports={languages:D,options:g,printers:x,parsers:y}}}),E=Oe({"src/language-handlebars/loc.js"(a,c){ze();function h(g){return g.loc.start.offset}function d(g){return g.loc.end.offset}c.exports={locStart:h,locEnd:d}}}),K=Oe({"src/language-handlebars/clean.js"(a,c){ze();function h(d,g){if(d.type==="TextNode"){let y=d.chars.trim();if(!y)return null;g.chars=y.replace(/[\t\n\f\r ]+/g," ")}d.type==="AttrNode"&&d.name.toLowerCase()==="class"&&delete g.value}h.ignoredProperties=new Set(["loc","selfClosing"]),c.exports=h}}),Y=Oe({"src/language-handlebars/html-void-elements.evaluate.js"(a,c){c.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),G=Oe({"src/language-handlebars/utils.js"(a,c){ze();var h=Ds(),d=Y();function g(q){let ae=q.getValue(),ne=q.getParentNode(0);return!!($(q,["ElementNode"])&&h(ne.children)===ae||$(q,["Block"])&&h(ne.body)===ae)}function y(q){return q.toUpperCase()===q}function D(q){return T(q,["ElementNode"])&&typeof q.tag=="string"&&!q.tag.startsWith(":")&&(y(q.tag[0])||q.tag.includes("."))}var x=new Set(d);function v(q){return x.has(q.toLowerCase())&&!y(q[0])}function S(q){return q.selfClosing===!0||v(q.tag)||D(q)&&q.children.every(ae=>k(ae))}function k(q){return T(q,["TextNode"])&&!/\S/.test(q.chars)}function T(q,ae){return q&&ae.includes(q.type)}function $(q,ae){let ne=q.getParentNode(0);return T(ne,ae)}function w(q,ae){let ne=Z(q);return T(ne,ae)}function F(q,ae){let ne=re(q);return T(ne,ae)}function Q(q,ae){var ne,Fe,_,z;let B=q.getValue(),M=(ne=q.getParentNode(0))!==null&&ne!==void 0?ne:{},A=(Fe=(_=(z=M.children)!==null&&z!==void 0?z:M.body)!==null&&_!==void 0?_:M.parts)!==null&&Fe!==void 0?Fe:[],I=A.indexOf(B);return I!==-1&&A[I+ae]}function Z(q){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Q(q,-ae)}function re(q){return Q(q,1)}function L(q){return T(q,["MustacheCommentStatement"])&&typeof q.value=="string"&&q.value.trim()==="prettier-ignore"}function te(q){let ae=q.getValue(),ne=Z(q,2);return L(ae)||L(ne)}c.exports={getNextNode:re,getPreviousNode:Z,hasPrettierIgnore:te,isLastNodeOfSiblings:g,isNextNodeOfSomeType:F,isNodeOfSomeType:T,isParentOfSomeType:$,isPreviousNodeOfSomeType:w,isVoid:S,isWhitespaceNode:k}}}),se=Oe({"src/language-handlebars/printer-glimmer.js"(a,c){ze();var{builders:{dedent:h,fill:d,group:g,hardline:y,ifBreak:D,indent:x,join:v,line:S,softline:k},utils:{getDocParts:T,replaceTextEndOfLine:$}}=Ln(),{getPreferredQuote:w,isNonEmptyArray:F}=pi(),{locStart:Q,locEnd:Z}=E(),re=K(),{getNextNode:L,getPreviousNode:te,hasPrettierIgnore:q,isLastNodeOfSiblings:ae,isNextNodeOfSomeType:ne,isNodeOfSomeType:Fe,isParentOfSomeType:_,isPreviousNodeOfSomeType:z,isVoid:B,isWhitespaceNode:M}=G(),A=2;function I(je,Qt,et){let _t=je.getValue();if(!_t)return"";if(q(je))return Qt.originalText.slice(Q(_t),Z(_t));let Wr=Qt.singleQuote?"'":'"';switch(_t.type){case"Block":case"Program":case"Template":return g(je.map(et,"body"));case"ElementNode":{let Br=g(X(je,et)),Vt=Qt.htmlWhitespaceSensitivity==="ignore"&&ne(je,["ElementNode"])?k:"";if(B(_t))return[Br,Vt];let R=["</",_t.tag,">"];return _t.children.length===0?[Br,x(R),Vt]:Qt.htmlWhitespaceSensitivity==="ignore"?[Br,x(W(je,Qt,et)),y,x(R),Vt]:[Br,x(g(W(je,Qt,et))),x(R),Vt]}case"BlockStatement":{let Br=je.getParentNode(1);return Br&&Br.inverse&&Br.inverse.body.length===1&&Br.inverse.body[0]===_t&&Br.inverse.body[0].path.parts[0]===Br.path.parts[0]?[wt(je,et,Br.inverse.body[0].path.parts[0]),$t(je,et,Qt),Nt(je,et,Qt)]:[ve(je,et),g([$t(je,et,Qt),Nt(je,et,Qt),pt(je,et,Qt)])]}case"ElementModifierStatement":return g(["{{",hi(je,et),"}}"]);case"MustacheStatement":return g([ce(_t),hi(je,et),Ae(_t)]);case"SubExpression":return g(["(",Ci(je,et),k,")"]);case"AttrNode":{let Br=_t.value.type==="TextNode";if(Br&&_t.value.chars===""&&Q(_t.value)===Z(_t.value))return _t.name;let Vt=Br?w(_t.value.chars,Wr).quote:_t.value.type==="ConcatStatement"?w(_t.value.parts.filter(We=>We.type==="TextNode").map(We=>We.chars).join(""),Wr).quote:"",R=et("value");return[_t.name,"=",Vt,_t.name==="class"&&Vt?g(x(R)):R,Vt]}case"ConcatStatement":return je.map(et,"parts");case"Hash":return v(S,je.map(et,"pairs"));case"HashPair":return[_t.key,"=",et("value")];case"TextNode":{let Br=_t.chars.replace(/{{/g,"\\{{"),Vt=Ve(je);if(Vt){if(Vt==="class"){let tn=Br.trim().split(/\s+/).join(" "),bs=!1,Jr=!1;return _(je,["ConcatStatement"])&&(z(je,["MustacheStatement"])&&/^\s/.test(Br)&&(bs=!0),ne(je,["MustacheStatement"])&&/\s$/.test(Br)&&tn!==""&&(Jr=!0)),[bs?S:"",tn,Jr?S:""]}return $(Br)}let R=/^[\t\n\f\r ]*$/.test(Br),We=!te(je),Tt=!L(je);if(Qt.htmlWhitespaceSensitivity!=="ignore"){let tn=/^[\t\n\f\r ]*/,bs=/[\t\n\f\r ]*$/,Jr=Tt&&_(je,["Template"]),Wn=We&&_(je,["Template"]);if(R){if(Wn||Jr)return"";let Jn=[S],Bt=ft(Br);return Bt&&(Jn=sr(Bt)),ae(je)&&(Jn=Jn.map(_a=>h(_a))),Jn}let[gi]=Br.match(tn),[cs]=Br.match(bs),on=[];if(gi){on=[S];let Jn=ft(gi);Jn&&(on=sr(Jn)),Br=Br.replace(tn,"")}let li=[];if(cs){if(!Jr){li=[S];let Jn=ft(cs);Jn&&(li=sr(Jn)),ae(je)&&(li=li.map(Bt=>h(Bt)))}Br=Br.replace(bs,"")}return[...on,d(jr(Br)),...li]}let fr=ft(Br),Er=vt(Br),an=Ut(Br);if((We||Tt)&&R&&_(je,["Block","ElementNode","Template"]))return"";R&&fr?(Er=Math.min(fr,A),an=0):(ne(je,["BlockStatement","ElementNode"])&&(an=Math.max(an,1)),z(je,["BlockStatement","ElementNode"])&&(Er=Math.max(Er,1)));let Dr="",Fs="";return an===0&&ne(je,["MustacheStatement"])&&(Fs=" "),Er===0&&z(je,["MustacheStatement"])&&(Dr=" "),We&&(Er=0,Dr=""),Tt&&(an=0,Fs=""),Br=Br.replace(/^[\t\n\f\r ]+/g,Dr).replace(/[\t\n\f\r ]+$/,Fs),[...sr(Er),d(jr(Br)),...sr(an)]}case"MustacheCommentStatement":{let Br=Q(_t),Vt=Z(_t),R=Qt.originalText.charAt(Br+2)==="~",We=Qt.originalText.charAt(Vt-3)==="~",Tt=_t.value.includes("}}")?"--":"";return["{{",R?"~":"","!",Tt,_t.value,Tt,We?"~":"","}}"]}case"PathExpression":return _t.original;case"BooleanLiteral":return String(_t.value);case"CommentStatement":return["<!--",_t.value,"-->"];case"StringLiteral":{if(hn(je)){let Br=Qt.singleQuote?'"':"'";return Or(_t.value,Br)}return Or(_t.value,Wr)}case"NumberLiteral":return String(_t.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(_t.type))}}function j(je,Qt){return Q(je)-Q(Qt)}function X(je,Qt){let et=je.getValue(),_t=["attributes","modifiers","comments"].filter(Br=>F(et[Br])),Wr=_t.flatMap(Br=>et[Br]).sort(j);for(let Br of _t)je.each(Vt=>{let R=Wr.indexOf(Vt.getValue());Wr.splice(R,1,[S,Qt()])},Br);return F(et.blockParams)&&Wr.push(S,Ft(et)),["<",et.tag,x(Wr),J(et)]}function W(je,Qt,et){let _t=je.getValue().children.every(Wr=>M(Wr));return Qt.htmlWhitespaceSensitivity==="ignore"&&_t?"":je.map((Wr,Br)=>{let Vt=et();return Br===0&&Qt.htmlWhitespaceSensitivity==="ignore"?[k,Vt]:Vt},"children")}function J(je){return B(je)?D([k,"/>"],[" />",k]):D([k,">"],">")}function ce(je){let Qt=je.escaped===!1?"{{{":"{{",et=je.strip&&je.strip.open?"~":"";return[Qt,et]}function Ae(je){let Qt=je.escaped===!1?"}}}":"}}";return[je.strip&&je.strip.close?"~":"",Qt]}function Te(je){let Qt=ce(je),et=je.openStrip.open?"~":"";return[Qt,et,"#"]}function we(je){let Qt=Ae(je);return[je.openStrip.close?"~":"",Qt]}function Ue(je){let Qt=ce(je),et=je.closeStrip.open?"~":"";return[Qt,et,"/"]}function ge(je){let Qt=Ae(je);return[je.closeStrip.close?"~":"",Qt]}function lt(je){let Qt=ce(je),et=je.inverseStrip.open?"~":"";return[Qt,et]}function Pe(je){let Qt=Ae(je);return[je.inverseStrip.close?"~":"",Qt]}function ve(je,Qt){let et=je.getValue(),_t=[],Wr=Bn(je,Qt);return Wr&&_t.push(g(Wr)),F(et.program.blockParams)&&_t.push(Ft(et.program)),g([Te(et),cn(je,Qt),_t.length>0?x([S,v(S,_t)]):"",k,we(et)])}function ut(je,Qt){return[Qt.htmlWhitespaceSensitivity==="ignore"?y:"",lt(je),"else",Pe(je)]}function wt(je,Qt,et){let _t=je.getValue(),Wr=je.getParentNode(1);return g([lt(Wr),["else"," ",et],x([S,g(Bn(je,Qt)),...F(_t.program.blockParams)?[S,Ft(_t.program)]:[]]),k,Pe(Wr)])}function pt(je,Qt,et){let _t=je.getValue();return et.htmlWhitespaceSensitivity==="ignore"?[jt(_t)?k:y,Ue(_t),Qt("path"),ge(_t)]:[Ue(_t),Qt("path"),ge(_t)]}function jt(je){return Fe(je,["BlockStatement"])&&je.program.body.every(Qt=>M(Qt))}function Be(je){return Je(je)&&je.inverse.body.length===1&&Fe(je.inverse.body[0],["BlockStatement"])&&je.inverse.body[0].path.parts[0]===je.path.parts[0]}function Je(je){return Fe(je,["BlockStatement"])&&je.inverse}function $t(je,Qt,et){let _t=je.getValue();if(jt(_t))return"";let Wr=Qt("program");return et.htmlWhitespaceSensitivity==="ignore"?x([y,Wr]):x(Wr)}function Nt(je,Qt,et){let _t=je.getValue(),Wr=Qt("inverse"),Br=et.htmlWhitespaceSensitivity==="ignore"?[y,Wr]:Wr;return Be(_t)?Br:Je(_t)?[ut(_t,et),x(Br)]:""}function jr(je){return T(v(S,tt(je)))}function tt(je){return je.split(/[\t\n\f\r ]+/)}function Ve(je){for(let Qt=0;Qt<2;Qt++){let et=je.getParentNode(Qt);if(et&&et.type==="AttrNode")return et.name.toLowerCase()}}function ft(je){return je=typeof je=="string"?je:"",je.split(`
|
|
`).length-1}function vt(je){je=typeof je=="string"?je:"";let Qt=(je.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return ft(Qt)}function Ut(je){je=typeof je=="string"?je:"";let Qt=(je.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return ft(Qt)}function sr(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(je,A)}).fill(y)}function Or(je,Qt){let{quote:et,regex:_t}=w(je,Qt);return[et,je.replace(_t,`\\${et}`),et]}function hn(je){let Qt=0,et=je.getParentNode(Qt);for(;et&&Fe(et,["SubExpression"]);)Qt++,et=je.getParentNode(Qt);return!!(et&&Fe(je.getParentNode(Qt+1),["ConcatStatement"])&&Fe(je.getParentNode(Qt+2),["AttrNode"]))}function Ci(je,Qt){let et=cn(je,Qt),_t=Bn(je,Qt);return _t?x([et,S,g(_t)]):et}function hi(je,Qt){let et=cn(je,Qt),_t=Bn(je,Qt);return _t?[x([et,S,_t]),k]:et}function cn(je,Qt){return Qt("path")}function Bn(je,Qt){let et=je.getValue(),_t=[];if(et.params.length>0){let Wr=je.map(Qt,"params");_t.push(...Wr)}if(et.hash&&et.hash.pairs.length>0){let Wr=Qt("hash");_t.push(Wr)}return _t.length===0?"":v(S,_t)}function Ft(je){return["as |",je.blockParams.join(" "),"|"]}c.exports={print:I,massageAstNode:re}}}),pe=Oe({"src/language-handlebars/parsers.js"(){ze()}}),le=Oe({"node_modules/linguist-languages/data/Handlebars.json"(a,c){c.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),de=Oe({"src/language-handlebars/index.js"(a,c){ze();var h=_s(),d=se(),g=pe(),y=[h(le(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],D={glimmer:d};c.exports={languages:y,printers:D,parsers:g}}}),ie=Oe({"src/language-graphql/pragma.js"(a,c){ze();function h(g){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(g)}function d(g){return`# @format
|
|
|
|
`+g}c.exports={hasPragma:h,insertPragma:d}}}),fe=Oe({"src/language-graphql/loc.js"(a,c){ze();function h(g){return typeof g.start=="number"?g.start:g.loc&&g.loc.start}function d(g){return typeof g.end=="number"?g.end:g.loc&&g.loc.end}c.exports={locStart:h,locEnd:d}}}),P=Oe({"src/language-graphql/printer-graphql.js"(a,c){ze();var{builders:{join:h,hardline:d,line:g,softline:y,group:D,indent:x,ifBreak:v}}=Ln(),{isNextLineEmpty:S,isNonEmptyArray:k}=pi(),{insertPragma:T}=ie(),{locStart:$,locEnd:w}=fe();function F(ne,Fe,_){let z=ne.getValue();if(!z)return"";if(typeof z=="string")return z;switch(z.kind){case"Document":{let B=[];return ne.each((M,A,I)=>{B.push(_()),A!==I.length-1&&(B.push(d),S(Fe.originalText,M.getValue(),w)&&B.push(d))},"definitions"),[...B,d]}case"OperationDefinition":{let B=Fe.originalText[$(z)]!=="{",M=!!z.name;return[B?z.operation:"",B&&M?[" ",_("name")]:"",B&&!M&&k(z.variableDefinitions)?" ":"",k(z.variableDefinitions)?D(["(",x([y,h([v("",", "),y],ne.map(_,"variableDefinitions"))]),y,")"]):"",Q(ne,_,z),z.selectionSet?!B&&!M?"":" ":"",_("selectionSet")]}case"FragmentDefinition":return["fragment ",_("name"),k(z.variableDefinitions)?D(["(",x([y,h([v("",", "),y],ne.map(_,"variableDefinitions"))]),y,")"]):""," on ",_("typeCondition"),Q(ne,_,z)," ",_("selectionSet")];case"SelectionSet":return["{",x([d,h(d,Z(ne,Fe,_,"selections"))]),d,"}"];case"Field":return D([z.alias?[_("alias"),": "]:"",_("name"),z.arguments.length>0?D(["(",x([y,h([v("",", "),y],Z(ne,Fe,_,"arguments"))]),y,")"]):"",Q(ne,_,z),z.selectionSet?" ":"",_("selectionSet")]);case"Name":return z.value;case"StringValue":{if(z.block){let B=z.value.replace(/"""/g,"\\$&").split(`
|
|
`);return B.length===1&&(B[0]=B[0].trim()),B.every(M=>M==="")&&(B.length=0),h(d,['"""',...B,'"""'])}return['"',z.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return z.value;case"BooleanValue":return z.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",_("name")];case"ListValue":return D(["[",x([y,h([v("",", "),y],ne.map(_,"values"))]),y,"]"]);case"ObjectValue":return D(["{",Fe.bracketSpacing&&z.fields.length>0?" ":"",x([y,h([v("",", "),y],ne.map(_,"fields"))]),y,v("",Fe.bracketSpacing&&z.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[_("name"),": ",_("value")];case"Directive":return["@",_("name"),z.arguments.length>0?D(["(",x([y,h([v("",", "),y],Z(ne,Fe,_,"arguments"))]),y,")"]):""];case"NamedType":return _("name");case"VariableDefinition":return[_("variable"),": ",_("type"),z.defaultValue?[" = ",_("defaultValue")]:"",Q(ne,_,z)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[_("description"),z.description?d:"",z.kind==="ObjectTypeExtension"?"extend ":"","type ",_("name"),z.interfaces.length>0?[" implements ",...te(ne,Fe,_)]:"",Q(ne,_,z),z.fields.length>0?[" {",x([d,h(d,Z(ne,Fe,_,"fields"))]),d,"}"]:""];case"FieldDefinition":return[_("description"),z.description?d:"",_("name"),z.arguments.length>0?D(["(",x([y,h([v("",", "),y],Z(ne,Fe,_,"arguments"))]),y,")"]):"",": ",_("type"),Q(ne,_,z)];case"DirectiveDefinition":return[_("description"),z.description?d:"","directive ","@",_("name"),z.arguments.length>0?D(["(",x([y,h([v("",", "),y],Z(ne,Fe,_,"arguments"))]),y,")"]):"",z.repeatable?" repeatable":""," on ",h(" | ",ne.map(_,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[_("description"),z.description?d:"",z.kind==="EnumTypeExtension"?"extend ":"","enum ",_("name"),Q(ne,_,z),z.values.length>0?[" {",x([d,h(d,Z(ne,Fe,_,"values"))]),d,"}"]:""];case"EnumValueDefinition":return[_("description"),z.description?d:"",_("name"),Q(ne,_,z)];case"InputValueDefinition":return[_("description"),z.description?z.description.block?d:g:"",_("name"),": ",_("type"),z.defaultValue?[" = ",_("defaultValue")]:"",Q(ne,_,z)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[_("description"),z.description?d:"",z.kind==="InputObjectTypeExtension"?"extend ":"","input ",_("name"),Q(ne,_,z),z.fields.length>0?[" {",x([d,h(d,Z(ne,Fe,_,"fields"))]),d,"}"]:""];case"SchemaExtension":return["extend schema",Q(ne,_,z),...z.operationTypes.length>0?[" {",x([d,h(d,Z(ne,Fe,_,"operationTypes"))]),d,"}"]:[]];case"SchemaDefinition":return[_("description"),z.description?d:"","schema",Q(ne,_,z)," {",z.operationTypes.length>0?x([d,h(d,Z(ne,Fe,_,"operationTypes"))]):"",d,"}"];case"OperationTypeDefinition":return[_("operation"),": ",_("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[_("description"),z.description?d:"",z.kind==="InterfaceTypeExtension"?"extend ":"","interface ",_("name"),z.interfaces.length>0?[" implements ",...te(ne,Fe,_)]:"",Q(ne,_,z),z.fields.length>0?[" {",x([d,h(d,Z(ne,Fe,_,"fields"))]),d,"}"]:""];case"FragmentSpread":return["...",_("name"),Q(ne,_,z)];case"InlineFragment":return["...",z.typeCondition?[" on ",_("typeCondition")]:"",Q(ne,_,z)," ",_("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return D([_("description"),z.description?d:"",D([z.kind==="UnionTypeExtension"?"extend ":"","union ",_("name"),Q(ne,_,z),z.types.length>0?[" =",v(""," "),x([v([g," "]),h([g,"| "],ne.map(_,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[_("description"),z.description?d:"",z.kind==="ScalarTypeExtension"?"extend ":"","scalar ",_("name"),Q(ne,_,z)];case"NonNullType":return[_("type"),"!"];case"ListType":return["[",_("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(z.kind))}}function Q(ne,Fe,_){if(_.directives.length===0)return"";let z=h(g,ne.map(Fe,"directives"));return _.kind==="FragmentDefinition"||_.kind==="OperationDefinition"?D([g,z]):[" ",D(x([y,z]))]}function Z(ne,Fe,_,z){return ne.map((B,M,A)=>{let I=_();return M<A.length-1&&S(Fe.originalText,B.getValue(),w)?[I,d]:I},z)}function re(ne){return ne.kind&&ne.kind!=="Comment"}function L(ne){let Fe=ne.getValue();if(Fe.kind==="Comment")return"#"+Fe.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(Fe))}function te(ne,Fe,_){let z=ne.getNode(),B=[],{interfaces:M}=z,A=ne.map(I=>_(I),"interfaces");for(let I=0;I<M.length;I++){let j=M[I];B.push(A[I]);let X=M[I+1];if(X){let W=Fe.originalText.slice(j.loc.end,X.loc.start),J=W.includes("#"),ce=W.replace(/#.*/g,"").trim();B.push(ce===","?",":" &",J?g:" ")}}return B}function q(ne,Fe){ne.kind==="StringValue"&&ne.block&&!ne.value.includes(`
|
|
`)&&(Fe.value=Fe.value.trim())}q.ignoredProperties=new Set(["loc","comments"]);function ae(ne){var Fe;let _=ne.getValue();return _==null||(Fe=_.comments)===null||Fe===void 0?void 0:Fe.some(z=>z.value.trim()==="prettier-ignore")}c.exports={print:F,massageAstNode:q,hasPrettierIgnore:ae,insertPragma:T,printComment:L,canAttachComment:re}}}),C=Oe({"src/language-graphql/options.js"(a,c){ze();var h=hu();c.exports={bracketSpacing:h.bracketSpacing}}}),H=Oe({"src/language-graphql/parsers.js"(){ze()}}),V=Oe({"node_modules/linguist-languages/data/GraphQL.json"(a,c){c.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),Se=Oe({"src/language-graphql/index.js"(a,c){ze();var h=_s(),d=P(),g=C(),y=H(),D=[h(V(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],x={graphql:d};c.exports={languages:D,options:g,printers:x,parsers:y}}}),ye=Oe({"node_modules/collapse-white-space/index.js"(a,c){ze(),c.exports=h;function h(d){return String(d).replace(/\s+/g," ")}}}),Le=Oe({"src/language-markdown/loc.js"(a,c){ze();function h(g){return g.position.start.offset}function d(g){return g.position.end.offset}c.exports={locStart:h,locEnd:d}}}),xe=Oe({"src/language-markdown/constants.evaluate.js"(a,c){c.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]"}}}),Ee=Oe({"src/language-markdown/utils.js"(a,c){ze();var{getLast:h}=pi(),{locStart:d,locEnd:g}=Le(),{cjkPattern:y,kPattern:D,punctuationPattern:x}=xe(),v=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],S=[...v,"tableCell","paragraph","heading"],k=new RegExp(D),T=new RegExp(x);function $(L,te){let q="non-cjk",ae="cj-letter",ne="k-letter",Fe="cjk-punctuation",_=[],z=(te.proseWrap==="preserve"?L:L.replace(new RegExp(`(${y})
|
|
(${y})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[M,A]of z.entries()){if(M%2===1){_.push({type:"whitespace",value:/\n/.test(A)?`
|
|
`:" "});continue}if((M===0||M===z.length-1)&&A==="")continue;let I=A.split(new RegExp(`(${y})`));for(let[j,X]of I.entries())if(!((j===0||j===I.length-1)&&X==="")){if(j%2===0){X!==""&&B({type:"word",value:X,kind:q,hasLeadingPunctuation:T.test(X[0]),hasTrailingPunctuation:T.test(h(X))});continue}B(T.test(X)?{type:"word",value:X,kind:Fe,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:X,kind:k.test(X)?ne:ae,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return _;function B(M){let A=h(_);A&&A.type==="word"&&(A.kind===q&&M.kind===ae&&!A.hasTrailingPunctuation||A.kind===ae&&M.kind===q&&!M.hasLeadingPunctuation?_.push({type:"whitespace",value:" "}):!I(q,Fe)&&![A.value,M.value].some(j=>/\u3000/.test(j))&&_.push({type:"whitespace",value:""})),_.push(M);function I(j,X){return A.kind===j&&M.kind===X||A.kind===X&&M.kind===j}}}function w(L,te){let[,q,ae,ne]=te.slice(L.position.start.offset,L.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:q,marker:ae,leadingSpaces:ne}}function F(L,te){if(!L.ordered||L.children.length<2)return!1;let q=Number(w(L.children[0],te.originalText).numberText),ae=Number(w(L.children[1],te.originalText).numberText);if(q===0&&L.children.length>2){let ne=Number(w(L.children[2],te.originalText).numberText);return ae===1&&ne===1}return ae===1}function Q(L,te){let{value:q}=L;return L.position.end.offset===te.length&&q.endsWith(`
|
|
`)&&te.endsWith(`
|
|
`)?q.slice(0,-1):q}function Z(L,te){return function q(ae,ne,Fe){let _=Object.assign({},te(ae,ne,Fe));return _.children&&(_.children=_.children.map((z,B)=>q(z,B,[_,...Fe]))),_}(L,null,[])}function re(L){if((L==null?void 0:L.type)!=="link"||L.children.length!==1)return!1;let[te]=L.children;return d(L)===d(te)&&g(L)===g(te)}c.exports={mapAst:Z,splitText:$,punctuationPattern:x,getFencedCodeBlockValue:Q,getOrderedListItemInfo:w,hasGitDiffFriendlyOrderedList:F,INLINE_NODE_TYPES:v,INLINE_NODE_WRAPPER_TYPES:S,isAutolink:re}}}),ct=Oe({"src/language-markdown/embed.js"(a,c){ze();var{inferParserByLanguage:h,getMaxContinuousCount:d}=pi(),{builders:{hardline:g,markAsRoot:y},utils:{replaceEndOfLine:D}}=Ln(),x=dc(),{getFencedCodeBlockValue:v}=Ee();function S(k,T,$,w){let F=k.getValue();if(F.type==="code"&&F.lang!==null){let Q=h(F.lang,w);if(Q){let Z=w.__inJsTemplate?"~":"`",re=Z.repeat(Math.max(3,d(F.value,Z)+1)),L={parser:Q};F.lang==="tsx"&&(L.filepath="dummy.tsx");let te=$(v(F,w.originalText),L,{stripTrailingHardline:!0});return y([re,F.lang,F.meta?" "+F.meta:"",g,D(te),g,re])}}switch(F.type){case"front-matter":return x(F,$);case"importExport":return[$(F.value,{parser:"babel"},{stripTrailingHardline:!0}),g];case"jsx":return $(`<$>${F.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}c.exports=S}}),dt=Oe({"src/language-markdown/pragma.js"(a,c){ze();var h=Zp(),d=["format","prettier"];function g(y){let D=`@(${d.join("|")})`,x=new RegExp([`<!--\\s*${D}\\s*-->`,`{\\s*\\/\\*\\s*${D}\\s*\\*\\/\\s*}`,`<!--.*\r?
|
|
[\\s\\S]*(^|
|
|
)[^\\S
|
|
]*${D}[^\\S
|
|
]*($|
|
|
)[\\s\\S]*
|
|
.*-->`].join("|"),"m"),v=y.match(x);return(v==null?void 0:v.index)===0}c.exports={startWithPragma:g,hasPragma:y=>g(h(y).content.trimStart()),insertPragma:y=>{let D=h(y),x=`<!-- @${d[0]} -->`;return D.frontMatter?`${D.frontMatter.raw}
|
|
|
|
${x}
|
|
|
|
${D.content}`:`${x}
|
|
|
|
${D.content}`}}}}),Pt=Oe({"src/language-markdown/print-preprocess.js"(a,c){ze();var h=Ds(),{getOrderedListItemInfo:d,mapAst:g,splitText:y}=Ee(),D=/^.$/su;function x(re,L){return re=k(re,L),re=w(re),re=S(re,L),re=Q(re,L),re=Z(re,L),re=F(re,L),re=v(re),re=T(re),re}function v(re){return g(re,L=>L.type!=="import"&&L.type!=="export"?L:Object.assign(Object.assign({},L),{},{type:"importExport"}))}function S(re,L){return g(re,te=>te.type!=="inlineCode"||L.proseWrap==="preserve"?te:Object.assign(Object.assign({},te),{},{value:te.value.replace(/\s+/g," ")}))}function k(re,L){return g(re,te=>te.type!=="text"||te.value==="*"||te.value==="_"||!D.test(te.value)||te.position.end.offset-te.position.start.offset===te.value.length?te:Object.assign(Object.assign({},te),{},{value:L.originalText.slice(te.position.start.offset,te.position.end.offset)}))}function T(re){return $(re,(L,te)=>L.type==="importExport"&&te.type==="importExport",(L,te)=>({type:"importExport",value:L.value+`
|
|
|
|
`+te.value,position:{start:L.position.start,end:te.position.end}}))}function $(re,L,te){return g(re,q=>{if(!q.children)return q;let ae=q.children.reduce((ne,Fe)=>{let _=h(ne);return _&&L(_,Fe)?ne.splice(-1,1,te(_,Fe)):ne.push(Fe),ne},[]);return Object.assign(Object.assign({},q),{},{children:ae})})}function w(re){return $(re,(L,te)=>L.type==="text"&&te.type==="text",(L,te)=>({type:"text",value:L.value+te.value,position:{start:L.position.start,end:te.position.end}}))}function F(re,L){return g(re,(te,q,ae)=>{let[ne]=ae;if(te.type!=="text")return te;let{value:Fe}=te;return ne.type==="paragraph"&&(q===0&&(Fe=Fe.trimStart()),q===ne.children.length-1&&(Fe=Fe.trimEnd())),{type:"sentence",position:te.position,children:y(Fe,L)}})}function Q(re,L){return g(re,(te,q,ae)=>{if(te.type==="code"){let ne=/^\n?(?: {4,}|\t)/.test(L.originalText.slice(te.position.start.offset,te.position.end.offset));if(te.isIndented=ne,ne)for(let Fe=0;Fe<ae.length;Fe++){let _=ae[Fe];if(_.hasIndentedCodeblock)break;_.type==="list"&&(_.hasIndentedCodeblock=!0)}}return te})}function Z(re,L){return g(re,(ae,ne,Fe)=>{if(ae.type==="list"&&ae.children.length>0){for(let _=0;_<Fe.length;_++){let z=Fe[_];if(z.type==="list"&&!z.isAligned)return ae.isAligned=!1,ae}ae.isAligned=q(ae)}return ae});function te(ae){return ae.children.length===0?-1:ae.children[0].position.start.column-1}function q(ae){if(!ae.ordered)return!0;let[ne,Fe]=ae.children;if(d(ne,L.originalText).leadingSpaces.length>1)return!0;let _=te(ne);if(_===-1)return!1;if(ae.children.length===1)return _%L.tabWidth===0;let z=te(Fe);return _!==z?!1:_%L.tabWidth===0?!0:d(Fe,L.originalText).leadingSpaces.length>1}}c.exports=x}}),wr=Oe({"src/language-markdown/clean.js"(a,c){ze();var h=ye(),{isFrontMatterNode:d}=pi(),{startWithPragma:g}=dt(),y=new Set(["position","raw"]);function D(x,v,S){if((x.type==="front-matter"||x.type==="code"||x.type==="yaml"||x.type==="import"||x.type==="export"||x.type==="jsx")&&delete v.value,x.type==="list"&&delete v.isAligned,(x.type==="list"||x.type==="listItem")&&(delete v.spread,delete v.loose),x.type==="text"||(x.type==="inlineCode"&&(v.value=x.value.replace(/[\t\n ]+/g," ")),x.type==="wikiLink"&&(v.value=x.value.trim().replace(/[\t\n]+/g," ")),(x.type==="definition"||x.type==="linkReference"||x.type==="imageReference")&&(v.label=h(x.label)),(x.type==="definition"||x.type==="link"||x.type==="image")&&x.title&&(v.title=x.title.replace(/\\(["')])/g,"$1")),S&&S.type==="root"&&S.children.length>0&&(S.children[0]===x||d(S.children[0])&&S.children[1]===x)&&x.type==="html"&&g(x.value)))return null}D.ignoredProperties=y,c.exports=D}}),qr=Oe({"src/language-markdown/printer-markdown.js"(a,c){ze();var h=ye(),{getLast:d,getMinNotPresentContinuousCount:g,getMaxContinuousCount:y,getStringWidth:D,isNonEmptyArray:x}=pi(),{builders:{breakParent:v,join:S,line:k,literalline:T,markAsRoot:$,hardline:w,softline:F,ifBreak:Q,fill:Z,align:re,indent:L,group:te,hardlineWithoutBreakParent:q},utils:{normalizeDoc:ae,replaceTextEndOfLine:ne},printer:{printDocToString:Fe}}=Ln(),_=ct(),{insertPragma:z}=dt(),{locStart:B,locEnd:M}=Le(),A=Pt(),I=wr(),{getFencedCodeBlockValue:j,hasGitDiffFriendlyOrderedList:X,splitText:W,punctuationPattern:J,INLINE_NODE_TYPES:ce,INLINE_NODE_WRAPPER_TYPES:Ae,isAutolink:Te}=Ee(),we=new Set(["importExport"]),Ue=["heading","tableCell","link","wikiLink"],ge=new Set(["listItem","definition","footnoteDefinition"]);function lt(Ft,je,Qt){let et=Ft.getValue();if(sr(Ft))return W(je.originalText.slice(et.position.start.offset,et.position.end.offset),je).map(_t=>_t.type==="word"?_t.value:_t.value===""?"":Be(Ft,_t.value,je));switch(et.type){case"front-matter":return je.originalText.slice(et.position.start.offset,et.position.end.offset);case"root":return et.children.length===0?"":[ae($t(Ft,je,Qt)),we.has(tt(et).type)?"":w];case"paragraph":return Nt(Ft,je,Qt,{postprocessor:Z});case"sentence":return Nt(Ft,je,Qt);case"word":{let _t=et.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${J})(_+)`,`(_+)(${J}|$)`].join("|"),"g"),(Vt,R,We,Tt,fr)=>(We?`${R}${We}`:`${Tt}${fr}`).replace(/_/g,"\\_")),Wr=(Vt,R,We)=>Vt.type==="sentence"&&We===0,Br=(Vt,R,We)=>Te(Vt.children[We-1]);return _t!==et.value&&(Ft.match(void 0,Wr,Br)||Ft.match(void 0,Wr,(Vt,R,We)=>Vt.type==="emphasis"&&We===0,Br))&&(_t=_t.replace(/^(\\?[*_])+/,Vt=>Vt.replace(/\\/g,""))),_t}case"whitespace":{let _t=Ft.getParentNode(),Wr=_t.children.indexOf(et),Br=_t.children[Wr+1],Vt=Br&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Br.value)?"never":je.proseWrap;return Be(Ft,et.value,{proseWrap:Vt})}case"emphasis":{let _t;if(Te(et.children[0]))_t=je.originalText[et.position.start.offset];else{let Wr=Ft.getParentNode(),Br=Wr.children.indexOf(et),Vt=Wr.children[Br-1],R=Wr.children[Br+1];_t=Vt&&Vt.type==="sentence"&&Vt.children.length>0&&d(Vt.children).type==="word"&&!d(Vt.children).hasTrailingPunctuation||R&&R.type==="sentence"&&R.children.length>0&&R.children[0].type==="word"&&!R.children[0].hasLeadingPunctuation||jt(Ft,"emphasis")?"*":"_"}return[_t,Nt(Ft,je,Qt),_t]}case"strong":return["**",Nt(Ft,je,Qt),"**"];case"delete":return["~~",Nt(Ft,je,Qt),"~~"];case"inlineCode":{let _t=g(et.value,"`"),Wr="`".repeat(_t||1),Br=_t&&!/^\s/.test(et.value)?" ":"";return[Wr,Br,et.value,Br,Wr]}case"wikiLink":{let _t="";return je.proseWrap==="preserve"?_t=et.value:_t=et.value.replace(/[\t\n]+/g," "),["[[",_t,"]]"]}case"link":switch(je.originalText[et.position.start.offset]){case"<":{let _t="mailto:";return["<",et.url.startsWith(_t)&&je.originalText.slice(et.position.start.offset+1,et.position.start.offset+1+_t.length)!==_t?et.url.slice(_t.length):et.url,">"]}case"[":return["[",Nt(Ft,je,Qt),"](",Or(et.url,")"),hn(et.title,je),")"];default:return je.originalText.slice(et.position.start.offset,et.position.end.offset)}case"image":return[""),hn(et.title,je),")"];case"blockquote":return["> ",re("> ",Nt(Ft,je,Qt))];case"heading":return["#".repeat(et.depth)+" ",Nt(Ft,je,Qt)];case"code":{if(et.isIndented){let Br=" ".repeat(4);return re(Br,[Br,...ne(et.value,w)])}let _t=je.__inJsTemplate?"~":"`",Wr=_t.repeat(Math.max(3,y(et.value,_t)+1));return[Wr,et.lang||"",et.meta?" "+et.meta:"",w,...ne(j(et,je.originalText),w),w,Wr]}case"html":{let _t=Ft.getParentNode(),Wr=_t.type==="root"&&d(_t.children)===et?et.value.trimEnd():et.value,Br=/^<!--.*-->$/s.test(Wr);return ne(Wr,Br?w:$(T))}case"list":{let _t=ut(et,Ft.getParentNode()),Wr=X(et,je);return Nt(Ft,je,Qt,{processor:(Br,Vt)=>{let R=Tt(),We=Br.getValue();if(We.children.length===2&&We.children[1].type==="html"&&We.children[0].position.start.column!==We.children[1].position.start.column)return[R,Pe(Br,je,Qt,R)];return[R,re(" ".repeat(R.length),Pe(Br,je,Qt,R))];function Tt(){let fr=et.ordered?(Vt===0?et.start:Wr?1:et.start+Vt)+(_t%2===0?". ":") "):_t%2===0?"- ":"* ";return et.isAligned||et.hasIndentedCodeblock?ve(fr,je):fr}}})}case"thematicBreak":{let _t=pt(Ft,"list");return _t===-1?"---":ut(Ft.getParentNode(_t),Ft.getParentNode(_t+1))%2===0?"***":"---"}case"linkReference":return["[",Nt(Ft,je,Qt),"]",et.referenceType==="full"?cn(et):et.referenceType==="collapsed"?"[]":""];case"imageReference":switch(et.referenceType){case"full":return["![",et.alt||"","]",cn(et)];default:return["![",et.alt,"]",et.referenceType==="collapsed"?"[]":""]}case"definition":{let _t=je.proseWrap==="always"?k:" ";return te([cn(et),":",L([_t,Or(et.url),et.title===null?"":[_t,hn(et.title,je,!1)]])])}case"footnote":return["[^",Nt(Ft,je,Qt),"]"];case"footnoteReference":return Bn(et);case"footnoteDefinition":{let _t=Ft.getParentNode().children[Ft.getName()+1],Wr=et.children.length===1&&et.children[0].type==="paragraph"&&(je.proseWrap==="never"||je.proseWrap==="preserve"&&et.children[0].position.start.line===et.children[0].position.end.line);return[Bn(et),": ",Wr?Nt(Ft,je,Qt):te([re(" ".repeat(4),Nt(Ft,je,Qt,{processor:(Br,Vt)=>Vt===0?te([F,Qt()]):Qt()})),_t&&_t.type==="footnoteDefinition"?F:""])]}case"table":return Je(Ft,je,Qt);case"tableCell":return Nt(Ft,je,Qt);case"break":return/\s/.test(je.originalText[et.position.start.offset])?[" ",$(T)]:["\\",w];case"liquidNode":return ne(et.value,w);case"importExport":return[et.value,w];case"esComment":return["{/* ",et.value," */}"];case"jsx":return et.value;case"math":return["$$",w,et.value?[...ne(et.value,w),w]:"","$$"];case"inlineMath":return je.originalText.slice(B(et),M(et));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(et.type)}`)}}function Pe(Ft,je,Qt,et){let _t=Ft.getValue(),Wr=_t.checked===null?"":_t.checked?"[x] ":"[ ] ";return[Wr,Nt(Ft,je,Qt,{processor:(Br,Vt)=>{if(Vt===0&&Br.getValue().type!=="list")return re(" ".repeat(Wr.length),Qt());let R=" ".repeat(Ci(je.tabWidth-et.length,0,3));return[R,re(R,Qt())]}})]}function ve(Ft,je){let Qt=et();return Ft+" ".repeat(Qt>=4?0:Qt);function et(){let _t=Ft.length%je.tabWidth;return _t===0?0:je.tabWidth-_t}}function ut(Ft,je){return wt(Ft,je,Qt=>Qt.ordered===Ft.ordered)}function wt(Ft,je,Qt){let et=-1;for(let _t of je.children)if(_t.type===Ft.type&&Qt(_t)?et++:et=-1,_t===Ft)return et}function pt(Ft,je){let Qt=Array.isArray(je)?je:[je],et=-1,_t;for(;_t=Ft.getParentNode(++et);)if(Qt.includes(_t.type))return et;return-1}function jt(Ft,je){let Qt=pt(Ft,je);return Qt===-1?null:Ft.getParentNode(Qt)}function Be(Ft,je,Qt){if(Qt.proseWrap==="preserve"&&je===`
|
|
`)return w;let et=Qt.proseWrap==="always"&&!jt(Ft,Ue);return je!==""?et?k:" ":et?F:""}function Je(Ft,je,Qt){let et=Ft.getValue(),_t=[],Wr=Ft.map(fr=>fr.map((Er,an)=>{let Dr=Fe(Qt(),je).formatted,Fs=D(Dr);return _t[an]=Math.max(_t[an]||3,Fs),{text:Dr,width:Fs}},"children"),"children"),Br=R(!1);if(je.proseWrap!=="never")return[v,Br];let Vt=R(!0);return[v,te(Q(Vt,Br))];function R(fr){let Er=[Tt(Wr[0],fr),We(fr)];return Wr.length>1&&Er.push(S(q,Wr.slice(1).map(an=>Tt(an,fr)))),S(q,Er)}function We(fr){return`| ${_t.map((Er,an)=>{let Dr=et.align[an],Fs=Dr==="center"||Dr==="left"?":":"-",tn=Dr==="center"||Dr==="right"?":":"-",bs=fr?"-":"-".repeat(Er-2);return`${Fs}${bs}${tn}`}).join(" | ")} |`}function Tt(fr,Er){return`| ${fr.map((an,Dr)=>{let{text:Fs,width:tn}=an;if(Er)return Fs;let bs=_t[Dr]-tn,Jr=et.align[Dr],Wn=0;Jr==="right"?Wn=bs:Jr==="center"&&(Wn=Math.floor(bs/2));let gi=bs-Wn;return`${" ".repeat(Wn)}${Fs}${" ".repeat(gi)}`}).join(" | ")} |`}}function $t(Ft,je,Qt){let et=[],_t=null,{children:Wr}=Ft.getValue();for(let[Br,Vt]of Wr.entries())switch(Ve(Vt)){case"start":_t===null&&(_t={index:Br,offset:Vt.position.end.offset});break;case"end":_t!==null&&(et.push({start:_t,end:{index:Br,offset:Vt.position.start.offset}}),_t=null);break}return Nt(Ft,je,Qt,{processor:(Br,Vt)=>{if(et.length>0){let R=et[0];if(Vt===R.start.index)return[jr(Wr[R.start.index]),je.originalText.slice(R.start.offset,R.end.offset),jr(Wr[R.end.index])];if(R.start.index<Vt&&Vt<R.end.index)return!1;if(Vt===R.end.index)return et.shift(),!1}return Qt()}})}function Nt(Ft,je,Qt){let et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:_t}=et,Wr=et.processor||(()=>Qt()),Br=Ft.getValue(),Vt=[],R;return Ft.each((We,Tt)=>{let fr=We.getValue(),Er=Wr(We,Tt);if(Er!==!1){let an={parts:Vt,prevNode:R,parentNode:Br,options:je};ft(fr,an)&&(Vt.push(w),R&&we.has(R.type)||(vt(fr,an)||Ut(fr,an))&&Vt.push(w),Ut(fr,an)&&Vt.push(w)),Vt.push(Er),R=fr}},"children"),_t?_t(Vt):Vt}function jr(Ft){if(Ft.type==="html")return Ft.value;if(Ft.type==="paragraph"&&Array.isArray(Ft.children)&&Ft.children.length===1&&Ft.children[0].type==="esComment")return["{/* ",Ft.children[0].value," */}"]}function tt(Ft){let je=Ft;for(;x(je.children);)je=d(je.children);return je}function Ve(Ft){let je;if(Ft.type==="html")je=Ft.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Qt;Ft.type==="esComment"?Qt=Ft:Ft.type==="paragraph"&&Ft.children.length===1&&Ft.children[0].type==="esComment"&&(Qt=Ft.children[0]),Qt&&(je=Qt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return je?je[1]||"next":!1}function ft(Ft,je){let Qt=je.parts.length===0,et=ce.includes(Ft.type),_t=Ft.type==="html"&&Ae.includes(je.parentNode.type);return!Qt&&!et&&!_t}function vt(Ft,je){var Qt,et,_t;let Wr=(je.prevNode&&je.prevNode.type)===Ft.type&&ge.has(Ft.type),Br=je.parentNode.type==="listItem"&&!je.parentNode.loose,Vt=((Qt=je.prevNode)===null||Qt===void 0?void 0:Qt.type)==="listItem"&&je.prevNode.loose,R=Ve(je.prevNode)==="next",We=Ft.type==="html"&&((et=je.prevNode)===null||et===void 0?void 0:et.type)==="html"&&je.prevNode.position.end.line+1===Ft.position.start.line,Tt=Ft.type==="html"&&je.parentNode.type==="listItem"&&((_t=je.prevNode)===null||_t===void 0?void 0:_t.type)==="paragraph"&&je.prevNode.position.end.line+1===Ft.position.start.line;return Vt||!(Wr||Br||R||We||Tt)}function Ut(Ft,je){let Qt=je.prevNode&&je.prevNode.type==="list",et=Ft.type==="code"&&Ft.isIndented;return Qt&&et}function sr(Ft){let je=jt(Ft,["linkReference","imageReference"]);return je&&(je.type!=="linkReference"||je.referenceType!=="full")}function Or(Ft){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Qt=[" ",...Array.isArray(je)?je:[je]];return new RegExp(Qt.map(et=>`\\${et}`).join("|")).test(Ft)?`<${Ft}>`:Ft}function hn(Ft,je){let Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!Ft)return"";if(Qt)return" "+hn(Ft,je,!1);if(Ft=Ft.replace(/\\(["')])/g,"$1"),Ft.includes('"')&&Ft.includes("'")&&!Ft.includes(")"))return`(${Ft})`;let et=Ft.split("'").length-1,_t=Ft.split('"').length-1,Wr=et>_t?'"':_t>et||je.singleQuote?"'":'"';return Ft=Ft.replace(/\\/,"\\\\"),Ft=Ft.replace(new RegExp(`(${Wr})`,"g"),"\\$1"),`${Wr}${Ft}${Wr}`}function Ci(Ft,je,Qt){return Ft<je?je:Ft>Qt?Qt:Ft}function hi(Ft){let je=Number(Ft.getName());if(je===0)return!1;let Qt=Ft.getParentNode().children[je-1];return Ve(Qt)==="next"}function cn(Ft){return`[${h(Ft.label)}]`}function Bn(Ft){return`[^${Ft.label}]`}c.exports={preprocess:A,print:lt,embed:_,massageAstNode:I,hasPrettierIgnore:hi,insertPragma:z}}}),sn=Oe({"src/language-markdown/options.js"(a,c){ze();var h=hu();c.exports={proseWrap:h.proseWrap,singleQuote:h.singleQuote}}}),Vn=Oe({"src/language-markdown/parsers.js"(){ze()}}),An=Oe({"node_modules/linguist-languages/data/Markdown.json"(a,c){c.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}}}),Qn=Oe({"src/language-markdown/index.js"(a,c){ze();var h=_s(),d=qr(),g=sn(),y=Vn(),D=[h(An(),v=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...v.filenames,"README"],extensions:v.extensions.filter(S=>S!==".mdx")})),h(An(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],x={mdast:d};c.exports={languages:D,options:g,printers:x,parsers:y}}}),Pn=Oe({"src/language-html/clean.js"(a,c){ze();var{isFrontMatterNode:h}=pi(),d=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function g(y,D){if(y.type==="text"||y.type==="comment"||h(y)||y.type==="yaml"||y.type==="toml")return null;y.type==="attribute"&&delete D.value,y.type==="docType"&&delete D.value}g.ignoredProperties=d,c.exports=g}}),Xn=Oe({"src/language-html/constants.evaluate.js"(a,c){c.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"}}}),_r=Oe({"src/language-html/utils/is-unknown-namespace.js"(a,c){ze();function h(d){return d.type==="element"&&!d.hasExplicitNamespace&&!["html","svg"].includes(d.namespace)}c.exports=h}}),ur=Oe({"src/language-html/utils/index.js"(a,c){ze();var{inferParserByLanguage:h,isFrontMatterNode:d}=pi(),{builders:{line:g,hardline:y,join:D},utils:{getDocParts:x,replaceTextEndOfLine:v}}=Ln(),{CSS_DISPLAY_TAGS:S,CSS_DISPLAY_DEFAULT:k,CSS_WHITE_SPACE_TAGS:T,CSS_WHITE_SPACE_DEFAULT:$}=Xn(),w=_r(),F=new Set([" ",`
|
|
`,"\f","\r"," "]),Q=R=>R.replace(/^[\t\n\f\r ]+/,""),Z=R=>R.replace(/[\t\n\f\r ]+$/,""),re=R=>Q(Z(R)),L=R=>R.replace(/^[\t\f\r ]*\n/g,""),te=R=>L(Z(R)),q=R=>R.split(/[\t\n\f\r ]+/),ae=R=>R.match(/^[\t\n\f\r ]*/)[0],ne=R=>{let[,We,Tt,fr]=R.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:We,trailingWhitespace:fr,text:Tt}},Fe=R=>/[\t\n\f\r ]/.test(R);function _(R,We){return!!(R.type==="ieConditionalComment"&&R.lastChild&&!R.lastChild.isSelfClosing&&!R.lastChild.endSourceSpan||R.type==="ieConditionalComment"&&!R.complete||vt(R)&&R.children.some(Tt=>Tt.type!=="text"&&Tt.type!=="interpolation")||et(R,We)&&!A(R)&&R.type!=="interpolation")}function z(R){return R.type==="attribute"||!R.parent||!R.prev?!1:B(R.prev)}function B(R){return R.type==="comment"&&R.value.trim()==="prettier-ignore"}function M(R){return R.type==="text"||R.type==="comment"}function A(R){return R.type==="element"&&(R.fullName==="script"||R.fullName==="style"||R.fullName==="svg:style"||w(R)&&(R.name==="script"||R.name==="style"))}function I(R){return R.children&&!A(R)}function j(R){return A(R)||R.type==="interpolation"||X(R)}function X(R){return hn(R).startsWith("pre")}function W(R,We){let Tt=fr();if(Tt&&!R.prev&&R.parent&&R.parent.tagDefinition&&R.parent.tagDefinition.ignoreFirstLf)return R.type==="interpolation";return Tt;function fr(){return d(R)?!1:(R.type==="text"||R.type==="interpolation")&&R.prev&&(R.prev.type==="text"||R.prev.type==="interpolation")?!0:!R.parent||R.parent.cssDisplay==="none"?!1:vt(R.parent)?!0:!(!R.prev&&(R.parent.type==="root"||vt(R)&&R.parent||A(R.parent)||je(R.parent,We)||!Nt(R.parent.cssDisplay))||R.prev&&!Ve(R.prev.cssDisplay))}}function J(R,We){return d(R)?!1:(R.type==="text"||R.type==="interpolation")&&R.next&&(R.next.type==="text"||R.next.type==="interpolation")?!0:!R.parent||R.parent.cssDisplay==="none"?!1:vt(R.parent)?!0:!(!R.next&&(R.parent.type==="root"||vt(R)&&R.parent||A(R.parent)||je(R.parent,We)||!jr(R.parent.cssDisplay))||R.next&&!tt(R.next.cssDisplay))}function ce(R){return ft(R.cssDisplay)&&!A(R)}function Ae(R){return d(R)||R.next&&R.sourceSpan.end&&R.sourceSpan.end.line+1<R.next.sourceSpan.start.line}function Te(R){return we(R)||R.type==="element"&&R.children.length>0&&(["body","script","style"].includes(R.name)||R.children.some(We=>pt(We)))||R.firstChild&&R.firstChild===R.lastChild&&R.firstChild.type!=="text"&&Pe(R.firstChild)&&(!R.lastChild.isTrailingSpaceSensitive||ve(R.lastChild))}function we(R){return R.type==="element"&&R.children.length>0&&(["html","head","ul","ol","select"].includes(R.name)||R.cssDisplay.startsWith("table")&&R.cssDisplay!=="table-cell")}function Ue(R){return ut(R)||R.prev&&ge(R.prev)||lt(R)}function ge(R){return ut(R)||R.type==="element"&&R.fullName==="br"||lt(R)}function lt(R){return Pe(R)&&ve(R)}function Pe(R){return R.hasLeadingSpaces&&(R.prev?R.prev.sourceSpan.end.line<R.sourceSpan.start.line:R.parent.type==="root"||R.parent.startSourceSpan.end.line<R.sourceSpan.start.line)}function ve(R){return R.hasTrailingSpaces&&(R.next?R.next.sourceSpan.start.line>R.sourceSpan.end.line:R.parent.type==="root"||R.parent.endSourceSpan&&R.parent.endSourceSpan.start.line>R.sourceSpan.end.line)}function ut(R){switch(R.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(R.name)}return!1}function wt(R){return R.lastChild?wt(R.lastChild):R}function pt(R){return R.children&&R.children.some(We=>We.type!=="text")}function jt(R){let{type:We,lang:Tt}=R.attrMap;if(We==="module"||We==="text/javascript"||We==="text/babel"||We==="application/javascript"||Tt==="jsx")return"babel";if(We==="application/x-typescript"||Tt==="ts"||Tt==="tsx")return"typescript";if(We==="text/markdown")return"markdown";if(We==="text/html")return"html";if(We&&(We.endsWith("json")||We.endsWith("importmap"))||We==="speculationrules")return"json";if(We==="text/x-handlebars-template")return"glimmer"}function Be(R,We){let{lang:Tt}=R.attrMap;if(!Tt||Tt==="postcss"||Tt==="css")return"css";if(Tt==="scss")return"scss";if(Tt==="less")return"less";if(Tt==="stylus")return h("stylus",We)}function Je(R,We){if(R.name==="script"&&!R.attrMap.src)return!R.attrMap.lang&&!R.attrMap.type?"babel":jt(R);if(R.name==="style")return Be(R,We);if(We&&et(R,We))return jt(R)||!("src"in R.attrMap)&&h(R.attrMap.lang,We)}function $t(R){return R==="block"||R==="list-item"||R.startsWith("table")}function Nt(R){return!$t(R)&&R!=="inline-block"}function jr(R){return!$t(R)&&R!=="inline-block"}function tt(R){return!$t(R)}function Ve(R){return!$t(R)}function ft(R){return!$t(R)&&R!=="inline-block"}function vt(R){return hn(R).startsWith("pre")}function Ut(R,We){let Tt=0;for(let fr=R.stack.length-1;fr>=0;fr--){let Er=R.stack[fr];Er&&typeof Er=="object"&&!Array.isArray(Er)&&We(Er)&&Tt++}return Tt}function sr(R,We){let Tt=R;for(;Tt;){if(We(Tt))return!0;Tt=Tt.parent}return!1}function Or(R,We){if(R.prev&&R.prev.type==="comment"){let fr=R.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(fr)return fr[1]}let Tt=!1;if(R.type==="element"&&R.namespace==="svg")if(sr(R,fr=>fr.fullName==="svg:foreignObject"))Tt=!0;else return R.name==="svg"?"inline-block":"block";switch(We.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return We.parser==="vue"&&R.parent&&R.parent.type==="root"?"block":R.type==="element"&&(!R.namespace||Tt||w(R))&&S[R.name]||k}}function hn(R){return R.type==="element"&&(!R.namespace||w(R))&&T[R.name]||$}function Ci(R){let We=Number.POSITIVE_INFINITY;for(let Tt of R.split(`
|
|
`)){if(Tt.length===0)continue;if(!F.has(Tt[0]))return 0;let fr=ae(Tt).length;Tt.length!==fr&&fr<We&&(We=fr)}return We===Number.POSITIVE_INFINITY?0:We}function hi(R){let We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ci(R);return We===0?R:R.split(`
|
|
`).map(Tt=>Tt.slice(We)).join(`
|
|
`)}function cn(R,We){let Tt=0;for(let fr=0;fr<R.length;fr++)R[fr]===We&&Tt++;return Tt}function Bn(R){return R.replace(/'/g,"'").replace(/"/g,'"')}var Ft=new Set(["template","style","script"]);function je(R,We){return Qt(R,We)&&!Ft.has(R.fullName)}function Qt(R,We){return We.parser==="vue"&&R.type==="element"&&R.parent.type==="root"&&R.fullName.toLowerCase()!=="html"}function et(R,We){return Qt(R,We)&&(je(R,We)||R.attrMap.lang&&R.attrMap.lang!=="html")}function _t(R){let We=R.fullName;return We.charAt(0)==="#"||We==="slot-scope"||We==="v-slot"||We.startsWith("v-slot:")}function Wr(R,We){let Tt=R.parent;if(!Qt(Tt,We))return!1;let fr=Tt.fullName,Er=R.fullName;return fr==="script"&&Er==="setup"||fr==="style"&&Er==="vars"}function Br(R){let We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R.value;return R.parent.isWhitespaceSensitive?R.parent.isIndentationSensitive?v(We):v(hi(te(We)),y):x(D(g,q(We)))}function Vt(R,We){return Qt(R,We)&&R.name==="script"}c.exports={htmlTrim:re,htmlTrimPreserveIndentation:te,hasHtmlWhitespace:Fe,getLeadingAndTrailingHtmlWhitespace:ne,canHaveInterpolation:I,countChars:cn,countParents:Ut,dedentString:hi,forceBreakChildren:we,forceBreakContent:Te,forceNextEmptyLine:Ae,getLastDescendant:wt,getNodeCssStyleDisplay:Or,getNodeCssStyleWhiteSpace:hn,hasPrettierIgnore:z,inferScriptParser:Je,isVueCustomBlock:je,isVueNonHtmlBlock:et,isVueScriptTag:Vt,isVueSlotAttribute:_t,isVueSfcBindingsAttribute:Wr,isVueSfcBlock:Qt,isDanglingSpaceSensitiveNode:ce,isIndentationSensitiveNode:X,isLeadingSpaceSensitiveNode:W,isPreLikeNode:vt,isScriptLikeTag:A,isTextLikeNode:M,isTrailingSpaceSensitiveNode:J,isWhitespaceSensitiveNode:j,isUnknownNamespace:w,preferHardlineAsLeadingSpaces:Ue,preferHardlineAsTrailingSpaces:ge,shouldPreserveContent:_,unescapeQuoteEntities:Bn,getTextValueParts:Br}}}),Qr=Oe({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0}),a.$EOF=0,a.$BSPACE=8,a.$TAB=9,a.$LF=10,a.$VTAB=11,a.$FF=12,a.$CR=13,a.$SPACE=32,a.$BANG=33,a.$DQ=34,a.$HASH=35,a.$$=36,a.$PERCENT=37,a.$AMPERSAND=38,a.$SQ=39,a.$LPAREN=40,a.$RPAREN=41,a.$STAR=42,a.$PLUS=43,a.$COMMA=44,a.$MINUS=45,a.$PERIOD=46,a.$SLASH=47,a.$COLON=58,a.$SEMICOLON=59,a.$LT=60,a.$EQ=61,a.$GT=62,a.$QUESTION=63,a.$0=48,a.$7=55,a.$9=57,a.$A=65,a.$E=69,a.$F=70,a.$X=88,a.$Z=90,a.$LBRACKET=91,a.$BACKSLASH=92,a.$RBRACKET=93,a.$CARET=94,a.$_=95,a.$a=97,a.$b=98,a.$e=101,a.$f=102,a.$n=110,a.$r=114,a.$t=116,a.$u=117,a.$v=118,a.$x=120,a.$z=122,a.$LBRACE=123,a.$BAR=124,a.$RBRACE=125,a.$NBSP=160,a.$PIPE=124,a.$TILDA=126,a.$AT=64,a.$BT=96;function c(x){return x>=a.$TAB&&x<=a.$SPACE||x==a.$NBSP}a.isWhitespace=c;function h(x){return a.$0<=x&&x<=a.$9}a.isDigit=h;function d(x){return x>=a.$a&&x<=a.$z||x>=a.$A&&x<=a.$Z}a.isAsciiLetter=d;function g(x){return x>=a.$a&&x<=a.$f||x>=a.$A&&x<=a.$F||h(x)}a.isAsciiHexDigit=g;function y(x){return x===a.$LF||x===a.$CR}a.isNewLine=y;function D(x){return a.$0<=x&&x<=a.$7}a.isOctalDigit=D}}),lr=Oe({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=class{constructor(d,g,y){this.filePath=d,this.name=g,this.members=y}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};a.StaticSymbol=c;var h=class{constructor(){this.cache=new Map}get(d,g,y){y=y||[];let D=y.length?`.${y.join(".")}`:"",x=`"${d}".${g}${D}`,v=this.cache.get(x);return v||(v=new c(d,g,y),this.cache.set(x,v)),v}};a.StaticSymbolCache=h}}),ks=Oe({"node_modules/angular-html-parser/lib/compiler/src/util.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=/-+([a-z0-9])/g;function h(A){return A.replace(c,function(){for(var I=arguments.length,j=new Array(I),X=0;X<I;X++)j[X]=arguments[X];return j[1].toUpperCase()})}a.dashCaseToCamelCase=h;function d(A,I){return y(A,":",I)}a.splitAtColon=d;function g(A,I){return y(A,".",I)}a.splitAtPeriod=g;function y(A,I,j){let X=A.indexOf(I);return X==-1?j:[A.slice(0,X).trim(),A.slice(X+1).trim()]}function D(A,I,j){return Array.isArray(A)?I.visitArray(A,j):L(A)?I.visitStringMap(A,j):A==null||typeof A=="string"||typeof A=="number"||typeof A=="boolean"?I.visitPrimitive(A,j):I.visitOther(A,j)}a.visitValue=D;function x(A){return A!=null}a.isDefined=x;function v(A){return A===void 0?null:A}a.noUndefined=v;var S=class{visitArray(A,I){return A.map(j=>D(j,this,I))}visitStringMap(A,I){let j={};return Object.keys(A).forEach(X=>{j[X]=D(A[X],this,I)}),j}visitPrimitive(A,I){return A}visitOther(A,I){return A}};a.ValueTransformer=S,a.SyncAsync={assertSync:A=>{if(ne(A))throw new Error("Illegal state: value cannot be a promise");return A},then:(A,I)=>ne(A)?A.then(I):I(A),all:A=>A.some(ne)?Promise.all(A):A};function k(A){throw new Error(`Internal Error: ${A}`)}a.error=k;function T(A,I){let j=Error(A);return j[$]=!0,I&&(j[w]=I),j}a.syntaxError=T;var $="ngSyntaxError",w="ngParseErrors";function F(A){return A[$]}a.isSyntaxError=F;function Q(A){return A[w]||[]}a.getParseErrors=Q;function Z(A){return A.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}a.escapeRegExp=Z;var re=Object.getPrototypeOf({});function L(A){return typeof A=="object"&&A!==null&&Object.getPrototypeOf(A)===re}function te(A){let I="";for(let j=0;j<A.length;j++){let X=A.charCodeAt(j);if(X>=55296&&X<=56319&&A.length>j+1){let W=A.charCodeAt(j+1);W>=56320&&W<=57343&&(j++,X=(X-55296<<10)+W-56320+65536)}X<=127?I+=String.fromCharCode(X):X<=2047?I+=String.fromCharCode(X>>6&31|192,X&63|128):X<=65535?I+=String.fromCharCode(X>>12|224,X>>6&63|128,X&63|128):X<=2097151&&(I+=String.fromCharCode(X>>18&7|240,X>>12&63|128,X>>6&63|128,X&63|128))}return I}a.utf8Encode=te;function q(A){if(typeof A=="string")return A;if(A instanceof Array)return"["+A.map(q).join(", ")+"]";if(A==null)return""+A;if(A.overriddenName)return`${A.overriddenName}`;if(A.name)return`${A.name}`;if(!A.toString)return"object";let I=A.toString();if(I==null)return""+I;let j=I.indexOf(`
|
|
`);return j===-1?I:I.substring(0,j)}a.stringify=q;function ae(A){return typeof A=="function"&&A.hasOwnProperty("__forward_ref__")?A():A}a.resolveForwardRef=ae;function ne(A){return!!A&&typeof A.then=="function"}a.isPromise=ne;var Fe=class{constructor(A){this.full=A;let I=A.split(".");this.major=I[0],this.minor=I[1],this.patch=I.slice(2).join(".")}};a.Version=Fe;var _=typeof window<"u"&&window,z=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,B=typeof globalThis<"u"&&globalThis,M=B||_||z;a.global=M}}),Ki=Oe({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=lr(),h=ks(),d=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function g(j){return j.replace(/\W/g,"_")}a.sanitizeIdentifier=g;var y=0;function D(j){if(!j||!j.reference)return null;let X=j.reference;if(X instanceof c.StaticSymbol)return X.name;if(X.__anonymousType)return X.__anonymousType;let W=h.stringify(X);return W.indexOf("(")>=0?(W=`anonymous_${y++}`,X.__anonymousType=W):W=g(W),W}a.identifierName=D;function x(j){let X=j.reference;return X instanceof c.StaticSymbol?X.filePath:`./${h.stringify(X)}`}a.identifierModuleUrl=x;function v(j,X){return`View_${D({reference:j})}_${X}`}a.viewClassName=v;function S(j){return`RenderType_${D({reference:j})}`}a.rendererTypeName=S;function k(j){return`HostView_${D({reference:j})}`}a.hostViewClassName=k;function T(j){return`${D({reference:j})}NgFactory`}a.componentFactoryName=T;var $;(function(j){j[j.Pipe=0]="Pipe",j[j.Directive=1]="Directive",j[j.NgModule=2]="NgModule",j[j.Injectable=3]="Injectable"})($=a.CompileSummaryKind||(a.CompileSummaryKind={}));function w(j){return j.value!=null?g(j.value):D(j.identifier)}a.tokenName=w;function F(j){return j.identifier!=null?j.identifier.reference:j.value}a.tokenReference=F;var Q=class{constructor(){let{moduleUrl:j,styles:X,styleUrls:W}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=j||null,this.styles=ne(X),this.styleUrls=ne(W)}};a.CompileStylesheetMetadata=Q;var Z=class{constructor(j){let{encapsulation:X,template:W,templateUrl:J,htmlAst:ce,styles:Ae,styleUrls:Te,externalStylesheets:we,animations:Ue,ngContentSelectors:ge,interpolation:lt,isInline:Pe,preserveWhitespaces:ve}=j;if(this.encapsulation=X,this.template=W,this.templateUrl=J,this.htmlAst=ce,this.styles=ne(Ae),this.styleUrls=ne(Te),this.externalStylesheets=ne(we),this.animations=Ue?_(Ue):[],this.ngContentSelectors=ge||[],lt&<.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=lt,this.isInline=Pe,this.preserveWhitespaces=ve}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};a.CompileTemplateMetadata=Z;var re=class{static create(j){let{isHost:X,type:W,isComponent:J,selector:ce,exportAs:Ae,changeDetection:Te,inputs:we,outputs:Ue,host:ge,providers:lt,viewProviders:Pe,queries:ve,guards:ut,viewQueries:wt,entryComponents:pt,template:jt,componentViewType:Be,rendererType:Je,componentFactory:$t}=j,Nt={},jr={},tt={};ge!=null&&Object.keys(ge).forEach(vt=>{let Ut=ge[vt],sr=vt.match(d);sr===null?tt[vt]=Ut:sr[1]!=null?jr[sr[1]]=Ut:sr[2]!=null&&(Nt[sr[2]]=Ut)});let Ve={};we!=null&&we.forEach(vt=>{let Ut=h.splitAtColon(vt,[vt,vt]);Ve[Ut[0]]=Ut[1]});let ft={};return Ue!=null&&Ue.forEach(vt=>{let Ut=h.splitAtColon(vt,[vt,vt]);ft[Ut[0]]=Ut[1]}),new re({isHost:X,type:W,isComponent:!!J,selector:ce,exportAs:Ae,changeDetection:Te,inputs:Ve,outputs:ft,hostListeners:Nt,hostProperties:jr,hostAttributes:tt,providers:lt,viewProviders:Pe,queries:ve,guards:ut,viewQueries:wt,entryComponents:pt,template:jt,componentViewType:Be,rendererType:Je,componentFactory:$t})}constructor(j){let{isHost:X,type:W,isComponent:J,selector:ce,exportAs:Ae,changeDetection:Te,inputs:we,outputs:Ue,hostListeners:ge,hostProperties:lt,hostAttributes:Pe,providers:ve,viewProviders:ut,queries:wt,guards:pt,viewQueries:jt,entryComponents:Be,template:Je,componentViewType:$t,rendererType:Nt,componentFactory:jr}=j;this.isHost=!!X,this.type=W,this.isComponent=J,this.selector=ce,this.exportAs=Ae,this.changeDetection=Te,this.inputs=we,this.outputs=Ue,this.hostListeners=ge,this.hostProperties=lt,this.hostAttributes=Pe,this.providers=ne(ve),this.viewProviders=ne(ut),this.queries=ne(wt),this.guards=pt,this.viewQueries=ne(jt),this.entryComponents=ne(Be),this.template=Je,this.componentViewType=$t,this.rendererType=Nt,this.componentFactory=jr}toSummary(){return{summaryKind:$.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}}};a.CompileDirectiveMetadata=re;var L=class{constructor(j){let{type:X,name:W,pure:J}=j;this.type=X,this.name=W,this.pure=!!J}toSummary(){return{summaryKind:$.Pipe,type:this.type,name:this.name,pure:this.pure}}};a.CompilePipeMetadata=L;var te=class{};a.CompileShallowModuleMetadata=te;var q=class{constructor(j){let{type:X,providers:W,declaredDirectives:J,exportedDirectives:ce,declaredPipes:Ae,exportedPipes:Te,entryComponents:we,bootstrapComponents:Ue,importedModules:ge,exportedModules:lt,schemas:Pe,transitiveModule:ve,id:ut}=j;this.type=X||null,this.declaredDirectives=ne(J),this.exportedDirectives=ne(ce),this.declaredPipes=ne(Ae),this.exportedPipes=ne(Te),this.providers=ne(W),this.entryComponents=ne(we),this.bootstrapComponents=ne(Ue),this.importedModules=ne(ge),this.exportedModules=ne(lt),this.schemas=ne(Pe),this.id=ut||null,this.transitiveModule=ve||null}toSummary(){let j=this.transitiveModule;return{summaryKind:$.NgModule,type:this.type,entryComponents:j.entryComponents,providers:j.providers,modules:j.modules,exportedDirectives:j.exportedDirectives,exportedPipes:j.exportedPipes}}};a.CompileNgModuleMetadata=q;var ae=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(j,X){this.providers.push({provider:j,module:X})}addDirective(j){this.directivesSet.has(j.reference)||(this.directivesSet.add(j.reference),this.directives.push(j))}addExportedDirective(j){this.exportedDirectivesSet.has(j.reference)||(this.exportedDirectivesSet.add(j.reference),this.exportedDirectives.push(j))}addPipe(j){this.pipesSet.has(j.reference)||(this.pipesSet.add(j.reference),this.pipes.push(j))}addExportedPipe(j){this.exportedPipesSet.has(j.reference)||(this.exportedPipesSet.add(j.reference),this.exportedPipes.push(j))}addModule(j){this.modulesSet.has(j.reference)||(this.modulesSet.add(j.reference),this.modules.push(j))}addEntryComponent(j){this.entryComponentsSet.has(j.componentType)||(this.entryComponentsSet.add(j.componentType),this.entryComponents.push(j))}};a.TransitiveCompileNgModuleMetadata=ae;function ne(j){return j||[]}var Fe=class{constructor(j,X){let{useClass:W,useValue:J,useExisting:ce,useFactory:Ae,deps:Te,multi:we}=X;this.token=j,this.useClass=W||null,this.useValue=J,this.useExisting=ce,this.useFactory=Ae||null,this.dependencies=Te||null,this.multi=!!we}};a.ProviderMeta=Fe;function _(j){return j.reduce((X,W)=>{let J=Array.isArray(W)?_(W):W;return X.concat(J)},[])}a.flatten=_;function z(j){return j.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function B(j,X,W){let J;return W.isInline?X.type.reference instanceof c.StaticSymbol?J=`${X.type.reference.filePath}.${X.type.reference.name}.html`:J=`${D(j)}/${D(X.type)}.html`:J=W.templateUrl,X.type.reference instanceof c.StaticSymbol?J:z(J)}a.templateSourceUrl=B;function M(j,X){let W=j.moduleUrl.split(/\/\\/g),J=W[W.length-1];return z(`css/${X}${J}.ngstyle.js`)}a.sharedStylesheetJitUrl=M;function A(j){return z(`${D(j.type)}/module.ngfactory.js`)}a.ngModuleJitUrl=A;function I(j,X){return z(`${D(j)}/${D(X.type)}.ngfactory.js`)}a.templateJitUrl=I}}),ls=Oe({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(a){ze(),Object.defineProperty(a,"__esModule",{value:!0});var c=Qr(),h=Ki(),d=class{constructor(k,T,$,w){this.file=k,this.offset=T,this.line=$,this.col=w}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(k){let T=this.file.content,$=T.length,w=this.offset,F=this.line,Q=this.col;for(;w>0&&k<0;)if(w--,k++,T.charCodeAt(w)==c.$LF){F--;let Z=T.substr(0,w-1).lastIndexOf(String.fromCharCode(c.$LF));Q=Z>0?w-Z:w}else Q--;for(;w<$&&k>0;){let Z=T.charCodeAt(w);w++,k--,Z==c.$LF?(F++,Q=0):Q++}return new d(this.file,w,F,Q)}getContext(k,T){let $=this.file.content,w=this.offset;if(w!=null){w>$.length-1&&(w=$.length-1);let F=w,Q=0,Z=0;for(;Q<k&&w>0&&(w--,Q++,!($[w]==`
|
|
`&&++Z==T)););for(Q=0,Z=0;Q<k&&F<$.length-1&&(F++,Q++,!($[F]==`
|
|
`&&++Z==T)););return{before:$.substring(w,this.offset),after:$.substring(this.offset,F+1)}}return null}};a.ParseLocation=d;var g=class{constructor(k,T){this.content=k,this.url=T}};a.ParseSourceFile=g;var y=class{constructor(k,T){let $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=k,this.end=T,this.details=$}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};a.ParseSourceSpan=y,a.EMPTY_PARSE_LOCATION=new d(new g("",""),0,0,0),a.EMPTY_SOURCE_SPAN=new y(a.EMPTY_PARSE_LOCATION,a.EMPTY_PARSE_LOCATION);var D;(function(k){k[k.WARNING=0]="WARNING",k[k.ERROR=1]="ERROR"})(D=a.ParseErrorLevel||(a.ParseErrorLevel={}));var x=class{constructor(k,T){let $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:D.ERROR;this.span=k,this.msg=T,this.level=$}contextualMessage(){let k=this.span.start.getContext(100,3);return k?`${this.msg} ("${k.before}[${D[this.level]} ->]${k.after}")`:this.msg}toString(){let k=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${k}`}};a.ParseError=x;function v(k,T){let $=h.identifierModuleUrl(T),w=$!=null?`in ${k} ${h.identifierName(T)} in ${$}`:`in ${k} ${h.identifierName(T)}`,F=new g("",w);return new y(new d(F,-1,-1,-1),new d(F,-1,-1,-1))}a.typeSourceSpan=v;function S(k,T,$){let w=`in ${k} ${T} in ${$}`,F=new g("",w);return new y(new d(F,-1,-1,-1),new d(F,-1,-1,-1))}a.r3JitTypeSourceSpan=S}}),qi=Oe({"src/language-html/print-preprocess.js"(a,c){ze();var{ParseSourceSpan:h}=ls(),{htmlTrim:d,getLeadingAndTrailingHtmlWhitespace:g,hasHtmlWhitespace:y,canHaveInterpolation:D,getNodeCssStyleDisplay:x,isDanglingSpaceSensitiveNode:v,isIndentationSensitiveNode:S,isLeadingSpaceSensitiveNode:k,isTrailingSpaceSensitiveNode:T,isWhitespaceSensitiveNode:$,isVueScriptTag:w}=ur(),F=[Z,re,te,ae,ne,z,Fe,_,B,q,M];function Q(A,I){for(let j of F)j(A,I);return A}function Z(A){A.walk(I=>{if(I.type==="element"&&I.tagDefinition.ignoreFirstLf&&I.children.length>0&&I.children[0].type==="text"&&I.children[0].value[0]===`
|
|
`){let j=I.children[0];j.value.length===1?I.removeChild(j):j.value=j.value.slice(1)}})}function re(A){let I=j=>j.type==="element"&&j.prev&&j.prev.type==="ieConditionalStartComment"&&j.prev.sourceSpan.end.offset===j.startSourceSpan.start.offset&&j.firstChild&&j.firstChild.type==="ieConditionalEndComment"&&j.firstChild.sourceSpan.start.offset===j.startSourceSpan.end.offset;A.walk(j=>{if(j.children)for(let X=0;X<j.children.length;X++){let W=j.children[X];if(!I(W))continue;let J=W.prev,ce=W.firstChild;j.removeChild(J),X--;let Ae=new h(J.sourceSpan.start,ce.sourceSpan.end),Te=new h(Ae.start,W.sourceSpan.end);W.condition=J.condition,W.sourceSpan=Te,W.startSourceSpan=Ae,W.removeChild(ce)}})}function L(A,I,j){A.walk(X=>{if(X.children)for(let W=0;W<X.children.length;W++){let J=X.children[W];if(J.type!=="text"&&!I(J))continue;J.type!=="text"&&(J.type="text",J.value=j(J));let ce=J.prev;!ce||ce.type!=="text"||(ce.value+=J.value,ce.sourceSpan=new h(ce.sourceSpan.start,J.sourceSpan.end),X.removeChild(J),W--)}})}function te(A){return L(A,I=>I.type==="cdata",I=>`<![CDATA[${I.value}]]>`)}function q(A){let I=j=>j.type==="element"&&j.attrs.length===0&&j.children.length===1&&j.firstChild.type==="text"&&!y(j.children[0].value)&&!j.firstChild.hasLeadingSpaces&&!j.firstChild.hasTrailingSpaces&&j.isLeadingSpaceSensitive&&!j.hasLeadingSpaces&&j.isTrailingSpaceSensitive&&!j.hasTrailingSpaces&&j.prev&&j.prev.type==="text"&&j.next&&j.next.type==="text";A.walk(j=>{if(j.children)for(let X=0;X<j.children.length;X++){let W=j.children[X];if(!I(W))continue;let J=W.prev,ce=W.next;J.value+=`<${W.rawName}>`+W.firstChild.value+`</${W.rawName}>`+ce.value,J.sourceSpan=new h(J.sourceSpan.start,ce.sourceSpan.end),J.isTrailingSpaceSensitive=ce.isTrailingSpaceSensitive,J.hasTrailingSpaces=ce.hasTrailingSpaces,j.removeChild(W),X--,j.removeChild(ce)}})}function ae(A,I){if(I.parser==="html")return;let j=/{{(.+?)}}/s;A.walk(X=>{if(D(X))for(let W of X.children){if(W.type!=="text")continue;let J=W.sourceSpan.start,ce=null,Ae=W.value.split(j);for(let Te=0;Te<Ae.length;Te++,J=ce){let we=Ae[Te];if(Te%2===0){ce=J.moveBy(we.length),we.length>0&&X.insertChildBefore(W,{type:"text",value:we,sourceSpan:new h(J,ce)});continue}ce=J.moveBy(we.length+4),X.insertChildBefore(W,{type:"interpolation",sourceSpan:new h(J,ce),children:we.length===0?[]:[{type:"text",value:we,sourceSpan:new h(J.moveBy(2),ce.moveBy(-2))}]})}X.removeChild(W)}})}function ne(A){A.walk(I=>{if(!I.children)return;if(I.children.length===0||I.children.length===1&&I.children[0].type==="text"&&d(I.children[0].value).length===0){I.hasDanglingSpaces=I.children.length>0,I.children=[];return}let j=$(I),X=S(I);if(!j)for(let W=0;W<I.children.length;W++){let J=I.children[W];if(J.type!=="text")continue;let{leadingWhitespace:ce,text:Ae,trailingWhitespace:Te}=g(J.value),we=J.prev,Ue=J.next;Ae?(J.value=Ae,J.sourceSpan=new h(J.sourceSpan.start.moveBy(ce.length),J.sourceSpan.end.moveBy(-Te.length)),ce&&(we&&(we.hasTrailingSpaces=!0),J.hasLeadingSpaces=!0),Te&&(J.hasTrailingSpaces=!0,Ue&&(Ue.hasLeadingSpaces=!0))):(I.removeChild(J),W--,(ce||Te)&&(we&&(we.hasTrailingSpaces=!0),Ue&&(Ue.hasLeadingSpaces=!0)))}I.isWhitespaceSensitive=j,I.isIndentationSensitive=X})}function Fe(A){A.walk(I=>{I.isSelfClosing=!I.children||I.type==="element"&&(I.tagDefinition.isVoid||I.startSourceSpan===I.endSourceSpan)})}function _(A,I){A.walk(j=>{j.type==="element"&&(j.hasHtmComponentClosingTag=j.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(I.originalText.slice(j.endSourceSpan.start.offset,j.endSourceSpan.end.offset)))})}function z(A,I){A.walk(j=>{j.cssDisplay=x(j,I)})}function B(A,I){A.walk(j=>{let{children:X}=j;if(X){if(X.length===0){j.isDanglingSpaceSensitive=v(j);return}for(let W of X)W.isLeadingSpaceSensitive=k(W,I),W.isTrailingSpaceSensitive=T(W,I);for(let W=0;W<X.length;W++){let J=X[W];J.isLeadingSpaceSensitive=(W===0||J.prev.isTrailingSpaceSensitive)&&J.isLeadingSpaceSensitive,J.isTrailingSpaceSensitive=(W===X.length-1||J.next.isLeadingSpaceSensitive)&&J.isTrailingSpaceSensitive}}})}function M(A,I){if(I.parser==="vue"){let j=A.children.find(W=>w(W,I));if(!j)return;let{lang:X}=j.attrMap;(X==="ts"||X==="typescript")&&(I.__should_parse_vue_template_with_ts=!0)}}c.exports=Q}}),Fr=Oe({"src/language-html/pragma.js"(a,c){ze();function h(g){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(g)}function d(g){return`<!-- @format -->
|
|
|
|
`+g.replace(/^\s*\n/,"")}c.exports={hasPragma:h,insertPragma:d}}}),yn=Oe({"src/language-html/loc.js"(a,c){ze();function h(g){return g.sourceSpan.start.offset}function d(g){return g.sourceSpan.end.offset}c.exports={locStart:h,locEnd:d}}}),ai=Oe({"src/language-html/print/tag.js"(a,c){ze();var h=us(),{isNonEmptyArray:d}=pi(),{builders:{indent:g,join:y,line:D,softline:x,hardline:v},utils:{replaceTextEndOfLine:S}}=Ln(),{locStart:k,locEnd:T}=yn(),{isTextLikeNode:$,getLastDescendant:w,isPreLikeNode:F,hasPrettierIgnore:Q,shouldPreserveContent:Z,isVueSfcBlock:re}=ur();function L(ge,lt){return[ge.isSelfClosing?"":te(ge,lt),q(ge,lt)]}function te(ge,lt){return ge.lastChild&&A(ge.lastChild)?"":[ae(ge,lt),Fe(ge,lt)]}function q(ge,lt){return(ge.next?B(ge.next):M(ge.parent))?"":[_(ge,lt),ne(ge,lt)]}function ae(ge,lt){return M(ge)?_(ge.lastChild,lt):""}function ne(ge,lt){return A(ge)?Fe(ge.parent,lt):I(ge)?we(ge.next):""}function Fe(ge,lt){if(h(!ge.isSelfClosing),z(ge,lt))return"";switch(ge.type){case"ieConditionalComment":return"<!";case"element":if(ge.hasHtmComponentClosingTag)return"<//";default:return`</${ge.rawName}`}}function _(ge,lt){if(z(ge,lt))return"";switch(ge.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(ge.isSelfClosing)return"/>";default:return">"}}function z(ge,lt){return!ge.isSelfClosing&&!ge.endSourceSpan&&(Q(ge)||Z(ge.parent,lt))}function B(ge){return ge.prev&&ge.prev.type!=="docType"&&!$(ge.prev)&&ge.isLeadingSpaceSensitive&&!ge.hasLeadingSpaces}function M(ge){return ge.lastChild&&ge.lastChild.isTrailingSpaceSensitive&&!ge.lastChild.hasTrailingSpaces&&!$(w(ge.lastChild))&&!F(ge)}function A(ge){return!ge.next&&!ge.hasTrailingSpaces&&ge.isTrailingSpaceSensitive&&$(w(ge))}function I(ge){return ge.next&&!$(ge.next)&&$(ge)&&ge.isTrailingSpaceSensitive&&!ge.hasTrailingSpaces}function j(ge){let lt=ge.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return lt?lt[1]?lt[1].split(/\s+/):!0:!1}function X(ge){return!ge.prev&&ge.isLeadingSpaceSensitive&&!ge.hasLeadingSpaces}function W(ge,lt,Pe){let ve=ge.getValue();if(!d(ve.attrs))return ve.isSelfClosing?" ":"";let ut=ve.prev&&ve.prev.type==="comment"&&j(ve.prev.value),wt=typeof ut=="boolean"?()=>ut:Array.isArray(ut)?$t=>ut.includes($t.rawName):()=>!1,pt=ge.map($t=>{let Nt=$t.getValue();return wt(Nt)?S(lt.originalText.slice(k(Nt),T(Nt))):Pe()},"attrs"),jt=ve.type==="element"&&ve.fullName==="script"&&ve.attrs.length===1&&ve.attrs[0].fullName==="src"&&ve.children.length===0,Be=lt.singleAttributePerLine&&ve.attrs.length>1&&!re(ve,lt)?v:D,Je=[g([jt?" ":D,y(Be,pt)])];return ve.firstChild&&X(ve.firstChild)||ve.isSelfClosing&&M(ve.parent)||jt?Je.push(ve.isSelfClosing?" ":""):Je.push(lt.bracketSameLine?ve.isSelfClosing?" ":"":ve.isSelfClosing?D:x),Je}function J(ge){return ge.firstChild&&X(ge.firstChild)?"":Ue(ge)}function ce(ge,lt,Pe){let ve=ge.getValue();return[Ae(ve,lt),W(ge,lt,Pe),ve.isSelfClosing?"":J(ve)]}function Ae(ge,lt){return ge.prev&&I(ge.prev)?"":[Te(ge,lt),we(ge)]}function Te(ge,lt){return X(ge)?Ue(ge.parent):B(ge)?_(ge.prev,lt):""}function we(ge){switch(ge.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${ge.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(ge.condition)return`<!--[if ${ge.condition}]><!--><${ge.rawName}`;default:return`<${ge.rawName}`}}function Ue(ge){switch(h(!ge.isSelfClosing),ge.type){case"ieConditionalComment":return"]>";case"element":if(ge.condition)return"><!--<![endif]-->";default:return">"}}c.exports={printClosingTag:L,printClosingTagStart:te,printClosingTagStartMarker:Fe,printClosingTagEndMarker:_,printClosingTagSuffix:ne,printClosingTagEnd:q,needsToBorrowLastChildClosingTagEndMarker:M,needsToBorrowParentClosingTagStartMarker:A,needsToBorrowPrevClosingTagEndMarker:B,printOpeningTag:ce,printOpeningTagStart:Ae,printOpeningTagPrefix:Te,printOpeningTagStartMarker:we,printOpeningTagEndMarker:Ue,needsToBorrowNextOpeningTagStartMarker:I,needsToBorrowParentOpeningTagEndMarker:X}}}),zn=Oe({"node_modules/parse-srcset/src/parse-srcset.js"(a,c){ze(),function(h,d){typeof c=="object"&&c.exports?c.exports=d():h.parseSrcset=d()}(a,function(){return function(h,d){var g=d&&d.logger||console;function y(Fe){return Fe===" "||Fe===" "||Fe===`
|
|
`||Fe==="\f"||Fe==="\r"}function D(Fe){var _,z=Fe.exec(h.substring(te));if(z)return _=z[0],te+=_.length,_}for(var x=h.length,v=/^[ \t\n\r\u000c]+/,S=/^[, \t\n\r\u000c]+/,k=/^[^ \t\n\r\u000c]+/,T=/[,]+$/,$=/^\d+$/,w=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,F,Q,Z,re,L,te=0,q=[];;){if(D(S),te>=x)return q;F=D(k),Q=[],F.slice(-1)===","?(F=F.replace(T,""),ne()):ae()}function ae(){for(D(v),Z="",re="in descriptor";;){if(L=h.charAt(te),re==="in descriptor")if(y(L))Z&&(Q.push(Z),Z="",re="after descriptor");else if(L===","){te+=1,Z&&Q.push(Z),ne();return}else if(L==="(")Z=Z+L,re="in parens";else if(L===""){Z&&Q.push(Z),ne();return}else Z=Z+L;else if(re==="in parens")if(L===")")Z=Z+L,re="in descriptor";else if(L===""){Q.push(Z),ne();return}else Z=Z+L;else if(re==="after descriptor"&&!y(L))if(L===""){ne();return}else re="in descriptor",te-=1;te+=1}}function ne(){var Fe=!1,_,z,B,M,A={},I,j,X,W,J;for(M=0;M<Q.length;M++)I=Q[M],j=I[I.length-1],X=I.substring(0,I.length-1),W=parseInt(X,10),J=parseFloat(X),$.test(X)&&j==="w"?((_||z)&&(Fe=!0),W===0?Fe=!0:_=W):w.test(X)&&j==="x"?((_||z||B)&&(Fe=!0),J<0?Fe=!0:z=J):$.test(X)&&j==="h"?((B||z)&&(Fe=!0),W===0?Fe=!0:B=W):Fe=!0;Fe?g&&g.error&&g.error("Invalid srcset descriptor found in '"+h+"' at '"+I+"'."):(A.url=F,_&&(A.w=_),z&&(A.d=z),B&&(A.h=B),q.push(A))}}})}}),ui=Oe({"src/language-html/syntax-attribute.js"(a,c){ze();var h=zn(),{builders:{ifBreak:d,join:g,line:y}}=Ln();function D(v){let S=h(v,{logger:{error(ae){throw new Error(ae)}}}),k=S.some(ae=>{let{w:ne}=ae;return ne}),T=S.some(ae=>{let{h:ne}=ae;return ne}),$=S.some(ae=>{let{d:ne}=ae;return ne});if(k+T+$>1)throw new Error("Mixed descriptor in srcset is not supported");let w=k?"w":T?"h":"d",F=k?"w":T?"h":"x",Q=ae=>Math.max(...ae),Z=S.map(ae=>ae.url),re=Q(Z.map(ae=>ae.length)),L=S.map(ae=>ae[w]).map(ae=>ae?ae.toString():""),te=L.map(ae=>{let ne=ae.indexOf(".");return ne===-1?ae.length:ne}),q=Q(te);return g([",",y],Z.map((ae,ne)=>{let Fe=[ae],_=L[ne];if(_){let z=re-ae.length+1,B=q-te[ne],M=" ".repeat(z+B);Fe.push(d(M," "),_+F)}return Fe}))}function x(v){return v.trim().split(/\s+/).join(" ")}c.exports={printImgSrcset:D,printClassNames:x}}}),Et=Oe({"src/language-html/syntax-vue.js"(a,c){ze();var{builders:{group:h}}=Ln();function d(x,v){let{left:S,operator:k,right:T}=g(x);return[h(v(`function _(${S}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",k," ",v(T,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function g(x){let v=/(.*?)\s+(in|of)\s+(.*)/s,S=/,([^,\]}]*)(?:,([^,\]}]*))?$/,k=/^\(|\)$/g,T=x.match(v);if(!T)return;let $={};if($.for=T[3].trim(),!$.for)return;let w=T[1].trim().replace(k,""),F=w.match(S);F?($.alias=w.replace(S,""),$.iterator1=F[1].trim(),F[2]&&($.iterator2=F[2].trim())):$.alias=w;let Q=[$.alias,$.iterator1,$.iterator2];if(!Q.some((Z,re)=>!Z&&(re===0||Q.slice(re+1).some(Boolean))))return{left:Q.filter(Boolean).join(","),operator:T[2],right:$.for}}function y(x,v){return v(`function _(${x}) {}`,{parser:"babel",__isVueBindings:!0})}function D(x){let v=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,S=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,k=x.trim();return v.test(k)||S.test(k)}c.exports={isVueEventBindingExpression:D,printVueFor:d,printVueBindings:y}}}),Gt=Oe({"src/language-html/get-node-content.js"(a,c){ze();var{needsToBorrowParentClosingTagStartMarker:h,printClosingTagStartMarker:d,needsToBorrowLastChildClosingTagEndMarker:g,printClosingTagEndMarker:y,needsToBorrowParentOpeningTagEndMarker:D,printOpeningTagEndMarker:x}=ai();function v(S,k){let T=S.startSourceSpan.end.offset;S.firstChild&&D(S.firstChild)&&(T-=x(S).length);let $=S.endSourceSpan.start.offset;return S.lastChild&&h(S.lastChild)?$+=d(S,k).length:g(S)&&($-=y(S.lastChild,k).length),k.originalText.slice(T,$)}c.exports=v}}),tr=Oe({"src/language-html/embed.js"(a,c){ze();var{builders:{breakParent:h,group:d,hardline:g,indent:y,line:D,fill:x,softline:v},utils:{mapDoc:S,replaceTextEndOfLine:k}}=Ln(),T=dc(),{printClosingTag:$,printClosingTagSuffix:w,needsToBorrowPrevClosingTagEndMarker:F,printOpeningTagPrefix:Q,printOpeningTag:Z}=ai(),{printImgSrcset:re,printClassNames:L}=ui(),{printVueFor:te,printVueBindings:q,isVueEventBindingExpression:ae}=Et(),{isScriptLikeTag:ne,isVueNonHtmlBlock:Fe,inferScriptParser:_,htmlTrimPreserveIndentation:z,dedentString:B,unescapeQuoteEntities:M,isVueSlotAttribute:A,isVueSfcBindingsAttribute:I,getTextValueParts:j}=ur(),X=Gt();function W(ce,Ae,Te){let we=pt=>new RegExp(pt.join("|")).test(ce.fullName),Ue=()=>M(ce.value),ge=!1,lt=(pt,jt)=>{let Be=pt.type==="NGRoot"?pt.node.type==="NGMicrosyntax"&&pt.node.body.length===1&&pt.node.body[0].type==="NGMicrosyntaxExpression"?pt.node.body[0].expression:pt.node:pt.type==="JsExpressionRoot"?pt.node:pt;Be&&(Be.type==="ObjectExpression"||Be.type==="ArrayExpression"||jt.parser==="__vue_expression"&&(Be.type==="TemplateLiteral"||Be.type==="StringLiteral"))&&(ge=!0)},Pe=pt=>d(pt),ve=function(pt){let jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return d([y([v,pt]),jt?v:""])},ut=pt=>ge?Pe(pt):ve(pt),wt=(pt,jt)=>Ae(pt,Object.assign({__onHtmlBindingRoot:lt,__embeddedInHtml:!0},jt));if(ce.fullName==="srcset"&&(ce.parent.fullName==="img"||ce.parent.fullName==="source"))return ve(re(Ue()));if(ce.fullName==="class"&&!Te.parentParser){let pt=Ue();if(!pt.includes("{{"))return L(pt)}if(ce.fullName==="style"&&!Te.parentParser){let pt=Ue();if(!pt.includes("{{"))return ve(wt(pt,{parser:"css",__isHTMLStyleAttribute:!0}))}if(Te.parser==="vue"){if(ce.fullName==="v-for")return te(Ue(),wt);if(A(ce)||I(ce,Te))return q(Ue(),wt);let pt=["^@","^v-on:"],jt=["^:","^v-bind:"],Be=["^v-"];if(we(pt)){let Je=Ue(),$t=ae(Je)?"__js_expression":Te.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return ut(wt(Je,{parser:$t}))}if(we(jt))return ut(wt(Ue(),{parser:"__vue_expression"}));if(we(Be))return ut(wt(Ue(),{parser:"__js_expression"}))}if(Te.parser==="angular"){let pt=(tt,Ve)=>wt(tt,Object.assign(Object.assign({},Ve),{},{trailingComma:"none"})),jt=["^\\*"],Be=["^\\(.+\\)$","^on-"],Je=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],$t=["^i18n(-.+)?$"];if(we(Be))return ut(pt(Ue(),{parser:"__ng_action"}));if(we(Je))return ut(pt(Ue(),{parser:"__ng_binding"}));if(we($t)){let tt=Ue().trim();return ve(x(j(ce,tt)),!tt.includes("@@"))}if(we(jt))return ut(pt(Ue(),{parser:"__ng_directive"}));let Nt=/{{(.+?)}}/s,jr=Ue();if(Nt.test(jr)){let tt=[];for(let[Ve,ft]of jr.split(Nt).entries())if(Ve%2===0)tt.push(k(ft));else try{tt.push(d(["{{",y([D,pt(ft,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),D,"}}"]))}catch{tt.push("{{",k(ft),"}}")}return d(tt)}}return null}function J(ce,Ae,Te,we){let Ue=ce.getValue();switch(Ue.type){case"element":{if(ne(Ue)||Ue.type==="interpolation")return;if(!Ue.isSelfClosing&&Fe(Ue,we)){let ge=_(Ue,we);if(!ge)return;let lt=X(Ue,we),Pe=/^\s*$/.test(lt),ve="";return Pe||(ve=Te(z(lt),{parser:ge,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Pe=ve===""),[Q(Ue,we),d(Z(ce,we,Ae)),Pe?"":g,ve,Pe?"":g,$(Ue,we),w(Ue,we)]}break}case"text":{if(ne(Ue.parent)){let ge=_(Ue.parent,we);if(ge){let lt=ge==="markdown"?B(Ue.value.replace(/^[^\S\n]*\n/,"")):Ue.value,Pe={parser:ge,__embeddedInHtml:!0};if(we.parser==="html"&&ge==="babel"){let ve="script",{attrMap:ut}=Ue.parent;ut&&(ut.type==="module"||ut.type==="text/babel"&&ut["data-type"]==="module")&&(ve="module"),Pe.__babelSourceType=ve}return[h,Q(Ue,we),Te(lt,Pe,{stripTrailingHardline:!0}),w(Ue,we)]}}else if(Ue.parent.type==="interpolation"){let ge={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return we.parser==="angular"?(ge.parser="__ng_interpolation",ge.trailingComma="none"):we.parser==="vue"?ge.parser=we.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":ge.parser="__js_expression",[y([D,Te(Ue.value,ge,{stripTrailingHardline:!0})]),Ue.parent.next&&F(Ue.parent.next)?" ":D]}break}case"attribute":{if(!Ue.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(we.originalText.slice(Ue.valueSpan.start.offset,Ue.valueSpan.end.offset)))return[Ue.rawName,"=",Ue.value];if(we.parser==="lwc"&&/^{.*}$/s.test(we.originalText.slice(Ue.valueSpan.start.offset,Ue.valueSpan.end.offset)))return[Ue.rawName,"=",Ue.value];let ge=W(Ue,(lt,Pe)=>Te(lt,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Pe),{stripTrailingHardline:!0}),we);if(ge)return[Ue.rawName,'="',d(S(ge,lt=>typeof lt=="string"?lt.replace(/"/g,"""):lt)),'"'];break}case"front-matter":return T(Ue,Te)}}c.exports=J}}),Zr=Oe({"src/language-html/print/children.js"(a,c){ze();var{builders:{breakParent:h,group:d,ifBreak:g,line:y,softline:D,hardline:x},utils:{replaceTextEndOfLine:v}}=Ln(),{locStart:S,locEnd:k}=yn(),{forceBreakChildren:T,forceNextEmptyLine:$,isTextLikeNode:w,hasPrettierIgnore:F,preferHardlineAsLeadingSpaces:Q}=ur(),{printOpeningTagPrefix:Z,needsToBorrowNextOpeningTagStartMarker:re,printOpeningTagStartMarker:L,needsToBorrowPrevClosingTagEndMarker:te,printClosingTagEndMarker:q,printClosingTagSuffix:ae,needsToBorrowParentClosingTagStartMarker:ne}=ai();function Fe(B,M,A){let I=B.getValue();return F(I)?[Z(I,M),...v(M.originalText.slice(S(I)+(I.prev&&re(I.prev)?L(I).length:0),k(I)-(I.next&&te(I.next)?q(I,M).length:0))),ae(I,M)]:A()}function _(B,M){return w(B)&&w(M)?B.isTrailingSpaceSensitive?B.hasTrailingSpaces?Q(M)?x:y:"":Q(M)?x:D:re(B)&&(F(M)||M.firstChild||M.isSelfClosing||M.type==="element"&&M.attrs.length>0)||B.type==="element"&&B.isSelfClosing&&te(M)?"":!M.isLeadingSpaceSensitive||Q(M)||te(M)&&B.lastChild&&ne(B.lastChild)&&B.lastChild.lastChild&&ne(B.lastChild.lastChild)?x:M.hasLeadingSpaces?y:D}function z(B,M,A){let I=B.getValue();if(T(I))return[h,...B.map(X=>{let W=X.getValue(),J=W.prev?_(W.prev,W):"";return[J?[J,$(W.prev)?x:""]:"",Fe(X,M,A)]},"children")];let j=I.children.map(()=>Symbol(""));return B.map((X,W)=>{let J=X.getValue();if(w(J)){if(J.prev&&w(J.prev)){let lt=_(J.prev,J);if(lt)return $(J.prev)?[x,x,Fe(X,M,A)]:[lt,Fe(X,M,A)]}return Fe(X,M,A)}let ce=[],Ae=[],Te=[],we=[],Ue=J.prev?_(J.prev,J):"",ge=J.next?_(J,J.next):"";return Ue&&($(J.prev)?ce.push(x,x):Ue===x?ce.push(x):w(J.prev)?Ae.push(Ue):Ae.push(g("",D,{groupId:j[W-1]}))),ge&&($(J)?w(J.next)&&we.push(x,x):ge===x?w(J.next)&&we.push(x):Te.push(ge)),[...ce,d([...Ae,d([Fe(X,M,A),...Te],{id:j[W]})]),...we]},"children")}c.exports={printChildren:z}}}),bt=Oe({"src/language-html/print/element.js"(a,c){ze();var{builders:{breakParent:h,dedentToRoot:d,group:g,ifBreak:y,indentIfBreak:D,indent:x,line:v,softline:S},utils:{replaceTextEndOfLine:k}}=Ln(),T=Gt(),{shouldPreserveContent:$,isScriptLikeTag:w,isVueCustomBlock:F,countParents:Q,forceBreakContent:Z}=ur(),{printOpeningTagPrefix:re,printOpeningTag:L,printClosingTagSuffix:te,printClosingTag:q,needsToBorrowPrevClosingTagEndMarker:ae,needsToBorrowLastChildClosingTagEndMarker:ne}=ai(),{printChildren:Fe}=Zr();function _(z,B,M){let A=z.getValue();if($(A,B))return[re(A,B),g(L(z,B,M)),...k(T(A,B)),...q(A,B),te(A,B)];let I=A.children.length===1&&A.firstChild.type==="interpolation"&&A.firstChild.isLeadingSpaceSensitive&&!A.firstChild.hasLeadingSpaces&&A.lastChild.isTrailingSpaceSensitive&&!A.lastChild.hasTrailingSpaces,j=Symbol("element-attr-group-id"),X=Ae=>g([g(L(z,B,M),{id:j}),Ae,q(A,B)]),W=Ae=>I?D(Ae,{groupId:j}):(w(A)||F(A,B))&&A.parent.type==="root"&&B.parser==="vue"&&!B.vueIndentScriptAndStyle?Ae:x(Ae),J=()=>I?y(S,"",{groupId:j}):A.firstChild.hasLeadingSpaces&&A.firstChild.isLeadingSpaceSensitive?v:A.firstChild.type==="text"&&A.isWhitespaceSensitive&&A.isIndentationSensitive?d(S):S,ce=()=>(A.next?ae(A.next):ne(A.parent))?A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?" ":"":I?y(S,"",{groupId:j}):A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?v:(A.lastChild.type==="comment"||A.lastChild.type==="text"&&A.isWhitespaceSensitive&&A.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${B.tabWidth*Q(z,Ae=>Ae.parent&&Ae.parent.type!=="root")}}$`).test(A.lastChild.value)?"":S;return A.children.length===0?X(A.hasDanglingSpaces&&A.isDanglingSpaceSensitive?v:""):X([Z(A)?h:"",W([J(),Fe(z,B,M)]),ce()])}c.exports={printElement:_}}}),wn=Oe({"src/language-html/printer-html.js"(a,c){ze();var{builders:{fill:h,group:d,hardline:g,literalline:y},utils:{cleanDoc:D,getDocParts:x,isConcat:v,replaceTextEndOfLine:S}}=Ln(),k=Pn(),{countChars:T,unescapeQuoteEntities:$,getTextValueParts:w}=ur(),F=qi(),{insertPragma:Q}=Fr(),{locStart:Z,locEnd:re}=yn(),L=tr(),{printClosingTagSuffix:te,printClosingTagEnd:q,printOpeningTagPrefix:ae,printOpeningTagStart:ne}=ai(),{printElement:Fe}=bt(),{printChildren:_}=Zr();function z(B,M,A){let I=B.getValue();switch(I.type){case"front-matter":return S(I.raw);case"root":return M.__onHtmlRoot&&M.__onHtmlRoot(I),[d(_(B,M,A)),g];case"element":case"ieConditionalComment":return Fe(B,M,A);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ne(I),q(I)];case"interpolation":return[ne(I,M),...B.map(A,"children"),q(I,M)];case"text":{if(I.parent.type==="interpolation"){let X=/\n[^\S\n]*$/,W=X.test(I.value),J=W?I.value.replace(X,""):I.value;return[...S(J),W?g:""]}let j=D([ae(I,M),...w(I),te(I,M)]);return v(j)||j.type==="fill"?h(x(j)):j}case"docType":return[d([ne(I,M)," ",I.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),q(I,M)];case"comment":return[ae(I,M),...S(M.originalText.slice(Z(I),re(I)),y),te(I,M)];case"attribute":{if(I.value===null)return I.rawName;let j=$(I.value),X=T(j,"'"),W=T(j,'"'),J=X<W?"'":'"';return[I.rawName,"=",J,...S(J==='"'?j.replace(/"/g,"""):j.replace(/'/g,"'")),J]}default:throw new Error(`Unexpected node type ${I.type}`)}}c.exports={preprocess:F,print:z,insertPragma:Q,massageAstNode:k,embed:L}}}),ln=Oe({"src/language-html/options.js"(a,c){ze();var h=hu(),d="HTML";c.exports={bracketSameLine:h.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:d,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:h.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:d,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),Hs=Oe({"src/language-html/parsers.js"(){ze()}}),Vi=Oe({"node_modules/linguist-languages/data/HTML.json"(a,c){c.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}}}),Ms=Oe({"node_modules/linguist-languages/data/Vue.json"(a,c){c.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Ko=Oe({"src/language-html/index.js"(a,c){ze();var h=_s(),d=wn(),g=ln(),y=Hs(),D=[h(Vi(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),h(Vi(),v=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...v.extensions,".mjml"]})),h(Vi(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),h(Ms(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],x={html:d};c.exports={languages:D,printers:x,options:g,parsers:y}}}),so=Oe({"src/language-yaml/pragma.js"(a,c){ze();function h(y){return/^\s*@(?:prettier|format)\s*$/.test(y)}function d(y){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(y)}function g(y){return`# @format
|
|
|
|
${y}`}c.exports={isPragma:h,hasPragma:d,insertPragma:g}}}),$s=Oe({"src/language-yaml/loc.js"(a,c){ze();function h(g){return g.position.start.offset}function d(g){return g.position.end.offset}c.exports={locStart:h,locEnd:d}}}),Fo=Oe({"src/language-yaml/embed.js"(a,c){ze();function h(d,g,y,D){if(d.getValue().type==="root"&&D.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(D.filepath))return y(D.originalText,Object.assign(Object.assign({},D),{},{parser:"json"}))}c.exports=h}}),ws=Oe({"src/language-yaml/utils.js"(a,c){ze();var{getLast:h,isNonEmptyArray:d}=pi();function g(_,z){let B=0,M=_.stack.length-1;for(let A=0;A<M;A++){let I=_.stack[A];y(I)&&z(I)&&B++}return B}function y(_,z){return _&&typeof _.type=="string"&&(!z||z.includes(_.type))}function D(_,z,B){return z("children"in _?Object.assign(Object.assign({},_),{},{children:_.children.map(M=>D(M,z,_))}):_,B)}function x(_,z,B){Object.defineProperty(_,z,{get:B,enumerable:!1})}function v(_,z){let B=0,M=z.length;for(let A=_.position.end.offset-1;A<M;A++){let I=z[A];if(I===`
|
|
`&&B++,B===1&&/\S/.test(I))return!1;if(B===2)return!0}return!1}function S(_){switch(_.getValue().type){case"tag":case"anchor":case"comment":return!1}let z=_.stack.length;for(let B=1;B<z;B++){let M=_.stack[B],A=_.stack[B-1];if(Array.isArray(A)&&typeof M=="number"&&M!==A.length-1)return!1}return!0}function k(_){return d(_.children)?k(h(_.children)):_}function T(_){return _.value.trim()==="prettier-ignore"}function $(_){let z=_.getValue();if(z.type==="documentBody"){let B=_.getParentNode();return te(B.head)&&T(h(B.head.endComments))}return Q(z)&&T(h(z.leadingComments))}function w(_){return!d(_.children)&&!F(_)}function F(_){return Q(_)||Z(_)||re(_)||L(_)||te(_)}function Q(_){return d(_==null?void 0:_.leadingComments)}function Z(_){return d(_==null?void 0:_.middleComments)}function re(_){return _==null?void 0:_.indicatorComment}function L(_){return _==null?void 0:_.trailingComment}function te(_){return d(_==null?void 0:_.endComments)}function q(_){let z=[],B;for(let M of _.split(/( +)/))M!==" "?B===" "?z.push(M):z.push((z.pop()||"")+M):B===void 0&&z.unshift(""),B=M;return B===" "&&z.push((z.pop()||"")+" "),z[0]===""&&(z.shift(),z.unshift(" "+(z.shift()||""))),z}function ae(_,z,B){let M=z.split(`
|
|
`).map((A,I,j)=>I===0&&I===j.length-1?A:I!==0&&I!==j.length-1?A.trim():I===0?A.trimEnd():A.trimStart());return B.proseWrap==="preserve"?M.map(A=>A.length===0?[]:[A]):M.map(A=>A.length===0?[]:q(A)).reduce((A,I,j)=>j!==0&&M[j-1].length>0&&I.length>0&&!(_==="quoteDouble"&&h(h(A)).endsWith("\\"))?[...A.slice(0,-1),[...h(A),...I]]:[...A,I],[]).map(A=>B.proseWrap==="never"?[A.join(" ")]:A)}function ne(_,z){let{parentIndent:B,isLastDescendant:M,options:A}=z,I=_.position.start.line===_.position.end.line?"":A.originalText.slice(_.position.start.offset,_.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],j;if(_.indent===null){let J=I.match(/^(?<leadingSpace> *)[^\n\r ]/m);j=J?J.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else j=_.indent-1+B;let X=I.split(`
|
|
`).map(J=>J.slice(j));if(A.proseWrap==="preserve"||_.type==="blockLiteral")return W(X.map(J=>J.length===0?[]:[J]));return W(X.map(J=>J.length===0?[]:q(J)).reduce((J,ce,Ae)=>Ae!==0&&X[Ae-1].length>0&&ce.length>0&&!/^\s/.test(ce[0])&&!/^\s|\s$/.test(h(J))?[...J.slice(0,-1),[...h(J),...ce]]:[...J,ce],[]).map(J=>J.reduce((ce,Ae)=>ce.length>0&&/\s$/.test(h(ce))?[...ce.slice(0,-1),h(ce)+" "+Ae]:[...ce,Ae],[])).map(J=>A.proseWrap==="never"?[J.join(" ")]:J));function W(J){if(_.chomping==="keep")return h(J).length===0?J.slice(0,-1):J;let ce=0;for(let Ae=J.length-1;Ae>=0&&J[Ae].length===0;Ae--)ce++;return ce===0?J:ce>=2&&!M?J.slice(0,-(ce-1)):J.slice(0,-ce)}}function Fe(_){if(!_)return!0;switch(_.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}c.exports={getLast:h,getAncestorCount:g,isNode:y,isEmptyNode:w,isInlineNode:Fe,mapNode:D,defineShortcut:x,isNextLineEmpty:v,isLastDescendantNode:S,getBlockValueLineContents:ne,getFlowScalarLineContents:ae,getLastDescendantNode:k,hasPrettierIgnore:$,hasLeadingComments:Q,hasMiddleComments:Z,hasIndicatorComment:re,hasTrailingComment:L,hasEndComments:te}}}),Ls=Oe({"src/language-yaml/print-preprocess.js"(a,c){ze();var{defineShortcut:h,mapNode:d}=ws();function g(D){return d(D,y)}function y(D){switch(D.type){case"document":h(D,"head",()=>D.children[0]),h(D,"body",()=>D.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":h(D,"content",()=>D.children[0]);break;case"mappingItem":case"flowMappingItem":h(D,"key",()=>D.children[0]),h(D,"value",()=>D.children[1]);break}return D}c.exports=g}}),ro=Oe({"src/language-yaml/print/misc.js"(a,c){ze();var{builders:{softline:h,align:d}}=Ln(),{hasEndComments:g,isNextLineEmpty:y,isNode:D}=ws(),x=new WeakMap;function v(T,$){let w=T.getValue(),F=T.stack[0],Q;return x.has(F)?Q=x.get(F):(Q=new Set,x.set(F,Q)),!Q.has(w.position.end.line)&&(Q.add(w.position.end.line),y(w,$)&&!S(T.getParentNode()))?h:""}function S(T){return g(T)&&!D(T,["documentHead","documentBody","flowMapping","flowSequence"])}function k(T,$){return d(" ".repeat(T),$)}c.exports={alignWithSpaces:k,shouldPrintEndComments:S,printNextEmptyLine:v}}}),mc=Oe({"src/language-yaml/print/flow-mapping-sequence.js"(a,c){ze();var{builders:{ifBreak:h,line:d,softline:g,hardline:y,join:D}}=Ln(),{isEmptyNode:x,getLast:v,hasEndComments:S}=ws(),{printNextEmptyLine:k,alignWithSpaces:T}=ro();function $(F,Q,Z){let re=F.getValue(),L=re.type==="flowMapping",te=L?"{":"[",q=L?"}":"]",ae=g;L&&re.children.length>0&&Z.bracketSpacing&&(ae=d);let ne=v(re.children),Fe=ne&&ne.type==="flowMappingItem"&&x(ne.key)&&x(ne.value);return[te,T(Z.tabWidth,[ae,w(F,Q,Z),Z.trailingComma==="none"?"":h(","),S(re)?[y,D(y,F.map(Q,"endComments"))]:""]),Fe?"":ae,q]}function w(F,Q,Z){let re=F.getValue();return F.map((L,te)=>[Q(),te===re.children.length-1?"":[",",d,re.children[te].position.start.line!==re.children[te+1].position.start.line?k(L,Z.originalText):""]],"children")}c.exports={printFlowMapping:$,printFlowSequence:$}}}),Jp=Oe({"src/language-yaml/print/mapping-item.js"(a,c){ze();var{builders:{conditionalGroup:h,group:d,hardline:g,ifBreak:y,join:D,line:x}}=Ln(),{hasLeadingComments:v,hasMiddleComments:S,hasTrailingComment:k,hasEndComments:T,isNode:$,isEmptyNode:w,isInlineNode:F}=ws(),{alignWithSpaces:Q}=ro();function Z(q,ae,ne,Fe,_){let{key:z,value:B}=q,M=w(z),A=w(B);if(M&&A)return": ";let I=Fe("key"),j=L(q)?" ":"";if(A)return q.type==="flowMappingItem"&&ae.type==="flowMapping"?I:q.type==="mappingItem"&&re(z.content,_)&&!k(z.content)&&(!ae.tag||ae.tag.value!=="tag:yaml.org,2002:set")?[I,j,":"]:["? ",Q(2,I)];let X=Fe("value");if(M)return[": ",Q(2,X)];if(v(B)||!F(z.content))return["? ",Q(2,I),g,D("",ne.map(Fe,"value","leadingComments").map(we=>[we,g])),": ",Q(2,X)];if(te(z.content)&&!v(z.content)&&!S(z.content)&&!k(z.content)&&!T(z)&&!v(B.content)&&!S(B.content)&&!T(B)&&re(B.content,_))return[I,j,": ",X];let W=Symbol("mappingKey"),J=d([y("? "),d(Q(2,I),{id:W})]),ce=[g,": ",Q(2,X)],Ae=[j,":"];v(B.content)||T(B)&&B.content&&!$(B.content,["mapping","sequence"])||ae.type==="mapping"&&k(z.content)&&F(B.content)||$(B.content,["mapping","sequence"])&&B.content.tag===null&&B.content.anchor===null?Ae.push(g):B.content&&Ae.push(x),Ae.push(X);let Te=Q(_.tabWidth,Ae);return re(z.content,_)&&!v(z.content)&&!S(z.content)&&!T(z)?h([[I,Te]]):h([[J,y(ce,Te,{groupId:W})]])}function re(q,ae){if(!q)return!0;switch(q.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(ae.proseWrap==="preserve")return q.position.start.line===q.position.end.line;if(/\\$/m.test(ae.originalText.slice(q.position.start.offset,q.position.end.offset)))return!1;switch(ae.proseWrap){case"never":return!q.value.includes(`
|
|
`);case"always":return!/[\n ]/.test(q.value);default:return!1}}function L(q){return q.key.content&&q.key.content.type==="alias"}function te(q){if(!q)return!0;switch(q.type){case"plain":case"quoteDouble":case"quoteSingle":return q.position.start.line===q.position.end.line;case"alias":return!0;default:return!1}}c.exports=Z}}),bg=Oe({"src/language-yaml/print/block.js"(a,c){ze();var{builders:{dedent:h,dedentToRoot:d,fill:g,hardline:y,join:D,line:x,literalline:v,markAsRoot:S},utils:{getDocParts:k}}=Ln(),{getAncestorCount:T,getBlockValueLineContents:$,hasIndicatorComment:w,isLastDescendantNode:F,isNode:Q}=ws(),{alignWithSpaces:Z}=ro();function re(L,te,q){let ae=L.getValue(),ne=T(L,M=>Q(M,["sequence","mapping"])),Fe=F(L),_=[ae.type==="blockFolded"?">":"|"];ae.indent!==null&&_.push(ae.indent.toString()),ae.chomping!=="clip"&&_.push(ae.chomping==="keep"?"+":"-"),w(ae)&&_.push(" ",te("indicatorComment"));let z=$(ae,{parentIndent:ne,isLastDescendant:Fe,options:q}),B=[];for(let[M,A]of z.entries())M===0&&B.push(y),B.push(g(k(D(x,A)))),M!==z.length-1?B.push(A.length===0?y:S(v)):ae.chomping==="keep"&&Fe&&B.push(d(A.length===0?y:v));return ae.indent===null?_.push(h(Z(q.tabWidth,B))):_.push(d(Z(ae.indent-1+ne,B))),_}c.exports=re}}),Uh=Oe({"src/language-yaml/printer-yaml.js"(a,c){ze();var{builders:{breakParent:h,fill:d,group:g,hardline:y,join:D,line:x,lineSuffix:v,literalline:S},utils:{getDocParts:k,replaceTextEndOfLine:T}}=Ln(),{isPreviousLineEmpty:$}=pi(),{insertPragma:w,isPragma:F}=so(),{locStart:Q}=$s(),Z=Fo(),{getFlowScalarLineContents:re,getLastDescendantNode:L,hasLeadingComments:te,hasMiddleComments:q,hasTrailingComment:ae,hasEndComments:ne,hasPrettierIgnore:Fe,isLastDescendantNode:_,isNode:z,isInlineNode:B}=ws(),M=Ls(),{alignWithSpaces:A,printNextEmptyLine:I,shouldPrintEndComments:j}=ro(),{printFlowMapping:X,printFlowSequence:W}=mc(),J=Jp(),ce=bg();function Ae(ve,ut,wt){let pt=ve.getValue(),jt=[];pt.type!=="mappingValue"&&te(pt)&&jt.push([D(y,ve.map(wt,"leadingComments")),y]);let{tag:Be,anchor:Je}=pt;Be&&jt.push(wt("tag")),Be&&Je&&jt.push(" "),Je&&jt.push(wt("anchor"));let $t="";z(pt,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!_(ve)&&($t=I(ve,ut.originalText)),(Be||Je)&&(z(pt,["sequence","mapping"])&&!q(pt)?jt.push(y):jt.push(" ")),q(pt)&&jt.push([pt.middleComments.length===1?"":y,D(y,ve.map(wt,"middleComments")),y]);let Nt=ve.getParentNode();return Fe(ve)?jt.push(T(ut.originalText.slice(pt.position.start.offset,pt.position.end.offset).trimEnd(),S)):jt.push(g(Te(pt,Nt,ve,ut,wt))),ae(pt)&&!z(pt,["document","documentHead"])&&jt.push(v([pt.type==="mappingValue"&&!pt.content?"":" ",Nt.type==="mappingKey"&&ve.getParentNode(2).type==="mapping"&&B(pt)?"":h,wt("trailingComment")])),j(pt)&&jt.push(A(pt.type==="sequenceItem"?2:0,[y,D(y,ve.map(jr=>[$(ut.originalText,jr.getValue(),Q)?y:"",wt()],"endComments"))])),jt.push($t),jt}function Te(ve,ut,wt,pt,jt){switch(ve.type){case"root":{let{children:Be}=ve,Je=[];wt.each((Nt,jr)=>{let tt=Be[jr],Ve=Be[jr+1];jr!==0&&Je.push(y),Je.push(jt()),Ue(tt,Ve)?(Je.push(y,"..."),ae(tt)&&Je.push(" ",jt("trailingComment"))):Ve&&!ae(Ve.head)&&Je.push(y,"---")},"children");let $t=L(ve);return(!z($t,["blockLiteral","blockFolded"])||$t.chomping!=="keep")&&Je.push(y),Je}case"document":{let Be=ut.children[wt.getName()+1],Je=[];return ge(ve,Be,ut,pt)==="head"&&((ve.head.children.length>0||ve.head.endComments.length>0)&&Je.push(jt("head")),ae(ve.head)?Je.push(["---"," ",jt(["head","trailingComment"])]):Je.push("---")),we(ve)&&Je.push(jt("body")),D(y,Je)}case"documentHead":return D(y,[...wt.map(jt,"children"),...wt.map(jt,"endComments")]);case"documentBody":{let{children:Be,endComments:Je}=ve,$t="";if(Be.length>0&&Je.length>0){let Nt=L(ve);z(Nt,["blockFolded","blockLiteral"])?Nt.chomping!=="keep"&&($t=[y,y]):$t=y}return[D(y,wt.map(jt,"children")),$t,D(y,wt.map(jt,"endComments"))]}case"directive":return["%",D(" ",[ve.name,...ve.parameters])];case"comment":return["#",ve.value];case"alias":return["*",ve.value];case"tag":return pt.originalText.slice(ve.position.start.offset,ve.position.end.offset);case"anchor":return["&",ve.value];case"plain":return lt(ve.type,pt.originalText.slice(ve.position.start.offset,ve.position.end.offset),pt);case"quoteDouble":case"quoteSingle":{let Be="'",Je='"',$t=pt.originalText.slice(ve.position.start.offset+1,ve.position.end.offset-1);if(ve.type==="quoteSingle"&&$t.includes("\\")||ve.type==="quoteDouble"&&/\\[^"]/.test($t)){let jr=ve.type==="quoteDouble"?Je:Be;return[jr,lt(ve.type,$t,pt),jr]}if($t.includes(Je))return[Be,lt(ve.type,ve.type==="quoteDouble"?$t.replace(/\\"/g,Je).replace(/'/g,Be.repeat(2)):$t,pt),Be];if($t.includes(Be))return[Je,lt(ve.type,ve.type==="quoteSingle"?$t.replace(/''/g,Be):$t,pt),Je];let Nt=pt.singleQuote?Be:Je;return[Nt,lt(ve.type,$t,pt),Nt]}case"blockFolded":case"blockLiteral":return ce(wt,jt,pt);case"mapping":case"sequence":return D(y,wt.map(jt,"children"));case"sequenceItem":return["- ",A(2,ve.content?jt("content"):"")];case"mappingKey":case"mappingValue":return ve.content?jt("content"):"";case"mappingItem":case"flowMappingItem":return J(ve,ut,wt,jt,pt);case"flowMapping":return X(wt,jt,pt);case"flowSequence":return W(wt,jt,pt);case"flowSequenceItem":return jt("content");default:throw new Error(`Unexpected node type ${ve.type}`)}}function we(ve){return ve.body.children.length>0||ne(ve.body)}function Ue(ve,ut){return ae(ve)||ut&&(ut.head.children.length>0||ne(ut.head))}function ge(ve,ut,wt,pt){return wt.children[0]===ve&&/---(?:\s|$)/.test(pt.originalText.slice(Q(ve),Q(ve)+4))||ve.head.children.length>0||ne(ve.head)||ae(ve.head)?"head":Ue(ve,ut)?!1:ut?"root":!1}function lt(ve,ut,wt){let pt=re(ve,ut,wt);return D(y,pt.map(jt=>d(k(D(x,jt)))))}function Pe(ve,ut){if(z(ut))switch(delete ut.position,ut.type){case"comment":if(F(ut.value))return null;break;case"quoteDouble":case"quoteSingle":ut.type="quote";break}}c.exports={preprocess:M,embed:Z,print:Ae,massageAstNode:Pe,insertPragma:w}}}),vg=Oe({"src/language-yaml/options.js"(a,c){ze();var h=hu();c.exports={bracketSpacing:h.bracketSpacing,singleQuote:h.singleQuote,proseWrap:h.proseWrap}}}),Cg=Oe({"src/language-yaml/parsers.js"(){ze()}}),nd=Oe({"node_modules/linguist-languages/data/YAML.json"(a,c){c.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}}}),Sg=Oe({"src/language-yaml/index.js"(a,c){ze();var h=_s(),d=Uh(),g=vg(),y=Cg(),D=[h(nd(),x=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...x.filenames.filter(v=>v!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];c.exports={languages:D,printers:{yaml:d},options:g,parsers:y}}}),Eg=Oe({"src/languages.js"(a,c){ze(),c.exports=[ep(),op(),de(),Se(),Qn(),Ko(),Sg()]}});ze();var{version:Ag}=xs(),gc=Io(),{getSupportInfo:wg}=Fu(),ap=ya(),id=Eg(),Pg=Ln();function l(a){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var h=arguments.length,d=new Array(h),g=0;g<h;g++)d[g]=arguments[g];let y=d[c]||{},D=y.plugins||[];return d[c]=Object.assign(Object.assign({},y),{},{plugins:[...id,...Array.isArray(D)?D:Object.values(D)]}),a(...d)}}var o=l(gc.formatWithCursor);ue.exports={formatWithCursor:o,format(a,c){return o(a,c).formatted},check(a,c){let{formatted:h}=o(a,c);return h===a},doc:Pg,getSupportInfo:l(wg,0),version:Ag,util:ap,__debug:{parse:l(gc.parse),formatAST:l(gc.formatAST),formatDoc:l(gc.formatDoc),printToDoc:l(gc.printToDoc),printDocToString:l(gc.printDocToString)}}});return Ze()})})(fE);var qI=fE.exports;const ZI=ng(qI);var dE={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(zr,Ht)=>()=>(Ht||zr((Ht={exports:{}}).exports,Ht),Ht.exports),n=t((zr,Ht)=>{var zt=function(or){return or&&or.Math==Math&&or};Ht.exports=zt(typeof globalThis=="object"&&globalThis)||zt(typeof window=="object"&&window)||zt(typeof self=="object"&&self)||zt(typeof ql=="object"&&ql)||function(){return this}()||Function("return this")()}),i=t((zr,Ht)=>{Ht.exports=function(zt){try{return!!zt()}catch{return!0}}}),s=t((zr,Ht)=>{var zt=i();Ht.exports=!zt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),u=t((zr,Ht)=>{var zt=i();Ht.exports=!zt(function(){var or=function(){}.bind();return typeof or!="function"||or.hasOwnProperty("prototype")})}),p=t((zr,Ht)=>{var zt=u(),or=Function.prototype.call;Ht.exports=zt?or.bind(or):function(){return or.apply(or,arguments)}}),f=t(zr=>{var Ht={}.propertyIsEnumerable,zt=Object.getOwnPropertyDescriptor,or=zt&&!Ht.call({1:2},1);zr.f=or?function(ar){var xr=zt(this,ar);return!!xr&&xr.enumerable}:Ht}),m=t((zr,Ht)=>{Ht.exports=function(zt,or){return{enumerable:!(zt&1),configurable:!(zt&2),writable:!(zt&4),value:or}}}),O=t((zr,Ht)=>{var zt=u(),or=Function.prototype,ar=or.call,xr=zt&&or.bind.bind(ar,ar);Ht.exports=zt?xr:function(Hr){return function(){return ar.apply(Hr,arguments)}}}),b=t((zr,Ht)=>{var zt=O(),or=zt({}.toString),ar=zt("".slice);Ht.exports=function(xr){return ar(or(xr),8,-1)}}),N=t((zr,Ht)=>{var zt=O(),or=i(),ar=b(),xr=Object,Hr=zt("".split);Ht.exports=or(function(){return!xr("z").propertyIsEnumerable(0)})?function(It){return ar(It)=="String"?Hr(It,""):xr(It)}:xr}),U=t((zr,Ht)=>{Ht.exports=function(zt){return zt==null}}),he=t((zr,Ht)=>{var zt=U(),or=TypeError;Ht.exports=function(ar){if(zt(ar))throw or("Can't call method on "+ar);return ar}}),Re=t((zr,Ht)=>{var zt=N(),or=he();Ht.exports=function(ar){return zt(or(ar))}}),Ge=t((zr,Ht)=>{var zt=typeof document=="object"&&document.all,or=typeof zt>"u"&&zt!==void 0;Ht.exports={all:zt,IS_HTMLDDA:or}}),$e=t((zr,Ht)=>{var zt=Ge(),or=zt.all;Ht.exports=zt.IS_HTMLDDA?function(ar){return typeof ar=="function"||ar===or}:function(ar){return typeof ar=="function"}}),gt=t((zr,Ht)=>{var zt=$e(),or=Ge(),ar=or.all;Ht.exports=or.IS_HTMLDDA?function(xr){return typeof xr=="object"?xr!==null:zt(xr)||xr===ar}:function(xr){return typeof xr=="object"?xr!==null:zt(xr)}}),kt=t((zr,Ht)=>{var zt=n(),or=$e(),ar=function(xr){return or(xr)?xr:void 0};Ht.exports=function(xr,Hr){return arguments.length<2?ar(zt[xr]):zt[xr]&&zt[xr][Hr]}}),qt=t((zr,Ht)=>{var zt=O();Ht.exports=zt({}.isPrototypeOf)}),Yt=t((zr,Ht)=>{var zt=kt();Ht.exports=zt("navigator","userAgent")||""}),Pr=t((zr,Ht)=>{var zt=n(),or=Yt(),ar=zt.process,xr=zt.Deno,Hr=ar&&ar.versions||xr&&xr.version,It=Hr&&Hr.v8,Cn,_n;It&&(Cn=It.split("."),_n=Cn[0]>0&&Cn[0]<4?1:+(Cn[0]+Cn[1])),!_n&&or&&(Cn=or.match(/Edge\/(\d+)/),(!Cn||Cn[1]>=74)&&(Cn=or.match(/Chrome\/(\d+)/),Cn&&(_n=+Cn[1]))),Ht.exports=_n}),vr=t((zr,Ht)=>{var zt=Pr(),or=i();Ht.exports=!!Object.getOwnPropertySymbols&&!or(function(){var ar=Symbol();return!String(ar)||!(Object(ar)instanceof Symbol)||!Symbol.sham&&zt&&zt<41})}),mr=t((zr,Ht)=>{var zt=vr();Ht.exports=zt&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),kr=t((zr,Ht)=>{var zt=kt(),or=$e(),ar=qt(),xr=mr(),Hr=Object;Ht.exports=xr?function(It){return typeof It=="symbol"}:function(It){var Cn=zt("Symbol");return or(Cn)&&ar(Cn.prototype,Hr(It))}}),Rr=t((zr,Ht)=>{var zt=String;Ht.exports=function(or){try{return zt(or)}catch{return"Object"}}}),dn=t((zr,Ht)=>{var zt=$e(),or=Rr(),ar=TypeError;Ht.exports=function(xr){if(zt(xr))return xr;throw ar(or(xr)+" is not a function")}}),Nn=t((zr,Ht)=>{var zt=dn(),or=U();Ht.exports=function(ar,xr){var Hr=ar[xr];return or(Hr)?void 0:zt(Hr)}}),Bi=t((zr,Ht)=>{var zt=p(),or=$e(),ar=gt(),xr=TypeError;Ht.exports=function(Hr,It){var Cn,_n;if(It==="string"&&or(Cn=Hr.toString)&&!ar(_n=zt(Cn,Hr))||or(Cn=Hr.valueOf)&&!ar(_n=zt(Cn,Hr))||It!=="string"&&or(Cn=Hr.toString)&&!ar(_n=zt(Cn,Hr)))return _n;throw xr("Can't convert object to primitive value")}}),Gi=t((zr,Ht)=>{Ht.exports=!1}),Si=t((zr,Ht)=>{var zt=n(),or=Object.defineProperty;Ht.exports=function(ar,xr){try{or(zt,ar,{value:xr,configurable:!0,writable:!0})}catch{zt[ar]=xr}return xr}}),jn=t((zr,Ht)=>{var zt=n(),or=Si(),ar="__core-js_shared__",xr=zt[ar]||or(ar,{});Ht.exports=xr}),ti=t((zr,Ht)=>{var zt=Gi(),or=jn();(Ht.exports=function(ar,xr){return or[ar]||(or[ar]=xr!==void 0?xr:{})})("versions",[]).push({version:"3.26.1",mode:zt?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Mn=t((zr,Ht)=>{var zt=he(),or=Object;Ht.exports=function(ar){return or(zt(ar))}}),Sn=t((zr,Ht)=>{var zt=O(),or=Mn(),ar=zt({}.hasOwnProperty);Ht.exports=Object.hasOwn||function(xr,Hr){return ar(or(xr),Hr)}}),es=t((zr,Ht)=>{var zt=O(),or=0,ar=Math.random(),xr=zt(1 .toString);Ht.exports=function(Hr){return"Symbol("+(Hr===void 0?"":Hr)+")_"+xr(++or+ar,36)}}),Qi=t((zr,Ht)=>{var zt=n(),or=ti(),ar=Sn(),xr=es(),Hr=vr(),It=mr(),Cn=or("wks"),_n=zt.Symbol,qn=_n&&_n.for,Xt=It?_n:_n&&_n.withoutSetter||xr;Ht.exports=function(ii){if(!ar(Cn,ii)||!(Hr||typeof Cn[ii]=="string")){var fi="Symbol."+ii;Hr&&ar(_n,ii)?Cn[ii]=_n[ii]:It&&qn?Cn[ii]=qn(fi):Cn[ii]=Xt(fi)}return Cn[ii]}}),os=t((zr,Ht)=>{var zt=p(),or=gt(),ar=kr(),xr=Nn(),Hr=Bi(),It=Qi(),Cn=TypeError,_n=It("toPrimitive");Ht.exports=function(qn,Xt){if(!or(qn)||ar(qn))return qn;var ii=xr(qn,_n),fi;if(ii){if(Xt===void 0&&(Xt="default"),fi=zt(ii,qn,Xt),!or(fi)||ar(fi))return fi;throw Cn("Can't convert object to primitive value")}return Xt===void 0&&(Xt="number"),Hr(qn,Xt)}}),Es=t((zr,Ht)=>{var zt=os(),or=kr();Ht.exports=function(ar){var xr=zt(ar,"string");return or(xr)?xr:xr+""}}),ys=t((zr,Ht)=>{var zt=n(),or=gt(),ar=zt.document,xr=or(ar)&&or(ar.createElement);Ht.exports=function(Hr){return xr?ar.createElement(Hr):{}}}),Cr=t((zr,Ht)=>{var zt=s(),or=i(),ar=ys();Ht.exports=!zt&&!or(function(){return Object.defineProperty(ar("div"),"a",{get:function(){return 7}}).a!=7})}),mn=t(zr=>{var Ht=s(),zt=p(),or=f(),ar=m(),xr=Re(),Hr=Es(),It=Sn(),Cn=Cr(),_n=Object.getOwnPropertyDescriptor;zr.f=Ht?_n:function(qn,Xt){if(qn=xr(qn),Xt=Hr(Xt),Cn)try{return _n(qn,Xt)}catch{}if(It(qn,Xt))return ar(!zt(or.f,qn,Xt),qn[Xt])}}),fn=t((zr,Ht)=>{var zt=s(),or=i();Ht.exports=zt&&or(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),En=t((zr,Ht)=>{var zt=gt(),or=String,ar=TypeError;Ht.exports=function(xr){if(zt(xr))return xr;throw ar(or(xr)+" is not an object")}}),xi=t(zr=>{var Ht=s(),zt=Cr(),or=fn(),ar=En(),xr=Es(),Hr=TypeError,It=Object.defineProperty,Cn=Object.getOwnPropertyDescriptor,_n="enumerable",qn="configurable",Xt="writable";zr.f=Ht?or?function(ii,fi,dr){if(ar(ii),fi=xr(fi),ar(dr),typeof ii=="function"&&fi==="prototype"&&"value"in dr&&Xt in dr&&!dr[Xt]){var Ot=Cn(ii,fi);Ot&&Ot[Xt]&&(ii[fi]=dr.value,dr={configurable:qn in dr?dr[qn]:Ot[qn],enumerable:_n in dr?dr[_n]:Ot[_n],writable:!1})}return It(ii,fi,dr)}:It:function(ii,fi,dr){if(ar(ii),fi=xr(fi),ar(dr),zt)try{return It(ii,fi,dr)}catch{}if("get"in dr||"set"in dr)throw Hr("Accessors not supported");return"value"in dr&&(ii[fi]=dr.value),ii}}),ss=t((zr,Ht)=>{var zt=s(),or=xi(),ar=m();Ht.exports=zt?function(xr,Hr,It){return or.f(xr,Hr,ar(1,It))}:function(xr,Hr,It){return xr[Hr]=It,xr}}),$i=t((zr,Ht)=>{var zt=s(),or=Sn(),ar=Function.prototype,xr=zt&&Object.getOwnPropertyDescriptor,Hr=or(ar,"name"),It=Hr&&function(){}.name==="something",Cn=Hr&&(!zt||zt&&xr(ar,"name").configurable);Ht.exports={EXISTS:Hr,PROPER:It,CONFIGURABLE:Cn}}),qe=t((zr,Ht)=>{var zt=O(),or=$e(),ar=jn(),xr=zt(Function.toString);or(ar.inspectSource)||(ar.inspectSource=function(Hr){return xr(Hr)}),Ht.exports=ar.inspectSource}),yt=t((zr,Ht)=>{var zt=n(),or=$e(),ar=zt.WeakMap;Ht.exports=or(ar)&&/native code/.test(String(ar))}),pr=t((zr,Ht)=>{var zt=ti(),or=es(),ar=zt("keys");Ht.exports=function(xr){return ar[xr]||(ar[xr]=or(xr))}}),gr=t((zr,Ht)=>{Ht.exports={}}),$r=t((zr,Ht)=>{var zt=yt(),or=n(),ar=gt(),xr=ss(),Hr=Sn(),It=jn(),Cn=pr(),_n=gr(),qn="Object already initialized",Xt=or.TypeError,ii=or.WeakMap,fi,dr,Ot,mt=function(ke){return Ot(ke)?dr(ke):fi(ke,{})},St=function(ke){return function(_e){var Ze;if(!ar(_e)||(Ze=dr(_e)).type!==ke)throw Xt("Incompatible receiver, "+ke+" required");return Ze}};zt||It.state?(Dt=It.state||(It.state=new ii),Dt.get=Dt.get,Dt.has=Dt.has,Dt.set=Dt.set,fi=function(ke,_e){if(Dt.has(ke))throw Xt(qn);return _e.facade=ke,Dt.set(ke,_e),_e},dr=function(ke){return Dt.get(ke)||{}},Ot=function(ke){return Dt.has(ke)}):(Ke=Cn("state"),_n[Ke]=!0,fi=function(ke,_e){if(Hr(ke,Ke))throw Xt(qn);return _e.facade=ke,xr(ke,Ke,_e),_e},dr=function(ke){return Hr(ke,Ke)?ke[Ke]:{}},Ot=function(ke){return Hr(ke,Ke)});var Dt,Ke;Ht.exports={set:fi,get:dr,has:Ot,enforce:mt,getterFor:St}}),Yr=t((zr,Ht)=>{var zt=i(),or=$e(),ar=Sn(),xr=s(),Hr=$i().CONFIGURABLE,It=qe(),Cn=$r(),_n=Cn.enforce,qn=Cn.get,Xt=Object.defineProperty,ii=xr&&!zt(function(){return Xt(function(){},"length",{value:8}).length!==8}),fi=String(String).split("String"),dr=Ht.exports=function(Ot,mt,St){String(mt).slice(0,7)==="Symbol("&&(mt="["+String(mt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),St&&St.getter&&(mt="get "+mt),St&&St.setter&&(mt="set "+mt),(!ar(Ot,"name")||Hr&&Ot.name!==mt)&&(xr?Xt(Ot,"name",{value:mt,configurable:!0}):Ot.name=mt),ii&&St&&ar(St,"arity")&&Ot.length!==St.arity&&Xt(Ot,"length",{value:St.arity});try{St&&ar(St,"constructor")&&St.constructor?xr&&Xt(Ot,"prototype",{writable:!1}):Ot.prototype&&(Ot.prototype=void 0)}catch{}var Dt=_n(Ot);return ar(Dt,"source")||(Dt.source=fi.join(typeof mt=="string"?mt:"")),Ot};Function.prototype.toString=dr(function(){return or(this)&&qn(this).source||It(this)},"toString")}),gn=t((zr,Ht)=>{var zt=$e(),or=xi(),ar=Yr(),xr=Si();Ht.exports=function(Hr,It,Cn,_n){_n||(_n={});var qn=_n.enumerable,Xt=_n.name!==void 0?_n.name:It;if(zt(Cn)&&ar(Cn,Xt,_n),_n.global)qn?Hr[It]=Cn:xr(It,Cn);else{try{_n.unsafe?Hr[It]&&(qn=!0):delete Hr[It]}catch{}qn?Hr[It]=Cn:or.f(Hr,It,{value:Cn,enumerable:!1,configurable:!_n.nonConfigurable,writable:!_n.nonWritable})}return Hr}}),Gr=t((zr,Ht)=>{var zt=Math.ceil,or=Math.floor;Ht.exports=Math.trunc||function(ar){var xr=+ar;return(xr>0?or:zt)(xr)}}),rn=t((zr,Ht)=>{var zt=Gr();Ht.exports=function(or){var ar=+or;return ar!==ar||ar===0?0:zt(ar)}}),Vr=t((zr,Ht)=>{var zt=rn(),or=Math.max,ar=Math.min;Ht.exports=function(xr,Hr){var It=zt(xr);return It<0?or(It+Hr,0):ar(It,Hr)}}),Yn=t((zr,Ht)=>{var zt=rn(),or=Math.min;Ht.exports=function(ar){return ar>0?or(zt(ar),9007199254740991):0}}),Dn=t((zr,Ht)=>{var zt=Yn();Ht.exports=function(or){return zt(or.length)}}),Gn=t((zr,Ht)=>{var zt=Re(),or=Vr(),ar=Dn(),xr=function(Hr){return function(It,Cn,_n){var qn=zt(It),Xt=ar(qn),ii=or(_n,Xt),fi;if(Hr&&Cn!=Cn){for(;Xt>ii;)if(fi=qn[ii++],fi!=fi)return!0}else for(;Xt>ii;ii++)if((Hr||ii in qn)&&qn[ii]===Cn)return Hr||ii||0;return!Hr&&-1}};Ht.exports={includes:xr(!0),indexOf:xr(!1)}}),Ei=t((zr,Ht)=>{var zt=O(),or=Sn(),ar=Re(),xr=Gn().indexOf,Hr=gr(),It=zt([].push);Ht.exports=function(Cn,_n){var qn=ar(Cn),Xt=0,ii=[],fi;for(fi in qn)!or(Hr,fi)&&or(qn,fi)&&It(ii,fi);for(;_n.length>Xt;)or(qn,fi=_n[Xt++])&&(~xr(ii,fi)||It(ii,fi));return ii}}),Mi=t((zr,Ht)=>{Ht.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),as=t(zr=>{var Ht=Ei(),zt=Mi(),or=zt.concat("length","prototype");zr.f=Object.getOwnPropertyNames||function(ar){return Ht(ar,or)}}),ns=t(zr=>{zr.f=Object.getOwnPropertySymbols}),As=t((zr,Ht)=>{var zt=kt(),or=O(),ar=as(),xr=ns(),Hr=En(),It=or([].concat);Ht.exports=zt("Reflect","ownKeys")||function(Cn){var _n=ar.f(Hr(Cn)),qn=xr.f;return qn?It(_n,qn(Cn)):_n}}),Oo=t((zr,Ht)=>{var zt=Sn(),or=As(),ar=mn(),xr=xi();Ht.exports=function(Hr,It,Cn){for(var _n=or(It),qn=xr.f,Xt=ar.f,ii=0;ii<_n.length;ii++){var fi=_n[ii];!zt(Hr,fi)&&!(Cn&&zt(Cn,fi))&&qn(Hr,fi,Xt(It,fi))}}}),fa=t((zr,Ht)=>{var zt=i(),or=$e(),ar=/#|\.prototype\./,xr=function(qn,Xt){var ii=It[Hr(qn)];return ii==_n?!0:ii==Cn?!1:or(Xt)?zt(Xt):!!Xt},Hr=xr.normalize=function(qn){return String(qn).replace(ar,".").toLowerCase()},It=xr.data={},Cn=xr.NATIVE="N",_n=xr.POLYFILL="P";Ht.exports=xr}),Wo=t((zr,Ht)=>{var zt=n(),or=mn().f,ar=ss(),xr=gn(),Hr=Si(),It=Oo(),Cn=fa();Ht.exports=function(_n,qn){var Xt=_n.target,ii=_n.global,fi=_n.stat,dr,Ot,mt,St,Dt,Ke;if(ii?Ot=zt:fi?Ot=zt[Xt]||Hr(Xt,{}):Ot=(zt[Xt]||{}).prototype,Ot)for(mt in qn){if(Dt=qn[mt],_n.dontCallGetSet?(Ke=or(Ot,mt),St=Ke&&Ke.value):St=Ot[mt],dr=Cn(ii?mt:Xt+(fi?".":"#")+mt,_n.forced),!dr&&St!==void 0){if(typeof Dt==typeof St)continue;It(Dt,St)}(_n.sham||St&&St.sham)&&ar(Dt,"sham",!0),xr(Ot,mt,Dt,_n)}}}),da=t(()=>{var zr=Wo(),Ht=n();zr({global:!0,forced:Ht.globalThis!==Ht},{globalThis:Ht})}),Au=t(()=>{da()}),to=t((zr,Ht)=>{Au();var zt=Object.defineProperty,or=Object.getOwnPropertyDescriptor,ar=Object.getOwnPropertyNames,xr=Object.prototype.hasOwnProperty,Hr=(E,K)=>function(){return E&&(K=(0,E[ar(E)[0]])(E=0)),K},It=(E,K)=>function(){return K||(0,E[ar(E)[0]])((K={exports:{}}).exports,K),K.exports},Cn=(E,K)=>{for(var Y in K)zt(E,Y,{get:K[Y],enumerable:!0})},_n=(E,K,Y,G)=>{if(K&&typeof K=="object"||typeof K=="function")for(let se of ar(K))!xr.call(E,se)&&se!==Y&&zt(E,se,{get:()=>K[se],enumerable:!(G=or(K,se))||G.enumerable});return E},qn=E=>_n(zt({},"__esModule",{value:!0}),E),Xt=Hr({"<define:process>"(){}}),ii=It({"src/common/parser-create-error.js"(E,K){Xt();function Y(G,se){let pe=new SyntaxError(G+" ("+se.start.line+":"+se.start.column+")");return pe.loc=se,pe}K.exports=Y}}),fi=It({"src/utils/get-last.js"(E,K){Xt();var Y=G=>G[G.length-1];K.exports=Y}}),dr=It({"src/utils/front-matter/parse.js"(E,K){Xt();var Y=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function G(se){let pe=se.match(Y);if(!pe)return{content:se};let{startDelimiter:le,language:de,value:ie="",endDelimiter:fe}=pe.groups,P=de.trim()||"yaml";if(le==="+++"&&(P="toml"),P!=="yaml"&&le!==fe)return{content:se};let[C]=pe;return{frontMatter:{type:"front-matter",lang:P,value:ie,startDelimiter:le,endDelimiter:fe,raw:C.replace(/\n$/,"")},content:C.replace(/[^\n]/g," ")+se.slice(C.length)}}K.exports=G}}),Ot={};Cn(Ot,{EOL:()=>xt,arch:()=>De,cpus:()=>Ze,default:()=>nr,endianness:()=>mt,freemem:()=>ke,getNetworkInterfaces:()=>Ce,hostname:()=>St,loadavg:()=>Dt,networkInterfaces:()=>oe,platform:()=>Me,release:()=>ue,tmpDir:()=>rt,tmpdir:()=>Ye,totalmem:()=>_e,type:()=>me,uptime:()=>Ke});function mt(){if(typeof ht>"u"){var E=new ArrayBuffer(2),K=new Uint8Array(E),Y=new Uint16Array(E);if(K[0]=1,K[1]=2,Y[0]===258)ht="BE";else if(Y[0]===513)ht="LE";else throw new Error("unable to figure out endianess")}return ht}function St(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Dt(){return[]}function Ke(){return 0}function ke(){return Number.MAX_VALUE}function _e(){return Number.MAX_VALUE}function Ze(){return[]}function me(){return"Browser"}function ue(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function oe(){}function Ce(){}function De(){return"javascript"}function Me(){return"browser"}function rt(){return"/tmp"}var ht,Ye,xt,nr,Jt=Hr({"node-modules-polyfills:os"(){Xt(),Ye=rt,xt=`
|
|
`,nr={EOL:xt,tmpdir:Ye,tmpDir:rt,networkInterfaces:oe,getNetworkInterfaces:Ce,release:ue,type:me,cpus:Ze,totalmem:_e,freemem:ke,uptime:Ke,loadavg:Dt,hostname:St,endianness:mt}}}),yr=It({"node-modules-polyfills-commonjs:os"(E,K){Xt();var Y=(Jt(),qn(Ot));if(Y&&Y.default){K.exports=Y.default;for(let G in Y)K.exports[G]=Y[G]}else Y&&(K.exports=Y)}}),br=It({"node_modules/detect-newline/index.js"(E,K){Xt();var Y=G=>{if(typeof G!="string")throw new TypeError("Expected a string");let se=G.match(/(?:\r?\n)/g)||[];if(se.length===0)return;let pe=se.filter(de=>de===`\r
|
|
`).length,le=se.length-pe;return pe>le?`\r
|
|
`:`
|
|
`};K.exports=Y,K.exports.graceful=G=>typeof G=="string"&&Y(G)||`
|
|
`}}),Oe=It({"node_modules/jest-docblock/build/index.js"(E){Xt(),Object.defineProperty(E,"__esModule",{value:!0}),E.extract=V,E.parse=ye,E.parseWithComments=Le,E.print=xe,E.strip=Se;function K(){let ct=yr();return K=function(){return ct},ct}function Y(){let ct=G(br());return Y=function(){return ct},ct}function G(ct){return ct&&ct.__esModule?ct:{default:ct}}var se=/\*\/$/,pe=/^\/\*\*?/,le=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,de=/(^|\s+)\/\/([^\r\n]*)/g,ie=/^(\r?\n)+/,fe=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,P=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,C=/(\r?\n|^) *\* ?/g,H=[];function V(ct){let dt=ct.match(le);return dt?dt[0].trimLeft():""}function Se(ct){let dt=ct.match(le);return dt&&dt[0]?ct.substring(dt[0].length):ct}function ye(ct){return Le(ct).pragmas}function Le(ct){let dt=(0,Y().default)(ct)||K().EOL;ct=ct.replace(pe,"").replace(se,"").replace(C,"$1");let Pt="";for(;Pt!==ct;)Pt=ct,ct=ct.replace(fe,`${dt}$1 $2${dt}`);ct=ct.replace(ie,"").trimRight();let wr=Object.create(null),qr=ct.replace(P,"").replace(ie,"").trimRight(),sn;for(;sn=P.exec(ct);){let Vn=sn[2].replace(de,"");typeof wr[sn[1]]=="string"||Array.isArray(wr[sn[1]])?wr[sn[1]]=H.concat(wr[sn[1]],Vn):wr[sn[1]]=Vn}return{comments:qr,pragmas:wr}}function xe(ct){let{comments:dt="",pragmas:Pt={}}=ct,wr=(0,Y().default)(dt)||K().EOL,qr="/**",sn=" *",Vn=" */",An=Object.keys(Pt),Qn=An.map(Xn=>Ee(Xn,Pt[Xn])).reduce((Xn,_r)=>Xn.concat(_r),[]).map(Xn=>`${sn} ${Xn}${wr}`).join("");if(!dt){if(An.length===0)return"";if(An.length===1&&!Array.isArray(Pt[An[0]])){let Xn=Pt[An[0]];return`${qr} ${Ee(An[0],Xn)[0]}${Vn}`}}let Pn=dt.split(wr).map(Xn=>`${sn} ${Xn}`).join(wr)+wr;return qr+wr+(dt?Pn:"")+(dt&&An.length?sn+wr:"")+Qn+Vn}function Ee(ct,dt){return H.concat(dt).map(Pt=>`@${ct} ${Pt}`.trim())}}}),un=It({"src/common/end-of-line.js"(E,K){Xt();function Y(le){let de=le.indexOf("\r");return de>=0?le.charAt(de+1)===`
|
|
`?"crlf":"cr":"lf"}function G(le){switch(le){case"cr":return"\r";case"crlf":return`\r
|
|
`;default:return`
|
|
`}}function se(le,de){let ie;switch(de){case`
|
|
`:ie=/\n/g;break;case"\r":ie=/\r/g;break;case`\r
|
|
`:ie=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(de)}.`)}let fe=le.match(ie);return fe?fe.length:0}function pe(le){return le.replace(/\r\n?/g,`
|
|
`)}K.exports={guessEndOfLine:Y,convertEndOfLineToChars:G,countEndOfLineChars:se,normalizeEndOfLine:pe}}}),pn=It({"src/language-js/utils/get-shebang.js"(E,K){Xt();function Y(G){if(!G.startsWith("#!"))return"";let se=G.indexOf(`
|
|
`);return se===-1?G:G.slice(0,se)}K.exports=Y}}),si=It({"src/language-js/pragma.js"(E,K){Xt();var{parseWithComments:Y,strip:G,extract:se,print:pe}=Oe(),{normalizeEndOfLine:le}=un(),de=pn();function ie(C){let H=de(C);H&&(C=C.slice(H.length+1));let V=se(C),{pragmas:Se,comments:ye}=Y(V);return{shebang:H,text:C,pragmas:Se,comments:ye}}function fe(C){let H=Object.keys(ie(C).pragmas);return H.includes("prettier")||H.includes("format")}function P(C){let{shebang:H,text:V,pragmas:Se,comments:ye}=ie(C),Le=G(V),xe=pe({pragmas:Object.assign({format:""},Se),comments:ye.trimStart()});return(H?`${H}
|
|
`:"")+le(xe)+(Le.startsWith(`
|
|
`)?`
|
|
`:`
|
|
|
|
`)+Le}K.exports={hasPragma:fe,insertPragma:P}}}),yi=It({"src/language-css/pragma.js"(E,K){Xt();var Y=si(),G=dr();function se(le){return Y.hasPragma(G(le).content)}function pe(le){let{frontMatter:de,content:ie}=G(le);return(de?de.raw+`
|
|
|
|
`:"")+Y.insertPragma(ie)}K.exports={hasPragma:se,insertPragma:pe}}}),zi=It({"src/utils/text/skip.js"(E,K){Xt();function Y(de){return(ie,fe,P)=>{let C=P&&P.backwards;if(fe===!1)return!1;let{length:H}=ie,V=fe;for(;V>=0&&V<H;){let Se=ie.charAt(V);if(de instanceof RegExp){if(!de.test(Se))return V}else if(!de.includes(Se))return V;C?V--:V++}return V===-1||V===H?V:!1}}var G=Y(/\s/),se=Y(" "),pe=Y(",; "),le=Y(/[^\n\r]/);K.exports={skipWhitespace:G,skipSpaces:se,skipToLineEnd:pe,skipEverythingButNewLine:le}}}),ze=It({"src/utils/line-column-to-index.js"(E,K){Xt(),K.exports=function(Y,G){let se=0;for(let pe=0;pe<Y.line-1;++pe)se=G.indexOf(`
|
|
`,se)+1;return se+Y.column}}}),xs=It({"src/language-css/loc.js"(E,K){Xt();var{skipEverythingButNewLine:Y}=zi(),G=fi(),se=ze();function pe(V,Se){return typeof V.sourceIndex=="number"?V.sourceIndex:V.source?se(V.source.start,Se)-1:null}function le(V,Se){if(V.type==="css-comment"&&V.inline)return Y(Se,V.source.startOffset);let ye=V.nodes&&G(V.nodes);return ye&&V.source&&!V.source.end&&(V=ye),V.source&&V.source.end?se(V.source.end,Se):null}function de(V,Se){V.source&&(V.source.startOffset=pe(V,Se),V.source.endOffset=le(V,Se));for(let ye in V){let Le=V[ye];ye==="source"||!Le||typeof Le!="object"||(Le.type==="value-root"||Le.type==="value-unknown"?ie(Le,fe(V),Le.text||Le.value):de(Le,Se))}}function ie(V,Se,ye){V.source&&(V.source.startOffset=pe(V,ye)+Se,V.source.endOffset=le(V,ye)+Se);for(let Le in V){let xe=V[Le];Le==="source"||!xe||typeof xe!="object"||ie(xe,Se,ye)}}function fe(V){let Se=V.source.startOffset;return typeof V.prop=="string"&&(Se+=V.prop.length),V.type==="css-atrule"&&typeof V.name=="string"&&(Se+=1+V.name.length+V.raws.afterName.match(/^\s*:?\s*/)[0].length),V.type!=="css-atrule"&&V.raws&&typeof V.raws.between=="string"&&(Se+=V.raws.between.length),Se}function P(V){let Se="initial",ye="initial",Le,xe=!1,Ee=[];for(let ct=0;ct<V.length;ct++){let dt=V[ct];switch(Se){case"initial":if(dt==="'"){Se="single-quotes";continue}if(dt==='"'){Se="double-quotes";continue}if((dt==="u"||dt==="U")&&V.slice(ct,ct+4).toLowerCase()==="url("){Se="url",ct+=3;continue}if(dt==="*"&&V[ct-1]==="/"){Se="comment-block";continue}if(dt==="/"&&V[ct-1]==="/"){Se="comment-inline",Le=ct-1;continue}continue;case"single-quotes":if(dt==="'"&&V[ct-1]!=="\\"&&(Se=ye,ye="initial"),dt===`
|
|
`||dt==="\r")return V;continue;case"double-quotes":if(dt==='"'&&V[ct-1]!=="\\"&&(Se=ye,ye="initial"),dt===`
|
|
`||dt==="\r")return V;continue;case"url":if(dt===")"&&(Se="initial"),dt===`
|
|
`||dt==="\r")return V;if(dt==="'"){Se="single-quotes",ye="url";continue}if(dt==='"'){Se="double-quotes",ye="url";continue}continue;case"comment-block":dt==="/"&&V[ct-1]==="*"&&(Se="initial");continue;case"comment-inline":(dt==='"'||dt==="'"||dt==="*")&&(xe=!0),(dt===`
|
|
`||dt==="\r")&&(xe&&Ee.push([Le,ct]),Se="initial",xe=!1);continue}}for(let[ct,dt]of Ee)V=V.slice(0,ct)+V.slice(ct,dt).replace(/["'*]/g," ")+V.slice(dt);return V}function C(V){return V.source.startOffset}function H(V){return V.source.endOffset}K.exports={locStart:C,locEnd:H,calculateLoc:de,replaceQuotesInInlineComments:P}}}),Ao=It({"src/utils/is-non-empty-array.js"(E,K){Xt();function Y(G){return Array.isArray(G)&&G.length>0}K.exports=Y}}),qo=It({"src/language-css/utils/has-scss-interpolation.js"(E,K){Xt();var Y=Ao();function G(se){if(Y(se)){for(let pe=se.length-1;pe>0;pe--)if(se[pe].type==="word"&&se[pe].value==="{"&&se[pe-1].type==="word"&&se[pe-1].value.endsWith("#"))return!0}return!1}K.exports=G}}),Os=It({"src/language-css/utils/has-string-or-function.js"(E,K){Xt();function Y(G){return G.some(se=>se.type==="string"||se.type==="func")}K.exports=Y}}),co=It({"src/language-css/utils/is-less-parser.js"(E,K){Xt();function Y(G){return G.parser==="css"||G.parser==="less"}K.exports=Y}}),Ds=It({"src/language-css/utils/is-scss.js"(E,K){Xt();function Y(G,se){return G==="less"||G==="scss"?G==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(se)}K.exports=Y}}),Zo=It({"src/language-css/utils/is-scss-nested-property-node.js"(E,K){Xt();function Y(G){return G.selector?G.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}K.exports=Y}}),io=It({"src/language-css/utils/is-scss-variable.js"(E,K){Xt();function Y(G){return!!((G==null?void 0:G.type)==="word"&&G.value.startsWith("$"))}K.exports=Y}}),zs=It({"src/language-css/utils/stringify-node.js"(E,K){Xt();function Y(G){var se,pe,le;if(G.groups){var de,ie,fe;let xe=((de=G.open)===null||de===void 0?void 0:de.value)||"",Ee=G.groups.map(dt=>Y(dt)).join(((ie=G.groups[0])===null||ie===void 0?void 0:ie.type)==="comma_group"?",":""),ct=((fe=G.close)===null||fe===void 0?void 0:fe.value)||"";return xe+Ee+ct}let P=((se=G.raws)===null||se===void 0?void 0:se.before)||"",C=((pe=G.raws)===null||pe===void 0?void 0:pe.quote)||"",H=G.type==="atword"?"@":"",V=G.value||"",Se=G.unit||"",ye=G.group?Y(G.group):"",Le=((le=G.raws)===null||le===void 0?void 0:le.after)||"";return P+C+H+V+C+Se+ye+Le}K.exports=Y}}),wu=It({"src/language-css/utils/is-module-rule-name.js"(E,K){Xt();var Y=new Set(["import","use","forward"]);function G(se){return Y.has(se)}K.exports=G}}),Do=It({"node_modules/postcss-values-parser/lib/node.js"(E,K){Xt();var Y=function(G,se){let pe=new G.constructor;for(let le in G){if(!G.hasOwnProperty(le))continue;let de=G[le],ie=typeof de;le==="parent"&&ie==="object"?se&&(pe[le]=se):le==="source"?pe[le]=de:de instanceof Array?pe[le]=de.map(fe=>Y(fe,pe)):le!=="before"&&le!=="after"&&le!=="between"&&le!=="semicolon"&&(ie==="object"&&de!==null&&(de=Y(de)),pe[le]=de)}return pe};K.exports=class{constructor(G){G=G||{},this.raws={before:"",after:""};for(let se in G)this[se]=G[se]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(G){G=G||{};let se=Y(this);for(let pe in G)se[pe]=G[pe];return se}cloneBefore(G){G=G||{};let se=this.clone(G);return this.parent.insertBefore(this,se),se}cloneAfter(G){G=G||{};let se=this.clone(G);return this.parent.insertAfter(this,se),se}replaceWith(){let G=Array.prototype.slice.call(arguments);if(this.parent){for(let se of G)this.parent.insertBefore(this,se);this.remove()}return this}moveTo(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.append(this),this}moveBefore(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.parent.insertBefore(G,this),this}moveAfter(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.parent.insertAfter(G,this),this}next(){let G=this.parent.index(this);return this.parent.nodes[G+1]}prev(){let G=this.parent.index(this);return this.parent.nodes[G-1]}toJSON(){let G={};for(let se in this){if(!this.hasOwnProperty(se)||se==="parent")continue;let pe=this[se];pe instanceof Array?G[se]=pe.map(le=>typeof le=="object"&&le.toJSON?le.toJSON():le):typeof pe=="object"&&pe.toJSON?G[se]=pe.toJSON():G[se]=pe}return G}root(){let G=this;for(;G.parent;)G=G.parent;return G}cleanRaws(G){delete this.raws.before,delete this.raws.after,G||delete this.raws.between}positionInside(G){let se=this.toString(),pe=this.source.start.column,le=this.source.start.line;for(let de=0;de<G;de++)se[de]===`
|
|
`?(pe=1,le+=1):pe+=1;return{line:le,column:pe}}positionBy(G){let se=this.source.start;if(Object(G).index)se=this.positionInside(G.index);else if(Object(G).word){let pe=this.toString().indexOf(G.word);pe!==-1&&(se=this.positionInside(pe))}return se}}}}),Ws=It({"node_modules/postcss-values-parser/lib/container.js"(E,K){Xt();var Y=Do(),G=class extends Y{constructor(se){super(se),this.nodes||(this.nodes=[])}push(se){return se.parent=this,this.nodes.push(se),this}each(se){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let pe=this.lastEach,le,de;if(this.indexes[pe]=0,!!this.nodes){for(;this.indexes[pe]<this.nodes.length&&(le=this.indexes[pe],de=se(this.nodes[le],le),de!==!1);)this.indexes[pe]+=1;return delete this.indexes[pe],de}}walk(se){return this.each((pe,le)=>{let de=se(pe,le);return de!==!1&&pe.walk&&(de=pe.walk(se)),de})}walkType(se,pe){if(!se||!pe)throw new Error("Parameters {type} and {callback} are required.");let le=typeof se=="function";return this.walk((de,ie)=>{if(le&&de instanceof se||!le&&de.type===se)return pe.call(this,de,ie)})}append(se){return se.parent=this,this.nodes.push(se),this}prepend(se){return se.parent=this,this.nodes.unshift(se),this}cleanRaws(se){if(super.cleanRaws(se),this.nodes)for(let pe of this.nodes)pe.cleanRaws(se)}insertAfter(se,pe){let le=this.index(se),de;this.nodes.splice(le+1,0,pe);for(let ie in this.indexes)de=this.indexes[ie],le<=de&&(this.indexes[ie]=de+this.nodes.length);return this}insertBefore(se,pe){let le=this.index(se),de;this.nodes.splice(le,0,pe);for(let ie in this.indexes)de=this.indexes[ie],le<=de&&(this.indexes[ie]=de+this.nodes.length);return this}removeChild(se){se=this.index(se),this.nodes[se].parent=void 0,this.nodes.splice(se,1);let pe;for(let le in this.indexes)pe=this.indexes[le],pe>=se&&(this.indexes[le]=pe-1);return this}removeAll(){for(let se of this.nodes)se.parent=void 0;return this.nodes=[],this}every(se){return this.nodes.every(se)}some(se){return this.nodes.some(se)}index(se){return typeof se=="number"?se:this.nodes.indexOf(se)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let se=this.nodes.map(String).join("");return this.value&&(se=this.value+se),this.raws.before&&(se=this.raws.before+se),this.raws.after&&(se+=this.raws.after),se}};G.registerWalker=se=>{let pe="walk"+se.name;pe.lastIndexOf("s")!==pe.length-1&&(pe+="s"),!G.prototype[pe]&&(G.prototype[pe]=function(le){return this.walkType(se,le)})},K.exports=G}}),po=It({"node_modules/postcss-values-parser/lib/root.js"(E,K){Xt();var Y=Ws();K.exports=class extends Y{constructor(G){super(G),this.type="root"}}}}),ml=It({"node_modules/postcss-values-parser/lib/value.js"(E,K){Xt();var Y=Ws();K.exports=class extends Y{constructor(G){super(G),this.type="value",this.unbalanced=0}}}}),gl=It({"node_modules/postcss-values-parser/lib/atword.js"(E,K){Xt();var Y=Ws(),G=class extends Y{constructor(se){super(se),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Y.registerWalker(G),K.exports=G}}),Pu=It({"node_modules/postcss-values-parser/lib/colon.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="colon"}};Y.registerWalker(se),K.exports=se}}),yl=It({"node_modules/postcss-values-parser/lib/comma.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="comma"}};Y.registerWalker(se),K.exports=se}}),tu=It({"node_modules/postcss-values-parser/lib/comment.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="comment",this.inline=Object(pe).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Y.registerWalker(se),K.exports=se}}),wa=It({"node_modules/postcss-values-parser/lib/function.js"(E,K){Xt();var Y=Ws(),G=class extends Y{constructor(se){super(se),this.type="func",this.unbalanced=-1}};Y.registerWalker(G),K.exports=G}}),Gl=It({"node_modules/postcss-values-parser/lib/number.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="number",this.unit=Object(pe).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};Y.registerWalker(se),K.exports=se}}),Hl=It({"node_modules/postcss-values-parser/lib/operator.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="operator"}};Y.registerWalker(se),K.exports=se}}),Ln=It({"node_modules/postcss-values-parser/lib/paren.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="paren",this.parenType=""}};Y.registerWalker(se),K.exports=se}}),Ol=It({"node_modules/postcss-values-parser/lib/string.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="string"}toString(){let pe=this.quoted?this.raws.quote:"";return[this.raws.before,pe,this.value+"",pe,this.raws.after].join("")}};Y.registerWalker(se),K.exports=se}}),Jl=It({"node_modules/postcss-values-parser/lib/word.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="word"}};Y.registerWalker(se),K.exports=se}}),Kl=It({"node_modules/postcss-values-parser/lib/unicode-range.js"(E,K){Xt();var Y=Ws(),G=Do(),se=class extends G{constructor(pe){super(pe),this.type="unicode-range"}};Y.registerWalker(se),K.exports=se}});function Dl(){throw new Error("setTimeout has not been defined")}function Tu(){throw new Error("clearTimeout has not been defined")}function xl(E){if(zo===setTimeout)return setTimeout(E,0);if((zo===Dl||!zo)&&setTimeout)return zo=setTimeout,setTimeout(E,0);try{return zo(E,0)}catch{try{return zo.call(null,E,0)}catch{return zo.call(this,E,0)}}}function Uc(E){if(Yo===clearTimeout)return clearTimeout(E);if((Yo===Tu||!Yo)&&clearTimeout)return Yo=clearTimeout,clearTimeout(E);try{return Yo(E)}catch{try{return Yo.call(null,E)}catch{return Yo.call(this,E)}}}function ec(){!wo||!pi||(wo=!1,pi.length?No=pi.concat(No):Pa=-1,No.length&&tc())}function tc(){if(!wo){var E=xl(ec);wo=!0;for(var K=No.length;K;){for(pi=No,No=[];++Pa<K;)pi&&pi[Pa].run();Pa=-1,K=No.length}pi=null,wo=!1,Uc(E)}}function ma(E){var K=new Array(arguments.length-1);if(arguments.length>1)for(var Y=1;Y<arguments.length;Y++)K[Y-1]=arguments[Y];No.push(new ku(E,K)),No.length===1&&!wo&&xl(tc)}function ku(E,K){this.fun=E,this.array=K}function ga(){}function rc(E){throw new Error("process.binding is not supported")}function nc(){return"/"}function Wc(E){throw new Error("process.chdir is not supported")}function Fu(){return 0}function Bu(E){var K=oi.call(bn)*.001,Y=Math.floor(K),G=Math.floor(K%1*1e9);return E&&(Y=Y-E[0],G=G-E[1],G<0&&(Y--,G+=1e9)),[Y,G]}function ho(){var E=new Date,K=E-bi;return K/1e3}var zo,Yo,No,wo,pi,Pa,bl,ru,_u,Ta,$u,Nu,nu,Iu,vl,xn,Ur,Xr,Ar,hr,Nr,er,bn,oi,bi,di,kn,wi=Hr({"node-modules-polyfills:process"(){Xt(),zo=Dl,Yo=Tu,typeof globalThis.setTimeout=="function"&&(zo=setTimeout),typeof globalThis.clearTimeout=="function"&&(Yo=clearTimeout),No=[],wo=!1,Pa=-1,ku.prototype.run=function(){this.fun.apply(null,this.array)},bl="browser",ru="browser",_u=!0,Ta={},$u=[],Nu="",nu={},Iu={},vl={},xn=ga,Ur=ga,Xr=ga,Ar=ga,hr=ga,Nr=ga,er=ga,bn=globalThis.performance||{},oi=bn.now||bn.mozNow||bn.msNow||bn.oNow||bn.webkitNow||function(){return new Date().getTime()},bi=new Date,di={nextTick:ma,title:bl,browser:_u,env:Ta,argv:$u,version:Nu,versions:nu,on:xn,addListener:Ur,once:Xr,off:Ar,removeListener:hr,removeAllListeners:Nr,emit:er,binding:rc,cwd:nc,chdir:Wc,umask:Fu,hrtime:Bu,platform:ru,release:Iu,config:vl,uptime:ho},kn=di}}),Mr,Fi,Ts=Hr({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){Xt(),typeof Object.create=="function"?Mr=function(E,K){E.super_=K,E.prototype=Object.create(K.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}})}:Mr=function(E,K){E.super_=K;var Y=function(){};Y.prototype=K.prototype,E.prototype=new Y,E.prototype.constructor=E},Fi=Mr}}),Rn={};Cn(Rn,{_extend:()=>Ne,debuglog:()=>_i,default:()=>Ji,deprecate:()=>gs,format:()=>Pi,inherits:()=>Fi,inspect:()=>Hi,isArray:()=>Zt,isBoolean:()=>Kr,isBuffer:()=>Sr,isDate:()=>Lr,isError:()=>$n,isFunction:()=>Hn,isNull:()=>nt,isNullOrUndefined:()=>Ct,isNumber:()=>Rt,isObject:()=>In,isPrimitive:()=>ts,isRegExp:()=>en,isString:()=>ir,isSymbol:()=>Kt,isUndefined:()=>cr,log:()=>Ai});function Pi(E){if(!ir(E)){for(var K=[],Y=0;Y<arguments.length;Y++)K.push(Hi(arguments[Y]));return K.join(" ")}for(var Y=1,G=arguments,se=G.length,pe=String(E).replace(rr,function(ie){if(ie==="%%")return"%";if(Y>=se)return ie;switch(ie){case"%s":return String(G[Y++]);case"%d":return Number(G[Y++]);case"%j":try{return JSON.stringify(G[Y++])}catch{return"[Circular]"}default:return ie}}),le=G[Y];Y<se;le=G[++Y])nt(le)||!In(le)?pe+=" "+le:pe+=" "+Hi(le);return pe}function gs(E,K){if(cr(globalThis.process))return function(){return gs(E,K).apply(this,arguments)};if(kn.noDeprecation===!0)return E;var Y=!1;function G(){if(!Y){if(kn.throwDeprecation)throw new Error(K);kn.traceDeprecation?console.trace(K):console.error(K),Y=!0}return E.apply(this,arguments)}return G}function _i(E){if(cr(Ir)&&(Ir=kn.env.NODE_DEBUG||""),E=E.toUpperCase(),!Lt[E])if(new RegExp("\\b"+E+"\\b","i").test(Ir)){var K=0;Lt[E]=function(){var Y=Pi.apply(null,arguments);console.error("%s %d: %s",E,K,Y)}}else Lt[E]=function(){};return Lt[E]}function Hi(E,K){var Y={seen:[],stylize:ee};return arguments.length>=3&&(Y.depth=arguments[2]),arguments.length>=4&&(Y.colors=arguments[3]),Kr(K)?Y.showHidden=K:K&&Ne(Y,K),cr(Y.showHidden)&&(Y.showHidden=!1),cr(Y.depth)&&(Y.depth=2),cr(Y.colors)&&(Y.colors=!1),cr(Y.customInspect)&&(Y.customInspect=!0),Y.colors&&(Y.stylize=Ys),st(Y,E,Y.depth)}function Ys(E,K){var Y=Hi.styles[K];return Y?"\x1B["+Hi.colors[Y][0]+"m"+E+"\x1B["+Hi.colors[Y][1]+"m":E}function ee(E,K){return E}function Ie(E){var K={};return E.forEach(function(Y,G){K[Y]=!0}),K}function st(E,K,Y){if(E.customInspect&&K&&Hn(K.inspect)&&K.inspect!==Hi&&!(K.constructor&&K.constructor.prototype===K)){var G=K.inspect(Y,E);return ir(G)||(G=st(E,G,Y)),G}var se=ot(E,K);if(se)return se;var pe=Object.keys(K),le=Ie(pe);if(E.showHidden&&(pe=Object.getOwnPropertyNames(K)),$n(K)&&(pe.indexOf("message")>=0||pe.indexOf("description")>=0))return At(K);if(pe.length===0){if(Hn(K)){var de=K.name?": "+K.name:"";return E.stylize("[Function"+de+"]","special")}if(en(K))return E.stylize(RegExp.prototype.toString.call(K),"regexp");if(Lr(K))return E.stylize(Date.prototype.toString.call(K),"date");if($n(K))return At(K)}var ie="",fe=!1,P=["{","}"];if(Zt(K)&&(fe=!0,P=["[","]"]),Hn(K)){var C=K.name?": "+K.name:"";ie=" [Function"+C+"]"}if(en(K)&&(ie=" "+RegExp.prototype.toString.call(K)),Lr(K)&&(ie=" "+Date.prototype.toUTCString.call(K)),$n(K)&&(ie=" "+At(K)),pe.length===0&&(!fe||K.length==0))return P[0]+ie+P[1];if(Y<0)return en(K)?E.stylize(RegExp.prototype.toString.call(K),"regexp"):E.stylize("[Object]","special");E.seen.push(K);var H;return fe?H=Xe(E,K,Y,le,pe):H=pe.map(function(V){return at(E,K,Y,le,V,fe)}),E.seen.pop(),Mt(H,ie,P)}function ot(E,K){if(cr(K))return E.stylize("undefined","undefined");if(ir(K)){var Y="'"+JSON.stringify(K).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return E.stylize(Y,"string")}if(Rt(K))return E.stylize(""+K,"number");if(Kr(K))return E.stylize(""+K,"boolean");if(nt(K))return E.stylize("null","null")}function At(E){return"["+Error.prototype.toString.call(E)+"]"}function Xe(E,K,Y,G,se){for(var pe=[],le=0,de=K.length;le<de;++le)it(K,String(le))?pe.push(at(E,K,Y,G,String(le),!0)):pe.push("");return se.forEach(function(ie){ie.match(/^\d+$/)||pe.push(at(E,K,Y,G,ie,!0))}),pe}function at(E,K,Y,G,se,pe){var le,de,ie;if(ie=Object.getOwnPropertyDescriptor(K,se)||{value:K[se]},ie.get?ie.set?de=E.stylize("[Getter/Setter]","special"):de=E.stylize("[Getter]","special"):ie.set&&(de=E.stylize("[Setter]","special")),it(G,se)||(le="["+se+"]"),de||(E.seen.indexOf(ie.value)<0?(nt(Y)?de=st(E,ie.value,null):de=st(E,ie.value,Y-1),de.indexOf(`
|
|
`)>-1&&(pe?de=de.split(`
|
|
`).map(function(fe){return" "+fe}).join(`
|
|
`).substr(2):de=`
|
|
`+de.split(`
|
|
`).map(function(fe){return" "+fe}).join(`
|
|
`))):de=E.stylize("[Circular]","special")),cr(le)){if(pe&&se.match(/^\d+$/))return de;le=JSON.stringify(""+se),le.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(le=le.substr(1,le.length-2),le=E.stylize(le,"name")):(le=le.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),le=E.stylize(le,"string"))}return le+": "+de}function Mt(E,K,Y){var G=0,se=E.reduce(function(pe,le){return G++,le.indexOf(`
|
|
`)>=0&&G++,pe+le.replace(/\u001b\[\d\d?m/g,"").length+1},0);return se>60?Y[0]+(K===""?"":K+`
|
|
`)+" "+E.join(`,
|
|
`)+" "+Y[1]:Y[0]+K+" "+E.join(", ")+" "+Y[1]}function Zt(E){return Array.isArray(E)}function Kr(E){return typeof E=="boolean"}function nt(E){return E===null}function Ct(E){return E==null}function Rt(E){return typeof E=="number"}function ir(E){return typeof E=="string"}function Kt(E){return typeof E=="symbol"}function cr(E){return E===void 0}function en(E){return In(E)&&Un(E)==="[object RegExp]"}function In(E){return typeof E=="object"&&E!==null}function Lr(E){return In(E)&&Un(E)==="[object Date]"}function $n(E){return In(E)&&(Un(E)==="[object Error]"||E instanceof Error)}function Hn(E){return typeof E=="function"}function ts(E){return E===null||typeof E=="boolean"||typeof E=="number"||typeof E=="string"||typeof E=="symbol"||typeof E>"u"}function Sr(E){return Buffer.isBuffer(E)}function Un(E){return Object.prototype.toString.call(E)}function Zn(E){return E<10?"0"+E.toString(10):E.toString(10)}function Oi(){var E=new Date,K=[Zn(E.getHours()),Zn(E.getMinutes()),Zn(E.getSeconds())].join(":");return[E.getDate(),vi[E.getMonth()],K].join(" ")}function Ai(){console.log("%s - %s",Oi(),Pi.apply(null,arguments))}function Ne(E,K){if(!K||!In(K))return E;for(var Y=Object.keys(K),G=Y.length;G--;)E[Y[G]]=K[Y[G]];return E}function it(E,K){return Object.prototype.hasOwnProperty.call(E,K)}var rr,Lt,Ir,vi,Ji,Gs=Hr({"node-modules-polyfills:util"(){Xt(),wi(),Ts(),rr=/%[sdj%]/g,Lt={},Hi.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]},Hi.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},vi=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ji={inherits:Fi,_extend:Ne,log:Ai,isBuffer:Sr,isPrimitive:ts,isFunction:Hn,isError:$n,isDate:Lr,isObject:In,isRegExp:en,isUndefined:cr,isSymbol:Kt,isString:ir,isNumber:Rt,isNullOrUndefined:Ct,isNull:nt,isBoolean:Kr,isArray:Zt,inspect:Hi,deprecate:gs,format:Pi,debuglog:_i}}}),Bs=It({"node-modules-polyfills-commonjs:util"(E,K){Xt();var Y=(Gs(),qn(Rn));if(Y&&Y.default){K.exports=Y.default;for(let G in Y)K.exports[G]=Y[G]}else Y&&(K.exports=Y)}}),fo=It({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(E,K){Xt();var Y=class extends Error{constructor(G){super(G),this.name=this.constructor.name,this.message=G||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(G).stack}};K.exports=Y}}),mo=It({"node_modules/postcss-values-parser/lib/tokenize.js"(E,K){Xt();var Y="{".charCodeAt(0),G="}".charCodeAt(0),se="(".charCodeAt(0),pe=")".charCodeAt(0),le="'".charCodeAt(0),de='"'.charCodeAt(0),ie="\\".charCodeAt(0),fe="/".charCodeAt(0),P=".".charCodeAt(0),C=",".charCodeAt(0),H=":".charCodeAt(0),V="*".charCodeAt(0),Se="-".charCodeAt(0),ye="+".charCodeAt(0),Le="#".charCodeAt(0),xe=`
|
|
`.charCodeAt(0),Ee=" ".charCodeAt(0),ct="\f".charCodeAt(0),dt=" ".charCodeAt(0),Pt="\r".charCodeAt(0),wr="@".charCodeAt(0),qr="e".charCodeAt(0),sn="E".charCodeAt(0),Vn="0".charCodeAt(0),An="9".charCodeAt(0),Qn="u".charCodeAt(0),Pn="U".charCodeAt(0),Xn=/[ \n\t\r\{\(\)'"\\;,/]/g,_r=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,ur=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Qr=/^[a-z0-9]/i,lr=/^[a-f0-9?\-]/i,ks=Bs(),Ki=fo();K.exports=function(ls,qi){qi=qi||{};let Fr=[],yn=ls.valueOf(),ai=yn.length,zn=-1,ui=1,Et=0,Gt=0,tr=null,Zr,bt,wn,ln,Hs,Vi,Ms,Ko,so,$s,Fo;function ws(Ls){let ro=ks.format("Unclosed %s at line: %d, column: %d, token: %d",Ls,ui,Et-zn,Et);throw new Ki(ro)}for(;Et<ai;){switch(Zr=yn.charCodeAt(Et),Zr===xe&&(zn=Et,ui+=1),Zr){case xe:case Ee:case dt:case Pt:case ct:bt=Et;do bt+=1,Zr=yn.charCodeAt(bt),Zr===xe&&(zn=bt,ui+=1);while(Zr===Ee||Zr===xe||Zr===dt||Zr===Pt||Zr===ct);Fr.push(["space",yn.slice(Et,bt),ui,Et-zn,ui,bt-zn,Et]),Et=bt-1;break;case H:bt=Et+1,Fr.push(["colon",yn.slice(Et,bt),ui,Et-zn,ui,bt-zn,Et]),Et=bt-1;break;case C:bt=Et+1,Fr.push(["comma",yn.slice(Et,bt),ui,Et-zn,ui,bt-zn,Et]),Et=bt-1;break;case Y:Fr.push(["{","{",ui,Et-zn,ui,bt-zn,Et]);break;case G:Fr.push(["}","}",ui,Et-zn,ui,bt-zn,Et]);break;case se:Gt++,tr=!tr&&Gt===1&&Fr.length>0&&Fr[Fr.length-1][0]==="word"&&Fr[Fr.length-1][1]==="url",Fr.push(["(","(",ui,Et-zn,ui,bt-zn,Et]);break;case pe:Gt--,tr=tr&&Gt>0,Fr.push([")",")",ui,Et-zn,ui,bt-zn,Et]);break;case le:case de:wn=Zr===le?"'":'"',bt=Et;do for(so=!1,bt=yn.indexOf(wn,bt+1),bt===-1&&ws("quote"),$s=bt;yn.charCodeAt($s-1)===ie;)$s-=1,so=!so;while(so);Fr.push(["string",yn.slice(Et,bt+1),ui,Et-zn,ui,bt-zn,Et]),Et=bt;break;case wr:Xn.lastIndex=Et+1,Xn.test(yn),Xn.lastIndex===0?bt=yn.length-1:bt=Xn.lastIndex-2,Fr.push(["atword",yn.slice(Et,bt+1),ui,Et-zn,ui,bt-zn,Et]),Et=bt;break;case ie:bt=Et,Zr=yn.charCodeAt(bt+1),Fr.push(["word",yn.slice(Et,bt+1),ui,Et-zn,ui,bt-zn,Et]),Et=bt;break;case ye:case Se:case V:if(bt=Et+1,Fo=yn.slice(Et+1,bt+1),yn.slice(Et-1,Et),Zr===Se&&Fo.charCodeAt(0)===Se){bt++,Fr.push(["word",yn.slice(Et,bt),ui,Et-zn,ui,bt-zn,Et]),Et=bt-1;break}Fr.push(["operator",yn.slice(Et,bt),ui,Et-zn,ui,bt-zn,Et]),Et=bt-1;break;default:if(Zr===fe&&(yn.charCodeAt(Et+1)===V||qi.loose&&!tr&&yn.charCodeAt(Et+1)===fe)){if(yn.charCodeAt(Et+1)===V)bt=yn.indexOf("*/",Et+2)+1,bt===0&&ws("comment");else{let Ls=yn.indexOf(`
|
|
`,Et+2);bt=Ls!==-1?Ls-1:ai}Vi=yn.slice(Et,bt+1),ln=Vi.split(`
|
|
`),Hs=ln.length-1,Hs>0?(Ms=ui+Hs,Ko=bt-ln[Hs].length):(Ms=ui,Ko=zn),Fr.push(["comment",Vi,ui,Et-zn,Ms,bt-Ko,Et]),zn=Ko,ui=Ms,Et=bt}else if(Zr===Le&&!Qr.test(yn.slice(Et+1,Et+2)))bt=Et+1,Fr.push(["#",yn.slice(Et,bt),ui,Et-zn,ui,bt-zn,Et]),Et=bt-1;else if((Zr===Qn||Zr===Pn)&&yn.charCodeAt(Et+1)===ye){bt=Et+2;do bt+=1,Zr=yn.charCodeAt(bt);while(bt<ai&&lr.test(yn.slice(bt,bt+1)));Fr.push(["unicoderange",yn.slice(Et,bt),ui,Et-zn,ui,bt-zn,Et]),Et=bt-1}else if(Zr===fe)bt=Et+1,Fr.push(["operator",yn.slice(Et,bt),ui,Et-zn,ui,bt-zn,Et]),Et=bt-1;else{let Ls=_r;if(Zr>=Vn&&Zr<=An&&(Ls=ur),Ls.lastIndex=Et+1,Ls.test(yn),Ls.lastIndex===0?bt=yn.length-1:bt=Ls.lastIndex-2,Ls===ur||Zr===P){let ro=yn.charCodeAt(bt),mc=yn.charCodeAt(bt+1),Jp=yn.charCodeAt(bt+2);(ro===qr||ro===sn)&&(mc===Se||mc===ye)&&Jp>=Vn&&Jp<=An&&(ur.lastIndex=bt+2,ur.test(yn),ur.lastIndex===0?bt=yn.length-1:bt=ur.lastIndex-2)}Fr.push(["word",yn.slice(Et,bt+1),ui,Et-zn,ui,bt-zn,Et]),Et=bt}break}Et++}return Fr}}}),Po=It({"node_modules/flatten/index.js"(E,K){Xt(),K.exports=function(Y,G){if(G=typeof G=="number"?G:1/0,!G)return Array.isArray(Y)?Y.map(function(pe){return pe}):Y;return se(Y,1);function se(pe,le){return pe.reduce(function(de,ie){return Array.isArray(ie)&&le<G?de.concat(se(ie,le+1)):de.concat(ie)},[])}}}}),To=It({"node_modules/indexes-of/index.js"(E,K){Xt(),K.exports=function(Y,G){for(var se=-1,pe=[];(se=Y.indexOf(G,se+1))!==-1;)pe.push(se);return pe}}}),Ui=It({"node_modules/uniq/uniq.js"(E,K){Xt();function Y(pe,le){for(var de=1,ie=pe.length,fe=pe[0],P=pe[0],C=1;C<ie;++C)if(P=fe,fe=pe[C],le(fe,P)){if(C===de){de++;continue}pe[de++]=fe}return pe.length=de,pe}function G(pe){for(var le=1,de=pe.length,ie=pe[0],fe=pe[0],P=1;P<de;++P,fe=ie)if(fe=ie,ie=pe[P],ie!==fe){if(P===le){le++;continue}pe[le++]=ie}return pe.length=le,pe}function se(pe,le,de){return pe.length===0?pe:le?(de||pe.sort(le),Y(pe,le)):(de||pe.sort(),G(pe))}K.exports=se}}),Qe=It({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(E,K){Xt();var Y=class extends Error{constructor(G){super(G),this.name=this.constructor.name,this.message=G||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(G).stack}};K.exports=Y}}),nn=It({"node_modules/postcss-values-parser/lib/parser.js"(E,K){Xt();var Y=po(),G=ml(),se=gl(),pe=Pu(),le=yl(),de=tu(),ie=wa(),fe=Gl(),P=Hl(),C=Ln(),H=Ol(),V=Jl(),Se=Kl(),ye=mo(),Le=Po(),xe=To(),Ee=Ui(),ct=Qe();function dt(Pt){return Pt.sort((wr,qr)=>wr-qr)}K.exports=class{constructor(Pt,wr){let qr={loose:!1};this.cache=[],this.input=Pt,this.options=Object.assign({},qr,wr),this.position=0,this.unbalanced=0,this.root=new Y;let sn=new G;this.root.append(sn),this.current=sn,this.tokens=ye(Pt,this.options)}parse(){return this.loop()}colon(){let Pt=this.currToken;this.newNode(new pe({value:Pt[1],source:{start:{line:Pt[2],column:Pt[3]},end:{line:Pt[4],column:Pt[5]}},sourceIndex:Pt[6]})),this.position++}comma(){let Pt=this.currToken;this.newNode(new le({value:Pt[1],source:{start:{line:Pt[2],column:Pt[3]},end:{line:Pt[4],column:Pt[5]}},sourceIndex:Pt[6]})),this.position++}comment(){let Pt=!1,wr=this.currToken[1].replace(/\/\*|\*\//g,""),qr;this.options.loose&&wr.startsWith("//")&&(wr=wr.substring(2),Pt=!0),qr=new de({value:wr,inline:Pt,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(qr),this.position++}error(Pt,wr){throw new ct(Pt+` at line: ${wr[2]}, column ${wr[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 Pt=this.currToken[1],wr;if(Pt==="+"||Pt==="-"){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 wr=new P({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(wr)}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 Pt=1,wr=this.position+1,qr=this.currToken,sn;for(;wr<this.tokens.length&&Pt;){let Vn=this.tokens[wr];Vn[0]==="("&&Pt++,Vn[0]===")"&&Pt--,wr++}if(Pt&&this.error("Expected closing parenthesis",qr),sn=this.current.last,sn&&sn.type==="func"&&sn.unbalanced<0&&(sn.unbalanced=0,this.current=sn),this.current.unbalanced++,this.newNode(new C({value:qr[1],source:{start:{line:qr[2],column:qr[3]},end:{line:qr[4],column:qr[5]}},sourceIndex:qr[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let Vn=this.nextToken,An=this.currToken[1],Qn={line:this.currToken[2],column:this.currToken[3]};for(;Vn&&Vn[0]!==")"&&this.current.unbalanced;)this.position++,An+=this.currToken[1],Vn=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new V({value:An,source:{start:Qn,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let Pt=this.currToken;this.newNode(new C({value:Pt[1],source:{start:{line:Pt[2],column:Pt[3]},end:{line:Pt[4],column:Pt[5]}},sourceIndex:Pt[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",Pt),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let Pt=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=Pt[1],this.position++):(this.spaces=Pt[1],this.position++)}unicodeRange(){let Pt=this.currToken;this.newNode(new Se({value:Pt[1],source:{start:{line:Pt[2],column:Pt[3]},end:{line:Pt[4],column:Pt[5]}},sourceIndex:Pt[6]})),this.position++}splitWord(){let Pt=this.nextToken,wr=this.currToken[1],qr=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,sn=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,Vn,An;if(!sn.test(wr))for(;Pt&&Pt[0]==="word";){this.position++;let Qn=this.currToken[1];wr+=Qn,Pt=this.nextToken}Vn=xe(wr,"@"),An=dt(Ee(Le([[0],Vn]))),An.forEach((Qn,Pn)=>{let Xn=An[Pn+1]||wr.length,_r=wr.slice(Qn,Xn),ur;if(~Vn.indexOf(Qn))ur=new se({value:_r.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+Qn},end:{line:this.currToken[4],column:this.currToken[3]+(Xn-1)}},sourceIndex:this.currToken[6]+An[Pn]});else if(qr.test(this.currToken[1])){let Qr=_r.replace(qr,"");ur=new fe({value:_r.replace(Qr,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+Qn},end:{line:this.currToken[4],column:this.currToken[3]+(Xn-1)}},sourceIndex:this.currToken[6]+An[Pn],unit:Qr})}else ur=new(Pt&&Pt[0]==="("?ie:V)({value:_r,source:{start:{line:this.currToken[2],column:this.currToken[3]+Qn},end:{line:this.currToken[4],column:this.currToken[3]+(Xn-1)}},sourceIndex:this.currToken[6]+An[Pn]}),ur.type==="word"?(ur.isHex=/^#(.+)/.test(_r),ur.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(_r)):this.cache.push(this.current);this.newNode(ur)}),this.position++}string(){let Pt=this.currToken,wr=this.currToken[1],qr=/^(\"|\')/,sn=qr.test(wr),Vn="",An;sn&&(Vn=wr.match(qr)[0],wr=wr.slice(1,wr.length-1)),An=new H({value:wr,source:{start:{line:Pt[2],column:Pt[3]},end:{line:Pt[4],column:Pt[5]}},sourceIndex:Pt[6],quoted:sn}),An.raws.quote=Vn,this.newNode(An),this.position++}word(){return this.splitWord()}newNode(Pt){return this.spaces&&(Pt.raws.before+=this.spaces,this.spaces=""),this.current.append(Pt)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),Fn=It({"node_modules/postcss-values-parser/lib/index.js"(E,K){Xt();var Y=nn(),G=gl(),se=Pu(),pe=yl(),le=tu(),de=wa(),ie=Gl(),fe=Hl(),P=Ln(),C=Ol(),H=Kl(),V=ml(),Se=Jl(),ye=function(Le,xe){return new Y(Le,xe)};ye.atword=function(Le){return new G(Le)},ye.colon=function(Le){return new se(Object.assign({value:":"},Le))},ye.comma=function(Le){return new pe(Object.assign({value:","},Le))},ye.comment=function(Le){return new le(Le)},ye.func=function(Le){return new de(Le)},ye.number=function(Le){return new ie(Le)},ye.operator=function(Le){return new fe(Le)},ye.paren=function(Le){return new P(Object.assign({value:"("},Le))},ye.string=function(Le){return new C(Object.assign({quote:"'"},Le))},ye.value=function(Le){return new V(Le)},ye.word=function(Le){return new Se(Le)},ye.unicodeRange=function(Le){return new H(Le)},K.exports=ye}}),vn=It({"node_modules/postcss-selector-parser/dist/selectors/node.js"(E,K){Xt(),E.__esModule=!0;var Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(le){return typeof le}:function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le};function G(le,de){if(!(le instanceof de))throw new TypeError("Cannot call a class as a function")}var se=function le(de,ie){if((typeof de>"u"?"undefined":Y(de))!=="object")return de;var fe=new de.constructor;for(var P in de)if(de.hasOwnProperty(P)){var C=de[P],H=typeof C>"u"?"undefined":Y(C);P==="parent"&&H==="object"?ie&&(fe[P]=ie):C instanceof Array?fe[P]=C.map(function(V){return le(V,fe)}):fe[P]=le(C,fe)}return fe},pe=function(){function le(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};G(this,le);for(var ie in de)this[ie]=de[ie];var fe=de.spaces;fe=fe===void 0?{}:fe;var P=fe.before,C=P===void 0?"":P,H=fe.after,V=H===void 0?"":H;this.spaces={before:C,after:V}}return le.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},le.prototype.replaceWith=function(){if(this.parent){for(var de in arguments)this.parent.insertBefore(this,arguments[de]);this.remove()}return this},le.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},le.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},le.prototype.clone=function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=se(this);for(var fe in de)ie[fe]=de[fe];return ie},le.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},le}();E.default=pe,K.exports=E.default}}),mi=It({"node_modules/postcss-selector-parser/dist/selectors/types.js"(E){Xt(),E.__esModule=!0,E.TAG="tag",E.STRING="string",E.SELECTOR="selector",E.ROOT="root",E.PSEUDO="pseudo",E.NESTING="nesting",E.ID="id",E.COMMENT="comment",E.COMBINATOR="combinator",E.CLASS="class",E.ATTRIBUTE="attribute",E.UNIVERSAL="universal"}}),rs=It({"node_modules/postcss-selector-parser/dist/selectors/container.js"(E,K){Xt(),E.__esModule=!0;var Y=function(){function V(Se,ye){for(var Le=0;Le<ye.length;Le++){var xe=ye[Le];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(Se,xe.key,xe)}}return function(Se,ye,Le){return ye&&V(Se.prototype,ye),Le&&V(Se,Le),Se}}(),G=vn(),se=ie(G),pe=mi(),le=de(pe);function de(V){if(V&&V.__esModule)return V;var Se={};if(V!=null)for(var ye in V)Object.prototype.hasOwnProperty.call(V,ye)&&(Se[ye]=V[ye]);return Se.default=V,Se}function ie(V){return V&&V.__esModule?V:{default:V}}function fe(V,Se){if(!(V instanceof Se))throw new TypeError("Cannot call a class as a function")}function P(V,Se){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Se&&(typeof Se=="object"||typeof Se=="function")?Se:V}function C(V,Se){if(typeof Se!="function"&&Se!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Se);V.prototype=Object.create(Se&&Se.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),Se&&(Object.setPrototypeOf?Object.setPrototypeOf(V,Se):V.__proto__=Se)}var H=function(V){C(Se,V);function Se(ye){fe(this,Se);var Le=P(this,V.call(this,ye));return Le.nodes||(Le.nodes=[]),Le}return Se.prototype.append=function(ye){return ye.parent=this,this.nodes.push(ye),this},Se.prototype.prepend=function(ye){return ye.parent=this,this.nodes.unshift(ye),this},Se.prototype.at=function(ye){return this.nodes[ye]},Se.prototype.index=function(ye){return typeof ye=="number"?ye:this.nodes.indexOf(ye)},Se.prototype.removeChild=function(ye){ye=this.index(ye),this.at(ye).parent=void 0,this.nodes.splice(ye,1);var Le=void 0;for(var xe in this.indexes)Le=this.indexes[xe],Le>=ye&&(this.indexes[xe]=Le-1);return this},Se.prototype.removeAll=function(){for(var xe=this.nodes,ye=Array.isArray(xe),Le=0,xe=ye?xe:xe[Symbol.iterator]();;){var Ee;if(ye){if(Le>=xe.length)break;Ee=xe[Le++]}else{if(Le=xe.next(),Le.done)break;Ee=Le.value}var ct=Ee;ct.parent=void 0}return this.nodes=[],this},Se.prototype.empty=function(){return this.removeAll()},Se.prototype.insertAfter=function(ye,Le){var xe=this.index(ye);this.nodes.splice(xe+1,0,Le);var Ee=void 0;for(var ct in this.indexes)Ee=this.indexes[ct],xe<=Ee&&(this.indexes[ct]=Ee+this.nodes.length);return this},Se.prototype.insertBefore=function(ye,Le){var xe=this.index(ye);this.nodes.splice(xe,0,Le);var Ee=void 0;for(var ct in this.indexes)Ee=this.indexes[ct],xe<=Ee&&(this.indexes[ct]=Ee+this.nodes.length);return this},Se.prototype.each=function(ye){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Le=this.lastEach;if(this.indexes[Le]=0,!!this.length){for(var xe=void 0,Ee=void 0;this.indexes[Le]<this.length&&(xe=this.indexes[Le],Ee=ye(this.at(xe),xe),Ee!==!1);)this.indexes[Le]+=1;if(delete this.indexes[Le],Ee===!1)return!1}},Se.prototype.walk=function(ye){return this.each(function(Le,xe){var Ee=ye(Le,xe);if(Ee!==!1&&Le.length&&(Ee=Le.walk(ye)),Ee===!1)return!1})},Se.prototype.walkAttributes=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.ATTRIBUTE)return ye.call(Le,xe)})},Se.prototype.walkClasses=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.CLASS)return ye.call(Le,xe)})},Se.prototype.walkCombinators=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.COMBINATOR)return ye.call(Le,xe)})},Se.prototype.walkComments=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.COMMENT)return ye.call(Le,xe)})},Se.prototype.walkIds=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.ID)return ye.call(Le,xe)})},Se.prototype.walkNesting=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.NESTING)return ye.call(Le,xe)})},Se.prototype.walkPseudos=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.PSEUDO)return ye.call(Le,xe)})},Se.prototype.walkTags=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.TAG)return ye.call(Le,xe)})},Se.prototype.walkUniversals=function(ye){var Le=this;return this.walk(function(xe){if(xe.type===le.UNIVERSAL)return ye.call(Le,xe)})},Se.prototype.split=function(ye){var Le=this,xe=[];return this.reduce(function(Ee,ct,dt){var Pt=ye.call(Le,ct);return xe.push(ct),Pt?(Ee.push(xe),xe=[]):dt===Le.length-1&&Ee.push(xe),Ee},[])},Se.prototype.map=function(ye){return this.nodes.map(ye)},Se.prototype.reduce=function(ye,Le){return this.nodes.reduce(ye,Le)},Se.prototype.every=function(ye){return this.nodes.every(ye)},Se.prototype.some=function(ye){return this.nodes.some(ye)},Se.prototype.filter=function(ye){return this.nodes.filter(ye)},Se.prototype.sort=function(ye){return this.nodes.sort(ye)},Se.prototype.toString=function(){return this.map(String).join("")},Y(Se,[{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}}]),Se}(se.default);E.default=H,K.exports=E.default}}),us=It({"node_modules/postcss-selector-parser/dist/selectors/root.js"(E,K){Xt(),E.__esModule=!0;var Y=rs(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.ROOT,V}return C.prototype.toString=function(){var H=this.reduce(function(V,Se){var ye=String(Se);return ye?V+ye+",":""},"").slice(0,-1);return this.trailingComma?H+",":H},C}(G.default);E.default=fe,K.exports=E.default}}),Wi=It({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(E,K){Xt(),E.__esModule=!0;var Y=rs(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.SELECTOR,V}return C}(G.default);E.default=fe,K.exports=E.default}}),xo=It({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(E,K){Xt(),E.__esModule=!0;var Y=function(){function P(C,H){for(var V=0;V<H.length;V++){var Se=H[V];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(C,Se.key,Se)}}return function(C,H,V){return H&&P(C.prototype,H),V&&P(C,V),C}}(),G=vn(),se=pe(G);function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(){return le(this,C),de(this,P.apply(this,arguments))}return C.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},Y(C,[{key:"ns",get:function(){var H=this.namespace;return H?(typeof H=="string"?H:"")+"|":""}}]),C}(se.default);E.default=fe,K.exports=E.default}}),Xa=It({"node_modules/postcss-selector-parser/dist/selectors/className.js"(E,K){Xt(),E.__esModule=!0;var Y=xo(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.CLASS,V}return C.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},C}(G.default);E.default=fe,K.exports=E.default}}),iu=It({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(E,K){Xt(),E.__esModule=!0;var Y=vn(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.COMMENT,V}return C}(G.default);E.default=fe,K.exports=E.default}}),su=It({"node_modules/postcss-selector-parser/dist/selectors/id.js"(E,K){Xt(),E.__esModule=!0;var Y=xo(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.ID,V}return C.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},C}(G.default);E.default=fe,K.exports=E.default}}),Io=It({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(E,K){Xt(),E.__esModule=!0;var Y=xo(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.TAG,V}return C}(G.default);E.default=fe,K.exports=E.default}}),ya=It({"node_modules/postcss-selector-parser/dist/selectors/string.js"(E,K){Xt(),E.__esModule=!0;var Y=vn(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.STRING,V}return C}(G.default);E.default=fe,K.exports=E.default}}),_s=It({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(E,K){Xt(),E.__esModule=!0;var Y=rs(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.PSEUDO,V}return C.prototype.toString=function(){var H=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),H,this.spaces.after].join("")},C}(G.default);E.default=fe,K.exports=E.default}}),Go=It({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(E,K){Xt(),E.__esModule=!0;var Y=xo(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.ATTRIBUTE,V.raws={},V}return C.prototype.toString=function(){var H=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&H.push(this.operator),this.value&&H.push(this.value),this.raws.insensitive?H.push(this.raws.insensitive):this.insensitive&&H.push(" i"),H.push("]"),H.concat(this.spaces.after).join("")},C}(G.default);E.default=fe,K.exports=E.default}}),ka=It({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(E,K){Xt(),E.__esModule=!0;var Y=xo(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.UNIVERSAL,V.value="*",V}return C}(G.default);E.default=fe,K.exports=E.default}}),Bp=It({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(E,K){Xt(),E.__esModule=!0;var Y=vn(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.COMBINATOR,V}return C}(G.default);E.default=fe,K.exports=E.default}}),qc=It({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(E,K){Xt(),E.__esModule=!0;var Y=vn(),G=pe(Y),se=mi();function pe(P){return P&&P.__esModule?P:{default:P}}function le(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ie(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){ie(C,P);function C(H){le(this,C);var V=de(this,P.call(this,H));return V.type=se.NESTING,V.value="&",V}return C}(G.default);E.default=fe,K.exports=E.default}}),Ua=It({"node_modules/postcss-selector-parser/dist/sortAscending.js"(E,K){Xt(),E.__esModule=!0,E.default=Y;function Y(G){return G.sort(function(se,pe){return se-pe})}K.exports=E.default}}),_p=It({"node_modules/postcss-selector-parser/dist/tokenize.js"(E,K){Xt(),E.__esModule=!0,E.default=Qn;var Y=39,G=34,se=92,pe=47,le=10,de=32,ie=12,fe=9,P=13,C=43,H=62,V=126,Se=124,ye=44,Le=40,xe=41,Ee=91,ct=93,dt=59,Pt=42,wr=58,qr=38,sn=64,Vn=/[ \n\t\r\{\(\)'"\\;/]/g,An=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Qn(Pn){for(var Xn=[],_r=Pn.css.valueOf(),ur=void 0,Qr=void 0,lr=void 0,ks=void 0,Ki=void 0,ls=void 0,qi=void 0,Fr=void 0,yn=void 0,ai=void 0,zn=void 0,ui=_r.length,Et=-1,Gt=1,tr=0,Zr=function(bt,wn){if(Pn.safe)_r+=wn,Qr=_r.length-1;else throw Pn.error("Unclosed "+bt,Gt,tr-Et,tr)};tr<ui;){switch(ur=_r.charCodeAt(tr),ur===le&&(Et=tr,Gt+=1),ur){case le:case de:case fe:case P:case ie:Qr=tr;do Qr+=1,ur=_r.charCodeAt(Qr),ur===le&&(Et=Qr,Gt+=1);while(ur===de||ur===le||ur===fe||ur===P||ur===ie);Xn.push(["space",_r.slice(tr,Qr),Gt,tr-Et,tr]),tr=Qr-1;break;case C:case H:case V:case Se:Qr=tr;do Qr+=1,ur=_r.charCodeAt(Qr);while(ur===C||ur===H||ur===V||ur===Se);Xn.push(["combinator",_r.slice(tr,Qr),Gt,tr-Et,tr]),tr=Qr-1;break;case Pt:Xn.push(["*","*",Gt,tr-Et,tr]);break;case qr:Xn.push(["&","&",Gt,tr-Et,tr]);break;case ye:Xn.push([",",",",Gt,tr-Et,tr]);break;case Ee:Xn.push(["[","[",Gt,tr-Et,tr]);break;case ct:Xn.push(["]","]",Gt,tr-Et,tr]);break;case wr:Xn.push([":",":",Gt,tr-Et,tr]);break;case dt:Xn.push([";",";",Gt,tr-Et,tr]);break;case Le:Xn.push(["(","(",Gt,tr-Et,tr]);break;case xe:Xn.push([")",")",Gt,tr-Et,tr]);break;case Y:case G:lr=ur===Y?"'":'"',Qr=tr;do for(ai=!1,Qr=_r.indexOf(lr,Qr+1),Qr===-1&&Zr("quote",lr),zn=Qr;_r.charCodeAt(zn-1)===se;)zn-=1,ai=!ai;while(ai);Xn.push(["string",_r.slice(tr,Qr+1),Gt,tr-Et,Gt,Qr-Et,tr]),tr=Qr;break;case sn:Vn.lastIndex=tr+1,Vn.test(_r),Vn.lastIndex===0?Qr=_r.length-1:Qr=Vn.lastIndex-2,Xn.push(["at-word",_r.slice(tr,Qr+1),Gt,tr-Et,Gt,Qr-Et,tr]),tr=Qr;break;case se:for(Qr=tr,qi=!0;_r.charCodeAt(Qr+1)===se;)Qr+=1,qi=!qi;ur=_r.charCodeAt(Qr+1),qi&&ur!==pe&&ur!==de&&ur!==le&&ur!==fe&&ur!==P&&ur!==ie&&(Qr+=1),Xn.push(["word",_r.slice(tr,Qr+1),Gt,tr-Et,Gt,Qr-Et,tr]),tr=Qr;break;default:ur===pe&&_r.charCodeAt(tr+1)===Pt?(Qr=_r.indexOf("*/",tr+2)+1,Qr===0&&Zr("comment","*/"),ls=_r.slice(tr,Qr+1),ks=ls.split(`
|
|
`),Ki=ks.length-1,Ki>0?(Fr=Gt+Ki,yn=Qr-ks[Ki].length):(Fr=Gt,yn=Et),Xn.push(["comment",ls,Gt,tr-Et,Fr,Qr-yn,tr]),Et=yn,Gt=Fr,tr=Qr):(An.lastIndex=tr+1,An.test(_r),An.lastIndex===0?Qr=_r.length-1:Qr=An.lastIndex-2,Xn.push(["word",_r.slice(tr,Qr+1),Gt,tr-Et,Gt,Qr-Et,tr]),tr=Qr);break}tr++}return Xn}K.exports=E.default}}),is=It({"node_modules/postcss-selector-parser/dist/parser.js"(E,K){Xt(),E.__esModule=!0;var Y=function(){function Et(Gt,tr){for(var Zr=0;Zr<tr.length;Zr++){var bt=tr[Zr];bt.enumerable=bt.enumerable||!1,bt.configurable=!0,"value"in bt&&(bt.writable=!0),Object.defineProperty(Gt,bt.key,bt)}}return function(Gt,tr,Zr){return tr&&Et(Gt.prototype,tr),Zr&&Et(Gt,Zr),Gt}}(),G=Po(),se=ai(G),pe=To(),le=ai(pe),de=Ui(),ie=ai(de),fe=us(),P=ai(fe),C=Wi(),H=ai(C),V=Xa(),Se=ai(V),ye=iu(),Le=ai(ye),xe=su(),Ee=ai(xe),ct=Io(),dt=ai(ct),Pt=ya(),wr=ai(Pt),qr=_s(),sn=ai(qr),Vn=Go(),An=ai(Vn),Qn=ka(),Pn=ai(Qn),Xn=Bp(),_r=ai(Xn),ur=qc(),Qr=ai(ur),lr=Ua(),ks=ai(lr),Ki=_p(),ls=ai(Ki),qi=mi(),Fr=yn(qi);function yn(Et){if(Et&&Et.__esModule)return Et;var Gt={};if(Et!=null)for(var tr in Et)Object.prototype.hasOwnProperty.call(Et,tr)&&(Gt[tr]=Et[tr]);return Gt.default=Et,Gt}function ai(Et){return Et&&Et.__esModule?Et:{default:Et}}function zn(Et,Gt){if(!(Et instanceof Gt))throw new TypeError("Cannot call a class as a function")}var ui=function(){function Et(Gt){zn(this,Et),this.input=Gt,this.lossy=Gt.options.lossless===!1,this.position=0,this.root=new P.default;var tr=new H.default;return this.root.append(tr),this.current=tr,this.lossy?this.tokens=(0,ls.default)({safe:Gt.safe,css:Gt.css.trim()}):this.tokens=(0,ls.default)(Gt),this.loop()}return Et.prototype.attribute=function(){var Gt="",tr=void 0,Zr=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)Gt+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~Gt.indexOf("]")&&this.error("Expected a closing square bracket.");var bt=Gt.split(/((?:[*~^$|]?=))([^]*)/),wn=bt[0].split(/(\|)/g),ln={operator:bt[1],value:bt[2],source:{start:{line:Zr[2],column:Zr[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Zr[4]};if(wn.length>1?(wn[0]===""&&(wn[0]=!0),ln.attribute=this.parseValue(wn[2]),ln.namespace=this.parseNamespace(wn[0])):ln.attribute=this.parseValue(bt[0]),tr=new An.default(ln),bt[2]){var Hs=bt[2].split(/(\s+i\s*?)$/),Vi=Hs[0].trim();tr.value=this.lossy?Vi:Hs[0],Hs[1]&&(tr.insensitive=!0,this.lossy||(tr.raws.insensitive=Hs[1])),tr.quoted=Vi[0]==="'"||Vi[0]==='"',tr.raws.unquoted=tr.quoted?Vi.slice(1,-1):Vi}this.newNode(tr),this.position++},Et.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var Gt=new _r.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"?(Gt.spaces.before=this.parseSpace(this.currToken[1]),Gt.source.start.line=this.nextToken[2],Gt.source.start.column=this.nextToken[3],Gt.source.end.column=this.nextToken[3],Gt.source.end.line=this.nextToken[2],Gt.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?Gt.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?Gt.value=this.currToken[1]:this.currToken[0]==="space"&&(Gt.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(Gt)},Et.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var Gt=new H.default;this.current.parent.append(Gt),this.current=Gt,this.position++},Et.prototype.comment=function(){var Gt=new Le.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(Gt),this.position++},Et.prototype.error=function(Gt){throw new this.input.error(Gt)},Et.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Et.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Et.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Et.prototype.namespace=function(){var Gt=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(Gt);if(this.nextToken[0]==="*")return this.position++,this.universal(Gt)},Et.prototype.nesting=function(){this.newNode(new Qr.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++},Et.prototype.parentheses=function(){var Gt=this.current.last;if(Gt&&Gt.type===Fr.PSEUDO){var tr=new H.default,Zr=this.current;Gt.append(tr),this.current=tr;var bt=1;for(this.position++;this.position<this.tokens.length&&bt;)this.currToken[0]==="("&&bt++,this.currToken[0]===")"&&bt--,bt?this.parse():(tr.parent.source.end.line=this.currToken[2],tr.parent.source.end.column=this.currToken[3],this.position++);bt&&this.error("Expected closing parenthesis."),this.current=Zr}else{var wn=1;for(this.position++,Gt.value+="(";this.position<this.tokens.length&&wn;)this.currToken[0]==="("&&wn++,this.currToken[0]===")"&&wn--,Gt.value+=this.parseParenthesisToken(this.currToken),this.position++;wn&&this.error("Expected closing parenthesis.")}},Et.prototype.pseudo=function(){for(var Gt=this,tr="",Zr=this.currToken;this.currToken&&this.currToken[0]===":";)tr+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var bt=void 0;this.splitWord(!1,function(wn,ln){tr+=wn,bt=new sn.default({value:tr,source:{start:{line:Zr[2],column:Zr[3]},end:{line:Gt.currToken[4],column:Gt.currToken[5]}},sourceIndex:Zr[4]}),Gt.newNode(bt),ln>1&&Gt.nextToken&&Gt.nextToken[0]==="("&&Gt.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Et.prototype.space=function(){var Gt=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(Gt[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(Gt[1]),this.position++):this.combinator()},Et.prototype.string=function(){var Gt=this.currToken;this.newNode(new wr.default({value:this.currToken[1],source:{start:{line:Gt[2],column:Gt[3]},end:{line:Gt[4],column:Gt[5]}},sourceIndex:Gt[6]})),this.position++},Et.prototype.universal=function(Gt){var tr=this.nextToken;if(tr&&tr[1]==="|")return this.position++,this.namespace();this.newNode(new Pn.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),Gt),this.position++},Et.prototype.splitWord=function(Gt,tr){for(var Zr=this,bt=this.nextToken,wn=this.currToken[1];bt&&bt[0]==="word";){this.position++;var ln=this.currToken[1];if(wn+=ln,ln.lastIndexOf("\\")===ln.length-1){var Hs=this.nextToken;Hs&&Hs[0]==="space"&&(wn+=this.parseSpace(Hs[1]," "),this.position++)}bt=this.nextToken}var Vi=(0,le.default)(wn,"."),Ms=(0,le.default)(wn,"#"),Ko=(0,le.default)(wn,"#{");Ko.length&&(Ms=Ms.filter(function($s){return!~Ko.indexOf($s)}));var so=(0,ks.default)((0,ie.default)((0,se.default)([[0],Vi,Ms])));so.forEach(function($s,Fo){var ws=so[Fo+1]||wn.length,Ls=wn.slice($s,ws);if(Fo===0&&tr)return tr.call(Zr,Ls,so.length);var ro=void 0;~Vi.indexOf($s)?ro=new Se.default({value:Ls.slice(1),source:{start:{line:Zr.currToken[2],column:Zr.currToken[3]+$s},end:{line:Zr.currToken[4],column:Zr.currToken[3]+(ws-1)}},sourceIndex:Zr.currToken[6]+so[Fo]}):~Ms.indexOf($s)?ro=new Ee.default({value:Ls.slice(1),source:{start:{line:Zr.currToken[2],column:Zr.currToken[3]+$s},end:{line:Zr.currToken[4],column:Zr.currToken[3]+(ws-1)}},sourceIndex:Zr.currToken[6]+so[Fo]}):ro=new dt.default({value:Ls,source:{start:{line:Zr.currToken[2],column:Zr.currToken[3]+$s},end:{line:Zr.currToken[4],column:Zr.currToken[3]+(ws-1)}},sourceIndex:Zr.currToken[6]+so[Fo]}),Zr.newNode(ro,Gt)}),this.position++},Et.prototype.word=function(Gt){var tr=this.nextToken;return tr&&tr[1]==="|"?(this.position++,this.namespace()):this.splitWord(Gt)},Et.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Et.prototype.parse=function(Gt){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":Gt&&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}},Et.prototype.parseNamespace=function(Gt){if(this.lossy&&typeof Gt=="string"){var tr=Gt.trim();return tr.length?tr:!0}return Gt},Et.prototype.parseSpace=function(Gt,tr){return this.lossy?tr||"":Gt},Et.prototype.parseValue=function(Gt){return this.lossy&&Gt&&typeof Gt=="string"?Gt.trim():Gt},Et.prototype.parseParenthesisToken=function(Gt){return this.lossy?Gt[0]==="space"?this.parseSpace(Gt[1]," "):this.parseValue(Gt[1]):Gt[1]},Et.prototype.newNode=function(Gt,tr){return tr&&(Gt.namespace=this.parseNamespace(tr)),this.spaces&&(Gt.spaces.before=this.spaces,this.spaces=""),this.current.append(Gt)},Y(Et,[{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]}}]),Et}();E.default=ui,K.exports=E.default}}),Qu=It({"node_modules/postcss-selector-parser/dist/processor.js"(E,K){Xt(),E.__esModule=!0;var Y=function(){function ie(fe,P){for(var C=0;C<P.length;C++){var H=P[C];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(fe,H.key,H)}}return function(fe,P,C){return P&&ie(fe.prototype,P),C&&ie(fe,C),fe}}(),G=is(),se=pe(G);function pe(ie){return ie&&ie.__esModule?ie:{default:ie}}function le(ie,fe){if(!(ie instanceof fe))throw new TypeError("Cannot call a class as a function")}var de=function(){function ie(fe){return le(this,ie),this.func=fe||function(){},this}return ie.prototype.process=function(fe){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=new se.default({css:fe,error:function(H){throw new Error(H)},options:P});return this.res=C,this.func(C),this},Y(ie,[{key:"result",get:function(){return String(this.res)}}]),ie}();E.default=de,K.exports=E.default}}),jh=It({"node_modules/postcss-selector-parser/dist/index.js"(E,K){Xt(),E.__esModule=!0;var Y=Qu(),G=ur(Y),se=Go(),pe=ur(se),le=Xa(),de=ur(le),ie=Bp(),fe=ur(ie),P=iu(),C=ur(P),H=su(),V=ur(H),Se=qc(),ye=ur(Se),Le=_s(),xe=ur(Le),Ee=us(),ct=ur(Ee),dt=Wi(),Pt=ur(dt),wr=ya(),qr=ur(wr),sn=Io(),Vn=ur(sn),An=ka(),Qn=ur(An),Pn=mi(),Xn=_r(Pn);function _r(lr){if(lr&&lr.__esModule)return lr;var ks={};if(lr!=null)for(var Ki in lr)Object.prototype.hasOwnProperty.call(lr,Ki)&&(ks[Ki]=lr[Ki]);return ks.default=lr,ks}function ur(lr){return lr&&lr.__esModule?lr:{default:lr}}var Qr=function(lr){return new G.default(lr)};Qr.attribute=function(lr){return new pe.default(lr)},Qr.className=function(lr){return new de.default(lr)},Qr.combinator=function(lr){return new fe.default(lr)},Qr.comment=function(lr){return new C.default(lr)},Qr.id=function(lr){return new V.default(lr)},Qr.nesting=function(lr){return new ye.default(lr)},Qr.pseudo=function(lr){return new xe.default(lr)},Qr.root=function(lr){return new ct.default(lr)},Qr.selector=function(lr){return new Pt.default(lr)},Qr.string=function(lr){return new qr.default(lr)},Qr.tag=function(lr){return new Vn.default(lr)},Qr.universal=function(lr){return new Qn.default(lr)},Object.keys(Xn).forEach(function(lr){lr!=="__esModule"&&(Qr[lr]=Xn[lr])}),E.default=Qr,K.exports=E.default}}),$p=It({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(E){Xt(),Object.defineProperty(E,"__esModule",{value:!0});function K(Y){this.after=Y.after,this.before=Y.before,this.type=Y.type,this.value=Y.value,this.sourceIndex=Y.sourceIndex}E.default=K}}),Np=It({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(E){Xt(),Object.defineProperty(E,"__esModule",{value:!0});var K=$p(),Y=G(K);function G(pe){return pe&&pe.__esModule?pe:{default:pe}}function se(pe){var le=this;this.constructor(pe),this.nodes=pe.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(de){de.parent=le})}se.prototype=Object.create(Y.default.prototype),se.constructor=Y.default,se.prototype.walk=function(pe,le){for(var de=typeof pe=="string"||pe instanceof RegExp,ie=de?le:pe,fe=typeof pe=="string"?new RegExp(pe):pe,P=0;P<this.nodes.length;P++){var C=this.nodes[P],H=de?fe.test(C.type):!0;if(H&&ie&&ie(C,P,this.nodes)===!1||C.nodes&&C.walk(pe,le)===!1)return!1}return!0},se.prototype.each=function(){for(var pe=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],le=0;le<this.nodes.length;le++){var de=this.nodes[le];if(pe(de,le,this.nodes)===!1)return!1}return!0},E.default=se}}),ju=It({"node_modules/postcss-media-query-parser/dist/parsers.js"(E){Xt(),Object.defineProperty(E,"__esModule",{value:!0}),E.parseMediaFeature=le,E.parseMediaQuery=de,E.parseMediaList=ie;var K=$p(),Y=pe(K),G=Np(),se=pe(G);function pe(fe){return fe&&fe.__esModule?fe:{default:fe}}function le(fe){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],C=[{mode:"normal",character:null}],H=[],V=0,Se="",ye=null,Le=null,xe=P,Ee=fe;fe[0]==="("&&fe[fe.length-1]===")"&&(Ee=fe.substring(1,fe.length-1),xe++);for(var ct=0;ct<Ee.length;ct++){var dt=Ee[ct];if((dt==="'"||dt==='"')&&(C[V].isCalculationEnabled===!0?(C.push({mode:"string",isCalculationEnabled:!1,character:dt}),V++):C[V].mode==="string"&&C[V].character===dt&&Ee[ct-1]!=="\\"&&(C.pop(),V--)),dt==="{"?(C.push({mode:"interpolation",isCalculationEnabled:!0}),V++):dt==="}"&&(C.pop(),V--),C[V].mode==="normal"&&dt===":"){var Pt=Ee.substring(ct+1);Le={type:"value",before:/^(\s*)/.exec(Pt)[1],after:/(\s*)$/.exec(Pt)[1],value:Pt.trim()},Le.sourceIndex=Le.before.length+ct+1+xe,ye={type:"colon",sourceIndex:ct+xe,after:Le.before,value:":"};break}Se+=dt}return Se={type:"media-feature",before:/^(\s*)/.exec(Se)[1],after:/(\s*)$/.exec(Se)[1],value:Se.trim()},Se.sourceIndex=Se.before.length+xe,H.push(Se),ye!==null&&(ye.before=Se.after,H.push(ye)),Le!==null&&H.push(Le),H}function de(fe){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],C=[],H=0,V=!1,Se=void 0;function ye(){return{before:"",after:"",value:""}}Se=ye();for(var Le=0;Le<fe.length;Le++){var xe=fe[Le];V?(Se.value+=xe,(xe==="{"||xe==="(")&&H++,(xe===")"||xe==="}")&&H--):xe.search(/\s/)!==-1?Se.before+=xe:(xe==="("&&(Se.type="media-feature-expression",H++),Se.value=xe,Se.sourceIndex=P+Le,V=!0),V&&H===0&&(xe===")"||Le===fe.length-1||fe[Le+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(Se.value)!==-1&&(Se.type="keyword"),Se.type==="media-feature-expression"&&(Se.nodes=le(Se.value,Se.sourceIndex)),C.push(Array.isArray(Se.nodes)?new se.default(Se):new Y.default(Se)),Se=ye(),V=!1)}for(var Ee=0;Ee<C.length;Ee++)if(Se=C[Ee],Ee>0&&(C[Ee-1].after=Se.before),Se.type===void 0){if(Ee>0){if(C[Ee-1].type==="media-feature-expression"){Se.type="keyword";continue}if(C[Ee-1].value==="not"||C[Ee-1].value==="only"){Se.type="media-type";continue}if(C[Ee-1].value==="and"){Se.type="media-feature-expression";continue}C[Ee-1].type==="media-type"&&(C[Ee+1]?Se.type=C[Ee+1].type==="media-feature-expression"?"keyword":"media-feature-expression":Se.type="media-feature-expression")}if(Ee===0){if(!C[Ee+1]){Se.type="media-type";continue}if(C[Ee+1]&&(C[Ee+1].type==="media-feature-expression"||C[Ee+1].type==="keyword")){Se.type="media-type";continue}if(C[Ee+2]){if(C[Ee+2].type==="media-feature-expression"){Se.type="media-type",C[Ee+1].type="keyword";continue}if(C[Ee+2].type==="keyword"){Se.type="keyword",C[Ee+1].type="media-type";continue}}if(C[Ee+3]&&C[Ee+3].type==="media-feature-expression"){Se.type="keyword",C[Ee+1].type="media-type",C[Ee+2].type="keyword";continue}}}return C}function ie(fe){var P=[],C=0,H=0,V=/^(\s*)url\s*\(/.exec(fe);if(V!==null){for(var Se=V[0].length,ye=1;ye>0;){var Le=fe[Se];Le==="("&&ye++,Le===")"&&ye--,Se++}P.unshift(new Y.default({type:"url",value:fe.substring(0,Se).trim(),sourceIndex:V[1].length,before:V[1],after:/^(\s*)/.exec(fe.substring(Se))[1]})),C=Se}for(var xe=C;xe<fe.length;xe++){var Ee=fe[xe];if(Ee==="("&&H++,Ee===")"&&H--,H===0&&Ee===","){var ct=fe.substring(C,xe),dt=/^(\s*)/.exec(ct)[1];P.push(new se.default({type:"media-query",value:ct.trim(),sourceIndex:C+dt.length,nodes:de(ct,C),before:dt,after:/(\s*)$/.exec(ct)[1]})),C=xe+1}}var Pt=fe.substring(C),wr=/^(\s*)/.exec(Pt)[1];return P.push(new se.default({type:"media-query",value:Pt.trim(),sourceIndex:C+wr.length,nodes:de(Pt,C),before:wr,after:/(\s*)$/.exec(Pt)[1]})),P}}}),Mu=It({"node_modules/postcss-media-query-parser/dist/index.js"(E){Xt(),Object.defineProperty(E,"__esModule",{value:!0}),E.default=pe;var K=Np(),Y=se(K),G=ju();function se(le){return le&&le.__esModule?le:{default:le}}function pe(le){return new Y.default({nodes:(0,G.parseMediaList)(le),type:"media-query-list",value:le.trim()})}}}),Oa={};Cn(Oa,{basename:()=>Vu,default:()=>au,delimiter:()=>sc,dirname:()=>Wa,extname:()=>Ho,isAbsolute:()=>Sl,join:()=>Fa,normalize:()=>ou,relative:()=>Ru,resolve:()=>Lu,sep:()=>Xu});function Cl(E,K){for(var Y=0,G=E.length-1;G>=0;G--){var se=E[G];se==="."?E.splice(G,1):se===".."?(E.splice(G,1),Y++):Y&&(E.splice(G,1),Y--)}if(K)for(;Y--;Y)E.unshift("..");return E}function Lu(){for(var E="",K=!1,Y=arguments.length-1;Y>=-1&&!K;Y--){var G=Y>=0?arguments[Y]:"/";if(typeof G!="string")throw new TypeError("Arguments to path.resolve must be strings");G&&(E=G+"/"+E,K=G.charAt(0)==="/")}return E=Cl(Da(E.split("/"),function(se){return!!se}),!K).join("/"),(K?"/":"")+E||"."}function ou(E){var K=Sl(E),Y=uu(E,-1)==="/";return E=Cl(Da(E.split("/"),function(G){return!!G}),!K).join("/"),!E&&!K&&(E="."),E&&Y&&(E+="/"),(K?"/":"")+E}function Sl(E){return E.charAt(0)==="/"}function Fa(){var E=Array.prototype.slice.call(arguments,0);return ou(Da(E,function(K,Y){if(typeof K!="string")throw new TypeError("Arguments to path.join must be strings");return K}).join("/"))}function Ru(E,K){E=Lu(E).substr(1),K=Lu(K).substr(1);function Y(fe){for(var P=0;P<fe.length&&fe[P]==="";P++);for(var C=fe.length-1;C>=0&&fe[C]==="";C--);return P>C?[]:fe.slice(P,C-P+1)}for(var G=Y(E.split("/")),se=Y(K.split("/")),pe=Math.min(G.length,se.length),le=pe,de=0;de<pe;de++)if(G[de]!==se[de]){le=de;break}for(var ie=[],de=le;de<G.length;de++)ie.push("..");return ie=ie.concat(se.slice(le)),ie.join("/")}function Wa(E){var K=sa(E),Y=K[0],G=K[1];return!Y&&!G?".":(G&&(G=G.substr(0,G.length-1)),Y+G)}function Vu(E,K){var Y=sa(E)[2];return K&&Y.substr(-1*K.length)===K&&(Y=Y.substr(0,Y.length-K.length)),Y}function Ho(E){return sa(E)[3]}function Da(E,K){if(E.filter)return E.filter(K);for(var Y=[],G=0;G<E.length;G++)K(E[G],G,E)&&Y.push(E[G]);return Y}var ic,sa,Xu,sc,au,uu,El=Hr({"node-modules-polyfills:path"(){Xt(),ic=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,sa=function(E){return ic.exec(E).slice(1)},Xu="/",sc=":",au={extname:Ho,basename:Vu,dirname:Wa,sep:Xu,delimiter:sc,relative:Ru,join:Fa,isAbsolute:Sl,normalize:ou,resolve:Lu},uu="ab".substr(-1)==="b"?function(E,K,Y){return E.substr(K,Y)}:function(E,K,Y){return K<0&&(K=E.length+K),E.substr(K,Y)}}}),Al=It({"node-modules-polyfills-commonjs:path"(E,K){Xt();var Y=(El(),qn(Oa));if(Y&&Y.default){K.exports=Y.default;for(let G in Y)K.exports[G]=Y[G]}else Y&&(K.exports=Y)}}),oc=It({"node_modules/picocolors/picocolors.browser.js"(E,K){Xt();var Y=String,G=function(){return{isColorSupported:!1,reset:Y,bold:Y,dim:Y,italic:Y,underline:Y,inverse:Y,hidden:Y,strikethrough:Y,black:Y,red:Y,green:Y,yellow:Y,blue:Y,magenta:Y,cyan:Y,white:Y,gray:Y,bgBlack:Y,bgRed:Y,bgGreen:Y,bgYellow:Y,bgBlue:Y,bgMagenta:Y,bgCyan:Y,bgWhite:Y}};K.exports=G(),K.exports.createColors=G}}),wl=It({"(disabled):node_modules/postcss/lib/terminal-highlight"(){Xt()}}),Pl=It({"node_modules/postcss/lib/css-syntax-error.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=se(oc()),G=se(wl());function se(ye){return ye&&ye.__esModule?ye:{default:ye}}function pe(ye){if(ye===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye}function le(ye,Le){ye.prototype=Object.create(Le.prototype),ye.prototype.constructor=ye,ye.__proto__=Le}function de(ye){var Le=typeof Map=="function"?new Map:void 0;return de=function(xe){if(xe===null||!P(xe))return xe;if(typeof xe!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Le<"u"){if(Le.has(xe))return Le.get(xe);Le.set(xe,Ee)}function Ee(){return ie(xe,arguments,H(this).constructor)}return Ee.prototype=Object.create(xe.prototype,{constructor:{value:Ee,enumerable:!1,writable:!0,configurable:!0}}),C(Ee,xe)},de(ye)}function ie(ye,Le,xe){return fe()?ie=Reflect.construct:ie=function(Ee,ct,dt){var Pt=[null];Pt.push.apply(Pt,ct);var wr=Function.bind.apply(Ee,Pt),qr=new wr;return dt&&C(qr,dt.prototype),qr},ie.apply(null,arguments)}function fe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function P(ye){return Function.toString.call(ye).indexOf("[native code]")!==-1}function C(ye,Le){return C=Object.setPrototypeOf||function(xe,Ee){return xe.__proto__=Ee,xe},C(ye,Le)}function H(ye){return H=Object.setPrototypeOf?Object.getPrototypeOf:function(Le){return Le.__proto__||Object.getPrototypeOf(Le)},H(ye)}var V=function(ye){le(Le,ye);function Le(Ee,ct,dt,Pt,wr,qr){var sn;return sn=ye.call(this,Ee)||this,sn.name="CssSyntaxError",sn.reason=Ee,wr&&(sn.file=wr),Pt&&(sn.source=Pt),qr&&(sn.plugin=qr),typeof ct<"u"&&typeof dt<"u"&&(sn.line=ct,sn.column=dt),sn.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(pe(sn),Le),sn}var xe=Le.prototype;return xe.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},xe.showSourceCode=function(Ee){var ct=this;if(!this.source)return"";var dt=this.source;G.default&&(typeof Ee>"u"&&(Ee=Y.default.isColorSupported),Ee&&(dt=(0,G.default)(dt)));var Pt=dt.split(/\r?\n/),wr=Math.max(this.line-3,0),qr=Math.min(this.line+2,Pt.length),sn=String(qr).length;function Vn(Qn){return Ee&&Y.default.red?Y.default.red(Y.default.bold(Qn)):Qn}function An(Qn){return Ee&&Y.default.gray?Y.default.gray(Qn):Qn}return Pt.slice(wr,qr).map(function(Qn,Pn){var Xn=wr+1+Pn,_r=" "+(" "+Xn).slice(-sn)+" | ";if(Xn===ct.line){var ur=An(_r.replace(/\d/g," "))+Qn.slice(0,ct.column-1).replace(/[^\t]/g," ");return Vn(">")+An(_r)+Qn+`
|
|
`+ur+Vn("^")}return" "+An(_r)+Qn}).join(`
|
|
`)},xe.toString=function(){var Ee=this.showSourceCode();return Ee&&(Ee=`
|
|
|
|
`+Ee+`
|
|
`),this.name+": "+this.message+Ee},Le}(de(Error)),Se=V;E.default=Se,K.exports=E.default}}),Ip=It({"node_modules/postcss/lib/previous-map.js"(E,K){Xt(),K.exports=class{}}}),Ba=It({"node_modules/postcss/lib/input.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=pe(Al()),G=pe(Pl()),se=pe(Ip());function pe(C){return C&&C.__esModule?C:{default:C}}function le(C,H){for(var V=0;V<H.length;V++){var Se=H[V];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(C,Se.key,Se)}}function de(C,H,V){return H&&le(C.prototype,H),V&&le(C,V),C}var ie=0,fe=function(){function C(V,Se){if(Se===void 0&&(Se={}),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,Se.from&&(/^\w+:\/\//.test(Se.from)||Y.default.isAbsolute(Se.from)?this.file=Se.from:this.file=Y.default.resolve(Se.from));var ye=new se.default(this.css,Se);if(ye.text){this.map=ye;var Le=ye.consumer().file;!this.file&&Le&&(this.file=this.mapResolve(Le))}this.file||(ie+=1,this.id="<input css "+ie+">"),this.map&&(this.map.file=this.from)}var H=C.prototype;return H.error=function(V,Se,ye,Le){Le===void 0&&(Le={});var xe,Ee=this.origin(Se,ye);return Ee?xe=new G.default(V,Ee.line,Ee.column,Ee.source,Ee.file,Le.plugin):xe=new G.default(V,Se,ye,this.css,this.file,Le.plugin),xe.input={line:Se,column:ye,source:this.css},this.file&&(xe.input.file=this.file),xe},H.origin=function(V,Se){if(!this.map)return!1;var ye=this.map.consumer(),Le=ye.originalPositionFor({line:V,column:Se});if(!Le.source)return!1;var xe={file:this.mapResolve(Le.source),line:Le.line,column:Le.column},Ee=ye.sourceContentFor(Le.source);return Ee&&(xe.source=Ee),xe},H.mapResolve=function(V){return/^\w+:\/\//.test(V)?V:Y.default.resolve(this.map.consumer().sourceRoot||".",V)},de(C,[{key:"from",get:function(){return this.file||this.id}}]),C}(),P=fe;E.default=P,K.exports=E.default}}),ac=It({"node_modules/postcss/lib/stringifier.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y={colon:": ",indent:" ",beforeDecl:`
|
|
`,beforeRule:`
|
|
`,beforeOpen:" ",beforeClose:`
|
|
`,beforeComment:`
|
|
`,after:`
|
|
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function G(le){return le[0].toUpperCase()+le.slice(1)}var se=function(){function le(ie){this.builder=ie}var de=le.prototype;return de.stringify=function(ie,fe){this[ie.type](ie,fe)},de.root=function(ie){this.body(ie),ie.raws.after&&this.builder(ie.raws.after)},de.comment=function(ie){var fe=this.raw(ie,"left","commentLeft"),P=this.raw(ie,"right","commentRight");this.builder("/*"+fe+ie.text+P+"*/",ie)},de.decl=function(ie,fe){var P=this.raw(ie,"between","colon"),C=ie.prop+P+this.rawValue(ie,"value");ie.important&&(C+=ie.raws.important||" !important"),fe&&(C+=";"),this.builder(C,ie)},de.rule=function(ie){this.block(ie,this.rawValue(ie,"selector")),ie.raws.ownSemicolon&&this.builder(ie.raws.ownSemicolon,ie,"end")},de.atrule=function(ie,fe){var P="@"+ie.name,C=ie.params?this.rawValue(ie,"params"):"";if(typeof ie.raws.afterName<"u"?P+=ie.raws.afterName:C&&(P+=" "),ie.nodes)this.block(ie,P+C);else{var H=(ie.raws.between||"")+(fe?";":"");this.builder(P+C+H,ie)}},de.body=function(ie){for(var fe=ie.nodes.length-1;fe>0&&ie.nodes[fe].type==="comment";)fe-=1;for(var P=this.raw(ie,"semicolon"),C=0;C<ie.nodes.length;C++){var H=ie.nodes[C],V=this.raw(H,"before");V&&this.builder(V),this.stringify(H,fe!==C||P)}},de.block=function(ie,fe){var P=this.raw(ie,"between","beforeOpen");this.builder(fe+P+"{",ie,"start");var C;ie.nodes&&ie.nodes.length?(this.body(ie),C=this.raw(ie,"after")):C=this.raw(ie,"after","emptyBody"),C&&this.builder(C),this.builder("}",ie,"end")},de.raw=function(ie,fe,P){var C;if(P||(P=fe),fe&&(C=ie.raws[fe],typeof C<"u"))return C;var H=ie.parent;if(P==="before"&&(!H||H.type==="root"&&H.first===ie))return"";if(!H)return Y[P];var V=ie.root();if(V.rawCache||(V.rawCache={}),typeof V.rawCache[P]<"u")return V.rawCache[P];if(P==="before"||P==="after")return this.beforeAfter(ie,P);var Se="raw"+G(P);return this[Se]?C=this[Se](V,ie):V.walk(function(ye){if(C=ye.raws[fe],typeof C<"u")return!1}),typeof C>"u"&&(C=Y[P]),V.rawCache[P]=C,C},de.rawSemicolon=function(ie){var fe;return ie.walk(function(P){if(P.nodes&&P.nodes.length&&P.last.type==="decl"&&(fe=P.raws.semicolon,typeof fe<"u"))return!1}),fe},de.rawEmptyBody=function(ie){var fe;return ie.walk(function(P){if(P.nodes&&P.nodes.length===0&&(fe=P.raws.after,typeof fe<"u"))return!1}),fe},de.rawIndent=function(ie){if(ie.raws.indent)return ie.raws.indent;var fe;return ie.walk(function(P){var C=P.parent;if(C&&C!==ie&&C.parent&&C.parent===ie&&typeof P.raws.before<"u"){var H=P.raws.before.split(`
|
|
`);return fe=H[H.length-1],fe=fe.replace(/[^\s]/g,""),!1}}),fe},de.rawBeforeComment=function(ie,fe){var P;return ie.walkComments(function(C){if(typeof C.raws.before<"u")return P=C.raws.before,P.indexOf(`
|
|
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(fe,null,"beforeDecl"):P&&(P=P.replace(/[^\s]/g,"")),P},de.rawBeforeDecl=function(ie,fe){var P;return ie.walkDecls(function(C){if(typeof C.raws.before<"u")return P=C.raws.before,P.indexOf(`
|
|
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(fe,null,"beforeRule"):P&&(P=P.replace(/[^\s]/g,"")),P},de.rawBeforeRule=function(ie){var fe;return ie.walk(function(P){if(P.nodes&&(P.parent!==ie||ie.first!==P)&&typeof P.raws.before<"u")return fe=P.raws.before,fe.indexOf(`
|
|
`)!==-1&&(fe=fe.replace(/[^\n]+$/,"")),!1}),fe&&(fe=fe.replace(/[^\s]/g,"")),fe},de.rawBeforeClose=function(ie){var fe;return ie.walk(function(P){if(P.nodes&&P.nodes.length>0&&typeof P.raws.after<"u")return fe=P.raws.after,fe.indexOf(`
|
|
`)!==-1&&(fe=fe.replace(/[^\n]+$/,"")),!1}),fe&&(fe=fe.replace(/[^\s]/g,"")),fe},de.rawBeforeOpen=function(ie){var fe;return ie.walk(function(P){if(P.type!=="decl"&&(fe=P.raws.between,typeof fe<"u"))return!1}),fe},de.rawColon=function(ie){var fe;return ie.walkDecls(function(P){if(typeof P.raws.between<"u")return fe=P.raws.between.replace(/[^\s:]/g,""),!1}),fe},de.beforeAfter=function(ie,fe){var P;ie.type==="decl"?P=this.raw(ie,null,"beforeDecl"):ie.type==="comment"?P=this.raw(ie,null,"beforeComment"):fe==="before"?P=this.raw(ie,null,"beforeRule"):P=this.raw(ie,null,"beforeClose");for(var C=ie.parent,H=0;C&&C.type!=="root";)H+=1,C=C.parent;if(P.indexOf(`
|
|
`)!==-1){var V=this.raw(ie,null,"indent");if(V.length)for(var Se=0;Se<H;Se++)P+=V}return P},de.rawValue=function(ie,fe){var P=ie[fe],C=ie.raws[fe];return C&&C.value===P?C.raw:P},le}(),pe=se;E.default=pe,K.exports=E.default}}),Uu=It({"node_modules/postcss/lib/stringify.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=G(ac());function G(le){return le&&le.__esModule?le:{default:le}}function se(le,de){var ie=new Y.default(de);ie.stringify(le)}var pe=se;E.default=pe,K.exports=E.default}}),uc=It({"node_modules/postcss/lib/node.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=pe(Pl()),G=pe(ac()),se=pe(Uu());function pe(fe){return fe&&fe.__esModule?fe:{default:fe}}function le(fe,P){var C=new fe.constructor;for(var H in fe)if(fe.hasOwnProperty(H)){var V=fe[H],Se=typeof V;H==="parent"&&Se==="object"?P&&(C[H]=P):H==="source"?C[H]=V:V instanceof Array?C[H]=V.map(function(ye){return le(ye,C)}):(Se==="object"&&V!==null&&(V=le(V)),C[H]=V)}return C}var de=function(){function fe(C){C===void 0&&(C={}),this.raws={};for(var H in C)this[H]=C[H]}var P=fe.prototype;return P.error=function(C,H){if(H===void 0&&(H={}),this.source){var V=this.positionBy(H);return this.source.input.error(C,V.line,V.column,H)}return new Y.default(C)},P.warn=function(C,H,V){var Se={node:this};for(var ye in V)Se[ye]=V[ye];return C.warn(H,Se)},P.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},P.toString=function(C){C===void 0&&(C=se.default),C.stringify&&(C=C.stringify);var H="";return C(this,function(V){H+=V}),H},P.clone=function(C){C===void 0&&(C={});var H=le(this);for(var V in C)H[V]=C[V];return H},P.cloneBefore=function(C){C===void 0&&(C={});var H=this.clone(C);return this.parent.insertBefore(this,H),H},P.cloneAfter=function(C){C===void 0&&(C={});var H=this.clone(C);return this.parent.insertAfter(this,H),H},P.replaceWith=function(){if(this.parent){for(var C=arguments.length,H=new Array(C),V=0;V<C;V++)H[V]=arguments[V];for(var Se=0,ye=H;Se<ye.length;Se++){var Le=ye[Se];this.parent.insertBefore(this,Le)}this.remove()}return this},P.next=function(){if(this.parent){var C=this.parent.index(this);return this.parent.nodes[C+1]}},P.prev=function(){if(this.parent){var C=this.parent.index(this);return this.parent.nodes[C-1]}},P.before=function(C){return this.parent.insertBefore(this,C),this},P.after=function(C){return this.parent.insertAfter(this,C),this},P.toJSON=function(){var C={};for(var H in this)if(this.hasOwnProperty(H)&&H!=="parent"){var V=this[H];V instanceof Array?C[H]=V.map(function(Se){return typeof Se=="object"&&Se.toJSON?Se.toJSON():Se}):typeof V=="object"&&V.toJSON?C[H]=V.toJSON():C[H]=V}return C},P.raw=function(C,H){var V=new G.default;return V.raw(this,C,H)},P.root=function(){for(var C=this;C.parent;)C=C.parent;return C},P.cleanRaws=function(C){delete this.raws.before,delete this.raws.after,C||delete this.raws.between},P.positionInside=function(C){for(var H=this.toString(),V=this.source.start.column,Se=this.source.start.line,ye=0;ye<C;ye++)H[ye]===`
|
|
`?(V=1,Se+=1):V+=1;return{line:Se,column:V}},P.positionBy=function(C){var H=this.source.start;if(C.index)H=this.positionInside(C.index);else if(C.word){var V=this.toString().indexOf(C.word);V!==-1&&(H=this.positionInside(V))}return H},fe}(),ie=de;E.default=ie,K.exports=E.default}}),Tl=It({"node_modules/postcss/lib/comment.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=G(uc());function G(de){return de&&de.__esModule?de:{default:de}}function se(de,ie){de.prototype=Object.create(ie.prototype),de.prototype.constructor=de,de.__proto__=ie}var pe=function(de){se(ie,de);function ie(fe){var P;return P=de.call(this,fe)||this,P.type="comment",P}return ie}(Y.default),le=pe;E.default=le,K.exports=E.default}}),lu=It({"node_modules/postcss/lib/declaration.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=G(uc());function G(de){return de&&de.__esModule?de:{default:de}}function se(de,ie){de.prototype=Object.create(ie.prototype),de.prototype.constructor=de,de.__proto__=ie}var pe=function(de){se(ie,de);function ie(fe){var P;return P=de.call(this,fe)||this,P.type="decl",P}return ie}(Y.default),le=pe;E.default=le,K.exports=E.default}}),kl=It({"node_modules/postcss/lib/tokenize.js"(E,K){Xt(),E.__esModule=!0,E.default=Vn;var Y="'".charCodeAt(0),G='"'.charCodeAt(0),se="\\".charCodeAt(0),pe="/".charCodeAt(0),le=`
|
|
`.charCodeAt(0),de=" ".charCodeAt(0),ie="\f".charCodeAt(0),fe=" ".charCodeAt(0),P="\r".charCodeAt(0),C="[".charCodeAt(0),H="]".charCodeAt(0),V="(".charCodeAt(0),Se=")".charCodeAt(0),ye="{".charCodeAt(0),Le="}".charCodeAt(0),xe=";".charCodeAt(0),Ee="*".charCodeAt(0),ct=":".charCodeAt(0),dt="@".charCodeAt(0),Pt=/[ \n\t\r\f{}()'"\\;/[\]#]/g,wr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,qr=/.[\\/("'\n]/,sn=/[a-f0-9]/i;function Vn(An,Qn){Qn===void 0&&(Qn={});var Pn=An.css.valueOf(),Xn=Qn.ignoreErrors,_r,ur,Qr,lr,ks,Ki,ls,qi,Fr,yn,ai,zn,ui,Et,Gt=Pn.length,tr=-1,Zr=1,bt=0,wn=[],ln=[];function Hs(){return bt}function Vi($s){throw An.error("Unclosed "+$s,Zr,bt-tr)}function Ms(){return ln.length===0&&bt>=Gt}function Ko($s){if(ln.length)return ln.pop();if(!(bt>=Gt)){var Fo=$s?$s.ignoreUnclosed:!1;switch(_r=Pn.charCodeAt(bt),(_r===le||_r===ie||_r===P&&Pn.charCodeAt(bt+1)!==le)&&(tr=bt,Zr+=1),_r){case le:case de:case fe:case P:case ie:ur=bt;do ur+=1,_r=Pn.charCodeAt(ur),_r===le&&(tr=ur,Zr+=1);while(_r===de||_r===le||_r===fe||_r===P||_r===ie);Et=["space",Pn.slice(bt,ur)],bt=ur-1;break;case C:case H:case ye:case Le:case ct:case xe:case Se:var ws=String.fromCharCode(_r);Et=[ws,ws,Zr,bt-tr];break;case V:if(zn=wn.length?wn.pop()[1]:"",ui=Pn.charCodeAt(bt+1),zn==="url"&&ui!==Y&&ui!==G&&ui!==de&&ui!==le&&ui!==fe&&ui!==ie&&ui!==P){ur=bt;do{if(yn=!1,ur=Pn.indexOf(")",ur+1),ur===-1)if(Xn||Fo){ur=bt;break}else Vi("bracket");for(ai=ur;Pn.charCodeAt(ai-1)===se;)ai-=1,yn=!yn}while(yn);Et=["brackets",Pn.slice(bt,ur+1),Zr,bt-tr,Zr,ur-tr],bt=ur}else ur=Pn.indexOf(")",bt+1),Ki=Pn.slice(bt,ur+1),ur===-1||qr.test(Ki)?Et=["(","(",Zr,bt-tr]:(Et=["brackets",Ki,Zr,bt-tr,Zr,ur-tr],bt=ur);break;case Y:case G:Qr=_r===Y?"'":'"',ur=bt;do{if(yn=!1,ur=Pn.indexOf(Qr,ur+1),ur===-1)if(Xn||Fo){ur=bt+1;break}else Vi("string");for(ai=ur;Pn.charCodeAt(ai-1)===se;)ai-=1,yn=!yn}while(yn);Ki=Pn.slice(bt,ur+1),lr=Ki.split(`
|
|
`),ks=lr.length-1,ks>0?(qi=Zr+ks,Fr=ur-lr[ks].length):(qi=Zr,Fr=tr),Et=["string",Pn.slice(bt,ur+1),Zr,bt-tr,qi,ur-Fr],tr=Fr,Zr=qi,bt=ur;break;case dt:Pt.lastIndex=bt+1,Pt.test(Pn),Pt.lastIndex===0?ur=Pn.length-1:ur=Pt.lastIndex-2,Et=["at-word",Pn.slice(bt,ur+1),Zr,bt-tr,Zr,ur-tr],bt=ur;break;case se:for(ur=bt,ls=!0;Pn.charCodeAt(ur+1)===se;)ur+=1,ls=!ls;if(_r=Pn.charCodeAt(ur+1),ls&&_r!==pe&&_r!==de&&_r!==le&&_r!==fe&&_r!==P&&_r!==ie&&(ur+=1,sn.test(Pn.charAt(ur)))){for(;sn.test(Pn.charAt(ur+1));)ur+=1;Pn.charCodeAt(ur+1)===de&&(ur+=1)}Et=["word",Pn.slice(bt,ur+1),Zr,bt-tr,Zr,ur-tr],bt=ur;break;default:_r===pe&&Pn.charCodeAt(bt+1)===Ee?(ur=Pn.indexOf("*/",bt+2)+1,ur===0&&(Xn||Fo?ur=Pn.length:Vi("comment")),Ki=Pn.slice(bt,ur+1),lr=Ki.split(`
|
|
`),ks=lr.length-1,ks>0?(qi=Zr+ks,Fr=ur-lr[ks].length):(qi=Zr,Fr=tr),Et=["comment",Ki,Zr,bt-tr,qi,ur-Fr],tr=Fr,Zr=qi,bt=ur):(wr.lastIndex=bt+1,wr.test(Pn),wr.lastIndex===0?ur=Pn.length-1:ur=wr.lastIndex-2,Et=["word",Pn.slice(bt,ur+1),Zr,bt-tr,Zr,ur-tr],wn.push(Et),bt=ur);break}return bt++,Et}}function so($s){ln.push($s)}return{back:so,nextToken:Ko,endOfFile:Ms,position:Hs}}K.exports=E.default}}),Zc=It({"node_modules/postcss/lib/parse.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=se(qu()),G=se(Ba());function se(de){return de&&de.__esModule?de:{default:de}}function pe(de,ie){var fe=new G.default(de,ie),P=new Y.default(fe);try{P.parse()}catch(C){throw C}return P.root}var le=pe;E.default=le,K.exports=E.default}}),xa=It({"node_modules/postcss/lib/list.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y={split:function(se,pe,le){for(var de=[],ie="",fe=!1,P=0,C=!1,H=!1,V=0;V<se.length;V++){var Se=se[V];C?H?H=!1:Se==="\\"?H=!0:Se===C&&(C=!1):Se==='"'||Se==="'"?C=Se:Se==="("?P+=1:Se===")"?P>0&&(P-=1):P===0&&pe.indexOf(Se)!==-1&&(fe=!0),fe?(ie!==""&&de.push(ie.trim()),ie="",fe=!1):ie+=Se}return(le||ie!=="")&&de.push(ie.trim()),de},space:function(se){var pe=[" ",`
|
|
`," "];return Y.split(se,pe)},comma:function(se){return Y.split(se,[","],!0)}},G=Y;E.default=G,K.exports=E.default}}),Qp=It({"node_modules/postcss/lib/rule.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=se(lc()),G=se(xa());function se(P){return P&&P.__esModule?P:{default:P}}function pe(P,C){for(var H=0;H<C.length;H++){var V=C[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(P,V.key,V)}}function le(P,C,H){return C&&pe(P.prototype,C),H&&pe(P,H),P}function de(P,C){P.prototype=Object.create(C.prototype),P.prototype.constructor=P,P.__proto__=C}var ie=function(P){de(C,P);function C(H){var V;return V=P.call(this,H)||this,V.type="rule",V.nodes||(V.nodes=[]),V}return le(C,[{key:"selectors",get:function(){return G.default.comma(this.selector)},set:function(H){var V=this.selector?this.selector.match(/,\s*/):null,Se=V?V[0]:","+this.raw("between","beforeOpen");this.selector=H.join(Se)}}]),C}(Y.default),fe=ie;E.default=fe,K.exports=E.default}}),lc=It({"node_modules/postcss/lib/container.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=pe(lu()),G=pe(Tl()),se=pe(uc());function pe(ye){return ye&&ye.__esModule?ye:{default:ye}}function le(ye,Le){var xe;if(typeof Symbol>"u"||ye[Symbol.iterator]==null){if(Array.isArray(ye)||(xe=de(ye))||Le&&ye&&typeof ye.length=="number"){xe&&(ye=xe);var Ee=0;return function(){return Ee>=ye.length?{done:!0}:{done:!1,value:ye[Ee++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return xe=ye[Symbol.iterator](),xe.next.bind(xe)}function de(ye,Le){if(ye){if(typeof ye=="string")return ie(ye,Le);var xe=Object.prototype.toString.call(ye).slice(8,-1);if(xe==="Object"&&ye.constructor&&(xe=ye.constructor.name),xe==="Map"||xe==="Set")return Array.from(ye);if(xe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xe))return ie(ye,Le)}}function ie(ye,Le){(Le==null||Le>ye.length)&&(Le=ye.length);for(var xe=0,Ee=new Array(Le);xe<Le;xe++)Ee[xe]=ye[xe];return Ee}function fe(ye,Le){for(var xe=0;xe<Le.length;xe++){var Ee=Le[xe];Ee.enumerable=Ee.enumerable||!1,Ee.configurable=!0,"value"in Ee&&(Ee.writable=!0),Object.defineProperty(ye,Ee.key,Ee)}}function P(ye,Le,xe){return Le&&fe(ye.prototype,Le),xe&&fe(ye,xe),ye}function C(ye,Le){ye.prototype=Object.create(Le.prototype),ye.prototype.constructor=ye,ye.__proto__=Le}function H(ye){return ye.map(function(Le){return Le.nodes&&(Le.nodes=H(Le.nodes)),delete Le.source,Le})}var V=function(ye){C(Le,ye);function Le(){return ye.apply(this,arguments)||this}var xe=Le.prototype;return xe.push=function(Ee){return Ee.parent=this,this.nodes.push(Ee),this},xe.each=function(Ee){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var ct=this.lastEach;if(this.indexes[ct]=0,!!this.nodes){for(var dt,Pt;this.indexes[ct]<this.nodes.length&&(dt=this.indexes[ct],Pt=Ee(this.nodes[dt],dt),Pt!==!1);)this.indexes[ct]+=1;return delete this.indexes[ct],Pt}},xe.walk=function(Ee){return this.each(function(ct,dt){var Pt;try{Pt=Ee(ct,dt)}catch(qr){if(qr.postcssNode=ct,qr.stack&&ct.source&&/\n\s{4}at /.test(qr.stack)){var wr=ct.source;qr.stack=qr.stack.replace(/\n\s{4}at /,"$&"+wr.input.from+":"+wr.start.line+":"+wr.start.column+"$&")}throw qr}return Pt!==!1&&ct.walk&&(Pt=ct.walk(Ee)),Pt})},xe.walkDecls=function(Ee,ct){return ct?Ee instanceof RegExp?this.walk(function(dt,Pt){if(dt.type==="decl"&&Ee.test(dt.prop))return ct(dt,Pt)}):this.walk(function(dt,Pt){if(dt.type==="decl"&&dt.prop===Ee)return ct(dt,Pt)}):(ct=Ee,this.walk(function(dt,Pt){if(dt.type==="decl")return ct(dt,Pt)}))},xe.walkRules=function(Ee,ct){return ct?Ee instanceof RegExp?this.walk(function(dt,Pt){if(dt.type==="rule"&&Ee.test(dt.selector))return ct(dt,Pt)}):this.walk(function(dt,Pt){if(dt.type==="rule"&&dt.selector===Ee)return ct(dt,Pt)}):(ct=Ee,this.walk(function(dt,Pt){if(dt.type==="rule")return ct(dt,Pt)}))},xe.walkAtRules=function(Ee,ct){return ct?Ee instanceof RegExp?this.walk(function(dt,Pt){if(dt.type==="atrule"&&Ee.test(dt.name))return ct(dt,Pt)}):this.walk(function(dt,Pt){if(dt.type==="atrule"&&dt.name===Ee)return ct(dt,Pt)}):(ct=Ee,this.walk(function(dt,Pt){if(dt.type==="atrule")return ct(dt,Pt)}))},xe.walkComments=function(Ee){return this.walk(function(ct,dt){if(ct.type==="comment")return Ee(ct,dt)})},xe.append=function(){for(var Ee=arguments.length,ct=new Array(Ee),dt=0;dt<Ee;dt++)ct[dt]=arguments[dt];for(var Pt=0,wr=ct;Pt<wr.length;Pt++)for(var qr=wr[Pt],sn=this.normalize(qr,this.last),Vn=le(sn),An;!(An=Vn()).done;){var Qn=An.value;this.nodes.push(Qn)}return this},xe.prepend=function(){for(var Ee=arguments.length,ct=new Array(Ee),dt=0;dt<Ee;dt++)ct[dt]=arguments[dt];ct=ct.reverse();for(var Pt=le(ct),wr;!(wr=Pt()).done;){for(var qr=wr.value,sn=this.normalize(qr,this.first,"prepend").reverse(),Vn=le(sn),An;!(An=Vn()).done;){var Qn=An.value;this.nodes.unshift(Qn)}for(var Pn in this.indexes)this.indexes[Pn]=this.indexes[Pn]+sn.length}return this},xe.cleanRaws=function(Ee){if(ye.prototype.cleanRaws.call(this,Ee),this.nodes)for(var ct=le(this.nodes),dt;!(dt=ct()).done;){var Pt=dt.value;Pt.cleanRaws(Ee)}},xe.insertBefore=function(Ee,ct){Ee=this.index(Ee);for(var dt=Ee===0?"prepend":!1,Pt=this.normalize(ct,this.nodes[Ee],dt).reverse(),wr=le(Pt),qr;!(qr=wr()).done;){var sn=qr.value;this.nodes.splice(Ee,0,sn)}var Vn;for(var An in this.indexes)Vn=this.indexes[An],Ee<=Vn&&(this.indexes[An]=Vn+Pt.length);return this},xe.insertAfter=function(Ee,ct){Ee=this.index(Ee);for(var dt=this.normalize(ct,this.nodes[Ee]).reverse(),Pt=le(dt),wr;!(wr=Pt()).done;){var qr=wr.value;this.nodes.splice(Ee+1,0,qr)}var sn;for(var Vn in this.indexes)sn=this.indexes[Vn],Ee<sn&&(this.indexes[Vn]=sn+dt.length);return this},xe.removeChild=function(Ee){Ee=this.index(Ee),this.nodes[Ee].parent=void 0,this.nodes.splice(Ee,1);var ct;for(var dt in this.indexes)ct=this.indexes[dt],ct>=Ee&&(this.indexes[dt]=ct-1);return this},xe.removeAll=function(){for(var Ee=le(this.nodes),ct;!(ct=Ee()).done;){var dt=ct.value;dt.parent=void 0}return this.nodes=[],this},xe.replaceValues=function(Ee,ct,dt){return dt||(dt=ct,ct={}),this.walkDecls(function(Pt){ct.props&&ct.props.indexOf(Pt.prop)===-1||ct.fast&&Pt.value.indexOf(ct.fast)===-1||(Pt.value=Pt.value.replace(Ee,dt))}),this},xe.every=function(Ee){return this.nodes.every(Ee)},xe.some=function(Ee){return this.nodes.some(Ee)},xe.index=function(Ee){return typeof Ee=="number"?Ee:this.nodes.indexOf(Ee)},xe.normalize=function(Ee,ct){var dt=this;if(typeof Ee=="string"){var Pt=Zc();Ee=H(Pt(Ee).nodes)}else if(Array.isArray(Ee)){Ee=Ee.slice(0);for(var wr=le(Ee),qr;!(qr=wr()).done;){var sn=qr.value;sn.parent&&sn.parent.removeChild(sn,"ignore")}}else if(Ee.type==="root"){Ee=Ee.nodes.slice(0);for(var Vn=le(Ee),An;!(An=Vn()).done;){var Qn=An.value;Qn.parent&&Qn.parent.removeChild(Qn,"ignore")}}else if(Ee.type)Ee=[Ee];else if(Ee.prop){if(typeof Ee.value>"u")throw new Error("Value field is missed in node creation");typeof Ee.value!="string"&&(Ee.value=String(Ee.value)),Ee=[new Y.default(Ee)]}else if(Ee.selector){var Pn=Qp();Ee=[new Pn(Ee)]}else if(Ee.name){var Xn=ko();Ee=[new Xn(Ee)]}else if(Ee.text)Ee=[new G.default(Ee)];else throw new Error("Unknown node type in node creation");var _r=Ee.map(function(ur){return ur.parent&&ur.parent.removeChild(ur),typeof ur.raws.before>"u"&&ct&&typeof ct.raws.before<"u"&&(ur.raws.before=ct.raws.before.replace(/[^\s]/g,"")),ur.parent=dt,ur});return _r},P(Le,[{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]}}]),Le}(se.default),Se=V;E.default=Se,K.exports=E.default}}),ko=It({"node_modules/postcss/lib/at-rule.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=G(lc());function G(de){return de&&de.__esModule?de:{default:de}}function se(de,ie){de.prototype=Object.create(ie.prototype),de.prototype.constructor=de,de.__proto__=ie}var pe=function(de){se(ie,de);function ie(P){var C;return C=de.call(this,P)||this,C.type="atrule",C}var fe=ie.prototype;return fe.append=function(){var P;this.nodes||(this.nodes=[]);for(var C=arguments.length,H=new Array(C),V=0;V<C;V++)H[V]=arguments[V];return(P=de.prototype.append).call.apply(P,[this].concat(H))},fe.prepend=function(){var P;this.nodes||(this.nodes=[]);for(var C=arguments.length,H=new Array(C),V=0;V<C;V++)H[V]=arguments[V];return(P=de.prototype.prepend).call.apply(P,[this].concat(H))},ie}(Y.default),le=pe;E.default=le,K.exports=E.default}}),Wu=It({"node_modules/postcss/lib/map-generator.js"(E,K){Xt(),K.exports=class{generate(){}}}}),jp=It({"node_modules/postcss/lib/warn-once.js"(E,K){Xt(),E.__esModule=!0,E.default=G;var Y={};function G(se){Y[se]||(Y[se]=!0,typeof console<"u"&&console.warn&&console.warn(se))}K.exports=E.default}}),Fl=It({"node_modules/postcss/lib/warning.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=function(){function se(le,de){if(de===void 0&&(de={}),this.type="warning",this.text=le,de.node&&de.node.source){var ie=de.node.positionBy(de);this.line=ie.line,this.column=ie.column}for(var fe in de)this[fe]=de[fe]}var pe=se.prototype;return pe.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},se}(),G=Y;E.default=G,K.exports=E.default}}),zc=It({"node_modules/postcss/lib/result.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=G(Fl());function G(ie){return ie&&ie.__esModule?ie:{default:ie}}function se(ie,fe){for(var P=0;P<fe.length;P++){var C=fe[P];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(ie,C.key,C)}}function pe(ie,fe,P){return fe&&se(ie.prototype,fe),P&&se(ie,P),ie}var le=function(){function ie(P,C,H){this.processor=P,this.messages=[],this.root=C,this.opts=H,this.css=void 0,this.map=void 0}var fe=ie.prototype;return fe.toString=function(){return this.css},fe.warn=function(P,C){C===void 0&&(C={}),C.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(C.plugin=this.lastPlugin.postcssPlugin);var H=new Y.default(P,C);return this.messages.push(H),H},fe.warnings=function(){return this.messages.filter(function(P){return P.type==="warning"})},pe(ie,[{key:"content",get:function(){return this.css}}]),ie}(),de=le;E.default=de,K.exports=E.default}}),Bl=It({"node_modules/postcss/lib/lazy-result.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=le(Wu()),G=le(Uu());le(jp());var se=le(zc()),pe=le(Zc());function le(ye){return ye&&ye.__esModule?ye:{default:ye}}function de(ye,Le){var xe;if(typeof Symbol>"u"||ye[Symbol.iterator]==null){if(Array.isArray(ye)||(xe=ie(ye))||Le&&ye&&typeof ye.length=="number"){xe&&(ye=xe);var Ee=0;return function(){return Ee>=ye.length?{done:!0}:{done:!1,value:ye[Ee++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return xe=ye[Symbol.iterator](),xe.next.bind(xe)}function ie(ye,Le){if(ye){if(typeof ye=="string")return fe(ye,Le);var xe=Object.prototype.toString.call(ye).slice(8,-1);if(xe==="Object"&&ye.constructor&&(xe=ye.constructor.name),xe==="Map"||xe==="Set")return Array.from(ye);if(xe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xe))return fe(ye,Le)}}function fe(ye,Le){(Le==null||Le>ye.length)&&(Le=ye.length);for(var xe=0,Ee=new Array(Le);xe<Le;xe++)Ee[xe]=ye[xe];return Ee}function P(ye,Le){for(var xe=0;xe<Le.length;xe++){var Ee=Le[xe];Ee.enumerable=Ee.enumerable||!1,Ee.configurable=!0,"value"in Ee&&(Ee.writable=!0),Object.defineProperty(ye,Ee.key,Ee)}}function C(ye,Le,xe){return Le&&P(ye.prototype,Le),xe&&P(ye,xe),ye}function H(ye){return typeof ye=="object"&&typeof ye.then=="function"}var V=function(){function ye(xe,Ee,ct){this.stringified=!1,this.processed=!1;var dt;if(typeof Ee=="object"&&Ee!==null&&Ee.type==="root")dt=Ee;else if(Ee instanceof ye||Ee instanceof se.default)dt=Ee.root,Ee.map&&(typeof ct.map>"u"&&(ct.map={}),ct.map.inline||(ct.map.inline=!1),ct.map.prev=Ee.map);else{var Pt=pe.default;ct.syntax&&(Pt=ct.syntax.parse),ct.parser&&(Pt=ct.parser),Pt.parse&&(Pt=Pt.parse);try{dt=Pt(Ee,ct)}catch(wr){this.error=wr}}this.result=new se.default(xe,dt,ct)}var Le=ye.prototype;return Le.warnings=function(){return this.sync().warnings()},Le.toString=function(){return this.css},Le.then=function(xe,Ee){return this.async().then(xe,Ee)},Le.catch=function(xe){return this.async().catch(xe)},Le.finally=function(xe){return this.async().then(xe,xe)},Le.handleError=function(xe,Ee){try{if(this.error=xe,xe.name==="CssSyntaxError"&&!xe.plugin)xe.plugin=Ee.postcssPlugin,xe.setMessage();else if(Ee.postcssVersion&&!1)var ct,dt,Pt,wr,qr}catch(sn){console&&console.error&&console.error(sn)}},Le.asyncTick=function(xe,Ee){var ct=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,xe();try{var dt=this.processor.plugins[this.plugin],Pt=this.run(dt);this.plugin+=1,H(Pt)?Pt.then(function(){ct.asyncTick(xe,Ee)}).catch(function(wr){ct.handleError(wr,dt),ct.processed=!0,Ee(wr)}):this.asyncTick(xe,Ee)}catch(wr){this.processed=!0,Ee(wr)}},Le.async=function(){var xe=this;return this.processed?new Promise(function(Ee,ct){xe.error?ct(xe.error):Ee(xe.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ee,ct){if(xe.error)return ct(xe.error);xe.plugin=0,xe.asyncTick(Ee,ct)}).then(function(){return xe.processed=!0,xe.stringify()}),this.processing)},Le.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 xe=de(this.result.processor.plugins),Ee;!(Ee=xe()).done;){var ct=Ee.value,dt=this.run(ct);if(H(dt))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Le.run=function(xe){this.result.lastPlugin=xe;try{return xe(this.result.root,this.result)}catch(Ee){throw this.handleError(Ee,xe),Ee}},Le.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var xe=this.result.opts,Ee=G.default;xe.syntax&&(Ee=xe.syntax.stringify),xe.stringifier&&(Ee=xe.stringifier),Ee.stringify&&(Ee=Ee.stringify);var ct=new Y.default(Ee,this.result.root,this.result.opts),dt=ct.generate();return this.result.css=dt[0],this.result.map=dt[1],this.result},C(ye,[{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}}]),ye}(),Se=V;E.default=Se,K.exports=E.default}}),cu=It({"node_modules/postcss/lib/processor.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=G(Bl());function G(fe){return fe&&fe.__esModule?fe:{default:fe}}function se(fe,P){var C;if(typeof Symbol>"u"||fe[Symbol.iterator]==null){if(Array.isArray(fe)||(C=pe(fe))||P&&fe&&typeof fe.length=="number"){C&&(fe=C);var H=0;return function(){return H>=fe.length?{done:!0}:{done:!1,value:fe[H++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return C=fe[Symbol.iterator](),C.next.bind(C)}function pe(fe,P){if(fe){if(typeof fe=="string")return le(fe,P);var C=Object.prototype.toString.call(fe).slice(8,-1);if(C==="Object"&&fe.constructor&&(C=fe.constructor.name),C==="Map"||C==="Set")return Array.from(fe);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return le(fe,P)}}function le(fe,P){(P==null||P>fe.length)&&(P=fe.length);for(var C=0,H=new Array(P);C<P;C++)H[C]=fe[C];return H}var de=function(){function fe(C){C===void 0&&(C=[]),this.version="7.0.39",this.plugins=this.normalize(C)}var P=fe.prototype;return P.use=function(C){return this.plugins=this.plugins.concat(this.normalize([C])),this},P.process=function(C){function H(V){return C.apply(this,arguments)}return H.toString=function(){return C.toString()},H}(function(C,H){return H===void 0&&(H={}),this.plugins.length===0&&(H.parser,H.stringifier),new Y.default(this,C,H)}),P.normalize=function(C){for(var H=[],V=se(C),Se;!(Se=V()).done;){var ye=Se.value;if(ye.postcss===!0){var Le=ye();throw new Error("PostCSS plugin "+Le.postcssPlugin+` requires PostCSS 8.
|
|
Migration guide for end-users:
|
|
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(ye.postcss&&(ye=ye.postcss),typeof ye=="object"&&Array.isArray(ye.plugins))H=H.concat(ye.plugins);else if(typeof ye=="function")H.push(ye);else if(!(typeof ye=="object"&&(ye.parse||ye.stringify)))throw typeof ye=="object"&&ye.postcssPlugin?new Error("PostCSS plugin "+ye.postcssPlugin+` requires PostCSS 8.
|
|
Migration guide for end-users:
|
|
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(ye+" is not a PostCSS plugin")}return H},fe}(),ie=de;E.default=ie,K.exports=E.default}}),cc=It({"node_modules/postcss/lib/root.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=G(lc());function G(P){return P&&P.__esModule?P:{default:P}}function se(P,C){var H;if(typeof Symbol>"u"||P[Symbol.iterator]==null){if(Array.isArray(P)||(H=pe(P))||C&&P&&typeof P.length=="number"){H&&(P=H);var V=0;return function(){return V>=P.length?{done:!0}:{done:!1,value:P[V++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return H=P[Symbol.iterator](),H.next.bind(H)}function pe(P,C){if(P){if(typeof P=="string")return le(P,C);var H=Object.prototype.toString.call(P).slice(8,-1);if(H==="Object"&&P.constructor&&(H=P.constructor.name),H==="Map"||H==="Set")return Array.from(P);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return le(P,C)}}function le(P,C){(C==null||C>P.length)&&(C=P.length);for(var H=0,V=new Array(C);H<C;H++)V[H]=P[H];return V}function de(P,C){P.prototype=Object.create(C.prototype),P.prototype.constructor=P,P.__proto__=C}var ie=function(P){de(C,P);function C(V){var Se;return Se=P.call(this,V)||this,Se.type="root",Se.nodes||(Se.nodes=[]),Se}var H=C.prototype;return H.removeChild=function(V,Se){var ye=this.index(V);return!Se&&ye===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[ye].raws.before),P.prototype.removeChild.call(this,V)},H.normalize=function(V,Se,ye){var Le=P.prototype.normalize.call(this,V);if(Se){if(ye==="prepend")this.nodes.length>1?Se.raws.before=this.nodes[1].raws.before:delete Se.raws.before;else if(this.first!==Se)for(var xe=se(Le),Ee;!(Ee=xe()).done;){var ct=Ee.value;ct.raws.before=Se.raws.before}}return Le},H.toResult=function(V){V===void 0&&(V={});var Se=Bl(),ye=cu(),Le=new Se(new ye,this,V);return Le.stringify()},C}(Y.default),fe=ie;E.default=fe,K.exports=E.default}}),qu=It({"node_modules/postcss/lib/parser.js"(E,K){Xt(),E.__esModule=!0,E.default=void 0;var Y=ie(lu()),G=ie(kl()),se=ie(Tl()),pe=ie(ko()),le=ie(cc()),de=ie(Qp());function ie(P){return P&&P.__esModule?P:{default:P}}var fe=function(){function P(H){this.input=H,this.root=new le.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:H,start:{line:1,column:1}}}var C=P.prototype;return C.createTokenizer=function(){this.tokenizer=(0,G.default)(this.input)},C.parse=function(){for(var H;!this.tokenizer.endOfFile();)switch(H=this.tokenizer.nextToken(),H[0]){case"space":this.spaces+=H[1];break;case";":this.freeSemicolon(H);break;case"}":this.end(H);break;case"comment":this.comment(H);break;case"at-word":this.atrule(H);break;case"{":this.emptyRule(H);break;default:this.other(H);break}this.endFile()},C.comment=function(H){var V=new se.default;this.init(V,H[2],H[3]),V.source.end={line:H[4],column:H[5]};var Se=H[1].slice(2,-2);if(/^\s*$/.test(Se))V.text="",V.raws.left=Se,V.raws.right="";else{var ye=Se.match(/^(\s*)([^]*[^\s])(\s*)$/);V.text=ye[2],V.raws.left=ye[1],V.raws.right=ye[3]}},C.emptyRule=function(H){var V=new de.default;this.init(V,H[2],H[3]),V.selector="",V.raws.between="",this.current=V},C.other=function(H){for(var V=!1,Se=null,ye=!1,Le=null,xe=[],Ee=[],ct=H;ct;){if(Se=ct[0],Ee.push(ct),Se==="("||Se==="[")Le||(Le=ct),xe.push(Se==="("?")":"]");else if(xe.length===0)if(Se===";")if(ye){this.decl(Ee);return}else break;else if(Se==="{"){this.rule(Ee);return}else if(Se==="}"){this.tokenizer.back(Ee.pop()),V=!0;break}else Se===":"&&(ye=!0);else Se===xe[xe.length-1]&&(xe.pop(),xe.length===0&&(Le=null));ct=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(V=!0),xe.length>0&&this.unclosedBracket(Le),V&&ye){for(;Ee.length&&(ct=Ee[Ee.length-1][0],!(ct!=="space"&&ct!=="comment"));)this.tokenizer.back(Ee.pop());this.decl(Ee)}else this.unknownWord(Ee)},C.rule=function(H){H.pop();var V=new de.default;this.init(V,H[0][2],H[0][3]),V.raws.between=this.spacesAndCommentsFromEnd(H),this.raw(V,"selector",H),this.current=V},C.decl=function(H){var V=new Y.default;this.init(V);var Se=H[H.length-1];for(Se[0]===";"&&(this.semicolon=!0,H.pop()),Se[4]?V.source.end={line:Se[4],column:Se[5]}:V.source.end={line:Se[2],column:Se[3]};H[0][0]!=="word";)H.length===1&&this.unknownWord(H),V.raws.before+=H.shift()[1];for(V.source.start={line:H[0][2],column:H[0][3]},V.prop="";H.length;){var ye=H[0][0];if(ye===":"||ye==="space"||ye==="comment")break;V.prop+=H.shift()[1]}V.raws.between="";for(var Le;H.length;)if(Le=H.shift(),Le[0]===":"){V.raws.between+=Le[1];break}else Le[0]==="word"&&/\w/.test(Le[1])&&this.unknownWord([Le]),V.raws.between+=Le[1];(V.prop[0]==="_"||V.prop[0]==="*")&&(V.raws.before+=V.prop[0],V.prop=V.prop.slice(1)),V.raws.between+=this.spacesAndCommentsFromStart(H),this.precheckMissedSemicolon(H);for(var xe=H.length-1;xe>0;xe--){if(Le=H[xe],Le[1].toLowerCase()==="!important"){V.important=!0;var Ee=this.stringFrom(H,xe);Ee=this.spacesFromEnd(H)+Ee,Ee!==" !important"&&(V.raws.important=Ee);break}else if(Le[1].toLowerCase()==="important"){for(var ct=H.slice(0),dt="",Pt=xe;Pt>0;Pt--){var wr=ct[Pt][0];if(dt.trim().indexOf("!")===0&&wr!=="space")break;dt=ct.pop()[1]+dt}dt.trim().indexOf("!")===0&&(V.important=!0,V.raws.important=dt,H=ct)}if(Le[0]!=="space"&&Le[0]!=="comment")break}this.raw(V,"value",H),V.value.indexOf(":")!==-1&&this.checkMissedSemicolon(H)},C.atrule=function(H){var V=new pe.default;V.name=H[1].slice(1),V.name===""&&this.unnamedAtrule(V,H),this.init(V,H[2],H[3]);for(var Se,ye,Le=!1,xe=!1,Ee=[];!this.tokenizer.endOfFile();){if(H=this.tokenizer.nextToken(),H[0]===";"){V.source.end={line:H[2],column:H[3]},this.semicolon=!0;break}else if(H[0]==="{"){xe=!0;break}else if(H[0]==="}"){if(Ee.length>0){for(ye=Ee.length-1,Se=Ee[ye];Se&&Se[0]==="space";)Se=Ee[--ye];Se&&(V.source.end={line:Se[4],column:Se[5]})}this.end(H);break}else Ee.push(H);if(this.tokenizer.endOfFile()){Le=!0;break}}V.raws.between=this.spacesAndCommentsFromEnd(Ee),Ee.length?(V.raws.afterName=this.spacesAndCommentsFromStart(Ee),this.raw(V,"params",Ee),Le&&(H=Ee[Ee.length-1],V.source.end={line:H[4],column:H[5]},this.spaces=V.raws.between,V.raws.between="")):(V.raws.afterName="",V.params=""),xe&&(V.nodes=[],this.current=V)},C.end=function(H){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:H[2],column:H[3]},this.current=this.current.parent):this.unexpectedClose(H)},C.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},C.freeSemicolon=function(H){if(this.spaces+=H[1],this.current.nodes){var V=this.current.nodes[this.current.nodes.length-1];V&&V.type==="rule"&&!V.raws.ownSemicolon&&(V.raws.ownSemicolon=this.spaces,this.spaces="")}},C.init=function(H,V,Se){this.current.push(H),H.source={start:{line:V,column:Se},input:this.input},H.raws.before=this.spaces,this.spaces="",H.type!=="comment"&&(this.semicolon=!1)},C.raw=function(H,V,Se){for(var ye,Le,xe=Se.length,Ee="",ct=!0,dt,Pt,wr=/^([.|#])?([\w])+/i,qr=0;qr<xe;qr+=1){if(ye=Se[qr],Le=ye[0],Le==="comment"&&H.type==="rule"){Pt=Se[qr-1],dt=Se[qr+1],Pt[0]!=="space"&&dt[0]!=="space"&&wr.test(Pt[1])&&wr.test(dt[1])?Ee+=ye[1]:ct=!1;continue}Le==="comment"||Le==="space"&&qr===xe-1?ct=!1:Ee+=ye[1]}if(!ct){var sn=Se.reduce(function(Vn,An){return Vn+An[1]},"");H.raws[V]={value:Ee,raw:sn}}H[V]=Ee},C.spacesAndCommentsFromEnd=function(H){for(var V,Se="";H.length&&(V=H[H.length-1][0],!(V!=="space"&&V!=="comment"));)Se=H.pop()[1]+Se;return Se},C.spacesAndCommentsFromStart=function(H){for(var V,Se="";H.length&&(V=H[0][0],!(V!=="space"&&V!=="comment"));)Se+=H.shift()[1];return Se},C.spacesFromEnd=function(H){for(var V,Se="";H.length&&(V=H[H.length-1][0],V==="space");)Se=H.pop()[1]+Se;return Se},C.stringFrom=function(H,V){for(var Se="",ye=V;ye<H.length;ye++)Se+=H[ye][1];return H.splice(V,H.length-V),Se},C.colon=function(H){for(var V=0,Se,ye,Le,xe=0;xe<H.length;xe++){if(Se=H[xe],ye=Se[0],ye==="("&&(V+=1),ye===")"&&(V-=1),V===0&&ye===":")if(!Le)this.doubleColon(Se);else{if(Le[0]==="word"&&Le[1]==="progid")continue;return xe}Le=Se}return!1},C.unclosedBracket=function(H){throw this.input.error("Unclosed bracket",H[2],H[3])},C.unknownWord=function(H){throw this.input.error("Unknown word",H[0][2],H[0][3])},C.unexpectedClose=function(H){throw this.input.error("Unexpected }",H[2],H[3])},C.unclosedBlock=function(){var H=this.current.source.start;throw this.input.error("Unclosed block",H.line,H.column)},C.doubleColon=function(H){throw this.input.error("Double colon",H[2],H[3])},C.unnamedAtrule=function(H,V){throw this.input.error("At-rule without name",V[2],V[3])},C.precheckMissedSemicolon=function(){},C.checkMissedSemicolon=function(H){var V=this.colon(H);if(V!==!1){for(var Se=0,ye,Le=V-1;Le>=0&&(ye=H[Le],!(ye[0]!=="space"&&(Se+=1,Se===2)));Le--);throw this.input.error("Missed semicolon",ye[2],ye[3])}},P}();E.default=fe,K.exports=E.default}}),pc=It({"node_modules/postcss-less/lib/nodes/inline-comment.js"(E,K){Xt();var Y=kl(),G=Ba();K.exports={isInlineComment(se){if(se[0]==="word"&&se[1].slice(0,2)==="//"){let pe=se,le=[],de;for(;se;){if(/\r?\n/.test(se[1])){if(/['"].*\r?\n/.test(se[1])){le.push(se[1].substring(0,se[1].indexOf(`
|
|
`)));let fe=se[1].substring(se[1].indexOf(`
|
|
`));fe+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new G(fe),this.tokenizer=Y(this.input)}else this.tokenizer.back(se);break}le.push(se[1]),de=se,se=this.tokenizer.nextToken({ignoreUnclosed:!0})}let ie=["comment",le.join(""),pe[2],pe[3],de[2],de[3]];return this.inlineComment(ie),!0}else if(se[1]==="/"){let pe=this.tokenizer.nextToken({ignoreUnclosed:!0});if(pe[0]==="comment"&&/^\/\*/.test(pe[1]))return pe[0]="word",pe[1]=pe[1].slice(1),se[1]="//",this.tokenizer.back(pe),K.exports.isInlineComment.bind(this)(se)}return!1}}}}),_l=It({"node_modules/postcss-less/lib/nodes/interpolation.js"(E,K){Xt(),K.exports={interpolation(Y){let G=Y,se=[Y],pe=["word","{","}"];if(Y=this.tokenizer.nextToken(),G[1].length>1||Y[0]!=="{")return this.tokenizer.back(Y),!1;for(;Y&&pe.includes(Y[0]);)se.push(Y),Y=this.tokenizer.nextToken();let le=se.map(C=>C[1]);[G]=se;let de=se.pop(),ie=[G[2],G[3]],fe=[de[4]||de[2],de[5]||de[3]],P=["word",le.join("")].concat(ie,fe);return this.tokenizer.back(Y),this.tokenizer.back(P),!0}}}}),Zu=It({"node_modules/postcss-less/lib/nodes/mixin.js"(E,K){Xt();var Y=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,G=/\.[0-9]/,se=pe=>{let[,le]=pe,[de]=le;return(de==="."||de==="#")&&Y.test(le)===!1&&G.test(le)===!1};K.exports={isMixinToken:se}}}),$l=It({"node_modules/postcss-less/lib/nodes/import.js"(E,K){Xt();var Y=kl(),G=/^url\((.+)\)/;K.exports=se=>{let{name:pe,params:le=""}=se;if(pe==="import"&&le.length){se.import=!0;let de=Y({css:le});for(se.filename=le.replace(G,"$1");!de.endOfFile();){let[ie,fe]=de.nextToken();if(ie==="word"&&fe==="url")return;if(ie==="brackets"){se.options=fe,se.filename=le.replace(fe,"").trim();break}}}}}}),pu=It({"node_modules/postcss-less/lib/nodes/variable.js"(E,K){Xt();var Y=/:$/,G=/^:(\s+)?/;K.exports=se=>{let{name:pe,params:le=""}=se;if(se.name.slice(-1)===":"){if(Y.test(pe)){let[de]=pe.match(Y);se.name=pe.replace(de,""),se.raws.afterName=de+(se.raws.afterName||""),se.variable=!0,se.value=se.params}if(G.test(le)){let[de]=le.match(G);se.value=le.replace(de,""),se.raws.afterName=(se.raws.afterName||"")+de,se.variable=!0}}}}}),Mp=It({"node_modules/postcss-less/lib/LessParser.js"(E,K){Xt();var Y=Tl(),G=qu(),{isInlineComment:se}=pc(),{interpolation:pe}=_l(),{isMixinToken:le}=Zu(),de=$l(),ie=pu(),fe=/(!\s*important)$/i;K.exports=class extends G{constructor(){super(...arguments),this.lastNode=null}atrule(P){pe.bind(this)(P)||(super.atrule(P),de(this.lastNode),ie(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(P){P[0][1]=` ${P[0][1]}`;let C=P.findIndex(ye=>ye[0]==="("),H=P.reverse().find(ye=>ye[0]===")"),V=P.reverse().indexOf(H),Se=P.splice(C,V).map(ye=>ye[1]).join("");for(let ye of P.reverse())this.tokenizer.back(ye);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Se}init(P,C,H){super.init(P,C,H),this.lastNode=P}inlineComment(P){let C=new Y,H=P[1].slice(2);if(this.init(C,P[2],P[3]),C.source.end={line:P[4],column:P[5]},C.inline=!0,C.raws.begin="//",/^\s*$/.test(H))C.text="",C.raws.left=H,C.raws.right="";else{let V=H.match(/^(\s*)([^]*[^\s])(\s*)$/);[,C.raws.left,C.text,C.raws.right]=V}}mixin(P){let[C]=P,H=C[1].slice(0,1),V=P.findIndex(Ee=>Ee[0]==="brackets"),Se=P.findIndex(Ee=>Ee[0]==="("),ye="";if((V<0||V>3)&&Se>0){let Ee=P.reduce((Qn,Pn,Xn)=>Pn[0]===")"?Xn:Qn),ct=P.slice(Se,Ee+Se).map(Qn=>Qn[1]).join(""),[dt]=P.slice(Se),Pt=[dt[2],dt[3]],[wr]=P.slice(Ee,Ee+1),qr=[wr[2],wr[3]],sn=["brackets",ct].concat(Pt,qr),Vn=P.slice(0,Se),An=P.slice(Ee+1);P=Vn,P.push(sn),P=P.concat(An)}let Le=[];for(let Ee of P)if((Ee[1]==="!"||Le.length)&&Le.push(Ee),Ee[1]==="important")break;if(Le.length){let[Ee]=Le,ct=P.indexOf(Ee),dt=Le[Le.length-1],Pt=[Ee[2],Ee[3]],wr=[dt[4],dt[5]],qr=["word",Le.map(sn=>sn[1]).join("")].concat(Pt,wr);P.splice(ct,Le.length,qr)}let xe=P.findIndex(Ee=>fe.test(Ee[1]));xe>0&&([,ye]=P[xe],P.splice(xe,1));for(let Ee of P.reverse())this.tokenizer.back(Ee);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=H,ye&&(this.lastNode.important=!0,this.lastNode.raws.important=ye)}other(P){se.bind(this)(P)||super.other(P)}rule(P){let C=P[P.length-1],H=P[P.length-2];if(H[0]==="at-word"&&C[0]==="{"&&(this.tokenizer.back(C),pe.bind(this)(H))){let V=this.tokenizer.nextToken();P=P.slice(0,P.length-2).concat([V]);for(let Se of P.reverse())this.tokenizer.back(Se);return}super.rule(P),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(P){let[C]=P;if(P[0][1]==="each"&&P[1][0]==="("){this.each(P);return}if(le(C)){this.mixin(P);return}super.unknownWord(P)}}}}),Lp=It({"node_modules/postcss-less/lib/LessStringifier.js"(E,K){Xt();var Y=ac();K.exports=class extends Y{atrule(G,se){if(!G.mixin&&!G.variable&&!G.function){super.atrule(G,se);return}let pe=`${G.function?"":G.raws.identifier||"@"}${G.name}`,le=G.params?this.rawValue(G,"params"):"",de=G.raws.important||"";if(G.variable&&(le=G.value),typeof G.raws.afterName<"u"?pe+=G.raws.afterName:le&&(pe+=" "),G.nodes)this.block(G,pe+le+de);else{let ie=(G.raws.between||"")+de+(se?";":"");this.builder(pe+le+ie,G)}}comment(G){if(G.inline){let se=this.raw(G,"left","commentLeft"),pe=this.raw(G,"right","commentRight");this.builder(`//${se}${G.text}${pe}`,G)}else super.comment(G)}}}}),Yc=It({"node_modules/postcss-less/lib/index.js"(E,K){Xt();var Y=Ba(),G=Mp(),se=Lp();K.exports={parse(pe,le){let de=new Y(pe,le),ie=new G(de);return ie.parse(),ie.root},stringify(pe,le){new se(le).stringify(pe)},nodeToString(pe){let le="";return K.exports.stringify(pe,de=>{le+=de}),le}}}}),Rp=It({"node_modules/postcss-scss/lib/scss-stringifier.js"(E,K){Xt();function Y(pe,le){pe.prototype=Object.create(le.prototype),pe.prototype.constructor=pe,pe.__proto__=le}var G=ac(),se=function(pe){Y(le,pe);function le(){return pe.apply(this,arguments)||this}var de=le.prototype;return de.comment=function(ie){var fe=this.raw(ie,"left","commentLeft"),P=this.raw(ie,"right","commentRight");if(ie.raws.inline){var C=ie.raws.text||ie.text;this.builder("//"+fe+C+P,ie)}else this.builder("/*"+fe+ie.text+P+"*/",ie)},de.decl=function(ie,fe){if(!ie.isNested)pe.prototype.decl.call(this,ie,fe);else{var P=this.raw(ie,"between","colon"),C=ie.prop+P+this.rawValue(ie,"value");ie.important&&(C+=ie.raws.important||" !important"),this.builder(C+"{",ie,"start");var H;ie.nodes&&ie.nodes.length?(this.body(ie),H=this.raw(ie,"after")):H=this.raw(ie,"after","emptyBody"),H&&this.builder(H),this.builder("}",ie,"end")}},de.rawValue=function(ie,fe){var P=ie[fe],C=ie.raws[fe];return C&&C.value===P?C.scss?C.scss:C.raw:P},le}(G);K.exports=se}}),Mh=It({"node_modules/postcss-scss/lib/scss-stringify.js"(E,K){Xt();var Y=Rp();K.exports=function(G,se){var pe=new Y(se);pe.stringify(G)}}}),zu=It({"node_modules/postcss-scss/lib/nested-declaration.js"(E,K){Xt();function Y(pe,le){pe.prototype=Object.create(le.prototype),pe.prototype.constructor=pe,pe.__proto__=le}var G=lc(),se=function(pe){Y(le,pe);function le(de){var ie;return ie=pe.call(this,de)||this,ie.type="decl",ie.isNested=!0,ie.nodes||(ie.nodes=[]),ie}return le}(G);K.exports=se}}),Yu=It({"node_modules/postcss-scss/lib/scss-tokenize.js"(E,K){Xt();var Y="'".charCodeAt(0),G='"'.charCodeAt(0),se="\\".charCodeAt(0),pe="/".charCodeAt(0),le=`
|
|
`.charCodeAt(0),de=" ".charCodeAt(0),ie="\f".charCodeAt(0),fe=" ".charCodeAt(0),P="\r".charCodeAt(0),C="[".charCodeAt(0),H="]".charCodeAt(0),V="(".charCodeAt(0),Se=")".charCodeAt(0),ye="{".charCodeAt(0),Le="}".charCodeAt(0),xe=";".charCodeAt(0),Ee="*".charCodeAt(0),ct=":".charCodeAt(0),dt="@".charCodeAt(0),Pt=",".charCodeAt(0),wr="#".charCodeAt(0),qr=/[ \n\t\r\f{}()'"\\;/[\]#]/g,sn=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Vn=/.[\\/("'\n]/,An=/[a-f0-9]/i,Qn=/[\r\f\n]/g;K.exports=function(Pn,Xn){Xn===void 0&&(Xn={});var _r=Pn.css.valueOf(),ur=Xn.ignoreErrors,Qr,lr,ks,Ki,ls,qi,Fr,yn,ai,zn,ui,Et,Gt,tr,Zr=_r.length,bt=-1,wn=1,ln=0,Hs=[],Vi=[];function Ms(ws){throw Pn.error("Unclosed "+ws,wn,ln-bt)}function Ko(){return Vi.length===0&&ln>=Zr}function so(){for(var ws=1,Ls=!1,ro=!1;ws>0;)lr+=1,_r.length<=lr&&Ms("interpolation"),Qr=_r.charCodeAt(lr),Et=_r.charCodeAt(lr+1),Ls?!ro&&Qr===Ls?(Ls=!1,ro=!1):Qr===se?ro=!zn:ro&&(ro=!1):Qr===Y||Qr===G?Ls=Qr:Qr===Le?ws-=1:Qr===wr&&Et===ye&&(ws+=1)}function $s(){if(Vi.length)return Vi.pop();if(!(ln>=Zr)){switch(Qr=_r.charCodeAt(ln),(Qr===le||Qr===ie||Qr===P&&_r.charCodeAt(ln+1)!==le)&&(bt=ln,wn+=1),Qr){case le:case de:case fe:case P:case ie:lr=ln;do lr+=1,Qr=_r.charCodeAt(lr),Qr===le&&(bt=lr,wn+=1);while(Qr===de||Qr===le||Qr===fe||Qr===P||Qr===ie);Gt=["space",_r.slice(ln,lr)],ln=lr-1;break;case C:Gt=["[","[",wn,ln-bt];break;case H:Gt=["]","]",wn,ln-bt];break;case ye:Gt=["{","{",wn,ln-bt];break;case Le:Gt=["}","}",wn,ln-bt];break;case Pt:Gt=["word",",",wn,ln-bt,wn,ln-bt+1];break;case ct:Gt=[":",":",wn,ln-bt];break;case xe:Gt=[";",";",wn,ln-bt];break;case V:if(ui=Hs.length?Hs.pop()[1]:"",Et=_r.charCodeAt(ln+1),ui==="url"&&Et!==Y&&Et!==G){for(tr=1,zn=!1,lr=ln+1;lr<=_r.length-1;){if(Et=_r.charCodeAt(lr),Et===se)zn=!zn;else if(Et===V)tr+=1;else if(Et===Se&&(tr-=1,tr===0))break;lr+=1}qi=_r.slice(ln,lr+1),Ki=qi.split(`
|
|
`),ls=Ki.length-1,ls>0?(yn=wn+ls,ai=lr-Ki[ls].length):(yn=wn,ai=bt),Gt=["brackets",qi,wn,ln-bt,yn,lr-ai],bt=ai,wn=yn,ln=lr}else lr=_r.indexOf(")",ln+1),qi=_r.slice(ln,lr+1),lr===-1||Vn.test(qi)?Gt=["(","(",wn,ln-bt]:(Gt=["brackets",qi,wn,ln-bt,wn,lr-bt],ln=lr);break;case Se:Gt=[")",")",wn,ln-bt];break;case Y:case G:for(ks=Qr,lr=ln,zn=!1;lr<Zr&&(lr++,lr===Zr&&Ms("string"),Qr=_r.charCodeAt(lr),Et=_r.charCodeAt(lr+1),!(!zn&&Qr===ks));)Qr===se?zn=!zn:zn?zn=!1:Qr===wr&&Et===ye&&so();qi=_r.slice(ln,lr+1),Ki=qi.split(`
|
|
`),ls=Ki.length-1,ls>0?(yn=wn+ls,ai=lr-Ki[ls].length):(yn=wn,ai=bt),Gt=["string",_r.slice(ln,lr+1),wn,ln-bt,yn,lr-ai],bt=ai,wn=yn,ln=lr;break;case dt:qr.lastIndex=ln+1,qr.test(_r),qr.lastIndex===0?lr=_r.length-1:lr=qr.lastIndex-2,Gt=["at-word",_r.slice(ln,lr+1),wn,ln-bt,wn,lr-bt],ln=lr;break;case se:for(lr=ln,Fr=!0;_r.charCodeAt(lr+1)===se;)lr+=1,Fr=!Fr;if(Qr=_r.charCodeAt(lr+1),Fr&&Qr!==pe&&Qr!==de&&Qr!==le&&Qr!==fe&&Qr!==P&&Qr!==ie&&(lr+=1,An.test(_r.charAt(lr)))){for(;An.test(_r.charAt(lr+1));)lr+=1;_r.charCodeAt(lr+1)===de&&(lr+=1)}Gt=["word",_r.slice(ln,lr+1),wn,ln-bt,wn,lr-bt],ln=lr;break;default:Et=_r.charCodeAt(ln+1),Qr===wr&&Et===ye?(lr=ln,so(),qi=_r.slice(ln,lr+1),Ki=qi.split(`
|
|
`),ls=Ki.length-1,ls>0?(yn=wn+ls,ai=lr-Ki[ls].length):(yn=wn,ai=bt),Gt=["word",qi,wn,ln-bt,yn,lr-ai],bt=ai,wn=yn,ln=lr):Qr===pe&&Et===Ee?(lr=_r.indexOf("*/",ln+2)+1,lr===0&&(ur?lr=_r.length:Ms("comment")),qi=_r.slice(ln,lr+1),Ki=qi.split(`
|
|
`),ls=Ki.length-1,ls>0?(yn=wn+ls,ai=lr-Ki[ls].length):(yn=wn,ai=bt),Gt=["comment",qi,wn,ln-bt,yn,lr-ai],bt=ai,wn=yn,ln=lr):Qr===pe&&Et===pe?(Qn.lastIndex=ln+1,Qn.test(_r),Qn.lastIndex===0?lr=_r.length-1:lr=Qn.lastIndex-2,qi=_r.slice(ln,lr+1),Gt=["comment",qi,wn,ln-bt,wn,lr-bt,"inline"],ln=lr):(sn.lastIndex=ln+1,sn.test(_r),sn.lastIndex===0?lr=_r.length-1:lr=sn.lastIndex-2,Gt=["word",_r.slice(ln,lr+1),wn,ln-bt,wn,lr-bt],Hs.push(Gt),ln=lr);break}return ln++,Gt}}function Fo(ws){Vi.push(ws)}return{back:Fo,nextToken:$s,endOfFile:Ko}}}}),Vp=It({"node_modules/postcss-scss/lib/scss-parser.js"(E,K){Xt();function Y(ie,fe){ie.prototype=Object.create(fe.prototype),ie.prototype.constructor=ie,ie.__proto__=fe}var G=Tl(),se=qu(),pe=zu(),le=Yu(),de=function(ie){Y(fe,ie);function fe(){return ie.apply(this,arguments)||this}var P=fe.prototype;return P.createTokenizer=function(){this.tokenizer=le(this.input)},P.rule=function(C){for(var H=!1,V=0,Se="",xe=C,ye=Array.isArray(xe),Le=0,xe=ye?xe:xe[Symbol.iterator]();;){var Ee;if(ye){if(Le>=xe.length)break;Ee=xe[Le++]}else{if(Le=xe.next(),Le.done)break;Ee=Le.value}var ct=Ee;if(H)ct[0]!=="comment"&&ct[0]!=="{"&&(Se+=ct[1]);else{if(ct[0]==="space"&&ct[1].indexOf(`
|
|
`)!==-1)break;ct[0]==="("?V+=1:ct[0]===")"?V-=1:V===0&&ct[0]===":"&&(H=!0)}}if(!H||Se.trim()===""||/^[a-zA-Z-:#]/.test(Se))ie.prototype.rule.call(this,C);else{C.pop();var dt=new pe;this.init(dt);var Pt=C[C.length-1];for(Pt[4]?dt.source.end={line:Pt[4],column:Pt[5]}:dt.source.end={line:Pt[2],column:Pt[3]};C[0][0]!=="word";)dt.raws.before+=C.shift()[1];for(dt.source.start={line:C[0][2],column:C[0][3]},dt.prop="";C.length;){var wr=C[0][0];if(wr===":"||wr==="space"||wr==="comment")break;dt.prop+=C.shift()[1]}dt.raws.between="";for(var qr;C.length;)if(qr=C.shift(),qr[0]===":"){dt.raws.between+=qr[1];break}else dt.raws.between+=qr[1];(dt.prop[0]==="_"||dt.prop[0]==="*")&&(dt.raws.before+=dt.prop[0],dt.prop=dt.prop.slice(1)),dt.raws.between+=this.spacesAndCommentsFromStart(C),this.precheckMissedSemicolon(C);for(var sn=C.length-1;sn>0;sn--){if(qr=C[sn],qr[1]==="!important"){dt.important=!0;var Vn=this.stringFrom(C,sn);Vn=this.spacesFromEnd(C)+Vn,Vn!==" !important"&&(dt.raws.important=Vn);break}else if(qr[1]==="important"){for(var An=C.slice(0),Qn="",Pn=sn;Pn>0;Pn--){var Xn=An[Pn][0];if(Qn.trim().indexOf("!")===0&&Xn!=="space")break;Qn=An.pop()[1]+Qn}Qn.trim().indexOf("!")===0&&(dt.important=!0,dt.raws.important=Qn,C=An)}if(qr[0]!=="space"&&qr[0]!=="comment")break}this.raw(dt,"value",C),dt.value.indexOf(":")!==-1&&this.checkMissedSemicolon(C),this.current=dt}},P.comment=function(C){if(C[6]==="inline"){var H=new G;this.init(H,C[2],C[3]),H.raws.inline=!0,H.source.end={line:C[4],column:C[5]};var V=C[1].slice(2);if(/^\s*$/.test(V))H.text="",H.raws.left=V,H.raws.right="";else{var Se=V.match(/^(\s*)([^]*[^\s])(\s*)$/),ye=Se[2].replace(/(\*\/|\/\*)/g,"*//*");H.text=ye,H.raws.left=Se[1],H.raws.right=Se[3],H.raws.text=Se[2]}}else ie.prototype.comment.call(this,C)},P.raw=function(C,H,V){if(ie.prototype.raw.call(this,C,H,V),C.raws[H]){var Se=C.raws[H].raw;C.raws[H].raw=V.reduce(function(ye,Le){if(Le[0]==="comment"&&Le[6]==="inline"){var xe=Le[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return ye+"/*"+xe+"*/"}else return ye+Le[1]},""),Se!==C.raws[H].raw&&(C.raws[H].scss=Se)}},fe}(se);K.exports=de}}),Gc=It({"node_modules/postcss-scss/lib/scss-parse.js"(E,K){Xt();var Y=Ba(),G=Vp();K.exports=function(se,pe){var le=new Y(se,pe),de=new G(le);return de.parse(),de.root}}}),hc=It({"node_modules/postcss-scss/lib/scss-syntax.js"(E,K){Xt();var Y=Mh(),G=Gc();K.exports={parse:G,stringify:Y}}});Xt();var Nl=ii(),Il=fi(),Lh=dr(),{hasPragma:hu}=yi(),{locStart:Rh,locEnd:Xp}=xs(),{calculateLoc:Hc,replaceQuotesInInlineComments:Up}=xs(),fc=qo(),Jc=Os(),Kc=co(),Wp=Ds(),ep=Zo(),qp=io(),dc=zs(),Vh=wu(),Zp=E=>{for(;E.parent;)E=E.parent;return E};function Ql(E,K){let{nodes:Y}=E,G={open:null,close:null,groups:[],type:"paren_group"},se=[G],pe=G,le={groups:[],type:"comma_group"},de=[le];for(let ie=0;ie<Y.length;++ie){let fe=Y[ie];if(Wp(K.parser,fe.value)&&fe.type==="number"&&fe.unit===".."&&Il(fe.value)==="."&&(fe.value=fe.value.slice(0,-1),fe.unit="..."),fe.type==="func"&&fe.value==="selector"&&(fe.group.groups=[du(Zp(E).text.slice(fe.group.open.sourceIndex+1,fe.group.close.sourceIndex))]),fe.type==="func"&&fe.value==="url"){let P=fe.group&&fe.group.groups||[],C=[];for(let H=0;H<P.length;H++){let V=P[H];V.type==="comma_group"?C=[...C,...V.groups]:C.push(V)}if(fc(C)||!Jc(C)&&!qp(C[0])){let H=dc({groups:fe.group.groups});fe.group.groups=[H.trim()]}}if(fe.type==="paren"&&fe.value==="(")G={open:fe,close:null,groups:[],type:"paren_group"},se.push(G),le={groups:[],type:"comma_group"},de.push(le);else if(fe.type==="paren"&&fe.value===")"){if(le.groups.length>0&&G.groups.push(le),G.close=fe,de.length===1)throw new Error("Unbalanced parenthesis");de.pop(),le=Il(de),le.groups.push(G),se.pop(),G=Il(se)}else fe.type==="comma"?(G.groups.push(le),le={groups:[],type:"comma_group"},de[de.length-1]=le):le.groups.push(fe)}return le.groups.length>0&&G.groups.push(le),pe}function tp(E){return E.type==="paren_group"&&!E.open&&!E.close&&E.groups.length===1||E.type==="comma_group"&&E.groups.length===1?tp(E.groups[0]):E.type==="paren_group"||E.type==="comma_group"?Object.assign(Object.assign({},E),{},{groups:E.groups.map(tp)}):E}function Jo(E,K,Y){if(E&&typeof E=="object"){delete E.parent;for(let G in E)Jo(E[G],K,Y),G==="type"&&typeof E[G]=="string"&&!E[G].startsWith(K)&&(!Y||!Y.test(E[G]))&&(E[G]=K+E[G])}return E}function zp(E){if(E&&typeof E=="object"){delete E.parent;for(let K in E)zp(E[K]);!Array.isArray(E)&&E.value&&!E.type&&(E.type="unknown")}return E}function Yp(E,K){if(E&&typeof E=="object"){for(let Y in E)Y!=="parent"&&(Yp(E[Y],K),Y==="nodes"&&(E.group=tp(Ql(E,K)),delete E[Y]));delete E.parent}return E}function fu(E,K){let Y=Fn(),G=null;try{G=Y(E,{loose:!0}).parse()}catch{return{type:"value-unknown",value:E}}G.text=E;let se=Yp(G,K);return Jo(se,"value-",/^selector-/)}function du(E){if(/\/\/|\/\*/.test(E))return{type:"selector-unknown",value:E.trim()};let K=jh(),Y=null;try{K(G=>{Y=G}).process(E)}catch{return{type:"selector-unknown",value:E}}return Jo(Y,"selector-")}function Gp(E){let K=Mu().default,Y=null;try{Y=K(E)}catch{return{type:"selector-unknown",value:E}}return Jo(zp(Y),"media-")}var rp=/(\s*)(!default).*$/,Hp=/(\s*)(!global).*$/;function jl(E,K){if(E&&typeof E=="object"){delete E.parent;for(let ie in E)jl(E[ie],K);if(!E.type)return E;E.raws||(E.raws={});let pe="";if(typeof E.selector=="string"){var Y;pe=E.raws.selector?(Y=E.raws.selector.scss)!==null&&Y!==void 0?Y:E.raws.selector.raw:E.selector,E.raws.between&&E.raws.between.trim().length>0&&(pe+=E.raws.between),E.raws.selector=pe}let le="";if(typeof E.value=="string"){var G;le=E.raws.value?(G=E.raws.value.scss)!==null&&G!==void 0?G:E.raws.value.raw:E.value,le=le.trim(),E.raws.value=le}let de="";if(typeof E.params=="string"){var se;de=E.raws.params?(se=E.raws.params.scss)!==null&&se!==void 0?se:E.raws.params.raw:E.params,E.raws.afterName&&E.raws.afterName.trim().length>0&&(de=E.raws.afterName+de),E.raws.between&&E.raws.between.trim().length>0&&(de=de+E.raws.between),de=de.trim(),E.raws.params=de}if(pe.trim().length>0)return pe.startsWith("@")&&pe.endsWith(":")?E:E.mixin?(E.selector=fu(pe,K),E):(ep(E)&&(E.isSCSSNesterProperty=!0),E.selector=du(pe),E);if(le.length>0){let ie=le.match(rp);ie&&(le=le.slice(0,ie.index),E.scssDefault=!0,ie[0].trim()!=="!default"&&(E.raws.scssDefault=ie[0]));let fe=le.match(Hp);if(fe&&(le=le.slice(0,fe.index),E.scssGlobal=!0,fe[0].trim()!=="!global"&&(E.raws.scssGlobal=fe[0])),le.startsWith("progid:"))return{type:"value-unknown",value:le};E.value=fu(le,K)}if(Kc(K)&&E.type==="css-decl"&&le.startsWith("extend(")&&(E.extend||(E.extend=E.raws.between===":"),E.extend&&!E.selector&&(delete E.value,E.selector=du(le.slice(7,-1)))),E.type==="css-atrule"){if(Kc(K)){if(E.mixin){let ie=E.raws.identifier+E.name+E.raws.afterName+E.raws.params;return E.selector=du(ie),delete E.params,E}if(E.function)return E}if(K.parser==="css"&&E.name==="custom-selector"){let ie=E.params.match(/:--\S+\s+/)[0].trim();return E.customSelector=ie,E.selector=du(E.params.slice(ie.length).trim()),delete E.params,E}if(Kc(K)){if(E.name.includes(":")&&!E.params){E.variable=!0;let ie=E.name.split(":");E.name=ie[0],E.value=fu(ie.slice(1).join(":"),K)}if(!["page","nest","keyframes"].includes(E.name)&&E.params&&E.params[0]===":"){E.variable=!0;let ie=E.params.slice(1);ie&&(E.value=fu(ie,K)),E.raws.afterName+=":"}if(E.variable)return delete E.params,E.value||delete E.value,E}}if(E.type==="css-atrule"&&de.length>0){let{name:ie}=E,fe=E.name.toLowerCase();return ie==="warn"||ie==="error"?(E.params={type:"media-unknown",value:de},E):ie==="extend"||ie==="nest"?(E.selector=du(de),delete E.params,E):ie==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(de)?E.params=fu(de,K):(E.selector=du(de),delete E.params),E):Vh(fe)?(E.import=!0,delete E.filename,E.params=fu(de,K),E):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(ie)?(de=de.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),de=de.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),E.value=fu(de,K),delete E.params,E):["media","custom-media"].includes(fe)?de.includes("#{")?{type:"media-unknown",value:de}:(E.params=Gp(de),E):(E.params=de,E)}}return E}function np(E,K,Y){let G=Lh(K),{frontMatter:se}=G;K=G.content;let pe;try{pe=E(K)}catch(le){let{name:de,reason:ie,line:fe,column:P}=le;throw typeof fe!="number"?le:Nl(`${de}: ${ie}`,{start:{line:fe,column:P}})}return pe=jl(Jo(pe,"css-"),Y),Hc(pe,K),se&&(se.source={startOffset:0,endOffset:se.raw.length},pe.nodes.unshift(se)),pe}function Xh(E,K){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},G=Wp(Y.parser,E)?[sp,ip]:[ip,sp],se;for(let pe of G)try{return pe(E,K,Y)}catch(le){se=se||le}if(se)throw se}function ip(E,K){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},G=Yc();return np(se=>G.parse(Up(se)),E,Y)}function sp(E,K){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:G}=hc();return np(G,E,Y)}var op={astFormat:"postcss",hasPragma:hu,locStart:Rh,locEnd:Xp};Ht.exports={parsers:{css:Object.assign(Object.assign({},op),{},{parse:Xh}),less:Object.assign(Object.assign({},op),{},{parse:ip}),scss:Object.assign(Object.assign({},op),{},{parse:sp})}}});return to()})})(dE);var zI=dE.exports;const YI=ng(zI);var mE={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(Ke,ke)=>()=>(ke||Ke((ke={exports:{}}).exports,ke),ke.exports),n=t((Ke,ke)=>{var _e=function(Ze){return Ze&&Ze.Math==Math&&Ze};ke.exports=_e(typeof globalThis=="object"&&globalThis)||_e(typeof window=="object"&&window)||_e(typeof self=="object"&&self)||_e(typeof ql=="object"&&ql)||function(){return this}()||Function("return this")()}),i=t((Ke,ke)=>{ke.exports=function(_e){try{return!!_e()}catch{return!0}}}),s=t((Ke,ke)=>{var _e=i();ke.exports=!_e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),u=t((Ke,ke)=>{var _e=i();ke.exports=!_e(function(){var Ze=function(){}.bind();return typeof Ze!="function"||Ze.hasOwnProperty("prototype")})}),p=t((Ke,ke)=>{var _e=u(),Ze=Function.prototype.call;ke.exports=_e?Ze.bind(Ze):function(){return Ze.apply(Ze,arguments)}}),f=t(Ke=>{var ke={}.propertyIsEnumerable,_e=Object.getOwnPropertyDescriptor,Ze=_e&&!ke.call({1:2},1);Ke.f=Ze?function(me){var ue=_e(this,me);return!!ue&&ue.enumerable}:ke}),m=t((Ke,ke)=>{ke.exports=function(_e,Ze){return{enumerable:!(_e&1),configurable:!(_e&2),writable:!(_e&4),value:Ze}}}),O=t((Ke,ke)=>{var _e=u(),Ze=Function.prototype,me=Ze.call,ue=_e&&Ze.bind.bind(me,me);ke.exports=_e?ue:function(oe){return function(){return me.apply(oe,arguments)}}}),b=t((Ke,ke)=>{var _e=O(),Ze=_e({}.toString),me=_e("".slice);ke.exports=function(ue){return me(Ze(ue),8,-1)}}),N=t((Ke,ke)=>{var _e=O(),Ze=i(),me=b(),ue=Object,oe=_e("".split);ke.exports=Ze(function(){return!ue("z").propertyIsEnumerable(0)})?function(Ce){return me(Ce)=="String"?oe(Ce,""):ue(Ce)}:ue}),U=t((Ke,ke)=>{ke.exports=function(_e){return _e==null}}),he=t((Ke,ke)=>{var _e=U(),Ze=TypeError;ke.exports=function(me){if(_e(me))throw Ze("Can't call method on "+me);return me}}),Re=t((Ke,ke)=>{var _e=N(),Ze=he();ke.exports=function(me){return _e(Ze(me))}}),Ge=t((Ke,ke)=>{var _e=typeof document=="object"&&document.all,Ze=typeof _e>"u"&&_e!==void 0;ke.exports={all:_e,IS_HTMLDDA:Ze}}),$e=t((Ke,ke)=>{var _e=Ge(),Ze=_e.all;ke.exports=_e.IS_HTMLDDA?function(me){return typeof me=="function"||me===Ze}:function(me){return typeof me=="function"}}),gt=t((Ke,ke)=>{var _e=$e(),Ze=Ge(),me=Ze.all;ke.exports=Ze.IS_HTMLDDA?function(ue){return typeof ue=="object"?ue!==null:_e(ue)||ue===me}:function(ue){return typeof ue=="object"?ue!==null:_e(ue)}}),kt=t((Ke,ke)=>{var _e=n(),Ze=$e(),me=function(ue){return Ze(ue)?ue:void 0};ke.exports=function(ue,oe){return arguments.length<2?me(_e[ue]):_e[ue]&&_e[ue][oe]}}),qt=t((Ke,ke)=>{var _e=O();ke.exports=_e({}.isPrototypeOf)}),Yt=t((Ke,ke)=>{var _e=kt();ke.exports=_e("navigator","userAgent")||""}),Pr=t((Ke,ke)=>{var _e=n(),Ze=Yt(),me=_e.process,ue=_e.Deno,oe=me&&me.versions||ue&&ue.version,Ce=oe&&oe.v8,De,Me;Ce&&(De=Ce.split("."),Me=De[0]>0&&De[0]<4?1:+(De[0]+De[1])),!Me&&Ze&&(De=Ze.match(/Edge\/(\d+)/),(!De||De[1]>=74)&&(De=Ze.match(/Chrome\/(\d+)/),De&&(Me=+De[1]))),ke.exports=Me}),vr=t((Ke,ke)=>{var _e=Pr(),Ze=i();ke.exports=!!Object.getOwnPropertySymbols&&!Ze(function(){var me=Symbol();return!String(me)||!(Object(me)instanceof Symbol)||!Symbol.sham&&_e&&_e<41})}),mr=t((Ke,ke)=>{var _e=vr();ke.exports=_e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),kr=t((Ke,ke)=>{var _e=kt(),Ze=$e(),me=qt(),ue=mr(),oe=Object;ke.exports=ue?function(Ce){return typeof Ce=="symbol"}:function(Ce){var De=_e("Symbol");return Ze(De)&&me(De.prototype,oe(Ce))}}),Rr=t((Ke,ke)=>{var _e=String;ke.exports=function(Ze){try{return _e(Ze)}catch{return"Object"}}}),dn=t((Ke,ke)=>{var _e=$e(),Ze=Rr(),me=TypeError;ke.exports=function(ue){if(_e(ue))return ue;throw me(Ze(ue)+" is not a function")}}),Nn=t((Ke,ke)=>{var _e=dn(),Ze=U();ke.exports=function(me,ue){var oe=me[ue];return Ze(oe)?void 0:_e(oe)}}),Bi=t((Ke,ke)=>{var _e=p(),Ze=$e(),me=gt(),ue=TypeError;ke.exports=function(oe,Ce){var De,Me;if(Ce==="string"&&Ze(De=oe.toString)&&!me(Me=_e(De,oe))||Ze(De=oe.valueOf)&&!me(Me=_e(De,oe))||Ce!=="string"&&Ze(De=oe.toString)&&!me(Me=_e(De,oe)))return Me;throw ue("Can't convert object to primitive value")}}),Gi=t((Ke,ke)=>{ke.exports=!1}),Si=t((Ke,ke)=>{var _e=n(),Ze=Object.defineProperty;ke.exports=function(me,ue){try{Ze(_e,me,{value:ue,configurable:!0,writable:!0})}catch{_e[me]=ue}return ue}}),jn=t((Ke,ke)=>{var _e=n(),Ze=Si(),me="__core-js_shared__",ue=_e[me]||Ze(me,{});ke.exports=ue}),ti=t((Ke,ke)=>{var _e=Gi(),Ze=jn();(ke.exports=function(me,ue){return Ze[me]||(Ze[me]=ue!==void 0?ue:{})})("versions",[]).push({version:"3.26.1",mode:_e?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Mn=t((Ke,ke)=>{var _e=he(),Ze=Object;ke.exports=function(me){return Ze(_e(me))}}),Sn=t((Ke,ke)=>{var _e=O(),Ze=Mn(),me=_e({}.hasOwnProperty);ke.exports=Object.hasOwn||function(ue,oe){return me(Ze(ue),oe)}}),es=t((Ke,ke)=>{var _e=O(),Ze=0,me=Math.random(),ue=_e(1 .toString);ke.exports=function(oe){return"Symbol("+(oe===void 0?"":oe)+")_"+ue(++Ze+me,36)}}),Qi=t((Ke,ke)=>{var _e=n(),Ze=ti(),me=Sn(),ue=es(),oe=vr(),Ce=mr(),De=Ze("wks"),Me=_e.Symbol,rt=Me&&Me.for,ht=Ce?Me:Me&&Me.withoutSetter||ue;ke.exports=function(Ye){if(!me(De,Ye)||!(oe||typeof De[Ye]=="string")){var xt="Symbol."+Ye;oe&&me(Me,Ye)?De[Ye]=Me[Ye]:Ce&&rt?De[Ye]=rt(xt):De[Ye]=ht(xt)}return De[Ye]}}),os=t((Ke,ke)=>{var _e=p(),Ze=gt(),me=kr(),ue=Nn(),oe=Bi(),Ce=Qi(),De=TypeError,Me=Ce("toPrimitive");ke.exports=function(rt,ht){if(!Ze(rt)||me(rt))return rt;var Ye=ue(rt,Me),xt;if(Ye){if(ht===void 0&&(ht="default"),xt=_e(Ye,rt,ht),!Ze(xt)||me(xt))return xt;throw De("Can't convert object to primitive value")}return ht===void 0&&(ht="number"),oe(rt,ht)}}),Es=t((Ke,ke)=>{var _e=os(),Ze=kr();ke.exports=function(me){var ue=_e(me,"string");return Ze(ue)?ue:ue+""}}),ys=t((Ke,ke)=>{var _e=n(),Ze=gt(),me=_e.document,ue=Ze(me)&&Ze(me.createElement);ke.exports=function(oe){return ue?me.createElement(oe):{}}}),Cr=t((Ke,ke)=>{var _e=s(),Ze=i(),me=ys();ke.exports=!_e&&!Ze(function(){return Object.defineProperty(me("div"),"a",{get:function(){return 7}}).a!=7})}),mn=t(Ke=>{var ke=s(),_e=p(),Ze=f(),me=m(),ue=Re(),oe=Es(),Ce=Sn(),De=Cr(),Me=Object.getOwnPropertyDescriptor;Ke.f=ke?Me:function(rt,ht){if(rt=ue(rt),ht=oe(ht),De)try{return Me(rt,ht)}catch{}if(Ce(rt,ht))return me(!_e(Ze.f,rt,ht),rt[ht])}}),fn=t((Ke,ke)=>{var _e=s(),Ze=i();ke.exports=_e&&Ze(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),En=t((Ke,ke)=>{var _e=gt(),Ze=String,me=TypeError;ke.exports=function(ue){if(_e(ue))return ue;throw me(Ze(ue)+" is not an object")}}),xi=t(Ke=>{var ke=s(),_e=Cr(),Ze=fn(),me=En(),ue=Es(),oe=TypeError,Ce=Object.defineProperty,De=Object.getOwnPropertyDescriptor,Me="enumerable",rt="configurable",ht="writable";Ke.f=ke?Ze?function(Ye,xt,nr){if(me(Ye),xt=ue(xt),me(nr),typeof Ye=="function"&&xt==="prototype"&&"value"in nr&&ht in nr&&!nr[ht]){var Jt=De(Ye,xt);Jt&&Jt[ht]&&(Ye[xt]=nr.value,nr={configurable:rt in nr?nr[rt]:Jt[rt],enumerable:Me in nr?nr[Me]:Jt[Me],writable:!1})}return Ce(Ye,xt,nr)}:Ce:function(Ye,xt,nr){if(me(Ye),xt=ue(xt),me(nr),_e)try{return Ce(Ye,xt,nr)}catch{}if("get"in nr||"set"in nr)throw oe("Accessors not supported");return"value"in nr&&(Ye[xt]=nr.value),Ye}}),ss=t((Ke,ke)=>{var _e=s(),Ze=xi(),me=m();ke.exports=_e?function(ue,oe,Ce){return Ze.f(ue,oe,me(1,Ce))}:function(ue,oe,Ce){return ue[oe]=Ce,ue}}),$i=t((Ke,ke)=>{var _e=s(),Ze=Sn(),me=Function.prototype,ue=_e&&Object.getOwnPropertyDescriptor,oe=Ze(me,"name"),Ce=oe&&function(){}.name==="something",De=oe&&(!_e||_e&&ue(me,"name").configurable);ke.exports={EXISTS:oe,PROPER:Ce,CONFIGURABLE:De}}),qe=t((Ke,ke)=>{var _e=O(),Ze=$e(),me=jn(),ue=_e(Function.toString);Ze(me.inspectSource)||(me.inspectSource=function(oe){return ue(oe)}),ke.exports=me.inspectSource}),yt=t((Ke,ke)=>{var _e=n(),Ze=$e(),me=_e.WeakMap;ke.exports=Ze(me)&&/native code/.test(String(me))}),pr=t((Ke,ke)=>{var _e=ti(),Ze=es(),me=_e("keys");ke.exports=function(ue){return me[ue]||(me[ue]=Ze(ue))}}),gr=t((Ke,ke)=>{ke.exports={}}),$r=t((Ke,ke)=>{var _e=yt(),Ze=n(),me=gt(),ue=ss(),oe=Sn(),Ce=jn(),De=pr(),Me=gr(),rt="Object already initialized",ht=Ze.TypeError,Ye=Ze.WeakMap,xt,nr,Jt,yr=function(pn){return Jt(pn)?nr(pn):xt(pn,{})},br=function(pn){return function(si){var yi;if(!me(si)||(yi=nr(si)).type!==pn)throw ht("Incompatible receiver, "+pn+" required");return yi}};_e||Ce.state?(Oe=Ce.state||(Ce.state=new Ye),Oe.get=Oe.get,Oe.has=Oe.has,Oe.set=Oe.set,xt=function(pn,si){if(Oe.has(pn))throw ht(rt);return si.facade=pn,Oe.set(pn,si),si},nr=function(pn){return Oe.get(pn)||{}},Jt=function(pn){return Oe.has(pn)}):(un=De("state"),Me[un]=!0,xt=function(pn,si){if(oe(pn,un))throw ht(rt);return si.facade=pn,ue(pn,un,si),si},nr=function(pn){return oe(pn,un)?pn[un]:{}},Jt=function(pn){return oe(pn,un)});var Oe,un;ke.exports={set:xt,get:nr,has:Jt,enforce:yr,getterFor:br}}),Yr=t((Ke,ke)=>{var _e=i(),Ze=$e(),me=Sn(),ue=s(),oe=$i().CONFIGURABLE,Ce=qe(),De=$r(),Me=De.enforce,rt=De.get,ht=Object.defineProperty,Ye=ue&&!_e(function(){return ht(function(){},"length",{value:8}).length!==8}),xt=String(String).split("String"),nr=ke.exports=function(Jt,yr,br){String(yr).slice(0,7)==="Symbol("&&(yr="["+String(yr).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),br&&br.getter&&(yr="get "+yr),br&&br.setter&&(yr="set "+yr),(!me(Jt,"name")||oe&&Jt.name!==yr)&&(ue?ht(Jt,"name",{value:yr,configurable:!0}):Jt.name=yr),Ye&&br&&me(br,"arity")&&Jt.length!==br.arity&&ht(Jt,"length",{value:br.arity});try{br&&me(br,"constructor")&&br.constructor?ue&&ht(Jt,"prototype",{writable:!1}):Jt.prototype&&(Jt.prototype=void 0)}catch{}var Oe=Me(Jt);return me(Oe,"source")||(Oe.source=xt.join(typeof yr=="string"?yr:"")),Jt};Function.prototype.toString=nr(function(){return Ze(this)&&rt(this).source||Ce(this)},"toString")}),gn=t((Ke,ke)=>{var _e=$e(),Ze=xi(),me=Yr(),ue=Si();ke.exports=function(oe,Ce,De,Me){Me||(Me={});var rt=Me.enumerable,ht=Me.name!==void 0?Me.name:Ce;if(_e(De)&&me(De,ht,Me),Me.global)rt?oe[Ce]=De:ue(Ce,De);else{try{Me.unsafe?oe[Ce]&&(rt=!0):delete oe[Ce]}catch{}rt?oe[Ce]=De:Ze.f(oe,Ce,{value:De,enumerable:!1,configurable:!Me.nonConfigurable,writable:!Me.nonWritable})}return oe}}),Gr=t((Ke,ke)=>{var _e=Math.ceil,Ze=Math.floor;ke.exports=Math.trunc||function(me){var ue=+me;return(ue>0?Ze:_e)(ue)}}),rn=t((Ke,ke)=>{var _e=Gr();ke.exports=function(Ze){var me=+Ze;return me!==me||me===0?0:_e(me)}}),Vr=t((Ke,ke)=>{var _e=rn(),Ze=Math.max,me=Math.min;ke.exports=function(ue,oe){var Ce=_e(ue);return Ce<0?Ze(Ce+oe,0):me(Ce,oe)}}),Yn=t((Ke,ke)=>{var _e=rn(),Ze=Math.min;ke.exports=function(me){return me>0?Ze(_e(me),9007199254740991):0}}),Dn=t((Ke,ke)=>{var _e=Yn();ke.exports=function(Ze){return _e(Ze.length)}}),Gn=t((Ke,ke)=>{var _e=Re(),Ze=Vr(),me=Dn(),ue=function(oe){return function(Ce,De,Me){var rt=_e(Ce),ht=me(rt),Ye=Ze(Me,ht),xt;if(oe&&De!=De){for(;ht>Ye;)if(xt=rt[Ye++],xt!=xt)return!0}else for(;ht>Ye;Ye++)if((oe||Ye in rt)&&rt[Ye]===De)return oe||Ye||0;return!oe&&-1}};ke.exports={includes:ue(!0),indexOf:ue(!1)}}),Ei=t((Ke,ke)=>{var _e=O(),Ze=Sn(),me=Re(),ue=Gn().indexOf,oe=gr(),Ce=_e([].push);ke.exports=function(De,Me){var rt=me(De),ht=0,Ye=[],xt;for(xt in rt)!Ze(oe,xt)&&Ze(rt,xt)&&Ce(Ye,xt);for(;Me.length>ht;)Ze(rt,xt=Me[ht++])&&(~ue(Ye,xt)||Ce(Ye,xt));return Ye}}),Mi=t((Ke,ke)=>{ke.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),as=t(Ke=>{var ke=Ei(),_e=Mi(),Ze=_e.concat("length","prototype");Ke.f=Object.getOwnPropertyNames||function(me){return ke(me,Ze)}}),ns=t(Ke=>{Ke.f=Object.getOwnPropertySymbols}),As=t((Ke,ke)=>{var _e=kt(),Ze=O(),me=as(),ue=ns(),oe=En(),Ce=Ze([].concat);ke.exports=_e("Reflect","ownKeys")||function(De){var Me=me.f(oe(De)),rt=ue.f;return rt?Ce(Me,rt(De)):Me}}),Oo=t((Ke,ke)=>{var _e=Sn(),Ze=As(),me=mn(),ue=xi();ke.exports=function(oe,Ce,De){for(var Me=Ze(Ce),rt=ue.f,ht=me.f,Ye=0;Ye<Me.length;Ye++){var xt=Me[Ye];!_e(oe,xt)&&!(De&&_e(De,xt))&&rt(oe,xt,ht(Ce,xt))}}}),fa=t((Ke,ke)=>{var _e=i(),Ze=$e(),me=/#|\.prototype\./,ue=function(rt,ht){var Ye=Ce[oe(rt)];return Ye==Me?!0:Ye==De?!1:Ze(ht)?_e(ht):!!ht},oe=ue.normalize=function(rt){return String(rt).replace(me,".").toLowerCase()},Ce=ue.data={},De=ue.NATIVE="N",Me=ue.POLYFILL="P";ke.exports=ue}),Wo=t((Ke,ke)=>{var _e=n(),Ze=mn().f,me=ss(),ue=gn(),oe=Si(),Ce=Oo(),De=fa();ke.exports=function(Me,rt){var ht=Me.target,Ye=Me.global,xt=Me.stat,nr,Jt,yr,br,Oe,un;if(Ye?Jt=_e:xt?Jt=_e[ht]||oe(ht,{}):Jt=(_e[ht]||{}).prototype,Jt)for(yr in rt){if(Oe=rt[yr],Me.dontCallGetSet?(un=Ze(Jt,yr),br=un&&un.value):br=Jt[yr],nr=De(Ye?yr:ht+(xt?".":"#")+yr,Me.forced),!nr&&br!==void 0){if(typeof Oe==typeof br)continue;Ce(Oe,br)}(Me.sham||br&&br.sham)&&me(Oe,"sham",!0),ue(Jt,yr,Oe,Me)}}}),da=t(()=>{var Ke=Wo(),ke=n();Ke({global:!0,forced:ke.globalThis!==ke},{globalThis:ke})}),Au=t(()=>{da()}),to=t((Ke,ke)=>{var _e=b();ke.exports=Array.isArray||function(Ze){return _e(Ze)=="Array"}}),zr=t((Ke,ke)=>{var _e=TypeError,Ze=9007199254740991;ke.exports=function(me){if(me>Ze)throw _e("Maximum allowed index exceeded");return me}}),Ht=t((Ke,ke)=>{var _e=b(),Ze=O();ke.exports=function(me){if(_e(me)==="Function")return Ze(me)}}),zt=t((Ke,ke)=>{var _e=Ht(),Ze=dn(),me=u(),ue=_e(_e.bind);ke.exports=function(oe,Ce){return Ze(oe),Ce===void 0?oe:me?ue(oe,Ce):function(){return oe.apply(Ce,arguments)}}}),or=t((Ke,ke)=>{var _e=to(),Ze=Dn(),me=zr(),ue=zt(),oe=function(Ce,De,Me,rt,ht,Ye,xt,nr){for(var Jt=ht,yr=0,br=xt?ue(xt,nr):!1,Oe,un;yr<rt;)yr in Me&&(Oe=br?br(Me[yr],yr,De):Me[yr],Ye>0&&_e(Oe)?(un=Ze(Oe),Jt=oe(Ce,De,Oe,un,Jt,Ye-1)-1):(me(Jt+1),Ce[Jt]=Oe),Jt++),yr++;return Jt};ke.exports=oe}),ar=t((Ke,ke)=>{var _e=Qi(),Ze=_e("toStringTag"),me={};me[Ze]="z",ke.exports=String(me)==="[object z]"}),xr=t((Ke,ke)=>{var _e=ar(),Ze=$e(),me=b(),ue=Qi(),oe=ue("toStringTag"),Ce=Object,De=me(function(){return arguments}())=="Arguments",Me=function(rt,ht){try{return rt[ht]}catch{}};ke.exports=_e?me:function(rt){var ht,Ye,xt;return rt===void 0?"Undefined":rt===null?"Null":typeof(Ye=Me(ht=Ce(rt),oe))=="string"?Ye:De?me(ht):(xt=me(ht))=="Object"&&Ze(ht.callee)?"Arguments":xt}}),Hr=t((Ke,ke)=>{var _e=O(),Ze=i(),me=$e(),ue=xr(),oe=kt(),Ce=qe(),De=function(){},Me=[],rt=oe("Reflect","construct"),ht=/^\s*(?:class|function)\b/,Ye=_e(ht.exec),xt=!ht.exec(De),nr=function(yr){if(!me(yr))return!1;try{return rt(De,Me,yr),!0}catch{return!1}},Jt=function(yr){if(!me(yr))return!1;switch(ue(yr)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return xt||!!Ye(ht,Ce(yr))}catch{return!0}};Jt.sham=!0,ke.exports=!rt||Ze(function(){var yr;return nr(nr.call)||!nr(Object)||!nr(function(){yr=!0})||yr})?Jt:nr}),It=t((Ke,ke)=>{var _e=to(),Ze=Hr(),me=gt(),ue=Qi(),oe=ue("species"),Ce=Array;ke.exports=function(De){var Me;return _e(De)&&(Me=De.constructor,Ze(Me)&&(Me===Ce||_e(Me.prototype))?Me=void 0:me(Me)&&(Me=Me[oe],Me===null&&(Me=void 0))),Me===void 0?Ce:Me}}),Cn=t((Ke,ke)=>{var _e=It();ke.exports=function(Ze,me){return new(_e(Ze))(me===0?0:me)}}),_n=t(()=>{var Ke=Wo(),ke=or(),_e=dn(),Ze=Mn(),me=Dn(),ue=Cn();Ke({target:"Array",proto:!0},{flatMap:function(oe){var Ce=Ze(this),De=me(Ce),Me;return _e(oe),Me=ue(Ce,0),Me.length=ke(Me,Ce,Ce,De,0,1,oe,arguments.length>1?arguments[1]:void 0),Me}})}),qn=t((Ke,ke)=>{ke.exports={}}),Xt=t((Ke,ke)=>{var _e=Qi(),Ze=qn(),me=_e("iterator"),ue=Array.prototype;ke.exports=function(oe){return oe!==void 0&&(Ze.Array===oe||ue[me]===oe)}}),ii=t((Ke,ke)=>{var _e=xr(),Ze=Nn(),me=U(),ue=qn(),oe=Qi(),Ce=oe("iterator");ke.exports=function(De){if(!me(De))return Ze(De,Ce)||Ze(De,"@@iterator")||ue[_e(De)]}}),fi=t((Ke,ke)=>{var _e=p(),Ze=dn(),me=En(),ue=Rr(),oe=ii(),Ce=TypeError;ke.exports=function(De,Me){var rt=arguments.length<2?oe(De):Me;if(Ze(rt))return me(_e(rt,De));throw Ce(ue(De)+" is not iterable")}}),dr=t((Ke,ke)=>{var _e=p(),Ze=En(),me=Nn();ke.exports=function(ue,oe,Ce){var De,Me;Ze(ue);try{if(De=me(ue,"return"),!De){if(oe==="throw")throw Ce;return Ce}De=_e(De,ue)}catch(rt){Me=!0,De=rt}if(oe==="throw")throw Ce;if(Me)throw De;return Ze(De),Ce}}),Ot=t((Ke,ke)=>{var _e=zt(),Ze=p(),me=En(),ue=Rr(),oe=Xt(),Ce=Dn(),De=qt(),Me=fi(),rt=ii(),ht=dr(),Ye=TypeError,xt=function(Jt,yr){this.stopped=Jt,this.result=yr},nr=xt.prototype;ke.exports=function(Jt,yr,br){var Oe=br&&br.that,un=!!(br&&br.AS_ENTRIES),pn=!!(br&&br.IS_RECORD),si=!!(br&&br.IS_ITERATOR),yi=!!(br&&br.INTERRUPTED),zi=_e(yr,Oe),ze,xs,Ao,qo,Os,co,Ds,Zo=function(zs){return ze&&ht(ze,"normal",zs),new xt(!0,zs)},io=function(zs){return un?(me(zs),yi?zi(zs[0],zs[1],Zo):zi(zs[0],zs[1])):yi?zi(zs,Zo):zi(zs)};if(pn)ze=Jt.iterator;else if(si)ze=Jt;else{if(xs=rt(Jt),!xs)throw Ye(ue(Jt)+" is not iterable");if(oe(xs)){for(Ao=0,qo=Ce(Jt);qo>Ao;Ao++)if(Os=io(Jt[Ao]),Os&&De(nr,Os))return Os;return new xt(!1)}ze=Me(Jt,xs)}for(co=pn?Jt.next:ze.next;!(Ds=Ze(co,ze)).done;){try{Os=io(Ds.value)}catch(zs){ht(ze,"throw",zs)}if(typeof Os=="object"&&Os&&De(nr,Os))return Os}return new xt(!1)}}),mt=t((Ke,ke)=>{var _e=Es(),Ze=xi(),me=m();ke.exports=function(ue,oe,Ce){var De=_e(oe);De in ue?Ze.f(ue,De,me(0,Ce)):ue[De]=Ce}}),St=t(()=>{var Ke=Wo(),ke=Ot(),_e=mt();Ke({target:"Object",stat:!0},{fromEntries:function(Ze){var me={};return ke(Ze,function(ue,oe){_e(me,ue,oe)},{AS_ENTRIES:!0}),me}})}),Dt=t((Ke,ke)=>{var _e=["cliName","cliCategory","cliDescription"];function Ze(ee,Ie){if(ee==null)return{};var st=me(ee,Ie),ot,At;if(Object.getOwnPropertySymbols){var Xe=Object.getOwnPropertySymbols(ee);for(At=0;At<Xe.length;At++)ot=Xe[At],!(Ie.indexOf(ot)>=0)&&Object.prototype.propertyIsEnumerable.call(ee,ot)&&(st[ot]=ee[ot])}return st}function me(ee,Ie){if(ee==null)return{};var st={},ot=Object.keys(ee),At,Xe;for(Xe=0;Xe<ot.length;Xe++)At=ot[Xe],!(Ie.indexOf(At)>=0)&&(st[At]=ee[At]);return st}Au(),_n(),St();var ue=Object.create,oe=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,De=Object.getOwnPropertyNames,Me=Object.getPrototypeOf,rt=Object.prototype.hasOwnProperty,ht=(ee,Ie)=>function(){return ee&&(Ie=(0,ee[De(ee)[0]])(ee=0)),Ie},Ye=(ee,Ie)=>function(){return Ie||(0,ee[De(ee)[0]])((Ie={exports:{}}).exports,Ie),Ie.exports},xt=(ee,Ie)=>{for(var st in Ie)oe(ee,st,{get:Ie[st],enumerable:!0})},nr=(ee,Ie,st,ot)=>{if(Ie&&typeof Ie=="object"||typeof Ie=="function")for(let At of De(Ie))!rt.call(ee,At)&&At!==st&&oe(ee,At,{get:()=>Ie[At],enumerable:!(ot=Ce(Ie,At))||ot.enumerable});return ee},Jt=(ee,Ie,st)=>(st=ee!=null?ue(Me(ee)):{},nr(Ie||!ee||!ee.__esModule?oe(st,"default",{value:ee,enumerable:!0}):st,ee)),yr=ee=>nr(oe({},"__esModule",{value:!0}),ee),br,Oe=ht({"<define:process>"(){br={env:{},argv:[]}}}),un=Ye({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0}),ee.$EOF=0,ee.$BSPACE=8,ee.$TAB=9,ee.$LF=10,ee.$VTAB=11,ee.$FF=12,ee.$CR=13,ee.$SPACE=32,ee.$BANG=33,ee.$DQ=34,ee.$HASH=35,ee.$$=36,ee.$PERCENT=37,ee.$AMPERSAND=38,ee.$SQ=39,ee.$LPAREN=40,ee.$RPAREN=41,ee.$STAR=42,ee.$PLUS=43,ee.$COMMA=44,ee.$MINUS=45,ee.$PERIOD=46,ee.$SLASH=47,ee.$COLON=58,ee.$SEMICOLON=59,ee.$LT=60,ee.$EQ=61,ee.$GT=62,ee.$QUESTION=63,ee.$0=48,ee.$7=55,ee.$9=57,ee.$A=65,ee.$E=69,ee.$F=70,ee.$X=88,ee.$Z=90,ee.$LBRACKET=91,ee.$BACKSLASH=92,ee.$RBRACKET=93,ee.$CARET=94,ee.$_=95,ee.$a=97,ee.$b=98,ee.$e=101,ee.$f=102,ee.$n=110,ee.$r=114,ee.$t=116,ee.$u=117,ee.$v=118,ee.$x=120,ee.$z=122,ee.$LBRACE=123,ee.$BAR=124,ee.$RBRACE=125,ee.$NBSP=160,ee.$PIPE=124,ee.$TILDA=126,ee.$AT=64,ee.$BT=96;function Ie(Mt){return Mt>=ee.$TAB&&Mt<=ee.$SPACE||Mt==ee.$NBSP}ee.isWhitespace=Ie;function st(Mt){return ee.$0<=Mt&&Mt<=ee.$9}ee.isDigit=st;function ot(Mt){return Mt>=ee.$a&&Mt<=ee.$z||Mt>=ee.$A&&Mt<=ee.$Z}ee.isAsciiLetter=ot;function At(Mt){return Mt>=ee.$a&&Mt<=ee.$f||Mt>=ee.$A&&Mt<=ee.$F||st(Mt)}ee.isAsciiHexDigit=At;function Xe(Mt){return Mt===ee.$LF||Mt===ee.$CR}ee.isNewLine=Xe;function at(Mt){return ee.$0<=Mt&&Mt<=ee.$7}ee.isOctalDigit=at}}),pn=Ye({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=class{constructor(ot,At,Xe){this.filePath=ot,this.name=At,this.members=Xe}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};ee.StaticSymbol=Ie;var st=class{constructor(){this.cache=new Map}get(ot,At,Xe){Xe=Xe||[];let at=Xe.length?`.${Xe.join(".")}`:"",Mt=`"${ot}".${At}${at}`,Zt=this.cache.get(Mt);return Zt||(Zt=new Ie(ot,At,Xe),this.cache.set(Mt,Zt)),Zt}};ee.StaticSymbolCache=st}}),si=Ye({"node_modules/angular-html-parser/lib/compiler/src/util.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=/-+([a-z0-9])/g;function st(it){return it.replace(Ie,function(){for(var rr=arguments.length,Lt=new Array(rr),Ir=0;Ir<rr;Ir++)Lt[Ir]=arguments[Ir];return Lt[1].toUpperCase()})}ee.dashCaseToCamelCase=st;function ot(it,rr){return Xe(it,":",rr)}ee.splitAtColon=ot;function At(it,rr){return Xe(it,".",rr)}ee.splitAtPeriod=At;function Xe(it,rr,Lt){let Ir=it.indexOf(rr);return Ir==-1?Lt:[it.slice(0,Ir).trim(),it.slice(Ir+1).trim()]}function at(it,rr,Lt){return Array.isArray(it)?rr.visitArray(it,Lt):Lr(it)?rr.visitStringMap(it,Lt):it==null||typeof it=="string"||typeof it=="number"||typeof it=="boolean"?rr.visitPrimitive(it,Lt):rr.visitOther(it,Lt)}ee.visitValue=at;function Mt(it){return it!=null}ee.isDefined=Mt;function Zt(it){return it===void 0?null:it}ee.noUndefined=Zt;var Kr=class{visitArray(it,rr){return it.map(Lt=>at(Lt,this,rr))}visitStringMap(it,rr){let Lt={};return Object.keys(it).forEach(Ir=>{Lt[Ir]=at(it[Ir],this,rr)}),Lt}visitPrimitive(it,rr){return it}visitOther(it,rr){return it}};ee.ValueTransformer=Kr,ee.SyncAsync={assertSync:it=>{if(Sr(it))throw new Error("Illegal state: value cannot be a promise");return it},then:(it,rr)=>Sr(it)?it.then(rr):rr(it),all:it=>it.some(Sr)?Promise.all(it):it};function nt(it){throw new Error(`Internal Error: ${it}`)}ee.error=nt;function Ct(it,rr){let Lt=Error(it);return Lt[Rt]=!0,rr&&(Lt[ir]=rr),Lt}ee.syntaxError=Ct;var Rt="ngSyntaxError",ir="ngParseErrors";function Kt(it){return it[Rt]}ee.isSyntaxError=Kt;function cr(it){return it[ir]||[]}ee.getParseErrors=cr;function en(it){return it.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}ee.escapeRegExp=en;var In=Object.getPrototypeOf({});function Lr(it){return typeof it=="object"&&it!==null&&Object.getPrototypeOf(it)===In}function $n(it){let rr="";for(let Lt=0;Lt<it.length;Lt++){let Ir=it.charCodeAt(Lt);if(Ir>=55296&&Ir<=56319&&it.length>Lt+1){let vi=it.charCodeAt(Lt+1);vi>=56320&&vi<=57343&&(Lt++,Ir=(Ir-55296<<10)+vi-56320+65536)}Ir<=127?rr+=String.fromCharCode(Ir):Ir<=2047?rr+=String.fromCharCode(Ir>>6&31|192,Ir&63|128):Ir<=65535?rr+=String.fromCharCode(Ir>>12|224,Ir>>6&63|128,Ir&63|128):Ir<=2097151&&(rr+=String.fromCharCode(Ir>>18&7|240,Ir>>12&63|128,Ir>>6&63|128,Ir&63|128))}return rr}ee.utf8Encode=$n;function Hn(it){if(typeof it=="string")return it;if(it instanceof Array)return"["+it.map(Hn).join(", ")+"]";if(it==null)return""+it;if(it.overriddenName)return`${it.overriddenName}`;if(it.name)return`${it.name}`;if(!it.toString)return"object";let rr=it.toString();if(rr==null)return""+rr;let Lt=rr.indexOf(`
|
|
`);return Lt===-1?rr:rr.substring(0,Lt)}ee.stringify=Hn;function ts(it){return typeof it=="function"&&it.hasOwnProperty("__forward_ref__")?it():it}ee.resolveForwardRef=ts;function Sr(it){return!!it&&typeof it.then=="function"}ee.isPromise=Sr;var Un=class{constructor(it){this.full=it;let rr=it.split(".");this.major=rr[0],this.minor=rr[1],this.patch=rr.slice(2).join(".")}};ee.Version=Un;var Zn=typeof window<"u"&&window,Oi=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Ai=typeof globalThis<"u"&&globalThis,Ne=Ai||Zn||Oi;ee.global=Ne}}),yi=Ye({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=pn(),st=si(),ot=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function At(Lt){return Lt.replace(/\W/g,"_")}ee.sanitizeIdentifier=At;var Xe=0;function at(Lt){if(!Lt||!Lt.reference)return null;let Ir=Lt.reference;if(Ir instanceof Ie.StaticSymbol)return Ir.name;if(Ir.__anonymousType)return Ir.__anonymousType;let vi=st.stringify(Ir);return vi.indexOf("(")>=0?(vi=`anonymous_${Xe++}`,Ir.__anonymousType=vi):vi=At(vi),vi}ee.identifierName=at;function Mt(Lt){let Ir=Lt.reference;return Ir instanceof Ie.StaticSymbol?Ir.filePath:`./${st.stringify(Ir)}`}ee.identifierModuleUrl=Mt;function Zt(Lt,Ir){return`View_${at({reference:Lt})}_${Ir}`}ee.viewClassName=Zt;function Kr(Lt){return`RenderType_${at({reference:Lt})}`}ee.rendererTypeName=Kr;function nt(Lt){return`HostView_${at({reference:Lt})}`}ee.hostViewClassName=nt;function Ct(Lt){return`${at({reference:Lt})}NgFactory`}ee.componentFactoryName=Ct;var Rt;(function(Lt){Lt[Lt.Pipe=0]="Pipe",Lt[Lt.Directive=1]="Directive",Lt[Lt.NgModule=2]="NgModule",Lt[Lt.Injectable=3]="Injectable"})(Rt=ee.CompileSummaryKind||(ee.CompileSummaryKind={}));function ir(Lt){return Lt.value!=null?At(Lt.value):at(Lt.identifier)}ee.tokenName=ir;function Kt(Lt){return Lt.identifier!=null?Lt.identifier.reference:Lt.value}ee.tokenReference=Kt;var cr=class{constructor(){let{moduleUrl:Lt,styles:Ir,styleUrls:vi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Lt||null,this.styles=Sr(Ir),this.styleUrls=Sr(vi)}};ee.CompileStylesheetMetadata=cr;var en=class{constructor(Lt){let{encapsulation:Ir,template:vi,templateUrl:Ji,htmlAst:Gs,styles:Bs,styleUrls:fo,externalStylesheets:mo,animations:Po,ngContentSelectors:To,interpolation:Ui,isInline:Qe,preserveWhitespaces:nn}=Lt;if(this.encapsulation=Ir,this.template=vi,this.templateUrl=Ji,this.htmlAst=Gs,this.styles=Sr(Bs),this.styleUrls=Sr(fo),this.externalStylesheets=Sr(mo),this.animations=Po?Zn(Po):[],this.ngContentSelectors=To||[],Ui&&Ui.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Ui,this.isInline=Qe,this.preserveWhitespaces=nn}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};ee.CompileTemplateMetadata=en;var In=class{static create(Lt){let{isHost:Ir,type:vi,isComponent:Ji,selector:Gs,exportAs:Bs,changeDetection:fo,inputs:mo,outputs:Po,host:To,providers:Ui,viewProviders:Qe,queries:nn,guards:Fn,viewQueries:vn,entryComponents:mi,template:rs,componentViewType:us,rendererType:Wi,componentFactory:xo}=Lt,Xa={},iu={},su={};To!=null&&Object.keys(To).forEach(_s=>{let Go=To[_s],ka=_s.match(ot);ka===null?su[_s]=Go:ka[1]!=null?iu[ka[1]]=Go:ka[2]!=null&&(Xa[ka[2]]=Go)});let Io={};mo!=null&&mo.forEach(_s=>{let Go=st.splitAtColon(_s,[_s,_s]);Io[Go[0]]=Go[1]});let ya={};return Po!=null&&Po.forEach(_s=>{let Go=st.splitAtColon(_s,[_s,_s]);ya[Go[0]]=Go[1]}),new In({isHost:Ir,type:vi,isComponent:!!Ji,selector:Gs,exportAs:Bs,changeDetection:fo,inputs:Io,outputs:ya,hostListeners:Xa,hostProperties:iu,hostAttributes:su,providers:Ui,viewProviders:Qe,queries:nn,guards:Fn,viewQueries:vn,entryComponents:mi,template:rs,componentViewType:us,rendererType:Wi,componentFactory:xo})}constructor(Lt){let{isHost:Ir,type:vi,isComponent:Ji,selector:Gs,exportAs:Bs,changeDetection:fo,inputs:mo,outputs:Po,hostListeners:To,hostProperties:Ui,hostAttributes:Qe,providers:nn,viewProviders:Fn,queries:vn,guards:mi,viewQueries:rs,entryComponents:us,template:Wi,componentViewType:xo,rendererType:Xa,componentFactory:iu}=Lt;this.isHost=!!Ir,this.type=vi,this.isComponent=Ji,this.selector=Gs,this.exportAs=Bs,this.changeDetection=fo,this.inputs=mo,this.outputs=Po,this.hostListeners=To,this.hostProperties=Ui,this.hostAttributes=Qe,this.providers=Sr(nn),this.viewProviders=Sr(Fn),this.queries=Sr(vn),this.guards=mi,this.viewQueries=Sr(rs),this.entryComponents=Sr(us),this.template=Wi,this.componentViewType=xo,this.rendererType=Xa,this.componentFactory=iu}toSummary(){return{summaryKind:Rt.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}}};ee.CompileDirectiveMetadata=In;var Lr=class{constructor(Lt){let{type:Ir,name:vi,pure:Ji}=Lt;this.type=Ir,this.name=vi,this.pure=!!Ji}toSummary(){return{summaryKind:Rt.Pipe,type:this.type,name:this.name,pure:this.pure}}};ee.CompilePipeMetadata=Lr;var $n=class{};ee.CompileShallowModuleMetadata=$n;var Hn=class{constructor(Lt){let{type:Ir,providers:vi,declaredDirectives:Ji,exportedDirectives:Gs,declaredPipes:Bs,exportedPipes:fo,entryComponents:mo,bootstrapComponents:Po,importedModules:To,exportedModules:Ui,schemas:Qe,transitiveModule:nn,id:Fn}=Lt;this.type=Ir||null,this.declaredDirectives=Sr(Ji),this.exportedDirectives=Sr(Gs),this.declaredPipes=Sr(Bs),this.exportedPipes=Sr(fo),this.providers=Sr(vi),this.entryComponents=Sr(mo),this.bootstrapComponents=Sr(Po),this.importedModules=Sr(To),this.exportedModules=Sr(Ui),this.schemas=Sr(Qe),this.id=Fn||null,this.transitiveModule=nn||null}toSummary(){let Lt=this.transitiveModule;return{summaryKind:Rt.NgModule,type:this.type,entryComponents:Lt.entryComponents,providers:Lt.providers,modules:Lt.modules,exportedDirectives:Lt.exportedDirectives,exportedPipes:Lt.exportedPipes}}};ee.CompileNgModuleMetadata=Hn;var ts=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(Lt,Ir){this.providers.push({provider:Lt,module:Ir})}addDirective(Lt){this.directivesSet.has(Lt.reference)||(this.directivesSet.add(Lt.reference),this.directives.push(Lt))}addExportedDirective(Lt){this.exportedDirectivesSet.has(Lt.reference)||(this.exportedDirectivesSet.add(Lt.reference),this.exportedDirectives.push(Lt))}addPipe(Lt){this.pipesSet.has(Lt.reference)||(this.pipesSet.add(Lt.reference),this.pipes.push(Lt))}addExportedPipe(Lt){this.exportedPipesSet.has(Lt.reference)||(this.exportedPipesSet.add(Lt.reference),this.exportedPipes.push(Lt))}addModule(Lt){this.modulesSet.has(Lt.reference)||(this.modulesSet.add(Lt.reference),this.modules.push(Lt))}addEntryComponent(Lt){this.entryComponentsSet.has(Lt.componentType)||(this.entryComponentsSet.add(Lt.componentType),this.entryComponents.push(Lt))}};ee.TransitiveCompileNgModuleMetadata=ts;function Sr(Lt){return Lt||[]}var Un=class{constructor(Lt,Ir){let{useClass:vi,useValue:Ji,useExisting:Gs,useFactory:Bs,deps:fo,multi:mo}=Ir;this.token=Lt,this.useClass=vi||null,this.useValue=Ji,this.useExisting=Gs,this.useFactory=Bs||null,this.dependencies=fo||null,this.multi=!!mo}};ee.ProviderMeta=Un;function Zn(Lt){return Lt.reduce((Ir,vi)=>{let Ji=Array.isArray(vi)?Zn(vi):vi;return Ir.concat(Ji)},[])}ee.flatten=Zn;function Oi(Lt){return Lt.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Ai(Lt,Ir,vi){let Ji;return vi.isInline?Ir.type.reference instanceof Ie.StaticSymbol?Ji=`${Ir.type.reference.filePath}.${Ir.type.reference.name}.html`:Ji=`${at(Lt)}/${at(Ir.type)}.html`:Ji=vi.templateUrl,Ir.type.reference instanceof Ie.StaticSymbol?Ji:Oi(Ji)}ee.templateSourceUrl=Ai;function Ne(Lt,Ir){let vi=Lt.moduleUrl.split(/\/\\/g),Ji=vi[vi.length-1];return Oi(`css/${Ir}${Ji}.ngstyle.js`)}ee.sharedStylesheetJitUrl=Ne;function it(Lt){return Oi(`${at(Lt.type)}/module.ngfactory.js`)}ee.ngModuleJitUrl=it;function rr(Lt,Ir){return Oi(`${at(Lt)}/${at(Ir.type)}.ngfactory.js`)}ee.templateJitUrl=rr}}),zi=Ye({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=un(),st=yi(),ot=class{constructor(nt,Ct,Rt,ir){this.file=nt,this.offset=Ct,this.line=Rt,this.col=ir}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(nt){let Ct=this.file.content,Rt=Ct.length,ir=this.offset,Kt=this.line,cr=this.col;for(;ir>0&&nt<0;)if(ir--,nt++,Ct.charCodeAt(ir)==Ie.$LF){Kt--;let en=Ct.substr(0,ir-1).lastIndexOf(String.fromCharCode(Ie.$LF));cr=en>0?ir-en:ir}else cr--;for(;ir<Rt&&nt>0;){let en=Ct.charCodeAt(ir);ir++,nt--,en==Ie.$LF?(Kt++,cr=0):cr++}return new ot(this.file,ir,Kt,cr)}getContext(nt,Ct){let Rt=this.file.content,ir=this.offset;if(ir!=null){ir>Rt.length-1&&(ir=Rt.length-1);let Kt=ir,cr=0,en=0;for(;cr<nt&&ir>0&&(ir--,cr++,!(Rt[ir]==`
|
|
`&&++en==Ct)););for(cr=0,en=0;cr<nt&&Kt<Rt.length-1&&(Kt++,cr++,!(Rt[Kt]==`
|
|
`&&++en==Ct)););return{before:Rt.substring(ir,this.offset),after:Rt.substring(this.offset,Kt+1)}}return null}};ee.ParseLocation=ot;var At=class{constructor(nt,Ct){this.content=nt,this.url=Ct}};ee.ParseSourceFile=At;var Xe=class{constructor(nt,Ct){let Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=nt,this.end=Ct,this.details=Rt}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};ee.ParseSourceSpan=Xe,ee.EMPTY_PARSE_LOCATION=new ot(new At("",""),0,0,0),ee.EMPTY_SOURCE_SPAN=new Xe(ee.EMPTY_PARSE_LOCATION,ee.EMPTY_PARSE_LOCATION);var at;(function(nt){nt[nt.WARNING=0]="WARNING",nt[nt.ERROR=1]="ERROR"})(at=ee.ParseErrorLevel||(ee.ParseErrorLevel={}));var Mt=class{constructor(nt,Ct){let Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:at.ERROR;this.span=nt,this.msg=Ct,this.level=Rt}contextualMessage(){let nt=this.span.start.getContext(100,3);return nt?`${this.msg} ("${nt.before}[${at[this.level]} ->]${nt.after}")`:this.msg}toString(){let nt=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${nt}`}};ee.ParseError=Mt;function Zt(nt,Ct){let Rt=st.identifierModuleUrl(Ct),ir=Rt!=null?`in ${nt} ${st.identifierName(Ct)} in ${Rt}`:`in ${nt} ${st.identifierName(Ct)}`,Kt=new At("",ir);return new Xe(new ot(Kt,-1,-1,-1),new ot(Kt,-1,-1,-1))}ee.typeSourceSpan=Zt;function Kr(nt,Ct,Rt){let ir=`in ${nt} ${Ct} in ${Rt}`,Kt=new At("",ir);return new Xe(new ot(Kt,-1,-1,-1),new ot(Kt,-1,-1,-1))}ee.r3JitTypeSourceSpan=Kr}}),ze=Ye({"src/utils/front-matter/parse.js"(ee,Ie){Oe();var st=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function ot(At){let Xe=At.match(st);if(!Xe)return{content:At};let{startDelimiter:at,language:Mt,value:Zt="",endDelimiter:Kr}=Xe.groups,nt=Mt.trim()||"yaml";if(at==="+++"&&(nt="toml"),nt!=="yaml"&&at!==Kr)return{content:At};let[Ct]=Xe;return{frontMatter:{type:"front-matter",lang:nt,value:Zt,startDelimiter:at,endDelimiter:Kr,raw:Ct.replace(/\n$/,"")},content:Ct.replace(/[^\n]/g," ")+At.slice(Ct.length)}}Ie.exports=ot}}),xs=Ye({"src/utils/get-last.js"(ee,Ie){Oe();var st=ot=>ot[ot.length-1];Ie.exports=st}}),Ao=Ye({"src/common/parser-create-error.js"(ee,Ie){Oe();function st(ot,At){let Xe=new SyntaxError(ot+" ("+At.start.line+":"+At.start.column+")");return Xe.loc=At,Xe}Ie.exports=st}}),qo={};xt(qo,{default:()=>Os});function Os(ee){if(typeof ee!="string")throw new TypeError("Expected a string");return ee.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var co=ht({"node_modules/escape-string-regexp/index.js"(){Oe()}}),Ds=Ye({"node_modules/semver/internal/debug.js"(ee,Ie){Oe();var st=typeof br=="object"&&br.env&&br.env.NODE_DEBUG&&/\bsemver\b/i.test(br.env.NODE_DEBUG)?function(){for(var ot=arguments.length,At=new Array(ot),Xe=0;Xe<ot;Xe++)At[Xe]=arguments[Xe];return console.error("SEMVER",...At)}:()=>{};Ie.exports=st}}),Zo=Ye({"node_modules/semver/internal/constants.js"(ee,Ie){Oe();var st="2.0.0",ot=256,At=Number.MAX_SAFE_INTEGER||9007199254740991,Xe=16;Ie.exports={SEMVER_SPEC_VERSION:st,MAX_LENGTH:ot,MAX_SAFE_INTEGER:At,MAX_SAFE_COMPONENT_LENGTH:Xe}}}),io=Ye({"node_modules/semver/internal/re.js"(ee,Ie){Oe();var{MAX_SAFE_COMPONENT_LENGTH:st}=Zo(),ot=Ds();ee=Ie.exports={};var At=ee.re=[],Xe=ee.src=[],at=ee.t={},Mt=0,Zt=(Kr,nt,Ct)=>{let Rt=Mt++;ot(Kr,Rt,nt),at[Kr]=Rt,Xe[Rt]=nt,At[Rt]=new RegExp(nt,Ct?"g":void 0)};Zt("NUMERICIDENTIFIER","0|[1-9]\\d*"),Zt("NUMERICIDENTIFIERLOOSE","[0-9]+"),Zt("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Zt("MAINVERSION",`(${Xe[at.NUMERICIDENTIFIER]})\\.(${Xe[at.NUMERICIDENTIFIER]})\\.(${Xe[at.NUMERICIDENTIFIER]})`),Zt("MAINVERSIONLOOSE",`(${Xe[at.NUMERICIDENTIFIERLOOSE]})\\.(${Xe[at.NUMERICIDENTIFIERLOOSE]})\\.(${Xe[at.NUMERICIDENTIFIERLOOSE]})`),Zt("PRERELEASEIDENTIFIER",`(?:${Xe[at.NUMERICIDENTIFIER]}|${Xe[at.NONNUMERICIDENTIFIER]})`),Zt("PRERELEASEIDENTIFIERLOOSE",`(?:${Xe[at.NUMERICIDENTIFIERLOOSE]}|${Xe[at.NONNUMERICIDENTIFIER]})`),Zt("PRERELEASE",`(?:-(${Xe[at.PRERELEASEIDENTIFIER]}(?:\\.${Xe[at.PRERELEASEIDENTIFIER]})*))`),Zt("PRERELEASELOOSE",`(?:-?(${Xe[at.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${Xe[at.PRERELEASEIDENTIFIERLOOSE]})*))`),Zt("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Zt("BUILD",`(?:\\+(${Xe[at.BUILDIDENTIFIER]}(?:\\.${Xe[at.BUILDIDENTIFIER]})*))`),Zt("FULLPLAIN",`v?${Xe[at.MAINVERSION]}${Xe[at.PRERELEASE]}?${Xe[at.BUILD]}?`),Zt("FULL",`^${Xe[at.FULLPLAIN]}$`),Zt("LOOSEPLAIN",`[v=\\s]*${Xe[at.MAINVERSIONLOOSE]}${Xe[at.PRERELEASELOOSE]}?${Xe[at.BUILD]}?`),Zt("LOOSE",`^${Xe[at.LOOSEPLAIN]}$`),Zt("GTLT","((?:<|>)?=?)"),Zt("XRANGEIDENTIFIERLOOSE",`${Xe[at.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Zt("XRANGEIDENTIFIER",`${Xe[at.NUMERICIDENTIFIER]}|x|X|\\*`),Zt("XRANGEPLAIN",`[v=\\s]*(${Xe[at.XRANGEIDENTIFIER]})(?:\\.(${Xe[at.XRANGEIDENTIFIER]})(?:\\.(${Xe[at.XRANGEIDENTIFIER]})(?:${Xe[at.PRERELEASE]})?${Xe[at.BUILD]}?)?)?`),Zt("XRANGEPLAINLOOSE",`[v=\\s]*(${Xe[at.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Xe[at.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Xe[at.XRANGEIDENTIFIERLOOSE]})(?:${Xe[at.PRERELEASELOOSE]})?${Xe[at.BUILD]}?)?)?`),Zt("XRANGE",`^${Xe[at.GTLT]}\\s*${Xe[at.XRANGEPLAIN]}$`),Zt("XRANGELOOSE",`^${Xe[at.GTLT]}\\s*${Xe[at.XRANGEPLAINLOOSE]}$`),Zt("COERCE",`(^|[^\\d])(\\d{1,${st}})(?:\\.(\\d{1,${st}}))?(?:\\.(\\d{1,${st}}))?(?:$|[^\\d])`),Zt("COERCERTL",Xe[at.COERCE],!0),Zt("LONETILDE","(?:~>?)"),Zt("TILDETRIM",`(\\s*)${Xe[at.LONETILDE]}\\s+`,!0),ee.tildeTrimReplace="$1~",Zt("TILDE",`^${Xe[at.LONETILDE]}${Xe[at.XRANGEPLAIN]}$`),Zt("TILDELOOSE",`^${Xe[at.LONETILDE]}${Xe[at.XRANGEPLAINLOOSE]}$`),Zt("LONECARET","(?:\\^)"),Zt("CARETTRIM",`(\\s*)${Xe[at.LONECARET]}\\s+`,!0),ee.caretTrimReplace="$1^",Zt("CARET",`^${Xe[at.LONECARET]}${Xe[at.XRANGEPLAIN]}$`),Zt("CARETLOOSE",`^${Xe[at.LONECARET]}${Xe[at.XRANGEPLAINLOOSE]}$`),Zt("COMPARATORLOOSE",`^${Xe[at.GTLT]}\\s*(${Xe[at.LOOSEPLAIN]})$|^$`),Zt("COMPARATOR",`^${Xe[at.GTLT]}\\s*(${Xe[at.FULLPLAIN]})$|^$`),Zt("COMPARATORTRIM",`(\\s*)${Xe[at.GTLT]}\\s*(${Xe[at.LOOSEPLAIN]}|${Xe[at.XRANGEPLAIN]})`,!0),ee.comparatorTrimReplace="$1$2$3",Zt("HYPHENRANGE",`^\\s*(${Xe[at.XRANGEPLAIN]})\\s+-\\s+(${Xe[at.XRANGEPLAIN]})\\s*$`),Zt("HYPHENRANGELOOSE",`^\\s*(${Xe[at.XRANGEPLAINLOOSE]})\\s+-\\s+(${Xe[at.XRANGEPLAINLOOSE]})\\s*$`),Zt("STAR","(<|>)?=?\\s*\\*"),Zt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Zt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),zs=Ye({"node_modules/semver/internal/parse-options.js"(ee,Ie){Oe();var st=["includePrerelease","loose","rtl"],ot=At=>At?typeof At!="object"?{loose:!0}:st.filter(Xe=>At[Xe]).reduce((Xe,at)=>(Xe[at]=!0,Xe),{}):{};Ie.exports=ot}}),wu=Ye({"node_modules/semver/internal/identifiers.js"(ee,Ie){Oe();var st=/^[0-9]+$/,ot=(Xe,at)=>{let Mt=st.test(Xe),Zt=st.test(at);return Mt&&Zt&&(Xe=+Xe,at=+at),Xe===at?0:Mt&&!Zt?-1:Zt&&!Mt?1:Xe<at?-1:1},At=(Xe,at)=>ot(at,Xe);Ie.exports={compareIdentifiers:ot,rcompareIdentifiers:At}}}),Do=Ye({"node_modules/semver/classes/semver.js"(ee,Ie){Oe();var st=Ds(),{MAX_LENGTH:ot,MAX_SAFE_INTEGER:At}=Zo(),{re:Xe,t:at}=io(),Mt=zs(),{compareIdentifiers:Zt}=wu(),Kr=class{constructor(nt,Ct){if(Ct=Mt(Ct),nt instanceof Kr){if(nt.loose===!!Ct.loose&&nt.includePrerelease===!!Ct.includePrerelease)return nt;nt=nt.version}else if(typeof nt!="string")throw new TypeError(`Invalid Version: ${nt}`);if(nt.length>ot)throw new TypeError(`version is longer than ${ot} characters`);st("SemVer",nt,Ct),this.options=Ct,this.loose=!!Ct.loose,this.includePrerelease=!!Ct.includePrerelease;let Rt=nt.trim().match(Ct.loose?Xe[at.LOOSE]:Xe[at.FULL]);if(!Rt)throw new TypeError(`Invalid Version: ${nt}`);if(this.raw=nt,this.major=+Rt[1],this.minor=+Rt[2],this.patch=+Rt[3],this.major>At||this.major<0)throw new TypeError("Invalid major version");if(this.minor>At||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>At||this.patch<0)throw new TypeError("Invalid patch version");Rt[4]?this.prerelease=Rt[4].split(".").map(ir=>{if(/^[0-9]+$/.test(ir)){let Kt=+ir;if(Kt>=0&&Kt<At)return Kt}return ir}):this.prerelease=[],this.build=Rt[5]?Rt[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(nt){if(st("SemVer.compare",this.version,this.options,nt),!(nt instanceof Kr)){if(typeof nt=="string"&&nt===this.version)return 0;nt=new Kr(nt,this.options)}return nt.version===this.version?0:this.compareMain(nt)||this.comparePre(nt)}compareMain(nt){return nt instanceof Kr||(nt=new Kr(nt,this.options)),Zt(this.major,nt.major)||Zt(this.minor,nt.minor)||Zt(this.patch,nt.patch)}comparePre(nt){if(nt instanceof Kr||(nt=new Kr(nt,this.options)),this.prerelease.length&&!nt.prerelease.length)return-1;if(!this.prerelease.length&&nt.prerelease.length)return 1;if(!this.prerelease.length&&!nt.prerelease.length)return 0;let Ct=0;do{let Rt=this.prerelease[Ct],ir=nt.prerelease[Ct];if(st("prerelease compare",Ct,Rt,ir),Rt===void 0&&ir===void 0)return 0;if(ir===void 0)return 1;if(Rt===void 0)return-1;if(Rt!==ir)return Zt(Rt,ir)}while(++Ct)}compareBuild(nt){nt instanceof Kr||(nt=new Kr(nt,this.options));let Ct=0;do{let Rt=this.build[Ct],ir=nt.build[Ct];if(st("prerelease compare",Ct,Rt,ir),Rt===void 0&&ir===void 0)return 0;if(ir===void 0)return 1;if(Rt===void 0)return-1;if(Rt!==ir)return Zt(Rt,ir)}while(++Ct)}inc(nt,Ct){switch(nt){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Ct);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Ct);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Ct),this.inc("pre",Ct);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",Ct),this.inc("pre",Ct);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 Rt=this.prerelease.length;for(;--Rt>=0;)typeof this.prerelease[Rt]=="number"&&(this.prerelease[Rt]++,Rt=-2);Rt===-1&&this.prerelease.push(0)}Ct&&(Zt(this.prerelease[0],Ct)===0?isNaN(this.prerelease[1])&&(this.prerelease=[Ct,0]):this.prerelease=[Ct,0]);break;default:throw new Error(`invalid increment argument: ${nt}`)}return this.format(),this.raw=this.version,this}};Ie.exports=Kr}}),Ws=Ye({"node_modules/semver/functions/compare.js"(ee,Ie){Oe();var st=Do(),ot=(At,Xe,at)=>new st(At,at).compare(new st(Xe,at));Ie.exports=ot}}),po=Ye({"node_modules/semver/functions/lt.js"(ee,Ie){Oe();var st=Ws(),ot=(At,Xe,at)=>st(At,Xe,at)<0;Ie.exports=ot}}),ml=Ye({"node_modules/semver/functions/gte.js"(ee,Ie){Oe();var st=Ws(),ot=(At,Xe,at)=>st(At,Xe,at)>=0;Ie.exports=ot}}),gl=Ye({"src/utils/arrayify.js"(ee,Ie){Oe(),Ie.exports=(st,ot)=>Object.entries(st).map(At=>{let[Xe,at]=At;return Object.assign({[ot]:Xe},at)})}}),Pu=Ye({"package.json"(ee,Ie){Ie.exports={version:"2.8.8"}}}),yl=Ye({"node_modules/outdent/lib/index.js"(ee,Ie){Oe(),Object.defineProperty(ee,"__esModule",{value:!0}),ee.outdent=void 0;function st(){for(var Lr=[],$n=0;$n<arguments.length;$n++)Lr[$n]=arguments[$n]}function ot(){return typeof WeakMap<"u"?new WeakMap:At()}function At(){return{add:st,delete:st,get:st,set:st,has:function(Lr){return!1}}}var Xe=Object.prototype.hasOwnProperty,at=function(Lr,$n){return Xe.call(Lr,$n)};function Mt(Lr,$n){for(var Hn in $n)at($n,Hn)&&(Lr[Hn]=$n[Hn]);return Lr}var Zt=/^[ \t]*(?:\r\n|\r|\n)/,Kr=/(?:\r\n|\r|\n)[ \t]*$/,nt=/^(?:[\r\n]|$)/,Ct=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,Rt=/^[ \t]*[\r\n][ \t\r\n]*$/;function ir(Lr,$n,Hn){var ts=0,Sr=Lr[0].match(Ct);Sr&&(ts=Sr[1].length);var Un="(\\r\\n|\\r|\\n).{0,"+ts+"}",Zn=new RegExp(Un,"g");$n&&(Lr=Lr.slice(1));var Oi=Hn.newline,Ai=Hn.trimLeadingNewline,Ne=Hn.trimTrailingNewline,it=typeof Oi=="string",rr=Lr.length,Lt=Lr.map(function(Ir,vi){return Ir=Ir.replace(Zn,"$1"),vi===0&&Ai&&(Ir=Ir.replace(Zt,"")),vi===rr-1&&Ne&&(Ir=Ir.replace(Kr,"")),it&&(Ir=Ir.replace(/\r\n|\n|\r/g,function(Ji){return Oi})),Ir});return Lt}function Kt(Lr,$n){for(var Hn="",ts=0,Sr=Lr.length;ts<Sr;ts++)Hn+=Lr[ts],ts<Sr-1&&(Hn+=$n[ts]);return Hn}function cr(Lr){return at(Lr,"raw")&&at(Lr,"length")}function en(Lr){var $n=ot(),Hn=ot();function ts(Un){for(var Zn=[],Oi=1;Oi<arguments.length;Oi++)Zn[Oi-1]=arguments[Oi];if(cr(Un)){var Ai=Un,Ne=(Zn[0]===ts||Zn[0]===In)&&Rt.test(Ai[0])&&nt.test(Ai[1]),it=Ne?Hn:$n,rr=it.get(Ai);if(rr||(rr=ir(Ai,Ne,Lr),it.set(Ai,rr)),Zn.length===0)return rr[0];var Lt=Kt(rr,Ne?Zn.slice(1):Zn);return Lt}else return en(Mt(Mt({},Lr),Un||{}))}var Sr=Mt(ts,{string:function(Un){return ir([Un],!1,Lr)[0]}});return Sr}var In=en({trimLeadingNewline:!0,trimTrailingNewline:!0});if(ee.outdent=In,ee.default=In,typeof Ie<"u")try{Ie.exports=In,Object.defineProperty(In,"__esModule",{value:!0}),In.default=In,In.outdent=In}catch{}}}),tu=Ye({"src/main/core-options.js"(ee,Ie){Oe();var{outdent:st}=yl(),ot="Config",At="Editor",Xe="Format",at="Other",Mt="Output",Zt="Global",Kr="Special",nt={cursorOffset:{since:"1.4.0",category:Kr,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:st`
|
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
This option cannot be used with --range-start and --range-end.
|
|
`,cliCategory:At},endOfLine:{since:"1.15.0",category:Zt,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:st`
|
|
Maintain existing
|
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
`}]},filepath:{since:"1.4.0",category:Kr,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:at,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Kr,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:at},parser:{since:"0.0.10",category:Zt,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:Ct=>typeof Ct=="string"||typeof Ct=="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:Zt,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:Ct=>typeof Ct=="string"||typeof Ct=="object",cliName:"plugin",cliCategory:ot},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Zt,description:st`
|
|
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
Multiple values are accepted.
|
|
`,exception:Ct=>typeof Ct=="string"||typeof Ct=="object",cliName:"plugin-search-dir",cliCategory:ot},printWidth:{since:"0.0.0",category:Zt,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:Kr,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:st`
|
|
Format code ending at a given character offset (exclusive).
|
|
The range will extend forwards to the end of the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`,cliCategory:At},rangeStart:{since:"1.4.0",category:Kr,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:st`
|
|
Format code starting at a given character offset.
|
|
The range will extend backwards to the start of the first line containing the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`,cliCategory:At},requirePragma:{since:"1.7.0",category:Kr,type:"boolean",default:!1,description:st`
|
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
in order for it to be formatted.
|
|
`,cliCategory:at},tabWidth:{type:"int",category:Zt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Zt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Zt,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."}]}};Ie.exports={CATEGORY_CONFIG:ot,CATEGORY_EDITOR:At,CATEGORY_FORMAT:Xe,CATEGORY_OTHER:at,CATEGORY_OUTPUT:Mt,CATEGORY_GLOBAL:Zt,CATEGORY_SPECIAL:Kr,options:nt}}}),wa=Ye({"src/main/support.js"(ee,Ie){Oe();var st={compare:Ws(),lt:po(),gte:ml()},ot=gl(),At=Pu().version,Xe=tu().options;function at(){let{plugins:Zt=[],showUnreleased:Kr=!1,showDeprecated:nt=!1,showInternal:Ct=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Rt=At.split("-",1)[0],ir=Zt.flatMap(Lr=>Lr.languages||[]).filter(cr),Kt=ot(Object.assign({},...Zt.map(Lr=>{let{options:$n}=Lr;return $n}),Xe),"name").filter(Lr=>cr(Lr)&&en(Lr)).sort((Lr,$n)=>Lr.name===$n.name?0:Lr.name<$n.name?-1:1).map(In).map(Lr=>{Lr=Object.assign({},Lr),Array.isArray(Lr.default)&&(Lr.default=Lr.default.length===1?Lr.default[0].value:Lr.default.filter(cr).sort((Hn,ts)=>st.compare(ts.since,Hn.since))[0].value),Array.isArray(Lr.choices)&&(Lr.choices=Lr.choices.filter(Hn=>cr(Hn)&&en(Hn)),Lr.name==="parser"&&Mt(Lr,ir,Zt));let $n=Object.fromEntries(Zt.filter(Hn=>Hn.defaultOptions&&Hn.defaultOptions[Lr.name]!==void 0).map(Hn=>[Hn.name,Hn.defaultOptions[Lr.name]]));return Object.assign(Object.assign({},Lr),{},{pluginDefaults:$n})});return{languages:ir,options:Kt};function cr(Lr){return Kr||!("since"in Lr)||Lr.since&&st.gte(Rt,Lr.since)}function en(Lr){return nt||!("deprecated"in Lr)||Lr.deprecated&&st.lt(Rt,Lr.deprecated)}function In(Lr){return Ct?Lr:Ze(Lr,_e)}}function Mt(Zt,Kr,nt){let Ct=new Set(Zt.choices.map(Rt=>Rt.value));for(let Rt of Kr)if(Rt.parsers){for(let ir of Rt.parsers)if(!Ct.has(ir)){Ct.add(ir);let Kt=nt.find(en=>en.parsers&&en.parsers[ir]),cr=Rt.name;Kt&&Kt.name&&(cr+=` (plugin: ${Kt.name})`),Zt.choices.push({value:ir,description:cr})}}}Ie.exports={getSupportInfo:at}}}),Gl=Ye({"src/utils/is-non-empty-array.js"(ee,Ie){Oe();function st(ot){return Array.isArray(ot)&&ot.length>0}Ie.exports=st}});function Hl(){let{onlyFirst:ee=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ie=["[\\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(Ie,ee?void 0:"g")}var Ln=ht({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Oe()}});function Ol(ee){if(typeof ee!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof ee}\``);return ee.replace(Hl(),"")}var Jl=ht({"node_modules/strip-ansi/index.js"(){Oe(),Ln()}});function Kl(ee){return Number.isInteger(ee)?ee>=4352&&(ee<=4447||ee===9001||ee===9002||11904<=ee&&ee<=12871&&ee!==12351||12880<=ee&&ee<=19903||19968<=ee&&ee<=42182||43360<=ee&&ee<=43388||44032<=ee&&ee<=55203||63744<=ee&&ee<=64255||65040<=ee&&ee<=65049||65072<=ee&&ee<=65131||65281<=ee&&ee<=65376||65504<=ee&&ee<=65510||110592<=ee&&ee<=110593||127488<=ee&&ee<=127569||131072<=ee&&ee<=262141):!1}var Dl=ht({"node_modules/is-fullwidth-code-point/index.js"(){Oe()}}),Tu=Ye({"node_modules/emoji-regex/index.js"(ee,Ie){Oe(),Ie.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}}}),xl={};xt(xl,{default:()=>Uc});function Uc(ee){if(typeof ee!="string"||ee.length===0||(ee=Ol(ee),ee.length===0))return 0;ee=ee.replace((0,ec.default)()," ");let Ie=0;for(let st=0;st<ee.length;st++){let ot=ee.codePointAt(st);ot<=31||ot>=127&&ot<=159||ot>=768&&ot<=879||(ot>65535&&st++,Ie+=Kl(ot)?2:1)}return Ie}var ec,tc=ht({"node_modules/string-width/index.js"(){Oe(),Jl(),Dl(),ec=Jt(Tu())}}),ma=Ye({"src/utils/get-string-width.js"(ee,Ie){Oe();var st=(tc(),yr(xl)).default,ot=/[^\x20-\x7F]/;function At(Xe){return Xe?ot.test(Xe)?st(Xe):Xe.length:0}Ie.exports=At}}),ku=Ye({"src/utils/text/skip.js"(ee,Ie){Oe();function st(Mt){return(Zt,Kr,nt)=>{let Ct=nt&&nt.backwards;if(Kr===!1)return!1;let{length:Rt}=Zt,ir=Kr;for(;ir>=0&&ir<Rt;){let Kt=Zt.charAt(ir);if(Mt instanceof RegExp){if(!Mt.test(Kt))return ir}else if(!Mt.includes(Kt))return ir;Ct?ir--:ir++}return ir===-1||ir===Rt?ir:!1}}var ot=st(/\s/),At=st(" "),Xe=st(",; "),at=st(/[^\n\r]/);Ie.exports={skipWhitespace:ot,skipSpaces:At,skipToLineEnd:Xe,skipEverythingButNewLine:at}}}),ga=Ye({"src/utils/text/skip-inline-comment.js"(ee,Ie){Oe();function st(ot,At){if(At===!1)return!1;if(ot.charAt(At)==="/"&&ot.charAt(At+1)==="*"){for(let Xe=At+2;Xe<ot.length;++Xe)if(ot.charAt(Xe)==="*"&&ot.charAt(Xe+1)==="/")return Xe+2}return At}Ie.exports=st}}),rc=Ye({"src/utils/text/skip-trailing-comment.js"(ee,Ie){Oe();var{skipEverythingButNewLine:st}=ku();function ot(At,Xe){return Xe===!1?!1:At.charAt(Xe)==="/"&&At.charAt(Xe+1)==="/"?st(At,Xe):Xe}Ie.exports=ot}}),nc=Ye({"src/utils/text/skip-newline.js"(ee,Ie){Oe();function st(ot,At,Xe){let at=Xe&&Xe.backwards;if(At===!1)return!1;let Mt=ot.charAt(At);if(at){if(ot.charAt(At-1)==="\r"&&Mt===`
|
|
`)return At-2;if(Mt===`
|
|
`||Mt==="\r"||Mt==="\u2028"||Mt==="\u2029")return At-1}else{if(Mt==="\r"&&ot.charAt(At+1)===`
|
|
`)return At+2;if(Mt===`
|
|
`||Mt==="\r"||Mt==="\u2028"||Mt==="\u2029")return At+1}return At}Ie.exports=st}}),Wc=Ye({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ee,Ie){Oe();var st=ga(),ot=nc(),At=rc(),{skipSpaces:Xe}=ku();function at(Mt,Zt){let Kr=null,nt=Zt;for(;nt!==Kr;)Kr=nt,nt=Xe(Mt,nt),nt=st(Mt,nt),nt=At(Mt,nt),nt=ot(Mt,nt);return nt}Ie.exports=at}}),Fu=Ye({"src/common/util.js"(ee,Ie){Oe();var{default:st}=(co(),yr(qo)),ot=xs(),{getSupportInfo:At}=wa(),Xe=Gl(),at=ma(),{skipWhitespace:Mt,skipSpaces:Zt,skipToLineEnd:Kr,skipEverythingButNewLine:nt}=ku(),Ct=ga(),Rt=rc(),ir=nc(),Kt=Wc(),cr=Qe=>Qe[Qe.length-2];function en(Qe){return(nn,Fn,vn)=>{let mi=vn&&vn.backwards;if(Fn===!1)return!1;let{length:rs}=nn,us=Fn;for(;us>=0&&us<rs;){let Wi=nn.charAt(us);if(Qe instanceof RegExp){if(!Qe.test(Wi))return us}else if(!Qe.includes(Wi))return us;mi?us--:us++}return us===-1||us===rs?us:!1}}function In(Qe,nn){let Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vn=Zt(Qe,Fn.backwards?nn-1:nn,Fn),mi=ir(Qe,vn,Fn);return vn!==mi}function Lr(Qe,nn,Fn){for(let vn=nn;vn<Fn;++vn)if(Qe.charAt(vn)===`
|
|
`)return!0;return!1}function $n(Qe,nn,Fn){let vn=Fn(nn)-1;vn=Zt(Qe,vn,{backwards:!0}),vn=ir(Qe,vn,{backwards:!0}),vn=Zt(Qe,vn,{backwards:!0});let mi=ir(Qe,vn,{backwards:!0});return vn!==mi}function Hn(Qe,nn){let Fn=null,vn=nn;for(;vn!==Fn;)Fn=vn,vn=Kr(Qe,vn),vn=Ct(Qe,vn),vn=Zt(Qe,vn);return vn=Rt(Qe,vn),vn=ir(Qe,vn),vn!==!1&&In(Qe,vn)}function ts(Qe,nn,Fn){return Hn(Qe,Fn(nn))}function Sr(Qe,nn,Fn){return Kt(Qe,Fn(nn))}function Un(Qe,nn,Fn){return Qe.charAt(Sr(Qe,nn,Fn))}function Zn(Qe,nn){let Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Zt(Qe,Fn.backwards?nn-1:nn,Fn)!==nn}function Oi(Qe,nn){let Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,vn=0;for(let mi=Fn;mi<Qe.length;++mi)Qe[mi]===" "?vn=vn+nn-vn%nn:vn++;return vn}function Ai(Qe,nn){let Fn=Qe.lastIndexOf(`
|
|
`);return Fn===-1?0:Oi(Qe.slice(Fn+1).match(/^[\t ]*/)[0],nn)}function Ne(Qe,nn){let Fn={quote:'"',regex:/"/g,escaped:"""},vn={quote:"'",regex:/'/g,escaped:"'"},mi=nn==="'"?vn:Fn,rs=mi===vn?Fn:vn,us=mi;if(Qe.includes(mi.quote)||Qe.includes(rs.quote)){let Wi=(Qe.match(mi.regex)||[]).length,xo=(Qe.match(rs.regex)||[]).length;us=Wi>xo?rs:mi}return us}function it(Qe,nn){let Fn=Qe.slice(1,-1),vn=nn.parser==="json"||nn.parser==="json5"&&nn.quoteProps==="preserve"&&!nn.singleQuote?'"':nn.__isInHtmlAttribute?"'":Ne(Fn,nn.singleQuote?"'":'"').quote;return rr(Fn,vn,!(nn.parser==="css"||nn.parser==="less"||nn.parser==="scss"||nn.__embeddedInHtml))}function rr(Qe,nn,Fn){let vn=nn==='"'?"'":'"',mi=/\\(.)|(["'])/gs,rs=Qe.replace(mi,(us,Wi,xo)=>Wi===vn?Wi:xo===nn?"\\"+xo:xo||(Fn&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Wi)?Wi:"\\"+Wi));return nn+rs+nn}function Lt(Qe){return Qe.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function Ir(Qe,nn){let Fn=Qe.match(new RegExp(`(${st(nn)})+`,"g"));return Fn===null?0:Fn.reduce((vn,mi)=>Math.max(vn,mi.length/nn.length),0)}function vi(Qe,nn){let Fn=Qe.match(new RegExp(`(${st(nn)})+`,"g"));if(Fn===null)return 0;let vn=new Map,mi=0;for(let rs of Fn){let us=rs.length/nn.length;vn.set(us,!0),us>mi&&(mi=us)}for(let rs=1;rs<mi;rs++)if(!vn.get(rs))return rs;return mi+1}function Ji(Qe,nn){(Qe.comments||(Qe.comments=[])).push(nn),nn.printed=!1,nn.nodeDescription=Ui(Qe)}function Gs(Qe,nn){nn.leading=!0,nn.trailing=!1,Ji(Qe,nn)}function Bs(Qe,nn,Fn){nn.leading=!1,nn.trailing=!1,Fn&&(nn.marker=Fn),Ji(Qe,nn)}function fo(Qe,nn){nn.leading=!1,nn.trailing=!0,Ji(Qe,nn)}function mo(Qe,nn){let{languages:Fn}=At({plugins:nn.plugins}),vn=Fn.find(mi=>{let{name:rs}=mi;return rs.toLowerCase()===Qe})||Fn.find(mi=>{let{aliases:rs}=mi;return Array.isArray(rs)&&rs.includes(Qe)})||Fn.find(mi=>{let{extensions:rs}=mi;return Array.isArray(rs)&&rs.includes(`.${Qe}`)});return vn&&vn.parsers[0]}function Po(Qe){return Qe&&Qe.type==="front-matter"}function To(Qe){let nn=new WeakMap;return function(Fn){return nn.has(Fn)||nn.set(Fn,Symbol(Qe)),nn.get(Fn)}}function Ui(Qe){let nn=Qe.type||Qe.kind||"(unknown type)",Fn=String(Qe.name||Qe.id&&(typeof Qe.id=="object"?Qe.id.name:Qe.id)||Qe.key&&(typeof Qe.key=="object"?Qe.key.name:Qe.key)||Qe.value&&(typeof Qe.value=="object"?"":String(Qe.value))||Qe.operator||"");return Fn.length>20&&(Fn=Fn.slice(0,19)+"…"),nn+(Fn?" "+Fn:"")}Ie.exports={inferParserByLanguage:mo,getStringWidth:at,getMaxContinuousCount:Ir,getMinNotPresentContinuousCount:vi,getPenultimate:cr,getLast:ot,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Kt,getNextNonSpaceNonCommentCharacterIndex:Sr,getNextNonSpaceNonCommentCharacter:Un,skip:en,skipWhitespace:Mt,skipSpaces:Zt,skipToLineEnd:Kr,skipEverythingButNewLine:nt,skipInlineComment:Ct,skipTrailingComment:Rt,skipNewline:ir,isNextLineEmptyAfterIndex:Hn,isNextLineEmpty:ts,isPreviousLineEmpty:$n,hasNewline:In,hasNewlineInRange:Lr,hasSpaces:Zn,getAlignmentSize:Oi,getIndentSize:Ai,getPreferredQuote:Ne,printString:it,printNumber:Lt,makeString:rr,addLeadingComment:Gs,addDanglingComment:Bs,addTrailingComment:fo,isFrontMatterNode:Po,isNonEmptyArray:Xe,createGroupIdMapper:To}}}),Bu=Ye({"vendors/html-tag-names.json"(ee,Ie){Ie.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"]}}}),ho=Ye({"src/language-html/utils/array-to-map.js"(ee,Ie){Oe();function st(ot){let At=Object.create(null);for(let Xe of ot)At[Xe]=!0;return At}Ie.exports=st}}),zo=Ye({"src/language-html/utils/html-tag-names.js"(ee,Ie){Oe();var{htmlTagNames:st}=Bu(),ot=ho(),At=ot(st);Ie.exports=At}}),Yo=Ye({"vendors/html-element-attributes.json"(ee,Ie){Ie.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"]}}}}),No=Ye({"src/language-html/utils/map-object.js"(ee,Ie){Oe();function st(ot,At){let Xe=Object.create(null);for(let[at,Mt]of Object.entries(ot))Xe[at]=At(Mt,at);return Xe}Ie.exports=st}}),wo=Ye({"src/language-html/utils/html-elements-attributes.js"(ee,Ie){Oe();var{htmlElementAttributes:st}=Yo(),ot=No(),At=ho(),Xe=ot(st,At);Ie.exports=Xe}}),pi=Ye({"src/language-html/utils/is-unknown-namespace.js"(ee,Ie){Oe();function st(ot){return ot.type==="element"&&!ot.hasExplicitNamespace&&!["html","svg"].includes(ot.namespace)}Ie.exports=st}}),Pa=Ye({"src/language-html/pragma.js"(ee,Ie){Oe();function st(At){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(At)}function ot(At){return`<!-- @format -->
|
|
|
|
`+At.replace(/^\s*\n/,"")}Ie.exports={hasPragma:st,insertPragma:ot}}}),bl=Ye({"src/language-html/ast.js"(ee,Ie){Oe();var st={attrs:!0,children:!0},ot=new Set(["parent"]),At=class{constructor(){let at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Mt of new Set([...ot,...Object.keys(at)]))this.setProperty(Mt,at[Mt])}setProperty(at,Mt){if(this[at]!==Mt){if(at in st&&(Mt=Mt.map(Zt=>this.createChild(Zt))),!ot.has(at)){this[at]=Mt;return}Object.defineProperty(this,at,{value:Mt,enumerable:!1,configurable:!0})}}map(at){let Mt;for(let Zt in st){let Kr=this[Zt];if(Kr){let nt=Xe(Kr,Ct=>Ct.map(at));Mt!==Kr&&(Mt||(Mt=new At({parent:this.parent})),Mt.setProperty(Zt,nt))}}if(Mt)for(let Zt in this)Zt in st||(Mt[Zt]=this[Zt]);return at(Mt||this)}walk(at){for(let Mt in st){let Zt=this[Mt];if(Zt)for(let Kr=0;Kr<Zt.length;Kr++)Zt[Kr].walk(at)}at(this)}createChild(at){let Mt=at instanceof At?at.clone():new At(at);return Mt.setProperty("parent",this),Mt}insertChildBefore(at,Mt){this.children.splice(this.children.indexOf(at),0,this.createChild(Mt))}removeChild(at){this.children.splice(this.children.indexOf(at),1)}replaceChild(at,Mt){this.children[this.children.indexOf(at)]=this.createChild(Mt)}clone(){return new At(this)}get firstChild(){var at;return(at=this.children)===null||at===void 0?void 0:at[0]}get lastChild(){var at;return(at=this.children)===null||at===void 0?void 0:at[this.children.length-1]}get prev(){var at;return(at=this.parent)===null||at===void 0?void 0:at.children[this.parent.children.indexOf(this)-1]}get next(){var at;return(at=this.parent)===null||at===void 0?void 0:at.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(at=>[at.fullName,at.value]))}};function Xe(at,Mt){let Zt=at.map(Mt);return Zt.some((Kr,nt)=>Kr!==at[nt])?Zt:at}Ie.exports={Node:At}}}),ru=Ye({"src/language-html/conditional-comment.js"(ee,Ie){Oe();var{ParseSourceSpan:st}=zi(),ot=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:Xe},{regex:/^\[if([^\]]*)]><!$/,parse:at},{regex:/^<!\s*\[endif]$/,parse:Mt}];function At(Zt,Kr){if(Zt.value)for(let{regex:nt,parse:Ct}of ot){let Rt=Zt.value.match(nt);if(Rt)return Ct(Zt,Kr,Rt)}return null}function Xe(Zt,Kr,nt){let[,Ct,Rt,ir]=nt,Kt=4+Ct.length,cr=Zt.sourceSpan.start.moveBy(Kt),en=cr.moveBy(ir.length),[In,Lr]=(()=>{try{return[!0,Kr(ir,cr).children]}catch{return[!1,[{type:"text",value:ir,sourceSpan:new st(cr,en)}]]}})();return{type:"ieConditionalComment",complete:In,children:Lr,condition:Rt.trim().replace(/\s+/g," "),sourceSpan:Zt.sourceSpan,startSourceSpan:new st(Zt.sourceSpan.start,cr),endSourceSpan:new st(en,Zt.sourceSpan.end)}}function at(Zt,Kr,nt){let[,Ct]=nt;return{type:"ieConditionalStartComment",condition:Ct.trim().replace(/\s+/g," "),sourceSpan:Zt.sourceSpan}}function Mt(Zt){return{type:"ieConditionalEndComment",sourceSpan:Zt.sourceSpan}}Ie.exports={parseIeConditionalComment:At}}}),_u=Ye({"src/language-html/loc.js"(ee,Ie){Oe();function st(At){return At.sourceSpan.start.offset}function ot(At){return At.sourceSpan.end.offset}Ie.exports={locStart:st,locEnd:ot}}}),Ta=Ye({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0}),function(Mt){Mt[Mt.RAW_TEXT=0]="RAW_TEXT",Mt[Mt.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",Mt[Mt.PARSABLE_DATA=2]="PARSABLE_DATA"}(ee.TagContentType||(ee.TagContentType={}));function Ie(Mt){if(Mt[0]!=":")return[null,Mt];let Zt=Mt.indexOf(":",1);if(Zt==-1)throw new Error(`Unsupported format "${Mt}" expecting ":namespace:name"`);return[Mt.slice(1,Zt),Mt.slice(Zt+1)]}ee.splitNsName=Ie;function st(Mt){return Ie(Mt)[1]==="ng-container"}ee.isNgContainer=st;function ot(Mt){return Ie(Mt)[1]==="ng-content"}ee.isNgContent=ot;function At(Mt){return Ie(Mt)[1]==="ng-template"}ee.isNgTemplate=At;function Xe(Mt){return Mt===null?null:Ie(Mt)[0]}ee.getNsPrefix=Xe;function at(Mt,Zt){return Mt?`:${Mt}:${Zt}`:Zt}ee.mergeNsAndName=at,ee.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},ee.NGSP_UNICODE="",ee.NAMED_ENTITIES.ngsp=ee.NGSP_UNICODE}}),$u=Ye({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=Ta(),st=class{constructor(){let{closedByChildren:at,implicitNamespacePrefix:Mt,contentType:Zt=Ie.TagContentType.PARSABLE_DATA,closedByParent:Kr=!1,isVoid:nt=!1,ignoreFirstLf:Ct=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,at&&at.length>0&&at.forEach(Rt=>this.closedByChildren[Rt]=!0),this.isVoid=nt,this.closedByParent=Kr||nt,this.implicitNamespacePrefix=Mt||null,this.contentType=Zt,this.ignoreFirstLf=Ct}isClosedByChild(at){return this.isVoid||at.toLowerCase()in this.closedByChildren}};ee.HtmlTagDefinition=st;var ot,At;function Xe(at){return At||(ot=new st,At={base:new st({isVoid:!0}),meta:new st({isVoid:!0}),area:new st({isVoid:!0}),embed:new st({isVoid:!0}),link:new st({isVoid:!0}),img:new st({isVoid:!0}),input:new st({isVoid:!0}),param:new st({isVoid:!0}),hr:new st({isVoid:!0}),br:new st({isVoid:!0}),source:new st({isVoid:!0}),track:new st({isVoid:!0}),wbr:new st({isVoid:!0}),p:new st({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 st({closedByChildren:["tbody","tfoot"]}),tbody:new st({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new st({closedByChildren:["tbody"],closedByParent:!0}),tr:new st({closedByChildren:["tr"],closedByParent:!0}),td:new st({closedByChildren:["td","th"],closedByParent:!0}),th:new st({closedByChildren:["td","th"],closedByParent:!0}),col:new st({isVoid:!0}),svg:new st({implicitNamespacePrefix:"svg"}),math:new st({implicitNamespacePrefix:"math"}),li:new st({closedByChildren:["li"],closedByParent:!0}),dt:new st({closedByChildren:["dt","dd"]}),dd:new st({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new st({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new st({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new st({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new st({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new st({closedByChildren:["optgroup"],closedByParent:!0}),option:new st({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new st({ignoreFirstLf:!0}),listing:new st({ignoreFirstLf:!0}),style:new st({contentType:Ie.TagContentType.RAW_TEXT}),script:new st({contentType:Ie.TagContentType.RAW_TEXT}),title:new st({contentType:Ie.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new st({contentType:Ie.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),At[at]||ot}ee.getHtmlTagDefinition=Xe}}),Nu=Ye({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=class{constructor(st){let ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=st,this.position=ot}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(st){return st&&this.path[this.path.indexOf(st)-1]}childOf(st){return this.path[this.path.indexOf(st)+1]}first(st){for(let ot=this.path.length-1;ot>=0;ot--){let At=this.path[ot];if(At instanceof st)return At}}push(st){this.path.push(st)}pop(){return this.path.pop()}};ee.AstPath=Ie}}),nu=Ye({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=Nu(),st=class{constructor(Kt,cr,en){this.value=Kt,this.sourceSpan=cr,this.i18n=en,this.type="text"}visit(Kt,cr){return Kt.visitText(this,cr)}};ee.Text=st;var ot=class{constructor(Kt,cr){this.value=Kt,this.sourceSpan=cr,this.type="cdata"}visit(Kt,cr){return Kt.visitCdata(this,cr)}};ee.CDATA=ot;var At=class{constructor(Kt,cr,en,In,Lr,$n){this.switchValue=Kt,this.type=cr,this.cases=en,this.sourceSpan=In,this.switchValueSourceSpan=Lr,this.i18n=$n}visit(Kt,cr){return Kt.visitExpansion(this,cr)}};ee.Expansion=At;var Xe=class{constructor(Kt,cr,en,In,Lr){this.value=Kt,this.expression=cr,this.sourceSpan=en,this.valueSourceSpan=In,this.expSourceSpan=Lr}visit(Kt,cr){return Kt.visitExpansionCase(this,cr)}};ee.ExpansionCase=Xe;var at=class{constructor(Kt,cr,en){let In=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Lr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,$n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=Kt,this.value=cr,this.sourceSpan=en,this.valueSpan=In,this.nameSpan=Lr,this.i18n=$n,this.type="attribute"}visit(Kt,cr){return Kt.visitAttribute(this,cr)}};ee.Attribute=at;var Mt=class{constructor(Kt,cr,en,In){let Lr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,$n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,Hn=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,ts=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=Kt,this.attrs=cr,this.children=en,this.sourceSpan=In,this.startSourceSpan=Lr,this.endSourceSpan=$n,this.nameSpan=Hn,this.i18n=ts,this.type="element"}visit(Kt,cr){return Kt.visitElement(this,cr)}};ee.Element=Mt;var Zt=class{constructor(Kt,cr){this.value=Kt,this.sourceSpan=cr,this.type="comment"}visit(Kt,cr){return Kt.visitComment(this,cr)}};ee.Comment=Zt;var Kr=class{constructor(Kt,cr){this.value=Kt,this.sourceSpan=cr,this.type="docType"}visit(Kt,cr){return Kt.visitDocType(this,cr)}};ee.DocType=Kr;function nt(Kt,cr){let en=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,In=[],Lr=Kt.visit?$n=>Kt.visit($n,en)||$n.visit(Kt,en):$n=>$n.visit(Kt,en);return cr.forEach($n=>{let Hn=Lr($n);Hn&&In.push(Hn)}),In}ee.visitAll=nt;var Ct=class{constructor(){}visitElement(Kt,cr){this.visitChildren(cr,en=>{en(Kt.attrs),en(Kt.children)})}visitAttribute(Kt,cr){}visitText(Kt,cr){}visitCdata(Kt,cr){}visitComment(Kt,cr){}visitDocType(Kt,cr){}visitExpansion(Kt,cr){return this.visitChildren(cr,en=>{en(Kt.cases)})}visitExpansionCase(Kt,cr){}visitChildren(Kt,cr){let en=[],In=this;function Lr($n){$n&&en.push(nt(In,$n,Kt))}return cr(Lr),Array.prototype.concat.apply([],en)}};ee.RecursiveVisitor=Ct;function Rt(Kt){let cr=Kt.sourceSpan.start.offset,en=Kt.sourceSpan.end.offset;return Kt instanceof Mt&&(Kt.endSourceSpan?en=Kt.endSourceSpan.end.offset:Kt.children&&Kt.children.length&&(en=Rt(Kt.children[Kt.children.length-1]).end)),{start:cr,end:en}}function ir(Kt,cr){let en=[],In=new class extends Ct{visit(Lr,$n){let Hn=Rt(Lr);if(Hn.start<=cr&&cr<Hn.end)en.push(Lr);else return!0}};return nt(In,Kt),new Ie.AstPath(en,cr)}ee.findNode=ir}}),Iu=Ye({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});function Ie(At,Xe){if(Xe!=null){if(!Array.isArray(Xe))throw new Error(`Expected '${At}' to be an array of strings.`);for(let at=0;at<Xe.length;at+=1)if(typeof Xe[at]!="string")throw new Error(`Expected '${At}' to be an array of strings.`)}}ee.assertArrayOfStrings=Ie;var st=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function ot(At,Xe){if(Xe!=null&&!(Array.isArray(Xe)&&Xe.length==2))throw new Error(`Expected '${At}' to be an array, [start, end].`);if(Xe!=null){let at=Xe[0],Mt=Xe[1];st.forEach(Zt=>{if(Zt.test(at)||Zt.test(Mt))throw new Error(`['${at}', '${Mt}'] contains unusable interpolation symbol.`)})}}ee.assertInterpolationSymbols=ot}}),vl=Ye({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=Iu(),st=class{constructor(ot,At){this.start=ot,this.end=At}static fromArray(ot){return ot?(Ie.assertInterpolationSymbols("interpolation",ot),new st(ot[0],ot[1])):ee.DEFAULT_INTERPOLATION_CONFIG}};ee.InterpolationConfig=st,ee.DEFAULT_INTERPOLATION_CONFIG=new st("{{","}}")}}),xn=Ye({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=un(),st=zi(),ot=vl(),At=Ta(),Xe;(function(Ne){Ne[Ne.TAG_OPEN_START=0]="TAG_OPEN_START",Ne[Ne.TAG_OPEN_END=1]="TAG_OPEN_END",Ne[Ne.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",Ne[Ne.TAG_CLOSE=3]="TAG_CLOSE",Ne[Ne.TEXT=4]="TEXT",Ne[Ne.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",Ne[Ne.RAW_TEXT=6]="RAW_TEXT",Ne[Ne.COMMENT_START=7]="COMMENT_START",Ne[Ne.COMMENT_END=8]="COMMENT_END",Ne[Ne.CDATA_START=9]="CDATA_START",Ne[Ne.CDATA_END=10]="CDATA_END",Ne[Ne.ATTR_NAME=11]="ATTR_NAME",Ne[Ne.ATTR_QUOTE=12]="ATTR_QUOTE",Ne[Ne.ATTR_VALUE=13]="ATTR_VALUE",Ne[Ne.DOC_TYPE_START=14]="DOC_TYPE_START",Ne[Ne.DOC_TYPE_END=15]="DOC_TYPE_END",Ne[Ne.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",Ne[Ne.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",Ne[Ne.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",Ne[Ne.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",Ne[Ne.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",Ne[Ne.EOF=21]="EOF"})(Xe=ee.TokenType||(ee.TokenType={}));var at=class{constructor(Ne,it,rr){this.type=Ne,this.parts=it,this.sourceSpan=rr}};ee.Token=at;var Mt=class extends st.ParseError{constructor(Ne,it,rr){super(rr,Ne),this.tokenType=it}};ee.TokenError=Mt;var Zt=class{constructor(Ne,it){this.tokens=Ne,this.errors=it}};ee.TokenizeResult=Zt;function Kr(Ne,it,rr){let Lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new Kt(new st.ParseSourceFile(Ne,it),rr,Lt).tokenize()}ee.tokenize=Kr;var nt=/\r\n?/g;function Ct(Ne){return`Unexpected character "${Ne===Ie.$EOF?"EOF":String.fromCharCode(Ne)}"`}function Rt(Ne){return`Unknown entity "${Ne}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var ir=class{constructor(Ne){this.error=Ne}},Kt=class{constructor(Ne,it,rr){this._getTagContentType=it,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=rr.tokenizeExpansionForms||!1,this._interpolationConfig=rr.interpolationConfig||ot.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=rr.leadingTriviaChars&&rr.leadingTriviaChars.map(Ir=>Ir.codePointAt(0)||0),this._canSelfClose=rr.canSelfClose||!1,this._allowHtmComponentClosingTags=rr.allowHtmComponentClosingTags||!1;let Lt=rr.range||{endPos:Ne.content.length,startPos:0,startLine:0,startCol:0};this._cursor=rr.escapedString?new Oi(Ne,Lt):new Zn(Ne,Lt);try{this._cursor.init()}catch(Ir){this.handleError(Ir)}}_processCarriageReturns(Ne){return Ne.replace(nt,`
|
|
`)}tokenize(){for(;this._cursor.peek()!==Ie.$EOF;){let Ne=this._cursor.clone();try{if(this._attemptCharCode(Ie.$LT))if(this._attemptCharCode(Ie.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(Ne):this._attemptStr("--")?this._consumeComment(Ne):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(Ne):this._consumeBogusComment(Ne);else if(this._attemptCharCode(Ie.$SLASH))this._consumeTagClose(Ne);else{let it=this._cursor.clone();this._attemptCharCode(Ie.$QUESTION)?(this._cursor=it,this._consumeBogusComment(Ne)):this._consumeTagOpen(Ne)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(it){this.handleError(it)}}return this._beginToken(Xe.EOF),this._endToken([]),new Zt(Un(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Hn(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Ie.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(Ne){let it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=it,this._currentTokenType=Ne}_endToken(Ne){let it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new Mt("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(it));if(this._currentTokenType===null)throw new Mt("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let rr=new at(this._currentTokenType,Ne,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(rr),this._currentTokenStart=null,this._currentTokenType=null,rr}_createError(Ne,it){this._isInExpansionForm()&&(Ne+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let rr=new Mt(Ne,this._currentTokenType,it);return this._currentTokenStart=null,this._currentTokenType=null,new ir(rr)}handleError(Ne){if(Ne instanceof Ai&&(Ne=this._createError(Ne.msg,this._cursor.getSpan(Ne.cursor))),Ne instanceof ir)this.errors.push(Ne.error);else throw Ne}_attemptCharCode(Ne){return this._cursor.peek()===Ne?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(Ne){return ts(this._cursor.peek(),Ne)?(this._cursor.advance(),!0):!1}_requireCharCode(Ne){let it=this._cursor.clone();if(!this._attemptCharCode(Ne))throw this._createError(Ct(this._cursor.peek()),this._cursor.getSpan(it))}_attemptStr(Ne){let it=Ne.length;if(this._cursor.charsLeft()<it)return!1;let rr=this._cursor.clone();for(let Lt=0;Lt<it;Lt++)if(!this._attemptCharCode(Ne.charCodeAt(Lt)))return this._cursor=rr,!1;return!0}_attemptStrCaseInsensitive(Ne){for(let it=0;it<Ne.length;it++)if(!this._attemptCharCodeCaseInsensitive(Ne.charCodeAt(it)))return!1;return!0}_requireStr(Ne){let it=this._cursor.clone();if(!this._attemptStr(Ne))throw this._createError(Ct(this._cursor.peek()),this._cursor.getSpan(it))}_requireStrCaseInsensitive(Ne){let it=this._cursor.clone();if(!this._attemptStrCaseInsensitive(Ne))throw this._createError(Ct(this._cursor.peek()),this._cursor.getSpan(it))}_attemptCharCodeUntilFn(Ne){for(;!Ne(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(Ne,it){let rr=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ne),this._cursor.clone().diff(rr)<it)throw this._createError(Ct(this._cursor.peek()),this._cursor.getSpan(rr))}_attemptUntilChar(Ne){for(;this._cursor.peek()!==Ne;)this._cursor.advance()}_readChar(Ne){if(Ne&&this._cursor.peek()===Ie.$AMPERSAND)return this._decodeEntity();{let it=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),it}}_decodeEntity(){let Ne=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(Ie.$HASH)){let it=this._attemptCharCode(Ie.$x)||this._attemptCharCode(Ie.$X),rr=this._cursor.clone();if(this._attemptCharCodeUntilFn(Lr),this._cursor.peek()!=Ie.$SEMICOLON)throw this._createError(Ct(this._cursor.peek()),this._cursor.getSpan());let Lt=this._cursor.getChars(rr);this._cursor.advance();try{let Ir=parseInt(Lt,it?16:10);return String.fromCharCode(Ir)}catch{throw this._createError(Rt(this._cursor.getChars(Ne)),this._cursor.getSpan())}}else{let it=this._cursor.clone();if(this._attemptCharCodeUntilFn($n),this._cursor.peek()!=Ie.$SEMICOLON)return this._cursor=it,"&";let rr=this._cursor.getChars(it);this._cursor.advance();let Lt=At.NAMED_ENTITIES[rr];if(!Lt)throw this._createError(Rt(rr),this._cursor.getSpan(Ne));return Lt}}_consumeRawText(Ne,it){this._beginToken(Ne?Xe.ESCAPABLE_RAW_TEXT:Xe.RAW_TEXT);let rr=[];for(;;){let Lt=this._cursor.clone(),Ir=it();if(this._cursor=Lt,Ir)break;rr.push(this._readChar(Ne))}return this._endToken([this._processCarriageReturns(rr.join(""))])}_consumeComment(Ne){this._beginToken(Xe.COMMENT_START,Ne),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(Xe.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(Ne){this._beginToken(Xe.COMMENT_START,Ne),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Ie.$GT),this._beginToken(Xe.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(Ne){this._beginToken(Xe.CDATA_START,Ne),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(Xe.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(Ne){this._beginToken(Xe.DOC_TYPE_START,Ne),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Ie.$GT),this._beginToken(Xe.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let Ne=this._cursor.clone(),it="";for(;this._cursor.peek()!==Ie.$COLON&&!In(this._cursor.peek());)this._cursor.advance();let rr;this._cursor.peek()===Ie.$COLON?(it=this._cursor.getChars(Ne),this._cursor.advance(),rr=this._cursor.clone()):rr=Ne,this._requireCharCodeUntilFn(en,it===""?0:1);let Lt=this._cursor.getChars(rr);return[it,Lt]}_consumeTagOpen(Ne){let it,rr,Lt,Ir=this.tokens.length,vi=this._cursor.clone(),Ji=[];try{if(!Ie.isAsciiLetter(this._cursor.peek()))throw this._createError(Ct(this._cursor.peek()),this._cursor.getSpan(Ne));for(Lt=this._consumeTagOpenStart(Ne),rr=Lt.parts[0],it=Lt.parts[1],this._attemptCharCodeUntilFn(cr);this._cursor.peek()!==Ie.$SLASH&&this._cursor.peek()!==Ie.$GT;){let[Bs,fo]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(cr),this._attemptCharCode(Ie.$EQ)){this._attemptCharCodeUntilFn(cr);let mo=this._consumeAttributeValue();Ji.push({prefix:Bs,name:fo,value:mo})}else Ji.push({prefix:Bs,name:fo});this._attemptCharCodeUntilFn(cr)}this._consumeTagOpenEnd()}catch(Bs){if(Bs instanceof ir){this._cursor=vi,Lt&&(this.tokens.length=Ir),this._beginToken(Xe.TEXT,Ne),this._endToken(["<"]);return}throw Bs}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===Xe.TAG_OPEN_END_VOID)return;let Gs=this._getTagContentType(it,rr,this._fullNameStack.length>0,Ji);this._handleFullNameStackForTagOpen(rr,it),Gs===At.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(rr,it,!1):Gs===At.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(rr,it,!0)}_consumeRawTextWithTagClose(Ne,it,rr){this._consumeRawText(rr,()=>!this._attemptCharCode(Ie.$LT)||!this._attemptCharCode(Ie.$SLASH)||(this._attemptCharCodeUntilFn(cr),!this._attemptStrCaseInsensitive(Ne?`${Ne}:${it}`:it))?!1:(this._attemptCharCodeUntilFn(cr),this._attemptCharCode(Ie.$GT))),this._beginToken(Xe.TAG_CLOSE),this._requireCharCodeUntilFn(Lt=>Lt===Ie.$GT,3),this._cursor.advance(),this._endToken([Ne,it]),this._handleFullNameStackForTagClose(Ne,it)}_consumeTagOpenStart(Ne){this._beginToken(Xe.TAG_OPEN_START,Ne);let it=this._consumePrefixAndName();return this._endToken(it)}_consumeAttributeName(){let Ne=this._cursor.peek();if(Ne===Ie.$SQ||Ne===Ie.$DQ)throw this._createError(Ct(Ne),this._cursor.getSpan());this._beginToken(Xe.ATTR_NAME);let it=this._consumePrefixAndName();return this._endToken(it),it}_consumeAttributeValue(){let Ne;if(this._cursor.peek()===Ie.$SQ||this._cursor.peek()===Ie.$DQ){this._beginToken(Xe.ATTR_QUOTE);let it=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(it)]),this._beginToken(Xe.ATTR_VALUE);let rr=[];for(;this._cursor.peek()!==it;)rr.push(this._readChar(!0));Ne=this._processCarriageReturns(rr.join("")),this._endToken([Ne]),this._beginToken(Xe.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(it)])}else{this._beginToken(Xe.ATTR_VALUE);let it=this._cursor.clone();this._requireCharCodeUntilFn(en,1),Ne=this._processCarriageReturns(this._cursor.getChars(it)),this._endToken([Ne])}return Ne}_consumeTagOpenEnd(){let Ne=this._attemptCharCode(Ie.$SLASH)?Xe.TAG_OPEN_END_VOID:Xe.TAG_OPEN_END;this._beginToken(Ne),this._requireCharCode(Ie.$GT),this._endToken([])}_consumeTagClose(Ne){if(this._beginToken(Xe.TAG_CLOSE,Ne),this._attemptCharCodeUntilFn(cr),this._allowHtmComponentClosingTags&&this._attemptCharCode(Ie.$SLASH))this._attemptCharCodeUntilFn(cr),this._requireCharCode(Ie.$GT),this._endToken([]);else{let[it,rr]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(cr),this._requireCharCode(Ie.$GT),this._endToken([it,rr]),this._handleFullNameStackForTagClose(it,rr)}}_consumeExpansionFormStart(){this._beginToken(Xe.EXPANSION_FORM_START),this._requireCharCode(Ie.$LBRACE),this._endToken([]),this._expansionCaseStack.push(Xe.EXPANSION_FORM_START),this._beginToken(Xe.RAW_TEXT);let Ne=this._readUntil(Ie.$COMMA);this._endToken([Ne]),this._requireCharCode(Ie.$COMMA),this._attemptCharCodeUntilFn(cr),this._beginToken(Xe.RAW_TEXT);let it=this._readUntil(Ie.$COMMA);this._endToken([it]),this._requireCharCode(Ie.$COMMA),this._attemptCharCodeUntilFn(cr)}_consumeExpansionCaseStart(){this._beginToken(Xe.EXPANSION_CASE_VALUE);let Ne=this._readUntil(Ie.$LBRACE).trim();this._endToken([Ne]),this._attemptCharCodeUntilFn(cr),this._beginToken(Xe.EXPANSION_CASE_EXP_START),this._requireCharCode(Ie.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(cr),this._expansionCaseStack.push(Xe.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(Xe.EXPANSION_CASE_EXP_END),this._requireCharCode(Ie.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(cr),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(Xe.EXPANSION_FORM_END),this._requireCharCode(Ie.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let Ne=this._cursor.clone();this._beginToken(Xe.TEXT,Ne);let it=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(it.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(it.push(this._interpolationConfig.end),this._inInterpolation=!1):it.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(it.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===Ie.$LT||this._cursor.peek()===Ie.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===Ie.$RBRACE&&this._isInExpansionCase()))}_readUntil(Ne){let it=this._cursor.clone();return this._attemptUntilChar(Ne),this._cursor.getChars(it)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Xe.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Xe.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==Ie.$LBRACE)return!1;if(this._interpolationConfig){let Ne=this._cursor.clone(),it=this._attemptStr(this._interpolationConfig.start);return this._cursor=Ne,!it}return!0}_handleFullNameStackForTagOpen(Ne,it){let rr=At.mergeNsAndName(Ne,it);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===rr)&&this._fullNameStack.push(rr)}_handleFullNameStackForTagClose(Ne,it){let rr=At.mergeNsAndName(Ne,it);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===rr&&this._fullNameStack.pop()}};function cr(Ne){return!Ie.isWhitespace(Ne)||Ne===Ie.$EOF}function en(Ne){return Ie.isWhitespace(Ne)||Ne===Ie.$GT||Ne===Ie.$SLASH||Ne===Ie.$SQ||Ne===Ie.$DQ||Ne===Ie.$EQ}function In(Ne){return(Ne<Ie.$a||Ie.$z<Ne)&&(Ne<Ie.$A||Ie.$Z<Ne)&&(Ne<Ie.$0||Ne>Ie.$9)}function Lr(Ne){return Ne==Ie.$SEMICOLON||Ne==Ie.$EOF||!Ie.isAsciiHexDigit(Ne)}function $n(Ne){return Ne==Ie.$SEMICOLON||Ne==Ie.$EOF||!Ie.isAsciiLetter(Ne)}function Hn(Ne){return Ne===Ie.$EQ||Ie.isAsciiLetter(Ne)||Ie.isDigit(Ne)}function ts(Ne,it){return Sr(Ne)==Sr(it)}function Sr(Ne){return Ne>=Ie.$a&&Ne<=Ie.$z?Ne-Ie.$a+Ie.$A:Ne}function Un(Ne){let it=[],rr;for(let Lt=0;Lt<Ne.length;Lt++){let Ir=Ne[Lt];rr&&rr.type==Xe.TEXT&&Ir.type==Xe.TEXT?(rr.parts[0]+=Ir.parts[0],rr.sourceSpan.end=Ir.sourceSpan.end):(rr=Ir,it.push(rr))}return it}var Zn=class{constructor(Ne,it){if(Ne instanceof Zn)this.file=Ne.file,this.input=Ne.input,this.end=Ne.end,this.state=Object.assign({},Ne.state);else{if(!it)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=Ne,this.input=Ne.content,this.end=it.endPos,this.state={peek:-1,offset:it.startPos,line:it.startLine,column:it.startCol}}}clone(){return new Zn(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(Ne){return this.state.offset-Ne.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(Ne,it){if(Ne=Ne||this,it)for(Ne=Ne.clone();this.diff(Ne)>0&&it.indexOf(Ne.peek())!==-1;)Ne.advance();return new st.ParseSourceSpan(new st.ParseLocation(Ne.file,Ne.state.offset,Ne.state.line,Ne.state.column),new st.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(Ne){return this.input.substring(Ne.state.offset,this.state.offset)}charAt(Ne){return this.input.charCodeAt(Ne)}advanceState(Ne){if(Ne.offset>=this.end)throw this.state=Ne,new Ai('Unexpected character "EOF"',this);let it=this.charAt(Ne.offset);it===Ie.$LF?(Ne.line++,Ne.column=0):Ie.isNewLine(it)||Ne.column++,Ne.offset++,this.updatePeek(Ne)}updatePeek(Ne){Ne.peek=Ne.offset>=this.end?Ie.$EOF:this.charAt(Ne.offset)}},Oi=class extends Zn{constructor(Ne,it){Ne instanceof Oi?(super(Ne),this.internalState=Object.assign({},Ne.internalState)):(super(Ne,it),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Oi(this)}getChars(Ne){let it=Ne.clone(),rr="";for(;it.internalState.offset<this.internalState.offset;)rr+=String.fromCodePoint(it.peek()),it.advance();return rr}processEscapeSequence(){let Ne=()=>this.internalState.peek;if(Ne()===Ie.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),Ne()===Ie.$n)this.state.peek=Ie.$LF;else if(Ne()===Ie.$r)this.state.peek=Ie.$CR;else if(Ne()===Ie.$v)this.state.peek=Ie.$VTAB;else if(Ne()===Ie.$t)this.state.peek=Ie.$TAB;else if(Ne()===Ie.$b)this.state.peek=Ie.$BSPACE;else if(Ne()===Ie.$f)this.state.peek=Ie.$FF;else if(Ne()===Ie.$u)if(this.advanceState(this.internalState),Ne()===Ie.$LBRACE){this.advanceState(this.internalState);let it=this.clone(),rr=0;for(;Ne()!==Ie.$RBRACE;)this.advanceState(this.internalState),rr++;this.state.peek=this.decodeHexDigits(it,rr)}else{let it=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(it,4)}else if(Ne()===Ie.$x){this.advanceState(this.internalState);let it=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(it,2)}else if(Ie.isOctalDigit(Ne())){let it="",rr=0,Lt=this.clone();for(;Ie.isOctalDigit(Ne())&&rr<3;)Lt=this.clone(),it+=String.fromCodePoint(Ne()),this.advanceState(this.internalState),rr++;this.state.peek=parseInt(it,8),this.internalState=Lt.internalState}else Ie.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(Ne,it){let rr=this.input.substr(Ne.internalState.offset,it),Lt=parseInt(rr,16);if(isNaN(Lt))throw Ne.state=Ne.internalState,new Ai("Invalid hexadecimal escape sequence",Ne);return Lt}},Ai=class{constructor(Ne,it){this.msg=Ne,this.cursor=it}};ee.CursorError=Ai}}),Ur=Ye({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=zi(),st=nu(),ot=xn(),At=Ta(),Xe=class extends Ie.ParseError{constructor(nt,Ct,Rt){super(Ct,Rt),this.elementName=nt}static create(nt,Ct,Rt){return new Xe(nt,Ct,Rt)}};ee.TreeError=Xe;var at=class{constructor(nt,Ct){this.rootNodes=nt,this.errors=Ct}};ee.ParseTreeResult=at;var Mt=class{constructor(nt){this.getTagDefinition=nt}parse(nt,Ct,Rt){let ir=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Kt=arguments.length>4?arguments[4]:void 0,cr=Zn=>function(Oi){for(var Ai=arguments.length,Ne=new Array(Ai>1?Ai-1:0),it=1;it<Ai;it++)Ne[it-1]=arguments[it];return Zn(Oi.toLowerCase(),...Ne)},en=ir?this.getTagDefinition:cr(this.getTagDefinition),In=Zn=>en(Zn).contentType,Lr=ir?Kt:cr(Kt),$n=Kt?(Zn,Oi,Ai,Ne)=>{let it=Lr(Zn,Oi,Ai,Ne);return it!==void 0?it:In(Zn)}:In,Hn=ot.tokenize(nt,Ct,$n,Rt),ts=Rt&&Rt.canSelfClose||!1,Sr=Rt&&Rt.allowHtmComponentClosingTags||!1,Un=new Zt(Hn.tokens,en,ts,Sr,ir).build();return new at(Un.rootNodes,Hn.errors.concat(Un.errors))}};ee.Parser=Mt;var Zt=class{constructor(nt,Ct,Rt,ir,Kt){this.tokens=nt,this.getTagDefinition=Ct,this.canSelfClose=Rt,this.allowHtmComponentClosingTags=ir,this.isTagNameCaseSensitive=Kt,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==ot.TokenType.EOF;)this._peek.type===ot.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===ot.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===ot.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===ot.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===ot.TokenType.TEXT||this._peek.type===ot.TokenType.RAW_TEXT||this._peek.type===ot.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===ot.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===ot.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new at(this._rootNodes,this._errors)}_advance(){let nt=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],nt}_advanceIf(nt){return this._peek.type===nt?this._advance():null}_consumeCdata(nt){let Ct=this._advance(),Rt=this._getText(Ct),ir=this._advanceIf(ot.TokenType.CDATA_END);this._addToParent(new st.CDATA(Rt,new Ie.ParseSourceSpan(nt.sourceSpan.start,(ir||Ct).sourceSpan.end)))}_consumeComment(nt){let Ct=this._advanceIf(ot.TokenType.RAW_TEXT),Rt=this._advanceIf(ot.TokenType.COMMENT_END),ir=Ct!=null?Ct.parts[0].trim():null,Kt=new Ie.ParseSourceSpan(nt.sourceSpan.start,(Rt||Ct||nt).sourceSpan.end);this._addToParent(new st.Comment(ir,Kt))}_consumeDocType(nt){let Ct=this._advanceIf(ot.TokenType.RAW_TEXT),Rt=this._advanceIf(ot.TokenType.DOC_TYPE_END),ir=Ct!=null?Ct.parts[0].trim():null,Kt=new Ie.ParseSourceSpan(nt.sourceSpan.start,(Rt||Ct||nt).sourceSpan.end);this._addToParent(new st.DocType(ir,Kt))}_consumeExpansion(nt){let Ct=this._advance(),Rt=this._advance(),ir=[];for(;this._peek.type===ot.TokenType.EXPANSION_CASE_VALUE;){let cr=this._parseExpansionCase();if(!cr)return;ir.push(cr)}if(this._peek.type!==ot.TokenType.EXPANSION_FORM_END){this._errors.push(Xe.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let Kt=new Ie.ParseSourceSpan(nt.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new st.Expansion(Ct.parts[0],Rt.parts[0],ir,Kt,Ct.sourceSpan)),this._advance()}_parseExpansionCase(){let nt=this._advance();if(this._peek.type!==ot.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(Xe.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let Ct=this._advance(),Rt=this._collectExpansionExpTokens(Ct);if(!Rt)return null;let ir=this._advance();Rt.push(new ot.Token(ot.TokenType.EOF,[],ir.sourceSpan));let Kt=new Zt(Rt,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(Kt.errors.length>0)return this._errors=this._errors.concat(Kt.errors),null;let cr=new Ie.ParseSourceSpan(nt.sourceSpan.start,ir.sourceSpan.end),en=new Ie.ParseSourceSpan(Ct.sourceSpan.start,ir.sourceSpan.end);return new st.ExpansionCase(nt.parts[0],Kt.rootNodes,cr,nt.sourceSpan,en)}_collectExpansionExpTokens(nt){let Ct=[],Rt=[ot.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===ot.TokenType.EXPANSION_FORM_START||this._peek.type===ot.TokenType.EXPANSION_CASE_EXP_START)&&Rt.push(this._peek.type),this._peek.type===ot.TokenType.EXPANSION_CASE_EXP_END)if(Kr(Rt,ot.TokenType.EXPANSION_CASE_EXP_START)){if(Rt.pop(),Rt.length==0)return Ct}else return this._errors.push(Xe.create(null,nt.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===ot.TokenType.EXPANSION_FORM_END)if(Kr(Rt,ot.TokenType.EXPANSION_FORM_START))Rt.pop();else return this._errors.push(Xe.create(null,nt.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===ot.TokenType.EOF)return this._errors.push(Xe.create(null,nt.sourceSpan,"Invalid ICU message. Missing '}'.")),null;Ct.push(this._advance())}}_getText(nt){let Ct=nt.parts[0];if(Ct.length>0&&Ct[0]==`
|
|
`){let Rt=this._getParentElement();Rt!=null&&Rt.children.length==0&&this.getTagDefinition(Rt.name).ignoreFirstLf&&(Ct=Ct.substring(1))}return Ct}_consumeText(nt){let Ct=this._getText(nt);Ct.length>0&&this._addToParent(new st.Text(Ct,nt.sourceSpan))}_closeVoidElement(){let nt=this._getParentElement();nt&&this.getTagDefinition(nt.name).isVoid&&this._elementStack.pop()}_consumeStartTag(nt){let Ct=nt.parts[0],Rt=nt.parts[1],ir=[];for(;this._peek.type===ot.TokenType.ATTR_NAME;)ir.push(this._consumeAttr(this._advance()));let Kt=this._getElementFullName(Ct,Rt,this._getParentElement()),cr=!1;if(this._peek.type===ot.TokenType.TAG_OPEN_END_VOID){this._advance(),cr=!0;let Hn=this.getTagDefinition(Kt);this.canSelfClose||Hn.canSelfClose||At.getNsPrefix(Kt)!==null||Hn.isVoid||this._errors.push(Xe.create(Kt,nt.sourceSpan,`Only void and foreign elements can be self closed "${nt.parts[1]}"`))}else this._peek.type===ot.TokenType.TAG_OPEN_END&&(this._advance(),cr=!1);let en=this._peek.sourceSpan.start,In=new Ie.ParseSourceSpan(nt.sourceSpan.start,en),Lr=new Ie.ParseSourceSpan(nt.sourceSpan.start.moveBy(1),nt.sourceSpan.end),$n=new st.Element(Kt,ir,[],In,In,void 0,Lr);this._pushElement($n),cr&&(this._popElement(Kt),$n.endSourceSpan=In)}_pushElement(nt){let Ct=this._getParentElement();Ct&&this.getTagDefinition(Ct.name).isClosedByChild(nt.name)&&this._elementStack.pop(),this._addToParent(nt),this._elementStack.push(nt)}_consumeEndTag(nt){let Ct=this.allowHtmComponentClosingTags&&nt.parts.length===0?null:this._getElementFullName(nt.parts[0],nt.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=nt.sourceSpan),Ct&&this.getTagDefinition(Ct).isVoid)this._errors.push(Xe.create(Ct,nt.sourceSpan,`Void elements do not have end tags "${nt.parts[1]}"`));else if(!this._popElement(Ct)){let Rt=`Unexpected closing tag "${Ct}". 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(Xe.create(Ct,nt.sourceSpan,Rt))}}_popElement(nt){for(let Ct=this._elementStack.length-1;Ct>=0;Ct--){let Rt=this._elementStack[Ct];if(!nt||(At.getNsPrefix(Rt.name)?Rt.name==nt:Rt.name.toLowerCase()==nt.toLowerCase()))return this._elementStack.splice(Ct,this._elementStack.length-Ct),!0;if(!this.getTagDefinition(Rt.name).closedByParent)return!1}return!1}_consumeAttr(nt){let Ct=At.mergeNsAndName(nt.parts[0],nt.parts[1]),Rt=nt.sourceSpan.end,ir="",Kt,cr;if(this._peek.type===ot.TokenType.ATTR_QUOTE&&(cr=this._advance().sourceSpan.start),this._peek.type===ot.TokenType.ATTR_VALUE){let en=this._advance();ir=en.parts[0],Rt=en.sourceSpan.end,Kt=en.sourceSpan}return this._peek.type===ot.TokenType.ATTR_QUOTE&&(Rt=this._advance().sourceSpan.end,Kt=new Ie.ParseSourceSpan(cr,Rt)),new st.Attribute(Ct,ir,new Ie.ParseSourceSpan(nt.sourceSpan.start,Rt),Kt,nt.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let nt=null;for(let Ct=this._elementStack.length-1;Ct>=0;Ct--){if(!At.isNgContainer(this._elementStack[Ct].name))return{parent:this._elementStack[Ct],container:nt};nt=this._elementStack[Ct]}return{parent:null,container:nt}}_addToParent(nt){let Ct=this._getParentElement();Ct!=null?Ct.children.push(nt):this._rootNodes.push(nt)}_insertBeforeContainer(nt,Ct,Rt){if(!Ct)this._addToParent(Rt),this._elementStack.push(Rt);else{if(nt){let ir=nt.children.indexOf(Ct);nt.children[ir]=Rt}else this._rootNodes.push(Rt);Rt.children.push(Ct),this._elementStack.splice(this._elementStack.indexOf(Ct),0,Rt)}}_getElementFullName(nt,Ct,Rt){return nt===""&&(nt=this.getTagDefinition(Ct).implicitNamespacePrefix||"",nt===""&&Rt!=null&&(nt=At.getNsPrefix(Rt.name))),At.mergeNsAndName(nt,Ct)}};function Kr(nt,Ct){return nt.length>0&&nt[nt.length-1]===Ct}}}),Xr=Ye({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=$u(),st=Ur(),ot=Ur();ee.ParseTreeResult=ot.ParseTreeResult,ee.TreeError=ot.TreeError;var At=class extends st.Parser{constructor(){super(Ie.getHtmlTagDefinition)}parse(Xe,at,Mt){let Zt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Kr=arguments.length>4?arguments[4]:void 0;return super.parse(Xe,at,Mt,Zt,Kr)}};ee.HtmlParser=At}}),Ar=Ye({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(ee){Oe(),Object.defineProperty(ee,"__esModule",{value:!0});var Ie=Xr(),st=Ta();ee.TagContentType=st.TagContentType;var ot=null,At=()=>(ot||(ot=new Ie.HtmlParser),ot);function Xe(at){let Mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:Zt=!1,allowHtmComponentClosingTags:Kr=!1,isTagNameCaseSensitive:nt=!1,getTagContentType:Ct}=Mt;return At().parse(at,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:Zt,allowHtmComponentClosingTags:Kr},nt,Ct)}ee.parse=Xe}});Oe();var{ParseSourceSpan:hr,ParseLocation:Nr,ParseSourceFile:er}=zi(),bn=ze(),oi=xs(),bi=Ao(),{inferParserByLanguage:di}=Fu(),kn=zo(),wi=wo(),Mr=pi(),{hasPragma:Fi}=Pa(),{Node:Ts}=bl(),{parseIeConditionalComment:Rn}=ru(),{locStart:Pi,locEnd:gs}=_u();function _i(ee,Ie,st){let{canSelfClose:ot,normalizeTagName:At,normalizeAttributeName:Xe,allowHtmComponentClosingTags:at,isTagNameCaseSensitive:Mt,getTagContentType:Zt}=Ie,Kr=Ar(),{RecursiveVisitor:nt,visitAll:Ct}=nu(),{ParseSourceSpan:Rt}=zi(),{getHtmlTagDefinition:ir}=$u(),{rootNodes:Kt,errors:cr}=Kr.parse(ee,{canSelfClose:ot,allowHtmComponentClosingTags:at,isTagNameCaseSensitive:Mt,getTagContentType:Zt});if(st.parser==="vue")if(Kt.some(Sr=>Sr.type==="docType"&&Sr.value==="html"||Sr.type==="element"&&Sr.name.toLowerCase()==="html")){ot=!0,At=!0,Xe=!0,at=!0,Mt=!1;let Sr=Kr.parse(ee,{canSelfClose:ot,allowHtmComponentClosingTags:at,isTagNameCaseSensitive:Mt});Kt=Sr.rootNodes,cr=Sr.errors}else{let Sr=Un=>{if(!Un||Un.type!=="element"||Un.name!=="template")return!1;let Zn=Un.attrs.find(Ai=>Ai.name==="lang"),Oi=Zn&&Zn.value;return!Oi||di(Oi,st)==="html"};if(Kt.some(Sr)){let Un,Zn=()=>Kr.parse(ee,{canSelfClose:ot,allowHtmComponentClosingTags:at,isTagNameCaseSensitive:Mt}),Oi=()=>Un||(Un=Zn()),Ai=Ne=>Oi().rootNodes.find(it=>{let{startSourceSpan:rr}=it;return rr&&rr.start.offset===Ne.startSourceSpan.start.offset});for(let Ne=0;Ne<Kt.length;Ne++){let it=Kt[Ne],{endSourceSpan:rr,startSourceSpan:Lt}=it;if(rr===null)cr=Oi().errors,Kt[Ne]=Ai(it)||it;else if(Sr(it)){let Ir=Oi(),vi=Lt.end.offset,Ji=rr.start.offset;for(let Gs of Ir.errors){let{offset:Bs}=Gs.span.start;if(vi<Bs&&Bs<Ji){cr=[Gs];break}}Kt[Ne]=Ai(it)||it}}}}if(cr.length>0){let{msg:Sr,span:{start:Un,end:Zn}}=cr[0];throw bi(Sr,{start:{line:Un.line+1,column:Un.col+1},end:{line:Zn.line+1,column:Zn.col+1}})}let en=Sr=>{let Un=Sr.name.startsWith(":")?Sr.name.slice(1).split(":")[0]:null,Zn=Sr.nameSpan.toString(),Oi=Un!==null&&Zn.startsWith(`${Un}:`),Ai=Oi?Zn.slice(Un.length+1):Zn;Sr.name=Ai,Sr.namespace=Un,Sr.hasExplicitNamespace=Oi},In=Sr=>{switch(Sr.type){case"element":en(Sr);for(let Un of Sr.attrs)en(Un),Un.valueSpan?(Un.value=Un.valueSpan.toString(),/["']/.test(Un.value[0])&&(Un.value=Un.value.slice(1,-1))):Un.value=null;break;case"comment":Sr.value=Sr.sourceSpan.toString().slice(4,-3);break;case"text":Sr.value=Sr.sourceSpan.toString();break}},Lr=(Sr,Un)=>{let Zn=Sr.toLowerCase();return Un(Zn)?Zn:Sr},$n=Sr=>{if(Sr.type==="element"&&(At&&(!Sr.namespace||Sr.namespace===Sr.tagDefinition.implicitNamespacePrefix||Mr(Sr))&&(Sr.name=Lr(Sr.name,Un=>Un in kn)),Xe)){let Un=wi[Sr.name]||Object.create(null);for(let Zn of Sr.attrs)Zn.namespace||(Zn.name=Lr(Zn.name,Oi=>Sr.name in wi&&(Oi in wi["*"]||Oi in Un)))}},Hn=Sr=>{Sr.sourceSpan&&Sr.endSourceSpan&&(Sr.sourceSpan=new Rt(Sr.sourceSpan.start,Sr.endSourceSpan.end))},ts=Sr=>{if(Sr.type==="element"){let Un=ir(Mt?Sr.name:Sr.name.toLowerCase());!Sr.namespace||Sr.namespace===Un.implicitNamespacePrefix||Mr(Sr)?Sr.tagDefinition=Un:Sr.tagDefinition=ir("")}};return Ct(new class extends nt{visit(Sr){In(Sr),ts(Sr),$n(Sr),Hn(Sr)}},Kt),Kt}function Hi(ee,Ie,st){let ot=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:At,content:Xe}=ot?bn(ee):{frontMatter:null,content:ee},at=new er(ee,Ie.filepath),Mt=new Nr(at,0,0,0),Zt=Mt.moveBy(ee.length),Kr={type:"root",sourceSpan:new hr(Mt,Zt),children:_i(Xe,st,Ie)};if(At){let Rt=new Nr(at,0,0,0),ir=Rt.moveBy(At.raw.length);At.sourceSpan=new hr(Rt,ir),Kr.children.unshift(At)}let nt=new Ts(Kr),Ct=(Rt,ir)=>{let{offset:Kt}=ir,cr=ee.slice(0,Kt).replace(/[^\n\r]/g," "),en=Hi(cr+Rt,Ie,st,!1);en.sourceSpan=new hr(ir,oi(en.children).sourceSpan.end);let In=en.children[0];return In.length===Kt?en.children.shift():(In.sourceSpan=new hr(In.sourceSpan.start.moveBy(Kt),In.sourceSpan.end),In.value=In.value.slice(Kt)),en};return nt.walk(Rt=>{if(Rt.type==="comment"){let ir=Rn(Rt,Ct);ir&&Rt.parent.replaceChild(Rt,ir)}}),nt}function Ys(){let{name:ee,canSelfClose:Ie=!1,normalizeTagName:st=!1,normalizeAttributeName:ot=!1,allowHtmComponentClosingTags:At=!1,isTagNameCaseSensitive:Xe=!1,getTagContentType:at}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(Mt,Zt,Kr)=>Hi(Mt,Object.assign({parser:ee},Kr),{canSelfClose:Ie,normalizeTagName:st,normalizeAttributeName:ot,allowHtmComponentClosingTags:At,isTagNameCaseSensitive:Xe,getTagContentType:at}),hasPragma:Fi,astFormat:"html",locStart:Pi,locEnd:gs}}ke.exports={parsers:{html:Ys({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ys({name:"angular",canSelfClose:!0}),vue:Ys({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(ee,Ie,st,ot)=>{if(ee.toLowerCase()!=="html"&&!st&&(ee!=="template"||ot.some(At=>{let{name:Xe,value:at}=At;return Xe==="lang"&&at!=="html"&&at!==""&&at!==void 0})))return Ar().TagContentType.RAW_TEXT}}),lwc:Ys({name:"lwc"})}}});return Dt()})})(mE);var GI=mE.exports;const HI=ng(GI);var gE={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(dr,Ot)=>()=>(Ot||dr((Ot={exports:{}}).exports,Ot),Ot.exports),n=t((dr,Ot)=>{var mt=function(St){return St&&St.Math==Math&&St};Ot.exports=mt(typeof globalThis=="object"&&globalThis)||mt(typeof window=="object"&&window)||mt(typeof self=="object"&&self)||mt(typeof ql=="object"&&ql)||function(){return this}()||Function("return this")()}),i=t((dr,Ot)=>{Ot.exports=function(mt){try{return!!mt()}catch{return!0}}}),s=t((dr,Ot)=>{var mt=i();Ot.exports=!mt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),u=t((dr,Ot)=>{var mt=i();Ot.exports=!mt(function(){var St=function(){}.bind();return typeof St!="function"||St.hasOwnProperty("prototype")})}),p=t((dr,Ot)=>{var mt=u(),St=Function.prototype.call;Ot.exports=mt?St.bind(St):function(){return St.apply(St,arguments)}}),f=t(dr=>{var Ot={}.propertyIsEnumerable,mt=Object.getOwnPropertyDescriptor,St=mt&&!Ot.call({1:2},1);dr.f=St?function(Dt){var Ke=mt(this,Dt);return!!Ke&&Ke.enumerable}:Ot}),m=t((dr,Ot)=>{Ot.exports=function(mt,St){return{enumerable:!(mt&1),configurable:!(mt&2),writable:!(mt&4),value:St}}}),O=t((dr,Ot)=>{var mt=u(),St=Function.prototype,Dt=St.call,Ke=mt&&St.bind.bind(Dt,Dt);Ot.exports=mt?Ke:function(ke){return function(){return Dt.apply(ke,arguments)}}}),b=t((dr,Ot)=>{var mt=O(),St=mt({}.toString),Dt=mt("".slice);Ot.exports=function(Ke){return Dt(St(Ke),8,-1)}}),N=t((dr,Ot)=>{var mt=O(),St=i(),Dt=b(),Ke=Object,ke=mt("".split);Ot.exports=St(function(){return!Ke("z").propertyIsEnumerable(0)})?function(_e){return Dt(_e)=="String"?ke(_e,""):Ke(_e)}:Ke}),U=t((dr,Ot)=>{Ot.exports=function(mt){return mt==null}}),he=t((dr,Ot)=>{var mt=U(),St=TypeError;Ot.exports=function(Dt){if(mt(Dt))throw St("Can't call method on "+Dt);return Dt}}),Re=t((dr,Ot)=>{var mt=N(),St=he();Ot.exports=function(Dt){return mt(St(Dt))}}),Ge=t((dr,Ot)=>{var mt=typeof document=="object"&&document.all,St=typeof mt>"u"&&mt!==void 0;Ot.exports={all:mt,IS_HTMLDDA:St}}),$e=t((dr,Ot)=>{var mt=Ge(),St=mt.all;Ot.exports=mt.IS_HTMLDDA?function(Dt){return typeof Dt=="function"||Dt===St}:function(Dt){return typeof Dt=="function"}}),gt=t((dr,Ot)=>{var mt=$e(),St=Ge(),Dt=St.all;Ot.exports=St.IS_HTMLDDA?function(Ke){return typeof Ke=="object"?Ke!==null:mt(Ke)||Ke===Dt}:function(Ke){return typeof Ke=="object"?Ke!==null:mt(Ke)}}),kt=t((dr,Ot)=>{var mt=n(),St=$e(),Dt=function(Ke){return St(Ke)?Ke:void 0};Ot.exports=function(Ke,ke){return arguments.length<2?Dt(mt[Ke]):mt[Ke]&&mt[Ke][ke]}}),qt=t((dr,Ot)=>{var mt=O();Ot.exports=mt({}.isPrototypeOf)}),Yt=t((dr,Ot)=>{var mt=kt();Ot.exports=mt("navigator","userAgent")||""}),Pr=t((dr,Ot)=>{var mt=n(),St=Yt(),Dt=mt.process,Ke=mt.Deno,ke=Dt&&Dt.versions||Ke&&Ke.version,_e=ke&&ke.v8,Ze,me;_e&&(Ze=_e.split("."),me=Ze[0]>0&&Ze[0]<4?1:+(Ze[0]+Ze[1])),!me&&St&&(Ze=St.match(/Edge\/(\d+)/),(!Ze||Ze[1]>=74)&&(Ze=St.match(/Chrome\/(\d+)/),Ze&&(me=+Ze[1]))),Ot.exports=me}),vr=t((dr,Ot)=>{var mt=Pr(),St=i();Ot.exports=!!Object.getOwnPropertySymbols&&!St(function(){var Dt=Symbol();return!String(Dt)||!(Object(Dt)instanceof Symbol)||!Symbol.sham&&mt&&mt<41})}),mr=t((dr,Ot)=>{var mt=vr();Ot.exports=mt&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),kr=t((dr,Ot)=>{var mt=kt(),St=$e(),Dt=qt(),Ke=mr(),ke=Object;Ot.exports=Ke?function(_e){return typeof _e=="symbol"}:function(_e){var Ze=mt("Symbol");return St(Ze)&&Dt(Ze.prototype,ke(_e))}}),Rr=t((dr,Ot)=>{var mt=String;Ot.exports=function(St){try{return mt(St)}catch{return"Object"}}}),dn=t((dr,Ot)=>{var mt=$e(),St=Rr(),Dt=TypeError;Ot.exports=function(Ke){if(mt(Ke))return Ke;throw Dt(St(Ke)+" is not a function")}}),Nn=t((dr,Ot)=>{var mt=dn(),St=U();Ot.exports=function(Dt,Ke){var ke=Dt[Ke];return St(ke)?void 0:mt(ke)}}),Bi=t((dr,Ot)=>{var mt=p(),St=$e(),Dt=gt(),Ke=TypeError;Ot.exports=function(ke,_e){var Ze,me;if(_e==="string"&&St(Ze=ke.toString)&&!Dt(me=mt(Ze,ke))||St(Ze=ke.valueOf)&&!Dt(me=mt(Ze,ke))||_e!=="string"&&St(Ze=ke.toString)&&!Dt(me=mt(Ze,ke)))return me;throw Ke("Can't convert object to primitive value")}}),Gi=t((dr,Ot)=>{Ot.exports=!1}),Si=t((dr,Ot)=>{var mt=n(),St=Object.defineProperty;Ot.exports=function(Dt,Ke){try{St(mt,Dt,{value:Ke,configurable:!0,writable:!0})}catch{mt[Dt]=Ke}return Ke}}),jn=t((dr,Ot)=>{var mt=n(),St=Si(),Dt="__core-js_shared__",Ke=mt[Dt]||St(Dt,{});Ot.exports=Ke}),ti=t((dr,Ot)=>{var mt=Gi(),St=jn();(Ot.exports=function(Dt,Ke){return St[Dt]||(St[Dt]=Ke!==void 0?Ke:{})})("versions",[]).push({version:"3.26.1",mode:mt?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Mn=t((dr,Ot)=>{var mt=he(),St=Object;Ot.exports=function(Dt){return St(mt(Dt))}}),Sn=t((dr,Ot)=>{var mt=O(),St=Mn(),Dt=mt({}.hasOwnProperty);Ot.exports=Object.hasOwn||function(Ke,ke){return Dt(St(Ke),ke)}}),es=t((dr,Ot)=>{var mt=O(),St=0,Dt=Math.random(),Ke=mt(1 .toString);Ot.exports=function(ke){return"Symbol("+(ke===void 0?"":ke)+")_"+Ke(++St+Dt,36)}}),Qi=t((dr,Ot)=>{var mt=n(),St=ti(),Dt=Sn(),Ke=es(),ke=vr(),_e=mr(),Ze=St("wks"),me=mt.Symbol,ue=me&&me.for,oe=_e?me:me&&me.withoutSetter||Ke;Ot.exports=function(Ce){if(!Dt(Ze,Ce)||!(ke||typeof Ze[Ce]=="string")){var De="Symbol."+Ce;ke&&Dt(me,Ce)?Ze[Ce]=me[Ce]:_e&&ue?Ze[Ce]=ue(De):Ze[Ce]=oe(De)}return Ze[Ce]}}),os=t((dr,Ot)=>{var mt=p(),St=gt(),Dt=kr(),Ke=Nn(),ke=Bi(),_e=Qi(),Ze=TypeError,me=_e("toPrimitive");Ot.exports=function(ue,oe){if(!St(ue)||Dt(ue))return ue;var Ce=Ke(ue,me),De;if(Ce){if(oe===void 0&&(oe="default"),De=mt(Ce,ue,oe),!St(De)||Dt(De))return De;throw Ze("Can't convert object to primitive value")}return oe===void 0&&(oe="number"),ke(ue,oe)}}),Es=t((dr,Ot)=>{var mt=os(),St=kr();Ot.exports=function(Dt){var Ke=mt(Dt,"string");return St(Ke)?Ke:Ke+""}}),ys=t((dr,Ot)=>{var mt=n(),St=gt(),Dt=mt.document,Ke=St(Dt)&&St(Dt.createElement);Ot.exports=function(ke){return Ke?Dt.createElement(ke):{}}}),Cr=t((dr,Ot)=>{var mt=s(),St=i(),Dt=ys();Ot.exports=!mt&&!St(function(){return Object.defineProperty(Dt("div"),"a",{get:function(){return 7}}).a!=7})}),mn=t(dr=>{var Ot=s(),mt=p(),St=f(),Dt=m(),Ke=Re(),ke=Es(),_e=Sn(),Ze=Cr(),me=Object.getOwnPropertyDescriptor;dr.f=Ot?me:function(ue,oe){if(ue=Ke(ue),oe=ke(oe),Ze)try{return me(ue,oe)}catch{}if(_e(ue,oe))return Dt(!mt(St.f,ue,oe),ue[oe])}}),fn=t((dr,Ot)=>{var mt=s(),St=i();Ot.exports=mt&&St(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),En=t((dr,Ot)=>{var mt=gt(),St=String,Dt=TypeError;Ot.exports=function(Ke){if(mt(Ke))return Ke;throw Dt(St(Ke)+" is not an object")}}),xi=t(dr=>{var Ot=s(),mt=Cr(),St=fn(),Dt=En(),Ke=Es(),ke=TypeError,_e=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,me="enumerable",ue="configurable",oe="writable";dr.f=Ot?St?function(Ce,De,Me){if(Dt(Ce),De=Ke(De),Dt(Me),typeof Ce=="function"&&De==="prototype"&&"value"in Me&&oe in Me&&!Me[oe]){var rt=Ze(Ce,De);rt&&rt[oe]&&(Ce[De]=Me.value,Me={configurable:ue in Me?Me[ue]:rt[ue],enumerable:me in Me?Me[me]:rt[me],writable:!1})}return _e(Ce,De,Me)}:_e:function(Ce,De,Me){if(Dt(Ce),De=Ke(De),Dt(Me),mt)try{return _e(Ce,De,Me)}catch{}if("get"in Me||"set"in Me)throw ke("Accessors not supported");return"value"in Me&&(Ce[De]=Me.value),Ce}}),ss=t((dr,Ot)=>{var mt=s(),St=xi(),Dt=m();Ot.exports=mt?function(Ke,ke,_e){return St.f(Ke,ke,Dt(1,_e))}:function(Ke,ke,_e){return Ke[ke]=_e,Ke}}),$i=t((dr,Ot)=>{var mt=s(),St=Sn(),Dt=Function.prototype,Ke=mt&&Object.getOwnPropertyDescriptor,ke=St(Dt,"name"),_e=ke&&function(){}.name==="something",Ze=ke&&(!mt||mt&&Ke(Dt,"name").configurable);Ot.exports={EXISTS:ke,PROPER:_e,CONFIGURABLE:Ze}}),qe=t((dr,Ot)=>{var mt=O(),St=$e(),Dt=jn(),Ke=mt(Function.toString);St(Dt.inspectSource)||(Dt.inspectSource=function(ke){return Ke(ke)}),Ot.exports=Dt.inspectSource}),yt=t((dr,Ot)=>{var mt=n(),St=$e(),Dt=mt.WeakMap;Ot.exports=St(Dt)&&/native code/.test(String(Dt))}),pr=t((dr,Ot)=>{var mt=ti(),St=es(),Dt=mt("keys");Ot.exports=function(Ke){return Dt[Ke]||(Dt[Ke]=St(Ke))}}),gr=t((dr,Ot)=>{Ot.exports={}}),$r=t((dr,Ot)=>{var mt=yt(),St=n(),Dt=gt(),Ke=ss(),ke=Sn(),_e=jn(),Ze=pr(),me=gr(),ue="Object already initialized",oe=St.TypeError,Ce=St.WeakMap,De,Me,rt,ht=function(Jt){return rt(Jt)?Me(Jt):De(Jt,{})},Ye=function(Jt){return function(yr){var br;if(!Dt(yr)||(br=Me(yr)).type!==Jt)throw oe("Incompatible receiver, "+Jt+" required");return br}};mt||_e.state?(xt=_e.state||(_e.state=new Ce),xt.get=xt.get,xt.has=xt.has,xt.set=xt.set,De=function(Jt,yr){if(xt.has(Jt))throw oe(ue);return yr.facade=Jt,xt.set(Jt,yr),yr},Me=function(Jt){return xt.get(Jt)||{}},rt=function(Jt){return xt.has(Jt)}):(nr=Ze("state"),me[nr]=!0,De=function(Jt,yr){if(ke(Jt,nr))throw oe(ue);return yr.facade=Jt,Ke(Jt,nr,yr),yr},Me=function(Jt){return ke(Jt,nr)?Jt[nr]:{}},rt=function(Jt){return ke(Jt,nr)});var xt,nr;Ot.exports={set:De,get:Me,has:rt,enforce:ht,getterFor:Ye}}),Yr=t((dr,Ot)=>{var mt=i(),St=$e(),Dt=Sn(),Ke=s(),ke=$i().CONFIGURABLE,_e=qe(),Ze=$r(),me=Ze.enforce,ue=Ze.get,oe=Object.defineProperty,Ce=Ke&&!mt(function(){return oe(function(){},"length",{value:8}).length!==8}),De=String(String).split("String"),Me=Ot.exports=function(rt,ht,Ye){String(ht).slice(0,7)==="Symbol("&&(ht="["+String(ht).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Ye&&Ye.getter&&(ht="get "+ht),Ye&&Ye.setter&&(ht="set "+ht),(!Dt(rt,"name")||ke&&rt.name!==ht)&&(Ke?oe(rt,"name",{value:ht,configurable:!0}):rt.name=ht),Ce&&Ye&&Dt(Ye,"arity")&&rt.length!==Ye.arity&&oe(rt,"length",{value:Ye.arity});try{Ye&&Dt(Ye,"constructor")&&Ye.constructor?Ke&&oe(rt,"prototype",{writable:!1}):rt.prototype&&(rt.prototype=void 0)}catch{}var xt=me(rt);return Dt(xt,"source")||(xt.source=De.join(typeof ht=="string"?ht:"")),rt};Function.prototype.toString=Me(function(){return St(this)&&ue(this).source||_e(this)},"toString")}),gn=t((dr,Ot)=>{var mt=$e(),St=xi(),Dt=Yr(),Ke=Si();Ot.exports=function(ke,_e,Ze,me){me||(me={});var ue=me.enumerable,oe=me.name!==void 0?me.name:_e;if(mt(Ze)&&Dt(Ze,oe,me),me.global)ue?ke[_e]=Ze:Ke(_e,Ze);else{try{me.unsafe?ke[_e]&&(ue=!0):delete ke[_e]}catch{}ue?ke[_e]=Ze:St.f(ke,_e,{value:Ze,enumerable:!1,configurable:!me.nonConfigurable,writable:!me.nonWritable})}return ke}}),Gr=t((dr,Ot)=>{var mt=Math.ceil,St=Math.floor;Ot.exports=Math.trunc||function(Dt){var Ke=+Dt;return(Ke>0?St:mt)(Ke)}}),rn=t((dr,Ot)=>{var mt=Gr();Ot.exports=function(St){var Dt=+St;return Dt!==Dt||Dt===0?0:mt(Dt)}}),Vr=t((dr,Ot)=>{var mt=rn(),St=Math.max,Dt=Math.min;Ot.exports=function(Ke,ke){var _e=mt(Ke);return _e<0?St(_e+ke,0):Dt(_e,ke)}}),Yn=t((dr,Ot)=>{var mt=rn(),St=Math.min;Ot.exports=function(Dt){return Dt>0?St(mt(Dt),9007199254740991):0}}),Dn=t((dr,Ot)=>{var mt=Yn();Ot.exports=function(St){return mt(St.length)}}),Gn=t((dr,Ot)=>{var mt=Re(),St=Vr(),Dt=Dn(),Ke=function(ke){return function(_e,Ze,me){var ue=mt(_e),oe=Dt(ue),Ce=St(me,oe),De;if(ke&&Ze!=Ze){for(;oe>Ce;)if(De=ue[Ce++],De!=De)return!0}else for(;oe>Ce;Ce++)if((ke||Ce in ue)&&ue[Ce]===Ze)return ke||Ce||0;return!ke&&-1}};Ot.exports={includes:Ke(!0),indexOf:Ke(!1)}}),Ei=t((dr,Ot)=>{var mt=O(),St=Sn(),Dt=Re(),Ke=Gn().indexOf,ke=gr(),_e=mt([].push);Ot.exports=function(Ze,me){var ue=Dt(Ze),oe=0,Ce=[],De;for(De in ue)!St(ke,De)&&St(ue,De)&&_e(Ce,De);for(;me.length>oe;)St(ue,De=me[oe++])&&(~Ke(Ce,De)||_e(Ce,De));return Ce}}),Mi=t((dr,Ot)=>{Ot.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),as=t(dr=>{var Ot=Ei(),mt=Mi(),St=mt.concat("length","prototype");dr.f=Object.getOwnPropertyNames||function(Dt){return Ot(Dt,St)}}),ns=t(dr=>{dr.f=Object.getOwnPropertySymbols}),As=t((dr,Ot)=>{var mt=kt(),St=O(),Dt=as(),Ke=ns(),ke=En(),_e=St([].concat);Ot.exports=mt("Reflect","ownKeys")||function(Ze){var me=Dt.f(ke(Ze)),ue=Ke.f;return ue?_e(me,ue(Ze)):me}}),Oo=t((dr,Ot)=>{var mt=Sn(),St=As(),Dt=mn(),Ke=xi();Ot.exports=function(ke,_e,Ze){for(var me=St(_e),ue=Ke.f,oe=Dt.f,Ce=0;Ce<me.length;Ce++){var De=me[Ce];!mt(ke,De)&&!(Ze&&mt(Ze,De))&&ue(ke,De,oe(_e,De))}}}),fa=t((dr,Ot)=>{var mt=i(),St=$e(),Dt=/#|\.prototype\./,Ke=function(ue,oe){var Ce=_e[ke(ue)];return Ce==me?!0:Ce==Ze?!1:St(oe)?mt(oe):!!oe},ke=Ke.normalize=function(ue){return String(ue).replace(Dt,".").toLowerCase()},_e=Ke.data={},Ze=Ke.NATIVE="N",me=Ke.POLYFILL="P";Ot.exports=Ke}),Wo=t((dr,Ot)=>{var mt=n(),St=mn().f,Dt=ss(),Ke=gn(),ke=Si(),_e=Oo(),Ze=fa();Ot.exports=function(me,ue){var oe=me.target,Ce=me.global,De=me.stat,Me,rt,ht,Ye,xt,nr;if(Ce?rt=mt:De?rt=mt[oe]||ke(oe,{}):rt=(mt[oe]||{}).prototype,rt)for(ht in ue){if(xt=ue[ht],me.dontCallGetSet?(nr=St(rt,ht),Ye=nr&&nr.value):Ye=rt[ht],Me=Ze(Ce?ht:oe+(De?".":"#")+ht,me.forced),!Me&&Ye!==void 0){if(typeof xt==typeof Ye)continue;_e(xt,Ye)}(me.sham||Ye&&Ye.sham)&&Dt(xt,"sham",!0),Ke(rt,ht,xt,me)}}}),da=t(()=>{var dr=Wo(),Ot=n();dr({global:!0,forced:Ot.globalThis!==Ot},{globalThis:Ot})}),Au=t(()=>{da()}),to=t((dr,Ot)=>{var mt=Yr(),St=xi();Ot.exports=function(Dt,Ke,ke){return ke.get&&mt(ke.get,Ke,{getter:!0}),ke.set&&mt(ke.set,Ke,{setter:!0}),St.f(Dt,Ke,ke)}}),zr=t((dr,Ot)=>{var mt=En();Ot.exports=function(){var St=mt(this),Dt="";return St.hasIndices&&(Dt+="d"),St.global&&(Dt+="g"),St.ignoreCase&&(Dt+="i"),St.multiline&&(Dt+="m"),St.dotAll&&(Dt+="s"),St.unicode&&(Dt+="u"),St.unicodeSets&&(Dt+="v"),St.sticky&&(Dt+="y"),Dt}}),Ht=t(()=>{var dr=n(),Ot=s(),mt=to(),St=zr(),Dt=i(),Ke=dr.RegExp,ke=Ke.prototype,_e=Ot&&Dt(function(){var Ze=!0;try{Ke(".","d")}catch{Ze=!1}var me={},ue="",oe=Ze?"dgimsy":"gimsy",Ce=function(ht,Ye){Object.defineProperty(me,ht,{get:function(){return ue+=Ye,!0}})},De={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Ze&&(De.hasIndices="d");for(var Me in De)Ce(Me,De[Me]);var rt=Object.getOwnPropertyDescriptor(ke,"flags").get.call(me);return rt!==oe||ue!==oe});_e&&mt(ke,"flags",{configurable:!0,get:St})}),zt=t((dr,Ot)=>{var mt=b();Ot.exports=Array.isArray||function(St){return mt(St)=="Array"}}),or=t((dr,Ot)=>{var mt=TypeError,St=9007199254740991;Ot.exports=function(Dt){if(Dt>St)throw mt("Maximum allowed index exceeded");return Dt}}),ar=t((dr,Ot)=>{var mt=b(),St=O();Ot.exports=function(Dt){if(mt(Dt)==="Function")return St(Dt)}}),xr=t((dr,Ot)=>{var mt=ar(),St=dn(),Dt=u(),Ke=mt(mt.bind);Ot.exports=function(ke,_e){return St(ke),_e===void 0?ke:Dt?Ke(ke,_e):function(){return ke.apply(_e,arguments)}}}),Hr=t((dr,Ot)=>{var mt=zt(),St=Dn(),Dt=or(),Ke=xr(),ke=function(_e,Ze,me,ue,oe,Ce,De,Me){for(var rt=oe,ht=0,Ye=De?Ke(De,Me):!1,xt,nr;ht<ue;)ht in me&&(xt=Ye?Ye(me[ht],ht,Ze):me[ht],Ce>0&&mt(xt)?(nr=St(xt),rt=ke(_e,Ze,xt,nr,rt,Ce-1)-1):(Dt(rt+1),_e[rt]=xt),rt++),ht++;return rt};Ot.exports=ke}),It=t((dr,Ot)=>{var mt=Qi(),St=mt("toStringTag"),Dt={};Dt[St]="z",Ot.exports=String(Dt)==="[object z]"}),Cn=t((dr,Ot)=>{var mt=It(),St=$e(),Dt=b(),Ke=Qi(),ke=Ke("toStringTag"),_e=Object,Ze=Dt(function(){return arguments}())=="Arguments",me=function(ue,oe){try{return ue[oe]}catch{}};Ot.exports=mt?Dt:function(ue){var oe,Ce,De;return ue===void 0?"Undefined":ue===null?"Null":typeof(Ce=me(oe=_e(ue),ke))=="string"?Ce:Ze?Dt(oe):(De=Dt(oe))=="Object"&&St(oe.callee)?"Arguments":De}}),_n=t((dr,Ot)=>{var mt=O(),St=i(),Dt=$e(),Ke=Cn(),ke=kt(),_e=qe(),Ze=function(){},me=[],ue=ke("Reflect","construct"),oe=/^\s*(?:class|function)\b/,Ce=mt(oe.exec),De=!oe.exec(Ze),Me=function(ht){if(!Dt(ht))return!1;try{return ue(Ze,me,ht),!0}catch{return!1}},rt=function(ht){if(!Dt(ht))return!1;switch(Ke(ht)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return De||!!Ce(oe,_e(ht))}catch{return!0}};rt.sham=!0,Ot.exports=!ue||St(function(){var ht;return Me(Me.call)||!Me(Object)||!Me(function(){ht=!0})||ht})?rt:Me}),qn=t((dr,Ot)=>{var mt=zt(),St=_n(),Dt=gt(),Ke=Qi(),ke=Ke("species"),_e=Array;Ot.exports=function(Ze){var me;return mt(Ze)&&(me=Ze.constructor,St(me)&&(me===_e||mt(me.prototype))?me=void 0:Dt(me)&&(me=me[ke],me===null&&(me=void 0))),me===void 0?_e:me}}),Xt=t((dr,Ot)=>{var mt=qn();Ot.exports=function(St,Dt){return new(mt(St))(Dt===0?0:Dt)}}),ii=t(()=>{var dr=Wo(),Ot=Hr(),mt=dn(),St=Mn(),Dt=Dn(),Ke=Xt();dr({target:"Array",proto:!0},{flatMap:function(ke){var _e=St(this),Ze=Dt(_e),me;return mt(ke),me=Ke(_e,0),me.length=Ot(me,_e,_e,Ze,0,1,ke,arguments.length>1?arguments[1]:void 0),me}})}),fi=t((dr,Ot)=>{Au(),Ht(),ii();var mt=Object.defineProperty,St=Object.getOwnPropertyDescriptor,Dt=Object.getOwnPropertyNames,Ke=Object.prototype.hasOwnProperty,ke=(xn,Ur)=>function(){return xn&&(Ur=(0,xn[Dt(xn)[0]])(xn=0)),Ur},_e=(xn,Ur)=>function(){return Ur||(0,xn[Dt(xn)[0]])((Ur={exports:{}}).exports,Ur),Ur.exports},Ze=(xn,Ur)=>{for(var Xr in Ur)mt(xn,Xr,{get:Ur[Xr],enumerable:!0})},me=(xn,Ur,Xr,Ar)=>{if(Ur&&typeof Ur=="object"||typeof Ur=="function")for(let hr of Dt(Ur))!Ke.call(xn,hr)&&hr!==Xr&&mt(xn,hr,{get:()=>Ur[hr],enumerable:!(Ar=St(Ur,hr))||Ar.enumerable});return xn},ue=xn=>me(mt({},"__esModule",{value:!0}),xn),oe=ke({"<define:process>"(){}}),Ce=_e({"src/utils/try-combinations.js"(xn,Ur){oe();function Xr(){let Ar;for(var hr=arguments.length,Nr=new Array(hr),er=0;er<hr;er++)Nr[er]=arguments[er];for(let[bn,oi]of Nr.entries())try{return{result:oi()}}catch(bi){bn===0&&(Ar=bi)}return{error:Ar}}Ur.exports=Xr}}),De=_e({"src/language-js/utils/get-shebang.js"(xn,Ur){oe();function Xr(Ar){if(!Ar.startsWith("#!"))return"";let hr=Ar.indexOf(`
|
|
`);return hr===-1?Ar:Ar.slice(0,hr)}Ur.exports=Xr}}),Me=_e({"src/utils/text/skip-inline-comment.js"(xn,Ur){oe();function Xr(Ar,hr){if(hr===!1)return!1;if(Ar.charAt(hr)==="/"&&Ar.charAt(hr+1)==="*"){for(let Nr=hr+2;Nr<Ar.length;++Nr)if(Ar.charAt(Nr)==="*"&&Ar.charAt(Nr+1)==="/")return Nr+2}return hr}Ur.exports=Xr}}),rt=_e({"src/utils/text/skip-newline.js"(xn,Ur){oe();function Xr(Ar,hr,Nr){let er=Nr&&Nr.backwards;if(hr===!1)return!1;let bn=Ar.charAt(hr);if(er){if(Ar.charAt(hr-1)==="\r"&&bn===`
|
|
`)return hr-2;if(bn===`
|
|
`||bn==="\r"||bn==="\u2028"||bn==="\u2029")return hr-1}else{if(bn==="\r"&&Ar.charAt(hr+1)===`
|
|
`)return hr+2;if(bn===`
|
|
`||bn==="\r"||bn==="\u2028"||bn==="\u2029")return hr+1}return hr}Ur.exports=Xr}}),ht=_e({"src/utils/text/skip.js"(xn,Ur){oe();function Xr(bn){return(oi,bi,di)=>{let kn=di&&di.backwards;if(bi===!1)return!1;let{length:wi}=oi,Mr=bi;for(;Mr>=0&&Mr<wi;){let Fi=oi.charAt(Mr);if(bn instanceof RegExp){if(!bn.test(Fi))return Mr}else if(!bn.includes(Fi))return Mr;kn?Mr--:Mr++}return Mr===-1||Mr===wi?Mr:!1}}var Ar=Xr(/\s/),hr=Xr(" "),Nr=Xr(",; "),er=Xr(/[^\n\r]/);Ur.exports={skipWhitespace:Ar,skipSpaces:hr,skipToLineEnd:Nr,skipEverythingButNewLine:er}}}),Ye=_e({"src/utils/text/skip-trailing-comment.js"(xn,Ur){oe();var{skipEverythingButNewLine:Xr}=ht();function Ar(hr,Nr){return Nr===!1?!1:hr.charAt(Nr)==="/"&&hr.charAt(Nr+1)==="/"?Xr(hr,Nr):Nr}Ur.exports=Ar}}),xt=_e({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(xn,Ur){oe();var Xr=Me(),Ar=rt(),hr=Ye(),{skipSpaces:Nr}=ht();function er(bn,oi){let bi=null,di=oi;for(;di!==bi;)bi=di,di=Nr(bn,di),di=Xr(bn,di),di=hr(bn,di),di=Ar(bn,di);return di}Ur.exports=er}}),nr={};Ze(nr,{EOL:()=>Zo,arch:()=>Ao,cpus:()=>si,default:()=>io,endianness:()=>Jt,freemem:()=>un,getNetworkInterfaces:()=>xs,hostname:()=>yr,loadavg:()=>br,networkInterfaces:()=>ze,platform:()=>qo,release:()=>zi,tmpDir:()=>Os,tmpdir:()=>Ds,totalmem:()=>pn,type:()=>yi,uptime:()=>Oe});function Jt(){if(typeof co>"u"){var xn=new ArrayBuffer(2),Ur=new Uint8Array(xn),Xr=new Uint16Array(xn);if(Ur[0]=1,Ur[1]=2,Xr[0]===258)co="BE";else if(Xr[0]===513)co="LE";else throw new Error("unable to figure out endianess")}return co}function yr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function br(){return[]}function Oe(){return 0}function un(){return Number.MAX_VALUE}function pn(){return Number.MAX_VALUE}function si(){return[]}function yi(){return"Browser"}function zi(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ze(){}function xs(){}function Ao(){return"javascript"}function qo(){return"browser"}function Os(){return"/tmp"}var co,Ds,Zo,io,zs=ke({"node-modules-polyfills:os"(){oe(),Ds=Os,Zo=`
|
|
`,io={EOL:Zo,tmpdir:Ds,tmpDir:Os,networkInterfaces:ze,getNetworkInterfaces:xs,release:zi,type:yi,cpus:si,totalmem:pn,freemem:un,uptime:Oe,loadavg:br,hostname:yr,endianness:Jt}}}),wu=_e({"node-modules-polyfills-commonjs:os"(xn,Ur){oe();var Xr=(zs(),ue(nr));if(Xr&&Xr.default){Ur.exports=Xr.default;for(let Ar in Xr)Ur.exports[Ar]=Xr[Ar]}else Xr&&(Ur.exports=Xr)}}),Do=_e({"node_modules/detect-newline/index.js"(xn,Ur){oe();var Xr=Ar=>{if(typeof Ar!="string")throw new TypeError("Expected a string");let hr=Ar.match(/(?:\r?\n)/g)||[];if(hr.length===0)return;let Nr=hr.filter(bn=>bn===`\r
|
|
`).length,er=hr.length-Nr;return Nr>er?`\r
|
|
`:`
|
|
`};Ur.exports=Xr,Ur.exports.graceful=Ar=>typeof Ar=="string"&&Xr(Ar)||`
|
|
`}}),Ws=_e({"node_modules/jest-docblock/build/index.js"(xn){oe(),Object.defineProperty(xn,"__esModule",{value:!0}),xn.extract=Mr,xn.parse=Ts,xn.parseWithComments=Rn,xn.print=Pi,xn.strip=Fi;function Ur(){let _i=wu();return Ur=function(){return _i},_i}function Xr(){let _i=Ar(Do());return Xr=function(){return _i},_i}function Ar(_i){return _i&&_i.__esModule?_i:{default:_i}}var hr=/\*\/$/,Nr=/^\/\*\*?/,er=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,bn=/(^|\s+)\/\/([^\r\n]*)/g,oi=/^(\r?\n)+/,bi=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,di=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,kn=/(\r?\n|^) *\* ?/g,wi=[];function Mr(_i){let Hi=_i.match(er);return Hi?Hi[0].trimLeft():""}function Fi(_i){let Hi=_i.match(er);return Hi&&Hi[0]?_i.substring(Hi[0].length):_i}function Ts(_i){return Rn(_i).pragmas}function Rn(_i){let Hi=(0,Xr().default)(_i)||Ur().EOL;_i=_i.replace(Nr,"").replace(hr,"").replace(kn,"$1");let Ys="";for(;Ys!==_i;)Ys=_i,_i=_i.replace(bi,`${Hi}$1 $2${Hi}`);_i=_i.replace(oi,"").trimRight();let ee=Object.create(null),Ie=_i.replace(di,"").replace(oi,"").trimRight(),st;for(;st=di.exec(_i);){let ot=st[2].replace(bn,"");typeof ee[st[1]]=="string"||Array.isArray(ee[st[1]])?ee[st[1]]=wi.concat(ee[st[1]],ot):ee[st[1]]=ot}return{comments:Ie,pragmas:ee}}function Pi(_i){let{comments:Hi="",pragmas:Ys={}}=_i,ee=(0,Xr().default)(Hi)||Ur().EOL,Ie="/**",st=" *",ot=" */",At=Object.keys(Ys),Xe=At.map(Mt=>gs(Mt,Ys[Mt])).reduce((Mt,Zt)=>Mt.concat(Zt),[]).map(Mt=>`${st} ${Mt}${ee}`).join("");if(!Hi){if(At.length===0)return"";if(At.length===1&&!Array.isArray(Ys[At[0]])){let Mt=Ys[At[0]];return`${Ie} ${gs(At[0],Mt)[0]}${ot}`}}let at=Hi.split(ee).map(Mt=>`${st} ${Mt}`).join(ee)+ee;return Ie+ee+(Hi?at:"")+(Hi&&At.length?st+ee:"")+Xe+ot}function gs(_i,Hi){return wi.concat(Hi).map(Ys=>`@${_i} ${Ys}`.trim())}}}),po=_e({"src/common/end-of-line.js"(xn,Ur){oe();function Xr(er){let bn=er.indexOf("\r");return bn>=0?er.charAt(bn+1)===`
|
|
`?"crlf":"cr":"lf"}function Ar(er){switch(er){case"cr":return"\r";case"crlf":return`\r
|
|
`;default:return`
|
|
`}}function hr(er,bn){let oi;switch(bn){case`
|
|
`:oi=/\n/g;break;case"\r":oi=/\r/g;break;case`\r
|
|
`:oi=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(bn)}.`)}let bi=er.match(oi);return bi?bi.length:0}function Nr(er){return er.replace(/\r\n?/g,`
|
|
`)}Ur.exports={guessEndOfLine:Xr,convertEndOfLineToChars:Ar,countEndOfLineChars:hr,normalizeEndOfLine:Nr}}}),ml=_e({"src/language-js/pragma.js"(xn,Ur){oe();var{parseWithComments:Xr,strip:Ar,extract:hr,print:Nr}=Ws(),{normalizeEndOfLine:er}=po(),bn=De();function oi(kn){let wi=bn(kn);wi&&(kn=kn.slice(wi.length+1));let Mr=hr(kn),{pragmas:Fi,comments:Ts}=Xr(Mr);return{shebang:wi,text:kn,pragmas:Fi,comments:Ts}}function bi(kn){let wi=Object.keys(oi(kn).pragmas);return wi.includes("prettier")||wi.includes("format")}function di(kn){let{shebang:wi,text:Mr,pragmas:Fi,comments:Ts}=oi(kn),Rn=Ar(Mr),Pi=Nr({pragmas:Object.assign({format:""},Fi),comments:Ts.trimStart()});return(wi?`${wi}
|
|
`:"")+er(Pi)+(Rn.startsWith(`
|
|
`)?`
|
|
`:`
|
|
|
|
`)+Rn}Ur.exports={hasPragma:bi,insertPragma:di}}}),gl=_e({"src/utils/is-non-empty-array.js"(xn,Ur){oe();function Xr(Ar){return Array.isArray(Ar)&&Ar.length>0}Ur.exports=Xr}}),Pu=_e({"src/language-js/loc.js"(xn,Ur){oe();var Xr=gl();function Ar(oi){var bi,di;let kn=oi.range?oi.range[0]:oi.start,wi=(bi=(di=oi.declaration)===null||di===void 0?void 0:di.decorators)!==null&&bi!==void 0?bi:oi.decorators;return Xr(wi)?Math.min(Ar(wi[0]),kn):kn}function hr(oi){return oi.range?oi.range[1]:oi.end}function Nr(oi,bi){let di=Ar(oi);return Number.isInteger(di)&&di===Ar(bi)}function er(oi,bi){let di=hr(oi);return Number.isInteger(di)&&di===hr(bi)}function bn(oi,bi){return Nr(oi,bi)&&er(oi,bi)}Ur.exports={locStart:Ar,locEnd:hr,hasSameLocStart:Nr,hasSameLoc:bn}}}),yl=_e({"src/language-js/parse/utils/create-parser.js"(xn,Ur){oe();var{hasPragma:Xr}=ml(),{locStart:Ar,locEnd:hr}=Pu();function Nr(er){return er=typeof er=="function"?{parse:er}:er,Object.assign({astFormat:"estree",hasPragma:Xr,locStart:Ar,locEnd:hr},er)}Ur.exports=Nr}}),tu=_e({"src/common/parser-create-error.js"(xn,Ur){oe();function Xr(Ar,hr){let Nr=new SyntaxError(Ar+" ("+hr.start.line+":"+hr.start.column+")");return Nr.loc=hr,Nr}Ur.exports=Xr}}),wa=_e({"src/language-js/parse/utils/create-babel-parse-error.js"(xn,Ur){oe();var Xr=tu();function Ar(hr){let{message:Nr,loc:er}=hr;return Xr(Nr.replace(/ \(.*\)/,""),{start:{line:er?er.line:0,column:er?er.column+1:0}})}Ur.exports=Ar}}),Gl=_e({"src/language-js/utils/is-ts-keyword-type.js"(xn,Ur){oe();function Xr(Ar){let{type:hr}=Ar;return hr.startsWith("TS")&&hr.endsWith("Keyword")}Ur.exports=Xr}}),Hl=_e({"src/language-js/utils/is-block-comment.js"(xn,Ur){oe();var Xr=new Set(["Block","CommentBlock","MultiLine"]),Ar=hr=>Xr.has(hr==null?void 0:hr.type);Ur.exports=Ar}}),Ln=_e({"src/language-js/utils/is-type-cast-comment.js"(xn,Ur){oe();var Xr=Hl();function Ar(hr){return Xr(hr)&&hr.value[0]==="*"&&/@(?:type|satisfies)\b/.test(hr.value)}Ur.exports=Ar}}),Ol=_e({"src/utils/get-last.js"(xn,Ur){oe();var Xr=Ar=>Ar[Ar.length-1];Ur.exports=Xr}}),Jl=_e({"src/language-js/parse/postprocess/visit-node.js"(xn,Ur){oe();function Xr(Ar,hr){if(Array.isArray(Ar)){for(let Nr=0;Nr<Ar.length;Nr++)Ar[Nr]=Xr(Ar[Nr],hr);return Ar}if(Ar&&typeof Ar=="object"&&typeof Ar.type=="string"){let Nr=Object.keys(Ar);for(let er=0;er<Nr.length;er++)Ar[Nr[er]]=Xr(Ar[Nr[er]],hr);return hr(Ar)||Ar}return Ar}Ur.exports=Xr}}),Kl=_e({"src/language-js/parse/postprocess/throw-syntax-error.js"(xn,Ur){oe();var Xr=tu();function Ar(hr,Nr){let{start:er,end:bn}=hr.loc;throw Xr(Nr,{start:{line:er.line,column:er.column+1},end:{line:bn.line,column:bn.column+1}})}Ur.exports=Ar}}),Dl=_e({"src/language-js/parse/postprocess/index.js"(xn,Ur){oe();var{locStart:Xr,locEnd:Ar}=Pu(),hr=Gl(),Nr=Ln(),er=Ol(),bn=Jl(),oi=Kl();function bi(Mr,Fi){if(Fi.parser!=="typescript"&&Fi.parser!=="flow"&&Fi.parser!=="acorn"&&Fi.parser!=="espree"&&Fi.parser!=="meriyah"){let Rn=new Set;Mr=bn(Mr,Pi=>{Pi.leadingComments&&Pi.leadingComments.some(Nr)&&Rn.add(Xr(Pi))}),Mr=bn(Mr,Pi=>{if(Pi.type==="ParenthesizedExpression"){let{expression:gs}=Pi;if(gs.type==="TypeCastExpression")return gs.range=Pi.range,gs;let _i=Xr(Pi);if(!Rn.has(_i))return gs.extra=Object.assign(Object.assign({},gs.extra),{},{parenthesized:!0}),gs}})}return Mr=bn(Mr,Rn=>{switch(Rn.type){case"ChainExpression":return di(Rn.expression);case"LogicalExpression":{if(kn(Rn))return wi(Rn);break}case"VariableDeclaration":{let Pi=er(Rn.declarations);Pi&&Pi.init&&Ts(Rn,Pi);break}case"TSParenthesizedType":return hr(Rn.typeAnnotation)||Rn.typeAnnotation.type==="TSThisType"||(Rn.typeAnnotation.range=[Xr(Rn),Ar(Rn)]),Rn.typeAnnotation;case"TSTypeParameter":if(typeof Rn.name=="string"){let Pi=Xr(Rn);Rn.name={type:"Identifier",name:Rn.name,range:[Pi,Pi+Rn.name.length]}}break;case"ObjectExpression":if(Fi.parser==="typescript"){let Pi=Rn.properties.find(gs=>gs.type==="Property"&&gs.value.type==="TSEmptyBodyFunctionExpression");Pi&&oi(Pi.value,"Unexpected token.")}break;case"SequenceExpression":{let Pi=er(Rn.expressions);Rn.range=[Xr(Rn),Math.min(Ar(Pi),Ar(Rn))];break}case"TopicReference":Fi.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:Pi}=Rn;if(Fi.parser==="meriyah"&&Pi&&Pi.type==="Identifier"){let gs=Fi.originalText.slice(Xr(Pi),Ar(Pi));(gs.startsWith('"')||gs.startsWith("'"))&&(Rn.exported=Object.assign(Object.assign({},Rn.exported),{},{type:"Literal",value:Rn.exported.name,raw:gs}))}break}case"PropertyDefinition":if(Fi.parser==="meriyah"&&Rn.static&&!Rn.computed&&!Rn.key){let Pi="static",gs=Xr(Rn);Object.assign(Rn,{static:!1,key:{type:"Identifier",name:Pi,range:[gs,gs+Pi.length]}})}break}}),Mr;function Ts(Rn,Pi){Fi.originalText[Ar(Pi)]!==";"&&(Rn.range=[Xr(Rn),Ar(Pi)])}}function di(Mr){switch(Mr.type){case"CallExpression":Mr.type="OptionalCallExpression",Mr.callee=di(Mr.callee);break;case"MemberExpression":Mr.type="OptionalMemberExpression",Mr.object=di(Mr.object);break;case"TSNonNullExpression":Mr.expression=di(Mr.expression);break}return Mr}function kn(Mr){return Mr.type==="LogicalExpression"&&Mr.right.type==="LogicalExpression"&&Mr.operator===Mr.right.operator}function wi(Mr){return kn(Mr)?wi({type:"LogicalExpression",operator:Mr.operator,left:wi({type:"LogicalExpression",operator:Mr.operator,left:Mr.left,right:Mr.right.left,range:[Xr(Mr.left),Ar(Mr.right.left)]}),right:Mr.right.right,range:[Xr(Mr),Ar(Mr)]}):Mr}Ur.exports=bi}}),Tu=_e({"node_modules/@babel/parser/lib/index.js"(xn){oe(),Object.defineProperty(xn,"__esModule",{value:!0});var Ur={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function Xr(l){if(l&&l.annexB!=null&&l.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let o={};for(let a of Object.keys(Ur))o[a]=l&&l[a]!=null?l[a]:Ur[a];return o}var Ar=class{constructor(l,o){this.token=void 0,this.preserveSpace=void 0,this.token=l,this.preserveSpace=!!o}},hr={brace:new Ar("{"),j_oTag:new Ar("<tag"),j_cTag:new Ar("</tag"),j_expr:new Ar("<tag>...</tag>",!0)};hr.template=new Ar("`",!0);var Nr=!0,er=!0,bn=!0,oi=!0,bi=!0,di=!0,kn=class{constructor(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=l,this.keyword=o.keyword,this.beforeExpr=!!o.beforeExpr,this.startsExpr=!!o.startsExpr,this.rightAssociative=!!o.rightAssociative,this.isLoop=!!o.isLoop,this.isAssign=!!o.isAssign,this.prefix=!!o.prefix,this.postfix=!!o.postfix,this.binop=o.binop!=null?o.binop:null,this.updateContext=null}},wi=new Map;function Mr(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.keyword=l;let a=ee(l,o);return wi.set(l,a),a}function Fi(l,o){return ee(l,{beforeExpr:Nr,binop:o})}var Ts=-1,Rn=[],Pi=[],gs=[],_i=[],Hi=[],Ys=[];function ee(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var a,c,h,d;return++Ts,Pi.push(l),gs.push((a=o.binop)!=null?a:-1),_i.push((c=o.beforeExpr)!=null?c:!1),Hi.push((h=o.startsExpr)!=null?h:!1),Ys.push((d=o.prefix)!=null?d:!1),Rn.push(new kn(l,o)),Ts}function Ie(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var a,c,h,d;return++Ts,wi.set(l,Ts),Pi.push(l),gs.push((a=o.binop)!=null?a:-1),_i.push((c=o.beforeExpr)!=null?c:!1),Hi.push((h=o.startsExpr)!=null?h:!1),Ys.push((d=o.prefix)!=null?d:!1),Rn.push(new kn("name",o)),Ts}var st={bracketL:ee("[",{beforeExpr:Nr,startsExpr:er}),bracketHashL:ee("#[",{beforeExpr:Nr,startsExpr:er}),bracketBarL:ee("[|",{beforeExpr:Nr,startsExpr:er}),bracketR:ee("]"),bracketBarR:ee("|]"),braceL:ee("{",{beforeExpr:Nr,startsExpr:er}),braceBarL:ee("{|",{beforeExpr:Nr,startsExpr:er}),braceHashL:ee("#{",{beforeExpr:Nr,startsExpr:er}),braceR:ee("}"),braceBarR:ee("|}"),parenL:ee("(",{beforeExpr:Nr,startsExpr:er}),parenR:ee(")"),comma:ee(",",{beforeExpr:Nr}),semi:ee(";",{beforeExpr:Nr}),colon:ee(":",{beforeExpr:Nr}),doubleColon:ee("::",{beforeExpr:Nr}),dot:ee("."),question:ee("?",{beforeExpr:Nr}),questionDot:ee("?."),arrow:ee("=>",{beforeExpr:Nr}),template:ee("template"),ellipsis:ee("...",{beforeExpr:Nr}),backQuote:ee("`",{startsExpr:er}),dollarBraceL:ee("${",{beforeExpr:Nr,startsExpr:er}),templateTail:ee("...`",{startsExpr:er}),templateNonTail:ee("...${",{beforeExpr:Nr,startsExpr:er}),at:ee("@"),hash:ee("#",{startsExpr:er}),interpreterDirective:ee("#!..."),eq:ee("=",{beforeExpr:Nr,isAssign:oi}),assign:ee("_=",{beforeExpr:Nr,isAssign:oi}),slashAssign:ee("_=",{beforeExpr:Nr,isAssign:oi}),xorAssign:ee("_=",{beforeExpr:Nr,isAssign:oi}),moduloAssign:ee("_=",{beforeExpr:Nr,isAssign:oi}),incDec:ee("++/--",{prefix:bi,postfix:di,startsExpr:er}),bang:ee("!",{beforeExpr:Nr,prefix:bi,startsExpr:er}),tilde:ee("~",{beforeExpr:Nr,prefix:bi,startsExpr:er}),doubleCaret:ee("^^",{startsExpr:er}),doubleAt:ee("@@",{startsExpr:er}),pipeline:Fi("|>",0),nullishCoalescing:Fi("??",1),logicalOR:Fi("||",1),logicalAND:Fi("&&",2),bitwiseOR:Fi("|",3),bitwiseXOR:Fi("^",4),bitwiseAND:Fi("&",5),equality:Fi("==/!=/===/!==",6),lt:Fi("</>/<=/>=",7),gt:Fi("</>/<=/>=",7),relational:Fi("</>/<=/>=",7),bitShift:Fi("<</>>/>>>",8),bitShiftL:Fi("<</>>/>>>",8),bitShiftR:Fi("<</>>/>>>",8),plusMin:ee("+/-",{beforeExpr:Nr,binop:9,prefix:bi,startsExpr:er}),modulo:ee("%",{binop:10,startsExpr:er}),star:ee("*",{binop:10}),slash:Fi("/",10),exponent:ee("**",{beforeExpr:Nr,binop:11,rightAssociative:!0}),_in:Mr("in",{beforeExpr:Nr,binop:7}),_instanceof:Mr("instanceof",{beforeExpr:Nr,binop:7}),_break:Mr("break"),_case:Mr("case",{beforeExpr:Nr}),_catch:Mr("catch"),_continue:Mr("continue"),_debugger:Mr("debugger"),_default:Mr("default",{beforeExpr:Nr}),_else:Mr("else",{beforeExpr:Nr}),_finally:Mr("finally"),_function:Mr("function",{startsExpr:er}),_if:Mr("if"),_return:Mr("return",{beforeExpr:Nr}),_switch:Mr("switch"),_throw:Mr("throw",{beforeExpr:Nr,prefix:bi,startsExpr:er}),_try:Mr("try"),_var:Mr("var"),_const:Mr("const"),_with:Mr("with"),_new:Mr("new",{beforeExpr:Nr,startsExpr:er}),_this:Mr("this",{startsExpr:er}),_super:Mr("super",{startsExpr:er}),_class:Mr("class",{startsExpr:er}),_extends:Mr("extends",{beforeExpr:Nr}),_export:Mr("export"),_import:Mr("import",{startsExpr:er}),_null:Mr("null",{startsExpr:er}),_true:Mr("true",{startsExpr:er}),_false:Mr("false",{startsExpr:er}),_typeof:Mr("typeof",{beforeExpr:Nr,prefix:bi,startsExpr:er}),_void:Mr("void",{beforeExpr:Nr,prefix:bi,startsExpr:er}),_delete:Mr("delete",{beforeExpr:Nr,prefix:bi,startsExpr:er}),_do:Mr("do",{isLoop:bn,beforeExpr:Nr}),_for:Mr("for",{isLoop:bn}),_while:Mr("while",{isLoop:bn}),_as:Ie("as",{startsExpr:er}),_assert:Ie("assert",{startsExpr:er}),_async:Ie("async",{startsExpr:er}),_await:Ie("await",{startsExpr:er}),_from:Ie("from",{startsExpr:er}),_get:Ie("get",{startsExpr:er}),_let:Ie("let",{startsExpr:er}),_meta:Ie("meta",{startsExpr:er}),_of:Ie("of",{startsExpr:er}),_sent:Ie("sent",{startsExpr:er}),_set:Ie("set",{startsExpr:er}),_static:Ie("static",{startsExpr:er}),_using:Ie("using",{startsExpr:er}),_yield:Ie("yield",{startsExpr:er}),_asserts:Ie("asserts",{startsExpr:er}),_checks:Ie("checks",{startsExpr:er}),_exports:Ie("exports",{startsExpr:er}),_global:Ie("global",{startsExpr:er}),_implements:Ie("implements",{startsExpr:er}),_intrinsic:Ie("intrinsic",{startsExpr:er}),_infer:Ie("infer",{startsExpr:er}),_is:Ie("is",{startsExpr:er}),_mixins:Ie("mixins",{startsExpr:er}),_proto:Ie("proto",{startsExpr:er}),_require:Ie("require",{startsExpr:er}),_satisfies:Ie("satisfies",{startsExpr:er}),_keyof:Ie("keyof",{startsExpr:er}),_readonly:Ie("readonly",{startsExpr:er}),_unique:Ie("unique",{startsExpr:er}),_abstract:Ie("abstract",{startsExpr:er}),_declare:Ie("declare",{startsExpr:er}),_enum:Ie("enum",{startsExpr:er}),_module:Ie("module",{startsExpr:er}),_namespace:Ie("namespace",{startsExpr:er}),_interface:Ie("interface",{startsExpr:er}),_type:Ie("type",{startsExpr:er}),_opaque:Ie("opaque",{startsExpr:er}),name:ee("name",{startsExpr:er}),string:ee("string",{startsExpr:er}),num:ee("num",{startsExpr:er}),bigint:ee("bigint",{startsExpr:er}),decimal:ee("decimal",{startsExpr:er}),regexp:ee("regexp",{startsExpr:er}),privateName:ee("#name",{startsExpr:er}),eof:ee("eof"),jsxName:ee("jsxName"),jsxText:ee("jsxText",{beforeExpr:!0}),jsxTagStart:ee("jsxTagStart",{startsExpr:!0}),jsxTagEnd:ee("jsxTagEnd"),placeholder:ee("%%",{startsExpr:!0})};function ot(l){return l>=93&&l<=130}function At(l){return l<=92}function Xe(l){return l>=58&&l<=130}function at(l){return l>=58&&l<=134}function Mt(l){return _i[l]}function Zt(l){return Hi[l]}function Kr(l){return l>=29&&l<=33}function nt(l){return l>=127&&l<=129}function Ct(l){return l>=90&&l<=92}function Rt(l){return l>=58&&l<=92}function ir(l){return l>=39&&l<=59}function Kt(l){return l===34}function cr(l){return Ys[l]}function en(l){return l>=119&&l<=121}function In(l){return l>=122&&l<=128}function Lr(l){return Pi[l]}function $n(l){return gs[l]}function Hn(l){return l===57}function ts(l){return l>=24&&l<=25}function Sr(l){return Rn[l]}Rn[8].updateContext=l=>{l.pop()},Rn[5].updateContext=Rn[7].updateContext=Rn[23].updateContext=l=>{l.push(hr.brace)},Rn[22].updateContext=l=>{l[l.length-1]===hr.template?l.pop():l.push(hr.template)},Rn[140].updateContext=l=>{l.push(hr.j_expr,hr.j_oTag)};function Un(l,o){if(l==null)return{};var a={},c=Object.keys(l),h,d;for(d=0;d<c.length;d++)h=c[d],!(o.indexOf(h)>=0)&&(a[h]=l[h]);return a}var Zn=class{constructor(l,o,a){this.line=void 0,this.column=void 0,this.index=void 0,this.line=l,this.column=o,this.index=a}},Oi=class{constructor(l,o){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=l,this.end=o}};function Ai(l,o){let{line:a,column:c,index:h}=l;return new Zn(a,c+o,h+o)}var Ne={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},it=function(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l.length-1;return{get(){return l.reduce((a,c)=>a[c],this)},set(a){l.reduce((c,h,d)=>d===o?c[h]=a:c[h],this)}}},rr=(l,o,a)=>Object.keys(a).map(c=>[c,a[c]]).filter(c=>{let[,h]=c;return!!h}).map(c=>{let[h,d]=c;return[h,typeof d=="function"?{value:d,enumerable:!1}:typeof d.reflect=="string"?Object.assign({},d,it(d.reflect.split("."))):d]}).reduce((c,h)=>{let[d,g]=h;return Object.defineProperty(c,d,Object.assign({configurable:!0},g))},Object.assign(new l,o)),Lt={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Ne.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Ne.SourceTypeModuleError}},Ir={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},vi=l=>{let{type:o,prefix:a}=l;return o==="UpdateExpression"?Ir.UpdateExpression[String(a)]:Ir[o]},Ji={AccessorIsGenerator:l=>{let{kind:o}=l;return`A ${o}ter cannot be a generator.`},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:l=>{let{kind:o}=l;return`Missing initializer in ${o} declaration.`},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:l=>{let{exportName:o}=l;return`\`${o}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:l=>{let{localName:o,exportName:a}=l;return`A string literal cannot be used as an exported binding without \`from\`.
|
|
- Did you mean \`export { '${o}' as '${a}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:l=>{let{type:o}=l;return`'${o==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:l=>{let{type:o}=l;return`Unsyntactic ${o==="BreakStatement"?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:l=>{let{importName:o}=l;return`A string literal cannot be used as an imported binding.
|
|
- Did you mean \`import { "${o}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:l=>{let{maxArgumentCount:o}=l;return`\`import()\` requires exactly ${o===1?"one argument":"one or two arguments"}.`},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:l=>{let{radix:o}=l;return`Expected number in radix ${o}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:l=>{let{reservedWord:o}=l;return`Escape sequence in keyword ${o}.`},InvalidIdentifier:l=>{let{identifierName:o}=l;return`Invalid identifier ${o}.`},InvalidLhs:l=>{let{ancestor:o}=l;return`Invalid left-hand side in ${vi(o)}.`},InvalidLhsBinding:l=>{let{ancestor:o}=l;return`Binding invalid left-hand side in ${vi(o)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:l=>{let{unexpected:o}=l;return`Unexpected character '${o}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:l=>{let{identifierName:o}=l;return`Private name #${o} is not defined.`},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:l=>{let{labelName:o}=l;return`Label '${o}' is already declared.`},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:l=>{let{missingPlugin:o}=l;return`This experimental syntax requires enabling the parser plugin: ${o.map(a=>JSON.stringify(a)).join(", ")}.`},MissingOneOfPlugins:l=>{let{missingPlugin:o}=l;return`This experimental syntax requires enabling one of the following parser plugin(s): ${o.map(a=>JSON.stringify(a)).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:l=>{let{key:o}=l;return`Duplicate key "${o}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:l=>{let{surrogateCharCode:o}=l;return`An export name cannot include a lone surrogate, found '\\u${o.toString(16)}'.`},ModuleExportUndefined:l=>{let{localName:o}=l;return`Export '${o}' is not defined.`},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:l=>{let{identifierName:o}=l;return`Private names are only allowed in property accesses (\`obj.#${o}\`) or in \`in\` expressions (\`#${o} in obj\`).`},PrivateNameRedeclaration:l=>{let{identifierName:o}=l;return`Duplicate private name #${o}.`},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:l=>{let{keyword:o}=l;return`Unexpected keyword '${o}'.`},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:l=>{let{reservedWord:o}=l;return`Unexpected reserved word '${o}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:l=>{let{expected:o,unexpected:a}=l;return`Unexpected token${a?` '${a}'.`:""}${o?`, expected "${o}"`:""}`},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:l=>{let{target:o,onlyValidPropertyName:a}=l;return`The only valid meta property for ${o} is ${o}.${a}.`},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:l=>{let{identifierName:o}=l;return`Identifier '${o}' has already been declared.`},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Gs={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:l=>{let{referenceName:o}=l;return`Assigning to '${o}' in strict mode.`},StrictEvalArgumentsBinding:l=>{let{bindingName:o}=l;return`Binding '${o}' in strict mode.`},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Bs=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),fo={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:l=>{let{token:o}=l;return`Invalid topic token ${o}. In order to use ${o} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${o}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:l=>{let{type:o}=l;return`Hack-style pipe body cannot be an unparenthesized ${vi({type:o})}; please wrap it in parentheses.`},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},mo=["toMessage"],Po=["message"];function To(l){let{toMessage:o}=l,a=Un(l,mo);return function c(h){let{loc:d,details:g}=h;return rr(SyntaxError,Object.assign({},a,{loc:d}),{clone(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=y.loc||{};return c({loc:new Zn("line"in D?D.line:this.loc.line,"column"in D?D.column:this.loc.column,"index"in D?D.index:this.loc.index),details:Object.assign({},this.details,y.details)})},details:{value:g,enumerable:!1},message:{get(){return`${o(this.details)} (${this.loc.line}:${this.loc.column})`},set(y){Object.defineProperty(this,"message",{value:y})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in g&&{reflect:"details.missingPlugin",enumerable:!0}})}}function Ui(l,o){if(Array.isArray(l))return c=>Ui(c,l[0]);let a={};for(let c of Object.keys(l)){let h=l[c],d=typeof h=="string"?{message:()=>h}:typeof h=="function"?{message:h}:h,{message:g}=d,y=Un(d,Po),D=typeof g=="string"?()=>g:g;a[c]=To(Object.assign({code:Ne.SyntaxError,reasonCode:c,toMessage:D},o?{syntaxPlugin:o}:{},y))}return a}var Qe=Object.assign({},Ui(Lt),Ui(Ji),Ui(Gs),Ui`pipelineOperator`(fo)),{defineProperty:nn}=Object,Fn=(l,o)=>nn(l,o,{enumerable:!1,value:l[o]});function vn(l){return l.loc.start&&Fn(l.loc.start,"index"),l.loc.end&&Fn(l.loc.end,"index"),l}var mi=l=>class extends l{parse(){let o=vn(super.parse());return this.options.tokens&&(o.tokens=o.tokens.map(vn)),o}parseRegExpLiteral(o){let{pattern:a,flags:c}=o,h=null;try{h=new RegExp(a,c)}catch{}let d=this.estreeParseLiteral(h);return d.regex={pattern:a,flags:c},d}parseBigIntLiteral(o){let a;try{a=BigInt(o)}catch{a=null}let c=this.estreeParseLiteral(a);return c.bigint=String(c.value||o),c}parseDecimalLiteral(o){let a=this.estreeParseLiteral(null);return a.decimal=String(a.value||o),a}estreeParseLiteral(o){return this.parseLiteral(o,"Literal")}parseStringLiteral(o){return this.estreeParseLiteral(o)}parseNumericLiteral(o){return this.estreeParseLiteral(o)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(o){return this.estreeParseLiteral(o)}directiveToStmt(o){let a=o.value;delete o.value,a.type="Literal",a.raw=a.extra.raw,a.value=a.extra.expressionValue;let c=o;return c.type="ExpressionStatement",c.expression=a,c.directive=a.extra.rawValue,delete a.extra,c}initFunction(o,a){super.initFunction(o,a),o.expression=!1}checkDeclaration(o){o!=null&&this.isObjectProperty(o)?this.checkDeclaration(o.value):super.checkDeclaration(o)}getObjectOrClassMethodParams(o){return o.value.params}isValidDirective(o){var a;return o.type==="ExpressionStatement"&&o.expression.type==="Literal"&&typeof o.expression.value=="string"&&!((a=o.expression.extra)!=null&&a.parenthesized)}parseBlockBody(o,a,c,h,d){super.parseBlockBody(o,a,c,h,d);let g=o.directives.map(y=>this.directiveToStmt(y));o.body=g.concat(o.body),delete o.directives}pushClassMethod(o,a,c,h,d,g){this.parseMethod(a,c,h,d,g,"ClassMethod",!0),a.typeParameters&&(a.value.typeParameters=a.typeParameters,delete a.typeParameters),o.body.push(a)}parsePrivateName(){let o=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(o):o}convertPrivateNameToPrivateIdentifier(o){let a=super.getPrivateNameSV(o);return o=o,delete o.id,o.name=a,o.type="PrivateIdentifier",o}isPrivateName(o){return this.getPluginOption("estree","classFeatures")?o.type==="PrivateIdentifier":super.isPrivateName(o)}getPrivateNameSV(o){return this.getPluginOption("estree","classFeatures")?o.name:super.getPrivateNameSV(o)}parseLiteral(o,a){let c=super.parseLiteral(o,a);return c.raw=c.extra.raw,delete c.extra,c}parseFunctionBody(o,a){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;super.parseFunctionBody(o,a,c),o.expression=o.body.type!=="BlockStatement"}parseMethod(o,a,c,h,d,g){let y=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,D=this.startNode();return D.kind=o.kind,D=super.parseMethod(D,a,c,h,d,g,y),D.type="FunctionExpression",delete D.kind,o.value=D,g==="ClassPrivateMethod"&&(o.computed=!1),this.finishNode(o,"MethodDefinition")}parseClassProperty(){let o=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(o.type="PropertyDefinition"),o}parseClassPrivateProperty(){let o=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(o.type="PropertyDefinition",o.computed=!1),o}parseObjectMethod(o,a,c,h,d){let g=super.parseObjectMethod(o,a,c,h,d);return g&&(g.type="Property",g.kind==="method"&&(g.kind="init"),g.shorthand=!1),g}parseObjectProperty(o,a,c,h){let d=super.parseObjectProperty(o,a,c,h);return d&&(d.kind="init",d.type="Property"),d}isValidLVal(o,a,c){return o==="Property"?"value":super.isValidLVal(o,a,c)}isAssignable(o,a){return o!=null&&this.isObjectProperty(o)?this.isAssignable(o.value,a):super.isAssignable(o,a)}toAssignable(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o!=null&&this.isObjectProperty(o)){let{key:c,value:h}=o;this.isPrivateName(c)&&this.classScope.usePrivateName(this.getPrivateNameSV(c),c.loc.start),this.toAssignable(h,a)}else super.toAssignable(o,a)}toAssignableObjectExpressionProp(o,a,c){o.kind==="get"||o.kind==="set"?this.raise(Qe.PatternHasAccessor,{at:o.key}):o.method?this.raise(Qe.PatternHasMethod,{at:o.key}):super.toAssignableObjectExpressionProp(o,a,c)}finishCallExpression(o,a){let c=super.finishCallExpression(o,a);if(c.callee.type==="Import"){if(c.type="ImportExpression",c.source=c.arguments[0],this.hasPlugin("importAssertions")){var h;c.attributes=(h=c.arguments[1])!=null?h:null}delete c.arguments,delete c.callee}return c}toReferencedArguments(o){o.type!=="ImportExpression"&&super.toReferencedArguments(o)}parseExport(o,a){let c=this.state.lastTokStartLoc,h=super.parseExport(o,a);switch(h.type){case"ExportAllDeclaration":h.exported=null;break;case"ExportNamedDeclaration":h.specifiers.length===1&&h.specifiers[0].type==="ExportNamespaceSpecifier"&&(h.type="ExportAllDeclaration",h.exported=h.specifiers[0].exported,delete h.specifiers);case"ExportDefaultDeclaration":{var d;let{declaration:g}=h;(g==null?void 0:g.type)==="ClassDeclaration"&&((d=g.decorators)==null?void 0:d.length)>0&&g.start===h.start&&this.resetStartLocation(h,c)}break}return h}parseSubscript(o,a,c,h){let d=super.parseSubscript(o,a,c,h);if(h.optionalChainMember){if((d.type==="OptionalMemberExpression"||d.type==="OptionalCallExpression")&&(d.type=d.type.substring(8)),h.stop){let g=this.startNodeAtNode(d);return g.expression=d,this.finishNode(g,"ChainExpression")}}else(d.type==="MemberExpression"||d.type==="CallExpression")&&(d.optional=!1);return d}hasPropertyAsPrivateName(o){return o.type==="ChainExpression"&&(o=o.expression),super.hasPropertyAsPrivateName(o)}isObjectProperty(o){return o.type==="Property"&&o.kind==="init"&&!o.method}isObjectMethod(o){return o.method||o.kind==="get"||o.kind==="set"}finishNodeAt(o,a,c){return vn(super.finishNodeAt(o,a,c))}resetStartLocation(o,a){super.resetStartLocation(o,a),vn(o)}resetEndLocation(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(o,a),vn(o)}},rs="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",us="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Wi=new RegExp("["+rs+"]"),xo=new RegExp("["+rs+us+"]");rs=us=null;var Xa=[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],iu=[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 su(l,o){let a=65536;for(let c=0,h=o.length;c<h;c+=2){if(a+=o[c],a>l)return!1;if(a+=o[c+1],a>=l)return!0}return!1}function Io(l){return l<65?l===36:l<=90?!0:l<97?l===95:l<=122?!0:l<=65535?l>=170&&Wi.test(String.fromCharCode(l)):su(l,Xa)}function ya(l){return l<48?l===36:l<58?!0:l<65?!1:l<=90?!0:l<97?l===95:l<=122?!0:l<=65535?l>=170&&xo.test(String.fromCharCode(l)):su(l,Xa)||su(l,iu)}var _s={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"]},Go=new Set(_s.keyword),ka=new Set(_s.strict),Bp=new Set(_s.strictBind);function qc(l,o){return o&&l==="await"||l==="enum"}function Ua(l,o){return qc(l,o)||ka.has(l)}function _p(l){return Bp.has(l)}function is(l,o){return Ua(l,o)||_p(l)}function Qu(l){return Go.has(l)}function jh(l,o,a){return l===64&&o===64&&Io(a)}var $p=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 Np(l){return $p.has(l)}var ju=0,Mu=1,Oa=2,Cl=4,Lu=8,ou=16,Sl=32,Fa=64,Ru=128,Wa=256,Vu=Mu|Oa|Ru|Wa,Ho=1,Da=2,ic=4,sa=8,Xu=16,sc=64,au=128,uu=256,El=512,Al=1024,oc=2048,wl=4096,Pl=8192,Ip=Ho|Da|sa|au|Pl,Ba=Ho|0|sa|Pl,ac=Ho|0|sa|0,Uu=Ho|0|ic|0,uc=Ho|0|Xu|0,Tl=0|Da|0|au,lu=0|Da|0|0,kl=Ho|Da|sa|uu|Pl,Zc=0|Al,xa=0|sc,Qp=Ho|0|0|sc,lc=kl|El,ko=0|Al,Wu=0|Da|0|wl,jp=oc,Fl=4,zc=2,Bl=1,cu=zc|Bl,cc=zc|Fl,qu=Bl|Fl,pc=zc,_l=Bl,Zu=0,$l=class{constructor(l){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=l}},pu=class{constructor(l,o){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=l,this.inModule=o}get inTopLevel(){return(this.currentScope().flags&Mu)>0}get inFunction(){return(this.currentVarScopeFlags()&Oa)>0}get allowSuper(){return(this.currentThisScopeFlags()&ou)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&Sl)>0}get inClass(){return(this.currentThisScopeFlags()&Fa)>0}get inClassAndNotInNonArrowFunction(){let l=this.currentThisScopeFlags();return(l&Fa)>0&&(l&Oa)===0}get inStaticBlock(){for(let l=this.scopeStack.length-1;;l--){let{flags:o}=this.scopeStack[l];if(o&Ru)return!0;if(o&(Vu|Fa))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Oa)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(l){return new $l(l)}enter(l){this.scopeStack.push(this.createScope(l))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(l){return!!(l.flags&(Oa|Ru)||!this.parser.inModule&&l.flags&Mu)}declareName(l,o,a){let c=this.currentScope();if(o&sa||o&Xu)this.checkRedeclarationInScope(c,l,o,a),o&Xu?c.functions.add(l):c.lexical.add(l),o&sa&&this.maybeExportDefined(c,l);else if(o&ic)for(let h=this.scopeStack.length-1;h>=0&&(c=this.scopeStack[h],this.checkRedeclarationInScope(c,l,o,a),c.var.add(l),this.maybeExportDefined(c,l),!(c.flags&Vu));--h);this.parser.inModule&&c.flags&Mu&&this.undefinedExports.delete(l)}maybeExportDefined(l,o){this.parser.inModule&&l.flags&Mu&&this.undefinedExports.delete(o)}checkRedeclarationInScope(l,o,a,c){this.isRedeclaredInScope(l,o,a)&&this.parser.raise(Qe.VarRedeclaration,{at:c,identifierName:o})}isRedeclaredInScope(l,o,a){return a&Ho?a&sa?l.lexical.has(o)||l.functions.has(o)||l.var.has(o):a&Xu?l.lexical.has(o)||!this.treatFunctionsAsVarInScope(l)&&l.var.has(o):l.lexical.has(o)&&!(l.flags&Lu&&l.lexical.values().next().value===o)||!this.treatFunctionsAsVarInScope(l)&&l.functions.has(o):!1}checkLocalExport(l){let{name:o}=l,a=this.scopeStack[0];!a.lexical.has(o)&&!a.var.has(o)&&!a.functions.has(o)&&this.undefinedExports.set(o,l.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let l=this.scopeStack.length-1;;l--){let{flags:o}=this.scopeStack[l];if(o&Vu)return o}}currentThisScopeFlags(){for(let l=this.scopeStack.length-1;;l--){let{flags:o}=this.scopeStack[l];if(o&(Vu|Fa)&&!(o&Cl))return o}}},Mp=class extends $l{constructor(){super(...arguments),this.declareFunctions=new Set}},Lp=class extends pu{createScope(l){return new Mp(l)}declareName(l,o,a){let c=this.currentScope();if(o&oc){this.checkRedeclarationInScope(c,l,o,a),this.maybeExportDefined(c,l),c.declareFunctions.add(l);return}super.declareName(l,o,a)}isRedeclaredInScope(l,o,a){return super.isRedeclaredInScope(l,o,a)?!0:a&oc?!l.declareFunctions.has(o)&&(l.lexical.has(o)||l.functions.has(o)):!1}checkLocalExport(l){this.scopeStack[0].declareFunctions.has(l.name)||super.checkLocalExport(l)}},Yc=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(l){if(typeof l=="string")return this.plugins.has(l);{let[o,a]=l;if(!this.hasPlugin(o))return!1;let c=this.plugins.get(o);for(let h of Object.keys(a))if((c==null?void 0:c[h])!==a[h])return!1;return!0}}getPluginOption(l,o){var a;return(a=this.plugins.get(l))==null?void 0:a[o]}};function Rp(l,o){l.trailingComments===void 0?l.trailingComments=o:l.trailingComments.unshift(...o)}function Mh(l,o){l.leadingComments===void 0?l.leadingComments=o:l.leadingComments.unshift(...o)}function zu(l,o){l.innerComments===void 0?l.innerComments=o:l.innerComments.unshift(...o)}function Yu(l,o,a){let c=null,h=o.length;for(;c===null&&h>0;)c=o[--h];c===null||c.start>a.start?zu(l,a.comments):Rp(c,a.comments)}var Vp=class extends Yc{addComment(l){this.filename&&(l.loc.filename=this.filename),this.state.comments.push(l)}processComment(l){let{commentStack:o}=this.state,a=o.length;if(a===0)return;let c=a-1,h=o[c];h.start===l.end&&(h.leadingNode=l,c--);let{start:d}=l;for(;c>=0;c--){let g=o[c],y=g.end;if(y>d)g.containingNode=l,this.finalizeComment(g),o.splice(c,1);else{y===d&&(g.trailingNode=l);break}}}finalizeComment(l){let{comments:o}=l;if(l.leadingNode!==null||l.trailingNode!==null)l.leadingNode!==null&&Rp(l.leadingNode,o),l.trailingNode!==null&&Mh(l.trailingNode,o);else{let{containingNode:a,start:c}=l;if(this.input.charCodeAt(c-1)===44)switch(a.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Yu(a,a.properties,l);break;case"CallExpression":case"OptionalCallExpression":Yu(a,a.arguments,l);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Yu(a,a.params,l);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Yu(a,a.elements,l);break;case"ExportNamedDeclaration":case"ImportDeclaration":Yu(a,a.specifiers,l);break;default:zu(a,o)}else zu(a,o)}}finalizeRemainingComments(){let{commentStack:l}=this.state;for(let o=l.length-1;o>=0;o--)this.finalizeComment(l[o]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(l){let{commentStack:o}=this.state,{length:a}=o;if(a===0)return;let c=o[a-1];c.leadingNode===l&&(c.leadingNode=null)}takeSurroundingComments(l,o,a){let{commentStack:c}=this.state,h=c.length;if(h===0)return;let d=h-1;for(;d>=0;d--){let g=c[d],y=g.end;if(g.start===a)g.leadingNode=l;else if(y===o)g.trailingNode=l;else if(y<o)break}}},Gc=/\r\n?|[\n\u2028\u2029]/,hc=new RegExp(Gc.source,"g");function Nl(l){switch(l){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Il=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Lh=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,hu=new RegExp("(?=("+Lh.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Rh(l){switch(l){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 Xp=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=[hr.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init(l){let{strictMode:o,sourceType:a,startLine:c,startColumn:h}=l;this.strict=o===!1?!1:o===!0?!0:a==="module",this.curLine=c,this.lineStart=-h,this.startLoc=this.endLoc=new Zn(c,h,0)}curPosition(){return new Zn(this.curLine,this.pos-this.lineStart,this.pos)}clone(l){let o=new Xp,a=Object.keys(this);for(let c=0,h=a.length;c<h;c++){let d=a[c],g=this[d];!l&&Array.isArray(g)&&(g=g.slice()),o[d]=g}return o}},Hc=function(l){return l>=48&&l<=57},Up={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},fc={bin:l=>l===48||l===49,oct:l=>l>=48&&l<=55,dec:l=>l>=48&&l<=57,hex:l=>l>=48&&l<=57||l>=65&&l<=70||l>=97&&l<=102};function Jc(l,o,a,c,h,d){let g=a,y=c,D=h,x="",v=null,S=a,{length:k}=o;for(;;){if(a>=k){d.unterminated(g,y,D),x+=o.slice(S,a);break}let T=o.charCodeAt(a);if(Kc(l,T,o,a)){x+=o.slice(S,a);break}if(T===92){x+=o.slice(S,a);let $=Wp(o,a,c,h,l==="template",d);$.ch===null&&!v?v={pos:a,lineStart:c,curLine:h}:x+=$.ch,{pos:a,lineStart:c,curLine:h}=$,S=a}else T===8232||T===8233?(++a,++h,c=a):T===10||T===13?l==="template"?(x+=o.slice(S,a)+`
|
|
`,++a,T===13&&o.charCodeAt(a)===10&&++a,++h,S=c=a):d.unterminated(g,y,D):++a}return{pos:a,str:x,firstInvalidLoc:v,lineStart:c,curLine:h,containsInvalid:!!v}}function Kc(l,o,a,c){return l==="template"?o===96||o===36&&a.charCodeAt(c+1)===123:o===(l==="double"?34:39)}function Wp(l,o,a,c,h,d){let g=!h;o++;let y=x=>({pos:o,ch:x,lineStart:a,curLine:c}),D=l.charCodeAt(o++);switch(D){case 110:return y(`
|
|
`);case 114:return y("\r");case 120:{let x;return{code:x,pos:o}=ep(l,o,a,c,2,!1,g,d),y(x===null?null:String.fromCharCode(x))}case 117:{let x;return{code:x,pos:o}=dc(l,o,a,c,g,d),y(x===null?null:String.fromCodePoint(x))}case 116:return y(" ");case 98:return y("\b");case 118:return y("\v");case 102:return y("\f");case 13:l.charCodeAt(o)===10&&++o;case 10:a=o,++c;case 8232:case 8233:return y("");case 56:case 57:if(h)return y(null);d.strictNumericEscape(o-1,a,c);default:if(D>=48&&D<=55){let x=o-1,v=l.slice(x,o+2).match(/^[0-7]+/)[0],S=parseInt(v,8);S>255&&(v=v.slice(0,-1),S=parseInt(v,8)),o+=v.length-1;let k=l.charCodeAt(o);if(v!=="0"||k===56||k===57){if(h)return y(null);d.strictNumericEscape(x,a,c)}return y(String.fromCharCode(S))}return y(String.fromCharCode(D))}}function ep(l,o,a,c,h,d,g,y){let D=o,x;return{n:x,pos:o}=qp(l,o,a,c,16,h,d,!1,y,!g),x===null&&(g?y.invalidEscapeSequence(D,a,c):o=D-1),{code:x,pos:o}}function qp(l,o,a,c,h,d,g,y,D,x){let v=o,S=h===16?Up.hex:Up.decBinOct,k=h===16?fc.hex:h===10?fc.dec:h===8?fc.oct:fc.bin,T=!1,$=0;for(let w=0,F=d??1/0;w<F;++w){let Q=l.charCodeAt(o),Z;if(Q===95&&y!=="bail"){let re=l.charCodeAt(o-1),L=l.charCodeAt(o+1);if(y){if(Number.isNaN(L)||!k(L)||S.has(re)||S.has(L)){if(x)return{n:null,pos:o};D.unexpectedNumericSeparator(o,a,c)}}else{if(x)return{n:null,pos:o};D.numericSeparatorInEscapeSequence(o,a,c)}++o;continue}if(Q>=97?Z=Q-97+10:Q>=65?Z=Q-65+10:Hc(Q)?Z=Q-48:Z=1/0,Z>=h){if(Z<=9&&x)return{n:null,pos:o};if(Z<=9&&D.invalidDigit(o,a,c,h))Z=0;else if(g)Z=0,T=!0;else break}++o,$=$*h+Z}return o===v||d!=null&&o-v!==d||T?{n:null,pos:o}:{n:$,pos:o}}function dc(l,o,a,c,h,d){let g=l.charCodeAt(o),y;if(g===123){if(++o,{code:y,pos:o}=ep(l,o,a,c,l.indexOf("}",o)-o,!0,h,d),++o,y!==null&&y>1114111)if(h)d.invalidCodePoint(o,a,c);else return{code:null,pos:o}}else({code:y,pos:o}=ep(l,o,a,c,4,!1,h,d));return{code:y,pos:o}}var Vh=["at"],Zp=["at"];function Ql(l,o,a){return new Zn(a,l-o,l)}var tp=new Set([103,109,115,105,121,117,100,118]),Jo=class{constructor(l){this.type=l.type,this.value=l.value,this.start=l.start,this.end=l.end,this.loc=new Oi(l.startLoc,l.endLoc)}},zp=class extends Vp{constructor(l,o){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(a,c,h,d)=>this.options.errorRecovery?(this.raise(Qe.InvalidDigit,{at:Ql(a,c,h),radix:d}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(Qe.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Qe.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Qe.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Qe.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(a,c,h)=>{this.recordStrictModeErrors(Qe.StrictNumericEscape,{at:Ql(a,c,h)})},unterminated:(a,c,h)=>{throw this.raise(Qe.UnterminatedString,{at:Ql(a-1,c,h)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Qe.StrictNumericEscape),unterminated:(a,c,h)=>{throw this.raise(Qe.UnterminatedTemplate,{at:Ql(a,c,h)})}}),this.state=new Xp,this.state.init(l),this.input=o,this.length=o.length,this.isLookahead=!1}pushToken(l){this.tokens.length=this.state.tokensLength,this.tokens.push(l),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Jo(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(l){return this.match(l)?(this.next(),!0):!1}match(l){return this.state.type===l}createLookaheadState(l){return{pos:l.pos,value:null,type:l.type,start:l.start,end:l.end,context:[this.curContext()],inType:l.inType,startLoc:l.startLoc,lastTokEndLoc:l.lastTokEndLoc,curLine:l.curLine,lineStart:l.lineStart,curPosition:l.curPosition}}lookahead(){let l=this.state;this.state=this.createLookaheadState(l),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let o=this.state;return this.state=l,o}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(l){return Il.lastIndex=l,Il.test(this.input)?Il.lastIndex:l}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(l){let o=this.input.charCodeAt(l);if((o&64512)===55296&&++l<this.input.length){let a=this.input.charCodeAt(l);(a&64512)===56320&&(o=65536+((o&1023)<<10)+(a&1023))}return o}setStrict(l){this.state.strict=l,l&&(this.state.strictErrors.forEach(o=>{let[a,c]=o;return this.raise(a,{at:c})}),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(l){let o;this.isLookahead||(o=this.state.curPosition());let a=this.state.pos,c=this.input.indexOf(l,a+2);if(c===-1)throw this.raise(Qe.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=c+l.length,hc.lastIndex=a+2;hc.test(this.input)&&hc.lastIndex<=c;)++this.state.curLine,this.state.lineStart=hc.lastIndex;if(this.isLookahead)return;let h={type:"CommentBlock",value:this.input.slice(a+2,c),start:a,end:c+l.length,loc:new Oi(o,this.state.curPosition())};return this.options.tokens&&this.pushToken(h),h}skipLineComment(l){let o=this.state.pos,a;this.isLookahead||(a=this.state.curPosition());let c=this.input.charCodeAt(this.state.pos+=l);if(this.state.pos<this.length)for(;!Nl(c)&&++this.state.pos<this.length;)c=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let h=this.state.pos,d={type:"CommentLine",value:this.input.slice(o+l,h),start:o,end:h,loc:new Oi(a,this.state.curPosition())};return this.options.tokens&&this.pushToken(d),d}skipSpace(){let l=this.state.pos,o=[];e:for(;this.state.pos<this.length;){let a=this.input.charCodeAt(this.state.pos);switch(a){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 c=this.skipBlockComment("*/");c!==void 0&&(this.addComment(c),this.options.attachComment&&o.push(c));break}case 47:{let c=this.skipLineComment(2);c!==void 0&&(this.addComment(c),this.options.attachComment&&o.push(c));break}default:break e}break;default:if(Rh(a))++this.state.pos;else if(a===45&&!this.inModule&&this.options.annexB){let c=this.state.pos;if(this.input.charCodeAt(c+1)===45&&this.input.charCodeAt(c+2)===62&&(l===0||this.state.lineStart>l)){let h=this.skipLineComment(3);h!==void 0&&(this.addComment(h),this.options.attachComment&&o.push(h))}else break e}else if(a===60&&!this.inModule&&this.options.annexB){let c=this.state.pos;if(this.input.charCodeAt(c+1)===33&&this.input.charCodeAt(c+2)===45&&this.input.charCodeAt(c+3)===45){let h=this.skipLineComment(4);h!==void 0&&(this.addComment(h),this.options.attachComment&&o.push(h))}else break e}else break e}}if(o.length>0){let a=this.state.pos,c={start:l,end:a,comments:o,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(c)}}finishToken(l,o){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let a=this.state.type;this.state.type=l,this.state.value=o,this.isLookahead||this.updateContext(a)}replaceToken(l){this.state.type=l,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let l=this.state.pos+1,o=this.codePointAtPos(l);if(o>=48&&o<=57)throw this.raise(Qe.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(o===123||o===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(o===123?Qe.RecordExpressionHashIncorrectStartSyntaxType:Qe.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,o===123?this.finishToken(7):this.finishToken(1)}else Io(o)?(++this.state.pos,this.finishToken(136,this.readWord1(o))):o===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let l=this.input.charCodeAt(this.state.pos+1);if(l>=48&&l<=57){this.readNumber(!0);return}l===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 l=this.input.charCodeAt(this.state.pos+1);if(l!==33)return!1;let o=this.state.pos;for(this.state.pos+=1;!Nl(l)&&++this.state.pos<this.length;)l=this.input.charCodeAt(this.state.pos);let a=this.input.slice(o+2,this.state.pos);return this.finishToken(28,a),!0}readToken_mult_modulo(l){let o=l===42?55:54,a=1,c=this.input.charCodeAt(this.state.pos+1);l===42&&c===42&&(a++,c=this.input.charCodeAt(this.state.pos+2),o=57),c===61&&!this.state.inType&&(a++,o=l===37?33:30),this.finishOp(o,a)}readToken_pipe_amp(l){let o=this.input.charCodeAt(this.state.pos+1);if(o===l){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(l===124?41:42,2);return}if(l===124){if(o===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&o===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&o===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(4);return}}if(o===61){this.finishOp(30,2);return}this.finishOp(l===124?43:45,1)}readToken_caret(){let l=this.input.charCodeAt(this.state.pos+1);l===61&&!this.state.inType?this.finishOp(32,2):l===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(l){let o=this.input.charCodeAt(this.state.pos+1);if(o===l){this.finishOp(34,2);return}o===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:l}=this.state,o=this.input.charCodeAt(l+1);if(o===60){if(this.input.charCodeAt(l+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(o===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:l}=this.state,o=this.input.charCodeAt(l+1);if(o===62){let a=this.input.charCodeAt(l+2)===62?3:2;if(this.input.charCodeAt(l+a)===61){this.finishOp(30,a+1);return}this.finishOp(52,a);return}if(o===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(l){let o=this.input.charCodeAt(this.state.pos+1);if(o===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(l===61&&o===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(l===61?29:35,1)}readToken_question(){let l=this.input.charCodeAt(this.state.pos+1),o=this.input.charCodeAt(this.state.pos+2);l===63?o===61?this.finishOp(30,3):this.finishOp(40,2):l===46&&!(o>=48&&o<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(l){switch(l){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let o=this.input.charCodeAt(this.state.pos+1);if(o===120||o===88){this.readRadixNumber(16);return}if(o===111||o===79){this.readRadixNumber(8);return}if(o===98||o===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(l);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(l);return;case 124:case 38:this.readToken_pipe_amp(l);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(l);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(l);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(Io(l)){this.readWord(l);return}}throw this.raise(Qe.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(l)})}finishOp(l,o){let a=this.input.slice(this.state.pos,this.state.pos+o);this.state.pos+=o,this.finishToken(l,a)}readRegexp(){let l=this.state.startLoc,o=this.state.start+1,a,c,{pos:h}=this.state;for(;;++h){if(h>=this.length)throw this.raise(Qe.UnterminatedRegExp,{at:Ai(l,1)});let D=this.input.charCodeAt(h);if(Nl(D))throw this.raise(Qe.UnterminatedRegExp,{at:Ai(l,1)});if(a)a=!1;else{if(D===91)c=!0;else if(D===93&&c)c=!1;else if(D===47&&!c)break;a=D===92}}let d=this.input.slice(o,h);++h;let g="",y=()=>Ai(l,h+2-o);for(;h<this.length;){let D=this.codePointAtPos(h),x=String.fromCharCode(D);if(tp.has(D))D===118?(this.expectPlugin("regexpUnicodeSets",y()),g.includes("u")&&this.raise(Qe.IncompatibleRegExpUVFlags,{at:y()})):D===117&&g.includes("v")&&this.raise(Qe.IncompatibleRegExpUVFlags,{at:y()}),g.includes(x)&&this.raise(Qe.DuplicateRegExpFlags,{at:y()});else if(ya(D)||D===92)this.raise(Qe.MalformedRegExpFlags,{at:y()});else break;++h,g+=x}this.state.pos=h,this.finishToken(135,{pattern:d,flags:g})}readInt(l,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{n:h,pos:d}=qp(this.input,this.state.pos,this.state.lineStart,this.state.curLine,l,o,a,c,this.errorHandlers_readInt,!1);return this.state.pos=d,h}readRadixNumber(l){let o=this.state.curPosition(),a=!1;this.state.pos+=2;let c=this.readInt(l);c==null&&this.raise(Qe.InvalidDigit,{at:Ai(o,2),radix:l});let h=this.input.charCodeAt(this.state.pos);if(h===110)++this.state.pos,a=!0;else if(h===109)throw this.raise(Qe.InvalidDecimal,{at:o});if(Io(this.codePointAtPos(this.state.pos)))throw this.raise(Qe.NumberIdentifier,{at:this.state.curPosition()});if(a){let d=this.input.slice(o.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,d);return}this.finishToken(132,c)}readNumber(l){let o=this.state.pos,a=this.state.curPosition(),c=!1,h=!1,d=!1,g=!1,y=!1;!l&&this.readInt(10)===null&&this.raise(Qe.InvalidNumber,{at:this.state.curPosition()});let D=this.state.pos-o>=2&&this.input.charCodeAt(o)===48;if(D){let k=this.input.slice(o,this.state.pos);if(this.recordStrictModeErrors(Qe.StrictOctalLiteral,{at:a}),!this.state.strict){let T=k.indexOf("_");T>0&&this.raise(Qe.ZeroDigitNumericSeparator,{at:Ai(a,T)})}y=D&&!/[89]/.test(k)}let x=this.input.charCodeAt(this.state.pos);if(x===46&&!y&&(++this.state.pos,this.readInt(10),c=!0,x=this.input.charCodeAt(this.state.pos)),(x===69||x===101)&&!y&&(x=this.input.charCodeAt(++this.state.pos),(x===43||x===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(Qe.InvalidOrMissingExponent,{at:a}),c=!0,g=!0,x=this.input.charCodeAt(this.state.pos)),x===110&&((c||D)&&this.raise(Qe.InvalidBigIntLiteral,{at:a}),++this.state.pos,h=!0),x===109&&(this.expectPlugin("decimal",this.state.curPosition()),(g||D)&&this.raise(Qe.InvalidDecimal,{at:a}),++this.state.pos,d=!0),Io(this.codePointAtPos(this.state.pos)))throw this.raise(Qe.NumberIdentifier,{at:this.state.curPosition()});let v=this.input.slice(o,this.state.pos).replace(/[_mn]/g,"");if(h){this.finishToken(133,v);return}if(d){this.finishToken(134,v);return}let S=y?parseInt(v,8):parseFloat(v);this.finishToken(132,S)}readCodePoint(l){let{code:o,pos:a}=dc(this.input,this.state.pos,this.state.lineStart,this.state.curLine,l,this.errorHandlers_readCodePoint);return this.state.pos=a,o}readString(l){let{str:o,pos:a,curLine:c,lineStart:h}=Jc(l===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=a+1,this.state.lineStart=h,this.state.curLine=c,this.finishToken(131,o)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let l=this.input[this.state.pos],{str:o,firstInvalidLoc:a,pos:c,curLine:h,lineStart:d}=Jc("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=c+1,this.state.lineStart=d,this.state.curLine=h,a&&(this.state.firstInvalidTemplateEscapePos=new Zn(a.curLine,a.pos-a.lineStart,a.pos)),this.input.codePointAt(c)===96?this.finishToken(24,a?null:l+o+"`"):(this.state.pos++,this.finishToken(25,a?null:l+o+"${"))}recordStrictModeErrors(l,o){let{at:a}=o,c=a.index;this.state.strict&&!this.state.strictErrors.has(c)?this.raise(l,{at:a}):this.state.strictErrors.set(c,[l,a])}readWord1(l){this.state.containsEsc=!1;let o="",a=this.state.pos,c=this.state.pos;for(l!==void 0&&(this.state.pos+=l<=65535?1:2);this.state.pos<this.length;){let h=this.codePointAtPos(this.state.pos);if(ya(h))this.state.pos+=h<=65535?1:2;else if(h===92){this.state.containsEsc=!0,o+=this.input.slice(c,this.state.pos);let d=this.state.curPosition(),g=this.state.pos===a?Io:ya;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(Qe.MissingUnicodeEscape,{at:this.state.curPosition()}),c=this.state.pos-1;continue}++this.state.pos;let y=this.readCodePoint(!0);y!==null&&(g(y)||this.raise(Qe.EscapedCharNotAnIdentifier,{at:d}),o+=String.fromCodePoint(y)),c=this.state.pos}else break}return o+this.input.slice(c,this.state.pos)}readWord(l){let o=this.readWord1(l),a=wi.get(o);a!==void 0?this.finishToken(a,Lr(a)):this.finishToken(130,o)}checkKeywordEscapes(){let{type:l}=this.state;Rt(l)&&this.state.containsEsc&&this.raise(Qe.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Lr(l)})}raise(l,o){let{at:a}=o,c=Un(o,Vh),h=a instanceof Zn?a:a.loc.start,d=l({loc:h,details:c});if(!this.options.errorRecovery)throw d;return this.isLookahead||this.state.errors.push(d),d}raiseOverwrite(l,o){let{at:a}=o,c=Un(o,Zp),h=a instanceof Zn?a:a.loc.start,d=h.index,g=this.state.errors;for(let y=g.length-1;y>=0;y--){let D=g[y];if(D.loc.index===d)return g[y]=l({loc:h,details:c});if(D.loc.index<d)break}return this.raise(l,o)}updateContext(l){}unexpected(l,o){throw this.raise(Qe.UnexpectedToken,{expected:o?Lr(o):null,at:l??this.state.startLoc})}expectPlugin(l,o){if(this.hasPlugin(l))return!0;throw this.raise(Qe.MissingPlugin,{at:o??this.state.startLoc,missingPlugin:[l]})}expectOnePlugin(l){if(!l.some(o=>this.hasPlugin(o)))throw this.raise(Qe.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:l})}errorBuilder(l){return(o,a,c)=>{this.raise(l,{at:Ql(o,a,c)})}}},Yp=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},fu=class{constructor(l){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=l}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Yp)}exit(){let l=this.stack.pop(),o=this.current();for(let[a,c]of Array.from(l.undefinedPrivateNames))o?o.undefinedPrivateNames.has(a)||o.undefinedPrivateNames.set(a,c):this.parser.raise(Qe.InvalidPrivateFieldResolution,{at:c,identifierName:a})}declarePrivateName(l,o,a){let{privateNames:c,loneAccessors:h,undefinedPrivateNames:d}=this.current(),g=c.has(l);if(o&cu){let y=g&&h.get(l);if(y){let D=y&Fl,x=o&Fl,v=y&cu,S=o&cu;g=v===S||D!==x,g||h.delete(l)}else g||h.set(l,o)}g&&this.parser.raise(Qe.PrivateNameRedeclaration,{at:a,identifierName:l}),c.add(l),d.delete(l)}usePrivateName(l,o){let a;for(a of this.stack)if(a.privateNames.has(l))return;a?a.undefinedPrivateNames.set(l,o):this.parser.raise(Qe.InvalidPrivateFieldResolution,{at:o,identifierName:l})}},du=0,Gp=1,rp=2,Hp=3,jl=class{constructor(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:du;this.type=void 0,this.type=l}canBeArrowParameterDeclaration(){return this.type===rp||this.type===Gp}isCertainlyParameterDeclaration(){return this.type===Hp}},np=class extends jl{constructor(l){super(l),this.declarationErrors=new Map}recordDeclarationError(l,o){let{at:a}=o,c=a.index;this.declarationErrors.set(c,[l,a])}clearDeclarationError(l){this.declarationErrors.delete(l)}iterateErrors(l){this.declarationErrors.forEach(l)}},Xh=class{constructor(l){this.parser=void 0,this.stack=[new jl],this.parser=l}enter(l){this.stack.push(l)}exit(){this.stack.pop()}recordParameterInitializerError(l,o){let{at:a}=o,c={at:a.loc.start},{stack:h}=this,d=h.length-1,g=h[d];for(;!g.isCertainlyParameterDeclaration();){if(g.canBeArrowParameterDeclaration())g.recordDeclarationError(l,c);else return;g=h[--d]}this.parser.raise(l,c)}recordArrowParameterBindingError(l,o){let{at:a}=o,{stack:c}=this,h=c[c.length-1],d={at:a.loc.start};if(h.isCertainlyParameterDeclaration())this.parser.raise(l,d);else if(h.canBeArrowParameterDeclaration())h.recordDeclarationError(l,d);else return}recordAsyncArrowParametersError(l){let{at:o}=l,{stack:a}=this,c=a.length-1,h=a[c];for(;h.canBeArrowParameterDeclaration();)h.type===rp&&h.recordDeclarationError(Qe.AwaitBindingIdentifier,{at:o}),h=a[--c]}validateAsPattern(){let{stack:l}=this,o=l[l.length-1];o.canBeArrowParameterDeclaration()&&o.iterateErrors(a=>{let[c,h]=a;this.parser.raise(c,{at:h});let d=l.length-2,g=l[d];for(;g.canBeArrowParameterDeclaration();)g.clearDeclarationError(h.index),g=l[--d]})}};function ip(){return new jl(Hp)}function sp(){return new np(Gp)}function op(){return new np(rp)}function E(){return new jl}var K=0,Y=1,G=2,se=4,pe=8,le=class{constructor(){this.stacks=[]}enter(l){this.stacks.push(l)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&G)>0}get hasYield(){return(this.currentFlags()&Y)>0}get hasReturn(){return(this.currentFlags()&se)>0}get hasIn(){return(this.currentFlags()&pe)>0}};function de(l,o){return(l?G:0)|(o?Y:0)}var ie=class extends zp{addExtra(l,o,a){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!l)return;let h=l.extra=l.extra||{};c?h[o]=a:Object.defineProperty(h,o,{enumerable:c,value:a})}isContextual(l){return this.state.type===l&&!this.state.containsEsc}isUnparsedContextual(l,o){let a=l+o.length;if(this.input.slice(l,a)===o){let c=this.input.charCodeAt(a);return!(ya(c)||(c&64512)===55296)}return!1}isLookaheadContextual(l){let o=this.nextTokenStart();return this.isUnparsedContextual(o,l)}eatContextual(l){return this.isContextual(l)?(this.next(),!0):!1}expectContextual(l,o){if(!this.eatContextual(l)){if(o!=null)throw this.raise(o,{at:this.state.startLoc});this.unexpected(null,l)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Gc.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return hu.lastIndex=this.state.end,hu.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isLineTerminator():this.eat(13))||this.raise(Qe.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(l,o){this.eat(l)||this.unexpected(o,l)}tryParse(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone(),a={node:null};try{let c=l(function(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw a.node=h,a});if(this.state.errors.length>o.errors.length){let h=this.state;return this.state=o,this.state.tokensLength=h.tokensLength,{node:c,error:h.errors[o.errors.length],thrown:!1,aborted:!1,failState:h}}return{node:c,error:null,thrown:!1,aborted:!1,failState:null}}catch(c){let h=this.state;if(this.state=o,c instanceof SyntaxError)return{node:null,error:c,thrown:!0,aborted:!1,failState:h};if(c===a)return{node:a.node,error:null,thrown:!1,aborted:!0,failState:h};throw c}}checkExpressionErrors(l,o){if(!l)return!1;let{shorthandAssignLoc:a,doubleProtoLoc:c,privateKeyLoc:h,optionalParametersLoc:d}=l,g=!!a||!!c||!!d||!!h;if(!o)return g;a!=null&&this.raise(Qe.InvalidCoverInitializedName,{at:a}),c!=null&&this.raise(Qe.DuplicateProto,{at:c}),h!=null&&this.raise(Qe.UnexpectedPrivateField,{at:h}),d!=null&&this.unexpected(d)}isLiteralPropertyName(){return at(this.state.type)}isPrivateName(l){return l.type==="PrivateName"}getPrivateNameSV(l){return l.id.name}hasPropertyAsPrivateName(l){return(l.type==="MemberExpression"||l.type==="OptionalMemberExpression")&&this.isPrivateName(l.property)}isObjectProperty(l){return l.type==="ObjectProperty"}isObjectMethod(l){return l.type==="ObjectMethod"}initializeScopes(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType==="module",o=this.state.labels;this.state.labels=[];let a=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let c=this.inModule;this.inModule=l;let h=this.scope,d=this.getScopeHandler();this.scope=new d(this,l);let g=this.prodParam;this.prodParam=new le;let y=this.classScope;this.classScope=new fu(this);let D=this.expressionScope;return this.expressionScope=new Xh(this),()=>{this.state.labels=o,this.exportedIdentifiers=a,this.inModule=c,this.scope=h,this.prodParam=g,this.classScope=y,this.expressionScope=D}}enterInitialScopes(){let l=K;this.inModule&&(l|=G),this.scope.enter(Mu),this.prodParam.enter(l)}checkDestructuringPrivate(l){let{privateKeyLoc:o}=l;o!==null&&this.expectPlugin("destructuringPrivate",o)}},fe=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},P=class{constructor(l,o,a){this.type="",this.start=o,this.end=0,this.loc=new Oi(a),l!=null&&l.options.ranges&&(this.range=[o,0]),l!=null&&l.filename&&(this.loc.filename=l.filename)}},C=P.prototype;C.__clone=function(){let l=new P(void 0,this.start,this.loc.start),o=Object.keys(this);for(let a=0,c=o.length;a<c;a++){let h=o[a];h!=="leadingComments"&&h!=="trailingComments"&&h!=="innerComments"&&(l[h]=this[h])}return l};function H(l){return V(l)}function V(l){let{type:o,start:a,end:c,loc:h,range:d,extra:g,name:y}=l,D=Object.create(C);return D.type=o,D.start=a,D.end=c,D.loc=h,D.range=d,D.extra=g,D.name=y,o==="Placeholder"&&(D.expectedNode=l.expectedNode),D}function Se(l){let{type:o,start:a,end:c,loc:h,range:d,extra:g}=l;if(o==="Placeholder")return H(l);let y=Object.create(C);return y.type=o,y.start=a,y.end=c,y.loc=h,y.range=d,l.raw!==void 0?y.raw=l.raw:y.extra=g,y.value=l.value,y}var ye=class extends ie{startNode(){return new P(this,this.state.start,this.state.startLoc)}startNodeAt(l){return new P(this,l.index,l)}startNodeAtNode(l){return this.startNodeAt(l.loc.start)}finishNode(l,o){return this.finishNodeAt(l,o,this.state.lastTokEndLoc)}finishNodeAt(l,o,a){return l.type=o,l.end=a.index,l.loc.end=a,this.options.ranges&&(l.range[1]=a.index),this.options.attachComment&&this.processComment(l),l}resetStartLocation(l,o){l.start=o.index,l.loc.start=o,this.options.ranges&&(l.range[0]=o.index)}resetEndLocation(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;l.end=o.index,l.loc.end=o,this.options.ranges&&(l.range[1]=o.index)}resetStartLocationFromNode(l,o){this.resetStartLocation(l,o.loc.start)}},Le=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),xe=Ui`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:l=>{let{reservedType:o}=l;return`Cannot overwrite reserved type ${o}.`},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:l=>{let{memberName:o,enumName:a}=l;return`Boolean enum members need to be initialized. Use either \`${o} = true,\` or \`${o} = false,\` in enum \`${a}\`.`},EnumDuplicateMemberName:l=>{let{memberName:o,enumName:a}=l;return`Enum member names need to be unique, but the name \`${o}\` has already been used before in enum \`${a}\`.`},EnumInconsistentMemberValues:l=>{let{enumName:o}=l;return`Enum \`${o}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:l=>{let{invalidEnumType:o,enumName:a}=l;return`Enum type \`${o}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${a}\`.`},EnumInvalidExplicitTypeUnknownSupplied:l=>{let{enumName:o}=l;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${o}\`.`},EnumInvalidMemberInitializerPrimaryType:l=>{let{enumName:o,memberName:a,explicitType:c}=l;return`Enum \`${o}\` has type \`${c}\`, so the initializer of \`${a}\` needs to be a ${c} literal.`},EnumInvalidMemberInitializerSymbolType:l=>{let{enumName:o,memberName:a}=l;return`Symbol enum members cannot be initialized. Use \`${a},\` in enum \`${o}\`.`},EnumInvalidMemberInitializerUnknownType:l=>{let{enumName:o,memberName:a}=l;return`The enum member initializer for \`${a}\` needs to be a literal (either a boolean, number, or string) in enum \`${o}\`.`},EnumInvalidMemberName:l=>{let{enumName:o,memberName:a,suggestion:c}=l;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${a}\`, consider using \`${c}\`, in enum \`${o}\`.`},EnumNumberMemberNotInitialized:l=>{let{enumName:o,memberName:a}=l;return`Number enum members need to be initialized, e.g. \`${a} = 1\` in enum \`${o}\`.`},EnumStringMemberInconsistentlyInitailized:l=>{let{enumName:o}=l;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${o}\`.`},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:l=>{let{reservedType:o}=l;return`Unexpected reserved type ${o}.`},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:l=>{let{unsupportedExportKind:o,suggestion:a}=l;return`\`declare export ${o}\` is not supported. Use \`${a}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ee(l){return l.type==="DeclareExportAllDeclaration"||l.type==="DeclareExportDeclaration"&&(!l.declaration||l.declaration.type!=="TypeAlias"&&l.declaration.type!=="InterfaceDeclaration")}function ct(l){return l.importKind==="type"||l.importKind==="typeof"}function dt(l){return Xe(l)&&l!==97}var Pt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function wr(l,o){let a=[],c=[];for(let h=0;h<l.length;h++)(o(l[h],h,l)?a:c).push(l[h]);return[a,c]}var qr=/\*?\s*@((?:no)?flow)\b/,sn=l=>class extends l{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return Lp}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(o,a){o!==131&&o!==13&&o!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(o,a)}addComment(o){if(this.flowPragma===void 0){let a=qr.exec(o.value);if(a)if(a[1]==="flow")this.flowPragma="flow";else if(a[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(o)}flowParseTypeInitialiser(o){let a=this.state.inType;this.state.inType=!0,this.expect(o||14);let c=this.flowParseType();return this.state.inType=a,c}flowParsePredicate(){let o=this.startNode(),a=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>a.index+1&&this.raise(xe.UnexpectedSpaceBetweenModuloChecks,{at:a}),this.eat(10)?(o.value=super.parseExpression(),this.expect(11),this.finishNode(o,"DeclaredPredicate")):this.finishNode(o,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let o=this.state.inType;this.state.inType=!0,this.expect(14);let a=null,c=null;return this.match(54)?(this.state.inType=o,c=this.flowParsePredicate()):(a=this.flowParseType(),this.state.inType=o,this.match(54)&&(c=this.flowParsePredicate())),[a,c]}flowParseDeclareClass(o){return this.next(),this.flowParseInterfaceish(o,!0),this.finishNode(o,"DeclareClass")}flowParseDeclareFunction(o){this.next();let a=o.id=this.parseIdentifier(),c=this.startNode(),h=this.startNode();this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,this.expect(10);let d=this.flowParseFunctionTypeParams();return c.params=d.params,c.rest=d.rest,c.this=d._this,this.expect(11),[c.returnType,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),h.typeAnnotation=this.finishNode(c,"FunctionTypeAnnotation"),a.typeAnnotation=this.finishNode(h,"TypeAnnotation"),this.resetEndLocation(a),this.semicolon(),this.scope.declareName(o.id.name,jp,o.id.loc.start),this.finishNode(o,"DeclareFunction")}flowParseDeclare(o,a){if(this.match(80))return this.flowParseDeclareClass(o);if(this.match(68))return this.flowParseDeclareFunction(o);if(this.match(74))return this.flowParseDeclareVariable(o);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(o):(a&&this.raise(xe.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(o));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(o);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(o);if(this.isContextual(127))return this.flowParseDeclareInterface(o);if(this.match(82))return this.flowParseDeclareExportDeclaration(o,a);this.unexpected()}flowParseDeclareVariable(o){return this.next(),o.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(o.id.name,Uu,o.id.loc.start),this.semicolon(),this.finishNode(o,"DeclareVariable")}flowParseDeclareModule(o){this.scope.enter(ju),this.match(131)?o.id=super.parseExprAtom():o.id=this.parseIdentifier();let a=o.body=this.startNode(),c=a.body=[];for(this.expect(5);!this.match(8);){let g=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(xe.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(g)):(this.expectContextual(123,xe.UnsupportedStatementInDeclareModule),g=this.flowParseDeclare(g,!0)),c.push(g)}this.scope.exit(),this.expect(8),this.finishNode(a,"BlockStatement");let h=null,d=!1;return c.forEach(g=>{Ee(g)?(h==="CommonJS"&&this.raise(xe.AmbiguousDeclareModuleKind,{at:g}),h="ES"):g.type==="DeclareModuleExports"&&(d&&this.raise(xe.DuplicateDeclareModuleExports,{at:g}),h==="ES"&&this.raise(xe.AmbiguousDeclareModuleKind,{at:g}),h="CommonJS",d=!0)}),o.kind=h||"CommonJS",this.finishNode(o,"DeclareModule")}flowParseDeclareExportDeclaration(o,a){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?o.declaration=this.flowParseDeclare(this.startNode()):(o.declaration=this.flowParseType(),this.semicolon()),o.default=!0,this.finishNode(o,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!a){let c=this.state.value;throw this.raise(xe.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:c,suggestion:Pt[c]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return o.declaration=this.flowParseDeclare(this.startNode()),o.default=!1,this.finishNode(o,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return o=this.parseExport(o,null),o.type==="ExportNamedDeclaration"&&(o.type="ExportDeclaration",o.default=!1,delete o.exportKind),o.type="Declare"+o.type,o;this.unexpected()}flowParseDeclareModuleExports(o){return this.next(),this.expectContextual(109),o.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(o,"DeclareModuleExports")}flowParseDeclareTypeAlias(o){this.next();let a=this.flowParseTypeAlias(o);return a.type="DeclareTypeAlias",a}flowParseDeclareOpaqueType(o){this.next();let a=this.flowParseOpaqueType(o,!0);return a.type="DeclareOpaqueType",a}flowParseDeclareInterface(o){return this.next(),this.flowParseInterfaceish(o,!1),this.finishNode(o,"DeclareInterface")}flowParseInterfaceish(o,a){if(o.id=this.flowParseRestrictedIdentifier(!a,!0),this.scope.declareName(o.id.name,a?uc:Ba,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.extends=[],o.implements=[],o.mixins=[],this.eat(81))do o.extends.push(this.flowParseInterfaceExtends());while(!a&&this.eat(12));if(a){if(this.eatContextual(115))do o.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do o.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}o.body=this.flowParseObjectType({allowStatic:a,allowExact:!1,allowSpread:!1,allowProto:a,allowInexact:!1})}flowParseInterfaceExtends(){let o=this.startNode();return o.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?o.typeParameters=this.flowParseTypeParameterInstantiation():o.typeParameters=null,this.finishNode(o,"InterfaceExtends")}flowParseInterface(o){return this.flowParseInterfaceish(o,!1),this.finishNode(o,"InterfaceDeclaration")}checkNotUnderscore(o){o==="_"&&this.raise(xe.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(o,a,c){Le.has(o)&&this.raise(c?xe.AssignReservedType:xe.UnexpectedReservedType,{at:a,reservedType:o})}flowParseRestrictedIdentifier(o,a){return this.checkReservedType(this.state.value,this.state.startLoc,a),this.parseIdentifier(o)}flowParseTypeAlias(o){return o.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(o.id.name,Ba,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(o,"TypeAlias")}flowParseOpaqueType(o,a){return this.expectContextual(128),o.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(o.id.name,Ba,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.supertype=null,this.match(14)&&(o.supertype=this.flowParseTypeInitialiser(14)),o.impltype=null,a||(o.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(o,"OpaqueType")}flowParseTypeParameter(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=this.state.startLoc,c=this.startNode(),h=this.flowParseVariance(),d=this.flowParseTypeAnnotatableIdentifier();return c.name=d.name,c.variance=h,c.bound=d.typeAnnotation,this.match(29)?(this.eat(29),c.default=this.flowParseType()):o&&this.raise(xe.MissingTypeParamDefault,{at:a}),this.finishNode(c,"TypeParameter")}flowParseTypeParameterDeclaration(){let o=this.state.inType,a=this.startNode();a.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let c=!1;do{let h=this.flowParseTypeParameter(c);a.params.push(h),h.default&&(c=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=o,this.finishNode(a,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let o=this.startNode(),a=this.state.inType;o.params=[],this.state.inType=!0,this.expect(47);let c=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)o.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=c,this.expect(48),this.state.inType=a,this.finishNode(o,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let o=this.startNode(),a=this.state.inType;for(o.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)o.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=a,this.finishNode(o,"TypeParameterInstantiation")}flowParseInterfaceType(){let o=this.startNode();if(this.expectContextual(127),o.extends=[],this.eat(81))do o.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return o.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(o,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(o,a,c){return o.static=a,this.lookahead().type===14?(o.id=this.flowParseObjectPropertyKey(),o.key=this.flowParseTypeInitialiser()):(o.id=null,o.key=this.flowParseType()),this.expect(3),o.value=this.flowParseTypeInitialiser(),o.variance=c,this.finishNode(o,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(o,a){return o.static=a,o.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(o.method=!0,o.optional=!1,o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(o.loc.start))):(o.method=!1,this.eat(17)&&(o.optional=!0),o.value=this.flowParseTypeInitialiser()),this.finishNode(o,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(o){for(o.params=[],o.rest=null,o.typeParameters=null,o.this=null,this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(o.this=this.flowParseFunctionTypeParam(!0),o.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)o.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(o.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),o.returnType=this.flowParseTypeInitialiser(),this.finishNode(o,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(o,a){let c=this.startNode();return o.static=a,o.value=this.flowParseObjectTypeMethodish(c),this.finishNode(o,"ObjectTypeCallProperty")}flowParseObjectType(o){let{allowStatic:a,allowExact:c,allowSpread:h,allowProto:d,allowInexact:g}=o,y=this.state.inType;this.state.inType=!0;let D=this.startNode();D.callProperties=[],D.properties=[],D.indexers=[],D.internalSlots=[];let x,v,S=!1;for(c&&this.match(6)?(this.expect(6),x=9,v=!0):(this.expect(5),x=8,v=!1),D.exact=v;!this.match(x);){let T=!1,$=null,w=null,F=this.startNode();if(d&&this.isContextual(116)){let Z=this.lookahead();Z.type!==14&&Z.type!==17&&(this.next(),$=this.state.startLoc,a=!1)}if(a&&this.isContextual(104)){let Z=this.lookahead();Z.type!==14&&Z.type!==17&&(this.next(),T=!0)}let Q=this.flowParseVariance();if(this.eat(0))$!=null&&this.unexpected($),this.eat(0)?(Q&&this.unexpected(Q.loc.start),D.internalSlots.push(this.flowParseObjectTypeInternalSlot(F,T))):D.indexers.push(this.flowParseObjectTypeIndexer(F,T,Q));else if(this.match(10)||this.match(47))$!=null&&this.unexpected($),Q&&this.unexpected(Q.loc.start),D.callProperties.push(this.flowParseObjectTypeCallProperty(F,T));else{let Z="init";if(this.isContextual(98)||this.isContextual(103)){let L=this.lookahead();at(L.type)&&(Z=this.state.value,this.next())}let re=this.flowParseObjectTypeProperty(F,T,$,Q,Z,h,g??!v);re===null?(S=!0,w=this.state.lastTokStartLoc):D.properties.push(re)}this.flowObjectTypeSemicolon(),w&&!this.match(8)&&!this.match(9)&&this.raise(xe.UnexpectedExplicitInexactInObject,{at:w})}this.expect(x),h&&(D.inexact=S);let k=this.finishNode(D,"ObjectTypeAnnotation");return this.state.inType=y,k}flowParseObjectTypeProperty(o,a,c,h,d,g,y){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(g?y||this.raise(xe.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(xe.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),h&&this.raise(xe.InexactVariance,{at:h}),null):(g||this.raise(xe.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),c!=null&&this.unexpected(c),h&&this.raise(xe.SpreadVariance,{at:h}),o.argument=this.flowParseType(),this.finishNode(o,"ObjectTypeSpreadProperty"));{o.key=this.flowParseObjectPropertyKey(),o.static=a,o.proto=c!=null,o.kind=d;let D=!1;return this.match(47)||this.match(10)?(o.method=!0,c!=null&&this.unexpected(c),h&&this.unexpected(h.loc.start),o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(o.loc.start)),(d==="get"||d==="set")&&this.flowCheckGetterSetterParams(o),!g&&o.key.name==="constructor"&&o.value.this&&this.raise(xe.ThisParamBannedInConstructor,{at:o.value.this})):(d!=="init"&&this.unexpected(),o.method=!1,this.eat(17)&&(D=!0),o.value=this.flowParseTypeInitialiser(),o.variance=h),o.optional=D,this.finishNode(o,"ObjectTypeProperty")}}flowCheckGetterSetterParams(o){let a=o.kind==="get"?0:1,c=o.value.params.length+(o.value.rest?1:0);o.value.this&&this.raise(o.kind==="get"?xe.GetterMayNotHaveThisParam:xe.SetterMayNotHaveThisParam,{at:o.value.this}),c!==a&&this.raise(o.kind==="get"?Qe.BadGetterArity:Qe.BadSetterArity,{at:o}),o.kind==="set"&&o.value.rest&&this.raise(Qe.BadSetterRestParameter,{at:o})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(o,a){o!=null||(o=this.state.startLoc);let c=a||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let h=this.startNodeAt(o);h.qualification=c,h.id=this.flowParseRestrictedIdentifier(!0),c=this.finishNode(h,"QualifiedTypeIdentifier")}return c}flowParseGenericType(o,a){let c=this.startNodeAt(o);return c.typeParameters=null,c.id=this.flowParseQualifiedTypeIdentifier(o,a),this.match(47)&&(c.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(c,"GenericTypeAnnotation")}flowParseTypeofType(){let o=this.startNode();return this.expect(87),o.argument=this.flowParsePrimaryType(),this.finishNode(o,"TypeofTypeAnnotation")}flowParseTupleType(){let o=this.startNode();for(o.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(o.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(o,"TupleTypeAnnotation")}flowParseFunctionTypeParam(o){let a=null,c=!1,h=null,d=this.startNode(),g=this.lookahead(),y=this.state.type===78;return g.type===14||g.type===17?(y&&!o&&this.raise(xe.ThisParamMustBeFirst,{at:d}),a=this.parseIdentifier(y),this.eat(17)&&(c=!0,y&&this.raise(xe.ThisParamMayNotBeOptional,{at:d})),h=this.flowParseTypeInitialiser()):h=this.flowParseType(),d.name=a,d.optional=c,d.typeAnnotation=h,this.finishNode(d,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(o){let a=this.startNodeAt(o.loc.start);return a.name=null,a.optional=!1,a.typeAnnotation=o,this.finishNode(a,"FunctionTypeParam")}flowParseFunctionTypeParams(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=null,c=null;for(this.match(78)&&(c=this.flowParseFunctionTypeParam(!0),c.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)o.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(a=this.flowParseFunctionTypeParam(!1)),{params:o,rest:a,_this:c}}flowIdentToTypeAnnotation(o,a,c){switch(c.name){case"any":return this.finishNode(a,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(a,"BooleanTypeAnnotation");case"mixed":return this.finishNode(a,"MixedTypeAnnotation");case"empty":return this.finishNode(a,"EmptyTypeAnnotation");case"number":return this.finishNode(a,"NumberTypeAnnotation");case"string":return this.finishNode(a,"StringTypeAnnotation");case"symbol":return this.finishNode(a,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(c.name),this.flowParseGenericType(o,c)}}flowParsePrimaryType(){let o=this.state.startLoc,a=this.startNode(),c,h,d=!1,g=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,h=this.flowParseTupleType(),this.state.noAnonFunctionType=g,h;case 47:return a.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),c=this.flowParseFunctionTypeParams(),a.params=c.params,a.rest=c.rest,a.this=c._this,this.expect(11),this.expect(19),a.returnType=this.flowParseType(),this.finishNode(a,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(ot(this.state.type)||this.match(78)){let y=this.lookahead().type;d=y!==17&&y!==14}else d=!0;if(d){if(this.state.noAnonFunctionType=!1,h=this.flowParseType(),this.state.noAnonFunctionType=g,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),h;this.eat(12)}return h?c=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(h)]):c=this.flowParseFunctionTypeParams(),a.params=c.params,a.rest=c.rest,a.this=c._this,this.expect(11),this.expect(19),a.returnType=this.flowParseType(),a.typeParameters=null,this.finishNode(a,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return a.value=this.match(85),this.next(),this.finishNode(a,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",a);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",a);throw this.raise(xe.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(a,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(a,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(a,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(a,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Rt(this.state.type)){let y=Lr(this.state.type);return this.next(),super.createIdentifier(a,y)}else if(ot(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(o,a,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let o=this.state.startLoc,a=this.flowParsePrimaryType(),c=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let h=this.startNodeAt(o),d=this.eat(18);c=c||d,this.expect(0),!d&&this.match(3)?(h.elementType=a,this.next(),a=this.finishNode(h,"ArrayTypeAnnotation")):(h.objectType=a,h.indexType=this.flowParseType(),this.expect(3),c?(h.optional=d,a=this.finishNode(h,"OptionalIndexedAccessType")):a=this.finishNode(h,"IndexedAccessType"))}return a}flowParsePrefixType(){let o=this.startNode();return this.eat(17)?(o.typeAnnotation=this.flowParsePrefixType(),this.finishNode(o,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let o=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let a=this.startNodeAt(o.loc.start);return a.params=[this.reinterpretTypeAsFunctionTypeParam(o)],a.rest=null,a.this=null,a.returnType=this.flowParseType(),a.typeParameters=null,this.finishNode(a,"FunctionTypeAnnotation")}return o}flowParseIntersectionType(){let o=this.startNode();this.eat(45);let a=this.flowParseAnonFunctionWithoutParens();for(o.types=[a];this.eat(45);)o.types.push(this.flowParseAnonFunctionWithoutParens());return o.types.length===1?a:this.finishNode(o,"IntersectionTypeAnnotation")}flowParseUnionType(){let o=this.startNode();this.eat(43);let a=this.flowParseIntersectionType();for(o.types=[a];this.eat(43);)o.types.push(this.flowParseIntersectionType());return o.types.length===1?a:this.finishNode(o,"UnionTypeAnnotation")}flowParseType(){let o=this.state.inType;this.state.inType=!0;let a=this.flowParseUnionType();return this.state.inType=o,a}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){let o=this.state.startLoc,a=this.parseIdentifier();return this.flowParseGenericType(o,a)}else return this.flowParseType()}flowParseTypeAnnotation(){let o=this.startNode();return o.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(o,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(o){let a=o?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(a.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(a)),a}typeCastToParameter(o){return o.expression.typeAnnotation=o.typeAnnotation,this.resetEndLocation(o.expression,o.typeAnnotation.loc.end),o.expression}flowParseVariance(){let o=null;return this.match(53)?(o=this.startNode(),this.state.value==="+"?o.kind="plus":o.kind="minus",this.next(),this.finishNode(o,"Variance")):o}parseFunctionBody(o,a){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(a){this.forwardNoArrowParamsConversionAt(o,()=>super.parseFunctionBody(o,!0,c));return}super.parseFunctionBody(o,!1,c)}parseFunctionBodyAndFinish(o,a){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.match(14)){let h=this.startNode();[h.typeAnnotation,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),o.returnType=h.typeAnnotation?this.finishNode(h,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(o,a,c)}parseStatementLike(o){if(this.state.strict&&this.isContextual(127)){let c=this.lookahead();if(Xe(c.type)){let h=this.startNode();return this.next(),this.flowParseInterface(h)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let c=this.startNode();return this.next(),this.flowParseEnumDeclaration(c)}let a=super.parseStatementLike(o);return this.flowPragma===void 0&&!this.isValidDirective(a)&&(this.flowPragma=null),a}parseExpressionStatement(o,a,c){if(a.type==="Identifier"){if(a.name==="declare"){if(this.match(80)||ot(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(o)}else if(ot(this.state.type)){if(a.name==="interface")return this.flowParseInterface(o);if(a.name==="type")return this.flowParseTypeAlias(o);if(a.name==="opaque")return this.flowParseOpaqueType(o,!1)}}return super.parseExpressionStatement(o,a,c)}shouldParseExportDeclaration(){let{type:o}=this.state;return nt(o)||this.shouldParseEnums()&&o===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:o}=this.state;return nt(o)||this.shouldParseEnums()&&o===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let o=this.startNode();return this.next(),this.flowParseEnumDeclaration(o)}return super.parseExportDefaultExpression()}parseConditional(o,a,c){if(!this.match(17))return o;if(this.state.maybeInArrowParameters){let S=this.lookaheadCharCode();if(S===44||S===61||S===58||S===41)return this.setOptionalParametersError(c),o}this.expect(17);let h=this.state.clone(),d=this.state.noArrowAt,g=this.startNodeAt(a),{consequent:y,failed:D}=this.tryParseConditionalConsequent(),[x,v]=this.getArrowLikeExpressions(y);if(D||v.length>0){let S=[...d];if(v.length>0){this.state=h,this.state.noArrowAt=S;for(let k=0;k<v.length;k++)S.push(v[k].start);({consequent:y,failed:D}=this.tryParseConditionalConsequent()),[x,v]=this.getArrowLikeExpressions(y)}D&&x.length>1&&this.raise(xe.AmbiguousConditionalArrow,{at:h.startLoc}),D&&x.length===1&&(this.state=h,S.push(x[0].start),this.state.noArrowAt=S,{consequent:y,failed:D}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(y,!0),this.state.noArrowAt=d,this.expect(14),g.test=o,g.consequent=y,g.alternate=this.forwardNoArrowParamsConversionAt(g,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(g,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let o=this.parseMaybeAssignAllowIn(),a=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:o,failed:a}}getArrowLikeExpressions(o,a){let c=[o],h=[];for(;c.length!==0;){let d=c.pop();d.type==="ArrowFunctionExpression"?(d.typeParameters||!d.returnType?this.finishArrowValidation(d):h.push(d),c.push(d.body)):d.type==="ConditionalExpression"&&(c.push(d.consequent),c.push(d.alternate))}return a?(h.forEach(d=>this.finishArrowValidation(d)),[h,[]]):wr(h,d=>d.params.every(g=>this.isAssignable(g,!0)))}finishArrowValidation(o){var a;this.toAssignableList(o.params,(a=o.extra)==null?void 0:a.trailingCommaLoc,!1),this.scope.enter(Oa|Cl),super.checkParams(o,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(o,a){let c;return this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),c=a(),this.state.noArrowParamsConversionAt.pop()):c=a(),c}parseParenItem(o,a){if(o=super.parseParenItem(o,a),this.eat(17)&&(o.optional=!0,this.resetEndLocation(o)),this.match(14)){let c=this.startNodeAt(a);return c.expression=o,c.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(c,"TypeCastExpression")}return o}assertModuleNodeAllowed(o){o.type==="ImportDeclaration"&&(o.importKind==="type"||o.importKind==="typeof")||o.type==="ExportNamedDeclaration"&&o.exportKind==="type"||o.type==="ExportAllDeclaration"&&o.exportKind==="type"||super.assertModuleNodeAllowed(o)}parseExport(o,a){let c=super.parseExport(o,a);return(c.type==="ExportNamedDeclaration"||c.type==="ExportAllDeclaration")&&(c.exportKind=c.exportKind||"value"),c}parseExportDeclaration(o){if(this.isContextual(128)){o.exportKind="type";let a=this.startNode();return this.next(),this.match(5)?(o.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(o),null):this.flowParseTypeAlias(a)}else if(this.isContextual(129)){o.exportKind="type";let a=this.startNode();return this.next(),this.flowParseOpaqueType(a,!1)}else if(this.isContextual(127)){o.exportKind="type";let a=this.startNode();return this.next(),this.flowParseInterface(a)}else if(this.shouldParseEnums()&&this.isContextual(124)){o.exportKind="value";let a=this.startNode();return this.next(),this.flowParseEnumDeclaration(a)}else return super.parseExportDeclaration(o)}eatExportStar(o){return super.eatExportStar(o)?!0:this.isContextual(128)&&this.lookahead().type===55?(o.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(o){let{startLoc:a}=this.state,c=super.maybeParseExportNamespaceSpecifier(o);return c&&o.exportKind==="type"&&this.unexpected(a),c}parseClassId(o,a,c){super.parseClassId(o,a,c),this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(o,a,c){let{startLoc:h}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(o,a))return;a.declare=!0}super.parseClassMember(o,a,c),a.declare&&(a.type!=="ClassProperty"&&a.type!=="ClassPrivateProperty"&&a.type!=="PropertyDefinition"?this.raise(xe.DeclareClassElement,{at:h}):a.value&&this.raise(xe.DeclareClassFieldInitializer,{at:a.value}))}isIterator(o){return o==="iterator"||o==="asyncIterator"}readIterator(){let o=super.readWord1(),a="@@"+o;(!this.isIterator(o)||!this.state.inType)&&this.raise(Qe.InvalidIdentifier,{at:this.state.curPosition(),identifierName:a}),this.finishToken(130,a)}getTokenFromCode(o){let a=this.input.charCodeAt(this.state.pos+1);o===123&&a===124?this.finishOp(6,2):this.state.inType&&(o===62||o===60)?this.finishOp(o===62?48:47,1):this.state.inType&&o===63?a===46?this.finishOp(18,2):this.finishOp(17,1):jh(o,a,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(o)}isAssignable(o,a){return o.type==="TypeCastExpression"?this.isAssignable(o.expression,a):super.isAssignable(o,a)}toAssignable(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!a&&o.type==="AssignmentExpression"&&o.left.type==="TypeCastExpression"&&(o.left=this.typeCastToParameter(o.left)),super.toAssignable(o,a)}toAssignableList(o,a,c){for(let h=0;h<o.length;h++){let d=o[h];(d==null?void 0:d.type)==="TypeCastExpression"&&(o[h]=this.typeCastToParameter(d))}super.toAssignableList(o,a,c)}toReferencedList(o,a){for(let h=0;h<o.length;h++){var c;let d=o[h];d&&d.type==="TypeCastExpression"&&!((c=d.extra)!=null&&c.parenthesized)&&(o.length>1||!a)&&this.raise(xe.TypeCastInPattern,{at:d.typeAnnotation})}return o}parseArrayLike(o,a,c,h){let d=super.parseArrayLike(o,a,c,h);return a&&!this.state.maybeInArrowParameters&&this.toReferencedList(d.elements),d}isValidLVal(o,a,c){return o==="TypeCastExpression"||super.isValidLVal(o,a,c)}parseClassProperty(o){return this.match(14)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(o)}parseClassPrivateProperty(o){return this.match(14)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(o)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(o){return!this.match(14)&&super.isNonstaticConstructor(o)}pushClassMethod(o,a,c,h,d,g){if(a.variance&&this.unexpected(a.variance.loc.start),delete a.variance,this.match(47)&&(a.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(o,a,c,h,d,g),a.params&&d){let y=a.params;y.length>0&&this.isThisParam(y[0])&&this.raise(xe.ThisParamBannedInConstructor,{at:a})}else if(a.type==="MethodDefinition"&&d&&a.value.params){let y=a.value.params;y.length>0&&this.isThisParam(y[0])&&this.raise(xe.ThisParamBannedInConstructor,{at:a})}}pushClassPrivateMethod(o,a,c,h){a.variance&&this.unexpected(a.variance.loc.start),delete a.variance,this.match(47)&&(a.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(o,a,c,h)}parseClassSuper(o){if(super.parseClassSuper(o),o.superClass&&this.match(47)&&(o.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let a=o.implements=[];do{let c=this.startNode();c.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?c.typeParameters=this.flowParseTypeParameterInstantiation():c.typeParameters=null,a.push(this.finishNode(c,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(o){super.checkGetterSetterParams(o);let a=this.getObjectOrClassMethodParams(o);if(a.length>0){let c=a[0];this.isThisParam(c)&&o.kind==="get"?this.raise(xe.GetterMayNotHaveThisParam,{at:c}):this.isThisParam(c)&&this.raise(xe.SetterMayNotHaveThisParam,{at:c})}}parsePropertyNamePrefixOperator(o){o.variance=this.flowParseVariance()}parseObjPropValue(o,a,c,h,d,g,y){o.variance&&this.unexpected(o.variance.loc.start),delete o.variance;let D;this.match(47)&&!g&&(D=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let x=super.parseObjPropValue(o,a,c,h,d,g,y);return D&&((x.value||x).typeParameters=D),x}parseAssignableListItemTypes(o){return this.eat(17)&&(o.type!=="Identifier"&&this.raise(xe.PatternIsOptional,{at:o}),this.isThisParam(o)&&this.raise(xe.ThisParamMayNotBeOptional,{at:o}),o.optional=!0),this.match(14)?o.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(o)&&this.raise(xe.ThisParamAnnotationRequired,{at:o}),this.match(29)&&this.isThisParam(o)&&this.raise(xe.ThisParamNoDefault,{at:o}),this.resetEndLocation(o),o}parseMaybeDefault(o,a){let c=super.parseMaybeDefault(o,a);return c.type==="AssignmentPattern"&&c.typeAnnotation&&c.right.start<c.typeAnnotation.start&&this.raise(xe.TypeBeforeInitializer,{at:c.typeAnnotation}),c}shouldParseDefaultImport(o){return ct(o)?dt(this.state.type):super.shouldParseDefaultImport(o)}checkImportReflection(o){super.checkImportReflection(o),o.module&&o.importKind!=="value"&&this.raise(xe.ImportReflectionHasImportType,{at:o.specifiers[0].loc.start})}parseImportSpecifierLocal(o,a,c){a.local=ct(o)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),o.specifiers.push(this.finishImportSpecifier(a,c))}maybeParseDefaultImportSpecifier(o){o.importKind="value";let a=null;if(this.match(87)?a="typeof":this.isContextual(128)&&(a="type"),a){let c=this.lookahead(),{type:h}=c;a==="type"&&h===55&&this.unexpected(null,c.type),(dt(h)||h===5||h===55)&&(this.next(),o.importKind=a)}return super.maybeParseDefaultImportSpecifier(o)}parseImportSpecifier(o,a,c,h,d){let g=o.imported,y=null;g.type==="Identifier"&&(g.name==="type"?y="type":g.name==="typeof"&&(y="typeof"));let D=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let v=this.parseIdentifier(!0);y!==null&&!Xe(this.state.type)?(o.imported=v,o.importKind=y,o.local=V(v)):(o.imported=g,o.importKind=null,o.local=this.parseIdentifier())}else{if(y!==null&&Xe(this.state.type))o.imported=this.parseIdentifier(!0),o.importKind=y;else{if(a)throw this.raise(Qe.ImportBindingIsString,{at:o,importName:g.value});o.imported=g,o.importKind=null}this.eatContextual(93)?o.local=this.parseIdentifier():(D=!0,o.local=V(o.imported))}let x=ct(o);return c&&x&&this.raise(xe.ImportTypeShorthandOnlyInPureImport,{at:o}),(c||x)&&this.checkReservedType(o.local.name,o.local.loc.start,!0),D&&!c&&!x&&this.checkReservedWord(o.local.name,o.loc.start,!0,!0),this.finishImportSpecifier(o,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(o,a){let c=o.kind;c!=="get"&&c!=="set"&&this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(o,a)}parseVarId(o,a){super.parseVarId(o,a),this.match(14)&&(o.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(o.id))}parseAsyncArrowFromCallExpression(o,a){if(this.match(14)){let c=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,o.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=c}return super.parseAsyncArrowFromCallExpression(o,a)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(o,a){var c;let h=null,d;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(h=this.state.clone(),d=this.tryParse(()=>super.parseMaybeAssign(o,a),h),!d.error)return d.node;let{context:D}=this.state,x=D[D.length-1];(x===hr.j_oTag||x===hr.j_expr)&&D.pop()}if((c=d)!=null&&c.error||this.match(47)){var g,y;h=h||this.state.clone();let D,x=this.tryParse(S=>{var k;D=this.flowParseTypeParameterDeclaration();let T=this.forwardNoArrowParamsConversionAt(D,()=>{let w=super.parseMaybeAssign(o,a);return this.resetStartLocationFromNode(w,D),w});(k=T.extra)!=null&&k.parenthesized&&S();let $=this.maybeUnwrapTypeCastExpression(T);return $.type!=="ArrowFunctionExpression"&&S(),$.typeParameters=D,this.resetStartLocationFromNode($,D),T},h),v=null;if(x.node&&this.maybeUnwrapTypeCastExpression(x.node).type==="ArrowFunctionExpression"){if(!x.error&&!x.aborted)return x.node.async&&this.raise(xe.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:D}),x.node;v=x.node}if((g=d)!=null&&g.node)return this.state=d.failState,d.node;if(v)return this.state=x.failState,v;throw(y=d)!=null&&y.thrown?d.error:x.thrown?x.error:this.raise(xe.UnexpectedTokenAfterTypeParameter,{at:D})}return super.parseMaybeAssign(o,a)}parseArrow(o){if(this.match(14)){let a=this.tryParse(()=>{let c=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let h=this.startNode();return[h.typeAnnotation,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=c,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),h});if(a.thrown)return null;a.error&&(this.state=a.failState),o.returnType=a.node.typeAnnotation?this.finishNode(a.node,"TypeAnnotation"):null}return super.parseArrow(o)}shouldParseArrow(o){return this.match(14)||super.shouldParseArrow(o)}setArrowFunctionParameters(o,a){this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1?o.params=a:super.setArrowFunctionParameters(o,a)}checkParams(o,a,c){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!(c&&this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1)){for(let d=0;d<o.params.length;d++)this.isThisParam(o.params[d])&&d>0&&this.raise(xe.ThisParamMustBeFirst,{at:o.params[d]});super.checkParams(o,a,c,h)}}parseParenAndDistinguishExpression(o){return super.parseParenAndDistinguishExpression(o&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(o,a,c){if(o.type==="Identifier"&&o.name==="async"&&this.state.noArrowAt.indexOf(a.index)!==-1){this.next();let h=this.startNodeAt(a);h.callee=o,h.arguments=super.parseCallExpressionArguments(11,!1),o=this.finishNode(h,"CallExpression")}else if(o.type==="Identifier"&&o.name==="async"&&this.match(47)){let h=this.state.clone(),d=this.tryParse(y=>this.parseAsyncArrowWithTypeParameters(a)||y(),h);if(!d.error&&!d.aborted)return d.node;let g=this.tryParse(()=>super.parseSubscripts(o,a,c),h);if(g.node&&!g.error)return g.node;if(d.node)return this.state=d.failState,d.node;if(g.node)return this.state=g.failState,g.node;throw d.error||g.error}return super.parseSubscripts(o,a,c)}parseSubscript(o,a,c,h){if(this.match(18)&&this.isLookaheadToken_lt()){if(h.optionalChainMember=!0,c)return h.stop=!0,o;this.next();let d=this.startNodeAt(a);return d.callee=o,d.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),d.arguments=this.parseCallExpressionArguments(11,!1),d.optional=!0,this.finishCallExpression(d,!0)}else if(!c&&this.shouldParseTypes()&&this.match(47)){let d=this.startNodeAt(a);d.callee=o;let g=this.tryParse(()=>(d.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),d.arguments=super.parseCallExpressionArguments(11,!1),h.optionalChainMember&&(d.optional=!1),this.finishCallExpression(d,h.optionalChainMember)));if(g.node)return g.error&&(this.state=g.failState),g.node}return super.parseSubscript(o,a,c,h)}parseNewCallee(o){super.parseNewCallee(o);let a=null;this.shouldParseTypes()&&this.match(47)&&(a=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),o.typeArguments=a}parseAsyncArrowWithTypeParameters(o){let a=this.startNodeAt(o);if(this.parseFunctionParams(a,!1),!!this.parseArrow(a))return super.parseArrowExpression(a,void 0,!0)}readToken_mult_modulo(o){let a=this.input.charCodeAt(this.state.pos+1);if(o===42&&a===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(o)}readToken_pipe_amp(o){let a=this.input.charCodeAt(this.state.pos+1);if(o===124&&a===125){this.finishOp(9,2);return}super.readToken_pipe_amp(o)}parseTopLevel(o,a){let c=super.parseTopLevel(o,a);return this.state.hasFlowComment&&this.raise(xe.UnterminatedFlowComment,{at:this.state.curPosition()}),c}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(xe.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let o=this.skipFlowComment();o&&(this.state.pos+=o,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:o}=this.state,a=2;for(;[32,9].includes(this.input.charCodeAt(o+a));)a++;let c=this.input.charCodeAt(a+o),h=this.input.charCodeAt(a+o+1);return c===58&&h===58?a+2:this.input.slice(a+o,a+o+12)==="flow-include"?a+12:c===58&&h!==58?a:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(Qe.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(o,a){let{enumName:c,memberName:h}=a;this.raise(xe.EnumBooleanMemberNotInitialized,{at:o,memberName:h,enumName:c})}flowEnumErrorInvalidMemberInitializer(o,a){return this.raise(a.explicitType?a.explicitType==="symbol"?xe.EnumInvalidMemberInitializerSymbolType:xe.EnumInvalidMemberInitializerPrimaryType:xe.EnumInvalidMemberInitializerUnknownType,Object.assign({at:o},a))}flowEnumErrorNumberMemberNotInitialized(o,a){let{enumName:c,memberName:h}=a;this.raise(xe.EnumNumberMemberNotInitialized,{at:o,enumName:c,memberName:h})}flowEnumErrorStringMemberInconsistentlyInitailized(o,a){let{enumName:c}=a;this.raise(xe.EnumStringMemberInconsistentlyInitailized,{at:o,enumName:c})}flowEnumMemberInit(){let o=this.state.startLoc,a=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let c=this.parseNumericLiteral(this.state.value);return a()?{type:"number",loc:c.loc.start,value:c}:{type:"invalid",loc:o}}case 131:{let c=this.parseStringLiteral(this.state.value);return a()?{type:"string",loc:c.loc.start,value:c}:{type:"invalid",loc:o}}case 85:case 86:{let c=this.parseBooleanLiteral(this.match(85));return a()?{type:"boolean",loc:c.loc.start,value:c}:{type:"invalid",loc:o}}default:return{type:"invalid",loc:o}}}flowEnumMemberRaw(){let o=this.state.startLoc,a=this.parseIdentifier(!0),c=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:o};return{id:a,init:c}}flowEnumCheckExplicitTypeMismatch(o,a,c){let{explicitType:h}=a;h!==null&&h!==c&&this.flowEnumErrorInvalidMemberInitializer(o,a)}flowEnumMembers(o){let{enumName:a,explicitType:c}=o,h=new Set,d={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},g=!1;for(;!this.match(8);){if(this.eat(21)){g=!0;break}let y=this.startNode(),{id:D,init:x}=this.flowEnumMemberRaw(),v=D.name;if(v==="")continue;/^[a-z]/.test(v)&&this.raise(xe.EnumInvalidMemberName,{at:D,memberName:v,suggestion:v[0].toUpperCase()+v.slice(1),enumName:a}),h.has(v)&&this.raise(xe.EnumDuplicateMemberName,{at:D,memberName:v,enumName:a}),h.add(v);let S={enumName:a,explicitType:c,memberName:v};switch(y.id=D,x.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(x.loc,S,"boolean"),y.init=x.value,d.booleanMembers.push(this.finishNode(y,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(x.loc,S,"number"),y.init=x.value,d.numberMembers.push(this.finishNode(y,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(x.loc,S,"string"),y.init=x.value,d.stringMembers.push(this.finishNode(y,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(x.loc,S);case"none":switch(c){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(x.loc,S);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(x.loc,S);break;default:d.defaultedMembers.push(this.finishNode(y,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:d,hasUnknownMembers:g}}flowEnumStringMembers(o,a,c){let{enumName:h}=c;if(o.length===0)return a;if(a.length===0)return o;if(a.length>o.length){for(let d of o)this.flowEnumErrorStringMemberInconsistentlyInitailized(d,{enumName:h});return a}else{for(let d of a)this.flowEnumErrorStringMemberInconsistentlyInitailized(d,{enumName:h});return o}}flowEnumParseExplicitType(o){let{enumName:a}=o;if(!this.eatContextual(101))return null;if(!ot(this.state.type))throw this.raise(xe.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:a});let{value:c}=this.state;return this.next(),c!=="boolean"&&c!=="number"&&c!=="string"&&c!=="symbol"&&this.raise(xe.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:a,invalidEnumType:c}),c}flowEnumBody(o,a){let c=a.name,h=a.loc.start,d=this.flowEnumParseExplicitType({enumName:c});this.expect(5);let{members:g,hasUnknownMembers:y}=this.flowEnumMembers({enumName:c,explicitType:d});switch(o.hasUnknownMembers=y,d){case"boolean":return o.explicitType=!0,o.members=g.booleanMembers,this.expect(8),this.finishNode(o,"EnumBooleanBody");case"number":return o.explicitType=!0,o.members=g.numberMembers,this.expect(8),this.finishNode(o,"EnumNumberBody");case"string":return o.explicitType=!0,o.members=this.flowEnumStringMembers(g.stringMembers,g.defaultedMembers,{enumName:c}),this.expect(8),this.finishNode(o,"EnumStringBody");case"symbol":return o.members=g.defaultedMembers,this.expect(8),this.finishNode(o,"EnumSymbolBody");default:{let D=()=>(o.members=[],this.expect(8),this.finishNode(o,"EnumStringBody"));o.explicitType=!1;let x=g.booleanMembers.length,v=g.numberMembers.length,S=g.stringMembers.length,k=g.defaultedMembers.length;if(!x&&!v&&!S&&!k)return D();if(!x&&!v)return o.members=this.flowEnumStringMembers(g.stringMembers,g.defaultedMembers,{enumName:c}),this.expect(8),this.finishNode(o,"EnumStringBody");if(!v&&!S&&x>=k){for(let T of g.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(T.loc.start,{enumName:c,memberName:T.id.name});return o.members=g.booleanMembers,this.expect(8),this.finishNode(o,"EnumBooleanBody")}else if(!x&&!S&&v>=k){for(let T of g.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(T.loc.start,{enumName:c,memberName:T.id.name});return o.members=g.numberMembers,this.expect(8),this.finishNode(o,"EnumNumberBody")}else return this.raise(xe.EnumInconsistentMemberValues,{at:h,enumName:c}),D()}}}flowParseEnumDeclaration(o){let a=this.parseIdentifier();return o.id=a,o.body=this.flowEnumBody(this.startNode(),a),this.finishNode(o,"EnumDeclaration")}isLookaheadToken_lt(){let o=this.nextTokenStart();if(this.input.charCodeAt(o)===60){let a=this.input.charCodeAt(o+1);return a!==60&&a!==61}return!1}maybeUnwrapTypeCastExpression(o){return o.type==="TypeCastExpression"?o.expression:o}},Vn={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},An=Ui`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:l=>{let{openingTagName:o}=l;return`Expected corresponding JSX closing tag for <${o}>.`},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:l=>{let{unexpected:o,HTMLEntity:a}=l;return`Unexpected token \`${o}\`. Did you mean \`${a}\` or \`{'${o}'}\`?`},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function Qn(l){return l?l.type==="JSXOpeningFragment"||l.type==="JSXClosingFragment":!1}function Pn(l){if(l.type==="JSXIdentifier")return l.name;if(l.type==="JSXNamespacedName")return l.namespace.name+":"+l.name.name;if(l.type==="JSXMemberExpression")return Pn(l.object)+"."+Pn(l.property);throw new Error("Node had unexpected type: "+l.type)}var Xn=l=>class extends l{jsxReadToken(){let o="",a=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(An.UnterminatedJsxContent,{at:this.state.startLoc});let c=this.input.charCodeAt(this.state.pos);switch(c){case 60:case 123:if(this.state.pos===this.state.start){c===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(c);return}o+=this.input.slice(a,this.state.pos),this.finishToken(139,o);return;case 38:o+=this.input.slice(a,this.state.pos),o+=this.jsxReadEntity(),a=this.state.pos;break;case 62:case 125:default:Nl(c)?(o+=this.input.slice(a,this.state.pos),o+=this.jsxReadNewLine(!0),a=this.state.pos):++this.state.pos}}}jsxReadNewLine(o){let a=this.input.charCodeAt(this.state.pos),c;return++this.state.pos,a===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,c=o?`
|
|
`:`\r
|
|
`):c=String.fromCharCode(a),++this.state.curLine,this.state.lineStart=this.state.pos,c}jsxReadString(o){let a="",c=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Qe.UnterminatedString,{at:this.state.startLoc});let h=this.input.charCodeAt(this.state.pos);if(h===o)break;h===38?(a+=this.input.slice(c,this.state.pos),a+=this.jsxReadEntity(),c=this.state.pos):Nl(h)?(a+=this.input.slice(c,this.state.pos),a+=this.jsxReadNewLine(!1),c=this.state.pos):++this.state.pos}a+=this.input.slice(c,this.state.pos++),this.finishToken(131,a)}jsxReadEntity(){let o=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let a=10;this.codePointAtPos(this.state.pos)===120&&(a=16,++this.state.pos);let c=this.readInt(a,void 0,!1,"bail");if(c!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(c)}else{let a=0,c=!1;for(;a++<10&&this.state.pos<this.length&&!(c=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(c){let h=this.input.slice(o,this.state.pos),d=Vn[h];if(++this.state.pos,d)return d}}return this.state.pos=o,"&"}jsxReadWord(){let o,a=this.state.pos;do o=this.input.charCodeAt(++this.state.pos);while(ya(o)||o===45);this.finishToken(138,this.input.slice(a,this.state.pos))}jsxParseIdentifier(){let o=this.startNode();return this.match(138)?o.name=this.state.value:Rt(this.state.type)?o.name=Lr(this.state.type):this.unexpected(),this.next(),this.finishNode(o,"JSXIdentifier")}jsxParseNamespacedName(){let o=this.state.startLoc,a=this.jsxParseIdentifier();if(!this.eat(14))return a;let c=this.startNodeAt(o);return c.namespace=a,c.name=this.jsxParseIdentifier(),this.finishNode(c,"JSXNamespacedName")}jsxParseElementName(){let o=this.state.startLoc,a=this.jsxParseNamespacedName();if(a.type==="JSXNamespacedName")return a;for(;this.eat(16);){let c=this.startNodeAt(o);c.object=a,c.property=this.jsxParseIdentifier(),a=this.finishNode(c,"JSXMemberExpression")}return a}jsxParseAttributeValue(){let o;switch(this.state.type){case 5:return o=this.startNode(),this.setContext(hr.brace),this.next(),o=this.jsxParseExpressionContainer(o,hr.j_oTag),o.expression.type==="JSXEmptyExpression"&&this.raise(An.AttributeIsEmpty,{at:o}),o;case 140:case 131:return this.parseExprAtom();default:throw this.raise(An.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let o=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(o,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(o){return this.next(),o.expression=this.parseExpression(),this.setContext(hr.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXSpreadChild")}jsxParseExpressionContainer(o,a){if(this.match(8))o.expression=this.jsxParseEmptyExpression();else{let c=this.parseExpression();o.expression=c}return this.setContext(a),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXExpressionContainer")}jsxParseAttribute(){let o=this.startNode();return this.match(5)?(this.setContext(hr.brace),this.next(),this.expect(21),o.argument=this.parseMaybeAssignAllowIn(),this.setContext(hr.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXSpreadAttribute")):(o.name=this.jsxParseNamespacedName(),o.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(o,"JSXAttribute"))}jsxParseOpeningElementAt(o){let a=this.startNodeAt(o);return this.eat(141)?this.finishNode(a,"JSXOpeningFragment"):(a.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(a))}jsxParseOpeningElementAfterName(o){let a=[];for(;!this.match(56)&&!this.match(141);)a.push(this.jsxParseAttribute());return o.attributes=a,o.selfClosing=this.eat(56),this.expect(141),this.finishNode(o,"JSXOpeningElement")}jsxParseClosingElementAt(o){let a=this.startNodeAt(o);return this.eat(141)?this.finishNode(a,"JSXClosingFragment"):(a.name=this.jsxParseElementName(),this.expect(141),this.finishNode(a,"JSXClosingElement"))}jsxParseElementAt(o){let a=this.startNodeAt(o),c=[],h=this.jsxParseOpeningElementAt(o),d=null;if(!h.selfClosing){e:for(;;)switch(this.state.type){case 140:if(o=this.state.startLoc,this.next(),this.eat(56)){d=this.jsxParseClosingElementAt(o);break e}c.push(this.jsxParseElementAt(o));break;case 139:c.push(this.parseExprAtom());break;case 5:{let g=this.startNode();this.setContext(hr.brace),this.next(),this.match(21)?c.push(this.jsxParseSpreadChild(g)):c.push(this.jsxParseExpressionContainer(g,hr.j_expr));break}default:this.unexpected()}Qn(h)&&!Qn(d)&&d!==null?this.raise(An.MissingClosingTagFragment,{at:d}):!Qn(h)&&Qn(d)?this.raise(An.MissingClosingTagElement,{at:d,openingTagName:Pn(h.name)}):!Qn(h)&&!Qn(d)&&Pn(d.name)!==Pn(h.name)&&this.raise(An.MissingClosingTagElement,{at:d,openingTagName:Pn(h.name)})}if(Qn(h)?(a.openingFragment=h,a.closingFragment=d):(a.openingElement=h,a.closingElement=d),a.children=c,this.match(47))throw this.raise(An.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Qn(h)?this.finishNode(a,"JSXFragment"):this.finishNode(a,"JSXElement")}jsxParseElement(){let o=this.state.startLoc;return this.next(),this.jsxParseElementAt(o)}setContext(o){let{context:a}=this.state;a[a.length-1]=o}parseExprAtom(o){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(o)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(o){let a=this.curContext();if(a===hr.j_expr){this.jsxReadToken();return}if(a===hr.j_oTag||a===hr.j_cTag){if(Io(o)){this.jsxReadWord();return}if(o===62){++this.state.pos,this.finishToken(141);return}if((o===34||o===39)&&a===hr.j_oTag){this.jsxReadString(o);return}}if(o===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(140);return}super.getTokenFromCode(o)}updateContext(o){let{context:a,type:c}=this.state;if(c===56&&o===140)a.splice(-2,2,hr.j_cTag),this.state.canStartJSXElement=!1;else if(c===140)a.push(hr.j_oTag);else if(c===141){let h=a[a.length-1];h===hr.j_oTag&&o===56||h===hr.j_cTag?(a.pop(),this.state.canStartJSXElement=a[a.length-1]===hr.j_expr):(this.setContext(hr.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Mt(c)}},_r=class extends $l{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},ur=class extends pu{constructor(){super(...arguments),this.importsStack=[]}createScope(l){return this.importsStack.push(new Set),new _r(l)}enter(l){l==Wa&&this.importsStack.push(new Set),super.enter(l)}exit(){let l=super.exit();return l==Wa&&this.importsStack.pop(),l}hasImport(l,o){let a=this.importsStack.length;if(this.importsStack[a-1].has(l))return!0;if(!o&&a>1){for(let c=0;c<a-1;c++)if(this.importsStack[c].has(l))return!0}return!1}declareName(l,o,a){if(o&wl){this.hasImport(l,!0)&&this.parser.raise(Qe.VarRedeclaration,{at:a,identifierName:l}),this.importsStack[this.importsStack.length-1].add(l);return}let c=this.currentScope();if(o&Al){this.maybeExportDefined(c,l),c.exportOnlyBindings.add(l);return}super.declareName(l,o,a),o&Da&&(o&Ho||(this.checkRedeclarationInScope(c,l,o,a),this.maybeExportDefined(c,l)),c.types.add(l)),o&uu&&c.enums.add(l),o&El&&c.constEnums.add(l),o&au&&c.classes.add(l)}isRedeclaredInScope(l,o,a){if(l.enums.has(o)){if(a&uu){let c=!!(a&El),h=l.constEnums.has(o);return c!==h}return!0}return a&au&&l.classes.has(o)?l.lexical.has(o)?!!(a&Ho):!1:a&Da&&l.types.has(o)?!0:super.isRedeclaredInScope(l,o,a)}checkLocalExport(l){let{name:o}=l;if(this.hasImport(o))return;let a=this.scopeStack.length;for(let c=a-1;c>=0;c--){let h=this.scopeStack[c];if(h.types.has(o)||h.exportOnlyBindings.has(o))return}super.checkLocalExport(l)}},Qr=(l,o)=>Object.hasOwnProperty.call(l,o)&&l[o],lr=l=>l.type==="ParenthesizedExpression"?lr(l.expression):l,ks=class extends ye{toAssignable(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var a,c;let h;switch((l.type==="ParenthesizedExpression"||(a=l.extra)!=null&&a.parenthesized)&&(h=lr(l),o?h.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(Qe.InvalidParenthesizedAssignment,{at:l}):h.type!=="MemberExpression"&&this.raise(Qe.InvalidParenthesizedAssignment,{at:l}):this.raise(Qe.InvalidParenthesizedAssignment,{at:l})),l.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":l.type="ObjectPattern";for(let g=0,y=l.properties.length,D=y-1;g<y;g++){var d;let x=l.properties[g],v=g===D;this.toAssignableObjectExpressionProp(x,v,o),v&&x.type==="RestElement"&&(d=l.extra)!=null&&d.trailingCommaLoc&&this.raise(Qe.RestTrailingComma,{at:l.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:g,value:y}=l;this.isPrivateName(g)&&this.classScope.usePrivateName(this.getPrivateNameSV(g),g.loc.start),this.toAssignable(y,o);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":l.type="ArrayPattern",this.toAssignableList(l.elements,(c=l.extra)==null?void 0:c.trailingCommaLoc,o);break;case"AssignmentExpression":l.operator!=="="&&this.raise(Qe.MissingEqInAssignment,{at:l.left.loc.end}),l.type="AssignmentPattern",delete l.operator,this.toAssignable(l.left,o);break;case"ParenthesizedExpression":this.toAssignable(h,o);break}}toAssignableObjectExpressionProp(l,o,a){if(l.type==="ObjectMethod")this.raise(l.kind==="get"||l.kind==="set"?Qe.PatternHasAccessor:Qe.PatternHasMethod,{at:l.key});else if(l.type==="SpreadElement"){l.type="RestElement";let c=l.argument;this.checkToRestConversion(c,!1),this.toAssignable(c,a),o||this.raise(Qe.RestTrailingComma,{at:l})}else this.toAssignable(l,a)}toAssignableList(l,o,a){let c=l.length-1;for(let h=0;h<=c;h++){let d=l[h];if(d){if(d.type==="SpreadElement"){d.type="RestElement";let g=d.argument;this.checkToRestConversion(g,!0),this.toAssignable(g,a)}else this.toAssignable(d,a);d.type==="RestElement"&&(h<c?this.raise(Qe.RestTrailingComma,{at:d}):o&&this.raise(Qe.RestTrailingComma,{at:o}))}}}isAssignable(l,o){switch(l.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let a=l.properties.length-1;return l.properties.every((c,h)=>c.type!=="ObjectMethod"&&(h===a||c.type!=="SpreadElement")&&this.isAssignable(c))}case"ObjectProperty":return this.isAssignable(l.value);case"SpreadElement":return this.isAssignable(l.argument);case"ArrayExpression":return l.elements.every(a=>a===null||this.isAssignable(a));case"AssignmentExpression":return l.operator==="=";case"ParenthesizedExpression":return this.isAssignable(l.expression);case"MemberExpression":case"OptionalMemberExpression":return!o;default:return!1}}toReferencedList(l,o){return l}toReferencedListDeep(l,o){this.toReferencedList(l,o);for(let a of l)(a==null?void 0:a.type)==="ArrayExpression"&&this.toReferencedListDeep(a.elements)}parseSpread(l){let o=this.startNode();return this.next(),o.argument=this.parseMaybeAssignAllowIn(l,void 0),this.finishNode(o,"SpreadElement")}parseRestBinding(){let l=this.startNode();return this.next(),l.argument=this.parseBindingAtom(),this.finishNode(l,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let l=this.startNode();return this.next(),l.elements=this.parseBindingList(3,93,1),this.finishNode(l,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(l,o,a){let c=a&1,h=[],d=!0;for(;!this.eat(l);)if(d?d=!1:this.expect(12),c&&this.match(12))h.push(null);else{if(this.eat(l))break;if(this.match(21)){if(h.push(this.parseAssignableListItemTypes(this.parseRestBinding(),a)),!this.checkCommaAfterRest(o)){this.expect(l);break}}else{let g=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Qe.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)g.push(this.parseDecorator());h.push(this.parseAssignableListItem(a,g))}}return h}parseBindingRestProperty(l){return this.next(),l.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(l,"RestElement")}parseBindingProperty(){let l=this.startNode(),{type:o,startLoc:a}=this.state;return o===21?this.parseBindingRestProperty(l):(o===136?(this.expectPlugin("destructuringPrivate",a),this.classScope.usePrivateName(this.state.value,a),l.key=this.parsePrivateName()):this.parsePropertyName(l),l.method=!1,this.parseObjPropValue(l,a,!1,!1,!0,!1))}parseAssignableListItem(l,o){let a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a,l);let c=this.parseMaybeDefault(a.loc.start,a);return o.length&&(a.decorators=o),c}parseAssignableListItemTypes(l,o){return l}parseMaybeDefault(l,o){var a;if(l!=null||(l=this.state.startLoc),o=(a=o)!=null?a:this.parseBindingAtom(),!this.eat(29))return o;let c=this.startNodeAt(l);return c.left=o,c.right=this.parseMaybeAssignAllowIn(),this.finishNode(c,"AssignmentPattern")}isValidLVal(l,o,a){return Qr({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},l)}checkLVal(l,o){let{in:a,binding:c=xa,checkClashes:h=!1,strictModeChanged:d=!1,hasParenthesizedAncestor:g=!1}=o;var y;let D=l.type;if(this.isObjectMethod(l))return;if(D==="MemberExpression"){c!==xa&&this.raise(Qe.InvalidPropertyBindingPattern,{at:l});return}if(D==="Identifier"){this.checkIdentifier(l,c,d);let{name:T}=l;h&&(h.has(T)?this.raise(Qe.ParamDupe,{at:l}):h.add(T));return}let x=this.isValidLVal(D,!(g||(y=l.extra)!=null&&y.parenthesized)&&a.type==="AssignmentExpression",c);if(x===!0)return;if(x===!1){let T=c===xa?Qe.InvalidLhs:Qe.InvalidLhsBinding;this.raise(T,{at:l,ancestor:a});return}let[v,S]=Array.isArray(x)?x:[x,D==="ParenthesizedExpression"],k=D==="ArrayPattern"||D==="ObjectPattern"||D==="ParenthesizedExpression"?{type:D}:a;for(let T of[].concat(l[v]))T&&this.checkLVal(T,{in:k,binding:c,checkClashes:h,strictModeChanged:d,hasParenthesizedAncestor:S})}checkIdentifier(l,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.state.strict&&(a?is(l.name,this.inModule):_p(l.name))&&(o===xa?this.raise(Qe.StrictEvalArguments,{at:l,referenceName:l.name}):this.raise(Qe.StrictEvalArgumentsBinding,{at:l,bindingName:l.name})),o&Pl&&l.name==="let"&&this.raise(Qe.LetInLexicalBinding,{at:l}),o&xa||this.declareNameFromIdentifier(l,o)}declareNameFromIdentifier(l,o){this.scope.declareName(l.name,o,l.loc.start)}checkToRestConversion(l,o){switch(l.type){case"ParenthesizedExpression":this.checkToRestConversion(l.expression,o);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(o)break;default:this.raise(Qe.InvalidRestAssignmentPattern,{at:l})}}checkCommaAfterRest(l){return this.match(12)?(this.raise(this.lookaheadCharCode()===l?Qe.RestTrailingComma:Qe.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},Ki=(l,o)=>Object.hasOwnProperty.call(l,o)&&l[o];function ls(l){if(l==null)throw new Error(`Unexpected ${l} value.`);return l}function qi(l){if(!l)throw new Error("Assert fail")}var Fr=Ui`typescript`({AbstractMethodHasImplementation:l=>{let{methodName:o}=l;return`Method '${o}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:l=>{let{propertyName:o}=l;return`Property '${o}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:l=>{let{kind:o}=l;return`'declare' is not allowed in ${o}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:l=>"Accessibility modifier already seen.",DuplicateModifier:l=>{let{modifier:o}=l;return`Duplicate modifier: '${o}'.`},EmptyHeritageClauseType:l=>{let{token:o}=l;return`'${o}' list cannot be empty.`},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:l=>{let{modifiers:o}=l;return`'${o[0]}' modifier cannot be used with '${o[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:l=>{let{modifier:o}=l;return`Index signatures cannot have an accessibility modifier ('${o}').`},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:l=>{let{modifier:o}=l;return`'${o}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:l=>{let{modifier:o}=l;return`'${o}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:l=>{let{modifier:o}=l;return`'${o}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:l=>{let{orderedModifiers:o}=l;return`'${o[0]}' modifier must precede '${o[1]}' modifier.`},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:l=>{let{modifier:o}=l;return`Private elements cannot have an accessibility modifier ('${o}').`},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:l=>{let{typeParameterName:o}=l;return`Single type parameter ${o} should have a trailing comma. Example usage: <${o},>.`},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:l=>{let{type:o}=l;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${o}.`}});function yn(l){switch(l){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 ai(l){return l==="private"||l==="public"||l==="protected"}function zn(l){return l==="in"||l==="out"}var ui=l=>class extends l{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Fr.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Fr.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Fr.InvalidModifierOnTypeParameter})}getScopeHandler(){return ur}tsIsIdentifier(){return ot(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(o,a){if(!ot(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let c=this.state.value;if(o.indexOf(c)!==-1){if(a&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return c}}tsParseModifiers(o,a){let{allowedModifiers:c,disallowedModifiers:h,stopOnStartOfClassStaticBlock:d,errorTemplate:g=Fr.InvalidModifierOnTypeMember}=o,y=(x,v,S,k)=>{v===S&&a[k]&&this.raise(Fr.InvalidModifiersOrder,{at:x,orderedModifiers:[S,k]})},D=(x,v,S,k)=>{(a[S]&&v===k||a[k]&&v===S)&&this.raise(Fr.IncompatibleModifiers,{at:x,modifiers:[S,k]})};for(;;){let{startLoc:x}=this.state,v=this.tsParseModifier(c.concat(h??[]),d);if(!v)break;ai(v)?a.accessibility?this.raise(Fr.DuplicateAccessibilityModifier,{at:x,modifier:v}):(y(x,v,v,"override"),y(x,v,v,"static"),y(x,v,v,"readonly"),a.accessibility=v):zn(v)?(a[v]&&this.raise(Fr.DuplicateModifier,{at:x,modifier:v}),a[v]=!0,y(x,v,"in","out")):(Object.hasOwnProperty.call(a,v)?this.raise(Fr.DuplicateModifier,{at:x,modifier:v}):(y(x,v,"static","readonly"),y(x,v,"static","override"),y(x,v,"override","readonly"),y(x,v,"abstract","override"),D(x,v,"declare","override"),D(x,v,"static","abstract")),a[v]=!0),h!=null&&h.includes(v)&&this.raise(g,{at:x,modifier:v})}}tsIsListTerminator(o){switch(o){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(o,a){let c=[];for(;!this.tsIsListTerminator(o);)c.push(a());return c}tsParseDelimitedList(o,a,c){return ls(this.tsParseDelimitedListWorker(o,a,!0,c))}tsParseDelimitedListWorker(o,a,c,h){let d=[],g=-1;for(;!this.tsIsListTerminator(o);){g=-1;let y=a();if(y==null)return;if(d.push(y),this.eat(12)){g=this.state.lastTokStart;continue}if(this.tsIsListTerminator(o))break;c&&this.expect(12);return}return h&&(h.value=g),d}tsParseBracketedList(o,a,c,h,d){h||(c?this.expect(0):this.expect(47));let g=this.tsParseDelimitedList(o,a,d);return c?this.expect(3):this.expect(48),g}tsParseImportType(){let o=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(Fr.UnsupportedImportTypeArgument,{at:this.state.startLoc}),o.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(o.qualifier=this.tsParseEntityName()),this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSImportType")}tsParseEntityName(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=this.parseIdentifier(o);for(;this.eat(16);){let c=this.startNodeAtNode(a);c.left=a,c.right=this.parseIdentifier(o),a=this.finishNode(c,"TSQualifiedName")}return a}tsParseTypeReference(){let o=this.startNode();return o.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSTypeReference")}tsParseThisTypePredicate(o){this.next();let a=this.startNodeAtNode(o);return a.parameterName=o,a.typeAnnotation=this.tsParseTypeAnnotation(!1),a.asserts=!1,this.finishNode(a,"TSTypePredicate")}tsParseThisTypeNode(){let o=this.startNode();return this.next(),this.finishNode(o,"TSThisType")}tsParseTypeQuery(){let o=this.startNode();return this.expect(87),this.match(83)?o.exprName=this.tsParseImportType():o.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSTypeQuery")}tsParseTypeParameter(o){let a=this.startNode();return o(a),a.name=this.tsParseTypeParameterName(),a.constraint=this.tsEatThenParseType(81),a.default=this.tsEatThenParseType(29),this.finishNode(a,"TSTypeParameter")}tsTryParseTypeParameters(o){if(this.match(47))return this.tsParseTypeParameters(o)}tsParseTypeParameters(o){let a=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let c={value:-1};return a.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,o),!1,!0,c),a.params.length===0&&this.raise(Fr.EmptyTypeParameters,{at:a}),c.value!==-1&&this.addExtra(a,"trailingComma",c.value),this.finishNode(a,"TSTypeParameterDeclaration")}tsFillSignature(o,a){let c=o===19,h="parameters",d="typeAnnotation";a.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),a[h]=this.tsParseBindingListForSignature(),c?a[d]=this.tsParseTypeOrTypePredicateAnnotation(o):this.match(o)&&(a[d]=this.tsParseTypeOrTypePredicateAnnotation(o))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map(o=>(o.type!=="Identifier"&&o.type!=="RestElement"&&o.type!=="ObjectPattern"&&o.type!=="ArrayPattern"&&this.raise(Fr.UnsupportedSignatureParameterKind,{at:o,type:o.type}),o))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(o,a){return this.tsFillSignature(14,a),this.tsParseTypeMemberSemicolon(),this.finishNode(a,o)}tsIsUnambiguouslyIndexSignature(){return this.next(),ot(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(o){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let a=this.parseIdentifier();a.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(a),this.expect(3),o.parameters=[a];let c=this.tsTryParseTypeAnnotation();return c&&(o.typeAnnotation=c),this.tsParseTypeMemberSemicolon(),this.finishNode(o,"TSIndexSignature")}tsParsePropertyOrMethodSignature(o,a){this.eat(17)&&(o.optional=!0);let c=o;if(this.match(10)||this.match(47)){a&&this.raise(Fr.ReadonlyForMethodSignature,{at:o});let h=c;h.kind&&this.match(47)&&this.raise(Fr.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,h),this.tsParseTypeMemberSemicolon();let d="parameters",g="typeAnnotation";if(h.kind==="get")h[d].length>0&&(this.raise(Qe.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(h[d][0])&&this.raise(Fr.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(h.kind==="set"){if(h[d].length!==1)this.raise(Qe.BadSetterArity,{at:this.state.curPosition()});else{let y=h[d][0];this.isThisParam(y)&&this.raise(Fr.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),y.type==="Identifier"&&y.optional&&this.raise(Fr.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),y.type==="RestElement"&&this.raise(Fr.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}h[g]&&this.raise(Fr.SetAccesorCannotHaveReturnType,{at:h[g]})}else h.kind="method";return this.finishNode(h,"TSMethodSignature")}else{let h=c;a&&(h.readonly=!0);let d=this.tsTryParseTypeAnnotation();return d&&(h.typeAnnotation=d),this.tsParseTypeMemberSemicolon(),this.finishNode(h,"TSPropertySignature")}}tsParseTypeMember(){let o=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",o);if(this.match(77)){let c=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",o):(o.key=this.createIdentifier(c,"new"),this.tsParsePropertyOrMethodSignature(o,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},o),this.tsTryParseIndexSignature(o)||(super.parsePropertyName(o),!o.computed&&o.key.type==="Identifier"&&(o.key.name==="get"||o.key.name==="set")&&this.tsTokenCanFollowModifier()&&(o.kind=o.key.name,super.parsePropertyName(o)),this.tsParsePropertyOrMethodSignature(o,!!o.readonly))}tsParseTypeLiteral(){let o=this.startNode();return o.members=this.tsParseObjectTypeMembers(),this.finishNode(o,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let o=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),o}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let o=this.startNode();return o.name=this.tsParseTypeParameterName(),o.constraint=this.tsExpectThenParseType(58),this.finishNode(o,"TSTypeParameter")}tsParseMappedType(){let o=this.startNode();return this.expect(5),this.match(53)?(o.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(o.readonly=!0),this.expect(0),o.typeParameter=this.tsParseMappedTypeParameter(),o.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(o.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(o.optional=!0),o.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(o,"TSMappedType")}tsParseTupleType(){let o=this.startNode();o.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let a=!1,c=null;return o.elementTypes.forEach(h=>{let{type:d}=h;a&&d!=="TSRestType"&&d!=="TSOptionalType"&&!(d==="TSNamedTupleMember"&&h.optional)&&this.raise(Fr.OptionalTypeBeforeRequired,{at:h}),a||(a=d==="TSNamedTupleMember"&&h.optional||d==="TSOptionalType");let g=d;d==="TSRestType"&&(h=h.typeAnnotation,g=h.type);let y=g==="TSNamedTupleMember";c!=null||(c=y),c!==y&&this.raise(Fr.MixedLabeledAndUnlabeledElements,{at:h})}),this.finishNode(o,"TSTupleType")}tsParseTupleElementType(){let{startLoc:o}=this.state,a=this.eat(21),c,h,d,g,y=Xe(this.state.type)?this.lookaheadCharCode():null;if(y===58)c=!0,d=!1,h=this.parseIdentifier(!0),this.expect(14),g=this.tsParseType();else if(y===63){d=!0;let D=this.state.startLoc,x=this.state.value,v=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(c=!0,h=this.createIdentifier(this.startNodeAt(D),x),this.expect(17),this.expect(14),g=this.tsParseType()):(c=!1,g=v,this.expect(17))}else g=this.tsParseType(),d=this.eat(17),c=this.eat(14);if(c){let D;h?(D=this.startNodeAtNode(h),D.optional=d,D.label=h,D.elementType=g,this.eat(17)&&(D.optional=!0,this.raise(Fr.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(D=this.startNodeAtNode(g),D.optional=d,this.raise(Fr.InvalidTupleMemberLabel,{at:g}),D.label=g,D.elementType=this.tsParseType()),g=this.finishNode(D,"TSNamedTupleMember")}else if(d){let D=this.startNodeAtNode(g);D.typeAnnotation=g,g=this.finishNode(D,"TSOptionalType")}if(a){let D=this.startNodeAt(o);D.typeAnnotation=g,g=this.finishNode(D,"TSRestType")}return g}tsParseParenthesizedType(){let o=this.startNode();return this.expect(10),o.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(o,"TSParenthesizedType")}tsParseFunctionOrConstructorType(o,a){let c=this.startNode();return o==="TSConstructorType"&&(c.abstract=!!a,a&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,c)),this.finishNode(c,o)}tsParseLiteralTypeNode(){let o=this.startNode();return o.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(o,"TSLiteralType")}tsParseTemplateLiteralType(){let o=this.startNode();return o.literal=super.parseTemplate(!1),this.finishNode(o,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let o=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(o):o}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let o=this.startNode(),a=this.lookahead();return a.type!==132&&a.type!==133&&this.unexpected(),o.literal=this.parseMaybeUnary(),this.finishNode(o,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:o}=this.state;if(ot(o)||o===88||o===84){let a=o===88?"TSVoidKeyword":o===84?"TSNullKeyword":yn(this.state.value);if(a!==void 0&&this.lookaheadCharCode()!==46){let c=this.startNode();return this.next(),this.finishNode(c,a)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let o=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let a=this.startNodeAtNode(o);a.elementType=o,this.expect(3),o=this.finishNode(a,"TSArrayType")}else{let a=this.startNodeAtNode(o);a.objectType=o,a.indexType=this.tsParseType(),this.expect(3),o=this.finishNode(a,"TSIndexedAccessType")}return o}tsParseTypeOperator(){let o=this.startNode(),a=this.state.value;return this.next(),o.operator=a,o.typeAnnotation=this.tsParseTypeOperatorOrHigher(),a==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(o),this.finishNode(o,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(o){switch(o.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Fr.UnexpectedReadonly,{at:o})}}tsParseInferType(){let o=this.startNode();this.expectContextual(113);let a=this.startNode();return a.name=this.tsParseTypeParameterName(),a.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),o.typeParameter=this.finishNode(a,"TSTypeParameter"),this.finishNode(o,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let o=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return o}}tsParseTypeOperatorOrHigher(){return en(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(o,a,c){let h=this.startNode(),d=this.eat(c),g=[];do g.push(a());while(this.eat(c));return g.length===1&&!d?g[0]:(h.types=g,this.finishNode(h,o))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(ot(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:o}=this.state,a=o.length;try{return this.parseObjectLike(8,!0),o.length===a}catch{return!1}}if(this.match(0)){this.next();let{errors:o}=this.state,a=o.length;try{return super.parseBindingList(3,93,1),o.length===a}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(o){return this.tsInType(()=>{let a=this.startNode();this.expect(o);let c=this.startNode(),h=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(h&&this.match(78)){let y=this.tsParseThisTypeOrThisTypePredicate();return y.type==="TSThisType"?(c.parameterName=y,c.asserts=!0,c.typeAnnotation=null,y=this.finishNode(c,"TSTypePredicate")):(this.resetStartLocationFromNode(y,c),y.asserts=!0),a.typeAnnotation=y,this.finishNode(a,"TSTypeAnnotation")}let d=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!d)return h?(c.parameterName=this.parseIdentifier(),c.asserts=h,c.typeAnnotation=null,a.typeAnnotation=this.finishNode(c,"TSTypePredicate"),this.finishNode(a,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,a);let g=this.tsParseTypeAnnotation(!1);return c.parameterName=d,c.typeAnnotation=g,c.asserts=h,a.typeAnnotation=this.finishNode(c,"TSTypePredicate"),this.finishNode(a,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let o=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),o}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let o=this.state.containsEsc;return this.next(),!ot(this.state.type)&&!this.match(78)?!1:(o&&this.raise(Qe.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{o&&this.expect(14),a.typeAnnotation=this.tsParseType()}),this.finishNode(a,"TSTypeAnnotation")}tsParseType(){qi(this.state.inType);let o=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return o;let a=this.startNodeAtNode(o);return a.checkType=o,a.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),a.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),a.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(a,"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(Fr.ReservedTypeAssertion,{at:this.state.startLoc});let o=this.startNode();return o.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),o.expression=this.parseMaybeUnary(),this.finishNode(o,"TSTypeAssertion")}tsParseHeritageClause(o){let a=this.state.startLoc,c=this.tsParseDelimitedList("HeritageClauseElement",()=>{let h=this.startNode();return h.expression=this.tsParseEntityName(),this.match(47)&&(h.typeParameters=this.tsParseTypeArguments()),this.finishNode(h,"TSExpressionWithTypeArguments")});return c.length||this.raise(Fr.EmptyHeritageClauseType,{at:a,token:o}),c}tsParseInterfaceDeclaration(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),a.declare&&(o.declare=!0),ot(this.state.type)?(o.id=this.parseIdentifier(),this.checkIdentifier(o.id,Tl)):(o.id=null,this.raise(Fr.MissingInterfaceName,{at:this.state.startLoc})),o.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(o.extends=this.tsParseHeritageClause("extends"));let c=this.startNode();return c.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),o.body=this.finishNode(c,"TSInterfaceBody"),this.finishNode(o,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(o){return o.id=this.parseIdentifier(),this.checkIdentifier(o.id,lu),o.typeAnnotation=this.tsInType(()=>{if(o.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let a=this.startNode();return this.next(),this.finishNode(a,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(o,"TSTypeAliasDeclaration")}tsInNoContext(o){let a=this.state.context;this.state.context=[a[0]];try{return o()}finally{this.state.context=a}}tsInType(o){let a=this.state.inType;this.state.inType=!0;try{return o()}finally{this.state.inType=a}}tsInDisallowConditionalTypesContext(o){let a=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return o()}finally{this.state.inDisallowConditionalTypesContext=a}}tsInAllowConditionalTypesContext(o){let a=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return o()}finally{this.state.inDisallowConditionalTypesContext=a}}tsEatThenParseType(o){return this.match(o)?this.tsNextThenParseType():void 0}tsExpectThenParseType(o){return this.tsDoThenParseType(()=>this.expect(o))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(o){return this.tsInType(()=>(o(),this.tsParseType()))}tsParseEnumMember(){let o=this.startNode();return o.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(o.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(o,"TSEnumMember")}tsParseEnumDeclaration(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a.const&&(o.const=!0),a.declare&&(o.declare=!0),this.expectContextual(124),o.id=this.parseIdentifier(),this.checkIdentifier(o.id,o.const?lc:kl),this.expect(5),o.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(o,"TSEnumDeclaration")}tsParseModuleBlock(){let o=this.startNode();return this.scope.enter(ju),this.expect(5),super.parseBlockOrModuleBlockBody(o.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(o,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o.id=this.parseIdentifier(),a||this.checkIdentifier(o.id,ko),this.eat(16)){let c=this.startNode();this.tsParseModuleOrNamespaceDeclaration(c,!0),o.body=c}else this.scope.enter(Wa),this.prodParam.enter(K),o.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(o,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(o){return this.isContextual(110)?(o.global=!0,o.id=this.parseIdentifier()):this.match(131)?o.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(Wa),this.prodParam.enter(K),o.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(o,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(o,a){o.isExport=a||!1,o.id=this.parseIdentifier(),this.checkIdentifier(o.id,wl),this.expect(29);let c=this.tsParseModuleReference();return o.importKind==="type"&&c.type!=="TSExternalModuleReference"&&this.raise(Fr.ImportAliasHasImportType,{at:c}),o.moduleReference=c,this.semicolon(),this.finishNode(o,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let o=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),o.expression=super.parseExprAtom(),this.expect(11),this.finishNode(o,"TSExternalModuleReference")}tsLookAhead(o){let a=this.state.clone(),c=o();return this.state=a,c}tsTryParseAndCatch(o){let a=this.tryParse(c=>o()||c());if(!(a.aborted||!a.node))return a.error&&(this.state=a.failState),a.node}tsTryParse(o){let a=this.state.clone(),c=o();if(c!==void 0&&c!==!1)return c;this.state=a}tsTryParseDeclare(o){if(this.isLineTerminator())return;let a=this.state.type,c;return this.isContextual(99)&&(a=74,c="let"),this.tsInAmbientContext(()=>{if(a===68)return o.declare=!0,super.parseFunctionStatement(o,!1,!1);if(a===80)return o.declare=!0,this.parseClass(o,!0,!1);if(a===124)return this.tsParseEnumDeclaration(o,{declare:!0});if(a===110)return this.tsParseAmbientExternalModuleDeclaration(o);if(a===75||a===74)return!this.match(75)||!this.isLookaheadContextual("enum")?(o.declare=!0,this.parseVarStatement(o,c||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(o,{const:!0,declare:!0}));if(a===127){let h=this.tsParseInterfaceDeclaration(o,{declare:!0});if(h)return h}if(ot(a))return this.tsParseDeclaration(o,this.state.value,!0,null)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(o,a,c){switch(a.name){case"declare":{let h=this.tsTryParseDeclare(o);if(h)return h.declare=!0,h;break}case"global":if(this.match(5)){this.scope.enter(Wa),this.prodParam.enter(K);let h=o;return h.global=!0,h.id=a,h.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(h,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(o,a.name,!1,c)}}tsParseDeclaration(o,a,c,h){switch(a){case"abstract":if(this.tsCheckLineTerminator(c)&&(this.match(80)||ot(this.state.type)))return this.tsParseAbstractDeclaration(o,h);break;case"module":if(this.tsCheckLineTerminator(c)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(o);if(ot(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(o)}break;case"namespace":if(this.tsCheckLineTerminator(c)&&ot(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(o);break;case"type":if(this.tsCheckLineTerminator(c)&&ot(this.state.type))return this.tsParseTypeAliasDeclaration(o);break}}tsCheckLineTerminator(o){return o?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(o){if(!this.match(47))return;let a=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let c=this.tsTryParseAndCatch(()=>{let h=this.startNodeAt(o);return h.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(h),h.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),h});if(this.state.maybeInArrowParameters=a,!!c)return super.parseArrowExpression(c,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let o=this.startNode();return o.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),o.params.length===0&&this.raise(Fr.EmptyTypeArguments,{at:o}),this.expect(48),this.finishNode(o,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return In(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(o,a){let c=this.state.startLoc,h={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},h);let d=h.accessibility,g=h.override,y=h.readonly;!(o&4)&&(d||y||g)&&this.raise(Fr.UnexpectedParameterModifier,{at:c});let D=this.parseMaybeDefault();this.parseAssignableListItemTypes(D,o);let x=this.parseMaybeDefault(D.loc.start,D);if(d||y||g){let v=this.startNodeAt(c);return a.length&&(v.decorators=a),d&&(v.accessibility=d),y&&(v.readonly=y),g&&(v.override=g),x.type!=="Identifier"&&x.type!=="AssignmentPattern"&&this.raise(Fr.UnsupportedParameterPropertyKind,{at:v}),v.parameter=x,this.finishNode(v,"TSParameterProperty")}return a.length&&(D.decorators=a),x}isSimpleParameter(o){return o.type==="TSParameterProperty"&&super.isSimpleParameter(o.parameter)||super.isSimpleParameter(o)}tsDisallowOptionalPattern(o){for(let a of o.params)a.type!=="Identifier"&&a.optional&&!this.state.isAmbientContext&&this.raise(Fr.PatternIsOptional,{at:a})}setArrowFunctionParameters(o,a,c){super.setArrowFunctionParameters(o,a,c),this.tsDisallowOptionalPattern(o)}parseFunctionBodyAndFinish(o,a){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.match(14)&&(o.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let h=a==="FunctionDeclaration"?"TSDeclareFunction":a==="ClassMethod"||a==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return h&&!this.match(5)&&this.isLineTerminator()?this.finishNode(o,h):h==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Fr.DeclareFunctionHasImplementation,{at:o}),o.declare)?super.parseFunctionBodyAndFinish(o,h,c):(this.tsDisallowOptionalPattern(o),super.parseFunctionBodyAndFinish(o,a,c))}registerFunctionStatementId(o){!o.body&&o.id?this.checkIdentifier(o.id,Zc):super.registerFunctionStatementId(o)}tsCheckForInvalidTypeCasts(o){o.forEach(a=>{(a==null?void 0:a.type)==="TSTypeCastExpression"&&this.raise(Fr.UnexpectedTypeAnnotation,{at:a.typeAnnotation})})}toReferencedList(o,a){return this.tsCheckForInvalidTypeCasts(o),o}parseArrayLike(o,a,c,h){let d=super.parseArrayLike(o,a,c,h);return d.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(d.elements),d}parseSubscript(o,a,c,h){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let g=this.startNodeAt(a);return g.expression=o,this.finishNode(g,"TSNonNullExpression")}let d=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(c)return h.stop=!0,o;h.optionalChainMember=d=!0,this.next()}if(this.match(47)||this.match(51)){let g,y=this.tsTryParseAndCatch(()=>{if(!c&&this.atPossibleAsyncArrow(o)){let S=this.tsTryParseGenericAsyncArrowFunction(a);if(S)return S}let D=this.tsParseTypeArgumentsInExpression();if(!D)return;if(d&&!this.match(10)){g=this.state.curPosition();return}if(ts(this.state.type)){let S=super.parseTaggedTemplateExpression(o,a,h);return S.typeParameters=D,S}if(!c&&this.eat(10)){let S=this.startNodeAt(a);return S.callee=o,S.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(S.arguments),S.typeParameters=D,h.optionalChainMember&&(S.optional=d),this.finishCallExpression(S,h.optionalChainMember)}let x=this.state.type;if(x===48||x===52||x!==10&&Zt(x)&&!this.hasPrecedingLineBreak())return;let v=this.startNodeAt(a);return v.expression=o,v.typeParameters=D,this.finishNode(v,"TSInstantiationExpression")});if(g&&this.unexpected(g,10),y)return y.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Fr.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),y}return super.parseSubscript(o,a,c,h)}parseNewCallee(o){var a;super.parseNewCallee(o);let{callee:c}=o;c.type==="TSInstantiationExpression"&&!((a=c.extra)!=null&&a.parenthesized)&&(o.typeParameters=c.typeParameters,o.callee=c.expression)}parseExprOp(o,a,c){let h;if($n(58)>c&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(h=this.isContextual(118)))){let d=this.startNodeAt(a);return d.expression=o,d.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(h&&this.raise(Qe.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(d,h?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(d,a,c)}return super.parseExprOp(o,a,c)}checkReservedWord(o,a,c,h){this.state.isAmbientContext||super.checkReservedWord(o,a,c,h)}checkImportReflection(o){super.checkImportReflection(o),o.module&&o.importKind!=="value"&&this.raise(Fr.ImportReflectionHasImportType,{at:o.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(o){if(o.importKind="value",ot(this.state.type)||this.match(55)||this.match(5)){let c=this.lookahead();if(this.isContextual(128)&&c.type!==12&&c.type!==97&&c.type!==29&&(o.importKind="type",this.next(),c=this.lookahead()),ot(this.state.type)&&c.type===29)return this.tsParseImportEqualsDeclaration(o)}let a=super.parseImport(o);return a.importKind==="type"&&a.specifiers.length>1&&a.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Fr.TypeImportCannotSpecifyDefaultAndNamed,{at:a}),a}parseExport(o,a){if(this.match(83))return this.next(),this.isContextual(128)&&this.lookaheadCharCode()!==61?(o.importKind="type",this.next()):o.importKind="value",this.tsParseImportEqualsDeclaration(o,!0);if(this.eat(29)){let c=o;return c.expression=super.parseExpression(),this.semicolon(),this.finishNode(c,"TSExportAssignment")}else if(this.eatContextual(93)){let c=o;return this.expectContextual(126),c.id=this.parseIdentifier(),this.semicolon(),this.finishNode(c,"TSNamespaceExportDeclaration")}else{if(o.exportKind="value",this.isContextual(128)){let c=this.lookaheadCharCode();(c===123||c===42)&&(this.next(),o.exportKind="type")}return super.parseExport(o,a)}}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let o=this.startNode();return this.next(),o.abstract=!0,this.parseClass(o,!0,!0)}if(this.match(127)){let o=this.tsParseInterfaceDeclaration(this.startNode());if(o)return o}return super.parseExportDefaultExpression()}parseVarStatement(o,a){let c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{isAmbientContext:h}=this.state,d=super.parseVarStatement(o,a,c||h);if(!h)return d;for(let{id:g,init:y}of d.declarations)y&&(a!=="const"||g.typeAnnotation?this.raise(Fr.InitializerNotAllowedInAmbientContext,{at:y}):Gt(y,this.hasPlugin("estree"))||this.raise(Fr.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:y}));return d}parseStatementContent(o,a){if(this.match(75)&&this.isLookaheadContextual("enum")){let c=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(c,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let c=this.tsParseInterfaceDeclaration(this.startNode());if(c)return c}return super.parseStatementContent(o,a)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(o,a){return a.some(c=>ai(c)?o.accessibility===c:!!o[c])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(o,a,c){let h=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:h,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Fr.InvalidModifierOnTypeParameterPositions},a);let d=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(a,h)&&this.raise(Fr.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(o,a)):this.parseClassMemberWithIsStatic(o,a,c,!!a.static)};a.declare?this.tsInAmbientContext(d):d()}parseClassMemberWithIsStatic(o,a,c,h){let d=this.tsTryParseIndexSignature(a);if(d){o.body.push(d),a.abstract&&this.raise(Fr.IndexSignatureHasAbstract,{at:a}),a.accessibility&&this.raise(Fr.IndexSignatureHasAccessibility,{at:a,modifier:a.accessibility}),a.declare&&this.raise(Fr.IndexSignatureHasDeclare,{at:a}),a.override&&this.raise(Fr.IndexSignatureHasOverride,{at:a});return}!this.state.inAbstractClass&&a.abstract&&this.raise(Fr.NonAbstractClassHasAbstractMethod,{at:a}),a.override&&(c.hadSuperClass||this.raise(Fr.OverrideNotInSubClass,{at:a})),super.parseClassMemberWithIsStatic(o,a,c,h)}parsePostMemberNameModifiers(o){this.eat(17)&&(o.optional=!0),o.readonly&&this.match(10)&&this.raise(Fr.ClassMethodHasReadonly,{at:o}),o.declare&&this.match(10)&&this.raise(Fr.ClassMethodHasDeclare,{at:o})}parseExpressionStatement(o,a,c){return(a.type==="Identifier"?this.tsParseExpressionStatement(o,a,c):void 0)||super.parseExpressionStatement(o,a,c)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(o,a,c){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(o,a,c);let h=this.tryParse(()=>super.parseConditional(o,a));return h.node?(h.error&&(this.state=h.failState),h.node):(h.error&&super.setOptionalParametersError(c,h.error),o)}parseParenItem(o,a){if(o=super.parseParenItem(o,a),this.eat(17)&&(o.optional=!0,this.resetEndLocation(o)),this.match(14)){let c=this.startNodeAt(a);return c.expression=o,c.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(c,"TSTypeCastExpression")}return o}parseExportDeclaration(o){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(o));let a=this.state.startLoc,c=this.eatContextual(123);if(c&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(Fr.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let h=ot(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(o);return h?((h.type==="TSInterfaceDeclaration"||h.type==="TSTypeAliasDeclaration"||c)&&(o.exportKind="type"),c&&(this.resetStartLocation(h,a),h.declare=!0),h):null}parseClassId(o,a,c,h){if((!a||c)&&this.isContextual(111))return;super.parseClassId(o,a,c,o.declare?Zc:Ip);let d=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);d&&(o.typeParameters=d)}parseClassPropertyAnnotation(o){o.optional||(this.eat(35)?o.definite=!0:this.eat(17)&&(o.optional=!0));let a=this.tsTryParseTypeAnnotation();a&&(o.typeAnnotation=a)}parseClassProperty(o){if(this.parseClassPropertyAnnotation(o),this.state.isAmbientContext&&!(o.readonly&&!o.typeAnnotation)&&this.match(29)&&this.raise(Fr.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),o.abstract&&this.match(29)){let{key:a}=o;this.raise(Fr.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:a.type==="Identifier"&&!o.computed?a.name:`[${this.input.slice(a.start,a.end)}]`})}return super.parseClassProperty(o)}parseClassPrivateProperty(o){return o.abstract&&this.raise(Fr.PrivateElementHasAbstract,{at:o}),o.accessibility&&this.raise(Fr.PrivateElementHasAccessibility,{at:o,modifier:o.accessibility}),this.parseClassPropertyAnnotation(o),super.parseClassPrivateProperty(o)}parseClassAccessorProperty(o){return this.parseClassPropertyAnnotation(o),o.optional&&this.raise(Fr.AccessorCannotBeOptional,{at:o}),super.parseClassAccessorProperty(o)}pushClassMethod(o,a,c,h,d,g){let y=this.tsTryParseTypeParameters(this.tsParseConstModifier);y&&d&&this.raise(Fr.ConstructorHasTypeParameters,{at:y});let{declare:D=!1,kind:x}=a;D&&(x==="get"||x==="set")&&this.raise(Fr.DeclareAccessor,{at:a,kind:x}),y&&(a.typeParameters=y),super.pushClassMethod(o,a,c,h,d,g)}pushClassPrivateMethod(o,a,c,h){let d=this.tsTryParseTypeParameters(this.tsParseConstModifier);d&&(a.typeParameters=d),super.pushClassPrivateMethod(o,a,c,h)}declareClassPrivateMethodInScope(o,a){o.type!=="TSDeclareMethod"&&(o.type==="MethodDefinition"&&!o.value.body||super.declareClassPrivateMethodInScope(o,a))}parseClassSuper(o){super.parseClassSuper(o),o.superClass&&(this.match(47)||this.match(51))&&(o.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(o.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(o,a,c,h,d,g,y){let D=this.tsTryParseTypeParameters(this.tsParseConstModifier);return D&&(o.typeParameters=D),super.parseObjPropValue(o,a,c,h,d,g,y)}parseFunctionParams(o,a){let c=this.tsTryParseTypeParameters(this.tsParseConstModifier);c&&(o.typeParameters=c),super.parseFunctionParams(o,a)}parseVarId(o,a){super.parseVarId(o,a),o.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(o.definite=!0);let c=this.tsTryParseTypeAnnotation();c&&(o.id.typeAnnotation=c,this.resetEndLocation(o.id))}parseAsyncArrowFromCallExpression(o,a){return this.match(14)&&(o.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(o,a)}parseMaybeAssign(o,a){var c,h,d,g,y,D,x;let v,S,k;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(v=this.state.clone(),S=this.tryParse(()=>super.parseMaybeAssign(o,a),v),!S.error)return S.node;let{context:w}=this.state,F=w[w.length-1];(F===hr.j_oTag||F===hr.j_expr)&&w.pop()}if(!((c=S)!=null&&c.error)&&!this.match(47))return super.parseMaybeAssign(o,a);(!v||v===this.state)&&(v=this.state.clone());let T,$=this.tryParse(w=>{var F,Q;T=this.tsParseTypeParameters(this.tsParseConstModifier);let Z=super.parseMaybeAssign(o,a);return(Z.type!=="ArrowFunctionExpression"||(F=Z.extra)!=null&&F.parenthesized)&&w(),((Q=T)==null?void 0:Q.params.length)!==0&&this.resetStartLocationFromNode(Z,T),Z.typeParameters=T,Z},v);if(!$.error&&!$.aborted)return T&&this.reportReservedArrowTypeParam(T),$.node;if(!S&&(qi(!this.hasPlugin("jsx")),k=this.tryParse(()=>super.parseMaybeAssign(o,a),v),!k.error))return k.node;if((h=S)!=null&&h.node)return this.state=S.failState,S.node;if($.node)return this.state=$.failState,T&&this.reportReservedArrowTypeParam(T),$.node;if((d=k)!=null&&d.node)return this.state=k.failState,k.node;throw(g=S)!=null&&g.thrown?S.error:$.thrown?$.error:(y=k)!=null&&y.thrown?k.error:((D=S)==null?void 0:D.error)||$.error||((x=k)==null?void 0:x.error)}reportReservedArrowTypeParam(o){var a;o.params.length===1&&!o.params[0].constraint&&!((a=o.extra)!=null&&a.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Fr.ReservedArrowTypeParam,{at:o})}parseMaybeUnary(o,a){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(o,a)}parseArrow(o){if(this.match(14)){let a=this.tryParse(c=>{let h=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&c(),h});if(a.aborted)return;a.thrown||(a.error&&(this.state=a.failState),o.returnType=a.node)}return super.parseArrow(o)}parseAssignableListItemTypes(o,a){if(!(a&2))return o;this.eat(17)&&(o.optional=!0);let c=this.tsTryParseTypeAnnotation();return c&&(o.typeAnnotation=c),this.resetEndLocation(o),o}isAssignable(o,a){switch(o.type){case"TSTypeCastExpression":return this.isAssignable(o.expression,a);case"TSParameterProperty":return!0;default:return super.isAssignable(o,a)}}toAssignable(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;switch(o.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(o,a);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":a?this.expressionScope.recordArrowParameterBindingError(Fr.UnexpectedTypeCastInParameter,{at:o}):this.raise(Fr.UnexpectedTypeCastInParameter,{at:o}),this.toAssignable(o.expression,a);break;case"AssignmentExpression":!a&&o.left.type==="TSTypeCastExpression"&&(o.left=this.typeCastToParameter(o.left));default:super.toAssignable(o,a)}}toAssignableParenthesizedExpression(o,a){switch(o.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(o.expression,a);break;default:super.toAssignable(o,a)}}checkToRestConversion(o,a){switch(o.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(o.expression,!1);break;default:super.checkToRestConversion(o,a)}}isValidLVal(o,a,c){return Ki({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(c!==xa||!a)&&["expression",!0],TSSatisfiesExpression:(c!==xa||!a)&&["expression",!0],TSTypeAssertion:(c!==xa||!a)&&["expression",!0]},o)||super.isValidLVal(o,a,c)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(o){if(this.match(47)||this.match(51)){let a=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let c=super.parseMaybeDecoratorArguments(o);return c.typeParameters=a,c}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(o)}checkCommaAfterRest(o){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===o?(this.next(),!1):super.checkCommaAfterRest(o)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(o,a){let c=super.parseMaybeDefault(o,a);return c.type==="AssignmentPattern"&&c.typeAnnotation&&c.right.start<c.typeAnnotation.start&&this.raise(Fr.TypeAnnotationAfterAssign,{at:c.typeAnnotation}),c}getTokenFromCode(o){if(this.state.inType){if(o===62){this.finishOp(48,1);return}if(o===60){this.finishOp(47,1);return}}super.getTokenFromCode(o)}reScan_lt_gt(){let{type:o}=this.state;o===47?(this.state.pos-=1,this.readToken_lt()):o===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:o}=this.state;return o===51?(this.state.pos-=2,this.finishOp(47,1),47):o}toAssignableList(o,a,c){for(let h=0;h<o.length;h++){let d=o[h];(d==null?void 0:d.type)==="TSTypeCastExpression"&&(o[h]=this.typeCastToParameter(d))}super.toAssignableList(o,a,c)}typeCastToParameter(o){return o.expression.typeAnnotation=o.typeAnnotation,this.resetEndLocation(o.expression,o.typeAnnotation.loc.end),o.expression}shouldParseArrow(o){return this.match(14)?o.every(a=>this.isAssignable(a,!0)):super.shouldParseArrow(o)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(o){if(this.match(47)||this.match(51)){let a=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());a&&(o.typeParameters=a)}return super.jsxParseOpeningElementAfterName(o)}getGetterSetterExpectedParamCount(o){let a=super.getGetterSetterExpectedParamCount(o),c=this.getObjectOrClassMethodParams(o)[0];return c&&this.isThisParam(c)?a+1:a}parseCatchClauseParam(){let o=super.parseCatchClauseParam(),a=this.tsTryParseTypeAnnotation();return a&&(o.typeAnnotation=a,this.resetEndLocation(o)),o}tsInAmbientContext(o){let a=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return o()}finally{this.state.isAmbientContext=a}}parseClass(o,a,c){let h=this.state.inAbstractClass;this.state.inAbstractClass=!!o.abstract;try{return super.parseClass(o,a,c)}finally{this.state.inAbstractClass=h}}tsParseAbstractDeclaration(o,a){if(this.match(80))return o.abstract=!0,this.maybeTakeDecorators(a,this.parseClass(o,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return o.abstract=!0,this.raise(Fr.NonClassMethodPropertyHasAbstractModifer,{at:o}),this.tsParseInterfaceDeclaration(o)}else this.unexpected(null,80)}parseMethod(o,a,c,h,d,g,y){let D=super.parseMethod(o,a,c,h,d,g,y);if(D.abstract&&(this.hasPlugin("estree")?D.value.body:D.body)){let{key:x}=D;this.raise(Fr.AbstractMethodHasImplementation,{at:D,methodName:x.type==="Identifier"&&!D.computed?x.name:`[${this.input.slice(x.start,x.end)}]`})}return D}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(o,a,c,h){return!a&&h?(this.parseTypeOnlyImportExportSpecifier(o,!1,c),this.finishNode(o,"ExportSpecifier")):(o.exportKind="value",super.parseExportSpecifier(o,a,c,h))}parseImportSpecifier(o,a,c,h,d){return!a&&h?(this.parseTypeOnlyImportExportSpecifier(o,!0,c),this.finishNode(o,"ImportSpecifier")):(o.importKind="value",super.parseImportSpecifier(o,a,c,h,c?Wu:wl))}parseTypeOnlyImportExportSpecifier(o,a,c){let h=a?"imported":"local",d=a?"local":"exported",g=o[h],y,D=!1,x=!0,v=g.loc.start;if(this.isContextual(93)){let k=this.parseIdentifier();if(this.isContextual(93)){let T=this.parseIdentifier();Xe(this.state.type)?(D=!0,g=k,y=a?this.parseIdentifier():this.parseModuleExportName(),x=!1):(y=T,x=!1)}else Xe(this.state.type)?(x=!1,y=a?this.parseIdentifier():this.parseModuleExportName()):(D=!0,g=k)}else Xe(this.state.type)&&(D=!0,a?(g=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(g.name,g.loc.start,!0,!0)):g=this.parseModuleExportName());D&&c&&this.raise(a?Fr.TypeModifierIsUsedInTypeImports:Fr.TypeModifierIsUsedInTypeExports,{at:v}),o[h]=g,o[d]=y;let S=a?"importKind":"exportKind";o[S]=D?"type":"value",x&&this.eatContextual(93)&&(o[d]=a?this.parseIdentifier():this.parseModuleExportName()),o[d]||(o[d]=V(o[h])),a&&this.checkIdentifier(o[d],D?Wu:wl)}};function Et(l){if(l.type!=="MemberExpression")return!1;let{computed:o,property:a}=l;return o&&a.type!=="StringLiteral"&&(a.type!=="TemplateLiteral"||a.expressions.length>0)?!1:bt(l.object)}function Gt(l,o){var a;let{type:c}=l;if((a=l.extra)!=null&&a.parenthesized)return!1;if(o){if(c==="Literal"){let{value:h}=l;if(typeof h=="string"||typeof h=="boolean")return!0}}else if(c==="StringLiteral"||c==="BooleanLiteral")return!0;return!!(tr(l,o)||Zr(l,o)||c==="TemplateLiteral"&&l.expressions.length===0||Et(l))}function tr(l,o){return o?l.type==="Literal"&&(typeof l.value=="number"||"bigint"in l):l.type==="NumericLiteral"||l.type==="BigIntLiteral"}function Zr(l,o){if(l.type==="UnaryExpression"){let{operator:a,argument:c}=l;if(a==="-"&&tr(c,o))return!0}return!1}function bt(l){return l.type==="Identifier"?!0:l.type!=="MemberExpression"||l.computed?!1:bt(l.object)}var wn=Ui`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),ln=l=>class extends l{parsePlaceholder(o){if(this.match(142)){let a=this.startNode();return this.next(),this.assertNoSpace(),a.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(a,o)}}finishPlaceholder(o,a){let c=!!(o.expectedNode&&o.type==="Placeholder");return o.expectedNode=a,c?o:this.finishNode(o,"Placeholder")}getTokenFromCode(o){o===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(o)}parseExprAtom(o){return this.parsePlaceholder("Expression")||super.parseExprAtom(o)}parseIdentifier(o){return this.parsePlaceholder("Identifier")||super.parseIdentifier(o)}checkReservedWord(o,a,c,h){o!==void 0&&super.checkReservedWord(o,a,c,h)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(o,a,c){return o==="Placeholder"||super.isValidLVal(o,a,c)}toAssignable(o,a){o&&o.type==="Placeholder"&&o.expectedNode==="Expression"?o.expectedNode="Pattern":super.toAssignable(o,a)}chStartsBindingIdentifier(o,a){return!!(super.chStartsBindingIdentifier(o,a)||this.lookahead().type===142)}verifyBreakContinue(o,a){o.label&&o.label.type==="Placeholder"||super.verifyBreakContinue(o,a)}parseExpressionStatement(o,a){if(a.type!=="Placeholder"||a.extra&&a.extra.parenthesized)return super.parseExpressionStatement(o,a);if(this.match(14)){let c=o;return c.label=this.finishPlaceholder(a,"Identifier"),this.next(),c.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(c,"LabeledStatement")}return this.semicolon(),o.name=a.name,this.finishPlaceholder(o,"Statement")}parseBlock(o,a,c){return this.parsePlaceholder("BlockStatement")||super.parseBlock(o,a,c)}parseFunctionId(o){return this.parsePlaceholder("Identifier")||super.parseFunctionId(o)}parseClass(o,a,c){let h=a?"ClassDeclaration":"ClassExpression";this.next();let d=this.state.strict,g=this.parsePlaceholder("Identifier");if(g)if(this.match(81)||this.match(142)||this.match(5))o.id=g;else{if(c||!a)return o.id=null,o.body=this.finishPlaceholder(g,"ClassBody"),this.finishNode(o,h);throw this.raise(wn.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(o,a,c);return super.parseClassSuper(o),o.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!o.superClass,d),this.finishNode(o,h)}parseExport(o,a){let c=this.parsePlaceholder("Identifier");if(!c)return super.parseExport(o,a);if(!this.isContextual(97)&&!this.match(12))return o.specifiers=[],o.source=null,o.declaration=this.finishPlaceholder(c,"Declaration"),this.finishNode(o,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let h=this.startNode();return h.exported=c,o.specifiers=[this.finishNode(h,"ExportDefaultSpecifier")],super.parseExport(o,a)}isExportDefaultSpecifier(){if(this.match(65)){let o=this.nextTokenStart();if(this.isUnparsedContextual(o,"from")&&this.input.startsWith(Lr(142),this.nextTokenStartSince(o+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(o){return o.specifiers&&o.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(o)}checkExport(o){let{specifiers:a}=o;a!=null&&a.length&&(o.specifiers=a.filter(c=>c.exported.type==="Placeholder")),super.checkExport(o),o.specifiers=a}parseImport(o){let a=this.parsePlaceholder("Identifier");if(!a)return super.parseImport(o);if(o.specifiers=[],!this.isContextual(97)&&!this.match(12))return o.source=this.finishPlaceholder(a,"StringLiteral"),this.semicolon(),this.finishNode(o,"ImportDeclaration");let c=this.startNodeAtNode(a);return c.local=a,o.specifiers.push(this.finishNode(c,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(o)||this.parseNamedImportSpecifiers(o)),this.expectContextual(97),o.source=this.parseImportSource(),this.semicolon(),this.finishNode(o,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(wn.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},Hs=l=>class extends l{parseV8Intrinsic(){if(this.match(54)){let o=this.state.startLoc,a=this.startNode();if(this.next(),ot(this.state.type)){let c=this.parseIdentifierName(),h=this.createIdentifier(a,c);if(h.type="V8IntrinsicIdentifier",this.match(10))return h}this.unexpected(o)}}parseExprAtom(o){return this.parseV8Intrinsic()||super.parseExprAtom(o)}};function Vi(l,o){let[a,c]=typeof o=="string"?[o,{}]:o,h=Object.keys(c),d=h.length===0;return l.some(g=>{if(typeof g=="string")return d&&g===a;{let[y,D]=g;if(y!==a)return!1;for(let x of h)if(D[x]!==c[x])return!1;return!0}})}function Ms(l,o,a){let c=l.find(h=>Array.isArray(h)?h[0]===o:h===o);return c&&Array.isArray(c)&&c.length>1?c[1][a]:null}var Ko=["minimal","fsharp","hack","smart"],so=["^^","@@","^","%","#"],$s=["hash","bar"];function Fo(l){if(Vi(l,"decorators")){if(Vi(l,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let o=Ms(l,"decorators","decoratorsBeforeExport");if(o!=null&&typeof o!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let a=Ms(l,"decorators","allowCallParenthesized");if(a!=null&&typeof a!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(Vi(l,"flow")&&Vi(l,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Vi(l,"placeholders")&&Vi(l,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Vi(l,"pipelineOperator")){let o=Ms(l,"pipelineOperator","proposal");if(!Ko.includes(o)){let c=Ko.map(h=>`"${h}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${c}.`)}let a=Vi(l,["recordAndTuple",{syntaxType:"hash"}]);if(o==="hack"){if(Vi(l,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Vi(l,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let c=Ms(l,"pipelineOperator","topicToken");if(!so.includes(c)){let h=so.map(d=>`"${d}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${h}.`)}if(c==="#"&&a)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(o==="smart"&&a)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Vi(l,"moduleAttributes")){if(Vi(l,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(Ms(l,"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(Vi(l,"recordAndTuple")&&Ms(l,"recordAndTuple","syntaxType")!=null&&!$s.includes(Ms(l,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+$s.map(o=>`'${o}'`).join(", "));if(Vi(l,"asyncDoExpressions")&&!Vi(l,"doExpressions")){let o=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw o.missingPlugins="doExpressions",o}}var ws={estree:mi,jsx:Xn,flow:sn,typescript:ui,v8intrinsic:Hs,placeholders:ln},Ls=Object.keys(ws),ro=class extends ks{checkProto(l,o,a,c){if(l.type==="SpreadElement"||this.isObjectMethod(l)||l.computed||l.shorthand)return;let h=l.key;if((h.type==="Identifier"?h.name:h.value)==="__proto__"){if(o){this.raise(Qe.RecordNoProto,{at:h});return}a.used&&(c?c.doubleProtoLoc===null&&(c.doubleProtoLoc=h.loc.start):this.raise(Qe.DuplicateProto,{at:h})),a.used=!0}}shouldExitDescending(l,o){return l.type==="ArrowFunctionExpression"&&l.start===o}getExpression(){this.enterInitialScopes(),this.nextToken();let l=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),l.comments=this.state.comments,l.errors=this.state.errors,this.options.tokens&&(l.tokens=this.tokens),l}parseExpression(l,o){return l?this.disallowInAnd(()=>this.parseExpressionBase(o)):this.allowInAnd(()=>this.parseExpressionBase(o))}parseExpressionBase(l){let o=this.state.startLoc,a=this.parseMaybeAssign(l);if(this.match(12)){let c=this.startNodeAt(o);for(c.expressions=[a];this.eat(12);)c.expressions.push(this.parseMaybeAssign(l));return this.toReferencedList(c.expressions),this.finishNode(c,"SequenceExpression")}return a}parseMaybeAssignDisallowIn(l,o){return this.disallowInAnd(()=>this.parseMaybeAssign(l,o))}parseMaybeAssignAllowIn(l,o){return this.allowInAnd(()=>this.parseMaybeAssign(l,o))}setOptionalParametersError(l,o){var a;l.optionalParametersLoc=(a=o==null?void 0:o.loc)!=null?a:this.state.startLoc}parseMaybeAssign(l,o){let a=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let g=this.parseYield();return o&&(g=o.call(this,g,a)),g}let c;l?c=!1:(l=new fe,c=!0);let{type:h}=this.state;(h===10||ot(h))&&(this.state.potentialArrowAt=this.state.start);let d=this.parseMaybeConditional(l);if(o&&(d=o.call(this,d,a)),Kr(this.state.type)){let g=this.startNodeAt(a),y=this.state.value;if(g.operator=y,this.match(29)){this.toAssignable(d,!0),g.left=d;let D=a.index;l.doubleProtoLoc!=null&&l.doubleProtoLoc.index>=D&&(l.doubleProtoLoc=null),l.shorthandAssignLoc!=null&&l.shorthandAssignLoc.index>=D&&(l.shorthandAssignLoc=null),l.privateKeyLoc!=null&&l.privateKeyLoc.index>=D&&(this.checkDestructuringPrivate(l),l.privateKeyLoc=null)}else g.left=d;return this.next(),g.right=this.parseMaybeAssign(),this.checkLVal(d,{in:this.finishNode(g,"AssignmentExpression")}),g}else c&&this.checkExpressionErrors(l,!0);return d}parseMaybeConditional(l){let o=this.state.startLoc,a=this.state.potentialArrowAt,c=this.parseExprOps(l);return this.shouldExitDescending(c,a)?c:this.parseConditional(c,o,l)}parseConditional(l,o,a){if(this.eat(17)){let c=this.startNodeAt(o);return c.test=l,c.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),c.alternate=this.parseMaybeAssign(),this.finishNode(c,"ConditionalExpression")}return l}parseMaybeUnaryOrPrivate(l){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(l)}parseExprOps(l){let o=this.state.startLoc,a=this.state.potentialArrowAt,c=this.parseMaybeUnaryOrPrivate(l);return this.shouldExitDescending(c,a)?c:this.parseExprOp(c,o,-1)}parseExprOp(l,o,a){if(this.isPrivateName(l)){let h=this.getPrivateNameSV(l);(a>=$n(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Qe.PrivateInExpectedIn,{at:l,identifierName:h}),this.classScope.usePrivateName(h,l.loc.start)}let c=this.state.type;if(ir(c)&&(this.prodParam.hasIn||!this.match(58))){let h=$n(c);if(h>a){if(c===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return l;this.checkPipelineAtInfixOperator(l,o)}let d=this.startNodeAt(o);d.left=l,d.operator=this.state.value;let g=c===41||c===42,y=c===40;if(y&&(h=$n(42)),this.next(),c===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(Qe.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});d.right=this.parseExprOpRightExpr(c,h);let D=this.finishNode(d,g||y?"LogicalExpression":"BinaryExpression"),x=this.state.type;if(y&&(x===41||x===42)||g&&x===40)throw this.raise(Qe.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(D,o,a)}}return l}parseExprOpRightExpr(l,o){let a=this.state.startLoc;switch(l){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(Qe.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(l,o),a)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(o))}default:return this.parseExprOpBaseRightExpr(l,o)}}parseExprOpBaseRightExpr(l,o){let a=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),a,Hn(l)?o-1:o)}parseHackPipeBody(){var l;let{startLoc:o}=this.state,a=this.parseMaybeAssign();return Bs.has(a.type)&&!((l=a.extra)!=null&&l.parenthesized)&&this.raise(Qe.PipeUnparenthesizedBody,{at:o,type:a.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Qe.PipeTopicUnused,{at:o}),a}checkExponentialAfterUnary(l){this.match(57)&&this.raise(Qe.UnexpectedTokenUnaryExponentiation,{at:l.argument})}parseMaybeUnary(l,o){let a=this.state.startLoc,c=this.isContextual(96);if(c&&this.isAwaitAllowed()){this.next();let y=this.parseAwait(a);return o||this.checkExponentialAfterUnary(y),y}let h=this.match(34),d=this.startNode();if(cr(this.state.type)){d.operator=this.state.value,d.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let y=this.match(89);if(this.next(),d.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(l,!0),this.state.strict&&y){let D=d.argument;D.type==="Identifier"?this.raise(Qe.StrictDelete,{at:d}):this.hasPropertyAsPrivateName(D)&&this.raise(Qe.DeletePrivateField,{at:d})}if(!h)return o||this.checkExponentialAfterUnary(d),this.finishNode(d,"UnaryExpression")}let g=this.parseUpdate(d,h,l);if(c){let{type:y}=this.state;if((this.hasPlugin("v8intrinsic")?Zt(y):Zt(y)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Qe.AwaitNotInAsyncContext,{at:a}),this.parseAwait(a)}return g}parseUpdate(l,o,a){if(o){let d=l;return this.checkLVal(d.argument,{in:this.finishNode(d,"UpdateExpression")}),l}let c=this.state.startLoc,h=this.parseExprSubscripts(a);if(this.checkExpressionErrors(a,!1))return h;for(;Kt(this.state.type)&&!this.canInsertSemicolon();){let d=this.startNodeAt(c);d.operator=this.state.value,d.prefix=!1,d.argument=h,this.next(),this.checkLVal(h,{in:h=this.finishNode(d,"UpdateExpression")})}return h}parseExprSubscripts(l){let o=this.state.startLoc,a=this.state.potentialArrowAt,c=this.parseExprAtom(l);return this.shouldExitDescending(c,a)?c:this.parseSubscripts(c,o)}parseSubscripts(l,o,a){let c={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(l),stop:!1};do l=this.parseSubscript(l,o,a,c),c.maybeAsyncArrow=!1;while(!c.stop);return l}parseSubscript(l,o,a,c){let{type:h}=this.state;if(!a&&h===15)return this.parseBind(l,o,a,c);if(ts(h))return this.parseTaggedTemplateExpression(l,o,c);let d=!1;if(h===18){if(a&&(this.raise(Qe.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return c.stop=!0,l;c.optionalChainMember=d=!0,this.next()}if(!a&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(l,o,c,d);{let g=this.eat(0);return g||d||this.eat(16)?this.parseMember(l,o,c,g,d):(c.stop=!0,l)}}parseMember(l,o,a,c,h){let d=this.startNodeAt(o);return d.object=l,d.computed=c,c?(d.property=this.parseExpression(),this.expect(3)):this.match(136)?(l.type==="Super"&&this.raise(Qe.SuperPrivateField,{at:o}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),d.property=this.parsePrivateName()):d.property=this.parseIdentifier(!0),a.optionalChainMember?(d.optional=h,this.finishNode(d,"OptionalMemberExpression")):this.finishNode(d,"MemberExpression")}parseBind(l,o,a,c){let h=this.startNodeAt(o);return h.object=l,this.next(),h.callee=this.parseNoCallExpr(),c.stop=!0,this.parseSubscripts(this.finishNode(h,"BindExpression"),o,a)}parseCoverCallAndAsyncArrowHead(l,o,a,c){let h=this.state.maybeInArrowParameters,d=null;this.state.maybeInArrowParameters=!0,this.next();let g=this.startNodeAt(o);g.callee=l;let{maybeAsyncArrow:y,optionalChainMember:D}=a;y&&(this.expressionScope.enter(op()),d=new fe),D&&(g.optional=c),c?g.arguments=this.parseCallExpressionArguments(11):g.arguments=this.parseCallExpressionArguments(11,l.type==="Import",l.type!=="Super",g,d);let x=this.finishCallExpression(g,D);return y&&this.shouldParseAsyncArrow()&&!c?(a.stop=!0,this.checkDestructuringPrivate(d),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),x=this.parseAsyncArrowFromCallExpression(this.startNodeAt(o),x)):(y&&(this.checkExpressionErrors(d,!0),this.expressionScope.exit()),this.toReferencedArguments(x)),this.state.maybeInArrowParameters=h,x}toReferencedArguments(l,o){this.toReferencedListDeep(l.arguments,o)}parseTaggedTemplateExpression(l,o,a){let c=this.startNodeAt(o);return c.tag=l,c.quasi=this.parseTemplate(!0),a.optionalChainMember&&this.raise(Qe.OptionalChainingNoTemplate,{at:o}),this.finishNode(c,"TaggedTemplateExpression")}atPossibleAsyncArrow(l){return l.type==="Identifier"&&l.name==="async"&&this.state.lastTokEndLoc.index===l.end&&!this.canInsertSemicolon()&&l.end-l.start===5&&l.start===this.state.potentialArrowAt}finishCallExpression(l,o){if(l.callee.type==="Import")if(l.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),l.arguments.length===0||l.arguments.length>2)this.raise(Qe.ImportCallArity,{at:l,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let a of l.arguments)a.type==="SpreadElement"&&this.raise(Qe.ImportCallSpreadArgument,{at:a});return this.finishNode(l,o?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(l,o,a,c,h){let d=[],g=!0,y=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(l);){if(g)g=!1;else if(this.expect(12),this.match(l)){o&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(Qe.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),c&&this.addTrailingCommaExtraToNode(c),this.next();break}d.push(this.parseExprListItem(!1,h,a))}return this.state.inFSharpPipelineDirectBody=y,d}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(l,o){var a;return this.resetPreviousNodeTrailingComments(o),this.expect(19),this.parseArrowExpression(l,o.arguments,!0,(a=o.extra)==null?void 0:a.trailingCommaLoc),o.innerComments&&zu(l,o.innerComments),o.callee.trailingComments&&zu(l,o.callee.trailingComments),l}parseNoCallExpr(){let l=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),l,!0)}parseExprAtom(l){let o,a=null,{type:c}=this.state;switch(c){case 79:return this.parseSuper();case 83:return o=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(o):(this.match(10)||this.raise(Qe.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(o,"Import"));case 78:return o=this.startNode(),this.next(),this.finishNode(o,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let h=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(h)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,l);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,l);case 68:return this.parseFunctionOrFunctionSent();case 26:a=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(a,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{o=this.startNode(),this.next(),o.object=null;let h=o.callee=this.parseNoCallExpr();if(h.type==="MemberExpression")return this.finishNode(o,"BindExpression");throw this.raise(Qe.UnsupportedBind,{at:h})}case 136:return this.raise(Qe.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let h=this.getPluginOption("pipelineOperator","proposal");if(h)return this.parseTopicReference(h);this.unexpected();break}case 47:{let h=this.input.codePointAt(this.nextTokenStart());Io(h)||h===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(ot(c)){if(this.isContextual(125)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let h=this.state.potentialArrowAt===this.state.start,d=this.state.containsEsc,g=this.parseIdentifier();if(!d&&g.name==="async"&&!this.canInsertSemicolon()){let{type:y}=this.state;if(y===68)return this.resetPreviousNodeTrailingComments(g),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(g));if(ot(y))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(g)):g;if(y===90)return this.resetPreviousNodeTrailingComments(g),this.parseDo(this.startNodeAtNode(g),!0)}return h&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(g),[g],!1)):g}else this.unexpected()}}parseTopicReferenceThenEqualsSign(l,o){let a=this.getPluginOption("pipelineOperator","proposal");if(a)return this.state.type=l,this.state.value=o,this.state.pos--,this.state.end--,this.state.endLoc=Ai(this.state.endLoc,-1),this.parseTopicReference(a);this.unexpected()}parseTopicReference(l){let o=this.startNode(),a=this.state.startLoc,c=this.state.type;return this.next(),this.finishTopicReference(o,a,l,c)}finishTopicReference(l,o,a,c){if(this.testTopicReferenceConfiguration(a,o,c)){let h=a==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(a==="smart"?Qe.PrimaryTopicNotAllowed:Qe.PipeTopicUnbound,{at:o}),this.registerTopicReference(),this.finishNode(l,h)}else throw this.raise(Qe.PipeTopicUnconfiguredToken,{at:o,token:Lr(c)})}testTopicReferenceConfiguration(l,o,a){switch(l){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Lr(a)}]);case"smart":return a===27;default:throw this.raise(Qe.PipeTopicRequiresHackPipes,{at:o})}}parseAsyncArrowUnaryFunction(l){this.prodParam.enter(de(!0,this.prodParam.hasYield));let o=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Qe.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(l,o,!0)}parseDo(l,o){this.expectPlugin("doExpressions"),o&&this.expectPlugin("asyncDoExpressions"),l.async=o,this.next();let a=this.state.labels;return this.state.labels=[],o?(this.prodParam.enter(G),l.body=this.parseBlock(),this.prodParam.exit()):l.body=this.parseBlock(),this.state.labels=a,this.finishNode(l,"DoExpression")}parseSuper(){let l=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(Qe.SuperNotAllowed,{at:l}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(Qe.UnexpectedSuper,{at:l}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(Qe.UnsupportedSuper,{at:l}),this.finishNode(l,"Super")}parsePrivateName(){let l=this.startNode(),o=this.startNodeAt(Ai(this.state.startLoc,1)),a=this.state.value;return this.next(),l.id=this.createIdentifier(o,a),this.finishNode(l,"PrivateName")}parseFunctionOrFunctionSent(){let l=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let o=this.createIdentifier(this.startNodeAtNode(l),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(l,o,"sent")}return this.parseFunction(l)}parseMetaProperty(l,o,a){l.meta=o;let c=this.state.containsEsc;return l.property=this.parseIdentifier(!0),(l.property.name!==a||c)&&this.raise(Qe.UnsupportedMetaProperty,{at:l.property,target:o.name,onlyValidPropertyName:a}),this.finishNode(l,"MetaProperty")}parseImportMetaProperty(l){let o=this.createIdentifier(this.startNodeAtNode(l),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(Qe.ImportMetaOutsideModule,{at:o}),this.sawUnambiguousESM=!0),this.parseMetaProperty(l,o,"meta")}parseLiteralAtNode(l,o,a){return this.addExtra(a,"rawValue",l),this.addExtra(a,"raw",this.input.slice(a.start,this.state.end)),a.value=l,this.next(),this.finishNode(a,o)}parseLiteral(l,o){let a=this.startNode();return this.parseLiteralAtNode(l,o,a)}parseStringLiteral(l){return this.parseLiteral(l,"StringLiteral")}parseNumericLiteral(l){return this.parseLiteral(l,"NumericLiteral")}parseBigIntLiteral(l){return this.parseLiteral(l,"BigIntLiteral")}parseDecimalLiteral(l){return this.parseLiteral(l,"DecimalLiteral")}parseRegExpLiteral(l){let o=this.parseLiteral(l.value,"RegExpLiteral");return o.pattern=l.pattern,o.flags=l.flags,o}parseBooleanLiteral(l){let o=this.startNode();return o.value=l,this.next(),this.finishNode(o,"BooleanLiteral")}parseNullLiteral(){let l=this.startNode();return this.next(),this.finishNode(l,"NullLiteral")}parseParenAndDistinguishExpression(l){let o=this.state.startLoc,a;this.next(),this.expressionScope.enter(sp());let c=this.state.maybeInArrowParameters,h=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let d=this.state.startLoc,g=[],y=new fe,D=!0,x,v;for(;!this.match(11);){if(D)D=!1;else if(this.expect(12,y.optionalParametersLoc===null?null:y.optionalParametersLoc),this.match(11)){v=this.state.startLoc;break}if(this.match(21)){let T=this.state.startLoc;if(x=this.state.startLoc,g.push(this.parseParenItem(this.parseRestBinding(),T)),!this.checkCommaAfterRest(41))break}else g.push(this.parseMaybeAssignAllowIn(y,this.parseParenItem))}let S=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=c,this.state.inFSharpPipelineDirectBody=h;let k=this.startNodeAt(o);return l&&this.shouldParseArrow(g)&&(k=this.parseArrow(k))?(this.checkDestructuringPrivate(y),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(k,g,!1),k):(this.expressionScope.exit(),g.length||this.unexpected(this.state.lastTokStartLoc),v&&this.unexpected(v),x&&this.unexpected(x),this.checkExpressionErrors(y,!0),this.toReferencedListDeep(g,!0),g.length>1?(a=this.startNodeAt(d),a.expressions=g,this.finishNode(a,"SequenceExpression"),this.resetEndLocation(a,S)):a=g[0],this.wrapParenthesis(o,a))}wrapParenthesis(l,o){if(!this.options.createParenthesizedExpressions)return this.addExtra(o,"parenthesized",!0),this.addExtra(o,"parenStart",l.index),this.takeSurroundingComments(o,l.index,this.state.lastTokEndLoc.index),o;let a=this.startNodeAt(l);return a.expression=o,this.finishNode(a,"ParenthesizedExpression")}shouldParseArrow(l){return!this.canInsertSemicolon()}parseArrow(l){if(this.eat(19))return l}parseParenItem(l,o){return l}parseNewOrNewTarget(){let l=this.startNode();if(this.next(),this.match(16)){let o=this.createIdentifier(this.startNodeAtNode(l),"new");this.next();let a=this.parseMetaProperty(l,o,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(Qe.UnexpectedNewTarget,{at:a}),a}return this.parseNew(l)}parseNew(l){if(this.parseNewCallee(l),this.eat(10)){let o=this.parseExprList(11);this.toReferencedList(o),l.arguments=o}else l.arguments=[];return this.finishNode(l,"NewExpression")}parseNewCallee(l){l.callee=this.parseNoCallExpr(),l.callee.type==="Import"&&this.raise(Qe.ImportCallNotNewExpression,{at:l.callee})}parseTemplateElement(l){let{start:o,startLoc:a,end:c,value:h}=this.state,d=o+1,g=this.startNodeAt(Ai(a,1));h===null&&(l||this.raise(Qe.InvalidEscapeSequenceTemplate,{at:Ai(this.state.firstInvalidTemplateEscapePos,1)}));let y=this.match(24),D=y?-1:-2,x=c+D;g.value={raw:this.input.slice(d,x).replace(/\r\n?/g,`
|
|
`),cooked:h===null?null:h.slice(1,D)},g.tail=y,this.next();let v=this.finishNode(g,"TemplateElement");return this.resetEndLocation(v,Ai(this.state.lastTokEndLoc,D)),v}parseTemplate(l){let o=this.startNode();o.expressions=[];let a=this.parseTemplateElement(l);for(o.quasis=[a];!a.tail;)o.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),o.quasis.push(a=this.parseTemplateElement(l));return this.finishNode(o,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(l,o,a,c){a&&this.expectPlugin("recordAndTuple");let h=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let d=Object.create(null),g=!0,y=this.startNode();for(y.properties=[],this.next();!this.match(l);){if(g)g=!1;else if(this.expect(12),this.match(l)){this.addTrailingCommaExtraToNode(y);break}let x;o?x=this.parseBindingProperty():(x=this.parsePropertyDefinition(c),this.checkProto(x,a,d,c)),a&&!this.isObjectProperty(x)&&x.type!=="SpreadElement"&&this.raise(Qe.InvalidRecordProperty,{at:x}),x.shorthand&&this.addExtra(x,"shorthand",!0),y.properties.push(x)}this.next(),this.state.inFSharpPipelineDirectBody=h;let D="ObjectExpression";return o?D="ObjectPattern":a&&(D="RecordExpression"),this.finishNode(y,D)}addTrailingCommaExtraToNode(l){this.addExtra(l,"trailingComma",this.state.lastTokStart),this.addExtra(l,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(l){return!l.computed&&l.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(l){let o=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Qe.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)o.push(this.parseDecorator());let a=this.startNode(),c=!1,h=!1,d;if(this.match(21))return o.length&&this.unexpected(),this.parseSpread();o.length&&(a.decorators=o,o=[]),a.method=!1,l&&(d=this.state.startLoc);let g=this.eat(55);this.parsePropertyNamePrefixOperator(a);let y=this.state.containsEsc,D=this.parsePropertyName(a,l);if(!g&&!y&&this.maybeAsyncOrAccessorProp(a)){let x=D.name;x==="async"&&!this.hasPrecedingLineBreak()&&(c=!0,this.resetPreviousNodeTrailingComments(D),g=this.eat(55),this.parsePropertyName(a)),(x==="get"||x==="set")&&(h=!0,this.resetPreviousNodeTrailingComments(D),a.kind=x,this.match(55)&&(g=!0,this.raise(Qe.AccessorIsGenerator,{at:this.state.curPosition(),kind:x}),this.next()),this.parsePropertyName(a))}return this.parseObjPropValue(a,d,g,c,!1,h,l)}getGetterSetterExpectedParamCount(l){return l.kind==="get"?0:1}getObjectOrClassMethodParams(l){return l.params}checkGetterSetterParams(l){var o;let a=this.getGetterSetterExpectedParamCount(l),c=this.getObjectOrClassMethodParams(l);c.length!==a&&this.raise(l.kind==="get"?Qe.BadGetterArity:Qe.BadSetterArity,{at:l}),l.kind==="set"&&((o=c[c.length-1])==null?void 0:o.type)==="RestElement"&&this.raise(Qe.BadSetterRestParameter,{at:l})}parseObjectMethod(l,o,a,c,h){if(h){let d=this.parseMethod(l,o,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(d),d}if(a||o||this.match(10))return c&&this.unexpected(),l.kind="method",l.method=!0,this.parseMethod(l,o,a,!1,!1,"ObjectMethod")}parseObjectProperty(l,o,a,c){if(l.shorthand=!1,this.eat(14))return l.value=a?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(c),this.finishNode(l,"ObjectProperty");if(!l.computed&&l.key.type==="Identifier"){if(this.checkReservedWord(l.key.name,l.key.loc.start,!0,!1),a)l.value=this.parseMaybeDefault(o,V(l.key));else if(this.match(29)){let h=this.state.startLoc;c!=null?c.shorthandAssignLoc===null&&(c.shorthandAssignLoc=h):this.raise(Qe.InvalidCoverInitializedName,{at:h}),l.value=this.parseMaybeDefault(o,V(l.key))}else l.value=V(l.key);return l.shorthand=!0,this.finishNode(l,"ObjectProperty")}}parseObjPropValue(l,o,a,c,h,d,g){let y=this.parseObjectMethod(l,a,c,h,d)||this.parseObjectProperty(l,o,h,g);return y||this.unexpected(),y}parsePropertyName(l,o){if(this.eat(0))l.computed=!0,l.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:a,value:c}=this.state,h;if(Xe(a))h=this.parseIdentifier(!0);else switch(a){case 132:h=this.parseNumericLiteral(c);break;case 131:h=this.parseStringLiteral(c);break;case 133:h=this.parseBigIntLiteral(c);break;case 134:h=this.parseDecimalLiteral(c);break;case 136:{let d=this.state.startLoc;o!=null?o.privateKeyLoc===null&&(o.privateKeyLoc=d):this.raise(Qe.UnexpectedPrivateField,{at:d}),h=this.parsePrivateName();break}default:this.unexpected()}l.key=h,a!==136&&(l.computed=!1)}return l.key}initFunction(l,o){l.id=null,l.generator=!1,l.async=o}parseMethod(l,o,a,c,h,d){let g=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;this.initFunction(l,a),l.generator=o,this.scope.enter(Oa|ou|(g?Fa:0)|(h?Sl:0)),this.prodParam.enter(de(a,l.generator)),this.parseFunctionParams(l,c);let y=this.parseFunctionBodyAndFinish(l,d,!0);return this.prodParam.exit(),this.scope.exit(),y}parseArrayLike(l,o,a,c){a&&this.expectPlugin("recordAndTuple");let h=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let d=this.startNode();return this.next(),d.elements=this.parseExprList(l,!a,c,d),this.state.inFSharpPipelineDirectBody=h,this.finishNode(d,a?"TupleExpression":"ArrayExpression")}parseArrowExpression(l,o,a,c){this.scope.enter(Oa|Cl);let h=de(a,!1);!this.match(5)&&this.prodParam.hasIn&&(h|=pe),this.prodParam.enter(h),this.initFunction(l,a);let d=this.state.maybeInArrowParameters;return o&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(l,o,c)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(l,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=d,this.finishNode(l,"ArrowFunctionExpression")}setArrowFunctionParameters(l,o,a){this.toAssignableList(o,a,!1),l.params=o}parseFunctionBodyAndFinish(l,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.parseFunctionBody(l,!1,a),this.finishNode(l,o)}parseFunctionBody(l,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,c=o&&!this.match(5);if(this.expressionScope.enter(E()),c)l.body=this.parseMaybeAssign(),this.checkParams(l,!1,o,!1);else{let h=this.state.strict,d=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|se),l.body=this.parseBlock(!0,!1,g=>{let y=!this.isSimpleParamList(l.params);g&&y&&this.raise(Qe.IllegalLanguageModeDirective,{at:(l.kind==="method"||l.kind==="constructor")&&l.key?l.key.loc.end:l});let D=!h&&this.state.strict;this.checkParams(l,!this.state.strict&&!o&&!a&&!y,o,D),this.state.strict&&l.id&&this.checkIdentifier(l.id,Qp,D)}),this.prodParam.exit(),this.state.labels=d}this.expressionScope.exit()}isSimpleParameter(l){return l.type==="Identifier"}isSimpleParamList(l){for(let o=0,a=l.length;o<a;o++)if(!this.isSimpleParameter(l[o]))return!1;return!0}checkParams(l,o,a){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,h=!o&&new Set,d={type:"FormalParameters"};for(let g of l.params)this.checkLVal(g,{in:d,binding:Uu,checkClashes:h,strictModeChanged:c})}parseExprList(l,o,a,c){let h=[],d=!0;for(;!this.eat(l);){if(d)d=!1;else if(this.expect(12),this.match(l)){c&&this.addTrailingCommaExtraToNode(c),this.next();break}h.push(this.parseExprListItem(o,a))}return h}parseExprListItem(l,o,a){let c;if(this.match(12))l||this.raise(Qe.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),c=null;else if(this.match(21)){let h=this.state.startLoc;c=this.parseParenItem(this.parseSpread(o),h)}else if(this.match(17)){this.expectPlugin("partialApplication"),a||this.raise(Qe.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let h=this.startNode();this.next(),c=this.finishNode(h,"ArgumentPlaceholder")}else c=this.parseMaybeAssignAllowIn(o,this.parseParenItem);return c}parseIdentifier(l){let o=this.startNode(),a=this.parseIdentifierName(l);return this.createIdentifier(o,a)}createIdentifier(l,o){return l.name=o,l.loc.identifierName=o,this.finishNode(l,"Identifier")}parseIdentifierName(l){let o,{startLoc:a,type:c}=this.state;Xe(c)?o=this.state.value:this.unexpected();let h=At(c);return l?h&&this.replaceToken(130):this.checkReservedWord(o,a,h,!1),this.next(),o}checkReservedWord(l,o,a,c){if(!(l.length>10||!Np(l))){if(a&&Qu(l)){this.raise(Qe.UnexpectedKeyword,{at:o,keyword:l});return}if((this.state.strict?c?is:Ua:qc)(l,this.inModule)){this.raise(Qe.UnexpectedReservedWord,{at:o,reservedWord:l});return}else if(l==="yield"){if(this.prodParam.hasYield){this.raise(Qe.YieldBindingIdentifier,{at:o});return}}else if(l==="await"){if(this.prodParam.hasAwait){this.raise(Qe.AwaitBindingIdentifier,{at:o});return}if(this.scope.inStaticBlock){this.raise(Qe.AwaitBindingIdentifierInStaticBlock,{at:o});return}this.expressionScope.recordAsyncArrowParametersError({at:o})}else if(l==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(Qe.ArgumentsInClass,{at:o});return}}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(l){let o=this.startNodeAt(l);return this.expressionScope.recordParameterInitializerError(Qe.AwaitExpressionFormalParameter,{at:o}),this.eat(55)&&this.raise(Qe.ObsoleteAwaitStar,{at:o}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(o.argument=this.parseMaybeUnary(null,!0)),this.finishNode(o,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:l}=this.state;return l===53||l===10||l===0||ts(l)||l===101&&!this.state.containsEsc||l===135||l===56||this.hasPlugin("v8intrinsic")&&l===54}parseYield(){let l=this.startNode();this.expressionScope.recordParameterInitializerError(Qe.YieldInParameter,{at:l}),this.next();let o=!1,a=null;if(!this.hasPrecedingLineBreak())switch(o=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!o)break;default:a=this.parseMaybeAssign()}return l.delegate=o,l.argument=a,this.finishNode(l,"YieldExpression")}checkPipelineAtInfixOperator(l,o){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&l.type==="SequenceExpression"&&this.raise(Qe.PipelineHeadSequenceExpression,{at:o})}parseSmartPipelineBodyInStyle(l,o){if(this.isSimpleReference(l)){let a=this.startNodeAt(o);return a.callee=l,this.finishNode(a,"PipelineBareFunction")}else{let a=this.startNodeAt(o);return this.checkSmartPipeTopicBodyEarlyErrors(o),a.expression=l,this.finishNode(a,"PipelineTopicExpression")}}isSimpleReference(l){switch(l.type){case"MemberExpression":return!l.computed&&this.isSimpleReference(l.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(l){if(this.match(19))throw this.raise(Qe.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(Qe.PipelineTopicUnused,{at:l})}withTopicBindingContext(l){let o=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return l()}finally{this.state.topicContext=o}}withSmartMixTopicForbiddingContext(l){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let o=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return l()}finally{this.state.topicContext=o}}else return l()}withSoloAwaitPermittingContext(l){let o=this.state.soloAwait;this.state.soloAwait=!0;try{return l()}finally{this.state.soloAwait=o}}allowInAnd(l){let o=this.prodParam.currentFlags();if(pe&~o){this.prodParam.enter(o|pe);try{return l()}finally{this.prodParam.exit()}}return l()}disallowInAnd(l){let o=this.prodParam.currentFlags();if(pe&o){this.prodParam.enter(o&~pe);try{return l()}finally{this.prodParam.exit()}}return l()}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(l){let o=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let a=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let c=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),o,l);return this.state.inFSharpPipelineDirectBody=a,c}parseModuleExpression(){this.expectPlugin("moduleBlocks");let l=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let o=this.startNodeAt(this.state.endLoc);this.next();let a=this.initializeScopes(!0);this.enterInitialScopes();try{l.body=this.parseProgram(o,8,"module")}finally{a()}return this.finishNode(l,"ModuleExpression")}parsePropertyNamePrefixOperator(l){}},mc={kind:"loop"},Jp={kind:"switch"},bg=/[\uD800-\uDFFF]/u,Uh=/in(?:stanceof)?/y;function vg(l,o){for(let a=0;a<l.length;a++){let c=l[a],{type:h}=c;if(typeof h=="number"){{if(h===136){let{loc:d,start:g,value:y,end:D}=c,x=g+1,v=Ai(d.start,1);l.splice(a,1,new Jo({type:Sr(27),value:"#",start:g,end:x,startLoc:d.start,endLoc:v}),new Jo({type:Sr(130),value:y,start:x,end:D,startLoc:v,endLoc:d.end})),a++;continue}if(ts(h)){let{loc:d,start:g,value:y,end:D}=c,x=g+1,v=Ai(d.start,1),S;o.charCodeAt(g)===96?S=new Jo({type:Sr(22),value:"`",start:g,end:x,startLoc:d.start,endLoc:v}):S=new Jo({type:Sr(8),value:"}",start:g,end:x,startLoc:d.start,endLoc:v});let k,T,$,w;h===24?(T=D-1,$=Ai(d.end,-1),k=y===null?null:y.slice(1,-1),w=new Jo({type:Sr(22),value:"`",start:T,end:D,startLoc:$,endLoc:d.end})):(T=D-2,$=Ai(d.end,-2),k=y===null?null:y.slice(1,-2),w=new Jo({type:Sr(23),value:"${",start:T,end:D,startLoc:$,endLoc:d.end})),l.splice(a,1,S,new Jo({type:Sr(20),value:k,start:x,end:T,startLoc:v,endLoc:$}),w),a+=2;continue}}c.type=Sr(h)}}return l}var Cg=class extends ro{parseTopLevel(l,o){return l.program=this.parseProgram(o),l.comments=this.state.comments,this.options.tokens&&(l.tokens=vg(this.tokens,this.input)),this.finishNode(l,"File")}parseProgram(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:137,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(l.sourceType=a,l.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(l,!0,!0,o),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[h,d]of Array.from(this.scope.undefinedExports))this.raise(Qe.ModuleExportUndefined,{at:d,localName:h});let c;return o===137?c=this.finishNode(l,"Program"):c=this.finishNodeAt(l,"Program",Ai(this.state.startLoc,-1)),c}stmtToDirective(l){let o=l;o.type="Directive",o.value=o.expression,delete o.expression;let a=o.value,c=a.value,h=this.input.slice(a.start,a.end),d=a.value=h.slice(1,-1);return this.addExtra(a,"raw",h),this.addExtra(a,"rawValue",d),this.addExtra(a,"expressionValue",c),a.type="DirectiveLiteral",o}parseInterpreterDirective(){if(!this.match(28))return null;let l=this.startNode();return l.value=this.state.value,this.next(),this.finishNode(l,"InterpreterDirective")}isLet(){return this.isContextual(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(l,o){if(Io(l)){if(Uh.lastIndex=o,Uh.test(this.input)){let a=this.codePointAtPos(Uh.lastIndex);if(!ya(a)&&a!==92)return!1}return!0}else return l===92}chStartsBindingPattern(l){return l===91||l===123}hasFollowingBindingAtom(){let l=this.nextTokenStart(),o=this.codePointAtPos(l);return this.chStartsBindingPattern(o)||this.chStartsBindingIdentifier(o,l)}hasFollowingBindingIdentifier(){let l=this.nextTokenStart(),o=this.codePointAtPos(l);return this.chStartsBindingIdentifier(o,l)}startsUsingForOf(){let l=this.lookahead();return l.type===101&&!l.containsEsc?!1:(this.expectPlugin("explicitResourceManagement"),!0)}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=0;return this.options.annexB&&!this.state.strict&&(o|=4,l&&(o|=8)),this.parseStatementLike(o)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(l){let o=null;return this.match(26)&&(o=this.parseDecorators(!0)),this.parseStatementContent(l,o)}parseStatementContent(l,o){let a=this.state.type,c=this.startNode(),h=!!(l&2),d=!!(l&4),g=l&1;switch(a){case 60:return this.parseBreakContinueStatement(c,!0);case 63:return this.parseBreakContinueStatement(c,!1);case 64:return this.parseDebuggerStatement(c);case 90:return this.parseDoWhileStatement(c);case 91:return this.parseForStatement(c);case 68:if(this.lookaheadCharCode()===46)break;return d||this.raise(this.state.strict?Qe.StrictFunction:this.options.annexB?Qe.SloppyFunctionAnnexB:Qe.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(c,!1,!h&&d);case 80:return h||this.unexpected(),this.parseClass(this.maybeTakeDecorators(o,c),!0);case 69:return this.parseIfStatement(c);case 70:return this.parseReturnStatement(c);case 71:return this.parseSwitchStatement(c);case 72:return this.parseThrowStatement(c);case 73:return this.parseTryStatement(c);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(Qe.UnexpectedUsingDeclaration,{at:this.state.startLoc}):h||this.raise(Qe.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(c,"using");case 99:{if(this.state.containsEsc)break;let x=this.nextTokenStart(),v=this.codePointAtPos(x);if(v!==91&&(!h&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(v,x)&&v!==123))break}case 75:h||this.raise(Qe.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let x=this.state.value;return this.parseVarStatement(c,x)}case 92:return this.parseWhileStatement(c);case 76:return this.parseWithStatement(c);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(c);case 83:{let x=this.lookaheadCharCode();if(x===40||x===46)break}case 82:{!this.options.allowImportExportEverywhere&&!g&&this.raise(Qe.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let x;return a===83?(x=this.parseImport(c),x.type==="ImportDeclaration"&&(!x.importKind||x.importKind==="value")&&(this.sawUnambiguousESM=!0)):(x=this.parseExport(c,o),(x.type==="ExportNamedDeclaration"&&(!x.exportKind||x.exportKind==="value")||x.type==="ExportAllDeclaration"&&(!x.exportKind||x.exportKind==="value")||x.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(x),x}default:if(this.isAsyncFunction())return h||this.raise(Qe.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(c,!0,!h&&d)}let y=this.state.value,D=this.parseExpression();return ot(a)&&D.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(c,y,D,l):this.parseExpressionStatement(c,D,o)}assertModuleNodeAllowed(l){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(Qe.ImportOutsideModule,{at:l})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(l,o,a){return l&&(o.decorators&&o.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(Qe.DecoratorsBeforeAfterExport,{at:o.decorators[0]}),o.decorators.unshift(...l)):o.decorators=l,this.resetStartLocationFromNode(o,l[0]),a&&this.resetStartLocationFromNode(a,o)),o}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(l){let o=[];do o.push(this.parseDecorator());while(this.match(26));if(this.match(82))l||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(Qe.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(Qe.UnexpectedLeadingDecorator,{at:this.state.startLoc});return o}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let l=this.startNode();if(this.next(),this.hasPlugin("decorators")){let o=this.state.startLoc,a;if(this.match(10)){let c=this.state.startLoc;this.next(),a=this.parseExpression(),this.expect(11),a=this.wrapParenthesis(c,a);let h=this.state.startLoc;l.expression=this.parseMaybeDecoratorArguments(a),this.getPluginOption("decorators","allowCallParenthesized")===!1&&l.expression!==a&&this.raise(Qe.DecoratorArgumentsOutsideParentheses,{at:h})}else{for(a=this.parseIdentifier(!1);this.eat(16);){let c=this.startNodeAt(o);c.object=a,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),c.property=this.parsePrivateName()):c.property=this.parseIdentifier(!0),c.computed=!1,a=this.finishNode(c,"MemberExpression")}l.expression=this.parseMaybeDecoratorArguments(a)}}else l.expression=this.parseExprSubscripts();return this.finishNode(l,"Decorator")}parseMaybeDecoratorArguments(l){if(this.eat(10)){let o=this.startNodeAtNode(l);return o.callee=l,o.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(o.arguments),this.finishNode(o,"CallExpression")}return l}parseBreakContinueStatement(l,o){return this.next(),this.isLineTerminator()?l.label=null:(l.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(l,o),this.finishNode(l,o?"BreakStatement":"ContinueStatement")}verifyBreakContinue(l,o){let a;for(a=0;a<this.state.labels.length;++a){let c=this.state.labels[a];if((l.label==null||c.name===l.label.name)&&(c.kind!=null&&(o||c.kind==="loop")||l.label&&o))break}if(a===this.state.labels.length){let c=o?"BreakStatement":"ContinueStatement";this.raise(Qe.IllegalBreakContinue,{at:l,type:c})}}parseDebuggerStatement(l){return this.next(),this.semicolon(),this.finishNode(l,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let l=this.parseExpression();return this.expect(11),l}parseDoWhileStatement(l){return this.next(),this.state.labels.push(mc),l.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),l.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(l,"DoWhileStatement")}parseForStatement(l){this.next(),this.state.labels.push(mc);let o=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(o=this.state.lastTokStartLoc),this.scope.enter(ju),this.expect(10),this.match(13))return o!==null&&this.unexpected(o),this.parseFor(l,null);let a=this.isContextual(99),c=this.isContextual(105)&&!this.hasFollowingLineBreak(),h=a&&this.hasFollowingBindingAtom()||c&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||h){let x=this.startNode(),v=this.state.value;this.next(),this.parseVar(x,!0,v);let S=this.finishNode(x,"VariableDeclaration"),k=this.match(58);return k&&c&&this.raise(Qe.ForInUsing,{at:S}),(k||this.isContextual(101))&&S.declarations.length===1?this.parseForIn(l,S,o):(o!==null&&this.unexpected(o),this.parseFor(l,S))}let d=this.isContextual(95),g=new fe,y=this.parseExpression(!0,g),D=this.isContextual(101);if(D&&(a&&this.raise(Qe.ForOfLet,{at:y}),o===null&&d&&y.type==="Identifier"&&this.raise(Qe.ForOfAsync,{at:y})),D||this.match(58)){this.checkDestructuringPrivate(g),this.toAssignable(y,!0);let x=D?"ForOfStatement":"ForInStatement";return this.checkLVal(y,{in:{type:x}}),this.parseForIn(l,y,o)}else this.checkExpressionErrors(g,!0);return o!==null&&this.unexpected(o),this.parseFor(l,y)}parseFunctionStatement(l,o,a){return this.next(),this.parseFunction(l,1|(a?2:0)|(o?8:0))}parseIfStatement(l){return this.next(),l.test=this.parseHeaderExpression(),l.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),l.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(l,"IfStatement")}parseReturnStatement(l){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(Qe.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?l.argument=null:(l.argument=this.parseExpression(),this.semicolon()),this.finishNode(l,"ReturnStatement")}parseSwitchStatement(l){this.next(),l.discriminant=this.parseHeaderExpression();let o=l.cases=[];this.expect(5),this.state.labels.push(Jp),this.scope.enter(ju);let a;for(let c;!this.match(8);)if(this.match(61)||this.match(65)){let h=this.match(61);a&&this.finishNode(a,"SwitchCase"),o.push(a=this.startNode()),a.consequent=[],this.next(),h?a.test=this.parseExpression():(c&&this.raise(Qe.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),c=!0,a.test=null),this.expect(14)}else a?a.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),a&&this.finishNode(a,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(l,"SwitchStatement")}parseThrowStatement(l){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Qe.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),l.argument=this.parseExpression(),this.semicolon(),this.finishNode(l,"ThrowStatement")}parseCatchClauseParam(){let l=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&l.type==="Identifier"?Lu:0),this.checkLVal(l,{in:{type:"CatchClause"},binding:ac}),l}parseTryStatement(l){if(this.next(),l.block=this.parseBlock(),l.handler=null,this.match(62)){let o=this.startNode();this.next(),this.match(10)?(this.expect(10),o.param=this.parseCatchClauseParam(),this.expect(11)):(o.param=null,this.scope.enter(ju)),o.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),l.handler=this.finishNode(o,"CatchClause")}return l.finalizer=this.eat(67)?this.parseBlock():null,!l.handler&&!l.finalizer&&this.raise(Qe.NoCatchOrFinally,{at:l}),this.finishNode(l,"TryStatement")}parseVarStatement(l,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.next(),this.parseVar(l,!1,o,a),this.semicolon(),this.finishNode(l,"VariableDeclaration")}parseWhileStatement(l){return this.next(),l.test=this.parseHeaderExpression(),this.state.labels.push(mc),l.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(l,"WhileStatement")}parseWithStatement(l){return this.state.strict&&this.raise(Qe.StrictWith,{at:this.state.startLoc}),this.next(),l.object=this.parseHeaderExpression(),l.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(l,"WithStatement")}parseEmptyStatement(l){return this.next(),this.finishNode(l,"EmptyStatement")}parseLabeledStatement(l,o,a,c){for(let d of this.state.labels)d.name===o&&this.raise(Qe.LabelRedeclaration,{at:a,labelName:o});let h=Ct(this.state.type)?"loop":this.match(71)?"switch":null;for(let d=this.state.labels.length-1;d>=0;d--){let g=this.state.labels[d];if(g.statementStart===l.start)g.statementStart=this.state.start,g.kind=h;else break}return this.state.labels.push({name:o,kind:h,statementStart:this.state.start}),l.body=c&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),l.label=a,this.finishNode(l,"LabeledStatement")}parseExpressionStatement(l,o,a){return l.expression=o,this.semicolon(),this.finishNode(l,"ExpressionStatement")}parseBlock(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,a=arguments.length>2?arguments[2]:void 0,c=this.startNode();return l&&this.state.strictErrors.clear(),this.expect(5),o&&this.scope.enter(ju),this.parseBlockBody(c,l,!1,8,a),o&&this.scope.exit(),this.finishNode(c,"BlockStatement")}isValidDirective(l){return l.type==="ExpressionStatement"&&l.expression.type==="StringLiteral"&&!l.expression.extra.parenthesized}parseBlockBody(l,o,a,c,h){let d=l.body=[],g=l.directives=[];this.parseBlockOrModuleBlockBody(d,o?g:void 0,a,c,h)}parseBlockOrModuleBlockBody(l,o,a,c,h){let d=this.state.strict,g=!1,y=!1;for(;!this.match(c);){let D=a?this.parseModuleItem():this.parseStatementListItem();if(o&&!y){if(this.isValidDirective(D)){let x=this.stmtToDirective(D);o.push(x),!g&&x.value.value==="use strict"&&(g=!0,this.setStrict(!0));continue}y=!0,this.state.strictErrors.clear()}l.push(D)}h&&h.call(this,g),d||this.setStrict(!1),this.next()}parseFor(l,o){return l.init=o,this.semicolon(!1),l.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),l.update=this.match(11)?null:this.parseExpression(),this.expect(11),l.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(l,"ForStatement")}parseForIn(l,o,a){let c=this.match(58);return this.next(),c?a!==null&&this.unexpected(a):l.await=a!==null,o.type==="VariableDeclaration"&&o.declarations[0].init!=null&&(!c||!this.options.annexB||this.state.strict||o.kind!=="var"||o.declarations[0].id.type!=="Identifier")&&this.raise(Qe.ForInOfLoopInitializer,{at:o,type:c?"ForInStatement":"ForOfStatement"}),o.type==="AssignmentPattern"&&this.raise(Qe.InvalidLhs,{at:o,ancestor:{type:"ForStatement"}}),l.left=o,l.right=c?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),l.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(l,c?"ForInStatement":"ForOfStatement")}parseVar(l,o,a){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,h=l.declarations=[];for(l.kind=a;;){let d=this.startNode();if(this.parseVarId(d,a),d.init=this.eat(29)?o?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,d.init===null&&!c&&(d.id.type!=="Identifier"&&!(o&&(this.match(58)||this.isContextual(101)))?this.raise(Qe.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):a==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(Qe.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),h.push(this.finishNode(d,"VariableDeclarator")),!this.eat(12))break}return l}parseVarId(l,o){o==="using"&&!this.inModule&&this.match(96)&&this.raise(Qe.AwaitInUsingBinding,{at:this.state.startLoc});let a=this.parseBindingAtom();this.checkLVal(a,{in:{type:"VariableDeclarator"},binding:o==="var"?Uu:Ba}),l.id=a}parseAsyncFunctionExpression(l){return this.parseFunction(l,8)}parseFunction(l){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=o&2,c=!!(o&1),h=c&&!(o&4),d=!!(o&8);this.initFunction(l,d),this.match(55)&&(a&&this.raise(Qe.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),l.generator=!0),c&&(l.id=this.parseFunctionId(h));let g=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Oa),this.prodParam.enter(de(d,l.generator)),c||(l.id=this.parseFunctionId()),this.parseFunctionParams(l,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(l,c?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),c&&!a&&this.registerFunctionStatementId(l),this.state.maybeInArrowParameters=g,l}parseFunctionId(l){return l||ot(this.state.type)?this.parseIdentifier():null}parseFunctionParams(l,o){this.expect(10),this.expressionScope.enter(ip()),l.params=this.parseBindingList(11,41,2|(o?4:0)),this.expressionScope.exit()}registerFunctionStatementId(l){l.id&&this.scope.declareName(l.id.name,!this.options.annexB||this.state.strict||l.generator||l.async?this.scope.treatFunctionsAsVar?Uu:Ba:uc,l.id.loc.start)}parseClass(l,o,a){this.next();let c=this.state.strict;return this.state.strict=!0,this.parseClassId(l,o,a),this.parseClassSuper(l),l.body=this.parseClassBody(!!l.superClass,c),this.finishNode(l,o?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(l){return!l.computed&&!l.static&&(l.key.name==="constructor"||l.key.value==="constructor")}parseClassBody(l,o){this.classScope.enter();let a={hadConstructor:!1,hadSuperClass:l},c=[],h=this.startNode();if(h.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(c.length>0)throw this.raise(Qe.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){c.push(this.parseDecorator());continue}let d=this.startNode();c.length&&(d.decorators=c,this.resetStartLocationFromNode(d,c[0]),c=[]),this.parseClassMember(h,d,a),d.kind==="constructor"&&d.decorators&&d.decorators.length>0&&this.raise(Qe.DecoratorConstructor,{at:d})}}),this.state.strict=o,this.next(),c.length)throw this.raise(Qe.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(h,"ClassBody")}parseClassMemberFromModifier(l,o){let a=this.parseIdentifier(!0);if(this.isClassMethod()){let c=o;return c.kind="method",c.computed=!1,c.key=a,c.static=!1,this.pushClassMethod(l,c,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let c=o;return c.computed=!1,c.key=a,c.static=!1,l.body.push(this.parseClassProperty(c)),!0}return this.resetPreviousNodeTrailingComments(a),!1}parseClassMember(l,o,a){let c=this.isContextual(104);if(c){if(this.parseClassMemberFromModifier(l,o))return;if(this.eat(5)){this.parseClassStaticBlock(l,o);return}}this.parseClassMemberWithIsStatic(l,o,a,c)}parseClassMemberWithIsStatic(l,o,a,c){let h=o,d=o,g=o,y=o,D=o,x=h,v=h;if(o.static=c,this.parsePropertyNamePrefixOperator(o),this.eat(55)){x.kind="method";let w=this.match(136);if(this.parseClassElementName(x),w){this.pushClassPrivateMethod(l,d,!0,!1);return}this.isNonstaticConstructor(h)&&this.raise(Qe.ConstructorIsGenerator,{at:h.key}),this.pushClassMethod(l,h,!0,!1,!1,!1);return}let S=ot(this.state.type)&&!this.state.containsEsc,k=this.match(136),T=this.parseClassElementName(o),$=this.state.startLoc;if(this.parsePostMemberNameModifiers(v),this.isClassMethod()){if(x.kind="method",k){this.pushClassPrivateMethod(l,d,!1,!1);return}let w=this.isNonstaticConstructor(h),F=!1;w&&(h.kind="constructor",a.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Qe.DuplicateConstructor,{at:T}),w&&this.hasPlugin("typescript")&&o.override&&this.raise(Qe.OverrideOnConstructor,{at:T}),a.hadConstructor=!0,F=a.hadSuperClass),this.pushClassMethod(l,h,!1,!1,w,F)}else if(this.isClassProperty())k?this.pushClassPrivateProperty(l,y):this.pushClassProperty(l,g);else if(S&&T.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(T);let w=this.eat(55);v.optional&&this.unexpected($),x.kind="method";let F=this.match(136);this.parseClassElementName(x),this.parsePostMemberNameModifiers(v),F?this.pushClassPrivateMethod(l,d,w,!0):(this.isNonstaticConstructor(h)&&this.raise(Qe.ConstructorIsAsync,{at:h.key}),this.pushClassMethod(l,h,w,!0,!1,!1))}else if(S&&(T.name==="get"||T.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(T),x.kind=T.name;let w=this.match(136);this.parseClassElementName(h),w?this.pushClassPrivateMethod(l,d,!1,!1):(this.isNonstaticConstructor(h)&&this.raise(Qe.ConstructorIsAccessor,{at:h.key}),this.pushClassMethod(l,h,!1,!1,!1,!1)),this.checkGetterSetterParams(h)}else if(S&&T.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(T);let w=this.match(136);this.parseClassElementName(g),this.pushClassAccessorProperty(l,D,w)}else this.isLineTerminator()?k?this.pushClassPrivateProperty(l,y):this.pushClassProperty(l,g):this.unexpected()}parseClassElementName(l){let{type:o,value:a}=this.state;if((o===130||o===131)&&l.static&&a==="prototype"&&this.raise(Qe.StaticPrototype,{at:this.state.startLoc}),o===136){a==="constructor"&&this.raise(Qe.ConstructorClassPrivateField,{at:this.state.startLoc});let c=this.parsePrivateName();return l.key=c,c}return this.parsePropertyName(l)}parseClassStaticBlock(l,o){var a;this.scope.enter(Fa|Ru|ou);let c=this.state.labels;this.state.labels=[],this.prodParam.enter(K);let h=o.body=[];this.parseBlockOrModuleBlockBody(h,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=c,l.body.push(this.finishNode(o,"StaticBlock")),(a=o.decorators)!=null&&a.length&&this.raise(Qe.DecoratorStaticBlock,{at:o})}pushClassProperty(l,o){!o.computed&&(o.key.name==="constructor"||o.key.value==="constructor")&&this.raise(Qe.ConstructorClassField,{at:o.key}),l.body.push(this.parseClassProperty(o))}pushClassPrivateProperty(l,o){let a=this.parseClassPrivateProperty(o);l.body.push(a),this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),Zu,a.key.loc.start)}pushClassAccessorProperty(l,o,a){if(!a&&!o.computed){let h=o.key;(h.name==="constructor"||h.value==="constructor")&&this.raise(Qe.ConstructorClassField,{at:h})}let c=this.parseClassAccessorProperty(o);l.body.push(c),a&&this.classScope.declarePrivateName(this.getPrivateNameSV(c.key),Zu,c.key.loc.start)}pushClassMethod(l,o,a,c,h,d){l.body.push(this.parseMethod(o,a,c,h,d,"ClassMethod",!0))}pushClassPrivateMethod(l,o,a,c){let h=this.parseMethod(o,a,c,!1,!1,"ClassPrivateMethod",!0);l.body.push(h);let d=h.kind==="get"?h.static?cc:pc:h.kind==="set"?h.static?qu:_l:Zu;this.declareClassPrivateMethodInScope(h,d)}declareClassPrivateMethodInScope(l,o){this.classScope.declarePrivateName(this.getPrivateNameSV(l.key),o,l.key.loc.start)}parsePostMemberNameModifiers(l){}parseClassPrivateProperty(l){return this.parseInitializer(l),this.semicolon(),this.finishNode(l,"ClassPrivateProperty")}parseClassProperty(l){return this.parseInitializer(l),this.semicolon(),this.finishNode(l,"ClassProperty")}parseClassAccessorProperty(l){return this.parseInitializer(l),this.semicolon(),this.finishNode(l,"ClassAccessorProperty")}parseInitializer(l){this.scope.enter(Fa|ou),this.expressionScope.enter(E()),this.prodParam.enter(K),l.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(l,o,a){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Ip;if(ot(this.state.type))l.id=this.parseIdentifier(),o&&this.declareNameFromIdentifier(l.id,c);else if(a||!o)l.id=null;else throw this.raise(Qe.MissingClassName,{at:this.state.startLoc})}parseClassSuper(l){l.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(l,o){let a=this.maybeParseExportDefaultSpecifier(l),c=!a||this.eat(12),h=c&&this.eatExportStar(l),d=h&&this.maybeParseExportNamespaceSpecifier(l),g=c&&(!d||this.eat(12)),y=a||h;if(h&&!d){if(a&&this.unexpected(),o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:l});return this.parseExportFrom(l,!0),this.finishNode(l,"ExportAllDeclaration")}let D=this.maybeParseExportNamedSpecifiers(l);a&&c&&!h&&!D&&this.unexpected(null,5),d&&g&&this.unexpected(null,97);let x;if(y||D){if(x=!1,o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:l});this.parseExportFrom(l,y)}else x=this.maybeParseExportDeclaration(l);if(y||D||x){var v;let S=l;if(this.checkExport(S,!0,!1,!!S.source),((v=S.declaration)==null?void 0:v.type)==="ClassDeclaration")this.maybeTakeDecorators(o,S.declaration,S);else if(o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:l});return this.finishNode(S,"ExportNamedDeclaration")}if(this.eat(65)){let S=l,k=this.parseExportDefaultExpression();if(S.declaration=k,k.type==="ClassDeclaration")this.maybeTakeDecorators(o,k,S);else if(o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:l});return this.checkExport(S,!0,!0),this.finishNode(S,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(l){return this.eat(55)}maybeParseExportDefaultSpecifier(l){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let o=this.startNode();return o.exported=this.parseIdentifier(!0),l.specifiers=[this.finishNode(o,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(l){if(this.isContextual(93)){l.specifiers||(l.specifiers=[]);let o=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),o.exported=this.parseModuleExportName(),l.specifiers.push(this.finishNode(o,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(l){if(this.match(5)){l.specifiers||(l.specifiers=[]);let o=l.exportKind==="type";return l.specifiers.push(...this.parseExportSpecifiers(o)),l.source=null,l.declaration=null,this.hasPlugin("importAssertions")&&(l.assertions=[]),!0}return!1}maybeParseExportDeclaration(l){return this.shouldParseExportDeclaration()?(l.specifiers=[],l.source=null,this.hasPlugin("importAssertions")&&(l.assertions=[]),l.declaration=this.parseExportDeclaration(l),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let l=this.nextTokenStart();return!Gc.test(this.input.slice(this.state.pos,l))&&this.isUnparsedContextual(l,"function")}parseExportDefaultExpression(){let l=this.startNode();if(this.match(68))return this.next(),this.parseFunction(l,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(l,13);if(this.match(80))return this.parseClass(l,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Qe.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(Qe.UnsupportedDefaultExport,{at:this.state.startLoc});let o=this.parseMaybeAssignAllowIn();return this.semicolon(),o}parseExportDeclaration(l){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:l}=this.state;if(ot(l)){if(l===95&&!this.state.containsEsc||l===99)return!1;if((l===128||l===127)&&!this.state.containsEsc){let{type:c}=this.lookahead();if(ot(c)&&c!==97||c===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let o=this.nextTokenStart(),a=this.isUnparsedContextual(o,"from");if(this.input.charCodeAt(o)===44||ot(this.state.type)&&a)return!0;if(this.match(65)&&a){let c=this.input.charCodeAt(this.nextTokenStartSince(o+4));return c===34||c===39}return!1}parseExportFrom(l,o){if(this.eatContextual(97)){l.source=this.parseImportSource(),this.checkExport(l);let a=this.maybeParseImportAssertions();a&&(l.assertions=a,this.checkJSONModuleImport(l))}else o&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:l}=this.state;return l===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Qe.DecoratorBeforeExport,{at:this.state.startLoc}),!0):l===74||l===75||l===68||l===80||this.isLet()||this.isAsyncFunction()}checkExport(l,o,a,c){if(o){if(a){if(this.checkDuplicateExports(l,"default"),this.hasPlugin("exportDefaultFrom")){var h;let d=l.declaration;d.type==="Identifier"&&d.name==="from"&&d.end-d.start===4&&!((h=d.extra)!=null&&h.parenthesized)&&this.raise(Qe.ExportDefaultFromAsIdentifier,{at:d})}}else if(l.specifiers&&l.specifiers.length)for(let d of l.specifiers){let{exported:g}=d,y=g.type==="Identifier"?g.name:g.value;if(this.checkDuplicateExports(d,y),!c&&d.local){let{local:D}=d;D.type!=="Identifier"?this.raise(Qe.ExportBindingIsString,{at:d,localName:D.value,exportName:y}):(this.checkReservedWord(D.name,D.loc.start,!0,!1),this.scope.checkLocalExport(D))}}else if(l.declaration){if(l.declaration.type==="FunctionDeclaration"||l.declaration.type==="ClassDeclaration"){let d=l.declaration.id;if(!d)throw new Error("Assertion failure");this.checkDuplicateExports(l,d.name)}else if(l.declaration.type==="VariableDeclaration")for(let d of l.declaration.declarations)this.checkDeclaration(d.id)}}}checkDeclaration(l){if(l.type==="Identifier")this.checkDuplicateExports(l,l.name);else if(l.type==="ObjectPattern")for(let o of l.properties)this.checkDeclaration(o);else if(l.type==="ArrayPattern")for(let o of l.elements)o&&this.checkDeclaration(o);else l.type==="ObjectProperty"?this.checkDeclaration(l.value):l.type==="RestElement"?this.checkDeclaration(l.argument):l.type==="AssignmentPattern"&&this.checkDeclaration(l.left)}checkDuplicateExports(l,o){this.exportedIdentifiers.has(o)&&(o==="default"?this.raise(Qe.DuplicateDefaultExport,{at:l}):this.raise(Qe.DuplicateExport,{at:l,exportName:o})),this.exportedIdentifiers.add(o)}parseExportSpecifiers(l){let o=[],a=!0;for(this.expect(5);!this.eat(8);){if(a)a=!1;else if(this.expect(12),this.eat(8))break;let c=this.isContextual(128),h=this.match(131),d=this.startNode();d.local=this.parseModuleExportName(),o.push(this.parseExportSpecifier(d,h,l,c))}return o}parseExportSpecifier(l,o,a,c){return this.eatContextual(93)?l.exported=this.parseModuleExportName():o?l.exported=Se(l.local):l.exported||(l.exported=V(l.local)),this.finishNode(l,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let l=this.parseStringLiteral(this.state.value),o=l.value.match(bg);return o&&this.raise(Qe.ModuleExportNameHasLoneSurrogate,{at:l,surrogateCharCode:o[0].charCodeAt(0)}),l}return this.parseIdentifier(!0)}isJSONModuleImport(l){return l.assertions!=null?l.assertions.some(o=>{let{key:a,value:c}=o;return c.value==="json"&&(a.type==="Identifier"?a.name==="type":a.value==="type")}):!1}checkImportReflection(l){if(l.module){var o;(l.specifiers.length!==1||l.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(Qe.ImportReflectionNotBinding,{at:l.specifiers[0].loc.start}),((o=l.assertions)==null?void 0:o.length)>0&&this.raise(Qe.ImportReflectionHasAssertion,{at:l.specifiers[0].loc.start})}}checkJSONModuleImport(l){if(this.isJSONModuleImport(l)&&l.type!=="ExportAllDeclaration"){let{specifiers:o}=l;if(o!=null){let a=o.find(c=>{let h;if(c.type==="ExportSpecifier"?h=c.local:c.type==="ImportSpecifier"&&(h=c.imported),h!==void 0)return h.type==="Identifier"?h.name!=="default":h.value!=="default"});a!==void 0&&this.raise(Qe.ImportJSONBindingNotDefault,{at:a.loc.start})}}}parseMaybeImportReflection(l){let o=!1;if(this.isContextual(125)){let a=this.lookahead(),c=a.type;ot(c)?(c!==97||this.input.charCodeAt(this.nextTokenStartSince(a.end))===102)&&(o=!0):c!==12&&(o=!0)}o?(this.expectPlugin("importReflection"),this.next(),l.module=!0):this.hasPlugin("importReflection")&&(l.module=!1)}parseImport(l){if(l.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(l);let a=!this.maybeParseDefaultImportSpecifier(l)||this.eat(12),c=a&&this.maybeParseStarImportSpecifier(l);a&&!c&&this.parseNamedImportSpecifiers(l),this.expectContextual(97)}l.source=this.parseImportSource();let o=this.maybeParseImportAssertions();if(o)l.assertions=o;else{let a=this.maybeParseModuleAttributes();a&&(l.attributes=a)}return this.checkImportReflection(l),this.checkJSONModuleImport(l),this.semicolon(),this.finishNode(l,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(l){return ot(this.state.type)}parseImportSpecifierLocal(l,o,a){o.local=this.parseIdentifier(),l.specifiers.push(this.finishImportSpecifier(o,a))}finishImportSpecifier(l,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ba;return this.checkLVal(l.local,{in:{type:o},binding:a}),this.finishNode(l,o)}parseAssertEntries(){let l=[],o=new Set;do{if(this.match(8))break;let a=this.startNode(),c=this.state.value;if(o.has(c)&&this.raise(Qe.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:c}),o.add(c),this.match(131)?a.key=this.parseStringLiteral(c):a.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(Qe.ModuleAttributeInvalidValue,{at:this.state.startLoc});a.value=this.parseStringLiteral(this.state.value),l.push(this.finishNode(a,"ImportAttribute"))}while(this.eat(12));return l}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;let l=[],o=new Set;do{let a=this.startNode();if(a.key=this.parseIdentifier(!0),a.key.name!=="type"&&this.raise(Qe.ModuleAttributeDifferentFromType,{at:a.key}),o.has(a.key.name)&&this.raise(Qe.ModuleAttributesWithDuplicateKeys,{at:a.key,key:a.key.name}),o.add(a.key.name),this.expect(14),!this.match(131))throw this.raise(Qe.ModuleAttributeInvalidValue,{at:this.state.startLoc});a.value=this.parseStringLiteral(this.state.value),this.finishNode(a,"ImportAttribute"),l.push(a)}while(this.eat(12));return l}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);let l=this.parseAssertEntries();return this.eat(8),l}maybeParseDefaultImportSpecifier(l){return this.shouldParseDefaultImport(l)?(this.parseImportSpecifierLocal(l,this.startNode(),"ImportDefaultSpecifier"),!0):!1}maybeParseStarImportSpecifier(l){if(this.match(55)){let o=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(l,o,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(l){let o=!0;for(this.expect(5);!this.eat(8);){if(o)o=!1;else{if(this.eat(14))throw this.raise(Qe.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let a=this.startNode(),c=this.match(131),h=this.isContextual(128);a.imported=this.parseModuleExportName();let d=this.parseImportSpecifier(a,c,l.importKind==="type"||l.importKind==="typeof",h,void 0);l.specifiers.push(d)}}parseImportSpecifier(l,o,a,c,h){if(this.eatContextual(93))l.local=this.parseIdentifier();else{let{imported:d}=l;if(o)throw this.raise(Qe.ImportBindingIsString,{at:l,importName:d.value});this.checkReservedWord(d.name,l.loc.start,!0,!0),l.local||(l.local=V(d))}return this.finishImportSpecifier(l,"ImportSpecifier",h)}isThisParam(l){return l.type==="Identifier"&&l.name==="this"}},nd=class extends Cg{constructor(l,o){l=Xr(l),super(l,o),this.options=l,this.initializeScopes(),this.plugins=Sg(this.options.plugins),this.filename=l.sourceFilename}getScopeHandler(){return pu}parse(){this.enterInitialScopes();let l=this.startNode(),o=this.startNode();return this.nextToken(),l.errors=null,this.parseTopLevel(l,o),l.errors=this.state.errors,l}};function Sg(l){let o=new Map;for(let a of l){let[c,h]=Array.isArray(a)?a:[a,{}];o.has(c)||o.set(c,h||{})}return o}function Eg(l,o){var a;if(((a=o)==null?void 0:a.sourceType)==="unambiguous"){o=Object.assign({},o);try{o.sourceType="module";let c=ap(o,l),h=c.parse();if(c.sawUnambiguousESM)return h;if(c.ambiguousScriptDifferentAst)try{return o.sourceType="script",ap(o,l).parse()}catch{}else h.program.sourceType="script";return h}catch(c){try{return o.sourceType="script",ap(o,l).parse()}catch{}throw c}}else return ap(o,l).parse()}function Ag(l,o){let a=ap(o,l);return a.options.strictMode&&(a.state.strict=!0),a.getExpression()}function gc(l){let o={};for(let a of Object.keys(l))o[a]=Sr(l[a]);return o}var wg=gc(st);function ap(l,o){let a=nd;return l!=null&&l.plugins&&(Fo(l.plugins),a=Pg(l.plugins)),new a(l,o)}var id={};function Pg(l){let o=Ls.filter(h=>Vi(l,h)),a=o.join("/"),c=id[a];if(!c){c=nd;for(let h of o)c=ws[h](c);id[a]=c}return c}xn.parse=Eg,xn.parseExpression=Ag,xn.tokTypes=wg}}),xl=_e({"src/language-js/parse/json.js"(xn,Ur){oe();var Xr=gl(),Ar=tu(),hr=yl(),Nr=wa();function er(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:wi=!0}=kn;return function(Mr){let{parseExpression:Fi}=Tu(),Ts;try{Ts=Fi(Mr,{tokens:!0,ranges:!0})}catch(Rn){throw Nr(Rn)}if(!wi&&Xr(Ts.comments))throw bn(Ts.comments[0],"Comment");return oi(Ts),Ts}}function bn(kn,wi){let[Mr,Fi]=[kn.loc.start,kn.loc.end].map(Ts=>{let{line:Rn,column:Pi}=Ts;return{line:Rn,column:Pi+1}});return Ar(`${wi} is not allowed in JSON.`,{start:Mr,end:Fi})}function oi(kn){switch(kn.type){case"ArrayExpression":for(let wi of kn.elements)wi!==null&&oi(wi);return;case"ObjectExpression":for(let wi of kn.properties)oi(wi);return;case"ObjectProperty":if(kn.computed)throw bn(kn.key,"Computed key");if(kn.shorthand)throw bn(kn.key,"Shorthand property");kn.key.type!=="Identifier"&&oi(kn.key),oi(kn.value);return;case"UnaryExpression":{let{operator:wi,argument:Mr}=kn;if(wi!=="+"&&wi!=="-")throw bn(kn,`Operator '${kn.operator}'`);if(Mr.type==="NumericLiteral"||Mr.type==="Identifier"&&(Mr.name==="Infinity"||Mr.name==="NaN"))return;throw bn(Mr,`Operator '${wi}' before '${Mr.type}'`)}case"Identifier":if(kn.name!=="Infinity"&&kn.name!=="NaN"&&kn.name!=="undefined")throw bn(kn,`Identifier '${kn.name}'`);return;case"TemplateLiteral":if(Xr(kn.expressions))throw bn(kn.expressions[0],"'TemplateLiteral' with expression");for(let wi of kn.quasis)oi(wi);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw bn(kn,`'${kn.type}'`)}}var bi=er(),di={json:hr({parse:bi,hasPragma(){return!0}}),json5:hr(bi),"json-stringify":hr({parse:er({allowComments:!1}),astFormat:"estree-json"})};Ur.exports=di}});oe();var Uc=Ce(),ec=De(),tc=xt(),ma=yl(),ku=wa(),ga=Dl(),rc=xl(),nc={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},Wc=["recordAndTuple",{syntaxType:"hash"}],Fu="v8intrinsic",Bu=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],ho=function(xn){let Ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nc;return Object.assign(Object.assign({},Ur),{},{plugins:[...Ur.plugins,...xn]})},zo=/@(?:no)?flow\b/;function Yo(xn,Ur){if(Ur.filepath&&Ur.filepath.endsWith(".js.flow"))return!0;let Xr=ec(xn);Xr&&(xn=xn.slice(Xr.length));let Ar=tc(xn,0);return Ar!==!1&&(xn=xn.slice(0,Ar)),zo.test(xn)}function No(xn,Ur,Xr){let Ar=Tu()[xn],hr=Ar(Ur,Xr),Nr=hr.errors.find(er=>!$u.has(er.reasonCode));if(Nr)throw Nr;return hr}function wo(xn){for(var Ur=arguments.length,Xr=new Array(Ur>1?Ur-1:0),Ar=1;Ar<Ur;Ar++)Xr[Ar-1]=arguments[Ar];return function(hr,Nr){let er=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((er.parser==="babel"||er.parser==="__babel_estree")&&Yo(hr,er))return er.parser="babel-flow",Pa(hr,Nr,er);let bn=Xr;er.__babelSourceType==="script"&&(bn=bn.map(kn=>Object.assign(Object.assign({},kn),{},{sourceType:"script"}))),/#[[{]/.test(hr)&&(bn=bn.map(kn=>ho([Wc],kn)));let oi=/%[A-Z]/.test(hr);hr.includes("|>")?bn=(oi?[...Bu,Fu]:Bu).flatMap(kn=>bn.map(wi=>ho([kn],wi))):oi&&(bn=bn.map(kn=>ho([Fu],kn)));let{result:bi,error:di}=Uc(...bn.map(kn=>()=>No(xn,hr,kn)));if(!bi)throw ku(di);return er.originalText=hr,ga(bi,er)}}var pi=wo("parse",ho(["jsx","flow"])),Pa=wo("parse",ho(["jsx",["flow",{all:!0,enums:!0}]])),bl=wo("parse",ho(["jsx","typescript"]),ho(["typescript"])),ru=wo("parse",ho(["jsx","flow","estree"])),_u=wo("parseExpression",ho(["jsx"])),Ta=wo("parseExpression",ho(["typescript"])),$u=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"]),Nu=ma(pi),nu=ma(bl),Iu=ma(_u),vl=ma(Ta);Ot.exports={parsers:Object.assign(Object.assign({babel:Nu,"babel-flow":ma(Pa),"babel-ts":nu},rc),{},{__js_expression:Iu,__vue_expression:Iu,__vue_ts_expression:vl,__vue_event_binding:Nu,__vue_ts_event_binding:nu,__babel_estree:ma(ru)})}});return fi()})})(gE);var JI=gE.exports;const KI=ng(JI);function e5(r,e,t){const n={css:YI,html:HI,babel:KI};return Cs(()=>{if(!Ad(e))return Ad(r)||"/* empty */";try{return ZI.format(Ad(r)||"",{parser:t,plugins:[n[t]],singleQuote:!0,semi:!1})}catch(i){return console.error(i),`/* Error on prettifying: ${i.message} */
|
|
${Ad(r)||""}`}})}function t5(r,e=!0){return e5(r,e,"css")}const r5={"h-full":""},n5={p:"x4 y2",grid:"~ cols-4 gap-4"},i5=Di("div",{op80:""}," Presets ",-1),s5={op50:"","ws-pre":""},o5={overflow:"auto"},a5=Di("div",{op80:""}," Rules ",-1),u5=Di("span",{op50:""},"dynamic",-1),l5=Di("br",null,null,-1),c5=Di("span",{op50:""},"static",-1),p5=Di("div",{op80:""}," Variants ",-1),h5=Di("div",{op80:""}," Shortcuts ",-1),f5={key:0},d5=Di("div",{op80:""}," Config File ",-1),m5=Di("div",{op80:""}," Version ",-1),g5={op50:"","ws-pre":""},y5={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},O5=Di("div",{op80:""}," Included Files ",-1),D5=Di("div",{op80:""}," CSS Size ",-1),x5=Di("span",{op50:""},"gzipped",-1),b5=Di("div",{op80:""}," Matched Rules ",-1),v5=Di("div",{op80:""}," Layers ",-1),C5={op50:"","ws-pre":""},S5=Cu({__name:"Overview",setup(r){const e=go(null),t=WI(e,"overview-scrolls");qO.execute();const n=go(!1),i=t5(Cs(()=>{var s;return(s=Qd.value)==null?void 0:s.css}),n);return(s,u)=>{const p=UI,f=jI,m=$I,O=kI;return qs(),Uo("div",r5,[Ps(m,{ref_key:"status",ref:e,p0:""},{default:Vl(()=>{var b,N,U,he,Re,Ge,$e,gt,kt,qt,Yt,Pr,vr,mr,kr,Rr,dn,Nn;return[Di("div",n5,[Di("div",null,[i5,Di("div",s5,aa((U=(N=(b=Xi(Mo))==null?void 0:b.config)==null?void 0:N.presets)==null?void 0:U.map(Bi=>Bi.name).join(`
|
|
`)),1)]),Di("div",o5,[a5,yu(" "+aa((Ge=(Re=(he=Xi(Mo))==null?void 0:he.config)==null?void 0:Re.rulesDynamic)==null?void 0:Ge.length)+" ",1),u5,l5,yu(" "+aa(Object.keys(((gt=($e=Xi(Mo))==null?void 0:$e.config)==null?void 0:gt.rulesStaticMap)||{}).length)+" ",1),c5]),Di("div",null,[p5,yu(" "+aa((Yt=(qt=(kt=Xi(Mo))==null?void 0:kt.config)==null?void 0:qt.variants)==null?void 0:Yt.length),1)]),Di("div",null,[h5,yu(" "+aa((Pr=Xi(Mo))==null?void 0:Pr.config.shortcuts.length),1)]),(vr=Xi(Mo))!=null&&vr.configPath?(qs(),Uo("div",f5,[d5,Ps(p,{id:Xi(Mo).configPath},null,8,["id"])])):lf("",!0),Di("div",null,[m5,Di("div",g5,aa((mr=Xi(Mo))==null?void 0:mr.version),1)])]),Di("div",y5,[Di("div",null,[O5,yu(" "+aa((kr=Xi(Mo))==null?void 0:kr.modules.length),1)]),Di("div",null,[D5,yu(" "+aa(((((Rr=Xi(Qd))==null?void 0:Rr.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),x5]),Di("div",null,[b5,yu(" "+aa((dn=Xi(Qd))==null?void 0:dn.matched.length),1)]),Di("div",null,[v5,Di("div",C5,aa((Nn=Xi(Qd))==null?void 0:Nn.layers.join(`
|
|
`)),1)])]),Ps(f,{border:"t gray-400/20",title:"Output CSS"},{default:Vl(()=>[Di("label",null,[nw(Di("input",{"onUpdate:modelValue":u[0]||(u[0]=Bi=>no(n)?n.value=Bi:null),type:"checkbox"},null,512),[[rP,Xi(n)]]),yu(" Prettify ")])]),_:1})]}),_:1},512),Ps(O,{"model-value":Xi(i),"read-only":!0,mode:"css",class:"overview-scrolls",style:Rf(Xi(t))},null,8,["model-value","style"])])}}}),E5={};function A5(r,e){const t=S5;return qs(),bp(t)}const w5=uE(E5,[["render",A5]]),P5=()=>Qy(()=>import("./repl-d67a9619.js"),[]),T5=()=>Qy(()=>import("./_id_-b36dfc97.js"),[]),k5=[{name:"repl",path:"/repl",component:P5,props:!0},{name:"index",path:"/",component:w5,props:!0},{name:"module-id",path:"/module/:id",component:T5,props:!0}];/*!
|
|
* vue-router v4.1.6
|
|
* (c) 2022 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const ih=typeof window<"u";function F5(r){return r.__esModule||r[Symbol.toStringTag]==="Module"}const vs=Object.assign;function x0(r,e){const t={};for(const n in e){const i=e[n];t[n]=vu(i)?i.map(r):r(i)}return t}const gf=()=>{},vu=Array.isArray,B5=/\/$/,_5=r=>r.replace(B5,"");function b0(r,e,t="/"){let n,i={},s="",u="";const p=e.indexOf("#");let f=e.indexOf("?");return p<f&&p>=0&&(f=-1),f>-1&&(n=e.slice(0,f),s=e.slice(f+1,p>-1?p:e.length),i=r(s)),p>-1&&(n=n||e.slice(0,p),u=e.slice(p,e.length)),n=Q5(n??e,t),{fullPath:n+(s&&"?")+s+u,path:n,query:i,hash:u}}function $5(r,e){const t=e.query?r(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Ob(r,e){return!e||!r.toLowerCase().startsWith(e.toLowerCase())?r:r.slice(e.length)||"/"}function N5(r,e,t){const n=e.matched.length-1,i=t.matched.length-1;return n>-1&&n===i&&kh(e.matched[n],t.matched[i])&&yE(e.params,t.params)&&r(e.query)===r(t.query)&&e.hash===t.hash}function kh(r,e){return(r.aliasOf||r)===(e.aliasOf||e)}function yE(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(!I5(r[t],e[t]))return!1;return!0}function I5(r,e){return vu(r)?Db(r,e):vu(e)?Db(e,r):r===e}function Db(r,e){return vu(e)?r.length===e.length&&r.every((t,n)=>t===e[n]):r.length===1&&r[0]===e}function Q5(r,e){if(r.startsWith("/"))return r;if(!r)return e;const t=e.split("/"),n=r.split("/");let i=t.length-1,s,u;for(s=0;s<n.length;s++)if(u=n[s],u!==".")if(u==="..")i>1&&i--;else break;return t.slice(0,i).join("/")+"/"+n.slice(s-(s===n.length?1:0)).join("/")}var Lf;(function(r){r.pop="pop",r.push="push"})(Lf||(Lf={}));var yf;(function(r){r.back="back",r.forward="forward",r.unknown=""})(yf||(yf={}));function j5(r){if(!r)if(ih){const e=document.querySelector("base");r=e&&e.getAttribute("href")||"/",r=r.replace(/^\w+:\/\/[^\/]+/,"")}else r="/";return r[0]!=="/"&&r[0]!=="#"&&(r="/"+r),_5(r)}const M5=/^[^#]+#/;function L5(r,e){return r.replace(M5,"#")+e}function R5(r,e){const t=document.documentElement.getBoundingClientRect(),n=r.getBoundingClientRect();return{behavior:e.behavior,left:n.left-t.left-(e.left||0),top:n.top-t.top-(e.top||0)}}const xg=()=>({left:window.pageXOffset,top:window.pageYOffset});function V5(r){let e;if("el"in r){const t=r.el,n=typeof t=="string"&&t.startsWith("#"),i=typeof t=="string"?n?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!i)return;e=R5(i,r)}else e=r;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function xb(r,e){return(history.state?history.state.position-e:-1)+r}const $y=new Map;function X5(r,e){$y.set(r,e)}function U5(r){const e=$y.get(r);return $y.delete(r),e}let W5=()=>location.protocol+"//"+location.host;function OE(r,e){const{pathname:t,search:n,hash:i}=e,s=r.indexOf("#");if(s>-1){let p=i.includes(r.slice(s))?r.slice(s).length:1,f=i.slice(p);return f[0]!=="/"&&(f="/"+f),Ob(f,"")}return Ob(t,r)+n+i}function q5(r,e,t,n){let i=[],s=[],u=null;const p=({state:N})=>{const U=OE(r,location),he=t.value,Re=e.value;let Ge=0;if(N){if(t.value=U,e.value=N,u&&u===he){u=null;return}Ge=Re?N.position-Re.position:0}else n(U);i.forEach($e=>{$e(t.value,he,{delta:Ge,type:Lf.pop,direction:Ge?Ge>0?yf.forward:yf.back:yf.unknown})})};function f(){u=t.value}function m(N){i.push(N);const U=()=>{const he=i.indexOf(N);he>-1&&i.splice(he,1)};return s.push(U),U}function O(){const{history:N}=window;N.state&&N.replaceState(vs({},N.state,{scroll:xg()}),"")}function b(){for(const N of s)N();s=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",O)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",O),{pauseListeners:f,listen:m,destroy:b}}function bb(r,e,t,n=!1,i=!1){return{back:r,current:e,forward:t,replaced:n,position:window.history.length,scroll:i?xg():null}}function Z5(r){const{history:e,location:t}=window,n={value:OE(r,t)},i={value:e.state};i.value||s(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(f,m,O){const b=r.indexOf("#"),N=b>-1?(t.host&&document.querySelector("base")?r:r.slice(b))+f:W5()+r+f;try{e[O?"replaceState":"pushState"](m,"",N),i.value=m}catch(U){console.error(U),t[O?"replace":"assign"](N)}}function u(f,m){const O=vs({},e.state,bb(i.value.back,f,i.value.forward,!0),m,{position:i.value.position});s(f,O,!0),n.value=f}function p(f,m){const O=vs({},i.value,e.state,{forward:f,scroll:xg()});s(O.current,O,!0);const b=vs({},bb(n.value,f,null),{position:O.position+1},m);s(f,b,!1),n.value=f}return{location:n,state:i,push:p,replace:u}}function z5(r){r=j5(r);const e=Z5(r),t=q5(r,e.state,e.location,e.replace);function n(s,u=!0){u||t.pauseListeners(),history.go(s)}const i=vs({location:"",base:r,go:n,createHref:L5.bind(null,r)},e,t);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function Y5(r){return r=location.host?r||location.pathname+location.search:"",r.includes("#")||(r+="#"),z5(r)}function G5(r){return typeof r=="string"||r&&typeof r=="object"}function DE(r){return typeof r=="string"||typeof r=="symbol"}const xc={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xE=Symbol("");var vb;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(vb||(vb={}));function Fh(r,e){return vs(new Error,{type:r,[xE]:!0},e)}function Ml(r,e){return r instanceof Error&&xE in r&&(e==null||!!(r.type&e))}const Cb="[^/]+?",H5={sensitive:!1,strict:!1,start:!0,end:!0},J5=/[.+*?^${}()[\]/\\]/g;function K5(r,e){const t=vs({},H5,e),n=[];let i=t.start?"^":"";const s=[];for(const m of r){const O=m.length?[]:[90];t.strict&&!m.length&&(i+="/");for(let b=0;b<m.length;b++){const N=m[b];let U=40+(t.sensitive?.25:0);if(N.type===0)b||(i+="/"),i+=N.value.replace(J5,"\\$&"),U+=40;else if(N.type===1){const{value:he,repeatable:Re,optional:Ge,regexp:$e}=N;s.push({name:he,repeatable:Re,optional:Ge});const gt=$e||Cb;if(gt!==Cb){U+=10;try{new RegExp(`(${gt})`)}catch(qt){throw new Error(`Invalid custom RegExp for param "${he}" (${gt}): `+qt.message)}}let kt=Re?`((?:${gt})(?:/(?:${gt}))*)`:`(${gt})`;b||(kt=Ge&&m.length<2?`(?:/${kt})`:"/"+kt),Ge&&(kt+="?"),i+=kt,U+=20,Ge&&(U+=-8),Re&&(U+=-20),gt===".*"&&(U+=-50)}O.push(U)}n.push(O)}if(t.strict&&t.end){const m=n.length-1;n[m][n[m].length-1]+=.7000000000000001}t.strict||(i+="/?"),t.end?i+="$":t.strict&&(i+="(?:/|$)");const u=new RegExp(i,t.sensitive?"":"i");function p(m){const O=m.match(u),b={};if(!O)return null;for(let N=1;N<O.length;N++){const U=O[N]||"",he=s[N-1];b[he.name]=U&&he.repeatable?U.split("/"):U}return b}function f(m){let O="",b=!1;for(const N of r){(!b||!O.endsWith("/"))&&(O+="/"),b=!1;for(const U of N)if(U.type===0)O+=U.value;else if(U.type===1){const{value:he,repeatable:Re,optional:Ge}=U,$e=he in m?m[he]:"";if(vu($e)&&!Re)throw new Error(`Provided param "${he}" is an array but it is not repeatable (* or + modifiers)`);const gt=vu($e)?$e.join("/"):$e;if(!gt)if(Ge)N.length<2&&(O.endsWith("/")?O=O.slice(0,-1):b=!0);else throw new Error(`Missing required param "${he}"`);O+=gt}}return O||"/"}return{re:u,score:n,keys:s,parse:p,stringify:f}}function e6(r,e){let t=0;for(;t<r.length&&t<e.length;){const n=e[t]-r[t];if(n)return n;t++}return r.length<e.length?r.length===1&&r[0]===40+40?-1:1:r.length>e.length?e.length===1&&e[0]===40+40?1:-1:0}function t6(r,e){let t=0;const n=r.score,i=e.score;for(;t<n.length&&t<i.length;){const s=e6(n[t],i[t]);if(s)return s;t++}if(Math.abs(i.length-n.length)===1){if(Sb(n))return 1;if(Sb(i))return-1}return i.length-n.length}function Sb(r){const e=r[r.length-1];return r.length>0&&e[e.length-1]<0}const r6={type:0,value:""},n6=/[a-zA-Z0-9_]/;function i6(r){if(!r)return[[]];if(r==="/")return[[r6]];if(!r.startsWith("/"))throw new Error(`Invalid path "${r}"`);function e(U){throw new Error(`ERR (${t})/"${m}": ${U}`)}let t=0,n=t;const i=[];let s;function u(){s&&i.push(s),s=[]}let p=0,f,m="",O="";function b(){m&&(t===0?s.push({type:0,value:m}):t===1||t===2||t===3?(s.length>1&&(f==="*"||f==="+")&&e(`A repeatable param (${m}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:m,regexp:O,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):e("Invalid state to consume buffer"),m="")}function N(){m+=f}for(;p<r.length;){if(f=r[p++],f==="\\"&&t!==2){n=t,t=4;continue}switch(t){case 0:f==="/"?(m&&b(),u()):f===":"?(b(),t=1):N();break;case 4:N(),t=n;break;case 1:f==="("?t=2:n6.test(f)?N():(b(),t=0,f!=="*"&&f!=="?"&&f!=="+"&&p--);break;case 2:f===")"?O[O.length-1]=="\\"?O=O.slice(0,-1)+f:t=3:O+=f;break;case 3:b(),t=0,f!=="*"&&f!=="?"&&f!=="+"&&p--,O="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${m}"`),b(),u(),i}function s6(r,e,t){const n=K5(i6(r.path),t),i=vs(n,{record:r,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function o6(r,e){const t=[],n=new Map;e=wb({strict:!1,end:!0,sensitive:!1},e);function i(O){return n.get(O)}function s(O,b,N){const U=!N,he=a6(O);he.aliasOf=N&&N.record;const Re=wb(e,O),Ge=[he];if("alias"in O){const kt=typeof O.alias=="string"?[O.alias]:O.alias;for(const qt of kt)Ge.push(vs({},he,{components:N?N.record.components:he.components,path:qt,aliasOf:N?N.record:he}))}let $e,gt;for(const kt of Ge){const{path:qt}=kt;if(b&&qt[0]!=="/"){const Yt=b.record.path,Pr=Yt[Yt.length-1]==="/"?"":"/";kt.path=b.record.path+(qt&&Pr+qt)}if($e=s6(kt,b,Re),N?N.alias.push($e):(gt=gt||$e,gt!==$e&>.alias.push($e),U&&O.name&&!Ab($e)&&u(O.name)),he.children){const Yt=he.children;for(let Pr=0;Pr<Yt.length;Pr++)s(Yt[Pr],$e,N&&N.children[Pr])}N=N||$e,($e.record.components&&Object.keys($e.record.components).length||$e.record.name||$e.record.redirect)&&f($e)}return gt?()=>{u(gt)}:gf}function u(O){if(DE(O)){const b=n.get(O);b&&(n.delete(O),t.splice(t.indexOf(b),1),b.children.forEach(u),b.alias.forEach(u))}else{const b=t.indexOf(O);b>-1&&(t.splice(b,1),O.record.name&&n.delete(O.record.name),O.children.forEach(u),O.alias.forEach(u))}}function p(){return t}function f(O){let b=0;for(;b<t.length&&t6(O,t[b])>=0&&(O.record.path!==t[b].record.path||!bE(O,t[b]));)b++;t.splice(b,0,O),O.record.name&&!Ab(O)&&n.set(O.record.name,O)}function m(O,b){let N,U={},he,Re;if("name"in O&&O.name){if(N=n.get(O.name),!N)throw Fh(1,{location:O});Re=N.record.name,U=vs(Eb(b.params,N.keys.filter(gt=>!gt.optional).map(gt=>gt.name)),O.params&&Eb(O.params,N.keys.map(gt=>gt.name))),he=N.stringify(U)}else if("path"in O)he=O.path,N=t.find(gt=>gt.re.test(he)),N&&(U=N.parse(he),Re=N.record.name);else{if(N=b.name?n.get(b.name):t.find(gt=>gt.re.test(b.path)),!N)throw Fh(1,{location:O,currentLocation:b});Re=N.record.name,U=vs({},b.params,O.params),he=N.stringify(U)}const Ge=[];let $e=N;for(;$e;)Ge.unshift($e.record),$e=$e.parent;return{name:Re,path:he,params:U,matched:Ge,meta:l6(Ge)}}return r.forEach(O=>s(O)),{addRoute:s,resolve:m,removeRoute:u,getRoutes:p,getRecordMatcher:i}}function Eb(r,e){const t={};for(const n of e)n in r&&(t[n]=r[n]);return t}function a6(r){return{path:r.path,redirect:r.redirect,name:r.name,meta:r.meta||{},aliasOf:void 0,beforeEnter:r.beforeEnter,props:u6(r),children:r.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in r?r.components||null:r.component&&{default:r.component}}}function u6(r){const e={},t=r.props||!1;if("component"in r)e.default=t;else for(const n in r.components)e[n]=typeof t=="boolean"?t:t[n];return e}function Ab(r){for(;r;){if(r.record.aliasOf)return!0;r=r.parent}return!1}function l6(r){return r.reduce((e,t)=>vs(e,t.meta),{})}function wb(r,e){const t={};for(const n in r)t[n]=n in e?e[n]:r[n];return t}function bE(r,e){return e.children.some(t=>t===r||bE(r,t))}const vE=/#/g,c6=/&/g,p6=/\//g,h6=/=/g,f6=/\?/g,CE=/\+/g,d6=/%5B/g,m6=/%5D/g,SE=/%5E/g,g6=/%60/g,EE=/%7B/g,y6=/%7C/g,AE=/%7D/g,O6=/%20/g;function ZO(r){return encodeURI(""+r).replace(y6,"|").replace(d6,"[").replace(m6,"]")}function D6(r){return ZO(r).replace(EE,"{").replace(AE,"}").replace(SE,"^")}function Ny(r){return ZO(r).replace(CE,"%2B").replace(O6,"+").replace(vE,"%23").replace(c6,"%26").replace(g6,"`").replace(EE,"{").replace(AE,"}").replace(SE,"^")}function x6(r){return Ny(r).replace(h6,"%3D")}function b6(r){return ZO(r).replace(vE,"%23").replace(f6,"%3F")}function v6(r){return r==null?"":b6(r).replace(p6,"%2F")}function Rm(r){try{return decodeURIComponent(""+r)}catch{}return""+r}function C6(r){const e={};if(r===""||r==="?")return e;const n=(r[0]==="?"?r.slice(1):r).split("&");for(let i=0;i<n.length;++i){const s=n[i].replace(CE," "),u=s.indexOf("="),p=Rm(u<0?s:s.slice(0,u)),f=u<0?null:Rm(s.slice(u+1));if(p in e){let m=e[p];vu(m)||(m=e[p]=[m]),m.push(f)}else e[p]=f}return e}function Pb(r){let e="";for(let t in r){const n=r[t];if(t=x6(t),n==null){n!==void 0&&(e+=(e.length?"&":"")+t);continue}(vu(n)?n.map(s=>s&&Ny(s)):[n&&Ny(n)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function S6(r){const e={};for(const t in r){const n=r[t];n!==void 0&&(e[t]=vu(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return e}const E6=Symbol(""),Tb=Symbol(""),zO=Symbol(""),YO=Symbol(""),Iy=Symbol("");function Jh(){let r=[];function e(n){return r.push(n),()=>{const i=r.indexOf(n);i>-1&&r.splice(i,1)}}function t(){r=[]}return{add:e,list:()=>r,reset:t}}function Sc(r,e,t,n,i){const s=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((u,p)=>{const f=b=>{b===!1?p(Fh(4,{from:t,to:e})):b instanceof Error?p(b):G5(b)?p(Fh(2,{from:e,to:b})):(s&&n.enterCallbacks[i]===s&&typeof b=="function"&&s.push(b),u())},m=r.call(n&&n.instances[i],e,t,f);let O=Promise.resolve(m);r.length<3&&(O=O.then(f)),O.catch(b=>p(b))})}function v0(r,e,t,n){const i=[];for(const s of r)for(const u in s.components){let p=s.components[u];if(!(e!=="beforeRouteEnter"&&!s.instances[u]))if(A6(p)){const m=(p.__vccOpts||p)[e];m&&i.push(Sc(m,t,n,s,u))}else{let f=p();i.push(()=>f.then(m=>{if(!m)return Promise.reject(new Error(`Couldn't resolve component "${u}" at "${s.path}"`));const O=F5(m)?m.default:m;s.components[u]=O;const N=(O.__vccOpts||O)[e];return N&&Sc(N,t,n,s,u)()}))}}return i}function A6(r){return typeof r=="object"||"displayName"in r||"props"in r||"__vccOpts"in r}function kb(r){const e=ul(zO),t=ul(YO),n=Cs(()=>e.resolve(Xi(r.to))),i=Cs(()=>{const{matched:f}=n.value,{length:m}=f,O=f[m-1],b=t.matched;if(!O||!b.length)return-1;const N=b.findIndex(kh.bind(null,O));if(N>-1)return N;const U=Fb(f[m-2]);return m>1&&Fb(O)===U&&b[b.length-1].path!==U?b.findIndex(kh.bind(null,f[m-2])):N}),s=Cs(()=>i.value>-1&&k6(t.params,n.value.params)),u=Cs(()=>i.value>-1&&i.value===t.matched.length-1&&yE(t.params,n.value.params));function p(f={}){return T6(f)?e[Xi(r.replace)?"replace":"push"](Xi(r.to)).catch(gf):Promise.resolve()}return{route:n,href:Cs(()=>n.value.href),isActive:s,isExactActive:u,navigate:p}}const w6=Cu({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:kb,setup(r,{slots:e}){const t=Nh(kb(r)),{options:n}=ul(zO),i=Cs(()=>({[Bb(r.activeClass,n.linkActiveClass,"router-link-active")]:t.isActive,[Bb(r.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&e.default(t);return r.custom?s:nO("a",{"aria-current":t.isExactActive?r.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:i.value},s)}}}),P6=w6;function T6(r){if(!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)&&!r.defaultPrevented&&!(r.button!==void 0&&r.button!==0)){if(r.currentTarget&&r.currentTarget.getAttribute){const e=r.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return r.preventDefault&&r.preventDefault(),!0}}function k6(r,e){for(const t in e){const n=e[t],i=r[t];if(typeof n=="string"){if(n!==i)return!1}else if(!vu(i)||i.length!==n.length||n.some((s,u)=>s!==i[u]))return!1}return!0}function Fb(r){return r?r.aliasOf?r.aliasOf.path:r.path:""}const Bb=(r,e,t)=>r??e??t,F6=Cu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(r,{attrs:e,slots:t}){const n=ul(Iy),i=Cs(()=>r.route||n.value),s=ul(Tb,0),u=Cs(()=>{let m=Xi(s);const{matched:O}=i.value;let b;for(;(b=O[m])&&!b.components;)m++;return m}),p=Cs(()=>i.value.matched[u.value]);Ld(Tb,Cs(()=>u.value+1)),Ld(E6,p),Ld(Iy,i);const f=go();return $o(()=>[f.value,p.value,r.name],([m,O,b],[N,U,he])=>{O&&(O.instances[b]=m,U&&U!==O&&m&&m===N&&(O.leaveGuards.size||(O.leaveGuards=U.leaveGuards),O.updateGuards.size||(O.updateGuards=U.updateGuards))),m&&O&&(!U||!kh(O,U)||!N)&&(O.enterCallbacks[b]||[]).forEach(Re=>Re(m))},{flush:"post"}),()=>{const m=i.value,O=r.name,b=p.value,N=b&&b.components[O];if(!N)return _b(t.default,{Component:N,route:m});const U=b.props[O],he=U?U===!0?m.params:typeof U=="function"?U(m):U:null,Ge=nO(N,vs({},he,e,{onVnodeUnmounted:$e=>{$e.component.isUnmounted&&(b.instances[O]=null)},ref:f}));return _b(t.default,{Component:Ge,route:m})||Ge}}});function _b(r,e){if(!r)return null;const t=r(e);return t.length===1?t[0]:t}const B6=F6;function _6(r){const e=o6(r.routes,r),t=r.parseQuery||C6,n=r.stringifyQuery||Pb,i=r.history,s=Jh(),u=Jh(),p=Jh(),f=hh(xc);let m=xc;ih&&r.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const O=x0.bind(null,Cr=>""+Cr),b=x0.bind(null,v6),N=x0.bind(null,Rm);function U(Cr,mn){let fn,En;return DE(Cr)?(fn=e.getRecordMatcher(Cr),En=mn):En=Cr,e.addRoute(En,fn)}function he(Cr){const mn=e.getRecordMatcher(Cr);mn&&e.removeRoute(mn)}function Re(){return e.getRoutes().map(Cr=>Cr.record)}function Ge(Cr){return!!e.getRecordMatcher(Cr)}function $e(Cr,mn){if(mn=vs({},mn||f.value),typeof Cr=="string"){const qe=b0(t,Cr,mn.path),yt=e.resolve({path:qe.path},mn),pr=i.createHref(qe.fullPath);return vs(qe,yt,{params:N(yt.params),hash:Rm(qe.hash),redirectedFrom:void 0,href:pr})}let fn;if("path"in Cr)fn=vs({},Cr,{path:b0(t,Cr.path,mn.path).path});else{const qe=vs({},Cr.params);for(const yt in qe)qe[yt]==null&&delete qe[yt];fn=vs({},Cr,{params:b(Cr.params)}),mn.params=b(mn.params)}const En=e.resolve(fn,mn),xi=Cr.hash||"";En.params=O(N(En.params));const ss=$5(n,vs({},Cr,{hash:D6(xi),path:En.path})),$i=i.createHref(ss);return vs({fullPath:ss,hash:xi,query:n===Pb?S6(Cr.query):Cr.query||{}},En,{redirectedFrom:void 0,href:$i})}function gt(Cr){return typeof Cr=="string"?b0(t,Cr,f.value.path):vs({},Cr)}function kt(Cr,mn){if(m!==Cr)return Fh(8,{from:mn,to:Cr})}function qt(Cr){return vr(Cr)}function Yt(Cr){return qt(vs(gt(Cr),{replace:!0}))}function Pr(Cr){const mn=Cr.matched[Cr.matched.length-1];if(mn&&mn.redirect){const{redirect:fn}=mn;let En=typeof fn=="function"?fn(Cr):fn;return typeof En=="string"&&(En=En.includes("?")||En.includes("#")?En=gt(En):{path:En},En.params={}),vs({query:Cr.query,hash:Cr.hash,params:"path"in En?{}:Cr.params},En)}}function vr(Cr,mn){const fn=m=$e(Cr),En=f.value,xi=Cr.state,ss=Cr.force,$i=Cr.replace===!0,qe=Pr(fn);if(qe)return vr(vs(gt(qe),{state:typeof qe=="object"?vs({},xi,qe.state):xi,force:ss,replace:$i}),mn||fn);const yt=fn;yt.redirectedFrom=mn;let pr;return!ss&&N5(n,En,fn)&&(pr=Fh(16,{to:yt,from:En}),es(En,En,!0,!1)),(pr?Promise.resolve(pr):kr(yt,En)).catch(gr=>Ml(gr)?Ml(gr,2)?gr:Sn(gr):ti(gr,yt,En)).then(gr=>{if(gr){if(Ml(gr,2))return vr(vs({replace:$i},gt(gr.to),{state:typeof gr.to=="object"?vs({},xi,gr.to.state):xi,force:ss}),mn||yt)}else gr=dn(yt,En,!0,$i,xi);return Rr(yt,En,gr),gr})}function mr(Cr,mn){const fn=kt(Cr,mn);return fn?Promise.reject(fn):Promise.resolve()}function kr(Cr,mn){let fn;const[En,xi,ss]=$6(Cr,mn);fn=v0(En.reverse(),"beforeRouteLeave",Cr,mn);for(const qe of En)qe.leaveGuards.forEach(yt=>{fn.push(Sc(yt,Cr,mn))});const $i=mr.bind(null,Cr,mn);return fn.push($i),th(fn).then(()=>{fn=[];for(const qe of s.list())fn.push(Sc(qe,Cr,mn));return fn.push($i),th(fn)}).then(()=>{fn=v0(xi,"beforeRouteUpdate",Cr,mn);for(const qe of xi)qe.updateGuards.forEach(yt=>{fn.push(Sc(yt,Cr,mn))});return fn.push($i),th(fn)}).then(()=>{fn=[];for(const qe of Cr.matched)if(qe.beforeEnter&&!mn.matched.includes(qe))if(vu(qe.beforeEnter))for(const yt of qe.beforeEnter)fn.push(Sc(yt,Cr,mn));else fn.push(Sc(qe.beforeEnter,Cr,mn));return fn.push($i),th(fn)}).then(()=>(Cr.matched.forEach(qe=>qe.enterCallbacks={}),fn=v0(ss,"beforeRouteEnter",Cr,mn),fn.push($i),th(fn))).then(()=>{fn=[];for(const qe of u.list())fn.push(Sc(qe,Cr,mn));return fn.push($i),th(fn)}).catch(qe=>Ml(qe,8)?qe:Promise.reject(qe))}function Rr(Cr,mn,fn){for(const En of p.list())En(Cr,mn,fn)}function dn(Cr,mn,fn,En,xi){const ss=kt(Cr,mn);if(ss)return ss;const $i=mn===xc,qe=ih?history.state:{};fn&&(En||$i?i.replace(Cr.fullPath,vs({scroll:$i&&qe&&qe.scroll},xi)):i.push(Cr.fullPath,xi)),f.value=Cr,es(Cr,mn,fn,$i),Sn()}let Nn;function Bi(){Nn||(Nn=i.listen((Cr,mn,fn)=>{if(!ys.listening)return;const En=$e(Cr),xi=Pr(En);if(xi){vr(vs(xi,{replace:!0}),En).catch(gf);return}m=En;const ss=f.value;ih&&X5(xb(ss.fullPath,fn.delta),xg()),kr(En,ss).catch($i=>Ml($i,12)?$i:Ml($i,2)?(vr($i.to,En).then(qe=>{Ml(qe,20)&&!fn.delta&&fn.type===Lf.pop&&i.go(-1,!1)}).catch(gf),Promise.reject()):(fn.delta&&i.go(-fn.delta,!1),ti($i,En,ss))).then($i=>{$i=$i||dn(En,ss,!1),$i&&(fn.delta&&!Ml($i,8)?i.go(-fn.delta,!1):fn.type===Lf.pop&&Ml($i,20)&&i.go(-1,!1)),Rr(En,ss,$i)}).catch(gf)}))}let Gi=Jh(),Si=Jh(),jn;function ti(Cr,mn,fn){Sn(Cr);const En=Si.list();return En.length?En.forEach(xi=>xi(Cr,mn,fn)):console.error(Cr),Promise.reject(Cr)}function Mn(){return jn&&f.value!==xc?Promise.resolve():new Promise((Cr,mn)=>{Gi.add([Cr,mn])})}function Sn(Cr){return jn||(jn=!Cr,Bi(),Gi.list().forEach(([mn,fn])=>Cr?fn(Cr):mn()),Gi.reset()),Cr}function es(Cr,mn,fn,En){const{scrollBehavior:xi}=r;if(!ih||!xi)return Promise.resolve();const ss=!fn&&U5(xb(Cr.fullPath,0))||(En||!fn)&&history.state&&history.state.scroll||null;return Ym().then(()=>xi(Cr,mn,ss)).then($i=>$i&&V5($i)).catch($i=>ti($i,Cr,mn))}const Qi=Cr=>i.go(Cr);let os;const Es=new Set,ys={currentRoute:f,listening:!0,addRoute:U,removeRoute:he,hasRoute:Ge,getRoutes:Re,resolve:$e,options:r,push:qt,replace:Yt,go:Qi,back:()=>Qi(-1),forward:()=>Qi(1),beforeEach:s.add,beforeResolve:u.add,afterEach:p.add,onError:Si.add,isReady:Mn,install(Cr){const mn=this;Cr.component("RouterLink",P6),Cr.component("RouterView",B6),Cr.config.globalProperties.$router=mn,Object.defineProperty(Cr.config.globalProperties,"$route",{enumerable:!0,get:()=>Xi(f)}),ih&&!os&&f.value===xc&&(os=!0,qt(i.location).catch(xi=>{}));const fn={};for(const xi in xc)fn[xi]=Cs(()=>f.value[xi]);Cr.provide(zO,mn),Cr.provide(YO,Nh(fn)),Cr.provide(Iy,f);const En=Cr.unmount;Es.add(Cr),Cr.unmount=function(){Es.delete(Cr),Es.size<1&&(m=xc,Nn&&Nn(),Nn=null,f.value=xc,os=!1,jn=!1),En()}}};return ys}function th(r){return r.reduce((e,t)=>e.then(()=>t()),Promise.resolve())}function $6(r,e){const t=[],n=[],i=[],s=Math.max(e.matched.length,r.matched.length);for(let u=0;u<s;u++){const p=e.matched[u];p&&(r.matched.find(m=>kh(m,p))?n.push(p):t.push(p));const f=r.matched[u];f&&(e.matched.find(m=>kh(m,f))||i.push(f))}return[t,n,i]}function N6(){return ul(YO)}const I6=Cu({__name:"FileIcon",props:{id:null},setup(r){const e=r,t=Cs(()=>e.id.toLowerCase().replace(/\?.*$/,"").split(/\./g).pop()),n=Cs(()=>{switch(t.value){case"vue":return"i-vscode-icons-file-type-vue";case"html":case"htm":return"i-vscode-icons-file-type-html";case"svelte":return"i-vscode-icons-file-type-svelte";case"ts":case"mts":case"tsx":case"cts":return"i-vscode-icons-file-type-typescript-official";case"js":case"jsx":case"mjs":case"cjs":return"i-vscode-icons-file-type-js-official";case"json":return"i-vscode-icons-file-type-json-official";case"md":case"markdown":return"i-vscode-icons-file-type-markdown";default:return"i-carbon-document-blank"}});return(i,s)=>(qs(),Uo("div",{class:xh(Xi(n))},null,2))}}),Q6={open:""},j6={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},M6={"ml-1":""},L6=Cu({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(r){const e=N6();return(t,n)=>{const i=sm("ModuleTreeNode",!0),s=I6,u=sm("RouterLink");return qs(),Uo("details",Q6,[Di("summary",j6,[Di("div",{class:xh(r.icon)},null,2),yu(" "+aa(r.node.name),1)]),(qs(!0),Uo(ua,null,fD(Object.entries(r.node.children),p=>(qs(),bp(i,{key:p[0],ml4:"",node:p[1]},null,8,["node"]))),128)),(qs(!0),Uo(ua,null,fD(r.node.items,p=>(qs(),Uo("div",{key:p.full,ml4:"","ws-nowrap":""},[Ps(u,{block:"","text-sm":"",p:"x2 y1",ml1:"",rounded:"",to:`/module/${encodeURIComponent(p.full)}`,class:xh({"bg-gray/10":p.full===Xi(e).params.id})},{default:Vl(()=>[Ps(s,{id:p.path},null,8,["id"]),Di("span",M6,aa(p.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),R6="/__unocss/favicon.svg",V6={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},X6=Di("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Di("img",{src:R6,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Di("div",{"of-hidden":""},[yu(" Inspector "),Di("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),U6=Cu({__name:"NarBar",setup(r){const e=qF(),t=pF(e);return(n,i)=>(qs(),Uo("nav",V6,[X6,Di("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:i[0]||(i[0]=s=>Xi(t)())})]))}}),W6={"h-full":""},q6={b:"r main","of-hidden":""},Z6={pt:"4",flex:"~ col gap-3"},z6=Di("div",{"i-carbon-dashboard":""},null,-1),Y6=Di("span",null," Overview ",-1),G6=Di("div",{"i-carbon-terminal":""},null,-1),H6=Di("span",null," REPL ",-1),J6=Di("div",{b:"b main"},null,-1),K6={b:"r main",class:"scrolls scrolls-sidebar"},eQ=Cu({__name:"Sidebar",setup(r){return(e,t)=>{const n=U6,i=sm("RouterLink"),s=L6;return qs(),Uo("div",W6,[Di("div",q6,[Ps(n),Di("div",Z6,[Ps(i,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:Vl(()=>[z6,Y6]),_:1}),Ps(i,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:Vl(()=>[G6,H6]),_:1}),J6])]),Di("div",K6,[Object.keys(Xi(eh).workspace.children).length?(qs(),bp(s,{key:0,node:Xi(eh).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):lf("",!0),Object.keys(Xi(eh).root.children).length?(qs(),bp(s,{key:1,node:Xi(eh).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):lf("",!0),Object.keys(Xi(eh).nodeModules.children).length?(qs(),bp(s,{key:2,node:Xi(eh).nodeModules,p:"l3 t4",icon:"i-carbon-categories"},null,8,["node"])):lf("",!0)])])}}}),tQ={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((r,e)=>(r[e.id]=e)&&r,{})}},methods:{updatePaneComponents(){this.panes.forEach(r=>{r.update&&r.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[r.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(r,e){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=e},onMouseMove(r){this.touch.mouseDown&&(r.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(r)),this.$emit("resize",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(r,e){"ontouchstart"in window&&(r.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===e?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(r,e),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=e,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[e])},onSplitterDblClick(r,e){let t=0;this.panes=this.panes.map((n,i)=>(n.size=i===e?n.max:n.min,i!==e&&(t+=n.min),n)),this.panes[e].size-=t,this.$emit("pane-maximize",this.panes[e]),this.$emit("resized",this.panes.map(n=>({min:n.min,max:n.max,size:n.size})))},onPaneClick(r,e){this.$emit("pane-click",this.indexedPanes[e])},getCurrentMouseDrag(r){const e=this.container.getBoundingClientRect(),{clientX:t,clientY:n}="ontouchstart"in window&&r.touches?r.touches[0]:r;return{x:t-e.left,y:n-e.top}},getCurrentDragPercentage(r){r=r[this.horizontal?"y":"x"];const e=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(r=e-r),r*100/e},calculatePanesSize(r){const e=this.touch.activeSplitter;let t={prevPanesSize:this.sumPrevPanesSize(e),nextPanesSize:this.sumNextPanesSize(e),prevReachedMinPanes:0,nextReachedMinPanes:0};const n=0+(this.pushOtherPanes?0:t.prevPanesSize),i=100-(this.pushOtherPanes?0:t.nextPanesSize),s=Math.max(Math.min(this.getCurrentDragPercentage(r),i),n);let u=[e,e+1],p=this.panes[u[0]]||null,f=this.panes[u[1]]||null;const m=p.max<100&&s>=p.max+t.prevPanesSize,O=f.max<100&&s<=100-(f.max+this.sumNextPanesSize(e+1));if(m||O){m?(p.size=p.max,f.size=Math.max(100-p.max-t.prevPanesSize-t.nextPanesSize,0)):(p.size=Math.max(100-f.max-t.prevPanesSize-this.sumNextPanesSize(e+1),0),f.size=f.max);return}if(this.pushOtherPanes){const b=this.doPushOtherPanes(t,s);if(!b)return;({sums:t,panesToResize:u}=b),p=this.panes[u[0]]||null,f=this.panes[u[1]]||null}p!==null&&(p.size=Math.min(Math.max(s-t.prevPanesSize-t.prevReachedMinPanes,p.min),p.max)),f!==null&&(f.size=Math.min(Math.max(100-s-t.nextPanesSize-t.nextReachedMinPanes,f.min),f.max))},doPushOtherPanes(r,e){const t=this.touch.activeSplitter,n=[t,t+1];return e<r.prevPanesSize+this.panes[n[0]].min&&(n[0]=this.findPrevExpandedPane(t).index,r.prevReachedMinPanes=0,n[0]<t&&this.panes.forEach((i,s)=>{s>n[0]&&s<=t&&(i.size=i.min,r.prevReachedMinPanes+=i.min)}),r.prevPanesSize=this.sumPrevPanesSize(n[0]),n[0]===void 0)?(r.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((i,s)=>{s>0&&s<=t&&(i.size=i.min,r.prevReachedMinPanes+=i.min)}),this.panes[n[1]].size=100-r.prevReachedMinPanes-this.panes[0].min-r.prevPanesSize-r.nextPanesSize,null):e>100-r.nextPanesSize-this.panes[n[1]].min&&(n[1]=this.findNextExpandedPane(t).index,r.nextReachedMinPanes=0,n[1]>t+1&&this.panes.forEach((i,s)=>{s>t&&s<n[1]&&(i.size=i.min,r.nextReachedMinPanes+=i.min)}),r.nextPanesSize=this.sumNextPanesSize(n[1]-1),n[1]===void 0)?(r.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((i,s)=>{s<this.panesCount-1&&s>=t+1&&(i.size=i.min,r.nextReachedMinPanes+=i.min)}),this.panes[n[0]].size=100-r.prevPanesSize-r.nextReachedMinPanes-this.panes[this.panesCount-1].min-r.nextPanesSize,null):{sums:r,panesToResize:n}},sumPrevPanesSize(r){return this.panes.reduce((e,t,n)=>e+(n<r?t.size:0),0)},sumNextPanesSize(r){return this.panes.reduce((e,t,n)=>e+(n>r+1?t.size:0),0)},findPrevExpandedPane(r){return[...this.panes].reverse().find(e=>e.index<r&&e.size>e.min)||{}},findNextExpandedPane(r){return this.panes.find(e=>e.index>r+1&&e.size>e.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(r=>{const e=r.classList.contains("splitpanes__pane"),t=r.classList.contains("splitpanes__splitter");!e&&!t&&(r.parentNode.removeChild(r),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(r,e,t=!1){const n=r-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),t||(i.onmousedown=s=>this.onMouseDown(s,n),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=s=>this.onMouseDown(s,n)),i.onclick=s=>this.onSplitterClick(s,n+1)),this.dblClickSplitter&&(i.ondblclick=s=>this.onSplitterDblClick(s,n+1)),e.parentNode.insertBefore(i,e)},removeSplitter(r){r.onmousedown=void 0,r.onclick=void 0,r.ondblclick=void 0,r.parentNode.removeChild(r)},redoSplitters(){const r=Array.from(this.container.children);r.forEach(t=>{t.className.includes("splitpanes__splitter")&&this.removeSplitter(t)});let e=0;r.forEach(t=>{t.className.includes("splitpanes__pane")&&(!e&&this.firstSplitter?this.addSplitter(e,t,!0):e&&this.addSplitter(e,t),e++)})},requestUpdate({target:r,...e}){const t=this.indexedPanes[r._.uid];Object.entries(e).forEach(([n,i])=>t[n]=i)},onPaneAdd(r){let e=-1;Array.from(r.$el.parentNode.children).some(i=>(i.className.includes("splitpanes__pane")&&e++,i===r.$el));const t=parseFloat(r.minSize),n=parseFloat(r.maxSize);this.panes.splice(e,0,{id:r._.uid,index:e,min:isNaN(t)?0:t,max:isNaN(n)?100:n,size:r.size===null?null:parseFloat(r.size),givenSize:r.size,update:r.update}),this.panes.forEach((i,s)=>i.index=s),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[e]}),this.$emit("pane-add",{index:e,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},onPaneRemove(r){const e=this.panes.findIndex(n=>n.id===r._.uid),t=this.panes.splice(e,1)[0];this.panes.forEach((n,i)=>n.index=i),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...t,index:e}}),this.$emit("pane-remove",{removed:t,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},resetPaneSizes(r={}){!r.addedPane&&!r.removedPane?this.initialPanesSizing():this.panes.some(e=>e.givenSize!==null||e.min||e.max<100)?this.equalizeAfterAddOrRemove(r):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size})))},equalize(){const r=100/this.panesCount;let e=0;const t=[],n=[];this.panes.forEach(i=>{i.size=Math.max(Math.min(r,i.max),i.min),e-=i.size,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id)}),e>.1&&this.readjustSizes(e,t,n)},initialPanesSizing(){let r=100;const e=[],t=[];let n=0;this.panes.forEach(s=>{r-=s.size,s.size!==null&&n++,s.size>=s.max&&e.push(s.id),s.size<=s.min&&t.push(s.id)});let i=100;r>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(r/(this.panesCount-n),s.max),s.min)),i-=s.size}),i>.1&&this.readjustSizes(r,e,t))},equalizeAfterAddOrRemove({addedPane:r,removedPane:e}={}){let t=100/this.panesCount,n=0;const i=[],s=[];r&&r.givenSize!==null&&(t=(100-r.givenSize)/(this.panesCount-1)),this.panes.forEach(u=>{n-=u.size,u.size>=u.max&&i.push(u.id),u.size<=u.min&&s.push(u.id)}),!(Math.abs(n)<.1)&&(this.panes.forEach(u=>{r&&r.givenSize!==null&&r.id===u.id||(u.size=Math.max(Math.min(t,u.max),u.min)),n-=u.size,u.size>=u.max&&i.push(u.id),u.size<=u.min&&s.push(u.id)}),n>.1&&this.readjustSizes(n,i,s))},readjustSizes(r,e,t){let n;r>0?n=r/(this.panesCount-e.length):n=r/(this.panesCount-t.length),this.panes.forEach((i,s)=>{if(r>0&&!e.includes(i.id)){const u=Math.max(Math.min(i.size+n,i.max),i.min),p=u-i.size;r-=p,i.size=u}else if(!t.includes(i.id)){const u=Math.max(Math.min(i.size+n,i.max),i.min),p=u-i.size;r-=p,i.size=u}i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.id].size}%`})}),Math.abs(r)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(r){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((e,t)=>{e.ondblclick=r?n=>this.onSplitterDblClick(n,t):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return nO("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},rQ=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t},nQ={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(r){this.style=r}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(r){this.requestUpdate({target:this,size:r})},minSizeNumber(r){this.requestUpdate({target:this,min:r})},maxSizeNumber(r){this.requestUpdate({target:this,max:r})}}};function iQ(r,e,t,n,i,s){return qs(),Uo("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=u=>s.onPaneClick(u,r._.uid)),style:Rf(r.style)},[om(r.$slots,"default")],4)}const $b=rQ(nQ,[["render",iQ]]),sQ={"h-screen":"","w-screen":"","of-hidden":""},oQ={"h-full":"","of-hidden":""},aQ=Cu({__name:"App",setup(r){return(e,t)=>{const n=eQ,i=sm("RouterView");return qs(),Uo("div",sQ,[Ps(Xi(tQ),null,{default:Vl(()=>[Ps(Xi($b),{size:"20","push-other-panes":!1},{default:Vl(()=>[Ps(n)]),_:1}),Ps(Xi($b),{size:"80"},{default:Vl(()=>[Di("div",oQ,[Ps(i)])]),_:1})]),_:1})])}}}),wE=oP(aQ);wE.use(_6({history:Y5(),routes:k5}));wE.mount("#app");export{t5 as A,Cs as B,lf as C,aa as D,$b as E,UI as F,N6 as G,tQ as M,$I as _,cQ as a,aS as b,Uo as c,Cu as d,Di as e,mQ as f,Ps as g,nw as h,no as i,Xi as j,yu as k,jI as l,kI as m,Rf as n,qs as o,uE as p,bp as q,go as r,cP as s,uQ as t,WI as u,rP as v,Vl as w,dQ as x,rv as y,lQ as z};
|