@unocss/inspector 0.39.0 → 0.39.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/_id_.a0988d76.js +1 -0
- package/dist/client/assets/index.39504bf7.js +221 -0
- package/dist/client/assets/{index.2566c8be.css → index.98d27dbc.css} +1 -1
- package/dist/client/assets/{repl.5fed5469.js → repl.dcb1b867.js} +2 -2
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/dist/client/assets/_id_.ae0f85c3.js +0 -1
- package/dist/client/assets/index.37306e5c.js +0 -220
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
var Pg=Object.defineProperty,Og=Object.defineProperties;var jg=Object.getOwnPropertyDescriptors;var Uf=Object.getOwnPropertySymbols;var Lg=Object.prototype.hasOwnProperty,Ig=Object.prototype.propertyIsEnumerable;var Vf=(r,s,a)=>s in r?Pg(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Up=(r,s)=>{for(var a in s||(s={}))Lg.call(s,a)&&Vf(r,a,s[a]);if(Uf)for(var a of Uf(s))Ig.call(s,a)&&Vf(r,a,s[a]);return r},qf=(r,s)=>Og(r,jg(s));const Mg=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))l(f);new MutationObserver(f=>{for(const F of f)if(F.type==="childList")for(const V of F.addedNodes)V.tagName==="LINK"&&V.rel==="modulepreload"&&l(V)}).observe(document,{childList:!0,subtree:!0});function a(f){const F={};return f.integrity&&(F.integrity=f.integrity),f.referrerpolicy&&(F.referrerPolicy=f.referrerpolicy),f.crossorigin==="use-credentials"?F.credentials="include":f.crossorigin==="anonymous"?F.credentials="omit":F.credentials="same-origin",F}function l(f){if(f.ep)return;f.ep=!0;const F=a(f);fetch(f.href,F)}};Mg();const Rg="modulepreload",Jf={},zg="/__unocss/",Df=function(s,a){return!a||a.length===0?s():Promise.all(a.map(l=>{if(l=`${zg}${l}`,l in Jf)return;Jf[l]=!0;const f=l.endsWith(".css"),F=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${F}`))return;const V=document.createElement("link");if(V.rel=f?"stylesheet":Rg,f||(V.as="script",V.crossOrigin=""),V.href=l,document.head.appendChild(V),f)return new Promise((ae,ue)=>{V.addEventListener("load",ae),V.addEventListener("error",()=>ue(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>s())};function bf(r,s){const a=Object.create(null),l=r.split(",");for(let f=0;f<l.length;f++)a[l[f]]=!0;return s?f=>!!a[f.toLowerCase()]:f=>!!a[f]}const Hg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Wg=bf(Hg);function nh(r){return!!r||r===""}function Xc(r){if(Mn(r)){const s={};for(let a=0;a<r.length;a++){const l=r[a],f=io(l)?Vg(l):Xc(l);if(f)for(const F in f)s[F]=f[F]}return s}else{if(io(r))return r;if(Vi(r))return r}}const $g=/;(?![^(]*\))/g,Ug=/:(.+)/;function Vg(r){const s={};return r.split($g).forEach(a=>{if(a){const l=a.split(Ug);l.length>1&&(s[l[0].trim()]=l[1].trim())}}),s}function Yl(r){let s="";if(io(r))s=r;else if(Mn(r))for(let a=0;a<r.length;a++){const l=Yl(r[a]);l&&(s+=l+" ")}else if(Vi(r))for(const a in r)r[a]&&(s+=a+" ");return s.trim()}function qg(r,s){if(r.length!==s.length)return!1;let a=!0;for(let l=0;a&&l<r.length;l++)a=Ep(r[l],s[l]);return a}function Ep(r,s){if(r===s)return!0;let a=Gf(r),l=Gf(s);if(a||l)return a&&l?r.getTime()===s.getTime():!1;if(a=zc(r),l=zc(s),a||l)return r===s;if(a=Mn(r),l=Mn(s),a||l)return a&&l?qg(r,s):!1;if(a=Vi(r),l=Vi(s),a||l){if(!a||!l)return!1;const f=Object.keys(r).length,F=Object.keys(s).length;if(f!==F)return!1;for(const V in r){const ae=r.hasOwnProperty(V),ue=s.hasOwnProperty(V);if(ae&&!ue||!ae&&ue||!Ep(r[V],s[V]))return!1}}return String(r)===String(s)}function ih(r,s){return r.findIndex(a=>Ep(a,s))}const To=r=>io(r)?r:r==null?"":Mn(r)||Vi(r)&&(r.toString===ah||!Kn(r.toString))?JSON.stringify(r,oh,2):String(r),oh=(r,s)=>s&&s.__v_isRef?oh(r,s.value):Kl(s)?{[`Map(${s.size})`]:[...s.entries()].reduce((a,[l,f])=>(a[`${l} =>`]=f,a),{})}:Ap(s)?{[`Set(${s.size})`]:[...s.values()]}:Vi(s)&&!Mn(s)&&!uh(s)?String(s):s,bi={},Xl=[],Ps=()=>{},Jg=()=>!1,Gg=/^on[^a-z]/,wp=r=>Gg.test(r),xf=r=>r.startsWith("onUpdate:"),No=Object.assign,Cf=(r,s)=>{const a=r.indexOf(s);a>-1&&r.splice(a,1)},Xg=Object.prototype.hasOwnProperty,oi=(r,s)=>Xg.call(r,s),Mn=Array.isArray,Kl=r=>Kc(r)==="[object Map]",Ap=r=>Kc(r)==="[object Set]",Gf=r=>Kc(r)==="[object Date]",Kn=r=>typeof r=="function",io=r=>typeof r=="string",zc=r=>typeof r=="symbol",Vi=r=>r!==null&&typeof r=="object",sh=r=>Vi(r)&&Kn(r.then)&&Kn(r.catch),ah=Object.prototype.toString,Kc=r=>ah.call(r),Kg=r=>Kc(r).slice(8,-1),uh=r=>Kc(r)==="[object Object]",Ef=r=>io(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,sp=bf(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sp=r=>{const s=Object.create(null);return a=>s[a]||(s[a]=r(a))},Qg=/-(\w)/g,Zs=Sp(r=>r.replace(Qg,(s,a)=>a?a.toUpperCase():"")),Yg=/\B([A-Z])/g,ic=Sp(r=>r.replace(Yg,"-$1").toLowerCase()),Fp=Sp(r=>r.charAt(0).toUpperCase()+r.slice(1)),Vp=Sp(r=>r?`on${Fp(r)}`:""),Hc=(r,s)=>!Object.is(r,s),ap=(r,s)=>{for(let a=0;a<r.length;a++)r[a](s)},pp=(r,s,a)=>{Object.defineProperty(r,s,{configurable:!0,enumerable:!1,value:a})},Zg=r=>{const s=parseFloat(r);return isNaN(s)?r:s};let Xf;const em=()=>Xf||(Xf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Ko;class tm{constructor(s=!1){this.active=!0,this.effects=[],this.cleanups=[],!s&&Ko&&(this.parent=Ko,this.index=(Ko.scopes||(Ko.scopes=[])).push(this)-1)}run(s){if(this.active){const a=Ko;try{return Ko=this,s()}finally{Ko=a}}}on(){Ko=this}off(){Ko=this.parent}stop(s){if(this.active){let a,l;for(a=0,l=this.effects.length;a<l;a++)this.effects[a].stop();for(a=0,l=this.cleanups.length;a<l;a++)this.cleanups[a]();if(this.scopes)for(a=0,l=this.scopes.length;a<l;a++)this.scopes[a].stop(!0);if(this.parent&&!s){const f=this.parent.scopes.pop();f&&f!==this&&(this.parent.scopes[this.index]=f,f.index=this.index)}this.active=!1}}}function rm(r,s=Ko){s&&s.active&&s.effects.push(r)}function nm(){return Ko}function im(r){Ko&&Ko.cleanups.push(r)}const wf=r=>{const s=new Set(r);return s.w=0,s.n=0,s},lh=r=>(r.w&mu)>0,ch=r=>(r.n&mu)>0,om=({deps:r})=>{if(r.length)for(let s=0;s<r.length;s++)r[s].w|=mu},sm=r=>{const{deps:s}=r;if(s.length){let a=0;for(let l=0;l<s.length;l++){const f=s[l];lh(f)&&!ch(f)?f.delete(r):s[a++]=f,f.w&=~mu,f.n&=~mu}s.length=a}},Zp=new WeakMap;let Nc=0,mu=1;const ef=30;let Bs;const yl=Symbol(""),tf=Symbol("");class Af{constructor(s,a=null,l){this.fn=s,this.scheduler=a,this.active=!0,this.deps=[],this.parent=void 0,rm(this,l)}run(){if(!this.active)return this.fn();let s=Bs,a=hu;for(;s;){if(s===this)return;s=s.parent}try{return this.parent=Bs,Bs=this,hu=!0,mu=1<<++Nc,Nc<=ef?om(this):Kf(this),this.fn()}finally{Nc<=ef&&sm(this),mu=1<<--Nc,Bs=this.parent,hu=a,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Bs===this?this.deferStop=!0:this.active&&(Kf(this),this.onStop&&this.onStop(),this.active=!1)}}function Kf(r){const{deps:s}=r;if(s.length){for(let a=0;a<s.length;a++)s[a].delete(r);s.length=0}}let hu=!0;const ph=[];function oc(){ph.push(hu),hu=!1}function sc(){const r=ph.pop();hu=r===void 0?!0:r}function Yo(r,s,a){if(hu&&Bs){let l=Zp.get(r);l||Zp.set(r,l=new Map);let f=l.get(a);f||l.set(a,f=wf()),fh(f)}}function fh(r,s){let a=!1;Nc<=ef?ch(r)||(r.n|=mu,a=!lh(r)):a=!r.has(Bs),a&&(r.add(Bs),Bs.deps.push(r))}function Sa(r,s,a,l,f,F){const V=Zp.get(r);if(!V)return;let ae=[];if(s==="clear")ae=[...V.values()];else if(a==="length"&&Mn(r))V.forEach((ue,Ae)=>{(Ae==="length"||Ae>=l)&&ae.push(ue)});else switch(a!==void 0&&ae.push(V.get(a)),s){case"add":Mn(r)?Ef(a)&&ae.push(V.get("length")):(ae.push(V.get(yl)),Kl(r)&&ae.push(V.get(tf)));break;case"delete":Mn(r)||(ae.push(V.get(yl)),Kl(r)&&ae.push(V.get(tf)));break;case"set":Kl(r)&&ae.push(V.get(yl));break}if(ae.length===1)ae[0]&&rf(ae[0]);else{const ue=[];for(const Ae of ae)Ae&&ue.push(...Ae);rf(wf(ue))}}function rf(r,s){const a=Mn(r)?r:[...r];for(const l of a)l.computed&&Qf(l);for(const l of a)l.computed||Qf(l)}function Qf(r,s){(r!==Bs||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}const am=bf("__proto__,__v_isRef,__isVue"),dh=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(zc)),um=Sf(),lm=Sf(!1,!0),cm=Sf(!0),Yf=pm();function pm(){const r={};return["includes","indexOf","lastIndexOf"].forEach(s=>{r[s]=function(...a){const l=fi(this);for(let F=0,V=this.length;F<V;F++)Yo(l,"get",F+"");const f=l[s](...a);return f===-1||f===!1?l[s](...a.map(fi)):f}}),["push","pop","shift","unshift","splice"].forEach(s=>{r[s]=function(...a){oc();const l=fi(this)[s].apply(this,a);return sc(),l}}),r}function Sf(r=!1,s=!1){return function(l,f,F){if(f==="__v_isReactive")return!r;if(f==="__v_isReadonly")return r;if(f==="__v_isShallow")return s;if(f==="__v_raw"&&F===(r?s?Fm:vh:s?yh:mh).get(l))return l;const V=Mn(l);if(!r&&V&&oi(Yf,f))return Reflect.get(Yf,f,F);const ae=Reflect.get(l,f,F);return(zc(f)?dh.has(f):am(f))||(r||Yo(l,"get",f),s)?ae:Ui(ae)?V&&Ef(f)?ae:ae.value:Vi(ae)?r?Dh(ae):ac(ae):ae}}const fm=hh(),dm=hh(!0);function hh(r=!1){return function(a,l,f,F){let V=a[l];if(Wc(V)&&Ui(V)&&!Ui(f))return!1;if(!r&&!Wc(f)&&(nf(f)||(f=fi(f),V=fi(V)),!Mn(a)&&Ui(V)&&!Ui(f)))return V.value=f,!0;const ae=Mn(a)&&Ef(l)?Number(l)<a.length:oi(a,l),ue=Reflect.set(a,l,f,F);return a===fi(F)&&(ae?Hc(f,V)&&Sa(a,"set",l,f):Sa(a,"add",l,f)),ue}}function hm(r,s){const a=oi(r,s);r[s];const l=Reflect.deleteProperty(r,s);return l&&a&&Sa(r,"delete",s,void 0),l}function gm(r,s){const a=Reflect.has(r,s);return(!zc(s)||!dh.has(s))&&Yo(r,"has",s),a}function mm(r){return Yo(r,"iterate",Mn(r)?"length":yl),Reflect.ownKeys(r)}const gh={get:um,set:fm,deleteProperty:hm,has:gm,ownKeys:mm},ym={get:cm,set(r,s){return!0},deleteProperty(r,s){return!0}},vm=No({},gh,{get:lm,set:dm}),Ff=r=>r,kp=r=>Reflect.getPrototypeOf(r);function Zc(r,s,a=!1,l=!1){r=r.__v_raw;const f=fi(r),F=fi(s);a||(s!==F&&Yo(f,"get",s),Yo(f,"get",F));const{has:V}=kp(f),ae=l?Ff:a?Nf:$c;if(V.call(f,s))return ae(r.get(s));if(V.call(f,F))return ae(r.get(F));r!==f&&r.get(s)}function ep(r,s=!1){const a=this.__v_raw,l=fi(a),f=fi(r);return s||(r!==f&&Yo(l,"has",r),Yo(l,"has",f)),r===f?a.has(r):a.has(r)||a.has(f)}function tp(r,s=!1){return r=r.__v_raw,!s&&Yo(fi(r),"iterate",yl),Reflect.get(r,"size",r)}function Zf(r){r=fi(r);const s=fi(this);return kp(s).has.call(s,r)||(s.add(r),Sa(s,"add",r,r)),this}function ed(r,s){s=fi(s);const a=fi(this),{has:l,get:f}=kp(a);let F=l.call(a,r);F||(r=fi(r),F=l.call(a,r));const V=f.call(a,r);return a.set(r,s),F?Hc(s,V)&&Sa(a,"set",r,s):Sa(a,"add",r,s),this}function td(r){const s=fi(this),{has:a,get:l}=kp(s);let f=a.call(s,r);f||(r=fi(r),f=a.call(s,r)),l&&l.call(s,r);const F=s.delete(r);return f&&Sa(s,"delete",r,void 0),F}function rd(){const r=fi(this),s=r.size!==0,a=r.clear();return s&&Sa(r,"clear",void 0,void 0),a}function rp(r,s){return function(l,f){const F=this,V=F.__v_raw,ae=fi(V),ue=s?Ff:r?Nf:$c;return!r&&Yo(ae,"iterate",yl),V.forEach((Ae,_e)=>l.call(f,ue(Ae),ue(_e),F))}}function np(r,s,a){return function(...l){const f=this.__v_raw,F=fi(f),V=Kl(F),ae=r==="entries"||r===Symbol.iterator&&V,ue=r==="keys"&&V,Ae=f[r](...l),_e=a?Ff:s?Nf:$c;return!s&&Yo(F,"iterate",ue?tf:yl),{next(){const{value:ze,done:Je}=Ae.next();return Je?{value:ze,done:Je}:{value:ae?[_e(ze[0]),_e(ze[1])]:_e(ze),done:Je}},[Symbol.iterator](){return this}}}}function uu(r){return function(...s){return r==="delete"?!1:this}}function Dm(){const r={get(F){return Zc(this,F)},get size(){return tp(this)},has:ep,add:Zf,set:ed,delete:td,clear:rd,forEach:rp(!1,!1)},s={get(F){return Zc(this,F,!1,!0)},get size(){return tp(this)},has:ep,add:Zf,set:ed,delete:td,clear:rd,forEach:rp(!1,!0)},a={get(F){return Zc(this,F,!0)},get size(){return tp(this,!0)},has(F){return ep.call(this,F,!0)},add:uu("add"),set:uu("set"),delete:uu("delete"),clear:uu("clear"),forEach:rp(!0,!1)},l={get(F){return Zc(this,F,!0,!0)},get size(){return tp(this,!0)},has(F){return ep.call(this,F,!0)},add:uu("add"),set:uu("set"),delete:uu("delete"),clear:uu("clear"),forEach:rp(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(F=>{r[F]=np(F,!1,!1),a[F]=np(F,!0,!1),s[F]=np(F,!1,!0),l[F]=np(F,!0,!0)}),[r,a,s,l]}const[bm,xm,Cm,Em]=Dm();function kf(r,s){const a=s?r?Em:Cm:r?xm:bm;return(l,f,F)=>f==="__v_isReactive"?!r:f==="__v_isReadonly"?r:f==="__v_raw"?l:Reflect.get(oi(a,f)&&f in l?a:l,f,F)}const wm={get:kf(!1,!1)},Am={get:kf(!1,!0)},Sm={get:kf(!0,!1)},mh=new WeakMap,yh=new WeakMap,vh=new WeakMap,Fm=new WeakMap;function km(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Tm(r){return r.__v_skip||!Object.isExtensible(r)?0:km(Kg(r))}function ac(r){return Wc(r)?r:Tf(r,!1,gh,wm,mh)}function Nm(r){return Tf(r,!1,vm,Am,yh)}function Dh(r){return Tf(r,!0,ym,Sm,vh)}function Tf(r,s,a,l,f){if(!Vi(r)||r.__v_raw&&!(s&&r.__v_isReactive))return r;const F=f.get(r);if(F)return F;const V=Tm(r);if(V===0)return r;const ae=new Proxy(r,V===2?l:a);return f.set(r,ae),ae}function Ql(r){return Wc(r)?Ql(r.__v_raw):!!(r&&r.__v_isReactive)}function Wc(r){return!!(r&&r.__v_isReadonly)}function nf(r){return!!(r&&r.__v_isShallow)}function bh(r){return Ql(r)||Wc(r)}function fi(r){const s=r&&r.__v_raw;return s?fi(s):r}function xh(r){return pp(r,"__v_skip",!0),r}const $c=r=>Vi(r)?ac(r):r,Nf=r=>Vi(r)?Dh(r):r;function Ch(r){hu&&Bs&&(r=fi(r),fh(r.dep||(r.dep=wf())))}function Eh(r,s){r=fi(r),r.dep&&rf(r.dep)}function Ui(r){return!!(r&&r.__v_isRef===!0)}function Qi(r){return wh(r,!1)}function _c(r){return wh(r,!0)}function wh(r,s){return Ui(r)?r:new Bm(r,s)}class Bm{constructor(s,a){this.__v_isShallow=a,this.dep=void 0,this.__v_isRef=!0,this._rawValue=a?s:fi(s),this._value=a?s:$c(s)}get value(){return Ch(this),this._value}set value(s){s=this.__v_isShallow?s:fi(s),Hc(s,this._rawValue)&&(this._rawValue=s,this._value=this.__v_isShallow?s:$c(s),Eh(this))}}function vn(r){return Ui(r)?r.value:r}const _m={get:(r,s,a)=>vn(Reflect.get(r,s,a)),set:(r,s,a,l)=>{const f=r[s];return Ui(f)&&!Ui(a)?(f.value=a,!0):Reflect.set(r,s,a,l)}};function Ah(r){return Ql(r)?r:new Proxy(r,_m)}function Pm(r){const s=Mn(r)?new Array(r.length):{};for(const a in r)s[a]=jm(r,a);return s}class Om{constructor(s,a,l){this._object=s,this._key=a,this._defaultValue=l,this.__v_isRef=!0}get value(){const s=this._object[this._key];return s===void 0?this._defaultValue:s}set value(s){this._object[this._key]=s}}function jm(r,s,a){const l=r[s];return Ui(l)?l:new Om(r,s,a)}class Lm{constructor(s,a,l,f){this._setter=a,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Af(s,()=>{this._dirty||(this._dirty=!0,Eh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!f,this.__v_isReadonly=l}get value(){const s=fi(this);return Ch(s),(s._dirty||!s._cacheable)&&(s._dirty=!1,s._value=s.effect.run()),s._value}set value(s){this._setter(s)}}function Im(r,s,a=!1){let l,f;const F=Kn(r);return F?(l=r,f=Ps):(l=r.get,f=r.set),new Lm(l,f,F||!f,a)}function gu(r,s,a,l){let f;try{f=l?r(...l):r()}catch(F){Tp(F,s,a)}return f}function Os(r,s,a,l){if(Kn(r)){const F=gu(r,s,a,l);return F&&sh(F)&&F.catch(V=>{Tp(V,s,a)}),F}const f=[];for(let F=0;F<r.length;F++)f.push(Os(r[F],s,a,l));return f}function Tp(r,s,a,l=!0){const f=s?s.vnode:null;if(s){let F=s.parent;const V=s.proxy,ae=a;for(;F;){const Ae=F.ec;if(Ae){for(let _e=0;_e<Ae.length;_e++)if(Ae[_e](r,V,ae)===!1)return}F=F.parent}const ue=s.appContext.config.errorHandler;if(ue){gu(ue,null,10,[r,V,ae]);return}}Mm(r,a,f,l)}function Mm(r,s,a,l=!0){console.error(r)}let fp=!1,of=!1;const Qo=[];let Ea=0;const Pc=[];let Bc=null,ql=0;const Oc=[];let pu=null,Jl=0;const Sh=Promise.resolve();let Bf=null,sf=null;function Np(r){const s=Bf||Sh;return r?s.then(this?r.bind(this):r):s}function Rm(r){let s=Ea+1,a=Qo.length;for(;s<a;){const l=s+a>>>1;Uc(Qo[l])<r?s=l+1:a=l}return s}function Fh(r){(!Qo.length||!Qo.includes(r,fp&&r.allowRecurse?Ea+1:Ea))&&r!==sf&&(r.id==null?Qo.push(r):Qo.splice(Rm(r.id),0,r),kh())}function kh(){!fp&&!of&&(of=!0,Bf=Sh.then(Bh))}function zm(r){const s=Qo.indexOf(r);s>Ea&&Qo.splice(s,1)}function Th(r,s,a,l){Mn(r)?a.push(...r):(!s||!s.includes(r,r.allowRecurse?l+1:l))&&a.push(r),kh()}function Hm(r){Th(r,Bc,Pc,ql)}function Wm(r){Th(r,pu,Oc,Jl)}function Bp(r,s=null){if(Pc.length){for(sf=s,Bc=[...new Set(Pc)],Pc.length=0,ql=0;ql<Bc.length;ql++)Bc[ql]();Bc=null,ql=0,sf=null,Bp(r,s)}}function Nh(r){if(Bp(),Oc.length){const s=[...new Set(Oc)];if(Oc.length=0,pu){pu.push(...s);return}for(pu=s,pu.sort((a,l)=>Uc(a)-Uc(l)),Jl=0;Jl<pu.length;Jl++)pu[Jl]();pu=null,Jl=0}}const Uc=r=>r.id==null?1/0:r.id;function Bh(r){of=!1,fp=!0,Bp(r),Qo.sort((a,l)=>Uc(a)-Uc(l));const s=Ps;try{for(Ea=0;Ea<Qo.length;Ea++){const a=Qo[Ea];a&&a.active!==!1&&gu(a,null,14)}}finally{Ea=0,Qo.length=0,Nh(),fp=!1,Bf=null,(Qo.length||Pc.length||Oc.length)&&Bh(r)}}function $m(r,s,...a){if(r.isUnmounted)return;const l=r.vnode.props||bi;let f=a;const F=s.startsWith("update:"),V=F&&s.slice(7);if(V&&V in l){const _e=`${V==="modelValue"?"model":V}Modifiers`,{number:ze,trim:Je}=l[_e]||bi;Je&&(f=a.map(rt=>rt.trim())),ze&&(f=a.map(Zg))}let ae,ue=l[ae=Vp(s)]||l[ae=Vp(Zs(s))];!ue&&F&&(ue=l[ae=Vp(ic(s))]),ue&&Os(ue,r,6,f);const Ae=l[ae+"Once"];if(Ae){if(!r.emitted)r.emitted={};else if(r.emitted[ae])return;r.emitted[ae]=!0,Os(Ae,r,6,f)}}function _h(r,s,a=!1){const l=s.emitsCache,f=l.get(r);if(f!==void 0)return f;const F=r.emits;let V={},ae=!1;if(!Kn(r)){const ue=Ae=>{const _e=_h(Ae,s,!0);_e&&(ae=!0,No(V,_e))};!a&&s.mixins.length&&s.mixins.forEach(ue),r.extends&&ue(r.extends),r.mixins&&r.mixins.forEach(ue)}return!F&&!ae?(l.set(r,null),null):(Mn(F)?F.forEach(ue=>V[ue]=null):No(V,F),l.set(r,V),V)}function _p(r,s){return!r||!wp(s)?!1:(s=s.slice(2).replace(/Once$/,""),oi(r,s[0].toLowerCase()+s.slice(1))||oi(r,ic(s))||oi(r,s))}let mo=null,Ph=null;function dp(r){const s=mo;return mo=r,Ph=r&&r.type.__scopeId||null,s}function wa(r,s=mo,a){if(!s||r._n)return r;const l=(...f)=>{l._d&&dd(-1);const F=dp(s),V=r(...f);return dp(F),l._d&&dd(1),V};return l._n=!0,l._c=!0,l._d=!0,l}function qp(r){const{type:s,vnode:a,proxy:l,withProxy:f,props:F,propsOptions:[V],slots:ae,attrs:ue,emit:Ae,render:_e,renderCache:ze,data:Je,setupState:rt,ctx:bt,inheritAttrs:Qt}=r;let nr,et;const pt=dp(r);try{if(a.shapeFlag&4){const Wt=f||l;nr=Ys(_e.call(Wt,Wt,ze,F,rt,Je,bt)),et=ue}else{const Wt=s;nr=Ys(Wt.length>1?Wt(F,{attrs:ue,slots:ae,emit:Ae}):Wt(F,null)),et=s.props?ue:Um(ue)}}catch(Wt){Lc.length=0,Tp(Wt,r,1),nr=yi(yu)}let dt=nr;if(et&&Qt!==!1){const Wt=Object.keys(et),{shapeFlag:pr}=dt;Wt.length&&pr&7&&(V&&Wt.some(xf)&&(et=Vm(et,V)),dt=ec(dt,et))}return a.dirs&&(dt=ec(dt),dt.dirs=dt.dirs?dt.dirs.concat(a.dirs):a.dirs),a.transition&&(dt.transition=a.transition),nr=dt,dp(pt),nr}const Um=r=>{let s;for(const a in r)(a==="class"||a==="style"||wp(a))&&((s||(s={}))[a]=r[a]);return s},Vm=(r,s)=>{const a={};for(const l in r)(!xf(l)||!(l.slice(9)in s))&&(a[l]=r[l]);return a};function qm(r,s,a){const{props:l,children:f,component:F}=r,{props:V,children:ae,patchFlag:ue}=s,Ae=F.emitsOptions;if(s.dirs||s.transition)return!0;if(a&&ue>=0){if(ue&1024)return!0;if(ue&16)return l?nd(l,V,Ae):!!V;if(ue&8){const _e=s.dynamicProps;for(let ze=0;ze<_e.length;ze++){const Je=_e[ze];if(V[Je]!==l[Je]&&!_p(Ae,Je))return!0}}}else return(f||ae)&&(!ae||!ae.$stable)?!0:l===V?!1:l?V?nd(l,V,Ae):!0:!!V;return!1}function nd(r,s,a){const l=Object.keys(s);if(l.length!==Object.keys(r).length)return!0;for(let f=0;f<l.length;f++){const F=l[f];if(s[F]!==r[F]&&!_p(a,F))return!0}return!1}function Jm({vnode:r,parent:s},a){for(;s&&s.subTree===r;)(r=s.vnode).el=a,s=s.parent}const Gm=r=>r.__isSuspense;function Xm(r,s){s&&s.pendingBranch?Mn(r)?s.effects.push(...r):s.effects.push(r):Wm(r)}function up(r,s){if(ro){let a=ro.provides;const l=ro.parent&&ro.parent.provides;l===a&&(a=ro.provides=Object.create(l)),a[r]=s}}function Aa(r,s,a=!1){const l=ro||mo;if(l){const f=l.parent==null?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides;if(f&&r in f)return f[r];if(arguments.length>1)return a&&Kn(s)?s.call(l.proxy):s}}function Km(r,s){return _f(r,null,s)}const id={};function no(r,s,a){return _f(r,s,a)}function _f(r,s,{immediate:a,deep:l,flush:f,onTrack:F,onTrigger:V}=bi){const ae=ro;let ue,Ae=!1,_e=!1;if(Ui(r)?(ue=()=>r.value,Ae=nf(r)):Ql(r)?(ue=()=>r,l=!0):Mn(r)?(_e=!0,Ae=r.some(et=>Ql(et)||nf(et)),ue=()=>r.map(et=>{if(Ui(et))return et.value;if(Ql(et))return ml(et);if(Kn(et))return gu(et,ae,2)})):Kn(r)?s?ue=()=>gu(r,ae,2):ue=()=>{if(!(ae&&ae.isUnmounted))return ze&&ze(),Os(r,ae,3,[Je])}:ue=Ps,s&&l){const et=ue;ue=()=>ml(et())}let ze,Je=et=>{ze=nr.onStop=()=>{gu(et,ae,4)}};if(qc)return Je=Ps,s?a&&Os(s,ae,3,[ue(),_e?[]:void 0,Je]):ue(),Ps;let rt=_e?[]:id;const bt=()=>{if(!!nr.active)if(s){const et=nr.run();(l||Ae||(_e?et.some((pt,dt)=>Hc(pt,rt[dt])):Hc(et,rt)))&&(ze&&ze(),Os(s,ae,3,[et,rt===id?void 0:rt,Je]),rt=et)}else nr.run()};bt.allowRecurse=!!s;let Qt;f==="sync"?Qt=bt:f==="post"?Qt=()=>$o(bt,ae&&ae.suspense):Qt=()=>Hm(bt);const nr=new Af(ue,Qt);return s?a?bt():rt=nr.run():f==="post"?$o(nr.run.bind(nr),ae&&ae.suspense):nr.run(),()=>{nr.stop(),ae&&ae.scope&&Cf(ae.scope.effects,nr)}}function Qm(r,s,a){const l=this.proxy,f=io(r)?r.includes(".")?Oh(l,r):()=>l[r]:r.bind(l,l);let F;Kn(s)?F=s:(F=s.handler,a=s);const V=ro;tc(this);const ae=_f(f,F.bind(l),a);return V?tc(V):vl(),ae}function Oh(r,s){const a=s.split(".");return()=>{let l=r;for(let f=0;f<a.length&&l;f++)l=l[a[f]];return l}}function ml(r,s){if(!Vi(r)||r.__v_skip||(s=s||new Set,s.has(r)))return r;if(s.add(r),Ui(r))ml(r.value,s);else if(Mn(r))for(let a=0;a<r.length;a++)ml(r[a],s);else if(Ap(r)||Kl(r))r.forEach(a=>{ml(a,s)});else if(uh(r))for(const a in r)ml(r[a],s);return r}function js(r){return Kn(r)?{setup:r,name:r.name}:r}const jc=r=>!!r.type.__asyncLoader,jh=r=>r.type.__isKeepAlive;function Ym(r,s){Lh(r,"a",s)}function Zm(r,s){Lh(r,"da",s)}function Lh(r,s,a=ro){const l=r.__wdc||(r.__wdc=()=>{let f=a;for(;f;){if(f.isDeactivated)return;f=f.parent}return r()});if(Pp(s,l,a),a){let f=a.parent;for(;f&&f.parent;)jh(f.parent.vnode)&&e0(l,s,a,f),f=f.parent}}function e0(r,s,a,l){const f=Pp(s,r,l,!0);Mh(()=>{Cf(l[s],f)},a)}function Pp(r,s,a=ro,l=!1){if(a){const f=a[r]||(a[r]=[]),F=s.__weh||(s.__weh=(...V)=>{if(a.isUnmounted)return;oc(),tc(a);const ae=Os(s,a,r,V);return vl(),sc(),ae});return l?f.unshift(F):f.push(F),F}}const Fa=r=>(s,a=ro)=>(!qc||r==="sp")&&Pp(r,s,a),Ih=Fa("bm"),Pf=Fa("m"),t0=Fa("bu"),r0=Fa("u"),n0=Fa("bum"),Mh=Fa("um"),i0=Fa("sp"),o0=Fa("rtg"),s0=Fa("rtc");function a0(r,s=ro){Pp("ec",r,s)}function u0(r,s){const a=mo;if(a===null)return r;const l=jp(a)||a.proxy,f=r.dirs||(r.dirs=[]);for(let F=0;F<s.length;F++){let[V,ae,ue,Ae=bi]=s[F];Kn(V)&&(V={mounted:V,updated:V}),V.deep&&ml(ae),f.push({dir:V,instance:l,value:ae,oldValue:void 0,arg:ue,modifiers:Ae})}return r}function fl(r,s,a,l){const f=r.dirs,F=s&&s.dirs;for(let V=0;V<f.length;V++){const ae=f[V];F&&(ae.oldValue=F[V].value);let ue=ae.dir[l];ue&&(oc(),Os(ue,a,8,[r.el,ae,r,s]),sc())}}const Rh="components";function hp(r,s){return c0(Rh,r,!0,s)||r}const l0=Symbol();function c0(r,s,a=!0,l=!1){const f=mo||ro;if(f){const F=f.type;if(r===Rh){const ae=R0(F,!1);if(ae&&(ae===s||ae===Zs(s)||ae===Fp(Zs(s))))return F}const V=od(f[r]||F[r],s)||od(f.appContext[r],s);return!V&&l?F:V}}function od(r,s){return r&&(r[s]||r[Zs(s)]||r[Fp(Zs(s))])}function sd(r,s,a,l){let f;const F=a&&a[l];if(Mn(r)||io(r)){f=new Array(r.length);for(let V=0,ae=r.length;V<ae;V++)f[V]=s(r[V],V,void 0,F&&F[V])}else if(typeof r=="number"){f=new Array(r);for(let V=0;V<r;V++)f[V]=s(V+1,V,void 0,F&&F[V])}else if(Vi(r))if(r[Symbol.iterator])f=Array.from(r,(V,ae)=>s(V,ae,void 0,F&&F[ae]));else{const V=Object.keys(r);f=new Array(V.length);for(let ae=0,ue=V.length;ae<ue;ae++){const Ae=V[ae];f[ae]=s(r[Ae],Ae,ae,F&&F[ae])}}else f=[];return a&&(a[l]=f),f}function gp(r,s,a={},l,f){if(mo.isCE||mo.parent&&jc(mo.parent)&&mo.parent.isCE)return yi("slot",s==="default"?null:{name:s},l&&l());let F=r[s];F&&F._c&&(F._d=!1),Ii();const V=F&&zh(F(a)),ae=Zl(Uo,{key:a.key||`_${s}`},V||(l?l():[]),V&&r._===1?64:-2);return!f&&ae.scopeId&&(ae.slotScopeIds=[ae.scopeId+"-s"]),F&&F._c&&(F._d=!0),ae}function zh(r){return r.some(s=>vp(s)?!(s.type===yu||s.type===Uo&&!zh(s.children)):!0)?r:null}const af=r=>r?Yh(r)?jp(r)||r.proxy:af(r.parent):null,mp=No(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=>af(r.parent),$root:r=>af(r.root),$emit:r=>r.emit,$options:r=>Wh(r),$forceUpdate:r=>r.f||(r.f=()=>Fh(r.update)),$nextTick:r=>r.n||(r.n=Np.bind(r.proxy)),$watch:r=>Qm.bind(r)}),p0={get({_:r},s){const{ctx:a,setupState:l,data:f,props:F,accessCache:V,type:ae,appContext:ue}=r;let Ae;if(s[0]!=="$"){const rt=V[s];if(rt!==void 0)switch(rt){case 1:return l[s];case 2:return f[s];case 4:return a[s];case 3:return F[s]}else{if(l!==bi&&oi(l,s))return V[s]=1,l[s];if(f!==bi&&oi(f,s))return V[s]=2,f[s];if((Ae=r.propsOptions[0])&&oi(Ae,s))return V[s]=3,F[s];if(a!==bi&&oi(a,s))return V[s]=4,a[s];uf&&(V[s]=0)}}const _e=mp[s];let ze,Je;if(_e)return s==="$attrs"&&Yo(r,"get",s),_e(r);if((ze=ae.__cssModules)&&(ze=ze[s]))return ze;if(a!==bi&&oi(a,s))return V[s]=4,a[s];if(Je=ue.config.globalProperties,oi(Je,s))return Je[s]},set({_:r},s,a){const{data:l,setupState:f,ctx:F}=r;return f!==bi&&oi(f,s)?(f[s]=a,!0):l!==bi&&oi(l,s)?(l[s]=a,!0):oi(r.props,s)||s[0]==="$"&&s.slice(1)in r?!1:(F[s]=a,!0)},has({_:{data:r,setupState:s,accessCache:a,ctx:l,appContext:f,propsOptions:F}},V){let ae;return!!a[V]||r!==bi&&oi(r,V)||s!==bi&&oi(s,V)||(ae=F[0])&&oi(ae,V)||oi(l,V)||oi(mp,V)||oi(f.config.globalProperties,V)},defineProperty(r,s,a){return a.get!=null?r._.accessCache[s]=0:oi(a,"value")&&this.set(r,s,a.value,null),Reflect.defineProperty(r,s,a)}};let uf=!0;function f0(r){const s=Wh(r),a=r.proxy,l=r.ctx;uf=!1,s.beforeCreate&&ad(s.beforeCreate,r,"bc");const{data:f,computed:F,methods:V,watch:ae,provide:ue,inject:Ae,created:_e,beforeMount:ze,mounted:Je,beforeUpdate:rt,updated:bt,activated:Qt,deactivated:nr,beforeDestroy:et,beforeUnmount:pt,destroyed:dt,unmounted:Wt,render:pr,renderTracked:kr,renderTriggered:Rr,errorCaptured:Sn,serverPrefetch:Dn,expose:Ir,inheritAttrs:Nr,components:gn,directives:zt,filters:Cr}=s;if(Ae&&d0(Ae,l,null,r.appContext.config.unwrapInjectedRef),V)for(const Ut in V){const Ar=V[Ut];Kn(Ar)&&(l[Ut]=Ar.bind(a))}if(f){const Ut=f.call(a,a);Vi(Ut)&&(r.data=ac(Ut))}if(uf=!0,F)for(const Ut in F){const Ar=F[Ut],tn=Kn(Ar)?Ar.bind(a,a):Kn(Ar.get)?Ar.get.bind(a,a):Ps,Vn=!Kn(Ar)&&Kn(Ar.set)?Ar.set.bind(a):Ps,ai=Ni({get:tn,set:Vn});Object.defineProperty(l,Ut,{enumerable:!0,configurable:!0,get:()=>ai.value,set:ui=>ai.value=ui})}if(ae)for(const Ut in ae)Hh(ae[Ut],l,a,Ut);if(ue){const Ut=Kn(ue)?ue.call(a):ue;Reflect.ownKeys(Ut).forEach(Ar=>{up(Ar,Ut[Ar])})}_e&&ad(_e,r,"c");function lr(Ut,Ar){Mn(Ar)?Ar.forEach(tn=>Ut(tn.bind(a))):Ar&&Ut(Ar.bind(a))}if(lr(Ih,ze),lr(Pf,Je),lr(t0,rt),lr(r0,bt),lr(Ym,Qt),lr(Zm,nr),lr(a0,Sn),lr(s0,kr),lr(o0,Rr),lr(n0,pt),lr(Mh,Wt),lr(i0,Dn),Mn(Ir))if(Ir.length){const Ut=r.exposed||(r.exposed={});Ir.forEach(Ar=>{Object.defineProperty(Ut,Ar,{get:()=>a[Ar],set:tn=>a[Ar]=tn})})}else r.exposed||(r.exposed={});pr&&r.render===Ps&&(r.render=pr),Nr!=null&&(r.inheritAttrs=Nr),gn&&(r.components=gn),zt&&(r.directives=zt)}function d0(r,s,a=Ps,l=!1){Mn(r)&&(r=lf(r));for(const f in r){const F=r[f];let V;Vi(F)?"default"in F?V=Aa(F.from||f,F.default,!0):V=Aa(F.from||f):V=Aa(F),Ui(V)&&l?Object.defineProperty(s,f,{enumerable:!0,configurable:!0,get:()=>V.value,set:ae=>V.value=ae}):s[f]=V}}function ad(r,s,a){Os(Mn(r)?r.map(l=>l.bind(s.proxy)):r.bind(s.proxy),s,a)}function Hh(r,s,a,l){const f=l.includes(".")?Oh(a,l):()=>a[l];if(io(r)){const F=s[r];Kn(F)&&no(f,F)}else if(Kn(r))no(f,r.bind(a));else if(Vi(r))if(Mn(r))r.forEach(F=>Hh(F,s,a,l));else{const F=Kn(r.handler)?r.handler.bind(a):s[r.handler];Kn(F)&&no(f,F,r)}}function Wh(r){const s=r.type,{mixins:a,extends:l}=s,{mixins:f,optionsCache:F,config:{optionMergeStrategies:V}}=r.appContext,ae=F.get(s);let ue;return ae?ue=ae:!f.length&&!a&&!l?ue=s:(ue={},f.length&&f.forEach(Ae=>yp(ue,Ae,V,!0)),yp(ue,s,V)),F.set(s,ue),ue}function yp(r,s,a,l=!1){const{mixins:f,extends:F}=s;F&&yp(r,F,a,!0),f&&f.forEach(V=>yp(r,V,a,!0));for(const V in s)if(!(l&&V==="expose")){const ae=h0[V]||a&&a[V];r[V]=ae?ae(r[V],s[V]):s[V]}return r}const h0={data:ud,props:hl,emits:hl,methods:hl,computed:hl,beforeCreate:ko,created:ko,beforeMount:ko,mounted:ko,beforeUpdate:ko,updated:ko,beforeDestroy:ko,beforeUnmount:ko,destroyed:ko,unmounted:ko,activated:ko,deactivated:ko,errorCaptured:ko,serverPrefetch:ko,components:hl,directives:hl,watch:m0,provide:ud,inject:g0};function ud(r,s){return s?r?function(){return No(Kn(r)?r.call(this,this):r,Kn(s)?s.call(this,this):s)}:s:r}function g0(r,s){return hl(lf(r),lf(s))}function lf(r){if(Mn(r)){const s={};for(let a=0;a<r.length;a++)s[r[a]]=r[a];return s}return r}function ko(r,s){return r?[...new Set([].concat(r,s))]:s}function hl(r,s){return r?No(No(Object.create(null),r),s):s}function m0(r,s){if(!r)return s;if(!s)return r;const a=No(Object.create(null),r);for(const l in s)a[l]=ko(r[l],s[l]);return a}function y0(r,s,a,l=!1){const f={},F={};pp(F,Op,1),r.propsDefaults=Object.create(null),$h(r,s,f,F);for(const V in r.propsOptions[0])V in f||(f[V]=void 0);a?r.props=l?f:Nm(f):r.type.props?r.props=f:r.props=F,r.attrs=F}function v0(r,s,a,l){const{props:f,attrs:F,vnode:{patchFlag:V}}=r,ae=fi(f),[ue]=r.propsOptions;let Ae=!1;if((l||V>0)&&!(V&16)){if(V&8){const _e=r.vnode.dynamicProps;for(let ze=0;ze<_e.length;ze++){let Je=_e[ze];if(_p(r.emitsOptions,Je))continue;const rt=s[Je];if(ue)if(oi(F,Je))rt!==F[Je]&&(F[Je]=rt,Ae=!0);else{const bt=Zs(Je);f[bt]=cf(ue,ae,bt,rt,r,!1)}else rt!==F[Je]&&(F[Je]=rt,Ae=!0)}}}else{$h(r,s,f,F)&&(Ae=!0);let _e;for(const ze in ae)(!s||!oi(s,ze)&&((_e=ic(ze))===ze||!oi(s,_e)))&&(ue?a&&(a[ze]!==void 0||a[_e]!==void 0)&&(f[ze]=cf(ue,ae,ze,void 0,r,!0)):delete f[ze]);if(F!==ae)for(const ze in F)(!s||!oi(s,ze)&&!0)&&(delete F[ze],Ae=!0)}Ae&&Sa(r,"set","$attrs")}function $h(r,s,a,l){const[f,F]=r.propsOptions;let V=!1,ae;if(s)for(let ue in s){if(sp(ue))continue;const Ae=s[ue];let _e;f&&oi(f,_e=Zs(ue))?!F||!F.includes(_e)?a[_e]=Ae:(ae||(ae={}))[_e]=Ae:_p(r.emitsOptions,ue)||(!(ue in l)||Ae!==l[ue])&&(l[ue]=Ae,V=!0)}if(F){const ue=fi(a),Ae=ae||bi;for(let _e=0;_e<F.length;_e++){const ze=F[_e];a[ze]=cf(f,ue,ze,Ae[ze],r,!oi(Ae,ze))}}return V}function cf(r,s,a,l,f,F){const V=r[a];if(V!=null){const ae=oi(V,"default");if(ae&&l===void 0){const ue=V.default;if(V.type!==Function&&Kn(ue)){const{propsDefaults:Ae}=f;a in Ae?l=Ae[a]:(tc(f),l=Ae[a]=ue.call(null,s),vl())}else l=ue}V[0]&&(F&&!ae?l=!1:V[1]&&(l===""||l===ic(a))&&(l=!0))}return l}function Uh(r,s,a=!1){const l=s.propsCache,f=l.get(r);if(f)return f;const F=r.props,V={},ae=[];let ue=!1;if(!Kn(r)){const _e=ze=>{ue=!0;const[Je,rt]=Uh(ze,s,!0);No(V,Je),rt&&ae.push(...rt)};!a&&s.mixins.length&&s.mixins.forEach(_e),r.extends&&_e(r.extends),r.mixins&&r.mixins.forEach(_e)}if(!F&&!ue)return l.set(r,Xl),Xl;if(Mn(F))for(let _e=0;_e<F.length;_e++){const ze=Zs(F[_e]);ld(ze)&&(V[ze]=bi)}else if(F)for(const _e in F){const ze=Zs(_e);if(ld(ze)){const Je=F[_e],rt=V[ze]=Mn(Je)||Kn(Je)?{type:Je}:Je;if(rt){const bt=fd(Boolean,rt.type),Qt=fd(String,rt.type);rt[0]=bt>-1,rt[1]=Qt<0||bt<Qt,(bt>-1||oi(rt,"default"))&&ae.push(ze)}}}const Ae=[V,ae];return l.set(r,Ae),Ae}function ld(r){return r[0]!=="$"}function cd(r){const s=r&&r.toString().match(/^\s*function (\w+)/);return s?s[1]:r===null?"null":""}function pd(r,s){return cd(r)===cd(s)}function fd(r,s){return Mn(s)?s.findIndex(a=>pd(a,r)):Kn(s)&&pd(s,r)?0:-1}const Vh=r=>r[0]==="_"||r==="$stable",Of=r=>Mn(r)?r.map(Ys):[Ys(r)],D0=(r,s,a)=>{if(s._n)return s;const l=wa((...f)=>Of(s(...f)),a);return l._c=!1,l},qh=(r,s,a)=>{const l=r._ctx;for(const f in r){if(Vh(f))continue;const F=r[f];if(Kn(F))s[f]=D0(f,F,l);else if(F!=null){const V=Of(F);s[f]=()=>V}}},Jh=(r,s)=>{const a=Of(s);r.slots.default=()=>a},b0=(r,s)=>{if(r.vnode.shapeFlag&32){const a=s._;a?(r.slots=fi(s),pp(s,"_",a)):qh(s,r.slots={})}else r.slots={},s&&Jh(r,s);pp(r.slots,Op,1)},x0=(r,s,a)=>{const{vnode:l,slots:f}=r;let F=!0,V=bi;if(l.shapeFlag&32){const ae=s._;ae?a&&ae===1?F=!1:(No(f,s),!a&&ae===1&&delete f._):(F=!s.$stable,qh(s,f)),V=s}else s&&(Jh(r,s),V={default:1});if(F)for(const ae in f)!Vh(ae)&&!(ae in V)&&delete f[ae]};function Gh(){return{app:null,config:{isNativeTag:Jg,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 C0=0;function E0(r,s){return function(l,f=null){Kn(l)||(l=Object.assign({},l)),f!=null&&!Vi(f)&&(f=null);const F=Gh(),V=new Set;let ae=!1;const ue=F.app={_uid:C0++,_component:l,_props:f,_container:null,_context:F,_instance:null,version:H0,get config(){return F.config},set config(Ae){},use(Ae,..._e){return V.has(Ae)||(Ae&&Kn(Ae.install)?(V.add(Ae),Ae.install(ue,..._e)):Kn(Ae)&&(V.add(Ae),Ae(ue,..._e))),ue},mixin(Ae){return F.mixins.includes(Ae)||F.mixins.push(Ae),ue},component(Ae,_e){return _e?(F.components[Ae]=_e,ue):F.components[Ae]},directive(Ae,_e){return _e?(F.directives[Ae]=_e,ue):F.directives[Ae]},mount(Ae,_e,ze){if(!ae){const Je=yi(l,f);return Je.appContext=F,_e&&s?s(Je,Ae):r(Je,Ae,ze),ae=!0,ue._container=Ae,Ae.__vue_app__=ue,jp(Je.component)||Je.component.proxy}},unmount(){ae&&(r(null,ue._container),delete ue._container.__vue_app__)},provide(Ae,_e){return F.provides[Ae]=_e,ue}};return ue}}function pf(r,s,a,l,f=!1){if(Mn(r)){r.forEach((Je,rt)=>pf(Je,s&&(Mn(s)?s[rt]:s),a,l,f));return}if(jc(l)&&!f)return;const F=l.shapeFlag&4?jp(l.component)||l.component.proxy:l.el,V=f?null:F,{i:ae,r:ue}=r,Ae=s&&s.r,_e=ae.refs===bi?ae.refs={}:ae.refs,ze=ae.setupState;if(Ae!=null&&Ae!==ue&&(io(Ae)?(_e[Ae]=null,oi(ze,Ae)&&(ze[Ae]=null)):Ui(Ae)&&(Ae.value=null)),Kn(ue))gu(ue,ae,12,[V,_e]);else{const Je=io(ue),rt=Ui(ue);if(Je||rt){const bt=()=>{if(r.f){const Qt=Je?_e[ue]:ue.value;f?Mn(Qt)&&Cf(Qt,F):Mn(Qt)?Qt.includes(F)||Qt.push(F):Je?(_e[ue]=[F],oi(ze,ue)&&(ze[ue]=_e[ue])):(ue.value=[F],r.k&&(_e[r.k]=ue.value))}else Je?(_e[ue]=V,oi(ze,ue)&&(ze[ue]=V)):rt&&(ue.value=V,r.k&&(_e[r.k]=V))};V?(bt.id=-1,$o(bt,a)):bt()}}}const $o=Xm;function w0(r){return A0(r)}function A0(r,s){const a=em();a.__VUE__=!0;const{insert:l,remove:f,patchProp:F,createElement:V,createText:ae,createComment:ue,setText:Ae,setElementText:_e,parentNode:ze,nextSibling:Je,setScopeId:rt=Ps,cloneNode:bt,insertStaticContent:Qt}=r,nr=(Ue,nt,It,kt=null,or=null,gr=null,Er=!1,Sr=null,dr=!!nt.dynamicChildren)=>{if(Ue===nt)return;Ue&&!Fc(Ue,nt)&&(kt=Dr(Ue),On(Ue,or,gr,!0),Ue=null),nt.patchFlag===-2&&(dr=!1,nt.dynamicChildren=null);const{type:We,ref:Rt,shapeFlag:it}=nt;switch(We){case jf:et(Ue,nt,It,kt);break;case yu:pt(Ue,nt,It,kt);break;case Jp:Ue==null&&dt(nt,It,kt,Er);break;case Uo:zt(Ue,nt,It,kt,or,gr,Er,Sr,dr);break;default:it&1?kr(Ue,nt,It,kt,or,gr,Er,Sr,dr):it&6?Cr(Ue,nt,It,kt,or,gr,Er,Sr,dr):(it&64||it&128)&&We.process(Ue,nt,It,kt,or,gr,Er,Sr,dr,Hr)}Rt!=null&&or&&pf(Rt,Ue&&Ue.ref,gr,nt||Ue,!nt)},et=(Ue,nt,It,kt)=>{if(Ue==null)l(nt.el=ae(nt.children),It,kt);else{const or=nt.el=Ue.el;nt.children!==Ue.children&&Ae(or,nt.children)}},pt=(Ue,nt,It,kt)=>{Ue==null?l(nt.el=ue(nt.children||""),It,kt):nt.el=Ue.el},dt=(Ue,nt,It,kt)=>{[Ue.el,Ue.anchor]=Qt(Ue.children,nt,It,kt,Ue.el,Ue.anchor)},Wt=({el:Ue,anchor:nt},It,kt)=>{let or;for(;Ue&&Ue!==nt;)or=Je(Ue),l(Ue,It,kt),Ue=or;l(nt,It,kt)},pr=({el:Ue,anchor:nt})=>{let It;for(;Ue&&Ue!==nt;)It=Je(Ue),f(Ue),Ue=It;f(nt)},kr=(Ue,nt,It,kt,or,gr,Er,Sr,dr)=>{Er=Er||nt.type==="svg",Ue==null?Rr(nt,It,kt,or,gr,Er,Sr,dr):Ir(Ue,nt,or,gr,Er,Sr,dr)},Rr=(Ue,nt,It,kt,or,gr,Er,Sr)=>{let dr,We;const{type:Rt,props:it,shapeFlag:_r,transition:ln,patchFlag:zn,dirs:Jn}=Ue;if(Ue.el&&bt!==void 0&&zn===-1)dr=Ue.el=bt(Ue.el);else{if(dr=Ue.el=V(Ue.type,gr,it&&it.is,it),_r&8?_e(dr,Ue.children):_r&16&&Dn(Ue.children,dr,null,kt,or,gr&&Rt!=="foreignObject",Er,Sr),Jn&&fl(Ue,null,kt,"created"),it){for(const kn in it)kn!=="value"&&!sp(kn)&&F(dr,kn,null,it[kn],gr,Ue.children,kt,or,Pt);"value"in it&&F(dr,"value",null,it.value),(We=it.onVnodeBeforeMount)&&Qs(We,kt,Ue)}Sn(dr,Ue,Ue.scopeId,Er,kt)}Jn&&fl(Ue,null,kt,"beforeMount");const Gn=(!or||or&&!or.pendingBranch)&&ln&&!ln.persisted;Gn&&ln.beforeEnter(dr),l(dr,nt,It),((We=it&&it.onVnodeMounted)||Gn||Jn)&&$o(()=>{We&&Qs(We,kt,Ue),Gn&&ln.enter(dr),Jn&&fl(Ue,null,kt,"mounted")},or)},Sn=(Ue,nt,It,kt,or)=>{if(It&&rt(Ue,It),kt)for(let gr=0;gr<kt.length;gr++)rt(Ue,kt[gr]);if(or){let gr=or.subTree;if(nt===gr){const Er=or.vnode;Sn(Ue,Er,Er.scopeId,Er.slotScopeIds,or.parent)}}},Dn=(Ue,nt,It,kt,or,gr,Er,Sr,dr=0)=>{for(let We=dr;We<Ue.length;We++){const Rt=Ue[We]=Sr?fu(Ue[We]):Ys(Ue[We]);nr(null,Rt,nt,It,kt,or,gr,Er,Sr)}},Ir=(Ue,nt,It,kt,or,gr,Er)=>{const Sr=nt.el=Ue.el;let{patchFlag:dr,dynamicChildren:We,dirs:Rt}=nt;dr|=Ue.patchFlag&16;const it=Ue.props||bi,_r=nt.props||bi;let ln;It&&dl(It,!1),(ln=_r.onVnodeBeforeUpdate)&&Qs(ln,It,nt,Ue),Rt&&fl(nt,Ue,It,"beforeUpdate"),It&&dl(It,!0);const zn=or&&nt.type!=="foreignObject";if(We?Nr(Ue.dynamicChildren,We,Sr,It,kt,zn,gr):Er||tn(Ue,nt,Sr,null,It,kt,zn,gr,!1),dr>0){if(dr&16)gn(Sr,nt,it,_r,It,kt,or);else if(dr&2&&it.class!==_r.class&&F(Sr,"class",null,_r.class,or),dr&4&&F(Sr,"style",it.style,_r.style,or),dr&8){const Jn=nt.dynamicProps;for(let Gn=0;Gn<Jn.length;Gn++){const kn=Jn[Gn],di=it[kn],Mr=_r[kn];(Mr!==di||kn==="value")&&F(Sr,kn,di,Mr,or,Ue.children,It,kt,Pt)}}dr&1&&Ue.children!==nt.children&&_e(Sr,nt.children)}else!Er&&We==null&&gn(Sr,nt,it,_r,It,kt,or);((ln=_r.onVnodeUpdated)||Rt)&&$o(()=>{ln&&Qs(ln,It,nt,Ue),Rt&&fl(nt,Ue,It,"updated")},kt)},Nr=(Ue,nt,It,kt,or,gr,Er)=>{for(let Sr=0;Sr<nt.length;Sr++){const dr=Ue[Sr],We=nt[Sr],Rt=dr.el&&(dr.type===Uo||!Fc(dr,We)||dr.shapeFlag&70)?ze(dr.el):It;nr(dr,We,Rt,null,kt,or,gr,Er,!0)}},gn=(Ue,nt,It,kt,or,gr,Er)=>{if(It!==kt){for(const Sr in kt){if(sp(Sr))continue;const dr=kt[Sr],We=It[Sr];dr!==We&&Sr!=="value"&&F(Ue,Sr,We,dr,Er,nt.children,or,gr,Pt)}if(It!==bi)for(const Sr in It)!sp(Sr)&&!(Sr in kt)&&F(Ue,Sr,It[Sr],null,Er,nt.children,or,gr,Pt);"value"in kt&&F(Ue,"value",It.value,kt.value)}},zt=(Ue,nt,It,kt,or,gr,Er,Sr,dr)=>{const We=nt.el=Ue?Ue.el:ae(""),Rt=nt.anchor=Ue?Ue.anchor:ae("");let{patchFlag:it,dynamicChildren:_r,slotScopeIds:ln}=nt;ln&&(Sr=Sr?Sr.concat(ln):ln),Ue==null?(l(We,It,kt),l(Rt,It,kt),Dn(nt.children,It,Rt,or,gr,Er,Sr,dr)):it>0&&it&64&&_r&&Ue.dynamicChildren?(Nr(Ue.dynamicChildren,_r,It,or,gr,Er,Sr),(nt.key!=null||or&&nt===or.subTree)&&Xh(Ue,nt,!0)):tn(Ue,nt,It,Rt,or,gr,Er,Sr,dr)},Cr=(Ue,nt,It,kt,or,gr,Er,Sr,dr)=>{nt.slotScopeIds=Sr,Ue==null?nt.shapeFlag&512?or.ctx.activate(nt,It,kt,Er,dr):de(nt,It,kt,or,gr,Er,dr):lr(Ue,nt,dr)},de=(Ue,nt,It,kt,or,gr,Er)=>{const Sr=Ue.component=O0(Ue,kt,or);if(jh(Ue)&&(Sr.ctx.renderer=Hr),j0(Sr),Sr.asyncDep){if(or&&or.registerDep(Sr,Ut),!Ue.el){const dr=Sr.subTree=yi(yu);pt(null,dr,nt,It)}return}Ut(Sr,Ue,nt,It,or,gr,Er)},lr=(Ue,nt,It)=>{const kt=nt.component=Ue.component;if(qm(Ue,nt,It))if(kt.asyncDep&&!kt.asyncResolved){Ar(kt,nt,It);return}else kt.next=nt,zm(kt.update),kt.update();else nt.el=Ue.el,kt.vnode=nt},Ut=(Ue,nt,It,kt,or,gr,Er)=>{const Sr=()=>{if(Ue.isMounted){let{next:Rt,bu:it,u:_r,parent:ln,vnode:zn}=Ue,Jn=Rt,Gn;dl(Ue,!1),Rt?(Rt.el=zn.el,Ar(Ue,Rt,Er)):Rt=zn,it&&ap(it),(Gn=Rt.props&&Rt.props.onVnodeBeforeUpdate)&&Qs(Gn,ln,Rt,zn),dl(Ue,!0);const kn=qp(Ue),di=Ue.subTree;Ue.subTree=kn,nr(di,kn,ze(di.el),Dr(di),Ue,or,gr),Rt.el=kn.el,Jn===null&&Jm(Ue,kn.el),_r&&$o(_r,or),(Gn=Rt.props&&Rt.props.onVnodeUpdated)&&$o(()=>Qs(Gn,ln,Rt,zn),or)}else{let Rt;const{el:it,props:_r}=nt,{bm:ln,m:zn,parent:Jn}=Ue,Gn=jc(nt);if(dl(Ue,!1),ln&&ap(ln),!Gn&&(Rt=_r&&_r.onVnodeBeforeMount)&&Qs(Rt,Jn,nt),dl(Ue,!0),it&&Zr){const kn=()=>{Ue.subTree=qp(Ue),Zr(it,Ue.subTree,Ue,or,null)};Gn?nt.type.__asyncLoader().then(()=>!Ue.isUnmounted&&kn()):kn()}else{const kn=Ue.subTree=qp(Ue);nr(null,kn,It,kt,Ue,or,gr),nt.el=kn.el}if(zn&&$o(zn,or),!Gn&&(Rt=_r&&_r.onVnodeMounted)){const kn=nt;$o(()=>Qs(Rt,Jn,kn),or)}(nt.shapeFlag&256||Jn&&jc(Jn.vnode)&&Jn.vnode.shapeFlag&256)&&Ue.a&&$o(Ue.a,or),Ue.isMounted=!0,nt=It=kt=null}},dr=Ue.effect=new Af(Sr,()=>Fh(We),Ue.scope),We=Ue.update=()=>dr.run();We.id=Ue.uid,dl(Ue,!0),We()},Ar=(Ue,nt,It)=>{nt.component=Ue;const kt=Ue.vnode.props;Ue.vnode=nt,Ue.next=null,v0(Ue,nt.props,kt,It),x0(Ue,nt.children,It),oc(),Bp(void 0,Ue.update),sc()},tn=(Ue,nt,It,kt,or,gr,Er,Sr,dr=!1)=>{const We=Ue&&Ue.children,Rt=Ue?Ue.shapeFlag:0,it=nt.children,{patchFlag:_r,shapeFlag:ln}=nt;if(_r>0){if(_r&128){ai(We,it,It,kt,or,gr,Er,Sr,dr);return}else if(_r&256){Vn(We,it,It,kt,or,gr,Er,Sr,dr);return}}ln&8?(Rt&16&&Pt(We,or,gr),it!==We&&_e(It,it)):Rt&16?ln&16?ai(We,it,It,kt,or,gr,Er,Sr,dr):Pt(We,or,gr,!0):(Rt&8&&_e(It,""),ln&16&&Dn(it,It,kt,or,gr,Er,Sr,dr))},Vn=(Ue,nt,It,kt,or,gr,Er,Sr,dr)=>{Ue=Ue||Xl,nt=nt||Xl;const We=Ue.length,Rt=nt.length,it=Math.min(We,Rt);let _r;for(_r=0;_r<it;_r++){const ln=nt[_r]=dr?fu(nt[_r]):Ys(nt[_r]);nr(Ue[_r],ln,It,null,or,gr,Er,Sr,dr)}We>Rt?Pt(Ue,or,gr,!0,!1,it):Dn(nt,It,kt,or,gr,Er,Sr,dr,it)},ai=(Ue,nt,It,kt,or,gr,Er,Sr,dr)=>{let We=0;const Rt=nt.length;let it=Ue.length-1,_r=Rt-1;for(;We<=it&&We<=_r;){const ln=Ue[We],zn=nt[We]=dr?fu(nt[We]):Ys(nt[We]);if(Fc(ln,zn))nr(ln,zn,It,null,or,gr,Er,Sr,dr);else break;We++}for(;We<=it&&We<=_r;){const ln=Ue[it],zn=nt[_r]=dr?fu(nt[_r]):Ys(nt[_r]);if(Fc(ln,zn))nr(ln,zn,It,null,or,gr,Er,Sr,dr);else break;it--,_r--}if(We>it){if(We<=_r){const ln=_r+1,zn=ln<Rt?nt[ln].el:kt;for(;We<=_r;)nr(null,nt[We]=dr?fu(nt[We]):Ys(nt[We]),It,zn,or,gr,Er,Sr,dr),We++}}else if(We>_r)for(;We<=it;)On(Ue[We],or,gr,!0),We++;else{const ln=We,zn=We,Jn=new Map;for(We=zn;We<=_r;We++){const Zt=nt[We]=dr?fu(nt[We]):Ys(nt[We]);Zt.key!=null&&Jn.set(Zt.key,We)}let Gn,kn=0;const di=_r-zn+1;let Mr=!1,Ht=0;const $t=new Array(di);for(We=0;We<di;We++)$t[We]=0;for(We=ln;We<=it;We++){const Zt=Ue[We];if(kn>=di){On(Zt,or,gr,!0);continue}let Tt;if(Zt.key!=null)Tt=Jn.get(Zt.key);else for(Gn=zn;Gn<=_r;Gn++)if($t[Gn-zn]===0&&Fc(Zt,nt[Gn])){Tt=Gn;break}Tt===void 0?On(Zt,or,gr,!0):($t[Tt-zn]=We+1,Tt>=Ht?Ht=Tt:Mr=!0,nr(Zt,nt[Tt],It,null,or,gr,Er,Sr,dr),kn++)}const ht=Mr?S0($t):Xl;for(Gn=ht.length-1,We=di-1;We>=0;We--){const Zt=zn+We,Tt=nt[Zt],yr=Zt+1<Rt?nt[Zt+1].el:kt;$t[We]===0?nr(null,Tt,It,yr,or,gr,Er,Sr,dr):Mr&&(Gn<0||We!==ht[Gn]?ui(Tt,It,yr,2):Gn--)}}},ui=(Ue,nt,It,kt,or=null)=>{const{el:gr,type:Er,transition:Sr,children:dr,shapeFlag:We}=Ue;if(We&6){ui(Ue.component.subTree,nt,It,kt);return}if(We&128){Ue.suspense.move(nt,It,kt);return}if(We&64){Er.move(Ue,nt,It,Hr);return}if(Er===Uo){l(gr,nt,It);for(let it=0;it<dr.length;it++)ui(dr[it],nt,It,kt);l(Ue.anchor,nt,It);return}if(Er===Jp){Wt(Ue,nt,It);return}if(kt!==2&&We&1&&Sr)if(kt===0)Sr.beforeEnter(gr),l(gr,nt,It),$o(()=>Sr.enter(gr),or);else{const{leave:it,delayLeave:_r,afterLeave:ln}=Sr,zn=()=>l(gr,nt,It),Jn=()=>{it(gr,()=>{zn(),ln&&ln()})};_r?_r(gr,zn,Jn):Jn()}else l(gr,nt,It)},On=(Ue,nt,It,kt=!1,or=!1)=>{const{type:gr,props:Er,ref:Sr,children:dr,dynamicChildren:We,shapeFlag:Rt,patchFlag:it,dirs:_r}=Ue;if(Sr!=null&&pf(Sr,null,It,Ue,!0),Rt&256){nt.ctx.deactivate(Ue);return}const ln=Rt&1&&_r,zn=!jc(Ue);let Jn;if(zn&&(Jn=Er&&Er.onVnodeBeforeUnmount)&&Qs(Jn,nt,Ue),Rt&6)ar(Ue.component,It,kt);else{if(Rt&128){Ue.suspense.unmount(It,kt);return}ln&&fl(Ue,null,nt,"beforeUnmount"),Rt&64?Ue.type.remove(Ue,nt,It,or,Hr,kt):We&&(gr!==Uo||it>0&&it&64)?Pt(We,nt,It,!1,!0):(gr===Uo&&it&384||!or&&Rt&16)&&Pt(dr,nt,It),kt&&li(Ue)}(zn&&(Jn=Er&&Er.onVnodeUnmounted)||ln)&&$o(()=>{Jn&&Qs(Jn,nt,Ue),ln&&fl(Ue,null,nt,"unmounted")},It)},li=Ue=>{const{type:nt,el:It,anchor:kt,transition:or}=Ue;if(nt===Uo){Gt(It,kt);return}if(nt===Jp){pr(Ue);return}const gr=()=>{f(It),or&&!or.persisted&&or.afterLeave&&or.afterLeave()};if(Ue.shapeFlag&1&&or&&!or.persisted){const{leave:Er,delayLeave:Sr}=or,dr=()=>Er(It,gr);Sr?Sr(Ue.el,gr,dr):dr()}else gr()},Gt=(Ue,nt)=>{let It;for(;Ue!==nt;)It=Je(Ue),f(Ue),Ue=It;f(nt)},ar=(Ue,nt,It)=>{const{bum:kt,scope:or,update:gr,subTree:Er,um:Sr}=Ue;kt&&ap(kt),or.stop(),gr&&(gr.active=!1,On(Er,Ue,nt,It)),Sr&&$o(Sr,nt),$o(()=>{Ue.isUnmounted=!0},nt),nt&&nt.pendingBranch&&!nt.isUnmounted&&Ue.asyncDep&&!Ue.asyncResolved&&Ue.suspenseId===nt.pendingId&&(nt.deps--,nt.deps===0&&nt.resolve())},Pt=(Ue,nt,It,kt=!1,or=!1,gr=0)=>{for(let Er=gr;Er<Ue.length;Er++)On(Ue[Er],nt,It,kt,or)},Dr=Ue=>Ue.shapeFlag&6?Dr(Ue.component.subTree):Ue.shapeFlag&128?Ue.suspense.next():Je(Ue.anchor||Ue.el),rn=(Ue,nt,It)=>{Ue==null?nt._vnode&&On(nt._vnode,null,null,!0):nr(nt._vnode||null,Ue,nt,null,null,null,It),Nh(),nt._vnode=Ue},Hr={p:nr,um:On,m:ui,r:li,mt:de,mc:Dn,pc:tn,pbc:Nr,n:Dr,o:r};let Or,Zr;return s&&([Or,Zr]=s(Hr)),{render:rn,hydrate:Or,createApp:E0(rn,Or)}}function dl({effect:r,update:s},a){r.allowRecurse=s.allowRecurse=a}function Xh(r,s,a=!1){const l=r.children,f=s.children;if(Mn(l)&&Mn(f))for(let F=0;F<l.length;F++){const V=l[F];let ae=f[F];ae.shapeFlag&1&&!ae.dynamicChildren&&((ae.patchFlag<=0||ae.patchFlag===32)&&(ae=f[F]=fu(f[F]),ae.el=V.el),a||Xh(V,ae))}}function S0(r){const s=r.slice(),a=[0];let l,f,F,V,ae;const ue=r.length;for(l=0;l<ue;l++){const Ae=r[l];if(Ae!==0){if(f=a[a.length-1],r[f]<Ae){s[l]=f,a.push(l);continue}for(F=0,V=a.length-1;F<V;)ae=F+V>>1,r[a[ae]]<Ae?F=ae+1:V=ae;Ae<r[a[F]]&&(F>0&&(s[l]=a[F-1]),a[F]=l)}}for(F=a.length,V=a[F-1];F-- >0;)a[F]=V,V=s[V];return a}const F0=r=>r.__isTeleport,Uo=Symbol(void 0),jf=Symbol(void 0),yu=Symbol(void 0),Jp=Symbol(void 0),Lc=[];let _s=null;function Ii(r=!1){Lc.push(_s=r?null:[])}function k0(){Lc.pop(),_s=Lc[Lc.length-1]||null}let Vc=1;function dd(r){Vc+=r}function Kh(r){return r.dynamicChildren=Vc>0?_s||Xl:null,k0(),Vc>0&&_s&&_s.push(r),r}function po(r,s,a,l,f,F){return Kh(Bn(r,s,a,l,f,F,!0))}function Zl(r,s,a,l,f){return Kh(yi(r,s,a,l,f,!0))}function vp(r){return r?r.__v_isVNode===!0:!1}function Fc(r,s){return r.type===s.type&&r.key===s.key}const Op="__vInternal",Qh=({key:r})=>r!=null?r:null,lp=({ref:r,ref_key:s,ref_for:a})=>r!=null?io(r)||Ui(r)||Kn(r)?{i:mo,r,k:s,f:!!a}:r:null;function Bn(r,s=null,a=null,l=0,f=null,F=r===Uo?0:1,V=!1,ae=!1){const ue={__v_isVNode:!0,__v_skip:!0,type:r,props:s,key:s&&Qh(s),ref:s&&lp(s),scopeId:Ph,slotScopeIds:null,children:a,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:F,patchFlag:l,dynamicProps:f,dynamicChildren:null,appContext:null};return ae?(Lf(ue,a),F&128&&r.normalize(ue)):a&&(ue.shapeFlag|=io(a)?8:16),Vc>0&&!V&&_s&&(ue.patchFlag>0||F&6)&&ue.patchFlag!==32&&_s.push(ue),ue}const yi=T0;function T0(r,s=null,a=null,l=0,f=null,F=!1){if((!r||r===l0)&&(r=yu),vp(r)){const ae=ec(r,s,!0);return a&&Lf(ae,a),Vc>0&&!F&&_s&&(ae.shapeFlag&6?_s[_s.indexOf(r)]=ae:_s.push(ae)),ae.patchFlag|=-2,ae}if(z0(r)&&(r=r.__vccOpts),s){s=N0(s);let{class:ae,style:ue}=s;ae&&!io(ae)&&(s.class=Yl(ae)),Vi(ue)&&(bh(ue)&&!Mn(ue)&&(ue=No({},ue)),s.style=Xc(ue))}const V=io(r)?1:Gm(r)?128:F0(r)?64:Vi(r)?4:Kn(r)?2:0;return Bn(r,s,a,l,f,V,F,!0)}function N0(r){return r?bh(r)||Op in r?No({},r):r:null}function ec(r,s,a=!1){const{props:l,ref:f,patchFlag:F,children:V}=r,ae=s?B0(l||{},s):l;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:ae,key:ae&&Qh(ae),ref:s&&s.ref?a&&f?Mn(f)?f.concat(lp(s)):[f,lp(s)]:lp(s):f,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:V,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:s&&r.type!==Uo?F===-1?16:F|16:F,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&ec(r.ssContent),ssFallback:r.ssFallback&&ec(r.ssFallback),el:r.el,anchor:r.anchor}}function Ns(r=" ",s=0){return yi(jf,null,r,s)}function Dp(r="",s=!1){return s?(Ii(),Zl(yu,null,r)):yi(yu,null,r)}function Ys(r){return r==null||typeof r=="boolean"?yi(yu):Mn(r)?yi(Uo,null,r.slice()):typeof r=="object"?fu(r):yi(jf,null,String(r))}function fu(r){return r.el===null||r.memo?r:ec(r)}function Lf(r,s){let a=0;const{shapeFlag:l}=r;if(s==null)s=null;else if(Mn(s))a=16;else if(typeof s=="object")if(l&65){const f=s.default;f&&(f._c&&(f._d=!1),Lf(r,f()),f._c&&(f._d=!0));return}else{a=32;const f=s._;!f&&!(Op in s)?s._ctx=mo:f===3&&mo&&(mo.slots._===1?s._=1:(s._=2,r.patchFlag|=1024))}else Kn(s)?(s={default:s,_ctx:mo},a=32):(s=String(s),l&64?(a=16,s=[Ns(s)]):a=8);r.children=s,r.shapeFlag|=a}function B0(...r){const s={};for(let a=0;a<r.length;a++){const l=r[a];for(const f in l)if(f==="class")s.class!==l.class&&(s.class=Yl([s.class,l.class]));else if(f==="style")s.style=Xc([s.style,l.style]);else if(wp(f)){const F=s[f],V=l[f];V&&F!==V&&!(Mn(F)&&F.includes(V))&&(s[f]=F?[].concat(F,V):V)}else f!==""&&(s[f]=l[f])}return s}function Qs(r,s,a,l=null){Os(r,s,7,[a,l])}const _0=Gh();let P0=0;function O0(r,s,a){const l=r.type,f=(s?s.appContext:r.appContext)||_0,F={uid:P0++,vnode:r,type:l,parent:s,appContext:f,root:null,next:null,subTree:null,effect:null,update:null,scope:new tm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:s?s.provides:Object.create(f.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Uh(l,f),emitsOptions:_h(l,f),emit:null,emitted:null,propsDefaults:bi,inheritAttrs:l.inheritAttrs,ctx:bi,data:bi,props:bi,attrs:bi,slots:bi,refs:bi,setupState:bi,setupContext:null,suspense:a,suspenseId:a?a.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 F.ctx={_:F},F.root=s?s.root:F,F.emit=$m.bind(null,F),r.ce&&r.ce(F),F}let ro=null;const If=()=>ro||mo,tc=r=>{ro=r,r.scope.on()},vl=()=>{ro&&ro.scope.off(),ro=null};function Yh(r){return r.vnode.shapeFlag&4}let qc=!1;function j0(r,s=!1){qc=s;const{props:a,children:l}=r.vnode,f=Yh(r);y0(r,a,f,s),b0(r,l);const F=f?L0(r,s):void 0;return qc=!1,F}function L0(r,s){const a=r.type;r.accessCache=Object.create(null),r.proxy=xh(new Proxy(r.ctx,p0));const{setup:l}=a;if(l){const f=r.setupContext=l.length>1?M0(r):null;tc(r),oc();const F=gu(l,r,0,[r.props,f]);if(sc(),vl(),sh(F)){if(F.then(vl,vl),s)return F.then(V=>{hd(r,V,s)}).catch(V=>{Tp(V,r,0)});r.asyncDep=F}else hd(r,F,s)}else Zh(r,s)}function hd(r,s,a){Kn(s)?r.type.__ssrInlineRender?r.ssrRender=s:r.render=s:Vi(s)&&(r.setupState=Ah(s)),Zh(r,a)}let gd;function Zh(r,s,a){const l=r.type;if(!r.render){if(!s&&gd&&!l.render){const f=l.template;if(f){const{isCustomElement:F,compilerOptions:V}=r.appContext.config,{delimiters:ae,compilerOptions:ue}=l,Ae=No(No({isCustomElement:F,delimiters:ae},V),ue);l.render=gd(f,Ae)}}r.render=l.render||Ps}tc(r),oc(),f0(r),sc(),vl()}function I0(r){return new Proxy(r.attrs,{get(s,a){return Yo(r,"get","$attrs"),s[a]}})}function M0(r){const s=l=>{r.exposed=l||{}};let a;return{get attrs(){return a||(a=I0(r))},slots:r.slots,emit:r.emit,expose:s}}function jp(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(Ah(xh(r.exposed)),{get(s,a){if(a in s)return s[a];if(a in mp)return mp[a](r)}}))}function R0(r,s=!0){return Kn(r)?r.displayName||r.name:r.name||s&&r.__name}function z0(r){return Kn(r)&&"__vccOpts"in r}const Ni=(r,s)=>Im(r,s,qc);function Mf(r,s,a){const l=arguments.length;return l===2?Vi(s)&&!Mn(s)?vp(s)?yi(r,null,[s]):yi(r,s):yi(r,null,s):(l>3?a=Array.prototype.slice.call(arguments,2):l===3&&vp(a)&&(a=[a]),yi(r,s,a))}const H0="3.2.37",W0="http://www.w3.org/2000/svg",gl=typeof document!="undefined"?document:null,md=gl&&gl.createElement("template"),$0={insert:(r,s,a)=>{s.insertBefore(r,a||null)},remove:r=>{const s=r.parentNode;s&&s.removeChild(r)},createElement:(r,s,a,l)=>{const f=s?gl.createElementNS(W0,r):gl.createElement(r,a?{is:a}:void 0);return r==="select"&&l&&l.multiple!=null&&f.setAttribute("multiple",l.multiple),f},createText:r=>gl.createTextNode(r),createComment:r=>gl.createComment(r),setText:(r,s)=>{r.nodeValue=s},setElementText:(r,s)=>{r.textContent=s},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>gl.querySelector(r),setScopeId(r,s){r.setAttribute(s,"")},cloneNode(r){const s=r.cloneNode(!0);return"_value"in r&&(s._value=r._value),s},insertStaticContent(r,s,a,l,f,F){const V=a?a.previousSibling:s.lastChild;if(f&&(f===F||f.nextSibling))for(;s.insertBefore(f.cloneNode(!0),a),!(f===F||!(f=f.nextSibling)););else{md.innerHTML=l?`<svg>${r}</svg>`:r;const ae=md.content;if(l){const ue=ae.firstChild;for(;ue.firstChild;)ae.appendChild(ue.firstChild);ae.removeChild(ue)}s.insertBefore(ae,a)}return[V?V.nextSibling:s.firstChild,a?a.previousSibling:s.lastChild]}};function U0(r,s,a){const l=r._vtc;l&&(s=(s?[s,...l]:[...l]).join(" ")),s==null?r.removeAttribute("class"):a?r.setAttribute("class",s):r.className=s}function V0(r,s,a){const l=r.style,f=io(a);if(a&&!f){for(const F in a)ff(l,F,a[F]);if(s&&!io(s))for(const F in s)a[F]==null&&ff(l,F,"")}else{const F=l.display;f?s!==a&&(l.cssText=a):s&&r.removeAttribute("style"),"_vod"in r&&(l.display=F)}}const yd=/\s*!important$/;function ff(r,s,a){if(Mn(a))a.forEach(l=>ff(r,s,l));else if(a==null&&(a=""),s.startsWith("--"))r.setProperty(s,a);else{const l=q0(r,s);yd.test(a)?r.setProperty(ic(l),a.replace(yd,""),"important"):r[l]=a}}const vd=["Webkit","Moz","ms"],Gp={};function q0(r,s){const a=Gp[s];if(a)return a;let l=Zs(s);if(l!=="filter"&&l in r)return Gp[s]=l;l=Fp(l);for(let f=0;f<vd.length;f++){const F=vd[f]+l;if(F in r)return Gp[s]=F}return s}const Dd="http://www.w3.org/1999/xlink";function J0(r,s,a,l,f){if(l&&s.startsWith("xlink:"))a==null?r.removeAttributeNS(Dd,s.slice(6,s.length)):r.setAttributeNS(Dd,s,a);else{const F=Wg(s);a==null||F&&!nh(a)?r.removeAttribute(s):r.setAttribute(s,F?"":a)}}function G0(r,s,a,l,f,F,V){if(s==="innerHTML"||s==="textContent"){l&&V(l,f,F),r[s]=a==null?"":a;return}if(s==="value"&&r.tagName!=="PROGRESS"&&!r.tagName.includes("-")){r._value=a;const ue=a==null?"":a;(r.value!==ue||r.tagName==="OPTION")&&(r.value=ue),a==null&&r.removeAttribute(s);return}let ae=!1;if(a===""||a==null){const ue=typeof r[s];ue==="boolean"?a=nh(a):a==null&&ue==="string"?(a="",ae=!0):ue==="number"&&(a=0,ae=!0)}try{r[s]=a}catch{}ae&&r.removeAttribute(s)}const[eg,X0]=(()=>{let r=Date.now,s=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(r=performance.now.bind(performance));const a=navigator.userAgent.match(/firefox\/(\d+)/i);s=!!(a&&Number(a[1])<=53)}return[r,s]})();let df=0;const K0=Promise.resolve(),Q0=()=>{df=0},Y0=()=>df||(K0.then(Q0),df=eg());function tg(r,s,a,l){r.addEventListener(s,a,l)}function Z0(r,s,a,l){r.removeEventListener(s,a,l)}function ey(r,s,a,l,f=null){const F=r._vei||(r._vei={}),V=F[s];if(l&&V)V.value=l;else{const[ae,ue]=ty(s);if(l){const Ae=F[s]=ry(l,f);tg(r,ae,Ae,ue)}else V&&(Z0(r,ae,V,ue),F[s]=void 0)}}const bd=/(?:Once|Passive|Capture)$/;function ty(r){let s;if(bd.test(r)){s={};let a;for(;a=r.match(bd);)r=r.slice(0,r.length-a[0].length),s[a[0].toLowerCase()]=!0}return[ic(r.slice(2)),s]}function ry(r,s){const a=l=>{const f=l.timeStamp||eg();(X0||f>=a.attached-1)&&Os(ny(l,a.value),s,5,[l])};return a.value=r,a.attached=Y0(),a}function ny(r,s){if(Mn(s)){const a=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{a.call(r),r._stopped=!0},s.map(l=>f=>!f._stopped&&l&&l(f))}else return s}const xd=/^on[a-z]/,iy=(r,s,a,l,f=!1,F,V,ae,ue)=>{s==="class"?U0(r,l,f):s==="style"?V0(r,a,l):wp(s)?xf(s)||ey(r,s,a,l,V):(s[0]==="."?(s=s.slice(1),!0):s[0]==="^"?(s=s.slice(1),!1):oy(r,s,l,f))?G0(r,s,l,F,V,ae,ue):(s==="true-value"?r._trueValue=l:s==="false-value"&&(r._falseValue=l),J0(r,s,l,f))};function oy(r,s,a,l){return l?!!(s==="innerHTML"||s==="textContent"||s in r&&xd.test(s)&&Kn(a)):s==="spellcheck"||s==="draggable"||s==="translate"||s==="form"||s==="list"&&r.tagName==="INPUT"||s==="type"&&r.tagName==="TEXTAREA"||xd.test(s)&&io(a)?!1:s in r}const Cd=r=>{const s=r.props["onUpdate:modelValue"]||!1;return Mn(s)?a=>ap(s,a):s},sy={deep:!0,created(r,s,a){r._assign=Cd(a),tg(r,"change",()=>{const l=r._modelValue,f=ay(r),F=r.checked,V=r._assign;if(Mn(l)){const ae=ih(l,f),ue=ae!==-1;if(F&&!ue)V(l.concat(f));else if(!F&&ue){const Ae=[...l];Ae.splice(ae,1),V(Ae)}}else if(Ap(l)){const ae=new Set(l);F?ae.add(f):ae.delete(f),V(ae)}else V(rg(r,F))})},mounted:Ed,beforeUpdate(r,s,a){r._assign=Cd(a),Ed(r,s,a)}};function Ed(r,{value:s,oldValue:a},l){r._modelValue=s,Mn(s)?r.checked=ih(s,l.props.value)>-1:Ap(s)?r.checked=s.has(l.props.value):s!==a&&(r.checked=Ep(s,rg(r,!0)))}function ay(r){return"_value"in r?r._value:r.value}function rg(r,s){const a=s?"_trueValue":"_falseValue";return a in r?r[a]:s}const uy=No({patchProp:iy},$0);let wd;function ly(){return wd||(wd=w0(uy))}const cy=(...r)=>{const s=ly().createApp(...r),{mount:a}=s;return s.mount=l=>{const f=py(l);if(!f)return;const F=s._component;!Kn(F)&&!F.render&&!F.template&&(F.template=f.innerHTML),f.innerHTML="";const V=a(f,!1,f instanceof SVGElement);return f instanceof Element&&(f.removeAttribute("v-cloak"),f.setAttribute("data-v-app","")),V},s};function py(r){return io(r)?document.querySelector(r):r}function Ic(){const r=[],s=f=>{const F=r.indexOf(f);F!==-1&&r.splice(F,1)};return{on:f=>(r.push(f),{off:()=>s(f)}),off:s,trigger:f=>{r.forEach(F=>F(f))}}}function Lp(r){return nm()?(im(r),!0):!1}var Ad;const uc=typeof window!="undefined",fy=r=>typeof r!="undefined",dy=r=>typeof r=="string",cp=()=>{};uc&&((Ad=window==null?void 0:window.navigator)==null?void 0:Ad.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ng(r,s){function a(...l){r(()=>s.apply(this,l),{fn:s,thisArg:this,args:l})}return a}const ig=r=>r();function hy(r,s={}){let a,l;return F=>{const V=vn(r),ae=vn(s.maxWait);if(a&&clearTimeout(a),V<=0||ae!==void 0&&ae<=0)return l&&(clearTimeout(l),l=null),F();ae&&!l&&(l=setTimeout(()=>{a&&clearTimeout(a),l=null,F()},ae)),a=setTimeout(()=>{l&&clearTimeout(l),l=null,F()},V)}}function gy(r=ig){const s=Qi(!0);function a(){s.value=!1}function l(){s.value=!0}return{isActive:s,pause:a,resume:l,eventFilter:(...F)=>{s.value&&r(...F)}}}function Sd(r,s=!1,a="Timeout"){return new Promise((l,f)=>{setTimeout(s?()=>f(a):l,r)})}function my(r,...s){return s.some(a=>a in r)}function yy(r,s=200,a={}){return ng(hy(s,a),r)}function vy(r,s=200,a={}){if(s<=0)return r;const l=Qi(r.value),f=yy(()=>{l.value=r.value},s,a);return no(r,()=>f()),l}function Dy(r,s=!0){If()?Ih(r):s?r():Np(r)}function by(r,s=!0){If()?Pf(r):s?r():Np(r)}function xy(r){let s=!1;function a(ze,{flush:Je="sync",deep:rt=!1,timeout:bt,throwOnTimeout:Qt}={}){let nr=null;const pt=[new Promise(dt=>{nr=no(r,Wt=>{ze(Wt)!==s&&(nr==null||nr(),dt(Wt))},{flush:Je,deep:rt,immediate:!0})})];return bt!=null&&pt.push(Sd(bt,Qt).then(()=>vn(r)).finally(()=>nr==null?void 0:nr())),Promise.race(pt)}function l(ze,Je){if(!Ui(ze))return a(Wt=>Wt===ze,Je);const{flush:rt="sync",deep:bt=!1,timeout:Qt,throwOnTimeout:nr}=Je!=null?Je:{};let et=null;const dt=[new Promise(Wt=>{et=no([r,ze],([pr,kr])=>{s!==(pr===kr)&&(et==null||et(),Wt(pr))},{flush:rt,deep:bt,immediate:!0})})];return Qt!=null&&dt.push(Sd(Qt,nr).then(()=>vn(r)).finally(()=>(et==null||et(),vn(r)))),Promise.race(dt)}function f(ze){return a(Je=>Boolean(Je),ze)}function F(ze){return l(null,ze)}function V(ze){return l(void 0,ze)}function ae(ze){return a(Number.isNaN,ze)}function ue(ze,Je){return a(rt=>{const bt=Array.from(rt);return bt.includes(ze)||bt.includes(vn(ze))},Je)}function Ae(ze){return _e(1,ze)}function _e(ze=1,Je){let rt=-1;return a(()=>(rt+=1,rt>=ze),Je)}return Array.isArray(vn(r))?{toMatch:a,toContains:ue,changed:Ae,changedTimes:_e,get not(){return s=!s,this}}:{toMatch:a,toBe:l,toBeTruthy:f,toBeNull:F,toBeNaN:ae,toBeUndefined:V,changed:Ae,changedTimes:_e,get not(){return s=!s,this}}}function Cy(r,s,a={}){const{immediate:l=!0}=a,f=Qi(!1);let F=null;function V(){F&&(clearTimeout(F),F=null)}function ae(){f.value=!1,V()}function ue(...Ae){V(),f.value=!0,F=setTimeout(()=>{f.value=!1,F=null,r(...Ae)},vn(s))}return l&&(f.value=!0,uc&&ue()),Lp(ae),{isPending:f,start:ue,stop:ae}}function Ey(r=!1,s={}){const{truthyValue:a=!0,falsyValue:l=!1}=s,f=Ui(r),F=Qi(r);function V(ae){return arguments.length?(F.value=ae,F.value):(F.value=F.value===vn(a)?vn(l):vn(a),F.value)}return f?V:[F,V]}var Fd=Object.getOwnPropertySymbols,wy=Object.prototype.hasOwnProperty,Ay=Object.prototype.propertyIsEnumerable,Sy=(r,s)=>{var a={};for(var l in r)wy.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&Fd)for(var l of Fd(r))s.indexOf(l)<0&&Ay.call(r,l)&&(a[l]=r[l]);return a};function Fy(r,s,a={}){const l=a,{eventFilter:f=ig}=l,F=Sy(l,["eventFilter"]);return no(r,ng(f,s),F)}var ky=Object.defineProperty,Ty=Object.defineProperties,Ny=Object.getOwnPropertyDescriptors,bp=Object.getOwnPropertySymbols,og=Object.prototype.hasOwnProperty,sg=Object.prototype.propertyIsEnumerable,kd=(r,s,a)=>s in r?ky(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,By=(r,s)=>{for(var a in s||(s={}))og.call(s,a)&&kd(r,a,s[a]);if(bp)for(var a of bp(s))sg.call(s,a)&&kd(r,a,s[a]);return r},_y=(r,s)=>Ty(r,Ny(s)),Py=(r,s)=>{var a={};for(var l in r)og.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&bp)for(var l of bp(r))s.indexOf(l)<0&&sg.call(r,l)&&(a[l]=r[l]);return a};function Oy(r,s,a={}){const l=a,{eventFilter:f}=l,F=Py(l,["eventFilter"]),{eventFilter:V,pause:ae,resume:ue,isActive:Ae}=gy(f);return{stop:Fy(r,s,_y(By({},F),{eventFilter:V})),pause:ae,resume:ue,isActive:Ae}}function e1(r,s,a){let l;Ui(a)?l={evaluating:a}:l=a||{};const{lazy:f=!1,evaluating:F=void 0,onError:V=cp}=l,ae=Qi(!f),ue=Qi(s);let Ae=0;return Km(async _e=>{if(!ae.value)return;Ae++;const ze=Ae;let Je=!1;F&&Promise.resolve().then(()=>{F.value=!0});try{const rt=await r(bt=>{_e(()=>{F&&(F.value=!1),Je||bt()})});ze===Ae&&(ue.value=rt)}catch(rt){V(rt)}finally{F&&ze===Ae&&(F.value=!1),Je=!0}}),f?Ni(()=>(ae.value=!0,ue.value)):ue}function Rf(r){const s=vn(r);return s!=null&&"$el"in s?s.$el:s}const vu=uc?window:void 0;uc&&window.document;uc&&window.navigator;uc&&window.location;function jy(...r){let s,a,l,f;if(dy(r[0])?([a,l,f]=r,s=vu):[s,a,l,f]=r,!s)return cp;let F=cp;const V=no(()=>Rf(s),ue=>{F(),ue&&(ue.addEventListener(a,l,f),F=()=>{ue.removeEventListener(a,l,f),F=cp})},{immediate:!0,flush:"post"}),ae=()=>{V(),F()};return Lp(ae),ae}function Ly(r,s={}){const{window:a=vu}=s,l=Boolean(a&&"matchMedia"in a);let f;const F=Qi(!1),V=()=>{!l||(f||(f=a.matchMedia(r)),F.value=f.matches)};return Dy(()=>{V(),f&&("addEventListener"in f?f.addEventListener("change",V):f.addListener(V),Lp(()=>{"removeEventListener"in f?f.removeEventListener("change",V):f.removeListener(V)}))}),F}const hf=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},gf="__vueuse_ssr_handlers__";hf[gf]=hf[gf]||{};const Iy=hf[gf];function ag(r,s){return Iy[r]||s}function My(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"||Array.isArray(r)?"object":Number.isNaN(r)?"any":"number"}const Ry={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()}};function zy(r,s,a,l={}){var f;const{flush:F="pre",deep:V=!0,listenToStorageChanges:ae=!0,writeDefaults:ue=!0,shallow:Ae,window:_e=vu,eventFilter:ze,onError:Je=kr=>{console.error(kr)}}=l,rt=(Ae?_c:Qi)(s);if(!a)try{a=ag("getDefaultStorage",()=>{var kr;return(kr=vu)==null?void 0:kr.localStorage})()}catch(kr){Je(kr)}if(!a)return rt;const bt=vn(s),Qt=My(bt),nr=(f=l.serializer)!=null?f:Ry[Qt],{pause:et,resume:pt}=Oy(rt,()=>dt(rt.value),{flush:F,deep:V,eventFilter:ze});return _e&&ae&&jy(_e,"storage",pr),pr(),rt;function dt(kr){try{kr==null?a.removeItem(r):a.setItem(r,nr.write(kr))}catch(Rr){Je(Rr)}}function Wt(kr){if(!(kr&&kr.key!==r)){et();try{const Rr=kr?kr.newValue:a.getItem(r);return Rr==null?(ue&&bt!==null&&a.setItem(r,nr.write(bt)),bt):typeof Rr!="string"?Rr:nr.read(Rr)}catch(Rr){Je(Rr)}finally{pt()}}}function pr(kr){kr&&kr.key!==r||(rt.value=Wt(kr))}}function ug(r){return Ly("(prefers-color-scheme: dark)",r)}var Hy=Object.defineProperty,Td=Object.getOwnPropertySymbols,Wy=Object.prototype.hasOwnProperty,$y=Object.prototype.propertyIsEnumerable,Nd=(r,s,a)=>s in r?Hy(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Uy=(r,s)=>{for(var a in s||(s={}))Wy.call(s,a)&&Nd(r,a,s[a]);if(Td)for(var a of Td(s))$y.call(s,a)&&Nd(r,a,s[a]);return r};function Vy(r={}){const{selector:s="html",attribute:a="class",window:l=vu,storage:f,storageKey:F="vueuse-color-scheme",listenToStorageChanges:V=!0,storageRef:ae}=r,ue=Uy({auto:"",light:"light",dark:"dark"},r.modes||{}),Ae=ug({window:l}),_e=Ni(()=>Ae.value?"dark":"light"),ze=ae||(F==null?Qi("auto"):zy(F,"auto",f,{window:l,listenToStorageChanges:V})),Je=Ni({get(){return ze.value==="auto"?_e.value:ze.value},set(nr){ze.value=nr}}),rt=ag("updateHTMLAttrs",(nr,et,pt)=>{const dt=l==null?void 0:l.document.querySelector(nr);if(!!dt)if(et==="class"){const Wt=pt.split(/\s/g);Object.values(ue).flatMap(pr=>(pr||"").split(/\s/g)).filter(Boolean).forEach(pr=>{Wt.includes(pr)?dt.classList.add(pr):dt.classList.remove(pr)})}else dt.setAttribute(et,pt)});function bt(nr){var et;rt(s,a,(et=ue[nr])!=null?et:nr)}function Qt(nr){r.onChanged?r.onChanged(nr,bt):bt(nr)}return no(Je,Qt,{flush:"post",immediate:!0}),by(()=>Qt(Je.value)),Je}var qy=Object.defineProperty,Jy=Object.defineProperties,Gy=Object.getOwnPropertyDescriptors,Bd=Object.getOwnPropertySymbols,Xy=Object.prototype.hasOwnProperty,Ky=Object.prototype.propertyIsEnumerable,_d=(r,s,a)=>s in r?qy(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Qy=(r,s)=>{for(var a in s||(s={}))Xy.call(s,a)&&_d(r,a,s[a]);if(Bd)for(var a of Bd(s))Ky.call(s,a)&&_d(r,a,s[a]);return r},Yy=(r,s)=>Jy(r,Gy(s));function Zy(r={}){const{valueDark:s="dark",valueLight:a="",window:l=vu}=r,f=Vy(Yy(Qy({},r),{onChanged:(ae,ue)=>{var Ae;r.onChanged?(Ae=r.onChanged)==null||Ae.call(r,ae==="dark"):ue(ae)},modes:{dark:s,light:a}})),F=ug({window:l});return Ni({get(){return f.value==="dark"},set(ae){ae===F.value?f.value="auto":f.value=ae?"dark":"light"}})}var Pd=Object.getOwnPropertySymbols,ev=Object.prototype.hasOwnProperty,tv=Object.prototype.propertyIsEnumerable,rv=(r,s)=>{var a={};for(var l in r)ev.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&Pd)for(var l of Pd(r))s.indexOf(l)<0&&tv.call(r,l)&&(a[l]=r[l]);return a};function nv(r,s,a={}){const l=a,{window:f=vu}=l,F=rv(l,["window"]);let V;const ae=f&&"ResizeObserver"in f,ue=()=>{V&&(V.disconnect(),V=void 0)},Ae=no(()=>Rf(r),ze=>{ue(),ae&&f&&ze&&(V=new ResizeObserver(s),V.observe(ze,F))},{immediate:!0,flush:"post"}),_e=()=>{ue(),Ae()};return Lp(_e),{isSupported:ae,stop:_e}}var iv=Object.defineProperty,ov=Object.defineProperties,sv=Object.getOwnPropertyDescriptors,Od=Object.getOwnPropertySymbols,av=Object.prototype.hasOwnProperty,uv=Object.prototype.propertyIsEnumerable,jd=(r,s,a)=>s in r?iv(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Wo=(r,s)=>{for(var a in s||(s={}))av.call(s,a)&&jd(r,a,s[a]);if(Od)for(var a of Od(s))uv.call(s,a)&&jd(r,a,s[a]);return r},kc=(r,s)=>ov(r,sv(s));const lv={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function Ld(r){return my(r,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Xp(r){return typeof Headers!="undefined"&&r instanceof Headers?Object.fromEntries([...r.entries()]):r}function Ip(r,...s){var a;const l=typeof AbortController=="function";let f={},F={immediate:!0,refetch:!1,timeout:0};const V={method:"GET",type:"text",payload:void 0};s.length>0&&(Ld(s[0])?F=Wo(Wo({},F),s[0]):f=s[0]),s.length>1&&Ld(s[1])&&(F=Wo(Wo({},F),s[1]));const{fetch:ae=(a=vu)==null?void 0:a.fetch,initialData:ue,timeout:Ae}=F,_e=Ic(),ze=Ic(),Je=Ic(),rt=Qi(!1),bt=Qi(!1),Qt=Qi(!1),nr=Qi(null),et=_c(null),pt=_c(null),dt=_c(ue),Wt=Ni(()=>l&&bt.value);let pr,kr;const Rr=()=>{l&&pr&&pr.abort()},Sn=Cr=>{bt.value=Cr,rt.value=!Cr};Ae&&(kr=Cy(Rr,Ae,{immediate:!1}));const Dn=async(Cr=!1)=>{var de;Sn(!0),pt.value=null,nr.value=null,Qt.value=!1,pr=void 0,l&&(pr=new AbortController,pr.signal.onabort=()=>Qt.value=!0,f=kc(Wo({},f),{signal:pr.signal}));const lr={method:V.method,headers:{}};if(V.payload){const Vn=Xp(lr.headers);V.payloadType&&(Vn["Content-Type"]=(de=lv[V.payloadType])!=null?de:V.payloadType),lr.body=V.payloadType==="json"?JSON.stringify(vn(V.payload)):vn(V.payload)}let Ut=!1;const Ar={url:vn(r),options:Wo(Wo({},lr),f),cancel:()=>{Ut=!0}};if(F.beforeFetch&&Object.assign(Ar,await F.beforeFetch(Ar)),Ut||!ae)return Sn(!1),Promise.resolve(null);let tn=null;return kr&&kr.start(),new Promise((Vn,ai)=>{var ui;ae(Ar.url,kc(Wo(Wo({},lr),Ar.options),{headers:Wo(Wo({},Xp(lr.headers)),Xp((ui=Ar.options)==null?void 0:ui.headers))})).then(async On=>{if(et.value=On,nr.value=On.status,tn=await On[V.type](),F.afterFetch&&nr.value>=200&&nr.value<300&&({data:tn}=await F.afterFetch({data:tn,response:On})),dt.value=tn,!On.ok)throw new Error(On.statusText);return _e.trigger(On),Vn(On)}).catch(async On=>{let li=On.message||On.name;return F.onFetchError&&({data:tn,error:li}=await F.onFetchError({data:tn,error:On,response:et.value})),dt.value=tn,pt.value=li,ze.trigger(On),Cr?ai(On):Vn(null)}).finally(()=>{Sn(!1),kr&&kr.stop(),Je.trigger(null)})})};no(()=>[vn(r),vn(F.refetch)],()=>vn(F.refetch)&&Dn(),{deep:!0});const Ir={isFinished:rt,statusCode:nr,response:et,error:pt,data:dt,isFetching:bt,canAbort:Wt,aborted:Qt,abort:Rr,execute:Dn,onFetchResponse:_e.on,onFetchError:ze.on,onFetchFinally:Je.on,get:Nr("GET"),put:Nr("PUT"),post:Nr("POST"),delete:Nr("DELETE"),patch:Nr("PATCH"),head:Nr("HEAD"),options:Nr("OPTIONS"),json:zt("json"),text:zt("text"),blob:zt("blob"),arrayBuffer:zt("arrayBuffer"),formData:zt("formData")};function Nr(Cr){return(de,lr)=>{if(!bt.value)return V.method=Cr,V.payload=de,V.payloadType=lr,Ui(V.payload)&&no(()=>[vn(V.payload),vn(F.refetch)],()=>vn(F.refetch)&&Dn(),{deep:!0}),!lr&&vn(de)&&Object.getPrototypeOf(vn(de))===Object.prototype&&(V.payloadType="json"),kc(Wo({},Ir),{then(Ut,Ar){return gn().then(Ut,Ar)}})}}function gn(){return new Promise((Cr,de)=>{xy(rt).toBe(!0).then(()=>Cr(Ir)).catch(lr=>de(lr))})}function zt(Cr){return()=>{if(!bt.value)return V.type=Cr,kc(Wo({},Ir),{then(de,lr){return gn().then(de,lr)}})}}return F.immediate&&setTimeout(Dn,0),kc(Wo({},Ir),{then(Cr,de){return gn().then(Cr,de)}})}var Id;(function(r){r.UP="UP",r.RIGHT="RIGHT",r.DOWN="DOWN",r.LEFT="LEFT",r.NONE="NONE"})(Id||(Id={}));function cv(r,s,a,l={}){var f;const{passive:F=!1,eventName:V,deep:ae=!1,defaultValue:ue}=l,Ae=If(),_e=a||(Ae==null?void 0:Ae.emit)||((f=Ae==null?void 0:Ae.$emit)==null?void 0:f.bind(Ae));let ze=V;s||(s="modelValue"),ze=V||ze||`update:${s.toString()}`;const Je=()=>fy(r[s])?r[s]:ue;if(F){const rt=Qi(Je());return no(()=>r[s],bt=>rt.value=bt),no(rt,bt=>{(bt!==r[s]||ae)&&_e(ze,bt)},{deep:ae}),rt}else return Ni({get(){return Je()},set(rt){_e(ze,rt)}})}function pv(r){const s=r.length;let a=-1,l,f="";const F=r.charCodeAt(0);for(;++a<s;){if(l=r.charCodeAt(a),l===0){f+="\uFFFD";continue}if(l===44){f+="\\,";continue}if(l>=1&&l<=31||l===127||a===0&&l>=48&&l<=57||a===1&&l>=48&&l<=57&&F===45){f+=`\\${l.toString(16)} `;continue}if(a===0&&s===1&&l===45){f+=`\\${r.charAt(a)}`;continue}if(l>=128||l===45||l===95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){f+=r.charAt(a);continue}f+=`\\${r.charAt(a)}`}return f}const Md=pv,fv=/^\[(.+?)~?="(.*)"\]$/,dv=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function hv(r){return r.match(fv)}function t1(r=""){return dv.test(r)}function gv(r,s){const a=[],l=[],f=new Set;Array.from(s).forEach(V=>{const ae=hv(V);ae?ae[2]?l.push(ae):f.add(ae[1]):f.add(V)});let F=0;return r.split(/[\s"'`;<>]/g).forEach(V=>{const ae=F+V.length;f.has(V)&&a.push([F,ae,V]),F=ae+1}),l.forEach(([,V,ae])=>{const ue=new RegExp(`(${Md(V)}=)(['"])[^\\2]*?${Md(ae)}[^\\2]*?\\2`,"g");Array.from(r.matchAll(ue)).forEach(Ae=>{const _e=Ae[1],Je=Ae[0].slice(_e.length).indexOf(ae);if(Je<0)return;const rt=Ae.index+_e.length+Je,bt=rt+ae.length;a.push([rt,bt,`[${V}="${ae}"]`])})}),a}var Jc=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function lg(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var ka={exports:{}};(function(r,s){(function(a,l){r.exports=l()})(Jc,function(){var a=navigator.userAgent,l=navigator.platform,f=/gecko\/\d/i.test(a),F=/MSIE \d/.test(a),V=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(a),ae=/Edge\/(\d+)/.exec(a),ue=F||V||ae,Ae=ue&&(F?document.documentMode||6:+(ae||V)[1]),_e=!ae&&/WebKit\//.test(a),ze=_e&&/Qt\/\d+\.\d+/.test(a),Je=!ae&&/Chrome\/(\d+)/.exec(a),rt=Je&&+Je[1],bt=/Opera\//.test(a),Qt=/Apple Computer/.test(navigator.vendor),nr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(a),et=/PhantomJS/.test(a),pt=Qt&&(/Mobile\/\w+/.test(a)||navigator.maxTouchPoints>2),dt=/Android/.test(a),Wt=pt||dt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(a),pr=pt||/Mac/.test(l),kr=/\bCrOS\b/.test(a),Rr=/win/i.test(l),Sn=bt&&a.match(/Version\/(\d*\.\d*)/);Sn&&(Sn=Number(Sn[1])),Sn&&Sn>=15&&(bt=!1,_e=!0);var Dn=pr&&(ze||bt&&(Sn==null||Sn<12.11)),Ir=f||ue&&Ae>=9;function Nr(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var gn=function(e,t){var o=e.className,i=Nr(t).exec(o);if(i){var n=o.slice(i.index+i[0].length);e.className=o.slice(0,i.index)+(n?i[1]+n:"")}};function zt(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Cr(e,t){return zt(e).appendChild(t)}function de(e,t,o,i){var n=document.createElement(e);if(o&&(n.className=o),i&&(n.style.cssText=i),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var u=0;u<t.length;++u)n.appendChild(t[u]);return n}function lr(e,t,o,i){var n=de(e,t,o,i);return n.setAttribute("role","presentation"),n}var Ut;document.createRange?Ut=function(e,t,o,i){var n=document.createRange();return n.setEnd(i||e,o),n.setStart(e,t),n}:Ut=function(e,t,o){var i=document.body.createTextRange();try{i.moveToElementText(e.parentNode)}catch{return i}return i.collapse(!0),i.moveEnd("character",o),i.moveStart("character",t),i};function Ar(e,t){if(t.nodeType==3&&(t=t.parentNode),e.contains)return e.contains(t);do if(t.nodeType==11&&(t=t.host),t==e)return!0;while(t=t.parentNode)}function tn(){var e;try{e=document.activeElement}catch{e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function Vn(e,t){var o=e.className;Nr(t).test(o)||(e.className+=(o?" ":"")+t)}function ai(e,t){for(var o=e.split(" "),i=0;i<o.length;i++)o[i]&&!Nr(o[i]).test(t)&&(t+=" "+o[i]);return t}var ui=function(e){e.select()};pt?ui=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ue&&(ui=function(e){try{e.select()}catch{}});function On(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function li(e,t,o){t||(t={});for(var i in e)e.hasOwnProperty(i)&&(o!==!1||!t.hasOwnProperty(i))&&(t[i]=e[i]);return t}function Gt(e,t,o,i,n){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var u=i||0,c=n||0;;){var y=e.indexOf(" ",u);if(y<0||y>=t)return c+(t-u);c+=y-u,c+=o-c%o,u=y+1}}var ar=function(){this.id=null,this.f=null,this.time=0,this.handler=On(this.onTimeout,this)};ar.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},ar.prototype.set=function(e,t){this.f=t;var o=+new Date+e;(!this.id||o<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=o)};function Pt(e,t){for(var o=0;o<e.length;++o)if(e[o]==t)return o;return-1}var Dr=50,rn={toString:function(){return"CodeMirror.Pass"}},Hr={scroll:!1},Or={origin:"*mouse"},Zr={origin:"+move"};function Ue(e,t,o){for(var i=0,n=0;;){var u=e.indexOf(" ",i);u==-1&&(u=e.length);var c=u-i;if(u==e.length||n+c>=t)return i+Math.min(c,t-n);if(n+=u-i,n+=o-n%o,i=u+1,n>=t)return i}}var nt=[""];function It(e){for(;nt.length<=e;)nt.push(kt(nt)+" ");return nt[e]}function kt(e){return e[e.length-1]}function or(e,t){for(var o=[],i=0;i<e.length;i++)o[i]=t(e[i],i);return o}function gr(e,t,o){for(var i=0,n=o(t);i<e.length&&o(e[i])<=n;)i++;e.splice(i,0,t)}function Er(){}function Sr(e,t){var o;return Object.create?o=Object.create(e):(Er.prototype=e,o=new Er),t&&li(t,o),o}var dr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function We(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||dr.test(e))}function Rt(e,t){return t?t.source.indexOf("\\w")>-1&&We(e)?!0:t.test(e):We(e)}function it(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var _r=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ln(e){return e.charCodeAt(0)>=768&&_r.test(e)}function zn(e,t,o){for(;(o<0?t>0:t<e.length)&&ln(e.charAt(t));)t+=o;return t}function Jn(e,t,o){for(var i=t>o?-1:1;;){if(t==o)return t;var n=(t+o)/2,u=i<0?Math.ceil(n):Math.floor(n);if(u==t)return e(u)?t:o;e(u)?o=u:t=u+i}}function Gn(e,t,o,i){if(!e)return i(t,o,"ltr",0);for(var n=!1,u=0;u<e.length;++u){var c=e[u];(c.from<o&&c.to>t||t==o&&c.to==t)&&(i(Math.max(c.from,t),Math.min(c.to,o),c.level==1?"rtl":"ltr",u),n=!0)}n||i(t,o,"ltr")}var kn=null;function di(e,t,o){var i;kn=null;for(var n=0;n<e.length;++n){var u=e[n];if(u.from<t&&u.to>t)return n;u.to==t&&(u.from!=u.to&&o=="before"?i=n:kn=n),u.from==t&&(u.from!=u.to&&o!="before"?i=n:kn=n)}return i!=null?i:kn}var Mr=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function o(L){return L<=247?e.charAt(L):1424<=L&&L<=1524?"R":1536<=L&&L<=1785?t.charAt(L-1536):1774<=L&&L<=2220?"r":8192<=L&&L<=8203?"w":L==8204?"b":"L"}var i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,u=/[LRr]/,c=/[Lb1n]/,y=/[1n]/;function _(L,ve,he){this.level=L,this.from=ve,this.to=he}return function(L,ve){var he=ve=="ltr"?"L":"R";if(L.length==0||ve=="ltr"&&!i.test(L))return!1;for(var Ze=L.length,Le=[],Ct=0;Ct<Ze;++Ct)Le.push(o(L.charCodeAt(Ct)));for(var lt=0,_t=he;lt<Ze;++lt){var er=Le[lt];er=="m"?Le[lt]=_t:_t=er}for(var wt=0,Mt=he;wt<Ze;++wt){var ir=Le[wt];ir=="1"&&Mt=="r"?Le[wt]="n":u.test(ir)&&(Mt=ir,ir=="r"&&(Le[wt]="R"))}for(var Ve=1,wr=Le[0];Ve<Ze-1;++Ve){var Pr=Le[Ve];Pr=="+"&&wr=="1"&&Le[Ve+1]=="1"?Le[Ve]="1":Pr==","&&wr==Le[Ve+1]&&(wr=="1"||wr=="n")&&(Le[Ve]=wr),wr=Pr}for(var on=0;on<Ze;++on){var ti=Le[on];if(ti==",")Le[on]="N";else if(ti=="%"){var Hn=void 0;for(Hn=on+1;Hn<Ze&&Le[Hn]=="%";++Hn);for(var Ai=on&&Le[on-1]=="!"||Hn<Ze&&Le[Hn]=="1"?"1":"N",De=on;De<Hn;++De)Le[De]=Ai;on=Hn-1}}for(var yt=0,xr=he;yt<Ze;++yt){var pn=Le[yt];xr=="L"&&pn=="1"?Le[yt]="L":u.test(pn)&&(xr=pn)}for(var hn=0;hn<Ze;++hn)if(n.test(Le[hn])){var Wn=void 0;for(Wn=hn+1;Wn<Ze&&n.test(Le[Wn]);++Wn);for(var Xn=(hn?Le[hn-1]:he)=="L",ri=(Wn<Ze?Le[Wn]:he)=="L",An=Xn==ri?Xn?"L":"R":he,Nn=hn;Nn<Wn;++Nn)Le[Nn]=An;hn=Wn-1}for(var Hi=[],hs,$i=0;$i<Ze;)if(c.test(Le[$i])){var $l=$i;for(++$i;$i<Ze&&c.test(Le[$i]);++$i);Hi.push(new _(0,$l,$i))}else{var gs=$i,Ca=Hi.length,Ks=ve=="rtl"?1:0;for(++$i;$i<Ze&&Le[$i]!="L";++$i);for(var Ki=gs;Ki<$i;)if(y.test(Le[Ki])){gs<Ki&&(Hi.splice(Ca,0,new _(1,gs,Ki)),Ca+=Ks);var Ul=Ki;for(++Ki;Ki<$i&&y.test(Le[Ki]);++Ki);Hi.splice(Ca,0,new _(2,Ul,Ki)),Ca+=Ks,gs=Ki}else++Ki;gs<$i&&Hi.splice(Ca,0,new _(1,gs,$i))}return ve=="ltr"&&(Hi[0].level==1&&(hs=L.match(/^\s+/))&&(Hi[0].from=hs[0].length,Hi.unshift(new _(0,0,hs[0].length))),kt(Hi).level==1&&(hs=L.match(/\s+$/))&&(kt(Hi).to-=hs[0].length,Hi.push(new _(0,Ze-hs[0].length,Ze)))),ve=="rtl"?Hi.reverse():Hi}}();function Ht(e,t){var o=e.order;return o==null&&(o=e.order=Mr(e.text,t)),o}var $t=[],ht=function(e,t,o){if(e.addEventListener)e.addEventListener(t,o,!1);else if(e.attachEvent)e.attachEvent("on"+t,o);else{var i=e._handlers||(e._handlers={});i[t]=(i[t]||$t).concat(o)}};function Zt(e,t){return e._handlers&&e._handlers[t]||$t}function Tt(e,t,o){if(e.removeEventListener)e.removeEventListener(t,o,!1);else if(e.detachEvent)e.detachEvent("on"+t,o);else{var i=e._handlers,n=i&&i[t];if(n){var u=Pt(n,o);u>-1&&(i[t]=n.slice(0,u).concat(n.slice(u+1)))}}}function yr(e,t){var o=Zt(e,t);if(!!o.length)for(var i=Array.prototype.slice.call(arguments,2),n=0;n<o.length;++n)o[n].apply(null,i)}function at(e,t,o){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),yr(e,o||t.type,e,t),Fn(t)||t.codemirrorIgnore}function $r(e){var t=e._handlers&&e._handlers.cursorActivity;if(!!t)for(var o=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),i=0;i<t.length;++i)Pt(o,t[i])==-1&&o.push(t[i])}function Jr(e,t){return Zt(e,t).length>0}function En(e){e.prototype.on=function(t,o){ht(this,t,o)},e.prototype.off=function(t,o){Tt(this,t,o)}}function vt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function cn(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Fn(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Ln(e){vt(e),cn(e)}function _n(e){return e.target||e.srcElement}function Qn(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),pr&&e.ctrlKey&&t==1&&(t=3),t}var pi=function(){if(ue&&Ae<9)return!1;var e=de("div");return"draggable"in e||"dragDrop"in e}(),fr;function ft(e){if(fr==null){var t=de("span","\u200B");Cr(e,de("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(fr=t.offsetWidth<=1&&t.offsetHeight>2&&!(ue&&Ae<8))}var o=fr?de("span","\u200B"):de("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var ot;function xt(e){if(ot!=null)return ot;var t=Cr(e,document.createTextNode("A\u062EA")),o=Ut(t,0,1).getBoundingClientRect(),i=Ut(t,1,2).getBoundingClientRect();return zt(e),!o||o.left==o.right?!1:ot=i.right-o.right<3}var Ot=`
|
|
2
|
+
|
|
3
|
+
b`.split(/\n/).length!=3?function(e){for(var t=0,o=[],i=e.length;t<=i;){var n=e.indexOf(`
|
|
4
|
+
`,t);n==-1&&(n=e.length);var u=e.slice(t,e.charAt(n-1)=="\r"?n-1:n),c=u.indexOf("\r");c!=-1?(o.push(u.slice(0,c)),t+=c+1):(o.push(u),t=n+1)}return o}:function(e){return e.split(/\r\n?|\n/)},Bt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Xt=function(){var e=de("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),sr=null;function hr(e){if(sr!=null)return sr;var t=Cr(e,de("span","x")),o=t.getBoundingClientRect(),i=Ut(t,0,1).getBoundingClientRect();return sr=Math.abs(o.left-i.left)>1}var Fr={},Lr={};function Vr(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fr[e]=t}function Kr(e,t){Lr[e]=t}function Qr(e){if(typeof e=="string"&&Lr.hasOwnProperty(e))e=Lr[e];else if(e&&typeof e.name=="string"&&Lr.hasOwnProperty(e.name)){var t=Lr[e.name];typeof t=="string"&&(t={name:t}),e=Sr(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Qr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Qr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function mn(e,t){t=Qr(t);var o=Fr[t.name];if(!o)return mn(e,"text/plain");var i=o(e,t);if(Gr.hasOwnProperty(t.name)){var n=Gr[t.name];for(var u in n)!n.hasOwnProperty(u)||(i.hasOwnProperty(u)&&(i["_"+u]=i[u]),i[u]=n[u])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var c in t.modeProps)i[c]=t.modeProps[c];return i}var Gr={};function fn(e,t){var o=Gr.hasOwnProperty(e)?Gr[e]:Gr[e]={};li(t,o)}function Zn(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var o={};for(var i in t){var n=t[i];n instanceof Array&&(n=n.concat([])),o[i]=n}return o}function ii(e,t){for(var o;e.innerMode&&(o=e.innerMode(t),!(!o||o.mode==e));)t=o.state,e=o.mode;return o||{mode:e,state:t}}function ci(e,t,o){return e.startState?e.startState(t,o):!0}var Tn=function(e,t,o){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};Tn.prototype.eol=function(){return this.pos>=this.string.length},Tn.prototype.sol=function(){return this.pos==this.lineStart},Tn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Tn.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Tn.prototype.eat=function(e){var t=this.string.charAt(this.pos),o;if(typeof e=="string"?o=t==e:o=t&&(e.test?e.test(t):e(t)),o)return++this.pos,t},Tn.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Tn.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Tn.prototype.skipToEnd=function(){this.pos=this.string.length},Tn.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Tn.prototype.backUp=function(e){this.pos-=e},Tn.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Gt(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Gt(this.string,this.lineStart,this.tabSize):0)},Tn.prototype.indentation=function(){return Gt(this.string,null,this.tabSize)-(this.lineStart?Gt(this.string,this.lineStart,this.tabSize):0)},Tn.prototype.match=function(e,t,o){if(typeof e=="string"){var i=function(c){return o?c.toLowerCase():c},n=this.string.substr(this.pos,e.length);if(i(n)==i(e))return t!==!1&&(this.pos+=e.length),!0}else{var u=this.string.slice(this.pos).match(e);return u&&u.index>0?null:(u&&t!==!1&&(this.pos+=u[0].length),u)}},Tn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Tn.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Tn.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Tn.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Oe(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var o=e;!o.lines;)for(var i=0;;++i){var n=o.children[i],u=n.chunkSize();if(t<u){o=n;break}t-=u}return o.lines[t]}function _i(e,t,o){var i=[],n=t.line;return e.iter(t.line,o.line+1,function(u){var c=u.text;n==o.line&&(c=c.slice(0,o.ch)),n==t.line&&(c=c.slice(t.ch)),i.push(c),++n}),i}function Si(e,t,o){var i=[];return e.iter(t,o,function(n){i.push(n.text)}),i}function In(e,t){var o=t-e.height;if(o)for(var i=e;i;i=i.parent)i.height+=o}function yn(e){if(e.parent==null)return null;for(var t=e.parent,o=Pt(t.lines,e),i=t.parent;i;t=i,i=i.parent)for(var n=0;i.children[n]!=t;++n)o+=i.children[n].chunkSize();return o+t.first}function Pi(e,t){var o=e.first;e:do{for(var i=0;i<e.children.length;++i){var n=e.children[i],u=n.height;if(t<u){e=n;continue e}t-=u,o+=n.chunkSize()}return o}while(!e.lines);for(var c=0;c<e.lines.length;++c){var y=e.lines[c],_=y.height;if(t<_)break;t-=_}return o+c}function yo(e,t){return t>=e.first&&t<e.first+e.size}function xi(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function b(e,t,o){if(o===void 0&&(o=null),!(this instanceof b))return new b(e,t,o);this.line=e,this.ch=t,this.sticky=o}function Pe(e,t){return e.line-t.line||e.ch-t.ch}function tr(e,t){return e.sticky==t.sticky&&Pe(e,t)==0}function br(e){return b(e.line,e.ch)}function nn(e,t){return Pe(e,t)<0?t:e}function $n(e,t){return Pe(e,t)<0?e:t}function Rn(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function qr(e,t){if(t.line<e.first)return b(e.first,0);var o=e.first+e.size-1;return t.line>o?b(o,Oe(e,o).text.length):hi(t,Oe(e,t.line).text.length)}function hi(e,t){var o=e.ch;return o==null||o>t?b(e.line,t):o<0?b(e.line,0):e}function Ta(e,t){for(var o=[],i=0;i<t.length;i++)o[i]=qr(e,t[i]);return o}var ea=function(e,t){this.state=e,this.lookAhead=t},vo=function(e,t,o,i){this.state=t,this.doc=e,this.line=o,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};vo.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},vo.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},vo.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},vo.fromSaved=function(e,t,o){return t instanceof ea?new vo(e,Zn(e.mode,t.state),o,t.lookAhead):new vo(e,Zn(e.mode,t),o)},vo.prototype.save=function(e){var t=e!==!1?Zn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ea(t,this.maxLookAhead):t};function Du(e,t,o,i){var n=[e.state.modeGen],u={};Cu(e,t.text,e.doc.mode,o,function(L,ve){return n.push(L,ve)},u,i);for(var c=o.state,y=function(L){o.baseTokens=n;var ve=e.state.overlays[L],he=1,Ze=0;o.state=!0,Cu(e,t.text,ve.mode,o,function(Le,Ct){for(var lt=he;Ze<Le;){var _t=n[he];_t>Le&&n.splice(he,1,Le,n[he+1],_t),he+=2,Ze=Math.min(Le,_t)}if(!!Ct)if(ve.opaque)n.splice(lt,he-lt,Le,"overlay "+Ct),he=lt+2;else for(;lt<he;lt+=2){var er=n[lt+1];n[lt+1]=(er?er+" ":"")+"overlay "+Ct}},u),o.state=c,o.baseTokens=null,o.baseTokenPos=1},_=0;_<e.state.overlays.length;++_)y(_);return{styles:n,classes:u.bgClass||u.textClass?u:null}}function bu(e,t,o){if(!t.styles||t.styles[0]!=e.state.modeGen){var i=ms(e,yn(t)),n=t.text.length>e.options.maxHighlightLength&&Zn(e.doc.mode,i.state),u=Du(e,t,i);n&&(i.state=n),t.stateAfter=i.save(!n),t.styles=u.styles,u.classes?t.styleClasses=u.classes:t.styleClasses&&(t.styleClasses=null),o===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function ms(e,t,o){var i=e.doc,n=e.display;if(!i.mode.startState)return new vo(i,!0,t);var u=bn(e,t,o),c=u>i.first&&Oe(i,u-1).stateAfter,y=c?vo.fromSaved(i,c,u):new vo(i,ci(i.mode),u);return i.iter(u,t,function(_){Na(e,_.text,y);var L=y.line;_.stateAfter=L==t-1||L%5==0||L>=n.viewFrom&&L<n.viewTo?y.save():null,y.nextLine()}),o&&(i.modeFrontier=y.line),y}function Na(e,t,o,i){var n=e.doc.mode,u=new Tn(t,e.options.tabSize,o);for(u.start=u.pos=i||0,t==""&&Ba(n,o.state);!u.eol();)_a(n,u,o.state),u.start=u.pos}function Ba(e,t){if(e.blankLine)return e.blankLine(t);if(!!e.innerMode){var o=ii(e,t);if(o.mode.blankLine)return o.mode.blankLine(o.state)}}function _a(e,t,o,i){for(var n=0;n<10;n++){i&&(i[0]=ii(e,o).mode);var u=e.token(t,o);if(t.pos>t.start)return u}throw new Error("Mode "+e.name+" failed to advance stream.")}var Pa=function(e,t,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=o};function ta(e,t,o,i){var n=e.doc,u=n.mode,c;t=qr(n,t);var y=Oe(n,t.line),_=ms(e,t.line,o),L=new Tn(y.text,e.options.tabSize,_),ve;for(i&&(ve=[]);(i||L.pos<t.ch)&&!L.eol();)L.start=L.pos,c=_a(u,L,_.state),i&&ve.push(new Pa(L,c,Zn(n.mode,_.state)));return i?ve:new Pa(L,c,_.state)}function xu(e,t){if(e)for(;;){var o=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!o)break;e=e.slice(0,o.index)+e.slice(o.index+o[0].length);var i=o[1]?"bgClass":"textClass";t[i]==null?t[i]=o[2]:new RegExp("(?:^|\\s)"+o[2]+"(?:$|\\s)").test(t[i])||(t[i]+=" "+o[2])}return e}function Cu(e,t,o,i,n,u,c){var y=o.flattenSpans;y==null&&(y=e.options.flattenSpans);var _=0,L=null,ve=new Tn(t,e.options.tabSize,i),he,Ze=e.options.addModeClass&&[null];for(t==""&&xu(Ba(o,i.state),u);!ve.eol();){if(ve.pos>e.options.maxHighlightLength?(y=!1,c&&Na(e,t,i,ve.pos),ve.pos=t.length,he=null):he=xu(_a(o,ve,i.state,Ze),u),Ze){var Le=Ze[0].name;Le&&(he="m-"+(he?Le+" "+he:Le))}if(!y||L!=he){for(;_<ve.start;)_=Math.min(ve.start,_+5e3),n(_,L);L=he}ve.start=ve.pos}for(;_<ve.pos;){var Ct=Math.min(ve.pos,_+5e3);n(Ct,L),_=Ct}}function bn(e,t,o){for(var i,n,u=e.doc,c=o?-1:t-(e.doc.mode.innerMode?1e3:100),y=t;y>c;--y){if(y<=u.first)return u.first;var _=Oe(u,y-1),L=_.stateAfter;if(L&&(!o||y+(L instanceof ea?L.lookAhead:0)<=u.modeFrontier))return y;var ve=Gt(_.text,null,e.options.tabSize);(n==null||i>ve)&&(n=y-1,i=ve)}return n}function Eu(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var o=e.first,i=t-1;i>o;i--){var n=Oe(e,i).stateAfter;if(n&&(!(n instanceof ea)||i+n.lookAhead<t)){o=i+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,o)}}var wu=!1,Vo=!1;function Dl(){wu=!0}function Au(){Vo=!0}function Oa(e,t,o){this.marker=e,this.from=t,this.to=o}function Ls(e,t){if(e)for(var o=0;o<e.length;++o){var i=e[o];if(i.marker==t)return i}}function ys(e,t){for(var o,i=0;i<e.length;++i)e[i]!=t&&(o||(o=[])).push(e[i]);return o}function cc(e,t,o){var i=o&&window.WeakSet&&(o.markedSpans||(o.markedSpans=new WeakSet));i&&e.markedSpans&&i.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],i&&i.add(e.markedSpans)),t.marker.attachLine(e)}function Su(e,t,o){var i;if(e)for(var n=0;n<e.length;++n){var u=e[n],c=u.marker,y=u.from==null||(c.inclusiveLeft?u.from<=t:u.from<t);if(y||u.from==t&&c.type=="bookmark"&&(!o||!u.marker.insertLeft)){var _=u.to==null||(c.inclusiveRight?u.to>=t:u.to>t);(i||(i=[])).push(new Oa(c,u.from,_?null:u.to))}}return i}function pc(e,t,o){var i;if(e)for(var n=0;n<e.length;++n){var u=e[n],c=u.marker,y=u.to==null||(c.inclusiveRight?u.to>=t:u.to>t);if(y||u.from==t&&c.type=="bookmark"&&(!o||u.marker.insertLeft)){var _=u.from==null||(c.inclusiveLeft?u.from<=t:u.from<t);(i||(i=[])).push(new Oa(c,_?null:u.from-t,u.to==null?null:u.to-t))}}return i}function Fu(e,t){if(t.full)return null;var o=yo(e,t.from.line)&&Oe(e,t.from.line).markedSpans,i=yo(e,t.to.line)&&Oe(e,t.to.line).markedSpans;if(!o&&!i)return null;var n=t.from.ch,u=t.to.ch,c=Pe(t.from,t.to)==0,y=Su(o,n,c),_=pc(i,u,c),L=t.text.length==1,ve=kt(t.text).length+(L?n:0);if(y)for(var he=0;he<y.length;++he){var Ze=y[he];if(Ze.to==null){var Le=Ls(_,Ze.marker);Le?L&&(Ze.to=Le.to==null?null:Le.to+ve):Ze.to=n}}if(_)for(var Ct=0;Ct<_.length;++Ct){var lt=_[Ct];if(lt.to!=null&&(lt.to+=ve),lt.from==null){var _t=Ls(y,lt.marker);_t||(lt.from=ve,L&&(y||(y=[])).push(lt))}else lt.from+=ve,L&&(y||(y=[])).push(lt)}y&&(y=bl(y)),_&&_!=y&&(_=bl(_));var er=[y];if(!L){var wt=t.text.length-2,Mt;if(wt>0&&y)for(var ir=0;ir<y.length;++ir)y[ir].to==null&&(Mt||(Mt=[])).push(new Oa(y[ir].marker,null,null));for(var Ve=0;Ve<wt;++Ve)er.push(Mt);er.push(_)}return er}function bl(e){for(var t=0;t<e.length;++t){var o=e[t];o.from!=null&&o.from==o.to&&o.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function fc(e,t,o){var i=null;if(e.iter(t.line,o.line+1,function(Le){if(Le.markedSpans)for(var Ct=0;Ct<Le.markedSpans.length;++Ct){var lt=Le.markedSpans[Ct].marker;lt.readOnly&&(!i||Pt(i,lt)==-1)&&(i||(i=[])).push(lt)}}),!i)return null;for(var n=[{from:t,to:o}],u=0;u<i.length;++u)for(var c=i[u],y=c.find(0),_=0;_<n.length;++_){var L=n[_];if(!(Pe(L.to,y.from)<0||Pe(L.from,y.to)>0)){var ve=[_,1],he=Pe(L.from,y.from),Ze=Pe(L.to,y.to);(he<0||!c.inclusiveLeft&&!he)&&ve.push({from:L.from,to:y.from}),(Ze>0||!c.inclusiveRight&&!Ze)&&ve.push({from:y.to,to:L.to}),n.splice.apply(n,ve),_+=ve.length-3}}return n}function Bo(e){var t=e.markedSpans;if(!!t){for(var o=0;o<t.length;++o)t[o].marker.detachLine(e);e.markedSpans=null}}function fo(e,t){if(!!t){for(var o=0;o<t.length;++o)t[o].marker.attachLine(e);e.markedSpans=t}}function Gi(e){return e.inclusiveLeft?-1:0}function oo(e){return e.inclusiveRight?1:0}function _o(e,t){var o=e.lines.length-t.lines.length;if(o!=0)return o;var i=e.find(),n=t.find(),u=Pe(i.from,n.from)||Gi(e)-Gi(t);if(u)return-u;var c=Pe(i.to,n.to)||oo(e)-oo(t);return c||t.id-e.id}function vs(e,t){var o=Vo&&e.markedSpans,i;if(o)for(var n=void 0,u=0;u<o.length;++u)n=o[u],n.marker.collapsed&&(t?n.from:n.to)==null&&(!i||_o(i,n.marker)<0)&&(i=n.marker);return i}function ja(e){return vs(e,!0)}function ra(e){return vs(e,!1)}function jn(e,t){var o=Vo&&e.markedSpans,i;if(o)for(var n=0;n<o.length;++n){var u=o[n];u.marker.collapsed&&(u.from==null||u.from<t)&&(u.to==null||u.to>t)&&(!i||_o(i,u.marker)<0)&&(i=u.marker)}return i}function La(e,t,o,i,n){var u=Oe(e,t),c=Vo&&u.markedSpans;if(c)for(var y=0;y<c.length;++y){var _=c[y];if(!!_.marker.collapsed){var L=_.marker.find(0),ve=Pe(L.from,o)||Gi(_.marker)-Gi(n),he=Pe(L.to,i)||oo(_.marker)-oo(n);if(!(ve>=0&&he<=0||ve<=0&&he>=0)&&(ve<=0&&(_.marker.inclusiveRight&&n.inclusiveLeft?Pe(L.to,o)>=0:Pe(L.to,o)>0)||ve>=0&&(_.marker.inclusiveRight&&n.inclusiveLeft?Pe(L.from,i)<=0:Pe(L.from,i)<0)))return!0}}}function so(e){for(var t;t=ja(e);)e=t.find(-1,!0).line;return e}function na(e){for(var t;t=ra(e);)e=t.find(1,!0).line;return e}function Ia(e){for(var t,o;t=ra(e);)e=t.find(1,!0).line,(o||(o=[])).push(e);return o}function Is(e,t){var o=Oe(e,t),i=so(o);return o==i?t:yn(i)}function Ma(e,t){if(t>e.lastLine())return t;var o=Oe(e,t),i;if(!Po(e,o))return t;for(;i=ra(o);)o=i.find(1,!0).line;return yn(o)+1}function Po(e,t){var o=Vo&&t.markedSpans;if(o){for(var i=void 0,n=0;n<o.length;++n)if(i=o[n],!!i.marker.collapsed){if(i.from==null)return!0;if(!i.marker.widgetNode&&i.from==0&&i.marker.inclusiveLeft&&ia(e,t,i))return!0}}}function ia(e,t,o){if(o.to==null){var i=o.marker.find(1,!0);return ia(e,i.line,Ls(i.line.markedSpans,o.marker))}if(o.marker.inclusiveRight&&o.to==t.text.length)return!0;for(var n=void 0,u=0;u<t.markedSpans.length;++u)if(n=t.markedSpans[u],n.marker.collapsed&&!n.marker.widgetNode&&n.from==o.to&&(n.to==null||n.to!=o.from)&&(n.marker.inclusiveLeft||o.marker.inclusiveRight)&&ia(e,t,n))return!0}function Do(e){e=so(e);for(var t=0,o=e.parent,i=0;i<o.lines.length;++i){var n=o.lines[i];if(n==e)break;t+=n.height}for(var u=o.parent;u;o=u,u=o.parent)for(var c=0;c<u.children.length;++c){var y=u.children[c];if(y==o)break;t+=y.height}return t}function Ms(e){if(e.height==0)return 0;for(var t=e.text.length,o,i=e;o=ja(i);){var n=o.find(0,!0);i=n.from.line,t+=n.from.ch-n.to.ch}for(i=e;o=ra(i);){var u=o.find(0,!0);t-=i.text.length-u.from.ch,i=u.to.line,t+=i.text.length-u.to.ch}return t}function Rs(e){var t=e.display,o=e.doc;t.maxLine=Oe(o,o.first),t.maxLineLength=Ms(t.maxLine),t.maxLineChanged=!0,o.iter(function(i){var n=Ms(i);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=i)})}var Zo=function(e,t,o){this.text=e,fo(this,t),this.height=o?o(this):1};Zo.prototype.lineNo=function(){return yn(this)},En(Zo);function oa(e,t,o,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Bo(e),fo(e,o);var n=i?i(e):1;n!=e.height&&In(e,n)}function qo(e){e.parent=null,Bo(e)}var Ra={},ku={};function za(e,t){if(!e||/^\s*$/.test(e))return null;var o=t.addModeClass?ku:Ra;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function zs(e,t){var o=lr("span",null,null,_e?"padding-right: .1px":null),i={pre:lr("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var n=0;n<=(t.rest?t.rest.length:0);n++){var u=n?t.rest[n-1]:t.line,c=void 0;i.pos=0,i.addToken=Ds,xt(e.display.measure)&&(c=Ht(u,e.doc.direction))&&(i.addToken=hc(i.addToken,c)),i.map=[];var y=t!=e.display.externalMeasured&&yn(u);Ha(u,i,bu(e,u,y)),u.styleClasses&&(u.styleClasses.bgClass&&(i.bgClass=ai(u.styleClasses.bgClass,i.bgClass||"")),u.styleClasses.textClass&&(i.textClass=ai(u.styleClasses.textClass,i.textClass||""))),i.map.length==0&&i.map.push(0,0,i.content.appendChild(ft(e.display.measure))),n==0?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(_e){var _=i.content.lastChild;(/\bcm-tab\b/.test(_.className)||_.querySelector&&_.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return yr(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=ai(i.pre.className,i.textClass||"")),i}function dc(e){var t=de("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Ds(e,t,o,i,n,u,c){if(!!t){var y=e.splitSpaces?bo(t,e.trailingSpace):t,_=e.cm.state.specialChars,L=!1,ve;if(!_.test(t))e.col+=t.length,ve=document.createTextNode(y),e.map.push(e.pos,e.pos+t.length,ve),ue&&Ae<9&&(L=!0),e.pos+=t.length;else{ve=document.createDocumentFragment();for(var he=0;;){_.lastIndex=he;var Ze=_.exec(t),Le=Ze?Ze.index-he:t.length-he;if(Le){var Ct=document.createTextNode(y.slice(he,he+Le));ue&&Ae<9?ve.appendChild(de("span",[Ct])):ve.appendChild(Ct),e.map.push(e.pos,e.pos+Le,Ct),e.col+=Le,e.pos+=Le}if(!Ze)break;he+=Le+1;var lt=void 0;if(Ze[0]==" "){var _t=e.cm.options.tabSize,er=_t-e.col%_t;lt=ve.appendChild(de("span",It(er),"cm-tab")),lt.setAttribute("role","presentation"),lt.setAttribute("cm-text"," "),e.col+=er}else Ze[0]=="\r"||Ze[0]==`
|
|
5
|
+
`?(lt=ve.appendChild(de("span",Ze[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),lt.setAttribute("cm-text",Ze[0]),e.col+=1):(lt=e.cm.options.specialCharPlaceholder(Ze[0]),lt.setAttribute("cm-text",Ze[0]),ue&&Ae<9?ve.appendChild(de("span",[lt])):ve.appendChild(lt),e.col+=1);e.map.push(e.pos,e.pos+1,lt),e.pos++}}if(e.trailingSpace=y.charCodeAt(t.length-1)==32,o||i||n||L||u||c){var wt=o||"";i&&(wt+=i),n&&(wt+=n);var Mt=de("span",[ve],wt,u);if(c)for(var ir in c)c.hasOwnProperty(ir)&&ir!="style"&&ir!="class"&&Mt.setAttribute(ir,c[ir]);return e.content.appendChild(Mt)}e.content.appendChild(ve)}}function bo(e,t){if(e.length>1&&!/ /.test(e))return e;for(var o=t,i="",n=0;n<e.length;n++){var u=e.charAt(n);u==" "&&o&&(n==e.length-1||e.charCodeAt(n+1)==32)&&(u="\xA0"),i+=u,o=u==" "}return i}function hc(e,t){return function(o,i,n,u,c,y,_){n=n?n+" cm-force-border":"cm-force-border";for(var L=o.pos,ve=L+i.length;;){for(var he=void 0,Ze=0;Ze<t.length&&(he=t[Ze],!(he.to>L&&he.from<=L));Ze++);if(he.to>=ve)return e(o,i,n,u,c,y,_);e(o,i.slice(0,he.to-L),n,u,null,y,_),u=null,i=i.slice(he.to-L),L=he.to}}}function Tu(e,t,o,i){var n=!i&&o.widgetNode;n&&e.map.push(e.pos,e.pos+t,n),!i&&e.cm.display.input.needsContentAttribute&&(n||(n=e.content.appendChild(document.createElement("span"))),n.setAttribute("cm-marker",o.id)),n&&(e.cm.display.input.setUneditable(n),e.content.appendChild(n)),e.pos+=t,e.trailingSpace=!1}function Ha(e,t,o){var i=e.markedSpans,n=e.text,u=0;if(!i){for(var c=1;c<o.length;c+=2)t.addToken(t,n.slice(u,u=o[c]),za(o[c+1],t.cm.options));return}for(var y=n.length,_=0,L=1,ve="",he,Ze,Le=0,Ct,lt,_t,er,wt;;){if(Le==_){Ct=lt=_t=Ze="",wt=null,er=null,Le=1/0;for(var Mt=[],ir=void 0,Ve=0;Ve<i.length;++Ve){var wr=i[Ve],Pr=wr.marker;if(Pr.type=="bookmark"&&wr.from==_&&Pr.widgetNode)Mt.push(Pr);else if(wr.from<=_&&(wr.to==null||wr.to>_||Pr.collapsed&&wr.to==_&&wr.from==_)){if(wr.to!=null&&wr.to!=_&&Le>wr.to&&(Le=wr.to,lt=""),Pr.className&&(Ct+=" "+Pr.className),Pr.css&&(Ze=(Ze?Ze+";":"")+Pr.css),Pr.startStyle&&wr.from==_&&(_t+=" "+Pr.startStyle),Pr.endStyle&&wr.to==Le&&(ir||(ir=[])).push(Pr.endStyle,wr.to),Pr.title&&((wt||(wt={})).title=Pr.title),Pr.attributes)for(var on in Pr.attributes)(wt||(wt={}))[on]=Pr.attributes[on];Pr.collapsed&&(!er||_o(er.marker,Pr)<0)&&(er=wr)}else wr.from>_&&Le>wr.from&&(Le=wr.from)}if(ir)for(var ti=0;ti<ir.length;ti+=2)ir[ti+1]==Le&&(lt+=" "+ir[ti]);if(!er||er.from==_)for(var Hn=0;Hn<Mt.length;++Hn)Tu(t,0,Mt[Hn]);if(er&&(er.from||0)==_){if(Tu(t,(er.to==null?y+1:er.to)-_,er.marker,er.from==null),er.to==null)return;er.to==_&&(er=!1)}}if(_>=y)break;for(var Ai=Math.min(y,Le);;){if(ve){var De=_+ve.length;if(!er){var yt=De>Ai?ve.slice(0,Ai-_):ve;t.addToken(t,yt,he?he+Ct:Ct,_t,_+yt.length==Le?lt:"",Ze,wt)}if(De>=Ai){ve=ve.slice(Ai-_),_=Ai;break}_=De,_t=""}ve=n.slice(u,u=o[L++]),he=za(o[L++],t.cm.options)}}}function Wa(e,t,o){this.line=t,this.rest=Ia(t),this.size=this.rest?yn(kt(this.rest))-o+1:1,this.node=this.text=null,this.hidden=Po(e,t)}function sa(e,t,o){for(var i=[],n,u=t;u<o;u=n){var c=new Wa(e.doc,Oe(e.doc,u),u);n=u+c.size,i.push(c)}return i}var Xi=null;function gc(e){Xi?Xi.ops.push(e):e.ownsGroup=Xi={ops:[e],delayedCallbacks:[]}}function mc(e){var t=e.delayedCallbacks,o=0;do{for(;o<t.length;o++)t[o].call(null);for(var i=0;i<e.ops.length;i++){var n=e.ops[i];if(n.cursorActivityHandlers)for(;n.cursorActivityCalled<n.cursorActivityHandlers.length;)n.cursorActivityHandlers[n.cursorActivityCalled++].call(null,n.cm)}}while(o<t.length)}function yc(e,t){var o=e.ownsGroup;if(!!o)try{mc(o)}finally{Xi=null,t(o)}}var Oo=null;function Bi(e,t){var o=Zt(e,t);if(!!o.length){var i=Array.prototype.slice.call(arguments,2),n;Xi?n=Xi.delayedCallbacks:Oo?n=Oo:(n=Oo=[],setTimeout(Nu,0));for(var u=function(y){n.push(function(){return o[y].apply(null,i)})},c=0;c<o.length;++c)u(c)}}function Nu(){var e=Oo;Oo=null;for(var t=0;t<e.length;++t)e[t]()}function xl(e,t,o,i){for(var n=0;n<t.changes.length;n++){var u=t.changes[n];u=="text"?Ua(e,t):u=="gutter"?Bu(e,t,o,i):u=="class"?bs(e,t):u=="widget"&&_u(e,t,i)}t.changes=null}function xo(e){return e.node==e.text&&(e.node=de("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),ue&&Ae<8&&(e.node.style.zIndex=2)),e.node}function vc(e,t){var o=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(o&&(o+=" CodeMirror-linebackground"),t.background)o?t.background.className=o:(t.background.parentNode.removeChild(t.background),t.background=null);else if(o){var i=xo(t);t.background=i.insertBefore(de("div",null,o),i.firstChild),e.display.input.setUneditable(t.background)}}function $a(e,t){var o=e.display.externalMeasured;return o&&o.line==t.line?(e.display.externalMeasured=null,t.measure=o.measure,o.built):zs(e,t)}function Ua(e,t){var o=t.text.className,i=$a(e,t);t.text==t.node&&(t.node=i.pre),t.text.parentNode.replaceChild(i.pre,t.text),t.text=i.pre,i.bgClass!=t.bgClass||i.textClass!=t.textClass?(t.bgClass=i.bgClass,t.textClass=i.textClass,bs(e,t)):o&&(t.text.className=o)}function bs(e,t){vc(e,t),t.line.wrapClass?xo(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var o=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=o||""}function Bu(e,t,o,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var n=xo(t);t.gutterBackground=de("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),n.insertBefore(t.gutterBackground,t.text)}var u=t.line.gutterMarkers;if(e.options.lineNumbers||u){var c=xo(t),y=t.gutter=de("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(y.setAttribute("aria-hidden","true"),e.display.input.setUneditable(y),c.insertBefore(y,t.text),t.line.gutterClass&&(y.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!u||!u["CodeMirror-linenumbers"])&&(t.lineNumber=y.appendChild(de("div",xi(e.options,o),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),u)for(var _=0;_<e.display.gutterSpecs.length;++_){var L=e.display.gutterSpecs[_].className,ve=u.hasOwnProperty(L)&&u[L];ve&&y.appendChild(de("div",[ve],"CodeMirror-gutter-elt","left: "+i.gutterLeft[L]+"px; width: "+i.gutterWidth[L]+"px"))}}}function _u(e,t,o){t.alignable&&(t.alignable=null);for(var i=Nr("CodeMirror-linewidget"),n=t.node.firstChild,u=void 0;n;n=u)u=n.nextSibling,i.test(n.className)&&t.node.removeChild(n);Pu(e,t,o)}function aa(e,t,o,i){var n=$a(e,t);return t.text=t.node=n.pre,n.bgClass&&(t.bgClass=n.bgClass),n.textClass&&(t.textClass=n.textClass),bs(e,t),Bu(e,t,o,i),Pu(e,t,i),t.node}function Pu(e,t,o){if(Yi(e,t.line,t,o,!0),t.rest)for(var i=0;i<t.rest.length;i++)Yi(e,t.rest[i],t,o,!1)}function Yi(e,t,o,i,n){if(!!t.widgets)for(var u=xo(o),c=0,y=t.widgets;c<y.length;++c){var _=y[c],L=de("div",[_.node],"CodeMirror-linewidget"+(_.className?" "+_.className:""));_.handleMouseEvents||L.setAttribute("cm-ignore-events","true"),es(_,L,o,i),e.display.input.setUneditable(L),n&&_.above?u.insertBefore(L,o.gutter||o.text):u.appendChild(L),Bi(_,"redraw")}}function es(e,t,o,i){if(e.noHScroll){(o.alignable||(o.alignable=[])).push(t);var n=i.wrapperWidth;t.style.left=i.fixedPos+"px",e.coverGutter||(n-=i.gutterTotalWidth,t.style.paddingLeft=i.gutterTotalWidth+"px"),t.style.width=n+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-i.gutterTotalWidth+"px"))}function Mi(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!Ar(document.body,e.node)){var o="position: relative;";e.coverGutter&&(o+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(o+="width: "+t.display.wrapper.clientWidth+"px;"),Cr(t.display.measure,de("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function ao(e,t){for(var o=_n(t);o!=e.wrapper;o=o.parentNode)if(!o||o.nodeType==1&&o.getAttribute("cm-ignore-events")=="true"||o.parentNode==e.sizer&&o!=e.mover)return!0}function ts(e){return e.lineSpace.offsetTop}function jo(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Va(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=Cr(e.measure,de("pre","x","CodeMirror-line-like")),o=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,i={left:parseInt(o.paddingLeft),right:parseInt(o.paddingRight)};return!isNaN(i.left)&&!isNaN(i.right)&&(e.cachedPaddingH=i),i}function Co(e){return Dr-e.display.nativeBarWidth}function Jo(e){return e.display.scroller.clientWidth-Co(e)-e.display.barWidth}function Hs(e){return e.display.scroller.clientHeight-Co(e)-e.display.barHeight}function Dc(e,t,o){var i=e.options.lineWrapping,n=i&&Jo(e);if(!t.measure.heights||i&&t.measure.width!=n){var u=t.measure.heights=[];if(i){t.measure.width=n;for(var c=t.text.firstChild.getClientRects(),y=0;y<c.length-1;y++){var _=c[y],L=c[y+1];Math.abs(_.bottom-L.bottom)>2&&u.push((_.bottom+L.top)/2-o.top)}}u.push(o.bottom-o.top)}}function qa(e,t,o){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var i=0;i<e.rest.length;i++)if(e.rest[i]==t)return{map:e.measure.maps[i],cache:e.measure.caches[i]};for(var n=0;n<e.rest.length;n++)if(yn(e.rest[n])>o)return{map:e.measure.maps[n],cache:e.measure.caches[n],before:!0}}}function Ou(e,t){t=so(t);var o=yn(t),i=e.display.externalMeasured=new Wa(e.doc,t,o);i.lineN=o;var n=i.built=zs(e,i);return i.text=n.pre,Cr(e.display.lineMeasure,n.pre),i}function ju(e,t,o,i){return ho(e,Lo(e,t),o,i)}function Eo(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[go(e,t)];var o=e.display.externalMeasured;if(o&&t>=o.lineN&&t<o.lineN+o.size)return o}function Lo(e,t){var o=yn(t),i=Eo(e,o);i&&!i.text?i=null:i&&i.changes&&(xl(e,i,o,Io(e)),e.curOp.forceUpdate=!0),i||(i=Ou(e,t));var n=qa(i,t,o);return{line:t,view:i,rect:null,map:n.map,cache:n.cache,before:n.before,hasHeights:!1}}function ho(e,t,o,i,n){t.before&&(o=-1);var u=o+(i||""),c;return t.cache.hasOwnProperty(u)?c=t.cache[u]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Dc(e,t.view,t.rect),t.hasHeights=!0),c=bc(e,t,o,i),c.bogus||(t.cache[u]=c)),{left:c.left,right:c.right,top:n?c.rtop:c.top,bottom:n?c.rbottom:c.bottom}}var Lu={left:0,right:0,top:0,bottom:0};function Iu(e,t,o){for(var i,n,u,c,y,_,L=0;L<e.length;L+=3)if(y=e[L],_=e[L+1],t<y?(n=0,u=1,c="left"):t<_?(n=t-y,u=n+1):(L==e.length-3||t==_&&e[L+3]>t)&&(u=_-y,n=u-1,t>=_&&(c="right")),n!=null){if(i=e[L+2],y==_&&o==(i.insertLeft?"left":"right")&&(c=o),o=="left"&&n==0)for(;L&&e[L-2]==e[L-3]&&e[L-1].insertLeft;)i=e[(L-=3)+2],c="left";if(o=="right"&&n==_-y)for(;L<e.length-3&&e[L+3]==e[L+4]&&!e[L+5].insertLeft;)i=e[(L+=3)+2],c="right";break}return{node:i,start:n,end:u,collapse:c,coverStart:y,coverEnd:_}}function Mu(e,t){var o=Lu;if(t=="left")for(var i=0;i<e.length&&(o=e[i]).left==o.right;i++);else for(var n=e.length-1;n>=0&&(o=e[n]).left==o.right;n--);return o}function bc(e,t,o,i){var n=Iu(t.map,o,i),u=n.node,c=n.start,y=n.end,_=n.collapse,L;if(u.nodeType==3){for(var ve=0;ve<4;ve++){for(;c&&ln(t.line.text.charAt(n.coverStart+c));)--c;for(;n.coverStart+y<n.coverEnd&&ln(t.line.text.charAt(n.coverStart+y));)++y;if(ue&&Ae<9&&c==0&&y==n.coverEnd-n.coverStart?L=u.parentNode.getBoundingClientRect():L=Mu(Ut(u,c,y).getClientRects(),i),L.left||L.right||c==0)break;y=c,c=c-1,_="right"}ue&&Ae<11&&(L=Cl(e.display.measure,L))}else{c>0&&(_=i="right");var he;e.options.lineWrapping&&(he=u.getClientRects()).length>1?L=he[i=="right"?he.length-1:0]:L=u.getBoundingClientRect()}if(ue&&Ae<9&&!c&&(!L||!L.left&&!L.right)){var Ze=u.parentNode.getClientRects()[0];Ze?L={left:Ze.left,right:Ze.left+Es(e.display),top:Ze.top,bottom:Ze.bottom}:L=Lu}for(var Le=L.top-t.rect.top,Ct=L.bottom-t.rect.top,lt=(Le+Ct)/2,_t=t.view.measure.heights,er=0;er<_t.length-1&&!(lt<_t[er]);er++);var wt=er?_t[er-1]:0,Mt=_t[er],ir={left:(_=="right"?L.right:L.left)-t.rect.left,right:(_=="left"?L.left:L.right)-t.rect.left,top:wt,bottom:Mt};return!L.left&&!L.right&&(ir.bogus=!0),e.options.singleCursorHeightPerLine||(ir.rtop=Le,ir.rbottom=Ct),ir}function Cl(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!hr(e))return t;var o=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*o,right:t.right*o,top:t.top*i,bottom:t.bottom*i}}function El(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Ru(e){e.display.externalMeasure=null,zt(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)El(e.display.view[t])}function Ws(e){Ru(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function zu(){return Je&&dt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function wl(){return Je&&dt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Hu(e){var t=so(e),o=t.widgets,i=0;if(o)for(var n=0;n<o.length;++n)o[n].above&&(i+=Mi(o[n]));return i}function Ja(e,t,o,i,n){if(!n){var u=Hu(t);o.top+=u,o.bottom+=u}if(i=="line")return o;i||(i="local");var c=Do(t);if(i=="local"?c+=ts(e.display):c-=e.display.viewOffset,i=="page"||i=="window"){var y=e.display.lineSpace.getBoundingClientRect();c+=y.top+(i=="window"?0:wl());var _=y.left+(i=="window"?0:zu());o.left+=_,o.right+=_}return o.top+=c,o.bottom+=c,o}function Ci(e,t,o){if(o=="div")return t;var i=t.left,n=t.top;if(o=="page")i-=zu(),n-=wl();else if(o=="local"||!o){var u=e.display.sizer.getBoundingClientRect();i+=u.left,n+=u.top}var c=e.display.lineSpace.getBoundingClientRect();return{left:i-c.left,top:n-c.top}}function Ri(e,t,o,i,n){return i||(i=Oe(e.doc,t.line)),Ja(e,i,ju(e,i,t.ch,n),o)}function uo(e,t,o,i,n,u){i=i||Oe(e.doc,t.line),n||(n=Lo(e,i));function c(Ct,lt){var _t=ho(e,n,Ct,lt?"right":"left",u);return lt?_t.left=_t.right:_t.right=_t.left,Ja(e,i,_t,o)}var y=Ht(i,e.doc.direction),_=t.ch,L=t.sticky;if(_>=i.text.length?(_=i.text.length,L="before"):_<=0&&(_=0,L="after"),!y)return c(L=="before"?_-1:_,L=="before");function ve(Ct,lt,_t){var er=y[lt],wt=er.level==1;return c(_t?Ct-1:Ct,wt!=_t)}var he=di(y,_,L),Ze=kn,Le=ve(_,he,L=="before");return Ze!=null&&(Le.other=ve(_,Ze,L!="before")),Le}function Wu(e,t){var o=0;t=qr(e.doc,t),e.options.lineWrapping||(o=Es(e.display)*t.ch);var i=Oe(e.doc,t.line),n=Do(i)+ts(e.display);return{left:o,right:o,top:n,bottom:n+i.height}}function $s(e,t,o,i,n){var u=b(e,t,o);return u.xRel=n,i&&(u.outside=i),u}function rs(e,t,o){var i=e.doc;if(o+=e.display.viewOffset,o<0)return $s(i.first,0,null,-1,-1);var n=Pi(i,o),u=i.first+i.size-1;if(n>u)return $s(i.first+i.size-1,Oe(i,u).text.length,null,1,1);t<0&&(t=0);for(var c=Oe(i,n);;){var y=Al(e,c,n,t,o),_=jn(c,y.ch+(y.xRel>0||y.outside>0?1:0));if(!_)return y;var L=_.find(1);if(L.line==n)return L;c=Oe(i,n=L.line)}}function $u(e,t,o,i){i-=Hu(t);var n=t.text.length,u=Jn(function(c){return ho(e,o,c-1).bottom<=i},n,0);return n=Jn(function(c){return ho(e,o,c).top>i},u,n),{begin:u,end:n}}function xs(e,t,o,i){o||(o=Lo(e,t));var n=Ja(e,t,ho(e,o,i),"line").top;return $u(e,t,o,n)}function gi(e,t,o,i){return e.bottom<=o?!1:e.top>o?!0:(i?e.left:e.right)>t}function Al(e,t,o,i,n){n-=Do(t);var u=Lo(e,t),c=Hu(t),y=0,_=t.text.length,L=!0,ve=Ht(t,e.doc.direction);if(ve){var he=(e.options.lineWrapping?Fl:Sl)(e,t,o,u,ve,i,n);L=he.level!=1,y=L?he.from:he.to-1,_=L?he.to:he.from-1}var Ze=null,Le=null,Ct=Jn(function(Ve){var wr=ho(e,u,Ve);return wr.top+=c,wr.bottom+=c,gi(wr,i,n,!1)?(wr.top<=n&&wr.left<=i&&(Ze=Ve,Le=wr),!0):!1},y,_),lt,_t,er=!1;if(Le){var wt=i-Le.left<Le.right-i,Mt=wt==L;Ct=Ze+(Mt?0:1),_t=Mt?"after":"before",lt=wt?Le.left:Le.right}else{!L&&(Ct==_||Ct==y)&&Ct++,_t=Ct==0?"after":Ct==t.text.length?"before":ho(e,u,Ct-(L?1:0)).bottom+c<=n==L?"after":"before";var ir=uo(e,b(o,Ct,_t),"line",t,u);lt=ir.left,er=n<ir.top?-1:n>=ir.bottom?1:0}return Ct=zn(t.text,Ct,1),$s(o,Ct,_t,er,i-lt)}function Sl(e,t,o,i,n,u,c){var y=Jn(function(he){var Ze=n[he],Le=Ze.level!=1;return gi(uo(e,b(o,Le?Ze.to:Ze.from,Le?"before":"after"),"line",t,i),u,c,!0)},0,n.length-1),_=n[y];if(y>0){var L=_.level!=1,ve=uo(e,b(o,L?_.from:_.to,L?"after":"before"),"line",t,i);gi(ve,u,c,!0)&&ve.top>c&&(_=n[y-1])}return _}function Fl(e,t,o,i,n,u,c){var y=$u(e,t,i,c),_=y.begin,L=y.end;/\s/.test(t.text.charAt(L-1))&&L--;for(var ve=null,he=null,Ze=0;Ze<n.length;Ze++){var Le=n[Ze];if(!(Le.from>=L||Le.to<=_)){var Ct=Le.level!=1,lt=ho(e,i,Ct?Math.min(L,Le.to)-1:Math.max(_,Le.from)).right,_t=lt<u?u-lt+1e9:lt-u;(!ve||he>_t)&&(ve=Le,he=_t)}}return ve||(ve=n[n.length-1]),ve.from<_&&(ve={from:_,to:ve.to,level:ve.level}),ve.to>L&&(ve={from:ve.from,to:L,level:ve.level}),ve}var ns;function Cs(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(ns==null){ns=de("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)ns.appendChild(document.createTextNode("x")),ns.appendChild(de("br"));ns.appendChild(document.createTextNode("x"))}Cr(e.measure,ns);var o=ns.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),zt(e.measure),o||1}function Es(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=de("span","xxxxxxxxxx"),o=de("pre",[t],"CodeMirror-line-like");Cr(e.measure,o);var i=t.getBoundingClientRect(),n=(i.right-i.left)/10;return n>2&&(e.cachedCharWidth=n),n||10}function Io(e){for(var t=e.display,o={},i={},n=t.gutters.clientLeft,u=t.gutters.firstChild,c=0;u;u=u.nextSibling,++c){var y=e.display.gutterSpecs[c].className;o[y]=u.offsetLeft+u.clientLeft+n,i[y]=u.clientWidth}return{fixedPos:Uu(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:o,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function Uu(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Vu(e){var t=Cs(e.display),o=e.options.lineWrapping,i=o&&Math.max(5,e.display.scroller.clientWidth/Es(e.display)-3);return function(n){if(Po(e.doc,n))return 0;var u=0;if(n.widgets)for(var c=0;c<n.widgets.length;c++)n.widgets[c].height&&(u+=n.widgets[c].height);return o?u+(Math.ceil(n.text.length/i)||1)*t:u+t}}function qu(e){var t=e.doc,o=Vu(e);t.iter(function(i){var n=o(i);n!=i.height&&In(i,n)})}function ws(e,t,o,i){var n=e.display;if(!o&&_n(t).getAttribute("cm-not-content")=="true")return null;var u,c,y=n.lineSpace.getBoundingClientRect();try{u=t.clientX-y.left,c=t.clientY-y.top}catch{return null}var _=rs(e,u,c),L;if(i&&_.xRel>0&&(L=Oe(e.doc,_.line).text).length==_.ch){var ve=Gt(L,L.length,e.options.tabSize)-L.length;_=b(_.line,Math.max(0,Math.round((u-Va(e.display).left)/Es(e.display))-ve))}return _}function go(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var o=e.display.view,i=0;i<o.length;i++)if(t-=o[i].size,t<0)return i}function qi(e,t,o,i){t==null&&(t=e.doc.first),o==null&&(o=e.doc.first+e.doc.size),i||(i=0);var n=e.display;if(i&&o<n.viewTo&&(n.updateLineNumbers==null||n.updateLineNumbers>t)&&(n.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=n.viewTo)Vo&&Is(e.doc,t)<n.viewTo&&lo(e);else if(o<=n.viewFrom)Vo&&Ma(e.doc,o+i)>n.viewFrom?lo(e):(n.viewFrom+=i,n.viewTo+=i);else if(t<=n.viewFrom&&o>=n.viewTo)lo(e);else if(t<=n.viewFrom){var u=Ga(e,o,o+i,1);u?(n.view=n.view.slice(u.index),n.viewFrom=u.lineN,n.viewTo+=i):lo(e)}else if(o>=n.viewTo){var c=Ga(e,t,t,-1);c?(n.view=n.view.slice(0,c.index),n.viewTo=c.lineN):lo(e)}else{var y=Ga(e,t,t,-1),_=Ga(e,o,o+i,1);y&&_?(n.view=n.view.slice(0,y.index).concat(sa(e,y.lineN,_.lineN)).concat(n.view.slice(_.index)),n.viewTo+=i):lo(e)}var L=n.externalMeasured;L&&(o<L.lineN?L.lineN+=i:t<L.lineN+L.size&&(n.externalMeasured=null))}function qn(e,t,o){e.curOp.viewChanged=!0;var i=e.display,n=e.display.externalMeasured;if(n&&t>=n.lineN&&t<n.lineN+n.size&&(i.externalMeasured=null),!(t<i.viewFrom||t>=i.viewTo)){var u=i.view[go(e,t)];if(u.node!=null){var c=u.changes||(u.changes=[]);Pt(c,o)==-1&&c.push(o)}}}function lo(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Ga(e,t,o,i){var n=go(e,t),u,c=e.display.view;if(!Vo||o==e.doc.first+e.doc.size)return{index:n,lineN:o};for(var y=e.display.viewFrom,_=0;_<n;_++)y+=c[_].size;if(y!=t){if(i>0){if(n==c.length-1)return null;u=y+c[n].size-t,n++}else u=y-t;t+=u,o+=u}for(;Is(e.doc,o)!=o;){if(n==(i<0?0:c.length-1))return null;o+=i*c[n-(i<0?1:0)].size,n+=i}return{index:n,lineN:o}}function kl(e,t,o){var i=e.display,n=i.view;n.length==0||t>=i.viewTo||o<=i.viewFrom?(i.view=sa(e,t,o),i.viewFrom=t):(i.viewFrom>t?i.view=sa(e,t,i.viewFrom).concat(i.view):i.viewFrom<t&&(i.view=i.view.slice(go(e,t))),i.viewFrom=t,i.viewTo<o?i.view=i.view.concat(sa(e,i.viewTo,o)):i.viewTo>o&&(i.view=i.view.slice(0,go(e,o)))),i.viewTo=o}function Ju(e){for(var t=e.display.view,o=0,i=0;i<t.length;i++){var n=t[i];!n.hidden&&(!n.node||n.changes)&&++o}return o}function is(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Xa(e,t){t===void 0&&(t=!0);var o=e.doc,i={},n=i.cursors=document.createDocumentFragment(),u=i.selection=document.createDocumentFragment(),c=e.options.$customCursor;c&&(t=!0);for(var y=0;y<o.sel.ranges.length;y++)if(!(!t&&y==o.sel.primIndex)){var _=o.sel.ranges[y];if(!(_.from().line>=e.display.viewTo||_.to().line<e.display.viewFrom)){var L=_.empty();if(c){var ve=c(e,_);ve&&ua(e,ve,n)}else(L||e.options.showCursorWhenSelecting)&&ua(e,_.head,n);L||Gu(e,_,u)}}return i}function ua(e,t,o){var i=uo(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),n=o.appendChild(de("div","\xA0","CodeMirror-cursor"));if(n.style.left=i.left+"px",n.style.top=i.top+"px",n.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var u=Ri(e,t,"div",null,null),c=u.right-u.left;n.style.width=(c>0?c:e.defaultCharWidth())+"px"}if(i.other){var y=o.appendChild(de("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));y.style.display="",y.style.left=i.other.left+"px",y.style.top=i.other.top+"px",y.style.height=(i.other.bottom-i.other.top)*.85+"px"}}function Us(e,t){return e.top-t.top||e.left-t.left}function Gu(e,t,o){var i=e.display,n=e.doc,u=document.createDocumentFragment(),c=Va(e.display),y=c.left,_=Math.max(i.sizerWidth,Jo(e)-i.sizer.offsetLeft)-c.right,L=n.direction=="ltr";function ve(Mt,ir,Ve,wr){ir<0&&(ir=0),ir=Math.round(ir),wr=Math.round(wr),u.appendChild(de("div",null,"CodeMirror-selected","position: absolute; left: "+Mt+`px;
|
|
6
|
+
top: `+ir+"px; width: "+(Ve==null?_-Mt:Ve)+`px;
|
|
7
|
+
height: `+(wr-ir)+"px"))}function he(Mt,ir,Ve){var wr=Oe(n,Mt),Pr=wr.text.length,on,ti;function Hn(yt,xr){return Ri(e,b(Mt,yt),"div",wr,xr)}function Ai(yt,xr,pn){var hn=xs(e,wr,null,yt),Wn=xr=="ltr"==(pn=="after")?"left":"right",Xn=pn=="after"?hn.begin:hn.end-(/\s/.test(wr.text.charAt(hn.end-1))?2:1);return Hn(Xn,Wn)[Wn]}var De=Ht(wr,n.direction);return Gn(De,ir||0,Ve==null?Pr:Ve,function(yt,xr,pn,hn){var Wn=pn=="ltr",Xn=Hn(yt,Wn?"left":"right"),ri=Hn(xr-1,Wn?"right":"left"),An=ir==null&&yt==0,Nn=Ve==null&&xr==Pr,Hi=hn==0,hs=!De||hn==De.length-1;if(ri.top-Xn.top<=3){var $i=(L?An:Nn)&&Hi,$l=(L?Nn:An)&&hs,gs=$i?y:(Wn?Xn:ri).left,Ca=$l?_:(Wn?ri:Xn).right;ve(gs,Xn.top,Ca-gs,Xn.bottom)}else{var Ks,Ki,Ul,$p;Wn?(Ks=L&&An&&Hi?y:Xn.left,Ki=L?_:Ai(yt,pn,"before"),Ul=L?y:Ai(xr,pn,"after"),$p=L&&Nn&&hs?_:ri.right):(Ks=L?Ai(yt,pn,"before"):y,Ki=!L&&An&&Hi?_:Xn.right,Ul=!L&&Nn&&hs?y:ri.left,$p=L?Ai(xr,pn,"after"):_),ve(Ks,Xn.top,Ki-Ks,Xn.bottom),Xn.bottom<ri.top&&ve(y,Xn.bottom,null,ri.top),ve(Ul,ri.top,$p-Ul,ri.bottom)}(!on||Us(Xn,on)<0)&&(on=Xn),Us(ri,on)<0&&(on=ri),(!ti||Us(Xn,ti)<0)&&(ti=Xn),Us(ri,ti)<0&&(ti=ri)}),{start:on,end:ti}}var Ze=t.from(),Le=t.to();if(Ze.line==Le.line)he(Ze.line,Ze.ch,Le.ch);else{var Ct=Oe(n,Ze.line),lt=Oe(n,Le.line),_t=so(Ct)==so(lt),er=he(Ze.line,Ze.ch,_t?Ct.text.length+1:null).end,wt=he(Le.line,_t?0:null,Le.ch).start;_t&&(er.top<wt.top-2?(ve(er.right,er.top,null,er.bottom),ve(y,wt.top,wt.left,wt.bottom)):ve(er.right,er.top,wt.left-er.right,er.bottom)),er.bottom<wt.top&&ve(y,er.bottom,null,wt.top)}o.appendChild(u)}function la(e){if(!!e.state.focused){var t=e.display;clearInterval(t.blinker);var o=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||os(e),t.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Ka(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Vs(e))}function ca(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&os(e))},100)}function Vs(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(yr(e,"focus",e,t),e.state.focused=!0,Vn(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),_e&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),la(e))}function os(e,t){e.state.delayingBlurEvent||(e.state.focused&&(yr(e,"blur",e,t),e.state.focused=!1,gn(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function ss(e){for(var t=e.display,o=t.lineDiv.offsetTop,i=Math.max(0,t.scroller.getBoundingClientRect().top),n=t.lineDiv.getBoundingClientRect().top,u=0,c=0;c<t.view.length;c++){var y=t.view[c],_=e.options.lineWrapping,L=void 0,ve=0;if(!y.hidden){if(n+=y.line.height,ue&&Ae<8){var he=y.node.offsetTop+y.node.offsetHeight;L=he-o,o=he}else{var Ze=y.node.getBoundingClientRect();L=Ze.bottom-Ze.top,!_&&y.text.firstChild&&(ve=y.text.firstChild.getBoundingClientRect().right-Ze.left-1)}var Le=y.line.height-L;if((Le>.005||Le<-.005)&&(n<i&&(u-=Le),In(y.line,L),pa(y.line),y.rest))for(var Ct=0;Ct<y.rest.length;Ct++)pa(y.rest[Ct]);if(ve>e.display.sizerWidth){var lt=Math.ceil(ve/Es(e.display));lt>e.display.maxLineLength&&(e.display.maxLineLength=lt,e.display.maxLine=y.line,e.display.maxLineChanged=!0)}}}Math.abs(u)>2&&(t.scroller.scrollTop+=u)}function pa(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var o=e.widgets[t],i=o.node.parentNode;i&&(o.height=i.offsetHeight)}}function As(e,t,o){var i=o&&o.top!=null?Math.max(0,o.top):e.scroller.scrollTop;i=Math.floor(i-ts(e));var n=o&&o.bottom!=null?o.bottom:i+e.wrapper.clientHeight,u=Pi(t,i),c=Pi(t,n);if(o&&o.ensure){var y=o.ensure.from.line,_=o.ensure.to.line;y<u?(u=y,c=Pi(t,Do(Oe(t,y))+e.wrapper.clientHeight)):Math.min(_,t.lastLine())>=c&&(u=Pi(t,Do(Oe(t,_))-e.wrapper.clientHeight),c=_)}return{from:u,to:Math.max(c,u+1)}}function Xu(e,t){if(!at(e,"scrollCursorIntoView")){var o=e.display,i=o.sizer.getBoundingClientRect(),n=null;if(t.top+i.top<0?n=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(n=!1),n!=null&&!et){var u=de("div","\u200B",null,`position: absolute;
|
|
8
|
+
top: `+(t.top-o.viewOffset-ts(e.display))+`px;
|
|
9
|
+
height: `+(t.bottom-t.top+Co(e)+o.barHeight)+`px;
|
|
10
|
+
left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(u),u.scrollIntoView(n),e.display.lineSpace.removeChild(u)}}}function Ku(e,t,o,i){i==null&&(i=0);var n;!e.options.lineWrapping&&t==o&&(o=t.sticky=="before"?b(t.line,t.ch+1,"before"):t,t=t.ch?b(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var u=0;u<5;u++){var c=!1,y=uo(e,t),_=!o||o==t?y:uo(e,o);n={left:Math.min(y.left,_.left),top:Math.min(y.top,_.top)-i,right:Math.max(y.left,_.left),bottom:Math.max(y.bottom,_.bottom)+i};var L=Qu(e,n),ve=e.doc.scrollTop,he=e.doc.scrollLeft;if(L.scrollTop!=null&&(qs(e,L.scrollTop),Math.abs(e.doc.scrollTop-ve)>1&&(c=!0)),L.scrollLeft!=null&&(Mo(e,L.scrollLeft),Math.abs(e.doc.scrollLeft-he)>1&&(c=!0)),!c)break}return n}function xc(e,t){var o=Qu(e,t);o.scrollTop!=null&&qs(e,o.scrollTop),o.scrollLeft!=null&&Mo(e,o.scrollLeft)}function Qu(e,t){var o=e.display,i=Cs(e.display);t.top<0&&(t.top=0);var n=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,u=Hs(e),c={};t.bottom-t.top>u&&(t.bottom=t.top+u);var y=e.doc.height+jo(o),_=t.top<i,L=t.bottom>y-i;if(t.top<n)c.scrollTop=_?0:t.top;else if(t.bottom>n+u){var ve=Math.min(t.top,(L?y:t.bottom)-u);ve!=n&&(c.scrollTop=ve)}var he=e.options.fixedGutter?0:o.gutters.offsetWidth,Ze=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-he,Le=Jo(e)-o.gutters.offsetWidth,Ct=t.right-t.left>Le;return Ct&&(t.right=t.left+Le),t.left<10?c.scrollLeft=0:t.left<Ze?c.scrollLeft=Math.max(0,t.left+he-(Ct?0:10)):t.right>Le+Ze-3&&(c.scrollLeft=t.right+(Ct?0:10)-Le),c}function fa(e,t){t!=null&&(us(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Go(e){us(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function as(e,t,o){(t!=null||o!=null)&&us(e),t!=null&&(e.curOp.scrollLeft=t),o!=null&&(e.curOp.scrollTop=o)}function Yu(e,t){us(e),e.curOp.scrollToPos=t}function us(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var o=Wu(e,t.from),i=Wu(e,t.to);da(e,o,i,t.margin)}}function da(e,t,o,i){var n=Qu(e,{left:Math.min(t.left,o.left),top:Math.min(t.top,o.top)-i,right:Math.max(t.right,o.right),bottom:Math.max(t.bottom,o.bottom)+i});as(e,n.scrollLeft,n.scrollTop)}function qs(e,t){Math.abs(e.doc.scrollTop-t)<2||(f||eu(e,{top:t}),Qa(e,t,!0),f&&eu(e),ls(e,100))}function Qa(e,t,o){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!o)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Mo(e,t,o,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((o?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i)&&(e.doc.scrollLeft=t,Ol(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Js(e){var t=e.display,o=t.gutters.offsetWidth,i=Math.round(e.doc.height+jo(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?o:0,docHeight:i,scrollHeight:i+Co(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:o}}var Ro=function(e,t,o){this.cm=o;var i=this.vert=de("div",[de("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),n=this.horiz=de("div",[de("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=n.tabIndex=-1,e(i),e(n),ht(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),ht(n,"scroll",function(){n.clientWidth&&t(n.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ue&&Ae<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ro.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,o=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var n=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+n)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=o?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var u=e.viewWidth-e.barLeft-(o?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+u)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(i==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?i:0,bottom:t?i:0}},Ro.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ro.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ro.prototype.zeroWidthHack=function(){var e=pr&&!nr?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ar,this.disableVert=new ar},Ro.prototype.enableZeroWidthBar=function(e,t,o){e.style.pointerEvents="auto";function i(){var n=e.getBoundingClientRect(),u=o=="vert"?document.elementFromPoint(n.right-1,(n.top+n.bottom)/2):document.elementFromPoint((n.right+n.left)/2,n.bottom-1);u!=e?e.style.pointerEvents="none":t.set(1e3,i)}t.set(1e3,i)},Ro.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ss=function(){};Ss.prototype.update=function(){return{bottom:0,right:0}},Ss.prototype.setScrollLeft=function(){},Ss.prototype.setScrollTop=function(){},Ss.prototype.clear=function(){};function wo(e,t){t||(t=Js(e));var o=e.display.barWidth,i=e.display.barHeight;Ya(e,t);for(var n=0;n<4&&o!=e.display.barWidth||i!=e.display.barHeight;n++)o!=e.display.barWidth&&e.options.lineWrapping&&ss(e),Ya(e,Js(e)),o=e.display.barWidth,i=e.display.barHeight}function Ya(e,t){var o=e.display,i=o.scrollbars.update(t);o.sizer.style.paddingRight=(o.barWidth=i.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=i.bottom)+"px",o.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=i.bottom+"px",o.scrollbarFiller.style.width=i.right+"px"):o.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=i.bottom+"px",o.gutterFiller.style.width=t.gutterWidth+"px"):o.gutterFiller.style.display=""}var ha={native:Ro,null:Ss};function ga(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&gn(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new ha[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ht(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,o){o=="horizontal"?Mo(e,t):qs(e,t)},e),e.display.scrollbars.addClass&&Vn(e.display.wrapper,e.display.scrollbars.addClass)}var Cc=0;function Fs(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Cc,markArrays:null},gc(e.curOp)}function zi(e){var t=e.curOp;t&&yc(t,function(o){for(var i=0;i<o.ops.length;i++)o.ops[i].cm.curOp=null;ma(o)})}function ma(e){for(var t=e.ops,o=0;o<t.length;o++)Zu(t[o]);for(var i=0;i<t.length;i++)Tl(t[i]);for(var n=0;n<t.length;n++)Ec(t[n]);for(var u=0;u<t.length;u++)Za(t[u]);for(var c=0;c<t.length;c++)ya(t[c])}function Zu(e){var t=e.cm,o=t.display;Nl(t),e.updateMaxLine&&Rs(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<o.viewFrom||e.scrollToPos.to.line>=o.viewTo)||o.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new cs(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Tl(e){e.updatedDisplay=e.mustUpdate&&rl(e.cm,e.update)}function Ec(e){var t=e.cm,o=t.display;e.updatedDisplay&&ss(t),e.barMeasure=Js(t),o.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=ju(t,o.maxLine,o.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+e.adjustWidthTo+Co(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+e.adjustWidthTo-Jo(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function Za(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Mo(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var o=e.focus&&e.focus==tn();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,o),(e.updatedDisplay||e.startHeight!=t.doc.height)&&wo(t,e.barMeasure),e.updatedDisplay&&va(t,e.barMeasure),e.selectionChanged&&la(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),o&&Ka(e.cm)}function ya(e){var t=e.cm,o=t.display,i=t.doc;if(e.updatedDisplay&&_l(t,e.update),o.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(o.wheelStartX=o.wheelStartY=null),e.scrollTop!=null&&Qa(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&Mo(t,e.scrollLeft,!0,!0),e.scrollToPos){var n=Ku(t,qr(i,e.scrollToPos.from),qr(i,e.scrollToPos.to),e.scrollToPos.margin);Xu(t,n)}var u=e.maybeHiddenMarkers,c=e.maybeUnhiddenMarkers;if(u)for(var y=0;y<u.length;++y)u[y].lines.length||yr(u[y],"hide");if(c)for(var _=0;_<c.length;++_)c[_].lines.length&&yr(c[_],"unhide");o.wrapper.offsetHeight&&(i.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&yr(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Wi(e,t){if(e.curOp)return t();Fs(e);try{return t()}finally{zi(e)}}function Ei(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Fs(e);try{return t.apply(e,arguments)}finally{zi(e)}}}function Oi(e){return function(){if(this.curOp)return e.apply(this,arguments);Fs(this);try{return e.apply(this,arguments)}finally{zi(this)}}}function vi(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Fs(t);try{return e.apply(this,arguments)}finally{zi(t)}}}function ls(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,On(el,e))}function el(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var o=+new Date+e.options.workTime,i=ms(e,t.highlightFrontier),n=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(u){if(i.line>=e.display.viewFrom){var c=u.styles,y=u.text.length>e.options.maxHighlightLength?Zn(t.mode,i.state):null,_=Du(e,u,i,!0);y&&(i.state=y),u.styles=_.styles;var L=u.styleClasses,ve=_.classes;ve?u.styleClasses=ve:L&&(u.styleClasses=null);for(var he=!c||c.length!=u.styles.length||L!=ve&&(!L||!ve||L.bgClass!=ve.bgClass||L.textClass!=ve.textClass),Ze=0;!he&&Ze<c.length;++Ze)he=c[Ze]!=u.styles[Ze];he&&n.push(i.line),u.stateAfter=i.save(),i.nextLine()}else u.text.length<=e.options.maxHighlightLength&&Na(e,u.text,i),u.stateAfter=i.line%5==0?i.save():null,i.nextLine();if(+new Date>o)return ls(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),n.length&&Wi(e,function(){for(var u=0;u<n.length;u++)qn(e,n[u],"text")})}}var cs=function(e,t,o){var i=e.display;this.viewport=t,this.visible=As(i,e.doc,t),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=Jo(e),this.force=o,this.dims=Io(e),this.events=[]};cs.prototype.signal=function(e,t){Jr(e,t)&&this.events.push(arguments)},cs.prototype.finish=function(){for(var e=0;e<this.events.length;e++)yr.apply(null,this.events[e])};function Nl(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Co(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Co(e)+"px",t.scrollbarsClipped=!0)}function Bl(e){if(e.hasFocus())return null;var t=tn();if(!t||!Ar(e.display.lineDiv,t))return null;var o={activeElt:t};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&Ar(e.display.lineDiv,i.anchorNode)&&(o.anchorNode=i.anchorNode,o.anchorOffset=i.anchorOffset,o.focusNode=i.focusNode,o.focusOffset=i.focusOffset)}return o}function tl(e){if(!(!e||!e.activeElt||e.activeElt==tn())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Ar(document.body,e.anchorNode)&&Ar(document.body,e.focusNode))){var t=window.getSelection(),o=document.createRange();o.setEnd(e.anchorNode,e.anchorOffset),o.collapse(!1),t.removeAllRanges(),t.addRange(o),t.extend(e.focusNode,e.focusOffset)}}function rl(e,t){var o=e.display,i=e.doc;if(t.editorIsHidden)return lo(e),!1;if(!t.force&&t.visible.from>=o.viewFrom&&t.visible.to<=o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&Ju(e)==0)return!1;jl(e)&&(lo(e),t.dims=Io(e));var n=i.first+i.size,u=Math.max(t.visible.from-e.options.viewportMargin,i.first),c=Math.min(n,t.visible.to+e.options.viewportMargin);o.viewFrom<u&&u-o.viewFrom<20&&(u=Math.max(i.first,o.viewFrom)),o.viewTo>c&&o.viewTo-c<20&&(c=Math.min(n,o.viewTo)),Vo&&(u=Is(e.doc,u),c=Ma(e.doc,c));var y=u!=o.viewFrom||c!=o.viewTo||o.lastWrapHeight!=t.wrapperHeight||o.lastWrapWidth!=t.wrapperWidth;kl(e,u,c),o.viewOffset=Do(Oe(e.doc,o.viewFrom)),e.display.mover.style.top=o.viewOffset+"px";var _=Ju(e);if(!y&&_==0&&!t.force&&o.renderedView==o.view&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo))return!1;var L=Bl(e);return _>4&&(o.lineDiv.style.display="none"),Pl(e,o.updateLineNumbers,t.dims),_>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,tl(L),zt(o.cursorDiv),zt(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,y&&(o.lastWrapHeight=t.wrapperHeight,o.lastWrapWidth=t.wrapperWidth,ls(e,400)),o.updateLineNumbers=null,!0}function _l(e,t){for(var o=t.viewport,i=!0;;i=!1){if(!i||!e.options.lineWrapping||t.oldDisplayWidth==Jo(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+jo(e.display)-Hs(e),o.top)}),t.visible=As(e.display,e.doc,o),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else i&&(t.visible=As(e.display,e.doc,o));if(!rl(e,t))break;ss(e);var n=Js(e);is(e),wo(e,n),va(e,n),t.force=!1}t.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function eu(e,t){var o=new cs(e,t);if(rl(e,o)){ss(e),_l(e,o);var i=Js(e);is(e),wo(e,i),va(e,i),o.finish()}}function Pl(e,t,o){var i=e.display,n=e.options.lineNumbers,u=i.lineDiv,c=u.firstChild;function y(Ct){var lt=Ct.nextSibling;return _e&&pr&&e.display.currentWheelTarget==Ct?Ct.style.display="none":Ct.parentNode.removeChild(Ct),lt}for(var _=i.view,L=i.viewFrom,ve=0;ve<_.length;ve++){var he=_[ve];if(!he.hidden)if(!he.node||he.node.parentNode!=u){var Ze=aa(e,he,L,o);u.insertBefore(Ze,c)}else{for(;c!=he.node;)c=y(c);var Le=n&&t!=null&&t<=L&&he.lineNumber;he.changes&&(Pt(he.changes,"gutter")>-1&&(Le=!1),xl(e,he,L,o)),Le&&(zt(he.lineNumber),he.lineNumber.appendChild(document.createTextNode(xi(e.options,L)))),c=he.node.nextSibling}L+=he.size}for(;c;)c=y(c)}function tu(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Bi(e,"gutterChanged",e)}function va(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Co(e)+"px"}function Ol(e){var t=e.display,o=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var i=Uu(t)-t.scroller.scrollLeft+e.doc.scrollLeft,n=t.gutters.offsetWidth,u=i+"px",c=0;c<o.length;c++)if(!o[c].hidden){e.options.fixedGutter&&(o[c].gutter&&(o[c].gutter.style.left=u),o[c].gutterBackground&&(o[c].gutterBackground.style.left=u));var y=o[c].alignable;if(y)for(var _=0;_<y.length;_++)y[_].style.left=u}e.options.fixedGutter&&(t.gutters.style.left=i+n+"px")}}function jl(e){if(!e.options.lineNumbers)return!1;var t=e.doc,o=xi(e.options,t.first+t.size-1),i=e.display;if(o.length!=i.lineNumChars){var n=i.measure.appendChild(de("div",[de("div",o)],"CodeMirror-linenumber CodeMirror-gutter-elt")),u=n.firstChild.offsetWidth,c=n.offsetWidth-u;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(u,i.lineGutter.offsetWidth-c)+1,i.lineNumWidth=i.lineNumInnerWidth+c,i.lineNumChars=i.lineNumInnerWidth?o.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",tu(e.display),!0}return!1}function nl(e,t){for(var o=[],i=!1,n=0;n<e.length;n++){var u=e[n],c=null;if(typeof u!="string"&&(c=u.style,u=u.className),u=="CodeMirror-linenumbers")if(t)i=!0;else continue;o.push({className:u,style:c})}return t&&!i&&o.push({className:"CodeMirror-linenumbers",style:null}),o}function Ll(e){var t=e.gutters,o=e.gutterSpecs;zt(t),e.lineGutter=null;for(var i=0;i<o.length;++i){var n=o[i],u=n.className,c=n.style,y=t.appendChild(de("div",null,"CodeMirror-gutter "+u));c&&(y.style.cssText=c),u=="CodeMirror-linenumbers"&&(e.lineGutter=y,y.style.width=(e.lineNumWidth||1)+"px")}t.style.display=o.length?"":"none",tu(e)}function zo(e){Ll(e.display),qi(e),Ol(e)}function wc(e,t,o,i){var n=this;this.input=o,n.scrollbarFiller=de("div",null,"CodeMirror-scrollbar-filler"),n.scrollbarFiller.setAttribute("cm-not-content","true"),n.gutterFiller=de("div",null,"CodeMirror-gutter-filler"),n.gutterFiller.setAttribute("cm-not-content","true"),n.lineDiv=lr("div",null,"CodeMirror-code"),n.selectionDiv=de("div",null,null,"position: relative; z-index: 1"),n.cursorDiv=de("div",null,"CodeMirror-cursors"),n.measure=de("div",null,"CodeMirror-measure"),n.lineMeasure=de("div",null,"CodeMirror-measure"),n.lineSpace=lr("div",[n.measure,n.lineMeasure,n.selectionDiv,n.cursorDiv,n.lineDiv],null,"position: relative; outline: none");var u=lr("div",[n.lineSpace],"CodeMirror-lines");n.mover=de("div",[u],null,"position: relative"),n.sizer=de("div",[n.mover],"CodeMirror-sizer"),n.sizerWidth=null,n.heightForcer=de("div",null,null,"position: absolute; height: "+Dr+"px; width: 1px;"),n.gutters=de("div",null,"CodeMirror-gutters"),n.lineGutter=null,n.scroller=de("div",[n.sizer,n.heightForcer,n.gutters],"CodeMirror-scroll"),n.scroller.setAttribute("tabIndex","-1"),n.wrapper=de("div",[n.scrollbarFiller,n.gutterFiller,n.scroller],"CodeMirror"),n.wrapper.setAttribute("translate","no"),ue&&Ae<8&&(n.gutters.style.zIndex=-1,n.scroller.style.paddingRight=0),!_e&&!(f&&Wt)&&(n.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(n.wrapper):e(n.wrapper)),n.viewFrom=n.viewTo=t.first,n.reportedViewFrom=n.reportedViewTo=t.first,n.view=[],n.renderedView=null,n.externalMeasured=null,n.viewOffset=0,n.lastWrapHeight=n.lastWrapWidth=0,n.updateLineNumbers=null,n.nativeBarWidth=n.barHeight=n.barWidth=0,n.scrollbarsClipped=!1,n.lineNumWidth=n.lineNumInnerWidth=n.lineNumChars=null,n.alignWidgets=!1,n.cachedCharWidth=n.cachedTextHeight=n.cachedPaddingH=null,n.maxLine=null,n.maxLineLength=0,n.maxLineChanged=!1,n.wheelDX=n.wheelDY=n.wheelStartX=n.wheelStartY=null,n.shift=!1,n.selForContextMenu=null,n.activeTouch=null,n.gutterSpecs=nl(i.gutters,i.lineNumbers),Ll(n),o.init(n)}var ru=0,Ao=null;ue?Ao=-.53:f?Ao=15:Je?Ao=-.7:Qt&&(Ao=-1/3);function nu(e){var t=e.wheelDeltaX,o=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),o==null&&e.detail&&e.axis==e.VERTICAL_AXIS?o=e.detail:o==null&&(o=e.wheelDelta),{x:t,y:o}}function Il(e){var t=nu(e);return t.x*=Ao,t.y*=Ao,t}function il(e,t){Je&&rt>=102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var o=nu(t),i=o.x,n=o.y,u=Ao;t.deltaMode===0&&(i=t.deltaX,n=t.deltaY,u=1);var c=e.display,y=c.scroller,_=y.scrollWidth>y.clientWidth,L=y.scrollHeight>y.clientHeight;if(!!(i&&_||n&&L)){if(n&&pr&&_e){e:for(var ve=t.target,he=c.view;ve!=y;ve=ve.parentNode)for(var Ze=0;Ze<he.length;Ze++)if(he[Ze].node==ve){e.display.currentWheelTarget=ve;break e}}if(i&&!f&&!bt&&u!=null){n&&L&&qs(e,Math.max(0,y.scrollTop+n*u)),Mo(e,Math.max(0,y.scrollLeft+i*u)),(!n||n&&L)&&vt(t),c.wheelStartX=null;return}if(n&&u!=null){var Le=n*u,Ct=e.doc.scrollTop,lt=Ct+c.wrapper.clientHeight;Le<0?Ct=Math.max(0,Ct+Le-50):lt=Math.min(e.doc.height,lt+Le+50),eu(e,{top:Ct,bottom:lt})}ru<20&&t.deltaMode!==0&&(c.wheelStartX==null?(c.wheelStartX=y.scrollLeft,c.wheelStartY=y.scrollTop,c.wheelDX=i,c.wheelDY=n,setTimeout(function(){if(c.wheelStartX!=null){var _t=y.scrollLeft-c.wheelStartX,er=y.scrollTop-c.wheelStartY,wt=er&&c.wheelDY&&er/c.wheelDY||_t&&c.wheelDX&&_t/c.wheelDX;c.wheelStartX=c.wheelStartY=null,wt&&(Ao=(Ao*ru+wt)/(ru+1),++ru)}},200)):(c.wheelDX+=i,c.wheelDY+=n))}}var co=function(e,t){this.ranges=e,this.primIndex=t};co.prototype.primary=function(){return this.ranges[this.primIndex]},co.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var o=this.ranges[t],i=e.ranges[t];if(!tr(o.anchor,i.anchor)||!tr(o.head,i.head))return!1}return!0},co.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new ei(br(this.ranges[t].anchor),br(this.ranges[t].head));return new co(e,this.primIndex)},co.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},co.prototype.contains=function(e,t){t||(t=e);for(var o=0;o<this.ranges.length;o++){var i=this.ranges[o];if(Pe(t,i.from())>=0&&Pe(e,i.to())<=0)return o}return-1};var ei=function(e,t){this.anchor=e,this.head=t};ei.prototype.from=function(){return $n(this.anchor,this.head)},ei.prototype.to=function(){return nn(this.anchor,this.head)},ei.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function So(e,t,o){var i=e&&e.options.selectionsMayTouch,n=t[o];t.sort(function(Ze,Le){return Pe(Ze.from(),Le.from())}),o=Pt(t,n);for(var u=1;u<t.length;u++){var c=t[u],y=t[u-1],_=Pe(y.to(),c.from());if(i&&!c.empty()?_>0:_>=0){var L=$n(y.from(),c.from()),ve=nn(y.to(),c.to()),he=y.empty()?c.from()==c.head:y.from()==y.head;u<=o&&--o,t.splice(--u,2,new ei(he?ve:L,he?L:ve))}}return new co(t,o)}function ps(e,t){return new co([new ei(e,t||e)],0)}function Ho(e){return e.text?b(e.from.line+e.text.length-1,kt(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function iu(e,t){if(Pe(e,t.from)<0)return e;if(Pe(e,t.to)<=0)return Ho(t);var o=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=Ho(t).ch-t.to.ch),b(o,i)}function fs(e,t){for(var o=[],i=0;i<e.sel.ranges.length;i++){var n=e.sel.ranges[i];o.push(new ei(iu(n.anchor,t),iu(n.head,t)))}return So(e.cm,o,e.sel.primIndex)}function ol(e,t,o){return e.line==t.line?b(o.line,e.ch-t.ch+o.ch):b(o.line+(e.line-t.line),e.ch)}function Ml(e,t,o){for(var i=[],n=b(e.first,0),u=n,c=0;c<t.length;c++){var y=t[c],_=ol(y.from,n,u),L=ol(Ho(y),n,u);if(n=y.to,u=L,o=="around"){var ve=e.sel.ranges[c],he=Pe(ve.head,ve.anchor)<0;i[c]=new ei(he?L:_,he?_:L)}else i[c]=new ei(_,_)}return new co(i,e.sel.primIndex)}function Xo(e){e.doc.mode=mn(e.options,e.doc.modeOption),Fo(e)}function Fo(e){e.doc.iter(function(t){t.stateAfter&&(t.stateAfter=null),t.styles&&(t.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ls(e,100),e.state.modeGen++,e.curOp&&qi(e)}function Rl(e,t){return t.from.ch==0&&t.to.ch==0&&kt(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function sl(e,t,o,i){function n(wt){return o?o[wt]:null}function u(wt,Mt,ir){oa(wt,Mt,ir,i),Bi(wt,"change",wt,t)}function c(wt,Mt){for(var ir=[],Ve=wt;Ve<Mt;++Ve)ir.push(new Zo(L[Ve],n(Ve),i));return ir}var y=t.from,_=t.to,L=t.text,ve=Oe(e,y.line),he=Oe(e,_.line),Ze=kt(L),Le=n(L.length-1),Ct=_.line-y.line;if(t.full)e.insert(0,c(0,L.length)),e.remove(L.length,e.size-L.length);else if(Rl(e,t)){var lt=c(0,L.length-1);u(he,he.text,Le),Ct&&e.remove(y.line,Ct),lt.length&&e.insert(y.line,lt)}else if(ve==he)if(L.length==1)u(ve,ve.text.slice(0,y.ch)+Ze+ve.text.slice(_.ch),Le);else{var _t=c(1,L.length-1);_t.push(new Zo(Ze+ve.text.slice(_.ch),Le,i)),u(ve,ve.text.slice(0,y.ch)+L[0],n(0)),e.insert(y.line+1,_t)}else if(L.length==1)u(ve,ve.text.slice(0,y.ch)+L[0]+he.text.slice(_.ch),n(0)),e.remove(y.line+1,Ct);else{u(ve,ve.text.slice(0,y.ch)+L[0],n(0)),u(he,Ze+he.text.slice(_.ch),Le);var er=c(1,L.length-1);Ct>1&&e.remove(y.line+1,Ct-1),e.insert(y.line+1,er)}Bi(e,"change",e,t)}function ds(e,t,o){function i(n,u,c){if(n.linked)for(var y=0;y<n.linked.length;++y){var _=n.linked[y];if(_.doc!=u){var L=c&&_.sharedHist;o&&!L||(t(_.doc,L),i(_.doc,n,L))}}}i(e,null,!0)}function al(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,qu(e),Xo(e),ul(e),e.options.direction=t.direction,e.options.lineWrapping||Rs(e),e.options.mode=t.modeOption,qi(e)}function ul(e){(e.doc.direction=="rtl"?Vn:gn)(e.display.lineDiv,"CodeMirror-rtl")}function Ac(e){Wi(e,function(){ul(e),qi(e)})}function Gs(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Da(e,t){var o={from:br(t.from),to:Ho(t),text:_i(e,t.from,t.to)};return pe(e,o,t.from.line,t.to.line+1),ds(e,function(i){return pe(i,o,t.from.line,t.to.line+1)},!0),o}function ou(e){for(;e.length;){var t=kt(e);if(t.ranges)e.pop();else break}}function v(e,t){if(t)return ou(e.done),kt(e.done);if(e.done.length&&!kt(e.done).ranges)return kt(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),kt(e.done)}function te(e,t,o,i){var n=e.history;n.undone.length=0;var u=+new Date,c,y;if((n.lastOp==i||n.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&n.lastModTime>u-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(c=v(n,n.lastOp==i)))y=kt(c.changes),Pe(t.from,t.to)==0&&Pe(t.from,y.to)==0?y.to=Ho(t):c.changes.push(Da(e,t));else{var _=kt(n.done);for((!_||!_.ranges)&&Z(e.sel,n.done),c={changes:[Da(e,t)],generation:n.generation},n.done.push(c);n.done.length>n.undoDepth;)n.done.shift(),n.done[0].ranges||n.done.shift()}n.done.push(o),n.generation=++n.maxGeneration,n.lastModTime=n.lastSelTime=u,n.lastOp=n.lastSelOp=i,n.lastOrigin=n.lastSelOrigin=t.origin,y||yr(e,"historyAdded")}function G(e,t,o,i){var n=t.charAt(0);return n=="*"||n=="+"&&o.ranges.length==i.ranges.length&&o.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function q(e,t,o,i){var n=e.history,u=i&&i.origin;o==n.lastSelOp||u&&n.lastSelOrigin==u&&(n.lastModTime==n.lastSelTime&&n.lastOrigin==u||G(e,u,kt(n.done),t))?n.done[n.done.length-1]=t:Z(t,n.done),n.lastSelTime=+new Date,n.lastSelOrigin=u,n.lastSelOp=o,i&&i.clearRedo!==!1&&ou(n.undone)}function Z(e,t){var o=kt(t);o&&o.ranges&&o.equals(e)||t.push(e)}function pe(e,t,o,i){var n=t["spans_"+e.id],u=0;e.iter(Math.max(e.first,o),Math.min(e.first+e.size,i),function(c){c.markedSpans&&((n||(n=t["spans_"+e.id]={}))[u]=c.markedSpans),++u})}function fe(e){if(!e)return null;for(var t,o=0;o<e.length;++o)e[o].marker.explicitlyCleared?t||(t=e.slice(0,o)):t&&t.push(e[o]);return t?t.length?t:null:e}function be(e,t){var o=t["spans_"+e.id];if(!o)return null;for(var i=[],n=0;n<t.text.length;++n)i.push(fe(o[n]));return i}function le(e,t){var o=be(e,t),i=Fu(e,t);if(!o)return i;if(!i)return o;for(var n=0;n<o.length;++n){var u=o[n],c=i[n];if(u&&c){e:for(var y=0;y<c.length;++y){for(var _=c[y],L=0;L<u.length;++L)if(u[L].marker==_.marker)continue e;u.push(_)}}else c&&(o[n]=c)}return o}function ge(e,t,o){for(var i=[],n=0;n<e.length;++n){var u=e[n];if(u.ranges){i.push(o?co.prototype.deepCopy.call(u):u);continue}var c=u.changes,y=[];i.push({changes:y});for(var _=0;_<c.length;++_){var L=c[_],ve=void 0;if(y.push({from:L.from,to:L.to,text:L.text}),t)for(var he in L)(ve=he.match(/^spans_(\d+)$/))&&Pt(t,Number(ve[1]))>-1&&(kt(y)[he]=L[he],delete L[he])}}return i}function E(e,t,o,i){if(i){var n=e.anchor;if(o){var u=Pe(t,n)<0;u!=Pe(o,n)<0?(n=t,t=o):u!=Pe(t,o)<0&&(t=o)}return new ei(n,t)}else return new ei(o||t,t)}function g(e,t,o,i,n){n==null&&(n=e.cm&&(e.cm.display.shift||e.extend)),Ne(e,new co([E(e.sel.primary(),t,o,n)],0),i)}function Q(e,t,o){for(var i=[],n=e.cm&&(e.cm.display.shift||e.extend),u=0;u<e.sel.ranges.length;u++)i[u]=E(e.sel.ranges[u],t[u],null,n);var c=So(e.cm,i,e.sel.primIndex);Ne(e,c,o)}function U(e,t,o,i){var n=e.sel.ranges.slice(0);n[t]=o,Ne(e,So(e.cm,n,e.sel.primIndex),i)}function xe(e,t,o,i){Ne(e,ps(t,o),i)}function me(e,t,o){var i={ranges:t.ranges,update:function(n){this.ranges=[];for(var u=0;u<n.length;u++)this.ranges[u]=new ei(qr(e,n[u].anchor),qr(e,n[u].head))},origin:o&&o.origin};return yr(e,"beforeSelectionChange",e,i),e.cm&&yr(e.cm,"beforeSelectionChange",e.cm,i),i.ranges!=t.ranges?So(e.cm,i.ranges,i.ranges.length-1):t}function je(e,t,o){var i=e.history.done,n=kt(i);n&&n.ranges?(i[i.length-1]=t,Ce(e,t,o)):Ne(e,t,o)}function Ne(e,t,o){Ce(e,t,o),q(e,e.sel,e.cm?e.cm.curOp.id:NaN,o)}function Ce(e,t,o){(Jr(e,"beforeSelectionChange")||e.cm&&Jr(e.cm,"beforeSelectionChange"))&&(t=me(e,t,o));var i=o&&o.bias||(Pe(t.primary().head,e.sel.primary().head)<0?-1:1);Ke(e,ct(e,t,i,!0)),!(o&&o.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&Go(e.cm)}function Ke(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,$r(e.cm)),Bi(e,"cursorActivity",e))}function Ye(e){Ke(e,ct(e,e.sel,null,!1))}function ct(e,t,o,i){for(var n,u=0;u<t.ranges.length;u++){var c=t.ranges[u],y=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[u],_=Br(e,c.anchor,y&&y.anchor,o,i),L=Br(e,c.head,y&&y.head,o,i);(n||_!=c.anchor||L!=c.head)&&(n||(n=t.ranges.slice(0,u)),n[u]=new ei(_,L))}return n?So(e.cm,n,t.primIndex):t}function cr(e,t,o,i,n){var u=Oe(e,t.line);if(u.markedSpans)for(var c=0;c<u.markedSpans.length;++c){var y=u.markedSpans[c],_=y.marker,L="selectLeft"in _?!_.selectLeft:_.inclusiveLeft,ve="selectRight"in _?!_.selectRight:_.inclusiveRight;if((y.from==null||(L?y.from<=t.ch:y.from<t.ch))&&(y.to==null||(ve?y.to>=t.ch:y.to>t.ch))){if(n&&(yr(_,"beforeCursorEnter"),_.explicitlyCleared))if(u.markedSpans){--c;continue}else break;if(!_.atomic)continue;if(o){var he=_.find(i<0?1:-1),Ze=void 0;if((i<0?ve:L)&&(he=jr(e,he,-i,he&&he.line==t.line?u:null)),he&&he.line==t.line&&(Ze=Pe(he,o))&&(i<0?Ze<0:Ze>0))return cr(e,he,t,i,n)}var Le=_.find(i<0?-1:1);return(i<0?L:ve)&&(Le=jr(e,Le,i,Le.line==t.line?u:null)),Le?cr(e,Le,t,i,n):null}}return t}function Br(e,t,o,i,n){var u=i||1,c=cr(e,t,o,u,n)||!n&&cr(e,t,o,u,!0)||cr(e,t,o,-u,n)||!n&&cr(e,t,o,-u,!0);return c||(e.cantEdit=!0,b(e.first,0))}function jr(e,t,o,i){return o<0&&t.ch==0?t.line>e.first?qr(e,b(t.line-1)):null:o>0&&t.ch==(i||Oe(e,t.line)).text.length?t.line<e.first+e.size-1?b(t.line+1,0):null:new b(t.line,t.ch+o)}function an(e){e.setSelection(b(e.firstLine(),0),b(e.lastLine()),Hr)}function sn(e,t,o){var i={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return i.canceled=!0}};return o&&(i.update=function(n,u,c,y){n&&(i.from=qr(e,n)),u&&(i.to=qr(e,u)),c&&(i.text=c),y!==void 0&&(i.origin=y)}),yr(e,"beforeChange",e,i),e.cm&&yr(e.cm,"beforeChange",e.cm,i),i.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:i.from,to:i.to,text:i.text,origin:i.origin}}function xn(e,t,o){if(e.cm){if(!e.cm.curOp)return Ei(e.cm,xn)(e,t,o);if(e.cm.state.suppressEdits)return}if(!((Jr(e,"beforeChange")||e.cm&&Jr(e.cm,"beforeChange"))&&(t=sn(e,t,!0),!t))){var i=wu&&!o&&fc(e,t.from,t.to);if(i)for(var n=i.length-1;n>=0;--n)en(e,{from:i[n].from,to:i[n].to,text:n?[""]:t.text,origin:t.origin});else en(e,t)}}function en(e,t){if(!(t.text.length==1&&t.text[0]==""&&Pe(t.from,t.to)==0)){var o=fs(e,t);te(e,t,o,e.cm?e.cm.curOp.id:NaN),Yt(e,t,o,Fu(e,t));var i=[];ds(e,function(n,u){!u&&Pt(i,n.history)==-1&&(ni(n.history,t),i.push(n.history)),Yt(n,t,null,Fu(n,t))})}}function un(e,t,o){var i=e.cm&&e.cm.state.suppressEdits;if(!(i&&!o)){for(var n=e.history,u,c=e.sel,y=t=="undo"?n.done:n.undone,_=t=="undo"?n.undone:n.done,L=0;L<y.length&&(u=y[L],!(o?u.ranges&&!u.equals(e.sel):!u.ranges));L++);if(L!=y.length){for(n.lastOrigin=n.lastSelOrigin=null;;)if(u=y.pop(),u.ranges){if(Z(u,_),o&&!u.equals(e.sel)){Ne(e,u,{clearRedo:!1});return}c=u}else if(i){y.push(u);return}else break;var ve=[];Z(c,_),_.push({changes:ve,generation:n.generation}),n.generation=u.generation||++n.maxGeneration;for(var he=Jr(e,"beforeChange")||e.cm&&Jr(e.cm,"beforeChange"),Ze=function(lt){var _t=u.changes[lt];if(_t.origin=t,he&&!sn(e,_t,!1))return y.length=0,{};ve.push(Da(e,_t));var er=lt?fs(e,_t):kt(y);Yt(e,_t,er,le(e,_t)),!lt&&e.cm&&e.cm.scrollIntoView({from:_t.from,to:Ho(_t)});var wt=[];ds(e,function(Mt,ir){!ir&&Pt(wt,Mt.history)==-1&&(ni(Mt.history,_t),wt.push(Mt.history)),Yt(Mt,_t,null,le(Mt,_t))})},Le=u.changes.length-1;Le>=0;--Le){var Ct=Ze(Le);if(Ct)return Ct.v}}}}function mr(e,t){if(t!=0&&(e.first+=t,e.sel=new co(or(e.sel.ranges,function(n){return new ei(b(n.anchor.line+t,n.anchor.ch),b(n.head.line+t,n.head.ch))}),e.sel.primIndex),e.cm)){qi(e.cm,e.first,e.first-t,t);for(var o=e.cm.display,i=o.viewFrom;i<o.viewTo;i++)qn(e.cm,i,"gutter")}}function Yt(e,t,o,i){if(e.cm&&!e.cm.curOp)return Ei(e.cm,Yt)(e,t,o,i);if(t.to.line<e.first){mr(e,t.text.length-1-(t.to.line-t.from.line));return}if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var n=t.text.length-1-(e.first-t.from.line);mr(e,n),t={from:b(e.first,0),to:b(t.to.line+n,t.to.ch),text:[kt(t.text)],origin:t.origin}}var u=e.lastLine();t.to.line>u&&(t={from:t.from,to:b(u,Oe(e,u).text.length),text:[t.text[0]],origin:t.origin}),t.removed=_i(e,t.from,t.to),o||(o=fs(e,t)),e.cm?vr(e.cm,t,i):sl(e,t,i),Ce(e,o,Hr),e.cantEdit&&Br(e,b(e.firstLine(),0))&&(e.cantEdit=!1)}}function vr(e,t,o){var i=e.doc,n=e.display,u=t.from,c=t.to,y=!1,_=u.line;e.options.lineWrapping||(_=yn(so(Oe(i,u.line))),i.iter(_,c.line+1,function(Le){if(Le==n.maxLine)return y=!0,!0})),i.sel.contains(t.from,t.to)>-1&&$r(e),sl(i,t,o,Vu(e)),e.options.lineWrapping||(i.iter(_,u.line+t.text.length,function(Le){var Ct=Ms(Le);Ct>n.maxLineLength&&(n.maxLine=Le,n.maxLineLength=Ct,n.maxLineChanged=!0,y=!1)}),y&&(e.curOp.updateMaxLine=!0)),Eu(i,u.line),ls(e,400);var L=t.text.length-(c.line-u.line)-1;t.full?qi(e):u.line==c.line&&t.text.length==1&&!Rl(e.doc,t)?qn(e,u.line,"text"):qi(e,u.line,c.line+1,L);var ve=Jr(e,"changes"),he=Jr(e,"change");if(he||ve){var Ze={from:u,to:c,text:t.text,removed:t.removed,origin:t.origin};he&&Bi(e,"change",e,Ze),ve&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(Ze)}e.display.selForContextMenu=null}function Jt(e,t,o,i,n){var u;i||(i=o),Pe(i,o)<0&&(u=[i,o],o=u[0],i=u[1]),typeof t=="string"&&(t=e.splitLines(t)),xn(e,{from:o,to:i,text:t,origin:n})}function mi(e,t,o,i){o<e.line?e.line+=i:t<e.line&&(e.line=t,e.ch=0)}function Yn(e,t,o,i){for(var n=0;n<e.length;++n){var u=e[n],c=!0;if(u.ranges){u.copied||(u=e[n]=u.deepCopy(),u.copied=!0);for(var y=0;y<u.ranges.length;y++)mi(u.ranges[y].anchor,t,o,i),mi(u.ranges[y].head,t,o,i);continue}for(var _=0;_<u.changes.length;++_){var L=u.changes[_];if(o<L.from.line)L.from=b(L.from.line+i,L.from.ch),L.to=b(L.to.line+i,L.to.ch);else if(t<=L.to.line){c=!1;break}}c||(e.splice(0,n+1),n=0)}}function ni(e,t){var o=t.from.line,i=t.to.line,n=t.text.length-(i-o)-1;Yn(e.done,o,i,n),Yn(e.undone,o,i,n)}function Un(e,t,o,i){var n=t,u=t;return typeof t=="number"?u=Oe(e,Rn(e,t)):n=yn(t),n==null?null:(i(u,n)&&e.cm&&qn(e.cm,n,o),u)}function Pn(e){this.lines=e,this.parent=null;for(var t=0,o=0;o<e.length;++o)e[o].parent=this,t+=e[o].height;this.height=t}Pn.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var o=e,i=e+t;o<i;++o){var n=this.lines[o];this.height-=n.height,qo(n),Bi(n,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,o){this.height+=o,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=this},iterN:function(e,t,o){for(var i=e+t;e<i;++e)if(o(this.lines[e]))return!0}};function Wr(e){this.children=e;for(var t=0,o=0,i=0;i<e.length;++i){var n=e[i];t+=n.chunkSize(),o+=n.height,n.parent=this}this.size=t,this.height=o,this.parent=null}Wr.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var o=0;o<this.children.length;++o){var i=this.children[o],n=i.chunkSize();if(e<n){var u=Math.min(t,n-e),c=i.height;if(i.removeInner(e,u),this.height-=c-i.height,n==u&&(this.children.splice(o--,1),i.parent=null),(t-=u)==0)break;e=0}else e-=n}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Pn))){var y=[];this.collapse(y),this.children=[new Pn(y)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,o){this.size+=t.length,this.height+=o;for(var i=0;i<this.children.length;++i){var n=this.children[i],u=n.chunkSize();if(e<=u){if(n.insertInner(e,t,o),n.lines&&n.lines.length>50){for(var c=n.lines.length%25+25,y=c;y<n.lines.length;){var _=new Pn(n.lines.slice(y,y+=25));n.height-=_.height,this.children.splice(++i,0,_),_.parent=this}n.lines=n.lines.slice(0,c),this.maybeSpill()}break}e-=u}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),o=new Wr(t);if(e.parent){e.size-=o.size,e.height-=o.height;var n=Pt(e.parent.children,e);e.parent.children.splice(n+1,0,o)}else{var i=new Wr(e.children);i.parent=e,e.children=[i,o],e=i}o.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,o){for(var i=0;i<this.children.length;++i){var n=this.children[i],u=n.chunkSize();if(e<u){var c=Math.min(t,u-e);if(n.iterN(e,c,o))return!0;if((t-=c)==0)break;e=0}else e-=u}}};var wn=function(e,t,o){if(o)for(var i in o)o.hasOwnProperty(i)&&(this[i]=o[i]);this.doc=e,this.node=t};wn.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,o=this.line,i=yn(o);if(!(i==null||!t)){for(var n=0;n<t.length;++n)t[n]==this&&t.splice(n--,1);t.length||(o.widgets=null);var u=Mi(this);In(o,Math.max(0,o.height-u)),e&&(Wi(e,function(){dn(e,o,-u),qn(e,i,"widget")}),Bi(e,"lineWidgetCleared",e,this,i))}},wn.prototype.changed=function(){var e=this,t=this.height,o=this.doc.cm,i=this.line;this.height=null;var n=Mi(this)-t;!n||(Po(this.doc,i)||In(i,i.height+n),o&&Wi(o,function(){o.curOp.forceUpdate=!0,dn(o,i,n),Bi(o,"lineWidgetChanged",o,e,yn(i))}))},En(wn);function dn(e,t,o){Do(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&fa(e,o)}function Cn(e,t,o,i){var n=new wn(e,o,i),u=e.cm;return u&&n.noHScroll&&(u.display.alignWidgets=!0),Un(e,t,"widget",function(c){var y=c.widgets||(c.widgets=[]);if(n.insertAt==null?y.push(n):y.splice(Math.min(y.length,Math.max(0,n.insertAt)),0,n),n.line=c,u&&!Po(e,c)){var _=Do(c)<e.scrollTop;In(c,c.height+Mi(n)),_&&fa(u,n.height),u.curOp.forceUpdate=!0}return!0}),u&&Bi(u,"lineWidgetAdded",u,n,typeof t=="number"?t:yn(t)),n}var ut=0,jt=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ut};jt.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Fs(e),Jr(this,"clear")){var o=this.find();o&&Bi(this,"clear",o.from,o.to)}for(var i=null,n=null,u=0;u<this.lines.length;++u){var c=this.lines[u],y=Ls(c.markedSpans,this);e&&!this.collapsed?qn(e,yn(c),"text"):e&&(y.to!=null&&(n=yn(c)),y.from!=null&&(i=yn(c))),c.markedSpans=ys(c.markedSpans,y),y.from==null&&this.collapsed&&!Po(this.doc,c)&&e&&In(c,Cs(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var _=0;_<this.lines.length;++_){var L=so(this.lines[_]),ve=Ms(L);ve>e.display.maxLineLength&&(e.display.maxLine=L,e.display.maxLineLength=ve,e.display.maxLineChanged=!0)}i!=null&&e&&this.collapsed&&qi(e,i,n+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ye(e.doc)),e&&Bi(e,"markerCleared",e,this,i,n),t&&zi(e),this.parent&&this.parent.clear()}},jt.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var o,i,n=0;n<this.lines.length;++n){var u=this.lines[n],c=Ls(u.markedSpans,this);if(c.from!=null&&(o=b(t?u:yn(u),c.from),e==-1))return o;if(c.to!=null&&(i=b(t?u:yn(u),c.to),e==1))return i}return o&&{from:o,to:i}},jt.prototype.changed=function(){var e=this,t=this.find(-1,!0),o=this,i=this.doc.cm;!t||!i||Wi(i,function(){var n=t.line,u=yn(t.line),c=Eo(i,u);if(c&&(El(c),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!Po(o.doc,n)&&o.height!=null){var y=o.height;o.height=null;var _=Mi(o)-y;_&&In(n,n.height+_)}Bi(i,"markerChanged",i,e)})},jt.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||Pt(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},jt.prototype.detachLine=function(e){if(this.lines.splice(Pt(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},En(jt);function Vt(e,t,o,i,n){if(i&&i.shared)return st(e,t,o,i,n);if(e.cm&&!e.cm.curOp)return Ei(e.cm,Vt)(e,t,o,i,n);var u=new jt(e,n),c=Pe(t,o);if(i&&li(i,u,!1),c>0||c==0&&u.clearWhenEmpty!==!1)return u;if(u.replacedWith&&(u.collapsed=!0,u.widgetNode=lr("span",[u.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||u.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(u.widgetNode.insertLeft=!0)),u.collapsed){if(La(e,t.line,t,o,u)||t.line!=o.line&&La(e,o.line,t,o,u))throw new Error("Inserting collapsed marker partially overlapping an existing one");Au()}u.addToHistory&&te(e,{from:t,to:o,origin:"markText"},e.sel,NaN);var y=t.line,_=e.cm,L;if(e.iter(y,o.line+1,function(he){_&&u.collapsed&&!_.options.lineWrapping&&so(he)==_.display.maxLine&&(L=!0),u.collapsed&&y!=t.line&&In(he,0),cc(he,new Oa(u,y==t.line?t.ch:null,y==o.line?o.ch:null),e.cm&&e.cm.curOp),++y}),u.collapsed&&e.iter(t.line,o.line+1,function(he){Po(e,he)&&In(he,0)}),u.clearOnEnter&&ht(u,"beforeCursorEnter",function(){return u.clear()}),u.readOnly&&(Dl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),u.collapsed&&(u.id=++ut,u.atomic=!0),_){if(L&&(_.curOp.updateMaxLine=!0),u.collapsed)qi(_,t.line,o.line+1);else if(u.className||u.startStyle||u.endStyle||u.css||u.attributes||u.title)for(var ve=t.line;ve<=o.line;ve++)qn(_,ve,"text");u.atomic&&Ye(_.doc),Bi(_,"markerAdded",_,u)}return u}var Tr=function(e,t){this.markers=e,this.primary=t;for(var o=0;o<e.length;++o)e[o].parent=this};Tr.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Bi(this,"clear")}},Tr.prototype.find=function(e,t){return this.primary.find(e,t)},En(Tr);function st(e,t,o,i,n){i=li(i),i.shared=!1;var u=[Vt(e,t,o,i,n)],c=u[0],y=i.widgetNode;return ds(e,function(_){y&&(i.widgetNode=y.cloneNode(!0)),u.push(Vt(_,qr(_,t),qr(_,o),i,n));for(var L=0;L<_.linked.length;++L)if(_.linked[L].isParent)return;c=kt(u)}),new Tr(u,c)}function Xr(e){return e.findMarks(b(e.first,0),e.clipPos(b(e.lastLine())),function(t){return t.parent})}function zr(e,t){for(var o=0;o<t.length;o++){var i=t[o],n=i.find(),u=e.clipPos(n.from),c=e.clipPos(n.to);if(Pe(u,c)){var y=Vt(e,u,c,i.primary,i.primary.type);i.markers.push(y),y.parent=i}}}function ji(e){for(var t=function(i){var n=e[i],u=[n.primary.doc];ds(n.primary.doc,function(_){return u.push(_)});for(var c=0;c<n.markers.length;c++){var y=n.markers[c];Pt(u,y.doc)==-1&&(y.parent=null,n.markers.splice(c--,1))}},o=0;o<e.length;o++)t(o)}var Fi=0,si=function(e,t,o,i,n){if(!(this instanceof si))return new si(e,t,o,i,n);o==null&&(o=0),Wr.call(this,[new Pn([new Zo("",null)])]),this.first=o,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=o;var u=b(o,0);this.sel=ps(u),this.history=new Gs(null),this.id=++Fi,this.modeOption=t,this.lineSep=i,this.direction=n=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),sl(this,{from:u,to:u,text:e}),Ne(this,ps(u),Hr)};si.prototype=Sr(Wr.prototype,{constructor:si,iter:function(e,t,o){o?this.iterN(e-this.first,t-e,o):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var o=0,i=0;i<t.length;++i)o+=t[i].height;this.insertInner(e-this.first,t,o)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Si(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:vi(function(e){var t=b(this.first,0),o=this.first+this.size-1;xn(this,{from:t,to:b(o,Oe(this,o).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&as(this.cm,0,0),Ne(this,ps(t),Hr)}),replaceRange:function(e,t,o,i){t=qr(this,t),o=o?qr(this,o):t,Jt(this,e,t,o,i)},getRange:function(e,t,o){var i=_i(this,qr(this,e),qr(this,t));return o===!1?i:o===""?i.join(""):i.join(o||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(yo(this,e))return Oe(this,e)},getLineNumber:function(e){return yn(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Oe(this,e)),so(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return qr(this,e)},getCursor:function(e){var t=this.sel.primary(),o;return e==null||e=="head"?o=t.head:e=="anchor"?o=t.anchor:e=="end"||e=="to"||e===!1?o=t.to():o=t.from(),o},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:vi(function(e,t,o){xe(this,qr(this,typeof e=="number"?b(e,t||0):e),null,o)}),setSelection:vi(function(e,t,o){xe(this,qr(this,e),qr(this,t||e),o)}),extendSelection:vi(function(e,t,o){g(this,qr(this,e),t&&qr(this,t),o)}),extendSelections:vi(function(e,t){Q(this,Ta(this,e),t)}),extendSelectionsBy:vi(function(e,t){var o=or(this.sel.ranges,e);Q(this,Ta(this,o),t)}),setSelections:vi(function(e,t,o){if(!!e.length){for(var i=[],n=0;n<e.length;n++)i[n]=new ei(qr(this,e[n].anchor),qr(this,e[n].head||e[n].anchor));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),Ne(this,So(this.cm,i,t),o)}}),addSelection:vi(function(e,t,o){var i=this.sel.ranges.slice(0);i.push(new ei(qr(this,e),qr(this,t||e))),Ne(this,So(this.cm,i,i.length-1),o)}),getSelection:function(e){for(var t=this.sel.ranges,o,i=0;i<t.length;i++){var n=_i(this,t[i].from(),t[i].to());o=o?o.concat(n):n}return e===!1?o:o.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],o=this.sel.ranges,i=0;i<o.length;i++){var n=_i(this,o[i].from(),o[i].to());e!==!1&&(n=n.join(e||this.lineSeparator())),t[i]=n}return t},replaceSelection:function(e,t,o){for(var i=[],n=0;n<this.sel.ranges.length;n++)i[n]=e;this.replaceSelections(i,t,o||"+input")},replaceSelections:vi(function(e,t,o){for(var i=[],n=this.sel,u=0;u<n.ranges.length;u++){var c=n.ranges[u];i[u]={from:c.from(),to:c.to(),text:this.splitLines(e[u]),origin:o}}for(var y=t&&t!="end"&&Ml(this,i,t),_=i.length-1;_>=0;_--)xn(this,i[_]);y?je(this,y):this.cm&&Go(this.cm)}),undo:vi(function(){un(this,"undo")}),redo:vi(function(){un(this,"redo")}),undoSelection:vi(function(){un(this,"undo",!0)}),redoSelection:vi(function(){un(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,o=0,i=0;i<e.done.length;i++)e.done[i].ranges||++t;for(var n=0;n<e.undone.length;n++)e.undone[n].ranges||++o;return{undo:t,redo:o}},clearHistory:function(){var e=this;this.history=new Gs(this.history),ds(this,function(t){return t.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:ge(this.history.done),undone:ge(this.history.undone)}},setHistory:function(e){var t=this.history=new Gs(this.history);t.done=ge(e.done.slice(0),null,!0),t.undone=ge(e.undone.slice(0),null,!0)},setGutterMarker:vi(function(e,t,o){return Un(this,e,"gutter",function(i){var n=i.gutterMarkers||(i.gutterMarkers={});return n[t]=o,!o&&it(n)&&(i.gutterMarkers=null),!0})}),clearGutter:vi(function(e){var t=this;this.iter(function(o){o.gutterMarkers&&o.gutterMarkers[e]&&Un(t,o,"gutter",function(){return o.gutterMarkers[e]=null,it(o.gutterMarkers)&&(o.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!yo(this,e)||(t=e,e=Oe(this,e),!e))return null}else if(t=yn(e),t==null)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:vi(function(e,t,o){return Un(this,e,t=="gutter"?"gutter":"class",function(i){var n=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!i[n])i[n]=o;else{if(Nr(o).test(i[n]))return!1;i[n]+=" "+o}return!0})}),removeLineClass:vi(function(e,t,o){return Un(this,e,t=="gutter"?"gutter":"class",function(i){var n=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",u=i[n];if(u)if(o==null)i[n]=null;else{var c=u.match(Nr(o));if(!c)return!1;var y=c.index+c[0].length;i[n]=u.slice(0,c.index)+(!c.index||y==u.length?"":" ")+u.slice(y)||null}else return!1;return!0})}),addLineWidget:vi(function(e,t,o){return Cn(this,e,t,o)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,o){return Vt(this,qr(this,e),qr(this,t),o,o&&o.type||"range")},setBookmark:function(e,t){var o={replacedWith:t&&(t.nodeType==null?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=qr(this,e),Vt(this,e,e,o,"bookmark")},findMarksAt:function(e){e=qr(this,e);var t=[],o=Oe(this,e.line).markedSpans;if(o)for(var i=0;i<o.length;++i){var n=o[i];(n.from==null||n.from<=e.ch)&&(n.to==null||n.to>=e.ch)&&t.push(n.marker.parent||n.marker)}return t},findMarks:function(e,t,o){e=qr(this,e),t=qr(this,t);var i=[],n=e.line;return this.iter(e.line,t.line+1,function(u){var c=u.markedSpans;if(c)for(var y=0;y<c.length;y++){var _=c[y];!(_.to!=null&&n==e.line&&e.ch>=_.to||_.from==null&&n!=e.line||_.from!=null&&n==t.line&&_.from>=t.ch)&&(!o||o(_.marker))&&i.push(_.marker.parent||_.marker)}++n}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var o=t.markedSpans;if(o)for(var i=0;i<o.length;++i)o[i].from!=null&&e.push(o[i].marker)}),e},posFromIndex:function(e){var t,o=this.first,i=this.lineSeparator().length;return this.iter(function(n){var u=n.text.length+i;if(u>e)return t=e,!0;e-=u,++o}),qr(this,b(o,t))},indexFromPos:function(e){e=qr(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var o=this.lineSeparator().length;return this.iter(this.first,e.line,function(i){t+=i.text.length+o}),t},copy:function(e){var t=new si(Si(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,o=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<o&&(o=e.to);var i=new si(Si(this,t,o),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:e.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],zr(i,Xr(this)),i},unlinkDoc:function(e){if(e instanceof Se&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var o=this.linked[t];if(o.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),ji(Xr(this));break}}if(e.history==this.history){var i=[e.id];ds(e,function(n){return i.push(n.id)},!0),e.history=new Gs(null),e.history.done=ge(this.history.done,i),e.history.undone=ge(this.history.undone,i)}},iterLinkedDocs:function(e){ds(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ot(e)},lineSeparator:function(){return this.lineSep||`
|
|
11
|
+
`},setDirection:vi(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&Ac(this.cm))})}),si.prototype.eachLine=si.prototype.iter;var Zi=0;function Ji(e){var t=this;if(Li(t),!(at(t,e)||ao(t.display,e))){vt(e),ue&&(Zi=+new Date);var o=ws(t,e,!0),i=e.dataTransfer.files;if(!(!o||t.isReadOnly()))if(i&&i.length&&window.FileReader&&window.File)for(var n=i.length,u=Array(n),c=0,y=function(){++c==n&&Ei(t,function(){o=qr(t.doc,o);var Le={from:o,to:o,text:t.doc.splitLines(u.filter(function(Ct){return Ct!=null}).join(t.doc.lineSeparator())),origin:"paste"};xn(t.doc,Le),je(t.doc,ps(qr(t.doc,o),qr(t.doc,Ho(Le))))})()},_=function(Le,Ct){if(t.options.allowDropFileTypes&&Pt(t.options.allowDropFileTypes,Le.type)==-1){y();return}var lt=new FileReader;lt.onerror=function(){return y()},lt.onload=function(){var _t=lt.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(_t)){y();return}u[Ct]=_t,y()},lt.readAsText(Le)},L=0;L<i.length;L++)_(i[L],L);else{if(t.state.draggingText&&t.doc.sel.contains(o)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var ve=e.dataTransfer.getData("Text");if(ve){var he;if(t.state.draggingText&&!t.state.draggingText.copy&&(he=t.listSelections()),Ce(t.doc,ps(o,o)),he)for(var Ze=0;Ze<he.length;++Ze)Jt(t.doc,"",he[Ze].anchor,he[Ze].head,"drag");t.replaceSelection(ve,"around","paste"),t.display.input.focus()}}catch{}}}}function ki(e,t){if(ue&&(!e.state.draggingText||+new Date-Zi<100)){Ln(t);return}if(!(at(e,t)||ao(e.display,t))&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!Qt)){var o=de("img",null,null,"position: fixed; left: 0; top: 0;");o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",bt&&(o.width=o.height=1,e.display.wrapper.appendChild(o),o._top=o.offsetTop),t.dataTransfer.setDragImage(o,0,0),bt&&o.parentNode.removeChild(o)}}function eo(e,t){var o=ws(e,t);if(!!o){var i=document.createDocumentFragment();ua(e,o,i),e.display.dragCursor||(e.display.dragCursor=de("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),Cr(e.display.dragCursor,i)}}function Li(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function wi(e){if(!!document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),o=[],i=0;i<t.length;i++){var n=t[i].CodeMirror;n&&o.push(n)}o.length&&o[0].operation(function(){for(var u=0;u<o.length;u++)e(o[u])})}}var Ti=!1;function zl(){Ti||(ba(),Ti=!0)}function ba(){var e;ht(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,wi(zp)},100))}),ht(window,"blur",function(){return wi(os)})}function zp(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Xs={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},ll=0;ll<10;ll++)Xs[ll+48]=Xs[ll+96]=String(ll);for(var Hl=65;Hl<=90;Hl++)Xs[Hl]=String.fromCharCode(Hl);for(var cl=1;cl<=12;cl++)Xs[cl+111]=Xs[cl+63235]="F"+cl;var ks={};ks.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},ks.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},ks.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},ks.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},ks.default=pr?ks.macDefault:ks.pcDefault;function Hp(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var o,i,n,u,c=0;c<t.length-1;c++){var y=t[c];if(/^(cmd|meta|m)$/i.test(y))u=!0;else if(/^a(lt)?$/i.test(y))o=!0;else if(/^(c|ctrl|control)$/i.test(y))i=!0;else if(/^s(hift)?$/i.test(y))n=!0;else throw new Error("Unrecognized modifier name: "+y)}return o&&(e="Alt-"+e),i&&(e="Ctrl-"+e),u&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function Wp(e){var t={};for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];if(/^(name|fallthrough|(de|at)tach)$/.test(o))continue;if(i=="..."){delete e[o];continue}for(var n=or(o.split(" "),Hp),u=0;u<n.length;u++){var c=void 0,y=void 0;u==n.length-1?(y=n.join(" "),c=i):(y=n.slice(0,u+1).join(" "),c="...");var _=t[y];if(!_)t[y]=c;else if(_!=c)throw new Error("Inconsistent bindings for "+y)}delete e[o]}for(var L in t)e[L]=t[L];return e}function su(e,t,o,i){t=Wl(t);var n=t.call?t.call(e,i):t[e];if(n===!1)return"nothing";if(n==="...")return"multi";if(n!=null&&o(n))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return su(e,t.fallthrough,o,i);for(var u=0;u<t.fallthrough.length;u++){var c=su(e,t.fallthrough[u],o,i);if(c)return c}}}function Qc(e){var t=typeof e=="string"?e:Xs[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function xa(e,t,o){var i=e;return t.altKey&&i!="Alt"&&(e="Alt-"+e),(Dn?t.metaKey:t.ctrlKey)&&i!="Ctrl"&&(e="Ctrl-"+e),(Dn?t.ctrlKey:t.metaKey)&&i!="Mod"&&(e="Cmd-"+e),!o&&t.shiftKey&&i!="Shift"&&(e="Shift-"+e),e}function Yc(e,t){if(bt&&e.keyCode==34&&e.char)return!1;var o=Xs[e.keyCode];return o==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(o=e.code),xa(o,e,t))}function Wl(e){return typeof e=="string"?ks[e]:e}function au(e,t){for(var o=e.doc.sel.ranges,i=[],n=0;n<o.length;n++){for(var u=t(o[n]);i.length&&Pe(u.from,kt(i).to)<=0;){var c=i.pop();if(Pe(c.from,u.from)<0){u.from=c.from;break}}i.push(u)}Wi(e,function(){for(var y=i.length-1;y>=0;y--)Jt(e.doc,"",i[y].from,i[y].to,"+delete");Go(e)})}function Sc(e,t,o){var i=zn(e.text,t+o,o);return i<0||i>e.text.length?null:i}function Ts(e,t,o){var i=Sc(e,t.ch,o);return i==null?null:new b(t.line,i,o<0?"after":"before")}function pl(e,t,o,i,n){if(e){t.doc.direction=="rtl"&&(n=-n);var u=Ht(o,t.doc.direction);if(u){var c=n<0?kt(u):u[0],y=n<0==(c.level==1),_=y?"after":"before",L;if(c.level>0||t.doc.direction=="rtl"){var ve=Lo(t,o);L=n<0?o.text.length-1:0;var he=ho(t,ve,L).top;L=Jn(function(Ze){return ho(t,ve,Ze).top==he},n<0==(c.level==1)?c.from:c.to-1,L),_=="before"&&(L=Sc(o,L,1))}else L=n<0?c.to:c.from;return new b(i,L,_)}}return new b(i,n<0?o.text.length:0,n<0?"before":"after")}function m(e,t,o,i){var n=Ht(t,e.doc.direction);if(!n)return Ts(t,o,i);o.ch>=t.text.length?(o.ch=t.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var u=di(n,o.ch,o.sticky),c=n[u];if(e.doc.direction=="ltr"&&c.level%2==0&&(i>0?c.to>o.ch:c.from<o.ch))return Ts(t,o,i);var y=function(er,wt){return Sc(t,er instanceof b?er.ch:er,wt)},_,L=function(er){return e.options.lineWrapping?(_=_||Lo(e,t),xs(e,t,_,er)):{begin:0,end:t.text.length}},ve=L(o.sticky=="before"?y(o,-1):o.ch);if(e.doc.direction=="rtl"||c.level==1){var he=c.level==1==i<0,Ze=y(o,he?1:-1);if(Ze!=null&&(he?Ze<=c.to&&Ze<=ve.end:Ze>=c.from&&Ze>=ve.begin)){var Le=he?"before":"after";return new b(o.line,Ze,Le)}}var Ct=function(er,wt,Mt){for(var ir=function(on,ti){return ti?new b(o.line,y(on,1),"before"):new b(o.line,on,"after")};er>=0&&er<n.length;er+=wt){var Ve=n[er],wr=wt>0==(Ve.level!=1),Pr=wr?Mt.begin:y(Mt.end,-1);if(Ve.from<=Pr&&Pr<Ve.to||(Pr=wr?Ve.from:y(Ve.to,-1),Mt.begin<=Pr&&Pr<Mt.end))return ir(Pr,wr)}},lt=Ct(u+i,i,ve);if(lt)return lt;var _t=i>0?ve.end:y(ve.begin,-1);return _t!=null&&!(i>0&&_t==t.text.length)&&(lt=Ct(i>0?0:n.length-1,i,L(_t)),lt)?lt:null}var A={selectAll:an,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Hr)},killLine:function(e){return au(e,function(t){if(t.empty()){var o=Oe(e.doc,t.head.line).text.length;return t.head.ch==o&&t.head.line<e.lastLine()?{from:t.head,to:b(t.head.line+1,0)}:{from:t.head,to:b(t.head.line,o)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return au(e,function(t){return{from:b(t.from().line,0),to:qr(e.doc,b(t.to().line+1,0))}})},delLineLeft:function(e){return au(e,function(t){return{from:b(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return au(e,function(t){var o=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:o},"div");return{from:i,to:t.from()}})},delWrappedLineRight:function(e){return au(e,function(t){var o=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div");return{from:t.from(),to:i}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(b(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(b(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return h(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return x(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return C(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div")},Zr)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:o},"div")},Zr)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var o=e.cursorCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:o},"div");return i.ch<e.getLine(i.line).search(/\S/)?x(e,t.head):i},Zr)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var t=[],o=e.listSelections(),i=e.options.tabSize,n=0;n<o.length;n++){var u=o[n].from(),c=Gt(e.getLine(u.line),u.ch,i);t.push(It(i-c%i))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Wi(e,function(){for(var t=e.listSelections(),o=[],i=0;i<t.length;i++)if(!!t[i].empty()){var n=t[i].head,u=Oe(e.doc,n.line).text;if(u){if(n.ch==u.length&&(n=new b(n.line,n.ch-1)),n.ch>0)n=new b(n.line,n.ch+1),e.replaceRange(u.charAt(n.ch-1)+u.charAt(n.ch-2),b(n.line,n.ch-2),n,"+transpose");else if(n.line>e.doc.first){var c=Oe(e.doc,n.line-1).text;c&&(n=new b(n.line,1),e.replaceRange(u.charAt(0)+e.doc.lineSeparator()+c.charAt(c.length-1),b(n.line-1,c.length-1),n,"+transpose"))}}o.push(new ei(n,n))}e.setSelections(o)})},newlineAndIndent:function(e){return Wi(e,function(){for(var t=e.listSelections(),o=t.length-1;o>=0;o--)e.replaceRange(e.doc.lineSeparator(),t[o].anchor,t[o].head,"+input");t=e.listSelections();for(var i=0;i<t.length;i++)e.indentLine(t[i].from().line,null,!0);Go(e)})},openLine:function(e){return e.replaceSelection(`
|
|
12
|
+
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function h(e,t){var o=Oe(e.doc,t),i=so(o);return i!=o&&(t=yn(i)),pl(!0,e,i,t,1)}function C(e,t){var o=Oe(e.doc,t),i=na(o);return i!=o&&(t=yn(i)),pl(!0,e,o,t,-1)}function x(e,t){var o=h(e,t.line),i=Oe(e.doc,o.line),n=Ht(i,e.doc.direction);if(!n||n[0].level==0){var u=Math.max(o.ch,i.text.search(/\S/)),c=t.line==o.line&&t.ch<=u&&t.ch;return b(o.line,c?0:u,o.sticky)}return o}function p(e,t,o){if(typeof t=="string"&&(t=A[t],!t))return!1;e.display.input.ensurePolled();var i=e.display.shift,n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),o&&(e.display.shift=!1),n=t(e)!=rn}finally{e.display.shift=i,e.state.suppressEdits=!1}return n}function d(e,t,o){for(var i=0;i<e.state.keyMaps.length;i++){var n=su(t,e.state.keyMaps[i],o,e);if(n)return n}return e.options.extraKeys&&su(t,e.options.extraKeys,o,e)||su(t,e.options.keyMap,o,e)}var D=new ar;function w(e,t,o,i){var n=e.state.keySeq;if(n){if(Qc(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:D.set(50,function(){e.state.keySeq==n&&(e.state.keySeq=null,e.display.input.reset())}),k(e,n+" "+t,o,i))return!0}return k(e,t,o,i)}function k(e,t,o,i){var n=d(e,t,i);return n=="multi"&&(e.state.keySeq=t),n=="handled"&&Bi(e,"keyHandled",e,t,o),(n=="handled"||n=="multi")&&(vt(o),la(e)),!!n}function R(e,t){var o=Yc(t,!0);return o?t.shiftKey&&!e.state.keySeq?w(e,"Shift-"+o,t,function(i){return p(e,i,!0)})||w(e,o,t,function(i){if(typeof i=="string"?/^go[A-Z]/.test(i):i.motion)return p(e,i)}):w(e,o,t,function(i){return p(e,i)}):!1}function P(e,t,o){return w(e,"'"+o+"'",t,function(i){return p(e,i,!0)})}var M=null;function T(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&(t.curOp.focus=tn(),!at(t,e))){ue&&Ae<11&&e.keyCode==27&&(e.returnValue=!1);var o=e.keyCode;t.display.shift=o==16||e.shiftKey;var i=R(t,e);bt&&(M=i?o:null,!i&&o==88&&!Xt&&(pr?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),f&&!pr&&!i&&o==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),o==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&N(t)}}function N(e){var t=e.display.lineDiv;Vn(t,"CodeMirror-crosshair");function o(i){(i.keyCode==18||!i.altKey)&&(gn(t,"CodeMirror-crosshair"),Tt(document,"keyup",o),Tt(document,"mouseover",o))}ht(document,"keyup",o),ht(document,"mouseover",o)}function j(e){e.keyCode==16&&(this.doc.sel.shift=!1),at(this,e)}function re(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&!(ao(t.display,e)||at(t,e)||e.ctrlKey&&!e.altKey||pr&&e.metaKey)){var o=e.keyCode,i=e.charCode;if(bt&&o==M){M=null,vt(e);return}if(!(bt&&(!e.which||e.which<10)&&R(t,e))){var n=String.fromCharCode(i==null?o:i);n!="\b"&&(P(t,e,n)||t.display.input.onKeyPress(e))}}}var ne=400,$=function(e,t,o){this.time=e,this.pos=t,this.button=o};$.prototype.compare=function(e,t,o){return this.time+ne>e&&Pe(t,this.pos)==0&&o==this.button};var J,ee;function oe(e,t){var o=+new Date;return ee&&ee.compare(o,e,t)?(J=ee=null,"triple"):J&&J.compare(o,e,t)?(ee=new $(o,e,t),J=null,"double"):(J=new $(o,e,t),ee=null,"single")}function ie(e){var t=this,o=t.display;if(!(at(t,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,ao(o,e)){_e||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!Y(t,e)){var i=ws(t,e),n=Qn(e),u=i?oe(i,n):"single";window.focus(),n==1&&t.state.selectingText&&t.state.selectingText(e),!(i&&se(t,n,i,u,e))&&(n==1?i?B(t,i,u,e):_n(e)==o.scroller&&vt(e):n==2?(i&&g(t.doc,i),setTimeout(function(){return o.input.focus()},20)):n==3&&(Ir?t.display.input.onContextMenu(e):ca(t)))}}}function se(e,t,o,i,n){var u="Click";return i=="double"?u="Double"+u:i=="triple"&&(u="Triple"+u),u=(t==1?"Left":t==2?"Middle":"Right")+u,w(e,xa(u,n),n,function(c){if(typeof c=="string"&&(c=A[c]),!c)return!1;var y=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),y=c(e,o)!=rn}finally{e.state.suppressEdits=!1}return y})}function z(e,t,o){var i=e.getOption("configureMouse"),n=i?i(e,t,o):{};if(n.unit==null){var u=kr?o.shiftKey&&o.metaKey:o.altKey;n.unit=u?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(n.extend==null||e.doc.extend)&&(n.extend=e.doc.extend||o.shiftKey),n.addNew==null&&(n.addNew=pr?o.metaKey:o.ctrlKey),n.moveOnDrag==null&&(n.moveOnDrag=!(pr?o.altKey:o.ctrlKey)),n}function B(e,t,o,i){ue?setTimeout(On(Ka,e),0):e.curOp.focus=tn();var n=z(e,o,i),u=e.doc.sel,c;e.options.dragDrop&&pi&&!e.isReadOnly()&&o=="single"&&(c=u.contains(t))>-1&&(Pe((c=u.ranges[c]).from(),t)<0||t.xRel>0)&&(Pe(c.to(),t)>0||t.xRel<0)?O(e,i,t,n):S(e,i,t,n)}function O(e,t,o,i){var n=e.display,u=!1,c=Ei(e,function(L){_e&&(n.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:ca(e)),Tt(n.wrapper.ownerDocument,"mouseup",c),Tt(n.wrapper.ownerDocument,"mousemove",y),Tt(n.scroller,"dragstart",_),Tt(n.scroller,"drop",c),u||(vt(L),i.addNew||g(e.doc,o,null,null,i.extend),_e&&!Qt||ue&&Ae==9?setTimeout(function(){n.wrapper.ownerDocument.body.focus({preventScroll:!0}),n.input.focus()},20):n.input.focus())}),y=function(L){u=u||Math.abs(t.clientX-L.clientX)+Math.abs(t.clientY-L.clientY)>=10},_=function(){return u=!0};_e&&(n.scroller.draggable=!0),e.state.draggingText=c,c.copy=!i.moveOnDrag,ht(n.wrapper.ownerDocument,"mouseup",c),ht(n.wrapper.ownerDocument,"mousemove",y),ht(n.scroller,"dragstart",_),ht(n.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout(function(){return n.input.focus()},20),n.scroller.dragDrop&&n.scroller.dragDrop()}function W(e,t,o){if(o=="char")return new ei(t,t);if(o=="word")return e.findWordAt(t);if(o=="line")return new ei(b(t.line,0),qr(e.doc,b(t.line+1,0)));var i=o(e,t);return new ei(i.from,i.to)}function S(e,t,o,i){ue&&ca(e);var n=e.display,u=e.doc;vt(t);var c,y,_=u.sel,L=_.ranges;if(i.addNew&&!i.extend?(y=u.sel.contains(o),y>-1?c=L[y]:c=new ei(o,o)):(c=u.sel.primary(),y=u.sel.primIndex),i.unit=="rectangle")i.addNew||(c=new ei(o,o)),o=ws(e,t,!0,!0),y=-1;else{var ve=W(e,o,i.unit);i.extend?c=E(c,ve.anchor,ve.head,i.extend):c=ve}i.addNew?y==-1?(y=L.length,Ne(u,So(e,L.concat([c]),y),{scroll:!1,origin:"*mouse"})):L.length>1&&L[y].empty()&&i.unit=="char"&&!i.extend?(Ne(u,So(e,L.slice(0,y).concat(L.slice(y+1)),0),{scroll:!1,origin:"*mouse"}),_=u.sel):U(u,y,c,Or):(y=0,Ne(u,new co([c],0),Or),_=u.sel);var he=o;function Ze(Mt){if(Pe(he,Mt)!=0)if(he=Mt,i.unit=="rectangle"){for(var ir=[],Ve=e.options.tabSize,wr=Gt(Oe(u,o.line).text,o.ch,Ve),Pr=Gt(Oe(u,Mt.line).text,Mt.ch,Ve),on=Math.min(wr,Pr),ti=Math.max(wr,Pr),Hn=Math.min(o.line,Mt.line),Ai=Math.min(e.lastLine(),Math.max(o.line,Mt.line));Hn<=Ai;Hn++){var De=Oe(u,Hn).text,yt=Ue(De,on,Ve);on==ti?ir.push(new ei(b(Hn,yt),b(Hn,yt))):De.length>yt&&ir.push(new ei(b(Hn,yt),b(Hn,Ue(De,ti,Ve))))}ir.length||ir.push(new ei(o,o)),Ne(u,So(e,_.ranges.slice(0,y).concat(ir),y),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Mt)}else{var xr=c,pn=W(e,Mt,i.unit),hn=xr.anchor,Wn;Pe(pn.anchor,hn)>0?(Wn=pn.head,hn=$n(xr.from(),pn.anchor)):(Wn=pn.anchor,hn=nn(xr.to(),pn.head));var Xn=_.ranges.slice(0);Xn[y]=H(e,new ei(qr(u,hn),Wn)),Ne(u,So(e,Xn,y),Or)}}var Le=n.wrapper.getBoundingClientRect(),Ct=0;function lt(Mt){var ir=++Ct,Ve=ws(e,Mt,!0,i.unit=="rectangle");if(!!Ve)if(Pe(Ve,he)!=0){e.curOp.focus=tn(),Ze(Ve);var wr=As(n,u);(Ve.line>=wr.to||Ve.line<wr.from)&&setTimeout(Ei(e,function(){Ct==ir&<(Mt)}),150)}else{var Pr=Mt.clientY<Le.top?-20:Mt.clientY>Le.bottom?20:0;Pr&&setTimeout(Ei(e,function(){Ct==ir&&(n.scroller.scrollTop+=Pr,lt(Mt))}),50)}}function _t(Mt){e.state.selectingText=!1,Ct=1/0,Mt&&(vt(Mt),n.input.focus()),Tt(n.wrapper.ownerDocument,"mousemove",er),Tt(n.wrapper.ownerDocument,"mouseup",wt),u.history.lastSelOrigin=null}var er=Ei(e,function(Mt){Mt.buttons===0||!Qn(Mt)?_t(Mt):lt(Mt)}),wt=Ei(e,_t);e.state.selectingText=wt,ht(n.wrapper.ownerDocument,"mousemove",er),ht(n.wrapper.ownerDocument,"mouseup",wt)}function H(e,t){var o=t.anchor,i=t.head,n=Oe(e.doc,o.line);if(Pe(o,i)==0&&o.sticky==i.sticky)return t;var u=Ht(n);if(!u)return t;var c=di(u,o.ch,o.sticky),y=u[c];if(y.from!=o.ch&&y.to!=o.ch)return t;var _=c+(y.from==o.ch==(y.level!=1)?0:1);if(_==0||_==u.length)return t;var L;if(i.line!=o.line)L=(i.line-o.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var ve=di(u,i.ch,i.sticky),he=ve-c||(i.ch-o.ch)*(y.level==1?-1:1);ve==_-1||ve==_?L=he<0:L=he>0}var Ze=u[_+(L?-1:0)],Le=L==(Ze.level==1),Ct=Le?Ze.from:Ze.to,lt=Le?"after":"before";return o.ch==Ct&&o.sticky==lt?t:new ei(new b(o.line,Ct,lt),i)}function I(e,t,o,i){var n,u;if(t.touches)n=t.touches[0].clientX,u=t.touches[0].clientY;else try{n=t.clientX,u=t.clientY}catch{return!1}if(n>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&vt(t);var c=e.display,y=c.lineDiv.getBoundingClientRect();if(u>y.bottom||!Jr(e,o))return Fn(t);u-=y.top-c.viewOffset;for(var _=0;_<e.display.gutterSpecs.length;++_){var L=c.gutters.childNodes[_];if(L&&L.getBoundingClientRect().right>=n){var ve=Pi(e.doc,u),he=e.display.gutterSpecs[_];return yr(e,o,e,ve,he.className,t),Fn(t)}}}function Y(e,t){return I(e,t,"gutterClick",!0)}function X(e,t){ao(e.display,t)||K(e,t)||at(e,t,"contextmenu")||Ir||e.display.input.onContextMenu(t)}function K(e,t){return Jr(e,"gutterContextMenu")?I(e,t,"gutterContextMenu",!1):!1}function ce(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Ws(e)}var we={toString:function(){return"CodeMirror.Init"}},ye={},Be={};function ke(e){var t=e.optionHandlers;function o(i,n,u,c){e.defaults[i]=n,u&&(t[i]=c?function(y,_,L){L!=we&&u(y,_,L)}:u)}e.defineOption=o,e.Init=we,o("value","",function(i,n){return i.setValue(n)},!0),o("mode",null,function(i,n){i.doc.modeOption=n,Xo(i)},!0),o("indentUnit",2,Xo,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(i){Fo(i),Ws(i),qi(i)},!0),o("lineSeparator",null,function(i,n){if(i.doc.lineSep=n,!!n){var u=[],c=i.doc.first;i.doc.iter(function(_){for(var L=0;;){var ve=_.text.indexOf(n,L);if(ve==-1)break;L=ve+n.length,u.push(b(c,ve))}c++});for(var y=u.length-1;y>=0;y--)Jt(i.doc,n,u[y],b(u[y].line,u[y].ch+n.length))}}),o("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(i,n,u){i.state.specialChars=new RegExp(n.source+(n.test(" ")?"":"| "),"g"),u!=we&&i.refresh()}),o("specialCharPlaceholder",dc,function(i){return i.refresh()},!0),o("electricChars",!0),o("inputStyle",Wt?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),o("spellcheck",!1,function(i,n){return i.getInputField().spellcheck=n},!0),o("autocorrect",!1,function(i,n){return i.getInputField().autocorrect=n},!0),o("autocapitalize",!1,function(i,n){return i.getInputField().autocapitalize=n},!0),o("rtlMoveVisually",!Rr),o("wholeLineUpdateBefore",!0),o("theme","default",function(i){ce(i),zo(i)},!0),o("keyMap","default",function(i,n,u){var c=Wl(n),y=u!=we&&Wl(u);y&&y.detach&&y.detach(i,c),c.attach&&c.attach(i,y||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,qe,!0),o("gutters",[],function(i,n){i.display.gutterSpecs=nl(n,i.options.lineNumbers),zo(i)},!0),o("fixedGutter",!0,function(i,n){i.display.gutters.style.left=n?Uu(i.display)+"px":"0",i.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(i){return wo(i)},!0),o("scrollbarStyle","native",function(i){ga(i),wo(i),i.display.scrollbars.setScrollTop(i.doc.scrollTop),i.display.scrollbars.setScrollLeft(i.doc.scrollLeft)},!0),o("lineNumbers",!1,function(i,n){i.display.gutterSpecs=nl(i.options.gutters,n),zo(i)},!0),o("firstLineNumber",1,zo,!0),o("lineNumberFormatter",function(i){return i},zo,!0),o("showCursorWhenSelecting",!1,is,!0),o("resetSelectionOnContextMenu",!0),o("lineWiseCopyCut",!0),o("pasteLinesPerSelection",!0),o("selectionsMayTouch",!1),o("readOnly",!1,function(i,n){n=="nocursor"&&(os(i),i.display.input.blur()),i.display.input.readOnlyChanged(n)}),o("screenReaderLabel",null,function(i,n){n=n===""?null:n,i.display.input.screenReaderLabelChanged(n)}),o("disableInput",!1,function(i,n){n||i.display.input.reset()},!0),o("dragDrop",!0,Ee),o("allowDropFileTypes",null),o("cursorBlinkRate",530),o("cursorScrollMargin",0),o("cursorHeight",1,is,!0),o("singleCursorHeightPerLine",!0,is,!0),o("workTime",100),o("workDelay",100),o("flattenSpans",!0,Fo,!0),o("addModeClass",!1,Fo,!0),o("pollInterval",100),o("undoDepth",200,function(i,n){return i.doc.history.undoDepth=n}),o("historyEventDelay",1250),o("viewportMargin",10,function(i){return i.refresh()},!0),o("maxHighlightLength",1e4,Fo,!0),o("moveInputWithCursor",!0,function(i,n){n||i.display.input.resetPosition()}),o("tabindex",null,function(i,n){return i.display.input.getField().tabIndex=n||""}),o("autofocus",null),o("direction","ltr",function(i,n){return i.doc.setDirection(n)},!0),o("phrases",null)}function Ee(e,t,o){var i=o&&o!=we;if(!t!=!i){var n=e.display.dragFunctions,u=t?ht:Tt;u(e.display.scroller,"dragstart",n.start),u(e.display.scroller,"dragenter",n.enter),u(e.display.scroller,"dragover",n.over),u(e.display.scroller,"dragleave",n.leave),u(e.display.scroller,"drop",n.drop)}}function qe(e){e.options.lineWrapping?(Vn(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(gn(e.display.wrapper,"CodeMirror-wrap"),Rs(e)),qu(e),qi(e),Ws(e),setTimeout(function(){return wo(e)},100)}function Se(e,t){var o=this;if(!(this instanceof Se))return new Se(e,t);this.options=t=t?li(t):{},li(ye,t,!1);var i=t.value;typeof i=="string"?i=new si(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var n=new Se.inputStyles[t.inputStyle](this),u=this.display=new wc(e,i,n,t);u.wrapper.CodeMirror=this,ce(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ga(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ar,keySeq:null,specialChars:null},t.autofocus&&!Wt&&u.input.focus(),ue&&Ae<11&&setTimeout(function(){return o.display.input.reset(!0)},20),Te(this),zl(),Fs(this),this.curOp.forceUpdate=!0,al(this,i),t.autofocus&&!Wt||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&Vs(o)},20):os(this);for(var c in Be)Be.hasOwnProperty(c)&&Be[c](this,t[c],we);jl(this),t.finishInit&&t.finishInit(this);for(var y=0;y<Ge.length;++y)Ge[y](this);zi(this),_e&&t.lineWrapping&&getComputedStyle(u.lineDiv).textRendering=="optimizelegibility"&&(u.lineDiv.style.textRendering="auto")}Se.defaults=ye,Se.optionHandlers=Be;function Te(e){var t=e.display;ht(t.scroller,"mousedown",Ei(e,ie)),ue&&Ae<11?ht(t.scroller,"dblclick",Ei(e,function(_){if(!at(e,_)){var L=ws(e,_);if(!(!L||Y(e,_)||ao(e.display,_))){vt(_);var ve=e.findWordAt(L);g(e.doc,ve.anchor,ve.head)}}})):ht(t.scroller,"dblclick",function(_){return at(e,_)||vt(_)}),ht(t.scroller,"contextmenu",function(_){return X(e,_)}),ht(t.input.getField(),"contextmenu",function(_){t.scroller.contains(_.target)||X(e,_)});var o,i={end:0};function n(){t.activeTouch&&(o=setTimeout(function(){return t.activeTouch=null},1e3),i=t.activeTouch,i.end=+new Date)}function u(_){if(_.touches.length!=1)return!1;var L=_.touches[0];return L.radiusX<=1&&L.radiusY<=1}function c(_,L){if(L.left==null)return!0;var ve=L.left-_.left,he=L.top-_.top;return ve*ve+he*he>20*20}ht(t.scroller,"touchstart",function(_){if(!at(e,_)&&!u(_)&&!Y(e,_)){t.input.ensurePolled(),clearTimeout(o);var L=+new Date;t.activeTouch={start:L,moved:!1,prev:L-i.end<=300?i:null},_.touches.length==1&&(t.activeTouch.left=_.touches[0].pageX,t.activeTouch.top=_.touches[0].pageY)}}),ht(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),ht(t.scroller,"touchend",function(_){var L=t.activeTouch;if(L&&!ao(t,_)&&L.left!=null&&!L.moved&&new Date-L.start<300){var ve=e.coordsChar(t.activeTouch,"page"),he;!L.prev||c(L,L.prev)?he=new ei(ve,ve):!L.prev.prev||c(L,L.prev.prev)?he=e.findWordAt(ve):he=new ei(b(ve.line,0),qr(e.doc,b(ve.line+1,0))),e.setSelection(he.anchor,he.head),e.focus(),vt(_)}n()}),ht(t.scroller,"touchcancel",n),ht(t.scroller,"scroll",function(){t.scroller.clientHeight&&(qs(e,t.scroller.scrollTop),Mo(e,t.scroller.scrollLeft,!0),yr(e,"scroll",e))}),ht(t.scroller,"mousewheel",function(_){return il(e,_)}),ht(t.scroller,"DOMMouseScroll",function(_){return il(e,_)}),ht(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(_){at(e,_)||Ln(_)},over:function(_){at(e,_)||(eo(e,_),Ln(_))},start:function(_){return ki(e,_)},drop:Ei(e,Ji),leave:function(_){at(e,_)||Li(e)}};var y=t.input.getField();ht(y,"keyup",function(_){return j.call(e,_)}),ht(y,"keydown",Ei(e,T)),ht(y,"keypress",Ei(e,re)),ht(y,"focus",function(_){return Vs(e,_)}),ht(y,"blur",function(_){return os(e,_)})}var Ge=[];Se.defineInitHook=function(e){return Ge.push(e)};function Qe(e,t,o,i){var n=e.doc,u;o==null&&(o="add"),o=="smart"&&(n.mode.indent?u=ms(e,t).state:o="prev");var c=e.options.tabSize,y=Oe(n,t),_=Gt(y.text,null,c);y.stateAfter&&(y.stateAfter=null);var L=y.text.match(/^\s*/)[0],ve;if(!i&&!/\S/.test(y.text))ve=0,o="not";else if(o=="smart"&&(ve=n.mode.indent(u,y.text.slice(L.length),y.text),ve==rn||ve>150)){if(!i)return;o="prev"}o=="prev"?t>n.first?ve=Gt(Oe(n,t-1).text,null,c):ve=0:o=="add"?ve=_+e.options.indentUnit:o=="subtract"?ve=_-e.options.indentUnit:typeof o=="number"&&(ve=_+o),ve=Math.max(0,ve);var he="",Ze=0;if(e.options.indentWithTabs)for(var Le=Math.floor(ve/c);Le;--Le)Ze+=c,he+=" ";if(Ze<ve&&(he+=It(ve-Ze)),he!=L)return Jt(n,he,b(t,0),b(t,L.length),"+input"),y.stateAfter=null,!0;for(var Ct=0;Ct<n.sel.ranges.length;Ct++){var lt=n.sel.ranges[Ct];if(lt.head.line==t&<.head.ch<L.length){var _t=b(t,L.length);U(n,Ct,new ei(_t,_t));break}}}var Xe=null;function At(e){Xe=e}function Fe(e,t,o,i,n){var u=e.doc;e.display.shift=!1,i||(i=u.sel);var c=+new Date-200,y=n=="paste"||e.state.pasteIncoming>c,_=Ot(t),L=null;if(y&&i.ranges.length>1)if(Xe&&Xe.text.join(`
|
|
13
|
+
`)==t){if(i.ranges.length%Xe.text.length==0){L=[];for(var ve=0;ve<Xe.text.length;ve++)L.push(u.splitLines(Xe.text[ve]))}}else _.length==i.ranges.length&&e.options.pasteLinesPerSelection&&(L=or(_,function(er){return[er]}));for(var he=e.curOp.updateInput,Ze=i.ranges.length-1;Ze>=0;Ze--){var Le=i.ranges[Ze],Ct=Le.from(),lt=Le.to();Le.empty()&&(o&&o>0?Ct=b(Ct.line,Ct.ch-o):e.state.overwrite&&!y?lt=b(lt.line,Math.min(Oe(u,lt.line).text.length,lt.ch+kt(_).length)):y&&Xe&&Xe.lineWise&&Xe.text.join(`
|
|
14
|
+
`)==_.join(`
|
|
15
|
+
`)&&(Ct=lt=b(Ct.line,0)));var _t={from:Ct,to:lt,text:L?L[Ze%L.length]:_,origin:n||(y?"paste":e.state.cutIncoming>c?"cut":"+input")};xn(e.doc,_t),Bi(e,"inputRead",e,_t)}t&&!y&&Dt(e,t),Go(e),e.curOp.updateInput<2&&(e.curOp.updateInput=he),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Me(e,t){var o=e.clipboardData&&e.clipboardData.getData("Text");if(o)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&Wi(t,function(){return Fe(t,o,0,null,"paste")}),!0}function Dt(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var o=e.doc.sel,i=o.ranges.length-1;i>=0;i--){var n=o.ranges[i];if(!(n.head.ch>100||i&&o.ranges[i-1].head.line==n.head.line)){var u=e.getModeAt(n.head),c=!1;if(u.electricChars){for(var y=0;y<u.electricChars.length;y++)if(t.indexOf(u.electricChars.charAt(y))>-1){c=Qe(e,n.head.line,"smart");break}}else u.electricInput&&u.electricInput.test(Oe(e.doc,n.head.line).text.slice(0,n.head.ch))&&(c=Qe(e,n.head.line,"smart"));c&&Bi(e,"electricInput",e,n.head.line)}}}function Nt(e){for(var t=[],o=[],i=0;i<e.doc.sel.ranges.length;i++){var n=e.doc.sel.ranges[i].head.line,u={anchor:b(n,0),head:b(n+1,0)};o.push(u),t.push(e.getRange(u.anchor,u.head))}return{text:t,ranges:o}}function mt(e,t,o,i){e.setAttribute("autocorrect",o?"":"off"),e.setAttribute("autocapitalize",i?"":"off"),e.setAttribute("spellcheck",!!t)}function Ie(){var e=de("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=de("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return _e?e.style.width="1000px":e.setAttribute("wrap","off"),pt&&(e.style.border="1px solid black"),mt(e),t}function Re(e){var t=e.optionHandlers,o=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(i,n){var u=this.options,c=u[i];u[i]==n&&i!="mode"||(u[i]=n,t.hasOwnProperty(i)&&Ei(this,t[i])(this,n,c),yr(this,"optionChange",this,i))},getOption:function(i){return this.options[i]},getDoc:function(){return this.doc},addKeyMap:function(i,n){this.state.keyMaps[n?"push":"unshift"](Wl(i))},removeKeyMap:function(i){for(var n=this.state.keyMaps,u=0;u<n.length;++u)if(n[u]==i||n[u].name==i)return n.splice(u,1),!0},addOverlay:Oi(function(i,n){var u=i.token?i:e.getMode(this.options,i);if(u.startState)throw new Error("Overlays may not be stateful.");gr(this.state.overlays,{mode:u,modeSpec:i,opaque:n&&n.opaque,priority:n&&n.priority||0},function(c){return c.priority}),this.state.modeGen++,qi(this)}),removeOverlay:Oi(function(i){for(var n=this.state.overlays,u=0;u<n.length;++u){var c=n[u].modeSpec;if(c==i||typeof i=="string"&&c.name==i){n.splice(u,1),this.state.modeGen++,qi(this);return}}}),indentLine:Oi(function(i,n,u){typeof n!="string"&&typeof n!="number"&&(n==null?n=this.options.smartIndent?"smart":"prev":n=n?"add":"subtract"),yo(this.doc,i)&&Qe(this,i,n,u)}),indentSelection:Oi(function(i){for(var n=this.doc.sel.ranges,u=-1,c=0;c<n.length;c++){var y=n[c];if(y.empty())y.head.line>u&&(Qe(this,y.head.line,i,!0),u=y.head.line,c==this.doc.sel.primIndex&&Go(this));else{var _=y.from(),L=y.to(),ve=Math.max(u,_.line);u=Math.min(this.lastLine(),L.line-(L.ch?0:1))+1;for(var he=ve;he<u;++he)Qe(this,he,i);var Ze=this.doc.sel.ranges;_.ch==0&&n.length==Ze.length&&Ze[c].from().ch>0&&U(this.doc,c,new ei(_,Ze[c].to()),Hr)}}}),getTokenAt:function(i,n){return ta(this,i,n)},getLineTokens:function(i,n){return ta(this,b(i),n,!0)},getTokenTypeAt:function(i){i=qr(this.doc,i);var n=bu(this,Oe(this.doc,i.line)),u=0,c=(n.length-1)/2,y=i.ch,_;if(y==0)_=n[2];else for(;;){var L=u+c>>1;if((L?n[L*2-1]:0)>=y)c=L;else if(n[L*2+1]<y)u=L+1;else{_=n[L*2+2];break}}var ve=_?_.indexOf("overlay "):-1;return ve<0?_:ve==0?null:_.slice(0,ve-1)},getModeAt:function(i){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(i).state).mode:n},getHelper:function(i,n){return this.getHelpers(i,n)[0]},getHelpers:function(i,n){var u=[];if(!o.hasOwnProperty(n))return u;var c=o[n],y=this.getModeAt(i);if(typeof y[n]=="string")c[y[n]]&&u.push(c[y[n]]);else if(y[n])for(var _=0;_<y[n].length;_++){var L=c[y[n][_]];L&&u.push(L)}else y.helperType&&c[y.helperType]?u.push(c[y.helperType]):c[y.name]&&u.push(c[y.name]);for(var ve=0;ve<c._global.length;ve++){var he=c._global[ve];he.pred(y,this)&&Pt(u,he.val)==-1&&u.push(he.val)}return u},getStateAfter:function(i,n){var u=this.doc;return i=Rn(u,i==null?u.first+u.size-1:i),ms(this,i+1,n).state},cursorCoords:function(i,n){var u,c=this.doc.sel.primary();return i==null?u=c.head:typeof i=="object"?u=qr(this.doc,i):u=i?c.from():c.to(),uo(this,u,n||"page")},charCoords:function(i,n){return Ri(this,qr(this.doc,i),n||"page")},coordsChar:function(i,n){return i=Ci(this,i,n||"page"),rs(this,i.left,i.top)},lineAtHeight:function(i,n){return i=Ci(this,{top:i,left:0},n||"page").top,Pi(this.doc,i+this.display.viewOffset)},heightAtLine:function(i,n,u){var c=!1,y;if(typeof i=="number"){var _=this.doc.first+this.doc.size-1;i<this.doc.first?i=this.doc.first:i>_&&(i=_,c=!0),y=Oe(this.doc,i)}else y=i;return Ja(this,y,{top:0,left:0},n||"page",u||c).top+(c?this.doc.height-Do(y):0)},defaultTextHeight:function(){return Cs(this.display)},defaultCharWidth:function(){return Es(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(i,n,u,c,y){var _=this.display;i=uo(this,qr(this.doc,i));var L=i.bottom,ve=i.left;if(n.style.position="absolute",n.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(n),_.sizer.appendChild(n),c=="over")L=i.top;else if(c=="above"||c=="near"){var he=Math.max(_.wrapper.clientHeight,this.doc.height),Ze=Math.max(_.sizer.clientWidth,_.lineSpace.clientWidth);(c=="above"||i.bottom+n.offsetHeight>he)&&i.top>n.offsetHeight?L=i.top-n.offsetHeight:i.bottom+n.offsetHeight<=he&&(L=i.bottom),ve+n.offsetWidth>Ze&&(ve=Ze-n.offsetWidth)}n.style.top=L+"px",n.style.left=n.style.right="",y=="right"?(ve=_.sizer.clientWidth-n.offsetWidth,n.style.right="0px"):(y=="left"?ve=0:y=="middle"&&(ve=(_.sizer.clientWidth-n.offsetWidth)/2),n.style.left=ve+"px"),u&&xc(this,{left:ve,top:L,right:ve+n.offsetWidth,bottom:L+n.offsetHeight})},triggerOnKeyDown:Oi(T),triggerOnKeyPress:Oi(re),triggerOnKeyUp:j,triggerOnMouseDown:Oi(ie),execCommand:function(i){if(A.hasOwnProperty(i))return A[i].call(null,this)},triggerElectric:Oi(function(i){Dt(this,i)}),findPosH:function(i,n,u,c){var y=1;n<0&&(y=-1,n=-n);for(var _=qr(this.doc,i),L=0;L<n&&(_=He(this.doc,_,y,u,c),!_.hitSide);++L);return _},moveH:Oi(function(i,n){var u=this;this.extendSelectionsBy(function(c){return u.display.shift||u.doc.extend||c.empty()?He(u.doc,c.head,i,n,u.options.rtlMoveVisually):i<0?c.from():c.to()},Zr)}),deleteH:Oi(function(i,n){var u=this.doc.sel,c=this.doc;u.somethingSelected()?c.replaceSelection("",null,"+delete"):au(this,function(y){var _=He(c,y.head,i,n,!1);return i<0?{from:_,to:y.head}:{from:y.head,to:_}})}),findPosV:function(i,n,u,c){var y=1,_=c;n<0&&(y=-1,n=-n);for(var L=qr(this.doc,i),ve=0;ve<n;++ve){var he=uo(this,L,"div");if(_==null?_=he.left:he.left=_,L=Et(this,he,y,u),L.hitSide)break}return L},moveV:Oi(function(i,n){var u=this,c=this.doc,y=[],_=!this.display.shift&&!c.extend&&c.sel.somethingSelected();if(c.extendSelectionsBy(function(ve){if(_)return i<0?ve.from():ve.to();var he=uo(u,ve.head,"div");ve.goalColumn!=null&&(he.left=ve.goalColumn),y.push(he.left);var Ze=Et(u,he,i,n);return n=="page"&&ve==c.sel.primary()&&fa(u,Ri(u,Ze,"div").top-he.top),Ze},Zr),y.length)for(var L=0;L<c.sel.ranges.length;L++)c.sel.ranges[L].goalColumn=y[L]}),findWordAt:function(i){var n=this.doc,u=Oe(n,i.line).text,c=i.ch,y=i.ch;if(u){var _=this.getHelper(i,"wordChars");(i.sticky=="before"||y==u.length)&&c?--c:++y;for(var L=u.charAt(c),ve=Rt(L,_)?function(he){return Rt(he,_)}:/\s/.test(L)?function(he){return/\s/.test(he)}:function(he){return!/\s/.test(he)&&!Rt(he)};c>0&&ve(u.charAt(c-1));)--c;for(;y<u.length&&ve(u.charAt(y));)++y}return new ei(b(i.line,c),b(i.line,y))},toggleOverwrite:function(i){i!=null&&i==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Vn(this.display.cursorDiv,"CodeMirror-overwrite"):gn(this.display.cursorDiv,"CodeMirror-overwrite"),yr(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==tn()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Oi(function(i,n){as(this,i,n)}),getScrollInfo:function(){var i=this.display.scroller;return{left:i.scrollLeft,top:i.scrollTop,height:i.scrollHeight-Co(this)-this.display.barHeight,width:i.scrollWidth-Co(this)-this.display.barWidth,clientHeight:Hs(this),clientWidth:Jo(this)}},scrollIntoView:Oi(function(i,n){i==null?(i={from:this.doc.sel.primary().head,to:null},n==null&&(n=this.options.cursorScrollMargin)):typeof i=="number"?i={from:b(i,0),to:null}:i.from==null&&(i={from:i,to:null}),i.to||(i.to=i.from),i.margin=n||0,i.from.line!=null?Yu(this,i):da(this,i.from,i.to,i.margin)}),setSize:Oi(function(i,n){var u=this,c=function(_){return typeof _=="number"||/^\d+$/.test(String(_))?_+"px":_};i!=null&&(this.display.wrapper.style.width=c(i)),n!=null&&(this.display.wrapper.style.height=c(n)),this.options.lineWrapping&&Ru(this);var y=this.display.viewFrom;this.doc.iter(y,this.display.viewTo,function(_){if(_.widgets){for(var L=0;L<_.widgets.length;L++)if(_.widgets[L].noHScroll){qn(u,y,"widget");break}}++y}),this.curOp.forceUpdate=!0,yr(this,"refresh",this)}),operation:function(i){return Wi(this,i)},startOperation:function(){return Fs(this)},endOperation:function(){return zi(this)},refresh:Oi(function(){var i=this.display.cachedTextHeight;qi(this),this.curOp.forceUpdate=!0,Ws(this),as(this,this.doc.scrollLeft,this.doc.scrollTop),tu(this.display),(i==null||Math.abs(i-Cs(this.display))>.5||this.options.lineWrapping)&&qu(this),yr(this,"refresh",this)}),swapDoc:Oi(function(i){var n=this.doc;return n.cm=null,this.state.selectingText&&this.state.selectingText(),al(this,i),Ws(this),this.display.input.reset(),as(this,i.scrollLeft,i.scrollTop),this.curOp.forceScroll=!0,Bi(this,"swapDoc",this,n),n}),phrase:function(i){var n=this.options.phrases;return n&&Object.prototype.hasOwnProperty.call(n,i)?n[i]:i},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},En(e),e.registerHelper=function(i,n,u){o.hasOwnProperty(i)||(o[i]=e[i]={_global:[]}),o[i][n]=u},e.registerGlobalHelper=function(i,n,u,c){e.registerHelper(i,n,c),o[i]._global.push({pred:u,val:c})}}function He(e,t,o,i,n){var u=t,c=o,y=Oe(e,t.line),_=n&&e.direction=="rtl"?-o:o;function L(){var wt=t.line+_;return wt<e.first||wt>=e.first+e.size?!1:(t=new b(wt,t.ch,t.sticky),y=Oe(e,wt))}function ve(wt){var Mt;if(i=="codepoint"){var ir=y.text.charCodeAt(t.ch+(o>0?0:-1));if(isNaN(ir))Mt=null;else{var Ve=o>0?ir>=55296&&ir<56320:ir>=56320&&ir<57343;Mt=new b(t.line,Math.max(0,Math.min(y.text.length,t.ch+o*(Ve?2:1))),-o)}}else n?Mt=m(e.cm,y,t,o):Mt=Ts(y,t,o);if(Mt==null)if(!wt&&L())t=pl(n,e.cm,y,t.line,_);else return!1;else t=Mt;return!0}if(i=="char"||i=="codepoint")ve();else if(i=="column")ve(!0);else if(i=="word"||i=="group")for(var he=null,Ze=i=="group",Le=e.cm&&e.cm.getHelper(t,"wordChars"),Ct=!0;!(o<0&&!ve(!Ct));Ct=!1){var lt=y.text.charAt(t.ch)||`
|
|
16
|
+
`,_t=Rt(lt,Le)?"w":Ze&<==`
|
|
17
|
+
`?"n":!Ze||/\s/.test(lt)?null:"p";if(Ze&&!Ct&&!_t&&(_t="s"),he&&he!=_t){o<0&&(o=1,ve(),t.sticky="after");break}if(_t&&(he=_t),o>0&&!ve(!Ct))break}var er=Br(e,t,u,c,!0);return tr(u,er)&&(er.hitSide=!0),er}function Et(e,t,o,i){var n=e.doc,u=t.left,c;if(i=="page"){var y=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),_=Math.max(y-.5*Cs(e.display),3);c=(o>0?t.bottom:t.top)+o*_}else i=="line"&&(c=o>0?t.bottom+3:t.top-3);for(var L;L=rs(e,u,c),!!L.outside;){if(o<0?c<=0:c>=n.height){L.hitSide=!0;break}c+=o*5}return L}var gt=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ar,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};gt.prototype.init=function(e){var t=this,o=this,i=o.cm,n=o.div=e.lineDiv;n.contentEditable=!0,mt(n,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize);function u(y){for(var _=y.target;_;_=_.parentNode){if(_==n)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(_.className))break}return!1}ht(n,"paste",function(y){!u(y)||at(i,y)||Me(y,i)||Ae<=11&&setTimeout(Ei(i,function(){return t.updateFromDOM()}),20)}),ht(n,"compositionstart",function(y){t.composing={data:y.data,done:!1}}),ht(n,"compositionupdate",function(y){t.composing||(t.composing={data:y.data,done:!1})}),ht(n,"compositionend",function(y){t.composing&&(y.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),ht(n,"touchstart",function(){return o.forceCompositionEnd()}),ht(n,"input",function(){t.composing||t.readFromDOMSoon()});function c(y){if(!(!u(y)||at(i,y))){if(i.somethingSelected())At({lineWise:!1,text:i.getSelections()}),y.type=="cut"&&i.replaceSelection("",null,"cut");else if(i.options.lineWiseCopyCut){var _=Nt(i);At({lineWise:!0,text:_.text}),y.type=="cut"&&i.operation(function(){i.setSelections(_.ranges,0,Hr),i.replaceSelection("",null,"cut")})}else return;if(y.clipboardData){y.clipboardData.clearData();var L=Xe.text.join(`
|
|
18
|
+
`);if(y.clipboardData.setData("Text",L),y.clipboardData.getData("Text")==L){y.preventDefault();return}}var ve=Ie(),he=ve.firstChild;i.display.lineSpace.insertBefore(ve,i.display.lineSpace.firstChild),he.value=Xe.text.join(`
|
|
19
|
+
`);var Ze=tn();ui(he),setTimeout(function(){i.display.lineSpace.removeChild(ve),Ze.focus(),Ze==n&&o.showPrimarySelection()},50)}}ht(n,"copy",c),ht(n,"cut",c)},gt.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},gt.prototype.prepareSelection=function(){var e=Xa(this.cm,!1);return e.focus=tn()==this.div,e},gt.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},gt.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},gt.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,o=t.doc.sel.primary(),i=o.from(),n=o.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||n.line<t.display.viewFrom){e.removeAllRanges();return}var u=St(t,e.anchorNode,e.anchorOffset),c=St(t,e.focusNode,e.focusOffset);if(!(u&&!u.bad&&c&&!c.bad&&Pe($n(u,c),i)==0&&Pe(nn(u,c),n)==0)){var y=t.display.view,_=i.line>=t.display.viewFrom&&ur(t,i)||{node:y[0].measure.map[2],offset:0},L=n.line<t.display.viewTo&&ur(t,n);if(!L){var ve=y[y.length-1].measure,he=ve.maps?ve.maps[ve.maps.length-1]:ve.map;L={node:he[he.length-1],offset:he[he.length-2]-he[he.length-3]}}if(!_||!L){e.removeAllRanges();return}var Ze=e.rangeCount&&e.getRangeAt(0),Le;try{Le=Ut(_.node,_.offset,L.offset,L.node)}catch{}Le&&(!f&&t.state.focused?(e.collapse(_.node,_.offset),Le.collapsed||(e.removeAllRanges(),e.addRange(Le))):(e.removeAllRanges(),e.addRange(Le)),Ze&&e.anchorNode==null?e.addRange(Ze):f&&this.startGracePeriod()),this.rememberSelection()}},gt.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},gt.prototype.showMultipleSelections=function(e){Cr(this.cm.display.cursorDiv,e.cursors),Cr(this.cm.display.selectionDiv,e.selection)},gt.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},gt.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Ar(this.div,t)},gt.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||tn()!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},gt.prototype.blur=function(){this.div.blur()},gt.prototype.getField=function(){return this.div},gt.prototype.supportsTouch=function(){return!0},gt.prototype.receivedFocus=function(){var e=this,t=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):Wi(this.cm,function(){return t.cm.curOp.selectionChanged=!0});function o(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,o))}this.polling.set(this.cm.options.pollInterval,o)},gt.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},gt.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),t=this.cm;if(dt&&Je&&this.cm.display.gutterSpecs.length&&Ur(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var o=St(t,e.anchorNode,e.anchorOffset),i=St(t,e.focusNode,e.focusOffset);o&&i&&Wi(t,function(){Ne(t.doc,ps(o,i),Hr),(o.bad||i.bad)&&(t.curOp.selectionChanged=!0)})}}},gt.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,o=e.doc.sel.primary(),i=o.from(),n=o.to();if(i.ch==0&&i.line>e.firstLine()&&(i=b(i.line-1,Oe(e.doc,i.line-1).length)),n.ch==Oe(e.doc,n.line).text.length&&n.line<e.lastLine()&&(n=b(n.line+1,0)),i.line<t.viewFrom||n.line>t.viewTo-1)return!1;var u,c,y;i.line==t.viewFrom||(u=go(e,i.line))==0?(c=yn(t.view[0].line),y=t.view[0].node):(c=yn(t.view[u].line),y=t.view[u-1].node.nextSibling);var _=go(e,n.line),L,ve;if(_==t.view.length-1?(L=t.viewTo-1,ve=t.lineDiv.lastChild):(L=yn(t.view[_+1].line)-1,ve=t.view[_+1].node.previousSibling),!y)return!1;for(var he=e.doc.splitLines(Ft(e,y,ve,c,L)),Ze=_i(e.doc,b(c,0),b(L,Oe(e.doc,L).text.length));he.length>1&&Ze.length>1;)if(kt(he)==kt(Ze))he.pop(),Ze.pop(),L--;else if(he[0]==Ze[0])he.shift(),Ze.shift(),c++;else break;for(var Le=0,Ct=0,lt=he[0],_t=Ze[0],er=Math.min(lt.length,_t.length);Le<er&<.charCodeAt(Le)==_t.charCodeAt(Le);)++Le;for(var wt=kt(he),Mt=kt(Ze),ir=Math.min(wt.length-(he.length==1?Le:0),Mt.length-(Ze.length==1?Le:0));Ct<ir&&wt.charCodeAt(wt.length-Ct-1)==Mt.charCodeAt(Mt.length-Ct-1);)++Ct;if(he.length==1&&Ze.length==1&&c==i.line)for(;Le&&Le>i.ch&&wt.charCodeAt(wt.length-Ct-1)==Mt.charCodeAt(Mt.length-Ct-1);)Le--,Ct++;he[he.length-1]=wt.slice(0,wt.length-Ct).replace(/^\u200b+/,""),he[0]=he[0].slice(Le).replace(/\u200b+$/,"");var Ve=b(c,Le),wr=b(L,Ze.length?kt(Ze).length-Ct:0);if(he.length>1||he[0]||Pe(Ve,wr))return Jt(e.doc,he,Ve,wr,"+input"),!0},gt.prototype.ensurePolled=function(){this.forceCompositionEnd()},gt.prototype.reset=function(){this.forceCompositionEnd()},gt.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},gt.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},gt.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&Wi(this.cm,function(){return qi(e.cm)})},gt.prototype.setUneditable=function(e){e.contentEditable="false"},gt.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ei(this.cm,Fe)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},gt.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},gt.prototype.onContextMenu=function(){},gt.prototype.resetPosition=function(){},gt.prototype.needsContentAttribute=!0;function ur(e,t){var o=Eo(e,t.line);if(!o||o.hidden)return null;var i=Oe(e.doc,t.line),n=qa(o,i,t.line),u=Ht(i,e.doc.direction),c="left";if(u){var y=di(u,t.ch);c=y%2?"right":"left"}var _=Iu(n.map,t.ch,c);return _.offset=_.collapse=="right"?_.end:_.start,_}function Ur(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function Yr(e,t){return t&&(e.bad=!0),e}function Ft(e,t,o,i,n){var u="",c=!1,y=e.doc.lineSeparator(),_=!1;function L(Le){return function(Ct){return Ct.id==Le}}function ve(){c&&(u+=y,_&&(u+=y),c=_=!1)}function he(Le){Le&&(ve(),u+=Le)}function Ze(Le){if(Le.nodeType==1){var Ct=Le.getAttribute("cm-text");if(Ct){he(Ct);return}var lt=Le.getAttribute("cm-marker"),_t;if(lt){var er=e.findMarks(b(i,0),b(n+1,0),L(+lt));er.length&&(_t=er[0].find(0))&&he(_i(e.doc,_t.from,_t.to).join(y));return}if(Le.getAttribute("contenteditable")=="false")return;var wt=/^(pre|div|p|li|table|br)$/i.test(Le.nodeName);if(!/^br$/i.test(Le.nodeName)&&Le.textContent.length==0)return;wt&&ve();for(var Mt=0;Mt<Le.childNodes.length;Mt++)Ze(Le.childNodes[Mt]);/^(pre|p)$/i.test(Le.nodeName)&&(_=!0),wt&&(c=!0)}else Le.nodeType==3&&he(Le.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Ze(t),t!=o;)t=t.nextSibling,_=!1;return u}function St(e,t,o){var i;if(t==e.display.lineDiv){if(i=e.display.lineDiv.childNodes[o],!i)return Yr(e.clipPos(b(e.display.viewTo-1)),!0);t=null,o=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var n=0;n<e.display.view.length;n++){var u=e.display.view[n];if(u.node==i)return Lt(u,t,o)}}function Lt(e,t,o){var i=e.text.firstChild,n=!1;if(!t||!Ar(i,t))return Yr(b(yn(e.line),0),!0);if(t==i&&(n=!0,t=i.childNodes[o],o=0,!t)){var u=e.rest?kt(e.rest):e.line;return Yr(b(yn(u),u.text.length),n)}var c=t.nodeType==3?t:null,y=t;for(!c&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(c=t.firstChild,o&&(o=c.nodeValue.length));y.parentNode!=i;)y=y.parentNode;var _=e.measure,L=_.maps;function ve(_t,er,wt){for(var Mt=-1;Mt<(L?L.length:0);Mt++)for(var ir=Mt<0?_.map:L[Mt],Ve=0;Ve<ir.length;Ve+=3){var wr=ir[Ve+2];if(wr==_t||wr==er){var Pr=yn(Mt<0?e.line:e.rest[Mt]),on=ir[Ve]+wt;return(wt<0||wr!=_t)&&(on=ir[Ve+(wt?1:0)]),b(Pr,on)}}}var he=ve(c,y,o);if(he)return Yr(he,n);for(var Ze=y.nextSibling,Le=c?c.nodeValue.length-o:0;Ze;Ze=Ze.nextSibling){if(he=ve(Ze,Ze.firstChild,0),he)return Yr(b(he.line,he.ch-Le),n);Le+=Ze.textContent.length}for(var Ct=y.previousSibling,lt=o;Ct;Ct=Ct.previousSibling){if(he=ve(Ct,Ct.firstChild,-1),he)return Yr(b(he.line,he.ch+lt),n);lt+=Ct.textContent.length}}var tt=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new ar,this.hasSelection=!1,this.composing=null};tt.prototype.init=function(e){var t=this,o=this,i=this.cm;this.createField(e);var n=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),pt&&(n.style.width="0px"),ht(n,"input",function(){ue&&Ae>=9&&t.hasSelection&&(t.hasSelection=null),o.poll()}),ht(n,"paste",function(c){at(i,c)||Me(c,i)||(i.state.pasteIncoming=+new Date,o.fastPoll())});function u(c){if(!at(i,c)){if(i.somethingSelected())At({lineWise:!1,text:i.getSelections()});else if(i.options.lineWiseCopyCut){var y=Nt(i);At({lineWise:!0,text:y.text}),c.type=="cut"?i.setSelections(y.ranges,null,Hr):(o.prevInput="",n.value=y.text.join(`
|
|
20
|
+
`),ui(n))}else return;c.type=="cut"&&(i.state.cutIncoming=+new Date)}}ht(n,"cut",u),ht(n,"copy",u),ht(e.scroller,"paste",function(c){if(!(ao(e,c)||at(i,c))){if(!n.dispatchEvent){i.state.pasteIncoming=+new Date,o.focus();return}var y=new Event("paste");y.clipboardData=c.clipboardData,n.dispatchEvent(y)}}),ht(e.lineSpace,"selectstart",function(c){ao(e,c)||vt(c)}),ht(n,"compositionstart",function(){var c=i.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:c,range:i.markText(c,i.getCursor("to"),{className:"CodeMirror-composing"})}}),ht(n,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},tt.prototype.createField=function(e){this.wrapper=Ie(),this.textarea=this.wrapper.firstChild},tt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},tt.prototype.prepareSelection=function(){var e=this.cm,t=e.display,o=e.doc,i=Xa(e);if(e.options.moveInputWithCursor){var n=uo(e,o.sel.primary().head,"div"),u=t.wrapper.getBoundingClientRect(),c=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,n.top+c.top-u.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,n.left+c.left-u.left))}return i},tt.prototype.showSelection=function(e){var t=this.cm,o=t.display;Cr(o.cursorDiv,e.cursors),Cr(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},tt.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var o=t.getSelection();this.textarea.value=o,t.state.focused&&ui(this.textarea),ue&&Ae>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",ue&&Ae>=9&&(this.hasSelection=null))}},tt.prototype.getField=function(){return this.textarea},tt.prototype.supportsTouch=function(){return!1},tt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Wt||tn()!=this.textarea))try{this.textarea.focus()}catch{}},tt.prototype.blur=function(){this.textarea.blur()},tt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},tt.prototype.receivedFocus=function(){this.slowPoll()},tt.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},tt.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function o(){var i=t.poll();!i&&!e?(e=!0,t.polling.set(60,o)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,o)},tt.prototype.poll=function(){var e=this,t=this.cm,o=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||Bt(o)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var n=o.value;if(n==i&&!t.somethingSelected())return!1;if(ue&&Ae>=9&&this.hasSelection===n||pr&&/[\uf700-\uf7ff]/.test(n))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var u=n.charCodeAt(0);if(u==8203&&!i&&(i="\u200B"),u==8666)return this.reset(),this.cm.execCommand("undo")}for(var c=0,y=Math.min(i.length,n.length);c<y&&i.charCodeAt(c)==n.charCodeAt(c);)++c;return Wi(t,function(){Fe(t,n.slice(c),i.length-c,null,e.composing?"*compose":null),n.length>1e3||n.indexOf(`
|
|
21
|
+
`)>-1?o.value=e.prevInput="":e.prevInput=n,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},tt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},tt.prototype.onKeyPress=function(){ue&&Ae>=9&&(this.hasSelection=null),this.fastPoll()},tt.prototype.onContextMenu=function(e){var t=this,o=t.cm,i=o.display,n=t.textarea;t.contextMenuPending&&t.contextMenuPending();var u=ws(o,e),c=i.scroller.scrollTop;if(!u||bt)return;var y=o.options.resetSelectionOnContextMenu;y&&o.doc.sel.contains(u)==-1&&Ei(o,Ne)(o.doc,ps(u),Hr);var _=n.style.cssText,L=t.wrapper.style.cssText,ve=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",n.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
22
|
+
top: `+(e.clientY-ve.top-5)+"px; left: "+(e.clientX-ve.left-5)+`px;
|
|
23
|
+
z-index: 1000; background: `+(ue?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
24
|
+
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var he;_e&&(he=window.scrollY),i.input.focus(),_e&&window.scrollTo(null,he),i.input.reset(),o.somethingSelected()||(n.value=t.prevInput=" "),t.contextMenuPending=Le,i.selForContextMenu=o.doc.sel,clearTimeout(i.detectingSelectAll);function Ze(){if(n.selectionStart!=null){var lt=o.somethingSelected(),_t="\u200B"+(lt?n.value:"");n.value="\u21DA",n.value=_t,t.prevInput=lt?"":"\u200B",n.selectionStart=1,n.selectionEnd=_t.length,i.selForContextMenu=o.doc.sel}}function Le(){if(t.contextMenuPending==Le&&(t.contextMenuPending=!1,t.wrapper.style.cssText=L,n.style.cssText=_,ue&&Ae<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=c),n.selectionStart!=null)){(!ue||ue&&Ae<9)&&Ze();var lt=0,_t=function(){i.selForContextMenu==o.doc.sel&&n.selectionStart==0&&n.selectionEnd>0&&t.prevInput=="\u200B"?Ei(o,an)(o):lt++<10?i.detectingSelectAll=setTimeout(_t,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(_t,200)}}if(ue&&Ae>=9&&Ze(),Ir){Ln(e);var Ct=function(){Tt(window,"mouseup",Ct),setTimeout(Le,20)};ht(window,"mouseup",Ct)}else setTimeout(Le,50)},tt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},tt.prototype.setUneditable=function(){},tt.prototype.needsContentAttribute=!1;function rr(e,t){if(t=t?li(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),t.autofocus==null){var o=tn();t.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function i(){e.value=y.getValue()}var n;if(e.form&&(ht(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var u=e.form;n=u.submit;try{var c=u.submit=function(){i(),u.submit=n,u.submit(),u.submit=c}}catch{}}t.finishInit=function(_){_.save=i,_.getTextArea=function(){return e},_.toTextArea=function(){_.toTextArea=isNaN,i(),e.parentNode.removeChild(_.getWrapperElement()),e.style.display="",e.form&&(Tt(e.form,"submit",i),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=n))}},e.style.display="none";var y=Se(function(_){return e.parentNode.insertBefore(_,e.nextSibling)},t);return y}function $e(e){e.off=Tt,e.on=ht,e.wheelEventPixels=Il,e.Doc=si,e.splitLines=Ot,e.countColumn=Gt,e.findColumn=Ue,e.isWordChar=We,e.Pass=rn,e.signal=yr,e.Line=Zo,e.changeEnd=Ho,e.scrollbarModel=ha,e.Pos=b,e.cmpPos=Pe,e.modes=Fr,e.mimeModes=Lr,e.resolveMode=Qr,e.getMode=mn,e.modeExtensions=Gr,e.extendMode=fn,e.copyState=Zn,e.startState=ci,e.innerMode=ii,e.commands=A,e.keyMap=ks,e.keyName=Yc,e.isModifierKey=Qc,e.lookupKey=su,e.normalizeKeyMap=Wp,e.StringStream=Tn,e.SharedTextMarker=Tr,e.TextMarker=jt,e.LineWidget=wn,e.e_preventDefault=vt,e.e_stopPropagation=cn,e.e_stop=Ln,e.addClass=Vn,e.contains=Ar,e.rmClass=gn,e.keyNames=Xs}ke(Se),Re(Se);var Kt="iter insert remove copy getEditor constructor".split(" ");for(var qt in si.prototype)si.prototype.hasOwnProperty(qt)&&Pt(Kt,qt)<0&&(Se.prototype[qt]=function(e){return function(){return e.apply(this.doc,arguments)}}(si.prototype[qt]));return En(si),Se.inputStyles={textarea:tt,contenteditable:gt},Se.defineMode=function(e){!Se.defaults.mode&&e!="null"&&(Se.defaults.mode=e),Vr.apply(this,arguments)},Se.defineMIME=Kr,Se.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Se.defineMIME("text/plain","null"),Se.defineExtension=function(e,t){Se.prototype[e]=t},Se.defineDocExtension=function(e,t){si.prototype[e]=t},Se.fromTextArea=rr,$e(Se),Se.version="5.65.5",Se})})(ka);var mv=ka.exports,cg={exports:{}};(function(r,s){(function(a){a(ka.exports)})(function(a){a.defineMode("javascript",function(l,f){var F=l.indentUnit,V=f.statementIndent,ae=f.jsonld,ue=f.json||ae,Ae=f.trackScope!==!1,_e=f.typescript,ze=f.wordCharacters||/[\w$\xa1-\uffff]/,Je=function(){function b(qr){return{type:qr,style:"keyword"}}var Pe=b("keyword a"),tr=b("keyword b"),br=b("keyword c"),nn=b("keyword d"),$n=b("operator"),Rn={type:"atom",style:"atom"};return{if:b("if"),while:Pe,with:Pe,else:tr,do:tr,try:tr,finally:tr,return:nn,break:nn,continue:nn,new:b("new"),delete:br,void:br,throw:br,debugger:b("debugger"),var:b("var"),const:b("var"),let:b("var"),function:b("function"),catch:b("catch"),for:b("for"),switch:b("switch"),case:b("case"),default:b("default"),in:$n,typeof:$n,instanceof:$n,true:Rn,false:Rn,null:Rn,undefined:Rn,NaN:Rn,Infinity:Rn,this:b("this"),class:b("class"),super:b("atom"),yield:br,export:b("export"),import:b("import"),extends:br,await:br}}(),rt=/[+\-*&%=<>!?|~^@]/,bt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Qt(b){for(var Pe=!1,tr,br=!1;(tr=b.next())!=null;){if(!Pe){if(tr=="/"&&!br)return;tr=="["?br=!0:br&&tr=="]"&&(br=!1)}Pe=!Pe&&tr=="\\"}}var nr,et;function pt(b,Pe,tr){return nr=b,et=tr,Pe}function dt(b,Pe){var tr=b.next();if(tr=='"'||tr=="'")return Pe.tokenize=Wt(tr),Pe.tokenize(b,Pe);if(tr=="."&&b.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return pt("number","number");if(tr=="."&&b.match(".."))return pt("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(tr))return pt(tr);if(tr=="="&&b.eat(">"))return pt("=>","operator");if(tr=="0"&&b.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return pt("number","number");if(/\d/.test(tr))return b.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),pt("number","number");if(tr=="/")return b.eat("*")?(Pe.tokenize=pr,pr(b,Pe)):b.eat("/")?(b.skipToEnd(),pt("comment","comment")):xi(b,Pe,1)?(Qt(b),b.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),pt("regexp","string-2")):(b.eat("="),pt("operator","operator",b.current()));if(tr=="`")return Pe.tokenize=kr,kr(b,Pe);if(tr=="#"&&b.peek()=="!")return b.skipToEnd(),pt("meta","meta");if(tr=="#"&&b.eatWhile(ze))return pt("variable","property");if(tr=="<"&&b.match("!--")||tr=="-"&&b.match("->")&&!/\S/.test(b.string.slice(0,b.start)))return b.skipToEnd(),pt("comment","comment");if(rt.test(tr))return(tr!=">"||!Pe.lexical||Pe.lexical.type!=">")&&(b.eat("=")?(tr=="!"||tr=="=")&&b.eat("="):/[<>*+\-|&?]/.test(tr)&&(b.eat(tr),tr==">"&&b.eat(tr))),tr=="?"&&b.eat(".")?pt("."):pt("operator","operator",b.current());if(ze.test(tr)){b.eatWhile(ze);var br=b.current();if(Pe.lastType!="."){if(Je.propertyIsEnumerable(br)){var nn=Je[br];return pt(nn.type,nn.style,br)}if(br=="async"&&b.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return pt("async","keyword",br)}return pt("variable","variable",br)}}function Wt(b){return function(Pe,tr){var br=!1,nn;if(ae&&Pe.peek()=="@"&&Pe.match(bt))return tr.tokenize=dt,pt("jsonld-keyword","meta");for(;(nn=Pe.next())!=null&&!(nn==b&&!br);)br=!br&&nn=="\\";return br||(tr.tokenize=dt),pt("string","string")}}function pr(b,Pe){for(var tr=!1,br;br=b.next();){if(br=="/"&&tr){Pe.tokenize=dt;break}tr=br=="*"}return pt("comment","comment")}function kr(b,Pe){for(var tr=!1,br;(br=b.next())!=null;){if(!tr&&(br=="`"||br=="$"&&b.eat("{"))){Pe.tokenize=dt;break}tr=!tr&&br=="\\"}return pt("quasi","string-2",b.current())}var Rr="([{}])";function Sn(b,Pe){Pe.fatArrowAt&&(Pe.fatArrowAt=null);var tr=b.string.indexOf("=>",b.start);if(!(tr<0)){if(_e){var br=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(b.string.slice(b.start,tr));br&&(tr=br.index)}for(var nn=0,$n=!1,Rn=tr-1;Rn>=0;--Rn){var qr=b.string.charAt(Rn),hi=Rr.indexOf(qr);if(hi>=0&&hi<3){if(!nn){++Rn;break}if(--nn==0){qr=="("&&($n=!0);break}}else if(hi>=3&&hi<6)++nn;else if(ze.test(qr))$n=!0;else if(/["'\/`]/.test(qr))for(;;--Rn){if(Rn==0)return;var Ta=b.string.charAt(Rn-1);if(Ta==qr&&b.string.charAt(Rn-2)!="\\"){Rn--;break}}else if($n&&!nn){++Rn;break}}$n&&!nn&&(Pe.fatArrowAt=Rn)}}var Dn={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Ir(b,Pe,tr,br,nn,$n){this.indented=b,this.column=Pe,this.type=tr,this.prev=nn,this.info=$n,br!=null&&(this.align=br)}function Nr(b,Pe){if(!Ae)return!1;for(var tr=b.localVars;tr;tr=tr.next)if(tr.name==Pe)return!0;for(var br=b.context;br;br=br.prev)for(var tr=br.vars;tr;tr=tr.next)if(tr.name==Pe)return!0}function gn(b,Pe,tr,br,nn){var $n=b.cc;for(zt.state=b,zt.stream=nn,zt.marked=null,zt.cc=$n,zt.style=Pe,b.lexical.hasOwnProperty("align")||(b.lexical.align=!0);;){var Rn=$n.length?$n.pop():ue?Or:rn;if(Rn(tr,br)){for(;$n.length&&$n[$n.length-1].lex;)$n.pop()();return zt.marked?zt.marked:tr=="variable"&&Nr(b,br)?"variable-2":Pe}}}var zt={state:null,column:null,marked:null,cc:null};function Cr(){for(var b=arguments.length-1;b>=0;b--)zt.cc.push(arguments[b])}function de(){return Cr.apply(null,arguments),!0}function lr(b,Pe){for(var tr=Pe;tr;tr=tr.next)if(tr.name==b)return!0;return!1}function Ut(b){var Pe=zt.state;if(zt.marked="def",!!Ae){if(Pe.context){if(Pe.lexical.info=="var"&&Pe.context&&Pe.context.block){var tr=Ar(b,Pe.context);if(tr!=null){Pe.context=tr;return}}else if(!lr(b,Pe.localVars)){Pe.localVars=new ai(b,Pe.localVars);return}}f.globalVars&&!lr(b,Pe.globalVars)&&(Pe.globalVars=new ai(b,Pe.globalVars))}}function Ar(b,Pe){if(Pe)if(Pe.block){var tr=Ar(b,Pe.prev);return tr?tr==Pe.prev?Pe:new Vn(tr,Pe.vars,!0):null}else return lr(b,Pe.vars)?Pe:new Vn(Pe.prev,new ai(b,Pe.vars),!1);else return null}function tn(b){return b=="public"||b=="private"||b=="protected"||b=="abstract"||b=="readonly"}function Vn(b,Pe,tr){this.prev=b,this.vars=Pe,this.block=tr}function ai(b,Pe){this.name=b,this.next=Pe}var ui=new ai("this",new ai("arguments",null));function On(){zt.state.context=new Vn(zt.state.context,zt.state.localVars,!1),zt.state.localVars=ui}function li(){zt.state.context=new Vn(zt.state.context,zt.state.localVars,!0),zt.state.localVars=null}On.lex=li.lex=!0;function Gt(){zt.state.localVars=zt.state.context.vars,zt.state.context=zt.state.context.prev}Gt.lex=!0;function ar(b,Pe){var tr=function(){var br=zt.state,nn=br.indented;if(br.lexical.type=="stat")nn=br.lexical.indented;else for(var $n=br.lexical;$n&&$n.type==")"&&$n.align;$n=$n.prev)nn=$n.indented;br.lexical=new Ir(nn,zt.stream.column(),b,null,br.lexical,Pe)};return tr.lex=!0,tr}function Pt(){var b=zt.state;b.lexical.prev&&(b.lexical.type==")"&&(b.indented=b.lexical.indented),b.lexical=b.lexical.prev)}Pt.lex=!0;function Dr(b){function Pe(tr){return tr==b?de():b==";"||tr=="}"||tr==")"||tr=="]"?Cr():de(Pe)}return Pe}function rn(b,Pe){return b=="var"?de(ar("vardef",Pe),Qn,Dr(";"),Pt):b=="keyword a"?de(ar("form"),Ue,rn,Pt):b=="keyword b"?de(ar("form"),rn,Pt):b=="keyword d"?zt.stream.match(/^\s*$/,!1)?de():de(ar("stat"),It,Dr(";"),Pt):b=="debugger"?de(Dr(";")):b=="{"?de(ar("}"),li,Mr,Pt,Gt):b==";"?de():b=="if"?(zt.state.lexical.info=="else"&&zt.state.cc[zt.state.cc.length-1]==Pt&&zt.state.cc.pop()(),de(ar("form"),Ue,rn,Pt,Ot)):b=="function"?de(hr):b=="for"?de(ar("form"),li,Bt,rn,Gt,Pt):b=="class"||_e&&Pe=="interface"?(zt.marked="keyword",de(ar("form",b=="class"?b:Pe),Qr,Pt)):b=="variable"?_e&&Pe=="declare"?(zt.marked="keyword",de(rn)):_e&&(Pe=="module"||Pe=="enum"||Pe=="type")&&zt.stream.match(/^\s*\w/,!1)?(zt.marked="keyword",Pe=="enum"?de(yn):Pe=="type"?de(Lr,Dr("operator"),Tt,Dr(";")):de(ar("form"),pi,Dr("{"),ar("}"),Mr,Pt,Pt)):_e&&Pe=="namespace"?(zt.marked="keyword",de(ar("form"),Or,rn,Pt)):_e&&Pe=="abstract"?(zt.marked="keyword",de(rn)):de(ar("stat"),_r):b=="switch"?de(ar("form"),Ue,Dr("{"),ar("}","switch"),li,Mr,Pt,Pt,Gt):b=="case"?de(Or,Dr(":")):b=="default"?de(Dr(":")):b=="catch"?de(ar("form"),On,Hr,rn,Pt,Gt):b=="export"?de(ar("stat"),Zn,Pt):b=="import"?de(ar("stat"),ci,Pt):b=="async"?de(rn):Pe=="@"?de(Or,rn):Cr(ar("stat"),Or,Dr(";"),Pt)}function Hr(b){if(b=="(")return de(Vr,Dr(")"))}function Or(b,Pe){return nt(b,Pe,!1)}function Zr(b,Pe){return nt(b,Pe,!0)}function Ue(b){return b!="("?Cr():de(ar(")"),It,Dr(")"),Pt)}function nt(b,Pe,tr){if(zt.state.fatArrowAt==zt.stream.start){var br=tr?dr:Sr;if(b=="(")return de(On,ar(")"),kn(Vr,")"),Pt,Dr("=>"),br,Gt);if(b=="variable")return Cr(On,pi,Dr("=>"),br,Gt)}var nn=tr?or:kt;return Dn.hasOwnProperty(b)?de(nn):b=="function"?de(hr,nn):b=="class"||_e&&Pe=="interface"?(zt.marked="keyword",de(ar("form"),Kr,Pt)):b=="keyword c"||b=="async"?de(tr?Zr:Or):b=="("?de(ar(")"),It,Dr(")"),Pt,nn):b=="operator"||b=="spread"?de(tr?Zr:Or):b=="["?de(ar("]"),In,Pt,nn):b=="{"?di(zn,"}",null,nn):b=="quasi"?Cr(gr,nn):b=="new"?de(We(tr)):de()}function It(b){return b.match(/[;\}\)\],]/)?Cr():Cr(Or)}function kt(b,Pe){return b==","?de(It):or(b,Pe,!1)}function or(b,Pe,tr){var br=tr==!1?kt:or,nn=tr==!1?Or:Zr;if(b=="=>")return de(On,tr?dr:Sr,Gt);if(b=="operator")return/\+\+|--/.test(Pe)||_e&&Pe=="!"?de(br):_e&&Pe=="<"&&zt.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?de(ar(">"),kn(Tt,">"),Pt,br):Pe=="?"?de(Or,Dr(":"),nn):de(nn);if(b=="quasi")return Cr(gr,br);if(b!=";"){if(b=="(")return di(Zr,")","call",br);if(b==".")return de(ln,br);if(b=="[")return de(ar("]"),It,Dr("]"),Pt,br);if(_e&&Pe=="as")return zt.marked="keyword",de(Tt,br);if(b=="regexp")return zt.state.lastType=zt.marked="operator",zt.stream.backUp(zt.stream.pos-zt.stream.start-1),de(nn)}}function gr(b,Pe){return b!="quasi"?Cr():Pe.slice(Pe.length-2)!="${"?de(gr):de(It,Er)}function Er(b){if(b=="}")return zt.marked="string-2",zt.state.tokenize=kr,de(gr)}function Sr(b){return Sn(zt.stream,zt.state),Cr(b=="{"?rn:Or)}function dr(b){return Sn(zt.stream,zt.state),Cr(b=="{"?rn:Zr)}function We(b){return function(Pe){return Pe=="."?de(b?it:Rt):Pe=="variable"&&_e?de(Fn,b?or:kt):Cr(b?Zr:Or)}}function Rt(b,Pe){if(Pe=="target")return zt.marked="keyword",de(kt)}function it(b,Pe){if(Pe=="target")return zt.marked="keyword",de(or)}function _r(b){return b==":"?de(Pt,rn):Cr(kt,Dr(";"),Pt)}function ln(b){if(b=="variable")return zt.marked="property",de()}function zn(b,Pe){if(b=="async")return zt.marked="property",de(zn);if(b=="variable"||zt.style=="keyword"){if(zt.marked="property",Pe=="get"||Pe=="set")return de(Jn);var tr;return _e&&zt.state.fatArrowAt==zt.stream.start&&(tr=zt.stream.match(/^\s*:\s*/,!1))&&(zt.state.fatArrowAt=zt.stream.pos+tr[0].length),de(Gn)}else{if(b=="number"||b=="string")return zt.marked=ae?"property":zt.style+" property",de(Gn);if(b=="jsonld-keyword")return de(Gn);if(_e&&tn(Pe))return zt.marked="keyword",de(zn);if(b=="[")return de(Or,Ht,Dr("]"),Gn);if(b=="spread")return de(Zr,Gn);if(Pe=="*")return zt.marked="keyword",de(zn);if(b==":")return Cr(Gn)}}function Jn(b){return b!="variable"?Cr(Gn):(zt.marked="property",de(hr))}function Gn(b){if(b==":")return de(Zr);if(b=="(")return Cr(hr)}function kn(b,Pe,tr){function br(nn,$n){if(tr?tr.indexOf(nn)>-1:nn==","){var Rn=zt.state.lexical;return Rn.info=="call"&&(Rn.pos=(Rn.pos||0)+1),de(function(qr,hi){return qr==Pe||hi==Pe?Cr():Cr(b)},br)}return nn==Pe||$n==Pe?de():tr&&tr.indexOf(";")>-1?Cr(b):de(Dr(Pe))}return function(nn,$n){return nn==Pe||$n==Pe?de():Cr(b,br)}}function di(b,Pe,tr){for(var br=3;br<arguments.length;br++)zt.cc.push(arguments[br]);return de(ar(Pe,tr),kn(b,Pe),Pt)}function Mr(b){return b=="}"?de():Cr(rn,Mr)}function Ht(b,Pe){if(_e){if(b==":")return de(Tt);if(Pe=="?")return de(Ht)}}function $t(b,Pe){if(_e&&(b==":"||Pe=="in"))return de(Tt)}function ht(b){if(_e&&b==":")return zt.stream.match(/^\s*\w+\s+is\b/,!1)?de(Or,Zt,Tt):de(Tt)}function Zt(b,Pe){if(Pe=="is")return zt.marked="keyword",de()}function Tt(b,Pe){if(Pe=="keyof"||Pe=="typeof"||Pe=="infer"||Pe=="readonly")return zt.marked="keyword",de(Pe=="typeof"?Zr:Tt);if(b=="variable"||Pe=="void")return zt.marked="type",de(cn);if(Pe=="|"||Pe=="&")return de(Tt);if(b=="string"||b=="number"||b=="atom")return de(cn);if(b=="[")return de(ar("]"),kn(Tt,"]",","),Pt,cn);if(b=="{")return de(ar("}"),at,Pt,cn);if(b=="(")return de(kn(vt,")"),yr,cn);if(b=="<")return de(kn(Tt,">"),Tt);if(b=="quasi")return Cr(Jr,cn)}function yr(b){if(b=="=>")return de(Tt)}function at(b){return b.match(/[\}\)\]]/)?de():b==","||b==";"?de(at):Cr($r,at)}function $r(b,Pe){if(b=="variable"||zt.style=="keyword")return zt.marked="property",de($r);if(Pe=="?"||b=="number"||b=="string")return de($r);if(b==":")return de(Tt);if(b=="[")return de(Dr("variable"),$t,Dr("]"),$r);if(b=="(")return Cr(Fr,$r);if(!b.match(/[;\}\)\],]/))return de()}function Jr(b,Pe){return b!="quasi"?Cr():Pe.slice(Pe.length-2)!="${"?de(Jr):de(Tt,En)}function En(b){if(b=="}")return zt.marked="string-2",zt.state.tokenize=kr,de(Jr)}function vt(b,Pe){return b=="variable"&&zt.stream.match(/^\s*[?:]/,!1)||Pe=="?"?de(vt):b==":"?de(Tt):b=="spread"?de(vt):Cr(Tt)}function cn(b,Pe){if(Pe=="<")return de(ar(">"),kn(Tt,">"),Pt,cn);if(Pe=="|"||b=="."||Pe=="&")return de(Tt);if(b=="[")return de(Tt,Dr("]"),cn);if(Pe=="extends"||Pe=="implements")return zt.marked="keyword",de(Tt);if(Pe=="?")return de(Tt,Dr(":"),Tt)}function Fn(b,Pe){if(Pe=="<")return de(ar(">"),kn(Tt,">"),Pt,cn)}function Ln(){return Cr(Tt,_n)}function _n(b,Pe){if(Pe=="=")return de(Tt)}function Qn(b,Pe){return Pe=="enum"?(zt.marked="keyword",de(yn)):Cr(pi,Ht,ot,xt)}function pi(b,Pe){if(_e&&tn(Pe))return zt.marked="keyword",de(pi);if(b=="variable")return Ut(Pe),de();if(b=="spread")return de(pi);if(b=="[")return di(ft,"]");if(b=="{")return di(fr,"}")}function fr(b,Pe){return b=="variable"&&!zt.stream.match(/^\s*:/,!1)?(Ut(Pe),de(ot)):(b=="variable"&&(zt.marked="property"),b=="spread"?de(pi):b=="}"?Cr():b=="["?de(Or,Dr("]"),Dr(":"),fr):de(Dr(":"),pi,ot))}function ft(){return Cr(pi,ot)}function ot(b,Pe){if(Pe=="=")return de(Zr)}function xt(b){if(b==",")return de(Qn)}function Ot(b,Pe){if(b=="keyword b"&&Pe=="else")return de(ar("form","else"),rn,Pt)}function Bt(b,Pe){if(Pe=="await")return de(Bt);if(b=="(")return de(ar(")"),Xt,Pt)}function Xt(b){return b=="var"?de(Qn,sr):b=="variable"?de(sr):Cr(sr)}function sr(b,Pe){return b==")"?de():b==";"?de(sr):Pe=="in"||Pe=="of"?(zt.marked="keyword",de(Or,sr)):Cr(Or,sr)}function hr(b,Pe){if(Pe=="*")return zt.marked="keyword",de(hr);if(b=="variable")return Ut(Pe),de(hr);if(b=="(")return de(On,ar(")"),kn(Vr,")"),Pt,ht,rn,Gt);if(_e&&Pe=="<")return de(ar(">"),kn(Ln,">"),Pt,hr)}function Fr(b,Pe){if(Pe=="*")return zt.marked="keyword",de(Fr);if(b=="variable")return Ut(Pe),de(Fr);if(b=="(")return de(On,ar(")"),kn(Vr,")"),Pt,ht,Gt);if(_e&&Pe=="<")return de(ar(">"),kn(Ln,">"),Pt,Fr)}function Lr(b,Pe){if(b=="keyword"||b=="variable")return zt.marked="type",de(Lr);if(Pe=="<")return de(ar(">"),kn(Ln,">"),Pt)}function Vr(b,Pe){return Pe=="@"&&de(Or,Vr),b=="spread"?de(Vr):_e&&tn(Pe)?(zt.marked="keyword",de(Vr)):_e&&b=="this"?de(Ht,ot):Cr(pi,Ht,ot)}function Kr(b,Pe){return b=="variable"?Qr(b,Pe):mn(b,Pe)}function Qr(b,Pe){if(b=="variable")return Ut(Pe),de(mn)}function mn(b,Pe){if(Pe=="<")return de(ar(">"),kn(Ln,">"),Pt,mn);if(Pe=="extends"||Pe=="implements"||_e&&b==",")return Pe=="implements"&&(zt.marked="keyword"),de(_e?Tt:Or,mn);if(b=="{")return de(ar("}"),Gr,Pt)}function Gr(b,Pe){if(b=="async"||b=="variable"&&(Pe=="static"||Pe=="get"||Pe=="set"||_e&&tn(Pe))&&zt.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return zt.marked="keyword",de(Gr);if(b=="variable"||zt.style=="keyword")return zt.marked="property",de(fn,Gr);if(b=="number"||b=="string")return de(fn,Gr);if(b=="[")return de(Or,Ht,Dr("]"),fn,Gr);if(Pe=="*")return zt.marked="keyword",de(Gr);if(_e&&b=="(")return Cr(Fr,Gr);if(b==";"||b==",")return de(Gr);if(b=="}")return de();if(Pe=="@")return de(Or,Gr)}function fn(b,Pe){if(Pe=="!"||Pe=="?")return de(fn);if(b==":")return de(Tt,ot);if(Pe=="=")return de(Zr);var tr=zt.state.lexical.prev,br=tr&&tr.info=="interface";return Cr(br?Fr:hr)}function Zn(b,Pe){return Pe=="*"?(zt.marked="keyword",de(Si,Dr(";"))):Pe=="default"?(zt.marked="keyword",de(Or,Dr(";"))):b=="{"?de(kn(ii,"}"),Si,Dr(";")):Cr(rn)}function ii(b,Pe){if(Pe=="as")return zt.marked="keyword",de(Dr("variable"));if(b=="variable")return Cr(Zr,ii)}function ci(b){return b=="string"?de():b=="("?Cr(Or):b=="."?Cr(kt):Cr(Tn,Oe,Si)}function Tn(b,Pe){return b=="{"?di(Tn,"}"):(b=="variable"&&Ut(Pe),Pe=="*"&&(zt.marked="keyword"),de(_i))}function Oe(b){if(b==",")return de(Tn,Oe)}function _i(b,Pe){if(Pe=="as")return zt.marked="keyword",de(Tn)}function Si(b,Pe){if(Pe=="from")return zt.marked="keyword",de(Or)}function In(b){return b=="]"?de():Cr(kn(Zr,"]"))}function yn(){return Cr(ar("form"),pi,Dr("{"),ar("}"),kn(Pi,"}"),Pt,Pt)}function Pi(){return Cr(pi,ot)}function yo(b,Pe){return b.lastType=="operator"||b.lastType==","||rt.test(Pe.charAt(0))||/[,.]/.test(Pe.charAt(0))}function xi(b,Pe,tr){return Pe.tokenize==dt&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Pe.lastType)||Pe.lastType=="quasi"&&/\{\s*$/.test(b.string.slice(0,b.pos-(tr||0)))}return{startState:function(b){var Pe={tokenize:dt,lastType:"sof",cc:[],lexical:new Ir((b||0)-F,0,"block",!1),localVars:f.localVars,context:f.localVars&&new Vn(null,null,!1),indented:b||0};return f.globalVars&&typeof f.globalVars=="object"&&(Pe.globalVars=f.globalVars),Pe},token:function(b,Pe){if(b.sol()&&(Pe.lexical.hasOwnProperty("align")||(Pe.lexical.align=!1),Pe.indented=b.indentation(),Sn(b,Pe)),Pe.tokenize!=pr&&b.eatSpace())return null;var tr=Pe.tokenize(b,Pe);return nr=="comment"?tr:(Pe.lastType=nr=="operator"&&(et=="++"||et=="--")?"incdec":nr,gn(Pe,tr,nr,et,b))},indent:function(b,Pe){if(b.tokenize==pr||b.tokenize==kr)return a.Pass;if(b.tokenize!=dt)return 0;var tr=Pe&&Pe.charAt(0),br=b.lexical,nn;if(!/^\s*else\b/.test(Pe))for(var $n=b.cc.length-1;$n>=0;--$n){var Rn=b.cc[$n];if(Rn==Pt)br=br.prev;else if(Rn!=Ot&&Rn!=Gt)break}for(;(br.type=="stat"||br.type=="form")&&(tr=="}"||(nn=b.cc[b.cc.length-1])&&(nn==kt||nn==or)&&!/^[,\.=+\-*:?[\(]/.test(Pe));)br=br.prev;V&&br.type==")"&&br.prev.type=="stat"&&(br=br.prev);var qr=br.type,hi=tr==qr;return qr=="vardef"?br.indented+(b.lastType=="operator"||b.lastType==","?br.info.length+1:0):qr=="form"&&tr=="{"?br.indented:qr=="form"?br.indented+F:qr=="stat"?br.indented+(yo(b,Pe)?V||F:0):br.info=="switch"&&!hi&&f.doubleIndentSwitch!=!1?br.indented+(/^(?:case|default)\b/.test(Pe)?F:2*F):br.align?br.column+(hi?0:1):br.indented+(hi?0:F)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:ue?null:"/*",blockCommentEnd:ue?null:"*/",blockCommentContinue:ue?null:" * ",lineComment:ue?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:ue?"json":"javascript",jsonldMode:ae,jsonMode:ue,expressionAllowed:xi,skipExpression:function(b){gn(b,"atom","atom","true",new a.StringStream("",2,null))}}}),a.registerHelper("wordChars","javascript",/[\w$]/),a.defineMIME("text/javascript","javascript"),a.defineMIME("text/ecmascript","javascript"),a.defineMIME("application/javascript","javascript"),a.defineMIME("application/x-javascript","javascript"),a.defineMIME("application/ecmascript","javascript"),a.defineMIME("application/json",{name:"javascript",json:!0}),a.defineMIME("application/x-json",{name:"javascript",json:!0}),a.defineMIME("application/manifest+json",{name:"javascript",json:!0}),a.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),a.defineMIME("text/typescript",{name:"javascript",typescript:!0}),a.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var yv={exports:{}};(function(r,s){(function(a){a(ka.exports)})(function(a){a.defineMode("css",function(Ir,Nr){var gn=Nr.inline;Nr.propertyKeywords||(Nr=a.resolveMode("text/css"));var zt=Ir.indentUnit,Cr=Nr.tokenHooks,de=Nr.documentTypes||{},lr=Nr.mediaTypes||{},Ut=Nr.mediaFeatures||{},Ar=Nr.mediaValueKeywords||{},tn=Nr.propertyKeywords||{},Vn=Nr.nonStandardPropertyKeywords||{},ai=Nr.fontProperties||{},ui=Nr.counterDescriptors||{},On=Nr.colorKeywords||{},li=Nr.valueKeywords||{},Gt=Nr.allowNested,ar=Nr.lineComment,Pt=Nr.supportsAtComponent===!0,Dr=Ir.highlightNonStandardPropertyKeywords!==!1,rn,Hr;function Or(We,Rt){return rn=Rt,We}function Zr(We,Rt){var it=We.next();if(Cr[it]){var _r=Cr[it](We,Rt);if(_r!==!1)return _r}if(it=="@")return We.eatWhile(/[\w\\\-]/),Or("def",We.current());if(it=="="||(it=="~"||it=="|")&&We.eat("="))return Or(null,"compare");if(it=='"'||it=="'")return Rt.tokenize=Ue(it),Rt.tokenize(We,Rt);if(it=="#")return We.eatWhile(/[\w\\\-]/),Or("atom","hash");if(it=="!")return We.match(/^\s*\w*/),Or("keyword","important");if(/\d/.test(it)||it=="."&&We.eat(/\d/))return We.eatWhile(/[\w.%]/),Or("number","unit");if(it==="-"){if(/[\d.]/.test(We.peek()))return We.eatWhile(/[\w.%]/),Or("number","unit");if(We.match(/^-[\w\\\-]*/))return We.eatWhile(/[\w\\\-]/),We.match(/^\s*:/,!1)?Or("variable-2","variable-definition"):Or("variable-2","variable");if(We.match(/^\w+-/))return Or("meta","meta")}else return/[,+>*\/]/.test(it)?Or(null,"select-op"):it=="."&&We.match(/^-?[_a-z][_a-z0-9-]*/i)?Or("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(it)?Or(null,it):We.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(We.current())&&(Rt.tokenize=nt),Or("variable callee","variable")):/[\w\\\-]/.test(it)?(We.eatWhile(/[\w\\\-]/),Or("property","word")):Or(null,null)}function Ue(We){return function(Rt,it){for(var _r=!1,ln;(ln=Rt.next())!=null;){if(ln==We&&!_r){We==")"&&Rt.backUp(1);break}_r=!_r&&ln=="\\"}return(ln==We||!_r&&We!=")")&&(it.tokenize=null),Or("string","string")}}function nt(We,Rt){return We.next(),We.match(/^\s*[\"\')]/,!1)?Rt.tokenize=null:Rt.tokenize=Ue(")"),Or(null,"(")}function It(We,Rt,it){this.type=We,this.indent=Rt,this.prev=it}function kt(We,Rt,it,_r){return We.context=new It(it,Rt.indentation()+(_r===!1?0:zt),We.context),it}function or(We){return We.context.prev&&(We.context=We.context.prev),We.context.type}function gr(We,Rt,it){return dr[it.context.type](We,Rt,it)}function Er(We,Rt,it,_r){for(var ln=_r||1;ln>0;ln--)it.context=it.context.prev;return gr(We,Rt,it)}function Sr(We){var Rt=We.current().toLowerCase();li.hasOwnProperty(Rt)?Hr="atom":On.hasOwnProperty(Rt)?Hr="keyword":Hr="variable"}var dr={};return dr.top=function(We,Rt,it){if(We=="{")return kt(it,Rt,"block");if(We=="}"&&it.context.prev)return or(it);if(Pt&&/@component/i.test(We))return kt(it,Rt,"atComponentBlock");if(/^@(-moz-)?document$/i.test(We))return kt(it,Rt,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(We))return kt(it,Rt,"atBlock");if(/^@(font-face|counter-style)/i.test(We))return it.stateArg=We,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(We))return"keyframes";if(We&&We.charAt(0)=="@")return kt(it,Rt,"at");if(We=="hash")Hr="builtin";else if(We=="word")Hr="tag";else{if(We=="variable-definition")return"maybeprop";if(We=="interpolation")return kt(it,Rt,"interpolation");if(We==":")return"pseudo";if(Gt&&We=="(")return kt(it,Rt,"parens")}return it.context.type},dr.block=function(We,Rt,it){if(We=="word"){var _r=Rt.current().toLowerCase();return tn.hasOwnProperty(_r)?(Hr="property","maybeprop"):Vn.hasOwnProperty(_r)?(Hr=Dr?"string-2":"property","maybeprop"):Gt?(Hr=Rt.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(Hr+=" error","maybeprop")}else return We=="meta"?"block":!Gt&&(We=="hash"||We=="qualifier")?(Hr="error","block"):dr.top(We,Rt,it)},dr.maybeprop=function(We,Rt,it){return We==":"?kt(it,Rt,"prop"):gr(We,Rt,it)},dr.prop=function(We,Rt,it){if(We==";")return or(it);if(We=="{"&&Gt)return kt(it,Rt,"propBlock");if(We=="}"||We=="{")return Er(We,Rt,it);if(We=="(")return kt(it,Rt,"parens");if(We=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(Rt.current()))Hr+=" error";else if(We=="word")Sr(Rt);else if(We=="interpolation")return kt(it,Rt,"interpolation");return"prop"},dr.propBlock=function(We,Rt,it){return We=="}"?or(it):We=="word"?(Hr="property","maybeprop"):it.context.type},dr.parens=function(We,Rt,it){return We=="{"||We=="}"?Er(We,Rt,it):We==")"?or(it):We=="("?kt(it,Rt,"parens"):We=="interpolation"?kt(it,Rt,"interpolation"):(We=="word"&&Sr(Rt),"parens")},dr.pseudo=function(We,Rt,it){return We=="meta"?"pseudo":We=="word"?(Hr="variable-3",it.context.type):gr(We,Rt,it)},dr.documentTypes=function(We,Rt,it){return We=="word"&&de.hasOwnProperty(Rt.current())?(Hr="tag",it.context.type):dr.atBlock(We,Rt,it)},dr.atBlock=function(We,Rt,it){if(We=="(")return kt(it,Rt,"atBlock_parens");if(We=="}"||We==";")return Er(We,Rt,it);if(We=="{")return or(it)&&kt(it,Rt,Gt?"block":"top");if(We=="interpolation")return kt(it,Rt,"interpolation");if(We=="word"){var _r=Rt.current().toLowerCase();_r=="only"||_r=="not"||_r=="and"||_r=="or"?Hr="keyword":lr.hasOwnProperty(_r)?Hr="attribute":Ut.hasOwnProperty(_r)?Hr="property":Ar.hasOwnProperty(_r)?Hr="keyword":tn.hasOwnProperty(_r)?Hr="property":Vn.hasOwnProperty(_r)?Hr=Dr?"string-2":"property":li.hasOwnProperty(_r)?Hr="atom":On.hasOwnProperty(_r)?Hr="keyword":Hr="error"}return it.context.type},dr.atComponentBlock=function(We,Rt,it){return We=="}"?Er(We,Rt,it):We=="{"?or(it)&&kt(it,Rt,Gt?"block":"top",!1):(We=="word"&&(Hr="error"),it.context.type)},dr.atBlock_parens=function(We,Rt,it){return We==")"?or(it):We=="{"||We=="}"?Er(We,Rt,it,2):dr.atBlock(We,Rt,it)},dr.restricted_atBlock_before=function(We,Rt,it){return We=="{"?kt(it,Rt,"restricted_atBlock"):We=="word"&&it.stateArg=="@counter-style"?(Hr="variable","restricted_atBlock_before"):gr(We,Rt,it)},dr.restricted_atBlock=function(We,Rt,it){return We=="}"?(it.stateArg=null,or(it)):We=="word"?(it.stateArg=="@font-face"&&!ai.hasOwnProperty(Rt.current().toLowerCase())||it.stateArg=="@counter-style"&&!ui.hasOwnProperty(Rt.current().toLowerCase())?Hr="error":Hr="property","maybeprop"):"restricted_atBlock"},dr.keyframes=function(We,Rt,it){return We=="word"?(Hr="variable","keyframes"):We=="{"?kt(it,Rt,"top"):gr(We,Rt,it)},dr.at=function(We,Rt,it){return We==";"?or(it):We=="{"||We=="}"?Er(We,Rt,it):(We=="word"?Hr="tag":We=="hash"&&(Hr="builtin"),"at")},dr.interpolation=function(We,Rt,it){return We=="}"?or(it):We=="{"||We==";"?Er(We,Rt,it):(We=="word"?Hr="variable":We!="variable"&&We!="("&&We!=")"&&(Hr="error"),"interpolation")},{startState:function(We){return{tokenize:null,state:gn?"block":"top",stateArg:null,context:new It(gn?"block":"top",We||0,null)}},token:function(We,Rt){if(!Rt.tokenize&&We.eatSpace())return null;var it=(Rt.tokenize||Zr)(We,Rt);return it&&typeof it=="object"&&(rn=it[1],it=it[0]),Hr=it,rn!="comment"&&(Rt.state=dr[Rt.state](rn,We,Rt)),Hr},indent:function(We,Rt){var it=We.context,_r=Rt&&Rt.charAt(0),ln=it.indent;return it.type=="prop"&&(_r=="}"||_r==")")&&(it=it.prev),it.prev&&(_r=="}"&&(it.type=="block"||it.type=="top"||it.type=="interpolation"||it.type=="restricted_atBlock")?(it=it.prev,ln=it.indent):(_r==")"&&(it.type=="parens"||it.type=="atBlock_parens")||_r=="{"&&(it.type=="at"||it.type=="atBlock"))&&(ln=Math.max(0,it.indent-zt))),ln},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:ar,fold:"brace"}});function l(Ir){for(var Nr={},gn=0;gn<Ir.length;++gn)Nr[Ir[gn].toLowerCase()]=!0;return Nr}var f=["domain","regexp","url","url-prefix"],F=l(f),V=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],ae=l(V),ue=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],Ae=l(ue),_e=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],ze=l(_e),Je=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],rt=l(Je),bt=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],Qt=l(bt),nr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],et=l(nr),pt=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],dt=l(pt),Wt=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],pr=l(Wt),kr=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],Rr=l(kr),Sn=f.concat(V).concat(ue).concat(_e).concat(Je).concat(bt).concat(Wt).concat(kr);a.registerHelper("hintWords","css",Sn);function Dn(Ir,Nr){for(var gn=!1,zt;(zt=Ir.next())!=null;){if(gn&&zt=="/"){Nr.tokenize=null;break}gn=zt=="*"}return["comment","comment"]}a.defineMIME("text/css",{documentTypes:F,mediaTypes:ae,mediaFeatures:Ae,mediaValueKeywords:ze,propertyKeywords:rt,nonStandardPropertyKeywords:Qt,fontProperties:et,counterDescriptors:dt,colorKeywords:pr,valueKeywords:Rr,tokenHooks:{"/":function(Ir,Nr){return Ir.eat("*")?(Nr.tokenize=Dn,Dn(Ir,Nr)):!1}},name:"css"}),a.defineMIME("text/x-scss",{mediaTypes:ae,mediaFeatures:Ae,mediaValueKeywords:ze,propertyKeywords:rt,nonStandardPropertyKeywords:Qt,colorKeywords:pr,valueKeywords:Rr,fontProperties:et,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Ir,Nr){return Ir.eat("/")?(Ir.skipToEnd(),["comment","comment"]):Ir.eat("*")?(Nr.tokenize=Dn,Dn(Ir,Nr)):["operator","operator"]},":":function(Ir){return Ir.match(/^\s*\{/,!1)?[null,null]:!1},$:function(Ir){return Ir.match(/^[\w-]+/),Ir.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(Ir){return Ir.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),a.defineMIME("text/x-less",{mediaTypes:ae,mediaFeatures:Ae,mediaValueKeywords:ze,propertyKeywords:rt,nonStandardPropertyKeywords:Qt,colorKeywords:pr,valueKeywords:Rr,fontProperties:et,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Ir,Nr){return Ir.eat("/")?(Ir.skipToEnd(),["comment","comment"]):Ir.eat("*")?(Nr.tokenize=Dn,Dn(Ir,Nr)):["operator","operator"]},"@":function(Ir){return Ir.eat("{")?[null,"interpolation"]:Ir.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(Ir.eatWhile(/[\w\\\-]/),Ir.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),a.defineMIME("text/x-gss",{documentTypes:F,mediaTypes:ae,mediaFeatures:Ae,propertyKeywords:rt,nonStandardPropertyKeywords:Qt,fontProperties:et,counterDescriptors:dt,colorKeywords:pr,valueKeywords:Rr,supportsAtComponent:!0,tokenHooks:{"/":function(Ir,Nr){return Ir.eat("*")?(Nr.tokenize=Dn,Dn(Ir,Nr)):!1}},name:"css",helperType:"gss"})})})();var pg={exports:{}};(function(r,s){(function(a){a(ka.exports)})(function(a){var l={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},f={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};a.defineMode("xml",function(F,V){var ae=F.indentUnit,ue={},Ae=V.htmlMode?l:f;for(var _e in Ae)ue[_e]=Ae[_e];for(var _e in V)ue[_e]=V[_e];var ze,Je;function rt(de,lr){function Ut(Vn){return lr.tokenize=Vn,Vn(de,lr)}var Ar=de.next();if(Ar=="<")return de.eat("!")?de.eat("[")?de.match("CDATA[")?Ut(nr("atom","]]>")):null:de.match("--")?Ut(nr("comment","-->")):de.match("DOCTYPE",!0,!0)?(de.eatWhile(/[\w\._\-]/),Ut(et(1))):null:de.eat("?")?(de.eatWhile(/[\w\._\-]/),lr.tokenize=nr("meta","?>"),"meta"):(ze=de.eat("/")?"closeTag":"openTag",lr.tokenize=bt,"tag bracket");if(Ar=="&"){var tn;return de.eat("#")?de.eat("x")?tn=de.eatWhile(/[a-fA-F\d]/)&&de.eat(";"):tn=de.eatWhile(/[\d]/)&&de.eat(";"):tn=de.eatWhile(/[\w\.\-:]/)&&de.eat(";"),tn?"atom":"error"}else return de.eatWhile(/[^&<]/),null}rt.isInText=!0;function bt(de,lr){var Ut=de.next();if(Ut==">"||Ut=="/"&&de.eat(">"))return lr.tokenize=rt,ze=Ut==">"?"endTag":"selfcloseTag","tag bracket";if(Ut=="=")return ze="equals",null;if(Ut=="<"){lr.tokenize=rt,lr.state=kr,lr.tagName=lr.tagStart=null;var Ar=lr.tokenize(de,lr);return Ar?Ar+" tag error":"tag error"}else return/[\'\"]/.test(Ut)?(lr.tokenize=Qt(Ut),lr.stringStartCol=de.column(),lr.tokenize(de,lr)):(de.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Qt(de){var lr=function(Ut,Ar){for(;!Ut.eol();)if(Ut.next()==de){Ar.tokenize=bt;break}return"string"};return lr.isInAttribute=!0,lr}function nr(de,lr){return function(Ut,Ar){for(;!Ut.eol();){if(Ut.match(lr)){Ar.tokenize=rt;break}Ut.next()}return de}}function et(de){return function(lr,Ut){for(var Ar;(Ar=lr.next())!=null;){if(Ar=="<")return Ut.tokenize=et(de+1),Ut.tokenize(lr,Ut);if(Ar==">")if(de==1){Ut.tokenize=rt;break}else return Ut.tokenize=et(de-1),Ut.tokenize(lr,Ut)}return"meta"}}function pt(de){return de&&de.toLowerCase()}function dt(de,lr,Ut){this.prev=de.context,this.tagName=lr||"",this.indent=de.indented,this.startOfLine=Ut,(ue.doNotIndent.hasOwnProperty(lr)||de.context&&de.context.noIndent)&&(this.noIndent=!0)}function Wt(de){de.context&&(de.context=de.context.prev)}function pr(de,lr){for(var Ut;;){if(!de.context||(Ut=de.context.tagName,!ue.contextGrabbers.hasOwnProperty(pt(Ut))||!ue.contextGrabbers[pt(Ut)].hasOwnProperty(pt(lr))))return;Wt(de)}}function kr(de,lr,Ut){return de=="openTag"?(Ut.tagStart=lr.column(),Rr):de=="closeTag"?Sn:kr}function Rr(de,lr,Ut){return de=="word"?(Ut.tagName=lr.current(),Je="tag",Nr):ue.allowMissingTagName&&de=="endTag"?(Je="tag bracket",Nr(de,lr,Ut)):(Je="error",Rr)}function Sn(de,lr,Ut){if(de=="word"){var Ar=lr.current();return Ut.context&&Ut.context.tagName!=Ar&&ue.implicitlyClosed.hasOwnProperty(pt(Ut.context.tagName))&&Wt(Ut),Ut.context&&Ut.context.tagName==Ar||ue.matchClosing===!1?(Je="tag",Dn):(Je="tag error",Ir)}else return ue.allowMissingTagName&&de=="endTag"?(Je="tag bracket",Dn(de,lr,Ut)):(Je="error",Ir)}function Dn(de,lr,Ut){return de!="endTag"?(Je="error",Dn):(Wt(Ut),kr)}function Ir(de,lr,Ut){return Je="error",Dn(de,lr,Ut)}function Nr(de,lr,Ut){if(de=="word")return Je="attribute",gn;if(de=="endTag"||de=="selfcloseTag"){var Ar=Ut.tagName,tn=Ut.tagStart;return Ut.tagName=Ut.tagStart=null,de=="selfcloseTag"||ue.autoSelfClosers.hasOwnProperty(pt(Ar))?pr(Ut,Ar):(pr(Ut,Ar),Ut.context=new dt(Ut,Ar,tn==Ut.indented)),kr}return Je="error",Nr}function gn(de,lr,Ut){return de=="equals"?zt:(ue.allowMissing||(Je="error"),Nr(de,lr,Ut))}function zt(de,lr,Ut){return de=="string"?Cr:de=="word"&&ue.allowUnquoted?(Je="string",Nr):(Je="error",Nr(de,lr,Ut))}function Cr(de,lr,Ut){return de=="string"?Cr:Nr(de,lr,Ut)}return{startState:function(de){var lr={tokenize:rt,state:kr,indented:de||0,tagName:null,tagStart:null,context:null};return de!=null&&(lr.baseIndent=de),lr},token:function(de,lr){if(!lr.tagName&&de.sol()&&(lr.indented=de.indentation()),de.eatSpace())return null;ze=null;var Ut=lr.tokenize(de,lr);return(Ut||ze)&&Ut!="comment"&&(Je=null,lr.state=lr.state(ze||Ut,de,lr),Je&&(Ut=Je=="error"?Ut+" error":Je)),Ut},indent:function(de,lr,Ut){var Ar=de.context;if(de.tokenize.isInAttribute)return de.tagStart==de.indented?de.stringStartCol+1:de.indented+ae;if(Ar&&Ar.noIndent)return a.Pass;if(de.tokenize!=bt&&de.tokenize!=rt)return Ut?Ut.match(/^(\s*)/)[0].length:0;if(de.tagName)return ue.multilineTagIndentPastTag!==!1?de.tagStart+de.tagName.length+2:de.tagStart+ae*(ue.multilineTagIndentFactor||1);if(ue.alignCDATA&&/<!\[CDATA\[/.test(lr))return 0;var tn=lr&&/^<(\/)?([\w_:\.-]*)/.exec(lr);if(tn&&tn[1])for(;Ar;)if(Ar.tagName==tn[2]){Ar=Ar.prev;break}else if(ue.implicitlyClosed.hasOwnProperty(pt(Ar.tagName)))Ar=Ar.prev;else break;else if(tn)for(;Ar;){var Vn=ue.contextGrabbers[pt(Ar.tagName)];if(Vn&&Vn.hasOwnProperty(pt(tn[2])))Ar=Ar.prev;else break}for(;Ar&&Ar.prev&&!Ar.startOfLine;)Ar=Ar.prev;return Ar?Ar.indent+ae:de.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ue.htmlMode?"html":"xml",helperType:ue.htmlMode?"html":"xml",skipAttribute:function(de){de.state==zt&&(de.state=Nr)},xmlCurrentTag:function(de){return de.tagName?{name:de.tagName,close:de.type=="closeTag"}:null},xmlCurrentContext:function(de){for(var lr=[],Ut=de.context;Ut;Ut=Ut.prev)lr.push(Ut.tagName);return lr.reverse()}}}),a.defineMIME("text/xml","xml"),a.defineMIME("application/xml","xml"),a.mimeModes.hasOwnProperty("text/html")||a.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();(function(r,s){(function(a){a(ka.exports,pg.exports,cg.exports,yv.exports)})(function(a){var l={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function f(ze,Je,rt){var bt=ze.current(),Qt=bt.search(Je);return Qt>-1?ze.backUp(bt.length-Qt):bt.match(/<\/?$/)&&(ze.backUp(bt.length),ze.match(Je,!1)||ze.match(bt)),rt}var F={};function V(ze){var Je=F[ze];return Je||(F[ze]=new RegExp("\\s+"+ze+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function ae(ze,Je){var rt=ze.match(V(Je));return rt?/^\s*(.*?)\s*$/.exec(rt[2])[1]:""}function ue(ze,Je){return new RegExp((Je?"^":"")+"</\\s*"+ze+"\\s*>","i")}function Ae(ze,Je){for(var rt in ze)for(var bt=Je[rt]||(Je[rt]=[]),Qt=ze[rt],nr=Qt.length-1;nr>=0;nr--)bt.unshift(Qt[nr])}function _e(ze,Je){for(var rt=0;rt<ze.length;rt++){var bt=ze[rt];if(!bt[0]||bt[1].test(ae(Je,bt[0])))return bt[2]}}a.defineMode("htmlmixed",function(ze,Je){var rt=a.getMode(ze,{name:"xml",htmlMode:!0,multilineTagIndentFactor:Je.multilineTagIndentFactor,multilineTagIndentPastTag:Je.multilineTagIndentPastTag,allowMissingTagName:Je.allowMissingTagName}),bt={},Qt=Je&&Je.tags,nr=Je&&Je.scriptTypes;if(Ae(l,bt),Qt&&Ae(Qt,bt),nr)for(var et=nr.length-1;et>=0;et--)bt.script.unshift(["type",nr[et].matches,nr[et].mode]);function pt(dt,Wt){var pr=rt.token(dt,Wt.htmlState),kr=/\btag\b/.test(pr),Rr;if(kr&&!/[<>\s\/]/.test(dt.current())&&(Rr=Wt.htmlState.tagName&&Wt.htmlState.tagName.toLowerCase())&&bt.hasOwnProperty(Rr))Wt.inTag=Rr+" ";else if(Wt.inTag&&kr&&/>$/.test(dt.current())){var Sn=/^([\S]+) (.*)/.exec(Wt.inTag);Wt.inTag=null;var Dn=dt.current()==">"&&_e(bt[Sn[1]],Sn[2]),Ir=a.getMode(ze,Dn),Nr=ue(Sn[1],!0),gn=ue(Sn[1],!1);Wt.token=function(zt,Cr){return zt.match(Nr,!1)?(Cr.token=pt,Cr.localState=Cr.localMode=null,null):f(zt,gn,Cr.localMode.token(zt,Cr.localState))},Wt.localMode=Ir,Wt.localState=a.startState(Ir,rt.indent(Wt.htmlState,"",""))}else Wt.inTag&&(Wt.inTag+=dt.current(),dt.eol()&&(Wt.inTag+=" "));return pr}return{startState:function(){var dt=a.startState(rt);return{token:pt,inTag:null,localMode:null,localState:null,htmlState:dt}},copyState:function(dt){var Wt;return dt.localState&&(Wt=a.copyState(dt.localMode,dt.localState)),{token:dt.token,inTag:dt.inTag,localMode:dt.localMode,localState:Wt,htmlState:a.copyState(rt,dt.htmlState)}},token:function(dt,Wt){return Wt.token(dt,Wt)},indent:function(dt,Wt,pr){return!dt.localMode||/^\s*<\//.test(Wt)?rt.indent(dt.htmlState,Wt,pr):dt.localMode.indent?dt.localMode.indent(dt.localState,Wt,pr):a.Pass},innerMode:function(dt){return{state:dt.localState||dt.htmlState,mode:dt.localMode||rt}}}},"xml","javascript","css"),a.defineMIME("text/html","htmlmixed")})})();(function(r,s){(function(a){a(ka.exports,pg.exports,cg.exports)})(function(a){function l(F,V,ae,ue){this.state=F,this.mode=V,this.depth=ae,this.prev=ue}function f(F){return new l(a.copyState(F.mode,F.state),F.mode,F.depth,F.prev&&f(F.prev))}a.defineMode("jsx",function(F,V){var ae=a.getMode(F,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),ue=a.getMode(F,V&&V.base||"javascript");function Ae(rt){var bt=rt.tagName;rt.tagName=null;var Qt=ae.indent(rt,"","");return rt.tagName=bt,Qt}function _e(rt,bt){return bt.context.mode==ae?ze(rt,bt,bt.context):Je(rt,bt,bt.context)}function ze(rt,bt,Qt){if(Qt.depth==2)return rt.match(/^.*?\*\//)?Qt.depth=1:rt.skipToEnd(),"comment";if(rt.peek()=="{"){ae.skipAttribute(Qt.state);var nr=Ae(Qt.state),et=Qt.state.context;if(et&&rt.match(/^[^>]*>\s*$/,!1)){for(;et.prev&&!et.startOfLine;)et=et.prev;et.startOfLine?nr-=F.indentUnit:Qt.prev.state.lexical&&(nr=Qt.prev.state.lexical.indented)}else Qt.depth==1&&(nr+=F.indentUnit);return bt.context=new l(a.startState(ue,nr),ue,0,bt.context),null}if(Qt.depth==1){if(rt.peek()=="<")return ae.skipAttribute(Qt.state),bt.context=new l(a.startState(ae,Ae(Qt.state)),ae,0,bt.context),null;if(rt.match("//"))return rt.skipToEnd(),"comment";if(rt.match("/*"))return Qt.depth=2,_e(rt,bt)}var pt=ae.token(rt,Qt.state),dt=rt.current(),Wt;return/\btag\b/.test(pt)?/>$/.test(dt)?Qt.state.context?Qt.depth=0:bt.context=bt.context.prev:/^</.test(dt)&&(Qt.depth=1):!pt&&(Wt=dt.indexOf("{"))>-1&&rt.backUp(dt.length-Wt),pt}function Je(rt,bt,Qt){if(rt.peek()=="<"&&ue.expressionAllowed(rt,Qt.state))return bt.context=new l(a.startState(ae,ue.indent(Qt.state,"","")),ae,0,bt.context),ue.skipExpression(Qt.state),null;var nr=ue.token(rt,Qt.state);if(!nr&&Qt.depth!=null){var et=rt.current();et=="{"?Qt.depth++:et=="}"&&--Qt.depth==0&&(bt.context=bt.context.prev)}return nr}return{startState:function(){return{context:new l(a.startState(ue),ue)}},copyState:function(rt){return{context:f(rt.context)}},token:_e,indent:function(rt,bt,Qt){return rt.context.mode.indent(rt.context.state,bt,Qt)},innerMode:function(rt){return rt.context}}},"xml","javascript"),a.defineMIME("text/jsx","jsx"),a.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(r,s){(function(a){a(ka.exports)})(function(a){a.defineOption("placeholder","",function(Ae,_e,ze){var Je=ze&&ze!=a.Init;if(_e&&!Je)Ae.on("blur",V),Ae.on("change",ae),Ae.on("swapDoc",ae),a.on(Ae.getInputField(),"compositionupdate",Ae.state.placeholderCompose=function(){F(Ae)}),ae(Ae);else if(!_e&&Je){Ae.off("blur",V),Ae.off("change",ae),Ae.off("swapDoc",ae),a.off(Ae.getInputField(),"compositionupdate",Ae.state.placeholderCompose),l(Ae);var rt=Ae.getWrapperElement();rt.className=rt.className.replace(" CodeMirror-empty","")}_e&&!Ae.hasFocus()&&V(Ae)});function l(Ae){Ae.state.placeholder&&(Ae.state.placeholder.parentNode.removeChild(Ae.state.placeholder),Ae.state.placeholder=null)}function f(Ae){l(Ae);var _e=Ae.state.placeholder=document.createElement("pre");_e.style.cssText="height: 0; overflow: visible",_e.style.direction=Ae.getOption("direction"),_e.className="CodeMirror-placeholder CodeMirror-line-like";var ze=Ae.getOption("placeholder");typeof ze=="string"&&(ze=document.createTextNode(ze)),_e.appendChild(ze),Ae.display.lineSpace.insertBefore(_e,Ae.display.lineSpace.firstChild)}function F(Ae){setTimeout(function(){var _e=!1;if(Ae.lineCount()==1){var ze=Ae.getInputField();_e=ze.nodeName=="TEXTAREA"?!Ae.getLine(0).length:!/[^\u200b]/.test(ze.querySelector(".CodeMirror-line").textContent)}_e?f(Ae):l(Ae)},20)}function V(Ae){ue(Ae)&&f(Ae)}function ae(Ae){var _e=Ae.getWrapperElement(),ze=ue(Ae);_e.className=_e.className.replace(" CodeMirror-empty","")+(ze?" CodeMirror-empty":""),ze?f(Ae):l(Ae)}function ue(Ae){return Ae.lineCount()===1&&Ae.getLine(0)===""}})})();(function(r,s){(function(a){a(ka.exports)})(function(a){var l="CodeMirror-hint",f="CodeMirror-hint-active";a.showHint=function(et,pt,dt){if(!pt)return et.showHint(dt);dt&&dt.async&&(pt.async=!0);var Wt={hint:pt};if(dt)for(var pr in dt)Wt[pr]=dt[pr];return et.showHint(Wt)},a.defineExtension("showHint",function(et){et=ue(this,this.getCursor("start"),et);var pt=this.listSelections();if(!(pt.length>1)){if(this.somethingSelected()){if(!et.hint.supportsSelection)return;for(var dt=0;dt<pt.length;dt++)if(pt[dt].head.line!=pt[dt].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Wt=this.state.completionActive=new F(this,et);!Wt.options.hint||(a.signal(this,"startCompletion",this),Wt.update(!0))}}),a.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function F(et,pt){if(this.cm=et,this.options=pt,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var dt=this;et.on("cursorActivity",this.activityFunc=function(){dt.cursorActivity()})}}var V=window.requestAnimationFrame||function(et){return setTimeout(et,1e3/60)},ae=window.cancelAnimationFrame||clearTimeout;F.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&a.signal(this.data,"close"),this.widget&&this.widget.close(),a.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(et,pt){var dt=et.list[pt],Wt=this;this.cm.operation(function(){dt.hint?dt.hint(Wt.cm,et,dt):Wt.cm.replaceRange(Ae(dt),dt.from||et.from,dt.to||et.to,"complete"),a.signal(et,"pick",dt),Wt.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(ae(this.debounce),this.debounce=0);var et=this.startPos;this.data&&(et=this.data.from);var pt=this.cm.getCursor(),dt=this.cm.getLine(pt.line);if(pt.line!=this.startPos.line||dt.length-pt.ch!=this.startLen-this.startPos.ch||pt.ch<et.ch||this.cm.somethingSelected()||!pt.ch||this.options.closeCharacters.test(dt.charAt(pt.ch-1)))this.close();else{var Wt=this;this.debounce=V(function(){Wt.update()}),this.widget&&this.widget.disable()}},update:function(et){if(this.tick!=null){var pt=this,dt=++this.tick;bt(this.options.hint,this.cm,this.options,function(Wt){pt.tick==dt&&pt.finishUpdate(Wt,et)})}},finishUpdate:function(et,pt){this.data&&a.signal(this.data,"update");var dt=this.widget&&this.widget.picked||pt&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=et,et&&et.list.length&&(dt&&et.list.length==1?this.pick(et,0):(this.widget=new Je(this,et),a.signal(et,"shown")))}};function ue(et,pt,dt){var Wt=et.options.hintOptions,pr={};for(var kr in nr)pr[kr]=nr[kr];if(Wt)for(var kr in Wt)Wt[kr]!==void 0&&(pr[kr]=Wt[kr]);if(dt)for(var kr in dt)dt[kr]!==void 0&&(pr[kr]=dt[kr]);return pr.hint.resolve&&(pr.hint=pr.hint.resolve(et,pt)),pr}function Ae(et){return typeof et=="string"?et:et.text}function _e(et,pt){var dt={Up:function(){pt.moveFocus(-1)},Down:function(){pt.moveFocus(1)},PageUp:function(){pt.moveFocus(-pt.menuSize()+1,!0)},PageDown:function(){pt.moveFocus(pt.menuSize()-1,!0)},Home:function(){pt.setFocus(0)},End:function(){pt.setFocus(pt.length-1)},Enter:pt.pick,Tab:pt.pick,Esc:pt.close},Wt=/Mac/.test(navigator.platform);Wt&&(dt["Ctrl-P"]=function(){pt.moveFocus(-1)},dt["Ctrl-N"]=function(){pt.moveFocus(1)});var pr=et.options.customKeys,kr=pr?{}:dt;function Rr(Ir,Nr){var gn;typeof Nr!="string"?gn=function(zt){return Nr(zt,pt)}:dt.hasOwnProperty(Nr)?gn=dt[Nr]:gn=Nr,kr[Ir]=gn}if(pr)for(var Sn in pr)pr.hasOwnProperty(Sn)&&Rr(Sn,pr[Sn]);var Dn=et.options.extraKeys;if(Dn)for(var Sn in Dn)Dn.hasOwnProperty(Sn)&&Rr(Sn,Dn[Sn]);return kr}function ze(et,pt){for(;pt&&pt!=et;){if(pt.nodeName.toUpperCase()==="LI"&&pt.parentNode==et)return pt;pt=pt.parentNode}}function Je(et,pt){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=et,this.data=pt,this.picked=!1;var dt=this,Wt=et.cm,pr=Wt.getInputField().ownerDocument,kr=pr.defaultView||pr.parentWindow,Rr=this.hints=pr.createElement("ul");Rr.setAttribute("role","listbox"),Rr.setAttribute("aria-expanded","true"),Rr.id=this.id;var Sn=et.cm.options.theme;Rr.className="CodeMirror-hints "+Sn,this.selectedHint=pt.selectedHint||0;for(var Dn=pt.list,Ir=0;Ir<Dn.length;++Ir){var Nr=Rr.appendChild(pr.createElement("li")),gn=Dn[Ir],zt=l+(Ir!=this.selectedHint?"":" "+f);gn.className!=null&&(zt=gn.className+" "+zt),Nr.className=zt,Ir==this.selectedHint&&Nr.setAttribute("aria-selected","true"),Nr.id=this.id+"-"+Ir,Nr.setAttribute("role","option"),gn.render?gn.render(Nr,pt,gn):Nr.appendChild(pr.createTextNode(gn.displayText||Ae(gn))),Nr.hintId=Ir}var Cr=et.options.container||pr.body,de=Wt.cursorCoords(et.options.alignWithWord?pt.from:null),lr=de.left,Ut=de.bottom,Ar=!0,tn=0,Vn=0;if(Cr!==pr.body){var ai=["absolute","relative","fixed"].indexOf(kr.getComputedStyle(Cr).position)!==-1,ui=ai?Cr:Cr.offsetParent,On=ui.getBoundingClientRect(),li=pr.body.getBoundingClientRect();tn=On.left-li.left-ui.scrollLeft,Vn=On.top-li.top-ui.scrollTop}Rr.style.left=lr-tn+"px",Rr.style.top=Ut-Vn+"px";var Gt=kr.innerWidth||Math.max(pr.body.offsetWidth,pr.documentElement.offsetWidth),ar=kr.innerHeight||Math.max(pr.body.offsetHeight,pr.documentElement.offsetHeight);Cr.appendChild(Rr),Wt.getInputField().setAttribute("aria-autocomplete","list"),Wt.getInputField().setAttribute("aria-owns",this.id),Wt.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Pt=et.options.moveOnOverlap?Rr.getBoundingClientRect():new DOMRect,Dr=et.options.paddingForScrollbar?Rr.scrollHeight>Rr.clientHeight+1:!1,rn;setTimeout(function(){rn=Wt.getScrollInfo()});var Hr=Pt.bottom-ar;if(Hr>0){var Or=Pt.bottom-Pt.top,Zr=de.top-(de.bottom-Pt.top);if(Zr-Or>0)Rr.style.top=(Ut=de.top-Or-Vn)+"px",Ar=!1;else if(Or>ar){Rr.style.height=ar-5+"px",Rr.style.top=(Ut=de.bottom-Pt.top-Vn)+"px";var Ue=Wt.getCursor();pt.from.ch!=Ue.ch&&(de=Wt.cursorCoords(Ue),Rr.style.left=(lr=de.left-tn)+"px",Pt=Rr.getBoundingClientRect())}}var nt=Pt.right-Gt;if(Dr&&(nt+=Wt.display.nativeBarWidth),nt>0&&(Pt.right-Pt.left>Gt&&(Rr.style.width=Gt-5+"px",nt-=Pt.right-Pt.left-Gt),Rr.style.left=(lr=de.left-nt-tn)+"px"),Dr)for(var It=Rr.firstChild;It;It=It.nextSibling)It.style.paddingRight=Wt.display.nativeBarWidth+"px";if(Wt.addKeyMap(this.keyMap=_e(et,{moveFocus:function(gr,Er){dt.changeActive(dt.selectedHint+gr,Er)},setFocus:function(gr){dt.changeActive(gr)},menuSize:function(){return dt.screenAmount()},length:Dn.length,close:function(){et.close()},pick:function(){dt.pick()},data:pt})),et.options.closeOnUnfocus){var kt;Wt.on("blur",this.onBlur=function(){kt=setTimeout(function(){et.close()},100)}),Wt.on("focus",this.onFocus=function(){clearTimeout(kt)})}Wt.on("scroll",this.onScroll=function(){var gr=Wt.getScrollInfo(),Er=Wt.getWrapperElement().getBoundingClientRect();rn||(rn=Wt.getScrollInfo());var Sr=Ut+rn.top-gr.top,dr=Sr-(kr.pageYOffset||(pr.documentElement||pr.body).scrollTop);if(Ar||(dr+=Rr.offsetHeight),dr<=Er.top||dr>=Er.bottom)return et.close();Rr.style.top=Sr+"px",Rr.style.left=lr+rn.left-gr.left+"px"}),a.on(Rr,"dblclick",function(gr){var Er=ze(Rr,gr.target||gr.srcElement);Er&&Er.hintId!=null&&(dt.changeActive(Er.hintId),dt.pick())}),a.on(Rr,"click",function(gr){var Er=ze(Rr,gr.target||gr.srcElement);Er&&Er.hintId!=null&&(dt.changeActive(Er.hintId),et.options.completeOnSingleClick&&dt.pick())}),a.on(Rr,"mousedown",function(){setTimeout(function(){Wt.focus()},20)});var or=this.getSelectedHintRange();return(or.from!==0||or.to!==0)&&this.scrollToActive(),a.signal(pt,"select",Dn[this.selectedHint],Rr.childNodes[this.selectedHint]),!0}Je.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var et=this.completion.cm.getInputField();et.removeAttribute("aria-activedescendant"),et.removeAttribute("aria-owns");var pt=this.completion.cm;this.completion.options.closeOnUnfocus&&(pt.off("blur",this.onBlur),pt.off("focus",this.onFocus)),pt.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var et=this;this.keyMap={Enter:function(){et.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(et,pt){if(et>=this.data.list.length?et=pt?this.data.list.length-1:0:et<0&&(et=pt?0:this.data.list.length-1),this.selectedHint!=et){var dt=this.hints.childNodes[this.selectedHint];dt&&(dt.className=dt.className.replace(" "+f,""),dt.removeAttribute("aria-selected")),dt=this.hints.childNodes[this.selectedHint=et],dt.className+=" "+f,dt.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",dt.id),this.scrollToActive(),a.signal(this.data,"select",this.data.list[this.selectedHint],dt)}},scrollToActive:function(){var et=this.getSelectedHintRange(),pt=this.hints.childNodes[et.from],dt=this.hints.childNodes[et.to],Wt=this.hints.firstChild;pt.offsetTop<this.hints.scrollTop?this.hints.scrollTop=pt.offsetTop-Wt.offsetTop:dt.offsetTop+dt.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=dt.offsetTop+dt.offsetHeight-this.hints.clientHeight+Wt.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var et=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-et),to:Math.min(this.data.list.length-1,this.selectedHint+et)}}};function rt(et,pt){if(!et.somethingSelected())return pt;for(var dt=[],Wt=0;Wt<pt.length;Wt++)pt[Wt].supportsSelection&&dt.push(pt[Wt]);return dt}function bt(et,pt,dt,Wt){if(et.async)et(pt,Wt,dt);else{var pr=et(pt,dt);pr&&pr.then?pr.then(Wt):Wt(pr)}}function Qt(et,pt){var dt=et.getHelpers(pt,"hint"),Wt;if(dt.length){var pr=function(kr,Rr,Sn){var Dn=rt(kr,dt);function Ir(Nr){if(Nr==Dn.length)return Rr(null);bt(Dn[Nr],kr,Sn,function(gn){gn&&gn.list.length>0?Rr(gn):Ir(Nr+1)})}Ir(0)};return pr.async=!0,pr.supportsSelection=!0,pr}else return(Wt=et.getHelper(et.getCursor(),"hintWords"))?function(kr){return a.hint.fromList(kr,{words:Wt})}:a.hint.anyword?function(kr,Rr){return a.hint.anyword(kr,Rr)}:function(){}}a.registerHelper("hint","auto",{resolve:Qt}),a.registerHelper("hint","fromList",function(et,pt){var dt=et.getCursor(),Wt=et.getTokenAt(dt),pr,kr=a.Pos(dt.line,Wt.start),Rr=dt;Wt.start<dt.ch&&/\w/.test(Wt.string.charAt(dt.ch-Wt.start-1))?pr=Wt.string.substr(0,dt.ch-Wt.start):(pr="",kr=dt);for(var Sn=[],Dn=0;Dn<pt.words.length;Dn++){var Ir=pt.words[Dn];Ir.slice(0,pr.length)==pr&&Sn.push(Ir)}if(Sn.length)return{list:Sn,from:kr,to:Rr}}),a.commands.autocomplete=a.showHint;var nr={hint:a.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};a.defineOption("hintOptions",null)})})();function vv(r,s,a={}){const l=mv.fromTextArea(r.value,Up({theme:"vars"},vn(a)));no(a,F=>Object.entries(F).forEach(([V,ae])=>l.setOption(V,ae)));let f=!1;return l.on("change",()=>{if(f){f=!1;return}s.value=l.getValue()}),no(s,F=>{if(F!==l.getValue()){f=!0;const V=l.listSelections();l.replaceRange(F,l.posFromIndex(0),l.posFromIndex(1/0)),l.setSelections(V)}},{immediate:!0}),l}const Dv={relative:"","font-mono":"","text-sm":""},bv=js({__name:"CodeMirror",props:{modelValue:null,mode:null,readOnly:{type:Boolean},matched:null,getHint:null},emits:["update:modelValue"],setup(r,{emit:s}){const a=r,l={html:"htmlmixed",vue:"htmlmixed",svelte:"htmlmixed",js:"javascript",mjs:"javascript",cjs:"javascript",ts:{name:"javascript",typescript:!0},mts:{name:"javascript",typescript:!0},cts:{name:"javascript",typescript:!0},jsx:{name:"javascript",jsx:!0},tsx:{name:"javascript",typescript:!0,jsx:!0}},f=Qi(),F=cv(a,"modelValue",s,{passive:!0}),V=Ni(()=>l[a.mode||""]||a.mode),ae=Ni(()=>a.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),ue=Ni(()=>a.getHint?{hint:a.getHint}:{});return Pf(async()=>{const Ae=vv(f,F,ac(qf(Up({},Pm(a)),{mode:V,hintOptions:ue,extraKeys:ae})));Ae.setSize("100%","100%"),a.getHint&&Ae.on("keyup",(bt,Qt)=>{Qt.key.match(/^[\w:-]$/)&&bt.execCommand("autocomplete")}),setTimeout(()=>Ae.refresh(),100);const _e=[];function ze(bt,Qt){_e.push(Ae.markText(Ae.posFromIndex(bt),Ae.posFromIndex(Qt),{className:"highlighted"}))}function Je(){_e.forEach(bt=>bt.clear()),gv(a.modelValue,Array.from(a.matched||[])).forEach(bt=>ze(bt[0],bt[1]))}let rt=0;no(()=>[a.modelValue,a.matched],async()=>{clearTimeout(rt),a.matched&&(rt=setTimeout(Je,200))},{immediate:!0})}),(Ae,_e)=>(Ii(),po("div",Dv,[Bn("textarea",{ref_key:"el",ref:f},null,512)]))}});var fg=(r,s)=>{const a=r.__vccOpts||r;for(const[l,f]of s)a[l]=f;return a};const xv={},Cv={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function Ev(r,s){return Ii(),po("div",Cv,[gp(r.$slots,"default")])}var wv=fg(xv,[["render",Ev]]);const Av={style:{"background-color":"var(--cm-background)"},border:"l y gray-400/20",text:"gray-400/80","p-2":"","select-none":"",flex:"","all:my-auto":""},Sv={"mr-2":"","op-60":""},Fv={flex:"","gap-2":"","flex-auto":""},kv=js({__name:"TitleBar",props:{title:null},setup(r){return(s,a)=>(Ii(),po("div",Av,[gp(s.$slots,"before"),Bn("div",Sv,To(r.title),1),Bn("div",Fv,[gp(s.$slots,"default")])]))}}),Tv="/@vite/client",dg=Ic(),hg=Ic(),Nv=dg.on,gg=hg.on;Df(()=>import(Tv),[]).then(r=>{const s=r.createHotContext("/");s.on("vite:beforeUpdate",a=>{a.updates.forEach(l=>{dg.trigger(l)})}),s.on("unocss:config-changed",()=>{hg.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 Mp="/__unocss_api",mg=Ip(Mp).json(),zf=Ip(`${Mp}/overview`,{immediate:!1}).json(),to=mg.data,ip=zf.data;gg(()=>{mg.execute(),zf.execute()});function r1(r){const s=Ip(Ni(()=>`${Mp}/module?id=${encodeURIComponent(vn(r))}`),{refetch:!0}).json();return gg(()=>s.execute()),Nv(a=>{var l;(a.path===vn(r)||a.path===vn(r).slice(((l=to.value)==null?void 0:l.root.length)||0))&&setTimeout(()=>{s.execute()},50)}),s}function n1(r){const s=vy(r,500);return Ip(Ni(()=>`${Mp}/repl?token=${encodeURIComponent(s.value)}`),{refetch:!0}).json()}const op=Ni(()=>{if(!to.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const r=to.value.modules.map(l=>({full:l,path:l})),s=r.filter(l=>l.full.startsWith(to.value.root)),a=r.filter(l=>!l.full.startsWith(to.value.root));return s.forEach(l=>l.path=l.path.slice(to.value.root.length+1)),{workspace:Rd(s,"Project Root"),root:Rd(a,"Disk Root")}});function Rd(r,s){const a={name:s,children:{},items:[]};function l(f,F,V=a){if(F.length<=1){V.items.push(f);return}const ae=F.shift();V.children[ae]||(V.children[ae]={name:ae,children:{},items:[]}),l(f,F,V.children[ae])}return r.forEach(f=>{const F=f.path.split(/\//g).filter(Boolean);l(f,F)}),a}const Bv={key:0,"ws-wrap":""},_v=Bn("span",{op80:""},".",-1),Pv={key:1},Ov=js({__name:"ModuleId",props:{id:null},setup(r){return(s,a)=>r.id&&vn(to)?(Ii(),po("span",Bv,[r.id.startsWith(vn(to).root)?(Ii(),po(Uo,{key:0},[_v,Bn("span",null,To(r.id.slice(vn(to).root.length)),1)],64)):(Ii(),po("span",Pv,To(r.id),1))])):Dp("",!0)}}),jv=(r,s)=>{const a=Qi(null);return nv(r,()=>{var f;const l=(f=Rf(r))==null?void 0:f.clientHeight;a.value=l?`--${s}: calc(100vh - ${l}px - 2px);`:null}),a};var yg={exports:{}};(function(r,s){(function(a){r.exports=a()})(function(){var a=(fr,ft)=>()=>(ft||fr((ft={exports:{}}).exports,ft),ft.exports),l=a((fr,ft)=>{var ot=function(xt){return xt&&xt.Math==Math&&xt};ft.exports=ot(typeof globalThis=="object"&&globalThis)||ot(typeof window=="object"&&window)||ot(typeof self=="object"&&self)||ot(typeof Jc=="object"&&Jc)||function(){return this}()||Function("return this")()}),f=a((fr,ft)=>{ft.exports=function(ot){try{return!!ot()}catch{return!0}}}),F=a((fr,ft)=>{var ot=f();ft.exports=!ot(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),V=a((fr,ft)=>{var ot=f();ft.exports=!ot(function(){var xt=function(){}.bind();return typeof xt!="function"||xt.hasOwnProperty("prototype")})}),ae=a((fr,ft)=>{var ot=V(),xt=Function.prototype.call;ft.exports=ot?xt.bind(xt):function(){return xt.apply(xt,arguments)}}),ue=a(fr=>{var ft={}.propertyIsEnumerable,ot=Object.getOwnPropertyDescriptor,xt=ot&&!ft.call({1:2},1);fr.f=xt?function(Ot){var Bt=ot(this,Ot);return!!Bt&&Bt.enumerable}:ft}),Ae=a((fr,ft)=>{ft.exports=function(ot,xt){return{enumerable:!(ot&1),configurable:!(ot&2),writable:!(ot&4),value:xt}}}),_e=a((fr,ft)=>{var ot=V(),xt=Function.prototype,Ot=xt.bind,Bt=xt.call,Xt=ot&&Ot.bind(Bt,Bt);ft.exports=ot?function(sr){return sr&&Xt(sr)}:function(sr){return sr&&function(){return Bt.apply(sr,arguments)}}}),ze=a((fr,ft)=>{var ot=_e(),xt=ot({}.toString),Ot=ot("".slice);ft.exports=function(Bt){return Ot(xt(Bt),8,-1)}}),Je=a((fr,ft)=>{var ot=l(),xt=_e(),Ot=f(),Bt=ze(),Xt=ot.Object,sr=xt("".split);ft.exports=Ot(function(){return!Xt("z").propertyIsEnumerable(0)})?function(hr){return Bt(hr)=="String"?sr(hr,""):Xt(hr)}:Xt}),rt=a((fr,ft)=>{var ot=l(),xt=ot.TypeError;ft.exports=function(Ot){if(Ot==null)throw xt("Can't call method on "+Ot);return Ot}}),bt=a((fr,ft)=>{var ot=Je(),xt=rt();ft.exports=function(Ot){return ot(xt(Ot))}}),Qt=a((fr,ft)=>{ft.exports=function(ot){return typeof ot=="function"}}),nr=a((fr,ft)=>{var ot=Qt();ft.exports=function(xt){return typeof xt=="object"?xt!==null:ot(xt)}}),et=a((fr,ft)=>{var ot=l(),xt=Qt(),Ot=function(Bt){return xt(Bt)?Bt:void 0};ft.exports=function(Bt,Xt){return arguments.length<2?Ot(ot[Bt]):ot[Bt]&&ot[Bt][Xt]}}),pt=a((fr,ft)=>{var ot=_e();ft.exports=ot({}.isPrototypeOf)}),dt=a((fr,ft)=>{var ot=et();ft.exports=ot("navigator","userAgent")||""}),Wt=a((fr,ft)=>{var ot=l(),xt=dt(),Ot=ot.process,Bt=ot.Deno,Xt=Ot&&Ot.versions||Bt&&Bt.version,sr=Xt&&Xt.v8,hr,Fr;sr&&(hr=sr.split("."),Fr=hr[0]>0&&hr[0]<4?1:+(hr[0]+hr[1])),!Fr&&xt&&(hr=xt.match(/Edge\/(\d+)/),(!hr||hr[1]>=74)&&(hr=xt.match(/Chrome\/(\d+)/),hr&&(Fr=+hr[1]))),ft.exports=Fr}),pr=a((fr,ft)=>{var ot=Wt(),xt=f();ft.exports=!!Object.getOwnPropertySymbols&&!xt(function(){var Ot=Symbol();return!String(Ot)||!(Object(Ot)instanceof Symbol)||!Symbol.sham&&ot&&ot<41})}),kr=a((fr,ft)=>{var ot=pr();ft.exports=ot&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Rr=a((fr,ft)=>{var ot=l(),xt=et(),Ot=Qt(),Bt=pt(),Xt=kr(),sr=ot.Object;ft.exports=Xt?function(hr){return typeof hr=="symbol"}:function(hr){var Fr=xt("Symbol");return Ot(Fr)&&Bt(Fr.prototype,sr(hr))}}),Sn=a((fr,ft)=>{var ot=l(),xt=ot.String;ft.exports=function(Ot){try{return xt(Ot)}catch{return"Object"}}}),Dn=a((fr,ft)=>{var ot=l(),xt=Qt(),Ot=Sn(),Bt=ot.TypeError;ft.exports=function(Xt){if(xt(Xt))return Xt;throw Bt(Ot(Xt)+" is not a function")}}),Ir=a((fr,ft)=>{var ot=Dn();ft.exports=function(xt,Ot){var Bt=xt[Ot];return Bt==null?void 0:ot(Bt)}}),Nr=a((fr,ft)=>{var ot=l(),xt=ae(),Ot=Qt(),Bt=nr(),Xt=ot.TypeError;ft.exports=function(sr,hr){var Fr,Lr;if(hr==="string"&&Ot(Fr=sr.toString)&&!Bt(Lr=xt(Fr,sr))||Ot(Fr=sr.valueOf)&&!Bt(Lr=xt(Fr,sr))||hr!=="string"&&Ot(Fr=sr.toString)&&!Bt(Lr=xt(Fr,sr)))return Lr;throw Xt("Can't convert object to primitive value")}}),gn=a((fr,ft)=>{ft.exports=!1}),zt=a((fr,ft)=>{var ot=l(),xt=Object.defineProperty;ft.exports=function(Ot,Bt){try{xt(ot,Ot,{value:Bt,configurable:!0,writable:!0})}catch{ot[Ot]=Bt}return Bt}}),Cr=a((fr,ft)=>{var ot=l(),xt=zt(),Ot="__core-js_shared__",Bt=ot[Ot]||xt(Ot,{});ft.exports=Bt}),de=a((fr,ft)=>{var ot=gn(),xt=Cr();(ft.exports=function(Ot,Bt){return xt[Ot]||(xt[Ot]=Bt!==void 0?Bt:{})})("versions",[]).push({version:"3.22.2",mode:ot?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),lr=a((fr,ft)=>{var ot=l(),xt=rt(),Ot=ot.Object;ft.exports=function(Bt){return Ot(xt(Bt))}}),Ut=a((fr,ft)=>{var ot=_e(),xt=lr(),Ot=ot({}.hasOwnProperty);ft.exports=Object.hasOwn||function(Bt,Xt){return Ot(xt(Bt),Xt)}}),Ar=a((fr,ft)=>{var ot=_e(),xt=0,Ot=Math.random(),Bt=ot(1 .toString);ft.exports=function(Xt){return"Symbol("+(Xt===void 0?"":Xt)+")_"+Bt(++xt+Ot,36)}}),tn=a((fr,ft)=>{var ot=l(),xt=de(),Ot=Ut(),Bt=Ar(),Xt=pr(),sr=kr(),hr=xt("wks"),Fr=ot.Symbol,Lr=Fr&&Fr.for,Vr=sr?Fr:Fr&&Fr.withoutSetter||Bt;ft.exports=function(Kr){if(!Ot(hr,Kr)||!(Xt||typeof hr[Kr]=="string")){var Qr="Symbol."+Kr;Xt&&Ot(Fr,Kr)?hr[Kr]=Fr[Kr]:sr&&Lr?hr[Kr]=Lr(Qr):hr[Kr]=Vr(Qr)}return hr[Kr]}}),Vn=a((fr,ft)=>{var ot=l(),xt=ae(),Ot=nr(),Bt=Rr(),Xt=Ir(),sr=Nr(),hr=tn(),Fr=ot.TypeError,Lr=hr("toPrimitive");ft.exports=function(Vr,Kr){if(!Ot(Vr)||Bt(Vr))return Vr;var Qr=Xt(Vr,Lr),mn;if(Qr){if(Kr===void 0&&(Kr="default"),mn=xt(Qr,Vr,Kr),!Ot(mn)||Bt(mn))return mn;throw Fr("Can't convert object to primitive value")}return Kr===void 0&&(Kr="number"),sr(Vr,Kr)}}),ai=a((fr,ft)=>{var ot=Vn(),xt=Rr();ft.exports=function(Ot){var Bt=ot(Ot,"string");return xt(Bt)?Bt:Bt+""}}),ui=a((fr,ft)=>{var ot=l(),xt=nr(),Ot=ot.document,Bt=xt(Ot)&&xt(Ot.createElement);ft.exports=function(Xt){return Bt?Ot.createElement(Xt):{}}}),On=a((fr,ft)=>{var ot=F(),xt=f(),Ot=ui();ft.exports=!ot&&!xt(function(){return Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a!=7})}),li=a(fr=>{var ft=F(),ot=ae(),xt=ue(),Ot=Ae(),Bt=bt(),Xt=ai(),sr=Ut(),hr=On(),Fr=Object.getOwnPropertyDescriptor;fr.f=ft?Fr:function(Lr,Vr){if(Lr=Bt(Lr),Vr=Xt(Vr),hr)try{return Fr(Lr,Vr)}catch{}if(sr(Lr,Vr))return Ot(!ot(xt.f,Lr,Vr),Lr[Vr])}}),Gt=a((fr,ft)=>{var ot=F(),xt=f();ft.exports=ot&&xt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),ar=a((fr,ft)=>{var ot=l(),xt=nr(),Ot=ot.String,Bt=ot.TypeError;ft.exports=function(Xt){if(xt(Xt))return Xt;throw Bt(Ot(Xt)+" is not an object")}}),Pt=a(fr=>{var ft=l(),ot=F(),xt=On(),Ot=Gt(),Bt=ar(),Xt=ai(),sr=ft.TypeError,hr=Object.defineProperty,Fr=Object.getOwnPropertyDescriptor,Lr="enumerable",Vr="configurable",Kr="writable";fr.f=ot?Ot?function(Qr,mn,Gr){if(Bt(Qr),mn=Xt(mn),Bt(Gr),typeof Qr=="function"&&mn==="prototype"&&"value"in Gr&&Kr in Gr&&!Gr[Kr]){var fn=Fr(Qr,mn);fn&&fn[Kr]&&(Qr[mn]=Gr.value,Gr={configurable:Vr in Gr?Gr[Vr]:fn[Vr],enumerable:Lr in Gr?Gr[Lr]:fn[Lr],writable:!1})}return hr(Qr,mn,Gr)}:hr:function(Qr,mn,Gr){if(Bt(Qr),mn=Xt(mn),Bt(Gr),xt)try{return hr(Qr,mn,Gr)}catch{}if("get"in Gr||"set"in Gr)throw sr("Accessors not supported");return"value"in Gr&&(Qr[mn]=Gr.value),Qr}}),Dr=a((fr,ft)=>{var ot=F(),xt=Pt(),Ot=Ae();ft.exports=ot?function(Bt,Xt,sr){return xt.f(Bt,Xt,Ot(1,sr))}:function(Bt,Xt,sr){return Bt[Xt]=sr,Bt}}),rn=a((fr,ft)=>{var ot=_e(),xt=Qt(),Ot=Cr(),Bt=ot(Function.toString);xt(Ot.inspectSource)||(Ot.inspectSource=function(Xt){return Bt(Xt)}),ft.exports=Ot.inspectSource}),Hr=a((fr,ft)=>{var ot=l(),xt=Qt(),Ot=rn(),Bt=ot.WeakMap;ft.exports=xt(Bt)&&/native code/.test(Ot(Bt))}),Or=a((fr,ft)=>{var ot=de(),xt=Ar(),Ot=ot("keys");ft.exports=function(Bt){return Ot[Bt]||(Ot[Bt]=xt(Bt))}}),Zr=a((fr,ft)=>{ft.exports={}}),Ue=a((fr,ft)=>{var ot=Hr(),xt=l(),Ot=_e(),Bt=nr(),Xt=Dr(),sr=Ut(),hr=Cr(),Fr=Or(),Lr=Zr(),Vr="Object already initialized",Kr=xt.TypeError,Qr=xt.WeakMap,mn,Gr,fn,Zn=function(In){return fn(In)?Gr(In):mn(In,{})},ii=function(In){return function(yn){var Pi;if(!Bt(yn)||(Pi=Gr(yn)).type!==In)throw Kr("Incompatible receiver, "+In+" required");return Pi}};ot||hr.state?(ci=hr.state||(hr.state=new Qr),Tn=Ot(ci.get),Oe=Ot(ci.has),_i=Ot(ci.set),mn=function(In,yn){if(Oe(ci,In))throw new Kr(Vr);return yn.facade=In,_i(ci,In,yn),yn},Gr=function(In){return Tn(ci,In)||{}},fn=function(In){return Oe(ci,In)}):(Si=Fr("state"),Lr[Si]=!0,mn=function(In,yn){if(sr(In,Si))throw new Kr(Vr);return yn.facade=In,Xt(In,Si,yn),yn},Gr=function(In){return sr(In,Si)?In[Si]:{}},fn=function(In){return sr(In,Si)});var ci,Tn,Oe,_i,Si;ft.exports={set:mn,get:Gr,has:fn,enforce:Zn,getterFor:ii}}),nt=a((fr,ft)=>{var ot=F(),xt=Ut(),Ot=Function.prototype,Bt=ot&&Object.getOwnPropertyDescriptor,Xt=xt(Ot,"name"),sr=Xt&&function(){}.name==="something",hr=Xt&&(!ot||ot&&Bt(Ot,"name").configurable);ft.exports={EXISTS:Xt,PROPER:sr,CONFIGURABLE:hr}}),It=a((fr,ft)=>{var ot=l(),xt=Qt(),Ot=Ut(),Bt=Dr(),Xt=zt(),sr=rn(),hr=Ue(),Fr=nt().CONFIGURABLE,Lr=hr.get,Vr=hr.enforce,Kr=String(String).split("String");(ft.exports=function(Qr,mn,Gr,fn){var Zn=fn?!!fn.unsafe:!1,ii=fn?!!fn.enumerable:!1,ci=fn?!!fn.noTargetGet:!1,Tn=fn&&fn.name!==void 0?fn.name:mn,Oe;if(xt(Gr)&&(String(Tn).slice(0,7)==="Symbol("&&(Tn="["+String(Tn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ot(Gr,"name")||Fr&&Gr.name!==Tn)&&Bt(Gr,"name",Tn),Oe=Vr(Gr),Oe.source||(Oe.source=Kr.join(typeof Tn=="string"?Tn:""))),Qr===ot){ii?Qr[mn]=Gr:Xt(mn,Gr);return}else Zn?!ci&&Qr[mn]&&(ii=!0):delete Qr[mn];ii?Qr[mn]=Gr:Bt(Qr,mn,Gr)})(Function.prototype,"toString",function(){return xt(this)&&Lr(this).source||sr(this)})}),kt=a((fr,ft)=>{var ot=Math.ceil,xt=Math.floor;ft.exports=function(Ot){var Bt=+Ot;return Bt!==Bt||Bt===0?0:(Bt>0?xt:ot)(Bt)}}),or=a((fr,ft)=>{var ot=kt(),xt=Math.max,Ot=Math.min;ft.exports=function(Bt,Xt){var sr=ot(Bt);return sr<0?xt(sr+Xt,0):Ot(sr,Xt)}}),gr=a((fr,ft)=>{var ot=kt(),xt=Math.min;ft.exports=function(Ot){return Ot>0?xt(ot(Ot),9007199254740991):0}}),Er=a((fr,ft)=>{var ot=gr();ft.exports=function(xt){return ot(xt.length)}}),Sr=a((fr,ft)=>{var ot=bt(),xt=or(),Ot=Er(),Bt=function(Xt){return function(sr,hr,Fr){var Lr=ot(sr),Vr=Ot(Lr),Kr=xt(Fr,Vr),Qr;if(Xt&&hr!=hr){for(;Vr>Kr;)if(Qr=Lr[Kr++],Qr!=Qr)return!0}else for(;Vr>Kr;Kr++)if((Xt||Kr in Lr)&&Lr[Kr]===hr)return Xt||Kr||0;return!Xt&&-1}};ft.exports={includes:Bt(!0),indexOf:Bt(!1)}}),dr=a((fr,ft)=>{var ot=_e(),xt=Ut(),Ot=bt(),Bt=Sr().indexOf,Xt=Zr(),sr=ot([].push);ft.exports=function(hr,Fr){var Lr=Ot(hr),Vr=0,Kr=[],Qr;for(Qr in Lr)!xt(Xt,Qr)&&xt(Lr,Qr)&&sr(Kr,Qr);for(;Fr.length>Vr;)xt(Lr,Qr=Fr[Vr++])&&(~Bt(Kr,Qr)||sr(Kr,Qr));return Kr}}),We=a((fr,ft)=>{ft.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Rt=a(fr=>{var ft=dr(),ot=We(),xt=ot.concat("length","prototype");fr.f=Object.getOwnPropertyNames||function(Ot){return ft(Ot,xt)}}),it=a(fr=>{fr.f=Object.getOwnPropertySymbols}),_r=a((fr,ft)=>{var ot=et(),xt=_e(),Ot=Rt(),Bt=it(),Xt=ar(),sr=xt([].concat);ft.exports=ot("Reflect","ownKeys")||function(hr){var Fr=Ot.f(Xt(hr)),Lr=Bt.f;return Lr?sr(Fr,Lr(hr)):Fr}}),ln=a((fr,ft)=>{var ot=Ut(),xt=_r(),Ot=li(),Bt=Pt();ft.exports=function(Xt,sr,hr){for(var Fr=xt(sr),Lr=Bt.f,Vr=Ot.f,Kr=0;Kr<Fr.length;Kr++){var Qr=Fr[Kr];!ot(Xt,Qr)&&!(hr&&ot(hr,Qr))&&Lr(Xt,Qr,Vr(sr,Qr))}}}),zn=a((fr,ft)=>{var ot=f(),xt=Qt(),Ot=/#|\.prototype\./,Bt=function(Lr,Vr){var Kr=sr[Xt(Lr)];return Kr==Fr?!0:Kr==hr?!1:xt(Vr)?ot(Vr):!!Vr},Xt=Bt.normalize=function(Lr){return String(Lr).replace(Ot,".").toLowerCase()},sr=Bt.data={},hr=Bt.NATIVE="N",Fr=Bt.POLYFILL="P";ft.exports=Bt}),Jn=a((fr,ft)=>{var ot=l(),xt=li().f,Ot=Dr(),Bt=It(),Xt=zt(),sr=ln(),hr=zn();ft.exports=function(Fr,Lr){var Vr=Fr.target,Kr=Fr.global,Qr=Fr.stat,mn,Gr,fn,Zn,ii,ci;if(Kr?Gr=ot:Qr?Gr=ot[Vr]||Xt(Vr,{}):Gr=(ot[Vr]||{}).prototype,Gr)for(fn in Lr){if(ii=Lr[fn],Fr.noTargetGet?(ci=xt(Gr,fn),Zn=ci&&ci.value):Zn=Gr[fn],mn=hr(Kr?fn:Vr+(Qr?".":"#")+fn,Fr.forced),!mn&&Zn!==void 0){if(typeof ii==typeof Zn)continue;sr(ii,Zn)}(Fr.sham||Zn&&Zn.sham)&&Ot(ii,"sham",!0),Bt(Gr,fn,ii,Fr)}}}),Gn=a((fr,ft)=>{var ot=ze();ft.exports=Array.isArray||function(xt){return ot(xt)=="Array"}}),kn=a((fr,ft)=>{var ot=_e(),xt=Dn(),Ot=V(),Bt=ot(ot.bind);ft.exports=function(Xt,sr){return xt(Xt),sr===void 0?Xt:Ot?Bt(Xt,sr):function(){return Xt.apply(sr,arguments)}}}),di=a((fr,ft)=>{var ot=l(),xt=Gn(),Ot=Er(),Bt=kn(),Xt=ot.TypeError,sr=function(hr,Fr,Lr,Vr,Kr,Qr,mn,Gr){for(var fn=Kr,Zn=0,ii=mn?Bt(mn,Gr):!1,ci,Tn;Zn<Vr;){if(Zn in Lr){if(ci=ii?ii(Lr[Zn],Zn,Fr):Lr[Zn],Qr>0&&xt(ci))Tn=Ot(ci),fn=sr(hr,Fr,ci,Tn,fn,Qr-1)-1;else{if(fn>=9007199254740991)throw Xt("Exceed the acceptable array length");hr[fn]=ci}fn++}Zn++}return fn};ft.exports=sr}),Mr=a((fr,ft)=>{var ot=tn(),xt=ot("toStringTag"),Ot={};Ot[xt]="z",ft.exports=String(Ot)==="[object z]"}),Ht=a((fr,ft)=>{var ot=l(),xt=Mr(),Ot=Qt(),Bt=ze(),Xt=tn(),sr=Xt("toStringTag"),hr=ot.Object,Fr=Bt(function(){return arguments}())=="Arguments",Lr=function(Vr,Kr){try{return Vr[Kr]}catch{}};ft.exports=xt?Bt:function(Vr){var Kr,Qr,mn;return Vr===void 0?"Undefined":Vr===null?"Null":typeof(Qr=Lr(Kr=hr(Vr),sr))=="string"?Qr:Fr?Bt(Kr):(mn=Bt(Kr))=="Object"&&Ot(Kr.callee)?"Arguments":mn}}),$t=a((fr,ft)=>{var ot=_e(),xt=f(),Ot=Qt(),Bt=Ht(),Xt=et(),sr=rn(),hr=function(){},Fr=[],Lr=Xt("Reflect","construct"),Vr=/^\s*(?:class|function)\b/,Kr=ot(Vr.exec),Qr=!Vr.exec(hr),mn=function(fn){if(!Ot(fn))return!1;try{return Lr(hr,Fr,fn),!0}catch{return!1}},Gr=function(fn){if(!Ot(fn))return!1;switch(Bt(fn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qr||!!Kr(Vr,sr(fn))}catch{return!0}};Gr.sham=!0,ft.exports=!Lr||xt(function(){var fn;return mn(mn.call)||!mn(Object)||!mn(function(){fn=!0})||fn})?Gr:mn}),ht=a((fr,ft)=>{var ot=l(),xt=Gn(),Ot=$t(),Bt=nr(),Xt=tn(),sr=Xt("species"),hr=ot.Array;ft.exports=function(Fr){var Lr;return xt(Fr)&&(Lr=Fr.constructor,Ot(Lr)&&(Lr===hr||xt(Lr.prototype))?Lr=void 0:Bt(Lr)&&(Lr=Lr[sr],Lr===null&&(Lr=void 0))),Lr===void 0?hr:Lr}}),Zt=a((fr,ft)=>{var ot=ht();ft.exports=function(xt,Ot){return new(ot(xt))(Ot===0?0:Ot)}}),Tt=a(()=>{var fr=Jn(),ft=di(),ot=Dn(),xt=lr(),Ot=Er(),Bt=Zt();fr({target:"Array",proto:!0},{flatMap:function(Xt){var sr=xt(this),hr=Ot(sr),Fr;return ot(Xt),Fr=Bt(sr,0),Fr.length=ft(Fr,sr,sr,hr,0,1,Xt,arguments.length>1?arguments[1]:void 0),Fr}})}),yr=a((fr,ft)=>{ft.exports={}}),at=a((fr,ft)=>{var ot=tn(),xt=yr(),Ot=ot("iterator"),Bt=Array.prototype;ft.exports=function(Xt){return Xt!==void 0&&(xt.Array===Xt||Bt[Ot]===Xt)}}),$r=a((fr,ft)=>{var ot=Ht(),xt=Ir(),Ot=yr(),Bt=tn(),Xt=Bt("iterator");ft.exports=function(sr){if(sr!=null)return xt(sr,Xt)||xt(sr,"@@iterator")||Ot[ot(sr)]}}),Jr=a((fr,ft)=>{var ot=l(),xt=ae(),Ot=Dn(),Bt=ar(),Xt=Sn(),sr=$r(),hr=ot.TypeError;ft.exports=function(Fr,Lr){var Vr=arguments.length<2?sr(Fr):Lr;if(Ot(Vr))return Bt(xt(Vr,Fr));throw hr(Xt(Fr)+" is not iterable")}}),En=a((fr,ft)=>{var ot=ae(),xt=ar(),Ot=Ir();ft.exports=function(Bt,Xt,sr){var hr,Fr;xt(Bt);try{if(hr=Ot(Bt,"return"),!hr){if(Xt==="throw")throw sr;return sr}hr=ot(hr,Bt)}catch(Lr){Fr=!0,hr=Lr}if(Xt==="throw")throw sr;if(Fr)throw hr;return xt(hr),sr}}),vt=a((fr,ft)=>{var ot=l(),xt=kn(),Ot=ae(),Bt=ar(),Xt=Sn(),sr=at(),hr=Er(),Fr=pt(),Lr=Jr(),Vr=$r(),Kr=En(),Qr=ot.TypeError,mn=function(fn,Zn){this.stopped=fn,this.result=Zn},Gr=mn.prototype;ft.exports=function(fn,Zn,ii){var ci=ii&&ii.that,Tn=!!(ii&&ii.AS_ENTRIES),Oe=!!(ii&&ii.IS_ITERATOR),_i=!!(ii&&ii.INTERRUPTED),Si=xt(Zn,ci),In,yn,Pi,yo,xi,b,Pe,tr=function(nn){return In&&Kr(In,"normal",nn),new mn(!0,nn)},br=function(nn){return Tn?(Bt(nn),_i?Si(nn[0],nn[1],tr):Si(nn[0],nn[1])):_i?Si(nn,tr):Si(nn)};if(Oe)In=fn;else{if(yn=Vr(fn),!yn)throw Qr(Xt(fn)+" is not iterable");if(sr(yn)){for(Pi=0,yo=hr(fn);yo>Pi;Pi++)if(xi=br(fn[Pi]),xi&&Fr(Gr,xi))return xi;return new mn(!1)}In=Lr(fn,yn)}for(b=In.next;!(Pe=Ot(b,In)).done;){try{xi=br(Pe.value)}catch(nn){Kr(In,"throw",nn)}if(typeof xi=="object"&&xi&&Fr(Gr,xi))return xi}return new mn(!1)}}),cn=a((fr,ft)=>{var ot=ai(),xt=Pt(),Ot=Ae();ft.exports=function(Bt,Xt,sr){var hr=ot(Xt);hr in Bt?xt.f(Bt,hr,Ot(0,sr)):Bt[hr]=sr}}),Fn=a(()=>{var fr=Jn(),ft=vt(),ot=cn();fr({target:"Object",stat:!0},{fromEntries:function(xt){var Ot={};return ft(xt,function(Bt,Xt){ot(Ot,Bt,Xt)},{AS_ENTRIES:!0}),Ot}})}),Ln=a(()=>{var fr=Jn(),ft=l();fr({global:!0},{globalThis:ft})}),_n=a(()=>{Ln()}),Qn=a(()=>{var fr=Jn(),ft=di(),ot=lr(),xt=Er(),Ot=kt(),Bt=Zt();fr({target:"Array",proto:!0},{flat:function(){var Xt=arguments.length?arguments[0]:void 0,sr=ot(this),hr=xt(sr),Fr=Bt(sr,0);return Fr.length=ft(Fr,sr,sr,hr,0,Xt===void 0?1:Ot(Xt)),Fr}})}),pi=a((fr,ft)=>{var ot=["cliName","cliCategory","cliDescription"],xt=["_"],Ot=["languageId"],Bt,Xt,sr,hr,Fr,Lr;function Vr(m,A){if(m==null)return{};var h=Kr(m,A),C,x;if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(m);for(x=0;x<p.length;x++)C=p[x],!(A.indexOf(C)>=0)&&(!Object.prototype.propertyIsEnumerable.call(m,C)||(h[C]=m[C]))}return h}function Kr(m,A){if(m==null)return{};var h={},C=Object.keys(m),x,p;for(p=0;p<C.length;p++)x=C[p],!(A.indexOf(x)>=0)&&(h[x]=m[x]);return h}Tt(),Fn(),_n(),Qn();function Qr(m,A){return A||(A=m.slice(0)),Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(A)}}))}var mn=Object.create,Gr=Object.defineProperty,fn=Object.getOwnPropertyDescriptor,Zn=Object.getOwnPropertyNames,ii=Object.getPrototypeOf,ci=Object.prototype.hasOwnProperty,Tn=(m,A)=>function(){return m&&(A=(0,m[Zn(m)[0]])(m=0)),A},Oe=(m,A)=>function(){return A||(0,m[Zn(m)[0]])((A={exports:{}}).exports,A),A.exports},_i=(m,A)=>{for(var h in A)Gr(m,h,{get:A[h],enumerable:!0})},Si=(m,A,h,C)=>{if(A&&typeof A=="object"||typeof A=="function")for(let x of Zn(A))!ci.call(m,x)&&x!==h&&Gr(m,x,{get:()=>A[x],enumerable:!(C=fn(A,x))||C.enumerable});return m},In=(m,A,h)=>(h=m!=null?mn(ii(m)):{},Si(A||!m||!m.__esModule?Gr(h,"default",{value:m,enumerable:!0}):h,m)),yn=m=>Si(Gr({},"__esModule",{value:!0}),m),Pi,yo,xi,b=Tn({"<define:process>"(){Pi={},yo=[],xi={env:Pi,argv:yo}}}),Pe=Oe({"package.json"(m,A){A.exports={version:"2.7.1"}}}),tr=Oe({"node_modules/diff/lib/diff/base.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=A;function A(){}A.prototype={diff:function(x,p){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=d.callback;typeof d=="function"&&(D=d,d={}),this.options=d;var w=this;function k($){return D?(setTimeout(function(){D(void 0,$)},0),!0):$}x=this.castInput(x),p=this.castInput(p),x=this.removeEmpty(this.tokenize(x)),p=this.removeEmpty(this.tokenize(p));var R=p.length,P=x.length,M=1,T=R+P,N=[{newPos:-1,components:[]}],j=this.extractCommon(N[0],p,x,0);if(N[0].newPos+1>=R&&j+1>=P)return k([{value:this.join(p),count:p.length}]);function re(){for(var $=-1*M;$<=M;$+=2){var J=void 0,ee=N[$-1],oe=N[$+1],ie=(oe?oe.newPos:0)-$;ee&&(N[$-1]=void 0);var se=ee&&ee.newPos+1<R,z=oe&&0<=ie&&ie<P;if(!se&&!z){N[$]=void 0;continue}if(!se||z&&ee.newPos<oe.newPos?(J=C(oe),w.pushComponent(J.components,void 0,!0)):(J=ee,J.newPos++,w.pushComponent(J.components,!0,void 0)),ie=w.extractCommon(J,p,x,$),J.newPos+1>=R&&ie+1>=P)return k(h(w,J.components,p,x,w.useLongestToken));N[$]=J}M++}if(D)(function $(){setTimeout(function(){if(M>T)return D();re()||$()},0)})();else for(;M<=T;){var ne=re();if(ne)return ne}},pushComponent:function(x,p,d){var D=x[x.length-1];D&&D.added===p&&D.removed===d?x[x.length-1]={count:D.count+1,added:p,removed:d}:x.push({count:1,added:p,removed:d})},extractCommon:function(x,p,d,D){for(var w=p.length,k=d.length,R=x.newPos,P=R-D,M=0;R+1<w&&P+1<k&&this.equals(p[R+1],d[P+1]);)R++,P++,M++;return M&&x.components.push({count:M}),x.newPos=R,P},equals:function(x,p){return this.options.comparator?this.options.comparator(x,p):x===p||this.options.ignoreCase&&x.toLowerCase()===p.toLowerCase()},removeEmpty:function(x){for(var p=[],d=0;d<x.length;d++)x[d]&&p.push(x[d]);return p},castInput:function(x){return x},tokenize:function(x){return x.split("")},join:function(x){return x.join("")}};function h(x,p,d,D,w){for(var k=0,R=p.length,P=0,M=0;k<R;k++){var T=p[k];if(T.removed){if(T.value=x.join(D.slice(M,M+T.count)),M+=T.count,k&&p[k-1].added){var N=p[k-1];p[k-1]=p[k],p[k]=N}}else{if(!T.added&&w){var j=d.slice(P,P+T.count);j=j.map(function(ne,$){var J=D[M+$];return J.length>ne.length?J:ne}),T.value=x.join(j)}else T.value=x.join(d.slice(P,P+T.count));P+=T.count,T.added||(M+=T.count)}}var re=p[R-1];return R>1&&typeof re.value=="string"&&(re.added||re.removed)&&x.equals("",re.value)&&(p[R-2].value+=re.value,p.pop()),p}function C(x){return{newPos:x.newPos,components:x.components.slice(0)}}}}),br=Oe({"node_modules/diff/lib/diff/array.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=x,m.arrayDiff=void 0;var A=h(tr());function h(p){return p&&p.__esModule?p:{default:p}}var C=new A.default;m.arrayDiff=C,C.tokenize=function(p){return p.slice()},C.join=C.removeEmpty=function(p){return p};function x(p,d,D){return C.diff(p,d,D)}}}),nn=Oe({"src/document/doc-builders.js"(m,A){b();function h(W){return{type:"concat",parts:W}}function C(W){return{type:"indent",contents:W}}function x(W,S){return{type:"align",contents:S,n:W}}function p(W){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:S.id,contents:W,break:Boolean(S.shouldBreak),expandedStates:S.expandedStates}}function d(W){return x(Number.NEGATIVE_INFINITY,W)}function D(W){return x({type:"root"},W)}function w(W){return x(-1,W)}function k(W,S){return p(W[0],Object.assign(Object.assign({},S),{},{expandedStates:W}))}function R(W){return{type:"fill",parts:W}}function P(W,S){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:W,flatContents:S,groupId:H.groupId}}function M(W,S){return{type:"indent-if-break",contents:W,groupId:S.groupId,negate:S.negate}}function T(W){return{type:"line-suffix",contents:W}}var N={type:"line-suffix-boundary"},j={type:"break-parent"},re={type:"trim"},ne={type:"line",hard:!0},$={type:"line",hard:!0,literal:!0},J={type:"line"},ee={type:"line",soft:!0},oe=h([ne,j]),ie=h([$,j]),se={type:"cursor",placeholder:Symbol("cursor")};function z(W,S){let H=[];for(let I=0;I<S.length;I++)I!==0&&H.push(W),H.push(S[I]);return h(H)}function B(W,S,H){let I=W;if(S>0){for(let Y=0;Y<Math.floor(S/H);++Y)I=C(I);I=x(S%H,I),I=x(Number.NEGATIVE_INFINITY,I)}return I}function O(W,S){return{type:"label",label:W,contents:S}}A.exports={concat:h,join:z,line:J,softline:ee,hardline:oe,literalline:ie,group:p,conditionalGroup:k,fill:R,lineSuffix:T,lineSuffixBoundary:N,cursor:se,breakParent:j,ifBreak:P,trim:re,indent:C,indentIfBreak:M,align:x,addAlignmentToDoc:B,markAsRoot:D,dedentToRoot:d,dedent:w,hardlineWithoutBreakParent:ne,literallineWithoutBreakParent:$,label:O}}}),$n=Oe({"src/common/end-of-line.js"(m,A){b();function h(d){let D=d.indexOf("\r");return D>=0?d.charAt(D+1)===`
|
|
25
|
+
`?"crlf":"cr":"lf"}function C(d){switch(d){case"cr":return"\r";case"crlf":return`\r
|
|
26
|
+
`;default:return`
|
|
27
|
+
`}}function x(d,D){let w;switch(D){case`
|
|
28
|
+
`:w=/\n/g;break;case"\r":w=/\r/g;break;case`\r
|
|
29
|
+
`:w=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(D),"."))}let k=d.match(w);return k?k.length:0}function p(d){return d.replace(/\r\n?/g,`
|
|
30
|
+
`)}A.exports={guessEndOfLine:h,convertEndOfLineToChars:C,countEndOfLineChars:x,normalizeEndOfLine:p}}}),Rn=Oe({"src/utils/get-last.js"(m,A){b();var h=C=>C[C.length-1];A.exports=h}});function qr(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(A,m?void 0:"g")}var hi=Tn({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){b()}});function Ta(m){if(typeof m!="string")throw new TypeError("Expected a `string`, got `".concat(typeof m,"`"));return m.replace(qr(),"")}var ea=Tn({"node_modules/strip-ansi/index.js"(){b(),hi()}});function vo(m){return Number.isInteger(m)?m>=4352&&(m<=4447||m===9001||m===9002||11904<=m&&m<=12871&&m!==12351||12880<=m&&m<=19903||19968<=m&&m<=42182||43360<=m&&m<=43388||44032<=m&&m<=55203||63744<=m&&m<=64255||65040<=m&&m<=65049||65072<=m&&m<=65131||65281<=m&&m<=65376||65504<=m&&m<=65510||110592<=m&&m<=110593||127488<=m&&m<=127569||131072<=m&&m<=262141):!1}var Du=Tn({"node_modules/is-fullwidth-code-point/index.js"(){b()}}),bu=Oe({"node_modules/emoji-regex/index.js"(m,A){b(),A.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),ms={};_i(ms,{default:()=>Na});function Na(m){if(typeof m!="string"||m.length===0||(m=Ta(m),m.length===0))return 0;m=m.replace((0,Ba.default)()," ");let A=0;for(let h=0;h<m.length;h++){let C=m.codePointAt(h);C<=31||C>=127&&C<=159||C>=768&&C<=879||(C>65535&&h++,A+=vo(C)?2:1)}return A}var Ba,_a=Tn({"node_modules/string-width/index.js"(){b(),ea(),Du(),Ba=In(bu())}}),Pa=Oe({"src/utils/get-string-width.js"(m,A){b();var h=(_a(),yn(ms)).default,C=/[^\x20-\x7F]/;function x(p){return p?C.test(p)?h(p):p.length:0}A.exports=x}}),ta=Oe({"src/document/doc-utils.js"(m,A){b();var h=Rn(),{literalline:C,join:x}=nn(),p=S=>Array.isArray(S)||S&&S.type==="concat",d=S=>{if(Array.isArray(S))return S;if(S.type!=="concat"&&S.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return S.parts},D={};function w(S,H,I,Y){let X=[S];for(;X.length>0;){let K=X.pop();if(K===D){I(X.pop());continue}if(I&&X.push(K,D),!H||H(K)!==!1)if(p(K)||K.type==="fill"){let ce=d(K);for(let we=ce.length,ye=we-1;ye>=0;--ye)X.push(ce[ye])}else if(K.type==="if-break")K.flatContents&&X.push(K.flatContents),K.breakContents&&X.push(K.breakContents);else if(K.type==="group"&&K.expandedStates)if(Y)for(let ce=K.expandedStates.length,we=ce-1;we>=0;--we)X.push(K.expandedStates[we]);else X.push(K.contents);else K.contents&&X.push(K.contents)}}function k(S,H){let I=new Map;return Y(S);function Y(K){if(I.has(K))return I.get(K);let ce=X(K);return I.set(K,ce),ce}function X(K){if(Array.isArray(K))return H(K.map(Y));if(K.type==="concat"||K.type==="fill"){let ce=K.parts.map(Y);return H(Object.assign(Object.assign({},K),{},{parts:ce}))}if(K.type==="if-break"){let ce=K.breakContents&&Y(K.breakContents),we=K.flatContents&&Y(K.flatContents);return H(Object.assign(Object.assign({},K),{},{breakContents:ce,flatContents:we}))}if(K.type==="group"&&K.expandedStates){let ce=K.expandedStates.map(Y),we=ce[0];return H(Object.assign(Object.assign({},K),{},{contents:we,expandedStates:ce}))}if(K.contents){let ce=Y(K.contents);return H(Object.assign(Object.assign({},K),{},{contents:ce}))}return H(K)}}function R(S,H,I){let Y=I,X=!1;function K(ce){let we=H(ce);if(we!==void 0&&(X=!0,Y=we),X)return!1}return w(S,K),Y}function P(S){if(S.type==="group"&&S.break||S.type==="line"&&S.hard||S.type==="break-parent")return!0}function M(S){return R(S,P,!1)}function T(S){if(S.length>0){let H=h(S);!H.expandedStates&&!H.break&&(H.break="propagated")}return null}function N(S){let H=new Set,I=[];function Y(K){if(K.type==="break-parent"&&T(I),K.type==="group"){if(I.push(K),H.has(K))return!1;H.add(K)}}function X(K){K.type==="group"&&I.pop().break&&T(I)}w(S,Y,X,!0)}function j(S){return S.type==="line"&&!S.hard?S.soft?"":" ":S.type==="if-break"?S.flatContents||"":S}function re(S){return k(S,j)}var ne=(S,H)=>S&&S.type==="line"&&S.hard&&H&&H.type==="break-parent";function $(S){if(!S)return S;if(p(S)||S.type==="fill"){let H=d(S);for(;H.length>1&&ne(...H.slice(-2));)H.length-=2;if(H.length>0){let I=$(h(H));H[H.length-1]=I}return Array.isArray(S)?H:Object.assign(Object.assign({},S),{},{parts:H})}switch(S.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let H=$(S.contents);return Object.assign(Object.assign({},S),{},{contents:H})}case"if-break":{let H=$(S.breakContents),I=$(S.flatContents);return Object.assign(Object.assign({},S),{},{breakContents:H,flatContents:I})}}return S}function J(S){return $(oe(S))}function ee(S){switch(S.type){case"fill":if(S.parts.every(I=>I===""))return"";break;case"group":if(!S.contents&&!S.id&&!S.break&&!S.expandedStates)return"";if(S.contents.type==="group"&&S.contents.id===S.id&&S.contents.break===S.break&&S.contents.expandedStates===S.expandedStates)return S.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!S.contents)return"";break;case"if-break":if(!S.flatContents&&!S.breakContents)return"";break}if(!p(S))return S;let H=[];for(let I of d(S)){if(!I)continue;let[Y,...X]=p(I)?d(I):[I];typeof Y=="string"&&typeof h(H)=="string"?H[H.length-1]+=Y:H.push(Y),H.push(...X)}return H.length===0?"":H.length===1?H[0]:Array.isArray(S)?H:Object.assign(Object.assign({},S),{},{parts:H})}function oe(S){return k(S,H=>ee(H))}function ie(S){let H=[],I=S.filter(Boolean);for(;I.length>0;){let Y=I.shift();if(Y){if(p(Y)){I.unshift(...d(Y));continue}if(H.length>0&&typeof h(H)=="string"&&typeof Y=="string"){H[H.length-1]+=Y;continue}H.push(Y)}}return H}function se(S){return k(S,H=>Array.isArray(H)?ie(H):H.parts?Object.assign(Object.assign({},H),{},{parts:ie(H.parts)}):H)}function z(S){return k(S,H=>typeof H=="string"&&H.includes(`
|
|
31
|
+
`)?B(H):H)}function B(S){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C;return x(H,S.split(`
|
|
32
|
+
`)).parts}function O(S){if(S.type==="line")return!0}function W(S){return R(S,O,!1)}A.exports={isConcat:p,getDocParts:d,willBreak:M,traverseDoc:w,findInDoc:R,mapDoc:k,propagateBreaks:N,removeLines:re,stripTrailingHardline:J,normalizeParts:ie,normalizeDoc:se,cleanDoc:oe,replaceTextEndOfLine:B,replaceEndOfLine:z,canBreak:W}}}),xu=Oe({"src/document/doc-printer.js"(m,A){b();var{convertEndOfLineToChars:h}=$n(),C=Rn(),x=Pa(),{fill:p,cursor:d,indent:D}=nn(),{isConcat:w,getDocParts:k}=ta(),R,P=1,M=2;function T(){return{value:"",length:0,queue:[]}}function N(ee,oe){return re(ee,{type:"indent"},oe)}function j(ee,oe,ie){return oe===Number.NEGATIVE_INFINITY?ee.root||T():oe<0?re(ee,{type:"dedent"},ie):oe?oe.type==="root"?Object.assign(Object.assign({},ee),{},{root:ee}):re(ee,{type:typeof oe=="string"?"stringAlign":"numberAlign",n:oe},ie):ee}function re(ee,oe,ie){let se=oe.type==="dedent"?ee.queue.slice(0,-1):[...ee.queue,oe],z="",B=0,O=0,W=0;for(let ce of se)switch(ce.type){case"indent":I(),ie.useTabs?S(1):H(ie.tabWidth);break;case"stringAlign":I(),z+=ce.n,B+=ce.n.length;break;case"numberAlign":O+=1,W+=ce.n;break;default:throw new Error("Unexpected type '".concat(ce.type,"'"))}return X(),Object.assign(Object.assign({},ee),{},{value:z,length:B,queue:se});function S(ce){z+=" ".repeat(ce),B+=ie.tabWidth*ce}function H(ce){z+=" ".repeat(ce),B+=ce}function I(){ie.useTabs?Y():X()}function Y(){O>0&&S(O),K()}function X(){W>0&&H(W),K()}function K(){O=0,W=0}}function ne(ee){if(ee.length===0)return 0;let oe=0;for(;ee.length>0&&typeof C(ee)=="string"&&/^[\t ]*$/.test(C(ee));)oe+=ee.pop().length;if(ee.length>0&&typeof C(ee)=="string"){let ie=C(ee).replace(/[\t ]*$/,"");oe+=C(ee).length-ie.length,ee[ee.length-1]=ie}return oe}function $(ee,oe,ie,se,z,B){let O=oe.length,W=[ee],S=[];for(;ie>=0;){if(W.length===0){if(O===0)return!0;W.push(oe[O-1]),O--;continue}let[H,I,Y]=W.pop();if(typeof Y=="string")S.push(Y),ie-=x(Y);else if(w(Y)){let X=k(Y);for(let K=X.length-1;K>=0;K--)W.push([H,I,X[K]])}else switch(Y.type){case"indent":W.push([N(H,se),I,Y.contents]);break;case"align":W.push([j(H,Y.n,se),I,Y.contents]);break;case"trim":ie+=ne(S);break;case"group":{if(B&&Y.break)return!1;let X=Y.break?P:I;W.push([H,X,Y.expandedStates&&X===P?C(Y.expandedStates):Y.contents]),Y.id&&(R[Y.id]=X);break}case"fill":for(let X=Y.parts.length-1;X>=0;X--)W.push([H,I,Y.parts[X]]);break;case"if-break":case"indent-if-break":{let X=Y.groupId?R[Y.groupId]:I;if(X===P){let K=Y.type==="if-break"?Y.breakContents:Y.negate?Y.contents:D(Y.contents);K&&W.push([H,I,K])}if(X===M){let K=Y.type==="if-break"?Y.flatContents:Y.negate?D(Y.contents):Y.contents;K&&W.push([H,I,K])}break}case"line":switch(I){case M:if(!Y.hard){Y.soft||(S.push(" "),ie-=1);break}return!0;case P:return!0}break;case"line-suffix":z=!0;break;case"line-suffix-boundary":if(z)return!1;break;case"label":W.push([H,I,Y.contents]);break}}return!1}function J(ee,oe){R={};let ie=oe.printWidth,se=h(oe.endOfLine),z=0,B=[[T(),P,ee]],O=[],W=!1,S=[];for(;B.length>0;){let[I,Y,X]=B.pop();if(typeof X=="string"){let K=se!==`
|
|
33
|
+
`?X.replace(/\n/g,se):X;O.push(K),z+=x(K)}else if(w(X)){let K=k(X);for(let ce=K.length-1;ce>=0;ce--)B.push([I,Y,K[ce]])}else switch(X.type){case"cursor":O.push(d.placeholder);break;case"indent":B.push([N(I,oe),Y,X.contents]);break;case"align":B.push([j(I,X.n,oe),Y,X.contents]);break;case"trim":z-=ne(O);break;case"group":switch(Y){case M:if(!W){B.push([I,X.break?P:M,X.contents]);break}case P:{W=!1;let K=[I,M,X.contents],ce=ie-z,we=S.length>0;if(!X.break&&$(K,B,ce,oe,we))B.push(K);else if(X.expandedStates){let ye=C(X.expandedStates);if(X.break){B.push([I,P,ye]);break}else for(let Be=1;Be<X.expandedStates.length+1;Be++)if(Be>=X.expandedStates.length){B.push([I,P,ye]);break}else{let ke=X.expandedStates[Be],Ee=[I,M,ke];if($(Ee,B,ce,oe,we)){B.push(Ee);break}}}else B.push([I,P,X.contents]);break}}X.id&&(R[X.id]=C(B)[1]);break;case"fill":{let K=ie-z,{parts:ce}=X;if(ce.length===0)break;let[we,ye]=ce,Be=[I,M,we],ke=[I,P,we],Ee=$(Be,[],K,oe,S.length>0,!0);if(ce.length===1){Ee?B.push(Be):B.push(ke);break}let qe=[I,M,ye],Se=[I,P,ye];if(ce.length===2){Ee?B.push(qe,Be):B.push(Se,ke);break}ce.splice(0,2);let Te=[I,Y,p(ce)],Ge=ce[0];$([I,M,[we,ye,Ge]],[],K,oe,S.length>0,!0)?B.push(Te,qe,Be):Ee?B.push(Te,Se,Be):B.push(Te,Se,ke);break}case"if-break":case"indent-if-break":{let K=X.groupId?R[X.groupId]:Y;if(K===P){let ce=X.type==="if-break"?X.breakContents:X.negate?X.contents:D(X.contents);ce&&B.push([I,Y,ce])}if(K===M){let ce=X.type==="if-break"?X.flatContents:X.negate?D(X.contents):X.contents;ce&&B.push([I,Y,ce])}break}case"line-suffix":S.push([I,Y,X.contents]);break;case"line-suffix-boundary":S.length>0&&B.push([I,Y,{type:"line",hard:!0}]);break;case"line":switch(Y){case M:if(X.hard)W=!0;else{X.soft||(O.push(" "),z+=1);break}case P:if(S.length>0){B.push([I,Y,X],...S.reverse()),S=[];break}X.literal?I.root?(O.push(se,I.root.value),z=I.root.length):(O.push(se),z=0):(z-=ne(O),O.push(se+I.value),z=I.length);break}break;case"label":B.push([I,Y,X.contents]);break}B.length===0&&S.length>0&&(B.push(...S.reverse()),S=[])}let H=O.indexOf(d.placeholder);if(H!==-1){let I=O.indexOf(d.placeholder,H+1),Y=O.slice(0,H).join(""),X=O.slice(H+1,I).join(""),K=O.slice(I+1).join("");return{formatted:Y+X+K,cursorNodeStart:Y.length,cursorNodeText:X}}return{formatted:O.join("")}}A.exports={printDocToString:J}}}),Cu=Oe({"src/document/doc-debug.js"(m,A){b();var{isConcat:h,getDocParts:C}=ta();function x(d){if(!d)return"";if(h(d)){let D=[];for(let w of C(d))if(h(w))D.push(...x(w).parts);else{let k=x(w);k!==""&&D.push(k)}return{type:"concat",parts:D}}return d.type==="if-break"?Object.assign(Object.assign({},d),{},{breakContents:x(d.breakContents),flatContents:x(d.flatContents)}):d.type==="group"?Object.assign(Object.assign({},d),{},{contents:x(d.contents),expandedStates:d.expandedStates&&d.expandedStates.map(x)}):d.type==="fill"?{type:"fill",parts:d.parts.map(x)}:d.contents?Object.assign(Object.assign({},d),{},{contents:x(d.contents)}):d}function p(d){let D=Object.create(null),w=new Set;return k(x(d));function k(P,M,T){if(typeof P=="string")return JSON.stringify(P);if(h(P)){let N=C(P).map(k).filter(Boolean);return N.length===1?N[0]:"[".concat(N.join(", "),"]")}if(P.type==="line"){let N=Array.isArray(T)&&T[M+1]&&T[M+1].type==="break-parent";return P.literal?N?"literalline":"literallineWithoutBreakParent":P.hard?N?"hardline":"hardlineWithoutBreakParent":P.soft?"softline":"line"}if(P.type==="break-parent")return Array.isArray(T)&&T[M-1]&&T[M-1].type==="line"&&T[M-1].hard?void 0:"breakParent";if(P.type==="trim")return"trim";if(P.type==="indent")return"indent("+k(P.contents)+")";if(P.type==="align")return P.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+k(P.contents)+")":P.n<0?"dedent("+k(P.contents)+")":P.n.type==="root"?"markAsRoot("+k(P.contents)+")":"align("+JSON.stringify(P.n)+", "+k(P.contents)+")";if(P.type==="if-break")return"ifBreak("+k(P.breakContents)+(P.flatContents?", "+k(P.flatContents):"")+(P.groupId?(P.flatContents?"":', ""')+", { groupId: ".concat(R(P.groupId)," }"):"")+")";if(P.type==="indent-if-break"){let N=[];P.negate&&N.push("negate: true"),P.groupId&&N.push("groupId: ".concat(R(P.groupId)));let j=N.length>0?", { ".concat(N.join(", ")," }"):"";return"indentIfBreak(".concat(k(P.contents)).concat(j,")")}if(P.type==="group"){let N=[];P.break&&P.break!=="propagated"&&N.push("shouldBreak: true"),P.id&&N.push("id: ".concat(R(P.id)));let j=N.length>0?", { ".concat(N.join(", ")," }"):"";return P.expandedStates?"conditionalGroup([".concat(P.expandedStates.map(re=>k(re)).join(","),"]").concat(j,")"):"group(".concat(k(P.contents)).concat(j,")")}if(P.type==="fill")return"fill([".concat(P.parts.map(N=>k(N)).join(", "),"])");if(P.type==="line-suffix")return"lineSuffix("+k(P.contents)+")";if(P.type==="line-suffix-boundary")return"lineSuffixBoundary";if(P.type==="label")return"label(".concat(JSON.stringify(P.label),", ").concat(k(P.contents),")");throw new Error("Unknown doc type "+P.type)}function R(P){if(typeof P!="symbol")return JSON.stringify(String(P));if(P in D)return D[P];let M=String(P).slice(7,-1)||"symbol";for(let T=0;;T++){let N=M+(T>0?" #".concat(T):"");if(!w.has(N))return w.add(N),D[P]="Symbol.for(".concat(JSON.stringify(N),")")}}}A.exports={printDocToDebug:p}}}),bn=Oe({"src/document/index.js"(m,A){b(),A.exports={builders:nn(),printer:xu(),utils:ta(),debug:Cu()}}}),Eu={};_i(Eu,{default:()=>wu});function wu(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Vo=Tn({"node_modules/escape-string-regexp/index.js"(){b()}}),Dl=Oe({"node_modules/semver/internal/debug.js"(m,A){b();var h=typeof xi=="object"&&xi.env&&xi.env.NODE_DEBUG&&/\bsemver\b/i.test(xi.env.NODE_DEBUG)?function(){for(var C=arguments.length,x=new Array(C),p=0;p<C;p++)x[p]=arguments[p];return console.error("SEMVER",...x)}:()=>{};A.exports=h}}),Au=Oe({"node_modules/semver/internal/constants.js"(m,A){b();var h="2.0.0",C=256,x=Number.MAX_SAFE_INTEGER||9007199254740991,p=16;A.exports={SEMVER_SPEC_VERSION:h,MAX_LENGTH:C,MAX_SAFE_INTEGER:x,MAX_SAFE_COMPONENT_LENGTH:p}}}),Oa=Oe({"node_modules/semver/internal/re.js"(m,A){b();var{MAX_SAFE_COMPONENT_LENGTH:h}=Au(),C=Dl();m=A.exports={};var x=m.re=[],p=m.src=[],d=m.t={},D=0,w=(k,R,P)=>{let M=D++;C(k,M,R),d[k]=M,p[M]=R,x[M]=new RegExp(R,P?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*"),w("NUMERICIDENTIFIERLOOSE","[0-9]+"),w("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),w("MAINVERSION","(".concat(p[d.NUMERICIDENTIFIER],")\\.(").concat(p[d.NUMERICIDENTIFIER],")\\.(").concat(p[d.NUMERICIDENTIFIER],")")),w("MAINVERSIONLOOSE","(".concat(p[d.NUMERICIDENTIFIERLOOSE],")\\.(").concat(p[d.NUMERICIDENTIFIERLOOSE],")\\.(").concat(p[d.NUMERICIDENTIFIERLOOSE],")")),w("PRERELEASEIDENTIFIER","(?:".concat(p[d.NUMERICIDENTIFIER],"|").concat(p[d.NONNUMERICIDENTIFIER],")")),w("PRERELEASEIDENTIFIERLOOSE","(?:".concat(p[d.NUMERICIDENTIFIERLOOSE],"|").concat(p[d.NONNUMERICIDENTIFIER],")")),w("PRERELEASE","(?:-(".concat(p[d.PRERELEASEIDENTIFIER],"(?:\\.").concat(p[d.PRERELEASEIDENTIFIER],")*))")),w("PRERELEASELOOSE","(?:-?(".concat(p[d.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(p[d.PRERELEASEIDENTIFIERLOOSE],")*))")),w("BUILDIDENTIFIER","[0-9A-Za-z-]+"),w("BUILD","(?:\\+(".concat(p[d.BUILDIDENTIFIER],"(?:\\.").concat(p[d.BUILDIDENTIFIER],")*))")),w("FULLPLAIN","v?".concat(p[d.MAINVERSION]).concat(p[d.PRERELEASE],"?").concat(p[d.BUILD],"?")),w("FULL","^".concat(p[d.FULLPLAIN],"$")),w("LOOSEPLAIN","[v=\\s]*".concat(p[d.MAINVERSIONLOOSE]).concat(p[d.PRERELEASELOOSE],"?").concat(p[d.BUILD],"?")),w("LOOSE","^".concat(p[d.LOOSEPLAIN],"$")),w("GTLT","((?:<|>)?=?)"),w("XRANGEIDENTIFIERLOOSE","".concat(p[d.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),w("XRANGEIDENTIFIER","".concat(p[d.NUMERICIDENTIFIER],"|x|X|\\*")),w("XRANGEPLAIN","[v=\\s]*(".concat(p[d.XRANGEIDENTIFIER],")(?:\\.(").concat(p[d.XRANGEIDENTIFIER],")(?:\\.(").concat(p[d.XRANGEIDENTIFIER],")(?:").concat(p[d.PRERELEASE],")?").concat(p[d.BUILD],"?)?)?")),w("XRANGEPLAINLOOSE","[v=\\s]*(".concat(p[d.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(p[d.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(p[d.XRANGEIDENTIFIERLOOSE],")(?:").concat(p[d.PRERELEASELOOSE],")?").concat(p[d.BUILD],"?)?)?")),w("XRANGE","^".concat(p[d.GTLT],"\\s*").concat(p[d.XRANGEPLAIN],"$")),w("XRANGELOOSE","^".concat(p[d.GTLT],"\\s*").concat(p[d.XRANGEPLAINLOOSE],"$")),w("COERCE","(^|[^\\d])(\\d{1,".concat(h,"})(?:\\.(\\d{1,").concat(h,"}))?(?:\\.(\\d{1,").concat(h,"}))?(?:$|[^\\d])")),w("COERCERTL",p[d.COERCE],!0),w("LONETILDE","(?:~>?)"),w("TILDETRIM","(\\s*)".concat(p[d.LONETILDE],"\\s+"),!0),m.tildeTrimReplace="$1~",w("TILDE","^".concat(p[d.LONETILDE]).concat(p[d.XRANGEPLAIN],"$")),w("TILDELOOSE","^".concat(p[d.LONETILDE]).concat(p[d.XRANGEPLAINLOOSE],"$")),w("LONECARET","(?:\\^)"),w("CARETTRIM","(\\s*)".concat(p[d.LONECARET],"\\s+"),!0),m.caretTrimReplace="$1^",w("CARET","^".concat(p[d.LONECARET]).concat(p[d.XRANGEPLAIN],"$")),w("CARETLOOSE","^".concat(p[d.LONECARET]).concat(p[d.XRANGEPLAINLOOSE],"$")),w("COMPARATORLOOSE","^".concat(p[d.GTLT],"\\s*(").concat(p[d.LOOSEPLAIN],")$|^$")),w("COMPARATOR","^".concat(p[d.GTLT],"\\s*(").concat(p[d.FULLPLAIN],")$|^$")),w("COMPARATORTRIM","(\\s*)".concat(p[d.GTLT],"\\s*(").concat(p[d.LOOSEPLAIN],"|").concat(p[d.XRANGEPLAIN],")"),!0),m.comparatorTrimReplace="$1$2$3",w("HYPHENRANGE","^\\s*(".concat(p[d.XRANGEPLAIN],")\\s+-\\s+(").concat(p[d.XRANGEPLAIN],")\\s*$")),w("HYPHENRANGELOOSE","^\\s*(".concat(p[d.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(p[d.XRANGEPLAINLOOSE],")\\s*$")),w("STAR","(<|>)?=?\\s*\\*"),w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Ls=Oe({"node_modules/semver/internal/parse-options.js"(m,A){b();var h=["includePrerelease","loose","rtl"],C=x=>x?typeof x!="object"?{loose:!0}:h.filter(p=>x[p]).reduce((p,d)=>(p[d]=!0,p),{}):{};A.exports=C}}),ys=Oe({"node_modules/semver/internal/identifiers.js"(m,A){b();var h=/^[0-9]+$/,C=(p,d)=>{let D=h.test(p),w=h.test(d);return D&&w&&(p=+p,d=+d),p===d?0:D&&!w?-1:w&&!D?1:p<d?-1:1},x=(p,d)=>C(d,p);A.exports={compareIdentifiers:C,rcompareIdentifiers:x}}}),cc=Oe({"node_modules/semver/classes/semver.js"(m,A){b();var h=Dl(),{MAX_LENGTH:C,MAX_SAFE_INTEGER:x}=Au(),{re:p,t:d}=Oa(),D=Ls(),{compareIdentifiers:w}=ys(),k=class{constructor(R,P){if(P=D(P),R instanceof k){if(R.loose===!!P.loose&&R.includePrerelease===!!P.includePrerelease)return R;R=R.version}else if(typeof R!="string")throw new TypeError("Invalid Version: ".concat(R));if(R.length>C)throw new TypeError("version is longer than ".concat(C," characters"));h("SemVer",R,P),this.options=P,this.loose=!!P.loose,this.includePrerelease=!!P.includePrerelease;let M=R.trim().match(P.loose?p[d.LOOSE]:p[d.FULL]);if(!M)throw new TypeError("Invalid Version: ".concat(R));if(this.raw=R,this.major=+M[1],this.minor=+M[2],this.patch=+M[3],this.major>x||this.major<0)throw new TypeError("Invalid major version");if(this.minor>x||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>x||this.patch<0)throw new TypeError("Invalid patch version");M[4]?this.prerelease=M[4].split(".").map(T=>{if(/^[0-9]+$/.test(T)){let N=+T;if(N>=0&&N<x)return N}return T}):this.prerelease=[],this.build=M[5]?M[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(R){if(h("SemVer.compare",this.version,this.options,R),!(R instanceof k)){if(typeof R=="string"&&R===this.version)return 0;R=new k(R,this.options)}return R.version===this.version?0:this.compareMain(R)||this.comparePre(R)}compareMain(R){return R instanceof k||(R=new k(R,this.options)),w(this.major,R.major)||w(this.minor,R.minor)||w(this.patch,R.patch)}comparePre(R){if(R instanceof k||(R=new k(R,this.options)),this.prerelease.length&&!R.prerelease.length)return-1;if(!this.prerelease.length&&R.prerelease.length)return 1;if(!this.prerelease.length&&!R.prerelease.length)return 0;let P=0;do{let M=this.prerelease[P],T=R.prerelease[P];if(h("prerelease compare",P,M,T),M===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(M===void 0)return-1;if(M!==T)return w(M,T)}while(++P)}compareBuild(R){R instanceof k||(R=new k(R,this.options));let P=0;do{let M=this.build[P],T=R.build[P];if(h("prerelease compare",P,M,T),M===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(M===void 0)return-1;if(M!==T)return w(M,T)}while(++P)}inc(R,P){switch(R){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",P);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",P);break;case"prepatch":this.prerelease.length=0,this.inc("patch",P),this.inc("pre",P);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",P),this.inc("pre",P);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 M=this.prerelease.length;for(;--M>=0;)typeof this.prerelease[M]=="number"&&(this.prerelease[M]++,M=-2);M===-1&&this.prerelease.push(0)}P&&(w(this.prerelease[0],P)===0?isNaN(this.prerelease[1])&&(this.prerelease=[P,0]):this.prerelease=[P,0]);break;default:throw new Error("invalid increment argument: ".concat(R))}return this.format(),this.raw=this.version,this}};A.exports=k}}),Su=Oe({"node_modules/semver/functions/compare.js"(m,A){b();var h=cc(),C=(x,p,d)=>new h(x,d).compare(new h(p,d));A.exports=C}}),pc=Oe({"node_modules/semver/functions/lt.js"(m,A){b();var h=Su(),C=(x,p,d)=>h(x,p,d)<0;A.exports=C}}),Fu=Oe({"node_modules/semver/functions/gte.js"(m,A){b();var h=Su(),C=(x,p,d)=>h(x,p,d)>=0;A.exports=C}}),bl=Oe({"src/utils/arrayify.js"(m,A){b(),A.exports=(h,C)=>Object.entries(h).map(x=>{let[p,d]=x;return Object.assign({[C]:p},d)})}}),fc=Oe({"node_modules/outdent/lib/index.js"(m,A){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function h(){for(var $=[],J=0;J<arguments.length;J++)$[J]=arguments[J]}function C(){return typeof WeakMap<"u"?new WeakMap:x()}function x(){return{add:h,delete:h,get:h,set:h,has:function($){return!1}}}var p=Object.prototype.hasOwnProperty,d=function($,J){return p.call($,J)};function D($,J){for(var ee in J)d(J,ee)&&($[ee]=J[ee]);return $}var w=/^[ \t]*(?:\r\n|\r|\n)/,k=/(?:\r\n|\r|\n)[ \t]*$/,R=/^(?:[\r\n]|$)/,P=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,M=/^[ \t]*[\r\n][ \t\r\n]*$/;function T($,J,ee){var oe=0,ie=$[0].match(P);ie&&(oe=ie[1].length);var se="(\\r\\n|\\r|\\n).{0,"+oe+"}",z=new RegExp(se,"g");J&&($=$.slice(1));var B=ee.newline,O=ee.trimLeadingNewline,W=ee.trimTrailingNewline,S=typeof B=="string",H=$.length,I=$.map(function(Y,X){return Y=Y.replace(z,"$1"),X===0&&O&&(Y=Y.replace(w,"")),X===H-1&&W&&(Y=Y.replace(k,"")),S&&(Y=Y.replace(/\r\n|\n|\r/g,function(K){return B})),Y});return I}function N($,J){for(var ee="",oe=0,ie=$.length;oe<ie;oe++)ee+=$[oe],oe<ie-1&&(ee+=J[oe]);return ee}function j($){return d($,"raw")&&d($,"length")}function re($){var J=C(),ee=C();function oe(se){for(var z=[],B=1;B<arguments.length;B++)z[B-1]=arguments[B];if(j(se)){var O=se,W=(z[0]===oe||z[0]===ne)&&M.test(O[0])&&R.test(O[1]),S=W?ee:J,H=S.get(O);if(H||(H=T(O,W,$),S.set(O,H)),z.length===0)return H[0];var I=N(H,W?z.slice(1):z);return I}else return re(D(D({},$),se||{}))}var ie=D(oe,{string:function(se){return T([se],!1,$)[0]}});return ie}var ne=re({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=ne,m.default=ne,typeof A<"u")try{A.exports=ne,Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=ne,ne.outdent=ne}catch{}}}),Bo=Oe({"src/main/core-options.js"(m,A){b();var{outdent:h}=fc(),C="Config",x="Editor",p="Format",d="Other",D="Output",w="Global",k="Special",R={cursorOffset:{since:"1.4.0",category:k,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:h(Bt||(Bt=Qr([`
|
|
34
|
+
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
35
|
+
This option cannot be used with --range-start and --range-end.
|
|
36
|
+
`]))),cliCategory:x},endOfLine:{since:"1.15.0",category:w,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(Xt||(Xt=Qr([`
|
|
37
|
+
Maintain existing
|
|
38
|
+
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
39
|
+
`])))}]},filepath:{since:"1.4.0",category:k,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:k,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:d},parser:{since:"0.0.10",category:w,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:P=>typeof P=="string"||typeof P=="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:w,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:P=>typeof P=="string"||typeof P=="object",cliName:"plugin",cliCategory:C},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:w,description:h(sr||(sr=Qr([`
|
|
40
|
+
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
41
|
+
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
42
|
+
Multiple values are accepted.
|
|
43
|
+
`]))),exception:P=>typeof P=="string"||typeof P=="object",cliName:"plugin-search-dir",cliCategory:C},printWidth:{since:"0.0.0",category:w,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:k,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:h(hr||(hr=Qr([`
|
|
44
|
+
Format code ending at a given character offset (exclusive).
|
|
45
|
+
The range will extend forwards to the end of the selected statement.
|
|
46
|
+
This option cannot be used with --cursor-offset.
|
|
47
|
+
`]))),cliCategory:x},rangeStart:{since:"1.4.0",category:k,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:h(Fr||(Fr=Qr([`
|
|
48
|
+
Format code starting at a given character offset.
|
|
49
|
+
The range will extend backwards to the start of the first line containing the selected statement.
|
|
50
|
+
This option cannot be used with --cursor-offset.
|
|
51
|
+
`]))),cliCategory:x},requirePragma:{since:"1.7.0",category:k,type:"boolean",default:!1,description:h(Lr||(Lr=Qr([`
|
|
52
|
+
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
53
|
+
in order for it to be formatted.
|
|
54
|
+
`]))),cliCategory:d},tabWidth:{type:"int",category:w,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:w,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:w,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};A.exports={CATEGORY_CONFIG:C,CATEGORY_EDITOR:x,CATEGORY_FORMAT:p,CATEGORY_OTHER:d,CATEGORY_OUTPUT:D,CATEGORY_GLOBAL:w,CATEGORY_SPECIAL:k,options:R}}}),fo=Oe({"src/main/support.js"(m,A){b();var h={compare:Su(),lt:pc(),gte:Fu()},C=bl(),x=Pe().version,p=Bo().options;function d(){let{plugins:w=[],showUnreleased:k=!1,showDeprecated:R=!1,showInternal:P=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=x.split("-",1)[0],T=w.flatMap($=>$.languages||[]).filter(j),N=C(Object.assign({},...w.map($=>{let{options:J}=$;return J}),p),"name").filter($=>j($)&&re($)).sort(($,J)=>$.name===J.name?0:$.name<J.name?-1:1).map(ne).map($=>{$=Object.assign({},$),Array.isArray($.default)&&($.default=$.default.length===1?$.default[0].value:$.default.filter(j).sort((ee,oe)=>h.compare(oe.since,ee.since))[0].value),Array.isArray($.choices)&&($.choices=$.choices.filter(ee=>j(ee)&&re(ee)),$.name==="parser"&&D($,T,w));let J=Object.fromEntries(w.filter(ee=>ee.defaultOptions&&ee.defaultOptions[$.name]!==void 0).map(ee=>[ee.name,ee.defaultOptions[$.name]]));return Object.assign(Object.assign({},$),{},{pluginDefaults:J})});return{languages:T,options:N};function j($){return k||!("since"in $)||$.since&&h.gte(M,$.since)}function re($){return R||!("deprecated"in $)||$.deprecated&&h.lt(M,$.deprecated)}function ne($){return P?$:Vr($,ot)}}function D(w,k,R){let P=new Set(w.choices.map(M=>M.value));for(let M of k)if(M.parsers){for(let T of M.parsers)if(!P.has(T)){P.add(T);let N=R.find(re=>re.parsers&&re.parsers[T]),j=M.name;N&&N.name&&(j+=" (plugin: ".concat(N.name,")")),w.choices.push({value:T,description:j})}}}A.exports={getSupportInfo:d}}}),Gi=Oe({"src/utils/is-non-empty-array.js"(m,A){b();function h(C){return Array.isArray(C)&&C.length>0}A.exports=h}}),oo=Oe({"src/utils/text/skip.js"(m,A){b();function h(D){return(w,k,R)=>{let P=R&&R.backwards;if(k===!1)return!1;let{length:M}=w,T=k;for(;T>=0&&T<M;){let N=w.charAt(T);if(D instanceof RegExp){if(!D.test(N))return T}else if(!D.includes(N))return T;P?T--:T++}return T===-1||T===M?T:!1}}var C=h(/\s/),x=h(" "),p=h(",; "),d=h(/[^\n\r]/);A.exports={skipWhitespace:C,skipSpaces:x,skipToLineEnd:p,skipEverythingButNewLine:d}}}),_o=Oe({"src/utils/text/skip-inline-comment.js"(m,A){b();function h(C,x){if(x===!1)return!1;if(C.charAt(x)==="/"&&C.charAt(x+1)==="*"){for(let p=x+2;p<C.length;++p)if(C.charAt(p)==="*"&&C.charAt(p+1)==="/")return p+2}return x}A.exports=h}}),vs=Oe({"src/utils/text/skip-trailing-comment.js"(m,A){b();var{skipEverythingButNewLine:h}=oo();function C(x,p){return p===!1?!1:x.charAt(p)==="/"&&x.charAt(p+1)==="/"?h(x,p):p}A.exports=C}}),ja=Oe({"src/utils/text/skip-newline.js"(m,A){b();function h(C,x,p){let d=p&&p.backwards;if(x===!1)return!1;let D=C.charAt(x);if(d){if(C.charAt(x-1)==="\r"&&D===`
|
|
55
|
+
`)return x-2;if(D===`
|
|
56
|
+
`||D==="\r"||D==="\u2028"||D==="\u2029")return x-1}else{if(D==="\r"&&C.charAt(x+1)===`
|
|
57
|
+
`)return x+2;if(D===`
|
|
58
|
+
`||D==="\r"||D==="\u2028"||D==="\u2029")return x+1}return x}A.exports=h}}),ra=Oe({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,A){b();var h=_o(),C=ja(),x=vs(),{skipSpaces:p}=oo();function d(D,w){let k=null,R=w;for(;R!==k;)k=R,R=p(D,R),R=h(D,R),R=x(D,R),R=C(D,R);return R}A.exports=d}}),jn=Oe({"src/common/util.js"(m,A){b();var{default:h}=(Vo(),yn(Eu)),C=Rn(),{getSupportInfo:x}=fo(),p=Gi(),d=Pa(),{skipWhitespace:D,skipSpaces:w,skipToLineEnd:k,skipEverythingButNewLine:R}=oo(),P=_o(),M=vs(),T=ja(),N=ra(),j=Se=>Se[Se.length-2];function re(Se){return(Te,Ge,Qe)=>{let Xe=Qe&&Qe.backwards;if(Ge===!1)return!1;let{length:At}=Te,Fe=Ge;for(;Fe>=0&&Fe<At;){let Me=Te.charAt(Fe);if(Se instanceof RegExp){if(!Se.test(Me))return Fe}else if(!Se.includes(Me))return Fe;Xe?Fe--:Fe++}return Fe===-1||Fe===At?Fe:!1}}function ne(Se,Te){let Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qe=w(Se,Ge.backwards?Te-1:Te,Ge),Xe=T(Se,Qe,Ge);return Qe!==Xe}function $(Se,Te,Ge){for(let Qe=Te;Qe<Ge;++Qe)if(Se.charAt(Qe)===`
|
|
59
|
+
`)return!0;return!1}function J(Se,Te,Ge){let Qe=Ge(Te)-1;Qe=w(Se,Qe,{backwards:!0}),Qe=T(Se,Qe,{backwards:!0}),Qe=w(Se,Qe,{backwards:!0});let Xe=T(Se,Qe,{backwards:!0});return Qe!==Xe}function ee(Se,Te){let Ge=null,Qe=Te;for(;Qe!==Ge;)Ge=Qe,Qe=k(Se,Qe),Qe=P(Se,Qe),Qe=w(Se,Qe);return Qe=M(Se,Qe),Qe=T(Se,Qe),Qe!==!1&&ne(Se,Qe)}function oe(Se,Te,Ge){return ee(Se,Ge(Te))}function ie(Se,Te,Ge){return N(Se,Ge(Te))}function se(Se,Te,Ge){return Se.charAt(ie(Se,Te,Ge))}function z(Se,Te){let Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return w(Se,Ge.backwards?Te-1:Te,Ge)!==Te}function B(Se,Te){let Ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Qe=0;for(let Xe=Ge;Xe<Se.length;++Xe)Se[Xe]===" "?Qe=Qe+Te-Qe%Te:Qe++;return Qe}function O(Se,Te){let Ge=Se.lastIndexOf(`
|
|
60
|
+
`);return Ge===-1?0:B(Se.slice(Ge+1).match(/^[\t ]*/)[0],Te)}function W(Se,Te){let Ge={quote:'"',regex:/"/g,escaped:"""},Qe={quote:"'",regex:/'/g,escaped:"'"},Xe=Te==="'"?Qe:Ge,At=Xe===Qe?Ge:Qe,Fe=Xe;if(Se.includes(Xe.quote)||Se.includes(At.quote)){let Me=(Se.match(Xe.regex)||[]).length,Dt=(Se.match(At.regex)||[]).length;Fe=Me>Dt?At:Xe}return Fe}function S(Se,Te){let Ge=Se.slice(1,-1),Qe=Te.parser==="json"||Te.parser==="json5"&&Te.quoteProps==="preserve"&&!Te.singleQuote?'"':Te.__isInHtmlAttribute?"'":W(Ge,Te.singleQuote?"'":'"').quote;return H(Ge,Qe,!(Te.parser==="css"||Te.parser==="less"||Te.parser==="scss"||Te.__embeddedInHtml))}function H(Se,Te,Ge){let Qe=Te==='"'?"'":'"',Xe=/\\(.)|(["'])/gs,At=Se.replace(Xe,(Fe,Me,Dt)=>Me===Qe?Me:Dt===Te?"\\"+Dt:Dt||(Ge&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Me)?Me:"\\"+Me));return Te+At+Te}function I(Se){return Se.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function Y(Se,Te){let Ge=Se.match(new RegExp("(".concat(h(Te),")+"),"g"));return Ge===null?0:Ge.reduce((Qe,Xe)=>Math.max(Qe,Xe.length/Te.length),0)}function X(Se,Te){let Ge=Se.match(new RegExp("(".concat(h(Te),")+"),"g"));if(Ge===null)return 0;let Qe=new Map,Xe=0;for(let At of Ge){let Fe=At.length/Te.length;Qe.set(Fe,!0),Fe>Xe&&(Xe=Fe)}for(let At=1;At<Xe;At++)if(!Qe.get(At))return At;return Xe+1}function K(Se,Te){(Se.comments||(Se.comments=[])).push(Te),Te.printed=!1,Te.nodeDescription=qe(Se)}function ce(Se,Te){Te.leading=!0,Te.trailing=!1,K(Se,Te)}function we(Se,Te,Ge){Te.leading=!1,Te.trailing=!1,Ge&&(Te.marker=Ge),K(Se,Te)}function ye(Se,Te){Te.leading=!1,Te.trailing=!0,K(Se,Te)}function Be(Se,Te){let{languages:Ge}=x({plugins:Te.plugins}),Qe=Ge.find(Xe=>{let{name:At}=Xe;return At.toLowerCase()===Se})||Ge.find(Xe=>{let{aliases:At}=Xe;return Array.isArray(At)&&At.includes(Se)})||Ge.find(Xe=>{let{extensions:At}=Xe;return Array.isArray(At)&&At.includes(".".concat(Se))});return Qe&&Qe.parsers[0]}function ke(Se){return Se&&Se.type==="front-matter"}function Ee(Se){let Te=new WeakMap;return function(Ge){return Te.has(Ge)||Te.set(Ge,Symbol(Se)),Te.get(Ge)}}function qe(Se){let Te=Se.type||Se.kind||"(unknown type)",Ge=String(Se.name||Se.id&&(typeof Se.id=="object"?Se.id.name:Se.id)||Se.key&&(typeof Se.key=="object"?Se.key.name:Se.key)||Se.value&&(typeof Se.value=="object"?"":String(Se.value))||Se.operator||"");return Ge.length>20&&(Ge=Ge.slice(0,19)+"\u2026"),Te+(Ge?" "+Ge:"")}A.exports={inferParserByLanguage:Be,getStringWidth:d,getMaxContinuousCount:Y,getMinNotPresentContinuousCount:X,getPenultimate:j,getLast:C,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:N,getNextNonSpaceNonCommentCharacterIndex:ie,getNextNonSpaceNonCommentCharacter:se,skip:re,skipWhitespace:D,skipSpaces:w,skipToLineEnd:k,skipEverythingButNewLine:R,skipInlineComment:P,skipTrailingComment:M,skipNewline:T,isNextLineEmptyAfterIndex:ee,isNextLineEmpty:oe,isPreviousLineEmpty:J,hasNewline:ne,hasNewlineInRange:$,hasSpaces:z,getAlignmentSize:B,getIndentSize:O,getPreferredQuote:W,printString:S,printNumber:I,makeString:H,addLeadingComment:ce,addDanglingComment:we,addTrailingComment:ye,isFrontMatterNode:ke,isNonEmptyArray:p,createGroupIdMapper:Ee}}}),La={};_i(La,{basename:()=>Do,default:()=>ku,delimiter:()=>Ra,dirname:()=>ia,extname:()=>Ms,isAbsolute:()=>Is,join:()=>Ma,normalize:()=>Ia,relative:()=>Po,resolve:()=>na,sep:()=>qo});function so(m,A){for(var h=0,C=m.length-1;C>=0;C--){var x=m[C];x==="."?m.splice(C,1):x===".."?(m.splice(C,1),h++):h&&(m.splice(C,1),h--)}if(A)for(;h--;h)m.unshift("..");return m}function na(){for(var m="",A=!1,h=arguments.length-1;h>=-1&&!A;h--){var C=h>=0?arguments[h]:"/";if(typeof C!="string")throw new TypeError("Arguments to path.resolve must be strings");!C||(m=C+"/"+m,A=C.charAt(0)==="/")}return m=so(Rs(m.split("/"),function(x){return!!x}),!A).join("/"),(A?"/":"")+m||"."}function Ia(m){var A=Is(m),h=za(m,-1)==="/";return m=so(Rs(m.split("/"),function(C){return!!C}),!A).join("/"),!m&&!A&&(m="."),m&&h&&(m+="/"),(A?"/":"")+m}function Is(m){return m.charAt(0)==="/"}function Ma(){var m=Array.prototype.slice.call(arguments,0);return Ia(Rs(m,function(A,h){if(typeof A!="string")throw new TypeError("Arguments to path.join must be strings");return A}).join("/"))}function Po(m,A){m=na(m).substr(1),A=na(A).substr(1);function h(k){for(var R=0;R<k.length&&k[R]==="";R++);for(var P=k.length-1;P>=0&&k[P]==="";P--);return R>P?[]:k.slice(R,P-R+1)}for(var C=h(m.split("/")),x=h(A.split("/")),p=Math.min(C.length,x.length),d=p,D=0;D<p;D++)if(C[D]!==x[D]){d=D;break}for(var w=[],D=d;D<C.length;D++)w.push("..");return w=w.concat(x.slice(d)),w.join("/")}function ia(m){var A=oa(m),h=A[0],C=A[1];return!h&&!C?".":(C&&(C=C.substr(0,C.length-1)),h+C)}function Do(m,A){var h=oa(m)[2];return A&&h.substr(-1*A.length)===A&&(h=h.substr(0,h.length-A.length)),h}function Ms(m){return oa(m)[3]}function Rs(m,A){if(m.filter)return m.filter(A);for(var h=[],C=0;C<m.length;C++)A(m[C],C,m)&&h.push(m[C]);return h}var Zo,oa,qo,Ra,ku,za,zs=Tn({"node-modules-polyfills:path"(){b(),Zo=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,oa=function(m){return Zo.exec(m).slice(1)},qo="/",Ra=":",ku={extname:Ms,basename:Do,dirname:ia,sep:qo,delimiter:Ra,relative:Po,join:Ma,isAbsolute:Is,normalize:Ia,resolve:na},za="ab".substr(-1)==="b"?function(m,A,h){return m.substr(A,h)}:function(m,A,h){return A<0&&(A=m.length+A),m.substr(A,h)}}}),dc=Oe({"node-modules-polyfills-commonjs:path"(m,A){b();var h=(zs(),yn(La));if(h&&h.default){A.exports=h.default;for(let C in h)A.exports[C]=h[C]}else h&&(A.exports=h)}}),Ds=Oe({"src/common/errors.js"(m,A){b();var h=class extends Error{},C=class extends Error{},x=class extends Error{},p=class extends Error{};A.exports={ConfigError:h,DebugError:C,UndefinedParserError:x,ArgExpansionBailout:p}}}),bo={};_i(bo,{__assign:()=>es,__asyncDelegator:()=>$a,__asyncGenerator:()=>vc,__asyncValues:()=>Ua,__await:()=>xo,__awaiter:()=>Xi,__classPrivateFieldGet:()=>aa,__classPrivateFieldSet:()=>Pu,__createBinding:()=>mc,__decorate:()=>Ha,__exportStar:()=>yc,__extends:()=>hc,__generator:()=>gc,__importDefault:()=>_u,__importStar:()=>Bu,__makeTemplateObject:()=>bs,__metadata:()=>sa,__param:()=>Wa,__read:()=>Bi,__rest:()=>Tu,__spread:()=>Nu,__spreadArrays:()=>xl,__values:()=>Oo});function hc(m,A){Yi(m,A);function h(){this.constructor=m}m.prototype=A===null?Object.create(A):(h.prototype=A.prototype,new h)}function Tu(m,A){var h={};for(var C in m)Object.prototype.hasOwnProperty.call(m,C)&&A.indexOf(C)<0&&(h[C]=m[C]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,C=Object.getOwnPropertySymbols(m);x<C.length;x++)A.indexOf(C[x])<0&&Object.prototype.propertyIsEnumerable.call(m,C[x])&&(h[C[x]]=m[C[x]]);return h}function Ha(m,A,h,C){var x=arguments.length,p=x<3?A:C===null?C=Object.getOwnPropertyDescriptor(A,h):C,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(m,A,h,C);else for(var D=m.length-1;D>=0;D--)(d=m[D])&&(p=(x<3?d(p):x>3?d(A,h,p):d(A,h))||p);return x>3&&p&&Object.defineProperty(A,h,p),p}function Wa(m,A){return function(h,C){A(h,C,m)}}function sa(m,A){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,A)}function Xi(m,A,h,C){function x(p){return p instanceof h?p:new h(function(d){d(p)})}return new(h||(h=Promise))(function(p,d){function D(R){try{k(C.next(R))}catch(P){d(P)}}function w(R){try{k(C.throw(R))}catch(P){d(P)}}function k(R){R.done?p(R.value):x(R.value).then(D,w)}k((C=C.apply(m,A||[])).next())})}function gc(m,A){var h={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},C,x,p,d;return d={next:D(0),throw:D(1),return:D(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function D(k){return function(R){return w([k,R])}}function w(k){if(C)throw new TypeError("Generator is already executing.");for(;h;)try{if(C=1,x&&(p=k[0]&2?x.return:k[0]?x.throw||((p=x.return)&&p.call(x),0):x.next)&&!(p=p.call(x,k[1])).done)return p;switch(x=0,p&&(k=[k[0]&2,p.value]),k[0]){case 0:case 1:p=k;break;case 4:return h.label++,{value:k[1],done:!1};case 5:h.label++,x=k[1],k=[0];continue;case 7:k=h.ops.pop(),h.trys.pop();continue;default:if(p=h.trys,!(p=p.length>0&&p[p.length-1])&&(k[0]===6||k[0]===2)){h=0;continue}if(k[0]===3&&(!p||k[1]>p[0]&&k[1]<p[3])){h.label=k[1];break}if(k[0]===6&&h.label<p[1]){h.label=p[1],p=k;break}if(p&&h.label<p[2]){h.label=p[2],h.ops.push(k);break}p[2]&&h.ops.pop(),h.trys.pop();continue}k=A.call(m,h)}catch(R){k=[6,R],x=0}finally{C=p=0}if(k[0]&5)throw k[1];return{value:k[0]?k[1]:void 0,done:!0}}}function mc(m,A,h,C){C===void 0&&(C=h),m[C]=A[h]}function yc(m,A){for(var h in m)h!=="default"&&!A.hasOwnProperty(h)&&(A[h]=m[h])}function Oo(m){var A=typeof Symbol=="function"&&Symbol.iterator,h=A&&m[A],C=0;if(h)return h.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&C>=m.length&&(m=void 0),{value:m&&m[C++],done:!m}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function Bi(m,A){var h=typeof Symbol=="function"&&m[Symbol.iterator];if(!h)return m;var C=h.call(m),x,p=[],d;try{for(;(A===void 0||A-- >0)&&!(x=C.next()).done;)p.push(x.value)}catch(D){d={error:D}}finally{try{x&&!x.done&&(h=C.return)&&h.call(C)}finally{if(d)throw d.error}}return p}function Nu(){for(var m=[],A=0;A<arguments.length;A++)m=m.concat(Bi(arguments[A]));return m}function xl(){for(var m=0,A=0,h=arguments.length;A<h;A++)m+=arguments[A].length;for(var C=Array(m),x=0,A=0;A<h;A++)for(var p=arguments[A],d=0,D=p.length;d<D;d++,x++)C[x]=p[d];return C}function xo(m){return this instanceof xo?(this.v=m,this):new xo(m)}function vc(m,A,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var C=h.apply(m,A||[]),x,p=[];return x={},d("next"),d("throw"),d("return"),x[Symbol.asyncIterator]=function(){return this},x;function d(M){C[M]&&(x[M]=function(T){return new Promise(function(N,j){p.push([M,T,N,j])>1||D(M,T)})})}function D(M,T){try{w(C[M](T))}catch(N){P(p[0][3],N)}}function w(M){M.value instanceof xo?Promise.resolve(M.value.v).then(k,R):P(p[0][2],M)}function k(M){D("next",M)}function R(M){D("throw",M)}function P(M,T){M(T),p.shift(),p.length&&D(p[0][0],p[0][1])}}function $a(m){var A,h;return A={},C("next"),C("throw",function(x){throw x}),C("return"),A[Symbol.iterator]=function(){return this},A;function C(x,p){A[x]=m[x]?function(d){return(h=!h)?{value:xo(m[x](d)),done:x==="return"}:p?p(d):d}:p}}function Ua(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=m[Symbol.asyncIterator],h;return A?A.call(m):(m=typeof Oo=="function"?Oo(m):m[Symbol.iterator](),h={},C("next"),C("throw"),C("return"),h[Symbol.asyncIterator]=function(){return this},h);function C(p){h[p]=m[p]&&function(d){return new Promise(function(D,w){d=m[p](d),x(D,w,d.done,d.value)})}}function x(p,d,D,w){Promise.resolve(w).then(function(k){p({value:k,done:D})},d)}}function bs(m,A){return Object.defineProperty?Object.defineProperty(m,"raw",{value:A}):m.raw=A,m}function Bu(m){if(m&&m.__esModule)return m;var A={};if(m!=null)for(var h in m)Object.hasOwnProperty.call(m,h)&&(A[h]=m[h]);return A.default=m,A}function _u(m){return m&&m.__esModule?m:{default:m}}function aa(m,A){if(!A.has(m))throw new TypeError("attempted to get private field on non-instance");return A.get(m)}function Pu(m,A,h){if(!A.has(m))throw new TypeError("attempted to set private field on non-instance");return A.set(m,h),h}var Yi,es,Mi=Tn({"node_modules/tslib/tslib.es6.js"(){b(),Yi=function(m,A){return Yi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,C){h.__proto__=C}||function(h,C){for(var x in C)C.hasOwnProperty(x)&&(h[x]=C[x])},Yi(m,A)},es=function(){return es=Object.assign||function(m){for(var A,h=1,C=arguments.length;h<C;h++){A=arguments[h];for(var x in A)Object.prototype.hasOwnProperty.call(A,x)&&(m[x]=A[x])}return m},es.apply(this,arguments)}}}),ao=Oe({"node_modules/vnopts/lib/descriptors/api.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:A=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(A)?A:JSON.stringify(A),value(A){if(A===null||typeof A!="object")return JSON.stringify(A);if(Array.isArray(A))return"[".concat(A.map(C=>m.apiDescriptor.value(C)).join(", "),"]");let h=Object.keys(A);return h.length===0?"{}":"{ ".concat(h.map(C=>"".concat(m.apiDescriptor.key(C),": ").concat(m.apiDescriptor.value(A[C]))).join(", ")," }")},pair:A=>{let{key:h,value:C}=A;return m.apiDescriptor.value({[h]:C})}}}}),ts=Oe({"node_modules/vnopts/lib/descriptors/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Mi(),yn(bo));A.__exportStar(ao(),m)}}),jo=Oe({"scripts/build/shims/chalk.cjs"(m,A){b();var h=C=>C;h.grey=h,h.red=h,h.bold=h,h.yellow=h,h.blue=h,h.default=h,A.exports=h}}),Va=Oe({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=jo();m.commonDeprecatedHandler=(h,C,x)=>{let{descriptor:p}=x,d=["".concat(A.default.yellow(typeof h=="string"?p.key(h):p.pair(h))," is deprecated")];return C&&d.push("we now treat it as ".concat(A.default.blue(typeof C=="string"?p.key(C):p.pair(C)))),d.join("; ")+"."}}}),Co=Oe({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Mi(),yn(bo));A.__exportStar(Va(),m)}}),Jo=Oe({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=jo();m.commonInvalidHandler=(h,C,x)=>["Invalid ".concat(A.default.red(x.descriptor.key(h))," value."),"Expected ".concat(A.default.blue(x.schemas[h].expected(x)),","),"but received ".concat(A.default.red(x.descriptor.value(C)),".")].join(" ")}}),Hs=Oe({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Mi(),yn(bo));A.__exportStar(Jo(),m)}}),Dc=Oe({"node_modules/vnopts/node_modules/leven/index.js"(m,A){b();var h=[],C=[];A.exports=function(x,p){if(x===p)return 0;var d=x;x.length>p.length&&(x=p,p=d);var D=x.length,w=p.length;if(D===0)return w;if(w===0)return D;for(;D>0&&x.charCodeAt(~-D)===p.charCodeAt(~-w);)D--,w--;if(D===0)return w;for(var k=0;k<D&&x.charCodeAt(k)===p.charCodeAt(k);)k++;if(D-=k,w-=k,D===0)return w;for(var R,P,M,T,N=0,j=0;N<D;)C[k+N]=x.charCodeAt(k+N),h[N]=++N;for(;j<w;)for(R=p.charCodeAt(k+j),M=j++,P=j,N=0;N<D;N++)T=R===C[k+N]?M:M+1,M=h[N],P=h[N]=M>P?T>P?P+1:T:T>M?M+1:T;return P}}}),qa=Oe({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=jo(),h=Dc();m.levenUnknownHandler=(C,x,p)=>{let{descriptor:d,logger:D,schemas:w}=p,k=["Ignored unknown option ".concat(A.default.yellow(d.pair({key:C,value:x})),".")],R=Object.keys(w).sort().find(P=>h(C,P)<3);R&&k.push("Did you mean ".concat(A.default.blue(d.key(R)),"?")),D.warn(k.join(" "))}}}),Ou=Oe({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Mi(),yn(bo));A.__exportStar(qa(),m)}}),ju=Oe({"node_modules/vnopts/lib/handlers/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Mi(),yn(bo));A.__exportStar(Co(),m),A.__exportStar(Hs(),m),A.__exportStar(Ou(),m)}}),Eo=Oe({"node_modules/vnopts/lib/schema.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function h(p,d){let D=new p(d),w=Object.create(D);for(let k of A)k in d&&(w[k]=x(d[k],D,C.prototype[k].length));return w}m.createSchema=h;var C=class{constructor(p){this.name=p.name}static create(p){return h(this,p)}default(p){}expected(p){return"nothing"}validate(p,d){return!1}deprecated(p,d){return!1}forward(p,d){}redirect(p,d){}overlap(p,d,D){return p}preprocess(p,d){return p}postprocess(p,d){return p}};m.Schema=C;function x(p,d,D){return typeof p=="function"?function(){for(var w=arguments.length,k=new Array(w),R=0;R<w;R++)k[R]=arguments[R];return p(...k.slice(0,D-1),d,...k.slice(D-1))}:()=>p}}}),Lo=Oe({"node_modules/vnopts/lib/schemas/alias.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{constructor(C){super(C),this._sourceName=C.sourceName}expected(C){return C.schemas[this._sourceName].expected(C)}validate(C,x){return x.schemas[this._sourceName].validate(C,x)}redirect(C,x){return this._sourceName}};m.AliasSchema=h}}),ho=Oe({"node_modules/vnopts/lib/schemas/any.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=h}}),Lu=Oe({"node_modules/vnopts/lib/schemas/array.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Mi(),yn(bo)),h=Eo(),C=class extends h.Schema{constructor(p){var{valueSchema:d,name:D=d.name}=p,w=A.__rest(p,["valueSchema","name"]);super(Object.assign({},w,{name:D})),this._valueSchema=d}expected(p){return"an array of ".concat(this._valueSchema.expected(p))}validate(p,d){if(!Array.isArray(p))return!1;let D=[];for(let w of p){let k=d.normalizeValidateResult(this._valueSchema.validate(w,d),w);k!==!0&&D.push(k.value)}return D.length===0?!0:{value:D}}deprecated(p,d){let D=[];for(let w of p){let k=d.normalizeDeprecatedResult(this._valueSchema.deprecated(w,d),w);k!==!1&&D.push(...k.map(R=>{let{value:P}=R;return{value:[P]}}))}return D}forward(p,d){let D=[];for(let w of p){let k=d.normalizeForwardResult(this._valueSchema.forward(w,d),w);D.push(...k.map(x))}return D}redirect(p,d){let D=[],w=[];for(let k of p){let R=d.normalizeRedirectResult(this._valueSchema.redirect(k,d),k);"remain"in R&&D.push(R.remain),w.push(...R.redirect.map(x))}return D.length===0?{redirect:w}:{redirect:w,remain:D}}overlap(p,d){return p.concat(d)}};m.ArraySchema=C;function x(p){let{from:d,to:D}=p;return{from:[d],to:D}}}}),Iu=Oe({"node_modules/vnopts/lib/schemas/boolean.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{expected(){return"true or false"}validate(C){return typeof C=="boolean"}};m.BooleanSchema=h}}),Mu=Oe({"node_modules/vnopts/lib/utils.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});function A(T,N){let j=Object.create(null);for(let re of T){let ne=re[N];if(j[ne])throw new Error("Duplicate ".concat(N," ").concat(JSON.stringify(ne)));j[ne]=re}return j}m.recordFromArray=A;function h(T,N){let j=new Map;for(let re of T){let ne=re[N];if(j.has(ne))throw new Error("Duplicate ".concat(N," ").concat(JSON.stringify(ne)));j.set(ne,re)}return j}m.mapFromArray=h;function C(){let T=Object.create(null);return N=>{let j=JSON.stringify(N);return T[j]?!0:(T[j]=!0,!1)}}m.createAutoChecklist=C;function x(T,N){let j=[],re=[];for(let ne of T)N(ne)?j.push(ne):re.push(ne);return[j,re]}m.partition=x;function p(T){return T===Math.floor(T)}m.isInt=p;function d(T,N){if(T===N)return 0;let j=typeof T,re=typeof N,ne=["undefined","object","boolean","number","string"];return j!==re?ne.indexOf(j)-ne.indexOf(re):j!=="string"?Number(T)-Number(N):T.localeCompare(N)}m.comparePrimitive=d;function D(T){return T===void 0?{}:T}m.normalizeDefaultResult=D;function w(T,N){return T===!0?!0:T===!1?{value:N}:T}m.normalizeValidateResult=w;function k(T,N){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return T===!1?!1:T===!0?j?!0:[{value:N}]:"value"in T?[T]:T.length===0?!1:T}m.normalizeDeprecatedResult=k;function R(T,N){return typeof T=="string"||"key"in T?{from:N,to:T}:"from"in T?{from:T.from,to:T.to}:{from:N,to:T.to}}m.normalizeTransferResult=R;function P(T,N){return T===void 0?[]:Array.isArray(T)?T.map(j=>R(j,N)):[R(T,N)]}m.normalizeForwardResult=P;function M(T,N){let j=P(typeof T=="object"&&"redirect"in T?T.redirect:T,N);return j.length===0?{remain:N,redirect:j}:typeof T=="object"&&"remain"in T?{remain:T.remain,redirect:j}:{redirect:j}}m.normalizeRedirectResult=M}}),bc=Oe({"node_modules/vnopts/lib/schemas/choice.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=Mu(),C=class extends A.Schema{constructor(x){super(x),this._choices=h.mapFromArray(x.choices.map(p=>p&&typeof p=="object"?p:{value:p}),"value")}expected(x){let{descriptor:p}=x,d=Array.from(this._choices.keys()).map(k=>this._choices.get(k)).filter(k=>!k.deprecated).map(k=>k.value).sort(h.comparePrimitive).map(p.value),D=d.slice(0,-2),w=d.slice(-2);return D.concat(w.join(" or ")).join(", ")}validate(x){return this._choices.has(x)}deprecated(x){let p=this._choices.get(x);return p&&p.deprecated?{value:x}:!1}forward(x){let p=this._choices.get(x);return p?p.forward:void 0}redirect(x){let p=this._choices.get(x);return p?p.redirect:void 0}};m.ChoiceSchema=C}}),Cl=Oe({"node_modules/vnopts/lib/schemas/number.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{expected(){return"a number"}validate(C,x){return typeof C=="number"}};m.NumberSchema=h}}),El=Oe({"node_modules/vnopts/lib/schemas/integer.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Mu(),h=Cl(),C=class extends h.NumberSchema{expected(){return"an integer"}validate(x,p){return p.normalizeValidateResult(super.validate(x,p),x)===!0&&A.isInt(x)}};m.IntegerSchema=C}}),Ru=Oe({"node_modules/vnopts/lib/schemas/string.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Eo(),h=class extends A.Schema{expected(){return"a string"}validate(C){return typeof C=="string"}};m.StringSchema=h}}),Ws=Oe({"node_modules/vnopts/lib/schemas/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Mi(),yn(bo));A.__exportStar(Lo(),m),A.__exportStar(ho(),m),A.__exportStar(Lu(),m),A.__exportStar(Iu(),m),A.__exportStar(bc(),m),A.__exportStar(El(),m),A.__exportStar(Cl(),m),A.__exportStar(Ru(),m)}}),zu=Oe({"node_modules/vnopts/lib/defaults.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=ao(),h=Va(),C=Hs(),x=qa();m.defaultDescriptor=A.apiDescriptor,m.defaultUnknownHandler=x.levenUnknownHandler,m.defaultInvalidHandler=C.commonInvalidHandler,m.defaultDeprecatedHandler=h.commonDeprecatedHandler}}),wl=Oe({"node_modules/vnopts/lib/normalize.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=zu(),h=Mu();m.normalize=(x,p,d)=>new C(p,d).normalize(x);var C=class{constructor(x,p){let{logger:d=console,descriptor:D=A.defaultDescriptor,unknown:w=A.defaultUnknownHandler,invalid:k=A.defaultInvalidHandler,deprecated:R=A.defaultDeprecatedHandler}=p||{};this._utils={descriptor:D,logger:d||{warn:()=>{}},schemas:h.recordFromArray(x,"name"),normalizeDefaultResult:h.normalizeDefaultResult,normalizeDeprecatedResult:h.normalizeDeprecatedResult,normalizeForwardResult:h.normalizeForwardResult,normalizeRedirectResult:h.normalizeRedirectResult,normalizeValidateResult:h.normalizeValidateResult},this._unknownHandler=w,this._invalidHandler=k,this._deprecatedHandler=R,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=h.createAutoChecklist()}normalize(x){let p={},d=[x],D=()=>{for(;d.length!==0;){let w=d.shift(),k=this._applyNormalization(w,p);d.push(...k)}};D();for(let w of Object.keys(this._utils.schemas)){let k=this._utils.schemas[w];if(!(w in p)){let R=h.normalizeDefaultResult(k.default(this._utils));"value"in R&&d.push({[w]:R.value})}}D();for(let w of Object.keys(this._utils.schemas)){let k=this._utils.schemas[w];w in p&&(p[w]=k.postprocess(p[w],this._utils))}return p}_applyNormalization(x,p){let d=[],[D,w]=h.partition(Object.keys(x),k=>k in this._utils.schemas);for(let k of D){let R=this._utils.schemas[k],P=R.preprocess(x[k],this._utils),M=h.normalizeValidateResult(R.validate(P,this._utils),P);if(M!==!0){let{value:re}=M,ne=this._invalidHandler(k,re,this._utils);throw typeof ne=="string"?new Error(ne):ne}let T=re=>{let{from:ne,to:$}=re;d.push(typeof $=="string"?{[$]:ne}:{[$.key]:$.value})},N=re=>{let{value:ne,redirectTo:$}=re,J=h.normalizeDeprecatedResult(R.deprecated(ne,this._utils),P,!0);if(J!==!1)if(J===!0)this._hasDeprecationWarned(k)||this._utils.logger.warn(this._deprecatedHandler(k,$,this._utils));else for(let{value:ee}of J){let oe={key:k,value:ee};if(!this._hasDeprecationWarned(oe)){let ie=typeof $=="string"?{key:$,value:ee}:$;this._utils.logger.warn(this._deprecatedHandler(oe,ie,this._utils))}}};h.normalizeForwardResult(R.forward(P,this._utils),P).forEach(T);let j=h.normalizeRedirectResult(R.redirect(P,this._utils),P);if(j.redirect.forEach(T),"remain"in j){let re=j.remain;p[k]=k in p?R.overlap(p[k],re,this._utils):re,N({value:re})}for(let{from:re,to:ne}of j.redirect)N({value:re,redirectTo:ne})}for(let k of w){let R=x[k],P=this._unknownHandler(k,R,this._utils);if(P)for(let M of Object.keys(P)){let T={[M]:P[M]};M in this._utils.schemas?d.push(T):Object.assign(p,T)}}return d}};m.Normalizer=C}}),Hu=Oe({"node_modules/vnopts/lib/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=(Mi(),yn(bo));A.__exportStar(ts(),m),A.__exportStar(ju(),m),A.__exportStar(Ws(),m),A.__exportStar(wl(),m),A.__exportStar(Eo(),m)}}),Ja=Oe({"src/main/options-normalizer.js"(m,A){b();var h=Hu(),C=Rn(),x={key:M=>M.length===1?"-".concat(M):"--".concat(M),value:M=>h.apiDescriptor.value(M),pair:M=>{let{key:T,value:N}=M;return N===!1?"--no-".concat(T):N===!0?x.key(T):N===""?"".concat(x.key(T)," without an argument"):"".concat(x.key(T),"=").concat(N)}},p=M=>{let{colorsModule:T,levenshteinDistance:N}=M;return class extends h.ChoiceSchema{constructor(j){let{name:re,flags:ne}=j;super({name:re,choices:ne}),this._flags=[...ne].sort()}preprocess(j,re){if(typeof j=="string"&&j.length>0&&!this._flags.includes(j)){let ne=this._flags.find($=>N($,j)<3);if(ne)return re.logger.warn(["Unknown flag ".concat(T.yellow(re.descriptor.value(j)),","),"did you mean ".concat(T.blue(re.descriptor.value(ne)),"?")].join(" ")),ne}return j}expected(){return"a flag"}}},d;function D(M,T){let{logger:N=!1,isCLI:j=!1,passThrough:re=!1,colorsModule:ne=null,levenshteinDistance:$=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},J=re?Array.isArray(re)?(B,O)=>re.includes(B)?{[B]:O}:void 0:(B,O)=>({[B]:O}):(B,O,W)=>{let S=W.schemas,H=Vr(S,xt);return h.levenUnknownHandler(B,O,Object.assign(Object.assign({},W),{},{schemas:H}))},ee=j?x:h.apiDescriptor,oe=w(T,{isCLI:j,colorsModule:ne,levenshteinDistance:$}),ie=new h.Normalizer(oe,{logger:N,unknown:J,descriptor:ee}),se=N!==!1;se&&d&&(ie._hasDeprecationWarned=d);let z=ie.normalize(M);return se&&(d=ie._hasDeprecationWarned),j&&z["plugin-search"]===!1&&(z["plugin-search-dir"]=!1),z}function w(M,T){let{isCLI:N,colorsModule:j,levenshteinDistance:re}=T,ne=[];N&&ne.push(h.AnySchema.create({name:"_"}));for(let $ of M)ne.push(k($,{isCLI:N,optionInfos:M,colorsModule:j,levenshteinDistance:re})),$.alias&&N&&ne.push(h.AliasSchema.create({name:$.alias,sourceName:$.name}));return ne}function k(M,T){let{isCLI:N,optionInfos:j,colorsModule:re,levenshteinDistance:ne}=T,{name:$}=M;if($==="plugin-search-dir"||$==="pluginSearchDirs")return h.AnySchema.create({name:$,preprocess(ie){return ie===!1||(ie=Array.isArray(ie)?ie:[ie]),ie},validate(ie){return ie===!1?!0:ie.every(se=>typeof se=="string")},expected(){return"false or paths to plugin search dir"}});let J={name:$},ee,oe={};switch(M.type){case"int":ee=h.IntegerSchema,N&&(J.preprocess=Number);break;case"string":ee=h.StringSchema;break;case"choice":ee=h.ChoiceSchema,J.choices=M.choices.map(ie=>typeof ie=="object"&&ie.redirect?Object.assign(Object.assign({},ie),{},{redirect:{to:{key:M.name,value:ie.redirect}}}):ie);break;case"boolean":ee=h.BooleanSchema;break;case"flag":ee=p({colorsModule:re,levenshteinDistance:ne}),J.flags=j.flatMap(ie=>[ie.alias,ie.description&&ie.name,ie.oppositeDescription&&"no-".concat(ie.name)].filter(Boolean));break;case"path":ee=h.StringSchema;break;default:throw new Error("Unexpected type ".concat(M.type))}if(M.exception?J.validate=(ie,se,z)=>M.exception(ie)||se.validate(ie,z):J.validate=(ie,se,z)=>ie===void 0||se.validate(ie,z),M.redirect&&(oe.redirect=ie=>ie?{to:{key:M.redirect.option,value:M.redirect.value}}:void 0),M.deprecated&&(oe.deprecated=!0),N&&!M.array){let ie=J.preprocess||(se=>se);J.preprocess=(se,z,B)=>z.preprocess(ie(Array.isArray(se)?C(se):se),B)}return M.array?h.ArraySchema.create(Object.assign(Object.assign(Object.assign({},N?{preprocess:ie=>Array.isArray(ie)?ie:[ie]}:{}),oe),{},{valueSchema:ee.create(J)})):ee.create(Object.assign(Object.assign({},J),oe))}function R(M,T,N){return D(M,T,N)}function P(M,T,N){return D(M,T,Object.assign({isCLI:!0},N))}A.exports={normalizeApiOptions:R,normalizeCliOptions:P}}}),Ci=Oe({"src/language-js/loc.js"(m,A){b();var h=Gi();function C(w,k){let{ignoreDecorators:R}=k||{};if(!R){let P=w.declaration&&w.declaration.decorators||w.decorators;if(h(P))return C(P[0])}return w.range?w.range[0]:w.start}function x(w){return w.range?w.range[1]:w.end}function p(w,k){let R=C(w);return Number.isInteger(R)&&R===C(k)}function d(w,k){let R=x(w);return Number.isInteger(R)&&R===x(k)}function D(w,k){return p(w,k)&&d(w,k)}A.exports={locStart:C,locEnd:x,hasSameLocStart:p,hasSameLoc:D}}}),Ri=Oe({"src/main/load-parser.js"(m,A){b(),A.exports=()=>{}}}),uo=Oe({"scripts/build/shims/babel-highlight.cjs"(m,A){b();var h=jo(),C={shouldHighlight:()=>!1,getChalk:()=>h};A.exports=C}}),Wu=Oe({"node_modules/@babel/code-frame/lib/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=d,m.default=D;var A=uo(),h=!1;function C(w){return{gutter:w.grey,marker:w.red.bold,message:w.red.bold}}var x=/\r\n|[\n\r\u2028\u2029]/;function p(w,k,R){let P=Object.assign({column:0,line:-1},w.start),M=Object.assign({},P,w.end),{linesAbove:T=2,linesBelow:N=3}=R||{},j=P.line,re=P.column,ne=M.line,$=M.column,J=Math.max(j-(T+1),0),ee=Math.min(k.length,ne+N);j===-1&&(J=0),ne===-1&&(ee=k.length);let oe=ne-j,ie={};if(oe)for(let se=0;se<=oe;se++){let z=se+j;if(!re)ie[z]=!0;else if(se===0){let B=k[z-1].length;ie[z]=[re,B-re+1]}else if(se===oe)ie[z]=[0,$];else{let B=k[z-se].length;ie[z]=[0,B]}}else re===$?re?ie[j]=[re,0]:ie[j]=!0:ie[j]=[re,$-re];return{start:J,end:ee,markerLines:ie}}function d(w,k){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},P=(R.highlightCode||R.forceColor)&&(0,A.shouldHighlight)(R),M=(0,A.getChalk)(R),T=C(M),N=(ie,se)=>P?ie(se):se,j=w.split(x),{start:re,end:ne,markerLines:$}=p(k,j,R),J=k.start&&typeof k.start.column=="number",ee=String(ne).length,oe=(P?(0,A.default)(w,R):w).split(x,ne).slice(re,ne).map((ie,se)=>{let z=re+1+se,B=" ".concat(z).slice(-ee),O=" ".concat(B," |"),W=$[z],S=!$[z+1];if(W){let H="";if(Array.isArray(W)){let I=ie.slice(0,Math.max(W[0]-1,0)).replace(/[^\t]/g," "),Y=W[1]||1;H=[`
|
|
61
|
+
`,N(T.gutter,O.replace(/\d/g," "))," ",I,N(T.marker,"^").repeat(Y)].join(""),S&&R.message&&(H+=" "+N(T.message,R.message))}return[N(T.marker,">"),N(T.gutter,O),ie.length>0?" ".concat(ie):"",H].join("")}else return" ".concat(N(T.gutter,O)).concat(ie.length>0?" ".concat(ie):"")}).join(`
|
|
62
|
+
`);return R.message&&!J&&(oe="".concat(" ".repeat(ee+1)).concat(R.message,`
|
|
63
|
+
`).concat(oe)),P?M.reset(oe):oe}function D(w,k,R){let P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!h){h=!0;let M="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(xi.emitWarning)xi.emitWarning(M,"DeprecationWarning");else{let T=new Error(M);T.name="DeprecationWarning",console.warn(new Error(M))}}return R=Math.max(R,0),d(w,{start:{column:R,line:k}},P)}}}),$s=Oe({"src/main/parser.js"(m,A){b();var{ConfigError:h}=Ds(),C=Ci();Ri();var{locStart:x,locEnd:p}=C,d=Object.getOwnPropertyNames,D=Object.getOwnPropertyDescriptor;function w(P){let M={};for(let T of P.plugins)if(T.parsers)for(let N of d(T.parsers))Object.defineProperty(M,N,D(T.parsers,N));return M}function k(P){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w(P);if(typeof P.parser=="function")return{parse:P.parser,astFormat:"estree",locStart:x,locEnd:p};if(typeof P.parser=="string"){if(Object.prototype.hasOwnProperty.call(M,P.parser))return M[P.parser];throw new h(`Couldn't resolve parser "`.concat(P.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function R(P,M){let T=w(M),N=Object.defineProperties({},Object.fromEntries(Object.keys(T).map(re=>[re,{enumerable:!0,get(){return T[re].parse}}]))),j=k(M,T);try{return j.preprocess&&(P=j.preprocess(P,M)),{text:P,ast:j.parse(P,N,M)}}catch(re){let{loc:ne}=re;if(ne){let{codeFrameColumns:$}=Wu();throw re.codeFrame=$(P,ne,{highlightCode:!0}),re.message+=`
|
|
64
|
+
`+re.codeFrame,re}throw re.stack}}A.exports={parse:R,resolveParser:k}}}),rs=Oe({"src/main/options.js"(m,A){b();var h=dc(),{UndefinedParserError:C}=Ds(),{getSupportInfo:x}=fo(),p=Ja(),{resolveParser:d}=$s(),D={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function w(P){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=Object.assign({},P),N=x({plugins:P.plugins,showUnreleased:!0,showDeprecated:!0}).options,j=Object.assign(Object.assign({},D),Object.fromEntries(N.filter(ee=>ee.default!==void 0).map(ee=>[ee.name,ee.default])));if(!T.parser){if(!T.filepath)(M.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),T.parser="babel";else if(T.parser=R(T.filepath,T.plugins),!T.parser)throw new C("No parser could be inferred for file: ".concat(T.filepath))}let re=d(p.normalizeApiOptions(T,[N.find(ee=>ee.name==="parser")],{passThrough:!0,logger:!1}));T.astFormat=re.astFormat,T.locEnd=re.locEnd,T.locStart=re.locStart;let ne=k(T);T.printer=ne.printers[T.astFormat];let $=Object.fromEntries(N.filter(ee=>ee.pluginDefaults&&ee.pluginDefaults[ne.name]!==void 0).map(ee=>[ee.name,ee.pluginDefaults[ne.name]])),J=Object.assign(Object.assign({},j),$);for(let[ee,oe]of Object.entries(J))(T[ee]===null||T[ee]===void 0)&&(T[ee]=oe);return T.parser==="json"&&(T.trailingComma="none"),p.normalizeApiOptions(T,N,Object.assign({passThrough:Object.keys(D)},M))}function k(P){let{astFormat:M}=P;if(!M)throw new Error("getPlugin() requires astFormat to be set");let T=P.plugins.find(N=>N.printers&&N.printers[M]);if(!T)throw new Error(`Couldn't find plugin for AST format "`.concat(M,'"'));return T}function R(P,M){let T=h.basename(P).toLowerCase(),N=x({plugins:M}).languages.filter(j=>j.since!==null).find(j=>j.extensions&&j.extensions.some(re=>T.endsWith(re))||j.filenames&&j.filenames.some(re=>re.toLowerCase()===T));return N&&N.parsers[0]}A.exports={normalize:w,hiddenDefaults:D,inferParser:R}}}),$u=Oe({"src/main/massage-ast.js"(m,A){b();function h(C,x,p){if(Array.isArray(C))return C.map(k=>h(k,x,p)).filter(Boolean);if(!C||typeof C!="object")return C;let d=x.printer.massageAstNode,D;d&&d.ignoredProperties?D=d.ignoredProperties:D=new Set;let w={};for(let[k,R]of Object.entries(C))!D.has(k)&&typeof R!="function"&&(w[k]=h(R,x,C));if(d){let k=d(C,w,p);if(k===null)return;if(k)return k}return w}A.exports=h}}),xs=Oe({"scripts/build/shims/assert.cjs"(m,A){b();var h=()=>{};h.ok=h,h.strictEqual=h,A.exports=h}}),gi=Oe({"src/main/comments.js"(m,A){b();var h=xs(),{builders:{line:C,hardline:x,breakParent:p,indent:d,lineSuffix:D,join:w,cursor:k}}=bn(),{hasNewline:R,skipNewline:P,skipSpaces:M,isPreviousLineEmpty:T,addLeadingComment:N,addDanglingComment:j,addTrailingComment:re}=jn(),ne=new WeakMap;function $(ce,we,ye){if(!ce)return;let{printer:Be,locStart:ke,locEnd:Ee}=we;if(ye){if(Be.canAttachComment&&Be.canAttachComment(ce)){let Se;for(Se=ye.length-1;Se>=0&&!(ke(ye[Se])<=ke(ce)&&Ee(ye[Se])<=Ee(ce));--Se);ye.splice(Se+1,0,ce);return}}else if(ne.has(ce))return ne.get(ce);let qe=Be.getCommentChildNodes&&Be.getCommentChildNodes(ce,we)||typeof ce=="object"&&Object.entries(ce).filter(Se=>{let[Te]=Se;return Te!=="enclosingNode"&&Te!=="precedingNode"&&Te!=="followingNode"&&Te!=="tokens"&&Te!=="comments"&&Te!=="parent"}).map(Se=>{let[,Te]=Se;return Te});if(qe){ye||(ye=[],ne.set(ce,ye));for(let Se of qe)$(Se,we,ye);return ye}}function J(ce,we,ye,Be){let{locStart:ke,locEnd:Ee}=ye,qe=ke(we),Se=Ee(we),Te=$(ce,ye),Ge,Qe,Xe=0,At=Te.length;for(;Xe<At;){let Fe=Xe+At>>1,Me=Te[Fe],Dt=ke(Me),Nt=Ee(Me);if(Dt<=qe&&Se<=Nt)return J(Me,we,ye,Me);if(Nt<=qe){Ge=Me,Xe=Fe+1;continue}if(Se<=Dt){Qe=Me,At=Fe;continue}throw new Error("Comment location overlaps with node location")}if(Be&&Be.type==="TemplateLiteral"){let{quasis:Fe}=Be,Me=W(Fe,we,ye);Ge&&W(Fe,Ge,ye)!==Me&&(Ge=null),Qe&&W(Fe,Qe,ye)!==Me&&(Qe=null)}return{enclosingNode:Be,precedingNode:Ge,followingNode:Qe}}var ee=()=>!1;function oe(ce,we,ye,Be){if(!Array.isArray(ce))return;let ke=[],{locStart:Ee,locEnd:qe,printer:{handleComments:Se={}}}=Be,{avoidAstMutation:Te,ownLine:Ge=ee,endOfLine:Qe=ee,remaining:Xe=ee}=Se,At=ce.map((Fe,Me)=>Object.assign(Object.assign({},J(we,Fe,Be)),{},{comment:Fe,text:ye,options:Be,ast:we,isLastComment:ce.length-1===Me}));for(let[Fe,Me]of At.entries()){let{comment:Dt,precedingNode:Nt,enclosingNode:mt,followingNode:Ie,text:Re,options:He,ast:Et,isLastComment:gt}=Me;if(He.parser==="json"||He.parser==="json5"||He.parser==="__js_expression"||He.parser==="__vue_expression"||He.parser==="__vue_ts_expression"){if(Ee(Dt)-Ee(Et)<=0){N(Et,Dt);continue}if(qe(Dt)-qe(Et)>=0){re(Et,Dt);continue}}let ur;if(Te?ur=[Me]:(Dt.enclosingNode=mt,Dt.precedingNode=Nt,Dt.followingNode=Ie,ur=[Dt,Re,He,Et,gt]),se(Re,He,At,Fe))Dt.placement="ownLine",Ge(...ur)||(Ie?N(Ie,Dt):Nt?re(Nt,Dt):j(mt||Et,Dt));else if(z(Re,He,At,Fe))Dt.placement="endOfLine",Qe(...ur)||(Nt?re(Nt,Dt):Ie?N(Ie,Dt):j(mt||Et,Dt));else if(Dt.placement="remaining",!Xe(...ur))if(Nt&&Ie){let Ur=ke.length;Ur>0&&ke[Ur-1].followingNode!==Ie&&B(ke,Re,He),ke.push(Me)}else Nt?re(Nt,Dt):Ie?N(Ie,Dt):j(mt||Et,Dt)}if(B(ke,ye,Be),!Te)for(let Fe of ce)delete Fe.precedingNode,delete Fe.enclosingNode,delete Fe.followingNode}var ie=ce=>!/[\S\n\u2028\u2029]/.test(ce);function se(ce,we,ye,Be){let{comment:ke,precedingNode:Ee}=ye[Be],{locStart:qe,locEnd:Se}=we,Te=qe(ke);if(Ee)for(let Ge=Be-1;Ge>=0;Ge--){let{comment:Qe,precedingNode:Xe}=ye[Ge];if(Xe!==Ee||!ie(ce.slice(Se(Qe),Te)))break;Te=qe(Qe)}return R(ce,Te,{backwards:!0})}function z(ce,we,ye,Be){let{comment:ke,followingNode:Ee}=ye[Be],{locStart:qe,locEnd:Se}=we,Te=Se(ke);if(Ee)for(let Ge=Be+1;Ge<ye.length;Ge++){let{comment:Qe,followingNode:Xe}=ye[Ge];if(Xe!==Ee||!ie(ce.slice(Te,qe(Qe))))break;Te=Se(Qe)}return R(ce,Te)}function B(ce,we,ye){let Be=ce.length;if(Be===0)return;let{precedingNode:ke,followingNode:Ee,enclosingNode:qe}=ce[0],Se=ye.printer.getGapRegex&&ye.printer.getGapRegex(qe)||/^[\s(]*$/,Te=ye.locStart(Ee),Ge;for(Ge=Be;Ge>0;--Ge){let{comment:Qe,precedingNode:Xe,followingNode:At}=ce[Ge-1];h.strictEqual(Xe,ke),h.strictEqual(At,Ee);let Fe=we.slice(ye.locEnd(Qe),Te);if(Se.test(Fe))Te=ye.locStart(Qe);else break}for(let[Qe,{comment:Xe}]of ce.entries())Qe<Ge?re(ke,Xe):N(Ee,Xe);for(let Qe of[ke,Ee])Qe.comments&&Qe.comments.length>1&&Qe.comments.sort((Xe,At)=>ye.locStart(Xe)-ye.locStart(At));ce.length=0}function O(ce,we){let ye=ce.getValue();return ye.printed=!0,we.printer.printComment(ce,we)}function W(ce,we,ye){let Be=ye.locStart(we)-1;for(let ke=1;ke<ce.length;++ke)if(Be<ye.locStart(ce[ke]))return ke-1;return 0}function S(ce,we){let ye=ce.getValue(),Be=[O(ce,we)],{printer:ke,originalText:Ee,locStart:qe,locEnd:Se}=we;if(ke.isBlockComment&&ke.isBlockComment(ye)){let Ge=R(Ee,Se(ye))?R(Ee,qe(ye),{backwards:!0})?x:C:" ";Be.push(Ge)}else Be.push(x);let Te=P(Ee,M(Ee,Se(ye)));return Te!==!1&&R(Ee,Te)&&Be.push(x),Be}function H(ce,we){let ye=ce.getValue(),Be=O(ce,we),{printer:ke,originalText:Ee,locStart:qe}=we,Se=ke.isBlockComment&&ke.isBlockComment(ye);if(R(Ee,qe(ye),{backwards:!0})){let Ge=T(Ee,ye,qe);return D([x,Ge?x:"",Be])}let Te=[" ",Be];return Se||(Te=[D(Te),p]),Te}function I(ce,we,ye,Be){let ke=[],Ee=ce.getValue();return!Ee||!Ee.comments||(ce.each(()=>{let qe=ce.getValue();!qe.leading&&!qe.trailing&&(!Be||Be(qe))&&ke.push(O(ce,we))},"comments"),ke.length===0)?"":ye?w(x,ke):d([x,w(x,ke)])}function Y(ce,we,ye){let Be=ce.getValue();if(!Be)return{};let ke=Be.comments||[];ye&&(ke=ke.filter(Te=>!ye.has(Te)));let Ee=Be===we.cursorNode;if(ke.length===0){let Te=Ee?k:"";return{leading:Te,trailing:Te}}let qe=[],Se=[];return ce.each(()=>{let Te=ce.getValue();if(ye&&ye.has(Te))return;let{leading:Ge,trailing:Qe}=Te;Ge?qe.push(S(ce,we)):Qe&&Se.push(H(ce,we))},"comments"),Ee&&(qe.unshift(k),Se.push(k)),{leading:qe,trailing:Se}}function X(ce,we,ye,Be){let{leading:ke,trailing:Ee}=Y(ce,ye,Be);return!ke&&!Ee?we:[ke,we,Ee]}function K(ce){if(ce)for(let we of ce){if(!we.printed)throw new Error('Comment "'+we.value.trim()+'" was not printed. Please report this error!');delete we.printed}}A.exports={attach:oe,printComments:X,printCommentsSeparately:Y,printDanglingComments:I,getSortedChildNodes:$,ensureAllCommentsPrinted:K}}}),Al=Oe({"src/common/ast-path.js"(m,A){b();var h=Rn();function C(d,D){let w=x(d.stack,D);return w===-1?null:d.stack[w]}function x(d,D){for(let w=d.length-1;w>=0;w-=2){let k=d[w];if(k&&!Array.isArray(k)&&--D<0)return w}return-1}var p=class{constructor(d){this.stack=[d]}getName(){let{stack:d}=this,{length:D}=d;return D>1?d[D-2]:null}getValue(){return h(this.stack)}getNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return C(this,d)}getParentNode(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return C(this,d+1)}call(d){let{stack:D}=this,{length:w}=D,k=h(D);for(var R=arguments.length,P=new Array(R>1?R-1:0),M=1;M<R;M++)P[M-1]=arguments[M];for(let N of P)k=k[N],D.push(N,k);let T=d(this);return D.length=w,T}callParent(d){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,w=x(this.stack,D+1),k=this.stack.splice(w+1),R=d(this);return this.stack.push(...k),R}each(d){let{stack:D}=this,{length:w}=D,k=h(D);for(var R=arguments.length,P=new Array(R>1?R-1:0),M=1;M<R;M++)P[M-1]=arguments[M];for(let T of P)k=k[T],D.push(T,k);for(let T=0;T<k.length;++T)D.push(T,k[T]),d(this,T,k),D.length-=2;D.length=w}map(d){let D=[];for(var w=arguments.length,k=new Array(w>1?w-1:0),R=1;R<w;R++)k[R-1]=arguments[R];return this.each((P,M,T)=>{D[M]=d(P,M,T)},...k),D}try(d){let{stack:D}=this,w=[...D];try{return d()}finally{D.length=0,D.push(...w)}}match(){let d=this.stack.length-1,D=null,w=this.stack[d--];for(var k=arguments.length,R=new Array(k),P=0;P<k;P++)R[P]=arguments[P];for(let M of R){if(w===void 0)return!1;let T=null;if(typeof D=="number"&&(T=D,D=this.stack[d--],w=this.stack[d--]),M&&!M(w,D,T))return!1;D=this.stack[d--],w=this.stack[d--]}return!0}findAncestor(d){let D=this.stack.length-1,w=null,k=this.stack[D--];for(;k;){let R=null;if(typeof w=="number"&&(R=w,w=this.stack[D--],k=this.stack[D--]),w!==null&&d(k,w,R))return k;w=this.stack[D--],k=this.stack[D--]}}};A.exports=p}}),Sl=Oe({"src/main/multiparser.js"(m,A){b();var{utils:{stripTrailingHardline:h}}=bn(),{normalize:C}=rs(),x=gi();function p(D,w,k,R){if(k.printer.embed&&k.embeddedLanguageFormatting==="auto")return k.printer.embed(D,w,(P,M,T)=>d(P,M,k,R,T),k)}function d(D,w,k,R){let{stripTrailingHardline:P=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},M=C(Object.assign(Object.assign(Object.assign({},k),w),{},{parentParser:k.parser,originalText:D}),{passThrough:!0}),T=$s().parse(D,M),{ast:N}=T;D=T.text;let j=N.comments;delete N.comments,x.attach(j,N,D,M),M[Symbol.for("comments")]=j||[],M[Symbol.for("tokens")]=N.tokens||[];let re=R(N,M);return x.ensureAllCommentsPrinted(j),P?typeof re=="string"?re.replace(/(?:\r?\n)*$/,""):h(re):re}A.exports={printSubtree:p}}}),Fl=Oe({"src/main/ast-to-doc.js"(m,A){b();var h=Al(),{builders:{hardline:C,addAlignmentToDoc:x},utils:{propagateBreaks:p}}=bn(),{printComments:d}=gi(),D=Sl();function w(P,M){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:N}=M;N.preprocess&&(P=N.preprocess(P,M));let j=new Map,re=new h(P),ne=$();return T>0&&(ne=x([C,ne],T,M.tabWidth)),p(ne),ne;function $(ee,oe){return ee===void 0||ee===re?J(oe):Array.isArray(ee)?re.call(()=>J(oe),...ee):re.call(()=>J(oe),ee)}function J(ee){let oe=re.getValue(),ie=oe&&typeof oe=="object"&&ee===void 0;if(ie&&j.has(oe))return j.get(oe);let se=R(re,M,$,ee);return ie&&j.set(oe,se),se}}function k(P,M){let{originalText:T,[Symbol.for("comments")]:N,locStart:j,locEnd:re}=M,ne=j(P),$=re(P),J=new Set;for(let ee of N)j(ee)>=ne&&re(ee)<=$&&(ee.printed=!0,J.add(ee));return{doc:T.slice(ne,$),printedComments:J}}function R(P,M,T,N){let j=P.getValue(),{printer:re}=M,ne,$;if(re.hasPrettierIgnore&&re.hasPrettierIgnore(P))({doc:ne,printedComments:$}=k(j,M));else{if(j)try{ne=D.printSubtree(P,T,M,w)}catch(J){if(globalThis.PRETTIER_DEBUG)throw J}ne||(ne=re.print(P,M,T,N))}return(!re.willPrintOwnComments||!re.willPrintOwnComments(P,M))&&(ne=d(P,ne,M,$)),ne}A.exports=w}}),ns=Oe({"src/main/range-util.js"(m,A){b();var h=xs(),C=gi(),x=N=>{let{parser:j}=N;return j==="json"||j==="json5"||j==="json-stringify"};function p(N,j){let re=[N.node,...N.parentNodes],ne=new Set([j.node,...j.parentNodes]);return re.find($=>R.has($.type)&&ne.has($))}function d(N){let j=N.length-1;for(;;){let re=N[j];if(re&&(re.type==="Program"||re.type==="File"))j--;else break}return N.slice(0,j+1)}function D(N,j,re){let{locStart:ne,locEnd:$}=re,J=N.node,ee=j.node;if(J===ee)return{startNode:J,endNode:ee};let oe=ne(N.node);for(let se of d(j.parentNodes))if(ne(se)>=oe)ee=se;else break;let ie=$(j.node);for(let se of d(N.parentNodes))if($(se)<=ie)J=se;else break;return{startNode:J,endNode:ee}}function w(N,j,re,ne){let $=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],J=arguments.length>5?arguments[5]:void 0,{locStart:ee,locEnd:oe}=re,ie=ee(N),se=oe(N);if(!(j>se||j<ie||J==="rangeEnd"&&j===ie||J==="rangeStart"&&j===se)){for(let z of C.getSortedChildNodes(N,re)){let B=w(z,j,re,ne,[N,...$],J);if(B)return B}if(!ne||ne(N,$[0]))return{node:N,parentNodes:$}}}function k(N,j){return j!=="DeclareExportDeclaration"&&N!=="TypeParameterDeclaration"&&(N==="Directive"||N==="TypeAlias"||N==="TSExportAssignment"||N.startsWith("Declare")||N.startsWith("TSDeclare")||N.endsWith("Statement")||N.endsWith("Declaration"))}var R=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),P=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function M(N,j,re){if(!j)return!1;switch(N.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return k(j.type,re&&re.type);case"json":case"json5":case"json-stringify":return R.has(j.type);case"graphql":return P.has(j.kind);case"vue":return j.tag!=="root"}return!1}function T(N,j,re){let{rangeStart:ne,rangeEnd:$,locStart:J,locEnd:ee}=j;h.ok($>ne);let oe=N.slice(ne,$).search(/\S/),ie=oe===-1;if(!ie)for(ne+=oe;$>ne&&!/\S/.test(N[$-1]);--$);let se=w(re,ne,j,(W,S)=>M(j,W,S),[],"rangeStart"),z=ie?se:w(re,$,j,W=>M(j,W),[],"rangeEnd");if(!se||!z)return{rangeStart:0,rangeEnd:0};let B,O;if(x(j)){let W=p(se,z);B=W,O=W}else({startNode:B,endNode:O}=D(se,z,j));return{rangeStart:Math.min(J(B),J(O)),rangeEnd:Math.max(ee(B),ee(O))}}A.exports={calculateRange:T,findNodeAtOffset:w}}}),Cs=Oe({"src/main/core.js"(m,A){b();var{diffArrays:h}=br(),{printer:{printDocToString:C},debug:{printDocToDebug:x}}=bn(),{getAlignmentSize:p}=jn(),{guessEndOfLine:d,convertEndOfLineToChars:D,countEndOfLineChars:w,normalizeEndOfLine:k}=$n(),R=rs().normalize,P=$u(),M=gi(),T=$s(),N=Fl(),j=ns(),re="\uFEFF",ne=Symbol("cursor");function $(O,W,S){let H=W.comments;return H&&(delete W.comments,M.attach(H,W,O,S)),S[Symbol.for("comments")]=H||[],S[Symbol.for("tokens")]=W.tokens||[],S.originalText=O,H}function J(O,W){let S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!O||O.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:H,text:I}=T.parse(O,W);if(W.cursorOffset>=0){let ce=j.findNodeAtOffset(H,W.cursorOffset,W);ce&&ce.node&&(W.cursorNode=ce.node)}let Y=$(I,H,W),X=N(H,W,S),K=C(X,W);if(M.ensureAllCommentsPrinted(Y),S>0){let ce=K.formatted.trim();K.cursorNodeStart!==void 0&&(K.cursorNodeStart-=K.formatted.indexOf(ce)),K.formatted=ce+D(W.endOfLine)}if(W.cursorOffset>=0){let ce,we,ye,Be,ke;if(W.cursorNode&&K.cursorNodeText?(ce=W.locStart(W.cursorNode),we=I.slice(ce,W.locEnd(W.cursorNode)),ye=W.cursorOffset-ce,Be=K.cursorNodeStart,ke=K.cursorNodeText):(ce=0,we=I,ye=W.cursorOffset,Be=0,ke=K.formatted),we===ke)return{formatted:K.formatted,cursorOffset:Be+ye,comments:Y};let Ee=[...we];Ee.splice(ye,0,ne);let qe=[...ke],Se=h(Ee,qe),Te=Be;for(let Ge of Se)if(Ge.removed){if(Ge.value.includes(ne))break}else Te+=Ge.count;return{formatted:K.formatted,cursorOffset:Te,comments:Y}}return{formatted:K.formatted,cursorOffset:-1,comments:Y}}function ee(O,W){let{ast:S,text:H}=T.parse(O,W),{rangeStart:I,rangeEnd:Y}=j.calculateRange(H,W,S),X=H.slice(I,Y),K=Math.min(I,H.lastIndexOf(`
|
|
65
|
+
`,I)+1),ce=H.slice(K,I).match(/^\s*/)[0],we=p(ce,W.tabWidth),ye=J(X,Object.assign(Object.assign({},W),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:W.cursorOffset>I&&W.cursorOffset<=Y?W.cursorOffset-I:-1,endOfLine:"lf"}),we),Be=ye.formatted.trimEnd(),{cursorOffset:ke}=W;ke>Y?ke+=Be.length-X.length:ye.cursorOffset>=0&&(ke=ye.cursorOffset+I);let Ee=H.slice(0,I)+Be+H.slice(Y);if(W.endOfLine!=="lf"){let qe=D(W.endOfLine);ke>=0&&qe===`\r
|
|
66
|
+
`&&(ke+=w(Ee.slice(0,ke),`
|
|
67
|
+
`)),Ee=Ee.replace(/\n/g,qe)}return{formatted:Ee,cursorOffset:ke,comments:ye.comments}}function oe(O,W,S){return typeof W!="number"||Number.isNaN(W)||W<0||W>O.length?S:W}function ie(O,W){let{cursorOffset:S,rangeStart:H,rangeEnd:I}=W;return S=oe(O,S,-1),H=oe(O,H,0),I=oe(O,I,O.length),Object.assign(Object.assign({},W),{},{cursorOffset:S,rangeStart:H,rangeEnd:I})}function se(O,W){let{cursorOffset:S,rangeStart:H,rangeEnd:I,endOfLine:Y}=ie(O,W),X=O.charAt(0)===re;if(X&&(O=O.slice(1),S--,H--,I--),Y==="auto"&&(Y=d(O)),O.includes("\r")){let K=ce=>w(O.slice(0,Math.max(ce,0)),`\r
|
|
68
|
+
`);S-=K(S),H-=K(H),I-=K(I),O=k(O)}return{hasBOM:X,text:O,options:ie(O,Object.assign(Object.assign({},W),{},{cursorOffset:S,rangeStart:H,rangeEnd:I,endOfLine:Y}))}}function z(O,W){let S=T.resolveParser(W);return!S.hasPragma||S.hasPragma(O)}function B(O,W){let{hasBOM:S,text:H,options:I}=se(O,R(W));if(I.rangeStart>=I.rangeEnd&&H!==""||I.requirePragma&&!z(H,I))return{formatted:O,cursorOffset:W.cursorOffset,comments:[]};let Y;return I.rangeStart>0||I.rangeEnd<H.length?Y=ee(H,I):(!I.requirePragma&&I.insertPragma&&I.printer.insertPragma&&!z(H,I)&&(H=I.printer.insertPragma(H)),Y=J(H,I)),S&&(Y.formatted=re+Y.formatted,Y.cursorOffset>=0&&Y.cursorOffset++),Y}A.exports={formatWithCursor:B,parse(O,W,S){let{text:H,options:I}=se(O,R(W)),Y=T.parse(H,I);return S&&(Y.ast=P(Y.ast,I)),Y},formatAST(O,W){W=R(W);let S=N(O,W);return C(S,W)},formatDoc(O,W){return B(x(O),Object.assign(Object.assign({},W),{},{parser:"__js_expression"})).formatted},printToDoc(O,W){W=R(W);let{ast:S,text:H}=T.parse(O,W);return $(H,S,W),N(S,W)},printDocToString(O,W){return C(O,R(W))}}}}),Es=Oe({"src/common/util-shared.js"(m,A){b();var{getMaxContinuousCount:h,getStringWidth:C,getAlignmentSize:x,getIndentSize:p,skip:d,skipWhitespace:D,skipSpaces:w,skipNewline:k,skipToLineEnd:R,skipEverythingButNewLine:P,skipInlineComment:M,skipTrailingComment:T,hasNewline:N,hasNewlineInRange:j,hasSpaces:re,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:J,getNextNonSpaceNonCommentCharacterIndex:ee,makeString:oe,addLeadingComment:ie,addDanglingComment:se,addTrailingComment:z}=jn();A.exports={getMaxContinuousCount:h,getStringWidth:C,getAlignmentSize:x,getIndentSize:p,skip:d,skipWhitespace:D,skipSpaces:w,skipNewline:k,skipToLineEnd:R,skipEverythingButNewLine:P,skipInlineComment:M,skipTrailingComment:T,hasNewline:N,hasNewlineInRange:j,hasSpaces:re,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:$,isPreviousLineEmpty:J,getNextNonSpaceNonCommentCharacterIndex:ee,makeString:oe,addLeadingComment:ie,addDanglingComment:se,addTrailingComment:z}}}),Io=Oe({"src/utils/create-language.js"(m,A){b(),A.exports=function(h,C){let{languageId:x}=h,p=Vr(h,Ot);return Object.assign(Object.assign({linguistLanguageId:x},p),C(h))}}}),Uu=Oe({"node_modules/esutils/lib/ast.js"(m,A){b(),function(){function h(w){if(w==null)return!1;switch(w.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 C(w){if(w==null)return!1;switch(w.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function x(w){if(w==null)return!1;switch(w.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 p(w){return x(w)||w!=null&&w.type==="FunctionDeclaration"}function d(w){switch(w.type){case"IfStatement":return w.alternate!=null?w.alternate:w.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return w.body}return null}function D(w){var k;if(w.type!=="IfStatement"||w.alternate==null)return!1;k=w.consequent;do{if(k.type==="IfStatement"&&k.alternate==null)return!0;k=d(k)}while(k);return!1}A.exports={isExpression:h,isStatement:x,isIterationStatement:C,isSourceElement:p,isProblematicIfStatement:D,trailingStatement:d}}()}}),Vu=Oe({"node_modules/esutils/lib/code.js"(m,A){b(),function(){var h,C,x,p,d,D;C={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 w($){return 48<=$&&$<=57}function k($){return 48<=$&&$<=57||97<=$&&$<=102||65<=$&&$<=70}function R($){return $>=48&&$<=55}x=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function P($){return $===32||$===9||$===11||$===12||$===160||$>=5760&&x.indexOf($)>=0}function M($){return $===10||$===13||$===8232||$===8233}function T($){if($<=65535)return String.fromCharCode($);var J=String.fromCharCode(Math.floor(($-65536)/1024)+55296),ee=String.fromCharCode(($-65536)%1024+56320);return J+ee}for(p=new Array(128),D=0;D<128;++D)p[D]=D>=97&&D<=122||D>=65&&D<=90||D===36||D===95;for(d=new Array(128),D=0;D<128;++D)d[D]=D>=97&&D<=122||D>=65&&D<=90||D>=48&&D<=57||D===36||D===95;function N($){return $<128?p[$]:C.NonAsciiIdentifierStart.test(T($))}function j($){return $<128?d[$]:C.NonAsciiIdentifierPart.test(T($))}function re($){return $<128?p[$]:h.NonAsciiIdentifierStart.test(T($))}function ne($){return $<128?d[$]:h.NonAsciiIdentifierPart.test(T($))}A.exports={isDecimalDigit:w,isHexDigit:k,isOctalDigit:R,isWhiteSpace:P,isLineTerminator:M,isIdentifierStartES5:N,isIdentifierPartES5:j,isIdentifierStartES6:re,isIdentifierPartES6:ne}}()}}),qu=Oe({"node_modules/esutils/lib/keyword.js"(m,A){b(),function(){var h=Vu();function C(N){switch(N){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function x(N,j){return!j&&N==="yield"?!1:p(N,j)}function p(N,j){if(j&&C(N))return!0;switch(N.length){case 2:return N==="if"||N==="in"||N==="do";case 3:return N==="var"||N==="for"||N==="new"||N==="try";case 4:return N==="this"||N==="else"||N==="case"||N==="void"||N==="with"||N==="enum";case 5:return N==="while"||N==="break"||N==="catch"||N==="throw"||N==="const"||N==="yield"||N==="class"||N==="super";case 6:return N==="return"||N==="typeof"||N==="delete"||N==="switch"||N==="export"||N==="import";case 7:return N==="default"||N==="finally"||N==="extends";case 8:return N==="function"||N==="continue"||N==="debugger";case 10:return N==="instanceof";default:return!1}}function d(N,j){return N==="null"||N==="true"||N==="false"||x(N,j)}function D(N,j){return N==="null"||N==="true"||N==="false"||p(N,j)}function w(N){return N==="eval"||N==="arguments"}function k(N){var j,re,ne;if(N.length===0||(ne=N.charCodeAt(0),!h.isIdentifierStartES5(ne)))return!1;for(j=1,re=N.length;j<re;++j)if(ne=N.charCodeAt(j),!h.isIdentifierPartES5(ne))return!1;return!0}function R(N,j){return(N-55296)*1024+(j-56320)+65536}function P(N){var j,re,ne,$,J;if(N.length===0)return!1;for(J=h.isIdentifierStartES6,j=0,re=N.length;j<re;++j){if(ne=N.charCodeAt(j),55296<=ne&&ne<=56319){if(++j,j>=re||($=N.charCodeAt(j),!(56320<=$&&$<=57343)))return!1;ne=R(ne,$)}if(!J(ne))return!1;J=h.isIdentifierPartES6}return!0}function M(N,j){return k(N)&&!d(N,j)}function T(N,j){return P(N)&&!D(N,j)}A.exports={isKeywordES5:x,isKeywordES6:p,isReservedWordES5:d,isReservedWordES6:D,isRestrictedWord:w,isIdentifierNameES5:k,isIdentifierNameES6:P,isIdentifierES5:M,isIdentifierES6:T}}()}}),ws=Oe({"node_modules/esutils/lib/utils.js"(m){b(),function(){m.ast=Uu(),m.code=Vu(),m.keyword=qu()}()}}),go=Oe({"src/language-js/utils/is-block-comment.js"(m,A){b();var h=new Set(["Block","CommentBlock","MultiLine"]),C=x=>h.has(x==null?void 0:x.type);A.exports=C}}),qi=Oe({"src/language-js/utils/is-node-matches.js"(m,A){b();function h(x,p){let d=p.split(".");for(let D=d.length-1;D>=0;D--){let w=d[D];if(D===0)return x.type==="Identifier"&&x.name===w;if(x.type!=="MemberExpression"||x.optional||x.computed||x.property.type!=="Identifier"||x.property.name!==w)return!1;x=x.object}}function C(x,p){return p.some(d=>h(x,d))}A.exports=C}}),qn=Oe({"src/language-js/utils/index.js"(m,A){b();var h=ws().keyword.isIdentifierNameES5,{getLast:C,hasNewline:x,skipWhitespace:p,isNonEmptyArray:d,isNextLineEmptyAfterIndex:D,getStringWidth:w}=jn(),{locStart:k,locEnd:R,hasSameLocStart:P}=Ci(),M=go(),T=qi(),N="(?:(?=.)\\s)",j=new RegExp("^".concat(N,"*:")),re=new RegExp("^".concat(N,"*::"));function ne(De){var yt,xr;return((yt=De.extra)===null||yt===void 0?void 0:yt.parenthesized)&&M((xr=De.trailingComments)===null||xr===void 0?void 0:xr[0])&&j.test(De.trailingComments[0].value)}function $(De){let yt=De==null?void 0:De[0];return M(yt)&&re.test(yt.value)}function J(De,yt){if(!De||typeof De!="object")return!1;if(Array.isArray(De))return De.some(pn=>J(pn,yt));let xr=yt(De);return typeof xr=="boolean"?xr:Object.values(De).some(pn=>J(pn,yt))}function ee(De){return De.type==="AssignmentExpression"||De.type==="BinaryExpression"||De.type==="LogicalExpression"||De.type==="NGPipeExpression"||De.type==="ConditionalExpression"||Dt(De)||Nt(De)||De.type==="SequenceExpression"||De.type==="TaggedTemplateExpression"||De.type==="BindExpression"||De.type==="UpdateExpression"&&!De.prefix||De.type==="TSAsExpression"||De.type==="TSNonNullExpression"}function oe(De){var yt,xr,pn,hn,Wn,Xn;return De.expressions?De.expressions[0]:(yt=(xr=(pn=(hn=(Wn=(Xn=De.left)!==null&&Xn!==void 0?Xn:De.test)!==null&&Wn!==void 0?Wn:De.callee)!==null&&hn!==void 0?hn:De.object)!==null&&pn!==void 0?pn:De.tag)!==null&&xr!==void 0?xr:De.argument)!==null&&yt!==void 0?yt:De.expression}function ie(De,yt){if(yt.expressions)return["expressions",0];if(yt.left)return["left"];if(yt.test)return["test"];if(yt.object)return["object"];if(yt.callee)return["callee"];if(yt.tag)return["tag"];if(yt.argument)return["argument"];if(yt.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function se(De){return De=new Set(De),yt=>De.has(yt==null?void 0:yt.type)}var z=se(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),B=se(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function O(De){let yt=De.getParentNode();return De.getName()==="declaration"&&B(yt)?yt:null}var W=se(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function S(De){return De.type==="NumericLiteral"||De.type==="Literal"&&typeof De.value=="number"}function H(De){return De.type==="UnaryExpression"&&(De.operator==="+"||De.operator==="-")&&S(De.argument)}function I(De){return De.type==="StringLiteral"||De.type==="Literal"&&typeof De.value=="string"}var Y=se(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),X=se(["FunctionExpression","ArrowFunctionExpression"]);function K(De){return De.type==="FunctionExpression"||De.type==="ArrowFunctionExpression"&&De.body.type==="BlockStatement"}function ce(De){return Dt(De)&&De.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(De.callee.name)}var we=se(["JSXElement","JSXFragment"]);function ye(De,yt){if(De.parentParser!=="markdown"&&De.parentParser!=="mdx")return!1;let xr=yt.getNode();if(!xr.expression||!we(xr.expression))return!1;let pn=yt.getParentNode();return pn.type==="Program"&&pn.body.length===1}function Be(De){return De.kind==="get"||De.kind==="set"}function ke(De){return Be(De)||P(De,De.value)}function Ee(De){return(De.type==="ObjectTypeProperty"||De.type==="ObjectTypeInternalSlot")&&De.value.type==="FunctionTypeAnnotation"&&!De.static&&!ke(De)}function qe(De){return(De.type==="TypeAnnotation"||De.type==="TSTypeAnnotation")&&De.typeAnnotation.type==="FunctionTypeAnnotation"&&!De.static&&!P(De,De.typeAnnotation)}var Se=se(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Te(De){return Nt(De)||De.type==="BindExpression"&&Boolean(De.object)}var Ge=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 Qe(De){return De?!!((De.type==="GenericTypeAnnotation"||De.type==="TSTypeReference")&&!De.typeParameters||Ge.has(De.type)):!1}function Xe(De){let yt=/^(?:before|after)(?:Each|All)$/;return De.callee.type==="Identifier"&&yt.test(De.callee.name)&&De.arguments.length===1}var At=["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 Fe(De){return T(De,At)}function Me(De,yt){if(De.type!=="CallExpression")return!1;if(De.arguments.length===1){if(ce(De)&&yt&&Me(yt))return X(De.arguments[0]);if(Xe(De))return ce(De.arguments[0])}else if((De.arguments.length===2||De.arguments.length===3)&&(De.arguments[0].type==="TemplateLiteral"||I(De.arguments[0]))&&Fe(De.callee))return De.arguments[2]&&!S(De.arguments[2])?!1:(De.arguments.length===2?X(De.arguments[1]):K(De.arguments[1])&&he(De.arguments[1]).length<=1)||ce(De.arguments[1]);return!1}var Dt=se(["CallExpression","OptionalCallExpression"]),Nt=se(["MemberExpression","OptionalMemberExpression"]);function mt(De){let yt="expressions";De.type==="TSTemplateLiteralType"&&(yt="types");let xr=De[yt];return xr.length===0?!1:xr.every(pn=>{if(Ve(pn))return!1;if(pn.type==="Identifier"||pn.type==="ThisExpression")return!0;if(Nt(pn)){let hn=pn;for(;Nt(hn);)if(hn.property.type!=="Identifier"&&hn.property.type!=="Literal"&&hn.property.type!=="StringLiteral"&&hn.property.type!=="NumericLiteral"||(hn=hn.object,Ve(hn)))return!1;return hn.type==="Identifier"||hn.type==="ThisExpression"}return!1})}function Ie(De,yt){return De==="+"||De==="-"?De+yt:yt}function Re(De,yt){let xr=k(yt),pn=p(De,R(yt));return pn!==!1&&De.slice(xr,xr+2)==="/*"&&De.slice(pn,pn+2)==="*/"}function He(De,yt){return we(yt)?er(yt):Ve(yt,Mt.Leading,xr=>x(De,R(xr)))}function Et(De,yt){return yt.parser!=="json"&&I(De.key)&&rr(De.key).slice(1,-1)===De.key.value&&(h(De.key.value)&&!(yt.parser==="babel-ts"&&De.type==="ClassProperty"||yt.parser==="typescript"&&De.type==="PropertyDefinition")||gt(De.key.value)&&String(Number(De.key.value))===De.key.value&&(yt.parser==="babel"||yt.parser==="acorn"||yt.parser==="espree"||yt.parser==="meriyah"||yt.parser==="__babel_estree"))}function gt(De){return/^(?:\d+|\d+\.\d+)$/.test(De)}function ur(De,yt){let xr=/^[fx]?(?:describe|it|test)$/;return yt.type==="TaggedTemplateExpression"&&yt.quasi===De&&yt.tag.type==="MemberExpression"&&yt.tag.property.type==="Identifier"&&yt.tag.property.name==="each"&&(yt.tag.object.type==="Identifier"&&xr.test(yt.tag.object.name)||yt.tag.object.type==="MemberExpression"&&yt.tag.object.property.type==="Identifier"&&(yt.tag.object.property.name==="only"||yt.tag.object.property.name==="skip")&&yt.tag.object.object.type==="Identifier"&&xr.test(yt.tag.object.object.name))}function Ur(De){return De.quasis.some(yt=>yt.value.raw.includes(`
|
|
69
|
+
`))}function Yr(De,yt){return(De.type==="TemplateLiteral"&&Ur(De)||De.type==="TaggedTemplateExpression"&&Ur(De.quasi))&&!x(yt,k(De),{backwards:!0})}function Ft(De){if(!Ve(De))return!1;let yt=C(wr(De,Mt.Dangling));return yt&&!M(yt)}function St(De){if(De.length<=1)return!1;let yt=0;for(let xr of De)if(X(xr)){if(yt+=1,yt>1)return!0}else if(Dt(xr)){for(let pn of xr.arguments)if(X(pn))return!0}return!1}function Lt(De){let yt=De.getValue(),xr=De.getParentNode();return Dt(yt)&&Dt(xr)&&xr.callee===yt&&yt.arguments.length>xr.arguments.length&&xr.arguments.length>0}function tt(De,yt){if(yt>=2)return!1;let xr=hn=>tt(hn,yt+1),pn=De.type==="Literal"&&"regex"in De&&De.regex.pattern||De.type==="RegExpLiteral"&&De.pattern;return pn&&w(pn)>5?!1:De.type==="Literal"||De.type==="BigIntLiteral"||De.type==="DecimalLiteral"||De.type==="BooleanLiteral"||De.type==="NullLiteral"||De.type==="NumericLiteral"||De.type==="RegExpLiteral"||De.type==="StringLiteral"||De.type==="Identifier"||De.type==="ThisExpression"||De.type==="Super"||De.type==="PrivateName"||De.type==="PrivateIdentifier"||De.type==="ArgumentPlaceholder"||De.type==="Import"?!0:De.type==="TemplateLiteral"?De.quasis.every(hn=>!hn.value.raw.includes(`
|
|
70
|
+
`))&&De.expressions.every(xr):De.type==="ObjectExpression"?De.properties.every(hn=>!hn.computed&&(hn.shorthand||hn.value&&xr(hn.value))):De.type==="ArrayExpression"?De.elements.every(hn=>hn===null||xr(hn)):on(De)?(De.type==="ImportExpression"||tt(De.callee,yt))&&Ct(De).every(xr):Nt(De)?tt(De.object,yt)&&tt(De.property,yt):De.type==="UnaryExpression"&&(De.operator==="!"||De.operator==="-")?tt(De.argument,yt):De.type==="TSNonNullExpression"?tt(De.expression,yt):!1}function rr(De){var yt,xr;return(yt=(xr=De.extra)===null||xr===void 0?void 0:xr.raw)!==null&&yt!==void 0?yt:De.raw}function $e(De){return De}function Kt(De){return De.filepath&&/\.tsx$/i.test(De.filepath)}function qt(De){let yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return De.trailingComma==="es5"&&yt==="es5"||De.trailingComma==="all"&&(yt==="all"||yt==="es5")}function e(De,yt){switch(De=y(De),De.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return yt;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(De.object,yt);case"TaggedTemplateExpression":return De.tag.type==="FunctionExpression"?!1:e(De.tag,yt);case"CallExpression":case"OptionalCallExpression":return De.callee.type==="FunctionExpression"?!1:e(De.callee,yt);case"ConditionalExpression":return e(De.test,yt);case"UpdateExpression":return!De.prefix&&e(De.argument,yt);case"BindExpression":return De.object&&e(De.object,yt);case"SequenceExpression":return e(De.expressions[0],yt);case"TSAsExpression":case"TSNonNullExpression":return e(De.expression,yt);default:return!1}}var t={"==":!0,"!=":!0,"===":!0,"!==":!0},o={"*":!0,"/":!0,"%":!0},i={">>":!0,">>>":!0,"<<":!0};function n(De,yt){return!(c(yt)!==c(De)||De==="**"||t[De]&&t[yt]||yt==="%"&&o[De]||De==="%"&&o[yt]||yt!==De&&o[yt]&&o[De]||i[De]&&i[yt])}var u=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((De,yt)=>De.map(xr=>[xr,yt])));function c(De){return u.get(De)}function y(De){for(;De.left;)De=De.left;return De}function _(De){return Boolean(i[De])||De==="|"||De==="^"||De==="&"}function L(De){var yt;if(De.rest)return!0;let xr=he(De);return((yt=C(xr))===null||yt===void 0?void 0:yt.type)==="RestElement"}var ve=new WeakMap;function he(De){if(ve.has(De))return ve.get(De);let yt=[];return De.this&&yt.push(De.this),Array.isArray(De.parameters)?yt.push(...De.parameters):Array.isArray(De.params)&&yt.push(...De.params),De.rest&&yt.push(De.rest),ve.set(De,yt),yt}function Ze(De,yt){let xr=De.getValue(),pn=0,hn=Wn=>yt(Wn,pn++);xr.this&&De.call(hn,"this"),Array.isArray(xr.parameters)?De.each(hn,"parameters"):Array.isArray(xr.params)&&De.each(hn,"params"),xr.rest&&De.call(hn,"rest")}var Le=new WeakMap;function Ct(De){if(Le.has(De))return Le.get(De);let yt=De.arguments;return De.type==="ImportExpression"&&(yt=[De.source],De.attributes&&yt.push(De.attributes)),Le.set(De,yt),yt}function lt(De,yt){let xr=De.getValue();xr.type==="ImportExpression"?(De.call(pn=>yt(pn,0),"source"),xr.attributes&&De.call(pn=>yt(pn,1),"attributes")):De.each(yt,"arguments")}function _t(De){return De.value.trim()==="prettier-ignore"&&!De.unignore}function er(De){return De&&(De.prettierIgnore||Ve(De,Mt.PrettierIgnore))}function wt(De){let yt=De.getValue();return er(yt)}var Mt={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},ir=(De,yt)=>{if(typeof De=="function"&&(yt=De,De=0),De||yt)return(xr,pn,hn)=>!(De&Mt.Leading&&!xr.leading||De&Mt.Trailing&&!xr.trailing||De&Mt.Dangling&&(xr.leading||xr.trailing)||De&Mt.Block&&!M(xr)||De&Mt.Line&&!z(xr)||De&Mt.First&&pn!==0||De&Mt.Last&&pn!==hn.length-1||De&Mt.PrettierIgnore&&!_t(xr)||yt&&!yt(xr))};function Ve(De,yt,xr){if(!d(De==null?void 0:De.comments))return!1;let pn=ir(yt,xr);return pn?De.comments.some(pn):!0}function wr(De,yt,xr){if(!Array.isArray(De==null?void 0:De.comments))return[];let pn=ir(yt,xr);return pn?De.comments.filter(pn):De.comments}var Pr=(De,yt)=>{let{originalText:xr}=yt;return D(xr,R(De))};function on(De){return Dt(De)||De.type==="NewExpression"||De.type==="ImportExpression"}function ti(De){return De&&(De.type==="ObjectProperty"||De.type==="Property"&&!De.method&&De.kind==="init")}function Hn(De){return Boolean(De.__isUsingHackPipeline)}var Ai=Symbol("ifWithoutBlockAndSameLineComment");A.exports={getFunctionParameters:he,iterateFunctionParametersPath:Ze,getCallArguments:Ct,iterateCallArgumentsPath:lt,hasRestParameter:L,getLeftSide:oe,getLeftSidePathName:ie,getParentExportDeclaration:O,getTypeScriptMappedTypeModifier:Ie,hasFlowAnnotationComment:$,hasFlowShorthandAnnotationComment:ne,hasLeadingOwnLineComment:He,hasNakedLeftSide:ee,hasNode:J,hasIgnoreComment:wt,hasNodeIgnoreComment:er,identity:$e,isBinaryish:Se,isCallLikeExpression:on,isEnabledHackPipeline:Hn,isLineComment:z,isPrettierIgnoreComment:_t,isCallExpression:Dt,isMemberExpression:Nt,isExportDeclaration:B,isFlowAnnotationComment:Re,isFunctionCompositionArgs:St,isFunctionNotation:ke,isFunctionOrArrowExpression:X,isGetterOrSetter:Be,isJestEachTemplateLiteral:ur,isJsxNode:we,isLiteral:W,isLongCurriedCallExpression:Lt,isSimpleCallArgument:tt,isMemberish:Te,isNumericLiteral:S,isSignedNumericLiteral:H,isObjectProperty:ti,isObjectType:Y,isObjectTypePropertyAFunction:Ee,isSimpleType:Qe,isSimpleNumber:gt,isSimpleTemplateLiteral:mt,isStringLiteral:I,isStringPropSafeToUnquote:Et,isTemplateOnItsOwnLine:Yr,isTestCall:Me,isTheOnlyJsxElementInMarkdown:ye,isTSXFile:Kt,isTypeAnnotationAFunction:qe,isNextLineEmpty:Pr,needsHardlineAfterDanglingComment:Ft,rawText:rr,shouldPrintComma:qt,isBitwiseOperator:_,shouldFlatten:n,startsWithNoLookaheadToken:e,getPrecedence:c,hasComment:Ve,getComments:wr,CommentCheckFlags:Mt,markerForIfWithoutBlockAndSameLineComment:Ai}}}),lo=Oe({"src/language-js/print/template-literal.js"(m,A){b();var h=Rn(),{getStringWidth:C,getIndentSize:x}=jn(),{builders:{join:p,hardline:d,softline:D,group:w,indent:k,align:R,lineSuffixBoundary:P,addAlignmentToDoc:M},printer:{printDocToString:T},utils:{mapDoc:N}}=bn(),{isBinaryish:j,isJestEachTemplateLiteral:re,isSimpleTemplateLiteral:ne,hasComment:$,isMemberExpression:J}=qn();function ee(O,W,S){let H=O.getValue();if(H.type==="TemplateLiteral"&&re(H,O.getParentNode())){let ce=oe(O,S,W);if(ce)return ce}let I="expressions";H.type==="TSTemplateLiteralType"&&(I="types");let Y=[],X=O.map(W,I),K=ne(H);return K&&(X=X.map(ce=>T(ce,Object.assign(Object.assign({},S),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),Y.push(P,"`"),O.each(ce=>{let we=ce.getName();if(Y.push(W()),we<X.length){let{tabWidth:ye}=S,Be=ce.getValue(),ke=x(Be.value.raw,ye),Ee=X[we];if(!K){let Se=H[I][we];($(Se)||J(Se)||Se.type==="ConditionalExpression"||Se.type==="SequenceExpression"||Se.type==="TSAsExpression"||j(Se))&&(Ee=[k([D,Ee]),D])}let qe=ke===0&&Be.value.raw.endsWith(`
|
|
71
|
+
`)?R(Number.NEGATIVE_INFINITY,Ee):M(Ee,ke,ye);Y.push(w(["${",qe,P,"}"]))}},"quasis"),Y.push("`"),Y}function oe(O,W,S){let H=O.getNode(),I=H.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(I.length>1||I.some(Y=>Y.length>0)){W.__inJestEach=!0;let Y=O.map(S,"expressions");W.__inJestEach=!1;let X=[],K=Y.map(ke=>"${"+T(ke,Object.assign(Object.assign({},W),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),ce=[{hasLineBreak:!1,cells:[]}];for(let ke=1;ke<H.quasis.length;ke++){let Ee=h(ce),qe=K[ke-1];Ee.cells.push(qe),qe.includes(`
|
|
72
|
+
`)&&(Ee.hasLineBreak=!0),H.quasis[ke].value.raw.includes(`
|
|
73
|
+
`)&&ce.push({hasLineBreak:!1,cells:[]})}let we=Math.max(I.length,...ce.map(ke=>ke.cells.length)),ye=Array.from({length:we}).fill(0),Be=[{cells:I},...ce.filter(ke=>ke.cells.length>0)];for(let{cells:ke}of Be.filter(Ee=>!Ee.hasLineBreak))for(let[Ee,qe]of ke.entries())ye[Ee]=Math.max(ye[Ee],C(qe));return X.push(P,"`",k([d,p(d,Be.map(ke=>p(" | ",ke.cells.map((Ee,qe)=>ke.hasLineBreak?Ee:Ee+" ".repeat(ye[qe]-C(Ee))))))]),d,"`"),X}}function ie(O,W){let S=O.getValue(),H=W();return $(S)&&(H=w([k([D,H]),D])),["${",H,P,"}"]}function se(O,W){return O.map(S=>ie(S,W),"expressions")}function z(O,W){return N(O,S=>typeof S=="string"?W?S.replace(/(\\*)`/g,"$1$1\\`"):B(S):S)}function B(O){return O.replace(/([\\`]|\${)/g,"\\$1")}A.exports={printTemplateLiteral:ee,printTemplateExpressions:se,escapeTemplateCharacters:z,uncookTemplateElementValue:B}}}),Ga=Oe({"src/language-js/embed/markdown.js"(m,A){b();var{builders:{indent:h,softline:C,literalline:x,dedentToRoot:p}}=bn(),{escapeTemplateCharacters:d}=lo();function D(k,R,P){let M=k.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(re,ne)=>"\\".repeat(ne.length/2)+"`"),T=w(M),N=T!=="";N&&(M=M.replace(new RegExp("^".concat(T),"gm"),""));let j=d(P(M,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",N?h([C,j]):[x,p(j)],C,"`"]}function w(k){let R=k.match(/^([^\S\n]*)\S/m);return R===null?"":R[1]}A.exports=D}}),kl=Oe({"src/language-js/embed/css.js"(m,A){b();var{isNonEmptyArray:h}=jn(),{builders:{indent:C,hardline:x,softline:p},utils:{mapDoc:d,replaceEndOfLine:D,cleanDoc:w}}=bn(),{printTemplateExpressions:k}=lo();function R(T,N,j){let re=T.getValue(),ne=re.quasis.map(ie=>ie.value.raw),$=0,J=ne.reduce((ie,se,z)=>z===0?se:ie+"@prettier-placeholder-"+$+++"-id"+se,""),ee=j(J,{parser:"scss"},{stripTrailingHardline:!0}),oe=k(T,N);return P(ee,re,oe)}function P(T,N,j){if(N.quasis.length===1&&!N.quasis[0].value.raw.trim())return"``";let re=M(T,j);if(!re)throw new Error("Couldn't insert all the expressions");return["`",C([x,re]),p,"`"]}function M(T,N){if(!h(N))return T;let j=0,re=d(w(T),ne=>typeof ne!="string"||!ne.includes("@prettier-placeholder")?ne:ne.split(/@prettier-placeholder-(\d+)-id/).map(($,J)=>J%2===0?D($):(j++,N[$])));return N.length===j?re:null}A.exports=R}}),Ju=Oe({"src/language-js/embed/graphql.js"(m,A){b();var{builders:{indent:h,join:C,hardline:x}}=bn(),{escapeTemplateCharacters:p,printTemplateExpressions:d}=lo();function D(k,R,P){let M=k.getValue(),T=M.quasis.length;if(T===1&&M.quasis[0].value.raw.trim()==="")return"``";let N=d(k,R),j=[];for(let re=0;re<T;re++){let ne=M.quasis[re],$=re===0,J=re===T-1,ee=ne.value.cooked,oe=ee.split(`
|
|
74
|
+
`),ie=oe.length,se=N[re],z=ie>2&&oe[0].trim()===""&&oe[1].trim()==="",B=ie>2&&oe[ie-1].trim()===""&&oe[ie-2].trim()==="",O=oe.every(S=>/^\s*(?:#[^\n\r]*)?$/.test(S));if(!J&&/#[^\n\r]*$/.test(oe[ie-1]))return null;let W=null;O?W=w(oe):W=P(ee,{parser:"graphql"},{stripTrailingHardline:!0}),W?(W=p(W,!1),!$&&z&&j.push(""),j.push(W),!J&&B&&j.push("")):!$&&!J&&z&&j.push(""),se&&j.push(se)}return["`",h([x,C(x,j)]),x,"`"]}function w(k){let R=[],P=!1,M=k.map(T=>T.trim());for(let[T,N]of M.entries())N!==""&&(M[T-1]===""&&P?R.push([x,N]):R.push(N),P=!0);return R.length===0?null:C(x,R)}A.exports=D}}),is=Oe({"src/language-js/embed/html.js"(m,A){b();var{builders:{indent:h,line:C,hardline:x,group:p},utils:{mapDoc:d}}=bn(),{printTemplateExpressions:D,uncookTemplateElementValue:w}=lo(),k=0;function R(P,M,T,N,j){let{parser:re}=j,ne=P.getValue(),$=k;k=k+1>>>0;let J=H=>"PRETTIER_HTML_PLACEHOLDER_".concat(H,"_").concat($,"_IN_JS"),ee=ne.quasis.map((H,I,Y)=>I===Y.length-1?H.value.cooked:H.value.cooked+J(I)).join(""),oe=D(P,M);if(oe.length===0&&ee.trim().length===0)return"``";let ie=new RegExp(J("(\\d+)"),"g"),se=0,z=T(ee,{parser:re,__onHtmlRoot(H){se=H.children.length}},{stripTrailingHardline:!0}),B=d(z,H=>{if(typeof H!="string")return H;let I=[],Y=H.split(ie);for(let X=0;X<Y.length;X++){let K=Y[X];if(X%2===0){K&&(K=w(K),N.__embeddedInHtml&&(K=K.replace(/<\/(script)\b/gi,"<\\/$1")),I.push(K));continue}let ce=Number(K);I.push(oe[ce])}return I}),O=/^\s/.test(ee)?" ":"",W=/\s$/.test(ee)?" ":"",S=N.htmlWhitespaceSensitivity==="ignore"?x:O&&W?C:null;return p(S?["`",h([S,p(B)]),S,"`"]:["`",O,se>1?h(p(B)):p(B),W,"`"])}A.exports=R}}),Xa=Oe({"src/language-js/embed.js"(m,A){b();var{hasComment:h,CommentCheckFlags:C,isObjectProperty:x}=qn(),p=Ga(),d=kl(),D=Ju(),w=is();function k(z){if(M(z)||re(z)||ne(z)||T(z))return"css";if(ee(z))return"graphql";if(ie(z))return"html";if(N(z))return"angular";if(P(z))return"markdown"}function R(z,B,O,W){let S=z.getValue();if(S.type!=="TemplateLiteral"||se(S))return;let H=k(z);if(H){if(H==="markdown")return p(z,B,O);if(H==="css")return d(z,B,O);if(H==="graphql")return D(z,B,O);if(H==="html"||H==="angular")return w(z,B,O,W,{parser:H})}}function P(z){let B=z.getValue(),O=z.getParentNode();return O&&O.type==="TaggedTemplateExpression"&&B.quasis.length===1&&O.tag.type==="Identifier"&&(O.tag.name==="md"||O.tag.name==="markdown")}function M(z){let B=z.getValue(),O=z.getParentNode(),W=z.getParentNode(1);return W&&B.quasis&&O.type==="JSXExpressionContainer"&&W.type==="JSXElement"&&W.openingElement.name.name==="style"&&W.openingElement.attributes.some(S=>S.name.name==="jsx")||O&&O.type==="TaggedTemplateExpression"&&O.tag.type==="Identifier"&&O.tag.name==="css"||O&&O.type==="TaggedTemplateExpression"&&O.tag.type==="MemberExpression"&&O.tag.object.name==="css"&&(O.tag.property.name==="global"||O.tag.property.name==="resolve")}function T(z){return z.match(B=>B.type==="TemplateLiteral",(B,O)=>B.type==="ArrayExpression"&&O==="elements",(B,O)=>x(B)&&B.key.type==="Identifier"&&B.key.name==="styles"&&O==="value",...j)}function N(z){return z.match(B=>B.type==="TemplateLiteral",(B,O)=>x(B)&&B.key.type==="Identifier"&&B.key.name==="template"&&O==="value",...j)}var j=[(z,B)=>z.type==="ObjectExpression"&&B==="properties",(z,B)=>z.type==="CallExpression"&&z.callee.type==="Identifier"&&z.callee.name==="Component"&&B==="arguments",(z,B)=>z.type==="Decorator"&&B==="expression"];function re(z){let B=z.getParentNode();if(!B||B.type!=="TaggedTemplateExpression")return!1;let O=B.tag.type==="ParenthesizedExpression"?B.tag.expression:B.tag;switch(O.type){case"MemberExpression":return $(O.object)||J(O);case"CallExpression":return $(O.callee)||O.callee.type==="MemberExpression"&&(O.callee.object.type==="MemberExpression"&&($(O.callee.object.object)||J(O.callee.object))||O.callee.object.type==="CallExpression"&&$(O.callee.object.callee));case"Identifier":return O.name==="css";default:return!1}}function ne(z){let B=z.getParentNode(),O=z.getParentNode(1);return O&&B.type==="JSXExpressionContainer"&&O.type==="JSXAttribute"&&O.name.type==="JSXIdentifier"&&O.name.name==="css"}function $(z){return z.type==="Identifier"&&z.name==="styled"}function J(z){return/^[A-Z]/.test(z.object.name)&&z.property.name==="extend"}function ee(z){let B=z.getValue(),O=z.getParentNode();return oe(B,"GraphQL")||O&&(O.type==="TaggedTemplateExpression"&&(O.tag.type==="MemberExpression"&&O.tag.object.name==="graphql"&&O.tag.property.name==="experimental"||O.tag.type==="Identifier"&&(O.tag.name==="gql"||O.tag.name==="graphql"))||O.type==="CallExpression"&&O.callee.type==="Identifier"&&O.callee.name==="graphql")}function oe(z,B){return h(z,C.Block|C.Leading,O=>{let{value:W}=O;return W===" ".concat(B," ")})}function ie(z){return oe(z.getValue(),"HTML")||z.match(B=>B.type==="TemplateLiteral",(B,O)=>B.type==="TaggedTemplateExpression"&&B.tag.type==="Identifier"&&B.tag.name==="html"&&O==="quasi")}function se(z){let{quasis:B}=z;return B.some(O=>{let{value:{cooked:W}}=O;return W===null})}A.exports=R}}),ua=Oe({"src/language-js/clean.js"(m,A){b();var h=go(),C=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),x=d=>{for(let D of d.quasis)delete D.value};function p(d,D,w){if(d.type==="Program"&&delete D.sourceType,(d.type==="BigIntLiteral"||d.type==="BigIntLiteralTypeAnnotation")&&D.value&&(D.value=D.value.toLowerCase()),(d.type==="BigIntLiteral"||d.type==="Literal")&&D.bigint&&(D.bigint=D.bigint.toLowerCase()),d.type==="DecimalLiteral"&&(D.value=Number(D.value)),d.type==="Literal"&&D.decimal&&(D.decimal=Number(D.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 D.key,d.type==="JSXElement"&&d.openingElement.name.name==="style"&&d.openingElement.attributes.some(P=>P.name.name==="jsx"))for(let{type:P,expression:M}of D.children)P==="JSXExpressionContainer"&&M.type==="TemplateLiteral"&&x(M);d.type==="JSXAttribute"&&d.name.name==="css"&&d.value.type==="JSXExpressionContainer"&&d.value.expression.type==="TemplateLiteral"&&x(D.value.expression),d.type==="JSXAttribute"&&d.value&&d.value.type==="Literal"&&/["']|"|'/.test(d.value.value)&&(D.value.value=D.value.value.replace(/["']|"|'/g,'"'));let k=d.expression||d.callee;if(d.type==="Decorator"&&k.type==="CallExpression"&&k.callee.name==="Component"&&k.arguments.length===1){let P=d.expression.arguments[0].properties;for(let[M,T]of D.expression.arguments[0].properties.entries())switch(P[M].key.name){case"styles":T.value.type==="ArrayExpression"&&x(T.value.elements[0]);break;case"template":T.value.type==="TemplateLiteral"&&x(T.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")&&x(D.quasi),d.type==="TemplateLiteral"){var R;(((R=d.leadingComments)===null||R===void 0?void 0:R.some(P=>h(P)&&["GraphQL","HTML"].some(M=>P.value===" ".concat(M," "))))||w.type==="CallExpression"&&w.callee.name==="graphql"||!d.leadingComments)&&x(D)}if(d.type==="InterpreterDirective"&&(D.value=D.value.trimEnd()),(d.type==="TSIntersectionType"||d.type==="TSUnionType")&&d.types.length===1)return D.types[0]}p.ignoredProperties=C,A.exports=p}}),Us={};_i(Us,{EOL:()=>Yu,arch:()=>xc,cpus:()=>ss,default:()=>us,endianness:()=>Gu,freemem:()=>Vs,getNetworkInterfaces:()=>Ku,hostname:()=>la,loadavg:()=>Ka,networkInterfaces:()=>Xu,platform:()=>Qu,release:()=>As,tmpDir:()=>fa,tmpdir:()=>as,totalmem:()=>os,type:()=>pa,uptime:()=>ca});function Gu(){if(typeof Go>"u"){var m=new ArrayBuffer(2),A=new Uint8Array(m),h=new Uint16Array(m);if(A[0]=1,A[1]=2,h[0]===258)Go="BE";else if(h[0]===513)Go="LE";else throw new Error("unable to figure out endianess")}return Go}function la(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Ka(){return[]}function ca(){return 0}function Vs(){return Number.MAX_VALUE}function os(){return Number.MAX_VALUE}function ss(){return[]}function pa(){return"Browser"}function As(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Xu(){}function Ku(){}function xc(){return"javascript"}function Qu(){return"browser"}function fa(){return"/tmp"}var Go,as,Yu,us,da=Tn({"node-modules-polyfills:os"(){b(),as=fa,Yu=`
|
|
75
|
+
`,us={EOL:Yu,tmpdir:as,tmpDir:fa,networkInterfaces:Xu,getNetworkInterfaces:Ku,release:As,type:pa,cpus:ss,totalmem:os,freemem:Vs,uptime:ca,loadavg:Ka,hostname:la,endianness:Gu}}}),qs=Oe({"node-modules-polyfills-commonjs:os"(m,A){b();var h=(da(),yn(Us));if(h&&h.default){A.exports=h.default;for(let C in h)A.exports[C]=h[C]}else h&&(A.exports=h)}}),Qa=Oe({"node_modules/detect-newline/index.js"(m,A){b();var h=C=>{if(typeof C!="string")throw new TypeError("Expected a string");let x=C.match(/(?:\r?\n)/g)||[];if(x.length===0)return;let p=x.filter(D=>D===`\r
|
|
76
|
+
`).length,d=x.length-p;return p>d?`\r
|
|
77
|
+
`:`
|
|
78
|
+
`};A.exports=h,A.exports.graceful=C=>typeof C=="string"&&h(C)||`
|
|
79
|
+
`}}),Mo=Oe({"node_modules/jest-docblock/build/index.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=T,m.parse=j,m.parseWithComments=re,m.print=ne,m.strip=N;function A(){let J=qs();return A=function(){return J},J}function h(){let J=C(Qa());return h=function(){return J},J}function C(J){return J&&J.__esModule?J:{default:J}}var x=/\*\/$/,p=/^\/\*\*/,d=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,D=/(^|\s+)\/\/([^\r\n]*)/g,w=/^(\r?\n)+/,k=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,R=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,P=/(\r?\n|^) *\* ?/g,M=[];function T(J){let ee=J.match(d);return ee?ee[0].trimLeft():""}function N(J){let ee=J.match(d);return ee&&ee[0]?J.substring(ee[0].length):J}function j(J){return re(J).pragmas}function re(J){let ee=(0,h().default)(J)||A().EOL;J=J.replace(p,"").replace(x,"").replace(P,"$1");let oe="";for(;oe!==J;)oe=J,J=J.replace(k,"".concat(ee,"$1 $2").concat(ee));J=J.replace(w,"").trimRight();let ie=Object.create(null),se=J.replace(R,"").replace(w,"").trimRight(),z;for(;z=R.exec(J);){let B=z[2].replace(D,"");typeof ie[z[1]]=="string"||Array.isArray(ie[z[1]])?ie[z[1]]=M.concat(ie[z[1]],B):ie[z[1]]=B}return{comments:se,pragmas:ie}}function ne(J){let{comments:ee="",pragmas:oe={}}=J,ie=(0,h().default)(ee)||A().EOL,se="/**",z=" *",B=" */",O=Object.keys(oe),W=O.map(H=>$(H,oe[H])).reduce((H,I)=>H.concat(I),[]).map(H=>z+" "+H+ie).join("");if(!ee){if(O.length===0)return"";if(O.length===1&&!Array.isArray(oe[O[0]])){let H=oe[O[0]];return"".concat(se," ").concat($(O[0],H)[0]).concat(B)}}let S=ee.split(ie).map(H=>"".concat(z," ").concat(H)).join(ie)+ie;return se+ie+(ee?S:"")+(ee&&O.length?z+ie:"")+W+B}function $(J,ee){return M.concat(ee).map(oe=>"@".concat(J," ").concat(oe).trim())}}}),Js=Oe({"src/language-js/utils/get-shebang.js"(m,A){b();function h(C){if(!C.startsWith("#!"))return"";let x=C.indexOf(`
|
|
80
|
+
`);return x===-1?C:C.slice(0,x)}A.exports=h}}),Ro=Oe({"src/language-js/pragma.js"(m,A){b();var{parseWithComments:h,strip:C,extract:x,print:p}=Mo(),{normalizeEndOfLine:d}=$n(),D=Js();function w(P){let M=D(P);M&&(P=P.slice(M.length+1));let T=x(P),{pragmas:N,comments:j}=h(T);return{shebang:M,text:P,pragmas:N,comments:j}}function k(P){let M=Object.keys(w(P).pragmas);return M.includes("prettier")||M.includes("format")}function R(P){let{shebang:M,text:T,pragmas:N,comments:j}=w(P),re=C(T),ne=p({pragmas:Object.assign({format:""},N),comments:j.trimStart()});return(M?"".concat(M,`
|
|
81
|
+
`):"")+d(ne)+(re.startsWith(`
|
|
82
|
+
`)?`
|
|
83
|
+
`:`
|
|
84
|
+
|
|
85
|
+
`)+re}A.exports={hasPragma:k,insertPragma:R}}}),Ss=Oe({"src/language-js/comments.js"(m,A){b();var{getLast:h,hasNewline:C,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:x,getNextNonSpaceNonCommentCharacter:p,hasNewlineInRange:d,addLeadingComment:D,addTrailingComment:w,addDanglingComment:k,getNextNonSpaceNonCommentCharacterIndex:R,isNonEmptyArray:P}=jn(),{getFunctionParameters:M,isPrettierIgnoreComment:T,isJsxNode:N,hasFlowShorthandAnnotationComment:j,hasFlowAnnotationComment:re,hasIgnoreComment:ne,isCallLikeExpression:$,getCallArguments:J,isCallExpression:ee,isMemberExpression:oe,isObjectProperty:ie,isLineComment:se,getComments:z,CommentCheckFlags:B,markerForIfWithoutBlockAndSameLineComment:O}=qn(),{locStart:W,locEnd:S}=Ci(),H=go();function I(i){return[rr,Nt,Ee,ye,Be,ke,Ge,ur,He,gt,Ur,Yr,Xe,mt,Ie].some(n=>n(i))}function Y(i){return[we,Nt,qe,Ur,ye,Be,ke,Ge,mt,Re,Et,gt,Lt,Ie,Kt].some(n=>n(i))}function X(i){return[rr,ye,Be,Se,Dt,Xe,gt,Me,Fe,$e,Ie,tt].some(n=>n(i))}function K(i,n){let u=(i.body||i.properties).find(c=>{let{type:y}=c;return y!=="EmptyStatement"});u?D(u,n):k(i,n)}function ce(i,n){i.type==="BlockStatement"?K(i,n):D(i,n)}function we(i){let{comment:n,followingNode:u}=i;return u&&t(n)?(D(u,n),!0):!1}function ye(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y,text:_}=i;if((c==null?void 0:c.type)!=="IfStatement"||!y)return!1;if(p(_,n,S)===")")return w(u,n),!0;if(u===c.consequent&&y===c.alternate){if(u.type==="BlockStatement")w(u,n);else{let L=n.type==="SingleLine"||n.loc.start.line===n.loc.end.line,ve=n.loc.start.line===u.loc.start.line;L&&ve?k(u,n,O):k(c,n)}return!0}return y.type==="BlockStatement"?(K(y,n),!0):y.type==="IfStatement"?(ce(y.consequent,n),!0):c.consequent===y?(D(y,n),!0):!1}function Be(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y,text:_}=i;return(c==null?void 0:c.type)!=="WhileStatement"||!y?!1:p(_,n,S)===")"?(w(u,n),!0):y.type==="BlockStatement"?(K(y,n),!0):c.body===y?(D(y,n),!0):!1}function ke(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y}=i;return(c==null?void 0:c.type)!=="TryStatement"&&(c==null?void 0:c.type)!=="CatchClause"||!y?!1:c.type==="CatchClause"&&u?(w(u,n),!0):y.type==="BlockStatement"?(K(y,n),!0):y.type==="TryStatement"?(ce(y.finalizer,n),!0):y.type==="CatchClause"?(ce(y.body,n),!0):!1}function Ee(i){let{comment:n,enclosingNode:u,followingNode:c}=i;return oe(u)&&(c==null?void 0:c.type)==="Identifier"?(D(u,n),!0):!1}function qe(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y,text:_}=i,L=u&&!d(_,S(u),W(n));return(!u||!L)&&((c==null?void 0:c.type)==="ConditionalExpression"||(c==null?void 0:c.type)==="TSConditionalType")&&y?(D(y,n),!0):!1}function Se(i){let{comment:n,precedingNode:u,enclosingNode:c}=i;return ie(c)&&c.shorthand&&c.key===u&&c.value.type==="AssignmentPattern"?(w(c.value.left,n),!0):!1}var Te=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function Ge(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y}=i;if(Te.has(c==null?void 0:c.type)){if(P(c.decorators)&&!(y&&y.type==="Decorator"))return w(h(c.decorators),n),!0;if(c.body&&y===c.body)return K(c.body,n),!0;if(y){if(c.superClass&&y===c.superClass&&u&&(u===c.id||u===c.typeParameters))return w(u,n),!0;for(let _ of["implements","extends","mixins"])if(c[_]&&y===c[_][0])return u&&(u===c.id||u===c.typeParameters||u===c.superClass)?w(u,n):k(c,n,_),!0}}return!1}var Qe=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function Xe(i){let{comment:n,precedingNode:u,enclosingNode:c,text:y}=i;return c&&u&&p(y,n,S)==="("&&(c.type==="Property"||c.type==="TSDeclareMethod"||c.type==="TSAbstractMethodDefinition")&&u.type==="Identifier"&&c.key===u&&p(y,u,S)!==":"||(u==null?void 0:u.type)==="Decorator"&&Qe.has(c==null?void 0:c.type)?(w(u,n),!0):!1}var At=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Fe(i){let{comment:n,precedingNode:u,enclosingNode:c,text:y}=i;return p(y,n,S)!=="("?!1:u&&At.has(c==null?void 0:c.type)?(w(u,n),!0):!1}function Me(i){let{comment:n,enclosingNode:u,text:c}=i;if((u==null?void 0:u.type)!=="ArrowFunctionExpression")return!1;let y=R(c,n,S);return y!==!1&&c.slice(y,y+2)==="=>"?(k(u,n),!0):!1}function Dt(i){let{comment:n,enclosingNode:u,text:c}=i;return p(c,n,S)!==")"?!1:u&&(qt(u)&&M(u).length===0||$(u)&&J(u).length===0)?(k(u,n),!0):((u==null?void 0:u.type)==="MethodDefinition"||(u==null?void 0:u.type)==="TSAbstractMethodDefinition")&&M(u.value).length===0?(k(u.value,n),!0):!1}function Nt(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y,text:_}=i;if((u==null?void 0:u.type)==="FunctionTypeParam"&&(c==null?void 0:c.type)==="FunctionTypeAnnotation"&&(y==null?void 0:y.type)!=="FunctionTypeParam"||((u==null?void 0:u.type)==="Identifier"||(u==null?void 0:u.type)==="AssignmentPattern")&&c&&qt(c)&&p(_,n,S)===")")return w(u,n),!0;if((c==null?void 0:c.type)==="FunctionDeclaration"&&(y==null?void 0:y.type)==="BlockStatement"){let L=(()=>{let ve=M(c);if(ve.length>0)return x(_,S(h(ve)));let he=x(_,S(c.id));return he!==!1&&x(_,he+1)})();if(W(n)>L)return K(y,n),!0}return!1}function mt(i){let{comment:n,enclosingNode:u}=i;return(u==null?void 0:u.type)==="LabeledStatement"?(D(u,n),!0):!1}function Ie(i){let{comment:n,enclosingNode:u}=i;return((u==null?void 0:u.type)==="ContinueStatement"||(u==null?void 0:u.type)==="BreakStatement")&&!u.label?(w(u,n),!0):!1}function Re(i){let{comment:n,precedingNode:u,enclosingNode:c}=i;return ee(c)&&u&&c.callee===u&&c.arguments.length>0?(D(c.arguments[0],n),!0):!1}function He(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y}=i;return(c==null?void 0:c.type)==="UnionTypeAnnotation"||(c==null?void 0:c.type)==="TSUnionType"?(T(n)&&(y.prettierIgnore=!0,n.unignore=!0),u?(w(u,n),!0):!1):(((y==null?void 0:y.type)==="UnionTypeAnnotation"||(y==null?void 0:y.type)==="TSUnionType")&&T(n)&&(y.types[0].prettierIgnore=!0,n.unignore=!0),!1)}function Et(i){let{comment:n,enclosingNode:u}=i;return ie(u)?(D(u,n),!0):!1}function gt(i){let{comment:n,enclosingNode:u,followingNode:c,ast:y,isLastComment:_}=i;return y&&y.body&&y.body.length===0?(_?k(y,n):D(y,n),!0):(u==null?void 0:u.type)==="Program"&&(u==null?void 0:u.body.length)===0&&!P(u.directives)?(_?k(u,n):D(u,n),!0):(c==null?void 0:c.type)==="Program"&&(c==null?void 0:c.body.length)===0&&(u==null?void 0:u.type)==="ModuleExpression"?(k(c,n),!0):!1}function ur(i){let{comment:n,enclosingNode:u}=i;return(u==null?void 0:u.type)==="ForInStatement"||(u==null?void 0:u.type)==="ForOfStatement"?(D(u,n),!0):!1}function Ur(i){let{comment:n,precedingNode:u,enclosingNode:c,text:y}=i;if((c==null?void 0:c.type)==="ImportSpecifier"||(c==null?void 0:c.type)==="ExportSpecifier")return D(c,n),!0;let _=(u==null?void 0:u.type)==="ImportSpecifier"&&(c==null?void 0:c.type)==="ImportDeclaration",L=(u==null?void 0:u.type)==="ExportSpecifier"&&(c==null?void 0:c.type)==="ExportNamedDeclaration";return(_||L)&&C(y,S(n))?(w(u,n),!0):!1}function Yr(i){let{comment:n,enclosingNode:u}=i;return(u==null?void 0:u.type)==="AssignmentPattern"?(D(u,n),!0):!1}var Ft=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),St=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Lt(i){let{comment:n,enclosingNode:u,followingNode:c}=i;return Ft.has(u==null?void 0:u.type)&&c&&(St.has(c.type)||H(n))?(D(c,n),!0):!1}function tt(i){let{comment:n,enclosingNode:u,followingNode:c,text:y}=i;return!c&&((u==null?void 0:u.type)==="TSMethodSignature"||(u==null?void 0:u.type)==="TSDeclareFunction"||(u==null?void 0:u.type)==="TSAbstractMethodDefinition")&&p(y,n,S)===";"?(w(u,n),!0):!1}function rr(i){let{comment:n,enclosingNode:u,followingNode:c}=i;if(T(n)&&(u==null?void 0:u.type)==="TSMappedType"&&(c==null?void 0:c.type)==="TSTypeParameter"&&c.constraint)return u.prettierIgnore=!0,n.unignore=!0,!0}function $e(i){let{comment:n,precedingNode:u,enclosingNode:c,followingNode:y}=i;return(c==null?void 0:c.type)!=="TSMappedType"?!1:(y==null?void 0:y.type)==="TSTypeParameter"&&y.name?(D(y.name,n),!0):(u==null?void 0:u.type)==="TSTypeParameter"&&u.constraint?(w(u.constraint,n),!0):!1}function Kt(i){let{comment:n,enclosingNode:u,followingNode:c}=i;return!u||u.type!=="SwitchCase"||u.test?!1:(c.type==="BlockStatement"&&se(n)?K(c,n):k(u,n),!0)}function qt(i){return i.type==="ArrowFunctionExpression"||i.type==="FunctionExpression"||i.type==="FunctionDeclaration"||i.type==="ObjectMethod"||i.type==="ClassMethod"||i.type==="TSDeclareFunction"||i.type==="TSCallSignatureDeclaration"||i.type==="TSConstructSignatureDeclaration"||i.type==="TSMethodSignature"||i.type==="TSConstructorType"||i.type==="TSFunctionType"||i.type==="TSDeclareMethod"}function e(i,n){if((n.parser==="typescript"||n.parser==="flow"||n.parser==="acorn"||n.parser==="espree"||n.parser==="meriyah"||n.parser==="__babel_estree")&&i.type==="MethodDefinition"&&i.value&&i.value.type==="FunctionExpression"&&M(i.value).length===0&&!i.value.returnType&&!P(i.value.typeParameters)&&i.value.body)return[...i.decorators||[],i.key,i.value.body]}function t(i){return H(i)&&i.value[0]==="*"&&/@type\b/.test(i.value)}function o(i){let n=i.getValue(),u=i.getParentNode(),c=y=>re(z(y,B.Leading))||re(z(y,B.Trailing));return(n&&(N(n)||j(n)||ee(u)&&c(n))||u&&(u.type==="JSXSpreadAttribute"||u.type==="JSXSpreadChild"||u.type==="UnionTypeAnnotation"||u.type==="TSUnionType"||(u.type==="ClassDeclaration"||u.type==="ClassExpression")&&u.superClass===n))&&(!ne(i)||u.type==="UnionTypeAnnotation"||u.type==="TSUnionType")}A.exports={handleOwnLineComment:I,handleEndOfLineComment:Y,handleRemainingComment:X,isTypeCastComment:t,getCommentChildNodes:e,willPrintOwnComments:o}}}),wo=Oe({"src/language-js/needs-parens.js"(m,A){b();var h=Rn(),C=Gi(),{getFunctionParameters:x,getLeftSidePathName:p,hasFlowShorthandAnnotationComment:d,hasNakedLeftSide:D,hasNode:w,isBitwiseOperator:k,startsWithNoLookaheadToken:R,shouldFlatten:P,getPrecedence:M,isCallExpression:T,isMemberExpression:N,isObjectProperty:j}=qn();function re(se,z){let B=se.getParentNode();if(!B)return!1;let O=se.getName(),W=se.getNode();if(z.__isInHtmlInterpolation&&!z.bracketSpacing&&ee(W)&&oe(se))return!0;if(ne(W))return!1;if(z.parser!=="flow"&&d(se.getValue()))return!0;if(W.type==="Identifier")return!!(W.extra&&W.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(W.name)||O==="left"&&W.name==="async"&&B.type==="ForOfStatement"&&!B.await);switch(B.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(O==="superClass"&&(W.type==="ArrowFunctionExpression"||W.type==="AssignmentExpression"||W.type==="AwaitExpression"||W.type==="BinaryExpression"||W.type==="ConditionalExpression"||W.type==="LogicalExpression"||W.type==="NewExpression"||W.type==="ObjectExpression"||W.type==="SequenceExpression"||W.type==="TaggedTemplateExpression"||W.type==="UnaryExpression"||W.type==="UpdateExpression"||W.type==="YieldExpression"||W.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return ie(se,z)||W.type==="SequenceExpression";case"Decorator":{if(O==="expression"){let S=!1,H=!1,I=W;for(;I;)switch(I.type){case"MemberExpression":H=!0,I=I.object;break;case"CallExpression":if(H||S)return z.parser!=="typescript";S=!0,I=I.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return z.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if(R(W,!0))return!0;break}case"ArrowFunctionExpression":{if(O==="body"&&W.type!=="SequenceExpression"&&R(W,!1))return!0;break}}switch(W.type){case"UpdateExpression":if(B.type==="UnaryExpression")return W.prefix&&(W.operator==="++"&&B.operator==="+"||W.operator==="--"&&B.operator==="-");case"UnaryExpression":switch(B.type){case"UnaryExpression":return W.operator===B.operator&&(W.operator==="+"||W.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return O==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"BinaryExpression":return O==="left"&&B.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(B.type==="UpdateExpression"||W.operator==="in"&&$(se))return!0;if(W.operator==="|>"&&W.extra&&W.extra.parenthesized){let S=se.getParentNode(1);if(S.type==="BinaryExpression"&&S.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(B.type){case"TSAsExpression":return W.type!=="TSAsExpression";case"ConditionalExpression":return W.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return O==="callee";case"ClassExpression":case"ClassDeclaration":return O==="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 O==="object";case"AssignmentExpression":case"AssignmentPattern":return O==="left"&&(W.type==="TSTypeAssertion"||W.type==="TSAsExpression");case"LogicalExpression":if(W.type==="LogicalExpression")return B.operator!==W.operator;case"BinaryExpression":{let{operator:S,type:H}=W;if(!S&&H!=="TSTypeAssertion")return!0;let I=M(S),Y=B.operator,X=M(Y);return X>I||O==="right"&&X===I||X===I&&!P(Y,S)?!0:X<I&&S==="%"?Y==="+"||Y==="-":!!k(Y)}default:return!1}case"SequenceExpression":switch(B.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return O!=="expression";case"ArrowFunctionExpression":return O!=="body";default:return!0}case"YieldExpression":if(B.type==="UnaryExpression"||B.type==="AwaitExpression"||B.type==="TSAsExpression"||B.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(B.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return O==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"ConditionalExpression":return O==="test";case"BinaryExpression":return!(!W.argument&&B.operator==="|>");default:return!1}case"TSConditionalType":if(O==="extendsType"&&B.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(O==="checkType"&&B.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((B.type==="TSUnionType"||B.type==="TSIntersectionType")&&B.types.length>1&&(!W.types||W.types.length>1))return!0;case"TSInferType":if(W.type==="TSInferType"&&B.type==="TSRestType")return!1;case"TSTypeOperator":return B.type==="TSArrayType"||B.type==="TSOptionalType"||B.type==="TSRestType"||O==="objectType"&&B.type==="TSIndexedAccessType"||B.type==="TSTypeOperator"||B.type==="TSTypeAnnotation"&&se.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return B.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return B.type==="ArrayTypeAnnotation"||B.type==="NullableTypeAnnotation"||B.type==="IntersectionTypeAnnotation"||B.type==="UnionTypeAnnotation"||O==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return B.type==="ArrayTypeAnnotation"||O==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let S=B.type==="NullableTypeAnnotation"?se.getParentNode(1):B;return S.type==="UnionTypeAnnotation"||S.type==="IntersectionTypeAnnotation"||S.type==="ArrayTypeAnnotation"||O==="objectType"&&(S.type==="IndexedAccessType"||S.type==="OptionalIndexedAccessType")||S.type==="NullableTypeAnnotation"||B.type==="FunctionTypeParam"&&B.name===null&&x(W).some(H=>H.typeAnnotation&&H.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return O==="objectType"&&B.type==="IndexedAccessType";case"TypeofTypeAnnotation":return O==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof W.value=="string"&&B.type==="ExpressionStatement"&&!B.directive){let S=se.getParentNode(1);return S.type==="Program"||S.type==="BlockStatement"}return O==="object"&&B.type==="MemberExpression"&&typeof W.value=="number";case"AssignmentExpression":{let S=se.getParentNode(1);return O==="body"&&B.type==="ArrowFunctionExpression"?!0:O==="key"&&(B.type==="ClassProperty"||B.type==="PropertyDefinition")&&B.computed||(O==="init"||O==="update")&&B.type==="ForStatement"?!1:B.type==="ExpressionStatement"?W.left.type==="ObjectPattern":!(O==="key"&&B.type==="TSPropertySignature"||B.type==="AssignmentExpression"||B.type==="SequenceExpression"&&S&&S.type==="ForStatement"&&(S.init===B||S.update===B)||O==="value"&&B.type==="Property"&&S&&S.type==="ObjectPattern"&&S.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"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"ConditionalExpression":return O==="test";case"MemberExpression":case"OptionalMemberExpression":return O==="object";default:return!1}case"FunctionExpression":switch(B.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(B.type){case"BinaryExpression":return B.operator!=="|>"||W.extra&&W.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return O==="callee";case"MemberExpression":case"OptionalMemberExpression":return O==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return O==="test";default:return!1}case"ClassExpression":if(C(W.decorators))return!0;switch(B.type){case"NewExpression":return O==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let S=se.getParentNode(1);if(O==="object"&&B.type==="MemberExpression"||O==="callee"&&(B.type==="CallExpression"||B.type==="NewExpression")||B.type==="TSNonNullExpression"&&S.type==="MemberExpression"&&S.object===B)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(O==="callee"&&(B.type==="BindExpression"||B.type==="NewExpression")){let S=W;for(;S;)switch(S.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":S=S.object;break;case"TaggedTemplateExpression":S=S.tag;break;case"TSNonNullExpression":S=S.expression;break;default:return!1}}return!1;case"BindExpression":return O==="callee"&&(B.type==="BindExpression"||B.type==="NewExpression")||O==="object"&&N(B);case"NGPipeExpression":return!(B.type==="NGRoot"||B.type==="NGMicrosyntaxExpression"||B.type==="ObjectProperty"&&!(W.extra&&W.extra.parenthesized)||B.type==="ArrayExpression"||T(B)&&B.arguments[O]===W||O==="right"&&B.type==="NGPipeExpression"||O==="property"&&B.type==="MemberExpression"||B.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return O==="callee"||O==="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"&&!T(B)&&!j(B)&&B.type!=="ReturnStatement"&&B.type!=="ThrowStatement"&&B.type!=="TypeCastExpression"&&B.type!=="VariableDeclarator"&&B.type!=="YieldExpression";case"TypeAnnotation":return O==="returnType"&&B.type==="ArrowFunctionExpression"&&J(W)}return!1}function ne(se){return se.type==="BlockStatement"||se.type==="BreakStatement"||se.type==="ClassBody"||se.type==="ClassDeclaration"||se.type==="ClassMethod"||se.type==="ClassProperty"||se.type==="PropertyDefinition"||se.type==="ClassPrivateProperty"||se.type==="ContinueStatement"||se.type==="DebuggerStatement"||se.type==="DeclareClass"||se.type==="DeclareExportAllDeclaration"||se.type==="DeclareExportDeclaration"||se.type==="DeclareFunction"||se.type==="DeclareInterface"||se.type==="DeclareModule"||se.type==="DeclareModuleExports"||se.type==="DeclareVariable"||se.type==="DoWhileStatement"||se.type==="EnumDeclaration"||se.type==="ExportAllDeclaration"||se.type==="ExportDefaultDeclaration"||se.type==="ExportNamedDeclaration"||se.type==="ExpressionStatement"||se.type==="ForInStatement"||se.type==="ForOfStatement"||se.type==="ForStatement"||se.type==="FunctionDeclaration"||se.type==="IfStatement"||se.type==="ImportDeclaration"||se.type==="InterfaceDeclaration"||se.type==="LabeledStatement"||se.type==="MethodDefinition"||se.type==="ReturnStatement"||se.type==="SwitchStatement"||se.type==="ThrowStatement"||se.type==="TryStatement"||se.type==="TSDeclareFunction"||se.type==="TSEnumDeclaration"||se.type==="TSImportEqualsDeclaration"||se.type==="TSInterfaceDeclaration"||se.type==="TSModuleDeclaration"||se.type==="TSNamespaceExportDeclaration"||se.type==="TypeAlias"||se.type==="VariableDeclaration"||se.type==="WhileStatement"||se.type==="WithStatement"}function $(se){let z=0,B=se.getValue();for(;B;){let O=se.getParentNode(z++);if(O&&O.type==="ForStatement"&&O.init===B)return!0;B=O}return!1}function J(se){return w(se,z=>z.type==="ObjectTypeAnnotation"&&w(z,B=>B.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ee(se){switch(se.type){case"ObjectExpression":return!0;default:return!1}}function oe(se){let z=se.getValue(),B=se.getParentNode(),O=se.getName();switch(B.type){case"NGPipeExpression":if(typeof O=="number"&&B.arguments[O]===z&&B.arguments.length-1===O)return se.callParent(oe);break;case"ObjectProperty":if(O==="value"){let W=se.getParentNode(1);return h(W.properties)===B}break;case"BinaryExpression":case"LogicalExpression":if(O==="right")return se.callParent(oe);break;case"ConditionalExpression":if(O==="alternate")return se.callParent(oe);break;case"UnaryExpression":if(B.prefix)return se.callParent(oe);break}return!1}function ie(se,z){let B=se.getValue(),O=se.getParentNode();return B.type==="FunctionExpression"||B.type==="ClassExpression"?O.type==="ExportDefaultDeclaration"||!re(se,z):!D(B)||O.type!=="ExportDefaultDeclaration"&&re(se,z)?!1:se.call(W=>ie(W,z),...p(se,B))}A.exports=re}}),Ya=Oe({"src/language-js/print-preprocess.js"(m,A){b();function h(C,x){switch(x.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},C),{},{type:x.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:C,comments:[],rootMarker:x.rootMarker});default:return C}}A.exports=h}}),ha=Oe({"src/language-js/print/html-binding.js"(m,A){b();var{builders:{join:h,line:C,group:x,softline:p,indent:d}}=bn();function D(k,R,P){let M=k.getValue();if(R.__onHtmlBindingRoot&&k.getName()===null&&R.__onHtmlBindingRoot(M,R),M.type==="File"){if(R.__isVueForBindingLeft)return k.call(T=>{let N=h([",",C],T.map(P,"params")),{params:j}=T.getValue();return j.length===1?N:["(",d([p,x(N)]),p,")"]},"program","body",0);if(R.__isVueBindings)return k.call(T=>h([",",C],T.map(P,"params")),"program","body",0)}}function w(k){switch(k.type){case"MemberExpression":switch(k.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return w(k.object)}return!1;case"Identifier":return!0;default:return!1}}A.exports={isVueEventBindingExpression:w,printHtmlBinding:D}}}),ga=Oe({"src/language-js/print/binaryish.js"(m,A){b();var{printComments:h}=gi(),{getLast:C}=jn(),{builders:{join:x,line:p,softline:d,group:D,indent:w,align:k,ifBreak:R,indentIfBreak:P},utils:{cleanDoc:M,getDocParts:T,isConcat:N}}=bn(),{hasLeadingOwnLineComment:j,isBinaryish:re,isJsxNode:ne,shouldFlatten:$,hasComment:J,CommentCheckFlags:ee,isCallExpression:oe,isMemberExpression:ie,isObjectProperty:se,isEnabledHackPipeline:z}=qn(),B=0;function O(H,I,Y){let X=H.getValue(),K=H.getParentNode(),ce=H.getParentNode(1),we=X!==K.body&&(K.type==="IfStatement"||K.type==="WhileStatement"||K.type==="SwitchStatement"||K.type==="DoWhileStatement"),ye=z(I)&&X.operator==="|>",Be=W(H,Y,I,!1,we);if(we)return Be;if(ye)return D(Be);if(oe(K)&&K.callee===X||K.type==="UnaryExpression"||ie(K)&&!K.computed)return D([w([d,...Be]),d]);let ke=K.type==="ReturnStatement"||K.type==="ThrowStatement"||K.type==="JSXExpressionContainer"&&ce.type==="JSXAttribute"||X.operator!=="|"&&K.type==="JsExpressionRoot"||X.type!=="NGPipeExpression"&&(K.type==="NGRoot"&&I.parser==="__ng_binding"||K.type==="NGMicrosyntaxExpression"&&ce.type==="NGMicrosyntax"&&ce.body.length===1)||X===K.body&&K.type==="ArrowFunctionExpression"||X!==K.body&&K.type==="ForStatement"||K.type==="ConditionalExpression"&&ce.type!=="ReturnStatement"&&ce.type!=="ThrowStatement"&&!oe(ce)||K.type==="TemplateLiteral",Ee=K.type==="AssignmentExpression"||K.type==="VariableDeclarator"||K.type==="ClassProperty"||K.type==="PropertyDefinition"||K.type==="TSAbstractPropertyDefinition"||K.type==="ClassPrivateProperty"||se(K),qe=re(X.left)&&$(X.operator,X.left.operator);if(ke||S(X)&&!qe||!S(X)&&Ee)return D(Be);if(Be.length===0)return"";let Se=ne(X.right),Te=Be.findIndex(Me=>typeof Me!="string"&&!Array.isArray(Me)&&Me.type==="group"),Ge=Be.slice(0,Te===-1?1:Te+1),Qe=Be.slice(Ge.length,Se?-1:void 0),Xe=Symbol("logicalChain-"+ ++B),At=D([...Ge,w(Qe)],{id:Xe});if(!Se)return At;let Fe=C(Be);return D([At,P(Fe,{groupId:Xe})])}function W(H,I,Y,X,K){let ce=H.getValue();if(!re(ce))return[D(I())];let we=[];$(ce.operator,ce.left.operator)?we=H.call(Qe=>W(Qe,I,Y,!0,K),"left"):we.push(D(I("left")));let ye=S(ce),Be=(ce.operator==="|>"||ce.type==="NGPipeExpression"||ce.operator==="|"&&Y.parser==="__vue_expression")&&!j(Y.originalText,ce.right),ke=ce.type==="NGPipeExpression"?"|":ce.operator,Ee=ce.type==="NGPipeExpression"&&ce.arguments.length>0?D(w([d,": ",x([d,":",R(" ")],H.map(I,"arguments").map(Qe=>k(2,D(Qe))))])):"",qe;if(ye)qe=[ke," ",I("right"),Ee];else{let Qe=z(Y)&&ke==="|>"?H.call(Xe=>W(Xe,I,Y,!0,K),"right"):I("right");qe=[Be?p:"",ke,Be?" ":p,Qe,Ee]}let Se=H.getParentNode(),Te=J(ce.left,ee.Trailing|ee.Line),Ge=Te||!(K&&ce.type==="LogicalExpression")&&Se.type!==ce.type&&ce.left.type!==ce.type&&ce.right.type!==ce.type;if(we.push(Be?"":" ",Ge?D(qe,{shouldBreak:Te}):qe),X&&J(ce)){let Qe=M(h(H,we,Y));return N(Qe)||Qe.type==="fill"?T(Qe):[Qe]}return we}function S(H){return H.type!=="LogicalExpression"?!1:!!(H.right.type==="ObjectExpression"&&H.right.properties.length>0||H.right.type==="ArrayExpression"&&H.right.elements.length>0||ne(H.right))}A.exports={printBinaryishExpression:O,shouldInlineLogicalExpression:S}}}),Cc=Oe({"src/language-js/print/angular.js"(m,A){b();var{builders:{join:h,line:C,group:x}}=bn(),{hasNode:p,hasComment:d,getComments:D}=qn(),{printBinaryishExpression:w}=ga();function k(M,T,N){let j=M.getValue();if(j.type.startsWith("NG"))switch(j.type){case"NGRoot":return[N("node"),d(j.node)?" //"+D(j.node)[0].value.trimEnd():""];case"NGPipeExpression":return w(M,T,N);case"NGChainedExpression":return x(h([";",C],M.map(re=>P(re)?N():["(",N(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[j.prefix,": ",j.value.trim()];case"NGMicrosyntax":return M.map((re,ne)=>[ne===0?"":R(re.getValue(),ne,j)?" ":[";",C],N()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(j.name)?j.name:JSON.stringify(j.name);case"NGMicrosyntaxExpression":return[N("expression"),j.alias===null?"":[" as ",N("alias")]];case"NGMicrosyntaxKeyedExpression":{let re=M.getName(),ne=M.getParentNode(),$=R(j,re,ne)||(re===1&&(j.key.name==="then"||j.key.name==="else")||re===2&&j.key.name==="else"&&ne.body[re-1].type==="NGMicrosyntaxKeyedExpression"&&ne.body[re-1].key.name==="then")&&ne.body[0].type==="NGMicrosyntaxExpression";return[N("key"),$?" ":": ",N("expression")]}case"NGMicrosyntaxLet":return["let ",N("key"),j.value===null?"":[" = ",N("value")]];case"NGMicrosyntaxAs":return[N("key")," as ",N("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(j.type),"."))}}function R(M,T,N){return M.type==="NGMicrosyntaxKeyedExpression"&&M.key.name==="of"&&T===1&&N.body[0].type==="NGMicrosyntaxLet"&&N.body[0].value===null}function P(M){return p(M.getValue(),T=>{switch(T.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}A.exports={printAngular:k}}}),Fs=Oe({"src/language-js/print/jsx.js"(m,A){b();var{printComments:h,printDanglingComments:C}=gi(),{builders:{line:x,hardline:p,softline:d,group:D,indent:w,conditionalGroup:k,fill:R,ifBreak:P,lineSuffixBoundary:M,join:T},utils:{willBreak:N}}=bn(),{getLast:j,getPreferredQuote:re}=jn(),{isJsxNode:ne,rawText:$,isLiteral:J,isCallExpression:ee,isStringLiteral:oe,isBinaryish:ie,hasComment:se,CommentCheckFlags:z,hasNodeIgnoreComment:B}=qn(),O=wo(),{willPrintOwnComments:W}=Ss(),S=mt=>mt===""||mt===x||mt===p||mt===d;function H(mt,Ie,Re){let He=mt.getValue();if(He.type==="JSXElement"&&Fe(He))return[Re("openingElement"),Re("closingElement")];let Et=He.type==="JSXElement"?Re("openingElement"):Re("openingFragment"),gt=He.type==="JSXElement"?Re("closingElement"):Re("closingFragment");if(He.children.length===1&&He.children[0].type==="JSXExpressionContainer"&&(He.children[0].expression.type==="TemplateLiteral"||He.children[0].expression.type==="TaggedTemplateExpression"))return[Et,...mt.map(Re,"children"),gt];He.children=He.children.map(o=>Dt(o)?{type:"JSXText",value:" ",raw:" "}:o);let ur=He.children.some(ne),Ur=He.children.filter(o=>o.type==="JSXExpressionContainer").length>1,Yr=He.type==="JSXElement"&&He.openingElement.attributes.length>1,Ft=N(Et)||ur||Yr||Ur,St=mt.getParentNode().rootMarker==="mdx",Lt=Ie.singleQuote?"{' '}":'{" "}',tt=St?" ":P([Lt,d]," "),rr=He.openingElement&&He.openingElement.name&&He.openingElement.name.name==="fbt",$e=I(mt,Ie,Re,tt,rr),Kt=He.children.some(o=>Me(o));for(let o=$e.length-2;o>=0;o--){let i=$e[o]===""&&$e[o+1]==="",n=$e[o]===p&&$e[o+1]===""&&$e[o+2]===p,u=($e[o]===d||$e[o]===p)&&$e[o+1]===""&&$e[o+2]===tt,c=$e[o]===tt&&$e[o+1]===""&&($e[o+2]===d||$e[o+2]===p),y=$e[o]===tt&&$e[o+1]===""&&$e[o+2]===tt,_=$e[o]===d&&$e[o+1]===""&&$e[o+2]===p||$e[o]===p&&$e[o+1]===""&&$e[o+2]===d;n&&Kt||i||u||y||_?$e.splice(o,2):c&&$e.splice(o+1,2)}for(;$e.length>0&&S(j($e));)$e.pop();for(;$e.length>1&&S($e[0])&&S($e[1]);)$e.shift(),$e.shift();let qt=[];for(let[o,i]of $e.entries()){if(i===tt){if(o===1&&$e[o-1]===""){if($e.length===2){qt.push(Lt);continue}qt.push([Lt,p]);continue}else if(o===$e.length-1){qt.push(Lt);continue}else if($e[o-1]===""&&$e[o-2]===p){qt.push(Lt);continue}}qt.push(i),N(i)&&(Ft=!0)}let e=Kt?R(qt):D(qt,{shouldBreak:!0});if(St)return e;let t=D([Et,w([p,e]),p,gt]);return Ft?t:k([D([Et,...$e,gt]),t])}function I(mt,Ie,Re,He,Et){let gt=[];return mt.each((ur,Ur,Yr)=>{let Ft=ur.getValue();if(J(Ft)){let St=$(Ft);if(Me(Ft)){let Lt=St.split(Qe);if(Lt[0]===""){if(gt.push(""),Lt.shift(),/\n/.test(Lt[0])){let rr=Yr[Ur+1];gt.push(X(Et,Lt[1],Ft,rr))}else gt.push(He);Lt.shift()}let tt;if(j(Lt)===""&&(Lt.pop(),tt=Lt.pop()),Lt.length===0)return;for(let[rr,$e]of Lt.entries())rr%2===1?gt.push(x):gt.push($e);if(tt!==void 0)if(/\n/.test(tt)){let rr=Yr[Ur+1];gt.push(X(Et,j(gt),Ft,rr))}else gt.push(He);else{let rr=Yr[Ur+1];gt.push(Y(Et,j(gt),Ft,rr))}}else/\n/.test(St)?St.match(/\n/g).length>1&>.push("",p):gt.push("",He)}else{let St=Re();gt.push(St);let Lt=Yr[Ur+1];if(Lt&&Me(Lt)){let tt=At($(Lt)).split(Qe)[0];gt.push(Y(Et,tt,Ft,Lt))}else gt.push(p)}},"children"),gt}function Y(mt,Ie,Re,He){return mt?"":Re.type==="JSXElement"&&!Re.closingElement||He&&He.type==="JSXElement"&&!He.closingElement?Ie.length===1?d:p:d}function X(mt,Ie,Re,He){return mt?p:Ie.length===1?Re.type==="JSXElement"&&!Re.closingElement||He&&He.type==="JSXElement"&&!He.closingElement?p:d:p}function K(mt,Ie,Re){let He=mt.getParentNode();if(!He||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[He.type])return Ie;let Et=mt.match(void 0,ur=>ur.type==="ArrowFunctionExpression",ee,ur=>ur.type==="JSXExpressionContainer"),gt=O(mt,Re);return D([gt?"":P("("),w([d,Ie]),d,gt?"":P(")")],{shouldBreak:Et})}function ce(mt,Ie,Re){let He=mt.getValue(),Et=[];if(Et.push(Re("name")),He.value){let gt;if(oe(He.value)){let ur=$(He.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Ur,quote:Yr,regex:Ft}=re(ur,Ie.jsxSingleQuote?"'":'"');ur=ur.replace(Ft,Ur),gt=[Yr,ur,Yr]}else gt=Re("value");Et.push("=",gt)}return Et}function we(mt,Ie,Re){let He=mt.getValue(),Et=(gt,ur)=>gt.type==="JSXEmptyExpression"||!se(gt)&&(gt.type==="ArrayExpression"||gt.type==="ObjectExpression"||gt.type==="ArrowFunctionExpression"||gt.type==="AwaitExpression"&&(Et(gt.argument,gt)||gt.argument.type==="JSXElement")||ee(gt)||gt.type==="FunctionExpression"||gt.type==="TemplateLiteral"||gt.type==="TaggedTemplateExpression"||gt.type==="DoExpression"||ne(ur)&&(gt.type==="ConditionalExpression"||ie(gt)));return Et(He.expression,mt.getParentNode(0))?D(["{",Re("expression"),M,"}"]):D(["{",w([d,Re("expression")]),d,M,"}"])}function ye(mt,Ie,Re){let He=mt.getValue(),Et=He.name&&se(He.name)||He.typeParameters&&se(He.typeParameters);if(He.selfClosing&&He.attributes.length===0&&!Et)return["<",Re("name"),Re("typeParameters")," />"];if(He.attributes&&He.attributes.length===1&&He.attributes[0].value&&oe(He.attributes[0].value)&&!He.attributes[0].value.value.includes(`
|
|
86
|
+
`)&&!Et&&!se(He.attributes[0]))return D(["<",Re("name"),Re("typeParameters")," ",...mt.map(Re,"attributes"),He.selfClosing?" />":">"]);let gt=He.attributes.length>0&&se(j(He.attributes),z.Trailing),ur=He.attributes.length===0&&!Et||(Ie.bracketSameLine||Ie.jsxBracketSameLine)&&(!Et||He.attributes.length>0)&&!gt,Ur=He.attributes&&He.attributes.some(Ft=>Ft.value&&oe(Ft.value)&&Ft.value.value.includes(`
|
|
87
|
+
`)),Yr=Ie.singleAttributePerLine&&He.attributes.length>1?p:x;return D(["<",Re("name"),Re("typeParameters"),w(mt.map(()=>[Yr,Re()],"attributes")),He.selfClosing?x:ur?">":d,He.selfClosing?"/>":ur?"":">"],{shouldBreak:Ur})}function Be(mt,Ie,Re){let He=mt.getValue(),Et=[];Et.push("</");let gt=Re("name");return se(He.name,z.Leading|z.Line)?Et.push(w([p,gt]),p):se(He.name,z.Leading|z.Block)?Et.push(" ",gt):Et.push(gt),Et.push(">"),Et}function ke(mt,Ie){let Re=mt.getValue(),He=se(Re),Et=se(Re,z.Line),gt=Re.type==="JSXOpeningFragment";return[gt?"<":"</",w([Et?p:He&&!gt?" ":"",C(mt,Ie,!0)]),Et?p:"",">"]}function Ee(mt,Ie,Re){let He=h(mt,H(mt,Ie,Re),Ie);return K(mt,He,Ie)}function qe(mt,Ie){let Re=mt.getValue(),He=se(Re,z.Line);return[C(mt,Ie,!He),He?p:""]}function Se(mt,Ie,Re){let He=mt.getValue();return["{",mt.call(Et=>{let gt=["...",Re()],ur=Et.getValue();return!se(ur)||!W(Et)?gt:[w([d,h(Et,gt,Ie)]),d]},He.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Te(mt,Ie,Re){let He=mt.getValue();if(He.type.startsWith("JSX"))switch(He.type){case"JSXAttribute":return ce(mt,Ie,Re);case"JSXIdentifier":return String(He.name);case"JSXNamespacedName":return T(":",[Re("namespace"),Re("name")]);case"JSXMemberExpression":return T(".",[Re("object"),Re("property")]);case"JSXSpreadAttribute":return Se(mt,Ie,Re);case"JSXSpreadChild":return Se(mt,Ie,Re);case"JSXExpressionContainer":return we(mt,Ie,Re);case"JSXFragment":case"JSXElement":return Ee(mt,Ie,Re);case"JSXOpeningElement":return ye(mt,Ie,Re);case"JSXClosingElement":return Be(mt,Ie,Re);case"JSXOpeningFragment":case"JSXClosingFragment":return ke(mt,Ie);case"JSXEmptyExpression":return qe(mt,Ie);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(He.type),"."))}}var Ge=`
|
|
88
|
+
\r `,Qe=new RegExp("(["+Ge+"]+)"),Xe=new RegExp("[^"+Ge+"]"),At=mt=>mt.replace(new RegExp("(?:^"+Qe.source+"|"+Qe.source+"$)"),"");function Fe(mt){if(mt.children.length===0)return!0;if(mt.children.length>1)return!1;let Ie=mt.children[0];return J(Ie)&&!Me(Ie)}function Me(mt){return J(mt)&&(Xe.test($(mt))||!/\n/.test($(mt)))}function Dt(mt){return mt.type==="JSXExpressionContainer"&&J(mt.expression)&&mt.expression.value===" "&&!se(mt.expression)}function Nt(mt){let Ie=mt.getValue(),Re=mt.getParentNode();if(!Re||!Ie||!ne(Ie)||!ne(Re))return!1;let He=Re.children.indexOf(Ie),Et=null;for(let gt=He;gt>0;gt--){let ur=Re.children[gt-1];if(!(ur.type==="JSXText"&&!Me(ur))){Et=ur;break}}return Et&&Et.type==="JSXExpressionContainer"&&Et.expression.type==="JSXEmptyExpression"&&B(Et.expression)}A.exports={hasJsxIgnoreComment:Nt,printJsx:Te}}}),zi=Oe({"src/language-js/print/misc.js"(m,A){b();var{isNonEmptyArray:h}=jn(),{builders:{indent:C,join:x,line:p}}=bn(),{isFlowAnnotationComment:d}=qn();function D(j){let re=j.getValue();return!re.optional||re.type==="Identifier"&&re===j.getParentNode().key?"":re.type==="OptionalCallExpression"||re.type==="OptionalMemberExpression"&&re.computed?"?.":"?"}function w(j){return j.getValue().definite||j.match(void 0,(re,ne)=>ne==="id"&&re.type==="VariableDeclarator"&&re.definite)?"!":""}function k(j,re,ne){let $=j.getValue();return $.typeArguments?ne("typeArguments"):$.typeParameters?ne("typeParameters"):""}function R(j,re,ne){let $=j.getValue();if(!$.typeAnnotation)return"";let J=j.getParentNode(),ee=J.type==="DeclareFunction"&&J.id===$;return d(re.originalText,$.typeAnnotation)?[" /*: ",ne("typeAnnotation")," */"]:[ee?"":": ",ne("typeAnnotation")]}function P(j,re,ne){return["::",ne("callee")]}function M(j,re,ne){let $=j.getValue();return h($.modifiers)?[x(" ",j.map(ne,"modifiers"))," "]:""}function T(j,re,ne){return j.type==="EmptyStatement"?";":j.type==="BlockStatement"||ne?[" ",re]:C([p,re])}function N(j,re,ne){return["...",ne("argument"),R(j,re,ne)]}A.exports={printOptionalToken:D,printDefiniteToken:w,printFunctionTypeParameters:k,printBindExpressionCallee:P,printTypeScriptModifiers:M,printTypeAnnotation:R,printRestSpread:N,adjustClause:T}}}),ma=Oe({"src/language-js/print/array.js"(m,A){b();var{printDanglingComments:h}=gi(),{builders:{line:C,softline:x,hardline:p,group:d,indent:D,ifBreak:w,fill:k}}=bn(),{getLast:R,hasNewline:P}=jn(),{shouldPrintComma:M,hasComment:T,CommentCheckFlags:N,isNextLineEmpty:j,isNumericLiteral:re,isSignedNumericLiteral:ne}=qn(),{locStart:$}=Ci(),{printOptionalToken:J,printTypeAnnotation:ee}=zi();function oe(B,O,W){let S=B.getValue(),H=[],I=S.type==="TupleExpression"?"#[":"[",Y="]";if(S.elements.length===0)T(S,N.Dangling)?H.push(d([I,h(B,O),x,Y])):H.push(I,Y);else{let X=R(S.elements),K=!(X&&X.type==="RestElement"),ce=X===null,we=Symbol("array"),ye=!O.__inJestEach&&S.elements.length>1&&S.elements.every((Ee,qe,Se)=>{let Te=Ee&&Ee.type;if(Te!=="ArrayExpression"&&Te!=="ObjectExpression")return!1;let Ge=Se[qe+1];if(Ge&&Te!==Ge.type)return!1;let Qe=Te==="ArrayExpression"?"elements":"properties";return Ee[Qe]&&Ee[Qe].length>1}),Be=ie(S,O),ke=K?ce?",":M(O)?Be?w(",","",{groupId:we}):w(","):"":"";H.push(d([I,D([x,Be?z(B,O,W,ke):[se(B,O,"elements",W),ke],h(B,O,!0)]),x,Y],{shouldBreak:ye,id:we}))}return H.push(J(B),ee(B,O,W)),H}function ie(B,O){return B.elements.length>1&&B.elements.every(W=>W&&(re(W)||ne(W)&&!T(W.argument))&&!T(W,N.Trailing|N.Line,S=>!P(O.originalText,$(S),{backwards:!0})))}function se(B,O,W,S){let H=[],I=[];return B.each(Y=>{H.push(I,d(S())),I=[",",C],Y.getValue()&&j(Y.getValue(),O)&&I.push(x)},W),H}function z(B,O,W,S){let H=[];return B.each((I,Y,X)=>{let K=Y===X.length-1;H.push([W(),K?S:","]),K||H.push(j(I.getValue(),O)?[p,p]:T(X[Y+1],N.Leading|N.Line)?p:C)},"elements"),k(H)}A.exports={printArray:oe,printArrayItems:se,isConciselyPrintedArray:ie}}}),Zu=Oe({"src/language-js/print/call-arguments.js"(m,A){b();var{printDanglingComments:h}=gi(),{getLast:C,getPenultimate:x}=jn(),{getFunctionParameters:p,hasComment:d,CommentCheckFlags:D,isFunctionCompositionArgs:w,isJsxNode:k,isLongCurriedCallExpression:R,shouldPrintComma:P,getCallArguments:M,iterateCallArgumentsPath:T,isNextLineEmpty:N,isCallExpression:j,isStringLiteral:re,isObjectProperty:ne}=qn(),{builders:{line:$,hardline:J,softline:ee,group:oe,indent:ie,conditionalGroup:se,ifBreak:z,breakParent:B},utils:{willBreak:O}}=bn(),{ArgExpansionBailout:W}=Ds(),{isConciselyPrintedArray:S}=ma();function H(ye,Be,ke){let Ee=ye.getValue(),qe=Ee.type==="ImportExpression",Se=M(Ee);if(Se.length===0)return["(",h(ye,Be,!0),")"];if(K(Se))return["(",ke(["arguments",0]),", ",ke(["arguments",1]),")"];let Te=!1,Ge=!1,Qe=Se.length-1,Xe=[];T(ye,(mt,Ie)=>{let Re=mt.getNode(),He=[ke()];Ie===Qe||(N(Re,Be)?(Ie===0&&(Ge=!0),Te=!0,He.push(",",J,J)):He.push(",",$)),Xe.push(He)});let At=!(qe||Ee.callee&&Ee.callee.type==="Import")&&P(Be,"all")?",":"";function Fe(){return oe(["(",ie([$,...Xe]),At,$,")"],{shouldBreak:!0})}if(Te||ye.getParentNode().type!=="Decorator"&&w(Se))return Fe();let Me=X(Se),Dt=Y(Se,Be);if(Me||Dt){if(Me?Xe.slice(1).some(O):Xe.slice(0,-1).some(O))return Fe();let mt=[];try{ye.try(()=>{T(ye,(Ie,Re)=>{Me&&Re===0&&(mt=[[ke([],{expandFirstArg:!0}),Xe.length>1?",":"",Ge?J:$,Ge?J:""],...Xe.slice(1)]),Dt&&Re===Qe&&(mt=[...Xe.slice(0,-1),ke([],{expandLastArg:!0})])})})}catch(Ie){if(Ie instanceof W)return Fe();throw Ie}return[Xe.some(O)?B:"",se([["(",...mt,")"],Me?["(",oe(mt[0],{shouldBreak:!0}),...mt.slice(1),")"]:["(",...Xe.slice(0,-1),oe(C(mt),{shouldBreak:!0}),")"],Fe()])]}let Nt=["(",ie([ee,...Xe]),z(At),ee,")"];return R(ye)?Nt:oe(Nt,{shouldBreak:Xe.some(O)||Te})}function I(ye){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ye.type==="ObjectExpression"&&(ye.properties.length>0||d(ye))||ye.type==="ArrayExpression"&&(ye.elements.length>0||d(ye))||ye.type==="TSTypeAssertion"&&I(ye.expression)||ye.type==="TSAsExpression"&&I(ye.expression)||ye.type==="FunctionExpression"||ye.type==="ArrowFunctionExpression"&&(!ye.returnType||!ye.returnType.typeAnnotation||ye.returnType.typeAnnotation.type!=="TSTypeReference"||ce(ye.body))&&(ye.body.type==="BlockStatement"||ye.body.type==="ArrowFunctionExpression"&&I(ye.body,!0)||ye.body.type==="ObjectExpression"||ye.body.type==="ArrayExpression"||!Be&&(j(ye.body)||ye.body.type==="ConditionalExpression")||k(ye.body))||ye.type==="DoExpression"||ye.type==="ModuleExpression"}function Y(ye,Be){let ke=C(ye),Ee=x(ye);return!d(ke,D.Leading)&&!d(ke,D.Trailing)&&I(ke)&&(!Ee||Ee.type!==ke.type)&&(ye.length!==2||Ee.type!=="ArrowFunctionExpression"||ke.type!=="ArrayExpression")&&!(ye.length>1&&ke.type==="ArrayExpression"&&S(ke,Be))}function X(ye){if(ye.length!==2)return!1;let[Be,ke]=ye;return Be.type==="ModuleExpression"&&we(ke)?!0:!d(Be)&&(Be.type==="FunctionExpression"||Be.type==="ArrowFunctionExpression"&&Be.body.type==="BlockStatement")&&ke.type!=="FunctionExpression"&&ke.type!=="ArrowFunctionExpression"&&ke.type!=="ConditionalExpression"&&!I(ke)}function K(ye){return ye.length===2&&ye[0].type==="ArrowFunctionExpression"&&p(ye[0]).length===0&&ye[0].body.type==="BlockStatement"&&ye[1].type==="ArrayExpression"&&!ye.some(Be=>d(Be))}function ce(ye){return ye.type==="BlockStatement"&&(ye.body.some(Be=>Be.type!=="EmptyStatement")||d(ye,D.Dangling))}function we(ye){return ye.type==="ObjectExpression"&&ye.properties.length===1&&ne(ye.properties[0])&&ye.properties[0].key.type==="Identifier"&&ye.properties[0].key.name==="type"&&re(ye.properties[0].value)&&ye.properties[0].value.value==="module"}A.exports=H}}),Tl=Oe({"src/language-js/print/member.js"(m,A){b();var{builders:{softline:h,group:C,indent:x,label:p}}=bn(),{isNumericLiteral:d,isMemberExpression:D,isCallExpression:w}=qn(),{printOptionalToken:k}=zi();function R(M,T,N){let j=M.getValue(),re=M.getParentNode(),ne,$=0;do ne=M.getParentNode($),$++;while(ne&&(D(ne)||ne.type==="TSNonNullExpression"));let J=N("object"),ee=P(M,T,N),oe=ne&&(ne.type==="NewExpression"||ne.type==="BindExpression"||ne.type==="AssignmentExpression"&&ne.left.type!=="Identifier")||j.computed||j.object.type==="Identifier"&&j.property.type==="Identifier"&&!D(re)||(re.type==="AssignmentExpression"||re.type==="VariableDeclarator")&&(w(j.object)&&j.object.arguments.length>0||j.object.type==="TSNonNullExpression"&&w(j.object.expression)&&j.object.expression.arguments.length>0||J.label==="member-chain");return p(J.label==="member-chain"?"member-chain":"member",[J,oe?ee:C(x([h,ee]))])}function P(M,T,N){let j=N("property"),re=M.getValue(),ne=k(M);return re.computed?!re.property||d(re.property)?[ne,"[",j,"]"]:C([ne,"[",x([h,j]),h,"]"]):[ne,".",j]}A.exports={printMemberExpression:R,printMemberLookup:P}}}),Ec=Oe({"src/language-js/print/member-chain.js"(m,A){b();var{printComments:h}=gi(),{getLast:C,isNextLineEmptyAfterIndex:x,getNextNonSpaceNonCommentCharacterIndex:p}=jn(),d=wo(),{isCallExpression:D,isMemberExpression:w,isFunctionOrArrowExpression:k,isLongCurriedCallExpression:R,isMemberish:P,isNumericLiteral:M,isSimpleCallArgument:T,hasComment:N,CommentCheckFlags:j,isNextLineEmpty:re}=qn(),{locEnd:ne}=Ci(),{builders:{join:$,hardline:J,group:ee,indent:oe,conditionalGroup:ie,breakParent:se,label:z},utils:{willBreak:B}}=bn(),O=Zu(),{printMemberLookup:W}=Tl(),{printOptionalToken:S,printFunctionTypeParameters:H,printBindExpressionCallee:I}=zi();function Y(X,K,ce){let we=X.getParentNode(),ye=!we||we.type==="ExpressionStatement",Be=[];function ke(Lt){let{originalText:tt}=K,rr=p(tt,Lt,ne);return tt.charAt(rr)===")"?rr!==!1&&x(tt,rr+1):re(Lt,K)}function Ee(Lt){let tt=Lt.getValue();D(tt)&&(P(tt.callee)||D(tt.callee))?(Be.unshift({node:tt,printed:[h(Lt,[S(Lt),H(Lt,K,ce),O(Lt,K,ce)],K),ke(tt)?J:""]}),Lt.call(rr=>Ee(rr),"callee")):P(tt)?(Be.unshift({node:tt,needsParens:d(Lt,K),printed:h(Lt,w(tt)?W(Lt,K,ce):I(Lt,K,ce),K)}),Lt.call(rr=>Ee(rr),"object")):tt.type==="TSNonNullExpression"?(Be.unshift({node:tt,printed:h(Lt,"!",K)}),Lt.call(rr=>Ee(rr),"expression")):Be.unshift({node:tt,printed:ce()})}let qe=X.getValue();Be.unshift({node:qe,printed:[S(X),H(X,K,ce),O(X,K,ce)]}),qe.callee&&X.call(Lt=>Ee(Lt),"callee");let Se=[],Te=[Be[0]],Ge=1;for(;Ge<Be.length&&(Be[Ge].node.type==="TSNonNullExpression"||D(Be[Ge].node)||w(Be[Ge].node)&&Be[Ge].node.computed&&M(Be[Ge].node.property));++Ge)Te.push(Be[Ge]);if(!D(Be[0].node))for(;Ge+1<Be.length&&P(Be[Ge].node)&&P(Be[Ge+1].node);++Ge)Te.push(Be[Ge]);Se.push(Te),Te=[];let Qe=!1;for(;Ge<Be.length;++Ge){if(Qe&&P(Be[Ge].node)){if(Be[Ge].node.computed&&M(Be[Ge].node.property)){Te.push(Be[Ge]);continue}Se.push(Te),Te=[],Qe=!1}(D(Be[Ge].node)||Be[Ge].node.type==="ImportExpression")&&(Qe=!0),Te.push(Be[Ge]),N(Be[Ge].node,j.Trailing)&&(Se.push(Te),Te=[],Qe=!1)}Te.length>0&&Se.push(Te);function Xe(Lt){return/^[A-Z]|^[$_]+$/.test(Lt)}function At(Lt){return Lt.length<=K.tabWidth}function Fe(Lt){let tt=Lt[1].length>0&&Lt[1][0].node.computed;if(Lt[0].length===1){let $e=Lt[0][0].node;return $e.type==="ThisExpression"||$e.type==="Identifier"&&(Xe($e.name)||ye&&At($e.name)||tt)}let rr=C(Lt[0]).node;return w(rr)&&rr.property.type==="Identifier"&&(Xe(rr.property.name)||tt)}let Me=Se.length>=2&&!N(Se[1][0].node)&&Fe(Se);function Dt(Lt){let tt=Lt.map(rr=>rr.printed);return Lt.length>0&&C(Lt).needsParens?["(",...tt,")"]:tt}function Nt(Lt){return Lt.length===0?"":oe(ee([J,$(J,Lt.map(Dt))]))}let mt=Se.map(Dt),Ie=mt,Re=Me?3:2,He=Se.flat(),Et=He.slice(1,-1).some(Lt=>N(Lt.node,j.Leading))||He.slice(0,-1).some(Lt=>N(Lt.node,j.Trailing))||Se[Re]&&N(Se[Re][0].node,j.Leading);if(Se.length<=Re&&!Et)return R(X)?Ie:ee(Ie);let gt=C(Se[Me?1:0]).node,ur=!D(gt)&&ke(gt),Ur=[Dt(Se[0]),Me?Se.slice(1,2).map(Dt):"",ur?J:"",Nt(Se.slice(Me?2:1))],Yr=Be.map(Lt=>{let{node:tt}=Lt;return tt}).filter(D);function Ft(){let Lt=C(C(Se)).node,tt=C(mt);return D(Lt)&&B(tt)&&Yr.slice(0,-1).some(rr=>rr.arguments.some(k))}let St;return Et||Yr.length>2&&Yr.some(Lt=>!Lt.arguments.every(tt=>T(tt,0)))||mt.slice(0,-1).some(B)||Ft()?St=ee(Ur):St=[B(Ie)||ur?se:"",ie([Ie,Ur])],z("member-chain",St)}A.exports=Y}}),Za=Oe({"src/language-js/print/call-expression.js"(m,A){b();var{builders:{join:h,group:C}}=bn(),x=wo(),{getCallArguments:p,hasFlowAnnotationComment:d,isCallExpression:D,isMemberish:w,isStringLiteral:k,isTemplateOnItsOwnLine:R,isTestCall:P,iterateCallArgumentsPath:M}=qn(),T=Ec(),N=Zu(),{printOptionalToken:j,printFunctionTypeParameters:re}=zi();function ne(J,ee,oe){let ie=J.getValue(),se=J.getParentNode(),z=ie.type==="NewExpression",B=ie.type==="ImportExpression",O=j(J),W=p(ie);if(W.length>0&&(!B&&!z&&$(ie,se)||W.length===1&&R(W[0],ee.originalText)||!z&&P(ie,se))){let I=[];return M(J,()=>{I.push(oe())}),[z?"new ":"",oe("callee"),O,re(J,ee,oe),"(",h(", ",I),")"]}let S=(ee.parser==="babel"||ee.parser==="babel-flow")&&ie.callee&&ie.callee.type==="Identifier"&&d(ie.callee.trailingComments);if(S&&(ie.callee.trailingComments[0].printed=!0),!B&&!z&&w(ie.callee)&&!J.call(I=>x(I,ee),"callee"))return T(J,ee,oe);let H=[z?"new ":"",B?"import":oe("callee"),O,S?"/*:: ".concat(ie.callee.trailingComments[0].value.slice(2).trim()," */"):"",re(J,ee,oe),N(J,ee,oe)];return B||D(ie.callee)?C(H):H}function $(J,ee){if(J.callee.type!=="Identifier")return!1;if(J.callee.name==="require")return!0;if(J.callee.name==="define"){let oe=p(J);return ee.type==="ExpressionStatement"&&(oe.length===1||oe.length===2&&oe[0].type==="ArrayExpression"||oe.length===3&&k(oe[0])&&oe[1].type==="ArrayExpression")}return!1}A.exports={printCallExpression:ne}}}),ya=Oe({"src/language-js/print/assignment.js"(m,A){b();var{isNonEmptyArray:h,getStringWidth:C}=jn(),{builders:{line:x,group:p,indent:d,indentIfBreak:D,lineSuffixBoundary:w},utils:{cleanDoc:k,willBreak:R,canBreak:P}}=bn(),{hasLeadingOwnLineComment:M,isBinaryish:T,isStringLiteral:N,isLiteral:j,isNumericLiteral:re,isCallExpression:ne,isMemberExpression:$,getCallArguments:J,rawText:ee,hasComment:oe,isSignedNumericLiteral:ie,isObjectProperty:se}=qn(),{shouldInlineLogicalExpression:z}=ga(),{printCallExpression:B}=Za();function O(Fe,Me,Dt,Nt,mt,Ie){let Re=H(Fe,Me,Dt,Nt,Ie),He=Dt(Ie,{assignmentLayout:Re});switch(Re){case"break-after-operator":return p([p(Nt),mt,p(d([x,He]))]);case"never-break-after-operator":return p([p(Nt),mt," ",He]);case"fluid":{let Et=Symbol("assignment");return p([p(Nt),mt,p(d(x),{id:Et}),w,D(He,{groupId:Et})])}case"break-lhs":return p([Nt,mt," ",p(He)]);case"chain":return[p(Nt),mt,x,He];case"chain-tail":return[p(Nt),mt,d([x,He])];case"chain-tail-arrow-chain":return[p(Nt),mt,He];case"only-left":return Nt}}function W(Fe,Me,Dt){let Nt=Fe.getValue();return O(Fe,Me,Dt,Dt("left"),[" ",Nt.operator],"right")}function S(Fe,Me,Dt){return O(Fe,Me,Dt,Dt("id")," =","init")}function H(Fe,Me,Dt,Nt,mt){let Ie=Fe.getValue(),Re=Ie[mt];if(!Re)return"only-left";let He=!X(Re);if(Fe.match(X,K,gt=>!He||gt.type!=="ExpressionStatement"&>.type!=="VariableDeclaration"))return He?Re.type==="ArrowFunctionExpression"&&Re.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!He&&X(Re.right)||M(Me.originalText,Re))return"break-after-operator";if(Re.type==="CallExpression"&&Re.callee.name==="require"||Me.parser==="json5"||Me.parser==="json")return"never-break-after-operator";if(Y(Ie)||ce(Ie)||Be(Ie)||ke(Ie)&&P(Nt))return"break-lhs";let Et=Qe(Ie,Nt,Me);return Fe.call(()=>I(Fe,Me,Dt,Et),mt)?"break-after-operator":Et||Re.type==="TemplateLiteral"||Re.type==="TaggedTemplateExpression"||Re.type==="BooleanLiteral"||re(Re)||Re.type==="ClassExpression"?"never-break-after-operator":"fluid"}function I(Fe,Me,Dt,Nt){let mt=Fe.getValue();if(T(mt)&&!z(mt))return!0;switch(mt.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:He}=mt;return T(He)&&!z(He)}case"ClassExpression":return h(mt.decorators)}if(Nt)return!1;let Ie=mt,Re=[];for(;;)if(Ie.type==="UnaryExpression")Ie=Ie.argument,Re.push("argument");else if(Ie.type==="TSNonNullExpression")Ie=Ie.expression,Re.push("expression");else break;return!!(N(Ie)||Fe.call(()=>Se(Fe,Me,Dt),...Re))}function Y(Fe){if(K(Fe)){let Me=Fe.left||Fe.id;return Me.type==="ObjectPattern"&&Me.properties.length>2&&Me.properties.some(Dt=>se(Dt)&&(!Dt.shorthand||Dt.value&&Dt.value.type==="AssignmentPattern"))}return!1}function X(Fe){return Fe.type==="AssignmentExpression"}function K(Fe){return X(Fe)||Fe.type==="VariableDeclarator"}function ce(Fe){let Me=we(Fe);if(h(Me)){let Dt=Fe.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Me.length>1&&Me.some(Nt=>Nt[Dt]||Nt.default))return!0}return!1}function we(Fe){return ye(Fe)&&Fe.typeParameters&&Fe.typeParameters.params?Fe.typeParameters.params:null}function ye(Fe){return Fe.type==="TSTypeAliasDeclaration"||Fe.type==="TypeAlias"}function Be(Fe){if(Fe.type!=="VariableDeclarator")return!1;let{typeAnnotation:Me}=Fe.id;if(!Me||!Me.typeAnnotation)return!1;let Dt=Ee(Me.typeAnnotation);return h(Dt)&&Dt.length>1&&Dt.some(Nt=>h(Ee(Nt))||Nt.type==="TSConditionalType")}function ke(Fe){return Fe.type==="VariableDeclarator"&&Fe.init&&Fe.init.type==="ArrowFunctionExpression"}function Ee(Fe){return qe(Fe)&&Fe.typeParameters&&Fe.typeParameters.params?Fe.typeParameters.params:null}function qe(Fe){return Fe.type==="TSTypeReference"||Fe.type==="GenericTypeAnnotation"}function Se(Fe,Me,Dt){let Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,mt=Fe.getValue(),Ie=()=>Se(Fe,Me,Dt,!0);if(mt.type==="TSNonNullExpression")return Fe.call(Ie,"expression");if(ne(mt)){if(B(Fe,Me,Dt).label==="member-chain")return!1;let Re=J(mt);return!(Re.length===0||Re.length===1&&Ge(Re[0],Me))||Xe(mt,Dt)?!1:Fe.call(Ie,"callee")}return $(mt)?Fe.call(Ie,"object"):Nt&&(mt.type==="Identifier"||mt.type==="ThisExpression")}var Te=.25;function Ge(Fe,Me){let{printWidth:Dt}=Me;if(oe(Fe))return!1;let Nt=Dt*Te;if(Fe.type==="ThisExpression"||Fe.type==="Identifier"&&Fe.name.length<=Nt||ie(Fe)&&!oe(Fe.argument))return!0;let mt=Fe.type==="Literal"&&"regex"in Fe&&Fe.regex.pattern||Fe.type==="RegExpLiteral"&&Fe.pattern;return mt?mt.length<=Nt:N(Fe)?ee(Fe).length<=Nt:Fe.type==="TemplateLiteral"?Fe.expressions.length===0&&Fe.quasis[0].value.raw.length<=Nt&&!Fe.quasis[0].value.raw.includes(`
|
|
89
|
+
`):j(Fe)}function Qe(Fe,Me,Dt){if(!se(Fe))return!1;Me=k(Me);let Nt=3;return typeof Me=="string"&&C(Me)<Dt.tabWidth+Nt}function Xe(Fe,Me){let Dt=At(Fe);if(h(Dt)){if(Dt.length>1)return!0;if(Dt.length===1){let mt=Dt[0];if(mt.type==="TSUnionType"||mt.type==="UnionTypeAnnotation"||mt.type==="TSIntersectionType"||mt.type==="IntersectionTypeAnnotation"||mt.type==="TSTypeLiteral"||mt.type==="ObjectTypeAnnotation")return!0}let Nt=Fe.typeParameters?"typeParameters":"typeArguments";if(R(Me(Nt)))return!0}return!1}function At(Fe){return Fe.typeParameters&&Fe.typeParameters.params||Fe.typeArguments&&Fe.typeArguments.params}A.exports={printVariableDeclarator:S,printAssignmentExpression:W,printAssignment:O,isArrowFunctionVariableDeclarator:ke}}}),Wi=Oe({"src/language-js/print/function-parameters.js"(m,A){b();var{getNextNonSpaceNonCommentCharacter:h}=jn(),{printDanglingComments:C}=gi(),{builders:{line:x,hardline:p,softline:d,group:D,indent:w,ifBreak:k},utils:{removeLines:R,willBreak:P}}=bn(),{getFunctionParameters:M,iterateFunctionParametersPath:T,isSimpleType:N,isTestCall:j,isTypeAnnotationAFunction:re,isObjectType:ne,isObjectTypePropertyAFunction:$,hasRestParameter:J,shouldPrintComma:ee,hasComment:oe,isNextLineEmpty:ie}=qn(),{locEnd:se}=Ci(),{ArgExpansionBailout:z}=Ds(),{printFunctionTypeParameters:B}=zi();function O(I,Y,X,K,ce){let we=I.getValue(),ye=M(we),Be=ce?B(I,X,Y):"";if(ye.length===0)return[Be,"(",C(I,X,!0,Ge=>h(X.originalText,Ge,se)===")"),")"];let ke=I.getParentNode(),Ee=j(ke),qe=W(we),Se=[];if(T(I,(Ge,Qe)=>{let Xe=Qe===ye.length-1;Xe&&we.rest&&Se.push("..."),Se.push(Y()),!Xe&&(Se.push(","),Ee||qe?Se.push(" "):ie(ye[Qe],X)?Se.push(p,p):Se.push(x))}),K){if(P(Be)||P(Se))throw new z;return D([R(Be),"(",R(Se),")"])}let Te=ye.every(Ge=>!Ge.decorators);return qe&&Te?[Be,"(",...Se,")"]:Ee?[Be,"(",...Se,")"]:($(ke)||re(ke)||ke.type==="TypeAlias"||ke.type==="UnionTypeAnnotation"||ke.type==="TSUnionType"||ke.type==="IntersectionTypeAnnotation"||ke.type==="FunctionTypeAnnotation"&&ke.returnType===we)&&ye.length===1&&ye[0].name===null&&we.this!==ye[0]&&ye[0].typeAnnotation&&we.typeParameters===null&&N(ye[0].typeAnnotation)&&!we.rest?X.arrowParens==="always"?["(",...Se,")"]:Se:[Be,"(",w([d,...Se]),k(!J(we)&&ee(X,"all")?",":""),d,")"]}function W(I){if(!I)return!1;let Y=M(I);if(Y.length!==1)return!1;let[X]=Y;return!oe(X)&&(X.type==="ObjectPattern"||X.type==="ArrayPattern"||X.type==="Identifier"&&X.typeAnnotation&&(X.typeAnnotation.type==="TypeAnnotation"||X.typeAnnotation.type==="TSTypeAnnotation")&&ne(X.typeAnnotation.typeAnnotation)||X.type==="FunctionTypeParam"&&ne(X.typeAnnotation)||X.type==="AssignmentPattern"&&(X.left.type==="ObjectPattern"||X.left.type==="ArrayPattern")&&(X.right.type==="Identifier"||X.right.type==="ObjectExpression"&&X.right.properties.length===0||X.right.type==="ArrayExpression"&&X.right.elements.length===0))}function S(I){let Y;return I.returnType?(Y=I.returnType,Y.typeAnnotation&&(Y=Y.typeAnnotation)):I.typeAnnotation&&(Y=I.typeAnnotation),Y}function H(I,Y){let X=S(I);if(!X)return!1;let K=I.typeParameters&&I.typeParameters.params;if(K){if(K.length>1)return!1;if(K.length===1){let ce=K[0];if(ce.constraint||ce.default)return!1}}return M(I).length===1&&(ne(X)||P(Y))}A.exports={printFunctionParameters:O,shouldHugFunctionParameters:W,shouldGroupFunctionParameters:H}}}),Ei=Oe({"src/language-js/print/type-annotation.js"(m,A){b();var{printComments:h,printDanglingComments:C}=gi(),{isNonEmptyArray:x}=jn(),{builders:{group:p,join:d,line:D,softline:w,indent:k,align:R,ifBreak:P}}=bn(),M=wo(),{locStart:T}=Ci(),{isSimpleType:N,isObjectType:j,hasLeadingOwnLineComment:re,isObjectTypePropertyAFunction:ne,shouldPrintComma:$}=qn(),{printAssignment:J}=ya(),{printFunctionParameters:ee,shouldGroupFunctionParameters:oe}=Wi(),{printArrayItems:ie}=ma();function se(X){if(N(X)||j(X))return!0;if(X.type==="UnionTypeAnnotation"||X.type==="TSUnionType"){let K=X.types.filter(we=>we.type==="VoidTypeAnnotation"||we.type==="TSVoidKeyword"||we.type==="NullLiteralTypeAnnotation"||we.type==="TSNullKeyword").length,ce=X.types.some(we=>we.type==="ObjectTypeAnnotation"||we.type==="TSTypeLiteral"||we.type==="GenericTypeAnnotation"||we.type==="TSTypeReference");if(X.types.length-1===K&&ce)return!0}return!1}function z(X,K,ce){let we=K.semi?";":"",ye=X.getValue(),Be=[];return Be.push("opaque type ",ce("id"),ce("typeParameters")),ye.supertype&&Be.push(": ",ce("supertype")),ye.impltype&&Be.push(" = ",ce("impltype")),Be.push(we),Be}function B(X,K,ce){let we=K.semi?";":"",ye=X.getValue(),Be=[];ye.declare&&Be.push("declare "),Be.push("type ",ce("id"),ce("typeParameters"));let ke=ye.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[J(X,K,ce,Be," =",ke),we]}function O(X,K,ce){let we=X.getValue(),ye=X.map(ce,"types"),Be=[],ke=!1;for(let Ee=0;Ee<ye.length;++Ee)Ee===0?Be.push(ye[Ee]):j(we.types[Ee-1])&&j(we.types[Ee])?Be.push([" & ",ke?k(ye[Ee]):ye[Ee]]):!j(we.types[Ee-1])&&!j(we.types[Ee])?Be.push(k([" &",D,ye[Ee]])):(Ee>1&&(ke=!0),Be.push(" & ",Ee>1?k(ye[Ee]):ye[Ee]));return p(Be)}function W(X,K,ce){let we=X.getValue(),ye=X.getParentNode(),Be=ye.type!=="TypeParameterInstantiation"&&ye.type!=="TSTypeParameterInstantiation"&&ye.type!=="GenericTypeAnnotation"&&ye.type!=="TSTypeReference"&&ye.type!=="TSTypeAssertion"&&ye.type!=="TupleTypeAnnotation"&&ye.type!=="TSTupleType"&&!(ye.type==="FunctionTypeParam"&&!ye.name&&X.getParentNode(1).this!==ye)&&!((ye.type==="TypeAlias"||ye.type==="VariableDeclarator"||ye.type==="TSTypeAliasDeclaration")&&re(K.originalText,we)),ke=se(we),Ee=X.map(Te=>{let Ge=ce();return ke||(Ge=R(2,Ge)),h(Te,Ge,K)},"types");if(ke)return d(" | ",Ee);let qe=Be&&!re(K.originalText,we),Se=[P([qe?D:"","| "]),d([D,"| "],Ee)];return M(X,K)?p([k(Se),w]):ye.type==="TupleTypeAnnotation"&&ye.types.length>1||ye.type==="TSTupleType"&&ye.elementTypes.length>1?p([k([P(["(",w]),Se]),w,P(")")]):p(Be?k(Se):Se)}function S(X,K,ce){let we=X.getValue(),ye=[],Be=X.getParentNode(0),ke=X.getParentNode(1),Ee=X.getParentNode(2),qe=we.type==="TSFunctionType"||!((Be.type==="ObjectTypeProperty"||Be.type==="ObjectTypeInternalSlot")&&!Be.variance&&!Be.optional&&T(Be)===T(we)||Be.type==="ObjectTypeCallProperty"||Ee&&Ee.type==="DeclareFunction"),Se=qe&&(Be.type==="TypeAnnotation"||Be.type==="TSTypeAnnotation"),Te=Se&&qe&&(Be.type==="TypeAnnotation"||Be.type==="TSTypeAnnotation")&&ke.type==="ArrowFunctionExpression";ne(Be)&&(qe=!0,Se=!0),Te&&ye.push("(");let Ge=ee(X,ce,K,!1,!0),Qe=we.returnType||we.predicate||we.typeAnnotation?[qe?" => ":": ",ce("returnType"),ce("predicate"),ce("typeAnnotation")]:"",Xe=oe(we,Qe);return ye.push(Xe?p(Ge):Ge),Qe&&ye.push(Qe),Te&&ye.push(")"),p(ye)}function H(X,K,ce){let we=X.getValue(),ye=we.type==="TSTupleType"?"elementTypes":"types",Be=we[ye],ke=x(Be),Ee=ke?w:"";return p(["[",k([Ee,ie(X,K,ye,ce)]),P(ke&&$(K,"all")?",":""),C(X,K,!0),Ee,"]"])}function I(X,K,ce){let we=X.getValue(),ye=we.type==="OptionalIndexedAccessType"&&we.optional?"?.[":"[";return[ce("objectType"),ye,ce("indexType"),"]"]}function Y(X,K,ce){let we=X.getValue();return[we.postfix?"":ce,K("typeAnnotation"),we.postfix?ce:""]}A.exports={printOpaqueType:z,printTypeAlias:B,printIntersectionType:O,printUnionType:W,printFunctionType:S,printTupleType:H,printIndexedAccessType:I,shouldHugType:se,printJSDocType:Y}}}),Oi=Oe({"src/language-js/print/type-parameters.js"(m,A){b();var{printDanglingComments:h}=gi(),{builders:{join:C,line:x,hardline:p,softline:d,group:D,indent:w,ifBreak:k}}=bn(),{isTestCall:R,hasComment:P,CommentCheckFlags:M,isTSXFile:T,shouldPrintComma:N,getFunctionParameters:j,isObjectType:re}=qn(),{createGroupIdMapper:ne}=jn(),{shouldHugType:$}=Ei(),{isArrowFunctionVariableDeclarator:J}=ya(),ee=ne("typeParameters");function oe(z,B,O,W){let S=z.getValue();if(!S[W])return"";if(!Array.isArray(S[W]))return O(W);let H=z.getNode(2),I=H&&R(H);if(!z.match(X=>!(X[W].length===1&&re(X[W][0])),void 0,(X,K)=>K==="typeAnnotation",X=>X.type==="Identifier",J)&&(I||S[W].length===0||S[W].length===1&&(S[W][0].type==="NullableTypeAnnotation"||$(S[W][0]))))return["<",C(", ",z.map(O,W)),ie(z,B),">"];let Y=S.type==="TSTypeParameterInstantiation"?"":j(S).length===1&&T(B)&&!S[W][0].constraint&&z.getParentNode().type==="ArrowFunctionExpression"?",":N(B,"all")?k(","):"";return D(["<",w([d,C([",",x],z.map(O,W))]),Y,d,">"],{id:ee(S)})}function ie(z,B){let O=z.getValue();if(!P(O,M.Dangling))return"";let W=!P(O,M.Line),S=h(z,B,W);return W?S:[S,p]}function se(z,B,O){let W=z.getValue(),S=[],H=z.getParentNode();return H.type==="TSMappedType"?(S.push("[",O("name")),W.constraint&&S.push(" in ",O("constraint")),H.nameType&&S.push(" as ",z.callParent(()=>O("nameType"))),S.push("]"),S):(W.variance&&S.push(O("variance")),W.in&&S.push("in "),W.out&&S.push("out "),S.push(O("name")),W.bound&&S.push(": ",O("bound")),W.constraint&&S.push(" extends ",O("constraint")),W.default&&S.push(" = ",O("default")),S)}A.exports={printTypeParameter:se,printTypeParameters:oe,getTypeParametersGroupId:ee}}}),vi=Oe({"src/language-js/print/property.js"(m,A){b();var{printComments:h}=gi(),{printString:C,printNumber:x}=jn(),{isNumericLiteral:p,isSimpleNumber:d,isStringLiteral:D,isStringPropSafeToUnquote:w,rawText:k}=qn(),{printAssignment:R}=ya(),P=new WeakMap;function M(N,j,re){let ne=N.getNode();if(ne.computed)return["[",re("key"),"]"];let $=N.getParentNode(),{key:J}=ne;if(ne.type==="ClassPrivateProperty"&&J.type==="Identifier")return["#",re("key")];if(j.quoteProps==="consistent"&&!P.has($)){let ee=($.properties||$.body||$.members).some(oe=>!oe.computed&&oe.key&&D(oe.key)&&!w(oe,j));P.set($,ee)}if((J.type==="Identifier"||p(J)&&d(x(k(J)))&&String(J.value)===x(k(J))&&!(j.parser==="typescript"||j.parser==="babel-ts"))&&(j.parser==="json"||j.quoteProps==="consistent"&&P.get($))){let ee=C(JSON.stringify(J.type==="Identifier"?J.name:J.value.toString()),j);return N.call(oe=>h(oe,ee,j),"key")}return w(ne,j)&&(j.quoteProps==="as-needed"||j.quoteProps==="consistent"&&!P.get($))?N.call(ee=>h(ee,/^\d/.test(J.value)?x(J.value):J.value,j),"key"):re("key")}function T(N,j,re){return N.getValue().shorthand?re("value"):R(N,j,re,M(N,j,re),":","value")}A.exports={printProperty:T,printPropertyKey:M}}}),ls=Oe({"src/language-js/print/function.js"(m,A){b();var h=xs(),{printDanglingComments:C,printCommentsSeparately:x}=gi(),p=Rn(),{getNextNonSpaceNonCommentCharacterIndex:d}=jn(),{builders:{line:D,softline:w,group:k,indent:R,ifBreak:P,hardline:M,join:T,indentIfBreak:N},utils:{removeLines:j,willBreak:re}}=bn(),{ArgExpansionBailout:ne}=Ds(),{getFunctionParameters:$,hasLeadingOwnLineComment:J,isFlowAnnotationComment:ee,isJsxNode:oe,isTemplateOnItsOwnLine:ie,shouldPrintComma:se,startsWithNoLookaheadToken:z,isBinaryish:B,isLineComment:O,hasComment:W,getComments:S,CommentCheckFlags:H,isCallLikeExpression:I,isCallExpression:Y,getCallArguments:X,hasNakedLeftSide:K,getLeftSide:ce}=qn(),{locEnd:we}=Ci(),{printFunctionParameters:ye,shouldGroupFunctionParameters:Be}=Wi(),{printPropertyKey:ke}=vi(),{printFunctionTypeParameters:Ee}=zi();function qe(Re,He,Et,gt){let ur=Re.getValue(),Ur=!1;if((ur.type==="FunctionDeclaration"||ur.type==="FunctionExpression")&>&>.expandLastArg){let tt=Re.getParentNode();Y(tt)&&X(tt).length>1&&(Ur=!0)}let Yr=[];ur.type==="TSDeclareFunction"&&ur.declare&&Yr.push("declare "),ur.async&&Yr.push("async "),ur.generator?Yr.push("function* "):Yr.push("function "),ur.id&&Yr.push(He("id"));let Ft=ye(Re,He,Et,Ur),St=Me(Re,He,Et),Lt=Be(ur,St);return Yr.push(Ee(Re,Et,He),k([Lt?k(Ft):Ft,St]),ur.body?" ":"",He("body")),Et.semi&&(ur.declare||!ur.body)&&Yr.push(";"),Yr}function Se(Re,He,Et){let gt=Re.getNode(),{kind:ur}=gt,Ur=gt.value||gt,Yr=[];return!ur||ur==="init"||ur==="method"||ur==="constructor"?Ur.async&&Yr.push("async "):(h.ok(ur==="get"||ur==="set"),Yr.push(ur," ")),Ur.generator&&Yr.push("*"),Yr.push(ke(Re,He,Et),gt.optional||gt.key.optional?"?":""),gt===Ur?Yr.push(Te(Re,He,Et)):Ur.type==="FunctionExpression"?Yr.push(Re.call(Ft=>Te(Ft,He,Et),"value")):Yr.push(Et("value")),Yr}function Te(Re,He,Et){let gt=Re.getNode(),ur=ye(Re,Et,He),Ur=Me(Re,Et,He),Yr=Be(gt,Ur),Ft=[Ee(Re,He,Et),k([Yr?k(ur):ur,Ur])];return gt.body?Ft.push(" ",Et("body")):Ft.push(He.semi?";":""),Ft}function Ge(Re,He,Et,gt){let ur=Re.getValue(),Ur=[];if(ur.async&&Ur.push("async "),Fe(Re,He))Ur.push(Et(["params",0]));else{let Ft=gt&&(gt.expandLastArg||gt.expandFirstArg),St=Me(Re,Et,He);if(Ft){if(re(St))throw new ne;St=k(j(St))}Ur.push(k([ye(Re,Et,He,Ft,!0),St]))}let Yr=C(Re,He,!0,Ft=>{let St=d(He.originalText,Ft,we);return St!==!1&&He.originalText.slice(St,St+2)==="=>"});return Yr&&Ur.push(" ",Yr),Ur}function Qe(Re,He,Et,gt,ur,Ur){let Yr=Re.getName(),Ft=Re.getParentNode(),St=I(Ft)&&Yr==="callee",Lt=Boolean(He&&He.assignmentLayout),tt=Ur.body.type!=="BlockStatement"&&Ur.body.type!=="ObjectExpression"&&Ur.body.type!=="SequenceExpression",rr=St&&tt||He&&He.assignmentLayout==="chain-tail-arrow-chain",$e=Symbol("arrow-chain");return Ur.body.type==="SequenceExpression"&&(ur=k(["(",R([w,ur]),w,")"])),k([k(R([St||Lt?w:"",k(T([" =>",D],Et),{shouldBreak:gt})]),{id:$e,shouldBreak:rr})," =>",N(tt?R([D,ur]):[" ",ur],{groupId:$e}),St?P(w,"",{groupId:$e}):""])}function Xe(Re,He,Et,gt){let ur=Re.getValue(),Ur=[],Yr=[],Ft=!1;if(function $e(){let Kt=Ge(Re,He,Et,gt);if(Ur.length===0)Ur.push(Kt);else{let{leading:qt,trailing:e}=x(Re,He);Ur.push([qt,Kt]),Yr.unshift(e)}Ft=Ft||ur.returnType&&$(ur).length>0||ur.typeParameters||$(ur).some(qt=>qt.type!=="Identifier"),ur.body.type!=="ArrowFunctionExpression"||gt&>.expandLastArg?Yr.unshift(Et("body",gt)):(ur=ur.body,Re.call($e,"body"))}(),Ur.length>1)return Qe(Re,gt,Ur,Ft,Yr,ur);let St=Ur;if(St.push(" =>"),!J(He.originalText,ur.body)&&(ur.body.type==="ArrayExpression"||ur.body.type==="ObjectExpression"||ur.body.type==="BlockStatement"||oe(ur.body)||ie(ur.body,He.originalText)||ur.body.type==="ArrowFunctionExpression"||ur.body.type==="DoExpression"))return k([...St," ",Yr]);if(ur.body.type==="SequenceExpression")return k([...St,k([" (",R([w,Yr]),w,")"])]);let Lt=(gt&>.expandLastArg||Re.getParentNode().type==="JSXExpressionContainer")&&!W(ur),tt=gt&>.expandLastArg&&se(He,"all"),rr=ur.body.type==="ConditionalExpression"&&!z(ur.body,!1);return k([...St,k([R([D,rr?P("","("):"",Yr,rr?P("",")"):""]),Lt?[P(tt?",":""),w]:""])])}function At(Re){let He=$(Re);return He.length===1&&!Re.typeParameters&&!W(Re,H.Dangling)&&He[0].type==="Identifier"&&!He[0].typeAnnotation&&!W(He[0])&&!He[0].optional&&!Re.predicate&&!Re.returnType}function Fe(Re,He){if(He.arrowParens==="always")return!1;if(He.arrowParens==="avoid"){let Et=Re.getValue();return At(Et)}return!1}function Me(Re,He,Et){let gt=Re.getValue(),ur=He("returnType");if(gt.returnType&&ee(Et.originalText,gt.returnType))return[" /*: ",ur," */"];let Ur=[ur];return gt.returnType&>.returnType.typeAnnotation&&Ur.unshift(": "),gt.predicate&&Ur.push(gt.returnType?" ":": ",He("predicate")),Ur}function Dt(Re,He,Et){let gt=Re.getValue(),ur=He.semi?";":"",Ur=[];gt.argument&&(Ie(He,gt.argument)?Ur.push([" (",R([M,Et("argument")]),M,")"]):B(gt.argument)||gt.argument.type==="SequenceExpression"?Ur.push(k([P(" ("," "),R([w,Et("argument")]),w,P(")")])):Ur.push(" ",Et("argument")));let Yr=S(gt),Ft=p(Yr),St=Ft&&O(Ft);return St&&Ur.push(ur),W(gt,H.Dangling)&&Ur.push(" ",C(Re,He,!0)),St||Ur.push(ur),Ur}function Nt(Re,He,Et){return["return",Dt(Re,He,Et)]}function mt(Re,He,Et){return["throw",Dt(Re,He,Et)]}function Ie(Re,He){if(J(Re.originalText,He))return!0;if(K(He)){let Et=He,gt;for(;gt=ce(Et);)if(Et=gt,J(Re.originalText,Et))return!0}return!1}A.exports={printFunction:qe,printArrowFunction:Xe,printMethod:Se,printReturnStatement:Nt,printThrowStatement:mt,printMethodInternal:Te,shouldPrintParamsWithoutParens:Fe}}}),el=Oe({"src/language-js/print/decorators.js"(m,A){b();var{isNonEmptyArray:h,hasNewline:C}=jn(),{builders:{line:x,hardline:p,join:d,breakParent:D,group:w}}=bn(),{locStart:k,locEnd:R}=Ci(),{getParentExportDeclaration:P}=qn();function M(ne,$,J){let ee=ne.getValue();return w([d(x,ne.map(J,"decorators")),j(ee,$)?p:x])}function T(ne,$,J){return[d(p,ne.map(J,"declaration","decorators")),p]}function N(ne,$,J){let ee=ne.getValue(),{decorators:oe}=ee;if(!h(oe)||re(ne.getParentNode()))return;let ie=ee.type==="ClassExpression"||ee.type==="ClassDeclaration"||j(ee,$);return[P(ne)?p:ie?D:"",d(x,ne.map(J,"decorators")),x]}function j(ne,$){return ne.decorators.some(J=>C($.originalText,R(J)))}function re(ne){if(ne.type!=="ExportDefaultDeclaration"&&ne.type!=="ExportNamedDeclaration"&&ne.type!=="DeclareExportDeclaration")return!1;let $=ne.declaration&&ne.declaration.decorators;return h($)&&k(ne,{ignoreDecorators:!0})>k($[0])}A.exports={printDecorators:N,printClassMemberDecorators:M,printDecoratorsBeforeExport:T,hasDecoratorsBeforeExport:re}}}),cs=Oe({"src/language-js/print/class.js"(m,A){b();var{isNonEmptyArray:h,createGroupIdMapper:C}=jn(),{printComments:x,printDanglingComments:p}=gi(),{builders:{join:d,line:D,hardline:w,softline:k,group:R,indent:P,ifBreak:M}}=bn(),{hasComment:T,CommentCheckFlags:N}=qn(),{getTypeParametersGroupId:j}=Oi(),{printMethod:re}=ls(),{printOptionalToken:ne,printTypeAnnotation:$,printDefiniteToken:J}=zi(),{printPropertyKey:ee}=vi(),{printAssignment:oe}=ya(),{printClassMemberDecorators:ie}=el();function se(X,K,ce){let we=X.getValue(),ye=[];we.declare&&ye.push("declare "),we.abstract&&ye.push("abstract "),ye.push("class");let Be=we.id&&T(we.id,N.Trailing)||we.typeParameters&&T(we.typeParameters,N.Trailing)||we.superClass&&T(we.superClass)||h(we.extends)||h(we.mixins)||h(we.implements),ke=[],Ee=[];if(we.id&&ke.push(" ",ce("id")),ke.push(ce("typeParameters")),we.superClass){let qe=[H(X,K,ce),ce("superTypeParameters")],Se=X.call(Te=>["extends ",x(Te,qe,K)],"superClass");Be?Ee.push(D,R(Se)):Ee.push(" ",Se)}else Ee.push(S(X,K,ce,"extends"));if(Ee.push(S(X,K,ce,"mixins"),S(X,K,ce,"implements")),Be){let qe;W(we)?qe=[...ke,P(Ee)]:qe=P([...ke,Ee]),ye.push(R(qe,{id:z(we)}))}else ye.push(...ke,...Ee);return ye.push(" ",ce("body")),ye}var z=C("heritageGroup");function B(X){return M(w,"",{groupId:z(X)})}function O(X){return["superClass","extends","mixins","implements"].filter(K=>Boolean(X[K])).length>1}function W(X){return X.typeParameters&&!T(X.typeParameters,N.Trailing|N.Line)&&!O(X)}function S(X,K,ce,we){let ye=X.getValue();if(!h(ye[we]))return"";let Be=p(X,K,!0,ke=>{let{marker:Ee}=ke;return Ee===we});return[W(ye)?M(" ",D,{groupId:j(ye.typeParameters)}):D,Be,Be&&w,we,R(P([D,d([",",D],X.map(ce,we))]))]}function H(X,K,ce){let we=ce("superClass");return X.getParentNode().type==="AssignmentExpression"?R(M(["(",P([k,we]),k,")"],we)):we}function I(X,K,ce){let we=X.getValue(),ye=[];return h(we.decorators)&&ye.push(ie(X,K,ce)),we.accessibility&&ye.push(we.accessibility+" "),we.readonly&&ye.push("readonly "),we.declare&&ye.push("declare "),we.static&&ye.push("static "),(we.type==="TSAbstractMethodDefinition"||we.abstract)&&ye.push("abstract "),we.override&&ye.push("override "),ye.push(re(X,K,ce)),ye}function Y(X,K,ce){let we=X.getValue(),ye=[],Be=K.semi?";":"";return h(we.decorators)&&ye.push(ie(X,K,ce)),we.accessibility&&ye.push(we.accessibility+" "),we.declare&&ye.push("declare "),we.static&&ye.push("static "),(we.type==="TSAbstractPropertyDefinition"||we.abstract)&&ye.push("abstract "),we.override&&ye.push("override "),we.readonly&&ye.push("readonly "),we.variance&&ye.push(ce("variance")),we.type==="ClassAccessorProperty"&&ye.push("accessor "),ye.push(ee(X,K,ce),ne(X),J(X),$(X,K,ce)),[oe(X,K,ce,ye," =","value"),Be]}A.exports={printClass:se,printClassMethod:I,printClassProperty:Y,printHardlineAfterHeritage:B}}}),Nl=Oe({"src/language-js/print/interface.js"(m,A){b();var{isNonEmptyArray:h}=jn(),{builders:{join:C,line:x,group:p,indent:d,ifBreak:D}}=bn(),{hasComment:w,identity:k,CommentCheckFlags:R}=qn(),{getTypeParametersGroupId:P}=Oi(),{printTypeScriptModifiers:M}=zi();function T(N,j,re){let ne=N.getValue(),$=[];ne.declare&&$.push("declare "),ne.type==="TSInterfaceDeclaration"&&$.push(ne.abstract?"abstract ":"",M(N,j,re)),$.push("interface");let J=[],ee=[];ne.type!=="InterfaceTypeAnnotation"&&J.push(" ",re("id"),re("typeParameters"));let oe=ne.typeParameters&&!w(ne.typeParameters,R.Trailing|R.Line);return h(ne.extends)&&ee.push(oe?D(" ",x,{groupId:P(ne.typeParameters)}):x,"extends ",(ne.extends.length===1?k:d)(C([",",x],N.map(re,"extends")))),ne.id&&w(ne.id,R.Trailing)||h(ne.extends)?oe?$.push(p([...J,d(ee)])):$.push(p(d([...J,...ee]))):$.push(...J,...ee),$.push(" ",re("body")),p($)}A.exports={printInterface:T}}}),Bl=Oe({"src/language-js/print/module.js"(m,A){b();var{isNonEmptyArray:h}=jn(),{builders:{softline:C,group:x,indent:p,join:d,line:D,ifBreak:w,hardline:k}}=bn(),{printDanglingComments:R}=gi(),{hasComment:P,CommentCheckFlags:M,shouldPrintComma:T,needsHardlineAfterDanglingComment:N,isStringLiteral:j,rawText:re}=qn(),{locStart:ne,hasSameLoc:$}=Ci(),{hasDecoratorsBeforeExport:J,printDecoratorsBeforeExport:ee}=el();function oe(Y,X,K){let ce=Y.getValue(),we=X.semi?";":"",ye=[],{importKind:Be}=ce;return ye.push("import"),Be&&Be!=="value"&&ye.push(" ",Be),ye.push(O(Y,X,K),B(Y,X,K),S(Y,X,K),we),ye}function ie(Y,X,K){let ce=Y.getValue(),we=[];J(ce)&&we.push(ee(Y,X,K));let{type:ye,exportKind:Be,declaration:ke}=ce;return we.push("export"),(ce.default||ye==="ExportDefaultDeclaration")&&we.push(" default"),P(ce,M.Dangling)&&(we.push(" ",R(Y,X,!0)),N(ce)&&we.push(k)),ke?we.push(" ",K("declaration")):we.push(Be==="type"?" type":"",O(Y,X,K),B(Y,X,K),S(Y,X,K)),z(ce,X)&&we.push(";"),we}function se(Y,X,K){let ce=Y.getValue(),we=X.semi?";":"",ye=[],{exportKind:Be,exported:ke}=ce;return ye.push("export"),Be==="type"&&ye.push(" type"),ye.push(" *"),ke&&ye.push(" as ",K("exported")),ye.push(B(Y,X,K),S(Y,X,K),we),ye}function z(Y,X){if(!X.semi)return!1;let{type:K,declaration:ce}=Y,we=Y.default||K==="ExportDefaultDeclaration";if(!ce)return!0;let{type:ye}=ce;return!!(we&&ye!=="ClassDeclaration"&&ye!=="FunctionDeclaration"&&ye!=="TSInterfaceDeclaration"&&ye!=="DeclareClass"&&ye!=="DeclareFunction"&&ye!=="TSDeclareFunction"&&ye!=="EnumDeclaration")}function B(Y,X,K){let ce=Y.getValue();if(!ce.source)return"";let we=[];return W(ce,X)||we.push(" from"),we.push(" ",K("source")),we}function O(Y,X,K){let ce=Y.getValue();if(W(ce,X))return"";let we=[" "];if(h(ce.specifiers)){let ye=[],Be=[];Y.each(()=>{let ke=Y.getValue().type;if(ke==="ExportNamespaceSpecifier"||ke==="ExportDefaultSpecifier"||ke==="ImportNamespaceSpecifier"||ke==="ImportDefaultSpecifier")ye.push(K());else if(ke==="ExportSpecifier"||ke==="ImportSpecifier")Be.push(K());else throw new Error("Unknown specifier type ".concat(JSON.stringify(ke)))},"specifiers"),we.push(d(", ",ye)),Be.length>0&&(ye.length>0&&we.push(", "),Be.length>1||ye.length>0||ce.specifiers.some(ke=>P(ke))?we.push(x(["{",p([X.bracketSpacing?D:C,d([",",D],Be)]),w(T(X)?",":""),X.bracketSpacing?D:C,"}"])):we.push(["{",X.bracketSpacing?" ":"",...Be,X.bracketSpacing?" ":"","}"]))}else we.push("{}");return we}function W(Y,X){let{type:K,importKind:ce,source:we,specifiers:ye}=Y;return K!=="ImportDeclaration"||h(ye)||ce==="type"?!1:!/{\s*}/.test(X.originalText.slice(ne(Y),ne(we)))}function S(Y,X,K){let ce=Y.getNode();return h(ce.assertions)?[" assert {",X.bracketSpacing?" ":"",d(", ",Y.map(K,"assertions")),X.bracketSpacing?" ":"","}"]:""}function H(Y,X,K){let ce=Y.getNode(),{type:we}=ce,ye=[],Be=we==="ImportSpecifier"?ce.importKind:ce.exportKind;Be&&Be!=="value"&&ye.push(Be," ");let ke=we.startsWith("Import"),Ee=ke?"imported":"local",qe=ke?"local":"exported",Se=ce[Ee],Te=ce[qe],Ge="",Qe="";return we==="ExportNamespaceSpecifier"||we==="ImportNamespaceSpecifier"?Ge="*":Se&&(Ge=K(Ee)),Te&&!I(ce)&&(Qe=K(qe)),ye.push(Ge,Ge&&Qe?" as ":"",Qe),ye}function I(Y){if(Y.type!=="ImportSpecifier"&&Y.type!=="ExportSpecifier")return!1;let{local:X,[Y.type==="ImportSpecifier"?"imported":"exported"]:K}=Y;if(X.type!==K.type||!$(X,K))return!1;if(j(X))return X.value===K.value&&re(X)===re(K);switch(X.type){case"Identifier":return X.name===K.name;default:return!1}}A.exports={printImportDeclaration:oe,printExportDeclaration:ie,printExportAllDeclaration:se,printModuleSpecifier:H}}}),tl=Oe({"src/language-js/print/object.js"(m,A){b();var{printDanglingComments:h}=gi(),{builders:{line:C,softline:x,group:p,indent:d,ifBreak:D,hardline:w}}=bn(),{getLast:k,hasNewlineInRange:R,hasNewline:P,isNonEmptyArray:M}=jn(),{shouldPrintComma:T,hasComment:N,getComments:j,CommentCheckFlags:re,isNextLineEmpty:ne}=qn(),{locStart:$,locEnd:J}=Ci(),{printOptionalToken:ee,printTypeAnnotation:oe}=zi(),{shouldHugFunctionParameters:ie}=Wi(),{shouldHugType:se}=Ei(),{printHardlineAfterHeritage:z}=cs();function B(O,W,S){let H=W.semi?";":"",I=O.getValue(),Y;I.type==="TSTypeLiteral"?Y="members":I.type==="TSInterfaceBody"?Y="body":Y="properties";let X=I.type==="ObjectTypeAnnotation",K=[Y];X&&K.push("indexers","callProperties","internalSlots");let ce=K.map(Fe=>I[Fe][0]).sort((Fe,Me)=>$(Fe)-$(Me))[0],we=O.getParentNode(0),ye=X&&we&&(we.type==="InterfaceDeclaration"||we.type==="DeclareInterface"||we.type==="DeclareClass")&&O.getName()==="body",Be=I.type==="TSInterfaceBody"||ye||I.type==="ObjectPattern"&&we.type!=="FunctionDeclaration"&&we.type!=="FunctionExpression"&&we.type!=="ArrowFunctionExpression"&&we.type!=="ObjectMethod"&&we.type!=="ClassMethod"&&we.type!=="ClassPrivateMethod"&&we.type!=="AssignmentPattern"&&we.type!=="CatchClause"&&I.properties.some(Fe=>Fe.value&&(Fe.value.type==="ObjectPattern"||Fe.value.type==="ArrayPattern"))||I.type!=="ObjectPattern"&&ce&&R(W.originalText,$(I),$(ce)),ke=ye?";":I.type==="TSInterfaceBody"||I.type==="TSTypeLiteral"?D(H,";"):",",Ee=I.type==="RecordExpression"?"#{":I.exact?"{|":"{",qe=I.exact?"|}":"}",Se=[];for(let Fe of K)O.each(Me=>{let Dt=Me.getValue();Se.push({node:Dt,printed:S(),loc:$(Dt)})},Fe);K.length>1&&Se.sort((Fe,Me)=>Fe.loc-Me.loc);let Te=[],Ge=Se.map(Fe=>{let Me=[...Te,p(Fe.printed)];return Te=[ke,C],(Fe.node.type==="TSPropertySignature"||Fe.node.type==="TSMethodSignature"||Fe.node.type==="TSConstructSignatureDeclaration")&&N(Fe.node,re.PrettierIgnore)&&Te.shift(),ne(Fe.node,W)&&Te.push(w),Me});if(I.inexact){let Fe;if(N(I,re.Dangling)){let Me=N(I,re.Line);Fe=[h(O,W,!0),Me||P(W.originalText,J(k(j(I))))?w:C,"..."]}else Fe=["..."];Ge.push([...Te,...Fe])}let Qe=k(I[Y]),Xe=!(I.inexact||Qe&&Qe.type==="RestElement"||Qe&&(Qe.type==="TSPropertySignature"||Qe.type==="TSCallSignatureDeclaration"||Qe.type==="TSMethodSignature"||Qe.type==="TSConstructSignatureDeclaration")&&N(Qe,re.PrettierIgnore)),At;if(Ge.length===0){if(!N(I,re.Dangling))return[Ee,qe,oe(O,W,S)];At=p([Ee,h(O,W),x,qe,ee(O),oe(O,W,S)])}else At=[ye&&M(I.properties)?z(we):"",Ee,d([W.bracketSpacing?C:x,...Ge]),D(Xe&&(ke!==","||T(W))?ke:""),W.bracketSpacing?C:x,qe,ee(O),oe(O,W,S)];return O.match(Fe=>Fe.type==="ObjectPattern"&&!Fe.decorators,(Fe,Me,Dt)=>ie(Fe)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&Dt===0)||O.match(se,(Fe,Me)=>Me==="typeAnnotation",(Fe,Me)=>Me==="typeAnnotation",(Fe,Me,Dt)=>ie(Fe)&&(Me==="params"||Me==="parameters"||Me==="this"||Me==="rest")&&Dt===0)||!Be&&O.match(Fe=>Fe.type==="ObjectPattern",Fe=>Fe.type==="AssignmentExpression"||Fe.type==="VariableDeclarator")?At:p(At,{shouldBreak:Be})}A.exports={printObject:B}}}),rl=Oe({"src/language-js/print/flow.js"(m,A){b();var h=xs(),{printDanglingComments:C}=gi(),{printString:x,printNumber:p}=jn(),{builders:{hardline:d,softline:D,group:w,indent:k}}=bn(),{getParentExportDeclaration:R,isFunctionNotation:P,isGetterOrSetter:M,rawText:T,shouldPrintComma:N}=qn(),{locStart:j,locEnd:re}=Ci(),{printClass:ne}=cs(),{printOpaqueType:$,printTypeAlias:J,printIntersectionType:ee,printUnionType:oe,printFunctionType:ie,printTupleType:se,printIndexedAccessType:z}=Ei(),{printInterface:B}=Nl(),{printTypeParameter:O,printTypeParameters:W}=Oi(),{printExportDeclaration:S,printExportAllDeclaration:H}=Bl(),{printArrayItems:I}=ma(),{printObject:Y}=tl(),{printPropertyKey:X}=vi(),{printOptionalToken:K,printTypeAnnotation:ce,printRestSpread:we}=zi();function ye(ke,Ee,qe){let Se=ke.getValue(),Te=Ee.semi?";":"",Ge=[];switch(Se.type){case"DeclareClass":return Be(ke,ne(ke,Ee,qe));case"DeclareFunction":return Be(ke,["function ",qe("id"),Se.predicate?" ":"",qe("predicate"),Te]);case"DeclareModule":return Be(ke,["module ",qe("id")," ",qe("body")]);case"DeclareModuleExports":return Be(ke,["module.exports",": ",qe("typeAnnotation"),Te]);case"DeclareVariable":return Be(ke,["var ",qe("id"),Te]);case"DeclareOpaqueType":return Be(ke,$(ke,Ee,qe));case"DeclareInterface":return Be(ke,B(ke,Ee,qe));case"DeclareTypeAlias":return Be(ke,J(ke,Ee,qe));case"DeclareExportDeclaration":return Be(ke,S(ke,Ee,qe));case"DeclareExportAllDeclaration":return Be(ke,H(ke,Ee,qe));case"OpaqueType":return $(ke,Ee,qe);case"TypeAlias":return J(ke,Ee,qe);case"IntersectionTypeAnnotation":return ee(ke,Ee,qe);case"UnionTypeAnnotation":return oe(ke,Ee,qe);case"FunctionTypeAnnotation":return ie(ke,Ee,qe);case"TupleTypeAnnotation":return se(ke,Ee,qe);case"GenericTypeAnnotation":return[qe("id"),W(ke,Ee,qe,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return z(ke,Ee,qe);case"TypeAnnotation":return qe("typeAnnotation");case"TypeParameter":return O(ke,Ee,qe);case"TypeofTypeAnnotation":return["typeof ",qe("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[qe("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(Se.value);case"EnumDeclaration":return["enum ",qe("id")," ",qe("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(Se.type==="EnumSymbolBody"||Se.explicitType){let Qe=null;switch(Se.type){case"EnumBooleanBody":Qe="boolean";break;case"EnumNumberBody":Qe="number";break;case"EnumStringBody":Qe="string";break;case"EnumSymbolBody":Qe="symbol";break}Ge.push("of ",Qe," ")}if(Se.members.length===0&&!Se.hasUnknownMembers)Ge.push(w(["{",C(ke,Ee),D,"}"]));else{let Qe=Se.members.length>0?[d,I(ke,Ee,"members",qe),Se.hasUnknownMembers||N(Ee)?",":""]:[];Ge.push(w(["{",k([...Qe,...Se.hasUnknownMembers?[d,"..."]:[]]),C(ke,Ee,!0),d,"}"]))}return Ge}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[qe("id")," = ",typeof Se.init=="object"?qe("init"):String(Se.init)];case"EnumDefaultedMember":return qe("id");case"FunctionTypeParam":{let Qe=Se.name?qe("name"):ke.getParentNode().this===Se?"this":"";return[Qe,K(ke),Qe?": ":"",qe("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return B(ke,Ee,qe);case"ClassImplements":case"InterfaceExtends":return[qe("id"),qe("typeParameters")];case"NullableTypeAnnotation":return["?",qe("typeAnnotation")];case"Variance":{let{kind:Qe}=Se;return h.ok(Qe==="plus"||Qe==="minus"),Qe==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Se.static&&Ge.push("static "),Ge.push(qe("value")),Ge;case"ObjectTypeIndexer":return[Se.static?"static ":"",Se.variance?qe("variance"):"","[",qe("id"),Se.id?": ":"",qe("key"),"]: ",qe("value")];case"ObjectTypeProperty":{let Qe="";return Se.proto?Qe="proto ":Se.static&&(Qe="static "),[Qe,M(Se)?Se.kind+" ":"",Se.variance?qe("variance"):"",X(ke,Ee,qe),K(ke),P(Se)?"":": ",qe("value")]}case"ObjectTypeAnnotation":return Y(ke,Ee,qe);case"ObjectTypeInternalSlot":return[Se.static?"static ":"","[[",qe("id"),"]]",K(ke),Se.method?"":": ",qe("value")];case"ObjectTypeSpreadProperty":return we(ke,Ee,qe);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[qe("qualification"),".",qe("id")];case"StringLiteralTypeAnnotation":return x(T(Se),Ee);case"NumberLiteralTypeAnnotation":h.strictEqual(typeof Se.value,"number");case"BigIntLiteralTypeAnnotation":return Se.extra?p(Se.extra.raw):p(Se.raw);case"TypeCastExpression":return["(",qe("expression"),ce(ke,Ee,qe),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Qe=W(ke,Ee,qe,"params");if(Ee.parser==="flow"){let Xe=j(Se),At=re(Se),Fe=Ee.originalText.lastIndexOf("/*",Xe),Me=Ee.originalText.indexOf("*/",At);if(Fe!==-1&&Me!==-1){let Dt=Ee.originalText.slice(Fe+2,Me).trim();if(Dt.startsWith("::")&&!Dt.includes("/*")&&!Dt.includes("*/"))return["/*:: ",Qe," */"]}}return Qe}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",qe("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(Se.type))}}function Be(ke,Ee){let qe=R(ke);return qe?(h.strictEqual(qe.type,"DeclareExportDeclaration"),Ee):["declare ",Ee]}A.exports={printFlow:ye}}}),_l=Oe({"src/language-js/utils/is-ts-keyword-type.js"(m,A){b();function h(C){let{type:x}=C;return x.startsWith("TS")&&x.endsWith("Keyword")}A.exports=h}}),eu=Oe({"src/language-js/print/ternary.js"(m,A){b();var{hasNewlineInRange:h}=jn(),{isJsxNode:C,getComments:x,isCallExpression:p,isMemberExpression:d}=qn(),{locStart:D,locEnd:w}=Ci(),k=go(),{builders:{line:R,softline:P,group:M,indent:T,align:N,ifBreak:j,dedent:re,breakParent:ne}}=bn();function $(se){let z=[se];for(let B=0;B<z.length;B++){let O=z[B];for(let W of["test","consequent","alternate"]){let S=O[W];if(C(S))return!0;S.type==="ConditionalExpression"&&z.push(S)}}return!1}function J(se,z,B){let O=se.getValue(),W=O.type==="ConditionalExpression",S=W?"alternate":"falseType",H=se.getParentNode(),I=W?B("test"):[B("checkType")," ","extends"," ",B("extendsType")];return H.type===O.type&&H[S]===O?N(2,I):I}var ee=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function oe(se){let z=se.getValue();if(z.type!=="ConditionalExpression")return!1;let B,O=z;for(let W=0;!B;W++){let S=se.getParentNode(W);if(p(S)&&S.callee===O||d(S)&&S.object===O||S.type==="TSNonNullExpression"&&S.expression===O){O=S;continue}S.type==="NewExpression"&&S.callee===O||S.type==="TSAsExpression"&&S.expression===O?(B=se.getParentNode(W+1),O=S):B=S}return O===z?!1:B[ee.get(B.type)]===O}function ie(se,z,B){let O=se.getValue(),W=O.type==="ConditionalExpression",S=W?"consequent":"trueType",H=W?"alternate":"falseType",I=W?["test"]:["checkType","extendsType"],Y=O[S],X=O[H],K=[],ce=!1,we=se.getParentNode(),ye=we.type===O.type&&I.some(Me=>we[Me]===O),Be=we.type===O.type&&!ye,ke,Ee,qe=0;do Ee=ke||O,ke=se.getParentNode(qe),qe++;while(ke&&ke.type===O.type&&I.every(Me=>ke[Me]!==Ee));let Se=ke||we,Te=Ee;if(W&&(C(O[I[0]])||C(Y)||C(X)||$(Te))){ce=!0,Be=!0;let Me=Nt=>[j("("),T([P,Nt]),P,j(")")],Dt=Nt=>Nt.type==="NullLiteral"||Nt.type==="Literal"&&Nt.value===null||Nt.type==="Identifier"&&Nt.name==="undefined";K.push(" ? ",Dt(Y)?B(S):Me(B(S))," : ",X.type===O.type||Dt(X)?B(H):Me(B(H)))}else{let Me=[R,"? ",Y.type===O.type?j("","("):"",N(2,B(S)),Y.type===O.type?j("",")"):"",R,": ",X.type===O.type?B(H):N(2,B(H))];K.push(we.type!==O.type||we[H]===O||ye?Me:z.useTabs?re(T(Me)):N(Math.max(0,z.tabWidth-2),Me))}let Ge=[...I.map(Me=>x(O[Me])),x(Y),x(X)].flat().some(Me=>k(Me)&&h(z.originalText,D(Me),w(Me))),Qe=Me=>we===Se?M(Me,{shouldBreak:Ge}):Ge?[Me,ne]:Me,Xe=!ce&&(d(we)||we.type==="NGPipeExpression"&&we.left===O)&&!we.computed,At=oe(se),Fe=Qe([J(se,z,B),Be?K:T(K),W&&Xe&&!At?P:""]);return ye||At?M([T([P,Fe]),P]):Fe}A.exports={printTernary:ie}}}),Pl=Oe({"src/language-js/print/statement.js"(m,A){b();var{builders:{hardline:h}}=bn(),C=wo(),{getLeftSidePathName:x,hasNakedLeftSide:p,isJsxNode:d,isTheOnlyJsxElementInMarkdown:D,hasComment:w,CommentCheckFlags:k,isNextLineEmpty:R}=qn(),{shouldPrintParamsWithoutParens:P}=ls();function M(ee,oe,ie,se){let z=ee.getValue(),B=[],O=z.type==="ClassBody",W=T(z[se]);return ee.each((S,H,I)=>{let Y=S.getValue();if(Y.type==="EmptyStatement")return;let X=ie();!oe.semi&&!O&&!D(oe,S)&&N(S,oe)?w(Y,k.Leading)?B.push(ie([],{needsSemi:!0})):B.push(";",X):B.push(X),!oe.semi&&O&&$(Y)&&J(Y,I[H+1])&&B.push(";"),Y!==W&&(B.push(h),R(Y,oe)&&B.push(h))},se),B}function T(ee){for(let oe=ee.length-1;oe>=0;oe--){let ie=ee[oe];if(ie.type!=="EmptyStatement")return ie}}function N(ee,oe){return ee.getNode().type!=="ExpressionStatement"?!1:ee.call(ie=>j(ie,oe),"expression")}function j(ee,oe){let ie=ee.getValue();switch(ie.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!P(ee,oe))return!0;break}case"UnaryExpression":{let{prefix:se,operator:z}=ie;if(se&&(z==="+"||z==="-"))return!0;break}case"BindExpression":{if(!ie.object)return!0;break}case"Literal":{if(ie.regex)return!0;break}default:if(d(ie))return!0}return C(ee,oe)?!0:p(ie)?ee.call(se=>j(se,oe),...x(ee,ie)):!1}function re(ee,oe,ie){return M(ee,oe,ie,"body")}function ne(ee,oe,ie){return M(ee,oe,ie,"consequent")}var $=ee=>{let{type:oe}=ee;return oe==="ClassProperty"||oe==="PropertyDefinition"||oe==="ClassPrivateProperty"||oe==="ClassAccessorProperty"};function J(ee,oe){let ie=ee.key&&ee.key.name;if((ie==="static"||ie==="get"||ie==="set")&&!ee.value&&!ee.typeAnnotation)return!0;if(!oe||oe.static||oe.accessibility)return!1;if(!oe.computed){let se=oe.key&&oe.key.name;if(se==="in"||se==="instanceof")return!0}if($(oe)&&oe.variance&&!oe.static&&!oe.declare)return!0;switch(oe.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return oe.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((oe.value?oe.value.async:oe.async)||oe.kind==="get"||oe.kind==="set")return!1;let se=oe.value?oe.value.generator:oe.generator;return!!(oe.computed||se)}case"TSIndexSignature":return!0}return!1}A.exports={printBody:re,printSwitchCaseConsequent:ne}}}),tu=Oe({"src/language-js/print/block.js"(m,A){b();var{printDanglingComments:h}=gi(),{isNonEmptyArray:C}=jn(),{builders:{hardline:x,indent:p}}=bn(),{hasComment:d,CommentCheckFlags:D,isNextLineEmpty:w}=qn(),{printHardlineAfterHeritage:k}=cs(),{printBody:R}=Pl();function P(T,N,j){let re=T.getValue(),ne=[];if(re.type==="StaticBlock"&&ne.push("static "),re.type==="ClassBody"&&C(re.body)){let J=T.getParentNode();ne.push(k(J))}ne.push("{");let $=M(T,N,j);if($)ne.push(p([x,$]),x);else{let J=T.getParentNode(),ee=T.getParentNode(1);J.type==="ArrowFunctionExpression"||J.type==="FunctionExpression"||J.type==="FunctionDeclaration"||J.type==="ObjectMethod"||J.type==="ClassMethod"||J.type==="ClassPrivateMethod"||J.type==="ForStatement"||J.type==="WhileStatement"||J.type==="DoWhileStatement"||J.type==="DoExpression"||J.type==="CatchClause"&&!ee.finalizer||J.type==="TSModuleDeclaration"||J.type==="TSDeclareFunction"||re.type==="StaticBlock"||re.type==="ClassBody"||ne.push(x)}return ne.push("}"),ne}function M(T,N,j){let re=T.getValue(),ne=C(re.directives),$=re.body.some(oe=>oe.type!=="EmptyStatement"),J=d(re,D.Dangling);if(!ne&&!$&&!J)return"";let ee=[];if(ne&&T.each((oe,ie,se)=>{ee.push(j()),(ie<se.length-1||$||J)&&(ee.push(x),w(oe.getValue(),N)&&ee.push(x))},"directives"),$&&ee.push(R(T,N,j)),J&&ee.push(h(T,N,!0)),re.type==="Program"){let oe=T.getParentNode();(!oe||oe.type!=="ModuleExpression")&&ee.push(x)}return ee}A.exports={printBlock:P,printBlockBody:M}}}),va=Oe({"src/language-js/print/typescript.js"(m,A){b();var{printDanglingComments:h}=gi(),{hasNewlineInRange:C}=jn(),{builders:{join:x,line:p,hardline:d,softline:D,group:w,indent:k,conditionalGroup:R,ifBreak:P}}=bn(),{isLiteral:M,getTypeScriptMappedTypeModifier:T,shouldPrintComma:N,isCallExpression:j,isMemberExpression:re}=qn(),ne=_l(),{locStart:$,locEnd:J}=Ci(),{printOptionalToken:ee,printTypeScriptModifiers:oe}=zi(),{printTernary:ie}=eu(),{printFunctionParameters:se,shouldGroupFunctionParameters:z}=Wi(),{printTemplateLiteral:B}=lo(),{printArrayItems:O}=ma(),{printObject:W}=tl(),{printClassProperty:S,printClassMethod:H}=cs(),{printTypeParameter:I,printTypeParameters:Y}=Oi(),{printPropertyKey:X}=vi(),{printFunction:K,printMethodInternal:ce}=ls(),{printInterface:we}=Nl(),{printBlock:ye}=tu(),{printTypeAlias:Be,printIntersectionType:ke,printUnionType:Ee,printFunctionType:qe,printTupleType:Se,printIndexedAccessType:Te,printJSDocType:Ge}=Ei();function Qe(Xe,At,Fe){let Me=Xe.getValue();if(!Me.type.startsWith("TS"))return;if(ne(Me))return Me.type.slice(2,-7).toLowerCase();let Dt=At.semi?";":"",Nt=[];switch(Me.type){case"TSThisType":return"this";case"TSTypeAssertion":{let mt=!(Me.expression.type==="ArrayExpression"||Me.expression.type==="ObjectExpression"),Ie=w(["<",k([D,Fe("typeAnnotation")]),D,">"]),Re=[P("("),k([D,Fe("expression")]),D,P(")")];return mt?R([[Ie,Fe("expression")],[Ie,w(Re,{shouldBreak:!0})],[Ie,Fe("expression")]]):w([Ie,Fe("expression")])}case"TSDeclareFunction":return K(Xe,Fe,At);case"TSExportAssignment":return["export = ",Fe("expression"),Dt];case"TSModuleBlock":return ye(Xe,At,Fe);case"TSInterfaceBody":case"TSTypeLiteral":return W(Xe,At,Fe);case"TSTypeAliasDeclaration":return Be(Xe,At,Fe);case"TSQualifiedName":return x(".",[Fe("left"),Fe("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return H(Xe,At,Fe);case"TSAbstractPropertyDefinition":return S(Xe,At,Fe);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Nt.push(Fe("expression")),Me.typeParameters&&Nt.push(Fe("typeParameters")),Nt;case"TSTemplateLiteralType":return B(Xe,Fe,At);case"TSNamedTupleMember":return[Fe("label"),Me.optional?"?":"",": ",Fe("elementType")];case"TSRestType":return["...",Fe("typeAnnotation")];case"TSOptionalType":return[Fe("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return we(Xe,At,Fe);case"TSClassImplements":return[Fe("expression"),Fe("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Y(Xe,At,Fe,"params");case"TSTypeParameter":return I(Xe,At,Fe);case"TSAsExpression":{Nt.push(Fe("expression")," as ",Fe("typeAnnotation"));let mt=Xe.getParentNode();return j(mt)&&mt.callee===Me||re(mt)&&mt.object===Me?w([k([D,...Nt]),D]):Nt}case"TSArrayType":return[Fe("elementType"),"[]"];case"TSPropertySignature":return Me.readonly&&Nt.push("readonly "),Nt.push(X(Xe,At,Fe),ee(Xe)),Me.typeAnnotation&&Nt.push(": ",Fe("typeAnnotation")),Me.initializer&&Nt.push(" = ",Fe("initializer")),Nt;case"TSParameterProperty":return Me.accessibility&&Nt.push(Me.accessibility+" "),Me.export&&Nt.push("export "),Me.static&&Nt.push("static "),Me.override&&Nt.push("override "),Me.readonly&&Nt.push("readonly "),Nt.push(Fe("parameter")),Nt;case"TSTypeQuery":return["typeof ",Fe("exprName"),Fe("typeParameters")];case"TSIndexSignature":{let mt=Xe.getParentNode(),Ie=Me.parameters.length>1?P(N(At)?",":""):"",Re=w([k([D,x([", ",D],Xe.map(Fe,"parameters"))]),Ie,D]);return[Me.export?"export ":"",Me.accessibility?[Me.accessibility," "]:"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.declare?"declare ":"","[",Me.parameters?Re:"",Me.typeAnnotation?"]: ":"]",Me.typeAnnotation?Fe("typeAnnotation"):"",mt.type==="ClassBody"?Dt:""]}case"TSTypePredicate":return[Me.asserts?"asserts ":"",Fe("parameterName"),Me.typeAnnotation?[" is ",Fe("typeAnnotation")]:""];case"TSNonNullExpression":return[Fe("expression"),"!"];case"TSImportType":return[Me.isTypeOf?"typeof ":"","import(",Fe(Me.parameter?"parameter":"argument"),")",Me.qualifier?[".",Fe("qualifier")]:"",Y(Xe,At,Fe,"typeParameters")];case"TSLiteralType":return Fe("literal");case"TSIndexedAccessType":return Te(Xe,At,Fe);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Me.type==="TSConstructorType"&&Me.abstract&&Nt.push("abstract "),Me.type!=="TSCallSignatureDeclaration"&&Nt.push("new "),Nt.push(w(se(Xe,Fe,At,!1,!0))),Me.returnType||Me.typeAnnotation){let mt=Me.type==="TSConstructorType";Nt.push(mt?" => ":": ",Fe("returnType"),Fe("typeAnnotation"))}return Nt}case"TSTypeOperator":return[Me.operator," ",Fe("typeAnnotation")];case"TSMappedType":{let mt=C(At.originalText,$(Me),J(Me));return w(["{",k([At.bracketSpacing?p:D,Me.readonly?[T(Me.readonly,"readonly")," "]:"",oe(Xe,At,Fe),Fe("typeParameter"),Me.optional?T(Me.optional,"?"):"",Me.typeAnnotation?": ":"",Fe("typeAnnotation"),P(Dt)]),h(Xe,At,!0),At.bracketSpacing?p:D,"}"],{shouldBreak:mt})}case"TSMethodSignature":{let mt=Me.kind&&Me.kind!=="method"?"".concat(Me.kind," "):"";Nt.push(Me.accessibility?[Me.accessibility," "]:"",mt,Me.export?"export ":"",Me.static?"static ":"",Me.readonly?"readonly ":"",Me.abstract?"abstract ":"",Me.declare?"declare ":"",Me.computed?"[":"",Fe("key"),Me.computed?"]":"",ee(Xe));let Ie=se(Xe,Fe,At,!1,!0),Re=Me.returnType?"returnType":"typeAnnotation",He=Me[Re],Et=He?Fe(Re):"",gt=z(Me,Et);return Nt.push(gt?w(Ie):Ie),He&&Nt.push(": ",w(Et)),w(Nt)}case"TSNamespaceExportDeclaration":return Nt.push("export as namespace ",Fe("id")),At.semi&&Nt.push(";"),w(Nt);case"TSEnumDeclaration":return Me.declare&&Nt.push("declare "),Me.modifiers&&Nt.push(oe(Xe,At,Fe)),Me.const&&Nt.push("const "),Nt.push("enum ",Fe("id")," "),Me.members.length===0?Nt.push(w(["{",h(Xe,At),D,"}"])):Nt.push(w(["{",k([d,O(Xe,At,"members",Fe),N(At,"es5")?",":""]),h(Xe,At,!0),d,"}"])),Nt;case"TSEnumMember":return Me.computed?Nt.push("[",Fe("id"),"]"):Nt.push(Fe("id")),Me.initializer&&Nt.push(" = ",Fe("initializer")),Nt;case"TSImportEqualsDeclaration":return Me.isExport&&Nt.push("export "),Nt.push("import "),Me.importKind&&Me.importKind!=="value"&&Nt.push(Me.importKind," "),Nt.push(Fe("id")," = ",Fe("moduleReference")),At.semi&&Nt.push(";"),w(Nt);case"TSExternalModuleReference":return["require(",Fe("expression"),")"];case"TSModuleDeclaration":{let mt=Xe.getParentNode(),Ie=M(Me.id),Re=mt.type==="TSModuleDeclaration",He=Me.body&&Me.body.type==="TSModuleDeclaration";if(Re)Nt.push(".");else{Me.declare&&Nt.push("declare "),Nt.push(oe(Xe,At,Fe));let Et=At.originalText.slice($(Me),$(Me.id));Me.id.type==="Identifier"&&Me.id.name==="global"&&!/namespace|module/.test(Et)||Nt.push(Ie||/(?:^|\s)module(?:\s|$)/.test(Et)?"module ":"namespace ")}return Nt.push(Fe("id")),He?Nt.push(Fe("body")):Me.body?Nt.push(" ",w(Fe("body"))):Nt.push(Dt),Nt}case"TSConditionalType":return ie(Xe,At,Fe);case"TSInferType":return["infer"," ",Fe("typeParameter")];case"TSIntersectionType":return ke(Xe,At,Fe);case"TSUnionType":return Ee(Xe,At,Fe);case"TSFunctionType":return qe(Xe,At,Fe);case"TSTupleType":return Se(Xe,At,Fe);case"TSTypeReference":return[Fe("typeName"),Y(Xe,At,Fe,"typeParameters")];case"TSTypeAnnotation":return Fe("typeAnnotation");case"TSEmptyBodyFunctionExpression":return ce(Xe,At,Fe);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Ge(Xe,Fe,"?");case"TSJSDocNonNullableType":return Ge(Xe,Fe,"!");case"TSInstantiationExpression":return[Fe("expression"),Fe("typeParameters")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(Me.type),"."))}}A.exports={printTypescript:Qe}}}),Ol=Oe({"src/language-js/print/comment.js"(m,A){b();var{hasNewline:h}=jn(),{builders:{join:C,hardline:x},utils:{replaceTextEndOfLine:p}}=bn(),{isLineComment:d}=qn(),{locStart:D,locEnd:w}=Ci(),k=go();function R(T,N){let j=T.getValue();if(d(j))return N.originalText.slice(D(j),w(j)).trimEnd();if(k(j)){if(P(j)){let $=M(j);return j.trailing&&!h(N.originalText,D(j),{backwards:!0})?[x,$]:$}let re=w(j),ne=N.originalText.slice(re-3,re)==="*-/";return["/*",p(j.value),ne?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(j))}function P(T){let N="*".concat(T.value,"*").split(`
|
|
90
|
+
`);return N.length>1&&N.every(j=>j.trim()[0]==="*")}function M(T){let N=T.value.split(`
|
|
91
|
+
`);return["/*",C(x,N.map((j,re)=>re===0?j.trimEnd():" "+(re<N.length-1?j.trim():j.trimStart()))),"*/"]}A.exports={printComment:R}}}),jl=Oe({"src/language-js/print/literal.js"(m,A){b();var{printString:h,printNumber:C}=jn();function x(D,w){let k=D.getNode();switch(k.type){case"RegExpLiteral":return d(k);case"BigIntLiteral":return p(k.bigint||k.extra.raw);case"NumericLiteral":return C(k.extra.raw);case"StringLiteral":return h(k.extra.raw,w);case"NullLiteral":return"null";case"BooleanLiteral":return String(k.value);case"DecimalLiteral":return C(k.value)+"m";case"Literal":{if(k.regex)return d(k.regex);if(k.bigint)return p(k.raw);if(k.decimal)return C(k.decimal)+"m";let{value:R}=k;return typeof R=="number"?C(k.raw):typeof R=="string"?h(k.raw,w):String(R)}}}function p(D){return D.toLowerCase()}function d(D){let{pattern:w,flags:k}=D;return k=[...k].sort().join(""),"/".concat(w,"/").concat(k)}A.exports={printLiteral:x}}}),nl=Oe({"src/language-js/printer-estree.js"(m,A){b();var{printDanglingComments:h}=gi(),{hasNewline:C}=jn(),{builders:{join:x,line:p,hardline:d,softline:D,group:w,indent:k},utils:{replaceTextEndOfLine:R}}=bn(),P=Xa(),M=ua(),{insertPragma:T}=Ro(),N=Ss(),j=wo(),re=Ya(),{hasFlowShorthandAnnotationComment:ne,hasComment:$,CommentCheckFlags:J,isTheOnlyJsxElementInMarkdown:ee,isLineComment:oe,isNextLineEmpty:ie,needsHardlineAfterDanglingComment:se,rawText:z,hasIgnoreComment:B,isCallExpression:O,isMemberExpression:W,markerForIfWithoutBlockAndSameLineComment:S}=qn(),{locStart:H,locEnd:I}=Ci(),Y=go(),{printHtmlBinding:X,isVueEventBindingExpression:K}=ha(),{printAngular:ce}=Cc(),{printJsx:we,hasJsxIgnoreComment:ye}=Fs(),{printFlow:Be}=rl(),{printTypescript:ke}=va(),{printOptionalToken:Ee,printBindExpressionCallee:qe,printTypeAnnotation:Se,adjustClause:Te,printRestSpread:Ge,printDefiniteToken:Qe}=zi(),{printImportDeclaration:Xe,printExportDeclaration:At,printExportAllDeclaration:Fe,printModuleSpecifier:Me}=Bl(),{printTernary:Dt}=eu(),{printTemplateLiteral:Nt}=lo(),{printArray:mt}=ma(),{printObject:Ie}=tl(),{printClass:Re,printClassMethod:He,printClassProperty:Et}=cs(),{printProperty:gt}=vi(),{printFunction:ur,printArrowFunction:Ur,printMethod:Yr,printReturnStatement:Ft,printThrowStatement:St}=ls(),{printCallExpression:Lt}=Za(),{printVariableDeclarator:tt,printAssignmentExpression:rr}=ya(),{printBinaryishExpression:$e}=ga(),{printSwitchCaseConsequent:Kt}=Pl(),{printMemberExpression:qt}=Tl(),{printBlock:e,printBlockBody:t}=tu(),{printComment:o}=Ol(),{printLiteral:i}=jl(),{printDecorators:n}=el();function u(L,ve,he,Ze){let Le=c(L,ve,he,Ze);if(!Le)return"";let Ct=L.getValue(),{type:lt}=Ct;if(lt==="ClassMethod"||lt==="ClassPrivateMethod"||lt==="ClassProperty"||lt==="ClassAccessorProperty"||lt==="PropertyDefinition"||lt==="TSAbstractPropertyDefinition"||lt==="ClassPrivateProperty"||lt==="MethodDefinition"||lt==="TSAbstractMethodDefinition"||lt==="TSDeclareMethod")return Le;let _t=[Le],er=n(L,ve,he),wt=Ct.type==="ClassExpression"&&er;if(er&&(_t=[...er,Le],!wt))return w(_t);if(!j(L,ve))return Ze&&Ze.needsSemi&&_t.unshift(";"),_t.length===1&&_t[0]===Le?Le:_t;if(wt&&(_t=[k([p,..._t])]),_t.unshift("("),Ze&&Ze.needsSemi&&_t.unshift(";"),ne(Ct)){let[Mt]=Ct.trailingComments;_t.push(" /*",Mt.value.trimStart(),"*/"),Mt.printed=!0}return wt&&_t.push(p),_t.push(")"),_t}function c(L,ve,he,Ze){let Le=L.getValue(),Ct=ve.semi?";":"";if(!Le)return"";if(typeof Le=="string")return Le;for(let _t of[i,X,ce,we,Be,ke]){let er=_t(L,ve,he);if(typeof er<"u")return er}let lt=[];switch(Le.type){case"JsExpressionRoot":return he("node");case"JsonRoot":return[he("node"),d];case"File":return Le.program&&Le.program.interpreter&<.push(he(["program","interpreter"])),lt.push(he("program")),lt;case"Program":return t(L,ve,he);case"EmptyStatement":return"";case"ExpressionStatement":{if(Le.directive)return[y(Le.expression,ve),Ct];if(ve.parser==="__vue_event_binding"||ve.parser==="__vue_ts_event_binding"){let er=L.getParentNode();if(er.type==="Program"&&er.body.length===1&&er.body[0]===Le)return[he("expression"),K(Le.expression)?";":""]}let _t=h(L,ve,!0,er=>{let{marker:wt}=er;return wt===S});return[he("expression"),ee(ve,L)?"":Ct,_t?[" ",_t]:""]}case"ParenthesizedExpression":return!$(Le.expression)&&(Le.expression.type==="ObjectExpression"||Le.expression.type==="ArrayExpression")?["(",he("expression"),")"]:w(["(",k([D,he("expression")]),D,")"]);case"AssignmentExpression":return rr(L,ve,he);case"VariableDeclarator":return tt(L,ve,he);case"BinaryExpression":case"LogicalExpression":return $e(L,ve,he);case"AssignmentPattern":return[he("left")," = ",he("right")];case"OptionalMemberExpression":case"MemberExpression":return qt(L,ve,he);case"MetaProperty":return[he("meta"),".",he("property")];case"BindExpression":return Le.object&<.push(he("object")),lt.push(w(k([D,qe(L,ve,he)]))),lt;case"Identifier":return[Le.name,Ee(L),Qe(L),Se(L,ve,he)];case"V8IntrinsicIdentifier":return["%",Le.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Ge(L,ve,he);case"FunctionDeclaration":case"FunctionExpression":return ur(L,he,ve,Ze);case"ArrowFunctionExpression":return Ur(L,ve,he,Ze);case"YieldExpression":return lt.push("yield"),Le.delegate&<.push("*"),Le.argument&<.push(" ",he("argument")),lt;case"AwaitExpression":{if(lt.push("await"),Le.argument){lt.push(" ",he("argument"));let _t=L.getParentNode();if(O(_t)&&_t.callee===Le||W(_t)&&_t.object===Le){lt=[k([D,...lt]),D];let er=L.findAncestor(wt=>wt.type==="AwaitExpression"||wt.type==="BlockStatement");if(!er||er.type!=="AwaitExpression")return w(lt)}}return lt}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return At(L,ve,he);case"ExportAllDeclaration":return Fe(L,ve,he);case"ImportDeclaration":return Xe(L,ve,he);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Me(L,ve,he);case"ImportAttribute":return[he("key"),": ",he("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return e(L,ve,he);case"ThrowStatement":return St(L,ve,he);case"ReturnStatement":return Ft(L,ve,he);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Lt(L,ve,he);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Ie(L,ve,he);case"ObjectProperty":case"Property":return Le.method||Le.kind==="get"||Le.kind==="set"?Yr(L,ve,he):gt(L,ve,he);case"ObjectMethod":return Yr(L,ve,he);case"Decorator":return["@",he("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return mt(L,ve,he);case"SequenceExpression":{let _t=L.getParentNode(0);if(_t.type==="ExpressionStatement"||_t.type==="ForStatement"){let er=[];return L.each((wt,Mt)=>{Mt===0?er.push(he()):er.push(",",k([p,he()]))},"expressions"),w(er)}return w(x([",",p],L.map(he,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[he("value"),Ct];case"DirectiveLiteral":return y(Le,ve);case"UnaryExpression":return lt.push(Le.operator),/[a-z]$/.test(Le.operator)&<.push(" "),$(Le.argument)?lt.push(w(["(",k([D,he("argument")]),D,")"])):lt.push(he("argument")),lt;case"UpdateExpression":return lt.push(he("argument"),Le.operator),Le.prefix&<.reverse(),lt;case"ConditionalExpression":return Dt(L,ve,he);case"VariableDeclaration":{let _t=L.map(he,"declarations"),er=L.getParentNode(),wt=er.type==="ForStatement"||er.type==="ForInStatement"||er.type==="ForOfStatement",Mt=Le.declarations.some(Ve=>Ve.init),ir;return _t.length===1&&!$(Le.declarations[0])?ir=_t[0]:_t.length>0&&(ir=k(_t[0])),lt=[Le.declare?"declare ":"",Le.kind,ir?[" ",ir]:"",k(_t.slice(1).map(Ve=>[",",Mt&&!wt?d:p,Ve]))],wt&&er.body!==Le||lt.push(Ct),w(lt)}case"WithStatement":return w(["with (",he("object"),")",Te(Le.body,he("body"))]);case"IfStatement":{let _t=Te(Le.consequent,he("consequent")),er=w(["if (",w([k([D,he("test")]),D]),")",_t]);if(lt.push(er),Le.alternate){let wt=$(Le.consequent,J.Trailing|J.Line)||se(Le),Mt=Le.consequent.type==="BlockStatement"&&!wt;lt.push(Mt?" ":d),$(Le,J.Dangling)&<.push(h(L,ve,!0),wt?d:" "),lt.push("else",w(Te(Le.alternate,he("alternate"),Le.alternate.type==="IfStatement")))}return lt}case"ForStatement":{let _t=Te(Le.body,he("body")),er=h(L,ve,!0),wt=er?[er,D]:"";return!Le.init&&!Le.test&&!Le.update?[wt,w(["for (;;)",_t])]:[wt,w(["for (",w([k([D,he("init"),";",p,he("test"),";",p,he("update")]),D]),")",_t])]}case"WhileStatement":return w(["while (",w([k([D,he("test")]),D]),")",Te(Le.body,he("body"))]);case"ForInStatement":return w(["for (",he("left")," in ",he("right"),")",Te(Le.body,he("body"))]);case"ForOfStatement":return w(["for",Le.await?" await":""," (",he("left")," of ",he("right"),")",Te(Le.body,he("body"))]);case"DoWhileStatement":{let _t=Te(Le.body,he("body"));return lt=[w(["do",_t])],Le.body.type==="BlockStatement"?lt.push(" "):lt.push(d),lt.push("while (",w([k([D,he("test")]),D]),")",Ct),lt}case"DoExpression":return[Le.async?"async ":"","do ",he("body")];case"BreakStatement":return lt.push("break"),Le.label&<.push(" ",he("label")),lt.push(Ct),lt;case"ContinueStatement":return lt.push("continue"),Le.label&<.push(" ",he("label")),lt.push(Ct),lt;case"LabeledStatement":return Le.body.type==="EmptyStatement"?[he("label"),":;"]:[he("label"),": ",he("body")];case"TryStatement":return["try ",he("block"),Le.handler?[" ",he("handler")]:"",Le.finalizer?[" finally ",he("finalizer")]:""];case"CatchClause":if(Le.param){let _t=$(Le.param,wt=>!Y(wt)||wt.leading&&C(ve.originalText,I(wt))||wt.trailing&&C(ve.originalText,H(wt),{backwards:!0})),er=he("param");return["catch ",_t?["(",k([D,er]),D,") "]:["(",er,") "],he("body")]}return["catch ",he("body")];case"SwitchStatement":return[w(["switch (",k([D,he("discriminant")]),D,")"])," {",Le.cases.length>0?k([d,x(d,L.map((_t,er,wt)=>{let Mt=_t.getValue();return[he(),er!==wt.length-1&&ie(Mt,ve)?d:""]},"cases"))]):"",d,"}"];case"SwitchCase":{Le.test?lt.push("case ",he("test"),":"):lt.push("default:"),$(Le,J.Dangling)&<.push(" ",h(L,ve,!0));let _t=Le.consequent.filter(er=>er.type!=="EmptyStatement");if(_t.length>0){let er=Kt(L,ve,he);lt.push(_t.length===1&&_t[0].type==="BlockStatement"?[" ",er]:k([d,er]))}return lt}case"DebuggerStatement":return["debugger",Ct];case"ClassDeclaration":case"ClassExpression":return Re(L,ve,he);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return He(L,ve,he);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return Et(L,ve,he);case"TemplateElement":return R(Le.value.raw);case"TemplateLiteral":return Nt(L,he,ve);case"TaggedTemplateExpression":return[he("tag"),he("typeParameters"),he("quasi")];case"PrivateIdentifier":return["#",he("name")];case"PrivateName":return["#",he("id")];case"InterpreterDirective":return lt.push("#!",Le.value,d),ie(Le,ve)&<.push(d),lt;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{lt.push("module {");let _t=he("body");return _t&<.push(k([d,_t]),d),lt.push("}"),lt}default:throw new Error("unknown type: "+JSON.stringify(Le.type))}}function y(L,ve){let he=z(L),Ze=he.slice(1,-1);if(Ze.includes('"')||Ze.includes("'"))return he;let Le=ve.singleQuote?"'":'"';return Le+Ze+Le}function _(L){return L.type&&!Y(L)&&!oe(L)&&L.type!=="EmptyStatement"&&L.type!=="TemplateElement"&&L.type!=="Import"&&L.type!=="TSEmptyBodyFunctionExpression"}A.exports={preprocess:re,print:u,embed:P,insertPragma:T,massageAstNode:M,hasPrettierIgnore(L){return B(L)||ye(L)},willPrintOwnComments:N.willPrintOwnComments,canAttachComment:_,printComment:o,isBlockComment:Y,handleComments:{avoidAstMutation:!0,ownLine:N.handleOwnLineComment,endOfLine:N.handleEndOfLineComment,remaining:N.handleRemainingComment},getCommentChildNodes:N.getCommentChildNodes}}}),Ll=Oe({"src/language-js/printer-estree-json.js"(m,A){b();var{builders:{hardline:h,indent:C,join:x}}=bn(),p=Ya();function d(k,R,P){let M=k.getValue();switch(M.type){case"JsonRoot":return[P("node"),h];case"ArrayExpression":{if(M.elements.length===0)return"[]";let T=k.map(()=>k.getValue()===null?"null":P(),"elements");return["[",C([h,x([",",h],T)]),h,"]"]}case"ObjectExpression":return M.properties.length===0?"{}":["{",C([h,x([",",h],k.map(P,"properties"))]),h,"}"];case"ObjectProperty":return[P("key"),": ",P("value")];case"UnaryExpression":return[M.operator==="+"?"":M.operator,P("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return M.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(M.value);case"Identifier":{let T=k.getParentNode();return T&&T.type==="ObjectProperty"&&T.key===M?JSON.stringify(M.name):M.name}case"TemplateLiteral":return P(["quasis",0]);case"TemplateElement":return JSON.stringify(M.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(M.type))}}var D=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function w(k,R){let{type:P}=k;if(P==="ObjectProperty"&&k.key.type==="Identifier"){R.key={type:"StringLiteral",value:k.key.name};return}if(P==="UnaryExpression"&&k.operator==="+")return R.argument;if(P==="ArrayExpression"){for(let[M,T]of k.elements.entries())T===null&&R.elements.splice(M,0,{type:"NullLiteral"});return}if(P==="TemplateLiteral")return{type:"StringLiteral",value:k.quasis[0].value.cooked}}w.ignoredProperties=D,A.exports={preprocess:p,print:d,massageAstNode:w}}}),zo=Oe({"src/common/common-options.js"(m,A){b();var h="Common";A.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."}}}}),wc=Oe({"src/language-js/options.js"(m,A){b();var h=zo(),C="JavaScript";A.exports={arrowParens:{since:"1.9.0",category:C,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:C,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:C,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:C,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:C,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:C,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}}}),ru=Oe({"src/language-js/parse/parsers.js"(){b()}}),Ao=Oe({"node_modules/linguist-languages/data/JavaScript.json"(m,A){A.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),nu=Oe({"node_modules/linguist-languages/data/TypeScript.json"(m,A){A.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Il=Oe({"node_modules/linguist-languages/data/TSX.json"(m,A){A.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),il=Oe({"node_modules/linguist-languages/data/JSON.json"(m,A){A.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),co=Oe({"node_modules/linguist-languages/data/JSON with Comments.json"(m,A){A.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),ei=Oe({"node_modules/linguist-languages/data/JSON5.json"(m,A){A.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),So=Oe({"src/language-js/index.js"(m,A){b();var h=Io(),C=nl(),x=Ll(),p=wc(),d=ru(),D=[h(Ao(),k=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...k.interpreters,"zx"],extensions:[...k.extensions.filter(R=>R!==".jsx"),".wxs"]})),h(Ao(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),h(Ao(),()=>({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(nu(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),h(Il(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),h(il(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),h(il(),k=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:k.extensions.filter(R=>R!==".jsonl")})),h(co(),k=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...k.filenames,".eslintrc",".swcrc"]})),h(ei(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],w={estree:C,"estree-json":x};A.exports={languages:D,options:p,printers:w,parsers:d}}}),ps=Oe({"src/language-css/clean.js"(m,A){b();var{isFrontMatterNode:h}=jn(),C=Rn(),x=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function p(D,w,k){if(h(D)&&D.lang==="yaml"&&delete w.value,D.type==="css-comment"&&k.type==="css-root"&&k.nodes.length>0&&((k.nodes[0]===D||h(k.nodes[0])&&k.nodes[1]===D)&&(delete w.text,/^\*\s*@(?:format|prettier)\s*$/.test(D.text))||k.type==="css-root"&&C(k.nodes)===D))return null;if(D.type==="value-root"&&delete w.text,(D.type==="media-query"||D.type==="media-query-list"||D.type==="media-feature-expression")&&delete w.value,D.type==="css-rule"&&delete w.params,D.type==="selector-combinator"&&(w.value=w.value.replace(/\s+/g," ")),D.type==="media-feature"&&(w.value=w.value.replace(/ /g,"")),(D.type==="value-word"&&(D.isColor&&D.isHex||["initial","inherit","unset","revert"].includes(w.value.replace().toLowerCase()))||D.type==="media-feature"||D.type==="selector-root-invalid"||D.type==="selector-pseudo")&&(w.value=w.value.toLowerCase()),D.type==="css-decl"&&(w.prop=w.prop.toLowerCase()),(D.type==="css-atrule"||D.type==="css-import")&&(w.name=w.name.toLowerCase()),D.type==="value-number"&&(w.unit=w.unit.toLowerCase()),(D.type==="media-feature"||D.type==="media-keyword"||D.type==="media-type"||D.type==="media-unknown"||D.type==="media-url"||D.type==="media-value"||D.type==="selector-attribute"||D.type==="selector-string"||D.type==="selector-class"||D.type==="selector-combinator"||D.type==="value-string")&&w.value&&(w.value=d(w.value)),D.type==="selector-attribute"&&(w.attribute=w.attribute.trim(),w.namespace&&typeof w.namespace=="string"&&(w.namespace=w.namespace.trim(),w.namespace.length===0&&(w.namespace=!0)),w.value&&(w.value=w.value.trim().replace(/^["']|["']$/g,""),delete w.quoted)),(D.type==="media-value"||D.type==="media-type"||D.type==="value-number"||D.type==="selector-root-invalid"||D.type==="selector-class"||D.type==="selector-combinator"||D.type==="selector-tag")&&w.value&&(w.value=w.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(R,P,M)=>{let T=Number(P);return Number.isNaN(T)?R:T+M.toLowerCase()})),D.type==="selector-tag"){let R=D.value.toLowerCase();["from","to"].includes(R)&&(w.value=R)}if(D.type==="css-atrule"&&D.name.toLowerCase()==="supports"&&delete w.value,D.type==="selector-unknown"&&delete w.value,D.type==="value-comma_group"){let R=D.groups.findIndex(P=>P.type==="value-number"&&P.unit==="...");R!==-1&&(w.groups[R].unit="",w.groups.splice(R+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}p.ignoredProperties=x;function d(D){return D.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}A.exports=p}}),Ho=Oe({"src/utils/front-matter/print.js"(m,A){b();var{builders:{hardline:h,markAsRoot:C}}=bn();function x(p,d){if(p.lang==="yaml"){let D=p.value.trim(),w=D?d(D,{parser:"yaml"},{stripTrailingHardline:!0}):"";return C([p.startDelimiter,h,w,w?h:"",p.endDelimiter])}}A.exports=x}}),iu=Oe({"src/language-css/embed.js"(m,A){b();var{builders:{hardline:h}}=bn(),C=Ho();function x(p,d,D){let w=p.getValue();if(w.type==="front-matter"){let k=C(w,D);return k?[k,h]:""}}A.exports=x}}),fs=Oe({"src/utils/front-matter/parse.js"(m,A){b();var h=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function C(x){let p=x.match(h);if(!p)return{content:x};let{startDelimiter:d,language:D,value:w="",endDelimiter:k}=p.groups,R=D.trim()||"yaml";if(d==="+++"&&(R="toml"),R!=="yaml"&&d!==k)return{content:x};let[P]=p;return{frontMatter:{type:"front-matter",lang:R,value:w,startDelimiter:d,endDelimiter:k,raw:P.replace(/\n$/,"")},content:P.replace(/[^\n]/g," ")+x.slice(P.length)}}A.exports=C}}),ol=Oe({"src/language-css/pragma.js"(m,A){b();var h=Ro(),C=fs();function x(d){return h.hasPragma(C(d).content)}function p(d){let{frontMatter:D,content:w}=C(d);return(D?D.raw+`
|
|
92
|
+
|
|
93
|
+
`:"")+h.insertPragma(w)}A.exports={hasPragma:x,insertPragma:p}}}),Ml=Oe({"src/language-css/utils/index.js"(m,A){b();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 C(Ie,Re){let He=Array.isArray(Re)?Re:[Re],Et=-1,gt;for(;gt=Ie.getParentNode(++Et);)if(He.includes(gt.type))return Et;return-1}function x(Ie,Re){let He=C(Ie,Re);return He===-1?null:Ie.getParentNode(He)}function p(Ie){var Re;let He=x(Ie,"css-decl");return He==null||(Re=He.prop)===null||Re===void 0?void 0:Re.toLowerCase()}var d=new Set(["initial","inherit","unset","revert"]);function D(Ie){return d.has(Ie.toLowerCase())}function w(Ie,Re){let He=x(Ie,"css-atrule");return(He==null?void 0:He.name)&&He.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Re.toLowerCase())}function k(Ie){return Ie.includes("$")||Ie.includes("@")||Ie.includes("#")||Ie.startsWith("%")||Ie.startsWith("--")||Ie.startsWith(":--")||Ie.includes("(")&&Ie.includes(")")?Ie:Ie.toLowerCase()}function R(Ie,Re){var He;let Et=x(Ie,"value-func");return(Et==null||(He=Et.value)===null||He===void 0?void 0:He.toLowerCase())===Re}function P(Ie){var Re;let He=x(Ie,"css-rule"),Et=He==null||(Re=He.raws)===null||Re===void 0?void 0:Re.selector;return Et&&(Et.startsWith(":import")||Et.startsWith(":export"))}function M(Ie,Re){let He=Array.isArray(Re)?Re:[Re],Et=x(Ie,"css-atrule");return Et&&He.includes(Et.name.toLowerCase())}function T(Ie){let Re=Ie.getValue(),He=x(Ie,"css-atrule");return(He==null?void 0:He.name)==="import"&&Re.groups[0].value==="url"&&Re.groups.length===2}function N(Ie){return Ie.type==="value-func"&&Ie.value.toLowerCase()==="url"}function j(Ie,Re){var He;let Et=(He=Ie.getParentNode())===null||He===void 0?void 0:He.nodes;return Et&&Et.indexOf(Re)===Et.length-1}function re(Ie){let{selector:Re}=Ie;return Re?typeof Re=="string"&&/^@.+:.*$/.test(Re)||Re.value&&/^@.+:.*$/.test(Re.value):!1}function ne(Ie){return Ie.type==="value-word"&&["from","through","end"].includes(Ie.value)}function $(Ie){return Ie.type==="value-word"&&["and","or","not"].includes(Ie.value)}function J(Ie){return Ie.type==="value-word"&&Ie.value==="in"}function ee(Ie){return Ie.type==="value-operator"&&Ie.value==="*"}function oe(Ie){return Ie.type==="value-operator"&&Ie.value==="/"}function ie(Ie){return Ie.type==="value-operator"&&Ie.value==="+"}function se(Ie){return Ie.type==="value-operator"&&Ie.value==="-"}function z(Ie){return Ie.type==="value-operator"&&Ie.value==="%"}function B(Ie){return ee(Ie)||oe(Ie)||ie(Ie)||se(Ie)||z(Ie)}function O(Ie){return Ie.type==="value-word"&&["==","!="].includes(Ie.value)}function W(Ie){return Ie.type==="value-word"&&["<",">","<=",">="].includes(Ie.value)}function S(Ie){return Ie.type==="css-atrule"&&["if","else","for","each","while"].includes(Ie.name)}function H(Ie){var Re;return((Re=Ie.raws)===null||Re===void 0?void 0:Re.params)&&/^\(\s*\)$/.test(Ie.raws.params)}function I(Ie){return Ie.name.startsWith("prettier-placeholder")}function Y(Ie){return Ie.prop.startsWith("@prettier-placeholder")}function X(Ie,Re){return Ie.value==="$$"&&Ie.type==="value-func"&&(Re==null?void 0:Re.type)==="value-word"&&!Re.raws.before}function K(Ie){var Re,He;return((Re=Ie.value)===null||Re===void 0?void 0:Re.type)==="value-root"&&((He=Ie.value.group)===null||He===void 0?void 0:He.type)==="value-value"&&Ie.prop.toLowerCase()==="composes"}function ce(Ie){var Re,He,Et;return((Re=Ie.value)===null||Re===void 0||(He=Re.group)===null||He===void 0||(Et=He.group)===null||Et===void 0?void 0:Et.type)==="value-paren_group"&&Ie.value.group.group.open!==null&&Ie.value.group.group.close!==null}function we(Ie){var Re;return((Re=Ie.raws)===null||Re===void 0?void 0:Re.before)===""}function ye(Ie){var Re,He;return Ie.type==="value-comma_group"&&((Re=Ie.groups)===null||Re===void 0||(He=Re[1])===null||He===void 0?void 0:He.type)==="value-colon"}function Be(Ie){var Re;return Ie.type==="value-paren_group"&&((Re=Ie.groups)===null||Re===void 0?void 0:Re[0])&&ye(Ie.groups[0])}function ke(Ie){var Re;let He=Ie.getValue();if(He.groups.length===0)return!1;let Et=Ie.getParentNode(1);if(!Be(He)&&!(Et&&Be(Et)))return!1;let gt=x(Ie,"css-decl");return!!(gt!=null&&(Re=gt.prop)!==null&&Re!==void 0&&Re.startsWith("$")||Be(Et)||Et.type==="value-func")}function Ee(Ie){return Ie.type==="value-comment"&&Ie.inline}function qe(Ie){return Ie.type==="value-word"&&Ie.value==="#"}function Se(Ie){return Ie.type==="value-word"&&Ie.value==="{"}function Te(Ie){return Ie.type==="value-word"&&Ie.value==="}"}function Ge(Ie){return["value-word","value-atword"].includes(Ie.type)}function Qe(Ie){return(Ie==null?void 0:Ie.type)==="value-colon"}function Xe(Ie,Re){if(!ye(Re))return!1;let{groups:He}=Re,Et=He.indexOf(Ie);return Et===-1?!1:Qe(He[Et+1])}function At(Ie){return Ie.value&&["not","and","or"].includes(Ie.value.toLowerCase())}function Fe(Ie){return Ie.type!=="value-func"?!1:h.has(Ie.value.toLowerCase())}function Me(Ie){return/\/\//.test(Ie.split(/[\n\r]/).pop())}function Dt(Ie){return(Ie==null?void 0:Ie.type)==="value-atword"&&Ie.value.startsWith("prettier-placeholder-")}function Nt(Ie,Re){var He,Et;if(((He=Ie.open)===null||He===void 0?void 0:He.value)!=="("||((Et=Ie.close)===null||Et===void 0?void 0:Et.value)!==")"||Ie.groups.some(gt=>gt.type!=="value-comma_group"))return!1;if(Re.type==="value-comma_group"){let gt=Re.groups.indexOf(Ie)-1,ur=Re.groups[gt];if((ur==null?void 0:ur.type)==="value-word"&&ur.value==="with")return!0}return!1}function mt(Ie){var Re,He;return Ie.type==="value-paren_group"&&((Re=Ie.open)===null||Re===void 0?void 0:Re.value)==="("&&((He=Ie.close)===null||He===void 0?void 0:He.value)===")"}A.exports={getAncestorCounter:C,getAncestorNode:x,getPropOfDeclNode:p,maybeToLowerCase:k,insideValueFunctionNode:R,insideICSSRuleNode:P,insideAtRuleNode:M,insideURLFunctionInImportAtRuleNode:T,isKeyframeAtRuleKeywords:w,isWideKeywords:D,isLastNode:j,isSCSSControlDirectiveNode:S,isDetachedRulesetDeclarationNode:re,isRelationalOperatorNode:W,isEqualityOperatorNode:O,isMultiplicationNode:ee,isDivisionNode:oe,isAdditionNode:ie,isSubtractionNode:se,isModuloNode:z,isMathOperatorNode:B,isEachKeywordNode:J,isForKeywordNode:ne,isURLFunctionNode:N,isIfElseKeywordNode:$,hasComposesNode:K,hasParensAroundNode:ce,hasEmptyRawBefore:we,isDetachedRulesetCallNode:H,isTemplatePlaceholderNode:I,isTemplatePropNode:Y,isPostcssSimpleVarNode:X,isKeyValuePairNode:ye,isKeyValuePairInParenGroupNode:Be,isKeyInValuePairNode:Xe,isSCSSMapItemNode:ke,isInlineValueCommentNode:Ee,isHashNode:qe,isLeftCurlyBraceNode:Se,isRightCurlyBraceNode:Te,isWordNode:Ge,isColonNode:Qe,isMediaAndSupportsKeywords:At,isColorAdjusterFuncNode:Fe,lastLineHasInlineComment:Me,isAtWordPlaceholderNode:Dt,isConfigurationNode:Nt,isParenGroupNode:mt}}}),Xo=Oe({"src/utils/line-column-to-index.js"(m,A){b(),A.exports=function(h,C){let x=0;for(let p=0;p<h.line-1;++p)x=C.indexOf(`
|
|
94
|
+
`,x)+1;return x+h.column}}}),Fo=Oe({"src/language-css/loc.js"(m,A){b();var{skipEverythingButNewLine:h}=oo(),C=Rn(),x=Xo();function p(T,N){return typeof T.sourceIndex=="number"?T.sourceIndex:T.source?x(T.source.start,N)-1:null}function d(T,N){if(T.type==="css-comment"&&T.inline)return h(N,T.source.startOffset);let j=T.nodes&&C(T.nodes);return j&&T.source&&!T.source.end&&(T=j),T.source&&T.source.end?x(T.source.end,N):null}function D(T,N){T.source&&(T.source.startOffset=p(T,N),T.source.endOffset=d(T,N));for(let j in T){let re=T[j];j==="source"||!re||typeof re!="object"||(re.type==="value-root"||re.type==="value-unknown"?w(re,k(T),re.text||re.value):D(re,N))}}function w(T,N,j){T.source&&(T.source.startOffset=p(T,j)+N,T.source.endOffset=d(T,j)+N);for(let re in T){let ne=T[re];re==="source"||!ne||typeof ne!="object"||w(ne,N,j)}}function k(T){let N=T.source.startOffset;return typeof T.prop=="string"&&(N+=T.prop.length),T.type==="css-atrule"&&typeof T.name=="string"&&(N+=1+T.name.length+T.raws.afterName.match(/^\s*:?\s*/)[0].length),T.type!=="css-atrule"&&T.raws&&typeof T.raws.between=="string"&&(N+=T.raws.between.length),N}function R(T){let N="initial",j="initial",re,ne=!1,$=[];for(let J=0;J<T.length;J++){let ee=T[J];switch(N){case"initial":if(ee==="'"){N="single-quotes";continue}if(ee==='"'){N="double-quotes";continue}if((ee==="u"||ee==="U")&&T.slice(J,J+4).toLowerCase()==="url("){N="url",J+=3;continue}if(ee==="*"&&T[J-1]==="/"){N="comment-block";continue}if(ee==="/"&&T[J-1]==="/"){N="comment-inline",re=J-1;continue}continue;case"single-quotes":if(ee==="'"&&T[J-1]!=="\\"&&(N=j,j="initial"),ee===`
|
|
95
|
+
`||ee==="\r")return T;continue;case"double-quotes":if(ee==='"'&&T[J-1]!=="\\"&&(N=j,j="initial"),ee===`
|
|
96
|
+
`||ee==="\r")return T;continue;case"url":if(ee===")"&&(N="initial"),ee===`
|
|
97
|
+
`||ee==="\r")return T;if(ee==="'"){N="single-quotes",j="url";continue}if(ee==='"'){N="double-quotes",j="url";continue}continue;case"comment-block":ee==="/"&&T[J-1]==="*"&&(N="initial");continue;case"comment-inline":(ee==='"'||ee==="'"||ee==="*")&&(ne=!0),(ee===`
|
|
98
|
+
`||ee==="\r")&&(ne&&$.push([re,J]),N="initial",ne=!1);continue}}for(let[J,ee]of $)T=T.slice(0,J)+T.slice(J,ee).replace(/["'*]/g," ")+T.slice(ee);return T}function P(T){return T.source.startOffset}function M(T){return T.source.endOffset}A.exports={locStart:P,locEnd:M,calculateLoc:D,replaceQuotesInInlineComments:R}}}),Rl=Oe({"src/language-css/utils/is-less-parser.js"(m,A){b();function h(C){return C.parser==="css"||C.parser==="less"}A.exports=h}}),sl=Oe({"src/language-css/utils/is-scss.js"(m,A){b();function h(C,x){return C==="less"||C==="scss"?C==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(x)}A.exports=h}}),ds=Oe({"src/language-css/utils/css-units.evaluate.js"(m,A){A.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),al=Oe({"src/language-css/utils/print-unit.js"(m,A){b();var h=ds();function C(x){let p=x.toLowerCase();return Object.prototype.hasOwnProperty.call(h,p)?h[p]:x}A.exports=C}}),ul=Oe({"src/language-css/printer-postcss.js"(m,A){b();var h=Rn(),{printNumber:C,printString:x,hasNewline:p,isFrontMatterNode:d,isNextLineEmpty:D,isNonEmptyArray:w}=jn(),{builders:{join:k,line:R,hardline:P,softline:M,group:T,fill:N,indent:j,dedent:re,ifBreak:ne,breakParent:$},utils:{removeLines:J,getDocParts:ee}}=bn(),oe=ps(),ie=iu(),{insertPragma:se}=ol(),{getAncestorNode:z,getPropOfDeclNode:B,maybeToLowerCase:O,insideValueFunctionNode:W,insideICSSRuleNode:S,insideAtRuleNode:H,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:Y,isWideKeywords:X,isLastNode:K,isSCSSControlDirectiveNode:ce,isDetachedRulesetDeclarationNode:we,isRelationalOperatorNode:ye,isEqualityOperatorNode:Be,isMultiplicationNode:ke,isDivisionNode:Ee,isAdditionNode:qe,isSubtractionNode:Se,isMathOperatorNode:Te,isEachKeywordNode:Ge,isForKeywordNode:Qe,isURLFunctionNode:Xe,isIfElseKeywordNode:At,hasComposesNode:Fe,hasParensAroundNode:Me,hasEmptyRawBefore:Dt,isKeyValuePairNode:Nt,isKeyInValuePairNode:mt,isDetachedRulesetCallNode:Ie,isTemplatePlaceholderNode:Re,isTemplatePropNode:He,isPostcssSimpleVarNode:Et,isSCSSMapItemNode:gt,isInlineValueCommentNode:ur,isHashNode:Ur,isLeftCurlyBraceNode:Yr,isRightCurlyBraceNode:Ft,isWordNode:St,isColonNode:Lt,isMediaAndSupportsKeywords:tt,isColorAdjusterFuncNode:rr,lastLineHasInlineComment:$e,isAtWordPlaceholderNode:Kt,isConfigurationNode:qt,isParenGroupNode:e}=Ml(),{locStart:t,locEnd:o}=Fo(),i=Rl(),n=sl(),u=al();function c(wt){return wt.trailingComma==="es5"||wt.trailingComma==="all"}function y(wt,Mt,ir){let Ve=wt.getValue();if(!Ve)return"";if(typeof Ve=="string")return Ve;switch(Ve.type){case"front-matter":return[Ve.raw,P];case"css-root":{let wr=_(wt,Mt,ir),Pr=Ve.raws.after.trim();return[wr,Pr?" ".concat(Pr):"",ee(wr).length>0?P:""]}case"css-comment":{let wr=Ve.inline||Ve.raws.inline,Pr=Mt.originalText.slice(t(Ve),o(Ve));return wr?Pr.trimEnd():Pr}case"css-rule":return[ir("selector"),Ve.important?" !important":"",Ve.nodes?[Ve.selector&&Ve.selector.type==="selector-unknown"&&$e(Ve.selector.value)?R:" ","{",Ve.nodes.length>0?j([P,_(wt,Mt,ir)]):"",P,"}",we(Ve)?";":""]:";"];case"css-decl":{let wr=wt.getParentNode(),{between:Pr}=Ve.raws,on=Pr.trim(),ti=on===":",Hn=Fe(Ve)?J(ir("value")):ir("value");return!ti&&$e(on)&&(Hn=j([P,re(Hn)])),[Ve.raws.before.replace(/[\s;]/g,""),S(wt)?Ve.prop:O(Ve.prop),on.startsWith("//")?" ":"",on,Ve.extend?"":" ",i(Mt)&&Ve.extend&&Ve.selector?["extend(",ir("selector"),")"]:"",Hn,Ve.raws.important?Ve.raws.important.replace(/\s*!\s*important/i," !important"):Ve.important?" !important":"",Ve.raws.scssDefault?Ve.raws.scssDefault.replace(/\s*!default/i," !default"):Ve.scssDefault?" !default":"",Ve.raws.scssGlobal?Ve.raws.scssGlobal.replace(/\s*!global/i," !global"):Ve.scssGlobal?" !global":"",Ve.nodes?[" {",j([M,_(wt,Mt,ir)]),M,"}"]:He(Ve)&&!wr.raws.semicolon&&Mt.originalText[o(Ve)-1]!==";"?"":Mt.__isHTMLStyleAttribute&&K(wt,Ve)?ne(";"):";"]}case"css-atrule":{let wr=wt.getParentNode(),Pr=Re(Ve)&&!wr.raws.semicolon&&Mt.originalText[o(Ve)-1]!==";";if(i(Mt)){if(Ve.mixin)return[ir("selector"),Ve.important?" !important":"",Pr?"":";"];if(Ve.function)return[Ve.name,ir("params"),Pr?"":";"];if(Ve.variable)return["@",Ve.name,": ",Ve.value?ir("value"):"",Ve.raws.between.trim()?Ve.raws.between.trim()+" ":"",Ve.nodes?["{",j([Ve.nodes.length>0?M:"",_(wt,Mt,ir)]),M,"}"]:"",Pr?"":";"]}return["@",Ie(Ve)||Ve.name.endsWith(":")?Ve.name:O(Ve.name),Ve.params?[Ie(Ve)?"":Re(Ve)?Ve.raws.afterName===""?"":Ve.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Ve.raws.afterName)?[P,P]:/^\s*\n/.test(Ve.raws.afterName)?P:" ":" ",ir("params")]:"",Ve.selector?j([" ",ir("selector")]):"",Ve.value?T([" ",ir("value"),ce(Ve)?Me(Ve)?" ":R:""]):Ve.name==="else"?" ":"",Ve.nodes?[ce(Ve)?"":Ve.selector&&!Ve.selector.nodes&&typeof Ve.selector.value=="string"&&$e(Ve.selector.value)||!Ve.selector&&typeof Ve.params=="string"&&$e(Ve.params)?R:" ","{",j([Ve.nodes.length>0?M:"",_(wt,Mt,ir)]),M,"}"]:Pr?"":";"]}case"media-query-list":{let wr=[];return wt.each(Pr=>{let on=Pr.getValue();on.type==="media-query"&&on.value===""||wr.push(ir())},"nodes"),T(j(k(R,wr)))}case"media-query":return[k(" ",wt.map(ir,"nodes")),K(wt,Ve)?"":","];case"media-type":return _t(Ct(Ve.value,Mt));case"media-feature-expression":return Ve.nodes?["(",...wt.map(ir,"nodes"),")"]:Ve.value;case"media-feature":return O(Ct(Ve.value.replace(/ +/g," "),Mt));case"media-colon":return[Ve.value," "];case"media-value":return _t(Ct(Ve.value,Mt));case"media-keyword":return Ct(Ve.value,Mt);case"media-url":return Ct(Ve.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Mt);case"media-unknown":return Ve.value;case"selector-root":return T([H(wt,"custom-selector")?[z(wt,"css-atrule").customSelector,R]:"",k([",",H(wt,["extend","custom-selector","nest"])?R:P],wt.map(ir,"nodes"))]);case"selector-selector":return T(j(wt.map(ir,"nodes")));case"selector-comment":return Ve.value;case"selector-string":return Ct(Ve.value,Mt);case"selector-tag":{let wr=wt.getParentNode(),Pr=wr&&wr.nodes.indexOf(Ve),on=Pr&&wr.nodes[Pr-1];return[Ve.namespace?[Ve.namespace===!0?"":Ve.namespace.trim(),"|"]:"",on.type==="selector-nesting"?Ve.value:_t(Y(wt,Ve.value)?Ve.value.toLowerCase():Ve.value)]}case"selector-id":return["#",Ve.value];case"selector-class":return[".",_t(Ct(Ve.value,Mt))];case"selector-attribute":return["[",Ve.namespace?[Ve.namespace===!0?"":Ve.namespace.trim(),"|"]:"",Ve.attribute.trim(),Ve.operator?Ve.operator:"",Ve.value?lt(Ct(Ve.value.trim(),Mt),Mt):"",Ve.insensitive?" i":"","]"];case"selector-combinator":{if(Ve.value==="+"||Ve.value===">"||Ve.value==="~"||Ve.value===">>>"){let on=wt.getParentNode();return[on.type==="selector-selector"&&on.nodes[0]===Ve?"":R,Ve.value,K(wt,Ve)?"":" "]}let wr=Ve.value.trim().startsWith("(")?R:"",Pr=_t(Ct(Ve.value.trim(),Mt))||R;return[wr,Pr]}case"selector-universal":return[Ve.namespace?[Ve.namespace===!0?"":Ve.namespace.trim(),"|"]:"",Ve.value];case"selector-pseudo":return[O(Ve.value),w(Ve.nodes)?["(",k(", ",wt.map(ir,"nodes")),")"]:""];case"selector-nesting":return Ve.value;case"selector-unknown":{let wr=z(wt,"css-rule");if(wr&&wr.isSCSSNesterProperty)return _t(Ct(O(Ve.value),Mt));let Pr=wt.getParentNode();if(Pr.raws&&Pr.raws.selector){let ti=t(Pr),Hn=ti+Pr.raws.selector.length;return Mt.originalText.slice(ti,Hn).trim()}let on=wt.getParentNode(1);if(Pr.type==="value-paren_group"&&on&&on.type==="value-func"&&on.value==="selector"){let ti=o(Pr.open)+1,Hn=t(Pr.close),Ai=Mt.originalText.slice(ti,Hn).trim();return $e(Ai)?[$,Ai]:Ai}return Ve.value}case"value-value":case"value-root":return ir("group");case"value-comment":return Mt.originalText.slice(t(Ve),o(Ve));case"value-comma_group":{let wr=wt.getParentNode(),Pr=wt.getParentNode(1),on=B(wt),ti=on&&wr.type==="value-value"&&(on==="grid"||on.startsWith("grid-template")),Hn=z(wt,"css-atrule"),Ai=Hn&&ce(Hn),De=Ve.groups.some(Xn=>ur(Xn)),yt=wt.map(ir,"groups"),xr=[],pn=W(wt,"url"),hn=!1,Wn=!1;for(let Xn=0;Xn<Ve.groups.length;++Xn){xr.push(yt[Xn]);let ri=Ve.groups[Xn-1],An=Ve.groups[Xn],Nn=Ve.groups[Xn+1],Hi=Ve.groups[Xn+2];if(pn){(Nn&&qe(Nn)||qe(An))&&xr.push(" ");continue}if(H(wt,"forward")&&An.type==="value-word"&&An.value&&ri!==void 0&&ri.type==="value-word"&&ri.value==="as"&&Nn.type==="value-operator"&&Nn.value==="*"||!Nn||An.type==="value-word"&&An.value.endsWith("-")&&Kt(Nn))continue;let hs=An.type==="value-string"&&An.value.startsWith("#{"),$i=hn&&Nn.type==="value-string"&&Nn.value.endsWith("}");if(hs||$i){hn=!hn;continue}if(hn||Lt(An)||Lt(Nn)||An.type==="value-atword"&&An.value===""||An.value==="~"||An.value&&An.value.includes("\\")&&Nn&&Nn.type!=="value-comment"||ri&&ri.value&&ri.value.indexOf("\\")===ri.value.length-1&&An.type==="value-operator"&&An.value==="/"||An.value==="\\"||Et(An,Nn)||Ur(An)||Yr(An)||Ft(Nn)||Yr(Nn)&&Dt(Nn)||Ft(An)&&Dt(Nn)||An.value==="--"&&Ur(Nn))continue;let $l=Te(An),gs=Te(Nn);if(($l&&Ur(Nn)||gs&&Ft(An))&&Dt(Nn)||!ri&&Ee(An)||W(wt,"calc")&&(qe(An)||qe(Nn)||Se(An)||Se(Nn))&&Dt(Nn))continue;let Ca=(qe(An)||Se(An))&&Xn===0&&(Nn.type==="value-number"||Nn.isHex)&&Pr&&rr(Pr)&&!Dt(Nn),Ks=Hi&&Hi.type==="value-func"||Hi&&St(Hi)||An.type==="value-func"||St(An),Ki=Nn.type==="value-func"||St(Nn)||ri&&ri.type==="value-func"||ri&&St(ri);if(!(!(ke(Nn)||ke(An))&&!W(wt,"calc")&&!Ca&&(Ee(Nn)&&!Ks||Ee(An)&&!Ki||qe(Nn)&&!Ks||qe(An)&&!Ki||Se(Nn)||Se(An))&&(Dt(Nn)||$l&&(!ri||ri&&Te(ri))))){if(ur(An)){if(wr.type==="value-paren_group"){xr.push(re(P));continue}xr.push(P);continue}if(Ai&&(Be(Nn)||ye(Nn)||At(Nn)||Ge(An)||Qe(An))){xr.push(" ");continue}if(Hn&&Hn.name.toLowerCase()==="namespace"){xr.push(" ");continue}if(ti){An.source&&Nn.source&&An.source.start.line!==Nn.source.start.line?(xr.push(P),Wn=!0):xr.push(" ");continue}if(gs){xr.push(" ");continue}if(!(Nn&&Nn.value==="...")&&!(Kt(An)&&Kt(Nn)&&o(An)===t(Nn))){if(Kt(An)&&e(Nn)&&o(An)===t(Nn.open)){xr.push(M);continue}if(An.value==="with"&&e(Nn)){xr.push(" ");continue}xr.push(R)}}}return De&&xr.push($),Wn&&xr.unshift(P),Ai?T(j(xr)):I(wt)?T(N(xr)):T(j(N(xr)))}case"value-paren_group":{let wr=wt.getParentNode();if(wr&&Xe(wr)&&(Ve.groups.length===1||Ve.groups.length>0&&Ve.groups[0].type==="value-comma_group"&&Ve.groups[0].groups.length>0&&Ve.groups[0].groups[0].type==="value-word"&&Ve.groups[0].groups[0].value.startsWith("data:")))return[Ve.open?ir("open"):"",k(",",wt.map(ir,"groups")),Ve.close?ir("close"):""];if(!Ve.open){let pn=wt.map(ir,"groups"),hn=[];for(let Wn=0;Wn<pn.length;Wn++)Wn!==0&&hn.push([",",R]),hn.push(pn[Wn]);return T(j(N(hn)))}let Pr=gt(wt),on=h(Ve.groups),ti=on&&on.type==="value-comment",Hn=mt(Ve,wr),Ai=qt(Ve,wr),De=Ai||Pr&&!Hn,yt=Ai||Hn,xr=T([Ve.open?ir("open"):"",j([M,k([R],wt.map((pn,hn)=>{let Wn=pn.getValue(),Xn=hn===Ve.groups.length-1,ri=[ir(),Xn?"":","];if(Nt(Wn)&&Wn.type==="value-comma_group"&&Wn.groups&&Wn.groups[0].type!=="value-paren_group"&&Wn.groups[2]&&Wn.groups[2].type==="value-paren_group"){let An=ee(ri[0].contents.contents);return An[1]=T(An[1]),T(re(ri))}if(!Xn&&Wn.type==="value-comma_group"&&w(Wn.groups)){let An=h(Wn.groups);An.source&&D(Mt.originalText,An,o)&&ri.push(P)}return ri},"groups"))]),ne(!ti&&n(Mt.parser,Mt.originalText)&&Pr&&c(Mt)?",":""),M,Ve.close?ir("close"):""],{shouldBreak:De});return yt?re(xr):xr}case"value-func":return[Ve.value,H(wt,"supports")&&tt(Ve)?" ":"",ir("group")];case"value-paren":return Ve.value;case"value-number":return[er(Ve.value),u(Ve.unit)];case"value-operator":return Ve.value;case"value-word":return Ve.isColor&&Ve.isHex||X(Ve.value)?Ve.value.toLowerCase():Ve.value;case"value-colon":{let wr=wt.getParentNode(),Pr=wr&&wr.groups.indexOf(Ve),on=Pr&&wr.groups[Pr-1];return[Ve.value,on&&typeof on.value=="string"&&h(on.value)==="\\"||W(wt,"url")?"":R]}case"value-comma":return[Ve.value," "];case"value-string":return x(Ve.raws.quote+Ve.value+Ve.raws.quote,Mt);case"value-atword":return["@",Ve.value];case"value-unicode-range":return Ve.value;case"value-unknown":return Ve.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(Ve.type)))}}function _(wt,Mt,ir){let Ve=[];return wt.each((wr,Pr,on)=>{let ti=on[Pr-1];if(ti&&ti.type==="css-comment"&&ti.text.trim()==="prettier-ignore"){let Hn=wr.getValue();Ve.push(Mt.originalText.slice(t(Hn),o(Hn)))}else Ve.push(ir());Pr!==on.length-1&&(on[Pr+1].type==="css-comment"&&!p(Mt.originalText,t(on[Pr+1]),{backwards:!0})&&!d(on[Pr])||on[Pr+1].type==="css-atrule"&&on[Pr+1].name==="else"&&on[Pr].type!=="css-comment"?Ve.push(" "):(Ve.push(Mt.__isHTMLStyleAttribute?R:P),D(Mt.originalText,wr.getValue(),o)&&!d(on[Pr])&&Ve.push(P)))},"nodes"),Ve}var L=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,ve=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,he=/[A-Za-z]+/g,Ze=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Le=new RegExp(L.source+"|(".concat(Ze.source,")?(").concat(ve.source,")(").concat(he.source,")?"),"g");function Ct(wt,Mt){return wt.replace(L,ir=>x(ir,Mt))}function lt(wt,Mt){let ir=Mt.singleQuote?"'":'"';return wt.includes('"')||wt.includes("'")?wt:ir+wt+ir}function _t(wt){return wt.replace(Le,(Mt,ir,Ve,wr,Pr)=>!Ve&&wr?er(wr)+O(Pr||""):Mt)}function er(wt){return C(wt).replace(/\.0(?=$|e)/,"")}A.exports={print:y,embed:ie,insertPragma:se,massageAstNode:oe}}}),Ac=Oe({"src/language-css/options.js"(m,A){b();var h=zo();A.exports={singleQuote:h.singleQuote}}}),Gs=Oe({"src/language-css/parsers.js"(){b()}}),Da=Oe({"node_modules/linguist-languages/data/CSS.json"(m,A){A.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),ou=Oe({"node_modules/linguist-languages/data/PostCSS.json"(m,A){A.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),v=Oe({"node_modules/linguist-languages/data/Less.json"(m,A){A.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),te=Oe({"node_modules/linguist-languages/data/SCSS.json"(m,A){A.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),G=Oe({"src/language-css/index.js"(m,A){b();var h=Io(),C=ul(),x=Ac(),p=Gs(),d=[h(Da(),w=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...w.extensions,".wxss"]})),h(ou(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),h(v(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),h(te(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],D={postcss:C};A.exports={languages:d,options:x,printers:D,parsers:p}}}),q=Oe({"src/language-handlebars/loc.js"(m,A){b();function h(x){return x.loc.start.offset}function C(x){return x.loc.end.offset}A.exports={locStart:h,locEnd:C}}}),Z=Oe({"src/language-handlebars/clean.js"(m,A){b();function h(C,x){if(C.type==="TextNode"){let p=C.chars.trim();if(!p)return null;x.chars=p.replace(/[\t\n\f\r ]+/g," ")}C.type==="AttrNode"&&C.name.toLowerCase()==="class"&&delete x.value}h.ignoredProperties=new Set(["loc","selfClosing"]),A.exports=h}}),pe=Oe({"vendors/html-void-elements.json"(m,A){A.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),fe=Oe({"src/language-handlebars/utils.js"(m,A){b();var{htmlVoidElements:h}=pe(),C=Rn();function x(J){let ee=J.getValue(),oe=J.getParentNode(0);return!!(P(J,["ElementNode"])&&C(oe.children)===ee||P(J,["Block"])&&C(oe.body)===ee)}function p(J){return J.toUpperCase()===J}function d(J){return R(J,["ElementNode"])&&typeof J.tag=="string"&&!J.tag.startsWith(":")&&(p(J.tag[0])||J.tag.includes("."))}var D=new Set(h);function w(J){return D.has(J.tag)||d(J)&&J.children.every(ee=>k(ee))}function k(J){return R(J,["TextNode"])&&!/\S/.test(J.chars)}function R(J,ee){return J&&ee.includes(J.type)}function P(J,ee){let oe=J.getParentNode(0);return R(oe,ee)}function M(J,ee){let oe=j(J);return R(oe,ee)}function T(J,ee){let oe=re(J);return R(oe,ee)}function N(J,ee){var oe,ie,se,z;let B=J.getValue(),O=(oe=J.getParentNode(0))!==null&&oe!==void 0?oe:{},W=(ie=(se=(z=O.children)!==null&&z!==void 0?z:O.body)!==null&&se!==void 0?se:O.parts)!==null&&ie!==void 0?ie:[],S=W.indexOf(B);return S!==-1&&W[S+ee]}function j(J){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return N(J,-ee)}function re(J){return N(J,1)}function ne(J){return R(J,["MustacheCommentStatement"])&&typeof J.value=="string"&&J.value.trim()==="prettier-ignore"}function $(J){let ee=J.getValue(),oe=j(J,2);return ne(ee)||ne(oe)}A.exports={getNextNode:re,getPreviousNode:j,hasPrettierIgnore:$,isLastNodeOfSiblings:x,isNextNodeOfSomeType:T,isNodeOfSomeType:R,isParentOfSomeType:P,isPreviousNodeOfSomeType:M,isVoid:w,isWhitespaceNode:k}}}),be=Oe({"src/language-handlebars/printer-glimmer.js"(m,A){b();var{builders:{dedent:h,fill:C,group:x,hardline:p,ifBreak:d,indent:D,join:w,line:k,softline:R},utils:{getDocParts:P,replaceTextEndOfLine:M}}=bn(),{getPreferredQuote:T,isNonEmptyArray:N}=jn(),{locStart:j,locEnd:re}=q(),ne=Z(),{getNextNode:$,getPreviousNode:J,hasPrettierIgnore:ee,isLastNodeOfSiblings:oe,isNextNodeOfSomeType:ie,isNodeOfSomeType:se,isParentOfSomeType:z,isPreviousNodeOfSomeType:B,isVoid:O,isWhitespaceNode:W}=fe(),S=2;function H($e,Kt,qt){let e=$e.getValue();if(!e)return"";if(ee($e))return Kt.originalText.slice(j(e),re(e));let t=Kt.singleQuote?"'":'"';switch(e.type){case"Block":case"Program":case"Template":return x($e.map(qt,"body"));case"ElementNode":{let o=x(Y($e,qt)),i=Kt.htmlWhitespaceSensitivity==="ignore"&&ie($e,["ElementNode"])?R:"";if(O(e))return[o,i];let n=["</",e.tag,">"];return e.children.length===0?[o,D(n),i]:Kt.htmlWhitespaceSensitivity==="ignore"?[o,D(X($e,Kt,qt)),p,D(n),i]:[o,D(x(X($e,Kt,qt))),D(n),i]}case"BlockStatement":{let o=$e.getParentNode(1);return o&&o.inverse&&o.inverse.body.length===1&&o.inverse.body[0]===e&&o.inverse.body[0].path.parts[0]==="if"?[Qe($e,qt),Dt($e,qt,Kt),Nt($e,qt,Kt)]:[Te($e,qt),x([Dt($e,qt,Kt),Nt($e,qt,Kt),Xe($e,qt,Kt)])]}case"ElementModifierStatement":return x(["{{",St($e,qt),"}}"]);case"MustacheStatement":return x([ce(e),St($e,qt),we(e)]);case"SubExpression":return x(["(",Ft($e,qt),R,")"]);case"AttrNode":{let o=e.value.type==="TextNode";if(o&&e.value.chars===""&&j(e.value)===re(e.value))return e.name;let i=o?T(e.value.chars,t).quote:e.value.type==="ConcatStatement"?T(e.value.parts.filter(u=>u.type==="TextNode").map(u=>u.chars).join(""),t).quote:"",n=qt("value");return[e.name,"=",i,e.name==="class"&&i?x(D(n)):n,i]}case"ConcatStatement":return $e.map(qt,"parts");case"Hash":return w(k,$e.map(qt,"pairs"));case"HashPair":return[e.key,"=",qt("value")];case"TextNode":{let o=e.chars.replace(/{{/g,"\\{{"),i=Re($e);if(i){if(i==="class"){let Ze=o.trim().split(/\s+/).join(" "),Le=!1,Ct=!1;return z($e,["ConcatStatement"])&&(B($e,["MustacheStatement"])&&/^\s/.test(o)&&(Le=!0),ie($e,["MustacheStatement"])&&/\s$/.test(o)&&Ze!==""&&(Ct=!0)),[Le?k:"",Ze,Ct?k:""]}return M(o)}let n=/^[\t\n\f\r ]*$/.test(o),u=!J($e),c=!$($e);if(Kt.htmlWhitespaceSensitivity!=="ignore"){let Ze=/^[\t\n\f\r ]*/,Le=/[\t\n\f\r ]*$/,Ct=c&&z($e,["Template"]),lt=u&&z($e,["Template"]);if(n){if(lt||Ct)return"";let ir=[k],Ve=He(o);return Ve&&(ir=ur(Ve)),oe($e)&&(ir=ir.map(wr=>h(wr))),ir}let[_t]=o.match(Ze),[er]=o.match(Le),wt=[];if(_t){wt=[k];let ir=He(_t);ir&&(wt=ur(ir)),o=o.replace(Ze,"")}let Mt=[];if(er){if(!Ct){Mt=[k];let ir=He(er);ir&&(Mt=ur(ir)),oe($e)&&(Mt=Mt.map(Ve=>h(Ve)))}o=o.replace(Le,"")}return[...wt,C(mt(o)),...Mt]}let y=He(o),_=Et(o),L=gt(o);if((u||c)&&n&&z($e,["Block","ElementNode","Template"]))return"";n&&y?(_=Math.min(y,S),L=0):(ie($e,["BlockStatement","ElementNode"])&&(L=Math.max(L,1)),B($e,["BlockStatement","ElementNode"])&&(_=Math.max(_,1)));let ve="",he="";return L===0&&ie($e,["MustacheStatement"])&&(he=" "),_===0&&B($e,["MustacheStatement"])&&(ve=" "),u&&(_=0,ve=""),c&&(L=0,he=""),o=o.replace(/^[\t\n\f\r ]+/g,ve).replace(/[\t\n\f\r ]+$/,he),[...ur(_),C(mt(o)),...ur(L)]}case"MustacheCommentStatement":{let o=j(e),i=re(e),n=Kt.originalText.charAt(o+2)==="~",u=Kt.originalText.charAt(i-3)==="~",c=e.value.includes("}}")?"--":"";return["{{",n?"~":"","!",c,e.value,c,u?"~":"","}}"]}case"PathExpression":return e.original;case"BooleanLiteral":return String(e.value);case"CommentStatement":return["<!--",e.value,"-->"];case"StringLiteral":{if(Yr($e)){let o=Kt.singleQuote?'"':"'";return Ur(e.value,o)}return Ur(e.value,t)}case"NumberLiteral":return String(e.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(e.type))}}function I($e,Kt){return j($e)-j(Kt)}function Y($e,Kt){let qt=$e.getValue(),e=["attributes","modifiers","comments"].filter(o=>N(qt[o])),t=e.flatMap(o=>qt[o]).sort(I);for(let o of e)$e.each(i=>{let n=t.indexOf(i.getValue());t.splice(n,1,[k,Kt()])},o);return N(qt.blockParams)&&t.push(k,rr(qt)),["<",qt.tag,D(t),K(qt)]}function X($e,Kt,qt){let e=$e.getValue().children.every(t=>W(t));return Kt.htmlWhitespaceSensitivity==="ignore"&&e?"":$e.map((t,o)=>{let i=qt();return o===0&&Kt.htmlWhitespaceSensitivity==="ignore"?[R,i]:i},"children")}function K($e){return O($e)?d([R,"/>"],[" />",R]):d([R,">"],">")}function ce($e){let Kt=$e.escaped===!1?"{{{":"{{",qt=$e.strip&&$e.strip.open?"~":"";return[Kt,qt]}function we($e){let Kt=$e.escaped===!1?"}}}":"}}";return[$e.strip&&$e.strip.close?"~":"",Kt]}function ye($e){let Kt=ce($e),qt=$e.openStrip.open?"~":"";return[Kt,qt,"#"]}function Be($e){let Kt=we($e);return[$e.openStrip.close?"~":"",Kt]}function ke($e){let Kt=ce($e),qt=$e.closeStrip.open?"~":"";return[Kt,qt,"/"]}function Ee($e){let Kt=we($e);return[$e.closeStrip.close?"~":"",Kt]}function qe($e){let Kt=ce($e),qt=$e.inverseStrip.open?"~":"";return[Kt,qt]}function Se($e){let Kt=we($e);return[$e.inverseStrip.close?"~":"",Kt]}function Te($e,Kt){let qt=$e.getValue(),e=ye(qt),t=Be(qt),o=[Lt($e,Kt)],i=tt($e,Kt);if(i&&o.push(k,i),N(qt.program.blockParams)){let n=rr(qt.program);o.push(k,n)}return x([e,D(o),R,t])}function Ge($e,Kt){return[Kt.htmlWhitespaceSensitivity==="ignore"?p:"",qe($e),"else",Se($e)]}function Qe($e,Kt){let qt=$e.getParentNode(1);return[qe(qt),"else if ",tt($e,Kt),Se(qt)]}function Xe($e,Kt,qt){let e=$e.getValue();return qt.htmlWhitespaceSensitivity==="ignore"?[At(e)?R:p,ke(e),Kt("path"),Ee(e)]:[ke(e),Kt("path"),Ee(e)]}function At($e){return se($e,["BlockStatement"])&&$e.program.body.every(Kt=>W(Kt))}function Fe($e){return Me($e)&&$e.inverse.body.length===1&&se($e.inverse.body[0],["BlockStatement"])&&$e.inverse.body[0].path.parts[0]==="if"}function Me($e){return se($e,["BlockStatement"])&&$e.inverse}function Dt($e,Kt,qt){let e=$e.getValue();if(At(e))return"";let t=Kt("program");return qt.htmlWhitespaceSensitivity==="ignore"?D([p,t]):D(t)}function Nt($e,Kt,qt){let e=$e.getValue(),t=Kt("inverse"),o=qt.htmlWhitespaceSensitivity==="ignore"?[p,t]:t;return Fe(e)?o:Me(e)?[Ge(e,qt),D(o)]:""}function mt($e){return P(w(k,Ie($e)))}function Ie($e){return $e.split(/[\t\n\f\r ]+/)}function Re($e){for(let Kt=0;Kt<2;Kt++){let qt=$e.getParentNode(Kt);if(qt&&qt.type==="AttrNode")return qt.name.toLowerCase()}}function He($e){return $e=typeof $e=="string"?$e:"",$e.split(`
|
|
99
|
+
`).length-1}function Et($e){$e=typeof $e=="string"?$e:"";let Kt=($e.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return He(Kt)}function gt($e){$e=typeof $e=="string"?$e:"";let Kt=($e.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return He(Kt)}function ur(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min($e,S)}).fill(p)}function Ur($e,Kt){let{quote:qt,regex:e}=T($e,Kt);return[qt,$e.replace(e,"\\".concat(qt)),qt]}function Yr($e){let Kt=0,qt=$e.getParentNode(Kt);for(;qt&&se(qt,["SubExpression"]);)Kt++,qt=$e.getParentNode(Kt);return!!(qt&&se($e.getParentNode(Kt+1),["ConcatStatement"])&&se($e.getParentNode(Kt+2),["AttrNode"]))}function Ft($e,Kt){let qt=Lt($e,Kt),e=tt($e,Kt);return e?D([qt,k,x(e)]):qt}function St($e,Kt){let qt=Lt($e,Kt),e=tt($e,Kt);return e?[D([qt,k,e]),R]:qt}function Lt($e,Kt){return Kt("path")}function tt($e,Kt){let qt=$e.getValue(),e=[];if(qt.params.length>0){let t=$e.map(Kt,"params");e.push(...t)}if(qt.hash&&qt.hash.pairs.length>0){let t=Kt("hash");e.push(t)}return e.length===0?"":w(k,e)}function rr($e){return["as |",$e.blockParams.join(" "),"|"]}A.exports={print:H,massageAstNode:ne}}}),le=Oe({"src/language-handlebars/parsers.js"(){b()}}),ge=Oe({"node_modules/linguist-languages/data/Handlebars.json"(m,A){A.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),E=Oe({"src/language-handlebars/index.js"(m,A){b();var h=Io(),C=be(),x=le(),p=[h(ge(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],d={glimmer:C};A.exports={languages:p,printers:d,parsers:x}}}),g=Oe({"src/language-graphql/pragma.js"(m,A){b();function h(x){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(x)}function C(x){return`# @format
|
|
100
|
+
|
|
101
|
+
`+x}A.exports={hasPragma:h,insertPragma:C}}}),Q=Oe({"src/language-graphql/loc.js"(m,A){b();function h(x){return typeof x.start=="number"?x.start:x.loc&&x.loc.start}function C(x){return typeof x.end=="number"?x.end:x.loc&&x.loc.end}A.exports={locStart:h,locEnd:C}}}),U=Oe({"src/language-graphql/printer-graphql.js"(m,A){b();var{builders:{join:h,hardline:C,line:x,softline:p,group:d,indent:D,ifBreak:w}}=bn(),{isNextLineEmpty:k,isNonEmptyArray:R}=jn(),{insertPragma:P}=g(),{locStart:M,locEnd:T}=Q();function N(ie,se,z){let B=ie.getValue();if(!B)return"";if(typeof B=="string")return B;switch(B.kind){case"Document":{let O=[];return ie.each((W,S,H)=>{O.push(z()),S!==H.length-1&&(O.push(C),k(se.originalText,W.getValue(),T)&&O.push(C))},"definitions"),[...O,C]}case"OperationDefinition":{let O=se.originalText[M(B)]!=="{",W=Boolean(B.name);return[O?B.operation:"",O&&W?[" ",z("name")]:"",O&&!W&&R(B.variableDefinitions)?" ":"",R(B.variableDefinitions)?d(["(",D([p,h([w("",", "),p],ie.map(z,"variableDefinitions"))]),p,")"]):"",j(ie,z,B),B.selectionSet?!O&&!W?"":" ":"",z("selectionSet")]}case"FragmentDefinition":return["fragment ",z("name"),R(B.variableDefinitions)?d(["(",D([p,h([w("",", "),p],ie.map(z,"variableDefinitions"))]),p,")"]):""," on ",z("typeCondition"),j(ie,z,B)," ",z("selectionSet")];case"SelectionSet":return["{",D([C,h(C,re(ie,se,z,"selections"))]),C,"}"];case"Field":return d([B.alias?[z("alias"),": "]:"",z("name"),B.arguments.length>0?d(["(",D([p,h([w("",", "),p],re(ie,se,z,"arguments"))]),p,")"]):"",j(ie,z,B),B.selectionSet?" ":"",z("selectionSet")]);case"Name":return B.value;case"StringValue":{if(B.block){let O=B.value.replace(/"""/g,"\\$&").split(`
|
|
102
|
+
`);return O.length===1&&(O[0]=O[0].trim()),O.every(W=>W==="")&&(O.length=0),h(C,['"""',...O,'"""'])}return['"',B.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return B.value;case"BooleanValue":return B.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",z("name")];case"ListValue":return d(["[",D([p,h([w("",", "),p],ie.map(z,"values"))]),p,"]"]);case"ObjectValue":return d(["{",se.bracketSpacing&&B.fields.length>0?" ":"",D([p,h([w("",", "),p],ie.map(z,"fields"))]),p,w("",se.bracketSpacing&&B.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[z("name"),": ",z("value")];case"Directive":return["@",z("name"),B.arguments.length>0?d(["(",D([p,h([w("",", "),p],re(ie,se,z,"arguments"))]),p,")"]):""];case"NamedType":return z("name");case"VariableDefinition":return[z("variable"),": ",z("type"),B.defaultValue?[" = ",z("defaultValue")]:"",j(ie,z,B)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[z("description"),B.description?C:"",B.kind==="ObjectTypeExtension"?"extend ":"","type ",z("name"),B.interfaces.length>0?[" implements ",...J(ie,se,z)]:"",j(ie,z,B),B.fields.length>0?[" {",D([C,h(C,re(ie,se,z,"fields"))]),C,"}"]:""];case"FieldDefinition":return[z("description"),B.description?C:"",z("name"),B.arguments.length>0?d(["(",D([p,h([w("",", "),p],re(ie,se,z,"arguments"))]),p,")"]):"",": ",z("type"),j(ie,z,B)];case"DirectiveDefinition":return[z("description"),B.description?C:"","directive ","@",z("name"),B.arguments.length>0?d(["(",D([p,h([w("",", "),p],re(ie,se,z,"arguments"))]),p,")"]):"",B.repeatable?" repeatable":""," on ",h(" | ",ie.map(z,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[z("description"),B.description?C:"",B.kind==="EnumTypeExtension"?"extend ":"","enum ",z("name"),j(ie,z,B),B.values.length>0?[" {",D([C,h(C,re(ie,se,z,"values"))]),C,"}"]:""];case"EnumValueDefinition":return[z("description"),B.description?C:"",z("name"),j(ie,z,B)];case"InputValueDefinition":return[z("description"),B.description?B.description.block?C:x:"",z("name"),": ",z("type"),B.defaultValue?[" = ",z("defaultValue")]:"",j(ie,z,B)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[z("description"),B.description?C:"",B.kind==="InputObjectTypeExtension"?"extend ":"","input ",z("name"),j(ie,z,B),B.fields.length>0?[" {",D([C,h(C,re(ie,se,z,"fields"))]),C,"}"]:""];case"SchemaExtension":return["extend schema",j(ie,z,B),...B.operationTypes.length>0?[" {",D([C,h(C,re(ie,se,z,"operationTypes"))]),C,"}"]:[]];case"SchemaDefinition":return[z("description"),B.description?C:"","schema",j(ie,z,B)," {",B.operationTypes.length>0?D([C,h(C,re(ie,se,z,"operationTypes"))]):"",C,"}"];case"OperationTypeDefinition":return[z("operation"),": ",z("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[z("description"),B.description?C:"",B.kind==="InterfaceTypeExtension"?"extend ":"","interface ",z("name"),B.interfaces.length>0?[" implements ",...J(ie,se,z)]:"",j(ie,z,B),B.fields.length>0?[" {",D([C,h(C,re(ie,se,z,"fields"))]),C,"}"]:""];case"FragmentSpread":return["...",z("name"),j(ie,z,B)];case"InlineFragment":return["...",B.typeCondition?[" on ",z("typeCondition")]:"",j(ie,z,B)," ",z("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return d([z("description"),B.description?C:"",d([B.kind==="UnionTypeExtension"?"extend ":"","union ",z("name"),j(ie,z,B),B.types.length>0?[" =",w(""," "),D([w([x," "]),h([x,"| "],ie.map(z,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[z("description"),B.description?C:"",B.kind==="ScalarTypeExtension"?"extend ":"","scalar ",z("name"),j(ie,z,B)];case"NonNullType":return[z("type"),"!"];case"ListType":return["[",z("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(B.kind))}}function j(ie,se,z){if(z.directives.length===0)return"";let B=h(x,ie.map(se,"directives"));return z.kind==="FragmentDefinition"||z.kind==="OperationDefinition"?d([x,B]):[" ",d(D([p,B]))]}function re(ie,se,z,B){return ie.map((O,W,S)=>{let H=z();return W<S.length-1&&k(se.originalText,O.getValue(),T)?[H,C]:H},B)}function ne(ie){return ie.kind&&ie.kind!=="Comment"}function $(ie){let se=ie.getValue();if(se.kind==="Comment")return"#"+se.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(se))}function J(ie,se,z){let B=ie.getNode(),O=[],{interfaces:W}=B,S=ie.map(H=>z(H),"interfaces");for(let H=0;H<W.length;H++){let I=W[H];O.push(S[H]);let Y=W[H+1];if(Y){let X=se.originalText.slice(I.loc.end,Y.loc.start),K=X.includes("#"),ce=X.replace(/#.*/g,"").trim();O.push(ce===","?",":" &",K?x:" ")}}return O}function ee(ie,se){ie.kind==="StringValue"&&ie.block&&!ie.value.includes(`
|
|
103
|
+
`)&&(se.value=se.value.trim())}ee.ignoredProperties=new Set(["loc","comments"]);function oe(ie){var se;let z=ie.getValue();return z==null||(se=z.comments)===null||se===void 0?void 0:se.some(B=>B.value.trim()==="prettier-ignore")}A.exports={print:N,massageAstNode:ee,hasPrettierIgnore:oe,insertPragma:P,printComment:$,canAttachComment:ne}}}),xe=Oe({"src/language-graphql/options.js"(m,A){b();var h=zo();A.exports={bracketSpacing:h.bracketSpacing}}}),me=Oe({"src/language-graphql/parsers.js"(){b()}}),je=Oe({"node_modules/linguist-languages/data/GraphQL.json"(m,A){A.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),Ne=Oe({"src/language-graphql/index.js"(m,A){b();var h=Io(),C=U(),x=xe(),p=me(),d=[h(je(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],D={graphql:C};A.exports={languages:d,options:x,printers:D,parsers:p}}}),Ce=Oe({"src/language-markdown/loc.js"(m,A){b();function h(x){return x.position.start.offset}function C(x){return x.position.end.offset}A.exports={locStart:h,locEnd:C}}}),Ke=Oe({"src/language-markdown/constants.evaluate.js"(m,A){A.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Ye=Oe({"src/language-markdown/utils.js"(m,A){b();var{getLast:h}=jn(),{locStart:C,locEnd:x}=Ce(),{cjkPattern:p,kPattern:d,punctuationPattern:D}=Ke(),w=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],k=[...w,"tableCell","paragraph","heading"],R=new RegExp(d),P=new RegExp(D);function M($,J){let ee="non-cjk",oe="cj-letter",ie="k-letter",se="cjk-punctuation",z=[],B=(J.proseWrap==="preserve"?$:$.replace(new RegExp("(".concat(p,`)
|
|
104
|
+
(`).concat(p,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[W,S]of B.entries()){if(W%2===1){z.push({type:"whitespace",value:/\n/.test(S)?`
|
|
105
|
+
`:" "});continue}if((W===0||W===B.length-1)&&S==="")continue;let H=S.split(new RegExp("(".concat(p,")")));for(let[I,Y]of H.entries())if(!((I===0||I===H.length-1)&&Y==="")){if(I%2===0){Y!==""&&O({type:"word",value:Y,kind:ee,hasLeadingPunctuation:P.test(Y[0]),hasTrailingPunctuation:P.test(h(Y))});continue}O(P.test(Y)?{type:"word",value:Y,kind:se,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:Y,kind:R.test(Y)?ie:oe,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return z;function O(W){let S=h(z);S&&S.type==="word"&&(S.kind===ee&&W.kind===oe&&!S.hasTrailingPunctuation||S.kind===oe&&W.kind===ee&&!W.hasLeadingPunctuation?z.push({type:"whitespace",value:" "}):!H(ee,se)&&![S.value,W.value].some(I=>/\u3000/.test(I))&&z.push({type:"whitespace",value:""})),z.push(W);function H(I,Y){return S.kind===I&&W.kind===Y||S.kind===Y&&W.kind===I}}}function T($,J){let[,ee,oe,ie]=J.slice($.position.start.offset,$.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:ee,marker:oe,leadingSpaces:ie}}function N($,J){if(!$.ordered||$.children.length<2)return!1;let ee=Number(T($.children[0],J.originalText).numberText),oe=Number(T($.children[1],J.originalText).numberText);if(ee===0&&$.children.length>2){let ie=Number(T($.children[2],J.originalText).numberText);return oe===1&&ie===1}return oe===1}function j($,J){let{value:ee}=$;return $.position.end.offset===J.length&&ee.endsWith(`
|
|
106
|
+
`)&&J.endsWith(`
|
|
107
|
+
`)?ee.slice(0,-1):ee}function re($,J){return function ee(oe,ie,se){let z=Object.assign({},J(oe,ie,se));return z.children&&(z.children=z.children.map((B,O)=>ee(B,O,[z,...se]))),z}($,null,[])}function ne($){if(($==null?void 0:$.type)!=="link"||$.children.length!==1)return!1;let[J]=$.children;return C($)===C(J)&&x($)===x(J)}A.exports={mapAst:re,splitText:M,punctuationPattern:D,getFencedCodeBlockValue:j,getOrderedListItemInfo:T,hasGitDiffFriendlyOrderedList:N,INLINE_NODE_TYPES:w,INLINE_NODE_WRAPPER_TYPES:k,isAutolink:ne}}}),ct=Oe({"src/language-markdown/embed.js"(m,A){b();var{inferParserByLanguage:h,getMaxContinuousCount:C}=jn(),{builders:{hardline:x,markAsRoot:p},utils:{replaceEndOfLine:d}}=bn(),D=Ho(),{getFencedCodeBlockValue:w}=Ye();function k(R,P,M,T){let N=R.getValue();if(N.type==="code"&&N.lang!==null){let j=h(N.lang,T);if(j){let re=T.__inJsTemplate?"~":"`",ne=re.repeat(Math.max(3,C(N.value,re)+1)),$={parser:j};N.lang==="tsx"&&($.filepath="dummy.tsx");let J=M(w(N,T.originalText),$,{stripTrailingHardline:!0});return p([ne,N.lang,N.meta?" "+N.meta:"",x,d(J),x,ne])}}switch(N.type){case"front-matter":return D(N,M);case"importExport":return[M(N.value,{parser:"babel"},{stripTrailingHardline:!0}),x];case"jsx":return M("<$>".concat(N.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}A.exports=k}}),cr=Oe({"src/language-markdown/pragma.js"(m,A){b();var h=fs(),C=["format","prettier"];function x(p){let d="@(".concat(C.join("|"),")"),D=new RegExp(["<!--\\s*".concat(d,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(d,"\\s*\\*\\/\\s*}"),`<!--.*\r?
|
|
108
|
+
[\\s\\S]*(^|
|
|
109
|
+
)[^\\S
|
|
110
|
+
]*`.concat(d,`[^\\S
|
|
111
|
+
]*($|
|
|
112
|
+
)[\\s\\S]*
|
|
113
|
+
.*-->`)].join("|"),"m"),w=p.match(D);return(w==null?void 0:w.index)===0}A.exports={startWithPragma:x,hasPragma:p=>x(h(p).content.trimStart()),insertPragma:p=>{let d=h(p),D="<!-- @".concat(C[0]," -->");return d.frontMatter?"".concat(d.frontMatter.raw,`
|
|
114
|
+
|
|
115
|
+
`).concat(D,`
|
|
116
|
+
|
|
117
|
+
`).concat(d.content):"".concat(D,`
|
|
118
|
+
|
|
119
|
+
`).concat(d.content)}}}}),Br=Oe({"src/language-markdown/print-preprocess.js"(m,A){b();var h=Rn(),{getOrderedListItemInfo:C,mapAst:x,splitText:p}=Ye(),d=/^.$/su;function D(ne,$){return ne=R(ne,$),ne=T(ne),ne=k(ne),ne=j(ne,$),ne=re(ne,$),ne=N(ne,$),ne=w(ne),ne=P(ne),ne}function w(ne){return x(ne,$=>$.type!=="import"&&$.type!=="export"?$:Object.assign(Object.assign({},$),{},{type:"importExport"}))}function k(ne){return x(ne,$=>$.type!=="inlineCode"?$:Object.assign(Object.assign({},$),{},{value:$.value.replace(/\s+/g," ")}))}function R(ne,$){return x(ne,J=>J.type!=="text"||J.value==="*"||J.value==="_"||!d.test(J.value)||J.position.end.offset-J.position.start.offset===J.value.length?J:Object.assign(Object.assign({},J),{},{value:$.originalText.slice(J.position.start.offset,J.position.end.offset)}))}function P(ne){return M(ne,($,J)=>$.type==="importExport"&&J.type==="importExport",($,J)=>({type:"importExport",value:$.value+`
|
|
120
|
+
|
|
121
|
+
`+J.value,position:{start:$.position.start,end:J.position.end}}))}function M(ne,$,J){return x(ne,ee=>{if(!ee.children)return ee;let oe=ee.children.reduce((ie,se)=>{let z=h(ie);return z&&$(z,se)?ie.splice(-1,1,J(z,se)):ie.push(se),ie},[]);return Object.assign(Object.assign({},ee),{},{children:oe})})}function T(ne){return M(ne,($,J)=>$.type==="text"&&J.type==="text",($,J)=>({type:"text",value:$.value+J.value,position:{start:$.position.start,end:J.position.end}}))}function N(ne,$){return x(ne,(J,ee,oe)=>{let[ie]=oe;if(J.type!=="text")return J;let{value:se}=J;return ie.type==="paragraph"&&(ee===0&&(se=se.trimStart()),ee===ie.children.length-1&&(se=se.trimEnd())),{type:"sentence",position:J.position,children:p(se,$)}})}function j(ne,$){return x(ne,(J,ee,oe)=>{if(J.type==="code"){let ie=/^\n?(?: {4,}|\t)/.test($.originalText.slice(J.position.start.offset,J.position.end.offset));if(J.isIndented=ie,ie)for(let se=0;se<oe.length;se++){let z=oe[se];if(z.hasIndentedCodeblock)break;z.type==="list"&&(z.hasIndentedCodeblock=!0)}}return J})}function re(ne,$){return x(ne,(oe,ie,se)=>{if(oe.type==="list"&&oe.children.length>0){for(let z=0;z<se.length;z++){let B=se[z];if(B.type==="list"&&!B.isAligned)return oe.isAligned=!1,oe}oe.isAligned=ee(oe)}return oe});function J(oe){return oe.children.length===0?-1:oe.children[0].position.start.column-1}function ee(oe){if(!oe.ordered)return!0;let[ie,se]=oe.children;if(C(ie,$.originalText).leadingSpaces.length>1)return!0;let z=J(ie);if(z===-1)return!1;if(oe.children.length===1)return z%$.tabWidth===0;let B=J(se);return z!==B?!1:z%$.tabWidth===0?!0:C(se,$.originalText).leadingSpaces.length>1}}A.exports=D}}),jr=Oe({"src/language-markdown/clean.js"(m,A){b();var{isFrontMatterNode:h}=jn(),{startWithPragma:C}=cr(),x=new Set(["position","raw"]);function p(d,D,w){if((d.type==="front-matter"||d.type==="code"||d.type==="yaml"||d.type==="import"||d.type==="export"||d.type==="jsx")&&delete D.value,d.type==="list"&&delete D.isAligned,(d.type==="list"||d.type==="listItem")&&(delete D.spread,delete D.loose),d.type==="text"||(d.type==="inlineCode"&&(D.value=d.value.replace(/[\t\n ]+/g," ")),d.type==="wikiLink"&&(D.value=d.value.trim().replace(/[\t\n]+/g," ")),(d.type==="definition"||d.type==="linkReference")&&(D.label=d.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(d.type==="definition"||d.type==="link"||d.type==="image")&&d.title&&(D.title=d.title.replace(/\\(["')])/g,"$1")),w&&w.type==="root"&&w.children.length>0&&(w.children[0]===d||h(w.children[0])&&w.children[1]===d)&&d.type==="html"&&C(d.value)))return null}p.ignoredProperties=x,A.exports=p}}),an=Oe({"src/language-markdown/printer-markdown.js"(m,A){b();var{getLast:h,getMinNotPresentContinuousCount:C,getMaxContinuousCount:x,getStringWidth:p,isNonEmptyArray:d}=jn(),{builders:{breakParent:D,join:w,line:k,literalline:R,markAsRoot:P,hardline:M,softline:T,ifBreak:N,fill:j,align:re,indent:ne,group:$,hardlineWithoutBreakParent:J},utils:{normalizeDoc:ee,replaceTextEndOfLine:oe},printer:{printDocToString:ie}}=bn(),se=ct(),{insertPragma:z}=cr(),{locStart:B,locEnd:O}=Ce(),W=Br(),S=jr(),{getFencedCodeBlockValue:H,hasGitDiffFriendlyOrderedList:I,splitText:Y,punctuationPattern:X,INLINE_NODE_TYPES:K,INLINE_NODE_WRAPPER_TYPES:ce,isAutolink:we}=Ye(),ye=new Set(["importExport"]),Be=["heading","tableCell","link","wikiLink"],ke=new Set(["listItem","definition","footnoteDefinition"]);function Ee(Ft,St,Lt){let tt=Ft.getValue();if(Et(Ft))return Y(St.originalText.slice(tt.position.start.offset,tt.position.end.offset),St).map(rr=>rr.type==="word"?rr.value:rr.value===""?"":At(Ft,rr.value,St));switch(tt.type){case"front-matter":return St.originalText.slice(tt.position.start.offset,tt.position.end.offset);case"root":return tt.children.length===0?"":[ee(Me(Ft,St,Lt)),ye.has(Nt(tt).type)?"":M];case"paragraph":return Dt(Ft,St,Lt,{postprocessor:j});case"sentence":return Dt(Ft,St,Lt);case"word":{let rr=tt.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(X,")(_+)"),"(_+)(".concat(X,"|$)")].join("|"),"g"),(qt,e,t,o,i)=>(t?"".concat(e).concat(t):"".concat(o).concat(i)).replace(/_/g,"\\_")),$e=(qt,e,t)=>qt.type==="sentence"&&t===0,Kt=(qt,e,t)=>we(qt.children[t-1]);return rr!==tt.value&&(Ft.match(void 0,$e,Kt)||Ft.match(void 0,$e,(qt,e,t)=>qt.type==="emphasis"&&t===0,Kt))&&(rr=rr.replace(/^(\\?[*_])+/,qt=>qt.replace(/\\/g,""))),rr}case"whitespace":{let rr=Ft.getParentNode(),$e=rr.children.indexOf(tt),Kt=rr.children[$e+1],qt=Kt&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Kt.value)?"never":St.proseWrap;return At(Ft,tt.value,{proseWrap:qt})}case"emphasis":{let rr;if(we(tt.children[0]))rr=St.originalText[tt.position.start.offset];else{let $e=Ft.getParentNode(),Kt=$e.children.indexOf(tt),qt=$e.children[Kt-1],e=$e.children[Kt+1];rr=qt&&qt.type==="sentence"&&qt.children.length>0&&h(qt.children).type==="word"&&!h(qt.children).hasTrailingPunctuation||e&&e.type==="sentence"&&e.children.length>0&&e.children[0].type==="word"&&!e.children[0].hasLeadingPunctuation||Xe(Ft,"emphasis")?"*":"_"}return[rr,Dt(Ft,St,Lt),rr]}case"strong":return["**",Dt(Ft,St,Lt),"**"];case"delete":return["~~",Dt(Ft,St,Lt),"~~"];case"inlineCode":{let rr=C(tt.value,"`"),$e="`".repeat(rr||1),Kt=rr&&!/^\s/.test(tt.value)?" ":"";return[$e,Kt,tt.value,Kt,$e]}case"wikiLink":{let rr="";return St.proseWrap==="preserve"?rr=tt.value:rr=tt.value.replace(/[\t\n]+/g," "),["[[",rr,"]]"]}case"link":switch(St.originalText[tt.position.start.offset]){case"<":{let rr="mailto:",$e=tt.url.startsWith(rr)&&St.originalText.slice(tt.position.start.offset+1,tt.position.start.offset+1+rr.length)!==rr?tt.url.slice(rr.length):tt.url;return["<",$e,">"]}case"[":return["[",Dt(Ft,St,Lt),"](",gt(tt.url,")"),ur(tt.title,St),")"];default:return St.originalText.slice(tt.position.start.offset,tt.position.end.offset)}case"image":return[""),ur(tt.title,St),")"];case"blockquote":return["> ",re("> ",Dt(Ft,St,Lt))];case"heading":return["#".repeat(tt.depth)+" ",Dt(Ft,St,Lt)];case"code":{if(tt.isIndented){let Kt=" ".repeat(4);return re(Kt,[Kt,...oe(tt.value,M)])}let rr=St.__inJsTemplate?"~":"`",$e=rr.repeat(Math.max(3,x(tt.value,rr)+1));return[$e,tt.lang||"",tt.meta?" "+tt.meta:"",M,...oe(H(tt,St.originalText),M),M,$e]}case"html":{let rr=Ft.getParentNode(),$e=rr.type==="root"&&h(rr.children)===tt?tt.value.trimEnd():tt.value,Kt=/^<!--.*-->$/s.test($e);return oe($e,Kt?M:P(R))}case"list":{let rr=Te(tt,Ft.getParentNode()),$e=I(tt,St);return Dt(Ft,St,Lt,{processor:(Kt,qt)=>{let e=o(),t=Kt.getValue();if(t.children.length===2&&t.children[1].type==="html"&&t.children[0].position.start.column!==t.children[1].position.start.column)return[e,qe(Kt,St,Lt,e)];return[e,re(" ".repeat(e.length),qe(Kt,St,Lt,e))];function o(){let i=tt.ordered?(qt===0?tt.start:$e?1:tt.start+qt)+(rr%2===0?". ":") "):rr%2===0?"- ":"* ";return tt.isAligned||tt.hasIndentedCodeblock?Se(i,St):i}}})}case"thematicBreak":{let rr=Qe(Ft,"list");return rr===-1?"---":Te(Ft.getParentNode(rr),Ft.getParentNode(rr+1))%2===0?"***":"---"}case"linkReference":return["[",Dt(Ft,St,Lt),"]",tt.referenceType==="full"?["[",tt.identifier,"]"]:tt.referenceType==="collapsed"?"[]":""];case"imageReference":switch(tt.referenceType){case"full":return["![",tt.alt||"","][",tt.identifier,"]"];default:return["![",tt.alt,"]",tt.referenceType==="collapsed"?"[]":""]}case"definition":{let rr=St.proseWrap==="always"?k:" ";return $(["[",tt.identifier,"]:",ne([rr,gt(tt.url),tt.title===null?"":[rr,ur(tt.title,St,!1)]])])}case"footnote":return["[^",Dt(Ft,St,Lt),"]"];case"footnoteReference":return["[^",tt.identifier,"]"];case"footnoteDefinition":{let rr=Ft.getParentNode().children[Ft.getName()+1],$e=tt.children.length===1&&tt.children[0].type==="paragraph"&&(St.proseWrap==="never"||St.proseWrap==="preserve"&&tt.children[0].position.start.line===tt.children[0].position.end.line);return["[^",tt.identifier,"]: ",$e?Dt(Ft,St,Lt):$([re(" ".repeat(4),Dt(Ft,St,Lt,{processor:(Kt,qt)=>qt===0?$([T,Lt()]):Lt()})),rr&&rr.type==="footnoteDefinition"?T:""])]}case"table":return Fe(Ft,St,Lt);case"tableCell":return Dt(Ft,St,Lt);case"break":return/\s/.test(St.originalText[tt.position.start.offset])?[" ",P(R)]:["\\",M];case"liquidNode":return oe(tt.value,M);case"importExport":return[tt.value,M];case"esComment":return["{/* ",tt.value," */}"];case"jsx":return tt.value;case"math":return["$$",M,tt.value?[...oe(tt.value,M),M]:"","$$"];case"inlineMath":return St.originalText.slice(B(tt),O(tt));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(tt.type)))}}function qe(Ft,St,Lt,tt){let rr=Ft.getValue(),$e=rr.checked===null?"":rr.checked?"[x] ":"[ ] ";return[$e,Dt(Ft,St,Lt,{processor:(Kt,qt)=>{if(qt===0&&Kt.getValue().type!=="list")return re(" ".repeat($e.length),Lt());let e=" ".repeat(Ur(St.tabWidth-tt.length,0,3));return[e,re(e,Lt())]}})]}function Se(Ft,St){let Lt=tt();return Ft+" ".repeat(Lt>=4?0:Lt);function tt(){let rr=Ft.length%St.tabWidth;return rr===0?0:St.tabWidth-rr}}function Te(Ft,St){return Ge(Ft,St,Lt=>Lt.ordered===Ft.ordered)}function Ge(Ft,St,Lt){let tt=-1;for(let rr of St.children)if(rr.type===Ft.type&&Lt(rr)?tt++:tt=-1,rr===Ft)return tt}function Qe(Ft,St){let Lt=Array.isArray(St)?St:[St],tt=-1,rr;for(;rr=Ft.getParentNode(++tt);)if(Lt.includes(rr.type))return tt;return-1}function Xe(Ft,St){let Lt=Qe(Ft,St);return Lt===-1?null:Ft.getParentNode(Lt)}function At(Ft,St,Lt){if(Lt.proseWrap==="preserve"&&St===`
|
|
122
|
+
`)return M;let tt=Lt.proseWrap==="always"&&!Xe(Ft,Be);return St!==""?tt?k:" ":tt?T:""}function Fe(Ft,St,Lt){let tt=Ft.getValue(),rr=[],$e=Ft.map(i=>i.map((n,u)=>{let c=ie(Lt(),St).formatted,y=p(c);return rr[u]=Math.max(rr[u]||3,y),{text:c,width:y}},"children"),"children"),Kt=e(!1);if(St.proseWrap!=="never")return[D,Kt];let qt=e(!0);return[D,$(N(qt,Kt))];function e(i){let n=[o($e[0],i),t(i)];return $e.length>1&&n.push(w(J,$e.slice(1).map(u=>o(u,i)))),w(J,n)}function t(i){let n=rr.map((u,c)=>{let y=tt.align[c],_=y==="center"||y==="left"?":":"-",L=y==="center"||y==="right"?":":"-",ve=i?"-":"-".repeat(u-2);return"".concat(_).concat(ve).concat(L)});return"| ".concat(n.join(" | ")," |")}function o(i,n){let u=i.map((c,y)=>{let{text:_,width:L}=c;if(n)return _;let ve=rr[y]-L,he=tt.align[y],Ze=0;he==="right"?Ze=ve:he==="center"&&(Ze=Math.floor(ve/2));let Le=ve-Ze;return"".concat(" ".repeat(Ze)).concat(_).concat(" ".repeat(Le))});return"| ".concat(u.join(" | ")," |")}}function Me(Ft,St,Lt){let tt=[],rr=null,{children:$e}=Ft.getValue();for(let[Kt,qt]of $e.entries())switch(mt(qt)){case"start":rr===null&&(rr={index:Kt,offset:qt.position.end.offset});break;case"end":rr!==null&&(tt.push({start:rr,end:{index:Kt,offset:qt.position.start.offset}}),rr=null);break}return Dt(Ft,St,Lt,{processor:(Kt,qt)=>{if(tt.length>0){let e=tt[0];if(qt===e.start.index)return[$e[e.start.index].value,St.originalText.slice(e.start.offset,e.end.offset),$e[e.end.index].value];if(e.start.index<qt&&qt<e.end.index)return!1;if(qt===e.end.index)return tt.shift(),!1}return Lt()}})}function Dt(Ft,St,Lt){let tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:rr}=tt,$e=tt.processor||(()=>Lt()),Kt=Ft.getValue(),qt=[],e;return Ft.each((t,o)=>{let i=t.getValue(),n=$e(t,o);if(n!==!1){let u={parts:qt,prevNode:e,parentNode:Kt,options:St};Ie(i,u)&&(qt.push(M),e&&ye.has(e.type)||(Re(i,u)||He(i,u))&&qt.push(M),He(i,u)&&qt.push(M)),qt.push(n),e=i}},"children"),rr?rr(qt):qt}function Nt(Ft){let St=Ft;for(;d(St.children);)St=h(St.children);return St}function mt(Ft){let St;if(Ft.type==="html")St=Ft.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Lt;Ft.type==="esComment"?Lt=Ft:Ft.type==="paragraph"&&Ft.children.length===1&&Ft.children[0].type==="esComment"&&(Lt=Ft.children[0]),Lt&&(St=Lt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return St?St[1]||"next":!1}function Ie(Ft,St){let Lt=St.parts.length===0,tt=K.includes(Ft.type),rr=Ft.type==="html"&&ce.includes(St.parentNode.type);return!Lt&&!tt&&!rr}function Re(Ft,St){var Lt,tt,rr;let $e=(St.prevNode&&St.prevNode.type)===Ft.type&&ke.has(Ft.type),Kt=St.parentNode.type==="listItem"&&!St.parentNode.loose,qt=((Lt=St.prevNode)===null||Lt===void 0?void 0:Lt.type)==="listItem"&&St.prevNode.loose,e=mt(St.prevNode)==="next",t=Ft.type==="html"&&((tt=St.prevNode)===null||tt===void 0?void 0:tt.type)==="html"&&St.prevNode.position.end.line+1===Ft.position.start.line,o=Ft.type==="html"&&St.parentNode.type==="listItem"&&((rr=St.prevNode)===null||rr===void 0?void 0:rr.type)==="paragraph"&&St.prevNode.position.end.line+1===Ft.position.start.line;return qt||!($e||Kt||e||t||o)}function He(Ft,St){let Lt=St.prevNode&&St.prevNode.type==="list",tt=Ft.type==="code"&&Ft.isIndented;return Lt&&tt}function Et(Ft){let St=Xe(Ft,["linkReference","imageReference"]);return St&&(St.type!=="linkReference"||St.referenceType!=="full")}function gt(Ft){let St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Lt=[" ",...Array.isArray(St)?St:[St]];return new RegExp(Lt.map(tt=>"\\".concat(tt)).join("|")).test(Ft)?"<".concat(Ft,">"):Ft}function ur(Ft,St){let Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!Ft)return"";if(Lt)return" "+ur(Ft,St,!1);if(Ft=Ft.replace(/\\(["')])/g,"$1"),Ft.includes('"')&&Ft.includes("'")&&!Ft.includes(")"))return"(".concat(Ft,")");let tt=Ft.split("'").length-1,rr=Ft.split('"').length-1,$e=tt>rr?'"':rr>tt||St.singleQuote?"'":'"';return Ft=Ft.replace(/\\/,"\\\\"),Ft=Ft.replace(new RegExp("(".concat($e,")"),"g"),"\\$1"),"".concat($e).concat(Ft).concat($e)}function Ur(Ft,St,Lt){return Ft<St?St:Ft>Lt?Lt:Ft}function Yr(Ft){let St=Number(Ft.getName());if(St===0)return!1;let Lt=Ft.getParentNode().children[St-1];return mt(Lt)==="next"}A.exports={preprocess:W,print:Ee,embed:se,massageAstNode:S,hasPrettierIgnore:Yr,insertPragma:z}}}),sn=Oe({"src/language-markdown/options.js"(m,A){b();var h=zo();A.exports={proseWrap:h.proseWrap,singleQuote:h.singleQuote}}}),xn=Oe({"src/language-markdown/parsers.js"(){b()}}),en=Oe({"node_modules/linguist-languages/data/Markdown.json"(m,A){A.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),un=Oe({"src/language-markdown/index.js"(m,A){b();var h=Io(),C=an(),x=sn(),p=xn(),d=[h(en(),w=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...w.filenames,"README"],extensions:w.extensions.filter(k=>k!==".mdx")})),h(en(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],D={mdast:C};A.exports={languages:d,options:x,printers:D,parsers:p}}}),mr=Oe({"src/language-html/clean.js"(m,A){b();var{isFrontMatterNode:h}=jn(),C=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function x(p,d){if(p.type==="text"||p.type==="comment"||h(p)||p.type==="yaml"||p.type==="toml")return null;p.type==="attribute"&&delete d.value,p.type==="docType"&&delete d.value}x.ignoredProperties=C,A.exports=x}}),Yt=Oe({"src/language-html/constants.evaluate.js"(m,A){A.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),vr=Oe({"src/language-html/utils/is-unknown-namespace.js"(m,A){b();function h(C){return C.type==="element"&&!C.hasExplicitNamespace&&!["html","svg"].includes(C.namespace)}A.exports=h}}),Jt=Oe({"src/language-html/utils/index.js"(m,A){b();var{inferParserByLanguage:h,isFrontMatterNode:C}=jn(),{builders:{line:x,hardline:p,join:d},utils:{getDocParts:D,replaceTextEndOfLine:w}}=bn(),{CSS_DISPLAY_TAGS:k,CSS_DISPLAY_DEFAULT:R,CSS_WHITE_SPACE_TAGS:P,CSS_WHITE_SPACE_DEFAULT:M}=Yt(),T=vr(),N=new Set([" ",`
|
|
123
|
+
`,"\f","\r"," "]),j=n=>n.replace(/^[\t\n\f\r ]+/,""),re=n=>n.replace(/[\t\n\f\r ]+$/,""),ne=n=>j(re(n)),$=n=>n.replace(/^[\t\f\r ]*\n/g,""),J=n=>$(re(n)),ee=n=>n.split(/[\t\n\f\r ]+/),oe=n=>n.match(/^[\t\n\f\r ]*/)[0],ie=n=>{let[,u,c,y]=n.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:u,trailingWhitespace:y,text:c}},se=n=>/[\t\n\f\r ]/.test(n);function z(n,u){return!!(n.type==="ieConditionalComment"&&n.lastChild&&!n.lastChild.isSelfClosing&&!n.lastChild.endSourceSpan||n.type==="ieConditionalComment"&&!n.complete||Et(n)&&n.children.some(c=>c.type!=="text"&&c.type!=="interpolation")||qt(n,u)&&!S(n)&&n.type!=="interpolation")}function B(n){return n.type==="attribute"||!n.parent||!n.prev?!1:O(n.prev)}function O(n){return n.type==="comment"&&n.value.trim()==="prettier-ignore"}function W(n){return n.type==="text"||n.type==="comment"}function S(n){return n.type==="element"&&(n.fullName==="script"||n.fullName==="style"||n.fullName==="svg:style"||T(n)&&(n.name==="script"||n.name==="style"))}function H(n){return n.children&&!S(n)}function I(n){return S(n)||n.type==="interpolation"||Y(n)}function Y(n){return Yr(n).startsWith("pre")}function X(n,u){let c=y();if(c&&!n.prev&&n.parent&&n.parent.tagDefinition&&n.parent.tagDefinition.ignoreFirstLf)return n.type==="interpolation";return c;function y(){return C(n)?!1:(n.type==="text"||n.type==="interpolation")&&n.prev&&(n.prev.type==="text"||n.prev.type==="interpolation")?!0:!n.parent||n.parent.cssDisplay==="none"?!1:Et(n.parent)?!0:!(!n.prev&&(n.parent.type==="root"||Et(n)&&n.parent||S(n.parent)||$e(n.parent,u)||!Nt(n.parent.cssDisplay))||n.prev&&!Re(n.prev.cssDisplay))}}function K(n,u){return C(n)?!1:(n.type==="text"||n.type==="interpolation")&&n.next&&(n.next.type==="text"||n.next.type==="interpolation")?!0:!n.parent||n.parent.cssDisplay==="none"?!1:Et(n.parent)?!0:!(!n.next&&(n.parent.type==="root"||Et(n)&&n.parent||S(n.parent)||$e(n.parent,u)||!mt(n.parent.cssDisplay))||n.next&&!Ie(n.next.cssDisplay))}function ce(n){return He(n.cssDisplay)&&!S(n)}function we(n){return C(n)||n.next&&n.sourceSpan.end&&n.sourceSpan.end.line+1<n.next.sourceSpan.start.line}function ye(n){return Be(n)||n.type==="element"&&n.children.length>0&&(["body","script","style"].includes(n.name)||n.children.some(u=>Xe(u)))||n.firstChild&&n.firstChild===n.lastChild&&n.firstChild.type!=="text"&&Se(n.firstChild)&&(!n.lastChild.isTrailingSpaceSensitive||Te(n.lastChild))}function Be(n){return n.type==="element"&&n.children.length>0&&(["html","head","ul","ol","select"].includes(n.name)||n.cssDisplay.startsWith("table")&&n.cssDisplay!=="table-cell")}function ke(n){return Ge(n)||n.prev&&Ee(n.prev)||qe(n)}function Ee(n){return Ge(n)||n.type==="element"&&n.fullName==="br"||qe(n)}function qe(n){return Se(n)&&Te(n)}function Se(n){return n.hasLeadingSpaces&&(n.prev?n.prev.sourceSpan.end.line<n.sourceSpan.start.line:n.parent.type==="root"||n.parent.startSourceSpan.end.line<n.sourceSpan.start.line)}function Te(n){return n.hasTrailingSpaces&&(n.next?n.next.sourceSpan.start.line>n.sourceSpan.end.line:n.parent.type==="root"||n.parent.endSourceSpan&&n.parent.endSourceSpan.start.line>n.sourceSpan.end.line)}function Ge(n){switch(n.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(n.name)}return!1}function Qe(n){return n.lastChild?Qe(n.lastChild):n}function Xe(n){return n.children&&n.children.some(u=>u.type!=="text")}function At(n){let{type:u,lang:c}=n.attrMap;if(u==="module"||u==="text/javascript"||u==="text/babel"||u==="application/javascript"||c==="jsx")return"babel";if(u==="application/x-typescript"||c==="ts"||c==="tsx")return"typescript";if(u==="text/markdown")return"markdown";if(u==="text/html")return"html";if(u&&(u.endsWith("json")||u.endsWith("importmap"))||u==="speculationrules")return"json";if(u==="text/x-handlebars-template")return"glimmer"}function Fe(n,u){let{lang:c}=n.attrMap;if(!c||c==="postcss"||c==="css")return"css";if(c==="scss")return"scss";if(c==="less")return"less";if(c==="stylus")return h("stylus",u)}function Me(n,u){if(n.name==="script"&&!n.attrMap.src)return!n.attrMap.lang&&!n.attrMap.type?"babel":At(n);if(n.name==="style")return Fe(n,u);if(u&&qt(n,u))return At(n)||!("src"in n.attrMap)&&h(n.attrMap.lang,u)}function Dt(n){return n==="block"||n==="list-item"||n.startsWith("table")}function Nt(n){return!Dt(n)&&n!=="inline-block"}function mt(n){return!Dt(n)&&n!=="inline-block"}function Ie(n){return!Dt(n)}function Re(n){return!Dt(n)}function He(n){return!Dt(n)&&n!=="inline-block"}function Et(n){return Yr(n).startsWith("pre")}function gt(n,u){let c=0;for(let y=n.stack.length-1;y>=0;y--){let _=n.stack[y];_&&typeof _=="object"&&!Array.isArray(_)&&u(_)&&c++}return c}function ur(n,u){let c=n;for(;c;){if(u(c))return!0;c=c.parent}return!1}function Ur(n,u){if(n.prev&&n.prev.type==="comment"){let y=n.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(y)return y[1]}let c=!1;if(n.type==="element"&&n.namespace==="svg")if(ur(n,y=>y.fullName==="svg:foreignObject"))c=!0;else return n.name==="svg"?"inline-block":"block";switch(u.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return u.parser==="vue"&&n.parent&&n.parent.type==="root"?"block":n.type==="element"&&(!n.namespace||c||T(n))&&k[n.name]||R}}function Yr(n){return n.type==="element"&&(!n.namespace||T(n))&&P[n.name]||M}function Ft(n){let u=Number.POSITIVE_INFINITY;for(let c of n.split(`
|
|
124
|
+
`)){if(c.length===0)continue;if(!N.has(c[0]))return 0;let y=oe(c).length;c.length!==y&&y<u&&(u=y)}return u===Number.POSITIVE_INFINITY?0:u}function St(n){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ft(n);return u===0?n:n.split(`
|
|
125
|
+
`).map(c=>c.slice(u)).join(`
|
|
126
|
+
`)}function Lt(n,u){let c=0;for(let y=0;y<n.length;y++)n[y]===u&&c++;return c}function tt(n){return n.replace(/'/g,"'").replace(/"/g,'"')}var rr=new Set(["template","style","script"]);function $e(n,u){return Kt(n,u)&&!rr.has(n.fullName)}function Kt(n,u){return u.parser==="vue"&&n.type==="element"&&n.parent.type==="root"&&n.fullName.toLowerCase()!=="html"}function qt(n,u){return Kt(n,u)&&($e(n,u)||n.attrMap.lang&&n.attrMap.lang!=="html")}function e(n){let u=n.fullName;return u.charAt(0)==="#"||u==="slot-scope"||u==="v-slot"||u.startsWith("v-slot:")}function t(n,u){let c=n.parent;if(!Kt(c,u))return!1;let y=c.fullName,_=n.fullName;return y==="script"&&_==="setup"||y==="style"&&_==="vars"}function o(n){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.value;return n.parent.isWhitespaceSensitive?n.parent.isIndentationSensitive?w(u):w(St(J(u)),p):D(d(x,ee(u)))}function i(n,u){return Kt(n,u)&&n.name==="script"}A.exports={htmlTrim:ne,htmlTrimPreserveIndentation:J,hasHtmlWhitespace:se,getLeadingAndTrailingHtmlWhitespace:ie,canHaveInterpolation:H,countChars:Lt,countParents:gt,dedentString:St,forceBreakChildren:Be,forceBreakContent:ye,forceNextEmptyLine:we,getLastDescendant:Qe,getNodeCssStyleDisplay:Ur,getNodeCssStyleWhiteSpace:Yr,hasPrettierIgnore:B,inferScriptParser:Me,isVueCustomBlock:$e,isVueNonHtmlBlock:qt,isVueScriptTag:i,isVueSlotAttribute:e,isVueSfcBindingsAttribute:t,isVueSfcBlock:Kt,isDanglingSpaceSensitiveNode:ce,isIndentationSensitiveNode:Y,isLeadingSpaceSensitiveNode:X,isPreLikeNode:Et,isScriptLikeTag:S,isTextLikeNode:W,isTrailingSpaceSensitiveNode:K,isWhitespaceSensitiveNode:I,isUnknownNamespace:T,preferHardlineAsLeadingSpaces:ke,preferHardlineAsTrailingSpaces:Ee,shouldPreserveContent:z,unescapeQuoteEntities:tt,getTextValueParts:o}}}),mi=Oe({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0}),m.$EOF=0,m.$BSPACE=8,m.$TAB=9,m.$LF=10,m.$VTAB=11,m.$FF=12,m.$CR=13,m.$SPACE=32,m.$BANG=33,m.$DQ=34,m.$HASH=35,m.$$=36,m.$PERCENT=37,m.$AMPERSAND=38,m.$SQ=39,m.$LPAREN=40,m.$RPAREN=41,m.$STAR=42,m.$PLUS=43,m.$COMMA=44,m.$MINUS=45,m.$PERIOD=46,m.$SLASH=47,m.$COLON=58,m.$SEMICOLON=59,m.$LT=60,m.$EQ=61,m.$GT=62,m.$QUESTION=63,m.$0=48,m.$7=55,m.$9=57,m.$A=65,m.$E=69,m.$F=70,m.$X=88,m.$Z=90,m.$LBRACKET=91,m.$BACKSLASH=92,m.$RBRACKET=93,m.$CARET=94,m.$_=95,m.$a=97,m.$b=98,m.$e=101,m.$f=102,m.$n=110,m.$r=114,m.$t=116,m.$u=117,m.$v=118,m.$x=120,m.$z=122,m.$LBRACE=123,m.$BAR=124,m.$RBRACE=125,m.$NBSP=160,m.$PIPE=124,m.$TILDA=126,m.$AT=64,m.$BT=96;function A(D){return D>=m.$TAB&&D<=m.$SPACE||D==m.$NBSP}m.isWhitespace=A;function h(D){return m.$0<=D&&D<=m.$9}m.isDigit=h;function C(D){return D>=m.$a&&D<=m.$z||D>=m.$A&&D<=m.$Z}m.isAsciiLetter=C;function x(D){return D>=m.$a&&D<=m.$f||D>=m.$A&&D<=m.$F||h(D)}m.isAsciiHexDigit=x;function p(D){return D===m.$LF||D===m.$CR}m.isNewLine=p;function d(D){return m.$0<=D&&D<=m.$7}m.isOctalDigit=d}}),Yn=Oe({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=class{constructor(C,x,p){this.filePath=C,this.name=x,this.members=p}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};m.StaticSymbol=A;var h=class{constructor(){this.cache=new Map}get(C,x,p){p=p||[];let d=p.length?".".concat(p.join(".")):"",D='"'.concat(C,'".').concat(x).concat(d),w=this.cache.get(D);return w||(w=new A(C,x,p),this.cache.set(D,w)),w}};m.StaticSymbolCache=h}}),ni=Oe({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=/-+([a-z0-9])/g;function h(S){return S.replace(A,function(){for(var H=arguments.length,I=new Array(H),Y=0;Y<H;Y++)I[Y]=arguments[Y];return I[1].toUpperCase()})}m.dashCaseToCamelCase=h;function C(S,H){return p(S,":",H)}m.splitAtColon=C;function x(S,H){return p(S,".",H)}m.splitAtPeriod=x;function p(S,H,I){let Y=S.indexOf(H);return Y==-1?I:[S.slice(0,Y).trim(),S.slice(Y+1).trim()]}function d(S,H,I){return Array.isArray(S)?H.visitArray(S,I):$(S)?H.visitStringMap(S,I):S==null||typeof S=="string"||typeof S=="number"||typeof S=="boolean"?H.visitPrimitive(S,I):H.visitOther(S,I)}m.visitValue=d;function D(S){return S!=null}m.isDefined=D;function w(S){return S===void 0?null:S}m.noUndefined=w;var k=class{visitArray(S,H){return S.map(I=>d(I,this,H))}visitStringMap(S,H){let I={};return Object.keys(S).forEach(Y=>{I[Y]=d(S[Y],this,H)}),I}visitPrimitive(S,H){return S}visitOther(S,H){return S}};m.ValueTransformer=k,m.SyncAsync={assertSync:S=>{if(ie(S))throw new Error("Illegal state: value cannot be a promise");return S},then:(S,H)=>ie(S)?S.then(H):H(S),all:S=>S.some(ie)?Promise.all(S):S};function R(S){throw new Error("Internal Error: ".concat(S))}m.error=R;function P(S,H){let I=Error(S);return I[M]=!0,H&&(I[T]=H),I}m.syntaxError=P;var M="ngSyntaxError",T="ngParseErrors";function N(S){return S[M]}m.isSyntaxError=N;function j(S){return S[T]||[]}m.getParseErrors=j;function re(S){return S.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=re;var ne=Object.getPrototypeOf({});function $(S){return typeof S=="object"&&S!==null&&Object.getPrototypeOf(S)===ne}function J(S){let H="";for(let I=0;I<S.length;I++){let Y=S.charCodeAt(I);if(Y>=55296&&Y<=56319&&S.length>I+1){let X=S.charCodeAt(I+1);X>=56320&&X<=57343&&(I++,Y=(Y-55296<<10)+X-56320+65536)}Y<=127?H+=String.fromCharCode(Y):Y<=2047?H+=String.fromCharCode(Y>>6&31|192,Y&63|128):Y<=65535?H+=String.fromCharCode(Y>>12|224,Y>>6&63|128,Y&63|128):Y<=2097151&&(H+=String.fromCharCode(Y>>18&7|240,Y>>12&63|128,Y>>6&63|128,Y&63|128))}return H}m.utf8Encode=J;function ee(S){if(typeof S=="string")return S;if(S instanceof Array)return"["+S.map(ee).join(", ")+"]";if(S==null)return""+S;if(S.overriddenName)return"".concat(S.overriddenName);if(S.name)return"".concat(S.name);if(!S.toString)return"object";let H=S.toString();if(H==null)return""+H;let I=H.indexOf(`
|
|
127
|
+
`);return I===-1?H:H.substring(0,I)}m.stringify=ee;function oe(S){return typeof S=="function"&&S.hasOwnProperty("__forward_ref__")?S():S}m.resolveForwardRef=oe;function ie(S){return!!S&&typeof S.then=="function"}m.isPromise=ie;var se=class{constructor(S){this.full=S;let H=S.split(".");this.major=H[0],this.minor=H[1],this.patch=H.slice(2).join(".")}};m.Version=se;var z=typeof window<"u"&&window,B=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,O=typeof globalThis<"u"&&globalThis,W=O||z||B;m.global=W}}),Un=Oe({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=Yn(),h=ni(),C=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function x(I){return I.replace(/\W/g,"_")}m.sanitizeIdentifier=x;var p=0;function d(I){if(!I||!I.reference)return null;let Y=I.reference;if(Y instanceof A.StaticSymbol)return Y.name;if(Y.__anonymousType)return Y.__anonymousType;let X=h.stringify(Y);return X.indexOf("(")>=0?(X="anonymous_".concat(p++),Y.__anonymousType=X):X=x(X),X}m.identifierName=d;function D(I){let Y=I.reference;return Y instanceof A.StaticSymbol?Y.filePath:"./".concat(h.stringify(Y))}m.identifierModuleUrl=D;function w(I,Y){return"View_".concat(d({reference:I}),"_").concat(Y)}m.viewClassName=w;function k(I){return"RenderType_".concat(d({reference:I}))}m.rendererTypeName=k;function R(I){return"HostView_".concat(d({reference:I}))}m.hostViewClassName=R;function P(I){return"".concat(d({reference:I}),"NgFactory")}m.componentFactoryName=P;var M;(function(I){I[I.Pipe=0]="Pipe",I[I.Directive=1]="Directive",I[I.NgModule=2]="NgModule",I[I.Injectable=3]="Injectable"})(M=m.CompileSummaryKind||(m.CompileSummaryKind={}));function T(I){return I.value!=null?x(I.value):d(I.identifier)}m.tokenName=T;function N(I){return I.identifier!=null?I.identifier.reference:I.value}m.tokenReference=N;var j=class{constructor(){let{moduleUrl:I,styles:Y,styleUrls:X}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=I||null,this.styles=ie(Y),this.styleUrls=ie(X)}};m.CompileStylesheetMetadata=j;var re=class{constructor(I){let{encapsulation:Y,template:X,templateUrl:K,htmlAst:ce,styles:we,styleUrls:ye,externalStylesheets:Be,animations:ke,ngContentSelectors:Ee,interpolation:qe,isInline:Se,preserveWhitespaces:Te}=I;if(this.encapsulation=Y,this.template=X,this.templateUrl=K,this.htmlAst=ce,this.styles=ie(we),this.styleUrls=ie(ye),this.externalStylesheets=ie(Be),this.animations=ke?z(ke):[],this.ngContentSelectors=Ee||[],qe&&qe.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=qe,this.isInline=Se,this.preserveWhitespaces=Te}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=re;var ne=class{static create(I){let{isHost:Y,type:X,isComponent:K,selector:ce,exportAs:we,changeDetection:ye,inputs:Be,outputs:ke,host:Ee,providers:qe,viewProviders:Se,queries:Te,guards:Ge,viewQueries:Qe,entryComponents:Xe,template:At,componentViewType:Fe,rendererType:Me,componentFactory:Dt}=I,Nt={},mt={},Ie={};Ee!=null&&Object.keys(Ee).forEach(Et=>{let gt=Ee[Et],ur=Et.match(C);ur===null?Ie[Et]=gt:ur[1]!=null?mt[ur[1]]=gt:ur[2]!=null&&(Nt[ur[2]]=gt)});let Re={};Be!=null&&Be.forEach(Et=>{let gt=h.splitAtColon(Et,[Et,Et]);Re[gt[0]]=gt[1]});let He={};return ke!=null&&ke.forEach(Et=>{let gt=h.splitAtColon(Et,[Et,Et]);He[gt[0]]=gt[1]}),new ne({isHost:Y,type:X,isComponent:!!K,selector:ce,exportAs:we,changeDetection:ye,inputs:Re,outputs:He,hostListeners:Nt,hostProperties:mt,hostAttributes:Ie,providers:qe,viewProviders:Se,queries:Te,guards:Ge,viewQueries:Qe,entryComponents:Xe,template:At,componentViewType:Fe,rendererType:Me,componentFactory:Dt})}constructor(I){let{isHost:Y,type:X,isComponent:K,selector:ce,exportAs:we,changeDetection:ye,inputs:Be,outputs:ke,hostListeners:Ee,hostProperties:qe,hostAttributes:Se,providers:Te,viewProviders:Ge,queries:Qe,guards:Xe,viewQueries:At,entryComponents:Fe,template:Me,componentViewType:Dt,rendererType:Nt,componentFactory:mt}=I;this.isHost=!!Y,this.type=X,this.isComponent=K,this.selector=ce,this.exportAs=we,this.changeDetection=ye,this.inputs=Be,this.outputs=ke,this.hostListeners=Ee,this.hostProperties=qe,this.hostAttributes=Se,this.providers=ie(Te),this.viewProviders=ie(Ge),this.queries=ie(Qe),this.guards=Xe,this.viewQueries=ie(At),this.entryComponents=ie(Fe),this.template=Me,this.componentViewType=Dt,this.rendererType=Nt,this.componentFactory=mt}toSummary(){return{summaryKind:M.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}}};m.CompileDirectiveMetadata=ne;var $=class{constructor(I){let{type:Y,name:X,pure:K}=I;this.type=Y,this.name=X,this.pure=!!K}toSummary(){return{summaryKind:M.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=$;var J=class{};m.CompileShallowModuleMetadata=J;var ee=class{constructor(I){let{type:Y,providers:X,declaredDirectives:K,exportedDirectives:ce,declaredPipes:we,exportedPipes:ye,entryComponents:Be,bootstrapComponents:ke,importedModules:Ee,exportedModules:qe,schemas:Se,transitiveModule:Te,id:Ge}=I;this.type=Y||null,this.declaredDirectives=ie(K),this.exportedDirectives=ie(ce),this.declaredPipes=ie(we),this.exportedPipes=ie(ye),this.providers=ie(X),this.entryComponents=ie(Be),this.bootstrapComponents=ie(ke),this.importedModules=ie(Ee),this.exportedModules=ie(qe),this.schemas=ie(Se),this.id=Ge||null,this.transitiveModule=Te||null}toSummary(){let I=this.transitiveModule;return{summaryKind:M.NgModule,type:this.type,entryComponents:I.entryComponents,providers:I.providers,modules:I.modules,exportedDirectives:I.exportedDirectives,exportedPipes:I.exportedPipes}}};m.CompileNgModuleMetadata=ee;var oe=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(I,Y){this.providers.push({provider:I,module:Y})}addDirective(I){this.directivesSet.has(I.reference)||(this.directivesSet.add(I.reference),this.directives.push(I))}addExportedDirective(I){this.exportedDirectivesSet.has(I.reference)||(this.exportedDirectivesSet.add(I.reference),this.exportedDirectives.push(I))}addPipe(I){this.pipesSet.has(I.reference)||(this.pipesSet.add(I.reference),this.pipes.push(I))}addExportedPipe(I){this.exportedPipesSet.has(I.reference)||(this.exportedPipesSet.add(I.reference),this.exportedPipes.push(I))}addModule(I){this.modulesSet.has(I.reference)||(this.modulesSet.add(I.reference),this.modules.push(I))}addEntryComponent(I){this.entryComponentsSet.has(I.componentType)||(this.entryComponentsSet.add(I.componentType),this.entryComponents.push(I))}};m.TransitiveCompileNgModuleMetadata=oe;function ie(I){return I||[]}var se=class{constructor(I,Y){let{useClass:X,useValue:K,useExisting:ce,useFactory:we,deps:ye,multi:Be}=Y;this.token=I,this.useClass=X||null,this.useValue=K,this.useExisting=ce,this.useFactory=we||null,this.dependencies=ye||null,this.multi=!!Be}};m.ProviderMeta=se;function z(I){return I.reduce((Y,X)=>{let K=Array.isArray(X)?z(X):X;return Y.concat(K)},[])}m.flatten=z;function B(I){return I.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function O(I,Y,X){let K;return X.isInline?Y.type.reference instanceof A.StaticSymbol?K="".concat(Y.type.reference.filePath,".").concat(Y.type.reference.name,".html"):K="".concat(d(I),"/").concat(d(Y.type),".html"):K=X.templateUrl,Y.type.reference instanceof A.StaticSymbol?K:B(K)}m.templateSourceUrl=O;function W(I,Y){let X=I.moduleUrl.split(/\/\\/g),K=X[X.length-1];return B("css/".concat(Y).concat(K,".ngstyle.js"))}m.sharedStylesheetJitUrl=W;function S(I){return B("".concat(d(I.type),"/module.ngfactory.js"))}m.ngModuleJitUrl=S;function H(I,Y){return B("".concat(d(I),"/").concat(d(Y.type),".ngfactory.js"))}m.templateJitUrl=H}}),Pn=Oe({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){b(),Object.defineProperty(m,"__esModule",{value:!0});var A=mi(),h=Un(),C=class{constructor(R,P,M,T){this.file=R,this.offset=P,this.line=M,this.col=T}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(R){let P=this.file.content,M=P.length,T=this.offset,N=this.line,j=this.col;for(;T>0&&R<0;)if(T--,R++,P.charCodeAt(T)==A.$LF){N--;let re=P.substr(0,T-1).lastIndexOf(String.fromCharCode(A.$LF));j=re>0?T-re:T}else j--;for(;T<M&&R>0;){let re=P.charCodeAt(T);T++,R--,re==A.$LF?(N++,j=0):j++}return new C(this.file,T,N,j)}getContext(R,P){let M=this.file.content,T=this.offset;if(T!=null){T>M.length-1&&(T=M.length-1);let N=T,j=0,re=0;for(;j<R&&T>0&&(T--,j++,!(M[T]==`
|
|
128
|
+
`&&++re==P)););for(j=0,re=0;j<R&&N<M.length-1&&(N++,j++,!(M[N]==`
|
|
129
|
+
`&&++re==P)););return{before:M.substring(T,this.offset),after:M.substring(this.offset,N+1)}}return null}};m.ParseLocation=C;var x=class{constructor(R,P){this.content=R,this.url=P}};m.ParseSourceFile=x;var p=class{constructor(R,P){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=R,this.end=P,this.details=M}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=p,m.EMPTY_PARSE_LOCATION=new C(new x("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new p(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var d;(function(R){R[R.WARNING=0]="WARNING",R[R.ERROR=1]="ERROR"})(d=m.ParseErrorLevel||(m.ParseErrorLevel={}));var D=class{constructor(R,P){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d.ERROR;this.span=R,this.msg=P,this.level=M}contextualMessage(){let R=this.span.start.getContext(100,3);return R?"".concat(this.msg,' ("').concat(R.before,"[").concat(d[this.level]," ->]").concat(R.after,'")'):this.msg}toString(){let R=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(R)}};m.ParseError=D;function w(R,P){let M=h.identifierModuleUrl(P),T=M!=null?"in ".concat(R," ").concat(h.identifierName(P)," in ").concat(M):"in ".concat(R," ").concat(h.identifierName(P)),N=new x("",T);return new p(new C(N,-1,-1,-1),new C(N,-1,-1,-1))}m.typeSourceSpan=w;function k(R,P,M){let T="in ".concat(R," ").concat(P," in ").concat(M),N=new x("",T);return new p(new C(N,-1,-1,-1),new C(N,-1,-1,-1))}m.r3JitTypeSourceSpan=k}}),Wr=Oe({"src/language-html/print-preprocess.js"(m,A){b();var{ParseSourceSpan:h}=Pn(),{htmlTrim:C,getLeadingAndTrailingHtmlWhitespace:x,hasHtmlWhitespace:p,canHaveInterpolation:d,getNodeCssStyleDisplay:D,isDanglingSpaceSensitiveNode:w,isIndentationSensitiveNode:k,isLeadingSpaceSensitiveNode:R,isTrailingSpaceSensitiveNode:P,isWhitespaceSensitiveNode:M,isVueScriptTag:T}=Jt(),N=[re,ne,J,oe,ie,B,se,z,O,ee,W];function j(S,H){for(let I of N)I(S,H);return S}function re(S){S.walk(H=>{if(H.type==="element"&&H.tagDefinition.ignoreFirstLf&&H.children.length>0&&H.children[0].type==="text"&&H.children[0].value[0]===`
|
|
130
|
+
`){let I=H.children[0];I.value.length===1?H.removeChild(I):I.value=I.value.slice(1)}})}function ne(S){let H=I=>I.type==="element"&&I.prev&&I.prev.type==="ieConditionalStartComment"&&I.prev.sourceSpan.end.offset===I.startSourceSpan.start.offset&&I.firstChild&&I.firstChild.type==="ieConditionalEndComment"&&I.firstChild.sourceSpan.start.offset===I.startSourceSpan.end.offset;S.walk(I=>{if(I.children)for(let Y=0;Y<I.children.length;Y++){let X=I.children[Y];if(!H(X))continue;let K=X.prev,ce=X.firstChild;I.removeChild(K),Y--;let we=new h(K.sourceSpan.start,ce.sourceSpan.end),ye=new h(we.start,X.sourceSpan.end);X.condition=K.condition,X.sourceSpan=ye,X.startSourceSpan=we,X.removeChild(ce)}})}function $(S,H,I){S.walk(Y=>{if(Y.children)for(let X=0;X<Y.children.length;X++){let K=Y.children[X];if(K.type!=="text"&&!H(K))continue;K.type!=="text"&&(K.type="text",K.value=I(K));let ce=K.prev;!ce||ce.type!=="text"||(ce.value+=K.value,ce.sourceSpan=new h(ce.sourceSpan.start,K.sourceSpan.end),Y.removeChild(K),X--)}})}function J(S){return $(S,H=>H.type==="cdata",H=>"<![CDATA[".concat(H.value,"]]>"))}function ee(S){let H=I=>I.type==="element"&&I.attrs.length===0&&I.children.length===1&&I.firstChild.type==="text"&&!p(I.children[0].value)&&!I.firstChild.hasLeadingSpaces&&!I.firstChild.hasTrailingSpaces&&I.isLeadingSpaceSensitive&&!I.hasLeadingSpaces&&I.isTrailingSpaceSensitive&&!I.hasTrailingSpaces&&I.prev&&I.prev.type==="text"&&I.next&&I.next.type==="text";S.walk(I=>{if(I.children)for(let Y=0;Y<I.children.length;Y++){let X=I.children[Y];if(!H(X))continue;let K=X.prev,ce=X.next;K.value+="<".concat(X.rawName,">")+X.firstChild.value+"</".concat(X.rawName,">")+ce.value,K.sourceSpan=new h(K.sourceSpan.start,ce.sourceSpan.end),K.isTrailingSpaceSensitive=ce.isTrailingSpaceSensitive,K.hasTrailingSpaces=ce.hasTrailingSpaces,I.removeChild(X),Y--,I.removeChild(ce)}})}function oe(S,H){if(H.parser==="html")return;let I=/{{(.+?)}}/s;S.walk(Y=>{if(d(Y))for(let X of Y.children){if(X.type!=="text")continue;let K=X.sourceSpan.start,ce=null,we=X.value.split(I);for(let ye=0;ye<we.length;ye++,K=ce){let Be=we[ye];if(ye%2===0){ce=K.moveBy(Be.length),Be.length>0&&Y.insertChildBefore(X,{type:"text",value:Be,sourceSpan:new h(K,ce)});continue}ce=K.moveBy(Be.length+4),Y.insertChildBefore(X,{type:"interpolation",sourceSpan:new h(K,ce),children:Be.length===0?[]:[{type:"text",value:Be,sourceSpan:new h(K.moveBy(2),ce.moveBy(-2))}]})}Y.removeChild(X)}})}function ie(S){S.walk(H=>{if(!H.children)return;if(H.children.length===0||H.children.length===1&&H.children[0].type==="text"&&C(H.children[0].value).length===0){H.hasDanglingSpaces=H.children.length>0,H.children=[];return}let I=M(H),Y=k(H);if(!I)for(let X=0;X<H.children.length;X++){let K=H.children[X];if(K.type!=="text")continue;let{leadingWhitespace:ce,text:we,trailingWhitespace:ye}=x(K.value),Be=K.prev,ke=K.next;we?(K.value=we,K.sourceSpan=new h(K.sourceSpan.start.moveBy(ce.length),K.sourceSpan.end.moveBy(-ye.length)),ce&&(Be&&(Be.hasTrailingSpaces=!0),K.hasLeadingSpaces=!0),ye&&(K.hasTrailingSpaces=!0,ke&&(ke.hasLeadingSpaces=!0))):(H.removeChild(K),X--,(ce||ye)&&(Be&&(Be.hasTrailingSpaces=!0),ke&&(ke.hasLeadingSpaces=!0)))}H.isWhitespaceSensitive=I,H.isIndentationSensitive=Y})}function se(S){S.walk(H=>{H.isSelfClosing=!H.children||H.type==="element"&&(H.tagDefinition.isVoid||H.startSourceSpan===H.endSourceSpan)})}function z(S,H){S.walk(I=>{I.type==="element"&&(I.hasHtmComponentClosingTag=I.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(H.originalText.slice(I.endSourceSpan.start.offset,I.endSourceSpan.end.offset)))})}function B(S,H){S.walk(I=>{I.cssDisplay=D(I,H)})}function O(S,H){S.walk(I=>{let{children:Y}=I;if(Y){if(Y.length===0){I.isDanglingSpaceSensitive=w(I);return}for(let X of Y)X.isLeadingSpaceSensitive=R(X,H),X.isTrailingSpaceSensitive=P(X,H);for(let X=0;X<Y.length;X++){let K=Y[X];K.isLeadingSpaceSensitive=(X===0||K.prev.isTrailingSpaceSensitive)&&K.isLeadingSpaceSensitive,K.isTrailingSpaceSensitive=(X===Y.length-1||K.next.isLeadingSpaceSensitive)&&K.isTrailingSpaceSensitive}}})}function W(S,H){if(H.parser==="vue"){let I=S.children.find(X=>T(X,H));if(!I)return;let{lang:Y}=I.attrMap;(Y==="ts"||Y==="typescript")&&(H.__should_parse_vue_template_with_ts=!0)}}A.exports=j}}),wn=Oe({"src/language-html/pragma.js"(m,A){b();function h(x){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(x)}function C(x){return`<!-- @format -->
|
|
131
|
+
|
|
132
|
+
`+x.replace(/^\s*\n/,"")}A.exports={hasPragma:h,insertPragma:C}}}),dn=Oe({"src/language-html/loc.js"(m,A){b();function h(x){return x.sourceSpan.start.offset}function C(x){return x.sourceSpan.end.offset}A.exports={locStart:h,locEnd:C}}}),Cn=Oe({"src/language-html/print/tag.js"(m,A){b();var h=xs(),{isNonEmptyArray:C}=jn(),{builders:{indent:x,join:p,line:d,softline:D,hardline:w},utils:{replaceTextEndOfLine:k}}=bn(),{locStart:R,locEnd:P}=dn(),{isTextLikeNode:M,getLastDescendant:T,isPreLikeNode:N,hasPrettierIgnore:j,shouldPreserveContent:re,isVueSfcBlock:ne}=Jt();function $(Ee,qe){return[Ee.isSelfClosing?"":J(Ee,qe),ee(Ee,qe)]}function J(Ee,qe){return Ee.lastChild&&S(Ee.lastChild)?"":[oe(Ee,qe),se(Ee,qe)]}function ee(Ee,qe){return(Ee.next?O(Ee.next):W(Ee.parent))?"":[z(Ee,qe),ie(Ee,qe)]}function oe(Ee,qe){return W(Ee)?z(Ee.lastChild,qe):""}function ie(Ee,qe){return S(Ee)?se(Ee.parent,qe):H(Ee)?Be(Ee.next):""}function se(Ee,qe){if(h(!Ee.isSelfClosing),B(Ee,qe))return"";switch(Ee.type){case"ieConditionalComment":return"<!";case"element":if(Ee.hasHtmComponentClosingTag)return"<//";default:return"</".concat(Ee.rawName)}}function z(Ee,qe){if(B(Ee,qe))return"";switch(Ee.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(Ee.isSelfClosing)return"/>";default:return">"}}function B(Ee,qe){return!Ee.isSelfClosing&&!Ee.endSourceSpan&&(j(Ee)||re(Ee.parent,qe))}function O(Ee){return Ee.prev&&Ee.prev.type!=="docType"&&!M(Ee.prev)&&Ee.isLeadingSpaceSensitive&&!Ee.hasLeadingSpaces}function W(Ee){return Ee.lastChild&&Ee.lastChild.isTrailingSpaceSensitive&&!Ee.lastChild.hasTrailingSpaces&&!M(T(Ee.lastChild))&&!N(Ee)}function S(Ee){return!Ee.next&&!Ee.hasTrailingSpaces&&Ee.isTrailingSpaceSensitive&&M(T(Ee))}function H(Ee){return Ee.next&&!M(Ee.next)&&M(Ee)&&Ee.isTrailingSpaceSensitive&&!Ee.hasTrailingSpaces}function I(Ee){let qe=Ee.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return qe?qe[1]?qe[1].split(/\s+/):!0:!1}function Y(Ee){return!Ee.prev&&Ee.isLeadingSpaceSensitive&&!Ee.hasLeadingSpaces}function X(Ee,qe,Se){let Te=Ee.getValue();if(!C(Te.attrs))return Te.isSelfClosing?" ":"";let Ge=Te.prev&&Te.prev.type==="comment"&&I(Te.prev.value),Qe=typeof Ge=="boolean"?()=>Ge:Array.isArray(Ge)?Dt=>Ge.includes(Dt.rawName):()=>!1,Xe=Ee.map(Dt=>{let Nt=Dt.getValue();return Qe(Nt)?k(qe.originalText.slice(R(Nt),P(Nt))):Se()},"attrs"),At=Te.type==="element"&&Te.fullName==="script"&&Te.attrs.length===1&&Te.attrs[0].fullName==="src"&&Te.children.length===0,Fe=qe.singleAttributePerLine&&Te.attrs.length>1&&!ne(Te,qe)?w:d,Me=[x([At?" ":d,p(Fe,Xe)])];return Te.firstChild&&Y(Te.firstChild)||Te.isSelfClosing&&W(Te.parent)||At?Me.push(Te.isSelfClosing?" ":""):Me.push(qe.bracketSameLine?Te.isSelfClosing?" ":"":Te.isSelfClosing?d:D),Me}function K(Ee){return Ee.firstChild&&Y(Ee.firstChild)?"":ke(Ee)}function ce(Ee,qe,Se){let Te=Ee.getValue();return[we(Te,qe),X(Ee,qe,Se),Te.isSelfClosing?"":K(Te)]}function we(Ee,qe){return Ee.prev&&H(Ee.prev)?"":[ye(Ee,qe),Be(Ee)]}function ye(Ee,qe){return Y(Ee)?ke(Ee.parent):O(Ee)?z(Ee.prev,qe):""}function Be(Ee){switch(Ee.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(Ee.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(Ee.condition)return"<!--[if ".concat(Ee.condition,"]><!--><").concat(Ee.rawName);default:return"<".concat(Ee.rawName)}}function ke(Ee){switch(h(!Ee.isSelfClosing),Ee.type){case"ieConditionalComment":return"]>";case"element":if(Ee.condition)return"><!--<![endif]-->";default:return">"}}A.exports={printClosingTag:$,printClosingTagStart:J,printClosingTagStartMarker:se,printClosingTagEndMarker:z,printClosingTagSuffix:ie,printClosingTagEnd:ee,needsToBorrowLastChildClosingTagEndMarker:W,needsToBorrowParentClosingTagStartMarker:S,needsToBorrowPrevClosingTagEndMarker:O,printOpeningTag:ce,printOpeningTagStart:we,printOpeningTagPrefix:ye,printOpeningTagStartMarker:Be,printOpeningTagEndMarker:ke,needsToBorrowNextOpeningTagStartMarker:H,needsToBorrowParentOpeningTagEndMarker:Y}}}),ut=Oe({"node_modules/parse-srcset/src/parse-srcset.js"(m,A){b(),function(h,C){typeof A=="object"&&A.exports?A.exports=C():h.parseSrcset=C()}(m,function(){return function(h,C){var x=C&&C.logger||console;function p(se){return se===" "||se===" "||se===`
|
|
133
|
+
`||se==="\f"||se==="\r"}function d(se){var z,B=se.exec(h.substring(J));if(B)return z=B[0],J+=z.length,z}for(var D=h.length,w=/^[ \t\n\r\u000c]+/,k=/^[, \t\n\r\u000c]+/,R=/^[^ \t\n\r\u000c]+/,P=/[,]+$/,M=/^\d+$/,T=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,N,j,re,ne,$,J=0,ee=[];;){if(d(k),J>=D)return ee;N=d(R),j=[],N.slice(-1)===","?(N=N.replace(P,""),ie()):oe()}function oe(){for(d(w),re="",ne="in descriptor";;){if($=h.charAt(J),ne==="in descriptor")if(p($))re&&(j.push(re),re="",ne="after descriptor");else if($===","){J+=1,re&&j.push(re),ie();return}else if($==="(")re=re+$,ne="in parens";else if($===""){re&&j.push(re),ie();return}else re=re+$;else if(ne==="in parens")if($===")")re=re+$,ne="in descriptor";else if($===""){j.push(re),ie();return}else re=re+$;else if(ne==="after descriptor"&&!p($))if($===""){ie();return}else ne="in descriptor",J-=1;J+=1}}function ie(){var se=!1,z,B,O,W,S={},H,I,Y,X,K;for(W=0;W<j.length;W++)H=j[W],I=H[H.length-1],Y=H.substring(0,H.length-1),X=parseInt(Y,10),K=parseFloat(Y),M.test(Y)&&I==="w"?((z||B)&&(se=!0),X===0?se=!0:z=X):T.test(Y)&&I==="x"?((z||B||O)&&(se=!0),K<0?se=!0:B=K):M.test(Y)&&I==="h"?((O||B)&&(se=!0),X===0?se=!0:O=X):se=!0;se?x&&x.error&&x.error("Invalid srcset descriptor found in '"+h+"' at '"+H+"'."):(S.url=N,z&&(S.w=z),B&&(S.d=B),O&&(S.h=O),ee.push(S))}}})}}),jt=Oe({"src/language-html/syntax-attribute.js"(m,A){b();var h=ut(),{builders:{ifBreak:C,join:x,line:p}}=bn();function d(w){let k=h(w,{logger:{error(oe){throw new Error(oe)}}}),R=k.some(oe=>{let{w:ie}=oe;return ie}),P=k.some(oe=>{let{h:ie}=oe;return ie}),M=k.some(oe=>{let{d:ie}=oe;return ie});if(R+P+M>1)throw new Error("Mixed descriptor in srcset is not supported");let T=R?"w":P?"h":"d",N=R?"w":P?"h":"x",j=oe=>Math.max(...oe),re=k.map(oe=>oe.url),ne=j(re.map(oe=>oe.length)),$=k.map(oe=>oe[T]).map(oe=>oe?oe.toString():""),J=$.map(oe=>{let ie=oe.indexOf(".");return ie===-1?oe.length:ie}),ee=j(J);return x([",",p],re.map((oe,ie)=>{let se=[oe],z=$[ie];if(z){let B=ne-oe.length+1,O=ee-J[ie],W=" ".repeat(B+O);se.push(C(W," "),z+N)}return se}))}function D(w){return w.trim().split(/\s+/).join(" ")}A.exports={printImgSrcset:d,printClassNames:D}}}),Vt=Oe({"src/language-html/syntax-vue.js"(m,A){b();var{builders:{group:h}}=bn();function C(D,w){let{left:k,operator:R,right:P}=x(D);return[h(w("function _(".concat(k,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",R," ",w(P,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function x(D){let w=/(.*?)\s+(in|of)\s+(.*)/s,k=/,([^,\]}]*)(?:,([^,\]}]*))?$/,R=/^\(|\)$/g,P=D.match(w);if(!P)return;let M={};if(M.for=P[3].trim(),!M.for)return;let T=P[1].trim().replace(R,""),N=T.match(k);N?(M.alias=T.replace(k,""),M.iterator1=N[1].trim(),N[2]&&(M.iterator2=N[2].trim())):M.alias=T;let j=[M.alias,M.iterator1,M.iterator2];if(!j.some((re,ne)=>!re&&(ne===0||j.slice(ne+1).some(Boolean))))return{left:j.filter(Boolean).join(","),operator:P[2],right:M.for}}function p(D,w){return w("function _(".concat(D,") {}"),{parser:"babel",__isVueBindings:!0})}function d(D){let w=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,k=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,R=D.trim();return w.test(R)||k.test(R)}A.exports={isVueEventBindingExpression:d,printVueFor:C,printVueBindings:p}}}),Tr=Oe({"src/language-html/get-node-content.js"(m,A){b();var{needsToBorrowParentClosingTagStartMarker:h,printClosingTagStartMarker:C,needsToBorrowLastChildClosingTagEndMarker:x,printClosingTagEndMarker:p,needsToBorrowParentOpeningTagEndMarker:d,printOpeningTagEndMarker:D}=Cn();function w(k,R){let P=k.startSourceSpan.end.offset;k.firstChild&&d(k.firstChild)&&(P-=D(k).length);let M=k.endSourceSpan.start.offset;return k.lastChild&&h(k.lastChild)?M+=C(k,R).length:x(k)&&(M-=p(k.lastChild,R).length),R.originalText.slice(P,M)}A.exports=w}}),st=Oe({"src/language-html/embed.js"(m,A){b();var{builders:{breakParent:h,group:C,hardline:x,indent:p,line:d,fill:D,softline:w},utils:{mapDoc:k,replaceTextEndOfLine:R}}=bn(),P=Ho(),{printClosingTag:M,printClosingTagSuffix:T,needsToBorrowPrevClosingTagEndMarker:N,printOpeningTagPrefix:j,printOpeningTag:re}=Cn(),{printImgSrcset:ne,printClassNames:$}=jt(),{printVueFor:J,printVueBindings:ee,isVueEventBindingExpression:oe}=Vt(),{isScriptLikeTag:ie,isVueNonHtmlBlock:se,inferScriptParser:z,htmlTrimPreserveIndentation:B,dedentString:O,unescapeQuoteEntities:W,isVueSlotAttribute:S,isVueSfcBindingsAttribute:H,getTextValueParts:I}=Jt(),Y=Tr();function X(ce,we,ye){let Be=Xe=>new RegExp(Xe.join("|")).test(ce.fullName),ke=()=>W(ce.value),Ee=!1,qe=(Xe,At)=>{let Fe=Xe.type==="NGRoot"?Xe.node.type==="NGMicrosyntax"&&Xe.node.body.length===1&&Xe.node.body[0].type==="NGMicrosyntaxExpression"?Xe.node.body[0].expression:Xe.node:Xe.type==="JsExpressionRoot"?Xe.node:Xe;Fe&&(Fe.type==="ObjectExpression"||Fe.type==="ArrayExpression"||At.parser==="__vue_expression"&&(Fe.type==="TemplateLiteral"||Fe.type==="StringLiteral"))&&(Ee=!0)},Se=Xe=>C(Xe),Te=function(Xe){let At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return C([p([w,Xe]),At?w:""])},Ge=Xe=>Ee?Se(Xe):Te(Xe),Qe=(Xe,At)=>we(Xe,Object.assign({__onHtmlBindingRoot:qe,__embeddedInHtml:!0},At));if(ce.fullName==="srcset"&&(ce.parent.fullName==="img"||ce.parent.fullName==="source"))return Te(ne(ke()));if(ce.fullName==="class"&&!ye.parentParser){let Xe=ke();if(!Xe.includes("{{"))return $(Xe)}if(ce.fullName==="style"&&!ye.parentParser){let Xe=ke();if(!Xe.includes("{{"))return Te(Qe(Xe,{parser:"css",__isHTMLStyleAttribute:!0}))}if(ye.parser==="vue"){if(ce.fullName==="v-for")return J(ke(),Qe);if(S(ce)||H(ce,ye))return ee(ke(),Qe);let Xe=["^@","^v-on:"],At=["^:","^v-bind:"],Fe=["^v-"];if(Be(Xe)){let Me=ke(),Dt=oe(Me)?"__js_expression":ye.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return Ge(Qe(Me,{parser:Dt}))}if(Be(At))return Ge(Qe(ke(),{parser:"__vue_expression"}));if(Be(Fe))return Ge(Qe(ke(),{parser:"__js_expression"}))}if(ye.parser==="angular"){let Xe=(Ie,Re)=>Qe(Ie,Object.assign(Object.assign({},Re),{},{trailingComma:"none"})),At=["^\\*"],Fe=["^\\(.+\\)$","^on-"],Me=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],Dt=["^i18n(-.+)?$"];if(Be(Fe))return Ge(Xe(ke(),{parser:"__ng_action"}));if(Be(Me))return Ge(Xe(ke(),{parser:"__ng_binding"}));if(Be(Dt)){let Ie=ke().trim();return Te(D(I(ce,Ie)),!Ie.includes("@@"))}if(Be(At))return Ge(Xe(ke(),{parser:"__ng_directive"}));let Nt=/{{(.+?)}}/s,mt=ke();if(Nt.test(mt)){let Ie=[];for(let[Re,He]of mt.split(Nt).entries())if(Re%2===0)Ie.push(R(He));else try{Ie.push(C(["{{",p([d,Xe(He,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),d,"}}"]))}catch{Ie.push("{{",R(He),"}}")}return C(Ie)}}return null}function K(ce,we,ye,Be){let ke=ce.getValue();switch(ke.type){case"element":{if(ie(ke)||ke.type==="interpolation")return;if(!ke.isSelfClosing&&se(ke,Be)){let Ee=z(ke,Be);if(!Ee)return;let qe=Y(ke,Be),Se=/^\s*$/.test(qe),Te="";return Se||(Te=ye(B(qe),{parser:Ee,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Se=Te===""),[j(ke,Be),C(re(ce,Be,we)),Se?"":x,Te,Se?"":x,M(ke,Be),T(ke,Be)]}break}case"text":{if(ie(ke.parent)){let Ee=z(ke.parent,Be);if(Ee){let qe=Ee==="markdown"?O(ke.value.replace(/^[^\S\n]*\n/,"")):ke.value,Se={parser:Ee,__embeddedInHtml:!0};if(Be.parser==="html"&&Ee==="babel"){let Te="script",{attrMap:Ge}=ke.parent;Ge&&(Ge.type==="module"||Ge.type==="text/babel"&&Ge["data-type"]==="module")&&(Te="module"),Se.__babelSourceType=Te}return[h,j(ke,Be),ye(qe,Se,{stripTrailingHardline:!0}),T(ke,Be)]}}else if(ke.parent.type==="interpolation"){let Ee={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return Be.parser==="angular"?(Ee.parser="__ng_interpolation",Ee.trailingComma="none"):Be.parser==="vue"?Ee.parser=Be.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":Ee.parser="__js_expression",[p([d,ye(ke.value,Ee,{stripTrailingHardline:!0})]),ke.parent.next&&N(ke.parent.next)?" ":d]}break}case"attribute":{if(!ke.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(Be.originalText.slice(ke.valueSpan.start.offset,ke.valueSpan.end.offset)))return[ke.rawName,"=",ke.value];if(Be.parser==="lwc"&&/^{.*}$/s.test(Be.originalText.slice(ke.valueSpan.start.offset,ke.valueSpan.end.offset)))return[ke.rawName,"=",ke.value];let Ee=X(ke,(qe,Se)=>ye(qe,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Se),{stripTrailingHardline:!0}),Be);if(Ee)return[ke.rawName,'="',C(k(Ee,qe=>typeof qe=="string"?qe.replace(/"/g,"""):qe)),'"'];break}case"front-matter":return P(ke,ye)}}A.exports=K}}),Xr=Oe({"src/language-html/print/children.js"(m,A){b();var{builders:{breakParent:h,group:C,ifBreak:x,line:p,softline:d,hardline:D},utils:{replaceTextEndOfLine:w}}=bn(),{locStart:k,locEnd:R}=dn(),{forceBreakChildren:P,forceNextEmptyLine:M,isTextLikeNode:T,hasPrettierIgnore:N,preferHardlineAsLeadingSpaces:j}=Jt(),{printOpeningTagPrefix:re,needsToBorrowNextOpeningTagStartMarker:ne,printOpeningTagStartMarker:$,needsToBorrowPrevClosingTagEndMarker:J,printClosingTagEndMarker:ee,printClosingTagSuffix:oe,needsToBorrowParentClosingTagStartMarker:ie}=Cn();function se(O,W,S){let H=O.getValue();return N(H)?[re(H,W),...w(W.originalText.slice(k(H)+(H.prev&&ne(H.prev)?$(H).length:0),R(H)-(H.next&&J(H.next)?ee(H,W).length:0))),oe(H,W)]:S()}function z(O,W){return T(O)&&T(W)?O.isTrailingSpaceSensitive?O.hasTrailingSpaces?j(W)?D:p:"":j(W)?D:d:ne(O)&&(N(W)||W.firstChild||W.isSelfClosing||W.type==="element"&&W.attrs.length>0)||O.type==="element"&&O.isSelfClosing&&J(W)?"":!W.isLeadingSpaceSensitive||j(W)||J(W)&&O.lastChild&&ie(O.lastChild)&&O.lastChild.lastChild&&ie(O.lastChild.lastChild)?D:W.hasLeadingSpaces?p:d}function B(O,W,S){let H=O.getValue();if(P(H))return[h,...O.map(Y=>{let X=Y.getValue(),K=X.prev?z(X.prev,X):"";return[K?[K,M(X.prev)?D:""]:"",se(Y,W,S)]},"children")];let I=H.children.map(()=>Symbol(""));return O.map((Y,X)=>{let K=Y.getValue();if(T(K)){if(K.prev&&T(K.prev)){let qe=z(K.prev,K);if(qe)return M(K.prev)?[D,D,se(Y,W,S)]:[qe,se(Y,W,S)]}return se(Y,W,S)}let ce=[],we=[],ye=[],Be=[],ke=K.prev?z(K.prev,K):"",Ee=K.next?z(K,K.next):"";return ke&&(M(K.prev)?ce.push(D,D):ke===D?ce.push(D):T(K.prev)?we.push(ke):we.push(x("",d,{groupId:I[X-1]}))),Ee&&(M(K)?T(K.next)&&Be.push(D,D):Ee===D?T(K.next)&&Be.push(D):ye.push(Ee)),[...ce,C([...we,C([se(Y,W,S),...ye],{id:I[X]})]),...Be]},"children")}A.exports={printChildren:B}}}),zr=Oe({"src/language-html/print/element.js"(m,A){b();var{builders:{breakParent:h,dedentToRoot:C,group:x,ifBreak:p,indentIfBreak:d,indent:D,line:w,softline:k},utils:{replaceTextEndOfLine:R}}=bn(),P=Tr(),{shouldPreserveContent:M,isScriptLikeTag:T,isVueCustomBlock:N,countParents:j,forceBreakContent:re}=Jt(),{printOpeningTagPrefix:ne,printOpeningTag:$,printClosingTagSuffix:J,printClosingTag:ee,needsToBorrowPrevClosingTagEndMarker:oe,needsToBorrowLastChildClosingTagEndMarker:ie}=Cn(),{printChildren:se}=Xr();function z(B,O,W){let S=B.getValue();if(M(S,O))return[ne(S,O),x($(B,O,W)),...R(P(S,O)),...ee(S,O),J(S,O)];let H=S.children.length===1&&S.firstChild.type==="interpolation"&&S.firstChild.isLeadingSpaceSensitive&&!S.firstChild.hasLeadingSpaces&&S.lastChild.isTrailingSpaceSensitive&&!S.lastChild.hasTrailingSpaces,I=Symbol("element-attr-group-id"),Y=we=>x([x($(B,O,W),{id:I}),we,ee(S,O)]),X=we=>H?d(we,{groupId:I}):(T(S)||N(S,O))&&S.parent.type==="root"&&O.parser==="vue"&&!O.vueIndentScriptAndStyle?we:D(we),K=()=>H?p(k,"",{groupId:I}):S.firstChild.hasLeadingSpaces&&S.firstChild.isLeadingSpaceSensitive?w:S.firstChild.type==="text"&&S.isWhitespaceSensitive&&S.isIndentationSensitive?C(k):k,ce=()=>(S.next?oe(S.next):ie(S.parent))?S.lastChild.hasTrailingSpaces&&S.lastChild.isTrailingSpaceSensitive?" ":"":H?p(k,"",{groupId:I}):S.lastChild.hasTrailingSpaces&&S.lastChild.isTrailingSpaceSensitive?w:(S.lastChild.type==="comment"||S.lastChild.type==="text"&&S.isWhitespaceSensitive&&S.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(O.tabWidth*j(B,we=>we.parent&&we.parent.type!=="root"),"}$")).test(S.lastChild.value)?"":k;return S.children.length===0?Y(S.hasDanglingSpaces&&S.isDanglingSpaceSensitive?w:""):Y([re(S)?h:"",X([K(),se(B,O,W)]),ce()])}A.exports={printElement:z}}}),ji=Oe({"src/language-html/printer-html.js"(m,A){b();var{builders:{fill:h,group:C,hardline:x,literalline:p},utils:{cleanDoc:d,getDocParts:D,isConcat:w,replaceTextEndOfLine:k}}=bn(),R=mr(),{countChars:P,unescapeQuoteEntities:M,getTextValueParts:T}=Jt(),N=Wr(),{insertPragma:j}=wn(),{locStart:re,locEnd:ne}=dn(),$=st(),{printClosingTagSuffix:J,printClosingTagEnd:ee,printOpeningTagPrefix:oe,printOpeningTagStart:ie}=Cn(),{printElement:se}=zr(),{printChildren:z}=Xr();function B(O,W,S){let H=O.getValue();switch(H.type){case"front-matter":return k(H.raw);case"root":return W.__onHtmlRoot&&W.__onHtmlRoot(H),[C(z(O,W,S)),x];case"element":case"ieConditionalComment":return se(O,W,S);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ie(H),ee(H)];case"interpolation":return[ie(H,W),...O.map(S,"children"),ee(H,W)];case"text":{if(H.parent.type==="interpolation"){let Y=/\n[^\S\n]*$/,X=Y.test(H.value),K=X?H.value.replace(Y,""):H.value;return[...k(K),X?x:""]}let I=d([oe(H,W),...T(H),J(H,W)]);return w(I)||I.type==="fill"?h(D(I)):I}case"docType":return[C([ie(H,W)," ",H.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),ee(H,W)];case"comment":return[oe(H,W),...k(W.originalText.slice(re(H),ne(H)),p),J(H,W)];case"attribute":{if(H.value===null)return H.rawName;let I=M(H.value),Y=P(I,"'"),X=P(I,'"'),K=Y<X?"'":'"';return[H.rawName,"=",K,...k(K==='"'?I.replace(/"/g,"""):I.replace(/'/g,"'")),K]}default:throw new Error("Unexpected node type ".concat(H.type))}}A.exports={preprocess:N,print:B,insertPragma:j,massageAstNode:R,embed:$}}}),Fi=Oe({"src/language-html/options.js"(m,A){b();var h=zo(),C="HTML";A.exports={bracketSameLine:h.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:C,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:C,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),si=Oe({"src/language-html/parsers.js"(){b()}}),Zi=Oe({"node_modules/linguist-languages/data/HTML.json"(m,A){A.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Ji=Oe({"node_modules/linguist-languages/data/Vue.json"(m,A){A.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),ki=Oe({"src/language-html/index.js"(m,A){b();var h=Io(),C=ji(),x=Fi(),p=si(),d=[h(Zi(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),h(Zi(),w=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...w.extensions,".mjml"]})),h(Zi(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),h(Ji(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],D={html:C};A.exports={languages:d,printers:D,options:x,parsers:p}}}),eo=Oe({"src/language-yaml/pragma.js"(m,A){b();function h(p){return/^\s*@(?:prettier|format)\s*$/.test(p)}function C(p){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(p)}function x(p){return`# @format
|
|
134
|
+
|
|
135
|
+
`.concat(p)}A.exports={isPragma:h,hasPragma:C,insertPragma:x}}}),Li=Oe({"src/language-yaml/loc.js"(m,A){b();function h(x){return x.position.start.offset}function C(x){return x.position.end.offset}A.exports={locStart:h,locEnd:C}}}),wi=Oe({"src/language-yaml/embed.js"(m,A){b();function h(C,x,p,d){if(C.getValue().type==="root"&&d.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(d.filepath))return p(d.originalText,Object.assign(Object.assign({},d),{},{parser:"json"}))}A.exports=h}}),Ti=Oe({"src/language-yaml/utils.js"(m,A){b();var{getLast:h,isNonEmptyArray:C}=jn();function x(z,B){let O=0,W=z.stack.length-1;for(let S=0;S<W;S++){let H=z.stack[S];p(H)&&B(H)&&O++}return O}function p(z,B){return z&&typeof z.type=="string"&&(!B||B.includes(z.type))}function d(z,B,O){return B("children"in z?Object.assign(Object.assign({},z),{},{children:z.children.map(W=>d(W,B,z))}):z,O)}function D(z,B,O){Object.defineProperty(z,B,{get:O,enumerable:!1})}function w(z,B){let O=0,W=B.length;for(let S=z.position.end.offset-1;S<W;S++){let H=B[S];if(H===`
|
|
136
|
+
`&&O++,O===1&&/\S/.test(H))return!1;if(O===2)return!0}return!1}function k(z){switch(z.getValue().type){case"tag":case"anchor":case"comment":return!1}let B=z.stack.length;for(let O=1;O<B;O++){let W=z.stack[O],S=z.stack[O-1];if(Array.isArray(S)&&typeof W=="number"&&W!==S.length-1)return!1}return!0}function R(z){return C(z.children)?R(h(z.children)):z}function P(z){return z.value.trim()==="prettier-ignore"}function M(z){let B=z.getValue();if(B.type==="documentBody"){let O=z.getParentNode();return J(O.head)&&P(h(O.head.endComments))}return j(B)&&P(h(B.leadingComments))}function T(z){return!C(z.children)&&!N(z)}function N(z){return j(z)||re(z)||ne(z)||$(z)||J(z)}function j(z){return C(z==null?void 0:z.leadingComments)}function re(z){return C(z==null?void 0:z.middleComments)}function ne(z){return z==null?void 0:z.indicatorComment}function $(z){return z==null?void 0:z.trailingComment}function J(z){return C(z==null?void 0:z.endComments)}function ee(z){let B=[],O;for(let W of z.split(/( +)/))W!==" "?O===" "?B.push(W):B.push((B.pop()||"")+W):O===void 0&&B.unshift(""),O=W;return O===" "&&B.push((B.pop()||"")+" "),B[0]===""&&(B.shift(),B.unshift(" "+(B.shift()||""))),B}function oe(z,B,O){let W=B.split(`
|
|
137
|
+
`).map((S,H,I)=>H===0&&H===I.length-1?S:H!==0&&H!==I.length-1?S.trim():H===0?S.trimEnd():S.trimStart());return O.proseWrap==="preserve"?W.map(S=>S.length===0?[]:[S]):W.map(S=>S.length===0?[]:ee(S)).reduce((S,H,I)=>I!==0&&W[I-1].length>0&&H.length>0&&!(z==="quoteDouble"&&h(h(S)).endsWith("\\"))?[...S.slice(0,-1),[...h(S),...H]]:[...S,H],[]).map(S=>O.proseWrap==="never"?[S.join(" ")]:S)}function ie(z,B){let{parentIndent:O,isLastDescendant:W,options:S}=B,H=z.position.start.line===z.position.end.line?"":S.originalText.slice(z.position.start.offset,z.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],I;if(z.indent===null){let K=H.match(/^(?<leadingSpace> *)[^\n\r ]/m);I=K?K.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else I=z.indent-1+O;let Y=H.split(`
|
|
138
|
+
`).map(K=>K.slice(I));if(S.proseWrap==="preserve"||z.type==="blockLiteral")return X(Y.map(K=>K.length===0?[]:[K]));return X(Y.map(K=>K.length===0?[]:ee(K)).reduce((K,ce,we)=>we!==0&&Y[we-1].length>0&&ce.length>0&&!/^\s/.test(ce[0])&&!/^\s|\s$/.test(h(K))?[...K.slice(0,-1),[...h(K),...ce]]:[...K,ce],[]).map(K=>K.reduce((ce,we)=>ce.length>0&&/\s$/.test(h(ce))?[...ce.slice(0,-1),h(ce)+" "+we]:[...ce,we],[])).map(K=>S.proseWrap==="never"?[K.join(" ")]:K));function X(K){if(z.chomping==="keep")return h(K).length===0?K.slice(0,-1):K;let ce=0;for(let we=K.length-1;we>=0&&K[we].length===0;we--)ce++;return ce===0?K:ce>=2&&!W?K.slice(0,-(ce-1)):K.slice(0,-ce)}}function se(z){if(!z)return!0;switch(z.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}A.exports={getLast:h,getAncestorCount:x,isNode:p,isEmptyNode:T,isInlineNode:se,mapNode:d,defineShortcut:D,isNextLineEmpty:w,isLastDescendantNode:k,getBlockValueLineContents:ie,getFlowScalarLineContents:oe,getLastDescendantNode:R,hasPrettierIgnore:M,hasLeadingComments:j,hasMiddleComments:re,hasIndicatorComment:ne,hasTrailingComment:$,hasEndComments:J}}}),zl=Oe({"src/language-yaml/print-preprocess.js"(m,A){b();var{defineShortcut:h,mapNode:C}=Ti();function x(d){return C(d,p)}function p(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}A.exports=x}}),ba=Oe({"src/language-yaml/print/misc.js"(m,A){b();var{builders:{softline:h,align:C}}=bn(),{hasEndComments:x,isNextLineEmpty:p,isNode:d}=Ti(),D=new WeakMap;function w(P,M){let T=P.getValue(),N=P.stack[0],j;return D.has(N)?j=D.get(N):(j=new Set,D.set(N,j)),!j.has(T.position.end.line)&&(j.add(T.position.end.line),p(T,M)&&!k(P.getParentNode()))?h:""}function k(P){return x(P)&&!d(P,["documentHead","documentBody","flowMapping","flowSequence"])}function R(P,M){return C(" ".repeat(P),M)}A.exports={alignWithSpaces:R,shouldPrintEndComments:k,printNextEmptyLine:w}}}),zp=Oe({"src/language-yaml/print/flow-mapping-sequence.js"(m,A){b();var{builders:{ifBreak:h,line:C,softline:x,hardline:p,join:d}}=bn(),{isEmptyNode:D,getLast:w,hasEndComments:k}=Ti(),{printNextEmptyLine:R,alignWithSpaces:P}=ba();function M(N,j,re){let ne=N.getValue(),$=ne.type==="flowMapping",J=$?"{":"[",ee=$?"}":"]",oe=x;$&&ne.children.length>0&&re.bracketSpacing&&(oe=C);let ie=w(ne.children),se=ie&&ie.type==="flowMappingItem"&&D(ie.key)&&D(ie.value);return[J,P(re.tabWidth,[oe,T(N,j,re),re.trailingComma==="none"?"":h(","),k(ne)?[p,d(p,N.map(j,"endComments"))]:""]),se?"":oe,ee]}function T(N,j,re){let ne=N.getValue();return N.map(($,J)=>[j(),J===ne.children.length-1?"":[",",C,ne.children[J].position.start.line!==ne.children[J+1].position.start.line?R($,re.originalText):""]],"children")}A.exports={printFlowMapping:M,printFlowSequence:M}}}),Xs=Oe({"src/language-yaml/print/mapping-item.js"(m,A){b();var{builders:{conditionalGroup:h,group:C,hardline:x,ifBreak:p,join:d,line:D}}=bn(),{hasLeadingComments:w,hasMiddleComments:k,hasTrailingComment:R,hasEndComments:P,isNode:M,isEmptyNode:T,isInlineNode:N}=Ti(),{alignWithSpaces:j}=ba();function re(ee,oe,ie,se,z){let{key:B,value:O}=ee,W=T(B),S=T(O);if(W&&S)return": ";let H=se("key"),I=$(ee)?" ":"";if(S)return ee.type==="flowMappingItem"&&oe.type==="flowMapping"?H:ee.type==="mappingItem"&&ne(B.content,z)&&!R(B.content)&&(!oe.tag||oe.tag.value!=="tag:yaml.org,2002:set")?[H,I,":"]:["? ",j(2,H)];let Y=se("value");if(W)return[": ",j(2,Y)];if(w(O)||!N(B.content))return["? ",j(2,H),x,d("",ie.map(se,"value","leadingComments").map(Be=>[Be,x])),": ",j(2,Y)];if(J(B.content)&&!w(B.content)&&!k(B.content)&&!R(B.content)&&!P(B)&&!w(O.content)&&!k(O.content)&&!P(O)&&ne(O.content,z))return[H,I,": ",Y];let X=Symbol("mappingKey"),K=C([p("? "),C(j(2,H),{id:X})]),ce=[x,": ",j(2,Y)],we=[I,":"];w(O.content)||P(O)&&O.content&&!M(O.content,["mapping","sequence"])||oe.type==="mapping"&&R(B.content)&&N(O.content)||M(O.content,["mapping","sequence"])&&O.content.tag===null&&O.content.anchor===null?we.push(x):O.content&&we.push(D),we.push(Y);let ye=j(z.tabWidth,we);return ne(B.content,z)&&!w(B.content)&&!k(B.content)&&!P(B)?h([[H,ye]]):h([[K,p(ce,ye,{groupId:X})]])}function ne(ee,oe){if(!ee)return!0;switch(ee.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(oe.proseWrap==="preserve")return ee.position.start.line===ee.position.end.line;if(/\\$/m.test(oe.originalText.slice(ee.position.start.offset,ee.position.end.offset)))return!1;switch(oe.proseWrap){case"never":return!ee.value.includes(`
|
|
139
|
+
`);case"always":return!/[\n ]/.test(ee.value);default:return!1}}function $(ee){return ee.key.content&&ee.key.content.type==="alias"}function J(ee){if(!ee)return!0;switch(ee.type){case"plain":case"quoteDouble":case"quoteSingle":return ee.position.start.line===ee.position.end.line;case"alias":return!0;default:return!1}}A.exports=re}}),ll=Oe({"src/language-yaml/print/block.js"(m,A){b();var{builders:{dedent:h,dedentToRoot:C,fill:x,hardline:p,join:d,line:D,literalline:w,markAsRoot:k},utils:{getDocParts:R}}=bn(),{getAncestorCount:P,getBlockValueLineContents:M,hasIndicatorComment:T,isLastDescendantNode:N,isNode:j}=Ti(),{alignWithSpaces:re}=ba();function ne($,J,ee){let oe=$.getValue(),ie=P($,W=>j(W,["sequence","mapping"])),se=N($),z=[oe.type==="blockFolded"?">":"|"];oe.indent!==null&&z.push(oe.indent.toString()),oe.chomping!=="clip"&&z.push(oe.chomping==="keep"?"+":"-"),T(oe)&&z.push(" ",J("indicatorComment"));let B=M(oe,{parentIndent:ie,isLastDescendant:se,options:ee}),O=[];for(let[W,S]of B.entries())W===0&&O.push(p),O.push(x(R(d(D,S)))),W!==B.length-1?O.push(S.length===0?p:k(w)):oe.chomping==="keep"&&se&&O.push(C(S.length===0?p:w));return oe.indent===null?z.push(h(re(ee.tabWidth,O))):z.push(C(re(oe.indent-1+ie,O))),z}A.exports=ne}}),Hl=Oe({"src/language-yaml/printer-yaml.js"(m,A){b();var{builders:{breakParent:h,fill:C,group:x,hardline:p,join:d,line:D,lineSuffix:w,literalline:k},utils:{getDocParts:R,replaceTextEndOfLine:P}}=bn(),{isPreviousLineEmpty:M}=jn(),{insertPragma:T,isPragma:N}=eo(),{locStart:j}=Li(),re=wi(),{getFlowScalarLineContents:ne,getLastDescendantNode:$,hasLeadingComments:J,hasMiddleComments:ee,hasTrailingComment:oe,hasEndComments:ie,hasPrettierIgnore:se,isLastDescendantNode:z,isNode:B,isInlineNode:O}=Ti(),W=zl(),{alignWithSpaces:S,printNextEmptyLine:H,shouldPrintEndComments:I}=ba(),{printFlowMapping:Y,printFlowSequence:X}=zp(),K=Xs(),ce=ll();function we(Te,Ge,Qe){let Xe=Te.getValue(),At=[];Xe.type!=="mappingValue"&&J(Xe)&&At.push([d(p,Te.map(Qe,"leadingComments")),p]);let{tag:Fe,anchor:Me}=Xe;Fe&&At.push(Qe("tag")),Fe&&Me&&At.push(" "),Me&&At.push(Qe("anchor"));let Dt="";B(Xe,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!z(Te)&&(Dt=H(Te,Ge.originalText)),(Fe||Me)&&(B(Xe,["sequence","mapping"])&&!ee(Xe)?At.push(p):At.push(" ")),ee(Xe)&&At.push([Xe.middleComments.length===1?"":p,d(p,Te.map(Qe,"middleComments")),p]);let Nt=Te.getParentNode();return se(Te)?At.push(P(Ge.originalText.slice(Xe.position.start.offset,Xe.position.end.offset).trimEnd(),k)):At.push(x(ye(Xe,Nt,Te,Ge,Qe))),oe(Xe)&&!B(Xe,["document","documentHead"])&&At.push(w([Xe.type==="mappingValue"&&!Xe.content?"":" ",Nt.type==="mappingKey"&&Te.getParentNode(2).type==="mapping"&&O(Xe)?"":h,Qe("trailingComment")])),I(Xe)&&At.push(S(Xe.type==="sequenceItem"?2:0,[p,d(p,Te.map(mt=>[M(Ge.originalText,mt.getValue(),j)?p:"",Qe()],"endComments"))])),At.push(Dt),At}function ye(Te,Ge,Qe,Xe,At){switch(Te.type){case"root":{let{children:Fe}=Te,Me=[];Qe.each((Nt,mt)=>{let Ie=Fe[mt],Re=Fe[mt+1];mt!==0&&Me.push(p),Me.push(At()),ke(Ie,Re)?(Me.push(p,"..."),oe(Ie)&&Me.push(" ",At("trailingComment"))):Re&&!oe(Re.head)&&Me.push(p,"---")},"children");let Dt=$(Te);return(!B(Dt,["blockLiteral","blockFolded"])||Dt.chomping!=="keep")&&Me.push(p),Me}case"document":{let Fe=Ge.children[Qe.getName()+1],Me=[];return Ee(Te,Fe,Ge,Xe)==="head"&&((Te.head.children.length>0||Te.head.endComments.length>0)&&Me.push(At("head")),oe(Te.head)?Me.push(["---"," ",At(["head","trailingComment"])]):Me.push("---")),Be(Te)&&Me.push(At("body")),d(p,Me)}case"documentHead":return d(p,[...Qe.map(At,"children"),...Qe.map(At,"endComments")]);case"documentBody":{let{children:Fe,endComments:Me}=Te,Dt="";if(Fe.length>0&&Me.length>0){let Nt=$(Te);B(Nt,["blockFolded","blockLiteral"])?Nt.chomping!=="keep"&&(Dt=[p,p]):Dt=p}return[d(p,Qe.map(At,"children")),Dt,d(p,Qe.map(At,"endComments"))]}case"directive":return["%",d(" ",[Te.name,...Te.parameters])];case"comment":return["#",Te.value];case"alias":return["*",Te.value];case"tag":return Xe.originalText.slice(Te.position.start.offset,Te.position.end.offset);case"anchor":return["&",Te.value];case"plain":return qe(Te.type,Xe.originalText.slice(Te.position.start.offset,Te.position.end.offset),Xe);case"quoteDouble":case"quoteSingle":{let Fe="'",Me='"',Dt=Xe.originalText.slice(Te.position.start.offset+1,Te.position.end.offset-1);if(Te.type==="quoteSingle"&&Dt.includes("\\")||Te.type==="quoteDouble"&&/\\[^"]/.test(Dt)){let mt=Te.type==="quoteDouble"?Me:Fe;return[mt,qe(Te.type,Dt,Xe),mt]}if(Dt.includes(Me))return[Fe,qe(Te.type,Te.type==="quoteDouble"?Dt.replace(/\\"/g,Me).replace(/'/g,Fe.repeat(2)):Dt,Xe),Fe];if(Dt.includes(Fe))return[Me,qe(Te.type,Te.type==="quoteSingle"?Dt.replace(/''/g,Fe):Dt,Xe),Me];let Nt=Xe.singleQuote?Fe:Me;return[Nt,qe(Te.type,Dt,Xe),Nt]}case"blockFolded":case"blockLiteral":return ce(Qe,At,Xe);case"mapping":case"sequence":return d(p,Qe.map(At,"children"));case"sequenceItem":return["- ",S(2,Te.content?At("content"):"")];case"mappingKey":case"mappingValue":return Te.content?At("content"):"";case"mappingItem":case"flowMappingItem":return K(Te,Ge,Qe,At,Xe);case"flowMapping":return Y(Qe,At,Xe);case"flowSequence":return X(Qe,At,Xe);case"flowSequenceItem":return At("content");default:throw new Error("Unexpected node type ".concat(Te.type))}}function Be(Te){return Te.body.children.length>0||ie(Te.body)}function ke(Te,Ge){return oe(Te)||Ge&&(Ge.head.children.length>0||ie(Ge.head))}function Ee(Te,Ge,Qe,Xe){return Qe.children[0]===Te&&/---(?:\s|$)/.test(Xe.originalText.slice(j(Te),j(Te)+4))||Te.head.children.length>0||ie(Te.head)||oe(Te.head)?"head":ke(Te,Ge)?!1:Ge?"root":!1}function qe(Te,Ge,Qe){let Xe=ne(Te,Ge,Qe);return d(p,Xe.map(At=>C(R(d(D,At)))))}function Se(Te,Ge){if(B(Ge))switch(delete Ge.position,Ge.type){case"comment":if(N(Ge.value))return null;break;case"quoteDouble":case"quoteSingle":Ge.type="quote";break}}A.exports={preprocess:W,embed:re,print:we,massageAstNode:Se,insertPragma:T}}}),cl=Oe({"src/language-yaml/options.js"(m,A){b();var h=zo();A.exports={bracketSpacing:h.bracketSpacing,singleQuote:h.singleQuote,proseWrap:h.proseWrap}}}),ks=Oe({"src/language-yaml/parsers.js"(){b()}}),Hp=Oe({"node_modules/linguist-languages/data/YAML.json"(m,A){A.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),Wp=Oe({"src/language-yaml/index.js"(m,A){b();var h=Io(),C=Hl(),x=cl(),p=ks(),d=[h(Hp(),D=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...D.filenames.filter(w=>w!=="yarn.lock"),".prettierrc",".stylelintrc"]}))];A.exports={languages:d,printers:{yaml:C},options:x,parsers:p}}}),su=Oe({"src/languages.js"(m,A){b(),A.exports=[So(),G(),E(),Ne(),un(),ki(),Wp()]}});b();var{version:Qc}=Pe(),xa=Cs(),{getSupportInfo:Yc}=fo(),Wl=Es(),au=su(),Sc=bn();function Ts(m){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var h=arguments.length,C=new Array(h),x=0;x<h;x++)C[x]=arguments[x];let p=C[A]||{},d=p.plugins||[];return C[A]=Object.assign(Object.assign({},p),{},{plugins:[...au,...Array.isArray(d)?d:Object.values(d)]}),m(...C)}}var pl=Ts(xa.formatWithCursor);ft.exports={formatWithCursor:pl,format(m,A){return pl(m,A).formatted},check(m,A){let{formatted:h}=pl(m,A);return h===m},doc:Sc,getSupportInfo:Ts(Yc,0),version:Qc,util:Wl,__debug:{parse:Ts(xa.parse),formatAST:Ts(xa.formatAST),formatDoc:Ts(xa.formatDoc),printToDoc:Ts(xa.printToDoc),printDocToString:Ts(xa.printDocToString)}}});return pi()})})(yg);var Lv=lg(yg.exports),vg={exports:{}};(function(r,s){(function(a){r.exports=a()})(function(){var a=(Mr,Ht)=>()=>(Ht||Mr((Ht={exports:{}}).exports,Ht),Ht.exports),l=a((Mr,Ht)=>{var $t=function(ht){return ht&&ht.Math==Math&&ht};Ht.exports=$t(typeof globalThis=="object"&&globalThis)||$t(typeof window=="object"&&window)||$t(typeof self=="object"&&self)||$t(typeof Jc=="object"&&Jc)||function(){return this}()||Function("return this")()}),f=a((Mr,Ht)=>{Ht.exports=function($t){try{return!!$t()}catch{return!0}}}),F=a((Mr,Ht)=>{var $t=f();Ht.exports=!$t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),V=a((Mr,Ht)=>{var $t=f();Ht.exports=!$t(function(){var ht=function(){}.bind();return typeof ht!="function"||ht.hasOwnProperty("prototype")})}),ae=a((Mr,Ht)=>{var $t=V(),ht=Function.prototype.call;Ht.exports=$t?ht.bind(ht):function(){return ht.apply(ht,arguments)}}),ue=a(Mr=>{var Ht={}.propertyIsEnumerable,$t=Object.getOwnPropertyDescriptor,ht=$t&&!Ht.call({1:2},1);Mr.f=ht?function(Zt){var Tt=$t(this,Zt);return!!Tt&&Tt.enumerable}:Ht}),Ae=a((Mr,Ht)=>{Ht.exports=function($t,ht){return{enumerable:!($t&1),configurable:!($t&2),writable:!($t&4),value:ht}}}),_e=a((Mr,Ht)=>{var $t=V(),ht=Function.prototype,Zt=ht.bind,Tt=ht.call,yr=$t&&Zt.bind(Tt,Tt);Ht.exports=$t?function(at){return at&&yr(at)}:function(at){return at&&function(){return Tt.apply(at,arguments)}}}),ze=a((Mr,Ht)=>{var $t=_e(),ht=$t({}.toString),Zt=$t("".slice);Ht.exports=function(Tt){return Zt(ht(Tt),8,-1)}}),Je=a((Mr,Ht)=>{var $t=l(),ht=_e(),Zt=f(),Tt=ze(),yr=$t.Object,at=ht("".split);Ht.exports=Zt(function(){return!yr("z").propertyIsEnumerable(0)})?function($r){return Tt($r)=="String"?at($r,""):yr($r)}:yr}),rt=a((Mr,Ht)=>{var $t=l(),ht=$t.TypeError;Ht.exports=function(Zt){if(Zt==null)throw ht("Can't call method on "+Zt);return Zt}}),bt=a((Mr,Ht)=>{var $t=Je(),ht=rt();Ht.exports=function(Zt){return $t(ht(Zt))}}),Qt=a((Mr,Ht)=>{Ht.exports=function($t){return typeof $t=="function"}}),nr=a((Mr,Ht)=>{var $t=Qt();Ht.exports=function(ht){return typeof ht=="object"?ht!==null:$t(ht)}}),et=a((Mr,Ht)=>{var $t=l(),ht=Qt(),Zt=function(Tt){return ht(Tt)?Tt:void 0};Ht.exports=function(Tt,yr){return arguments.length<2?Zt($t[Tt]):$t[Tt]&&$t[Tt][yr]}}),pt=a((Mr,Ht)=>{var $t=_e();Ht.exports=$t({}.isPrototypeOf)}),dt=a((Mr,Ht)=>{var $t=et();Ht.exports=$t("navigator","userAgent")||""}),Wt=a((Mr,Ht)=>{var $t=l(),ht=dt(),Zt=$t.process,Tt=$t.Deno,yr=Zt&&Zt.versions||Tt&&Tt.version,at=yr&&yr.v8,$r,Jr;at&&($r=at.split("."),Jr=$r[0]>0&&$r[0]<4?1:+($r[0]+$r[1])),!Jr&&ht&&($r=ht.match(/Edge\/(\d+)/),(!$r||$r[1]>=74)&&($r=ht.match(/Chrome\/(\d+)/),$r&&(Jr=+$r[1]))),Ht.exports=Jr}),pr=a((Mr,Ht)=>{var $t=Wt(),ht=f();Ht.exports=!!Object.getOwnPropertySymbols&&!ht(function(){var Zt=Symbol();return!String(Zt)||!(Object(Zt)instanceof Symbol)||!Symbol.sham&&$t&&$t<41})}),kr=a((Mr,Ht)=>{var $t=pr();Ht.exports=$t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Rr=a((Mr,Ht)=>{var $t=l(),ht=et(),Zt=Qt(),Tt=pt(),yr=kr(),at=$t.Object;Ht.exports=yr?function($r){return typeof $r=="symbol"}:function($r){var Jr=ht("Symbol");return Zt(Jr)&&Tt(Jr.prototype,at($r))}}),Sn=a((Mr,Ht)=>{var $t=l(),ht=$t.String;Ht.exports=function(Zt){try{return ht(Zt)}catch{return"Object"}}}),Dn=a((Mr,Ht)=>{var $t=l(),ht=Qt(),Zt=Sn(),Tt=$t.TypeError;Ht.exports=function(yr){if(ht(yr))return yr;throw Tt(Zt(yr)+" is not a function")}}),Ir=a((Mr,Ht)=>{var $t=Dn();Ht.exports=function(ht,Zt){var Tt=ht[Zt];return Tt==null?void 0:$t(Tt)}}),Nr=a((Mr,Ht)=>{var $t=l(),ht=ae(),Zt=Qt(),Tt=nr(),yr=$t.TypeError;Ht.exports=function(at,$r){var Jr,En;if($r==="string"&&Zt(Jr=at.toString)&&!Tt(En=ht(Jr,at))||Zt(Jr=at.valueOf)&&!Tt(En=ht(Jr,at))||$r!=="string"&&Zt(Jr=at.toString)&&!Tt(En=ht(Jr,at)))return En;throw yr("Can't convert object to primitive value")}}),gn=a((Mr,Ht)=>{Ht.exports=!1}),zt=a((Mr,Ht)=>{var $t=l(),ht=Object.defineProperty;Ht.exports=function(Zt,Tt){try{ht($t,Zt,{value:Tt,configurable:!0,writable:!0})}catch{$t[Zt]=Tt}return Tt}}),Cr=a((Mr,Ht)=>{var $t=l(),ht=zt(),Zt="__core-js_shared__",Tt=$t[Zt]||ht(Zt,{});Ht.exports=Tt}),de=a((Mr,Ht)=>{var $t=gn(),ht=Cr();(Ht.exports=function(Zt,Tt){return ht[Zt]||(ht[Zt]=Tt!==void 0?Tt:{})})("versions",[]).push({version:"3.22.2",mode:$t?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),lr=a((Mr,Ht)=>{var $t=l(),ht=rt(),Zt=$t.Object;Ht.exports=function(Tt){return Zt(ht(Tt))}}),Ut=a((Mr,Ht)=>{var $t=_e(),ht=lr(),Zt=$t({}.hasOwnProperty);Ht.exports=Object.hasOwn||function(Tt,yr){return Zt(ht(Tt),yr)}}),Ar=a((Mr,Ht)=>{var $t=_e(),ht=0,Zt=Math.random(),Tt=$t(1 .toString);Ht.exports=function(yr){return"Symbol("+(yr===void 0?"":yr)+")_"+Tt(++ht+Zt,36)}}),tn=a((Mr,Ht)=>{var $t=l(),ht=de(),Zt=Ut(),Tt=Ar(),yr=pr(),at=kr(),$r=ht("wks"),Jr=$t.Symbol,En=Jr&&Jr.for,vt=at?Jr:Jr&&Jr.withoutSetter||Tt;Ht.exports=function(cn){if(!Zt($r,cn)||!(yr||typeof $r[cn]=="string")){var Fn="Symbol."+cn;yr&&Zt(Jr,cn)?$r[cn]=Jr[cn]:at&&En?$r[cn]=En(Fn):$r[cn]=vt(Fn)}return $r[cn]}}),Vn=a((Mr,Ht)=>{var $t=l(),ht=ae(),Zt=nr(),Tt=Rr(),yr=Ir(),at=Nr(),$r=tn(),Jr=$t.TypeError,En=$r("toPrimitive");Ht.exports=function(vt,cn){if(!Zt(vt)||Tt(vt))return vt;var Fn=yr(vt,En),Ln;if(Fn){if(cn===void 0&&(cn="default"),Ln=ht(Fn,vt,cn),!Zt(Ln)||Tt(Ln))return Ln;throw Jr("Can't convert object to primitive value")}return cn===void 0&&(cn="number"),at(vt,cn)}}),ai=a((Mr,Ht)=>{var $t=Vn(),ht=Rr();Ht.exports=function(Zt){var Tt=$t(Zt,"string");return ht(Tt)?Tt:Tt+""}}),ui=a((Mr,Ht)=>{var $t=l(),ht=nr(),Zt=$t.document,Tt=ht(Zt)&&ht(Zt.createElement);Ht.exports=function(yr){return Tt?Zt.createElement(yr):{}}}),On=a((Mr,Ht)=>{var $t=F(),ht=f(),Zt=ui();Ht.exports=!$t&&!ht(function(){return Object.defineProperty(Zt("div"),"a",{get:function(){return 7}}).a!=7})}),li=a(Mr=>{var Ht=F(),$t=ae(),ht=ue(),Zt=Ae(),Tt=bt(),yr=ai(),at=Ut(),$r=On(),Jr=Object.getOwnPropertyDescriptor;Mr.f=Ht?Jr:function(En,vt){if(En=Tt(En),vt=yr(vt),$r)try{return Jr(En,vt)}catch{}if(at(En,vt))return Zt(!$t(ht.f,En,vt),En[vt])}}),Gt=a((Mr,Ht)=>{var $t=F(),ht=f();Ht.exports=$t&&ht(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),ar=a((Mr,Ht)=>{var $t=l(),ht=nr(),Zt=$t.String,Tt=$t.TypeError;Ht.exports=function(yr){if(ht(yr))return yr;throw Tt(Zt(yr)+" is not an object")}}),Pt=a(Mr=>{var Ht=l(),$t=F(),ht=On(),Zt=Gt(),Tt=ar(),yr=ai(),at=Ht.TypeError,$r=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,En="enumerable",vt="configurable",cn="writable";Mr.f=$t?Zt?function(Fn,Ln,_n){if(Tt(Fn),Ln=yr(Ln),Tt(_n),typeof Fn=="function"&&Ln==="prototype"&&"value"in _n&&cn in _n&&!_n[cn]){var Qn=Jr(Fn,Ln);Qn&&Qn[cn]&&(Fn[Ln]=_n.value,_n={configurable:vt in _n?_n[vt]:Qn[vt],enumerable:En in _n?_n[En]:Qn[En],writable:!1})}return $r(Fn,Ln,_n)}:$r:function(Fn,Ln,_n){if(Tt(Fn),Ln=yr(Ln),Tt(_n),ht)try{return $r(Fn,Ln,_n)}catch{}if("get"in _n||"set"in _n)throw at("Accessors not supported");return"value"in _n&&(Fn[Ln]=_n.value),Fn}}),Dr=a((Mr,Ht)=>{var $t=F(),ht=Pt(),Zt=Ae();Ht.exports=$t?function(Tt,yr,at){return ht.f(Tt,yr,Zt(1,at))}:function(Tt,yr,at){return Tt[yr]=at,Tt}}),rn=a((Mr,Ht)=>{var $t=_e(),ht=Qt(),Zt=Cr(),Tt=$t(Function.toString);ht(Zt.inspectSource)||(Zt.inspectSource=function(yr){return Tt(yr)}),Ht.exports=Zt.inspectSource}),Hr=a((Mr,Ht)=>{var $t=l(),ht=Qt(),Zt=rn(),Tt=$t.WeakMap;Ht.exports=ht(Tt)&&/native code/.test(Zt(Tt))}),Or=a((Mr,Ht)=>{var $t=de(),ht=Ar(),Zt=$t("keys");Ht.exports=function(Tt){return Zt[Tt]||(Zt[Tt]=ht(Tt))}}),Zr=a((Mr,Ht)=>{Ht.exports={}}),Ue=a((Mr,Ht)=>{var $t=Hr(),ht=l(),Zt=_e(),Tt=nr(),yr=Dr(),at=Ut(),$r=Cr(),Jr=Or(),En=Zr(),vt="Object already initialized",cn=ht.TypeError,Fn=ht.WeakMap,Ln,_n,Qn,pi=function(Xt){return Qn(Xt)?_n(Xt):Ln(Xt,{})},fr=function(Xt){return function(sr){var hr;if(!Tt(sr)||(hr=_n(sr)).type!==Xt)throw cn("Incompatible receiver, "+Xt+" required");return hr}};$t||$r.state?(ft=$r.state||($r.state=new Fn),ot=Zt(ft.get),xt=Zt(ft.has),Ot=Zt(ft.set),Ln=function(Xt,sr){if(xt(ft,Xt))throw new cn(vt);return sr.facade=Xt,Ot(ft,Xt,sr),sr},_n=function(Xt){return ot(ft,Xt)||{}},Qn=function(Xt){return xt(ft,Xt)}):(Bt=Jr("state"),En[Bt]=!0,Ln=function(Xt,sr){if(at(Xt,Bt))throw new cn(vt);return sr.facade=Xt,yr(Xt,Bt,sr),sr},_n=function(Xt){return at(Xt,Bt)?Xt[Bt]:{}},Qn=function(Xt){return at(Xt,Bt)});var ft,ot,xt,Ot,Bt;Ht.exports={set:Ln,get:_n,has:Qn,enforce:pi,getterFor:fr}}),nt=a((Mr,Ht)=>{var $t=F(),ht=Ut(),Zt=Function.prototype,Tt=$t&&Object.getOwnPropertyDescriptor,yr=ht(Zt,"name"),at=yr&&function(){}.name==="something",$r=yr&&(!$t||$t&&Tt(Zt,"name").configurable);Ht.exports={EXISTS:yr,PROPER:at,CONFIGURABLE:$r}}),It=a((Mr,Ht)=>{var $t=l(),ht=Qt(),Zt=Ut(),Tt=Dr(),yr=zt(),at=rn(),$r=Ue(),Jr=nt().CONFIGURABLE,En=$r.get,vt=$r.enforce,cn=String(String).split("String");(Ht.exports=function(Fn,Ln,_n,Qn){var pi=Qn?!!Qn.unsafe:!1,fr=Qn?!!Qn.enumerable:!1,ft=Qn?!!Qn.noTargetGet:!1,ot=Qn&&Qn.name!==void 0?Qn.name:Ln,xt;if(ht(_n)&&(String(ot).slice(0,7)==="Symbol("&&(ot="["+String(ot).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Zt(_n,"name")||Jr&&_n.name!==ot)&&Tt(_n,"name",ot),xt=vt(_n),xt.source||(xt.source=cn.join(typeof ot=="string"?ot:""))),Fn===$t){fr?Fn[Ln]=_n:yr(Ln,_n);return}else pi?!ft&&Fn[Ln]&&(fr=!0):delete Fn[Ln];fr?Fn[Ln]=_n:Tt(Fn,Ln,_n)})(Function.prototype,"toString",function(){return ht(this)&&En(this).source||at(this)})}),kt=a((Mr,Ht)=>{var $t=Math.ceil,ht=Math.floor;Ht.exports=function(Zt){var Tt=+Zt;return Tt!==Tt||Tt===0?0:(Tt>0?ht:$t)(Tt)}}),or=a((Mr,Ht)=>{var $t=kt(),ht=Math.max,Zt=Math.min;Ht.exports=function(Tt,yr){var at=$t(Tt);return at<0?ht(at+yr,0):Zt(at,yr)}}),gr=a((Mr,Ht)=>{var $t=kt(),ht=Math.min;Ht.exports=function(Zt){return Zt>0?ht($t(Zt),9007199254740991):0}}),Er=a((Mr,Ht)=>{var $t=gr();Ht.exports=function(ht){return $t(ht.length)}}),Sr=a((Mr,Ht)=>{var $t=bt(),ht=or(),Zt=Er(),Tt=function(yr){return function(at,$r,Jr){var En=$t(at),vt=Zt(En),cn=ht(Jr,vt),Fn;if(yr&&$r!=$r){for(;vt>cn;)if(Fn=En[cn++],Fn!=Fn)return!0}else for(;vt>cn;cn++)if((yr||cn in En)&&En[cn]===$r)return yr||cn||0;return!yr&&-1}};Ht.exports={includes:Tt(!0),indexOf:Tt(!1)}}),dr=a((Mr,Ht)=>{var $t=_e(),ht=Ut(),Zt=bt(),Tt=Sr().indexOf,yr=Zr(),at=$t([].push);Ht.exports=function($r,Jr){var En=Zt($r),vt=0,cn=[],Fn;for(Fn in En)!ht(yr,Fn)&&ht(En,Fn)&&at(cn,Fn);for(;Jr.length>vt;)ht(En,Fn=Jr[vt++])&&(~Tt(cn,Fn)||at(cn,Fn));return cn}}),We=a((Mr,Ht)=>{Ht.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Rt=a(Mr=>{var Ht=dr(),$t=We(),ht=$t.concat("length","prototype");Mr.f=Object.getOwnPropertyNames||function(Zt){return Ht(Zt,ht)}}),it=a(Mr=>{Mr.f=Object.getOwnPropertySymbols}),_r=a((Mr,Ht)=>{var $t=et(),ht=_e(),Zt=Rt(),Tt=it(),yr=ar(),at=ht([].concat);Ht.exports=$t("Reflect","ownKeys")||function($r){var Jr=Zt.f(yr($r)),En=Tt.f;return En?at(Jr,En($r)):Jr}}),ln=a((Mr,Ht)=>{var $t=Ut(),ht=_r(),Zt=li(),Tt=Pt();Ht.exports=function(yr,at,$r){for(var Jr=ht(at),En=Tt.f,vt=Zt.f,cn=0;cn<Jr.length;cn++){var Fn=Jr[cn];!$t(yr,Fn)&&!($r&&$t($r,Fn))&&En(yr,Fn,vt(at,Fn))}}}),zn=a((Mr,Ht)=>{var $t=f(),ht=Qt(),Zt=/#|\.prototype\./,Tt=function(En,vt){var cn=at[yr(En)];return cn==Jr?!0:cn==$r?!1:ht(vt)?$t(vt):!!vt},yr=Tt.normalize=function(En){return String(En).replace(Zt,".").toLowerCase()},at=Tt.data={},$r=Tt.NATIVE="N",Jr=Tt.POLYFILL="P";Ht.exports=Tt}),Jn=a((Mr,Ht)=>{var $t=l(),ht=li().f,Zt=Dr(),Tt=It(),yr=zt(),at=ln(),$r=zn();Ht.exports=function(Jr,En){var vt=Jr.target,cn=Jr.global,Fn=Jr.stat,Ln,_n,Qn,pi,fr,ft;if(cn?_n=$t:Fn?_n=$t[vt]||yr(vt,{}):_n=($t[vt]||{}).prototype,_n)for(Qn in En){if(fr=En[Qn],Jr.noTargetGet?(ft=ht(_n,Qn),pi=ft&&ft.value):pi=_n[Qn],Ln=$r(cn?Qn:vt+(Fn?".":"#")+Qn,Jr.forced),!Ln&&pi!==void 0){if(typeof fr==typeof pi)continue;at(fr,pi)}(Jr.sham||pi&&pi.sham)&&Zt(fr,"sham",!0),Tt(_n,Qn,fr,Jr)}}}),Gn=a(()=>{var Mr=Jn(),Ht=l();Mr({global:!0},{globalThis:Ht})}),kn=a(()=>{Gn()}),di=a((Mr,Ht)=>{kn();var $t=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,Zt=Object.getOwnPropertyNames,Tt=Object.prototype.hasOwnProperty,yr=(v,te)=>function(){return v&&(te=(0,v[Zt(v)[0]])(v=0)),te},at=(v,te)=>function(){return te||(0,v[Zt(v)[0]])((te={exports:{}}).exports,te),te.exports},$r=(v,te)=>{for(var G in te)$t(v,G,{get:te[G],enumerable:!0})},Jr=(v,te,G,q)=>{if(te&&typeof te=="object"||typeof te=="function")for(let Z of Zt(te))!Tt.call(v,Z)&&Z!==G&&$t(v,Z,{get:()=>te[Z],enumerable:!(q=ht(te,Z))||q.enumerable});return v},En=v=>Jr($t({},"__esModule",{value:!0}),v),vt=yr({"<define:process>"(){}}),cn=at({"src/common/parser-create-error.js"(v,te){vt();function G(q,Z){let pe=new SyntaxError(q+" ("+Z.start.line+":"+Z.start.column+")");return pe.loc=Z,pe}te.exports=G}}),Fn=at({"src/utils/get-last.js"(v,te){vt();var G=q=>q[q.length-1];te.exports=G}}),Ln=at({"src/utils/front-matter/parse.js"(v,te){vt();var G=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function q(Z){let pe=Z.match(G);if(!pe)return{content:Z};let{startDelimiter:fe,language:be,value:le="",endDelimiter:ge}=pe.groups,E=be.trim()||"yaml";if(fe==="+++"&&(E="toml"),E!=="yaml"&&fe!==ge)return{content:Z};let[g]=pe;return{frontMatter:{type:"front-matter",lang:E,value:le,startDelimiter:fe,endDelimiter:ge,raw:g.replace(/\n$/,"")},content:g.replace(/[^\n]/g," ")+Z.slice(g.length)}}te.exports=q}}),_n={};$r(_n,{EOL:()=>mn,arch:()=>Fr,cpus:()=>Ot,default:()=>Gr,endianness:()=>Qn,freemem:()=>ot,getNetworkInterfaces:()=>hr,hostname:()=>pi,loadavg:()=>fr,networkInterfaces:()=>sr,platform:()=>Lr,release:()=>Xt,tmpDir:()=>Vr,tmpdir:()=>Qr,totalmem:()=>xt,type:()=>Bt,uptime:()=>ft});function Qn(){if(typeof Kr>"u"){var v=new ArrayBuffer(2),te=new Uint8Array(v),G=new Uint16Array(v);if(te[0]=1,te[1]=2,G[0]===258)Kr="BE";else if(G[0]===513)Kr="LE";else throw new Error("unable to figure out endianess")}return Kr}function pi(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function fr(){return[]}function ft(){return 0}function ot(){return Number.MAX_VALUE}function xt(){return Number.MAX_VALUE}function Ot(){return[]}function Bt(){return"Browser"}function Xt(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function sr(){}function hr(){}function Fr(){return"javascript"}function Lr(){return"browser"}function Vr(){return"/tmp"}var Kr,Qr,mn,Gr,fn=yr({"node-modules-polyfills:os"(){vt(),Qr=Vr,mn=`
|
|
140
|
+
`,Gr={EOL:mn,tmpdir:Qr,tmpDir:Vr,networkInterfaces:sr,getNetworkInterfaces:hr,release:Xt,type:Bt,cpus:Ot,totalmem:xt,freemem:ot,uptime:ft,loadavg:fr,hostname:pi,endianness:Qn}}}),Zn=at({"node-modules-polyfills-commonjs:os"(v,te){vt();var G=(fn(),En(_n));if(G&&G.default){te.exports=G.default;for(let q in G)te.exports[q]=G[q]}else G&&(te.exports=G)}}),ii=at({"node_modules/detect-newline/index.js"(v,te){vt();var G=q=>{if(typeof q!="string")throw new TypeError("Expected a string");let Z=q.match(/(?:\r?\n)/g)||[];if(Z.length===0)return;let pe=Z.filter(be=>be===`\r
|
|
141
|
+
`).length,fe=Z.length-pe;return pe>fe?`\r
|
|
142
|
+
`:`
|
|
143
|
+
`};te.exports=G,te.exports.graceful=q=>typeof q=="string"&&G(q)||`
|
|
144
|
+
`}}),ci=at({"node_modules/jest-docblock/build/index.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0}),v.extract=U,v.parse=me,v.parseWithComments=je,v.print=Ne,v.strip=xe;function te(){let Ke=Zn();return te=function(){return Ke},Ke}function G(){let Ke=q(ii());return G=function(){return Ke},Ke}function q(Ke){return Ke&&Ke.__esModule?Ke:{default:Ke}}var Z=/\*\/$/,pe=/^\/\*\*/,fe=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,be=/(^|\s+)\/\/([^\r\n]*)/g,le=/^(\r?\n)+/,ge=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,E=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,g=/(\r?\n|^) *\* ?/g,Q=[];function U(Ke){let Ye=Ke.match(fe);return Ye?Ye[0].trimLeft():""}function xe(Ke){let Ye=Ke.match(fe);return Ye&&Ye[0]?Ke.substring(Ye[0].length):Ke}function me(Ke){return je(Ke).pragmas}function je(Ke){let Ye=(0,G().default)(Ke)||te().EOL;Ke=Ke.replace(pe,"").replace(Z,"").replace(g,"$1");let ct="";for(;ct!==Ke;)ct=Ke,Ke=Ke.replace(ge,"".concat(Ye,"$1 $2").concat(Ye));Ke=Ke.replace(le,"").trimRight();let cr=Object.create(null),Br=Ke.replace(E,"").replace(le,"").trimRight(),jr;for(;jr=E.exec(Ke);){let an=jr[2].replace(be,"");typeof cr[jr[1]]=="string"||Array.isArray(cr[jr[1]])?cr[jr[1]]=Q.concat(cr[jr[1]],an):cr[jr[1]]=an}return{comments:Br,pragmas:cr}}function Ne(Ke){let{comments:Ye="",pragmas:ct={}}=Ke,cr=(0,G().default)(Ye)||te().EOL,Br="/**",jr=" *",an=" */",sn=Object.keys(ct),xn=sn.map(un=>Ce(un,ct[un])).reduce((un,mr)=>un.concat(mr),[]).map(un=>jr+" "+un+cr).join("");if(!Ye){if(sn.length===0)return"";if(sn.length===1&&!Array.isArray(ct[sn[0]])){let un=ct[sn[0]];return"".concat(Br," ").concat(Ce(sn[0],un)[0]).concat(an)}}let en=Ye.split(cr).map(un=>"".concat(jr," ").concat(un)).join(cr)+cr;return Br+cr+(Ye?en:"")+(Ye&&sn.length?jr+cr:"")+xn+an}function Ce(Ke,Ye){return Q.concat(Ye).map(ct=>"@".concat(Ke," ").concat(ct).trim())}}}),Tn=at({"src/common/end-of-line.js"(v,te){vt();function G(fe){let be=fe.indexOf("\r");return be>=0?fe.charAt(be+1)===`
|
|
145
|
+
`?"crlf":"cr":"lf"}function q(fe){switch(fe){case"cr":return"\r";case"crlf":return`\r
|
|
146
|
+
`;default:return`
|
|
147
|
+
`}}function Z(fe,be){let le;switch(be){case`
|
|
148
|
+
`:le=/\n/g;break;case"\r":le=/\r/g;break;case`\r
|
|
149
|
+
`:le=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(be),"."))}let ge=fe.match(le);return ge?ge.length:0}function pe(fe){return fe.replace(/\r\n?/g,`
|
|
150
|
+
`)}te.exports={guessEndOfLine:G,convertEndOfLineToChars:q,countEndOfLineChars:Z,normalizeEndOfLine:pe}}}),Oe=at({"src/language-js/utils/get-shebang.js"(v,te){vt();function G(q){if(!q.startsWith("#!"))return"";let Z=q.indexOf(`
|
|
151
|
+
`);return Z===-1?q:q.slice(0,Z)}te.exports=G}}),_i=at({"src/language-js/pragma.js"(v,te){vt();var{parseWithComments:G,strip:q,extract:Z,print:pe}=ci(),{normalizeEndOfLine:fe}=Tn(),be=Oe();function le(g){let Q=be(g);Q&&(g=g.slice(Q.length+1));let U=Z(g),{pragmas:xe,comments:me}=G(U);return{shebang:Q,text:g,pragmas:xe,comments:me}}function ge(g){let Q=Object.keys(le(g).pragmas);return Q.includes("prettier")||Q.includes("format")}function E(g){let{shebang:Q,text:U,pragmas:xe,comments:me}=le(g),je=q(U),Ne=pe({pragmas:Object.assign({format:""},xe),comments:me.trimStart()});return(Q?"".concat(Q,`
|
|
152
|
+
`):"")+fe(Ne)+(je.startsWith(`
|
|
153
|
+
`)?`
|
|
154
|
+
`:`
|
|
155
|
+
|
|
156
|
+
`)+je}te.exports={hasPragma:ge,insertPragma:E}}}),Si=at({"src/language-css/pragma.js"(v,te){vt();var G=_i(),q=Ln();function Z(fe){return G.hasPragma(q(fe).content)}function pe(fe){let{frontMatter:be,content:le}=q(fe);return(be?be.raw+`
|
|
157
|
+
|
|
158
|
+
`:"")+G.insertPragma(le)}te.exports={hasPragma:Z,insertPragma:pe}}}),In=at({"src/utils/text/skip.js"(v,te){vt();function G(be){return(le,ge,E)=>{let g=E&&E.backwards;if(ge===!1)return!1;let{length:Q}=le,U=ge;for(;U>=0&&U<Q;){let xe=le.charAt(U);if(be instanceof RegExp){if(!be.test(xe))return U}else if(!be.includes(xe))return U;g?U--:U++}return U===-1||U===Q?U:!1}}var q=G(/\s/),Z=G(" "),pe=G(",; "),fe=G(/[^\n\r]/);te.exports={skipWhitespace:q,skipSpaces:Z,skipToLineEnd:pe,skipEverythingButNewLine:fe}}}),yn=at({"src/utils/line-column-to-index.js"(v,te){vt(),te.exports=function(G,q){let Z=0;for(let pe=0;pe<G.line-1;++pe)Z=q.indexOf(`
|
|
159
|
+
`,Z)+1;return Z+G.column}}}),Pi=at({"src/language-css/loc.js"(v,te){vt();var{skipEverythingButNewLine:G}=In(),q=Fn(),Z=yn();function pe(U,xe){return typeof U.sourceIndex=="number"?U.sourceIndex:U.source?Z(U.source.start,xe)-1:null}function fe(U,xe){if(U.type==="css-comment"&&U.inline)return G(xe,U.source.startOffset);let me=U.nodes&&q(U.nodes);return me&&U.source&&!U.source.end&&(U=me),U.source&&U.source.end?Z(U.source.end,xe):null}function be(U,xe){U.source&&(U.source.startOffset=pe(U,xe),U.source.endOffset=fe(U,xe));for(let me in U){let je=U[me];me==="source"||!je||typeof je!="object"||(je.type==="value-root"||je.type==="value-unknown"?le(je,ge(U),je.text||je.value):be(je,xe))}}function le(U,xe,me){U.source&&(U.source.startOffset=pe(U,me)+xe,U.source.endOffset=fe(U,me)+xe);for(let je in U){let Ne=U[je];je==="source"||!Ne||typeof Ne!="object"||le(Ne,xe,me)}}function ge(U){let xe=U.source.startOffset;return typeof U.prop=="string"&&(xe+=U.prop.length),U.type==="css-atrule"&&typeof U.name=="string"&&(xe+=1+U.name.length+U.raws.afterName.match(/^\s*:?\s*/)[0].length),U.type!=="css-atrule"&&U.raws&&typeof U.raws.between=="string"&&(xe+=U.raws.between.length),xe}function E(U){let xe="initial",me="initial",je,Ne=!1,Ce=[];for(let Ke=0;Ke<U.length;Ke++){let Ye=U[Ke];switch(xe){case"initial":if(Ye==="'"){xe="single-quotes";continue}if(Ye==='"'){xe="double-quotes";continue}if((Ye==="u"||Ye==="U")&&U.slice(Ke,Ke+4).toLowerCase()==="url("){xe="url",Ke+=3;continue}if(Ye==="*"&&U[Ke-1]==="/"){xe="comment-block";continue}if(Ye==="/"&&U[Ke-1]==="/"){xe="comment-inline",je=Ke-1;continue}continue;case"single-quotes":if(Ye==="'"&&U[Ke-1]!=="\\"&&(xe=me,me="initial"),Ye===`
|
|
160
|
+
`||Ye==="\r")return U;continue;case"double-quotes":if(Ye==='"'&&U[Ke-1]!=="\\"&&(xe=me,me="initial"),Ye===`
|
|
161
|
+
`||Ye==="\r")return U;continue;case"url":if(Ye===")"&&(xe="initial"),Ye===`
|
|
162
|
+
`||Ye==="\r")return U;if(Ye==="'"){xe="single-quotes",me="url";continue}if(Ye==='"'){xe="double-quotes",me="url";continue}continue;case"comment-block":Ye==="/"&&U[Ke-1]==="*"&&(xe="initial");continue;case"comment-inline":(Ye==='"'||Ye==="'"||Ye==="*")&&(Ne=!0),(Ye===`
|
|
163
|
+
`||Ye==="\r")&&(Ne&&Ce.push([je,Ke]),xe="initial",Ne=!1);continue}}for(let[Ke,Ye]of Ce)U=U.slice(0,Ke)+U.slice(Ke,Ye).replace(/["'*]/g," ")+U.slice(Ye);return U}function g(U){return U.source.startOffset}function Q(U){return U.source.endOffset}te.exports={locStart:g,locEnd:Q,calculateLoc:be,replaceQuotesInInlineComments:E}}}),yo=at({"src/utils/is-non-empty-array.js"(v,te){vt();function G(q){return Array.isArray(q)&&q.length>0}te.exports=G}}),xi=at({"src/language-css/utils/has-scss-interpolation.js"(v,te){vt();var G=yo();function q(Z){if(G(Z)){for(let pe=Z.length-1;pe>0;pe--)if(Z[pe].type==="word"&&Z[pe].value==="{"&&Z[pe-1].type==="word"&&Z[pe-1].value.endsWith("#"))return!0}return!1}te.exports=q}}),b=at({"src/language-css/utils/has-string-or-function.js"(v,te){vt();function G(q){return q.some(Z=>Z.type==="string"||Z.type==="func")}te.exports=G}}),Pe=at({"src/language-css/utils/is-less-parser.js"(v,te){vt();function G(q){return q.parser==="css"||q.parser==="less"}te.exports=G}}),tr=at({"src/language-css/utils/is-scss.js"(v,te){vt();function G(q,Z){return q==="less"||q==="scss"?q==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(Z)}te.exports=G}}),br=at({"src/language-css/utils/is-scss-nested-property-node.js"(v,te){vt();function G(q){return q.selector?q.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}te.exports=G}}),nn=at({"src/language-css/utils/is-scss-variable.js"(v,te){vt();function G(q){return Boolean((q==null?void 0:q.type)==="word"&&q.value.startsWith("$"))}te.exports=G}}),$n=at({"src/language-css/utils/stringify-node.js"(v,te){vt();function G(q){var Z,pe,fe;if(q.groups){var be,le,ge;let Ne=((be=q.open)===null||be===void 0?void 0:be.value)||"",Ce=q.groups.map(Ye=>G(Ye)).join(((le=q.groups[0])===null||le===void 0?void 0:le.type)==="comma_group"?",":""),Ke=((ge=q.close)===null||ge===void 0?void 0:ge.value)||"";return Ne+Ce+Ke}let E=((Z=q.raws)===null||Z===void 0?void 0:Z.before)||"",g=((pe=q.raws)===null||pe===void 0?void 0:pe.quote)||"",Q=q.type==="atword"?"@":"",U=q.value||"",xe=q.unit||"",me=q.group?G(q.group):"",je=((fe=q.raws)===null||fe===void 0?void 0:fe.after)||"";return E+g+Q+U+g+xe+me+je}te.exports=G}}),Rn=at({"src/language-css/utils/is-module-rule-name.js"(v,te){vt();var G=new Set(["import","use","forward"]);function q(Z){return G.has(Z)}te.exports=q}}),qr=at({"node_modules/postcss-values-parser/lib/node.js"(v,te){vt();var G=function(q,Z){let pe=new q.constructor;for(let fe in q){if(!q.hasOwnProperty(fe))continue;let be=q[fe],le=typeof be;fe==="parent"&&le==="object"?Z&&(pe[fe]=Z):fe==="source"?pe[fe]=be:be instanceof Array?pe[fe]=be.map(ge=>G(ge,pe)):fe!=="before"&&fe!=="after"&&fe!=="between"&&fe!=="semicolon"&&(le==="object"&&be!==null&&(be=G(be)),pe[fe]=be)}return pe};te.exports=class{constructor(q){q=q||{},this.raws={before:"",after:""};for(let Z in q)this[Z]=q[Z]}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(q){q=q||{};let Z=G(this);for(let pe in q)Z[pe]=q[pe];return Z}cloneBefore(q){q=q||{};let Z=this.clone(q);return this.parent.insertBefore(this,Z),Z}cloneAfter(q){q=q||{};let Z=this.clone(q);return this.parent.insertAfter(this,Z),Z}replaceWith(){let q=Array.prototype.slice.call(arguments);if(this.parent){for(let Z of q)this.parent.insertBefore(this,Z);this.remove()}return this}moveTo(q){return this.cleanRaws(this.root()===q.root()),this.remove(),q.append(this),this}moveBefore(q){return this.cleanRaws(this.root()===q.root()),this.remove(),q.parent.insertBefore(q,this),this}moveAfter(q){return this.cleanRaws(this.root()===q.root()),this.remove(),q.parent.insertAfter(q,this),this}next(){let q=this.parent.index(this);return this.parent.nodes[q+1]}prev(){let q=this.parent.index(this);return this.parent.nodes[q-1]}toJSON(){let q={};for(let Z in this){if(!this.hasOwnProperty(Z)||Z==="parent")continue;let pe=this[Z];pe instanceof Array?q[Z]=pe.map(fe=>typeof fe=="object"&&fe.toJSON?fe.toJSON():fe):typeof pe=="object"&&pe.toJSON?q[Z]=pe.toJSON():q[Z]=pe}return q}root(){let q=this;for(;q.parent;)q=q.parent;return q}cleanRaws(q){delete this.raws.before,delete this.raws.after,q||delete this.raws.between}positionInside(q){let Z=this.toString(),pe=this.source.start.column,fe=this.source.start.line;for(let be=0;be<q;be++)Z[be]===`
|
|
164
|
+
`?(pe=1,fe+=1):pe+=1;return{line:fe,column:pe}}positionBy(q){let Z=this.source.start;if(Object(q).index)Z=this.positionInside(q.index);else if(Object(q).word){let pe=this.toString().indexOf(q.word);pe!==-1&&(Z=this.positionInside(pe))}return Z}}}}),hi=at({"node_modules/postcss-values-parser/lib/container.js"(v,te){vt();var G=qr(),q=class extends G{constructor(Z){super(Z),this.nodes||(this.nodes=[])}push(Z){return Z.parent=this,this.nodes.push(Z),this}each(Z){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let pe=this.lastEach,fe,be;if(this.indexes[pe]=0,!!this.nodes){for(;this.indexes[pe]<this.nodes.length&&(fe=this.indexes[pe],be=Z(this.nodes[fe],fe),be!==!1);)this.indexes[pe]+=1;return delete this.indexes[pe],be}}walk(Z){return this.each((pe,fe)=>{let be=Z(pe,fe);return be!==!1&&pe.walk&&(be=pe.walk(Z)),be})}walkType(Z,pe){if(!Z||!pe)throw new Error("Parameters {type} and {callback} are required.");let fe=typeof Z=="function";return this.walk((be,le)=>{if(fe&&be instanceof Z||!fe&&be.type===Z)return pe.call(this,be,le)})}append(Z){return Z.parent=this,this.nodes.push(Z),this}prepend(Z){return Z.parent=this,this.nodes.unshift(Z),this}cleanRaws(Z){if(super.cleanRaws(Z),this.nodes)for(let pe of this.nodes)pe.cleanRaws(Z)}insertAfter(Z,pe){let fe=this.index(Z),be;this.nodes.splice(fe+1,0,pe);for(let le in this.indexes)be=this.indexes[le],fe<=be&&(this.indexes[le]=be+this.nodes.length);return this}insertBefore(Z,pe){let fe=this.index(Z),be;this.nodes.splice(fe,0,pe);for(let le in this.indexes)be=this.indexes[le],fe<=be&&(this.indexes[le]=be+this.nodes.length);return this}removeChild(Z){Z=this.index(Z),this.nodes[Z].parent=void 0,this.nodes.splice(Z,1);let pe;for(let fe in this.indexes)pe=this.indexes[fe],pe>=Z&&(this.indexes[fe]=pe-1);return this}removeAll(){for(let Z of this.nodes)Z.parent=void 0;return this.nodes=[],this}every(Z){return this.nodes.every(Z)}some(Z){return this.nodes.some(Z)}index(Z){return typeof Z=="number"?Z:this.nodes.indexOf(Z)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let Z=this.nodes.map(String).join("");return this.value&&(Z=this.value+Z),this.raws.before&&(Z=this.raws.before+Z),this.raws.after&&(Z+=this.raws.after),Z}};q.registerWalker=Z=>{let pe="walk"+Z.name;pe.lastIndexOf("s")!==pe.length-1&&(pe+="s"),!q.prototype[pe]&&(q.prototype[pe]=function(fe){return this.walkType(Z,fe)})},te.exports=q}}),Ta=at({"node_modules/postcss-values-parser/lib/root.js"(v,te){vt();var G=hi();te.exports=class extends G{constructor(q){super(q),this.type="root"}}}}),ea=at({"node_modules/postcss-values-parser/lib/value.js"(v,te){vt();var G=hi();te.exports=class extends G{constructor(q){super(q),this.type="value",this.unbalanced=0}}}}),vo=at({"node_modules/postcss-values-parser/lib/atword.js"(v,te){vt();var G=hi(),q=class extends G{constructor(Z){super(Z),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};G.registerWalker(q),te.exports=q}}),Du=at({"node_modules/postcss-values-parser/lib/colon.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="colon"}};G.registerWalker(Z),te.exports=Z}}),bu=at({"node_modules/postcss-values-parser/lib/comma.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="comma"}};G.registerWalker(Z),te.exports=Z}}),ms=at({"node_modules/postcss-values-parser/lib/comment.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{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("")}};G.registerWalker(Z),te.exports=Z}}),Na=at({"node_modules/postcss-values-parser/lib/function.js"(v,te){vt();var G=hi(),q=class extends G{constructor(Z){super(Z),this.type="func",this.unbalanced=-1}};G.registerWalker(q),te.exports=q}}),Ba=at({"node_modules/postcss-values-parser/lib/number.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{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("")}};G.registerWalker(Z),te.exports=Z}}),_a=at({"node_modules/postcss-values-parser/lib/operator.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="operator"}};G.registerWalker(Z),te.exports=Z}}),Pa=at({"node_modules/postcss-values-parser/lib/paren.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="paren",this.parenType=""}};G.registerWalker(Z),te.exports=Z}}),ta=at({"node_modules/postcss-values-parser/lib/string.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{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("")}};G.registerWalker(Z),te.exports=Z}}),xu=at({"node_modules/postcss-values-parser/lib/word.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="word"}};G.registerWalker(Z),te.exports=Z}}),Cu=at({"node_modules/postcss-values-parser/lib/unicode-range.js"(v,te){vt();var G=hi(),q=qr(),Z=class extends q{constructor(pe){super(pe),this.type="unicode-range"}};G.registerWalker(Z),te.exports=Z}});function bn(){throw new Error("setTimeout has not been defined")}function Eu(){throw new Error("clearTimeout has not been defined")}function wu(v){if(Bo===setTimeout)return setTimeout(v,0);if((Bo===bn||!Bo)&&setTimeout)return Bo=setTimeout,setTimeout(v,0);try{return Bo(v,0)}catch{try{return Bo.call(null,v,0)}catch{return Bo.call(this,v,0)}}}function Vo(v){if(fo===clearTimeout)return clearTimeout(v);if((fo===Eu||!fo)&&clearTimeout)return fo=clearTimeout,clearTimeout(v);try{return fo(v)}catch{try{return fo.call(null,v)}catch{return fo.call(this,v)}}}function Dl(){!oo||!_o||(oo=!1,_o.length?Gi=_o.concat(Gi):vs=-1,Gi.length&&Au())}function Au(){if(!oo){var v=wu(Dl);oo=!0;for(var te=Gi.length;te;){for(_o=Gi,Gi=[];++vs<te;)_o&&_o[vs].run();vs=-1,te=Gi.length}_o=null,oo=!1,Vo(v)}}function Oa(v){var te=new Array(arguments.length-1);if(arguments.length>1)for(var G=1;G<arguments.length;G++)te[G-1]=arguments[G];Gi.push(new Ls(v,te)),Gi.length===1&&!oo&&wu(Au)}function Ls(v,te){this.fun=v,this.array=te}function ys(){}function cc(v){throw new Error("process.binding is not supported")}function Su(){return"/"}function pc(v){throw new Error("process.chdir is not supported")}function Fu(){return 0}function bl(v){var te=Ra.call(qo)*.001,G=Math.floor(te),q=Math.floor(te%1*1e9);return v&&(G=G-v[0],q=q-v[1],q<0&&(G--,q+=1e9)),[G,q]}function fc(){var v=new Date,te=v-ku;return te/1e3}var Bo,fo,Gi,oo,_o,vs,ja,ra,jn,La,so,na,Ia,Is,Ma,Po,ia,Do,Ms,Rs,Zo,oa,qo,Ra,ku,za,zs,dc=yr({"node-modules-polyfills:process"(){vt(),Bo=bn,fo=Eu,typeof globalThis.setTimeout=="function"&&(Bo=setTimeout),typeof globalThis.clearTimeout=="function"&&(fo=clearTimeout),Gi=[],oo=!1,vs=-1,Ls.prototype.run=function(){this.fun.apply(null,this.array)},ja="browser",ra="browser",jn=!0,La={},so=[],na="",Ia={},Is={},Ma={},Po=ys,ia=ys,Do=ys,Ms=ys,Rs=ys,Zo=ys,oa=ys,qo=globalThis.performance||{},Ra=qo.now||qo.mozNow||qo.msNow||qo.oNow||qo.webkitNow||function(){return new Date().getTime()},ku=new Date,za={nextTick:Oa,title:ja,browser:jn,env:La,argv:so,version:na,versions:Ia,on:Po,addListener:ia,once:Do,off:Ms,removeListener:Rs,removeAllListeners:Zo,emit:oa,binding:cc,cwd:Su,chdir:pc,umask:Fu,hrtime:bl,platform:ra,release:Is,config:Ma,uptime:fc},zs=za}}),Ds,bo,hc=yr({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){vt(),typeof Object.create=="function"?Ds=function(v,te){v.super_=te,v.prototype=Object.create(te.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}})}:Ds=function(v,te){v.super_=te;var G=function(){};G.prototype=te.prototype,v.prototype=new G,v.prototype.constructor=v},bo=Ds}}),Tu={};$r(Tu,{_extend:()=>Ou,debuglog:()=>sa,default:()=>Iu,deprecate:()=>Wa,format:()=>Ha,inherits:()=>bo,inspect:()=>Xi,isArray:()=>$a,isBoolean:()=>Ua,isBuffer:()=>Co,isDate:()=>ao,isError:()=>ts,isFunction:()=>jo,isNull:()=>bs,isNullOrUndefined:()=>Bu,isNumber:()=>_u,isObject:()=>Mi,isPrimitive:()=>Va,isRegExp:()=>es,isString:()=>aa,isSymbol:()=>Pu,isUndefined:()=>Yi,log:()=>qa});function Ha(v){if(!aa(v)){for(var te=[],G=0;G<arguments.length;G++)te.push(Xi(arguments[G]));return te.join(" ")}for(var G=1,q=arguments,Z=q.length,pe=String(v).replace(Eo,function(le){if(le==="%%")return"%";if(G>=Z)return le;switch(le){case"%s":return String(q[G++]);case"%d":return Number(q[G++]);case"%j":try{return JSON.stringify(q[G++])}catch{return"[Circular]"}default:return le}}),fe=q[G];G<Z;fe=q[++G])bs(fe)||!Mi(fe)?pe+=" "+fe:pe+=" "+Xi(fe);return pe}function Wa(v,te){if(Yi(globalThis.process))return function(){return Wa(v,te).apply(this,arguments)};if(zs.noDeprecation===!0)return v;var G=!1;function q(){if(!G){if(zs.throwDeprecation)throw new Error(te);zs.traceDeprecation?console.trace(te):console.error(te),G=!0}return v.apply(this,arguments)}return q}function sa(v){if(Yi(ho)&&(ho=zs.env.NODE_DEBUG||""),v=v.toUpperCase(),!Lo[v])if(new RegExp("\\b"+v+"\\b","i").test(ho)){var te=0;Lo[v]=function(){var G=Ha.apply(null,arguments);console.error("%s %d: %s",v,te,G)}}else Lo[v]=function(){};return Lo[v]}function Xi(v,te){var G={seen:[],stylize:mc};return arguments.length>=3&&(G.depth=arguments[2]),arguments.length>=4&&(G.colors=arguments[3]),Ua(te)?G.showHidden=te:te&&Ou(G,te),Yi(G.showHidden)&&(G.showHidden=!1),Yi(G.depth)&&(G.depth=2),Yi(G.colors)&&(G.colors=!1),Yi(G.customInspect)&&(G.customInspect=!0),G.colors&&(G.stylize=gc),Oo(G,v,G.depth)}function gc(v,te){var G=Xi.styles[te];return G?"\x1B["+Xi.colors[G][0]+"m"+v+"\x1B["+Xi.colors[G][1]+"m":v}function mc(v,te){return v}function yc(v){var te={};return v.forEach(function(G,q){te[G]=!0}),te}function Oo(v,te,G){if(v.customInspect&&te&&jo(te.inspect)&&te.inspect!==Xi&&!(te.constructor&&te.constructor.prototype===te)){var q=te.inspect(G,v);return aa(q)||(q=Oo(v,q,G)),q}var Z=Bi(v,te);if(Z)return Z;var pe=Object.keys(te),fe=yc(pe);if(v.showHidden&&(pe=Object.getOwnPropertyNames(te)),ts(te)&&(pe.indexOf("message")>=0||pe.indexOf("description")>=0))return Nu(te);if(pe.length===0){if(jo(te)){var be=te.name?": "+te.name:"";return v.stylize("[Function"+be+"]","special")}if(es(te))return v.stylize(RegExp.prototype.toString.call(te),"regexp");if(ao(te))return v.stylize(Date.prototype.toString.call(te),"date");if(ts(te))return Nu(te)}var le="",ge=!1,E=["{","}"];if($a(te)&&(ge=!0,E=["[","]"]),jo(te)){var g=te.name?": "+te.name:"";le=" [Function"+g+"]"}if(es(te)&&(le=" "+RegExp.prototype.toString.call(te)),ao(te)&&(le=" "+Date.prototype.toUTCString.call(te)),ts(te)&&(le=" "+Nu(te)),pe.length===0&&(!ge||te.length==0))return E[0]+le+E[1];if(G<0)return es(te)?v.stylize(RegExp.prototype.toString.call(te),"regexp"):v.stylize("[Object]","special");v.seen.push(te);var Q;return ge?Q=xl(v,te,G,fe,pe):Q=pe.map(function(U){return xo(v,te,G,fe,U,ge)}),v.seen.pop(),vc(Q,le,E)}function Bi(v,te){if(Yi(te))return v.stylize("undefined","undefined");if(aa(te)){var G="'"+JSON.stringify(te).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return v.stylize(G,"string")}if(_u(te))return v.stylize(""+te,"number");if(Ua(te))return v.stylize(""+te,"boolean");if(bs(te))return v.stylize("null","null")}function Nu(v){return"["+Error.prototype.toString.call(v)+"]"}function xl(v,te,G,q,Z){for(var pe=[],fe=0,be=te.length;fe<be;++fe)ju(te,String(fe))?pe.push(xo(v,te,G,q,String(fe),!0)):pe.push("");return Z.forEach(function(le){le.match(/^\d+$/)||pe.push(xo(v,te,G,q,le,!0))}),pe}function xo(v,te,G,q,Z,pe){var fe,be,le;if(le=Object.getOwnPropertyDescriptor(te,Z)||{value:te[Z]},le.get?le.set?be=v.stylize("[Getter/Setter]","special"):be=v.stylize("[Getter]","special"):le.set&&(be=v.stylize("[Setter]","special")),ju(q,Z)||(fe="["+Z+"]"),be||(v.seen.indexOf(le.value)<0?(bs(G)?be=Oo(v,le.value,null):be=Oo(v,le.value,G-1),be.indexOf(`
|
|
165
|
+
`)>-1&&(pe?be=be.split(`
|
|
166
|
+
`).map(function(ge){return" "+ge}).join(`
|
|
167
|
+
`).substr(2):be=`
|
|
168
|
+
`+be.split(`
|
|
169
|
+
`).map(function(ge){return" "+ge}).join(`
|
|
170
|
+
`))):be=v.stylize("[Circular]","special")),Yi(fe)){if(pe&&Z.match(/^\d+$/))return be;fe=JSON.stringify(""+Z),fe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(fe=fe.substr(1,fe.length-2),fe=v.stylize(fe,"name")):(fe=fe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),fe=v.stylize(fe,"string"))}return fe+": "+be}function vc(v,te,G){var q=0,Z=v.reduce(function(pe,fe){return q++,fe.indexOf(`
|
|
171
|
+
`)>=0&&q++,pe+fe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Z>60?G[0]+(te===""?"":te+`
|
|
172
|
+
`)+" "+v.join(`,
|
|
173
|
+
`)+" "+G[1]:G[0]+te+" "+v.join(", ")+" "+G[1]}function $a(v){return Array.isArray(v)}function Ua(v){return typeof v=="boolean"}function bs(v){return v===null}function Bu(v){return v==null}function _u(v){return typeof v=="number"}function aa(v){return typeof v=="string"}function Pu(v){return typeof v=="symbol"}function Yi(v){return v===void 0}function es(v){return Mi(v)&&Jo(v)==="[object RegExp]"}function Mi(v){return typeof v=="object"&&v!==null}function ao(v){return Mi(v)&&Jo(v)==="[object Date]"}function ts(v){return Mi(v)&&(Jo(v)==="[object Error]"||v instanceof Error)}function jo(v){return typeof v=="function"}function Va(v){return v===null||typeof v=="boolean"||typeof v=="number"||typeof v=="string"||typeof v=="symbol"||typeof v>"u"}function Co(v){return Buffer.isBuffer(v)}function Jo(v){return Object.prototype.toString.call(v)}function Hs(v){return v<10?"0"+v.toString(10):v.toString(10)}function Dc(){var v=new Date,te=[Hs(v.getHours()),Hs(v.getMinutes()),Hs(v.getSeconds())].join(":");return[v.getDate(),Lu[v.getMonth()],te].join(" ")}function qa(){console.log("%s - %s",Dc(),Ha.apply(null,arguments))}function Ou(v,te){if(!te||!Mi(te))return v;for(var G=Object.keys(te),q=G.length;q--;)v[G[q]]=te[G[q]];return v}function ju(v,te){return Object.prototype.hasOwnProperty.call(v,te)}var Eo,Lo,ho,Lu,Iu,Mu=yr({"node-modules-polyfills:util"(){vt(),dc(),hc(),Eo=/%[sdj%]/g,Lo={},Xi.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]},Xi.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Lu=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Iu={inherits:bo,_extend:Ou,log:qa,isBuffer:Co,isPrimitive:Va,isFunction:jo,isError:ts,isDate:ao,isObject:Mi,isRegExp:es,isUndefined:Yi,isSymbol:Pu,isString:aa,isNumber:_u,isNullOrUndefined:Bu,isNull:bs,isBoolean:Ua,isArray:$a,inspect:Xi,deprecate:Wa,format:Ha,debuglog:sa}}}),bc=at({"node-modules-polyfills-commonjs:util"(v,te){vt();var G=(Mu(),En(Tu));if(G&&G.default){te.exports=G.default;for(let q in G)te.exports[q]=G[q]}else G&&(te.exports=G)}}),Cl=at({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(v,te){vt();var G=class extends Error{constructor(q){super(q),this.name=this.constructor.name,this.message=q||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(q).stack}};te.exports=G}}),El=at({"node_modules/postcss-values-parser/lib/tokenize.js"(v,te){vt();var G="{".charCodeAt(0),q="}".charCodeAt(0),Z="(".charCodeAt(0),pe=")".charCodeAt(0),fe="'".charCodeAt(0),be='"'.charCodeAt(0),le="\\".charCodeAt(0),ge="/".charCodeAt(0),E=".".charCodeAt(0),g=",".charCodeAt(0),Q=":".charCodeAt(0),U="*".charCodeAt(0),xe="-".charCodeAt(0),me="+".charCodeAt(0),je="#".charCodeAt(0),Ne=`
|
|
174
|
+
`.charCodeAt(0),Ce=" ".charCodeAt(0),Ke="\f".charCodeAt(0),Ye=" ".charCodeAt(0),ct="\r".charCodeAt(0),cr="@".charCodeAt(0),Br="e".charCodeAt(0),jr="E".charCodeAt(0),an="0".charCodeAt(0),sn="9".charCodeAt(0),xn="u".charCodeAt(0),en="U".charCodeAt(0),un=/[ \n\t\r\{\(\)'"\\;,/]/g,mr=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Yt=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,vr=/^[a-z0-9]/i,Jt=/^[a-f0-9?\-]/i,mi=bc(),Yn=Cl();te.exports=function(ni,Un){Un=Un||{};let Pn=[],Wr=ni.valueOf(),wn=Wr.length,dn=-1,Cn=1,ut=0,jt=0,Vt=null,Tr,st,Xr,zr,ji,Fi,si,Zi,Ji,ki,eo;function Li(wi){let Ti=mi.format("Unclosed %s at line: %d, column: %d, token: %d",wi,Cn,ut-dn,ut);throw new Yn(Ti)}for(;ut<wn;){switch(Tr=Wr.charCodeAt(ut),Tr===Ne&&(dn=ut,Cn+=1),Tr){case Ne:case Ce:case Ye:case ct:case Ke:st=ut;do st+=1,Tr=Wr.charCodeAt(st),Tr===Ne&&(dn=st,Cn+=1);while(Tr===Ce||Tr===Ne||Tr===Ye||Tr===ct||Tr===Ke);Pn.push(["space",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break;case Q:st=ut+1,Pn.push(["colon",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break;case g:st=ut+1,Pn.push(["comma",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break;case G:Pn.push(["{","{",Cn,ut-dn,Cn,st-dn,ut]);break;case q:Pn.push(["}","}",Cn,ut-dn,Cn,st-dn,ut]);break;case Z:jt++,Vt=!Vt&&jt===1&&Pn.length>0&&Pn[Pn.length-1][0]==="word"&&Pn[Pn.length-1][1]==="url",Pn.push(["(","(",Cn,ut-dn,Cn,st-dn,ut]);break;case pe:jt--,Vt=Vt&&jt>0,Pn.push([")",")",Cn,ut-dn,Cn,st-dn,ut]);break;case fe:case be:Xr=Tr===fe?"'":'"',st=ut;do for(Ji=!1,st=Wr.indexOf(Xr,st+1),st===-1&&Li("quote"),ki=st;Wr.charCodeAt(ki-1)===le;)ki-=1,Ji=!Ji;while(Ji);Pn.push(["string",Wr.slice(ut,st+1),Cn,ut-dn,Cn,st-dn,ut]),ut=st;break;case cr:un.lastIndex=ut+1,un.test(Wr),un.lastIndex===0?st=Wr.length-1:st=un.lastIndex-2,Pn.push(["atword",Wr.slice(ut,st+1),Cn,ut-dn,Cn,st-dn,ut]),ut=st;break;case le:st=ut,Tr=Wr.charCodeAt(st+1),Pn.push(["word",Wr.slice(ut,st+1),Cn,ut-dn,Cn,st-dn,ut]),ut=st;break;case me:case xe:case U:if(st=ut+1,eo=Wr.slice(ut+1,st+1),Wr.slice(ut-1,ut),Tr===xe&&eo.charCodeAt(0)===xe){st++,Pn.push(["word",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break}Pn.push(["operator",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;break;default:if(Tr===ge&&(Wr.charCodeAt(ut+1)===U||Un.loose&&!Vt&&Wr.charCodeAt(ut+1)===ge)){if(Wr.charCodeAt(ut+1)===U)st=Wr.indexOf("*/",ut+2)+1,st===0&&Li("comment");else{let wi=Wr.indexOf(`
|
|
175
|
+
`,ut+2);st=wi!==-1?wi-1:wn}Fi=Wr.slice(ut,st+1),zr=Fi.split(`
|
|
176
|
+
`),ji=zr.length-1,ji>0?(si=Cn+ji,Zi=st-zr[ji].length):(si=Cn,Zi=dn),Pn.push(["comment",Fi,Cn,ut-dn,si,st-Zi,ut]),dn=Zi,Cn=si,ut=st}else if(Tr===je&&!vr.test(Wr.slice(ut+1,ut+2)))st=ut+1,Pn.push(["#",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;else if((Tr===xn||Tr===en)&&Wr.charCodeAt(ut+1)===me){st=ut+2;do st+=1,Tr=Wr.charCodeAt(st);while(st<wn&&Jt.test(Wr.slice(st,st+1)));Pn.push(["unicoderange",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1}else if(Tr===ge)st=ut+1,Pn.push(["operator",Wr.slice(ut,st),Cn,ut-dn,Cn,st-dn,ut]),ut=st-1;else{let wi=mr;if(Tr>=an&&Tr<=sn&&(wi=Yt),wi.lastIndex=ut+1,wi.test(Wr),wi.lastIndex===0?st=Wr.length-1:st=wi.lastIndex-2,wi===Yt||Tr===E){let Ti=Wr.charCodeAt(st),zl=Wr.charCodeAt(st+1),ba=Wr.charCodeAt(st+2);(Ti===Br||Ti===jr)&&(zl===xe||zl===me)&&ba>=an&&ba<=sn&&(Yt.lastIndex=st+2,Yt.test(Wr),Yt.lastIndex===0?st=Wr.length-1:st=Yt.lastIndex-2)}Pn.push(["word",Wr.slice(ut,st+1),Cn,ut-dn,Cn,st-dn,ut]),ut=st}break}ut++}return Pn}}}),Ru=at({"node_modules/flatten/index.js"(v,te){vt(),te.exports=function(G,q){if(q=typeof q=="number"?q:1/0,!q)return Array.isArray(G)?G.map(function(pe){return pe}):G;return Z(G,1);function Z(pe,fe){return pe.reduce(function(be,le){return Array.isArray(le)&&fe<q?be.concat(Z(le,fe+1)):be.concat(le)},[])}}}}),Ws=at({"node_modules/indexes-of/index.js"(v,te){vt(),te.exports=function(G,q){for(var Z=-1,pe=[];(Z=G.indexOf(q,Z+1))!==-1;)pe.push(Z);return pe}}}),zu=at({"node_modules/uniq/uniq.js"(v,te){vt();function G(pe,fe){for(var be=1,le=pe.length,ge=pe[0],E=pe[0],g=1;g<le;++g)if(E=ge,ge=pe[g],fe(ge,E)){if(g===be){be++;continue}pe[be++]=ge}return pe.length=be,pe}function q(pe){for(var fe=1,be=pe.length,le=pe[0],ge=pe[0],E=1;E<be;++E,ge=le)if(ge=le,le=pe[E],le!==ge){if(E===fe){fe++;continue}pe[fe++]=le}return pe.length=fe,pe}function Z(pe,fe,be){return pe.length===0?pe:fe?(be||pe.sort(fe),G(pe,fe)):(be||pe.sort(),q(pe))}te.exports=Z}}),wl=at({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(v,te){vt();var G=class extends Error{constructor(q){super(q),this.name=this.constructor.name,this.message=q||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(q).stack}};te.exports=G}}),Hu=at({"node_modules/postcss-values-parser/lib/parser.js"(v,te){vt();var G=Ta(),q=ea(),Z=vo(),pe=Du(),fe=bu(),be=ms(),le=Na(),ge=Ba(),E=_a(),g=Pa(),Q=ta(),U=xu(),xe=Cu(),me=El(),je=Ru(),Ne=Ws(),Ce=zu(),Ke=wl();function Ye(ct){return ct.sort((cr,Br)=>cr-Br)}te.exports=class{constructor(ct,cr){let Br={loose:!1};this.cache=[],this.input=ct,this.options=Object.assign({},Br,cr),this.position=0,this.unbalanced=0,this.root=new G;let jr=new q;this.root.append(jr),this.current=jr,this.tokens=me(ct,this.options)}parse(){return this.loop()}colon(){let ct=this.currToken;this.newNode(new pe({value:ct[1],source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6]})),this.position++}comma(){let ct=this.currToken;this.newNode(new fe({value:ct[1],source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6]})),this.position++}comment(){let ct=!1,cr=this.currToken[1].replace(/\/\*|\*\//g,""),Br;this.options.loose&&cr.startsWith("//")&&(cr=cr.substring(2),ct=!0),Br=new be({value:cr,inline:ct,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(Br),this.position++}error(ct,cr){throw new Ke(ct+" at line: ".concat(cr[2],", column ").concat(cr[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 ct=this.currToken[1],cr;if(ct==="+"||ct==="-"){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 cr=new E({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(cr)}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 ct=1,cr=this.position+1,Br=this.currToken,jr;for(;cr<this.tokens.length&&ct;){let an=this.tokens[cr];an[0]==="("&&ct++,an[0]===")"&&ct--,cr++}if(ct&&this.error("Expected closing parenthesis",Br),jr=this.current.last,jr&&jr.type==="func"&&jr.unbalanced<0&&(jr.unbalanced=0,this.current=jr),this.current.unbalanced++,this.newNode(new g({value:Br[1],source:{start:{line:Br[2],column:Br[3]},end:{line:Br[4],column:Br[5]}},sourceIndex:Br[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 an=this.nextToken,sn=this.currToken[1],xn={line:this.currToken[2],column:this.currToken[3]};for(;an&&an[0]!==")"&&this.current.unbalanced;)this.position++,sn+=this.currToken[1],an=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new U({value:sn,source:{start:xn,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let ct=this.currToken;this.newNode(new g({value:ct[1],source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",ct),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let ct=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=ct[1],this.position++):(this.spaces=ct[1],this.position++)}unicodeRange(){let ct=this.currToken;this.newNode(new xe({value:ct[1],source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6]})),this.position++}splitWord(){let ct=this.nextToken,cr=this.currToken[1],Br=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,jr=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,an,sn;if(!jr.test(cr))for(;ct&&ct[0]==="word";)this.position++,cr+=this.currToken[1],ct=this.nextToken;an=Ne(cr,"@"),sn=Ye(Ce(je([[0],an]))),sn.forEach((xn,en)=>{let un=sn[en+1]||cr.length,mr=cr.slice(xn,un),Yt;if(~an.indexOf(xn))Yt=new Z({value:mr.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+xn},end:{line:this.currToken[4],column:this.currToken[3]+(un-1)}},sourceIndex:this.currToken[6]+sn[en]});else if(Br.test(this.currToken[1])){let vr=mr.replace(Br,"");Yt=new ge({value:mr.replace(vr,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+xn},end:{line:this.currToken[4],column:this.currToken[3]+(un-1)}},sourceIndex:this.currToken[6]+sn[en],unit:vr})}else Yt=new(ct&&ct[0]==="("?le:U)({value:mr,source:{start:{line:this.currToken[2],column:this.currToken[3]+xn},end:{line:this.currToken[4],column:this.currToken[3]+(un-1)}},sourceIndex:this.currToken[6]+sn[en]}),Yt.type==="word"?(Yt.isHex=/^#(.+)/.test(mr),Yt.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(mr)):this.cache.push(this.current);this.newNode(Yt)}),this.position++}string(){let ct=this.currToken,cr=this.currToken[1],Br=/^(\"|\')/,jr=Br.test(cr),an="",sn;jr&&(an=cr.match(Br)[0],cr=cr.slice(1,cr.length-1)),sn=new Q({value:cr,source:{start:{line:ct[2],column:ct[3]},end:{line:ct[4],column:ct[5]}},sourceIndex:ct[6],quoted:jr}),sn.raws.quote=an,this.newNode(sn),this.position++}word(){return this.splitWord()}newNode(ct){return this.spaces&&(ct.raws.before+=this.spaces,this.spaces=""),this.current.append(ct)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),Ja=at({"node_modules/postcss-values-parser/lib/index.js"(v,te){vt();var G=Hu(),q=vo(),Z=Du(),pe=bu(),fe=ms(),be=Na(),le=Ba(),ge=_a(),E=Pa(),g=ta(),Q=Cu(),U=ea(),xe=xu(),me=function(je,Ne){return new G(je,Ne)};me.atword=function(je){return new q(je)},me.colon=function(je){return new Z(Object.assign({value:":"},je))},me.comma=function(je){return new pe(Object.assign({value:","},je))},me.comment=function(je){return new fe(je)},me.func=function(je){return new be(je)},me.number=function(je){return new le(je)},me.operator=function(je){return new ge(je)},me.paren=function(je){return new E(Object.assign({value:"("},je))},me.string=function(je){return new g(Object.assign({quote:"'"},je))},me.value=function(je){return new U(je)},me.word=function(je){return new xe(je)},me.unicodeRange=function(je){return new Q(je)},te.exports=me}}),Ci=at({"node_modules/postcss-selector-parser/dist/selectors/node.js"(v,te){vt(),v.__esModule=!0;var G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(fe){return typeof fe}:function(fe){return fe&&typeof Symbol=="function"&&fe.constructor===Symbol&&fe!==Symbol.prototype?"symbol":typeof fe};function q(fe,be){if(!(fe instanceof be))throw new TypeError("Cannot call a class as a function")}var Z=function fe(be,le){if((typeof be>"u"?"undefined":G(be))!=="object")return be;var ge=new be.constructor;for(var E in be)if(be.hasOwnProperty(E)){var g=be[E],Q=typeof g>"u"?"undefined":G(g);E==="parent"&&Q==="object"?le&&(ge[E]=le):g instanceof Array?ge[E]=g.map(function(U){return fe(U,ge)}):ge[E]=fe(g,ge)}return ge},pe=function(){function fe(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};q(this,fe);for(var le in be)this[le]=be[le];var ge=be.spaces;ge=ge===void 0?{}:ge;var E=ge.before,g=E===void 0?"":E,Q=ge.after,U=Q===void 0?"":Q;this.spaces={before:g,after:U}}return fe.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},fe.prototype.replaceWith=function(){if(this.parent){for(var be in arguments)this.parent.insertBefore(this,arguments[be]);this.remove()}return this},fe.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},fe.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},fe.prototype.clone=function(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=Z(this);for(var ge in be)le[ge]=be[ge];return le},fe.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},fe}();v.default=pe,te.exports=v.default}}),Ri=at({"node_modules/postcss-selector-parser/dist/selectors/types.js"(v){vt(),v.__esModule=!0,v.TAG="tag",v.STRING="string",v.SELECTOR="selector",v.ROOT="root",v.PSEUDO="pseudo",v.NESTING="nesting",v.ID="id",v.COMMENT="comment",v.COMBINATOR="combinator",v.CLASS="class",v.ATTRIBUTE="attribute",v.UNIVERSAL="universal"}}),uo=at({"node_modules/postcss-selector-parser/dist/selectors/container.js"(v,te){vt(),v.__esModule=!0;var G=function(){function U(xe,me){for(var je=0;je<me.length;je++){var Ne=me[je];Ne.enumerable=Ne.enumerable||!1,Ne.configurable=!0,"value"in Ne&&(Ne.writable=!0),Object.defineProperty(xe,Ne.key,Ne)}}return function(xe,me,je){return me&&U(xe.prototype,me),je&&U(xe,je),xe}}(),q=Ci(),Z=le(q),pe=Ri(),fe=be(pe);function be(U){if(U&&U.__esModule)return U;var xe={};if(U!=null)for(var me in U)Object.prototype.hasOwnProperty.call(U,me)&&(xe[me]=U[me]);return xe.default=U,xe}function le(U){return U&&U.__esModule?U:{default:U}}function ge(U,xe){if(!(U instanceof xe))throw new TypeError("Cannot call a class as a function")}function E(U,xe){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return xe&&(typeof xe=="object"||typeof xe=="function")?xe:U}function g(U,xe){if(typeof xe!="function"&&xe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof xe);U.prototype=Object.create(xe&&xe.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}),xe&&(Object.setPrototypeOf?Object.setPrototypeOf(U,xe):U.__proto__=xe)}var Q=function(U){g(xe,U);function xe(me){ge(this,xe);var je=E(this,U.call(this,me));return je.nodes||(je.nodes=[]),je}return xe.prototype.append=function(me){return me.parent=this,this.nodes.push(me),this},xe.prototype.prepend=function(me){return me.parent=this,this.nodes.unshift(me),this},xe.prototype.at=function(me){return this.nodes[me]},xe.prototype.index=function(me){return typeof me=="number"?me:this.nodes.indexOf(me)},xe.prototype.removeChild=function(me){me=this.index(me),this.at(me).parent=void 0,this.nodes.splice(me,1);var je=void 0;for(var Ne in this.indexes)je=this.indexes[Ne],je>=me&&(this.indexes[Ne]=je-1);return this},xe.prototype.removeAll=function(){for(var Ne=this.nodes,me=Array.isArray(Ne),je=0,Ne=me?Ne:Ne[Symbol.iterator]();;){var Ce;if(me){if(je>=Ne.length)break;Ce=Ne[je++]}else{if(je=Ne.next(),je.done)break;Ce=je.value}var Ke=Ce;Ke.parent=void 0}return this.nodes=[],this},xe.prototype.empty=function(){return this.removeAll()},xe.prototype.insertAfter=function(me,je){var Ne=this.index(me);this.nodes.splice(Ne+1,0,je);var Ce=void 0;for(var Ke in this.indexes)Ce=this.indexes[Ke],Ne<=Ce&&(this.indexes[Ke]=Ce+this.nodes.length);return this},xe.prototype.insertBefore=function(me,je){var Ne=this.index(me);this.nodes.splice(Ne,0,je);var Ce=void 0;for(var Ke in this.indexes)Ce=this.indexes[Ke],Ne<=Ce&&(this.indexes[Ke]=Ce+this.nodes.length);return this},xe.prototype.each=function(me){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var je=this.lastEach;if(this.indexes[je]=0,!!this.length){for(var Ne=void 0,Ce=void 0;this.indexes[je]<this.length&&(Ne=this.indexes[je],Ce=me(this.at(Ne),Ne),Ce!==!1);)this.indexes[je]+=1;if(delete this.indexes[je],Ce===!1)return!1}},xe.prototype.walk=function(me){return this.each(function(je,Ne){var Ce=me(je,Ne);if(Ce!==!1&&je.length&&(Ce=je.walk(me)),Ce===!1)return!1})},xe.prototype.walkAttributes=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.ATTRIBUTE)return me.call(je,Ne)})},xe.prototype.walkClasses=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.CLASS)return me.call(je,Ne)})},xe.prototype.walkCombinators=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.COMBINATOR)return me.call(je,Ne)})},xe.prototype.walkComments=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.COMMENT)return me.call(je,Ne)})},xe.prototype.walkIds=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.ID)return me.call(je,Ne)})},xe.prototype.walkNesting=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.NESTING)return me.call(je,Ne)})},xe.prototype.walkPseudos=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.PSEUDO)return me.call(je,Ne)})},xe.prototype.walkTags=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.TAG)return me.call(je,Ne)})},xe.prototype.walkUniversals=function(me){var je=this;return this.walk(function(Ne){if(Ne.type===fe.UNIVERSAL)return me.call(je,Ne)})},xe.prototype.split=function(me){var je=this,Ne=[];return this.reduce(function(Ce,Ke,Ye){var ct=me.call(je,Ke);return Ne.push(Ke),ct?(Ce.push(Ne),Ne=[]):Ye===je.length-1&&Ce.push(Ne),Ce},[])},xe.prototype.map=function(me){return this.nodes.map(me)},xe.prototype.reduce=function(me,je){return this.nodes.reduce(me,je)},xe.prototype.every=function(me){return this.nodes.every(me)},xe.prototype.some=function(me){return this.nodes.some(me)},xe.prototype.filter=function(me){return this.nodes.filter(me)},xe.prototype.sort=function(me){return this.nodes.sort(me)},xe.prototype.toString=function(){return this.map(String).join("")},G(xe,[{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}}]),xe}(Z.default);v.default=Q,te.exports=v.default}}),Wu=at({"node_modules/postcss-selector-parser/dist/selectors/root.js"(v,te){vt(),v.__esModule=!0;var G=uo(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.ROOT,U}return g.prototype.toString=function(){var Q=this.reduce(function(U,xe){var me=String(xe);return me?U+me+",":""},"").slice(0,-1);return this.trailingComma?Q+",":Q},g}(q.default);v.default=ge,te.exports=v.default}}),$s=at({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(v,te){vt(),v.__esModule=!0;var G=uo(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.SELECTOR,U}return g}(q.default);v.default=ge,te.exports=v.default}}),rs=at({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(v,te){vt(),v.__esModule=!0;var G=function(){function E(g,Q){for(var U=0;U<Q.length;U++){var xe=Q[U];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(g,xe.key,xe)}}return function(g,Q,U){return Q&&E(g.prototype,Q),U&&E(g,U),g}}(),q=Ci(),Z=pe(q);function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(){return fe(this,g),be(this,E.apply(this,arguments))}return g.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},G(g,[{key:"ns",get:function(){var Q=this.namespace;return Q?(typeof Q=="string"?Q:"")+"|":""}}]),g}(Z.default);v.default=ge,te.exports=v.default}}),$u=at({"node_modules/postcss-selector-parser/dist/selectors/className.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.CLASS,U}return g.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},g}(q.default);v.default=ge,te.exports=v.default}}),xs=at({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(v,te){vt(),v.__esModule=!0;var G=Ci(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.COMMENT,U}return g}(q.default);v.default=ge,te.exports=v.default}}),gi=at({"node_modules/postcss-selector-parser/dist/selectors/id.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.ID,U}return g.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},g}(q.default);v.default=ge,te.exports=v.default}}),Al=at({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.TAG,U}return g}(q.default);v.default=ge,te.exports=v.default}}),Sl=at({"node_modules/postcss-selector-parser/dist/selectors/string.js"(v,te){vt(),v.__esModule=!0;var G=Ci(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.STRING,U}return g}(q.default);v.default=ge,te.exports=v.default}}),Fl=at({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(v,te){vt(),v.__esModule=!0;var G=uo(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.PSEUDO,U}return g.prototype.toString=function(){var Q=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),Q,this.spaces.after].join("")},g}(q.default);v.default=ge,te.exports=v.default}}),ns=at({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.ATTRIBUTE,U.raws={},U}return g.prototype.toString=function(){var Q=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&Q.push(this.operator),this.value&&Q.push(this.value),this.raws.insensitive?Q.push(this.raws.insensitive):this.insensitive&&Q.push(" i"),Q.push("]"),Q.concat(this.spaces.after).join("")},g}(q.default);v.default=ge,te.exports=v.default}}),Cs=at({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(v,te){vt(),v.__esModule=!0;var G=rs(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.UNIVERSAL,U.value="*",U}return g}(q.default);v.default=ge,te.exports=v.default}}),Es=at({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(v,te){vt(),v.__esModule=!0;var G=Ci(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.COMBINATOR,U}return g}(q.default);v.default=ge,te.exports=v.default}}),Io=at({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(v,te){vt(),v.__esModule=!0;var G=Ci(),q=pe(G),Z=Ri();function pe(E){return E&&E.__esModule?E:{default:E}}function fe(E,g){if(!(E instanceof g))throw new TypeError("Cannot call a class as a function")}function be(E,g){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:E}function le(E,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);E.prototype=Object.create(g&&g.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(E,g):E.__proto__=g)}var ge=function(E){le(g,E);function g(Q){fe(this,g);var U=be(this,E.call(this,Q));return U.type=Z.NESTING,U.value="&",U}return g}(q.default);v.default=ge,te.exports=v.default}}),Uu=at({"node_modules/postcss-selector-parser/dist/sortAscending.js"(v,te){vt(),v.__esModule=!0,v.default=G;function G(q){return q.sort(function(Z,pe){return Z-pe})}te.exports=v.default}}),Vu=at({"node_modules/postcss-selector-parser/dist/tokenize.js"(v,te){vt(),v.__esModule=!0,v.default=xn;var G=39,q=34,Z=92,pe=47,fe=10,be=32,le=12,ge=9,E=13,g=43,Q=62,U=126,xe=124,me=44,je=40,Ne=41,Ce=91,Ke=93,Ye=59,ct=42,cr=58,Br=38,jr=64,an=/[ \n\t\r\{\(\)'"\\;/]/g,sn=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function xn(en){for(var un=[],mr=en.css.valueOf(),Yt=void 0,vr=void 0,Jt=void 0,mi=void 0,Yn=void 0,ni=void 0,Un=void 0,Pn=void 0,Wr=void 0,wn=void 0,dn=void 0,Cn=mr.length,ut=-1,jt=1,Vt=0,Tr=function(st,Xr){if(en.safe)mr+=Xr,vr=mr.length-1;else throw en.error("Unclosed "+st,jt,Vt-ut,Vt)};Vt<Cn;){switch(Yt=mr.charCodeAt(Vt),Yt===fe&&(ut=Vt,jt+=1),Yt){case fe:case be:case ge:case E:case le:vr=Vt;do vr+=1,Yt=mr.charCodeAt(vr),Yt===fe&&(ut=vr,jt+=1);while(Yt===be||Yt===fe||Yt===ge||Yt===E||Yt===le);un.push(["space",mr.slice(Vt,vr),jt,Vt-ut,Vt]),Vt=vr-1;break;case g:case Q:case U:case xe:vr=Vt;do vr+=1,Yt=mr.charCodeAt(vr);while(Yt===g||Yt===Q||Yt===U||Yt===xe);un.push(["combinator",mr.slice(Vt,vr),jt,Vt-ut,Vt]),Vt=vr-1;break;case ct:un.push(["*","*",jt,Vt-ut,Vt]);break;case Br:un.push(["&","&",jt,Vt-ut,Vt]);break;case me:un.push([",",",",jt,Vt-ut,Vt]);break;case Ce:un.push(["[","[",jt,Vt-ut,Vt]);break;case Ke:un.push(["]","]",jt,Vt-ut,Vt]);break;case cr:un.push([":",":",jt,Vt-ut,Vt]);break;case Ye:un.push([";",";",jt,Vt-ut,Vt]);break;case je:un.push(["(","(",jt,Vt-ut,Vt]);break;case Ne:un.push([")",")",jt,Vt-ut,Vt]);break;case G:case q:Jt=Yt===G?"'":'"',vr=Vt;do for(wn=!1,vr=mr.indexOf(Jt,vr+1),vr===-1&&Tr("quote",Jt),dn=vr;mr.charCodeAt(dn-1)===Z;)dn-=1,wn=!wn;while(wn);un.push(["string",mr.slice(Vt,vr+1),jt,Vt-ut,jt,vr-ut,Vt]),Vt=vr;break;case jr:an.lastIndex=Vt+1,an.test(mr),an.lastIndex===0?vr=mr.length-1:vr=an.lastIndex-2,un.push(["at-word",mr.slice(Vt,vr+1),jt,Vt-ut,jt,vr-ut,Vt]),Vt=vr;break;case Z:for(vr=Vt,Un=!0;mr.charCodeAt(vr+1)===Z;)vr+=1,Un=!Un;Yt=mr.charCodeAt(vr+1),Un&&Yt!==pe&&Yt!==be&&Yt!==fe&&Yt!==ge&&Yt!==E&&Yt!==le&&(vr+=1),un.push(["word",mr.slice(Vt,vr+1),jt,Vt-ut,jt,vr-ut,Vt]),Vt=vr;break;default:Yt===pe&&mr.charCodeAt(Vt+1)===ct?(vr=mr.indexOf("*/",Vt+2)+1,vr===0&&Tr("comment","*/"),ni=mr.slice(Vt,vr+1),mi=ni.split(`
|
|
177
|
+
`),Yn=mi.length-1,Yn>0?(Pn=jt+Yn,Wr=vr-mi[Yn].length):(Pn=jt,Wr=ut),un.push(["comment",ni,jt,Vt-ut,Pn,vr-Wr,Vt]),ut=Wr,jt=Pn,Vt=vr):(sn.lastIndex=Vt+1,sn.test(mr),sn.lastIndex===0?vr=mr.length-1:vr=sn.lastIndex-2,un.push(["word",mr.slice(Vt,vr+1),jt,Vt-ut,jt,vr-ut,Vt]),Vt=vr);break}Vt++}return un}te.exports=v.default}}),qu=at({"node_modules/postcss-selector-parser/dist/parser.js"(v,te){vt(),v.__esModule=!0;var G=function(){function ut(jt,Vt){for(var Tr=0;Tr<Vt.length;Tr++){var st=Vt[Tr];st.enumerable=st.enumerable||!1,st.configurable=!0,"value"in st&&(st.writable=!0),Object.defineProperty(jt,st.key,st)}}return function(jt,Vt,Tr){return Vt&&ut(jt.prototype,Vt),Tr&&ut(jt,Tr),jt}}(),q=Ru(),Z=wn(q),pe=Ws(),fe=wn(pe),be=zu(),le=wn(be),ge=Wu(),E=wn(ge),g=$s(),Q=wn(g),U=$u(),xe=wn(U),me=xs(),je=wn(me),Ne=gi(),Ce=wn(Ne),Ke=Al(),Ye=wn(Ke),ct=Sl(),cr=wn(ct),Br=Fl(),jr=wn(Br),an=ns(),sn=wn(an),xn=Cs(),en=wn(xn),un=Es(),mr=wn(un),Yt=Io(),vr=wn(Yt),Jt=Uu(),mi=wn(Jt),Yn=Vu(),ni=wn(Yn),Un=Ri(),Pn=Wr(Un);function Wr(ut){if(ut&&ut.__esModule)return ut;var jt={};if(ut!=null)for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&(jt[Vt]=ut[Vt]);return jt.default=ut,jt}function wn(ut){return ut&&ut.__esModule?ut:{default:ut}}function dn(ut,jt){if(!(ut instanceof jt))throw new TypeError("Cannot call a class as a function")}var Cn=function(){function ut(jt){dn(this,ut),this.input=jt,this.lossy=jt.options.lossless===!1,this.position=0,this.root=new E.default;var Vt=new Q.default;return this.root.append(Vt),this.current=Vt,this.lossy?this.tokens=(0,ni.default)({safe:jt.safe,css:jt.css.trim()}):this.tokens=(0,ni.default)(jt),this.loop()}return ut.prototype.attribute=function(){var jt="",Vt=void 0,Tr=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)jt+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~jt.indexOf("]")&&this.error("Expected a closing square bracket.");var st=jt.split(/((?:[*~^$|]?=))([^]*)/),Xr=st[0].split(/(\|)/g),zr={operator:st[1],value:st[2],source:{start:{line:Tr[2],column:Tr[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Tr[4]};if(Xr.length>1?(Xr[0]===""&&(Xr[0]=!0),zr.attribute=this.parseValue(Xr[2]),zr.namespace=this.parseNamespace(Xr[0])):zr.attribute=this.parseValue(st[0]),Vt=new sn.default(zr),st[2]){var ji=st[2].split(/(\s+i\s*?)$/),Fi=ji[0].trim();Vt.value=this.lossy?Fi:ji[0],ji[1]&&(Vt.insensitive=!0,this.lossy||(Vt.raws.insensitive=ji[1])),Vt.quoted=Fi[0]==="'"||Fi[0]==='"',Vt.raws.unquoted=Vt.quoted?Fi.slice(1,-1):Fi}this.newNode(Vt),this.position++},ut.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var jt=new mr.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(jt.spaces.before=this.parseSpace(this.currToken[1]),jt.source.start.line=this.nextToken[2],jt.source.start.column=this.nextToken[3],jt.source.end.column=this.nextToken[3],jt.source.end.line=this.nextToken[2],jt.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?jt.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?jt.value=this.currToken[1]:this.currToken[0]==="space"&&(jt.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(jt)},ut.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var jt=new Q.default;this.current.parent.append(jt),this.current=jt,this.position++},ut.prototype.comment=function(){var jt=new je.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(jt),this.position++},ut.prototype.error=function(jt){throw new this.input.error(jt)},ut.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},ut.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},ut.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},ut.prototype.namespace=function(){var jt=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(jt);if(this.nextToken[0]==="*")return this.position++,this.universal(jt)},ut.prototype.nesting=function(){this.newNode(new vr.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++},ut.prototype.parentheses=function(){var jt=this.current.last;if(jt&&jt.type===Pn.PSEUDO){var Vt=new Q.default,Tr=this.current;jt.append(Vt),this.current=Vt;var st=1;for(this.position++;this.position<this.tokens.length&&st;)this.currToken[0]==="("&&st++,this.currToken[0]===")"&&st--,st?this.parse():(Vt.parent.source.end.line=this.currToken[2],Vt.parent.source.end.column=this.currToken[3],this.position++);st&&this.error("Expected closing parenthesis."),this.current=Tr}else{var Xr=1;for(this.position++,jt.value+="(";this.position<this.tokens.length&&Xr;)this.currToken[0]==="("&&Xr++,this.currToken[0]===")"&&Xr--,jt.value+=this.parseParenthesisToken(this.currToken),this.position++;Xr&&this.error("Expected closing parenthesis.")}},ut.prototype.pseudo=function(){for(var jt=this,Vt="",Tr=this.currToken;this.currToken&&this.currToken[0]===":";)Vt+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var st=void 0;this.splitWord(!1,function(Xr,zr){Vt+=Xr,st=new jr.default({value:Vt,source:{start:{line:Tr[2],column:Tr[3]},end:{line:jt.currToken[4],column:jt.currToken[5]}},sourceIndex:Tr[4]}),jt.newNode(st),zr>1&&jt.nextToken&&jt.nextToken[0]==="("&&jt.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},ut.prototype.space=function(){var jt=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(jt[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(jt[1]),this.position++):this.combinator()},ut.prototype.string=function(){var jt=this.currToken;this.newNode(new cr.default({value:this.currToken[1],source:{start:{line:jt[2],column:jt[3]},end:{line:jt[4],column:jt[5]}},sourceIndex:jt[6]})),this.position++},ut.prototype.universal=function(jt){var Vt=this.nextToken;if(Vt&&Vt[1]==="|")return this.position++,this.namespace();this.newNode(new en.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),jt),this.position++},ut.prototype.splitWord=function(jt,Vt){for(var Tr=this,st=this.nextToken,Xr=this.currToken[1];st&&st[0]==="word";){this.position++;var zr=this.currToken[1];if(Xr+=zr,zr.lastIndexOf("\\")===zr.length-1){var ji=this.nextToken;ji&&ji[0]==="space"&&(Xr+=this.parseSpace(ji[1]," "),this.position++)}st=this.nextToken}var Fi=(0,fe.default)(Xr,"."),si=(0,fe.default)(Xr,"#"),Zi=(0,fe.default)(Xr,"#{");Zi.length&&(si=si.filter(function(ki){return!~Zi.indexOf(ki)}));var Ji=(0,mi.default)((0,le.default)((0,Z.default)([[0],Fi,si])));Ji.forEach(function(ki,eo){var Li=Ji[eo+1]||Xr.length,wi=Xr.slice(ki,Li);if(eo===0&&Vt)return Vt.call(Tr,wi,Ji.length);var Ti=void 0;~Fi.indexOf(ki)?Ti=new xe.default({value:wi.slice(1),source:{start:{line:Tr.currToken[2],column:Tr.currToken[3]+ki},end:{line:Tr.currToken[4],column:Tr.currToken[3]+(Li-1)}},sourceIndex:Tr.currToken[6]+Ji[eo]}):~si.indexOf(ki)?Ti=new Ce.default({value:wi.slice(1),source:{start:{line:Tr.currToken[2],column:Tr.currToken[3]+ki},end:{line:Tr.currToken[4],column:Tr.currToken[3]+(Li-1)}},sourceIndex:Tr.currToken[6]+Ji[eo]}):Ti=new Ye.default({value:wi,source:{start:{line:Tr.currToken[2],column:Tr.currToken[3]+ki},end:{line:Tr.currToken[4],column:Tr.currToken[3]+(Li-1)}},sourceIndex:Tr.currToken[6]+Ji[eo]}),Tr.newNode(Ti,jt)}),this.position++},ut.prototype.word=function(jt){var Vt=this.nextToken;return Vt&&Vt[1]==="|"?(this.position++,this.namespace()):this.splitWord(jt)},ut.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},ut.prototype.parse=function(jt){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":jt&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},ut.prototype.parseNamespace=function(jt){if(this.lossy&&typeof jt=="string"){var Vt=jt.trim();return Vt.length?Vt:!0}return jt},ut.prototype.parseSpace=function(jt,Vt){return this.lossy?Vt||"":jt},ut.prototype.parseValue=function(jt){return this.lossy&&jt&&typeof jt=="string"?jt.trim():jt},ut.prototype.parseParenthesisToken=function(jt){return this.lossy?jt[0]==="space"?this.parseSpace(jt[1]," "):this.parseValue(jt[1]):jt[1]},ut.prototype.newNode=function(jt,Vt){return Vt&&(jt.namespace=this.parseNamespace(Vt)),this.spaces&&(jt.spaces.before=this.spaces,this.spaces=""),this.current.append(jt)},G(ut,[{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]}}]),ut}();v.default=Cn,te.exports=v.default}}),ws=at({"node_modules/postcss-selector-parser/dist/processor.js"(v,te){vt(),v.__esModule=!0;var G=function(){function le(ge,E){for(var g=0;g<E.length;g++){var Q=E[g];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(ge,Q.key,Q)}}return function(ge,E,g){return E&&le(ge.prototype,E),g&&le(ge,g),ge}}(),q=qu(),Z=pe(q);function pe(le){return le&&le.__esModule?le:{default:le}}function fe(le,ge){if(!(le instanceof ge))throw new TypeError("Cannot call a class as a function")}var be=function(){function le(ge){return fe(this,le),this.func=ge||function(){},this}return le.prototype.process=function(ge){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},g=new Z.default({css:ge,error:function(Q){throw new Error(Q)},options:E});return this.res=g,this.func(g),this},G(le,[{key:"result",get:function(){return String(this.res)}}]),le}();v.default=be,te.exports=v.default}}),go=at({"node_modules/postcss-selector-parser/dist/index.js"(v,te){vt(),v.__esModule=!0;var G=ws(),q=Yt(G),Z=ns(),pe=Yt(Z),fe=$u(),be=Yt(fe),le=Es(),ge=Yt(le),E=xs(),g=Yt(E),Q=gi(),U=Yt(Q),xe=Io(),me=Yt(xe),je=Fl(),Ne=Yt(je),Ce=Wu(),Ke=Yt(Ce),Ye=$s(),ct=Yt(Ye),cr=Sl(),Br=Yt(cr),jr=Al(),an=Yt(jr),sn=Cs(),xn=Yt(sn),en=Ri(),un=mr(en);function mr(Jt){if(Jt&&Jt.__esModule)return Jt;var mi={};if(Jt!=null)for(var Yn in Jt)Object.prototype.hasOwnProperty.call(Jt,Yn)&&(mi[Yn]=Jt[Yn]);return mi.default=Jt,mi}function Yt(Jt){return Jt&&Jt.__esModule?Jt:{default:Jt}}var vr=function(Jt){return new q.default(Jt)};vr.attribute=function(Jt){return new pe.default(Jt)},vr.className=function(Jt){return new be.default(Jt)},vr.combinator=function(Jt){return new ge.default(Jt)},vr.comment=function(Jt){return new g.default(Jt)},vr.id=function(Jt){return new U.default(Jt)},vr.nesting=function(Jt){return new me.default(Jt)},vr.pseudo=function(Jt){return new Ne.default(Jt)},vr.root=function(Jt){return new Ke.default(Jt)},vr.selector=function(Jt){return new ct.default(Jt)},vr.string=function(Jt){return new Br.default(Jt)},vr.tag=function(Jt){return new an.default(Jt)},vr.universal=function(Jt){return new xn.default(Jt)},Object.keys(un).forEach(function(Jt){Jt!=="__esModule"&&(vr[Jt]=un[Jt])}),v.default=vr,te.exports=v.default}}),qi=at({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0});function te(G){this.after=G.after,this.before=G.before,this.type=G.type,this.value=G.value,this.sourceIndex=G.sourceIndex}v.default=te}}),qn=at({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0});var te=qi(),G=q(te);function q(pe){return pe&&pe.__esModule?pe:{default:pe}}function Z(pe){var fe=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(be){be.parent=fe})}Z.prototype=Object.create(G.default.prototype),Z.constructor=G.default,Z.prototype.walk=function(pe,fe){for(var be=typeof pe=="string"||pe instanceof RegExp,le=be?fe:pe,ge=typeof pe=="string"?new RegExp(pe):pe,E=0;E<this.nodes.length;E++){var g=this.nodes[E],Q=be?ge.test(g.type):!0;if(Q&&le&&le(g,E,this.nodes)===!1||g.nodes&&g.walk(pe,fe)===!1)return!1}return!0},Z.prototype.each=function(){for(var pe=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],fe=0;fe<this.nodes.length;fe++){var be=this.nodes[fe];if(pe(be,fe,this.nodes)===!1)return!1}return!0},v.default=Z}}),lo=at({"node_modules/postcss-media-query-parser/dist/parsers.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0}),v.parseMediaFeature=fe,v.parseMediaQuery=be,v.parseMediaList=le;var te=qi(),G=pe(te),q=qn(),Z=pe(q);function pe(ge){return ge&&ge.__esModule?ge:{default:ge}}function fe(ge){var E=arguments.length<=1||arguments[1]===void 0?0:arguments[1],g=[{mode:"normal",character:null}],Q=[],U=0,xe="",me=null,je=null,Ne=E,Ce=ge;ge[0]==="("&&ge[ge.length-1]===")"&&(Ce=ge.substring(1,ge.length-1),Ne++);for(var Ke=0;Ke<Ce.length;Ke++){var Ye=Ce[Ke];if((Ye==="'"||Ye==='"')&&(g[U].isCalculationEnabled===!0?(g.push({mode:"string",isCalculationEnabled:!1,character:Ye}),U++):g[U].mode==="string"&&g[U].character===Ye&&Ce[Ke-1]!=="\\"&&(g.pop(),U--)),Ye==="{"?(g.push({mode:"interpolation",isCalculationEnabled:!0}),U++):Ye==="}"&&(g.pop(),U--),g[U].mode==="normal"&&Ye===":"){var ct=Ce.substring(Ke+1);je={type:"value",before:/^(\s*)/.exec(ct)[1],after:/(\s*)$/.exec(ct)[1],value:ct.trim()},je.sourceIndex=je.before.length+Ke+1+Ne,me={type:"colon",sourceIndex:Ke+Ne,after:je.before,value:":"};break}xe+=Ye}return xe={type:"media-feature",before:/^(\s*)/.exec(xe)[1],after:/(\s*)$/.exec(xe)[1],value:xe.trim()},xe.sourceIndex=xe.before.length+Ne,Q.push(xe),me!==null&&(me.before=xe.after,Q.push(me)),je!==null&&Q.push(je),Q}function be(ge){var E=arguments.length<=1||arguments[1]===void 0?0:arguments[1],g=[],Q=0,U=!1,xe=void 0;function me(){return{before:"",after:"",value:""}}xe=me();for(var je=0;je<ge.length;je++){var Ne=ge[je];U?(xe.value+=Ne,(Ne==="{"||Ne==="(")&&Q++,(Ne===")"||Ne==="}")&&Q--):Ne.search(/\s/)!==-1?xe.before+=Ne:(Ne==="("&&(xe.type="media-feature-expression",Q++),xe.value=Ne,xe.sourceIndex=E+je,U=!0),U&&Q===0&&(Ne===")"||je===ge.length-1||ge[je+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(xe.value)!==-1&&(xe.type="keyword"),xe.type==="media-feature-expression"&&(xe.nodes=fe(xe.value,xe.sourceIndex)),g.push(Array.isArray(xe.nodes)?new Z.default(xe):new G.default(xe)),xe=me(),U=!1)}for(var Ce=0;Ce<g.length;Ce++)if(xe=g[Ce],Ce>0&&(g[Ce-1].after=xe.before),xe.type===void 0){if(Ce>0){if(g[Ce-1].type==="media-feature-expression"){xe.type="keyword";continue}if(g[Ce-1].value==="not"||g[Ce-1].value==="only"){xe.type="media-type";continue}if(g[Ce-1].value==="and"){xe.type="media-feature-expression";continue}g[Ce-1].type==="media-type"&&(g[Ce+1]?xe.type=g[Ce+1].type==="media-feature-expression"?"keyword":"media-feature-expression":xe.type="media-feature-expression")}if(Ce===0){if(!g[Ce+1]){xe.type="media-type";continue}if(g[Ce+1]&&(g[Ce+1].type==="media-feature-expression"||g[Ce+1].type==="keyword")){xe.type="media-type";continue}if(g[Ce+2]){if(g[Ce+2].type==="media-feature-expression"){xe.type="media-type",g[Ce+1].type="keyword";continue}if(g[Ce+2].type==="keyword"){xe.type="keyword",g[Ce+1].type="media-type";continue}}if(g[Ce+3]&&g[Ce+3].type==="media-feature-expression"){xe.type="keyword",g[Ce+1].type="media-type",g[Ce+2].type="keyword";continue}}}return g}function le(ge){var E=[],g=0,Q=0,U=/^(\s*)url\s*\(/.exec(ge);if(U!==null){for(var xe=U[0].length,me=1;me>0;){var je=ge[xe];je==="("&&me++,je===")"&&me--,xe++}E.unshift(new G.default({type:"url",value:ge.substring(0,xe).trim(),sourceIndex:U[1].length,before:U[1],after:/^(\s*)/.exec(ge.substring(xe))[1]})),g=xe}for(var Ne=g;Ne<ge.length;Ne++){var Ce=ge[Ne];if(Ce==="("&&Q++,Ce===")"&&Q--,Q===0&&Ce===","){var Ke=ge.substring(g,Ne),Ye=/^(\s*)/.exec(Ke)[1];E.push(new Z.default({type:"media-query",value:Ke.trim(),sourceIndex:g+Ye.length,nodes:be(Ke,g),before:Ye,after:/(\s*)$/.exec(Ke)[1]})),g=Ne+1}}var ct=ge.substring(g),cr=/^(\s*)/.exec(ct)[1];return E.push(new Z.default({type:"media-query",value:ct.trim(),sourceIndex:g+cr.length,nodes:be(ct,g),before:cr,after:/(\s*)$/.exec(ct)[1]})),E}}}),Ga=at({"node_modules/postcss-media-query-parser/dist/index.js"(v){vt(),Object.defineProperty(v,"__esModule",{value:!0}),v.default=pe;var te=qn(),G=Z(te),q=lo();function Z(fe){return fe&&fe.__esModule?fe:{default:fe}}function pe(fe){return new G.default({nodes:(0,q.parseMediaList)(fe),type:"media-query-list",value:fe.trim()})}}}),kl={};$r(kl,{basename:()=>Ka,default:()=>Xu,delimiter:()=>As,dirname:()=>la,extname:()=>ca,isAbsolute:()=>ua,join:()=>Us,normalize:()=>Xa,relative:()=>Gu,resolve:()=>is,sep:()=>pa});function Ju(v,te){for(var G=0,q=v.length-1;q>=0;q--){var Z=v[q];Z==="."?v.splice(q,1):Z===".."?(v.splice(q,1),G++):G&&(v.splice(q,1),G--)}if(te)for(;G--;G)v.unshift("..");return v}function is(){for(var v="",te=!1,G=arguments.length-1;G>=-1&&!te;G--){var q=G>=0?arguments[G]:"/";if(typeof q!="string")throw new TypeError("Arguments to path.resolve must be strings");!q||(v=q+"/"+v,te=q.charAt(0)==="/")}return v=Ju(Vs(v.split("/"),function(Z){return!!Z}),!te).join("/"),(te?"/":"")+v||"."}function Xa(v){var te=ua(v),G=Ku(v,-1)==="/";return v=Ju(Vs(v.split("/"),function(q){return!!q}),!te).join("/"),!v&&!te&&(v="."),v&&G&&(v+="/"),(te?"/":"")+v}function ua(v){return v.charAt(0)==="/"}function Us(){var v=Array.prototype.slice.call(arguments,0);return Xa(Vs(v,function(te,G){if(typeof te!="string")throw new TypeError("Arguments to path.join must be strings");return te}).join("/"))}function Gu(v,te){v=is(v).substr(1),te=is(te).substr(1);function G(ge){for(var E=0;E<ge.length&&ge[E]==="";E++);for(var g=ge.length-1;g>=0&&ge[g]==="";g--);return E>g?[]:ge.slice(E,g-E+1)}for(var q=G(v.split("/")),Z=G(te.split("/")),pe=Math.min(q.length,Z.length),fe=pe,be=0;be<pe;be++)if(q[be]!==Z[be]){fe=be;break}for(var le=[],be=fe;be<q.length;be++)le.push("..");return le=le.concat(Z.slice(fe)),le.join("/")}function la(v){var te=ss(v),G=te[0],q=te[1];return!G&&!q?".":(q&&(q=q.substr(0,q.length-1)),G+q)}function Ka(v,te){var G=ss(v)[2];return te&&G.substr(-1*te.length)===te&&(G=G.substr(0,G.length-te.length)),G}function ca(v){return ss(v)[3]}function Vs(v,te){if(v.filter)return v.filter(te);for(var G=[],q=0;q<v.length;q++)te(v[q],q,v)&&G.push(v[q]);return G}var os,ss,pa,As,Xu,Ku,xc=yr({"node-modules-polyfills:path"(){vt(),os=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ss=function(v){return os.exec(v).slice(1)},pa="/",As=":",Xu={extname:ca,basename:Ka,dirname:la,sep:pa,delimiter:As,relative:Gu,join:Us,isAbsolute:ua,normalize:Xa,resolve:is},Ku="ab".substr(-1)==="b"?function(v,te,G){return v.substr(te,G)}:function(v,te,G){return te<0&&(te=v.length+te),v.substr(te,G)}}}),Qu=at({"node-modules-polyfills-commonjs:path"(v,te){vt();var G=(xc(),En(kl));if(G&&G.default){te.exports=G.default;for(let q in G)te.exports[q]=G[q]}else G&&(te.exports=G)}}),fa=at({"node_modules/picocolors/picocolors.browser.js"(v,te){vt();var G=String,q=function(){return{isColorSupported:!1,reset:G,bold:G,dim:G,italic:G,underline:G,inverse:G,hidden:G,strikethrough:G,black:G,red:G,green:G,yellow:G,blue:G,magenta:G,cyan:G,white:G,gray:G,bgBlack:G,bgRed:G,bgGreen:G,bgYellow:G,bgBlue:G,bgMagenta:G,bgCyan:G,bgWhite:G}};te.exports=q(),te.exports.createColors=q}}),Go=at({"(disabled):node_modules/postcss/lib/terminal-highlight"(){vt()}}),as=at({"node_modules/postcss/lib/css-syntax-error.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=Z(fa()),q=Z(Go());function Z(me){return me&&me.__esModule?me:{default:me}}function pe(me){if(me===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me}function fe(me,je){me.prototype=Object.create(je.prototype),me.prototype.constructor=me,me.__proto__=je}function be(me){var je=typeof Map=="function"?new Map:void 0;return be=function(Ne){if(Ne===null||!E(Ne))return Ne;if(typeof Ne!="function")throw new TypeError("Super expression must either be null or a function");if(typeof je<"u"){if(je.has(Ne))return je.get(Ne);je.set(Ne,Ce)}function Ce(){return le(Ne,arguments,Q(this).constructor)}return Ce.prototype=Object.create(Ne.prototype,{constructor:{value:Ce,enumerable:!1,writable:!0,configurable:!0}}),g(Ce,Ne)},be(me)}function le(me,je,Ne){return ge()?le=Reflect.construct:le=function(Ce,Ke,Ye){var ct=[null];ct.push.apply(ct,Ke);var cr=Function.bind.apply(Ce,ct),Br=new cr;return Ye&&g(Br,Ye.prototype),Br},le.apply(null,arguments)}function ge(){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 E(me){return Function.toString.call(me).indexOf("[native code]")!==-1}function g(me,je){return g=Object.setPrototypeOf||function(Ne,Ce){return Ne.__proto__=Ce,Ne},g(me,je)}function Q(me){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(je){return je.__proto__||Object.getPrototypeOf(je)},Q(me)}var U=function(me){fe(je,me);function je(Ce,Ke,Ye,ct,cr,Br){var jr;return jr=me.call(this,Ce)||this,jr.name="CssSyntaxError",jr.reason=Ce,cr&&(jr.file=cr),ct&&(jr.source=ct),Br&&(jr.plugin=Br),typeof Ke<"u"&&typeof Ye<"u"&&(jr.line=Ke,jr.column=Ye),jr.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(pe(jr),je),jr}var Ne=je.prototype;return Ne.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},Ne.showSourceCode=function(Ce){var Ke=this;if(!this.source)return"";var Ye=this.source;q.default&&(typeof Ce>"u"&&(Ce=G.default.isColorSupported),Ce&&(Ye=(0,q.default)(Ye)));var ct=Ye.split(/\r?\n/),cr=Math.max(this.line-3,0),Br=Math.min(this.line+2,ct.length),jr=String(Br).length;function an(xn){return Ce&&G.default.red?G.default.red(G.default.bold(xn)):xn}function sn(xn){return Ce&&G.default.gray?G.default.gray(xn):xn}return ct.slice(cr,Br).map(function(xn,en){var un=cr+1+en,mr=" "+(" "+un).slice(-jr)+" | ";if(un===Ke.line){var Yt=sn(mr.replace(/\d/g," "))+xn.slice(0,Ke.column-1).replace(/[^\t]/g," ");return an(">")+sn(mr)+xn+`
|
|
178
|
+
`+Yt+an("^")}return" "+sn(mr)+xn}).join(`
|
|
179
|
+
`)},Ne.toString=function(){var Ce=this.showSourceCode();return Ce&&(Ce=`
|
|
180
|
+
|
|
181
|
+
`+Ce+`
|
|
182
|
+
`),this.name+": "+this.message+Ce},je}(be(Error)),xe=U;v.default=xe,te.exports=v.default}}),Yu=at({"node_modules/postcss/lib/previous-map.js"(v,te){vt(),te.exports=class{}}}),us=at({"node_modules/postcss/lib/input.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=pe(Qu()),q=pe(as()),Z=pe(Yu());function pe(g){return g&&g.__esModule?g:{default:g}}function fe(g,Q){for(var U=0;U<Q.length;U++){var xe=Q[U];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(g,xe.key,xe)}}function be(g,Q,U){return Q&&fe(g.prototype,Q),U&&fe(g,U),g}var le=0,ge=function(){function g(U,xe){if(xe===void 0&&(xe={}),U===null||typeof U>"u"||typeof U=="object"&&!U.toString)throw new Error("PostCSS received "+U+" instead of CSS string");this.css=U.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,xe.from&&(/^\w+:\/\//.test(xe.from)||G.default.isAbsolute(xe.from)?this.file=xe.from:this.file=G.default.resolve(xe.from));var me=new Z.default(this.css,xe);if(me.text){this.map=me;var je=me.consumer().file;!this.file&&je&&(this.file=this.mapResolve(je))}this.file||(le+=1,this.id="<input css "+le+">"),this.map&&(this.map.file=this.from)}var Q=g.prototype;return Q.error=function(U,xe,me,je){je===void 0&&(je={});var Ne,Ce=this.origin(xe,me);return Ce?Ne=new q.default(U,Ce.line,Ce.column,Ce.source,Ce.file,je.plugin):Ne=new q.default(U,xe,me,this.css,this.file,je.plugin),Ne.input={line:xe,column:me,source:this.css},this.file&&(Ne.input.file=this.file),Ne},Q.origin=function(U,xe){if(!this.map)return!1;var me=this.map.consumer(),je=me.originalPositionFor({line:U,column:xe});if(!je.source)return!1;var Ne={file:this.mapResolve(je.source),line:je.line,column:je.column},Ce=me.sourceContentFor(je.source);return Ce&&(Ne.source=Ce),Ne},Q.mapResolve=function(U){return/^\w+:\/\//.test(U)?U:G.default.resolve(this.map.consumer().sourceRoot||".",U)},be(g,[{key:"from",get:function(){return this.file||this.id}}]),g}(),E=ge;v.default=E,te.exports=v.default}}),da=at({"node_modules/postcss/lib/stringifier.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G={colon:": ",indent:" ",beforeDecl:`
|
|
183
|
+
`,beforeRule:`
|
|
184
|
+
`,beforeOpen:" ",beforeClose:`
|
|
185
|
+
`,beforeComment:`
|
|
186
|
+
`,after:`
|
|
187
|
+
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function q(fe){return fe[0].toUpperCase()+fe.slice(1)}var Z=function(){function fe(le){this.builder=le}var be=fe.prototype;return be.stringify=function(le,ge){this[le.type](le,ge)},be.root=function(le){this.body(le),le.raws.after&&this.builder(le.raws.after)},be.comment=function(le){var ge=this.raw(le,"left","commentLeft"),E=this.raw(le,"right","commentRight");this.builder("/*"+ge+le.text+E+"*/",le)},be.decl=function(le,ge){var E=this.raw(le,"between","colon"),g=le.prop+E+this.rawValue(le,"value");le.important&&(g+=le.raws.important||" !important"),ge&&(g+=";"),this.builder(g,le)},be.rule=function(le){this.block(le,this.rawValue(le,"selector")),le.raws.ownSemicolon&&this.builder(le.raws.ownSemicolon,le,"end")},be.atrule=function(le,ge){var E="@"+le.name,g=le.params?this.rawValue(le,"params"):"";if(typeof le.raws.afterName<"u"?E+=le.raws.afterName:g&&(E+=" "),le.nodes)this.block(le,E+g);else{var Q=(le.raws.between||"")+(ge?";":"");this.builder(E+g+Q,le)}},be.body=function(le){for(var ge=le.nodes.length-1;ge>0&&le.nodes[ge].type==="comment";)ge-=1;for(var E=this.raw(le,"semicolon"),g=0;g<le.nodes.length;g++){var Q=le.nodes[g],U=this.raw(Q,"before");U&&this.builder(U),this.stringify(Q,ge!==g||E)}},be.block=function(le,ge){var E=this.raw(le,"between","beforeOpen");this.builder(ge+E+"{",le,"start");var g;le.nodes&&le.nodes.length?(this.body(le),g=this.raw(le,"after")):g=this.raw(le,"after","emptyBody"),g&&this.builder(g),this.builder("}",le,"end")},be.raw=function(le,ge,E){var g;if(E||(E=ge),ge&&(g=le.raws[ge],typeof g<"u"))return g;var Q=le.parent;if(E==="before"&&(!Q||Q.type==="root"&&Q.first===le))return"";if(!Q)return G[E];var U=le.root();if(U.rawCache||(U.rawCache={}),typeof U.rawCache[E]<"u")return U.rawCache[E];if(E==="before"||E==="after")return this.beforeAfter(le,E);var xe="raw"+q(E);return this[xe]?g=this[xe](U,le):U.walk(function(me){if(g=me.raws[ge],typeof g<"u")return!1}),typeof g>"u"&&(g=G[E]),U.rawCache[E]=g,g},be.rawSemicolon=function(le){var ge;return le.walk(function(E){if(E.nodes&&E.nodes.length&&E.last.type==="decl"&&(ge=E.raws.semicolon,typeof ge<"u"))return!1}),ge},be.rawEmptyBody=function(le){var ge;return le.walk(function(E){if(E.nodes&&E.nodes.length===0&&(ge=E.raws.after,typeof ge<"u"))return!1}),ge},be.rawIndent=function(le){if(le.raws.indent)return le.raws.indent;var ge;return le.walk(function(E){var g=E.parent;if(g&&g!==le&&g.parent&&g.parent===le&&typeof E.raws.before<"u"){var Q=E.raws.before.split(`
|
|
188
|
+
`);return ge=Q[Q.length-1],ge=ge.replace(/[^\s]/g,""),!1}}),ge},be.rawBeforeComment=function(le,ge){var E;return le.walkComments(function(g){if(typeof g.raws.before<"u")return E=g.raws.before,E.indexOf(`
|
|
189
|
+
`)!==-1&&(E=E.replace(/[^\n]+$/,"")),!1}),typeof E>"u"?E=this.raw(ge,null,"beforeDecl"):E&&(E=E.replace(/[^\s]/g,"")),E},be.rawBeforeDecl=function(le,ge){var E;return le.walkDecls(function(g){if(typeof g.raws.before<"u")return E=g.raws.before,E.indexOf(`
|
|
190
|
+
`)!==-1&&(E=E.replace(/[^\n]+$/,"")),!1}),typeof E>"u"?E=this.raw(ge,null,"beforeRule"):E&&(E=E.replace(/[^\s]/g,"")),E},be.rawBeforeRule=function(le){var ge;return le.walk(function(E){if(E.nodes&&(E.parent!==le||le.first!==E)&&typeof E.raws.before<"u")return ge=E.raws.before,ge.indexOf(`
|
|
191
|
+
`)!==-1&&(ge=ge.replace(/[^\n]+$/,"")),!1}),ge&&(ge=ge.replace(/[^\s]/g,"")),ge},be.rawBeforeClose=function(le){var ge;return le.walk(function(E){if(E.nodes&&E.nodes.length>0&&typeof E.raws.after<"u")return ge=E.raws.after,ge.indexOf(`
|
|
192
|
+
`)!==-1&&(ge=ge.replace(/[^\n]+$/,"")),!1}),ge&&(ge=ge.replace(/[^\s]/g,"")),ge},be.rawBeforeOpen=function(le){var ge;return le.walk(function(E){if(E.type!=="decl"&&(ge=E.raws.between,typeof ge<"u"))return!1}),ge},be.rawColon=function(le){var ge;return le.walkDecls(function(E){if(typeof E.raws.between<"u")return ge=E.raws.between.replace(/[^\s:]/g,""),!1}),ge},be.beforeAfter=function(le,ge){var E;le.type==="decl"?E=this.raw(le,null,"beforeDecl"):le.type==="comment"?E=this.raw(le,null,"beforeComment"):ge==="before"?E=this.raw(le,null,"beforeRule"):E=this.raw(le,null,"beforeClose");for(var g=le.parent,Q=0;g&&g.type!=="root";)Q+=1,g=g.parent;if(E.indexOf(`
|
|
193
|
+
`)!==-1){var U=this.raw(le,null,"indent");if(U.length)for(var xe=0;xe<Q;xe++)E+=U}return E},be.rawValue=function(le,ge){var E=le[ge],g=le.raws[ge];return g&&g.value===E?g.raw:E},fe}(),pe=Z;v.default=pe,te.exports=v.default}}),qs=at({"node_modules/postcss/lib/stringify.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(da());function q(fe){return fe&&fe.__esModule?fe:{default:fe}}function Z(fe,be){var le=new G.default(be);le.stringify(fe)}var pe=Z;v.default=pe,te.exports=v.default}}),Qa=at({"node_modules/postcss/lib/node.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=pe(as()),q=pe(da()),Z=pe(qs());function pe(ge){return ge&&ge.__esModule?ge:{default:ge}}function fe(ge,E){var g=new ge.constructor;for(var Q in ge)if(ge.hasOwnProperty(Q)){var U=ge[Q],xe=typeof U;Q==="parent"&&xe==="object"?E&&(g[Q]=E):Q==="source"?g[Q]=U:U instanceof Array?g[Q]=U.map(function(me){return fe(me,g)}):(xe==="object"&&U!==null&&(U=fe(U)),g[Q]=U)}return g}var be=function(){function ge(g){g===void 0&&(g={}),this.raws={};for(var Q in g)this[Q]=g[Q]}var E=ge.prototype;return E.error=function(g,Q){if(Q===void 0&&(Q={}),this.source){var U=this.positionBy(Q);return this.source.input.error(g,U.line,U.column,Q)}return new G.default(g)},E.warn=function(g,Q,U){var xe={node:this};for(var me in U)xe[me]=U[me];return g.warn(Q,xe)},E.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},E.toString=function(g){g===void 0&&(g=Z.default),g.stringify&&(g=g.stringify);var Q="";return g(this,function(U){Q+=U}),Q},E.clone=function(g){g===void 0&&(g={});var Q=fe(this);for(var U in g)Q[U]=g[U];return Q},E.cloneBefore=function(g){g===void 0&&(g={});var Q=this.clone(g);return this.parent.insertBefore(this,Q),Q},E.cloneAfter=function(g){g===void 0&&(g={});var Q=this.clone(g);return this.parent.insertAfter(this,Q),Q},E.replaceWith=function(){if(this.parent){for(var g=arguments.length,Q=new Array(g),U=0;U<g;U++)Q[U]=arguments[U];for(var xe=0,me=Q;xe<me.length;xe++){var je=me[xe];this.parent.insertBefore(this,je)}this.remove()}return this},E.next=function(){if(this.parent){var g=this.parent.index(this);return this.parent.nodes[g+1]}},E.prev=function(){if(this.parent){var g=this.parent.index(this);return this.parent.nodes[g-1]}},E.before=function(g){return this.parent.insertBefore(this,g),this},E.after=function(g){return this.parent.insertAfter(this,g),this},E.toJSON=function(){var g={};for(var Q in this)if(!!this.hasOwnProperty(Q)&&Q!=="parent"){var U=this[Q];U instanceof Array?g[Q]=U.map(function(xe){return typeof xe=="object"&&xe.toJSON?xe.toJSON():xe}):typeof U=="object"&&U.toJSON?g[Q]=U.toJSON():g[Q]=U}return g},E.raw=function(g,Q){var U=new q.default;return U.raw(this,g,Q)},E.root=function(){for(var g=this;g.parent;)g=g.parent;return g},E.cleanRaws=function(g){delete this.raws.before,delete this.raws.after,g||delete this.raws.between},E.positionInside=function(g){for(var Q=this.toString(),U=this.source.start.column,xe=this.source.start.line,me=0;me<g;me++)Q[me]===`
|
|
194
|
+
`?(U=1,xe+=1):U+=1;return{line:xe,column:U}},E.positionBy=function(g){var Q=this.source.start;if(g.index)Q=this.positionInside(g.index);else if(g.word){var U=this.toString().indexOf(g.word);U!==-1&&(Q=this.positionInside(U))}return Q},ge}(),le=be;v.default=le,te.exports=v.default}}),Mo=at({"node_modules/postcss/lib/comment.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(Qa());function q(be){return be&&be.__esModule?be:{default:be}}function Z(be,le){be.prototype=Object.create(le.prototype),be.prototype.constructor=be,be.__proto__=le}var pe=function(be){Z(le,be);function le(ge){var E;return E=be.call(this,ge)||this,E.type="comment",E}return le}(G.default),fe=pe;v.default=fe,te.exports=v.default}}),Js=at({"node_modules/postcss/lib/declaration.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(Qa());function q(be){return be&&be.__esModule?be:{default:be}}function Z(be,le){be.prototype=Object.create(le.prototype),be.prototype.constructor=be,be.__proto__=le}var pe=function(be){Z(le,be);function le(ge){var E;return E=be.call(this,ge)||this,E.type="decl",E}return le}(G.default),fe=pe;v.default=fe,te.exports=v.default}}),Ro=at({"node_modules/postcss/lib/tokenize.js"(v,te){vt(),v.__esModule=!0,v.default=an;var G="'".charCodeAt(0),q='"'.charCodeAt(0),Z="\\".charCodeAt(0),pe="/".charCodeAt(0),fe=`
|
|
195
|
+
`.charCodeAt(0),be=" ".charCodeAt(0),le="\f".charCodeAt(0),ge=" ".charCodeAt(0),E="\r".charCodeAt(0),g="[".charCodeAt(0),Q="]".charCodeAt(0),U="(".charCodeAt(0),xe=")".charCodeAt(0),me="{".charCodeAt(0),je="}".charCodeAt(0),Ne=";".charCodeAt(0),Ce="*".charCodeAt(0),Ke=":".charCodeAt(0),Ye="@".charCodeAt(0),ct=/[ \n\t\r\f{}()'"\\;/[\]#]/g,cr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Br=/.[\\/("'\n]/,jr=/[a-f0-9]/i;function an(sn,xn){xn===void 0&&(xn={});var en=sn.css.valueOf(),un=xn.ignoreErrors,mr,Yt,vr,Jt,mi,Yn,ni,Un,Pn,Wr,wn,dn,Cn,ut,jt=en.length,Vt=-1,Tr=1,st=0,Xr=[],zr=[];function ji(){return st}function Fi(ki){throw sn.error("Unclosed "+ki,Tr,st-Vt)}function si(){return zr.length===0&&st>=jt}function Zi(ki){if(zr.length)return zr.pop();if(!(st>=jt)){var eo=ki?ki.ignoreUnclosed:!1;switch(mr=en.charCodeAt(st),(mr===fe||mr===le||mr===E&&en.charCodeAt(st+1)!==fe)&&(Vt=st,Tr+=1),mr){case fe:case be:case ge:case E:case le:Yt=st;do Yt+=1,mr=en.charCodeAt(Yt),mr===fe&&(Vt=Yt,Tr+=1);while(mr===be||mr===fe||mr===ge||mr===E||mr===le);ut=["space",en.slice(st,Yt)],st=Yt-1;break;case g:case Q:case me:case je:case Ke:case Ne:case xe:var Li=String.fromCharCode(mr);ut=[Li,Li,Tr,st-Vt];break;case U:if(dn=Xr.length?Xr.pop()[1]:"",Cn=en.charCodeAt(st+1),dn==="url"&&Cn!==G&&Cn!==q&&Cn!==be&&Cn!==fe&&Cn!==ge&&Cn!==le&&Cn!==E){Yt=st;do{if(Wr=!1,Yt=en.indexOf(")",Yt+1),Yt===-1)if(un||eo){Yt=st;break}else Fi("bracket");for(wn=Yt;en.charCodeAt(wn-1)===Z;)wn-=1,Wr=!Wr}while(Wr);ut=["brackets",en.slice(st,Yt+1),Tr,st-Vt,Tr,Yt-Vt],st=Yt}else Yt=en.indexOf(")",st+1),Yn=en.slice(st,Yt+1),Yt===-1||Br.test(Yn)?ut=["(","(",Tr,st-Vt]:(ut=["brackets",Yn,Tr,st-Vt,Tr,Yt-Vt],st=Yt);break;case G:case q:vr=mr===G?"'":'"',Yt=st;do{if(Wr=!1,Yt=en.indexOf(vr,Yt+1),Yt===-1)if(un||eo){Yt=st+1;break}else Fi("string");for(wn=Yt;en.charCodeAt(wn-1)===Z;)wn-=1,Wr=!Wr}while(Wr);Yn=en.slice(st,Yt+1),Jt=Yn.split(`
|
|
196
|
+
`),mi=Jt.length-1,mi>0?(Un=Tr+mi,Pn=Yt-Jt[mi].length):(Un=Tr,Pn=Vt),ut=["string",en.slice(st,Yt+1),Tr,st-Vt,Un,Yt-Pn],Vt=Pn,Tr=Un,st=Yt;break;case Ye:ct.lastIndex=st+1,ct.test(en),ct.lastIndex===0?Yt=en.length-1:Yt=ct.lastIndex-2,ut=["at-word",en.slice(st,Yt+1),Tr,st-Vt,Tr,Yt-Vt],st=Yt;break;case Z:for(Yt=st,ni=!0;en.charCodeAt(Yt+1)===Z;)Yt+=1,ni=!ni;if(mr=en.charCodeAt(Yt+1),ni&&mr!==pe&&mr!==be&&mr!==fe&&mr!==ge&&mr!==E&&mr!==le&&(Yt+=1,jr.test(en.charAt(Yt)))){for(;jr.test(en.charAt(Yt+1));)Yt+=1;en.charCodeAt(Yt+1)===be&&(Yt+=1)}ut=["word",en.slice(st,Yt+1),Tr,st-Vt,Tr,Yt-Vt],st=Yt;break;default:mr===pe&&en.charCodeAt(st+1)===Ce?(Yt=en.indexOf("*/",st+2)+1,Yt===0&&(un||eo?Yt=en.length:Fi("comment")),Yn=en.slice(st,Yt+1),Jt=Yn.split(`
|
|
197
|
+
`),mi=Jt.length-1,mi>0?(Un=Tr+mi,Pn=Yt-Jt[mi].length):(Un=Tr,Pn=Vt),ut=["comment",Yn,Tr,st-Vt,Un,Yt-Pn],Vt=Pn,Tr=Un,st=Yt):(cr.lastIndex=st+1,cr.test(en),cr.lastIndex===0?Yt=en.length-1:Yt=cr.lastIndex-2,ut=["word",en.slice(st,Yt+1),Tr,st-Vt,Tr,Yt-Vt],Xr.push(ut),st=Yt);break}return st++,ut}}function Ji(ki){zr.push(ki)}return{back:Ji,nextToken:Zi,endOfFile:si,position:ji}}te.exports=v.default}}),Ss=at({"node_modules/postcss/lib/parse.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=Z(Za()),q=Z(us());function Z(be){return be&&be.__esModule?be:{default:be}}function pe(be,le){var ge=new q.default(be,le),E=new G.default(ge);try{E.parse()}catch(g){throw g}return E.root}var fe=pe;v.default=fe,te.exports=v.default}}),wo=at({"node_modules/postcss/lib/list.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G={split:function(Z,pe,fe){for(var be=[],le="",ge=!1,E=0,g=!1,Q=!1,U=0;U<Z.length;U++){var xe=Z[U];g?Q?Q=!1:xe==="\\"?Q=!0:xe===g&&(g=!1):xe==='"'||xe==="'"?g=xe:xe==="("?E+=1:xe===")"?E>0&&(E-=1):E===0&&pe.indexOf(xe)!==-1&&(ge=!0),ge?(le!==""&&be.push(le.trim()),le="",ge=!1):le+=xe}return(fe||le!=="")&&be.push(le.trim()),be},space:function(Z){var pe=[" ",`
|
|
198
|
+
`," "];return G.split(Z,pe)},comma:function(Z){return G.split(Z,[","],!0)}},q=G;v.default=q,te.exports=v.default}}),Ya=at({"node_modules/postcss/lib/rule.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=Z(ha()),q=Z(wo());function Z(E){return E&&E.__esModule?E:{default:E}}function pe(E,g){for(var Q=0;Q<g.length;Q++){var U=g[Q];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(E,U.key,U)}}function fe(E,g,Q){return g&&pe(E.prototype,g),Q&&pe(E,Q),E}function be(E,g){E.prototype=Object.create(g.prototype),E.prototype.constructor=E,E.__proto__=g}var le=function(E){be(g,E);function g(Q){var U;return U=E.call(this,Q)||this,U.type="rule",U.nodes||(U.nodes=[]),U}return fe(g,[{key:"selectors",get:function(){return q.default.comma(this.selector)},set:function(Q){var U=this.selector?this.selector.match(/,\s*/):null,xe=U?U[0]:","+this.raw("between","beforeOpen");this.selector=Q.join(xe)}}]),g}(G.default),ge=le;v.default=ge,te.exports=v.default}}),ha=at({"node_modules/postcss/lib/container.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=pe(Js()),q=pe(Mo()),Z=pe(Qa());function pe(me){return me&&me.__esModule?me:{default:me}}function fe(me,je){var Ne;if(typeof Symbol>"u"||me[Symbol.iterator]==null){if(Array.isArray(me)||(Ne=be(me))||je&&me&&typeof me.length=="number"){Ne&&(me=Ne);var Ce=0;return function(){return Ce>=me.length?{done:!0}:{done:!1,value:me[Ce++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
199
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ne=me[Symbol.iterator](),Ne.next.bind(Ne)}function be(me,je){if(me){if(typeof me=="string")return le(me,je);var Ne=Object.prototype.toString.call(me).slice(8,-1);if(Ne==="Object"&&me.constructor&&(Ne=me.constructor.name),Ne==="Map"||Ne==="Set")return Array.from(me);if(Ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ne))return le(me,je)}}function le(me,je){(je==null||je>me.length)&&(je=me.length);for(var Ne=0,Ce=new Array(je);Ne<je;Ne++)Ce[Ne]=me[Ne];return Ce}function ge(me,je){for(var Ne=0;Ne<je.length;Ne++){var Ce=je[Ne];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(me,Ce.key,Ce)}}function E(me,je,Ne){return je&&ge(me.prototype,je),Ne&&ge(me,Ne),me}function g(me,je){me.prototype=Object.create(je.prototype),me.prototype.constructor=me,me.__proto__=je}function Q(me){return me.map(function(je){return je.nodes&&(je.nodes=Q(je.nodes)),delete je.source,je})}var U=function(me){g(je,me);function je(){return me.apply(this,arguments)||this}var Ne=je.prototype;return Ne.push=function(Ce){return Ce.parent=this,this.nodes.push(Ce),this},Ne.each=function(Ce){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var Ke=this.lastEach;if(this.indexes[Ke]=0,!!this.nodes){for(var Ye,ct;this.indexes[Ke]<this.nodes.length&&(Ye=this.indexes[Ke],ct=Ce(this.nodes[Ye],Ye),ct!==!1);)this.indexes[Ke]+=1;return delete this.indexes[Ke],ct}},Ne.walk=function(Ce){return this.each(function(Ke,Ye){var ct;try{ct=Ce(Ke,Ye)}catch(Br){if(Br.postcssNode=Ke,Br.stack&&Ke.source&&/\n\s{4}at /.test(Br.stack)){var cr=Ke.source;Br.stack=Br.stack.replace(/\n\s{4}at /,"$&"+cr.input.from+":"+cr.start.line+":"+cr.start.column+"$&")}throw Br}return ct!==!1&&Ke.walk&&(ct=Ke.walk(Ce)),ct})},Ne.walkDecls=function(Ce,Ke){return Ke?Ce instanceof RegExp?this.walk(function(Ye,ct){if(Ye.type==="decl"&&Ce.test(Ye.prop))return Ke(Ye,ct)}):this.walk(function(Ye,ct){if(Ye.type==="decl"&&Ye.prop===Ce)return Ke(Ye,ct)}):(Ke=Ce,this.walk(function(Ye,ct){if(Ye.type==="decl")return Ke(Ye,ct)}))},Ne.walkRules=function(Ce,Ke){return Ke?Ce instanceof RegExp?this.walk(function(Ye,ct){if(Ye.type==="rule"&&Ce.test(Ye.selector))return Ke(Ye,ct)}):this.walk(function(Ye,ct){if(Ye.type==="rule"&&Ye.selector===Ce)return Ke(Ye,ct)}):(Ke=Ce,this.walk(function(Ye,ct){if(Ye.type==="rule")return Ke(Ye,ct)}))},Ne.walkAtRules=function(Ce,Ke){return Ke?Ce instanceof RegExp?this.walk(function(Ye,ct){if(Ye.type==="atrule"&&Ce.test(Ye.name))return Ke(Ye,ct)}):this.walk(function(Ye,ct){if(Ye.type==="atrule"&&Ye.name===Ce)return Ke(Ye,ct)}):(Ke=Ce,this.walk(function(Ye,ct){if(Ye.type==="atrule")return Ke(Ye,ct)}))},Ne.walkComments=function(Ce){return this.walk(function(Ke,Ye){if(Ke.type==="comment")return Ce(Ke,Ye)})},Ne.append=function(){for(var Ce=arguments.length,Ke=new Array(Ce),Ye=0;Ye<Ce;Ye++)Ke[Ye]=arguments[Ye];for(var ct=0,cr=Ke;ct<cr.length;ct++)for(var Br=cr[ct],jr=this.normalize(Br,this.last),an=fe(jr),sn;!(sn=an()).done;){var xn=sn.value;this.nodes.push(xn)}return this},Ne.prepend=function(){for(var Ce=arguments.length,Ke=new Array(Ce),Ye=0;Ye<Ce;Ye++)Ke[Ye]=arguments[Ye];Ke=Ke.reverse();for(var ct=fe(Ke),cr;!(cr=ct()).done;){for(var Br=cr.value,jr=this.normalize(Br,this.first,"prepend").reverse(),an=fe(jr),sn;!(sn=an()).done;){var xn=sn.value;this.nodes.unshift(xn)}for(var en in this.indexes)this.indexes[en]=this.indexes[en]+jr.length}return this},Ne.cleanRaws=function(Ce){if(me.prototype.cleanRaws.call(this,Ce),this.nodes)for(var Ke=fe(this.nodes),Ye;!(Ye=Ke()).done;){var ct=Ye.value;ct.cleanRaws(Ce)}},Ne.insertBefore=function(Ce,Ke){Ce=this.index(Ce);for(var Ye=Ce===0?"prepend":!1,ct=this.normalize(Ke,this.nodes[Ce],Ye).reverse(),cr=fe(ct),Br;!(Br=cr()).done;){var jr=Br.value;this.nodes.splice(Ce,0,jr)}var an;for(var sn in this.indexes)an=this.indexes[sn],Ce<=an&&(this.indexes[sn]=an+ct.length);return this},Ne.insertAfter=function(Ce,Ke){Ce=this.index(Ce);for(var Ye=this.normalize(Ke,this.nodes[Ce]).reverse(),ct=fe(Ye),cr;!(cr=ct()).done;){var Br=cr.value;this.nodes.splice(Ce+1,0,Br)}var jr;for(var an in this.indexes)jr=this.indexes[an],Ce<jr&&(this.indexes[an]=jr+Ye.length);return this},Ne.removeChild=function(Ce){Ce=this.index(Ce),this.nodes[Ce].parent=void 0,this.nodes.splice(Ce,1);var Ke;for(var Ye in this.indexes)Ke=this.indexes[Ye],Ke>=Ce&&(this.indexes[Ye]=Ke-1);return this},Ne.removeAll=function(){for(var Ce=fe(this.nodes),Ke;!(Ke=Ce()).done;){var Ye=Ke.value;Ye.parent=void 0}return this.nodes=[],this},Ne.replaceValues=function(Ce,Ke,Ye){return Ye||(Ye=Ke,Ke={}),this.walkDecls(function(ct){Ke.props&&Ke.props.indexOf(ct.prop)===-1||Ke.fast&&ct.value.indexOf(Ke.fast)===-1||(ct.value=ct.value.replace(Ce,Ye))}),this},Ne.every=function(Ce){return this.nodes.every(Ce)},Ne.some=function(Ce){return this.nodes.some(Ce)},Ne.index=function(Ce){return typeof Ce=="number"?Ce:this.nodes.indexOf(Ce)},Ne.normalize=function(Ce,Ke){var Ye=this;if(typeof Ce=="string"){var ct=Ss();Ce=Q(ct(Ce).nodes)}else if(Array.isArray(Ce)){Ce=Ce.slice(0);for(var cr=fe(Ce),Br;!(Br=cr()).done;){var jr=Br.value;jr.parent&&jr.parent.removeChild(jr,"ignore")}}else if(Ce.type==="root"){Ce=Ce.nodes.slice(0);for(var an=fe(Ce),sn;!(sn=an()).done;){var xn=sn.value;xn.parent&&xn.parent.removeChild(xn,"ignore")}}else if(Ce.type)Ce=[Ce];else if(Ce.prop){if(typeof Ce.value>"u")throw new Error("Value field is missed in node creation");typeof Ce.value!="string"&&(Ce.value=String(Ce.value)),Ce=[new G.default(Ce)]}else if(Ce.selector){var en=Ya();Ce=[new en(Ce)]}else if(Ce.name){var un=ga();Ce=[new un(Ce)]}else if(Ce.text)Ce=[new q.default(Ce)];else throw new Error("Unknown node type in node creation");var mr=Ce.map(function(Yt){return Yt.parent&&Yt.parent.removeChild(Yt),typeof Yt.raws.before>"u"&&Ke&&typeof Ke.raws.before<"u"&&(Yt.raws.before=Ke.raws.before.replace(/[^\s]/g,"")),Yt.parent=Ye,Yt});return mr},E(je,[{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]}}]),je}(Z.default),xe=U;v.default=xe,te.exports=v.default}}),ga=at({"node_modules/postcss/lib/at-rule.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(ha());function q(be){return be&&be.__esModule?be:{default:be}}function Z(be,le){be.prototype=Object.create(le.prototype),be.prototype.constructor=be,be.__proto__=le}var pe=function(be){Z(le,be);function le(E){var g;return g=be.call(this,E)||this,g.type="atrule",g}var ge=le.prototype;return ge.append=function(){var E;this.nodes||(this.nodes=[]);for(var g=arguments.length,Q=new Array(g),U=0;U<g;U++)Q[U]=arguments[U];return(E=be.prototype.append).call.apply(E,[this].concat(Q))},ge.prepend=function(){var E;this.nodes||(this.nodes=[]);for(var g=arguments.length,Q=new Array(g),U=0;U<g;U++)Q[U]=arguments[U];return(E=be.prototype.prepend).call.apply(E,[this].concat(Q))},le}(G.default),fe=pe;v.default=fe,te.exports=v.default}}),Cc=at({"node_modules/postcss/lib/map-generator.js"(v,te){vt(),te.exports=class{generate(){}}}}),Fs=at({"node_modules/postcss/lib/warn-once.js"(v,te){vt(),v.__esModule=!0,v.default=q;var G={};function q(Z){G[Z]||(G[Z]=!0,typeof console<"u"&&console.warn&&console.warn(Z))}te.exports=v.default}}),zi=at({"node_modules/postcss/lib/warning.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=function(){function Z(fe,be){if(be===void 0&&(be={}),this.type="warning",this.text=fe,be.node&&be.node.source){var le=be.node.positionBy(be);this.line=le.line,this.column=le.column}for(var ge in be)this[ge]=be[ge]}var pe=Z.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},Z}(),q=G;v.default=q,te.exports=v.default}}),ma=at({"node_modules/postcss/lib/result.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(zi());function q(le){return le&&le.__esModule?le:{default:le}}function Z(le,ge){for(var E=0;E<ge.length;E++){var g=ge[E];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(le,g.key,g)}}function pe(le,ge,E){return ge&&Z(le.prototype,ge),E&&Z(le,E),le}var fe=function(){function le(E,g,Q){this.processor=E,this.messages=[],this.root=g,this.opts=Q,this.css=void 0,this.map=void 0}var ge=le.prototype;return ge.toString=function(){return this.css},ge.warn=function(E,g){g===void 0&&(g={}),g.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(g.plugin=this.lastPlugin.postcssPlugin);var Q=new G.default(E,g);return this.messages.push(Q),Q},ge.warnings=function(){return this.messages.filter(function(E){return E.type==="warning"})},pe(le,[{key:"content",get:function(){return this.css}}]),le}(),be=fe;v.default=be,te.exports=v.default}}),Zu=at({"node_modules/postcss/lib/lazy-result.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=fe(Cc()),q=fe(qs());fe(Fs());var Z=fe(ma()),pe=fe(Ss());function fe(me){return me&&me.__esModule?me:{default:me}}function be(me,je){var Ne;if(typeof Symbol>"u"||me[Symbol.iterator]==null){if(Array.isArray(me)||(Ne=le(me))||je&&me&&typeof me.length=="number"){Ne&&(me=Ne);var Ce=0;return function(){return Ce>=me.length?{done:!0}:{done:!1,value:me[Ce++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
200
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ne=me[Symbol.iterator](),Ne.next.bind(Ne)}function le(me,je){if(me){if(typeof me=="string")return ge(me,je);var Ne=Object.prototype.toString.call(me).slice(8,-1);if(Ne==="Object"&&me.constructor&&(Ne=me.constructor.name),Ne==="Map"||Ne==="Set")return Array.from(me);if(Ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ne))return ge(me,je)}}function ge(me,je){(je==null||je>me.length)&&(je=me.length);for(var Ne=0,Ce=new Array(je);Ne<je;Ne++)Ce[Ne]=me[Ne];return Ce}function E(me,je){for(var Ne=0;Ne<je.length;Ne++){var Ce=je[Ne];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(me,Ce.key,Ce)}}function g(me,je,Ne){return je&&E(me.prototype,je),Ne&&E(me,Ne),me}function Q(me){return typeof me=="object"&&typeof me.then=="function"}var U=function(){function me(Ne,Ce,Ke){this.stringified=!1,this.processed=!1;var Ye;if(typeof Ce=="object"&&Ce!==null&&Ce.type==="root")Ye=Ce;else if(Ce instanceof me||Ce instanceof Z.default)Ye=Ce.root,Ce.map&&(typeof Ke.map>"u"&&(Ke.map={}),Ke.map.inline||(Ke.map.inline=!1),Ke.map.prev=Ce.map);else{var ct=pe.default;Ke.syntax&&(ct=Ke.syntax.parse),Ke.parser&&(ct=Ke.parser),ct.parse&&(ct=ct.parse);try{Ye=ct(Ce,Ke)}catch(cr){this.error=cr}}this.result=new Z.default(Ne,Ye,Ke)}var je=me.prototype;return je.warnings=function(){return this.sync().warnings()},je.toString=function(){return this.css},je.then=function(Ne,Ce){return this.async().then(Ne,Ce)},je.catch=function(Ne){return this.async().catch(Ne)},je.finally=function(Ne){return this.async().then(Ne,Ne)},je.handleError=function(Ne,Ce){try{if(this.error=Ne,Ne.name==="CssSyntaxError"&&!Ne.plugin)Ne.plugin=Ce.postcssPlugin,Ne.setMessage();else if(Ce.postcssVersion&&!1)var Ke,Ye,ct,cr,Br}catch(jr){console&&console.error&&console.error(jr)}},je.asyncTick=function(Ne,Ce){var Ke=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,Ne();try{var Ye=this.processor.plugins[this.plugin],ct=this.run(Ye);this.plugin+=1,Q(ct)?ct.then(function(){Ke.asyncTick(Ne,Ce)}).catch(function(cr){Ke.handleError(cr,Ye),Ke.processed=!0,Ce(cr)}):this.asyncTick(Ne,Ce)}catch(cr){this.processed=!0,Ce(cr)}},je.async=function(){var Ne=this;return this.processed?new Promise(function(Ce,Ke){Ne.error?Ke(Ne.error):Ce(Ne.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ce,Ke){if(Ne.error)return Ke(Ne.error);Ne.plugin=0,Ne.asyncTick(Ce,Ke)}).then(function(){return Ne.processed=!0,Ne.stringify()}),this.processing)},je.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 Ne=be(this.result.processor.plugins),Ce;!(Ce=Ne()).done;){var Ke=Ce.value,Ye=this.run(Ke);if(Q(Ye))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},je.run=function(Ne){this.result.lastPlugin=Ne;try{return Ne(this.result.root,this.result)}catch(Ce){throw this.handleError(Ce,Ne),Ce}},je.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var Ne=this.result.opts,Ce=q.default;Ne.syntax&&(Ce=Ne.syntax.stringify),Ne.stringifier&&(Ce=Ne.stringifier),Ce.stringify&&(Ce=Ce.stringify);var Ke=new G.default(Ce,this.result.root,this.result.opts),Ye=Ke.generate();return this.result.css=Ye[0],this.result.map=Ye[1],this.result},g(me,[{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}}]),me}(),xe=U;v.default=xe,te.exports=v.default}}),Tl=at({"node_modules/postcss/lib/processor.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(Zu());function q(ge){return ge&&ge.__esModule?ge:{default:ge}}function Z(ge,E){var g;if(typeof Symbol>"u"||ge[Symbol.iterator]==null){if(Array.isArray(ge)||(g=pe(ge))||E&&ge&&typeof ge.length=="number"){g&&(ge=g);var Q=0;return function(){return Q>=ge.length?{done:!0}:{done:!1,value:ge[Q++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
201
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return g=ge[Symbol.iterator](),g.next.bind(g)}function pe(ge,E){if(ge){if(typeof ge=="string")return fe(ge,E);var g=Object.prototype.toString.call(ge).slice(8,-1);if(g==="Object"&&ge.constructor&&(g=ge.constructor.name),g==="Map"||g==="Set")return Array.from(ge);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return fe(ge,E)}}function fe(ge,E){(E==null||E>ge.length)&&(E=ge.length);for(var g=0,Q=new Array(E);g<E;g++)Q[g]=ge[g];return Q}var be=function(){function ge(g){g===void 0&&(g=[]),this.version="7.0.39",this.plugins=this.normalize(g)}var E=ge.prototype;return E.use=function(g){return this.plugins=this.plugins.concat(this.normalize([g])),this},E.process=function(g){function Q(U){return g.apply(this,arguments)}return Q.toString=function(){return g.toString()},Q}(function(g,Q){return Q===void 0&&(Q={}),this.plugins.length===0&&(Q.parser,Q.stringifier),new G.default(this,g,Q)}),E.normalize=function(g){for(var Q=[],U=Z(g),xe;!(xe=U()).done;){var me=xe.value;if(me.postcss===!0){var je=me();throw new Error("PostCSS plugin "+je.postcssPlugin+` requires PostCSS 8.
|
|
202
|
+
Migration guide for end-users:
|
|
203
|
+
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(me.postcss&&(me=me.postcss),typeof me=="object"&&Array.isArray(me.plugins))Q=Q.concat(me.plugins);else if(typeof me=="function")Q.push(me);else if(!(typeof me=="object"&&(me.parse||me.stringify)))throw typeof me=="object"&&me.postcssPlugin?new Error("PostCSS plugin "+me.postcssPlugin+` requires PostCSS 8.
|
|
204
|
+
Migration guide for end-users:
|
|
205
|
+
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(me+" is not a PostCSS plugin")}return Q},ge}(),le=be;v.default=le,te.exports=v.default}}),Ec=at({"node_modules/postcss/lib/root.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=q(ha());function q(E){return E&&E.__esModule?E:{default:E}}function Z(E,g){var Q;if(typeof Symbol>"u"||E[Symbol.iterator]==null){if(Array.isArray(E)||(Q=pe(E))||g&&E&&typeof E.length=="number"){Q&&(E=Q);var U=0;return function(){return U>=E.length?{done:!0}:{done:!1,value:E[U++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
206
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Q=E[Symbol.iterator](),Q.next.bind(Q)}function pe(E,g){if(E){if(typeof E=="string")return fe(E,g);var Q=Object.prototype.toString.call(E).slice(8,-1);if(Q==="Object"&&E.constructor&&(Q=E.constructor.name),Q==="Map"||Q==="Set")return Array.from(E);if(Q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Q))return fe(E,g)}}function fe(E,g){(g==null||g>E.length)&&(g=E.length);for(var Q=0,U=new Array(g);Q<g;Q++)U[Q]=E[Q];return U}function be(E,g){E.prototype=Object.create(g.prototype),E.prototype.constructor=E,E.__proto__=g}var le=function(E){be(g,E);function g(U){var xe;return xe=E.call(this,U)||this,xe.type="root",xe.nodes||(xe.nodes=[]),xe}var Q=g.prototype;return Q.removeChild=function(U,xe){var me=this.index(U);return!xe&&me===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[me].raws.before),E.prototype.removeChild.call(this,U)},Q.normalize=function(U,xe,me){var je=E.prototype.normalize.call(this,U);if(xe){if(me==="prepend")this.nodes.length>1?xe.raws.before=this.nodes[1].raws.before:delete xe.raws.before;else if(this.first!==xe)for(var Ne=Z(je),Ce;!(Ce=Ne()).done;){var Ke=Ce.value;Ke.raws.before=xe.raws.before}}return je},Q.toResult=function(U){U===void 0&&(U={});var xe=Zu(),me=Tl(),je=new xe(new me,this,U);return je.stringify()},g}(G.default),ge=le;v.default=ge,te.exports=v.default}}),Za=at({"node_modules/postcss/lib/parser.js"(v,te){vt(),v.__esModule=!0,v.default=void 0;var G=le(Js()),q=le(Ro()),Z=le(Mo()),pe=le(ga()),fe=le(Ec()),be=le(Ya());function le(E){return E&&E.__esModule?E:{default:E}}var ge=function(){function E(Q){this.input=Q,this.root=new fe.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:Q,start:{line:1,column:1}}}var g=E.prototype;return g.createTokenizer=function(){this.tokenizer=(0,q.default)(this.input)},g.parse=function(){for(var Q;!this.tokenizer.endOfFile();)switch(Q=this.tokenizer.nextToken(),Q[0]){case"space":this.spaces+=Q[1];break;case";":this.freeSemicolon(Q);break;case"}":this.end(Q);break;case"comment":this.comment(Q);break;case"at-word":this.atrule(Q);break;case"{":this.emptyRule(Q);break;default:this.other(Q);break}this.endFile()},g.comment=function(Q){var U=new Z.default;this.init(U,Q[2],Q[3]),U.source.end={line:Q[4],column:Q[5]};var xe=Q[1].slice(2,-2);if(/^\s*$/.test(xe))U.text="",U.raws.left=xe,U.raws.right="";else{var me=xe.match(/^(\s*)([^]*[^\s])(\s*)$/);U.text=me[2],U.raws.left=me[1],U.raws.right=me[3]}},g.emptyRule=function(Q){var U=new be.default;this.init(U,Q[2],Q[3]),U.selector="",U.raws.between="",this.current=U},g.other=function(Q){for(var U=!1,xe=null,me=!1,je=null,Ne=[],Ce=[],Ke=Q;Ke;){if(xe=Ke[0],Ce.push(Ke),xe==="("||xe==="[")je||(je=Ke),Ne.push(xe==="("?")":"]");else if(Ne.length===0)if(xe===";")if(me){this.decl(Ce);return}else break;else if(xe==="{"){this.rule(Ce);return}else if(xe==="}"){this.tokenizer.back(Ce.pop()),U=!0;break}else xe===":"&&(me=!0);else xe===Ne[Ne.length-1]&&(Ne.pop(),Ne.length===0&&(je=null));Ke=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(U=!0),Ne.length>0&&this.unclosedBracket(je),U&&me){for(;Ce.length&&(Ke=Ce[Ce.length-1][0],!(Ke!=="space"&&Ke!=="comment"));)this.tokenizer.back(Ce.pop());this.decl(Ce)}else this.unknownWord(Ce)},g.rule=function(Q){Q.pop();var U=new be.default;this.init(U,Q[0][2],Q[0][3]),U.raws.between=this.spacesAndCommentsFromEnd(Q),this.raw(U,"selector",Q),this.current=U},g.decl=function(Q){var U=new G.default;this.init(U);var xe=Q[Q.length-1];for(xe[0]===";"&&(this.semicolon=!0,Q.pop()),xe[4]?U.source.end={line:xe[4],column:xe[5]}:U.source.end={line:xe[2],column:xe[3]};Q[0][0]!=="word";)Q.length===1&&this.unknownWord(Q),U.raws.before+=Q.shift()[1];for(U.source.start={line:Q[0][2],column:Q[0][3]},U.prop="";Q.length;){var me=Q[0][0];if(me===":"||me==="space"||me==="comment")break;U.prop+=Q.shift()[1]}U.raws.between="";for(var je;Q.length;)if(je=Q.shift(),je[0]===":"){U.raws.between+=je[1];break}else je[0]==="word"&&/\w/.test(je[1])&&this.unknownWord([je]),U.raws.between+=je[1];(U.prop[0]==="_"||U.prop[0]==="*")&&(U.raws.before+=U.prop[0],U.prop=U.prop.slice(1)),U.raws.between+=this.spacesAndCommentsFromStart(Q),this.precheckMissedSemicolon(Q);for(var Ne=Q.length-1;Ne>0;Ne--){if(je=Q[Ne],je[1].toLowerCase()==="!important"){U.important=!0;var Ce=this.stringFrom(Q,Ne);Ce=this.spacesFromEnd(Q)+Ce,Ce!==" !important"&&(U.raws.important=Ce);break}else if(je[1].toLowerCase()==="important"){for(var Ke=Q.slice(0),Ye="",ct=Ne;ct>0;ct--){var cr=Ke[ct][0];if(Ye.trim().indexOf("!")===0&&cr!=="space")break;Ye=Ke.pop()[1]+Ye}Ye.trim().indexOf("!")===0&&(U.important=!0,U.raws.important=Ye,Q=Ke)}if(je[0]!=="space"&&je[0]!=="comment")break}this.raw(U,"value",Q),U.value.indexOf(":")!==-1&&this.checkMissedSemicolon(Q)},g.atrule=function(Q){var U=new pe.default;U.name=Q[1].slice(1),U.name===""&&this.unnamedAtrule(U,Q),this.init(U,Q[2],Q[3]);for(var xe,me,je=!1,Ne=!1,Ce=[];!this.tokenizer.endOfFile();){if(Q=this.tokenizer.nextToken(),Q[0]===";"){U.source.end={line:Q[2],column:Q[3]},this.semicolon=!0;break}else if(Q[0]==="{"){Ne=!0;break}else if(Q[0]==="}"){if(Ce.length>0){for(me=Ce.length-1,xe=Ce[me];xe&&xe[0]==="space";)xe=Ce[--me];xe&&(U.source.end={line:xe[4],column:xe[5]})}this.end(Q);break}else Ce.push(Q);if(this.tokenizer.endOfFile()){je=!0;break}}U.raws.between=this.spacesAndCommentsFromEnd(Ce),Ce.length?(U.raws.afterName=this.spacesAndCommentsFromStart(Ce),this.raw(U,"params",Ce),je&&(Q=Ce[Ce.length-1],U.source.end={line:Q[4],column:Q[5]},this.spaces=U.raws.between,U.raws.between="")):(U.raws.afterName="",U.params=""),Ne&&(U.nodes=[],this.current=U)},g.end=function(Q){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:Q[2],column:Q[3]},this.current=this.current.parent):this.unexpectedClose(Q)},g.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},g.freeSemicolon=function(Q){if(this.spaces+=Q[1],this.current.nodes){var U=this.current.nodes[this.current.nodes.length-1];U&&U.type==="rule"&&!U.raws.ownSemicolon&&(U.raws.ownSemicolon=this.spaces,this.spaces="")}},g.init=function(Q,U,xe){this.current.push(Q),Q.source={start:{line:U,column:xe},input:this.input},Q.raws.before=this.spaces,this.spaces="",Q.type!=="comment"&&(this.semicolon=!1)},g.raw=function(Q,U,xe){for(var me,je,Ne=xe.length,Ce="",Ke=!0,Ye,ct,cr=/^([.|#])?([\w])+/i,Br=0;Br<Ne;Br+=1){if(me=xe[Br],je=me[0],je==="comment"&&Q.type==="rule"){ct=xe[Br-1],Ye=xe[Br+1],ct[0]!=="space"&&Ye[0]!=="space"&&cr.test(ct[1])&&cr.test(Ye[1])?Ce+=me[1]:Ke=!1;continue}je==="comment"||je==="space"&&Br===Ne-1?Ke=!1:Ce+=me[1]}if(!Ke){var jr=xe.reduce(function(an,sn){return an+sn[1]},"");Q.raws[U]={value:Ce,raw:jr}}Q[U]=Ce},g.spacesAndCommentsFromEnd=function(Q){for(var U,xe="";Q.length&&(U=Q[Q.length-1][0],!(U!=="space"&&U!=="comment"));)xe=Q.pop()[1]+xe;return xe},g.spacesAndCommentsFromStart=function(Q){for(var U,xe="";Q.length&&(U=Q[0][0],!(U!=="space"&&U!=="comment"));)xe+=Q.shift()[1];return xe},g.spacesFromEnd=function(Q){for(var U,xe="";Q.length&&(U=Q[Q.length-1][0],U==="space");)xe=Q.pop()[1]+xe;return xe},g.stringFrom=function(Q,U){for(var xe="",me=U;me<Q.length;me++)xe+=Q[me][1];return Q.splice(U,Q.length-U),xe},g.colon=function(Q){for(var U=0,xe,me,je,Ne=0;Ne<Q.length;Ne++){if(xe=Q[Ne],me=xe[0],me==="("&&(U+=1),me===")"&&(U-=1),U===0&&me===":")if(!je)this.doubleColon(xe);else{if(je[0]==="word"&&je[1]==="progid")continue;return Ne}je=xe}return!1},g.unclosedBracket=function(Q){throw this.input.error("Unclosed bracket",Q[2],Q[3])},g.unknownWord=function(Q){throw this.input.error("Unknown word",Q[0][2],Q[0][3])},g.unexpectedClose=function(Q){throw this.input.error("Unexpected }",Q[2],Q[3])},g.unclosedBlock=function(){var Q=this.current.source.start;throw this.input.error("Unclosed block",Q.line,Q.column)},g.doubleColon=function(Q){throw this.input.error("Double colon",Q[2],Q[3])},g.unnamedAtrule=function(Q,U){throw this.input.error("At-rule without name",U[2],U[3])},g.precheckMissedSemicolon=function(){},g.checkMissedSemicolon=function(Q){var U=this.colon(Q);if(U!==!1){for(var xe=0,me,je=U-1;je>=0&&(me=Q[je],!(me[0]!=="space"&&(xe+=1,xe===2)));je--);throw this.input.error("Missed semicolon",me[2],me[3])}},E}();v.default=ge,te.exports=v.default}}),ya=at({"node_modules/postcss-less/lib/nodes/inline-comment.js"(v,te){vt();var G=Ro(),q=us();te.exports={isInlineComment(Z){if(Z[0]==="word"&&Z[1].slice(0,2)==="//"){let pe=Z,fe=[],be;for(;Z;){if(/\r?\n/.test(Z[1])){if(/['"].*\r?\n/.test(Z[1])){fe.push(Z[1].substring(0,Z[1].indexOf(`
|
|
207
|
+
`)));let ge=Z[1].substring(Z[1].indexOf(`
|
|
208
|
+
`));ge+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new q(ge),this.tokenizer=G(this.input)}else this.tokenizer.back(Z);break}fe.push(Z[1]),be=Z,Z=this.tokenizer.nextToken({ignoreUnclosed:!0})}let le=["comment",fe.join(""),pe[2],pe[3],be[2],be[3]];return this.inlineComment(le),!0}else if(Z[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),Z[1]="//",this.tokenizer.back(pe),te.exports.isInlineComment.bind(this)(Z)}return!1}}}}),Wi=at({"node_modules/postcss-less/lib/nodes/interpolation.js"(v,te){vt(),te.exports={interpolation(G){let q=G,Z=[G],pe=["word","{","}"];if(G=this.tokenizer.nextToken(),q[1].length>1||G[0]!=="{")return this.tokenizer.back(G),!1;for(;G&&pe.includes(G[0]);)Z.push(G),G=this.tokenizer.nextToken();let fe=Z.map(g=>g[1]);[q]=Z;let be=Z.pop(),le=[q[2],q[3]],ge=[be[4]||be[2],be[5]||be[3]],E=["word",fe.join("")].concat(le,ge);return this.tokenizer.back(G),this.tokenizer.back(E),!0}}}}),Ei=at({"node_modules/postcss-less/lib/nodes/mixin.js"(v,te){vt();var G=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,q=/\.[0-9]/,Z=pe=>{let[,fe]=pe,[be]=fe;return(be==="."||be==="#")&&G.test(fe)===!1&&q.test(fe)===!1};te.exports={isMixinToken:Z}}}),Oi=at({"node_modules/postcss-less/lib/nodes/import.js"(v,te){vt();var G=Ro(),q=/^url\((.+)\)/;te.exports=Z=>{let{name:pe,params:fe=""}=Z;if(pe==="import"&&fe.length){Z.import=!0;let be=G({css:fe});for(Z.filename=fe.replace(q,"$1");!be.endOfFile();){let[le,ge]=be.nextToken();if(le==="word"&&ge==="url")return;if(le==="brackets"){Z.options=ge,Z.filename=fe.replace(ge,"").trim();break}}}}}}),vi=at({"node_modules/postcss-less/lib/nodes/variable.js"(v,te){vt();var G=/:$/,q=/^:(\s+)?/;te.exports=Z=>{let{name:pe,params:fe=""}=Z;if(Z.name.slice(-1)===":"){if(G.test(pe)){let[be]=pe.match(G);Z.name=pe.replace(be,""),Z.raws.afterName=be+(Z.raws.afterName||""),Z.variable=!0,Z.value=Z.params}if(q.test(fe)){let[be]=fe.match(q);Z.value=fe.replace(be,""),Z.raws.afterName=(Z.raws.afterName||"")+be,Z.variable=!0}}}}}),ls=at({"node_modules/postcss-less/lib/LessParser.js"(v,te){vt();var G=Mo(),q=Za(),{isInlineComment:Z}=ya(),{interpolation:pe}=Wi(),{isMixinToken:fe}=Ei(),be=Oi(),le=vi(),ge=/(!\s*important)$/i;te.exports=class extends q{constructor(){super(...arguments),this.lastNode=null}atrule(E){pe.bind(this)(E)||(super.atrule(E),be(this.lastNode),le(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(E){E[0][1]=" ".concat(E[0][1]);let g=E.findIndex(me=>me[0]==="("),Q=E.reverse().find(me=>me[0]===")"),U=E.reverse().indexOf(Q),xe=E.splice(g,U).map(me=>me[1]).join("");for(let me of E.reverse())this.tokenizer.back(me);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=xe}init(E,g,Q){super.init(E,g,Q),this.lastNode=E}inlineComment(E){let g=new G,Q=E[1].slice(2);if(this.init(g,E[2],E[3]),g.source.end={line:E[4],column:E[5]},g.inline=!0,g.raws.begin="//",/^\s*$/.test(Q))g.text="",g.raws.left=Q,g.raws.right="";else{let U=Q.match(/^(\s*)([^]*[^\s])(\s*)$/);[,g.raws.left,g.text,g.raws.right]=U}}mixin(E){let[g]=E,Q=g[1].slice(0,1),U=E.findIndex(Ce=>Ce[0]==="brackets"),xe=E.findIndex(Ce=>Ce[0]==="("),me="";if((U<0||U>3)&&xe>0){let Ce=E.reduce((xn,en,un)=>en[0]===")"?un:xn),Ke=E.slice(xe,Ce+xe).map(xn=>xn[1]).join(""),[Ye]=E.slice(xe),ct=[Ye[2],Ye[3]],[cr]=E.slice(Ce,Ce+1),Br=[cr[2],cr[3]],jr=["brackets",Ke].concat(ct,Br),an=E.slice(0,xe),sn=E.slice(Ce+1);E=an,E.push(jr),E=E.concat(sn)}let je=[];for(let Ce of E)if((Ce[1]==="!"||je.length)&&je.push(Ce),Ce[1]==="important")break;if(je.length){let[Ce]=je,Ke=E.indexOf(Ce),Ye=je[je.length-1],ct=[Ce[2],Ce[3]],cr=[Ye[4],Ye[5]],Br=je.map(an=>an[1]).join(""),jr=["word",Br].concat(ct,cr);E.splice(Ke,je.length,jr)}let Ne=E.findIndex(Ce=>ge.test(Ce[1]));Ne>0&&([,me]=E[Ne],E.splice(Ne,1));for(let Ce of E.reverse())this.tokenizer.back(Ce);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=Q,me&&(this.lastNode.important=!0,this.lastNode.raws.important=me)}other(E){Z.bind(this)(E)||super.other(E)}rule(E){let g=E[E.length-1],Q=E[E.length-2];if(Q[0]==="at-word"&&g[0]==="{"&&(this.tokenizer.back(g),pe.bind(this)(Q))){let U=this.tokenizer.nextToken();E=E.slice(0,E.length-2).concat([U]);for(let xe of E.reverse())this.tokenizer.back(xe);return}super.rule(E),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(E){let[g]=E;if(E[0][1]==="each"&&E[1][0]==="("){this.each(E);return}if(fe(g)){this.mixin(E);return}super.unknownWord(E)}}}}),el=at({"node_modules/postcss-less/lib/LessStringifier.js"(v,te){vt();var G=da();te.exports=class extends G{atrule(q,Z){if(!q.mixin&&!q.variable&&!q.function){super.atrule(q,Z);return}let pe=q.function?"":q.raws.identifier||"@",fe="".concat(pe).concat(q.name),be=q.params?this.rawValue(q,"params"):"",le=q.raws.important||"";if(q.variable&&(be=q.value),typeof q.raws.afterName<"u"?fe+=q.raws.afterName:be&&(fe+=" "),q.nodes)this.block(q,fe+be+le);else{let ge=(q.raws.between||"")+le+(Z?";":"");this.builder(fe+be+ge,q)}}comment(q){if(q.inline){let Z=this.raw(q,"left","commentLeft"),pe=this.raw(q,"right","commentRight");this.builder("//".concat(Z).concat(q.text).concat(pe),q)}else super.comment(q)}}}}),cs=at({"node_modules/postcss-less/lib/index.js"(v,te){vt();var G=us(),q=ls(),Z=el();te.exports={parse(pe,fe){let be=new G(pe,fe),le=new q(be);return le.parse(),le.root},stringify(pe,fe){new Z(fe).stringify(pe)},nodeToString(pe){let fe="";return te.exports.stringify(pe,be=>{fe+=be}),fe}}}}),Nl=at({"node_modules/postcss-scss/lib/scss-stringifier.js"(v,te){vt();function G(pe,fe){pe.prototype=Object.create(fe.prototype),pe.prototype.constructor=pe,pe.__proto__=fe}var q=da(),Z=function(pe){G(fe,pe);function fe(){return pe.apply(this,arguments)||this}var be=fe.prototype;return be.comment=function(le){var ge=this.raw(le,"left","commentLeft"),E=this.raw(le,"right","commentRight");if(le.raws.inline){var g=le.raws.text||le.text;this.builder("//"+ge+g+E,le)}else this.builder("/*"+ge+le.text+E+"*/",le)},be.decl=function(le,ge){if(!le.isNested)pe.prototype.decl.call(this,le,ge);else{var E=this.raw(le,"between","colon"),g=le.prop+E+this.rawValue(le,"value");le.important&&(g+=le.raws.important||" !important"),this.builder(g+"{",le,"start");var Q;le.nodes&&le.nodes.length?(this.body(le),Q=this.raw(le,"after")):Q=this.raw(le,"after","emptyBody"),Q&&this.builder(Q),this.builder("}",le,"end")}},be.rawValue=function(le,ge){var E=le[ge],g=le.raws[ge];return g&&g.value===E?g.scss?g.scss:g.raw:E},fe}(q);te.exports=Z}}),Bl=at({"node_modules/postcss-scss/lib/scss-stringify.js"(v,te){vt();var G=Nl();te.exports=function(q,Z){var pe=new G(Z);pe.stringify(q)}}}),tl=at({"node_modules/postcss-scss/lib/nested-declaration.js"(v,te){vt();function G(pe,fe){pe.prototype=Object.create(fe.prototype),pe.prototype.constructor=pe,pe.__proto__=fe}var q=ha(),Z=function(pe){G(fe,pe);function fe(be){var le;return le=pe.call(this,be)||this,le.type="decl",le.isNested=!0,le.nodes||(le.nodes=[]),le}return fe}(q);te.exports=Z}}),rl=at({"node_modules/postcss-scss/lib/scss-tokenize.js"(v,te){vt();var G="'".charCodeAt(0),q='"'.charCodeAt(0),Z="\\".charCodeAt(0),pe="/".charCodeAt(0),fe=`
|
|
209
|
+
`.charCodeAt(0),be=" ".charCodeAt(0),le="\f".charCodeAt(0),ge=" ".charCodeAt(0),E="\r".charCodeAt(0),g="[".charCodeAt(0),Q="]".charCodeAt(0),U="(".charCodeAt(0),xe=")".charCodeAt(0),me="{".charCodeAt(0),je="}".charCodeAt(0),Ne=";".charCodeAt(0),Ce="*".charCodeAt(0),Ke=":".charCodeAt(0),Ye="@".charCodeAt(0),ct=",".charCodeAt(0),cr="#".charCodeAt(0),Br=/[ \n\t\r\f{}()'"\\;/[\]#]/g,jr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,an=/.[\\/("'\n]/,sn=/[a-f0-9]/i,xn=/[\r\f\n]/g;te.exports=function(en,un){un===void 0&&(un={});var mr=en.css.valueOf(),Yt=un.ignoreErrors,vr,Jt,mi,Yn,ni,Un,Pn,Wr,wn,dn,Cn,ut,jt,Vt,Tr=mr.length,st=-1,Xr=1,zr=0,ji=[],Fi=[];function si(Li){throw en.error("Unclosed "+Li,Xr,zr-st)}function Zi(){return Fi.length===0&&zr>=Tr}function Ji(){for(var Li=1,wi=!1,Ti=!1;Li>0;)Jt+=1,mr.length<=Jt&&si("interpolation"),vr=mr.charCodeAt(Jt),ut=mr.charCodeAt(Jt+1),wi?!Ti&&vr===wi?(wi=!1,Ti=!1):vr===Z?Ti=!dn:Ti&&(Ti=!1):vr===G||vr===q?wi=vr:vr===je?Li-=1:vr===cr&&ut===me&&(Li+=1)}function ki(){if(Fi.length)return Fi.pop();if(!(zr>=Tr)){switch(vr=mr.charCodeAt(zr),(vr===fe||vr===le||vr===E&&mr.charCodeAt(zr+1)!==fe)&&(st=zr,Xr+=1),vr){case fe:case be:case ge:case E:case le:Jt=zr;do Jt+=1,vr=mr.charCodeAt(Jt),vr===fe&&(st=Jt,Xr+=1);while(vr===be||vr===fe||vr===ge||vr===E||vr===le);jt=["space",mr.slice(zr,Jt)],zr=Jt-1;break;case g:jt=["[","[",Xr,zr-st];break;case Q:jt=["]","]",Xr,zr-st];break;case me:jt=["{","{",Xr,zr-st];break;case je:jt=["}","}",Xr,zr-st];break;case ct:jt=["word",",",Xr,zr-st,Xr,zr-st+1];break;case Ke:jt=[":",":",Xr,zr-st];break;case Ne:jt=[";",";",Xr,zr-st];break;case U:if(Cn=ji.length?ji.pop()[1]:"",ut=mr.charCodeAt(zr+1),Cn==="url"&&ut!==G&&ut!==q){for(Vt=1,dn=!1,Jt=zr+1;Jt<=mr.length-1;){if(ut=mr.charCodeAt(Jt),ut===Z)dn=!dn;else if(ut===U)Vt+=1;else if(ut===xe&&(Vt-=1,Vt===0))break;Jt+=1}Un=mr.slice(zr,Jt+1),Yn=Un.split(`
|
|
210
|
+
`),ni=Yn.length-1,ni>0?(Wr=Xr+ni,wn=Jt-Yn[ni].length):(Wr=Xr,wn=st),jt=["brackets",Un,Xr,zr-st,Wr,Jt-wn],st=wn,Xr=Wr,zr=Jt}else Jt=mr.indexOf(")",zr+1),Un=mr.slice(zr,Jt+1),Jt===-1||an.test(Un)?jt=["(","(",Xr,zr-st]:(jt=["brackets",Un,Xr,zr-st,Xr,Jt-st],zr=Jt);break;case xe:jt=[")",")",Xr,zr-st];break;case G:case q:for(mi=vr,Jt=zr,dn=!1;Jt<Tr&&(Jt++,Jt===Tr&&si("string"),vr=mr.charCodeAt(Jt),ut=mr.charCodeAt(Jt+1),!(!dn&&vr===mi));)vr===Z?dn=!dn:dn?dn=!1:vr===cr&&ut===me&&Ji();Un=mr.slice(zr,Jt+1),Yn=Un.split(`
|
|
211
|
+
`),ni=Yn.length-1,ni>0?(Wr=Xr+ni,wn=Jt-Yn[ni].length):(Wr=Xr,wn=st),jt=["string",mr.slice(zr,Jt+1),Xr,zr-st,Wr,Jt-wn],st=wn,Xr=Wr,zr=Jt;break;case Ye:Br.lastIndex=zr+1,Br.test(mr),Br.lastIndex===0?Jt=mr.length-1:Jt=Br.lastIndex-2,jt=["at-word",mr.slice(zr,Jt+1),Xr,zr-st,Xr,Jt-st],zr=Jt;break;case Z:for(Jt=zr,Pn=!0;mr.charCodeAt(Jt+1)===Z;)Jt+=1,Pn=!Pn;if(vr=mr.charCodeAt(Jt+1),Pn&&vr!==pe&&vr!==be&&vr!==fe&&vr!==ge&&vr!==E&&vr!==le&&(Jt+=1,sn.test(mr.charAt(Jt)))){for(;sn.test(mr.charAt(Jt+1));)Jt+=1;mr.charCodeAt(Jt+1)===be&&(Jt+=1)}jt=["word",mr.slice(zr,Jt+1),Xr,zr-st,Xr,Jt-st],zr=Jt;break;default:ut=mr.charCodeAt(zr+1),vr===cr&&ut===me?(Jt=zr,Ji(),Un=mr.slice(zr,Jt+1),Yn=Un.split(`
|
|
212
|
+
`),ni=Yn.length-1,ni>0?(Wr=Xr+ni,wn=Jt-Yn[ni].length):(Wr=Xr,wn=st),jt=["word",Un,Xr,zr-st,Wr,Jt-wn],st=wn,Xr=Wr,zr=Jt):vr===pe&&ut===Ce?(Jt=mr.indexOf("*/",zr+2)+1,Jt===0&&(Yt?Jt=mr.length:si("comment")),Un=mr.slice(zr,Jt+1),Yn=Un.split(`
|
|
213
|
+
`),ni=Yn.length-1,ni>0?(Wr=Xr+ni,wn=Jt-Yn[ni].length):(Wr=Xr,wn=st),jt=["comment",Un,Xr,zr-st,Wr,Jt-wn],st=wn,Xr=Wr,zr=Jt):vr===pe&&ut===pe?(xn.lastIndex=zr+1,xn.test(mr),xn.lastIndex===0?Jt=mr.length-1:Jt=xn.lastIndex-2,Un=mr.slice(zr,Jt+1),jt=["comment",Un,Xr,zr-st,Xr,Jt-st,"inline"],zr=Jt):(jr.lastIndex=zr+1,jr.test(mr),jr.lastIndex===0?Jt=mr.length-1:Jt=jr.lastIndex-2,jt=["word",mr.slice(zr,Jt+1),Xr,zr-st,Xr,Jt-st],ji.push(jt),zr=Jt);break}return zr++,jt}}function eo(Li){Fi.push(Li)}return{back:eo,nextToken:ki,endOfFile:Zi}}}}),_l=at({"node_modules/postcss-scss/lib/scss-parser.js"(v,te){vt();function G(le,ge){le.prototype=Object.create(ge.prototype),le.prototype.constructor=le,le.__proto__=ge}var q=Mo(),Z=Za(),pe=tl(),fe=rl(),be=function(le){G(ge,le);function ge(){return le.apply(this,arguments)||this}var E=ge.prototype;return E.createTokenizer=function(){this.tokenizer=fe(this.input)},E.rule=function(g){for(var Q=!1,U=0,xe="",Ne=g,me=Array.isArray(Ne),je=0,Ne=me?Ne:Ne[Symbol.iterator]();;){var Ce;if(me){if(je>=Ne.length)break;Ce=Ne[je++]}else{if(je=Ne.next(),je.done)break;Ce=je.value}var Ke=Ce;if(Q)Ke[0]!=="comment"&&Ke[0]!=="{"&&(xe+=Ke[1]);else{if(Ke[0]==="space"&&Ke[1].indexOf(`
|
|
214
|
+
`)!==-1)break;Ke[0]==="("?U+=1:Ke[0]===")"?U-=1:U===0&&Ke[0]===":"&&(Q=!0)}}if(!Q||xe.trim()===""||/^[a-zA-Z-:#]/.test(xe))le.prototype.rule.call(this,g);else{g.pop();var Ye=new pe;this.init(Ye);var ct=g[g.length-1];for(ct[4]?Ye.source.end={line:ct[4],column:ct[5]}:Ye.source.end={line:ct[2],column:ct[3]};g[0][0]!=="word";)Ye.raws.before+=g.shift()[1];for(Ye.source.start={line:g[0][2],column:g[0][3]},Ye.prop="";g.length;){var cr=g[0][0];if(cr===":"||cr==="space"||cr==="comment")break;Ye.prop+=g.shift()[1]}Ye.raws.between="";for(var Br;g.length;)if(Br=g.shift(),Br[0]===":"){Ye.raws.between+=Br[1];break}else Ye.raws.between+=Br[1];(Ye.prop[0]==="_"||Ye.prop[0]==="*")&&(Ye.raws.before+=Ye.prop[0],Ye.prop=Ye.prop.slice(1)),Ye.raws.between+=this.spacesAndCommentsFromStart(g),this.precheckMissedSemicolon(g);for(var jr=g.length-1;jr>0;jr--){if(Br=g[jr],Br[1]==="!important"){Ye.important=!0;var an=this.stringFrom(g,jr);an=this.spacesFromEnd(g)+an,an!==" !important"&&(Ye.raws.important=an);break}else if(Br[1]==="important"){for(var sn=g.slice(0),xn="",en=jr;en>0;en--){var un=sn[en][0];if(xn.trim().indexOf("!")===0&&un!=="space")break;xn=sn.pop()[1]+xn}xn.trim().indexOf("!")===0&&(Ye.important=!0,Ye.raws.important=xn,g=sn)}if(Br[0]!=="space"&&Br[0]!=="comment")break}this.raw(Ye,"value",g),Ye.value.indexOf(":")!==-1&&this.checkMissedSemicolon(g),this.current=Ye}},E.comment=function(g){if(g[6]==="inline"){var Q=new q;this.init(Q,g[2],g[3]),Q.raws.inline=!0,Q.source.end={line:g[4],column:g[5]};var U=g[1].slice(2);if(/^\s*$/.test(U))Q.text="",Q.raws.left=U,Q.raws.right="";else{var xe=U.match(/^(\s*)([^]*[^\s])(\s*)$/),me=xe[2].replace(/(\*\/|\/\*)/g,"*//*");Q.text=me,Q.raws.left=xe[1],Q.raws.right=xe[3],Q.raws.text=xe[2]}}else le.prototype.comment.call(this,g)},E.raw=function(g,Q,U){if(le.prototype.raw.call(this,g,Q,U),g.raws[Q]){var xe=g.raws[Q].raw;g.raws[Q].raw=U.reduce(function(me,je){if(je[0]==="comment"&&je[6]==="inline"){var Ne=je[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return me+"/*"+Ne+"*/"}else return me+je[1]},""),xe!==g.raws[Q].raw&&(g.raws[Q].scss=xe)}},ge}(Z);te.exports=be}}),eu=at({"node_modules/postcss-scss/lib/scss-parse.js"(v,te){vt();var G=us(),q=_l();te.exports=function(Z,pe){var fe=new G(Z,pe),be=new q(fe);return be.parse(),be.root}}}),Pl=at({"node_modules/postcss-scss/lib/scss-syntax.js"(v,te){vt();var G=Bl(),q=eu();te.exports={parse:q,stringify:G}}});vt();var tu=cn(),va=Fn(),Ol=Ln(),{hasPragma:jl}=Si(),{locStart:nl,locEnd:Ll}=Pi(),{calculateLoc:zo,replaceQuotesInInlineComments:wc}=Pi(),ru=xi(),Ao=b(),nu=Pe(),Il=tr(),il=br(),co=nn(),ei=$n(),So=Rn(),ps=v=>{for(;v.parent;)v=v.parent;return v};function Ho(v,te){let{nodes:G}=v,q={open:null,close:null,groups:[],type:"paren_group"},Z=[q],pe=q,fe={groups:[],type:"comma_group"},be=[fe];for(let le=0;le<G.length;++le){let ge=G[le];if(Il(te.parser,ge.value)&&ge.type==="number"&&ge.unit===".."&&va(ge.value)==="."&&(ge.value=ge.value.slice(0,-1),ge.unit="..."),ge.type==="func"&&ge.value==="selector"&&(ge.group.groups=[Fo(ps(v).text.slice(ge.group.open.sourceIndex+1,ge.group.close.sourceIndex))]),ge.type==="func"&&ge.value==="url"){let E=ge.group&&ge.group.groups||[],g=[];for(let Q=0;Q<E.length;Q++){let U=E[Q];U.type==="comma_group"?g=[...g,...U.groups]:g.push(U)}if(ru(g)||!Ao(g)&&!co(g[0])){let Q=ei({groups:ge.group.groups});ge.group.groups=[Q.trim()]}}if(ge.type==="paren"&&ge.value==="(")q={open:ge,close:null,groups:[],type:"paren_group"},Z.push(q),fe={groups:[],type:"comma_group"},be.push(fe);else if(ge.type==="paren"&&ge.value===")"){if(fe.groups.length>0&&q.groups.push(fe),q.close=ge,be.length===1)throw new Error("Unbalanced parenthesis");be.pop(),fe=va(be),fe.groups.push(q),Z.pop(),q=va(Z)}else ge.type==="comma"?(q.groups.push(fe),fe={groups:[],type:"comma_group"},be[be.length-1]=fe):fe.groups.push(ge)}return fe.groups.length>0&&q.groups.push(fe),pe}function iu(v){return v.type==="paren_group"&&!v.open&&!v.close&&v.groups.length===1||v.type==="comma_group"&&v.groups.length===1?iu(v.groups[0]):v.type==="paren_group"||v.type==="comma_group"?Object.assign(Object.assign({},v),{},{groups:v.groups.map(iu)}):v}function fs(v,te,G){if(v&&typeof v=="object"){delete v.parent;for(let q in v)fs(v[q],te,G),q==="type"&&typeof v[q]=="string"&&!v[q].startsWith(te)&&(!G||!G.test(v[q]))&&(v[q]=te+v[q])}return v}function ol(v){if(v&&typeof v=="object"){delete v.parent;for(let te in v)ol(v[te]);!Array.isArray(v)&&v.value&&!v.type&&(v.type="unknown")}return v}function Ml(v,te){if(v&&typeof v=="object"){for(let G in v)G!=="parent"&&(Ml(v[G],te),G==="nodes"&&(v.group=iu(Ho(v,te)),delete v[G]));delete v.parent}return v}function Xo(v,te){let G=Ja(),q=null;try{q=G(v,{loose:!0}).parse()}catch{return{type:"value-unknown",value:v}}q.text=v;let Z=Ml(q,te);return fs(Z,"value-",/^selector-/)}function Fo(v){if(/\/\/|\/\*/.test(v))return{type:"selector-unknown",value:v.trim()};let te=go(),G=null;try{te(q=>{G=q}).process(v)}catch{return{type:"selector-unknown",value:v}}return fs(G,"selector-")}function Rl(v){let te=Ga().default,G=null;try{G=te(v)}catch{return{type:"selector-unknown",value:v}}return fs(ol(G),"media-")}var sl=/(\s*)(!default).*$/,ds=/(\s*)(!global).*$/;function al(v,te){if(v&&typeof v=="object"){delete v.parent;for(let pe in v)al(v[pe],te);if(!v.type)return v;v.raws||(v.raws={});let G="";typeof v.selector=="string"&&(G=v.raws.selector?v.raws.selector.scss?v.raws.selector.scss:v.raws.selector.raw:v.selector,v.raws.between&&v.raws.between.trim().length>0&&(G+=v.raws.between),v.raws.selector=G);let q="";typeof v.value=="string"&&(q=v.raws.value?v.raws.value.scss?v.raws.value.scss:v.raws.value.raw:v.value,q=q.trim(),v.raws.value=q);let Z="";if(typeof v.params=="string"&&(Z=v.raws.params?v.raws.params.scss?v.raws.params.scss:v.raws.params.raw:v.params,v.raws.afterName&&v.raws.afterName.trim().length>0&&(Z=v.raws.afterName+Z),v.raws.between&&v.raws.between.trim().length>0&&(Z=Z+v.raws.between),Z=Z.trim(),v.raws.params=Z),G.trim().length>0)return G.startsWith("@")&&G.endsWith(":")?v:v.mixin?(v.selector=Xo(G,te),v):(il(v)&&(v.isSCSSNesterProperty=!0),v.selector=Fo(G),v);if(q.length>0){let pe=q.match(sl);pe&&(q=q.slice(0,pe.index),v.scssDefault=!0,pe[0].trim()!=="!default"&&(v.raws.scssDefault=pe[0]));let fe=q.match(ds);if(fe&&(q=q.slice(0,fe.index),v.scssGlobal=!0,fe[0].trim()!=="!global"&&(v.raws.scssGlobal=fe[0])),q.startsWith("progid:"))return{type:"value-unknown",value:q};v.value=Xo(q,te)}if(nu(te)&&v.type==="css-decl"&&q.startsWith("extend(")&&(v.extend||(v.extend=v.raws.between===":"),v.extend&&!v.selector&&(delete v.value,v.selector=Fo(q.slice(7,-1)))),v.type==="css-atrule"){if(nu(te)){if(v.mixin){let pe=v.raws.identifier+v.name+v.raws.afterName+v.raws.params;return v.selector=Fo(pe),delete v.params,v}if(v.function)return v}if(te.parser==="css"&&v.name==="custom-selector"){let pe=v.params.match(/:--\S+\s+/)[0].trim();return v.customSelector=pe,v.selector=Fo(v.params.slice(pe.length).trim()),delete v.params,v}if(nu(te)){if(v.name.includes(":")&&!v.params){v.variable=!0;let pe=v.name.split(":");v.name=pe[0],v.value=Xo(pe.slice(1).join(":"),te)}if(!["page","nest","keyframes"].includes(v.name)&&v.params&&v.params[0]===":"&&(v.variable=!0,v.value=Xo(v.params.slice(1),te),v.raws.afterName+=":"),v.variable)return delete v.params,v}}if(v.type==="css-atrule"&&Z.length>0){let{name:pe}=v,fe=v.name.toLowerCase();return pe==="warn"||pe==="error"?(v.params={type:"media-unknown",value:Z},v):pe==="extend"||pe==="nest"?(v.selector=Fo(Z),delete v.params,v):pe==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(Z)?v.params=Xo(Z,te):(v.selector=Fo(Z),delete v.params),v):So(fe)?(v.import=!0,delete v.filename,v.params=Xo(Z,te),v):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(pe)?(Z=Z.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),Z=Z.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),v.value=Xo(Z,te),delete v.params,v):["media","custom-media"].includes(fe)?Z.includes("#{")?{type:"media-unknown",value:Z}:(v.params=Rl(Z),v):(v.params=Z,v)}}return v}function ul(v,te,G){let q=Ol(te),{frontMatter:Z}=q;te=q.content;let pe;try{pe=v(te)}catch(fe){let{name:be,reason:le,line:ge,column:E}=fe;throw typeof ge!="number"?fe:tu("".concat(be,": ").concat(le),{start:{line:ge,column:E}})}return pe=al(fs(pe,"css-"),G),zo(pe,te),Z&&(Z.source={startOffset:0,endOffset:Z.raw.length},pe.nodes.unshift(Z)),pe}function Ac(v,te){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},q=Il(G.parser,v)?[Da,Gs]:[Gs,Da],Z;for(let pe of q)try{return pe(v,te,G)}catch(fe){Z=Z||fe}if(Z)throw Z}function Gs(v,te){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},q=cs();return ul(Z=>q.parse(wc(Z)),v,G)}function Da(v,te){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:q}=Pl();return ul(q,v,G)}var ou={astFormat:"postcss",hasPragma:jl,locStart:nl,locEnd:Ll};Ht.exports={parsers:{css:Object.assign(Object.assign({},ou),{},{parse:Ac}),less:Object.assign(Object.assign({},ou),{},{parse:Gs}),scss:Object.assign(Object.assign({},ou),{},{parse:Da})}}});return di()})})(vg);var Iv=lg(vg.exports);function Mv(r,s){return Ni(()=>{var a,l,f;if(!vn(s))return((a=vn(r))==null?void 0:a.css)||"/* empty */";try{return Lv.format(((l=vn(r))==null?void 0:l.css)||"",{parser:"css",plugins:[Iv]})}catch(F){return console.error(F),`/* Error on prettifying: ${F.message} */
|
|
215
|
+
${((f=vn(r))==null?void 0:f.css)||""}`}})}const Rv={"h-full":""},zv={p:"x4 y2",grid:"~ cols-4 gap-4"},Hv=Bn("div",{op80:""}," Presets ",-1),Wv={op50:"","ws-pre":""},$v={overflow:"auto"},Uv=Bn("div",{op80:""}," Rules ",-1),Vv=Bn("span",{op50:""},"dynamic",-1),qv=Bn("br",null,null,-1),Jv=Bn("span",{op50:""},"static",-1),Gv=Bn("div",{op80:""}," Variants ",-1),Xv=Bn("div",{op80:""}," Shortcuts ",-1),Kv={key:0},Qv=Bn("div",{op80:""}," Config File ",-1),Yv=Bn("div",{op80:""}," Version ",-1),Zv={op50:"","ws-pre":""},eD={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},tD=Bn("div",{op80:""}," Included Files ",-1),rD=Bn("div",{op80:""}," CSS Size ",-1),nD=Bn("span",{op50:""},"gzipped",-1),iD=Bn("div",{op80:""}," Matched Rules ",-1),oD=Bn("div",{op80:""}," Layers ",-1),sD={op50:"","ws-pre":""},aD=Ns(" Prettify "),uD=js({__name:"Overview",setup(r){const s=Qi(null),a=jv(s,"overview-scrolls");zf.execute();const l=Qi(!1),f=Mv(ip,l);return(F,V)=>{const ae=Ov,ue=kv,Ae=wv,_e=bv;return Ii(),po("div",Rv,[yi(Ae,{ref_key:"status",ref:s,p0:""},{default:wa(()=>{var ze,Je,rt,bt,Qt,nr,et,pt,dt,Wt,pr,kr,Rr,Sn,Dn,Ir,Nr,gn;return[Bn("div",zv,[Bn("div",null,[Hv,Bn("div",Wv,To((rt=(Je=(ze=vn(to))==null?void 0:ze.config)==null?void 0:Je.presets)==null?void 0:rt.map(zt=>zt.name).join(`
|
|
216
|
+
`)),1)]),Bn("div",$v,[Uv,Ns(" "+To((nr=(Qt=(bt=vn(to))==null?void 0:bt.config)==null?void 0:Qt.rulesDynamic)==null?void 0:nr.filter(Boolean).length)+" ",1),Vv,qv,Ns(" "+To(Object.keys(((pt=(et=vn(to))==null?void 0:et.config)==null?void 0:pt.rulesStaticMap)||{}).length)+" ",1),Jv]),Bn("div",null,[Gv,Ns(" "+To((pr=(Wt=(dt=vn(to))==null?void 0:dt.config)==null?void 0:Wt.variants)==null?void 0:pr.length),1)]),Bn("div",null,[Xv,Ns(" "+To((kr=vn(to))==null?void 0:kr.config.shortcuts.length),1)]),(Rr=vn(to))!=null&&Rr.configPath?(Ii(),po("div",Kv,[Qv,yi(ae,{id:vn(to).configPath},null,8,["id"])])):Dp("",!0),Bn("div",null,[Yv,Bn("div",Zv,To((Sn=vn(to))==null?void 0:Sn.version),1)])]),Bn("div",eD,[Bn("div",null,[tD,Ns(" "+To((Dn=vn(to))==null?void 0:Dn.modules.length),1)]),Bn("div",null,[rD,Ns(" "+To(((((Ir=vn(ip))==null?void 0:Ir.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),nD]),Bn("div",null,[iD,Ns(" "+To((Nr=vn(ip))==null?void 0:Nr.matched.length),1)]),Bn("div",null,[oD,Bn("div",sD,To((gn=vn(ip))==null?void 0:gn.layers.join(`
|
|
217
|
+
`)),1)])]),yi(ue,{border:"t gray-400/20",title:"Output CSS"},{default:wa(()=>[Bn("label",null,[u0(Bn("input",{"onUpdate:modelValue":V[0]||(V[0]=zt=>l.value=zt),type:"checkbox"},null,512),[[sy,l.value]]),aD])]),_:1})]}),_:1},512),yi(_e,{"model-value":vn(f),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:Xc(vn(a))},null,8,["model-value","style"])])}}}),lD={};function cD(r,s){const a=uD;return Ii(),Zl(a)}var pD=fg(lD,[["render",cD]]);const fD=()=>Df(()=>import("./repl.dcb1b867.js"),[]),dD=()=>Df(()=>import("./_id_.a0988d76.js"),[]),hD=[{name:"index",path:"/",component:pD,props:!0},{name:"repl",path:"/repl",component:fD,props:!0},{name:"module-id",path:"/module/:id",component:dD,props:!0}];/*!
|
|
218
|
+
* vue-router v4.0.16
|
|
219
|
+
* (c) 2022 Eduardo San Martin Morote
|
|
220
|
+
* @license MIT
|
|
221
|
+
*/const Dg=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",lc=r=>Dg?Symbol(r):"_vr_"+r,gD=lc("rvlm"),zd=lc("rvd"),Hf=lc("r"),Wf=lc("rl"),mf=lc("rvl"),Gl=typeof window!="undefined";function mD(r){return r.__esModule||Dg&&r[Symbol.toStringTag]==="Module"}const Di=Object.assign;function Kp(r,s){const a={};for(const l in s){const f=s[l];a[l]=Array.isArray(f)?f.map(r):r(f)}return a}const Mc=()=>{},yD=/\/$/,vD=r=>r.replace(yD,"");function Qp(r,s,a="/"){let l,f={},F="",V="";const ae=s.indexOf("?"),ue=s.indexOf("#",ae>-1?ae:0);return ae>-1&&(l=s.slice(0,ae),F=s.slice(ae+1,ue>-1?ue:s.length),f=r(F)),ue>-1&&(l=l||s.slice(0,ue),V=s.slice(ue,s.length)),l=CD(l!=null?l:s,a),{fullPath:l+(F&&"?")+F+V,path:l,query:f,hash:V}}function DD(r,s){const a=s.query?r(s.query):"";return s.path+(a&&"?")+a+(s.hash||"")}function Hd(r,s){return!s||!r.toLowerCase().startsWith(s.toLowerCase())?r:r.slice(s.length)||"/"}function bD(r,s,a){const l=s.matched.length-1,f=a.matched.length-1;return l>-1&&l===f&&rc(s.matched[l],a.matched[f])&&bg(s.params,a.params)&&r(s.query)===r(a.query)&&s.hash===a.hash}function rc(r,s){return(r.aliasOf||r)===(s.aliasOf||s)}function bg(r,s){if(Object.keys(r).length!==Object.keys(s).length)return!1;for(const a in r)if(!xD(r[a],s[a]))return!1;return!0}function xD(r,s){return Array.isArray(r)?Wd(r,s):Array.isArray(s)?Wd(s,r):r===s}function Wd(r,s){return Array.isArray(s)?r.length===s.length&&r.every((a,l)=>a===s[l]):r.length===1&&r[0]===s}function CD(r,s){if(r.startsWith("/"))return r;if(!r)return s;const a=s.split("/"),l=r.split("/");let f=a.length-1,F,V;for(F=0;F<l.length;F++)if(V=l[F],!(f===1||V==="."))if(V==="..")f--;else break;return a.slice(0,f).join("/")+"/"+l.slice(F-(F===l.length?1:0)).join("/")}var Gc;(function(r){r.pop="pop",r.push="push"})(Gc||(Gc={}));var Rc;(function(r){r.back="back",r.forward="forward",r.unknown=""})(Rc||(Rc={}));function ED(r){if(!r)if(Gl){const s=document.querySelector("base");r=s&&s.getAttribute("href")||"/",r=r.replace(/^\w+:\/\/[^\/]+/,"")}else r="/";return r[0]!=="/"&&r[0]!=="#"&&(r="/"+r),vD(r)}const wD=/^[^#]+#/;function AD(r,s){return r.replace(wD,"#")+s}function SD(r,s){const a=document.documentElement.getBoundingClientRect(),l=r.getBoundingClientRect();return{behavior:s.behavior,left:l.left-a.left-(s.left||0),top:l.top-a.top-(s.top||0)}}const Rp=()=>({left:window.pageXOffset,top:window.pageYOffset});function FD(r){let s;if("el"in r){const a=r.el,l=typeof a=="string"&&a.startsWith("#"),f=typeof a=="string"?l?document.getElementById(a.slice(1)):document.querySelector(a):a;if(!f)return;s=SD(f,r)}else s=r;"scrollBehavior"in document.documentElement.style?window.scrollTo(s):window.scrollTo(s.left!=null?s.left:window.pageXOffset,s.top!=null?s.top:window.pageYOffset)}function $d(r,s){return(history.state?history.state.position-s:-1)+r}const yf=new Map;function kD(r,s){yf.set(r,s)}function TD(r){const s=yf.get(r);return yf.delete(r),s}let ND=()=>location.protocol+"//"+location.host;function xg(r,s){const{pathname:a,search:l,hash:f}=s,F=r.indexOf("#");if(F>-1){let ae=f.includes(r.slice(F))?r.slice(F).length:1,ue=f.slice(ae);return ue[0]!=="/"&&(ue="/"+ue),Hd(ue,"")}return Hd(a,r)+l+f}function BD(r,s,a,l){let f=[],F=[],V=null;const ae=({state:Je})=>{const rt=xg(r,location),bt=a.value,Qt=s.value;let nr=0;if(Je){if(a.value=rt,s.value=Je,V&&V===bt){V=null;return}nr=Qt?Je.position-Qt.position:0}else l(rt);f.forEach(et=>{et(a.value,bt,{delta:nr,type:Gc.pop,direction:nr?nr>0?Rc.forward:Rc.back:Rc.unknown})})};function ue(){V=a.value}function Ae(Je){f.push(Je);const rt=()=>{const bt=f.indexOf(Je);bt>-1&&f.splice(bt,1)};return F.push(rt),rt}function _e(){const{history:Je}=window;!Je.state||Je.replaceState(Di({},Je.state,{scroll:Rp()}),"")}function ze(){for(const Je of F)Je();F=[],window.removeEventListener("popstate",ae),window.removeEventListener("beforeunload",_e)}return window.addEventListener("popstate",ae),window.addEventListener("beforeunload",_e),{pauseListeners:ue,listen:Ae,destroy:ze}}function Ud(r,s,a,l=!1,f=!1){return{back:r,current:s,forward:a,replaced:l,position:window.history.length,scroll:f?Rp():null}}function _D(r){const{history:s,location:a}=window,l={value:xg(r,a)},f={value:s.state};f.value||F(l.value,{back:null,current:l.value,forward:null,position:s.length-1,replaced:!0,scroll:null},!0);function F(ue,Ae,_e){const ze=r.indexOf("#"),Je=ze>-1?(a.host&&document.querySelector("base")?r:r.slice(ze))+ue:ND()+r+ue;try{s[_e?"replaceState":"pushState"](Ae,"",Je),f.value=Ae}catch(rt){console.error(rt),a[_e?"replace":"assign"](Je)}}function V(ue,Ae){const _e=Di({},s.state,Ud(f.value.back,ue,f.value.forward,!0),Ae,{position:f.value.position});F(ue,_e,!0),l.value=ue}function ae(ue,Ae){const _e=Di({},f.value,s.state,{forward:ue,scroll:Rp()});F(_e.current,_e,!0);const ze=Di({},Ud(l.value,ue,null),{position:_e.position+1},Ae);F(ue,ze,!1),l.value=ue}return{location:l,state:f,push:ae,replace:V}}function PD(r){r=ED(r);const s=_D(r),a=BD(r,s.state,s.location,s.replace);function l(F,V=!0){V||a.pauseListeners(),history.go(F)}const f=Di({location:"",base:r,go:l,createHref:AD.bind(null,r)},s,a);return Object.defineProperty(f,"location",{enumerable:!0,get:()=>s.location.value}),Object.defineProperty(f,"state",{enumerable:!0,get:()=>s.state.value}),f}function OD(r){return r=location.host?r||location.pathname+location.search:"",r.includes("#")||(r+="#"),PD(r)}function jD(r){return typeof r=="string"||r&&typeof r=="object"}function Cg(r){return typeof r=="string"||typeof r=="symbol"}const lu={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Eg=lc("nf");var Vd;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(Vd||(Vd={}));function nc(r,s){return Di(new Error,{type:r,[Eg]:!0},s)}function cu(r,s){return r instanceof Error&&Eg in r&&(s==null||!!(r.type&s))}const qd="[^/]+?",LD={sensitive:!1,strict:!1,start:!0,end:!0},ID=/[.+*?^${}()[\]/\\]/g;function MD(r,s){const a=Di({},LD,s),l=[];let f=a.start?"^":"";const F=[];for(const Ae of r){const _e=Ae.length?[]:[90];a.strict&&!Ae.length&&(f+="/");for(let ze=0;ze<Ae.length;ze++){const Je=Ae[ze];let rt=40+(a.sensitive?.25:0);if(Je.type===0)ze||(f+="/"),f+=Je.value.replace(ID,"\\$&"),rt+=40;else if(Je.type===1){const{value:bt,repeatable:Qt,optional:nr,regexp:et}=Je;F.push({name:bt,repeatable:Qt,optional:nr});const pt=et||qd;if(pt!==qd){rt+=10;try{new RegExp(`(${pt})`)}catch(Wt){throw new Error(`Invalid custom RegExp for param "${bt}" (${pt}): `+Wt.message)}}let dt=Qt?`((?:${pt})(?:/(?:${pt}))*)`:`(${pt})`;ze||(dt=nr&&Ae.length<2?`(?:/${dt})`:"/"+dt),nr&&(dt+="?"),f+=dt,rt+=20,nr&&(rt+=-8),Qt&&(rt+=-20),pt===".*"&&(rt+=-50)}_e.push(rt)}l.push(_e)}if(a.strict&&a.end){const Ae=l.length-1;l[Ae][l[Ae].length-1]+=.7000000000000001}a.strict||(f+="/?"),a.end?f+="$":a.strict&&(f+="(?:/|$)");const V=new RegExp(f,a.sensitive?"":"i");function ae(Ae){const _e=Ae.match(V),ze={};if(!_e)return null;for(let Je=1;Je<_e.length;Je++){const rt=_e[Je]||"",bt=F[Je-1];ze[bt.name]=rt&&bt.repeatable?rt.split("/"):rt}return ze}function ue(Ae){let _e="",ze=!1;for(const Je of r){(!ze||!_e.endsWith("/"))&&(_e+="/"),ze=!1;for(const rt of Je)if(rt.type===0)_e+=rt.value;else if(rt.type===1){const{value:bt,repeatable:Qt,optional:nr}=rt,et=bt in Ae?Ae[bt]:"";if(Array.isArray(et)&&!Qt)throw new Error(`Provided param "${bt}" is an array but it is not repeatable (* or + modifiers)`);const pt=Array.isArray(et)?et.join("/"):et;if(!pt)if(nr)Je.length<2&&r.length>1&&(_e.endsWith("/")?_e=_e.slice(0,-1):ze=!0);else throw new Error(`Missing required param "${bt}"`);_e+=pt}}return _e}return{re:V,score:l,keys:F,parse:ae,stringify:ue}}function RD(r,s){let a=0;for(;a<r.length&&a<s.length;){const l=s[a]-r[a];if(l)return l;a++}return r.length<s.length?r.length===1&&r[0]===40+40?-1:1:r.length>s.length?s.length===1&&s[0]===40+40?1:-1:0}function zD(r,s){let a=0;const l=r.score,f=s.score;for(;a<l.length&&a<f.length;){const F=RD(l[a],f[a]);if(F)return F;a++}if(Math.abs(f.length-l.length)===1){if(Jd(l))return 1;if(Jd(f))return-1}return f.length-l.length}function Jd(r){const s=r[r.length-1];return r.length>0&&s[s.length-1]<0}const HD={type:0,value:""},WD=/[a-zA-Z0-9_]/;function $D(r){if(!r)return[[]];if(r==="/")return[[HD]];if(!r.startsWith("/"))throw new Error(`Invalid path "${r}"`);function s(rt){throw new Error(`ERR (${a})/"${Ae}": ${rt}`)}let a=0,l=a;const f=[];let F;function V(){F&&f.push(F),F=[]}let ae=0,ue,Ae="",_e="";function ze(){!Ae||(a===0?F.push({type:0,value:Ae}):a===1||a===2||a===3?(F.length>1&&(ue==="*"||ue==="+")&&s(`A repeatable param (${Ae}) must be alone in its segment. eg: '/:ids+.`),F.push({type:1,value:Ae,regexp:_e,repeatable:ue==="*"||ue==="+",optional:ue==="*"||ue==="?"})):s("Invalid state to consume buffer"),Ae="")}function Je(){Ae+=ue}for(;ae<r.length;){if(ue=r[ae++],ue==="\\"&&a!==2){l=a,a=4;continue}switch(a){case 0:ue==="/"?(Ae&&ze(),V()):ue===":"?(ze(),a=1):Je();break;case 4:Je(),a=l;break;case 1:ue==="("?a=2:WD.test(ue)?Je():(ze(),a=0,ue!=="*"&&ue!=="?"&&ue!=="+"&&ae--);break;case 2:ue===")"?_e[_e.length-1]=="\\"?_e=_e.slice(0,-1)+ue:a=3:_e+=ue;break;case 3:ze(),a=0,ue!=="*"&&ue!=="?"&&ue!=="+"&&ae--,_e="";break;default:s("Unknown state");break}}return a===2&&s(`Unfinished custom RegExp for param "${Ae}"`),ze(),V(),f}function UD(r,s,a){const l=MD($D(r.path),a),f=Di(l,{record:r,parent:s,children:[],alias:[]});return s&&!f.record.aliasOf==!s.record.aliasOf&&s.children.push(f),f}function VD(r,s){const a=[],l=new Map;s=Xd({strict:!1,end:!0,sensitive:!1},s);function f(_e){return l.get(_e)}function F(_e,ze,Je){const rt=!Je,bt=JD(_e);bt.aliasOf=Je&&Je.record;const Qt=Xd(s,_e),nr=[bt];if("alias"in _e){const dt=typeof _e.alias=="string"?[_e.alias]:_e.alias;for(const Wt of dt)nr.push(Di({},bt,{components:Je?Je.record.components:bt.components,path:Wt,aliasOf:Je?Je.record:bt}))}let et,pt;for(const dt of nr){const{path:Wt}=dt;if(ze&&Wt[0]!=="/"){const pr=ze.record.path,kr=pr[pr.length-1]==="/"?"":"/";dt.path=ze.record.path+(Wt&&kr+Wt)}if(et=UD(dt,ze,Qt),Je?Je.alias.push(et):(pt=pt||et,pt!==et&&pt.alias.push(et),rt&&_e.name&&!Gd(et)&&V(_e.name)),"children"in bt){const pr=bt.children;for(let kr=0;kr<pr.length;kr++)F(pr[kr],et,Je&&Je.children[kr])}Je=Je||et,ue(et)}return pt?()=>{V(pt)}:Mc}function V(_e){if(Cg(_e)){const ze=l.get(_e);ze&&(l.delete(_e),a.splice(a.indexOf(ze),1),ze.children.forEach(V),ze.alias.forEach(V))}else{const ze=a.indexOf(_e);ze>-1&&(a.splice(ze,1),_e.record.name&&l.delete(_e.record.name),_e.children.forEach(V),_e.alias.forEach(V))}}function ae(){return a}function ue(_e){let ze=0;for(;ze<a.length&&zD(_e,a[ze])>=0&&(_e.record.path!==a[ze].record.path||!wg(_e,a[ze]));)ze++;a.splice(ze,0,_e),_e.record.name&&!Gd(_e)&&l.set(_e.record.name,_e)}function Ae(_e,ze){let Je,rt={},bt,Qt;if("name"in _e&&_e.name){if(Je=l.get(_e.name),!Je)throw nc(1,{location:_e});Qt=Je.record.name,rt=Di(qD(ze.params,Je.keys.filter(pt=>!pt.optional).map(pt=>pt.name)),_e.params),bt=Je.stringify(rt)}else if("path"in _e)bt=_e.path,Je=a.find(pt=>pt.re.test(bt)),Je&&(rt=Je.parse(bt),Qt=Je.record.name);else{if(Je=ze.name?l.get(ze.name):a.find(pt=>pt.re.test(ze.path)),!Je)throw nc(1,{location:_e,currentLocation:ze});Qt=Je.record.name,rt=Di({},ze.params,_e.params),bt=Je.stringify(rt)}const nr=[];let et=Je;for(;et;)nr.unshift(et.record),et=et.parent;return{name:Qt,path:bt,params:rt,matched:nr,meta:XD(nr)}}return r.forEach(_e=>F(_e)),{addRoute:F,resolve:Ae,removeRoute:V,getRoutes:ae,getRecordMatcher:f}}function qD(r,s){const a={};for(const l of s)l in r&&(a[l]=r[l]);return a}function JD(r){return{path:r.path,redirect:r.redirect,name:r.name,meta:r.meta||{},aliasOf:void 0,beforeEnter:r.beforeEnter,props:GD(r),children:r.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in r?r.components||{}:{default:r.component}}}function GD(r){const s={},a=r.props||!1;if("component"in r)s.default=a;else for(const l in r.components)s[l]=typeof a=="boolean"?a:a[l];return s}function Gd(r){for(;r;){if(r.record.aliasOf)return!0;r=r.parent}return!1}function XD(r){return r.reduce((s,a)=>Di(s,a.meta),{})}function Xd(r,s){const a={};for(const l in r)a[l]=l in s?s[l]:r[l];return a}function wg(r,s){return s.children.some(a=>a===r||wg(r,a))}const Ag=/#/g,KD=/&/g,QD=/\//g,YD=/=/g,ZD=/\?/g,Sg=/\+/g,eb=/%5B/g,tb=/%5D/g,Fg=/%5E/g,rb=/%60/g,kg=/%7B/g,nb=/%7C/g,Tg=/%7D/g,ib=/%20/g;function $f(r){return encodeURI(""+r).replace(nb,"|").replace(eb,"[").replace(tb,"]")}function ob(r){return $f(r).replace(kg,"{").replace(Tg,"}").replace(Fg,"^")}function vf(r){return $f(r).replace(Sg,"%2B").replace(ib,"+").replace(Ag,"%23").replace(KD,"%26").replace(rb,"`").replace(kg,"{").replace(Tg,"}").replace(Fg,"^")}function sb(r){return vf(r).replace(YD,"%3D")}function ab(r){return $f(r).replace(Ag,"%23").replace(ZD,"%3F")}function ub(r){return r==null?"":ab(r).replace(QD,"%2F")}function xp(r){try{return decodeURIComponent(""+r)}catch{}return""+r}function lb(r){const s={};if(r===""||r==="?")return s;const l=(r[0]==="?"?r.slice(1):r).split("&");for(let f=0;f<l.length;++f){const F=l[f].replace(Sg," "),V=F.indexOf("="),ae=xp(V<0?F:F.slice(0,V)),ue=V<0?null:xp(F.slice(V+1));if(ae in s){let Ae=s[ae];Array.isArray(Ae)||(Ae=s[ae]=[Ae]),Ae.push(ue)}else s[ae]=ue}return s}function Kd(r){let s="";for(let a in r){const l=r[a];if(a=sb(a),l==null){l!==void 0&&(s+=(s.length?"&":"")+a);continue}(Array.isArray(l)?l.map(F=>F&&vf(F)):[l&&vf(l)]).forEach(F=>{F!==void 0&&(s+=(s.length?"&":"")+a,F!=null&&(s+="="+F))})}return s}function cb(r){const s={};for(const a in r){const l=r[a];l!==void 0&&(s[a]=Array.isArray(l)?l.map(f=>f==null?null:""+f):l==null?l:""+l)}return s}function Tc(){let r=[];function s(l){return r.push(l),()=>{const f=r.indexOf(l);f>-1&&r.splice(f,1)}}function a(){r=[]}return{add:s,list:()=>r,reset:a}}function du(r,s,a,l,f){const F=l&&(l.enterCallbacks[f]=l.enterCallbacks[f]||[]);return()=>new Promise((V,ae)=>{const ue=ze=>{ze===!1?ae(nc(4,{from:a,to:s})):ze instanceof Error?ae(ze):jD(ze)?ae(nc(2,{from:s,to:ze})):(F&&l.enterCallbacks[f]===F&&typeof ze=="function"&&F.push(ze),V())},Ae=r.call(l&&l.instances[f],s,a,ue);let _e=Promise.resolve(Ae);r.length<3&&(_e=_e.then(ue)),_e.catch(ze=>ae(ze))})}function Yp(r,s,a,l){const f=[];for(const F of r)for(const V in F.components){let ae=F.components[V];if(!(s!=="beforeRouteEnter"&&!F.instances[V]))if(pb(ae)){const Ae=(ae.__vccOpts||ae)[s];Ae&&f.push(du(Ae,a,l,F,V))}else{let ue=ae();f.push(()=>ue.then(Ae=>{if(!Ae)return Promise.reject(new Error(`Couldn't resolve component "${V}" at "${F.path}"`));const _e=mD(Ae)?Ae.default:Ae;F.components[V]=_e;const Je=(_e.__vccOpts||_e)[s];return Je&&du(Je,a,l,F,V)()}))}}return f}function pb(r){return typeof r=="object"||"displayName"in r||"props"in r||"__vccOpts"in r}function Qd(r){const s=Aa(Hf),a=Aa(Wf),l=Ni(()=>s.resolve(vn(r.to))),f=Ni(()=>{const{matched:ue}=l.value,{length:Ae}=ue,_e=ue[Ae-1],ze=a.matched;if(!_e||!ze.length)return-1;const Je=ze.findIndex(rc.bind(null,_e));if(Je>-1)return Je;const rt=Yd(ue[Ae-2]);return Ae>1&&Yd(_e)===rt&&ze[ze.length-1].path!==rt?ze.findIndex(rc.bind(null,ue[Ae-2])):Je}),F=Ni(()=>f.value>-1&&gb(a.params,l.value.params)),V=Ni(()=>f.value>-1&&f.value===a.matched.length-1&&bg(a.params,l.value.params));function ae(ue={}){return hb(ue)?s[vn(r.replace)?"replace":"push"](vn(r.to)).catch(Mc):Promise.resolve()}return{route:l,href:Ni(()=>l.value.href),isActive:F,isExactActive:V,navigate:ae}}const fb=js({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:Qd,setup(r,{slots:s}){const a=ac(Qd(r)),{options:l}=Aa(Hf),f=Ni(()=>({[Zd(r.activeClass,l.linkActiveClass,"router-link-active")]:a.isActive,[Zd(r.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const F=s.default&&s.default(a);return r.custom?F:Mf("a",{"aria-current":a.isExactActive?r.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:f.value},F)}}}),db=fb;function hb(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 s=r.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(s))return}return r.preventDefault&&r.preventDefault(),!0}}function gb(r,s){for(const a in s){const l=s[a],f=r[a];if(typeof l=="string"){if(l!==f)return!1}else if(!Array.isArray(f)||f.length!==l.length||l.some((F,V)=>F!==f[V]))return!1}return!0}function Yd(r){return r?r.aliasOf?r.aliasOf.path:r.path:""}const Zd=(r,s,a)=>r!=null?r:s!=null?s:a,mb=js({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(r,{attrs:s,slots:a}){const l=Aa(mf),f=Ni(()=>r.route||l.value),F=Aa(zd,0),V=Ni(()=>f.value.matched[F]);up(zd,F+1),up(gD,V),up(mf,f);const ae=Qi();return no(()=>[ae.value,V.value,r.name],([ue,Ae,_e],[ze,Je,rt])=>{Ae&&(Ae.instances[_e]=ue,Je&&Je!==Ae&&ue&&ue===ze&&(Ae.leaveGuards.size||(Ae.leaveGuards=Je.leaveGuards),Ae.updateGuards.size||(Ae.updateGuards=Je.updateGuards))),ue&&Ae&&(!Je||!rc(Ae,Je)||!ze)&&(Ae.enterCallbacks[_e]||[]).forEach(bt=>bt(ue))},{flush:"post"}),()=>{const ue=f.value,Ae=V.value,_e=Ae&&Ae.components[r.name],ze=r.name;if(!_e)return eh(a.default,{Component:_e,route:ue});const Je=Ae.props[r.name],rt=Je?Je===!0?ue.params:typeof Je=="function"?Je(ue):Je:null,Qt=Mf(_e,Di({},rt,s,{onVnodeUnmounted:nr=>{nr.component.isUnmounted&&(Ae.instances[ze]=null)},ref:ae}));return eh(a.default,{Component:Qt,route:ue})||Qt}}});function eh(r,s){if(!r)return null;const a=r(s);return a.length===1?a[0]:a}const yb=mb;function vb(r){const s=VD(r.routes,r),a=r.parseQuery||lb,l=r.stringifyQuery||Kd,f=r.history,F=Tc(),V=Tc(),ae=Tc(),ue=_c(lu);let Ae=lu;Gl&&r.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _e=Kp.bind(null,Gt=>""+Gt),ze=Kp.bind(null,ub),Je=Kp.bind(null,xp);function rt(Gt,ar){let Pt,Dr;return Cg(Gt)?(Pt=s.getRecordMatcher(Gt),Dr=ar):Dr=Gt,s.addRoute(Dr,Pt)}function bt(Gt){const ar=s.getRecordMatcher(Gt);ar&&s.removeRoute(ar)}function Qt(){return s.getRoutes().map(Gt=>Gt.record)}function nr(Gt){return!!s.getRecordMatcher(Gt)}function et(Gt,ar){if(ar=Di({},ar||ue.value),typeof Gt=="string"){const Zr=Qp(a,Gt,ar.path),Ue=s.resolve({path:Zr.path},ar),nt=f.createHref(Zr.fullPath);return Di(Zr,Ue,{params:Je(Ue.params),hash:xp(Zr.hash),redirectedFrom:void 0,href:nt})}let Pt;if("path"in Gt)Pt=Di({},Gt,{path:Qp(a,Gt.path,ar.path).path});else{const Zr=Di({},Gt.params);for(const Ue in Zr)Zr[Ue]==null&&delete Zr[Ue];Pt=Di({},Gt,{params:ze(Gt.params)}),ar.params=ze(ar.params)}const Dr=s.resolve(Pt,ar),rn=Gt.hash||"";Dr.params=_e(Je(Dr.params));const Hr=DD(l,Di({},Gt,{hash:ob(rn),path:Dr.path})),Or=f.createHref(Hr);return Di({fullPath:Hr,hash:rn,query:l===Kd?cb(Gt.query):Gt.query||{}},Dr,{redirectedFrom:void 0,href:Or})}function pt(Gt){return typeof Gt=="string"?Qp(a,Gt,ue.value.path):Di({},Gt)}function dt(Gt,ar){if(Ae!==Gt)return nc(8,{from:ar,to:Gt})}function Wt(Gt){return Rr(Gt)}function pr(Gt){return Wt(Di(pt(Gt),{replace:!0}))}function kr(Gt){const ar=Gt.matched[Gt.matched.length-1];if(ar&&ar.redirect){const{redirect:Pt}=ar;let Dr=typeof Pt=="function"?Pt(Gt):Pt;return typeof Dr=="string"&&(Dr=Dr.includes("?")||Dr.includes("#")?Dr=pt(Dr):{path:Dr},Dr.params={}),Di({query:Gt.query,hash:Gt.hash,params:Gt.params},Dr)}}function Rr(Gt,ar){const Pt=Ae=et(Gt),Dr=ue.value,rn=Gt.state,Hr=Gt.force,Or=Gt.replace===!0,Zr=kr(Pt);if(Zr)return Rr(Di(pt(Zr),{state:rn,force:Hr,replace:Or}),ar||Pt);const Ue=Pt;Ue.redirectedFrom=ar;let nt;return!Hr&&bD(l,Dr,Pt)&&(nt=nc(16,{to:Ue,from:Dr}),Vn(Dr,Dr,!0,!1)),(nt?Promise.resolve(nt):Dn(Ue,Dr)).catch(It=>cu(It)?cu(It,2)?It:tn(It):Ut(It,Ue,Dr)).then(It=>{if(It){if(cu(It,2))return Rr(Di(pt(It.to),{state:rn,force:Hr,replace:Or}),ar||Ue)}else It=Nr(Ue,Dr,!0,Or,rn);return Ir(Ue,Dr,It),It})}function Sn(Gt,ar){const Pt=dt(Gt,ar);return Pt?Promise.reject(Pt):Promise.resolve()}function Dn(Gt,ar){let Pt;const[Dr,rn,Hr]=Db(Gt,ar);Pt=Yp(Dr.reverse(),"beforeRouteLeave",Gt,ar);for(const Zr of Dr)Zr.leaveGuards.forEach(Ue=>{Pt.push(du(Ue,Gt,ar))});const Or=Sn.bind(null,Gt,ar);return Pt.push(Or),Vl(Pt).then(()=>{Pt=[];for(const Zr of F.list())Pt.push(du(Zr,Gt,ar));return Pt.push(Or),Vl(Pt)}).then(()=>{Pt=Yp(rn,"beforeRouteUpdate",Gt,ar);for(const Zr of rn)Zr.updateGuards.forEach(Ue=>{Pt.push(du(Ue,Gt,ar))});return Pt.push(Or),Vl(Pt)}).then(()=>{Pt=[];for(const Zr of Gt.matched)if(Zr.beforeEnter&&!ar.matched.includes(Zr))if(Array.isArray(Zr.beforeEnter))for(const Ue of Zr.beforeEnter)Pt.push(du(Ue,Gt,ar));else Pt.push(du(Zr.beforeEnter,Gt,ar));return Pt.push(Or),Vl(Pt)}).then(()=>(Gt.matched.forEach(Zr=>Zr.enterCallbacks={}),Pt=Yp(Hr,"beforeRouteEnter",Gt,ar),Pt.push(Or),Vl(Pt))).then(()=>{Pt=[];for(const Zr of V.list())Pt.push(du(Zr,Gt,ar));return Pt.push(Or),Vl(Pt)}).catch(Zr=>cu(Zr,8)?Zr:Promise.reject(Zr))}function Ir(Gt,ar,Pt){for(const Dr of ae.list())Dr(Gt,ar,Pt)}function Nr(Gt,ar,Pt,Dr,rn){const Hr=dt(Gt,ar);if(Hr)return Hr;const Or=ar===lu,Zr=Gl?history.state:{};Pt&&(Dr||Or?f.replace(Gt.fullPath,Di({scroll:Or&&Zr&&Zr.scroll},rn)):f.push(Gt.fullPath,rn)),ue.value=Gt,Vn(Gt,ar,Pt,Or),tn()}let gn;function zt(){gn||(gn=f.listen((Gt,ar,Pt)=>{const Dr=et(Gt),rn=kr(Dr);if(rn){Rr(Di(rn,{replace:!0}),Dr).catch(Mc);return}Ae=Dr;const Hr=ue.value;Gl&&kD($d(Hr.fullPath,Pt.delta),Rp()),Dn(Dr,Hr).catch(Or=>cu(Or,12)?Or:cu(Or,2)?(Rr(Or.to,Dr).then(Zr=>{cu(Zr,20)&&!Pt.delta&&Pt.type===Gc.pop&&f.go(-1,!1)}).catch(Mc),Promise.reject()):(Pt.delta&&f.go(-Pt.delta,!1),Ut(Or,Dr,Hr))).then(Or=>{Or=Or||Nr(Dr,Hr,!1),Or&&(Pt.delta?f.go(-Pt.delta,!1):Pt.type===Gc.pop&&cu(Or,20)&&f.go(-1,!1)),Ir(Dr,Hr,Or)}).catch(Mc)}))}let Cr=Tc(),de=Tc(),lr;function Ut(Gt,ar,Pt){tn(Gt);const Dr=de.list();return Dr.length?Dr.forEach(rn=>rn(Gt,ar,Pt)):console.error(Gt),Promise.reject(Gt)}function Ar(){return lr&&ue.value!==lu?Promise.resolve():new Promise((Gt,ar)=>{Cr.add([Gt,ar])})}function tn(Gt){return lr||(lr=!Gt,zt(),Cr.list().forEach(([ar,Pt])=>Gt?Pt(Gt):ar()),Cr.reset()),Gt}function Vn(Gt,ar,Pt,Dr){const{scrollBehavior:rn}=r;if(!Gl||!rn)return Promise.resolve();const Hr=!Pt&&TD($d(Gt.fullPath,0))||(Dr||!Pt)&&history.state&&history.state.scroll||null;return Np().then(()=>rn(Gt,ar,Hr)).then(Or=>Or&&FD(Or)).catch(Or=>Ut(Or,Gt,ar))}const ai=Gt=>f.go(Gt);let ui;const On=new Set;return{currentRoute:ue,addRoute:rt,removeRoute:bt,hasRoute:nr,getRoutes:Qt,resolve:et,options:r,push:Wt,replace:pr,go:ai,back:()=>ai(-1),forward:()=>ai(1),beforeEach:F.add,beforeResolve:V.add,afterEach:ae.add,onError:de.add,isReady:Ar,install(Gt){const ar=this;Gt.component("RouterLink",db),Gt.component("RouterView",yb),Gt.config.globalProperties.$router=ar,Object.defineProperty(Gt.config.globalProperties,"$route",{enumerable:!0,get:()=>vn(ue)}),Gl&&!ui&&ue.value===lu&&(ui=!0,Wt(f.location).catch(rn=>{}));const Pt={};for(const rn in lu)Pt[rn]=Ni(()=>ue.value[rn]);Gt.provide(Hf,ar),Gt.provide(Wf,ac(Pt)),Gt.provide(mf,ue);const Dr=Gt.unmount;On.add(Gt),Gt.unmount=function(){On.delete(Gt),On.size<1&&(Ae=lu,gn&&gn(),gn=null,ue.value=lu,ui=!1,lr=!1),Dr()}}}}function Vl(r){return r.reduce((s,a)=>s.then(()=>a()),Promise.resolve())}function Db(r,s){const a=[],l=[],f=[],F=Math.max(s.matched.length,r.matched.length);for(let V=0;V<F;V++){const ae=s.matched[V];ae&&(r.matched.find(Ae=>rc(Ae,ae))?l.push(ae):a.push(ae));const ue=r.matched[V];ue&&(s.matched.find(Ae=>rc(Ae,ue))||f.push(ue))}return[a,l,f]}function bb(){return Aa(Wf)}const xb=js({__name:"FileIcon",props:{id:null},setup(r){const s=r,a=Ni(()=>s.id.split(/\./g).pop()),l=Ni(()=>{switch(a.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(f,F)=>(Ii(),po("div",{class:Yl(vn(l))},null,2))}}),Cb={open:""},Eb={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},wb={"ml-1":""},Ab=js({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(r){const s=bb();return(a,l)=>{const f=hp("ModuleTreeNode",!0),F=xb,V=hp("RouterLink");return Ii(),po("details",Cb,[Bn("summary",Eb,[Bn("div",{class:Yl(r.icon)},null,2),Ns(" "+To(r.node.name),1)]),(Ii(!0),po(Uo,null,sd(Object.entries(r.node.children),ae=>(Ii(),Zl(f,{key:ae[0],ml2:"",node:ae[1]},null,8,["node"]))),128)),(Ii(!0),po(Uo,null,sd(r.node.items,ae=>(Ii(),po("div",{key:ae.full,ml4:"","ws-nowrap":""},[yi(V,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(ae.full)}`,class:Yl({"bg-gray/10":ae.full===vn(s).params.id})},{default:wa(()=>[yi(F,{id:ae.path},null,8,["id"]),Bn("span",wb,To(ae.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}});var Sb="/__unocss/icon.svg";const Fb={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},kb=Bn("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Bn("img",{src:Sb,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Bn("div",{"of-hidden":""},[Ns(" Inspector "),Bn("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),Tb=js({__name:"NarBar",setup(r){const s=Zy(),a=Ey(s);return(l,f)=>(Ii(),po("nav",Fb,[kb,Bn("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:f[0]||(f[0]=F=>vn(a)())})]))}}),Nb={"h-full":""},Bb={b:"r main","of-hidden":""},_b={pt:"4",flex:"~ col gap-3"},Pb=Bn("div",{"i-carbon-dashboard":""},null,-1),Ob=Bn("span",null," Overview ",-1),jb=Bn("div",{"i-carbon-terminal":""},null,-1),Lb=Bn("span",null," REPL ",-1),Ib=Bn("div",{b:"b main"},null,-1),Mb={b:"r main",class:"scrolls scrolls-sidebar"},Rb=js({__name:"Sidebar",setup(r){return(s,a)=>{const l=Tb,f=hp("RouterLink"),F=Ab;return Ii(),po("div",Nb,[Bn("div",Bb,[yi(l),Bn("div",_b,[yi(f,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:wa(()=>[Pb,Ob]),_:1}),yi(f,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:wa(()=>[jb,Lb]),_:1}),Ib])]),Bn("div",Mb,[Object.keys(vn(op).workspace.children).length?(Ii(),Zl(F,{key:0,node:vn(op).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):Dp("",!0),Object.keys(vn(op).root.children).length?(Ii(),Zl(F,{key:1,node:vn(op).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):Dp("",!0)])])}}});var zb=Object.defineProperty,Hb=Object.defineProperties,Wb=Object.getOwnPropertyDescriptors,Cp=Object.getOwnPropertySymbols,Ng=Object.prototype.hasOwnProperty,Bg=Object.prototype.propertyIsEnumerable,th=(r,s,a)=>s in r?zb(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,$b=(r,s)=>{for(var a in s||(s={}))Ng.call(s,a)&&th(r,a,s[a]);if(Cp)for(var a of Cp(s))Bg.call(s,a)&&th(r,a,s[a]);return r},Ub=(r,s)=>Hb(r,Wb(s)),Vb=(r,s)=>{var a={};for(var l in r)Ng.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&Cp)for(var l of Cp(r))s.indexOf(l)<0&&Bg.call(r,l)&&(a[l]=r[l]);return a};const qb={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,s)=>(r[s.id]=s)&&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,s){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=s},onMouseMove(r){this.touch.mouseDown&&(r.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(r)),this.$emit("resize",this.panes.map(s=>({min:s.min,max:s.max,size:s.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,s){"ontouchstart"in window&&(r.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===s?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(r,s),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=s,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[s])},onSplitterDblClick(r,s){let a=0;this.panes=this.panes.map((l,f)=>(l.size=f===s?l.max:l.min,f!==s&&(a+=l.min),l)),this.panes[s].size-=a,this.$emit("pane-maximize",this.panes[s])},onPaneClick(r,s){this.$emit("pane-click",this.indexedPanes[s])},getCurrentMouseDrag(r){const s=this.container.getBoundingClientRect(),{clientX:a,clientY:l}="ontouchstart"in window&&r.touches?r.touches[0]:r;return{x:a-s.left,y:l-s.top}},getCurrentDragPercentage(r){r=r[this.horizontal?"y":"x"];const s=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(r=s-r),r*100/s},calculatePanesSize(r){const s=this.touch.activeSplitter;let a={prevPanesSize:this.sumPrevPanesSize(s),nextPanesSize:this.sumNextPanesSize(s),prevReachedMinPanes:0,nextReachedMinPanes:0};const l=0+(this.pushOtherPanes?0:a.prevPanesSize),f=100-(this.pushOtherPanes?0:a.nextPanesSize),F=Math.max(Math.min(this.getCurrentDragPercentage(r),f),l);let V=[s,s+1],ae=this.panes[V[0]]||null,ue=this.panes[V[1]]||null;const Ae=ae.max<100&&F>=ae.max+a.prevPanesSize,_e=ue.max<100&&F<=100-(ue.max+this.sumNextPanesSize(s+1));if(Ae||_e){Ae?(ae.size=ae.max,ue.size=Math.max(100-ae.max-a.prevPanesSize-a.nextPanesSize,0)):(ae.size=Math.max(100-ue.max-a.prevPanesSize-this.sumNextPanesSize(s+1),0),ue.size=ue.max);return}if(this.pushOtherPanes){const ze=this.doPushOtherPanes(a,F);if(!ze)return;({sums:a,panesToResize:V}=ze),ae=this.panes[V[0]]||null,ue=this.panes[V[1]]||null}ae!==null&&(ae.size=Math.min(Math.max(F-a.prevPanesSize-a.prevReachedMinPanes,ae.min),ae.max)),ue!==null&&(ue.size=Math.min(Math.max(100-F-a.nextPanesSize-a.nextReachedMinPanes,ue.min),ue.max))},doPushOtherPanes(r,s){const a=this.touch.activeSplitter,l=[a,a+1];return s<r.prevPanesSize+this.panes[l[0]].min&&(l[0]=this.findPrevExpandedPane(a).index,r.prevReachedMinPanes=0,l[0]<a&&this.panes.forEach((f,F)=>{F>l[0]&&F<=a&&(f.size=f.min,r.prevReachedMinPanes+=f.min)}),r.prevPanesSize=this.sumPrevPanesSize(l[0]),l[0]===void 0)?(r.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((f,F)=>{F>0&&F<=a&&(f.size=f.min,r.prevReachedMinPanes+=f.min)}),this.panes[l[1]].size=100-r.prevReachedMinPanes-this.panes[0].min-r.prevPanesSize-r.nextPanesSize,null):s>100-r.nextPanesSize-this.panes[l[1]].min&&(l[1]=this.findNextExpandedPane(a).index,r.nextReachedMinPanes=0,l[1]>a+1&&this.panes.forEach((f,F)=>{F>a&&F<l[1]&&(f.size=f.min,r.nextReachedMinPanes+=f.min)}),r.nextPanesSize=this.sumNextPanesSize(l[1]-1),l[1]===void 0)?(r.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((f,F)=>{F<this.panesCount-1&&F>=a+1&&(f.size=f.min,r.nextReachedMinPanes+=f.min)}),this.panes[l[0]].size=100-r.prevPanesSize-r.nextReachedMinPanes-this.panes[this.panesCount-1].min-r.nextPanesSize,null):{sums:r,panesToResize:l}},sumPrevPanesSize(r){return this.panes.reduce((s,a,l)=>s+(l<r?a.size:0),0)},sumNextPanesSize(r){return this.panes.reduce((s,a,l)=>s+(l>r+1?a.size:0),0)},findPrevExpandedPane(r){return[...this.panes].reverse().find(a=>a.index<r&&a.size>a.min)||{}},findNextExpandedPane(r){return this.panes.find(a=>a.index>r+1&&a.size>a.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(s=>{const a=s.classList.contains("splitpanes__pane"),l=s.classList.contains("splitpanes__splitter");if(!a&&!l){s.parentNode.removeChild(s),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.");return}})},addSplitter(r,s,a=!1){const l=r-1,f=document.createElement("div");f.classList.add("splitpanes__splitter"),a||(f.onmousedown=F=>this.onMouseDown(F,l),typeof window!="undefined"&&"ontouchstart"in window&&(f.ontouchstart=F=>this.onMouseDown(F,l)),f.onclick=F=>this.onSplitterClick(F,l+1)),this.dblClickSplitter&&(f.ondblclick=F=>this.onSplitterDblClick(F,l+1)),s.parentNode.insertBefore(f,s)},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(a=>{a.className.includes("splitpanes__splitter")&&this.removeSplitter(a)});let s=0;r.forEach(a=>{a.className.includes("splitpanes__pane")&&(!s&&this.firstSplitter?this.addSplitter(s,a,!0):s&&this.addSplitter(s,a),s++)})},requestUpdate(r){var s=r,{target:a}=s,l=Vb(s,["target"]);const f=this.indexedPanes[a._.uid];Object.entries(l).forEach(([F,V])=>f[F]=V)},onPaneAdd(r){let s=-1;Array.from(r.$el.parentNode.children).some(f=>(f.className.includes("splitpanes__pane")&&s++,f===r.$el));const a=parseFloat(r.minSize),l=parseFloat(r.maxSize);this.panes.splice(s,0,{id:r._.uid,index:s,min:isNaN(a)?0:a,max:isNaN(l)?100:l,size:r.size===null?null:parseFloat(r.size),givenSize:r.size,update:r.update}),this.panes.forEach((f,F)=>f.index=F),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[s]}),this.$emit("pane-add",{index:s,panes:this.panes.map(f=>({min:f.min,max:f.max,size:f.size}))})})},onPaneRemove(r){const s=this.panes.findIndex(l=>l.id===r._.uid),a=this.panes.splice(s,1)[0];this.panes.forEach((l,f)=>l.index=f),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:Ub($b({},a),{index:s})}),this.$emit("pane-remove",{removed:a,panes:this.panes.map(l=>({min:l.min,max:l.max,size:l.size}))})})},resetPaneSizes(r={}){!r.addedPane&&!r.removedPane?this.initialPanesSizing():this.panes.some(s=>s.givenSize!==null||s.min||s.max<100)?this.equalizeAfterAddOrRemove(r):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(s=>({min:s.min,max:s.max,size:s.size})))},equalize(){const r=100/this.panesCount;let s=0,a=[],l=[];this.panes.forEach(f=>{f.size=Math.max(Math.min(r,f.max),f.min),s-=f.size,f.size>=f.max&&a.push(f.id),f.size<=f.min&&l.push(f.id)}),s>.1&&this.readjustSizes(s,a,l)},initialPanesSizing(){100/this.panesCount;let r=100,s=[],a=[],l=0;this.panes.forEach(F=>{r-=F.size,F.size!==null&&l++,F.size>=F.max&&s.push(F.id),F.size<=F.min&&a.push(F.id)});let f=100;r>.1&&(this.panes.forEach(F=>{F.size===null&&(F.size=Math.max(Math.min(r/(this.panesCount-l),F.max),F.min)),f-=F.size}),f>.1&&this.readjustSizes(r,s,a))},equalizeAfterAddOrRemove({addedPane:r,removedPane:s}={}){let a=100/this.panesCount,l=0,f=[],F=[];r&&r.givenSize!==null&&(a=(100-r.givenSize)/(this.panesCount-1)),this.panes.forEach(V=>{l-=V.size,V.size>=V.max&&f.push(V.id),V.size<=V.min&&F.push(V.id)}),!(Math.abs(l)<.1)&&(this.panes.forEach(V=>{r&&r.givenSize!==null&&r.id===V.id||(V.size=Math.max(Math.min(a,V.max),V.min)),l-=V.size,V.size>=V.max&&f.push(V.id),V.size<=V.min&&F.push(V.id)}),l>.1&&this.readjustSizes(l,f,F))},readjustSizes(r,s,a){let l;r>0?l=r/(this.panesCount-s.length):l=r/(this.panesCount-a.length),this.panes.forEach((f,F)=>{if(r>0&&!s.includes(f.id)){const V=Math.max(Math.min(f.size+l,f.max),f.min);r-=V-f.size,f.size=V}else if(!a.includes(f.id)){const V=Math.max(Math.min(f.size+l,f.max),f.min);r-=V-f.size,f.size=V}f.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[f.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((a,l)=>{a.ondblclick=r?f=>this.onSplitterDblClick(f,l):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 Mf("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};var Jb=(r,s)=>{const a=r.__vccOpts||r;for(const[l,f]of s)a[l]=f;return a};const Gb={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 Xb(r,s,a,l,f,F){return Ii(),po("div",{class:"splitpanes__pane",onClick:s[0]||(s[0]=V=>F.onPaneClick(V,r._.uid)),style:Xc(r.style)},[gp(r.$slots,"default")],4)}var rh=Jb(Gb,[["render",Xb]]);const Kb={"h-screen":"","w-screen":"","of-hidden":""},Qb={"h-full":"","of-hidden":""},Yb=js({__name:"App",setup(r){return(s,a)=>{const l=Rb,f=hp("RouterView");return Ii(),po("div",Kb,[yi(vn(qb),null,{default:wa(()=>[yi(vn(rh),{size:"20","push-other-panes":!1},{default:wa(()=>[yi(l)]),_:1}),yi(vn(rh),{size:"80"},{default:wa(()=>[Bn("div",Qb,[yi(f)])]),_:1})]),_:1})])}}}),_g=cy(Yb);_g.use(vb({history:OD(),routes:hD}));_g.mount("#app");export{u0 as A,sy as B,qb as C,Ov as D,kv as E,bb as F,wv as _,zy as a,yi as b,po as c,js as d,Bn as e,n1 as f,vn as g,bv as h,Ui as i,fg as j,Zl as k,t1 as l,hv as m,Xc as n,Ii as o,r1 as p,e1 as q,Qi as r,Mv as s,jm as t,jv as u,Ns as v,wa as w,To as x,Dp as y,rh as z};
|