@unocss/inspector 0.39.2 → 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.
@@ -1,220 +0,0 @@
1
- var Bg=Object.defineProperty,_g=Object.defineProperties;var Og=Object.getOwnPropertyDescriptors;var $f=Object.getOwnPropertySymbols;var Pg=Object.prototype.hasOwnProperty,jg=Object.prototype.propertyIsEnumerable;var Vf=(r,s,a)=>s in r?Bg(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Up=(r,s)=>{for(var a in s||(s={}))Pg.call(s,a)&&Vf(r,a,s[a]);if($f)for(var a of $f(s))jg.call(s,a)&&Vf(r,a,s[a]);return r},Gf=(r,s)=>_g(r,Og(s));const Ig=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 A of f)if(A.type==="childList")for(const K of A.addedNodes)K.tagName==="LINK"&&K.rel==="modulepreload"&&l(K)}).observe(document,{childList:!0,subtree:!0});function a(f){const A={};return f.integrity&&(A.integrity=f.integrity),f.referrerpolicy&&(A.referrerPolicy=f.referrerpolicy),f.crossorigin==="use-credentials"?A.credentials="include":f.crossorigin==="anonymous"?A.credentials="omit":A.credentials="same-origin",A}function l(f){if(f.ep)return;f.ep=!0;const A=a(f);fetch(f.href,A)}};Ig();const Mg="modulepreload",qf={},Lg="/__unocss/",vf=function(s,a){return!a||a.length===0?s():Promise.all(a.map(l=>{if(l=`${Lg}${l}`,l in qf)return;qf[l]=!0;const f=l.endsWith(".css"),A=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${A}`))return;const K=document.createElement("link");if(K.rel=f?"stylesheet":Mg,f||(K.as="script",K.crossOrigin=""),K.href=l,document.head.appendChild(K),f)return new Promise((le,ce)=>{K.addEventListener("load",le),K.addEventListener("error",()=>ce(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>s())};function Df(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 Rg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zg=Df(Rg);function th(r){return!!r||r===""}function Qc(r){if(Vn(r)){const s={};for(let a=0;a<r.length;a++){const l=r[a],f=po(l)?Ug(l):Qc(l);if(f)for(const A in f)s[A]=f[A]}return s}else{if(po(r))return r;if(Ki(r))return r}}const Wg=/;(?![^(]*\))/g,Hg=/:(.+)/;function Ug(r){const s={};return r.split(Wg).forEach(a=>{if(a){const l=a.split(Hg);l.length>1&&(s[l[0].trim()]=l[1].trim())}}),s}function oc(r){let s="";if(po(r))s=r;else if(Vn(r))for(let a=0;a<r.length;a++){const l=oc(r[a]);l&&(s+=l+" ")}else if(Ki(r))for(const a in r)r[a]&&(s+=a+" ");return s.trim()}function $g(r,s){if(r.length!==s.length)return!1;let a=!0;for(let l=0;a&&l<r.length;l++)a=wp(r[l],s[l]);return a}function wp(r,s){if(r===s)return!0;let a=Kf(r),l=Kf(s);if(a||l)return a&&l?r.getTime()===s.getTime():!1;if(a=Uc(r),l=Uc(s),a||l)return r===s;if(a=Vn(r),l=Vn(s),a||l)return a&&l?$g(r,s):!1;if(a=Ki(r),l=Ki(s),a||l){if(!a||!l)return!1;const f=Object.keys(r).length,A=Object.keys(s).length;if(f!==A)return!1;for(const K in r){const le=r.hasOwnProperty(K),ce=s.hasOwnProperty(K);if(le&&!ce||!le&&ce||!wp(r[K],s[K]))return!1}}return String(r)===String(s)}function rh(r,s){return r.findIndex(a=>wp(a,s))}const $o=r=>po(r)?r:r==null?"":Vn(r)||Ki(r)&&(r.toString===oh||!ei(r.toString))?JSON.stringify(r,nh,2):String(r),nh=(r,s)=>s&&s.__v_isRef?nh(r,s.value):nc(s)?{[`Map(${s.size})`]:[...s.entries()].reduce((a,[l,f])=>(a[`${l} =>`]=f,a),{})}:Sp(s)?{[`Set(${s.size})`]:[...s.values()]}:Ki(s)&&!Vn(s)&&!sh(s)?String(s):s,Fi={},rc=[],Ys=()=>{},Vg=()=>!1,Gg=/^on[^a-z]/,Ap=r=>Gg.test(r),bf=r=>r.startsWith("onUpdate:"),Vo=Object.assign,xf=(r,s)=>{const a=r.indexOf(s);a>-1&&r.splice(a,1)},qg=Object.prototype.hasOwnProperty,ci=(r,s)=>qg.call(r,s),Vn=Array.isArray,nc=r=>Zc(r)==="[object Map]",Sp=r=>Zc(r)==="[object Set]",Kf=r=>Zc(r)==="[object Date]",ei=r=>typeof r=="function",po=r=>typeof r=="string",Uc=r=>typeof r=="symbol",Ki=r=>r!==null&&typeof r=="object",ih=r=>Ki(r)&&ei(r.then)&&ei(r.catch),oh=Object.prototype.toString,Zc=r=>oh.call(r),Kg=r=>Zc(r).slice(8,-1),sh=r=>Zc(r)==="[object Object]",Cf=r=>po(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,ap=Df(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fp=r=>{const s=Object.create(null);return a=>s[a]||(s[a]=r(a))},Jg=/-(\w)/g,ca=Fp(r=>r.replace(Jg,(s,a)=>a?a.toUpperCase():"")),Yg=/\B([A-Z])/g,pc=Fp(r=>r.replace(Yg,"-$1").toLowerCase()),kp=Fp(r=>r.charAt(0).toUpperCase()+r.slice(1)),$p=Fp(r=>r?`on${kp(r)}`:""),$c=(r,s)=>!Object.is(r,s),up=(r,s)=>{for(let a=0;a<r.length;a++)r[a](s)},fp=(r,s,a)=>{Object.defineProperty(r,s,{configurable:!0,enumerable:!1,value:a})},Xg=r=>{const s=parseFloat(r);return isNaN(s)?r:s};let Jf;const Qg=()=>Jf||(Jf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let hs;class Zg{constructor(s=!1){this.active=!0,this.effects=[],this.cleanups=[],!s&&hs&&(this.parent=hs,this.index=(hs.scopes||(hs.scopes=[])).push(this)-1)}run(s){if(this.active){const a=hs;try{return hs=this,s()}finally{hs=a}}}on(){hs=this}off(){hs=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 em(r,s=hs){s&&s.active&&s.effects.push(r)}function tm(){return hs}function rm(r){hs&&hs.cleanups.push(r)}const Ef=r=>{const s=new Set(r);return s.w=0,s.n=0,s},ah=r=>(r.w&Fu)>0,uh=r=>(r.n&Fu)>0,nm=({deps:r})=>{if(r.length)for(let s=0;s<r.length;s++)r[s].w|=Fu},im=r=>{const{deps:s}=r;if(s.length){let a=0;for(let l=0;l<s.length;l++){const f=s[l];ah(f)&&!uh(f)?f.delete(r):s[a++]=f,f.w&=~Fu,f.n&=~Fu}s.length=a}},Qp=new WeakMap;let Oc=0,Fu=1;const Zp=30;let Ks;const xl=Symbol(""),ef=Symbol("");class wf{constructor(s,a=null,l){this.fn=s,this.scheduler=a,this.active=!0,this.deps=[],this.parent=void 0,em(this,l)}run(){if(!this.active)return this.fn();let s=Ks,a=Au;for(;s;){if(s===this)return;s=s.parent}try{return this.parent=Ks,Ks=this,Au=!0,Fu=1<<++Oc,Oc<=Zp?nm(this):Yf(this),this.fn()}finally{Oc<=Zp&&im(this),Fu=1<<--Oc,Ks=this.parent,Au=a,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ks===this?this.deferStop=!0:this.active&&(Yf(this),this.onStop&&this.onStop(),this.active=!1)}}function Yf(r){const{deps:s}=r;if(s.length){for(let a=0;a<s.length;a++)s[a].delete(r);s.length=0}}let Au=!0;const lh=[];function fc(){lh.push(Au),Au=!1}function dc(){const r=lh.pop();Au=r===void 0?!0:r}function ms(r,s,a){if(Au&&Ks){let l=Qp.get(r);l||Qp.set(r,l=new Map);let f=l.get(a);f||l.set(a,f=Ef()),ch(f)}}function ch(r,s){let a=!1;Oc<=Zp?uh(r)||(r.n|=Fu,a=!ah(r)):a=!r.has(Ks),a&&(r.add(Ks),Ks.deps.push(r))}function Ra(r,s,a,l,f,A){const K=Qp.get(r);if(!K)return;let le=[];if(s==="clear")le=[...K.values()];else if(a==="length"&&Vn(r))K.forEach((ce,Se)=>{(Se==="length"||Se>=l)&&le.push(ce)});else switch(a!==void 0&&le.push(K.get(a)),s){case"add":Vn(r)?Cf(a)&&le.push(K.get("length")):(le.push(K.get(xl)),nc(r)&&le.push(K.get(ef)));break;case"delete":Vn(r)||(le.push(K.get(xl)),nc(r)&&le.push(K.get(ef)));break;case"set":nc(r)&&le.push(K.get(xl));break}if(le.length===1)le[0]&&tf(le[0]);else{const ce=[];for(const Se of le)Se&&ce.push(...Se);tf(Ef(ce))}}function tf(r,s){const a=Vn(r)?r:[...r];for(const l of a)l.computed&&Xf(l);for(const l of a)l.computed||Xf(l)}function Xf(r,s){(r!==Ks||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}const om=Df("__proto__,__v_isRef,__isVue"),ph=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(Uc)),sm=Af(),am=Af(!1,!0),um=Af(!0),Qf=lm();function lm(){const r={};return["includes","indexOf","lastIndexOf"].forEach(s=>{r[s]=function(...a){const l=Di(this);for(let A=0,K=this.length;A<K;A++)ms(l,"get",A+"");const f=l[s](...a);return f===-1||f===!1?l[s](...a.map(Di)):f}}),["push","pop","shift","unshift","splice"].forEach(s=>{r[s]=function(...a){fc();const l=Di(this)[s].apply(this,a);return dc(),l}}),r}function Af(r=!1,s=!1){return function(l,f,A){if(f==="__v_isReactive")return!r;if(f==="__v_isReadonly")return r;if(f==="__v_isShallow")return s;if(f==="__v_raw"&&A===(r?s?Am:mh:s?gh:hh).get(l))return l;const K=Vn(l);if(!r&&K&&ci(Qf,f))return Reflect.get(Qf,f,A);const le=Reflect.get(l,f,A);return(Uc(f)?ph.has(f):om(f))||(r||ms(l,"get",f),s)?le:qi(le)?K&&Cf(f)?le:le.value:Ki(le)?r?yh(le):hc(le):le}}const cm=fh(),pm=fh(!0);function fh(r=!1){return function(a,l,f,A){let K=a[l];if(Vc(K)&&qi(K)&&!qi(f))return!1;if(!r&&!Vc(f)&&(rf(f)||(f=Di(f),K=Di(K)),!Vn(a)&&qi(K)&&!qi(f)))return K.value=f,!0;const le=Vn(a)&&Cf(l)?Number(l)<a.length:ci(a,l),ce=Reflect.set(a,l,f,A);return a===Di(A)&&(le?$c(f,K)&&Ra(a,"set",l,f):Ra(a,"add",l,f)),ce}}function fm(r,s){const a=ci(r,s);r[s];const l=Reflect.deleteProperty(r,s);return l&&a&&Ra(r,"delete",s,void 0),l}function dm(r,s){const a=Reflect.has(r,s);return(!Uc(s)||!ph.has(s))&&ms(r,"has",s),a}function hm(r){return ms(r,"iterate",Vn(r)?"length":xl),Reflect.ownKeys(r)}const dh={get:sm,set:cm,deleteProperty:fm,has:dm,ownKeys:hm},gm={get:um,set(r,s){return!0},deleteProperty(r,s){return!0}},mm=Vo({},dh,{get:am,set:pm}),Sf=r=>r,Tp=r=>Reflect.getPrototypeOf(r);function ep(r,s,a=!1,l=!1){r=r.__v_raw;const f=Di(r),A=Di(s);a||(s!==A&&ms(f,"get",s),ms(f,"get",A));const{has:K}=Tp(f),le=l?Sf:a?Tf:Gc;if(K.call(f,s))return le(r.get(s));if(K.call(f,A))return le(r.get(A));r!==f&&r.get(s)}function tp(r,s=!1){const a=this.__v_raw,l=Di(a),f=Di(r);return s||(r!==f&&ms(l,"has",r),ms(l,"has",f)),r===f?a.has(r):a.has(r)||a.has(f)}function rp(r,s=!1){return r=r.__v_raw,!s&&ms(Di(r),"iterate",xl),Reflect.get(r,"size",r)}function Zf(r){r=Di(r);const s=Di(this);return Tp(s).has.call(s,r)||(s.add(r),Ra(s,"add",r,r)),this}function ed(r,s){s=Di(s);const a=Di(this),{has:l,get:f}=Tp(a);let A=l.call(a,r);A||(r=Di(r),A=l.call(a,r));const K=f.call(a,r);return a.set(r,s),A?$c(s,K)&&Ra(a,"set",r,s):Ra(a,"add",r,s),this}function td(r){const s=Di(this),{has:a,get:l}=Tp(s);let f=a.call(s,r);f||(r=Di(r),f=a.call(s,r)),l&&l.call(s,r);const A=s.delete(r);return f&&Ra(s,"delete",r,void 0),A}function rd(){const r=Di(this),s=r.size!==0,a=r.clear();return s&&Ra(r,"clear",void 0,void 0),a}function np(r,s){return function(l,f){const A=this,K=A.__v_raw,le=Di(K),ce=s?Sf:r?Tf:Gc;return!r&&ms(le,"iterate",xl),K.forEach((Se,Ne)=>l.call(f,ce(Se),ce(Ne),A))}}function ip(r,s,a){return function(...l){const f=this.__v_raw,A=Di(f),K=nc(A),le=r==="entries"||r===Symbol.iterator&&K,ce=r==="keys"&&K,Se=f[r](...l),Ne=a?Sf:s?Tf:Gc;return!s&&ms(A,"iterate",ce?ef:xl),{next(){const{value:Re,done:qe}=Se.next();return qe?{value:Re,done:qe}:{value:le?[Ne(Re[0]),Ne(Re[1])]:Ne(Re),done:qe}},[Symbol.iterator](){return this}}}}function Du(r){return function(...s){return r==="delete"?!1:this}}function ym(){const r={get(A){return ep(this,A)},get size(){return rp(this)},has:tp,add:Zf,set:ed,delete:td,clear:rd,forEach:np(!1,!1)},s={get(A){return ep(this,A,!1,!0)},get size(){return rp(this)},has:tp,add:Zf,set:ed,delete:td,clear:rd,forEach:np(!1,!0)},a={get(A){return ep(this,A,!0)},get size(){return rp(this,!0)},has(A){return tp.call(this,A,!0)},add:Du("add"),set:Du("set"),delete:Du("delete"),clear:Du("clear"),forEach:np(!0,!1)},l={get(A){return ep(this,A,!0,!0)},get size(){return rp(this,!0)},has(A){return tp.call(this,A,!0)},add:Du("add"),set:Du("set"),delete:Du("delete"),clear:Du("clear"),forEach:np(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(A=>{r[A]=ip(A,!1,!1),a[A]=ip(A,!0,!1),s[A]=ip(A,!1,!0),l[A]=ip(A,!0,!0)}),[r,a,s,l]}const[vm,Dm,bm,xm]=ym();function Ff(r,s){const a=s?r?xm:bm:r?Dm:vm;return(l,f,A)=>f==="__v_isReactive"?!r:f==="__v_isReadonly"?r:f==="__v_raw"?l:Reflect.get(ci(a,f)&&f in l?a:l,f,A)}const Cm={get:Ff(!1,!1)},Em={get:Ff(!1,!0)},wm={get:Ff(!0,!1)},hh=new WeakMap,gh=new WeakMap,mh=new WeakMap,Am=new WeakMap;function Sm(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fm(r){return r.__v_skip||!Object.isExtensible(r)?0:Sm(Kg(r))}function hc(r){return Vc(r)?r:kf(r,!1,dh,Cm,hh)}function km(r){return kf(r,!1,mm,Em,gh)}function yh(r){return kf(r,!0,gm,wm,mh)}function kf(r,s,a,l,f){if(!Ki(r)||r.__v_raw&&!(s&&r.__v_isReactive))return r;const A=f.get(r);if(A)return A;const K=Fm(r);if(K===0)return r;const le=new Proxy(r,K===2?l:a);return f.set(r,le),le}function ic(r){return Vc(r)?ic(r.__v_raw):!!(r&&r.__v_isReactive)}function Vc(r){return!!(r&&r.__v_isReadonly)}function rf(r){return!!(r&&r.__v_isShallow)}function vh(r){return ic(r)||Vc(r)}function Di(r){const s=r&&r.__v_raw;return s?Di(s):r}function Dh(r){return fp(r,"__v_skip",!0),r}const Gc=r=>Ki(r)?hc(r):r,Tf=r=>Ki(r)?yh(r):r;function bh(r){Au&&Ks&&(r=Di(r),ch(r.dep||(r.dep=Ef())))}function xh(r,s){r=Di(r),r.dep&&tf(r.dep)}function qi(r){return!!(r&&r.__v_isRef===!0)}function no(r){return Ch(r,!1)}function jc(r){return Ch(r,!0)}function Ch(r,s){return qi(r)?r:new Tm(r,s)}class Tm{constructor(s,a){this.__v_isShallow=a,this.dep=void 0,this.__v_isRef=!0,this._rawValue=a?s:Di(s),this._value=a?s:Gc(s)}get value(){return bh(this),this._value}set value(s){s=this.__v_isShallow?s:Di(s),$c(s,this._rawValue)&&(this._rawValue=s,this._value=this.__v_isShallow?s:Gc(s),xh(this))}}function kn(r){return qi(r)?r.value:r}const Nm={get:(r,s,a)=>kn(Reflect.get(r,s,a)),set:(r,s,a,l)=>{const f=r[s];return qi(f)&&!qi(a)?(f.value=a,!0):Reflect.set(r,s,a,l)}};function Eh(r){return ic(r)?r:new Proxy(r,Nm)}function Bm(r){const s=Vn(r)?new Array(r.length):{};for(const a in r)s[a]=Om(r,a);return s}class _m{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 Om(r,s,a){const l=r[s];return qi(l)?l:new _m(r,s,a)}class Pm{constructor(s,a,l,f){this._setter=a,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new wf(s,()=>{this._dirty||(this._dirty=!0,xh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!f,this.__v_isReadonly=l}get value(){const s=Di(this);return bh(s),(s._dirty||!s._cacheable)&&(s._dirty=!1,s._value=s.effect.run()),s._value}set value(s){this._setter(s)}}function jm(r,s,a=!1){let l,f;const A=ei(r);return A?(l=r,f=Ys):(l=r.get,f=r.set),new Pm(l,f,A||!f,a)}function Su(r,s,a,l){let f;try{f=l?r(...l):r()}catch(A){Np(A,s,a)}return f}function Xs(r,s,a,l){if(ei(r)){const A=Su(r,s,a,l);return A&&ih(A)&&A.catch(K=>{Np(K,s,a)}),A}const f=[];for(let A=0;A<r.length;A++)f.push(Xs(r[A],s,a,l));return f}function Np(r,s,a,l=!0){const f=s?s.vnode:null;if(s){let A=s.parent;const K=s.proxy,le=a;for(;A;){const Se=A.ec;if(Se){for(let Ne=0;Ne<Se.length;Ne++)if(Se[Ne](r,K,le)===!1)return}A=A.parent}const ce=s.appContext.config.errorHandler;if(ce){Su(ce,null,10,[r,K,le]);return}}Im(r,a,f,l)}function Im(r,s,a,l=!0){console.error(r)}let dp=!1,nf=!1;const gs=[];let Ia=0;const Ic=[];let Pc=null,Zl=0;const Mc=[];let Cu=null,ec=0;const wh=Promise.resolve();let Nf=null,of=null;function Bp(r){const s=Nf||wh;return r?s.then(this?r.bind(this):r):s}function Mm(r){let s=Ia+1,a=gs.length;for(;s<a;){const l=s+a>>>1;qc(gs[l])<r?s=l+1:a=l}return s}function Ah(r){(!gs.length||!gs.includes(r,dp&&r.allowRecurse?Ia+1:Ia))&&r!==of&&(r.id==null?gs.push(r):gs.splice(Mm(r.id),0,r),Sh())}function Sh(){!dp&&!nf&&(nf=!0,Nf=wh.then(Th))}function Lm(r){const s=gs.indexOf(r);s>Ia&&gs.splice(s,1)}function Fh(r,s,a,l){Vn(r)?a.push(...r):(!s||!s.includes(r,r.allowRecurse?l+1:l))&&a.push(r),Sh()}function Rm(r){Fh(r,Pc,Ic,Zl)}function zm(r){Fh(r,Cu,Mc,ec)}function _p(r,s=null){if(Ic.length){for(of=s,Pc=[...new Set(Ic)],Ic.length=0,Zl=0;Zl<Pc.length;Zl++)Pc[Zl]();Pc=null,Zl=0,of=null,_p(r,s)}}function kh(r){if(_p(),Mc.length){const s=[...new Set(Mc)];if(Mc.length=0,Cu){Cu.push(...s);return}for(Cu=s,Cu.sort((a,l)=>qc(a)-qc(l)),ec=0;ec<Cu.length;ec++)Cu[ec]();Cu=null,ec=0}}const qc=r=>r.id==null?1/0:r.id;function Th(r){nf=!1,dp=!0,_p(r),gs.sort((a,l)=>qc(a)-qc(l));const s=Ys;try{for(Ia=0;Ia<gs.length;Ia++){const a=gs[Ia];a&&a.active!==!1&&Su(a,null,14)}}finally{Ia=0,gs.length=0,kh(),dp=!1,Nf=null,(gs.length||Ic.length||Mc.length)&&Th(r)}}function Wm(r,s,...a){if(r.isUnmounted)return;const l=r.vnode.props||Fi;let f=a;const A=s.startsWith("update:"),K=A&&s.slice(7);if(K&&K in l){const Ne=`${K==="modelValue"?"model":K}Modifiers`,{number:Re,trim:qe}=l[Ne]||Fi;qe&&(f=a.map(ot=>ot.trim())),Re&&(f=a.map(Xg))}let le,ce=l[le=$p(s)]||l[le=$p(ca(s))];!ce&&A&&(ce=l[le=$p(pc(s))]),ce&&Xs(ce,r,6,f);const Se=l[le+"Once"];if(Se){if(!r.emitted)r.emitted={};else if(r.emitted[le])return;r.emitted[le]=!0,Xs(Se,r,6,f)}}function Nh(r,s,a=!1){const l=s.emitsCache,f=l.get(r);if(f!==void 0)return f;const A=r.emits;let K={},le=!1;if(!ei(r)){const ce=Se=>{const Ne=Nh(Se,s,!0);Ne&&(le=!0,Vo(K,Ne))};!a&&s.mixins.length&&s.mixins.forEach(ce),r.extends&&ce(r.extends),r.mixins&&r.mixins.forEach(ce)}return!A&&!le?(l.set(r,null),null):(Vn(A)?A.forEach(ce=>K[ce]=null):Vo(K,A),l.set(r,K),K)}function Op(r,s){return!r||!Ap(s)?!1:(s=s.slice(2).replace(/Once$/,""),ci(r,s[0].toLowerCase()+s.slice(1))||ci(r,pc(s))||ci(r,s))}let To=null,Bh=null;function hp(r){const s=To;return To=r,Bh=r&&r.type.__scopeId||null,s}function Ma(r,s=To,a){if(!s||r._n)return r;const l=(...f)=>{l._d&&dd(-1);const A=hp(s),K=r(...f);return hp(A),l._d&&dd(1),K};return l._n=!0,l._c=!0,l._d=!0,l}function Vp(r){const{type:s,vnode:a,proxy:l,withProxy:f,props:A,propsOptions:[K],slots:le,attrs:ce,emit:Se,render:Ne,renderCache:Re,data:qe,setupState:ot,ctx:At,inheritAttrs:tr}=r;let rr,st;const yt=hp(r);try{if(a.shapeFlag&4){const Ht=f||l;rr=la(Ne.call(Ht,Ht,Re,A,ot,qe,At)),st=ce}else{const Ht=s;rr=la(Ht.length>1?Ht(A,{attrs:ce,slots:le,emit:Se}):Ht(A,null)),st=s.props?ce:Hm(ce)}}catch(Ht){Rc.length=0,Np(Ht,r,1),rr=Ai(ku)}let Dt=rr;if(st&&tr!==!1){const Ht=Object.keys(st),{shapeFlag:dr}=Dt;Ht.length&&dr&7&&(K&&Ht.some(bf)&&(st=Um(st,K)),Dt=ac(Dt,st))}return a.dirs&&(Dt=ac(Dt),Dt.dirs=Dt.dirs?Dt.dirs.concat(a.dirs):a.dirs),a.transition&&(Dt.transition=a.transition),rr=Dt,hp(yt),rr}const Hm=r=>{let s;for(const a in r)(a==="class"||a==="style"||Ap(a))&&((s||(s={}))[a]=r[a]);return s},Um=(r,s)=>{const a={};for(const l in r)(!bf(l)||!(l.slice(9)in s))&&(a[l]=r[l]);return a};function $m(r,s,a){const{props:l,children:f,component:A}=r,{props:K,children:le,patchFlag:ce}=s,Se=A.emitsOptions;if(s.dirs||s.transition)return!0;if(a&&ce>=0){if(ce&1024)return!0;if(ce&16)return l?nd(l,K,Se):!!K;if(ce&8){const Ne=s.dynamicProps;for(let Re=0;Re<Ne.length;Re++){const qe=Ne[Re];if(K[qe]!==l[qe]&&!Op(Se,qe))return!0}}}else return(f||le)&&(!le||!le.$stable)?!0:l===K?!1:l?K?nd(l,K,Se):!0:!!K;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 A=l[f];if(s[A]!==r[A]&&!Op(a,A))return!0}return!1}function Vm({vnode:r,parent:s},a){for(;s&&s.subTree===r;)(r=s.vnode).el=a,s=s.parent}const Gm=r=>r.__isSuspense;function qm(r,s){s&&s.pendingBranch?Vn(r)?s.effects.push(...r):s.effects.push(r):zm(r)}function lp(r,s){if(co){let a=co.provides;const l=co.parent&&co.parent.provides;l===a&&(a=co.provides=Object.create(l)),a[r]=s}}function La(r,s,a=!1){const l=co||To;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&&ei(s)?s.call(l.proxy):s}}function Km(r,s){return Bf(r,null,s)}const id={};function bo(r,s,a){return Bf(r,s,a)}function Bf(r,s,{immediate:a,deep:l,flush:f,onTrack:A,onTrigger:K}=Fi){const le=co;let ce,Se=!1,Ne=!1;if(qi(r)?(ce=()=>r.value,Se=rf(r)):ic(r)?(ce=()=>r,l=!0):Vn(r)?(Ne=!0,Se=r.some(st=>ic(st)||rf(st)),ce=()=>r.map(st=>{if(qi(st))return st.value;if(ic(st))return bl(st);if(ei(st))return Su(st,le,2)})):ei(r)?s?ce=()=>Su(r,le,2):ce=()=>{if(!(le&&le.isUnmounted))return Re&&Re(),Xs(r,le,3,[qe])}:ce=Ys,s&&l){const st=ce;ce=()=>bl(st())}let Re,qe=st=>{Re=rr.onStop=()=>{Su(st,le,4)}};if(Jc)return qe=Ys,s?a&&Xs(s,le,3,[ce(),Ne?[]:void 0,qe]):ce(),Ys;let ot=Ne?[]:id;const At=()=>{if(!!rr.active)if(s){const st=rr.run();(l||Se||(Ne?st.some((yt,Dt)=>$c(yt,ot[Dt])):$c(st,ot)))&&(Re&&Re(),Xs(s,le,3,[st,ot===id?void 0:ot,qe]),ot=st)}else rr.run()};At.allowRecurse=!!s;let tr;f==="sync"?tr=At:f==="post"?tr=()=>rs(At,le&&le.suspense):tr=()=>Rm(At);const rr=new wf(ce,tr);return s?a?At():ot=rr.run():f==="post"?rs(rr.run.bind(rr),le&&le.suspense):rr.run(),()=>{rr.stop(),le&&le.scope&&xf(le.scope.effects,rr)}}function Jm(r,s,a){const l=this.proxy,f=po(r)?r.includes(".")?_h(l,r):()=>l[r]:r.bind(l,l);let A;ei(s)?A=s:(A=s.handler,a=s);const K=co;uc(this);const le=Bf(f,A.bind(l),a);return K?uc(K):Cl(),le}function _h(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 bl(r,s){if(!Ki(r)||r.__v_skip||(s=s||new Set,s.has(r)))return r;if(s.add(r),qi(r))bl(r.value,s);else if(Vn(r))for(let a=0;a<r.length;a++)bl(r[a],s);else if(Sp(r)||nc(r))r.forEach(a=>{bl(a,s)});else if(sh(r))for(const a in r)bl(r[a],s);return r}function Qs(r){return ei(r)?{setup:r,name:r.name}:r}const Lc=r=>!!r.type.__asyncLoader,Oh=r=>r.type.__isKeepAlive;function Ym(r,s){Ph(r,"a",s)}function Xm(r,s){Ph(r,"da",s)}function Ph(r,s,a=co){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;)Oh(f.parent.vnode)&&Qm(l,s,a,f),f=f.parent}}function Qm(r,s,a,l){const f=Pp(s,r,l,!0);Ih(()=>{xf(l[s],f)},a)}function Pp(r,s,a=co,l=!1){if(a){const f=a[r]||(a[r]=[]),A=s.__weh||(s.__weh=(...K)=>{if(a.isUnmounted)return;fc(),uc(a);const le=Xs(s,a,r,K);return Cl(),dc(),le});return l?f.unshift(A):f.push(A),A}}const za=r=>(s,a=co)=>(!Jc||r==="sp")&&Pp(r,s,a),jh=za("bm"),_f=za("m"),Zm=za("bu"),e0=za("u"),t0=za("bum"),Ih=za("um"),r0=za("sp"),n0=za("rtg"),i0=za("rtc");function o0(r,s=co){Pp("ec",r,s)}function s0(r,s){const a=To;if(a===null)return r;const l=Ip(a)||a.proxy,f=r.dirs||(r.dirs=[]);for(let A=0;A<s.length;A++){let[K,le,ce,Se=Fi]=s[A];ei(K)&&(K={mounted:K,updated:K}),K.deep&&bl(le),f.push({dir:K,instance:l,value:le,oldValue:void 0,arg:ce,modifiers:Se})}return r}function ml(r,s,a,l){const f=r.dirs,A=s&&s.dirs;for(let K=0;K<f.length;K++){const le=f[K];A&&(le.oldValue=A[K].value);let ce=le.dir[l];ce&&(fc(),Xs(ce,a,8,[r.el,le,r,s]),dc())}}const Mh="components";function gp(r,s){return u0(Mh,r,!0,s)||r}const a0=Symbol();function u0(r,s,a=!0,l=!1){const f=To||co;if(f){const A=f.type;if(r===Mh){const le=M0(A);if(le&&(le===s||le===ca(s)||le===kp(ca(s))))return A}const K=od(f[r]||A[r],s)||od(f.appContext[r],s);return!K&&l?A:K}}function od(r,s){return r&&(r[s]||r[ca(s)]||r[kp(ca(s))])}function sd(r,s,a,l){let f;const A=a&&a[l];if(Vn(r)||po(r)){f=new Array(r.length);for(let K=0,le=r.length;K<le;K++)f[K]=s(r[K],K,void 0,A&&A[K])}else if(typeof r=="number"){f=new Array(r);for(let K=0;K<r;K++)f[K]=s(K+1,K,void 0,A&&A[K])}else if(Ki(r))if(r[Symbol.iterator])f=Array.from(r,(K,le)=>s(K,le,void 0,A&&A[le]));else{const K=Object.keys(r);f=new Array(K.length);for(let le=0,ce=K.length;le<ce;le++){const Se=K[le];f[le]=s(r[Se],Se,le,A&&A[le])}}else f=[];return a&&(a[l]=f),f}function mp(r,s,a={},l,f){if(To.isCE||To.parent&&Lc(To.parent)&&To.parent.isCE)return Ai("slot",s==="default"?null:{name:s},l&&l());let A=r[s];A&&A._c&&(A._d=!1),Wi();const K=A&&Lh(A(a)),le=sc(ns,{key:a.key||`_${s}`},K||(l?l():[]),K&&r._===1?64:-2);return!f&&le.scopeId&&(le.slotScopeIds=[le.scopeId+"-s"]),A&&A._c&&(A._d=!0),le}function Lh(r){return r.some(s=>Dp(s)?!(s.type===ku||s.type===ns&&!Lh(s.children)):!0)?r:null}const sf=r=>r?Yh(r)?Ip(r)||r.proxy:sf(r.parent):null,yp=Vo(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=>sf(r.parent),$root:r=>sf(r.root),$emit:r=>r.emit,$options:r=>zh(r),$forceUpdate:r=>r.f||(r.f=()=>Ah(r.update)),$nextTick:r=>r.n||(r.n=Bp.bind(r.proxy)),$watch:r=>Jm.bind(r)}),l0={get({_:r},s){const{ctx:a,setupState:l,data:f,props:A,accessCache:K,type:le,appContext:ce}=r;let Se;if(s[0]!=="$"){const ot=K[s];if(ot!==void 0)switch(ot){case 1:return l[s];case 2:return f[s];case 4:return a[s];case 3:return A[s]}else{if(l!==Fi&&ci(l,s))return K[s]=1,l[s];if(f!==Fi&&ci(f,s))return K[s]=2,f[s];if((Se=r.propsOptions[0])&&ci(Se,s))return K[s]=3,A[s];if(a!==Fi&&ci(a,s))return K[s]=4,a[s];af&&(K[s]=0)}}const Ne=yp[s];let Re,qe;if(Ne)return s==="$attrs"&&ms(r,"get",s),Ne(r);if((Re=le.__cssModules)&&(Re=Re[s]))return Re;if(a!==Fi&&ci(a,s))return K[s]=4,a[s];if(qe=ce.config.globalProperties,ci(qe,s))return qe[s]},set({_:r},s,a){const{data:l,setupState:f,ctx:A}=r;return f!==Fi&&ci(f,s)?(f[s]=a,!0):l!==Fi&&ci(l,s)?(l[s]=a,!0):ci(r.props,s)||s[0]==="$"&&s.slice(1)in r?!1:(A[s]=a,!0)},has({_:{data:r,setupState:s,accessCache:a,ctx:l,appContext:f,propsOptions:A}},K){let le;return!!a[K]||r!==Fi&&ci(r,K)||s!==Fi&&ci(s,K)||(le=A[0])&&ci(le,K)||ci(l,K)||ci(yp,K)||ci(f.config.globalProperties,K)},defineProperty(r,s,a){return a.get!=null?r._.accessCache[s]=0:ci(a,"value")&&this.set(r,s,a.value,null),Reflect.defineProperty(r,s,a)}};let af=!0;function c0(r){const s=zh(r),a=r.proxy,l=r.ctx;af=!1,s.beforeCreate&&ad(s.beforeCreate,r,"bc");const{data:f,computed:A,methods:K,watch:le,provide:ce,inject:Se,created:Ne,beforeMount:Re,mounted:qe,beforeUpdate:ot,updated:At,activated:tr,deactivated:rr,beforeDestroy:st,beforeUnmount:yt,destroyed:Dt,unmounted:Ht,render:dr,renderTracked:jr,renderTriggered:Ur,errorCaptured:_n,serverPrefetch:En,expose:Wr,inheritAttrs:_r,components:xn,directives:Mt,filters:Er}=s;if(Se&&p0(Se,l,null,r.appContext.config.unwrapInjectedRef),K)for(const zt in K){const Fr=K[zt];ei(Fr)&&(l[zt]=Fr.bind(a))}if(f){const zt=f.call(a,a);Ki(zt)&&(r.data=hc(zt))}if(af=!0,A)for(const zt in A){const Fr=A[zt],un=ei(Fr)?Fr.bind(a,a):ei(Fr.get)?Fr.get.bind(a,a):Ys,Jn=!ei(Fr)&&ei(Fr.set)?Fr.set.bind(a):Ys,fi=Oi({get:un,set:Jn});Object.defineProperty(l,zt,{enumerable:!0,configurable:!0,get:()=>fi.value,set:di=>fi.value=di})}if(le)for(const zt in le)Rh(le[zt],l,a,zt);if(ce){const zt=ei(ce)?ce.call(a):ce;Reflect.ownKeys(zt).forEach(Fr=>{lp(Fr,zt[Fr])})}Ne&&ad(Ne,r,"c");function ur(zt,Fr){Vn(Fr)?Fr.forEach(un=>zt(un.bind(a))):Fr&&zt(Fr.bind(a))}if(ur(jh,Re),ur(_f,qe),ur(Zm,ot),ur(e0,At),ur(Ym,tr),ur(Xm,rr),ur(o0,_n),ur(i0,jr),ur(n0,Ur),ur(t0,yt),ur(Ih,Ht),ur(r0,En),Vn(Wr))if(Wr.length){const zt=r.exposed||(r.exposed={});Wr.forEach(Fr=>{Object.defineProperty(zt,Fr,{get:()=>a[Fr],set:un=>a[Fr]=un})})}else r.exposed||(r.exposed={});dr&&r.render===Ys&&(r.render=dr),_r!=null&&(r.inheritAttrs=_r),xn&&(r.components=xn),Mt&&(r.directives=Mt)}function p0(r,s,a=Ys,l=!1){Vn(r)&&(r=uf(r));for(const f in r){const A=r[f];let K;Ki(A)?"default"in A?K=La(A.from||f,A.default,!0):K=La(A.from||f):K=La(A),qi(K)&&l?Object.defineProperty(s,f,{enumerable:!0,configurable:!0,get:()=>K.value,set:le=>K.value=le}):s[f]=K}}function ad(r,s,a){Xs(Vn(r)?r.map(l=>l.bind(s.proxy)):r.bind(s.proxy),s,a)}function Rh(r,s,a,l){const f=l.includes(".")?_h(a,l):()=>a[l];if(po(r)){const A=s[r];ei(A)&&bo(f,A)}else if(ei(r))bo(f,r.bind(a));else if(Ki(r))if(Vn(r))r.forEach(A=>Rh(A,s,a,l));else{const A=ei(r.handler)?r.handler.bind(a):s[r.handler];ei(A)&&bo(f,A,r)}}function zh(r){const s=r.type,{mixins:a,extends:l}=s,{mixins:f,optionsCache:A,config:{optionMergeStrategies:K}}=r.appContext,le=A.get(s);let ce;return le?ce=le:!f.length&&!a&&!l?ce=s:(ce={},f.length&&f.forEach(Se=>vp(ce,Se,K,!0)),vp(ce,s,K)),A.set(s,ce),ce}function vp(r,s,a,l=!1){const{mixins:f,extends:A}=s;A&&vp(r,A,a,!0),f&&f.forEach(K=>vp(r,K,a,!0));for(const K in s)if(!(l&&K==="expose")){const le=f0[K]||a&&a[K];r[K]=le?le(r[K],s[K]):s[K]}return r}const f0={data:ud,props:vl,emits:vl,methods:vl,computed:vl,beforeCreate:Uo,created:Uo,beforeMount:Uo,mounted:Uo,beforeUpdate:Uo,updated:Uo,beforeDestroy:Uo,beforeUnmount:Uo,destroyed:Uo,unmounted:Uo,activated:Uo,deactivated:Uo,errorCaptured:Uo,serverPrefetch:Uo,components:vl,directives:vl,watch:h0,provide:ud,inject:d0};function ud(r,s){return s?r?function(){return Vo(ei(r)?r.call(this,this):r,ei(s)?s.call(this,this):s)}:s:r}function d0(r,s){return vl(uf(r),uf(s))}function uf(r){if(Vn(r)){const s={};for(let a=0;a<r.length;a++)s[r[a]]=r[a];return s}return r}function Uo(r,s){return r?[...new Set([].concat(r,s))]:s}function vl(r,s){return r?Vo(Vo(Object.create(null),r),s):s}function h0(r,s){if(!r)return s;if(!s)return r;const a=Vo(Object.create(null),r);for(const l in s)a[l]=Uo(r[l],s[l]);return a}function g0(r,s,a,l=!1){const f={},A={};fp(A,jp,1),r.propsDefaults=Object.create(null),Wh(r,s,f,A);for(const K in r.propsOptions[0])K in f||(f[K]=void 0);a?r.props=l?f:km(f):r.type.props?r.props=f:r.props=A,r.attrs=A}function m0(r,s,a,l){const{props:f,attrs:A,vnode:{patchFlag:K}}=r,le=Di(f),[ce]=r.propsOptions;let Se=!1;if((l||K>0)&&!(K&16)){if(K&8){const Ne=r.vnode.dynamicProps;for(let Re=0;Re<Ne.length;Re++){let qe=Ne[Re];if(Op(r.emitsOptions,qe))continue;const ot=s[qe];if(ce)if(ci(A,qe))ot!==A[qe]&&(A[qe]=ot,Se=!0);else{const At=ca(qe);f[At]=lf(ce,le,At,ot,r,!1)}else ot!==A[qe]&&(A[qe]=ot,Se=!0)}}}else{Wh(r,s,f,A)&&(Se=!0);let Ne;for(const Re in le)(!s||!ci(s,Re)&&((Ne=pc(Re))===Re||!ci(s,Ne)))&&(ce?a&&(a[Re]!==void 0||a[Ne]!==void 0)&&(f[Re]=lf(ce,le,Re,void 0,r,!0)):delete f[Re]);if(A!==le)for(const Re in A)(!s||!ci(s,Re)&&!0)&&(delete A[Re],Se=!0)}Se&&Ra(r,"set","$attrs")}function Wh(r,s,a,l){const[f,A]=r.propsOptions;let K=!1,le;if(s)for(let ce in s){if(ap(ce))continue;const Se=s[ce];let Ne;f&&ci(f,Ne=ca(ce))?!A||!A.includes(Ne)?a[Ne]=Se:(le||(le={}))[Ne]=Se:Op(r.emitsOptions,ce)||(!(ce in l)||Se!==l[ce])&&(l[ce]=Se,K=!0)}if(A){const ce=Di(a),Se=le||Fi;for(let Ne=0;Ne<A.length;Ne++){const Re=A[Ne];a[Re]=lf(f,ce,Re,Se[Re],r,!ci(Se,Re))}}return K}function lf(r,s,a,l,f,A){const K=r[a];if(K!=null){const le=ci(K,"default");if(le&&l===void 0){const ce=K.default;if(K.type!==Function&&ei(ce)){const{propsDefaults:Se}=f;a in Se?l=Se[a]:(uc(f),l=Se[a]=ce.call(null,s),Cl())}else l=ce}K[0]&&(A&&!le?l=!1:K[1]&&(l===""||l===pc(a))&&(l=!0))}return l}function Hh(r,s,a=!1){const l=s.propsCache,f=l.get(r);if(f)return f;const A=r.props,K={},le=[];let ce=!1;if(!ei(r)){const Ne=Re=>{ce=!0;const[qe,ot]=Hh(Re,s,!0);Vo(K,qe),ot&&le.push(...ot)};!a&&s.mixins.length&&s.mixins.forEach(Ne),r.extends&&Ne(r.extends),r.mixins&&r.mixins.forEach(Ne)}if(!A&&!ce)return l.set(r,rc),rc;if(Vn(A))for(let Ne=0;Ne<A.length;Ne++){const Re=ca(A[Ne]);ld(Re)&&(K[Re]=Fi)}else if(A)for(const Ne in A){const Re=ca(Ne);if(ld(Re)){const qe=A[Ne],ot=K[Re]=Vn(qe)||ei(qe)?{type:qe}:qe;if(ot){const At=fd(Boolean,ot.type),tr=fd(String,ot.type);ot[0]=At>-1,ot[1]=tr<0||At<tr,(At>-1||ci(ot,"default"))&&le.push(Re)}}}const Se=[K,le];return l.set(r,Se),Se}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 Vn(s)?s.findIndex(a=>pd(a,r)):ei(s)&&pd(s,r)?0:-1}const Uh=r=>r[0]==="_"||r==="$stable",Of=r=>Vn(r)?r.map(la):[la(r)],y0=(r,s,a)=>{if(s._n)return s;const l=Ma((...f)=>Of(s(...f)),a);return l._c=!1,l},$h=(r,s,a)=>{const l=r._ctx;for(const f in r){if(Uh(f))continue;const A=r[f];if(ei(A))s[f]=y0(f,A,l);else if(A!=null){const K=Of(A);s[f]=()=>K}}},Vh=(r,s)=>{const a=Of(s);r.slots.default=()=>a},v0=(r,s)=>{if(r.vnode.shapeFlag&32){const a=s._;a?(r.slots=Di(s),fp(s,"_",a)):$h(s,r.slots={})}else r.slots={},s&&Vh(r,s);fp(r.slots,jp,1)},D0=(r,s,a)=>{const{vnode:l,slots:f}=r;let A=!0,K=Fi;if(l.shapeFlag&32){const le=s._;le?a&&le===1?A=!1:(Vo(f,s),!a&&le===1&&delete f._):(A=!s.$stable,$h(s,f)),K=s}else s&&(Vh(r,s),K={default:1});if(A)for(const le in f)!Uh(le)&&!(le in K)&&delete f[le]};function Gh(){return{app:null,config:{isNativeTag:Vg,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 b0=0;function x0(r,s){return function(l,f=null){ei(l)||(l=Object.assign({},l)),f!=null&&!Ki(f)&&(f=null);const A=Gh(),K=new Set;let le=!1;const ce=A.app={_uid:b0++,_component:l,_props:f,_container:null,_context:A,_instance:null,version:R0,get config(){return A.config},set config(Se){},use(Se,...Ne){return K.has(Se)||(Se&&ei(Se.install)?(K.add(Se),Se.install(ce,...Ne)):ei(Se)&&(K.add(Se),Se(ce,...Ne))),ce},mixin(Se){return A.mixins.includes(Se)||A.mixins.push(Se),ce},component(Se,Ne){return Ne?(A.components[Se]=Ne,ce):A.components[Se]},directive(Se,Ne){return Ne?(A.directives[Se]=Ne,ce):A.directives[Se]},mount(Se,Ne,Re){if(!le){const qe=Ai(l,f);return qe.appContext=A,Ne&&s?s(qe,Se):r(qe,Se,Re),le=!0,ce._container=Se,Se.__vue_app__=ce,Ip(qe.component)||qe.component.proxy}},unmount(){le&&(r(null,ce._container),delete ce._container.__vue_app__)},provide(Se,Ne){return A.provides[Se]=Ne,ce}};return ce}}function cf(r,s,a,l,f=!1){if(Vn(r)){r.forEach((qe,ot)=>cf(qe,s&&(Vn(s)?s[ot]:s),a,l,f));return}if(Lc(l)&&!f)return;const A=l.shapeFlag&4?Ip(l.component)||l.component.proxy:l.el,K=f?null:A,{i:le,r:ce}=r,Se=s&&s.r,Ne=le.refs===Fi?le.refs={}:le.refs,Re=le.setupState;if(Se!=null&&Se!==ce&&(po(Se)?(Ne[Se]=null,ci(Re,Se)&&(Re[Se]=null)):qi(Se)&&(Se.value=null)),ei(ce))Su(ce,le,12,[K,Ne]);else{const qe=po(ce),ot=qi(ce);if(qe||ot){const At=()=>{if(r.f){const tr=qe?Ne[ce]:ce.value;f?Vn(tr)&&xf(tr,A):Vn(tr)?tr.includes(A)||tr.push(A):qe?(Ne[ce]=[A],ci(Re,ce)&&(Re[ce]=Ne[ce])):(ce.value=[A],r.k&&(Ne[r.k]=ce.value))}else qe?(Ne[ce]=K,ci(Re,ce)&&(Re[ce]=K)):qi(ce)&&(ce.value=K,r.k&&(Ne[r.k]=K))};K?(At.id=-1,rs(At,a)):At()}}}const rs=qm;function C0(r){return E0(r)}function E0(r,s){const a=Qg();a.__VUE__=!0;const{insert:l,remove:f,patchProp:A,createElement:K,createText:le,createComment:ce,setText:Se,setElementText:Ne,parentNode:Re,nextSibling:qe,setScopeId:ot=Ys,cloneNode:At,insertStaticContent:tr}=r,rr=(We,at,jt,Ft=null,nr=null,vr=null,wr=!1,kr=null,mr=!!at.dynamicChildren)=>{if(We===at)return;We&&!Nc(We,at)&&(Ft=Cr(We),Wn(We,nr,vr,!0),We=null),at.patchFlag===-2&&(mr=!1,at.dynamicChildren=null);const{type:ze,ref:It,shapeFlag:ct}=at;switch(ze){case Pf:st(We,at,jt,Ft);break;case ku:yt(We,at,jt,Ft);break;case Gp:We==null&&Dt(at,jt,Ft,wr);break;case ns:Mt(We,at,jt,Ft,nr,vr,wr,kr,mr);break;default:ct&1?jr(We,at,jt,Ft,nr,vr,wr,kr,mr):ct&6?Er(We,at,jt,Ft,nr,vr,wr,kr,mr):(ct&64||ct&128)&&ze.process(We,at,jt,Ft,nr,vr,wr,kr,mr,Gr)}It!=null&&nr&&cf(It,We&&We.ref,vr,at||We,!at)},st=(We,at,jt,Ft)=>{if(We==null)l(at.el=le(at.children),jt,Ft);else{const nr=at.el=We.el;at.children!==We.children&&Se(nr,at.children)}},yt=(We,at,jt,Ft)=>{We==null?l(at.el=ce(at.children||""),jt,Ft):at.el=We.el},Dt=(We,at,jt,Ft)=>{[We.el,We.anchor]=tr(We.children,at,jt,Ft,We.el,We.anchor)},Ht=({el:We,anchor:at},jt,Ft)=>{let nr;for(;We&&We!==at;)nr=qe(We),l(We,jt,Ft),We=nr;l(at,jt,Ft)},dr=({el:We,anchor:at})=>{let jt;for(;We&&We!==at;)jt=qe(We),f(We),We=jt;f(at)},jr=(We,at,jt,Ft,nr,vr,wr,kr,mr)=>{wr=wr||at.type==="svg",We==null?Ur(at,jt,Ft,nr,vr,wr,kr,mr):Wr(We,at,nr,vr,wr,kr,mr)},Ur=(We,at,jt,Ft,nr,vr,wr,kr)=>{let mr,ze;const{type:It,props:ct,shapeFlag:Ir,transition:yn,patchFlag:Gn,dirs:Xn}=We;if(We.el&&At!==void 0&&Gn===-1)mr=We.el=At(We.el);else{if(mr=We.el=K(We.type,vr,ct&&ct.is,ct),Ir&8?Ne(mr,We.children):Ir&16&&En(We.children,mr,null,Ft,nr,vr&&It!=="foreignObject",wr,kr),Xn&&ml(We,null,Ft,"created"),ct){for(const Pn in ct)Pn!=="value"&&!ap(Pn)&&A(mr,Pn,null,ct[Pn],vr,We.children,Ft,nr,Ot);"value"in ct&&A(mr,"value",null,ct.value),(ze=ct.onVnodeBeforeMount)&&ua(ze,Ft,We)}_n(mr,We,We.scopeId,wr,Ft)}Xn&&ml(We,null,Ft,"beforeMount");const Qn=(!nr||nr&&!nr.pendingBranch)&&yn&&!yn.persisted;Qn&&yn.beforeEnter(mr),l(mr,at,jt),((ze=ct&&ct.onVnodeMounted)||Qn||Xn)&&rs(()=>{ze&&ua(ze,Ft,We),Qn&&yn.enter(mr),Xn&&ml(We,null,Ft,"mounted")},nr)},_n=(We,at,jt,Ft,nr)=>{if(jt&&ot(We,jt),Ft)for(let vr=0;vr<Ft.length;vr++)ot(We,Ft[vr]);if(nr){let vr=nr.subTree;if(at===vr){const wr=nr.vnode;_n(We,wr,wr.scopeId,wr.slotScopeIds,nr.parent)}}},En=(We,at,jt,Ft,nr,vr,wr,kr,mr=0)=>{for(let ze=mr;ze<We.length;ze++){const It=We[ze]=kr?Eu(We[ze]):la(We[ze]);rr(null,It,at,jt,Ft,nr,vr,wr,kr)}},Wr=(We,at,jt,Ft,nr,vr,wr)=>{const kr=at.el=We.el;let{patchFlag:mr,dynamicChildren:ze,dirs:It}=at;mr|=We.patchFlag&16;const ct=We.props||Fi,Ir=at.props||Fi;let yn;jt&&yl(jt,!1),(yn=Ir.onVnodeBeforeUpdate)&&ua(yn,jt,at,We),It&&ml(at,We,jt,"beforeUpdate"),jt&&yl(jt,!0);const Gn=nr&&at.type!=="foreignObject";if(ze?_r(We.dynamicChildren,ze,kr,jt,Ft,Gn,vr):wr||un(We,at,kr,null,jt,Ft,Gn,vr,!1),mr>0){if(mr&16)xn(kr,at,ct,Ir,jt,Ft,nr);else if(mr&2&&ct.class!==Ir.class&&A(kr,"class",null,Ir.class,nr),mr&4&&A(kr,"style",ct.style,Ir.style,nr),mr&8){const Xn=at.dynamicProps;for(let Qn=0;Qn<Xn.length;Qn++){const Pn=Xn[Qn],bi=ct[Pn],Hr=Ir[Pn];(Hr!==bi||Pn==="value")&&A(kr,Pn,bi,Hr,nr,We.children,jt,Ft,Ot)}}mr&1&&We.children!==at.children&&Ne(kr,at.children)}else!wr&&ze==null&&xn(kr,at,ct,Ir,jt,Ft,nr);((yn=Ir.onVnodeUpdated)||It)&&rs(()=>{yn&&ua(yn,jt,at,We),It&&ml(at,We,jt,"updated")},Ft)},_r=(We,at,jt,Ft,nr,vr,wr)=>{for(let kr=0;kr<at.length;kr++){const mr=We[kr],ze=at[kr],It=mr.el&&(mr.type===ns||!Nc(mr,ze)||mr.shapeFlag&70)?Re(mr.el):jt;rr(mr,ze,It,null,Ft,nr,vr,wr,!0)}},xn=(We,at,jt,Ft,nr,vr,wr)=>{if(jt!==Ft){for(const kr in Ft){if(ap(kr))continue;const mr=Ft[kr],ze=jt[kr];mr!==ze&&kr!=="value"&&A(We,kr,ze,mr,wr,at.children,nr,vr,Ot)}if(jt!==Fi)for(const kr in jt)!ap(kr)&&!(kr in Ft)&&A(We,kr,jt[kr],null,wr,at.children,nr,vr,Ot);"value"in Ft&&A(We,"value",jt.value,Ft.value)}},Mt=(We,at,jt,Ft,nr,vr,wr,kr,mr)=>{const ze=at.el=We?We.el:le(""),It=at.anchor=We?We.anchor:le("");let{patchFlag:ct,dynamicChildren:Ir,slotScopeIds:yn}=at;yn&&(kr=kr?kr.concat(yn):yn),We==null?(l(ze,jt,Ft),l(It,jt,Ft),En(at.children,jt,It,nr,vr,wr,kr,mr)):ct>0&&ct&64&&Ir&&We.dynamicChildren?(_r(We.dynamicChildren,Ir,jt,nr,vr,wr,kr),(at.key!=null||nr&&at===nr.subTree)&&qh(We,at,!0)):un(We,at,jt,It,nr,vr,wr,kr,mr)},Er=(We,at,jt,Ft,nr,vr,wr,kr,mr)=>{at.slotScopeIds=kr,We==null?at.shapeFlag&512?nr.ctx.activate(at,jt,Ft,wr,mr):ge(at,jt,Ft,nr,vr,wr,mr):ur(We,at,mr)},ge=(We,at,jt,Ft,nr,vr,wr)=>{const kr=We.component=_0(We,Ft,nr);if(Oh(We)&&(kr.ctx.renderer=Gr),O0(kr),kr.asyncDep){if(nr&&nr.registerDep(kr,zt),!We.el){const mr=kr.subTree=Ai(ku);yt(null,mr,at,jt)}return}zt(kr,We,at,jt,nr,vr,wr)},ur=(We,at,jt)=>{const Ft=at.component=We.component;if($m(We,at,jt))if(Ft.asyncDep&&!Ft.asyncResolved){Fr(Ft,at,jt);return}else Ft.next=at,Lm(Ft.update),Ft.update();else at.el=We.el,Ft.vnode=at},zt=(We,at,jt,Ft,nr,vr,wr)=>{const kr=()=>{if(We.isMounted){let{next:It,bu:ct,u:Ir,parent:yn,vnode:Gn}=We,Xn=It,Qn;yl(We,!1),It?(It.el=Gn.el,Fr(We,It,wr)):It=Gn,ct&&up(ct),(Qn=It.props&&It.props.onVnodeBeforeUpdate)&&ua(Qn,yn,It,Gn),yl(We,!0);const Pn=Vp(We),bi=We.subTree;We.subTree=Pn,rr(bi,Pn,Re(bi.el),Cr(bi),We,nr,vr),It.el=Pn.el,Xn===null&&Vm(We,Pn.el),Ir&&rs(Ir,nr),(Qn=It.props&&It.props.onVnodeUpdated)&&rs(()=>ua(Qn,yn,It,Gn),nr)}else{let It;const{el:ct,props:Ir}=at,{bm:yn,m:Gn,parent:Xn}=We,Qn=Lc(at);if(yl(We,!1),yn&&up(yn),!Qn&&(It=Ir&&Ir.onVnodeBeforeMount)&&ua(It,Xn,at),yl(We,!0),ct&&sn){const Pn=()=>{We.subTree=Vp(We),sn(ct,We.subTree,We,nr,null)};Qn?at.type.__asyncLoader().then(()=>!We.isUnmounted&&Pn()):Pn()}else{const Pn=We.subTree=Vp(We);rr(null,Pn,jt,Ft,We,nr,vr),at.el=Pn.el}if(Gn&&rs(Gn,nr),!Qn&&(It=Ir&&Ir.onVnodeMounted)){const Pn=at;rs(()=>ua(It,Xn,Pn),nr)}(at.shapeFlag&256||Xn&&Lc(Xn.vnode)&&Xn.vnode.shapeFlag&256)&&We.a&&rs(We.a,nr),We.isMounted=!0,at=jt=Ft=null}},mr=We.effect=new wf(kr,()=>Ah(ze),We.scope),ze=We.update=()=>mr.run();ze.id=We.uid,yl(We,!0),ze()},Fr=(We,at,jt)=>{at.component=We;const Ft=We.vnode.props;We.vnode=at,We.next=null,m0(We,at.props,Ft,jt),D0(We,at.children,jt),fc(),_p(void 0,We.update),dc()},un=(We,at,jt,Ft,nr,vr,wr,kr,mr=!1)=>{const ze=We&&We.children,It=We?We.shapeFlag:0,ct=at.children,{patchFlag:Ir,shapeFlag:yn}=at;if(Ir>0){if(Ir&128){fi(ze,ct,jt,Ft,nr,vr,wr,kr,mr);return}else if(Ir&256){Jn(ze,ct,jt,Ft,nr,vr,wr,kr,mr);return}}yn&8?(It&16&&Ot(ze,nr,vr),ct!==ze&&Ne(jt,ct)):It&16?yn&16?fi(ze,ct,jt,Ft,nr,vr,wr,kr,mr):Ot(ze,nr,vr,!0):(It&8&&Ne(jt,""),yn&16&&En(ct,jt,Ft,nr,vr,wr,kr,mr))},Jn=(We,at,jt,Ft,nr,vr,wr,kr,mr)=>{We=We||rc,at=at||rc;const ze=We.length,It=at.length,ct=Math.min(ze,It);let Ir;for(Ir=0;Ir<ct;Ir++){const yn=at[Ir]=mr?Eu(at[Ir]):la(at[Ir]);rr(We[Ir],yn,jt,null,nr,vr,wr,kr,mr)}ze>It?Ot(We,nr,vr,!0,!1,ct):En(at,jt,Ft,nr,vr,wr,kr,mr,ct)},fi=(We,at,jt,Ft,nr,vr,wr,kr,mr)=>{let ze=0;const It=at.length;let ct=We.length-1,Ir=It-1;for(;ze<=ct&&ze<=Ir;){const yn=We[ze],Gn=at[ze]=mr?Eu(at[ze]):la(at[ze]);if(Nc(yn,Gn))rr(yn,Gn,jt,null,nr,vr,wr,kr,mr);else break;ze++}for(;ze<=ct&&ze<=Ir;){const yn=We[ct],Gn=at[Ir]=mr?Eu(at[Ir]):la(at[Ir]);if(Nc(yn,Gn))rr(yn,Gn,jt,null,nr,vr,wr,kr,mr);else break;ct--,Ir--}if(ze>ct){if(ze<=Ir){const yn=Ir+1,Gn=yn<It?at[yn].el:Ft;for(;ze<=Ir;)rr(null,at[ze]=mr?Eu(at[ze]):la(at[ze]),jt,Gn,nr,vr,wr,kr,mr),ze++}}else if(ze>Ir)for(;ze<=ct;)Wn(We[ze],nr,vr,!0),ze++;else{const yn=ze,Gn=ze,Xn=new Map;for(ze=Gn;ze<=Ir;ze++){const Zt=at[ze]=mr?Eu(at[ze]):la(at[ze]);Zt.key!=null&&Xn.set(Zt.key,ze)}let Qn,Pn=0;const bi=Ir-Gn+1;let Hr=!1,Lt=0;const Rt=new Array(bi);for(ze=0;ze<bi;ze++)Rt[ze]=0;for(ze=yn;ze<=ct;ze++){const Zt=We[ze];if(Pn>=bi){Wn(Zt,nr,vr,!0);continue}let kt;if(Zt.key!=null)kt=Xn.get(Zt.key);else for(Qn=Gn;Qn<=Ir;Qn++)if(Rt[Qn-Gn]===0&&Nc(Zt,at[Qn])){kt=Qn;break}kt===void 0?Wn(Zt,nr,vr,!0):(Rt[kt-Gn]=ze+1,kt>=Lt?Lt=kt:Hr=!0,rr(Zt,at[kt],jt,null,nr,vr,wr,kr,mr),Pn++)}const vt=Hr?w0(Rt):rc;for(Qn=vt.length-1,ze=bi-1;ze>=0;ze--){const Zt=Gn+ze,kt=at[Zt],br=Zt+1<It?at[Zt+1].el:Ft;Rt[ze]===0?rr(null,kt,jt,br,nr,vr,wr,kr,mr):Hr&&(Qn<0||ze!==vt[Qn]?di(kt,jt,br,2):Qn--)}}},di=(We,at,jt,Ft,nr=null)=>{const{el:vr,type:wr,transition:kr,children:mr,shapeFlag:ze}=We;if(ze&6){di(We.component.subTree,at,jt,Ft);return}if(ze&128){We.suspense.move(at,jt,Ft);return}if(ze&64){wr.move(We,at,jt,Gr);return}if(wr===ns){l(vr,at,jt);for(let ct=0;ct<mr.length;ct++)di(mr[ct],at,jt,Ft);l(We.anchor,at,jt);return}if(wr===Gp){Ht(We,at,jt);return}if(Ft!==2&&ze&1&&kr)if(Ft===0)kr.beforeEnter(vr),l(vr,at,jt),rs(()=>kr.enter(vr),nr);else{const{leave:ct,delayLeave:Ir,afterLeave:yn}=kr,Gn=()=>l(vr,at,jt),Xn=()=>{ct(vr,()=>{Gn(),yn&&yn()})};Ir?Ir(vr,Gn,Xn):Xn()}else l(vr,at,jt)},Wn=(We,at,jt,Ft=!1,nr=!1)=>{const{type:vr,props:wr,ref:kr,children:mr,dynamicChildren:ze,shapeFlag:It,patchFlag:ct,dirs:Ir}=We;if(kr!=null&&cf(kr,null,jt,We,!0),It&256){at.ctx.deactivate(We);return}const yn=It&1&&Ir,Gn=!Lc(We);let Xn;if(Gn&&(Xn=wr&&wr.onVnodeBeforeUnmount)&&ua(Xn,at,We),It&6)sr(We.component,jt,Ft);else{if(It&128){We.suspense.unmount(jt,Ft);return}yn&&ml(We,null,at,"beforeUnmount"),It&64?We.type.remove(We,at,jt,nr,Gr,Ft):ze&&(vr!==ns||ct>0&&ct&64)?Ot(ze,at,jt,!1,!0):(vr===ns&&ct&384||!nr&&It&16)&&Ot(mr,at,jt),Ft&&hi(We)}(Gn&&(Xn=wr&&wr.onVnodeUnmounted)||yn)&&rs(()=>{Xn&&ua(Xn,at,We),yn&&ml(We,null,at,"unmounted")},jt)},hi=We=>{const{type:at,el:jt,anchor:Ft,transition:nr}=We;if(at===ns){Ut(jt,Ft);return}if(at===Gp){dr(We);return}const vr=()=>{f(jt),nr&&!nr.persisted&&nr.afterLeave&&nr.afterLeave()};if(We.shapeFlag&1&&nr&&!nr.persisted){const{leave:wr,delayLeave:kr}=nr,mr=()=>wr(jt,vr);kr?kr(We.el,vr,mr):mr()}else vr()},Ut=(We,at)=>{let jt;for(;We!==at;)jt=qe(We),f(We),We=jt;f(at)},sr=(We,at,jt)=>{const{bum:Ft,scope:nr,update:vr,subTree:wr,um:kr}=We;Ft&&up(Ft),nr.stop(),vr&&(vr.active=!1,Wn(wr,We,at,jt)),kr&&rs(kr,at),rs(()=>{We.isUnmounted=!0},at),at&&at.pendingBranch&&!at.isUnmounted&&We.asyncDep&&!We.asyncResolved&&We.suspenseId===at.pendingId&&(at.deps--,at.deps===0&&at.resolve())},Ot=(We,at,jt,Ft=!1,nr=!1,vr=0)=>{for(let wr=vr;wr<We.length;wr++)Wn(We[wr],at,jt,Ft,nr)},Cr=We=>We.shapeFlag&6?Cr(We.component.subTree):We.shapeFlag&128?We.suspense.next():qe(We.anchor||We.el),ln=(We,at,jt)=>{We==null?at._vnode&&Wn(at._vnode,null,null,!0):rr(at._vnode||null,We,at,null,null,null,jt),kh(),at._vnode=We},Gr={p:rr,um:Wn,m:di,r:hi,mt:ge,mc:En,pc:un,pbc:_r,n:Cr,o:r};let Lr,sn;return s&&([Lr,sn]=s(Gr)),{render:ln,hydrate:Lr,createApp:x0(ln,Lr)}}function yl({effect:r,update:s},a){r.allowRecurse=s.allowRecurse=a}function qh(r,s,a=!1){const l=r.children,f=s.children;if(Vn(l)&&Vn(f))for(let A=0;A<l.length;A++){const K=l[A];let le=f[A];le.shapeFlag&1&&!le.dynamicChildren&&((le.patchFlag<=0||le.patchFlag===32)&&(le=f[A]=Eu(f[A]),le.el=K.el),a||qh(K,le))}}function w0(r){const s=r.slice(),a=[0];let l,f,A,K,le;const ce=r.length;for(l=0;l<ce;l++){const Se=r[l];if(Se!==0){if(f=a[a.length-1],r[f]<Se){s[l]=f,a.push(l);continue}for(A=0,K=a.length-1;A<K;)le=A+K>>1,r[a[le]]<Se?A=le+1:K=le;Se<r[a[A]]&&(A>0&&(s[l]=a[A-1]),a[A]=l)}}for(A=a.length,K=a[A-1];A-- >0;)a[A]=K,K=s[K];return a}const A0=r=>r.__isTeleport,ns=Symbol(void 0),Pf=Symbol(void 0),ku=Symbol(void 0),Gp=Symbol(void 0),Rc=[];let Js=null;function Wi(r=!1){Rc.push(Js=r?null:[])}function S0(){Rc.pop(),Js=Rc[Rc.length-1]||null}let Kc=1;function dd(r){Kc+=r}function Kh(r){return r.dynamicChildren=Kc>0?Js||rc:null,S0(),Kc>0&&Js&&Js.push(r),r}function Do(r,s,a,l,f,A){return Kh(Mn(r,s,a,l,f,A,!0))}function sc(r,s,a,l,f){return Kh(Ai(r,s,a,l,f,!0))}function Dp(r){return r?r.__v_isVNode===!0:!1}function Nc(r,s){return r.type===s.type&&r.key===s.key}const jp="__vInternal",Jh=({key:r})=>r!=null?r:null,cp=({ref:r,ref_key:s,ref_for:a})=>r!=null?po(r)||qi(r)||ei(r)?{i:To,r,k:s,f:!!a}:r:null;function Mn(r,s=null,a=null,l=0,f=null,A=r===ns?0:1,K=!1,le=!1){const ce={__v_isVNode:!0,__v_skip:!0,type:r,props:s,key:s&&Jh(s),ref:s&&cp(s),scopeId:Bh,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:A,patchFlag:l,dynamicProps:f,dynamicChildren:null,appContext:null};return le?(jf(ce,a),A&128&&r.normalize(ce)):a&&(ce.shapeFlag|=po(a)?8:16),Kc>0&&!K&&Js&&(ce.patchFlag>0||A&6)&&ce.patchFlag!==32&&Js.push(ce),ce}const Ai=F0;function F0(r,s=null,a=null,l=0,f=null,A=!1){if((!r||r===a0)&&(r=ku),Dp(r)){const le=ac(r,s,!0);return a&&jf(le,a),Kc>0&&!A&&Js&&(le.shapeFlag&6?Js[Js.indexOf(r)]=le:Js.push(le)),le.patchFlag|=-2,le}if(L0(r)&&(r=r.__vccOpts),s){s=k0(s);let{class:le,style:ce}=s;le&&!po(le)&&(s.class=oc(le)),Ki(ce)&&(vh(ce)&&!Vn(ce)&&(ce=Vo({},ce)),s.style=Qc(ce))}const K=po(r)?1:Gm(r)?128:A0(r)?64:Ki(r)?4:ei(r)?2:0;return Mn(r,s,a,l,f,K,A,!0)}function k0(r){return r?vh(r)||jp in r?Vo({},r):r:null}function ac(r,s,a=!1){const{props:l,ref:f,patchFlag:A,children:K}=r,le=s?T0(l||{},s):l;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:le,key:le&&Jh(le),ref:s&&s.ref?a&&f?Vn(f)?f.concat(cp(s)):[f,cp(s)]:cp(s):f,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:K,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:s&&r.type!==ns?A===-1?16:A|16:A,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&ac(r.ssContent),ssFallback:r.ssFallback&&ac(r.ssFallback),el:r.el,anchor:r.anchor}}function qs(r=" ",s=0){return Ai(Pf,null,r,s)}function bp(r="",s=!1){return s?(Wi(),sc(ku,null,r)):Ai(ku,null,r)}function la(r){return r==null||typeof r=="boolean"?Ai(ku):Vn(r)?Ai(ns,null,r.slice()):typeof r=="object"?Eu(r):Ai(Pf,null,String(r))}function Eu(r){return r.el===null||r.memo?r:ac(r)}function jf(r,s){let a=0;const{shapeFlag:l}=r;if(s==null)s=null;else if(Vn(s))a=16;else if(typeof s=="object")if(l&65){const f=s.default;f&&(f._c&&(f._d=!1),jf(r,f()),f._c&&(f._d=!0));return}else{a=32;const f=s._;!f&&!(jp in s)?s._ctx=To:f===3&&To&&(To.slots._===1?s._=1:(s._=2,r.patchFlag|=1024))}else ei(s)?(s={default:s,_ctx:To},a=32):(s=String(s),l&64?(a=16,s=[qs(s)]):a=8);r.children=s,r.shapeFlag|=a}function T0(...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=oc([s.class,l.class]));else if(f==="style")s.style=Qc([s.style,l.style]);else if(Ap(f)){const A=s[f],K=l[f];K&&A!==K&&!(Vn(A)&&A.includes(K))&&(s[f]=A?[].concat(A,K):K)}else f!==""&&(s[f]=l[f])}return s}function ua(r,s,a,l=null){Xs(r,s,7,[a,l])}const N0=Gh();let B0=0;function _0(r,s,a){const l=r.type,f=(s?s.appContext:r.appContext)||N0,A={uid:B0++,vnode:r,type:l,parent:s,appContext:f,root:null,next:null,subTree:null,effect:null,update:null,scope:new Zg(!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:Hh(l,f),emitsOptions:Nh(l,f),emit:null,emitted:null,propsDefaults:Fi,inheritAttrs:l.inheritAttrs,ctx:Fi,data:Fi,props:Fi,attrs:Fi,slots:Fi,refs:Fi,setupState:Fi,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 A.ctx={_:A},A.root=s?s.root:A,A.emit=Wm.bind(null,A),r.ce&&r.ce(A),A}let co=null;const If=()=>co||To,uc=r=>{co=r,r.scope.on()},Cl=()=>{co&&co.scope.off(),co=null};function Yh(r){return r.vnode.shapeFlag&4}let Jc=!1;function O0(r,s=!1){Jc=s;const{props:a,children:l}=r.vnode,f=Yh(r);g0(r,a,f,s),v0(r,l);const A=f?P0(r,s):void 0;return Jc=!1,A}function P0(r,s){const a=r.type;r.accessCache=Object.create(null),r.proxy=Dh(new Proxy(r.ctx,l0));const{setup:l}=a;if(l){const f=r.setupContext=l.length>1?I0(r):null;uc(r),fc();const A=Su(l,r,0,[r.props,f]);if(dc(),Cl(),ih(A)){if(A.then(Cl,Cl),s)return A.then(K=>{hd(r,K,s)}).catch(K=>{Np(K,r,0)});r.asyncDep=A}else hd(r,A,s)}else Xh(r,s)}function hd(r,s,a){ei(s)?r.type.__ssrInlineRender?r.ssrRender=s:r.render=s:Ki(s)&&(r.setupState=Eh(s)),Xh(r,a)}let gd;function Xh(r,s,a){const l=r.type;if(!r.render){if(!s&&gd&&!l.render){const f=l.template;if(f){const{isCustomElement:A,compilerOptions:K}=r.appContext.config,{delimiters:le,compilerOptions:ce}=l,Se=Vo(Vo({isCustomElement:A,delimiters:le},K),ce);l.render=gd(f,Se)}}r.render=l.render||Ys}uc(r),fc(),c0(r),dc(),Cl()}function j0(r){return new Proxy(r.attrs,{get(s,a){return ms(r,"get","$attrs"),s[a]}})}function I0(r){const s=l=>{r.exposed=l||{}};let a;return{get attrs(){return a||(a=j0(r))},slots:r.slots,emit:r.emit,expose:s}}function Ip(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(Eh(Dh(r.exposed)),{get(s,a){if(a in s)return s[a];if(a in yp)return yp[a](r)}}))}function M0(r){return ei(r)&&r.displayName||r.name}function L0(r){return ei(r)&&"__vccOpts"in r}const Oi=(r,s)=>jm(r,s,Jc);function Mf(r,s,a){const l=arguments.length;return l===2?Ki(s)&&!Vn(s)?Dp(s)?Ai(r,null,[s]):Ai(r,s):Ai(r,null,s):(l>3?a=Array.prototype.slice.call(arguments,2):l===3&&Dp(a)&&(a=[a]),Ai(r,s,a))}const R0="3.2.36",z0="http://www.w3.org/2000/svg",Dl=typeof document!="undefined"?document:null,md=Dl&&Dl.createElement("template"),W0={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?Dl.createElementNS(z0,r):Dl.createElement(r,a?{is:a}:void 0);return r==="select"&&l&&l.multiple!=null&&f.setAttribute("multiple",l.multiple),f},createText:r=>Dl.createTextNode(r),createComment:r=>Dl.createComment(r),setText:(r,s)=>{r.nodeValue=s},setElementText:(r,s)=>{r.textContent=s},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>Dl.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,A){const K=a?a.previousSibling:s.lastChild;if(f&&(f===A||f.nextSibling))for(;s.insertBefore(f.cloneNode(!0),a),!(f===A||!(f=f.nextSibling)););else{md.innerHTML=l?`<svg>${r}</svg>`:r;const le=md.content;if(l){const ce=le.firstChild;for(;ce.firstChild;)le.appendChild(ce.firstChild);le.removeChild(ce)}s.insertBefore(le,a)}return[K?K.nextSibling:s.firstChild,a?a.previousSibling:s.lastChild]}};function H0(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 U0(r,s,a){const l=r.style,f=po(a);if(a&&!f){for(const A in a)pf(l,A,a[A]);if(s&&!po(s))for(const A in s)a[A]==null&&pf(l,A,"")}else{const A=l.display;f?s!==a&&(l.cssText=a):s&&r.removeAttribute("style"),"_vod"in r&&(l.display=A)}}const yd=/\s*!important$/;function pf(r,s,a){if(Vn(a))a.forEach(l=>pf(r,s,l));else if(a==null&&(a=""),s.startsWith("--"))r.setProperty(s,a);else{const l=$0(r,s);yd.test(a)?r.setProperty(pc(l),a.replace(yd,""),"important"):r[l]=a}}const vd=["Webkit","Moz","ms"],qp={};function $0(r,s){const a=qp[s];if(a)return a;let l=ca(s);if(l!=="filter"&&l in r)return qp[s]=l;l=kp(l);for(let f=0;f<vd.length;f++){const A=vd[f]+l;if(A in r)return qp[s]=A}return s}const Dd="http://www.w3.org/1999/xlink";function V0(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 A=zg(s);a==null||A&&!th(a)?r.removeAttribute(s):r.setAttribute(s,A?"":a)}}function G0(r,s,a,l,f,A,K){if(s==="innerHTML"||s==="textContent"){l&&K(l,f,A),r[s]=a==null?"":a;return}if(s==="value"&&r.tagName!=="PROGRESS"&&!r.tagName.includes("-")){r._value=a;const ce=a==null?"":a;(r.value!==ce||r.tagName==="OPTION")&&(r.value=ce),a==null&&r.removeAttribute(s);return}let le=!1;if(a===""||a==null){const ce=typeof r[s];ce==="boolean"?a=th(a):a==null&&ce==="string"?(a="",le=!0):ce==="number"&&(a=0,le=!0)}try{r[s]=a}catch{}le&&r.removeAttribute(s)}const[Qh,q0]=(()=>{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 ff=0;const K0=Promise.resolve(),J0=()=>{ff=0},Y0=()=>ff||(K0.then(J0),ff=Qh());function Zh(r,s,a,l){r.addEventListener(s,a,l)}function X0(r,s,a,l){r.removeEventListener(s,a,l)}function Q0(r,s,a,l,f=null){const A=r._vei||(r._vei={}),K=A[s];if(l&&K)K.value=l;else{const[le,ce]=Z0(s);if(l){const Se=A[s]=ey(l,f);Zh(r,le,Se,ce)}else K&&(X0(r,le,K,ce),A[s]=void 0)}}const bd=/(?:Once|Passive|Capture)$/;function Z0(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[pc(r.slice(2)),s]}function ey(r,s){const a=l=>{const f=l.timeStamp||Qh();(q0||f>=a.attached-1)&&Xs(ty(l,a.value),s,5,[l])};return a.value=r,a.attached=Y0(),a}function ty(r,s){if(Vn(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]/,ry=(r,s,a,l,f=!1,A,K,le,ce)=>{s==="class"?H0(r,l,f):s==="style"?U0(r,a,l):Ap(s)?bf(s)||Q0(r,s,a,l,K):(s[0]==="."?(s=s.slice(1),!0):s[0]==="^"?(s=s.slice(1),!1):ny(r,s,l,f))?G0(r,s,l,A,K,le,ce):(s==="true-value"?r._trueValue=l:s==="false-value"&&(r._falseValue=l),V0(r,s,l,f))};function ny(r,s,a,l){return l?!!(s==="innerHTML"||s==="textContent"||s in r&&xd.test(s)&&ei(a)):s==="spellcheck"||s==="draggable"||s==="translate"||s==="form"||s==="list"&&r.tagName==="INPUT"||s==="type"&&r.tagName==="TEXTAREA"||xd.test(s)&&po(a)?!1:s in r}const Cd=r=>{const s=r.props["onUpdate:modelValue"]||!1;return Vn(s)?a=>up(s,a):s},iy={deep:!0,created(r,s,a){r._assign=Cd(a),Zh(r,"change",()=>{const l=r._modelValue,f=oy(r),A=r.checked,K=r._assign;if(Vn(l)){const le=rh(l,f),ce=le!==-1;if(A&&!ce)K(l.concat(f));else if(!A&&ce){const Se=[...l];Se.splice(le,1),K(Se)}}else if(Sp(l)){const le=new Set(l);A?le.add(f):le.delete(f),K(le)}else K(eg(r,A))})},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,Vn(s)?r.checked=rh(s,l.props.value)>-1:Sp(s)?r.checked=s.has(l.props.value):s!==a&&(r.checked=wp(s,eg(r,!0)))}function oy(r){return"_value"in r?r._value:r.value}function eg(r,s){const a=s?"_trueValue":"_falseValue";return a in r?r[a]:s}const sy=Vo({patchProp:ry},W0);let wd;function ay(){return wd||(wd=C0(sy))}const uy=(...r)=>{const s=ay().createApp(...r),{mount:a}=s;return s.mount=l=>{const f=ly(l);if(!f)return;const A=s._component;!ei(A)&&!A.render&&!A.template&&(A.template=f.innerHTML),f.innerHTML="";const K=a(f,!1,f instanceof SVGElement);return f instanceof Element&&(f.removeAttribute("v-cloak"),f.setAttribute("data-v-app","")),K},s};function ly(r){return po(r)?document.querySelector(r):r}function zc(){const r=[],s=f=>{const A=r.indexOf(f);A!==-1&&r.splice(A,1)};return{on:f=>(r.push(f),{off:()=>s(f)}),off:s,trigger:f=>{r.forEach(A=>A(f))}}}function Mp(r){return tm()?(rm(r),!0):!1}var Ad;const Lf=typeof window!="undefined",cy=r=>typeof r!="undefined",py=r=>typeof r=="string",pp=()=>{};Lf&&((Ad=window==null?void 0:window.navigator)==null?void 0:Ad.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function tg(r,s){function a(...l){r(()=>s.apply(this,l),{fn:s,thisArg:this,args:l})}return a}const rg=r=>r();function fy(r,s={}){let a,l;return A=>{const K=kn(r),le=kn(s.maxWait);if(a&&clearTimeout(a),K<=0||le!==void 0&&le<=0)return l&&(clearTimeout(l),l=null),A();le&&!l&&(l=setTimeout(()=>{a&&clearTimeout(a),l=null,A()},le)),a=setTimeout(()=>{l&&clearTimeout(l),l=null,A()},K)}}function dy(r=rg){const s=no(!0);function a(){s.value=!1}function l(){s.value=!0}return{isActive:s,pause:a,resume:l,eventFilter:(...A)=>{s.value&&r(...A)}}}function hy(r,s=!1,a="Timeout"){return new Promise((l,f)=>{setTimeout(s?()=>f(a):l,r)})}function gy(r,...s){return s.some(a=>a in r)}function my(r,s=200,a={}){return tg(fy(s,a),r)}function yy(r,s=200,a={}){if(s<=0)return r;const l=no(r.value),f=my(()=>{l.value=r.value},s,a);return bo(r,()=>f()),l}function vy(r,s=!0){If()?jh(r):s?r():Bp(r)}function Dy(r,s=!0){If()?_f(r):s?r():Bp(r)}function by(r){let s=!1;function a(Re,{flush:qe="sync",deep:ot=!1,timeout:At,throwOnTimeout:tr}={}){let rr=null;const yt=[new Promise(Dt=>{rr=bo(r,Ht=>{Re(Ht)===!s&&(rr==null||rr(),Dt())},{flush:qe,deep:ot,immediate:!0})})];return At&&yt.push(hy(At,tr).finally(()=>{rr==null||rr()})),Promise.race(yt)}function l(Re,qe){return a(ot=>ot===kn(Re),qe)}function f(Re){return a(qe=>Boolean(qe),Re)}function A(Re){return l(null,Re)}function K(Re){return l(void 0,Re)}function le(Re){return a(Number.isNaN,Re)}function ce(Re,qe){return a(ot=>{const At=Array.from(ot);return At.includes(Re)||At.includes(kn(Re))},qe)}function Se(Re){return Ne(1,Re)}function Ne(Re=1,qe){let ot=-1;return a(()=>(ot+=1,ot>=Re),qe)}return Array.isArray(kn(r))?{toMatch:a,toContains:ce,changed:Se,changedTimes:Ne,get not(){return s=!s,this}}:{toMatch:a,toBe:l,toBeTruthy:f,toBeNull:A,toBeNaN:le,toBeUndefined:K,changed:Se,changedTimes:Ne,get not(){return s=!s,this}}}function xy(r,s,a={}){const{immediate:l=!0}=a,f=no(!1);let A=null;function K(){A&&(clearTimeout(A),A=null)}function le(){f.value=!1,K()}function ce(...Se){K(),f.value=!0,A=setTimeout(()=>{f.value=!1,A=null,r(...Se)},kn(s))}return l&&(f.value=!0,Lf&&ce()),Mp(le),{isPending:f,start:ce,stop:le}}function Cy(r=!1,s={}){const{truthyValue:a=!0,falsyValue:l=!1}=s,f=qi(r),A=no(r);function K(le){return arguments.length?(A.value=le,A.value):(A.value=A.value===kn(a)?kn(l):kn(a),A.value)}return f?K:[A,K]}var Sd=Object.getOwnPropertySymbols,Ey=Object.prototype.hasOwnProperty,wy=Object.prototype.propertyIsEnumerable,Ay=(r,s)=>{var a={};for(var l in r)Ey.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&Sd)for(var l of Sd(r))s.indexOf(l)<0&&wy.call(r,l)&&(a[l]=r[l]);return a};function Sy(r,s,a={}){const l=a,{eventFilter:f=rg}=l,A=Ay(l,["eventFilter"]);return bo(r,tg(f,s),A)}var Fy=Object.defineProperty,ky=Object.defineProperties,Ty=Object.getOwnPropertyDescriptors,xp=Object.getOwnPropertySymbols,ng=Object.prototype.hasOwnProperty,ig=Object.prototype.propertyIsEnumerable,Fd=(r,s,a)=>s in r?Fy(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Ny=(r,s)=>{for(var a in s||(s={}))ng.call(s,a)&&Fd(r,a,s[a]);if(xp)for(var a of xp(s))ig.call(s,a)&&Fd(r,a,s[a]);return r},By=(r,s)=>ky(r,Ty(s)),_y=(r,s)=>{var a={};for(var l in r)ng.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&xp)for(var l of xp(r))s.indexOf(l)<0&&ig.call(r,l)&&(a[l]=r[l]);return a};function Oy(r,s,a={}){const l=a,{eventFilter:f}=l,A=_y(l,["eventFilter"]),{eventFilter:K,pause:le,resume:ce,isActive:Se}=dy(f);return{stop:Sy(r,s,By(Ny({},A),{eventFilter:K})),pause:le,resume:ce,isActive:Se}}function Zb(r,s,a){let l;qi(a)?l={evaluating:a}:l=a||{};const{lazy:f=!1,evaluating:A=void 0,onError:K=pp}=l,le=no(!f),ce=no(s);let Se=0;return Km(async Ne=>{if(!le.value)return;Se++;const Re=Se;let qe=!1;A&&Promise.resolve().then(()=>{A.value=!0});try{const ot=await r(At=>{Ne(()=>{A&&(A.value=!1),qe||At()})});Re===Se&&(ce.value=ot)}catch(ot){K(ot)}finally{A&&Re===Se&&(A.value=!1),qe=!0}}),f?Oi(()=>(le.value=!0,ce.value)):ce}function Rf(r){var s;const a=kn(r);return(s=a==null?void 0:a.$el)!=null?s:a}const Tu=Lf?window:void 0;function Py(...r){let s,a,l,f;if(py(r[0])?([a,l,f]=r,s=Tu):[s,a,l,f]=r,!s)return pp;let A=pp;const K=bo(()=>Rf(s),ce=>{A(),ce&&(ce.addEventListener(a,l,f),A=()=>{ce.removeEventListener(a,l,f),A=pp})},{immediate:!0,flush:"post"}),le=()=>{K(),A()};return Mp(le),le}function jy(r,s={}){const{window:a=Tu}=s,l=Boolean(a&&"matchMedia"in a);let f;const A=no(!1),K=()=>{!l||(f||(f=a.matchMedia(r)),A.value=f.matches)};return vy(()=>{K(),f&&("addEventListener"in f?f.addEventListener("change",K):f.addListener(K),Mp(()=>{"removeEventListener"in f?f.removeEventListener("change",K):f.removeListener(K)}))}),A}const df=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},hf="__vueuse_ssr_handlers__";df[hf]=df[hf]||{};const Iy=df[hf];function og(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 Ly={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 Ry(r,s,a,l={}){var f;const{flush:A="pre",deep:K=!0,listenToStorageChanges:le=!0,writeDefaults:ce=!0,shallow:Se,window:Ne=Tu,eventFilter:Re,onError:qe=jr=>{console.error(jr)}}=l,ot=(Se?jc:no)(s);if(!a)try{a=og("getDefaultStorage",()=>{var jr;return(jr=Tu)==null?void 0:jr.localStorage})()}catch(jr){qe(jr)}if(!a)return ot;const At=kn(s),tr=My(At),rr=(f=l.serializer)!=null?f:Ly[tr],{pause:st,resume:yt}=Oy(ot,()=>Dt(ot.value),{flush:A,deep:K,eventFilter:Re});return Ne&&le&&Py(Ne,"storage",dr),dr(),ot;function Dt(jr){try{jr==null?a.removeItem(r):a.setItem(r,rr.write(jr))}catch(Ur){qe(Ur)}}function Ht(jr){if(!(jr&&jr.key!==r)){st();try{const Ur=jr?jr.newValue:a.getItem(r);return Ur==null?(ce&&At!==null&&a.setItem(r,rr.write(At)),At):typeof Ur!="string"?Ur:rr.read(Ur)}catch(Ur){qe(Ur)}finally{yt()}}}function dr(jr){jr&&jr.key!==r||(ot.value=Ht(jr))}}function sg(r){return jy("(prefers-color-scheme: dark)",r)}var zy=Object.defineProperty,kd=Object.getOwnPropertySymbols,Wy=Object.prototype.hasOwnProperty,Hy=Object.prototype.propertyIsEnumerable,Td=(r,s,a)=>s in r?zy(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)&&Td(r,a,s[a]);if(kd)for(var a of kd(s))Hy.call(s,a)&&Td(r,a,s[a]);return r};function $y(r={}){const{selector:s="html",attribute:a="class",window:l=Tu,storage:f,storageKey:A="vueuse-color-scheme",listenToStorageChanges:K=!0,storageRef:le}=r,ce=Uy({auto:"",light:"light",dark:"dark"},r.modes||{}),Se=sg({window:l}),Ne=Oi(()=>Se.value?"dark":"light"),Re=le||(A==null?no("auto"):Ry(A,"auto",f,{window:l,listenToStorageChanges:K})),qe=Oi({get(){return Re.value==="auto"?Ne.value:Re.value},set(rr){Re.value=rr}}),ot=og("updateHTMLAttrs",(rr,st,yt)=>{const Dt=l==null?void 0:l.document.querySelector(rr);if(!!Dt)if(st==="class"){const Ht=yt.split(/\s/g);Object.values(ce).flatMap(dr=>(dr||"").split(/\s/g)).filter(Boolean).forEach(dr=>{Ht.includes(dr)?Dt.classList.add(dr):Dt.classList.remove(dr)})}else Dt.setAttribute(st,yt)});function At(rr){var st;ot(s,a,(st=ce[rr])!=null?st:rr)}function tr(rr){r.onChanged?r.onChanged(rr,At):At(rr)}return bo(qe,tr,{flush:"post",immediate:!0}),Dy(()=>tr(qe.value)),qe}var Vy=Object.defineProperty,Gy=Object.defineProperties,qy=Object.getOwnPropertyDescriptors,Nd=Object.getOwnPropertySymbols,Ky=Object.prototype.hasOwnProperty,Jy=Object.prototype.propertyIsEnumerable,Bd=(r,s,a)=>s in r?Vy(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Yy=(r,s)=>{for(var a in s||(s={}))Ky.call(s,a)&&Bd(r,a,s[a]);if(Nd)for(var a of Nd(s))Jy.call(s,a)&&Bd(r,a,s[a]);return r},Xy=(r,s)=>Gy(r,qy(s));function Qy(r={}){const{valueDark:s="dark",valueLight:a="",window:l=Tu}=r,f=$y(Xy(Yy({},r),{onChanged:(le,ce)=>{var Se;r.onChanged?(Se=r.onChanged)==null||Se.call(r,le==="dark"):ce(le)},modes:{dark:s,light:a}})),A=sg({window:l});return Oi({get(){return f.value==="dark"},set(le){le===A.value?f.value="auto":f.value=le?"dark":"light"}})}var _d=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,ev=Object.prototype.propertyIsEnumerable,tv=(r,s)=>{var a={};for(var l in r)Zy.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&_d)for(var l of _d(r))s.indexOf(l)<0&&ev.call(r,l)&&(a[l]=r[l]);return a};function rv(r,s,a={}){const l=a,{window:f=Tu}=l,A=tv(l,["window"]);let K;const le=f&&"ResizeObserver"in f,ce=()=>{K&&(K.disconnect(),K=void 0)},Se=bo(()=>Rf(r),Re=>{ce(),le&&f&&Re&&(K=new ResizeObserver(s),K.observe(Re,A))},{immediate:!0,flush:"post"}),Ne=()=>{ce(),Se()};return Mp(Ne),{isSupported:le,stop:Ne}}var nv=Object.defineProperty,iv=Object.defineProperties,ov=Object.getOwnPropertyDescriptors,Od=Object.getOwnPropertySymbols,sv=Object.prototype.hasOwnProperty,av=Object.prototype.propertyIsEnumerable,Pd=(r,s,a)=>s in r?nv(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,ts=(r,s)=>{for(var a in s||(s={}))sv.call(s,a)&&Pd(r,a,s[a]);if(Od)for(var a of Od(s))av.call(s,a)&&Pd(r,a,s[a]);return r},Bc=(r,s)=>iv(r,ov(s));const uv={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function jd(r){return gy(r,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Kp(r){return r instanceof Headers?Object.fromEntries([...r.entries()]):r}function Lp(r,...s){var a;const l=typeof AbortController=="function";let f={},A={immediate:!0,refetch:!1,timeout:0};const K={method:"GET",type:"text",payload:void 0};s.length>0&&(jd(s[0])?A=ts(ts({},A),s[0]):f=s[0]),s.length>1&&jd(s[1])&&(A=ts(ts({},A),s[1]));const{fetch:le=(a=Tu)==null?void 0:a.fetch,initialData:ce,timeout:Se}=A,Ne=zc(),Re=zc(),qe=zc(),ot=no(!1),At=no(!1),tr=no(!1),rr=no(null),st=jc(null),yt=jc(null),Dt=jc(ce),Ht=Oi(()=>l&&At.value);let dr,jr;const Ur=()=>{l&&dr&&dr.abort()},_n=Er=>{At.value=Er,ot.value=!Er};Se&&(jr=xy(Ur,Se,{immediate:!1}));const En=async(Er=!1)=>{var ge;_n(!0),yt.value=null,rr.value=null,tr.value=!1,dr=void 0,l&&(dr=new AbortController,dr.signal.onabort=()=>tr.value=!0,f=Bc(ts({},f),{signal:dr.signal}));const ur={method:K.method,headers:{}};if(K.payload){const Jn=Kp(ur.headers);K.payloadType&&(Jn["Content-Type"]=(ge=uv[K.payloadType])!=null?ge:K.payloadType),ur.body=K.payloadType==="json"?JSON.stringify(kn(K.payload)):kn(K.payload)}let zt=!1;const Fr={url:kn(r),options:ts(ts({},ur),f),cancel:()=>{zt=!0}};if(A.beforeFetch&&Object.assign(Fr,await A.beforeFetch(Fr)),zt||!le)return _n(!1),Promise.resolve(null);let un=null;return jr&&jr.start(),new Promise((Jn,fi)=>{var di;le(Fr.url,Bc(ts(ts({},ur),Fr.options),{headers:ts(ts({},Kp(ur.headers)),Kp((di=Fr.options)==null?void 0:di.headers))})).then(async Wn=>{if(st.value=Wn,rr.value=Wn.status,un=await Wn[K.type](),A.afterFetch&&rr.value>=200&&rr.value<300&&({data:un}=await A.afterFetch({data:un,response:Wn})),Dt.value=un,!Wn.ok)throw new Error(Wn.statusText);return Ne.trigger(Wn),Jn(Wn)}).catch(async Wn=>{let hi=Wn.message||Wn.name;return A.onFetchError&&({data:un,error:hi}=await A.onFetchError({data:un,error:Wn,response:st.value})),Dt.value=un,yt.value=hi,Re.trigger(Wn),Er?fi(Wn):Jn(null)}).finally(()=>{_n(!1),jr&&jr.stop(),qe.trigger(null)})})};bo(()=>[kn(r),kn(A.refetch)],()=>kn(A.refetch)&&En(),{deep:!0});const Wr={isFinished:ot,statusCode:rr,response:st,error:yt,data:Dt,isFetching:At,canAbort:Ht,aborted:tr,abort:Ur,execute:En,onFetchResponse:Ne.on,onFetchError:Re.on,onFetchFinally:qe.on,get:_r("GET"),put:_r("PUT"),post:_r("POST"),delete:_r("DELETE"),patch:_r("PATCH"),head:_r("HEAD"),options:_r("OPTIONS"),json:Mt("json"),text:Mt("text"),blob:Mt("blob"),arrayBuffer:Mt("arrayBuffer"),formData:Mt("formData")};function _r(Er){return(ge,ur)=>{if(!At.value)return K.method=Er,K.payload=ge,K.payloadType=ur,qi(K.payload)&&bo(()=>[kn(K.payload),kn(A.refetch)],()=>kn(A.refetch)&&En(),{deep:!0}),!ur&&kn(ge)&&Object.getPrototypeOf(kn(ge))===Object.prototype&&(K.payloadType="json"),Bc(ts({},Wr),{then(zt,Fr){return xn().then(zt,Fr)}})}}function xn(){return new Promise((Er,ge)=>{by(ot).toBe(!0).then(()=>Er(Wr)).catch(ur=>ge(ur))})}function Mt(Er){return()=>{if(!At.value)return K.type=Er,Bc(ts({},Wr),{then(ge,ur){return xn().then(ge,ur)}})}}return A.immediate&&setTimeout(En,0),Bc(ts({},Wr),{then(Er,ge){return xn().then(Er,ge)}})}var Id;(function(r){r.UP="UP",r.RIGHT="RIGHT",r.DOWN="DOWN",r.LEFT="LEFT",r.NONE="NONE"})(Id||(Id={}));function lv(r,s,a,l={}){var f;const{passive:A=!1,eventName:K,deep:le=!1,defaultValue:ce}=l,Se=If(),Ne=a||(Se==null?void 0:Se.emit)||((f=Se==null?void 0:Se.$emit)==null?void 0:f.bind(Se));let Re=K;s||(s="modelValue"),Re=K||Re||`update:${s.toString()}`;const qe=()=>cy(r[s])?r[s]:ce;if(A){const ot=no(qe());return bo(()=>r[s],At=>ot.value=At),bo(ot,At=>{(At!==r[s]||le)&&Ne(Re,At)},{deep:le}),ot}else return Oi({get(){return qe()},set(ot){Ne(Re,ot)}})}function cv(r){const s=r.length;let a=-1,l,f="";const A=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&&A===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=cv,pv=/^\[(.+?)~?="(.*)"\]$/,fv=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function dv(r){return r.match(pv)}function e1(r=""){return fv.test(r)}function hv(r,s){const a=[],l=[],f=new Set;Array.from(s).forEach(K=>{const le=dv(K);le?le[2]?l.push(le):f.add(le[1]):f.add(K)});let A=0;return r.split(/[\s"'`;<>]/g).forEach(K=>{const le=A+K.length;f.has(K)&&a.push([A,le,K]),A=le+1}),l.forEach(([,K,le])=>{const ce=new RegExp(`(${Md(K)}=)(['"])[^\\2]*?${Md(le)}[^\\2]*?\\2`,"g");Array.from(r.matchAll(ce)).forEach(Se=>{const Ne=Se[1],qe=Se[0].slice(Ne.length).indexOf(le);if(qe<0)return;const ot=Se.index+Ne.length+qe,At=ot+le.length;a.push([ot,At,`[${K}="${le}"]`])})}),a}var Yc=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ag(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Wa={exports:{}};(function(r,s){(function(a,l){r.exports=l()})(Yc,function(){var a=navigator.userAgent,l=navigator.platform,f=/gecko\/\d/i.test(a),A=/MSIE \d/.test(a),K=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(a),le=/Edge\/(\d+)/.exec(a),ce=A||K||le,Se=ce&&(A?document.documentMode||6:+(le||K)[1]),Ne=!le&&/WebKit\//.test(a),Re=Ne&&/Qt\/\d+\.\d+/.test(a),qe=!le&&/Chrome\/(\d+)/.exec(a),ot=qe&&+qe[1],At=/Opera\//.test(a),tr=/Apple Computer/.test(navigator.vendor),rr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(a),st=/PhantomJS/.test(a),yt=tr&&(/Mobile\/\w+/.test(a)||navigator.maxTouchPoints>2),Dt=/Android/.test(a),Ht=yt||Dt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(a),dr=yt||/Mac/.test(l),jr=/\bCrOS\b/.test(a),Ur=/win/i.test(l),_n=At&&a.match(/Version\/(\d*\.\d*)/);_n&&(_n=Number(_n[1])),_n&&_n>=15&&(At=!1,Ne=!0);var En=dr&&(Re||At&&(_n==null||_n<12.11)),Wr=f||ce&&Se>=9;function _r(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var xn=function(e,t){var i=e.className,n=_r(t).exec(i);if(n){var o=i.slice(n.index+n[0].length);e.className=i.slice(0,n.index)+(o?n[1]+o:"")}};function Mt(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Er(e,t){return Mt(e).appendChild(t)}function ge(e,t,i,n){var o=document.createElement(e);if(i&&(o.className=i),n&&(o.style.cssText=n),typeof t=="string")o.appendChild(document.createTextNode(t));else if(t)for(var u=0;u<t.length;++u)o.appendChild(t[u]);return o}function ur(e,t,i,n){var o=ge(e,t,i,n);return o.setAttribute("role","presentation"),o}var zt;document.createRange?zt=function(e,t,i,n){var o=document.createRange();return o.setEnd(n||e,i),o.setStart(e,t),o}:zt=function(e,t,i){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch{return n}return n.collapse(!0),n.moveEnd("character",i),n.moveStart("character",t),n};function Fr(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 un(){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 Jn(e,t){var i=e.className;_r(t).test(i)||(e.className+=(i?" ":"")+t)}function fi(e,t){for(var i=e.split(" "),n=0;n<i.length;n++)i[n]&&!_r(i[n]).test(t)&&(t+=" "+i[n]);return t}var di=function(e){e.select()};yt?di=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ce&&(di=function(e){try{e.select()}catch{}});function Wn(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function hi(e,t,i){t||(t={});for(var n in e)e.hasOwnProperty(n)&&(i!==!1||!t.hasOwnProperty(n))&&(t[n]=e[n]);return t}function Ut(e,t,i,n,o){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));for(var u=n||0,g=o||0;;){var S=e.indexOf(" ",u);if(S<0||S>=t)return g+(t-u);g+=S-u,g+=i-g%i,u=S+1}}var sr=function(){this.id=null,this.f=null,this.time=0,this.handler=Wn(this.onTimeout,this)};sr.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},sr.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=i)};function Ot(e,t){for(var i=0;i<e.length;++i)if(e[i]==t)return i;return-1}var Cr=50,ln={toString:function(){return"CodeMirror.Pass"}},Gr={scroll:!1},Lr={origin:"*mouse"},sn={origin:"+move"};function We(e,t,i){for(var n=0,o=0;;){var u=e.indexOf(" ",n);u==-1&&(u=e.length);var g=u-n;if(u==e.length||o+g>=t)return n+Math.min(g,t-o);if(o+=u-n,o+=i-o%i,n=u+1,o>=t)return n}}var at=[""];function jt(e){for(;at.length<=e;)at.push(Ft(at)+" ");return at[e]}function Ft(e){return e[e.length-1]}function nr(e,t){for(var i=[],n=0;n<e.length;n++)i[n]=t(e[n],n);return i}function vr(e,t,i){for(var n=0,o=i(t);n<e.length&&i(e[n])<=o;)n++;e.splice(n,0,t)}function wr(){}function kr(e,t){var i;return Object.create?i=Object.create(e):(wr.prototype=e,i=new wr),t&&hi(t,i),i}var mr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ze(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||mr.test(e))}function It(e,t){return t?t.source.indexOf("\\w")>-1&&ze(e)?!0:t.test(e):ze(e)}function ct(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Ir=/[\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 yn(e){return e.charCodeAt(0)>=768&&Ir.test(e)}function Gn(e,t,i){for(;(i<0?t>0:t<e.length)&&yn(e.charAt(t));)t+=i;return t}function Xn(e,t,i){for(var n=t>i?-1:1;;){if(t==i)return t;var o=(t+i)/2,u=n<0?Math.ceil(o):Math.floor(o);if(u==t)return e(u)?t:i;e(u)?i=u:t=u+n}}function Qn(e,t,i,n){if(!e)return n(t,i,"ltr",0);for(var o=!1,u=0;u<e.length;++u){var g=e[u];(g.from<i&&g.to>t||t==i&&g.to==t)&&(n(Math.max(g.from,t),Math.min(g.to,i),g.level==1?"rtl":"ltr",u),o=!0)}o||n(t,i,"ltr")}var Pn=null;function bi(e,t,i){var n;Pn=null;for(var o=0;o<e.length;++o){var u=e[o];if(u.from<t&&u.to>t)return o;u.to==t&&(u.from!=u.to&&i=="before"?n=o:Pn=o),u.from==t&&(u.from!=u.to&&i!="before"?n=o:Pn=o)}return n!=null?n:Pn}var Hr=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(J){return J<=247?e.charAt(J):1424<=J&&J<=1524?"R":1536<=J&&J<=1785?t.charAt(J-1536):1774<=J&&J<=2220?"r":8192<=J&&J<=8203?"w":J==8204?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,u=/[LRr]/,g=/[Lb1n]/,S=/[1n]/;function L(J,Oe,Me){this.level=J,this.from=Oe,this.to=Me}return function(J,Oe){var Me=Oe=="ltr"?"L":"R";if(J.length==0||Oe=="ltr"&&!n.test(J))return!1;for(var N=J.length,De=[],lt=0;lt<N;++lt)De.push(i(J.charCodeAt(lt)));for(var Tt=0,$t=Me;Tt<N;++Tt){var Sr=De[Tt];Sr=="m"?De[Tt]=$t:$t=Sr}for(var Nr=0,Qt=Me;Nr<N;++Nr){var pr=De[Nr];pr=="1"&&Qt=="r"?De[Nr]="n":u.test(pr)&&(Qt=pr,pr=="r"&&(De[Nr]="R"))}for(var Sn=1,Fn=De[0];Sn<N-1;++Sn){var Kn=De[Sn];Kn=="+"&&Fn=="1"&&De[Sn+1]=="1"?De[Sn]="1":Kn==","&&Fn==De[Sn+1]&&(Fn=="1"||Fn=="n")&&(De[Sn]=Fn),Fn=Kn}for(var gi=0;gi<N;++gi){var Hi=De[gi];if(Hi==",")De[gi]="N";else if(Hi=="%"){var Ti=void 0;for(Ti=gi+1;Ti<N&&De[Ti]=="%";++Ti);for(var yo=gi&&De[gi-1]=="!"||Ti<N&&De[Ti]=="1"?"1":"N",ao=gi;ao<Ti;++ao)De[ao]=yo;gi=Ti-1}}for(var Vi=0,Wo=Me;Vi<N;++Vi){var uo=De[Vi];Wo=="L"&&uo=="1"?De[Vi]="L":u.test(uo)&&(Wo=uo)}for(var Zi=0;Zi<N;++Zi)if(o.test(De[Zi])){var Gi=void 0;for(Gi=Zi+1;Gi<N&&o.test(De[Gi]);++Gi);for(var zi=(Zi?De[Zi-1]:Me)=="L",Ho=(Gi<N?De[Gi]:Me)=="L",Yl=zi==Ho?zi?"L":"R":Me,vu=Zi;vu<Gi;++vu)De[vu]=Yl;Zi=Gi-1}for(var vo=[],aa,ro=0;ro<N;)if(g.test(De[ro])){var Wp=ro;for(++ro;ro<N&&g.test(De[ro]);++ro);vo.push(new L(0,Wp,ro))}else{var ja=ro,hl=vo.length,gl=Oe=="rtl"?1:0;for(++ro;ro<N&&De[ro]!="L";++ro);for(var ko=ja;ko<ro;)if(S.test(De[ko])){ja<ko&&(vo.splice(hl,0,new L(1,ja,ko)),hl+=gl);var Xl=ko;for(++ko;ko<ro&&S.test(De[ko]);++ko);vo.splice(hl,0,new L(2,Xl,ko)),hl+=gl,ja=ko}else++ko;ja<ro&&vo.splice(hl,0,new L(1,ja,ro))}return Oe=="ltr"&&(vo[0].level==1&&(aa=J.match(/^\s+/))&&(vo[0].from=aa[0].length,vo.unshift(new L(0,0,aa[0].length))),Ft(vo).level==1&&(aa=J.match(/\s+$/))&&(Ft(vo).to-=aa[0].length,vo.push(new L(0,N-aa[0].length,N)))),Oe=="rtl"?vo.reverse():vo}}();function Lt(e,t){var i=e.order;return i==null&&(i=e.order=Hr(e.text,t)),i}var Rt=[],vt=function(e,t,i){if(e.addEventListener)e.addEventListener(t,i,!1);else if(e.attachEvent)e.attachEvent("on"+t,i);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||Rt).concat(i)}};function Zt(e,t){return e._handlers&&e._handlers[t]||Rt}function kt(e,t,i){if(e.removeEventListener)e.removeEventListener(t,i,!1);else if(e.detachEvent)e.detachEvent("on"+t,i);else{var n=e._handlers,o=n&&n[t];if(o){var u=Ot(o,i);u>-1&&(n[t]=o.slice(0,u).concat(o.slice(u+1)))}}}function br(e,t){var i=Zt(e,t);if(!!i.length)for(var n=Array.prototype.slice.call(arguments,2),o=0;o<i.length;++o)i[o].apply(null,n)}function dt(e,t,i){return typeof t=="string"&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),br(e,i||t.type,e,t),On(t)||t.codemirrorIgnore}function Kr(e){var t=e._handlers&&e._handlers.cursorActivity;if(!!t)for(var i=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)Ot(i,t[n])==-1&&i.push(t[n])}function Zr(e,t){return Zt(e,t).length>0}function Tn(e){e.prototype.on=function(t,i){vt(this,t,i)},e.prototype.off=function(t,i){kt(this,t,i)}}function xt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function vn(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function On(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Un(e){xt(e),vn(e)}function Ln(e){return e.target||e.srcElement}function ti(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),dr&&e.ctrlKey&&t==1&&(t=3),t}var mi=function(){if(ce&&Se<9)return!1;var e=ge("div");return"draggable"in e||"dragDrop"in e}(),gr;function mt(e){if(gr==null){var t=ge("span","\u200B");Er(e,ge("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(gr=t.offsetWidth<=1&&t.offsetHeight>2&&!(ce&&Se<8))}var i=gr?ge("span","\u200B"):ge("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var pt;function wt(e){if(pt!=null)return pt;var t=Er(e,document.createTextNode("A\u062EA")),i=zt(t,0,1).getBoundingClientRect(),n=zt(t,1,2).getBoundingClientRect();return Mt(e),!i||i.left==i.right?!1:pt=n.right-i.right<3}var Pt=`
2
-
3
- b`.split(/\n/).length!=3?function(e){for(var t=0,i=[],n=e.length;t<=n;){var o=e.indexOf(`
4
- `,t);o==-1&&(o=e.length);var u=e.slice(t,e.charAt(o-1)=="\r"?o-1:o),g=u.indexOf("\r");g!=-1?(i.push(u.slice(0,g)),t+=g+1):(i.push(u),t=o+1)}return i}: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},Vt=function(){var e=ge("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),or=null;function yr(e){if(or!=null)return or;var t=Er(e,ge("span","x")),i=t.getBoundingClientRect(),n=zt(t,0,1).getBoundingClientRect();return or=Math.abs(i.left-n.left)>1}var Br={},zr={};function Yr(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Br[e]=t}function en(e,t){zr[e]=t}function tn(e){if(typeof e=="string"&&zr.hasOwnProperty(e))e=zr[e];else if(e&&typeof e.name=="string"&&zr.hasOwnProperty(e.name)){var t=zr[e.name];typeof t=="string"&&(t={name:t}),e=kr(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return tn("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return tn("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Dn(e,t){t=tn(t);var i=Br[t.name];if(!i)return Dn(e,"text/plain");var n=i(e,t);if(nn.hasOwnProperty(t.name)){var o=nn[t.name];for(var u in o)!o.hasOwnProperty(u)||(n.hasOwnProperty(u)&&(n["_"+u]=n[u]),n[u]=o[u])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var g in t.modeProps)n[g]=t.modeProps[g];return n}var nn={};function gn(e,t){var i=nn.hasOwnProperty(e)?nn[e]:nn[e]={};hi(t,i)}function ai(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var n in t){var o=t[n];o instanceof Array&&(o=o.concat([])),i[n]=o}return i}function ni(e,t){for(var i;e.innerMode&&(i=e.innerMode(t),!(!i||i.mode==e));)t=i.state,e=i.mode;return i||{mode:e,state:t}}function He(e,t,i){return e.startState?e.startState(t,i):!0}var $n=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};$n.prototype.eol=function(){return this.pos>=this.string.length},$n.prototype.sol=function(){return this.pos==this.lineStart},$n.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},$n.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},$n.prototype.eat=function(e){var t=this.string.charAt(this.pos),i;if(typeof e=="string"?i=t==e:i=t&&(e.test?e.test(t):e(t)),i)return++this.pos,t},$n.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},$n.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},$n.prototype.skipToEnd=function(){this.pos=this.string.length},$n.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},$n.prototype.backUp=function(e){this.pos-=e},$n.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ut(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ut(this.string,this.lineStart,this.tabSize):0)},$n.prototype.indentation=function(){return Ut(this.string,null,this.tabSize)-(this.lineStart?Ut(this.string,this.lineStart,this.tabSize):0)},$n.prototype.match=function(e,t,i){if(typeof e=="string"){var n=function(g){return i?g.toLowerCase():g},o=this.string.substr(this.pos,e.length);if(n(o)==n(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)}},$n.prototype.current=function(){return this.string.slice(this.start,this.pos)},$n.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},$n.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},$n.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Jr(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 i=e;!i.lines;)for(var n=0;;++n){var o=i.children[n],u=o.chunkSize();if(t<u){i=o;break}t-=u}return i.lines[t]}function xi(e,t,i){var n=[],o=t.line;return e.iter(t.line,i.line+1,function(u){var g=u.text;o==i.line&&(g=g.slice(0,i.ch)),o==t.line&&(g=g.slice(t.ch)),n.push(g),++o}),n}function Ni(e,t,i){var n=[];return e.iter(t,i,function(o){n.push(o.text)}),n}function Hn(e,t){var i=t-e.height;if(i)for(var n=e;n;n=n.parent)n.height+=i}function Nn(e){if(e.parent==null)return null;for(var t=e.parent,i=Ot(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var o=0;n.children[o]!=t;++o)i+=n.children[o].chunkSize();return i+t.first}function Je(e,t){var i=e.first;e:do{for(var n=0;n<e.children.length;++n){var o=e.children[n],u=o.height;if(t<u){e=o;continue e}t-=u,i+=o.chunkSize()}return i}while(!e.lines);for(var g=0;g<e.lines.length;++g){var S=e.lines[g],L=S.height;if(t<L)break;t-=L}return i+g}function xo(e,t){return t>=e.first&&t<e.first+e.size}function Ji(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function V(e,t,i){if(i===void 0&&(i=null),!(this instanceof V))return new V(e,t,i);this.line=e,this.ch=t,this.sticky=i}function Be(e,t){return e.line-t.line||e.ch-t.ch}function er(e,t){return e.sticky==t.sticky&&Be(e,t)==0}function fr(e){return V(e.line,e.ch)}function mn(e,t){return Be(e,t)<0?t:e}function Yn(e,t){return Be(e,t)<0?e:t}function ii(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 V(e.first,0);var i=e.first+e.size-1;return t.line>i?V(i,Jr(e,i).text.length):Ci(t,Jr(e,t.line).text.length)}function Ci(e,t){var i=e.ch;return i==null||i>t?V(e.line,t):i<0?V(e.line,0):e}function bn(e,t){for(var i=[],n=0;n<t.length;n++)i[n]=Qr(e,t[n]);return i}var pa=function(e,t){this.state=e,this.lookAhead=t},Co=function(e,t,i,n){this.state=t,this.doc=e,this.line=i,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};Co.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return t!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Co.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}},Co.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Co.fromSaved=function(e,t,i){return t instanceof pa?new Co(e,ai(e.mode,t.state),i,t.lookAhead):new Co(e,ai(e.mode,t),i)},Co.prototype.save=function(e){var t=e!==!1?ai(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pa(t,this.maxLookAhead):t};function Ha(e,t,i,n){var o=[e.state.modeGen],u={};ju(e,t.text,e.doc.mode,i,function(J,Oe){return o.push(J,Oe)},u,n);for(var g=i.state,S=function(J){i.baseTokens=o;var Oe=e.state.overlays[J],Me=1,N=0;i.state=!0,ju(e,t.text,Oe.mode,i,function(De,lt){for(var Tt=Me;N<De;){var $t=o[Me];$t>De&&o.splice(Me,1,De,o[Me+1],$t),Me+=2,N=Math.min(De,$t)}if(!!lt)if(Oe.opaque)o.splice(Tt,Me-Tt,De,"overlay "+lt),Me=Tt+2;else for(;Tt<Me;Tt+=2){var Sr=o[Tt+1];o[Tt+1]=(Sr?Sr+" ":"")+"overlay "+lt}},u),i.state=g,i.baseTokens=null,i.baseTokenPos=1},L=0;L<e.state.overlays.length;++L)S(L);return{styles:o,classes:u.bgClass||u.textClass?u:null}}function Nu(e,t,i){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=Zs(e,Nn(t)),o=t.text.length>e.options.maxHighlightLength&&ai(e.doc.mode,n.state),u=Ha(e,t,n);o&&(n.state=o),t.stateAfter=n.save(!o),t.styles=u.styles,u.classes?t.styleClasses=u.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Zs(e,t,i){var n=e.doc,o=e.display;if(!n.mode.startState)return new Co(n,!0,t);var u=El(e,t,i),g=u>n.first&&Jr(n,u-1).stateAfter,S=g?Co.fromSaved(n,g,u):new Co(n,He(n.mode),u);return n.iter(u,t,function(L){Ua(e,L.text,S);var J=S.line;L.stateAfter=J==t-1||J%5==0||J>=o.viewFrom&&J<o.viewTo?S.save():null,S.nextLine()}),i&&(n.modeFrontier=S.line),S}function Ua(e,t,i,n){var o=e.doc.mode,u=new $n(t,e.options.tabSize,i);for(u.start=u.pos=n||0,t==""&&Bu(o,i.state);!u.eol();)ea(o,u,i.state),u.start=u.pos}function Bu(e,t){if(e.blankLine)return e.blankLine(t);if(!!e.innerMode){var i=ni(e,t);if(i.mode.blankLine)return i.mode.blankLine(i.state)}}function ea(e,t,i,n){for(var o=0;o<10;o++){n&&(n[0]=ni(e,i).mode);var u=e.token(t,i);if(t.pos>t.start)return u}throw new Error("Mode "+e.name+" failed to advance stream.")}var _u=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function Ou(e,t,i,n){var o=e.doc,u=o.mode,g;t=Qr(o,t);var S=Jr(o,t.line),L=Zs(e,t.line,i),J=new $n(S.text,e.options.tabSize,L),Oe;for(n&&(Oe=[]);(n||J.pos<t.ch)&&!J.eol();)J.start=J.pos,g=ea(u,J,L.state),n&&Oe.push(new _u(J,g,ai(o.mode,L.state)));return n?Oe:new _u(J,g,L.state)}function Pu(e,t){if(e)for(;;){var i=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!i)break;e=e.slice(0,i.index)+e.slice(i.index+i[0].length);var n=i[1]?"bgClass":"textClass";t[n]==null?t[n]=i[2]:new RegExp("(?:^|\\s)"+i[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+i[2])}return e}function ju(e,t,i,n,o,u,g){var S=i.flattenSpans;S==null&&(S=e.options.flattenSpans);var L=0,J=null,Oe=new $n(t,e.options.tabSize,n),Me,N=e.options.addModeClass&&[null];for(t==""&&Pu(Bu(i,n.state),u);!Oe.eol();){if(Oe.pos>e.options.maxHighlightLength?(S=!1,g&&Ua(e,t,n,Oe.pos),Oe.pos=t.length,Me=null):Me=Pu(ea(i,Oe,n.state,N),u),N){var De=N[0].name;De&&(Me="m-"+(Me?De+" "+Me:De))}if(!S||J!=Me){for(;L<Oe.start;)L=Math.min(Oe.start,L+5e3),o(L,J);J=Me}Oe.start=Oe.pos}for(;L<Oe.pos;){var lt=Math.min(Oe.pos,L+5e3);o(lt,J),L=lt}}function El(e,t,i){for(var n,o,u=e.doc,g=i?-1:t-(e.doc.mode.innerMode?1e3:100),S=t;S>g;--S){if(S<=u.first)return u.first;var L=Jr(u,S-1),J=L.stateAfter;if(J&&(!i||S+(J instanceof pa?J.lookAhead:0)<=u.modeFrontier))return S;var Oe=Ut(L.text,null,e.options.tabSize);(o==null||n>Oe)&&(o=S-1,n=Oe)}return o}function $a(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var i=e.first,n=t-1;n>i;n--){var o=Jr(e,n).stateAfter;if(o&&(!(o instanceof pa)||n+o.lookAhead<t)){i=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,i)}}var fa=!1,Eo=!1;function wl(){fa=!0}function Iu(){Eo=!0}function da(e,t,i){this.marker=e,this.from=t,this.to=i}function ta(e,t){if(e)for(var i=0;i<e.length;++i){var n=e[i];if(n.marker==t)return n}}function jn(e,t){for(var i,n=0;n<e.length;++n)e[n]!=t&&(i||(i=[])).push(e[n]);return i}function Al(e,t,i){var n=i&&window.WeakSet&&(i.markedSpans||(i.markedSpans=new WeakSet));n&&e.markedSpans&&n.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],n&&n.add(e.markedSpans)),t.marker.attachLine(e)}function Sl(e,t,i){var n;if(e)for(var o=0;o<e.length;++o){var u=e[o],g=u.marker,S=u.from==null||(g.inclusiveLeft?u.from<=t:u.from<t);if(S||u.from==t&&g.type=="bookmark"&&(!i||!u.marker.insertLeft)){var L=u.to==null||(g.inclusiveRight?u.to>=t:u.to>t);(n||(n=[])).push(new da(g,u.from,L?null:u.to))}}return n}function Va(e,t,i){var n;if(e)for(var o=0;o<e.length;++o){var u=e[o],g=u.marker,S=u.to==null||(g.inclusiveRight?u.to>=t:u.to>t);if(S||u.from==t&&g.type=="bookmark"&&(!i||u.marker.insertLeft)){var L=u.from==null||(g.inclusiveLeft?u.from<=t:u.from<t);(n||(n=[])).push(new da(g,L?null:u.from-t,u.to==null?null:u.to-t))}}return n}function ha(e,t){if(t.full)return null;var i=xo(e,t.from.line)&&Jr(e,t.from.line).markedSpans,n=xo(e,t.to.line)&&Jr(e,t.to.line).markedSpans;if(!i&&!n)return null;var o=t.from.ch,u=t.to.ch,g=Be(t.from,t.to)==0,S=Sl(i,o,g),L=Va(n,u,g),J=t.text.length==1,Oe=Ft(t.text).length+(J?o:0);if(S)for(var Me=0;Me<S.length;++Me){var N=S[Me];if(N.to==null){var De=ta(L,N.marker);De?J&&(N.to=De.to==null?null:De.to+Oe):N.to=o}}if(L)for(var lt=0;lt<L.length;++lt){var Tt=L[lt];if(Tt.to!=null&&(Tt.to+=Oe),Tt.from==null){var $t=ta(S,Tt.marker);$t||(Tt.from=Oe,J&&(S||(S=[])).push(Tt))}else Tt.from+=Oe,J&&(S||(S=[])).push(Tt)}S&&(S=Ga(S)),L&&L!=S&&(L=Ga(L));var Sr=[S];if(!J){var Nr=t.text.length-2,Qt;if(Nr>0&&S)for(var pr=0;pr<S.length;++pr)S[pr].to==null&&(Qt||(Qt=[])).push(new da(S[pr].marker,null,null));for(var Sn=0;Sn<Nr;++Sn)Sr.push(Qt);Sr.push(L)}return Sr}function Ga(e){for(var t=0;t<e.length;++t){var i=e[t];i.from!=null&&i.from==i.to&&i.marker.clearWhenEmpty!==!1&&e.splice(t--,1)}return e.length?e:null}function Fl(e,t,i){var n=null;if(e.iter(t.line,i.line+1,function(De){if(De.markedSpans)for(var lt=0;lt<De.markedSpans.length;++lt){var Tt=De.markedSpans[lt].marker;Tt.readOnly&&(!n||Ot(n,Tt)==-1)&&(n||(n=[])).push(Tt)}}),!n)return null;for(var o=[{from:t,to:i}],u=0;u<n.length;++u)for(var g=n[u],S=g.find(0),L=0;L<o.length;++L){var J=o[L];if(!(Be(J.to,S.from)<0||Be(J.from,S.to)>0)){var Oe=[L,1],Me=Be(J.from,S.from),N=Be(J.to,S.to);(Me<0||!g.inclusiveLeft&&!Me)&&Oe.push({from:J.from,to:S.from}),(N>0||!g.inclusiveRight&&!N)&&Oe.push({from:S.to,to:J.to}),o.splice.apply(o,Oe),L+=Oe.length-3}}return o}function No(e){var t=e.markedSpans;if(!!t){for(var i=0;i<t.length;++i)t[i].marker.detachLine(e);e.markedSpans=null}}function Bo(e,t){if(!!t){for(var i=0;i<t.length;++i)t[i].marker.attachLine(e);e.markedSpans=t}}function io(e){return e.inclusiveLeft?-1:0}function _o(e){return e.inclusiveRight?1:0}function Oo(e,t){var i=e.lines.length-t.lines.length;if(i!=0)return i;var n=e.find(),o=t.find(),u=Be(n.from,o.from)||io(e)-io(t);if(u)return-u;var g=Be(n.to,o.to)||_o(e)-_o(t);return g||t.id-e.id}function _s(e,t){var i=Eo&&e.markedSpans,n;if(i)for(var o=void 0,u=0;u<i.length;++u)o=i[u],o.marker.collapsed&&(t?o.from:o.to)==null&&(!n||Oo(n,o.marker)<0)&&(n=o.marker);return n}function ra(e){return _s(e,!0)}function Os(e){return _s(e,!1)}function qa(e,t){var i=Eo&&e.markedSpans,n;if(i)for(var o=0;o<i.length;++o){var u=i[o];u.marker.collapsed&&(u.from==null||u.from<t)&&(u.to==null||u.to>t)&&(!n||Oo(n,u.marker)<0)&&(n=u.marker)}return n}function Ka(e,t,i,n,o){var u=Jr(e,t),g=Eo&&u.markedSpans;if(g)for(var S=0;S<g.length;++S){var L=g[S];if(!!L.marker.collapsed){var J=L.marker.find(0),Oe=Be(J.from,i)||io(L.marker)-io(o),Me=Be(J.to,n)||_o(L.marker)-_o(o);if(!(Oe>=0&&Me<=0||Oe<=0&&Me>=0)&&(Oe<=0&&(L.marker.inclusiveRight&&o.inclusiveLeft?Be(J.to,i)>=0:Be(J.to,i)>0)||Oe>=0&&(L.marker.inclusiveRight&&o.inclusiveLeft?Be(J.from,n)<=0:Be(J.from,n)<0)))return!0}}}function fo(e){for(var t;t=ra(e);)e=t.find(-1,!0).line;return e}function kl(e){for(var t;t=Os(e);)e=t.find(1,!0).line;return e}function Mu(e){for(var t,i;t=Os(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function ys(e,t){var i=Jr(e,t),n=fo(i);return i==n?t:Nn(n)}function Po(e,t){if(t>e.lastLine())return t;var i=Jr(e,t),n;if(!is(e,i))return t;for(;n=Os(i);)i=n.find(1,!0).line;return Nn(i)+1}function is(e,t){var i=Eo&&t.markedSpans;if(i){for(var n=void 0,o=0;o<i.length;++o)if(n=i[o],!!n.marker.collapsed){if(n.from==null)return!0;if(!n.marker.widgetNode&&n.from==0&&n.marker.inclusiveLeft&&Ja(e,t,n))return!0}}}function Ja(e,t,i){if(i.to==null){var n=i.marker.find(1,!0);return Ja(e,n.line,ta(n.line.markedSpans,i.marker))}if(i.marker.inclusiveRight&&i.to==t.text.length)return!0;for(var o=void 0,u=0;u<t.markedSpans.length;++u)if(o=t.markedSpans[u],o.marker.collapsed&&!o.marker.widgetNode&&o.from==i.to&&(o.to==null||o.to!=i.from)&&(o.marker.inclusiveLeft||i.marker.inclusiveRight)&&Ja(e,t,o))return!0}function Go(e){e=fo(e);for(var t=0,i=e.parent,n=0;n<i.lines.length;++n){var o=i.lines[n];if(o==e)break;t+=o.height}for(var u=i.parent;u;i=u,u=i.parent)for(var g=0;g<u.children.length;++g){var S=u.children[g];if(S==i)break;t+=S.height}return t}function ga(e){if(e.height==0)return 0;for(var t=e.text.length,i,n=e;i=ra(n);){var o=i.find(0,!0);n=o.from.line,t+=o.from.ch-o.to.ch}for(n=e;i=Os(n);){var u=i.find(0,!0);t-=n.text.length-u.from.ch,n=u.to.line,t+=n.text.length-u.to.ch}return t}function Ya(e){var t=e.display,i=e.doc;t.maxLine=Jr(i,i.first),t.maxLineLength=ga(t.maxLine),t.maxLineChanged=!0,i.iter(function(n){var o=ga(n);o>t.maxLineLength&&(t.maxLineLength=o,t.maxLine=n)})}var Ps=function(e,t,i){this.text=e,Bo(this,t),this.height=i?i(this):1};Ps.prototype.lineNo=function(){return Nn(this)},Tn(Ps);function Tl(e,t,i,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),No(e),Bo(e,i);var o=n?n(e):1;o!=e.height&&Hn(e,o)}function js(e){e.parent=null,No(e)}var Nl={},Xa={};function Qa(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?Xa:Nl;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function na(e,t){var i=ur("span",null,null,Ne?"padding-right: .1px":null),n={pre:ur("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var u=o?t.rest[o-1]:t.line,g=void 0;n.pos=0,n.addToken=Is,wt(e.display.measure)&&(g=Lt(u,e.doc.direction))&&(n.addToken=yc(n.addToken,g)),n.map=[];var S=t!=e.display.externalMeasured&&Nn(u);Za(u,n,Nu(e,u,S)),u.styleClasses&&(u.styleClasses.bgClass&&(n.bgClass=fi(u.styleClasses.bgClass,n.bgClass||"")),u.styleClasses.textClass&&(n.textClass=fi(u.styleClasses.textClass,n.textClass||""))),n.map.length==0&&n.map.push(0,0,n.content.appendChild(mt(e.display.measure))),o==0?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(Ne){var L=n.content.lastChild;(/\bcm-tab\b/.test(L.className)||L.querySelector&&L.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return br(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=fi(n.pre.className,n.textClass||"")),n}function mc(e){var t=ge("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Is(e,t,i,n,o,u,g){if(!!t){var S=e.splitSpaces?Lu(t,e.trailingSpace):t,L=e.cm.state.specialChars,J=!1,Oe;if(!L.test(t))e.col+=t.length,Oe=document.createTextNode(S),e.map.push(e.pos,e.pos+t.length,Oe),ce&&Se<9&&(J=!0),e.pos+=t.length;else{Oe=document.createDocumentFragment();for(var Me=0;;){L.lastIndex=Me;var N=L.exec(t),De=N?N.index-Me:t.length-Me;if(De){var lt=document.createTextNode(S.slice(Me,Me+De));ce&&Se<9?Oe.appendChild(ge("span",[lt])):Oe.appendChild(lt),e.map.push(e.pos,e.pos+De,lt),e.col+=De,e.pos+=De}if(!N)break;Me+=De+1;var Tt=void 0;if(N[0]==" "){var $t=e.cm.options.tabSize,Sr=$t-e.col%$t;Tt=Oe.appendChild(ge("span",jt(Sr),"cm-tab")),Tt.setAttribute("role","presentation"),Tt.setAttribute("cm-text"," "),e.col+=Sr}else N[0]=="\r"||N[0]==`
5
- `?(Tt=Oe.appendChild(ge("span",N[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Tt.setAttribute("cm-text",N[0]),e.col+=1):(Tt=e.cm.options.specialCharPlaceholder(N[0]),Tt.setAttribute("cm-text",N[0]),ce&&Se<9?Oe.appendChild(ge("span",[Tt])):Oe.appendChild(Tt),e.col+=1);e.map.push(e.pos,e.pos+1,Tt),e.pos++}}if(e.trailingSpace=S.charCodeAt(t.length-1)==32,i||n||o||J||u||g){var Nr=i||"";n&&(Nr+=n),o&&(Nr+=o);var Qt=ge("span",[Oe],Nr,u);if(g)for(var pr in g)g.hasOwnProperty(pr)&&pr!="style"&&pr!="class"&&Qt.setAttribute(pr,g[pr]);return e.content.appendChild(Qt)}e.content.appendChild(Oe)}}function Lu(e,t){if(e.length>1&&!/ /.test(e))return e;for(var i=t,n="",o=0;o<e.length;o++){var u=e.charAt(o);u==" "&&i&&(o==e.length-1||e.charCodeAt(o+1)==32)&&(u="\xA0"),n+=u,i=u==" "}return n}function yc(e,t){return function(i,n,o,u,g,S,L){o=o?o+" cm-force-border":"cm-force-border";for(var J=i.pos,Oe=J+n.length;;){for(var Me=void 0,N=0;N<t.length&&(Me=t[N],!(Me.to>J&&Me.from<=J));N++);if(Me.to>=Oe)return e(i,n,o,u,g,S,L);e(i,n.slice(0,Me.to-J),o,u,null,S,L),u=null,n=n.slice(Me.to-J),J=Me.to}}}function Ru(e,t,i,n){var o=!n&&i.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!n&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",i.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t,e.trailingSpace=!1}function Za(e,t,i){var n=e.markedSpans,o=e.text,u=0;if(!n){for(var g=1;g<i.length;g+=2)t.addToken(t,o.slice(u,u=i[g]),Qa(i[g+1],t.cm.options));return}for(var S=o.length,L=0,J=1,Oe="",Me,N,De=0,lt,Tt,$t,Sr,Nr;;){if(De==L){lt=Tt=$t=N="",Nr=null,Sr=null,De=1/0;for(var Qt=[],pr=void 0,Sn=0;Sn<n.length;++Sn){var Fn=n[Sn],Kn=Fn.marker;if(Kn.type=="bookmark"&&Fn.from==L&&Kn.widgetNode)Qt.push(Kn);else if(Fn.from<=L&&(Fn.to==null||Fn.to>L||Kn.collapsed&&Fn.to==L&&Fn.from==L)){if(Fn.to!=null&&Fn.to!=L&&De>Fn.to&&(De=Fn.to,Tt=""),Kn.className&&(lt+=" "+Kn.className),Kn.css&&(N=(N?N+";":"")+Kn.css),Kn.startStyle&&Fn.from==L&&($t+=" "+Kn.startStyle),Kn.endStyle&&Fn.to==De&&(pr||(pr=[])).push(Kn.endStyle,Fn.to),Kn.title&&((Nr||(Nr={})).title=Kn.title),Kn.attributes)for(var gi in Kn.attributes)(Nr||(Nr={}))[gi]=Kn.attributes[gi];Kn.collapsed&&(!Sr||Oo(Sr.marker,Kn)<0)&&(Sr=Fn)}else Fn.from>L&&De>Fn.from&&(De=Fn.from)}if(pr)for(var Hi=0;Hi<pr.length;Hi+=2)pr[Hi+1]==De&&(Tt+=" "+pr[Hi]);if(!Sr||Sr.from==L)for(var Ti=0;Ti<Qt.length;++Ti)Ru(t,0,Qt[Ti]);if(Sr&&(Sr.from||0)==L){if(Ru(t,(Sr.to==null?S+1:Sr.to)-L,Sr.marker,Sr.from==null),Sr.to==null)return;Sr.to==L&&(Sr=!1)}}if(L>=S)break;for(var yo=Math.min(S,De);;){if(Oe){var ao=L+Oe.length;if(!Sr){var Vi=ao>yo?Oe.slice(0,yo-L):Oe;t.addToken(t,Vi,Me?Me+lt:lt,$t,L+Vi.length==De?Tt:"",N,Nr)}if(ao>=yo){Oe=Oe.slice(yo-L),L=yo;break}L=ao,$t=""}Oe=o.slice(u,u=i[J++]),Me=Qa(i[J++],t.cm.options)}}}function eu(e,t,i){this.line=t,this.rest=Mu(t),this.size=this.rest?Nn(Ft(this.rest))-i+1:1,this.node=this.text=null,this.hidden=is(e,t)}function ma(e,t,i){for(var n=[],o,u=t;u<i;u=o){var g=new eu(e.doc,Jr(e.doc,u),u);o=u+g.size,n.push(g)}return n}var eo=null;function vc(e){eo?eo.ops.push(e):e.ownsGroup=eo={ops:[e],delayedCallbacks:[]}}function tu(e){var t=e.delayedCallbacks,i=0;do{for(;i<t.length;i++)t[i].call(null);for(var n=0;n<e.ops.length;n++){var o=e.ops[n];if(o.cursorActivityHandlers)for(;o.cursorActivityCalled<o.cursorActivityHandlers.length;)o.cursorActivityHandlers[o.cursorActivityCalled++].call(null,o.cm)}}while(i<t.length)}function ru(e,t){var i=e.ownsGroup;if(!!i)try{tu(i)}finally{eo=null,t(i)}}var to=null;function Pi(e,t){var i=Zt(e,t);if(!!i.length){var n=Array.prototype.slice.call(arguments,2),o;eo?o=eo.delayedCallbacks:to?o=to:(o=to=[],setTimeout(zu,0));for(var u=function(S){o.push(function(){return i[S].apply(null,n)})},g=0;g<i.length;++g)u(g)}}function zu(){var e=to;to=null;for(var t=0;t<e.length;++t)e[t]()}function ya(e,t,i,n){for(var o=0;o<t.changes.length;o++){var u=t.changes[o];u=="text"?va(e,t):u=="gutter"?iu(e,t,i,n):u=="class"?Ms(e,t):u=="widget"&&Wu(e,t,n)}t.changes=null}function vs(e){return e.node==e.text&&(e.node=ge("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),ce&&Se<8&&(e.node.style.zIndex=2)),e.node}function Dc(e,t){var i=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(i&&(i+=" CodeMirror-linebackground"),t.background)i?t.background.className=i:(t.background.parentNode.removeChild(t.background),t.background=null);else if(i){var n=vs(t);t.background=n.insertBefore(ge("div",null,i),n.firstChild),e.display.input.setUneditable(t.background)}}function nu(e,t){var i=e.display.externalMeasured;return i&&i.line==t.line?(e.display.externalMeasured=null,t.measure=i.measure,i.built):na(e,t)}function va(e,t){var i=t.text.className,n=nu(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,Ms(e,t)):i&&(t.text.className=i)}function Ms(e,t){Dc(e,t),t.line.wrapClass?vs(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var i=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=i||""}function iu(e,t,i,n){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 o=vs(t);t.gutterBackground=ge("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),o.insertBefore(t.gutterBackground,t.text)}var u=t.line.gutterMarkers;if(e.options.lineNumbers||u){var g=vs(t),S=t.gutter=ge("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(S.setAttribute("aria-hidden","true"),e.display.input.setUneditable(S),g.insertBefore(S,t.text),t.line.gutterClass&&(S.className+=" "+t.line.gutterClass),e.options.lineNumbers&&(!u||!u["CodeMirror-linenumbers"])&&(t.lineNumber=S.appendChild(ge("div",Ji(e.options,i),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),u)for(var L=0;L<e.display.gutterSpecs.length;++L){var J=e.display.gutterSpecs[L].className,Oe=u.hasOwnProperty(J)&&u[J];Oe&&S.appendChild(ge("div",[Oe],"CodeMirror-gutter-elt","left: "+n.gutterLeft[J]+"px; width: "+n.gutterWidth[J]+"px"))}}}function Wu(e,t,i){t.alignable&&(t.alignable=null);for(var n=_r("CodeMirror-linewidget"),o=t.node.firstChild,u=void 0;o;o=u)u=o.nextSibling,n.test(o.className)&&t.node.removeChild(o);qo(e,t,i)}function Da(e,t,i,n){var o=nu(e,t);return t.text=t.node=o.pre,o.bgClass&&(t.bgClass=o.bgClass),o.textClass&&(t.textClass=o.textClass),Ms(e,t),iu(e,t,i,n),qo(e,t,n),t.node}function qo(e,t,i){if(jo(e,t.line,t,i,!0),t.rest)for(var n=0;n<t.rest.length;n++)jo(e,t.rest[n],t,i,!1)}function jo(e,t,i,n,o){if(!!t.widgets)for(var u=vs(i),g=0,S=t.widgets;g<S.length;++g){var L=S[g],J=ge("div",[L.node],"CodeMirror-linewidget"+(L.className?" "+L.className:""));L.handleMouseEvents||J.setAttribute("cm-ignore-events","true"),ba(L,J,i,n),e.display.input.setUneditable(J),o&&L.above?u.insertBefore(J,i.gutter||i.text):u.appendChild(J),Pi(L,"redraw")}}function ba(e,t,i,n){if(e.noHScroll){(i.alignable||(i.alignable=[])).push(t);var o=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(o-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=o+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function Io(e){if(e.height!=null)return e.height;var t=e.doc.cm;if(!t)return 0;if(!Fr(document.body,e.node)){var i="position: relative;";e.coverGutter&&(i+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(i+="width: "+t.display.wrapper.clientWidth+"px;"),Er(t.display.measure,ge("div",[e.node],null,i))}return e.height=e.node.parentNode.offsetHeight}function wo(e,t){for(var i=Ln(t);i!=e.wrapper;i=i.parentNode)if(!i||i.nodeType==1&&i.getAttribute("cm-ignore-events")=="true"||i.parentNode==e.sizer&&i!=e.mover)return!0}function Ko(e){return e.lineSpace.offsetTop}function Ls(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function ou(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=Er(e.measure,ge("pre","x","CodeMirror-line-like")),i=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(i.paddingLeft),right:parseInt(i.paddingRight)};return!isNaN(n.left)&&!isNaN(n.right)&&(e.cachedPaddingH=n),n}function Mo(e){return Cr-e.display.nativeBarWidth}function os(e){return e.display.scroller.clientWidth-Mo(e)-e.display.barWidth}function xa(e){return e.display.scroller.clientHeight-Mo(e)-e.display.barHeight}function bc(e,t,i){var n=e.options.lineWrapping,o=n&&os(e);if(!t.measure.heights||n&&t.measure.width!=o){var u=t.measure.heights=[];if(n){t.measure.width=o;for(var g=t.text.firstChild.getClientRects(),S=0;S<g.length-1;S++){var L=g[S],J=g[S+1];Math.abs(L.bottom-J.bottom)>2&&u.push((L.bottom+J.top)/2-i.top)}}u.push(i.bottom-i.top)}}function Hu(e,t,i){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var o=0;o<e.rest.length;o++)if(Nn(e.rest[o])>i)return{map:e.measure.maps[o],cache:e.measure.caches[o],before:!0}}}function Uu(e,t){t=fo(t);var i=Nn(t),n=e.display.externalMeasured=new eu(e.doc,t,i);n.lineN=i;var o=n.built=na(e,n);return n.text=o.pre,Er(e.display.lineMeasure,o.pre),n}function $u(e,t,i,n){return Ao(e,Jo(e,t),i,n)}function ji(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[ws(e,t)];var i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size)return i}function Jo(e,t){var i=Nn(t),n=ji(e,i);n&&!n.text?n=null:n&&n.changes&&(ya(e,n,i,wa(e)),e.curOp.forceUpdate=!0),n||(n=Uu(e,t));var o=Hu(n,t,i);return{line:t,view:n,rect:null,map:o.map,cache:o.cache,before:o.before,hasHeights:!1}}function Ao(e,t,i,n,o){t.before&&(i=-1);var u=i+(n||""),g;return t.cache.hasOwnProperty(u)?g=t.cache[u]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(bc(e,t.view,t.rect),t.hasHeights=!0),g=Ea(e,t,i,n),g.bogus||(t.cache[u]=g)),{left:g.left,right:g.right,top:o?g.rtop:g.top,bottom:o?g.rbottom:g.bottom}}var Ca={left:0,right:0,top:0,bottom:0};function su(e,t,i){for(var n,o,u,g,S,L,J=0;J<e.length;J+=3)if(S=e[J],L=e[J+1],t<S?(o=0,u=1,g="left"):t<L?(o=t-S,u=o+1):(J==e.length-3||t==L&&e[J+3]>t)&&(u=L-S,o=u-1,t>=L&&(g="right")),o!=null){if(n=e[J+2],S==L&&i==(n.insertLeft?"left":"right")&&(g=i),i=="left"&&o==0)for(;J&&e[J-2]==e[J-3]&&e[J-1].insertLeft;)n=e[(J-=3)+2],g="left";if(i=="right"&&o==L-S)for(;J<e.length-3&&e[J+3]==e[J+4]&&!e[J+5].insertLeft;)n=e[(J+=3)+2],g="right";break}return{node:n,start:o,end:u,collapse:g,coverStart:S,coverEnd:L}}function xc(e,t){var i=Ca;if(t=="left")for(var n=0;n<e.length&&(i=e[n]).left==i.right;n++);else for(var o=e.length-1;o>=0&&(i=e[o]).left==i.right;o--);return i}function Ea(e,t,i,n){var o=su(t.map,i,n),u=o.node,g=o.start,S=o.end,L=o.collapse,J;if(u.nodeType==3){for(var Oe=0;Oe<4;Oe++){for(;g&&yn(t.line.text.charAt(o.coverStart+g));)--g;for(;o.coverStart+S<o.coverEnd&&yn(t.line.text.charAt(o.coverStart+S));)++S;if(ce&&Se<9&&g==0&&S==o.coverEnd-o.coverStart?J=u.parentNode.getBoundingClientRect():J=xc(zt(u,g,S).getClientRects(),n),J.left||J.right||g==0)break;S=g,g=g-1,L="right"}ce&&Se<11&&(J=Bi(e.display.measure,J))}else{g>0&&(L=n="right");var Me;e.options.lineWrapping&&(Me=u.getClientRects()).length>1?J=Me[n=="right"?Me.length-1:0]:J=u.getBoundingClientRect()}if(ce&&Se<9&&!g&&(!J||!J.left&&!J.right)){var N=u.parentNode.getClientRects()[0];N?J={left:N.left,right:N.left+Cs(e.display),top:N.top,bottom:N.bottom}:J=Ca}for(var De=J.top-t.rect.top,lt=J.bottom-t.rect.top,Tt=(De+lt)/2,$t=t.view.measure.heights,Sr=0;Sr<$t.length-1&&!(Tt<$t[Sr]);Sr++);var Nr=Sr?$t[Sr-1]:0,Qt=$t[Sr],pr={left:(L=="right"?J.right:J.left)-t.rect.left,right:(L=="left"?J.left:J.right)-t.rect.left,top:Nr,bottom:Qt};return!J.left&&!J.right&&(pr.bogus=!0),e.options.singleCursorHeightPerLine||(pr.rtop=De,pr.rbottom=lt),pr}function Bi(e,t){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!yr(e))return t;var i=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*i,right:t.right*i,top:t.top*n,bottom:t.bottom*n}}function Bl(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 Vu(e){e.display.externalMeasure=null,Mt(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Bl(e.display.view[t])}function ia(e){Vu(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Gu(){return qe&&Dt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function _l(){return qe&&Dt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function qu(e){var t=fo(e),i=t.widgets,n=0;if(i)for(var o=0;o<i.length;++o)i[o].above&&(n+=Io(i[o]));return n}function Yo(e,t,i,n,o){if(!o){var u=qu(t);i.top+=u,i.bottom+=u}if(n=="line")return i;n||(n="local");var g=Go(t);if(n=="local"?g+=Ko(e.display):g-=e.display.viewOffset,n=="page"||n=="window"){var S=e.display.lineSpace.getBoundingClientRect();g+=S.top+(n=="window"?0:_l());var L=S.left+(n=="window"?0:Gu());i.left+=L,i.right+=L}return i.top+=g,i.bottom+=g,i}function Rs(e,t,i){if(i=="div")return t;var n=t.left,o=t.top;if(i=="page")n-=Gu(),o-=_l();else if(i=="local"||!i){var u=e.display.sizer.getBoundingClientRect();n+=u.left,o+=u.top}var g=e.display.lineSpace.getBoundingClientRect();return{left:n-g.left,top:o-g.top}}function Ii(e,t,i,n,o){return n||(n=Jr(e.doc,t.line)),Yo(e,n,$u(e,n,t.ch,o),i)}function ho(e,t,i,n,o,u){n=n||Jr(e.doc,t.line),o||(o=Jo(e,n));function g(lt,Tt){var $t=Ao(e,o,lt,Tt?"right":"left",u);return Tt?$t.left=$t.right:$t.right=$t.left,Yo(e,n,$t,i)}var S=Lt(n,e.doc.direction),L=t.ch,J=t.sticky;if(L>=n.text.length?(L=n.text.length,J="before"):L<=0&&(L=0,J="after"),!S)return g(J=="before"?L-1:L,J=="before");function Oe(lt,Tt,$t){var Sr=S[Tt],Nr=Sr.level==1;return g($t?lt-1:lt,Nr!=$t)}var Me=bi(S,L,J),N=Pn,De=Oe(L,Me,J=="before");return N!=null&&(De.other=Oe(L,N,J!="before")),De}function Ku(e,t){var i=0;t=Qr(e.doc,t),e.options.lineWrapping||(i=Cs(e.display)*t.ch);var n=Jr(e.doc,t.line),o=Go(n)+Ko(e.display);return{left:i,right:i,top:o,bottom:o+n.height}}function ss(e,t,i,n,o){var u=V(e,t,i);return u.xRel=o,n&&(u.outside=n),u}function Zn(e,t,i){var n=e.doc;if(i+=e.display.viewOffset,i<0)return ss(n.first,0,null,-1,-1);var o=Je(n,i),u=n.first+n.size-1;if(o>u)return ss(n.first+n.size-1,Jr(n,u).text.length,null,1,1);t<0&&(t=0);for(var g=Jr(n,o);;){var S=Ol(e,g,o,t,i),L=qa(g,S.ch+(S.xRel>0||S.outside>0?1:0));if(!L)return S;var J=L.find(1);if(J.line==o)return J;g=Jr(n,o=J.line)}}function Ds(e,t,i,n){n-=qu(t);var o=t.text.length,u=Xn(function(g){return Ao(e,i,g-1).bottom<=n},o,0);return o=Xn(function(g){return Ao(e,i,g).top>n},u,o),{begin:u,end:o}}function Ju(e,t,i,n){i||(i=Jo(e,t));var o=Yo(e,t,Ao(e,i,n),"line").top;return Ds(e,t,i,o)}function au(e,t,i,n){return e.bottom<=i?!1:e.top>i?!0:(n?e.left:e.right)>t}function Ol(e,t,i,n,o){o-=Go(t);var u=Jo(e,t),g=qu(t),S=0,L=t.text.length,J=!0,Oe=Lt(t,e.doc.direction);if(Oe){var Me=(e.options.lineWrapping?jl:Pl)(e,t,i,u,Oe,n,o);J=Me.level!=1,S=J?Me.from:Me.to-1,L=J?Me.to:Me.from-1}var N=null,De=null,lt=Xn(function(Sn){var Fn=Ao(e,u,Sn);return Fn.top+=g,Fn.bottom+=g,au(Fn,n,o,!1)?(Fn.top<=o&&Fn.left<=n&&(N=Sn,De=Fn),!0):!1},S,L),Tt,$t,Sr=!1;if(De){var Nr=n-De.left<De.right-n,Qt=Nr==J;lt=N+(Qt?0:1),$t=Qt?"after":"before",Tt=Nr?De.left:De.right}else{!J&&(lt==L||lt==S)&&lt++,$t=lt==0?"after":lt==t.text.length?"before":Ao(e,u,lt-(J?1:0)).bottom+g<=o==J?"after":"before";var pr=ho(e,V(i,lt,$t),"line",t,u);Tt=pr.left,Sr=o<pr.top?-1:o>=pr.bottom?1:0}return lt=Gn(t.text,lt,1),ss(i,lt,$t,Sr,n-Tt)}function Pl(e,t,i,n,o,u,g){var S=Xn(function(Me){var N=o[Me],De=N.level!=1;return au(ho(e,V(i,De?N.to:N.from,De?"before":"after"),"line",t,n),u,g,!0)},0,o.length-1),L=o[S];if(S>0){var J=L.level!=1,Oe=ho(e,V(i,J?L.from:L.to,J?"after":"before"),"line",t,n);au(Oe,u,g,!0)&&Oe.top>g&&(L=o[S-1])}return L}function jl(e,t,i,n,o,u,g){var S=Ds(e,t,n,g),L=S.begin,J=S.end;/\s/.test(t.text.charAt(J-1))&&J--;for(var Oe=null,Me=null,N=0;N<o.length;N++){var De=o[N];if(!(De.from>=J||De.to<=L)){var lt=De.level!=1,Tt=Ao(e,n,lt?Math.min(J,De.to)-1:Math.max(L,De.from)).right,$t=Tt<u?u-Tt+1e9:Tt-u;(!Oe||Me>$t)&&(Oe=De,Me=$t)}}return Oe||(Oe=o[o.length-1]),Oe.from<L&&(Oe={from:L,to:Oe.to,level:Oe.level}),Oe.to>J&&(Oe={from:Oe.from,to:J,level:Oe.level}),Oe}var bs;function xs(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(bs==null){bs=ge("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)bs.appendChild(document.createTextNode("x")),bs.appendChild(ge("br"));bs.appendChild(document.createTextNode("x"))}Er(e.measure,bs);var i=bs.offsetHeight/50;return i>3&&(e.cachedTextHeight=i),Mt(e.measure),i||1}function Cs(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var t=ge("span","xxxxxxxxxx"),i=ge("pre",[t],"CodeMirror-line-like");Er(e.measure,i);var n=t.getBoundingClientRect(),o=(n.right-n.left)/10;return o>2&&(e.cachedCharWidth=o),o||10}function wa(e){for(var t=e.display,i={},n={},o=t.gutters.clientLeft,u=t.gutters.firstChild,g=0;u;u=u.nextSibling,++g){var S=e.display.gutterSpecs[g].className;i[S]=u.offsetLeft+u.clientLeft+o,n[S]=u.clientWidth}return{fixedPos:uu(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:i,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function uu(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Yu(e){var t=xs(e.display),i=e.options.lineWrapping,n=i&&Math.max(5,e.display.scroller.clientWidth/Cs(e.display)-3);return function(o){if(is(e.doc,o))return 0;var u=0;if(o.widgets)for(var g=0;g<o.widgets.length;g++)o.widgets[g].height&&(u+=o.widgets[g].height);return i?u+(Math.ceil(o.text.length/n)||1)*t:u+t}}function lu(e){var t=e.doc,i=Yu(e);t.iter(function(n){var o=i(n);o!=n.height&&Hn(n,o)})}function Es(e,t,i,n){var o=e.display;if(!i&&Ln(t).getAttribute("cm-not-content")=="true")return null;var u,g,S=o.lineSpace.getBoundingClientRect();try{u=t.clientX-S.left,g=t.clientY-S.top}catch{return null}var L=Zn(e,u,g),J;if(n&&L.xRel>0&&(J=Jr(e.doc,L.line).text).length==L.ch){var Oe=Ut(J,J.length,e.options.tabSize)-J.length;L=V(L.line,Math.max(0,Math.round((u-ou(e.display).left)/Cs(e.display))-Oe))}return L}function ws(e,t){if(t>=e.display.viewTo||(t-=e.display.viewFrom,t<0))return null;for(var i=e.display.view,n=0;n<i.length;n++)if(t-=i[n].size,t<0)return n}function Ui(e,t,i,n){t==null&&(t=e.doc.first),i==null&&(i=e.doc.first+e.doc.size),n||(n=0);var o=e.display;if(n&&i<o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>t)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)Eo&&ys(e.doc,t)<o.viewTo&&as(e);else if(i<=o.viewFrom)Eo&&Po(e.doc,i+n)>o.viewFrom?as(e):(o.viewFrom+=n,o.viewTo+=n);else if(t<=o.viewFrom&&i>=o.viewTo)as(e);else if(t<=o.viewFrom){var u=Aa(e,i,i+n,1);u?(o.view=o.view.slice(u.index),o.viewFrom=u.lineN,o.viewTo+=n):as(e)}else if(i>=o.viewTo){var g=Aa(e,t,t,-1);g?(o.view=o.view.slice(0,g.index),o.viewTo=g.lineN):as(e)}else{var S=Aa(e,t,t,-1),L=Aa(e,i,i+n,1);S&&L?(o.view=o.view.slice(0,S.index).concat(ma(e,S.lineN,L.lineN)).concat(o.view.slice(L.index)),o.viewTo+=n):as(e)}var J=o.externalMeasured;J&&(i<J.lineN?J.lineN+=n:t<J.lineN+J.size&&(o.externalMeasured=null))}function Xo(e,t,i){e.curOp.viewChanged=!0;var n=e.display,o=e.display.externalMeasured;if(o&&t>=o.lineN&&t<o.lineN+o.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var u=n.view[ws(e,t)];if(u.node!=null){var g=u.changes||(u.changes=[]);Ot(g,i)==-1&&g.push(i)}}}function as(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Aa(e,t,i,n){var o=ws(e,t),u,g=e.display.view;if(!Eo||i==e.doc.first+e.doc.size)return{index:o,lineN:i};for(var S=e.display.viewFrom,L=0;L<o;L++)S+=g[L].size;if(S!=t){if(n>0){if(o==g.length-1)return null;u=S+g[o].size-t,o++}else u=S-t;t+=u,i+=u}for(;ys(e.doc,i)!=i;){if(o==(n<0?0:g.length-1))return null;i+=n*g[o-(n<0?1:0)].size,o+=n}return{index:o,lineN:i}}function Il(e,t,i){var n=e.display,o=n.view;o.length==0||t>=n.viewTo||i<=n.viewFrom?(n.view=ma(e,t,i),n.viewFrom=t):(n.viewFrom>t?n.view=ma(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(ws(e,t))),n.viewFrom=t,n.viewTo<i?n.view=n.view.concat(ma(e,n.viewTo,i)):n.viewTo>i&&(n.view=n.view.slice(0,ws(e,i)))),n.viewTo=i}function Xu(e){for(var t=e.display.view,i=0,n=0;n<t.length;n++){var o=t[n];!o.hidden&&(!o.node||o.changes)&&++i}return i}function Qo(e){e.display.input.showSelection(e.display.input.prepareSelection())}function zs(e,t){t===void 0&&(t=!0);var i=e.doc,n={},o=n.cursors=document.createDocumentFragment(),u=n.selection=document.createDocumentFragment(),g=e.options.$customCursor;g&&(t=!0);for(var S=0;S<i.sel.ranges.length;S++)if(!(!t&&S==i.sel.primIndex)){var L=i.sel.ranges[S];if(!(L.from().line>=e.display.viewTo||L.to().line<e.display.viewFrom)){var J=L.empty();if(g){var Oe=g(e,L);Oe&&Ws(e,Oe,o)}else(J||e.options.showCursorWhenSelecting)&&Ws(e,L.head,o);J||Qu(e,L,u)}}return n}function Ws(e,t,i){var n=ho(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),o=i.appendChild(ge("div","\xA0","CodeMirror-cursor"));if(o.style.left=n.left+"px",o.style.top=n.top+"px",o.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var u=Ii(e,t,"div",null,null),g=u.right-u.left;o.style.width=(g>0?g:e.defaultCharWidth())+"px"}if(n.other){var S=i.appendChild(ge("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));S.style.display="",S.style.left=n.other.left+"px",S.style.top=n.other.top+"px",S.style.height=(n.other.bottom-n.other.top)*.85+"px"}}function Hs(e,t){return e.top-t.top||e.left-t.left}function Qu(e,t,i){var n=e.display,o=e.doc,u=document.createDocumentFragment(),g=ou(e.display),S=g.left,L=Math.max(n.sizerWidth,os(e)-n.sizer.offsetLeft)-g.right,J=o.direction=="ltr";function Oe(Qt,pr,Sn,Fn){pr<0&&(pr=0),pr=Math.round(pr),Fn=Math.round(Fn),u.appendChild(ge("div",null,"CodeMirror-selected","position: absolute; left: "+Qt+`px;
6
- top: `+pr+"px; width: "+(Sn==null?L-Qt:Sn)+`px;
7
- height: `+(Fn-pr)+"px"))}function Me(Qt,pr,Sn){var Fn=Jr(o,Qt),Kn=Fn.text.length,gi,Hi;function Ti(Vi,Wo){return Ii(e,V(Qt,Vi),"div",Fn,Wo)}function yo(Vi,Wo,uo){var Zi=Ju(e,Fn,null,Vi),Gi=Wo=="ltr"==(uo=="after")?"left":"right",zi=uo=="after"?Zi.begin:Zi.end-(/\s/.test(Fn.text.charAt(Zi.end-1))?2:1);return Ti(zi,Gi)[Gi]}var ao=Lt(Fn,o.direction);return Qn(ao,pr||0,Sn==null?Kn:Sn,function(Vi,Wo,uo,Zi){var Gi=uo=="ltr",zi=Ti(Vi,Gi?"left":"right"),Ho=Ti(Wo-1,Gi?"right":"left"),Yl=pr==null&&Vi==0,vu=Sn==null&&Wo==Kn,vo=Zi==0,aa=!ao||Zi==ao.length-1;if(Ho.top-zi.top<=3){var ro=(J?Yl:vu)&&vo,Wp=(J?vu:Yl)&&aa,ja=ro?S:(Gi?zi:Ho).left,hl=Wp?L:(Gi?Ho:zi).right;Oe(ja,zi.top,hl-ja,zi.bottom)}else{var gl,ko,Xl,Hp;Gi?(gl=J&&Yl&&vo?S:zi.left,ko=J?L:yo(Vi,uo,"before"),Xl=J?S:yo(Wo,uo,"after"),Hp=J&&vu&&aa?L:Ho.right):(gl=J?yo(Vi,uo,"before"):S,ko=!J&&Yl&&vo?L:zi.right,Xl=!J&&vu&&aa?S:Ho.left,Hp=J?yo(Wo,uo,"after"):L),Oe(gl,zi.top,ko-gl,zi.bottom),zi.bottom<Ho.top&&Oe(S,zi.bottom,null,Ho.top),Oe(Xl,Ho.top,Hp-Xl,Ho.bottom)}(!gi||Hs(zi,gi)<0)&&(gi=zi),Hs(Ho,gi)<0&&(gi=Ho),(!Hi||Hs(zi,Hi)<0)&&(Hi=zi),Hs(Ho,Hi)<0&&(Hi=Ho)}),{start:gi,end:Hi}}var N=t.from(),De=t.to();if(N.line==De.line)Me(N.line,N.ch,De.ch);else{var lt=Jr(o,N.line),Tt=Jr(o,De.line),$t=fo(lt)==fo(Tt),Sr=Me(N.line,N.ch,$t?lt.text.length+1:null).end,Nr=Me(De.line,$t?0:null,De.ch).start;$t&&(Sr.top<Nr.top-2?(Oe(Sr.right,Sr.top,null,Sr.bottom),Oe(S,Nr.top,Nr.left,Nr.bottom)):Oe(Sr.right,Sr.top,Nr.left-Sr.right,Sr.bottom)),Sr.bottom<Nr.top&&Oe(S,Sr.bottom,null,Nr.top)}i.appendChild(u)}function cu(e){if(!!e.state.focused){var t=e.display;clearInterval(t.blinker);var i=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){e.hasFocus()||Us(e),t.cursorDiv.style.visibility=(i=!i)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Zu(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Sa(e))}function pu(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Us(e))},100)}function Sa(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(br(e,"focus",e,t),e.state.focused=!0,Jn(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),Ne&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),cu(e))}function Us(e,t){e.state.delayingBlurEvent||(e.state.focused&&(br(e,"blur",e,t),e.state.focused=!1,xn(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function As(e){for(var t=e.display,i=t.lineDiv.offsetTop,n=Math.max(0,t.scroller.getBoundingClientRect().top),o=t.lineDiv.getBoundingClientRect().top,u=0,g=0;g<t.view.length;g++){var S=t.view[g],L=e.options.lineWrapping,J=void 0,Oe=0;if(!S.hidden){if(o+=S.line.height,ce&&Se<8){var Me=S.node.offsetTop+S.node.offsetHeight;J=Me-i,i=Me}else{var N=S.node.getBoundingClientRect();J=N.bottom-N.top,!L&&S.text.firstChild&&(Oe=S.text.firstChild.getBoundingClientRect().right-N.left-1)}var De=S.line.height-J;if((De>.005||De<-.005)&&(o<n&&(u-=De),Hn(S.line,J),Fa(S.line),S.rest))for(var lt=0;lt<S.rest.length;lt++)Fa(S.rest[lt]);if(Oe>e.display.sizerWidth){var Tt=Math.ceil(Oe/Cs(e.display));Tt>e.display.maxLineLength&&(e.display.maxLineLength=Tt,e.display.maxLine=S.line,e.display.maxLineChanged=!0)}}}Math.abs(u)>2&&(t.scroller.scrollTop+=u)}function Fa(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var i=e.widgets[t],n=i.node.parentNode;n&&(i.height=n.offsetHeight)}}function Lo(e,t,i){var n=i&&i.top!=null?Math.max(0,i.top):e.scroller.scrollTop;n=Math.floor(n-Ko(e));var o=i&&i.bottom!=null?i.bottom:n+e.wrapper.clientHeight,u=Je(t,n),g=Je(t,o);if(i&&i.ensure){var S=i.ensure.from.line,L=i.ensure.to.line;S<u?(u=S,g=Je(t,Go(Jr(t,S))+e.wrapper.clientHeight)):Math.min(L,t.lastLine())>=g&&(u=Je(t,Go(Jr(t,L))-e.wrapper.clientHeight),g=L)}return{from:u,to:Math.max(g,u+1)}}function el(e,t){if(!dt(e,"scrollCursorIntoView")){var i=e.display,n=i.sizer.getBoundingClientRect(),o=null;if(t.top+n.top<0?o=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),o!=null&&!st){var u=ge("div","\u200B",null,`position: absolute;
8
- top: `+(t.top-i.viewOffset-Ko(e.display))+`px;
9
- height: `+(t.bottom-t.top+Mo(e)+i.barHeight)+`px;
10
- left: `+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(u),u.scrollIntoView(o),e.display.lineSpace.removeChild(u)}}}function Ml(e,t,i,n){n==null&&(n=0);var o;!e.options.lineWrapping&&t==i&&(i=t.sticky=="before"?V(t.line,t.ch+1,"before"):t,t=t.ch?V(t.line,t.sticky=="before"?t.ch-1:t.ch,"after"):t);for(var u=0;u<5;u++){var g=!1,S=ho(e,t),L=!i||i==t?S:ho(e,i);o={left:Math.min(S.left,L.left),top:Math.min(S.top,L.top)-n,right:Math.max(S.left,L.left),bottom:Math.max(S.bottom,L.bottom)+n};var J=rl(e,o),Oe=e.doc.scrollTop,Me=e.doc.scrollLeft;if(J.scrollTop!=null&&($s(e,J.scrollTop),Math.abs(e.doc.scrollTop-Oe)>1&&(g=!0)),J.scrollLeft!=null&&(go(e,J.scrollLeft),Math.abs(e.doc.scrollLeft-Me)>1&&(g=!0)),!g)break}return o}function tl(e,t){var i=rl(e,t);i.scrollTop!=null&&$s(e,i.scrollTop),i.scrollLeft!=null&&go(e,i.scrollLeft)}function rl(e,t){var i=e.display,n=xs(e.display);t.top<0&&(t.top=0);var o=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:i.scroller.scrollTop,u=xa(e),g={};t.bottom-t.top>u&&(t.bottom=t.top+u);var S=e.doc.height+Ls(i),L=t.top<n,J=t.bottom>S-n;if(t.top<o)g.scrollTop=L?0:t.top;else if(t.bottom>o+u){var Oe=Math.min(t.top,(J?S:t.bottom)-u);Oe!=o&&(g.scrollTop=Oe)}var Me=e.options.fixedGutter?0:i.gutters.offsetWidth,N=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:i.scroller.scrollLeft-Me,De=os(e)-i.gutters.offsetWidth,lt=t.right-t.left>De;return lt&&(t.right=t.left+De),t.left<10?g.scrollLeft=0:t.left<N?g.scrollLeft=Math.max(0,t.left+Me-(lt?0:10)):t.right>De+N-3&&(g.scrollLeft=t.right+(lt?0:10)-De),g}function nl(e,t){t!=null&&(Ss(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+t)}function $i(e){Ss(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Zo(e,t,i){(t!=null||i!=null)&&Ss(e),t!=null&&(e.curOp.scrollLeft=t),i!=null&&(e.curOp.scrollTop=i)}function Ll(e,t){Ss(e),e.curOp.scrollToPos=t}function Ss(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var i=Ku(e,t.from),n=Ku(e,t.to);ka(e,i,n,t.margin)}}function ka(e,t,i,n){var o=rl(e,{left:Math.min(t.left,i.left),top:Math.min(t.top,i.top)-n,right:Math.max(t.right,i.right),bottom:Math.max(t.bottom,i.bottom)+n});Zo(e,o.scrollLeft,o.scrollTop)}function $s(e,t){Math.abs(e.doc.scrollTop-t)<2||(f||al(e,{top:t}),Fs(e,t,!0),f&&al(e),Na(e,100))}function Fs(e,t,i){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),!(e.display.scroller.scrollTop==t&&!i)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function go(e,t,i,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((i?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n)&&(e.doc.scrollLeft=t,ul(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function us(e){var t=e.display,i=t.gutters.offsetWidth,n=Math.round(e.doc.height+Ls(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?i:0,docHeight:n,scrollHeight:n+Mo(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:i}}var So=function(e,t,i){this.cm=i;var n=this.vert=ge("div",[ge("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=ge("div",[ge("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=o.tabIndex=-1,e(n),e(o),vt(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),vt(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ce&&Se<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};So.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(i){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var o=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"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=i?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var u=e.viewWidth-e.barLeft-(i?n: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&&(n==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:i?n:0,bottom:t?n:0}},So.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},So.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},So.prototype.zeroWidthHack=function(){var e=dr&&!rr?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new sr,this.disableVert=new sr},So.prototype.enableZeroWidthBar=function(e,t,i){e.style.pointerEvents="auto";function n(){var o=e.getBoundingClientRect(),u=i=="vert"?document.elementFromPoint(o.right-1,(o.top+o.bottom)/2):document.elementFromPoint((o.right+o.left)/2,o.bottom-1);u!=e?e.style.pointerEvents="none":t.set(1e3,n)}t.set(1e3,n)},So.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var es=function(){};es.prototype.update=function(){return{bottom:0,right:0}},es.prototype.setScrollLeft=function(){},es.prototype.setScrollTop=function(){},es.prototype.clear=function(){};function ls(e,t){t||(t=us(e));var i=e.display.barWidth,n=e.display.barHeight;Ta(e,t);for(var o=0;o<4&&i!=e.display.barWidth||n!=e.display.barHeight;o++)i!=e.display.barWidth&&e.options.lineWrapping&&As(e),Ta(e,us(e)),i=e.display.barWidth,n=e.display.barHeight}function Ta(e,t){var i=e.display,n=i.scrollbars.update(t);i.sizer.style.paddingRight=(i.barWidth=n.right)+"px",i.sizer.style.paddingBottom=(i.barHeight=n.bottom)+"px",i.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(i.scrollbarFiller.style.display="block",i.scrollbarFiller.style.height=n.bottom+"px",i.scrollbarFiller.style.width=n.right+"px"):i.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(i.gutterFiller.style.display="block",i.gutterFiller.style.height=n.bottom+"px",i.gutterFiller.style.width=t.gutterWidth+"px"):i.gutterFiller.style.display=""}var cs={native:So,null:es};function fu(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&xn(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new cs[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),vt(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,i){i=="horizontal"?go(e,t):$s(e,t)},e),e.display.scrollbars.addClass&&Jn(e.display.wrapper,e.display.scrollbars.addClass)}var Rl=0;function ps(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:++Rl,markArrays:null},vc(e.curOp)}function Vs(e){var t=e.curOp;t&&ru(t,function(i){for(var n=0;n<i.ops.length;n++)i.ops[n].cm.curOp=null;Cc(i)})}function Cc(e){for(var t=e.ops,i=0;i<t.length;i++)il(t[i]);for(var n=0;n<t.length;n++)zl(t[n]);for(var o=0;o<t.length;o++)Wl(t[o]);for(var u=0;u<t.length;u++)ol(t[u]);for(var g=0;g<t.length;g++)Ec(t[g])}function il(e){var t=e.cm,i=t.display;Ac(t),e.updateMaxLine&&Ya(t),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<i.viewFrom||e.scrollToPos.to.line>=i.viewTo)||i.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oa(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function zl(e){e.updatedDisplay=e.mustUpdate&&sl(e.cm,e.update)}function Wl(e){var t=e.cm,i=t.display;e.updatedDisplay&&As(t),e.barMeasure=us(t),i.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=$u(t,i.maxLine,i.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(i.scroller.clientWidth,i.sizer.offsetLeft+e.adjustWidthTo+Mo(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,i.sizer.offsetLeft+e.adjustWidthTo-os(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=i.input.prepareSelection())}function ol(e){var t=e.cm;e.adjustWidthTo!=null&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&go(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var i=e.focus&&e.focus==un();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,i),(e.updatedDisplay||e.startHeight!=t.doc.height)&&ls(t,e.barMeasure),e.updatedDisplay&&_a(t,e.barMeasure),e.selectionChanged&&cu(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),i&&Zu(e.cm)}function Ec(e){var t=e.cm,i=t.display,n=t.doc;if(e.updatedDisplay&&Ul(t,e.update),i.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(i.wheelStartX=i.wheelStartY=null),e.scrollTop!=null&&Fs(t,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&go(t,e.scrollLeft,!0,!0),e.scrollToPos){var o=Ml(t,Qr(n,e.scrollToPos.from),Qr(n,e.scrollToPos.to),e.scrollToPos.margin);el(t,o)}var u=e.maybeHiddenMarkers,g=e.maybeUnhiddenMarkers;if(u)for(var S=0;S<u.length;++S)u[S].lines.length||br(u[S],"hide");if(g)for(var L=0;L<g.length;++L)g[L].lines.length&&br(g[L],"unhide");i.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&br(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function oo(e,t){if(e.curOp)return t();ps(e);try{return t()}finally{Vs(e)}}function Mi(e,t){return function(){if(e.curOp)return t.apply(e,arguments);ps(e);try{return t.apply(e,arguments)}finally{Vs(e)}}}function Yi(e){return function(){if(this.curOp)return e.apply(this,arguments);ps(this);try{return e.apply(this,arguments)}finally{Vs(this)}}}function Ei(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);ps(t);try{return e.apply(this,arguments)}finally{Vs(t)}}}function Na(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,Wn(wc,e))}function wc(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var i=+new Date+e.options.workTime,n=Zs(e,t.highlightFrontier),o=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),function(u){if(n.line>=e.display.viewFrom){var g=u.styles,S=u.text.length>e.options.maxHighlightLength?ai(t.mode,n.state):null,L=Ha(e,u,n,!0);S&&(n.state=S),u.styles=L.styles;var J=u.styleClasses,Oe=L.classes;Oe?u.styleClasses=Oe:J&&(u.styleClasses=null);for(var Me=!g||g.length!=u.styles.length||J!=Oe&&(!J||!Oe||J.bgClass!=Oe.bgClass||J.textClass!=Oe.textClass),N=0;!Me&&N<g.length;++N)Me=g[N]!=u.styles[N];Me&&o.push(n.line),u.stateAfter=n.save(),n.nextLine()}else u.text.length<=e.options.maxHighlightLength&&Ua(e,u.text,n),u.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>i)return Na(e,e.options.workDelay),!0}),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),o.length&&oo(e,function(){for(var u=0;u<o.length;u++)Xo(e,o[u],"text")})}}var oa=function(e,t,i){var n=e.display;this.viewport=t,this.visible=Lo(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=os(e),this.force=i,this.dims=wa(e),this.events=[]};oa.prototype.signal=function(e,t){Zr(e,t)&&this.events.push(arguments)},oa.prototype.finish=function(){for(var e=0;e<this.events.length;e++)br.apply(null,this.events[e])};function Ac(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Mo(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Mo(e)+"px",t.scrollbarsClipped=!0)}function Sc(e){if(e.hasFocus())return null;var t=un();if(!t||!Fr(e.display.lineDiv,t))return null;var i={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&Fr(e.display.lineDiv,n.anchorNode)&&(i.anchorNode=n.anchorNode,i.anchorOffset=n.anchorOffset,i.focusNode=n.focusNode,i.focusOffset=n.focusOffset)}return i}function Hl(e){if(!(!e||!e.activeElt||e.activeElt==un())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Fr(document.body,e.anchorNode)&&Fr(document.body,e.focusNode))){var t=window.getSelection(),i=document.createRange();i.setEnd(e.anchorNode,e.anchorOffset),i.collapse(!1),t.removeAllRanges(),t.addRange(i),t.extend(e.focusNode,e.focusOffset)}}function sl(e,t){var i=e.display,n=e.doc;if(t.editorIsHidden)return as(e),!1;if(!t.force&&t.visible.from>=i.viewFrom&&t.visible.to<=i.viewTo&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo)&&i.renderedView==i.view&&Xu(e)==0)return!1;$l(e)&&(as(e),t.dims=wa(e));var o=n.first+n.size,u=Math.max(t.visible.from-e.options.viewportMargin,n.first),g=Math.min(o,t.visible.to+e.options.viewportMargin);i.viewFrom<u&&u-i.viewFrom<20&&(u=Math.max(n.first,i.viewFrom)),i.viewTo>g&&i.viewTo-g<20&&(g=Math.min(o,i.viewTo)),Eo&&(u=ys(e.doc,u),g=Po(e.doc,g));var S=u!=i.viewFrom||g!=i.viewTo||i.lastWrapHeight!=t.wrapperHeight||i.lastWrapWidth!=t.wrapperWidth;Il(e,u,g),i.viewOffset=Go(Jr(e.doc,i.viewFrom)),e.display.mover.style.top=i.viewOffset+"px";var L=Xu(e);if(!S&&L==0&&!t.force&&i.renderedView==i.view&&(i.updateLineNumbers==null||i.updateLineNumbers>=i.viewTo))return!1;var J=Sc(e);return L>4&&(i.lineDiv.style.display="none"),Fc(e,i.updateLineNumbers,t.dims),L>4&&(i.lineDiv.style.display=""),i.renderedView=i.view,Hl(J),Mt(i.cursorDiv),Mt(i.selectionDiv),i.gutters.style.height=i.sizer.style.minHeight=0,S&&(i.lastWrapHeight=t.wrapperHeight,i.lastWrapWidth=t.wrapperWidth,Na(e,400)),i.updateLineNumbers=null,!0}function Ul(e,t){for(var i=t.viewport,n=!0;;n=!1){if(!n||!e.options.lineWrapping||t.oldDisplayWidth==os(e)){if(i&&i.top!=null&&(i={top:Math.min(e.doc.height+Ls(e.display)-xa(e),i.top)}),t.visible=Lo(e.display,e.doc,i),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break}else n&&(t.visible=Lo(e.display,e.doc,i));if(!sl(e,t))break;As(e);var o=us(e);Qo(e),ls(e,o),_a(e,o),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 al(e,t){var i=new oa(e,t);if(sl(e,i)){As(e),Ul(e,i);var n=us(e);Qo(e),ls(e,n),_a(e,n),i.finish()}}function Fc(e,t,i){var n=e.display,o=e.options.lineNumbers,u=n.lineDiv,g=u.firstChild;function S(lt){var Tt=lt.nextSibling;return Ne&&dr&&e.display.currentWheelTarget==lt?lt.style.display="none":lt.parentNode.removeChild(lt),Tt}for(var L=n.view,J=n.viewFrom,Oe=0;Oe<L.length;Oe++){var Me=L[Oe];if(!Me.hidden)if(!Me.node||Me.node.parentNode!=u){var N=Da(e,Me,J,i);u.insertBefore(N,g)}else{for(;g!=Me.node;)g=S(g);var De=o&&t!=null&&t<=J&&Me.lineNumber;Me.changes&&(Ot(Me.changes,"gutter")>-1&&(De=!1),ya(e,Me,J,i)),De&&(Mt(Me.lineNumber),Me.lineNumber.appendChild(document.createTextNode(Ji(e.options,J)))),g=Me.node.nextSibling}J+=Me.size}for(;g;)g=S(g)}function Ba(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Pi(e,"gutterChanged",e)}function _a(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+Mo(e)+"px"}function ul(e){var t=e.display,i=t.view;if(!(!t.alignWidgets&&(!t.gutters.firstChild||!e.options.fixedGutter))){for(var n=uu(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,u=n+"px",g=0;g<i.length;g++)if(!i[g].hidden){e.options.fixedGutter&&(i[g].gutter&&(i[g].gutter.style.left=u),i[g].gutterBackground&&(i[g].gutterBackground.style.left=u));var S=i[g].alignable;if(S)for(var L=0;L<S.length;L++)S[L].style.left=u}e.options.fixedGutter&&(t.gutters.style.left=n+o+"px")}}function $l(e){if(!e.options.lineNumbers)return!1;var t=e.doc,i=Ji(e.options,t.first+t.size-1),n=e.display;if(i.length!=n.lineNumChars){var o=n.measure.appendChild(ge("div",[ge("div",i)],"CodeMirror-linenumber CodeMirror-gutter-elt")),u=o.firstChild.offsetWidth,g=o.offsetWidth-u;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(u,n.lineGutter.offsetWidth-g)+1,n.lineNumWidth=n.lineNumInnerWidth+g,n.lineNumChars=n.lineNumInnerWidth?i.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",Ba(e.display),!0}return!1}function ll(e,t){for(var i=[],n=!1,o=0;o<e.length;o++){var u=e[o],g=null;if(typeof u!="string"&&(g=u.style,u=u.className),u=="CodeMirror-linenumbers")if(t)n=!0;else continue;i.push({className:u,style:g})}return t&&!n&&i.push({className:"CodeMirror-linenumbers",style:null}),i}function Vl(e){var t=e.gutters,i=e.gutterSpecs;Mt(t),e.lineGutter=null;for(var n=0;n<i.length;++n){var o=i[n],u=o.className,g=o.style,S=t.appendChild(ge("div",null,"CodeMirror-gutter "+u));g&&(S.style.cssText=g),u=="CodeMirror-linenumbers"&&(e.lineGutter=S,S.style.width=(e.lineNumWidth||1)+"px")}t.style.display=i.length?"":"none",Ba(e)}function Oa(e){Vl(e.display),Ui(e),ul(e)}function kc(e,t,i,n){var o=this;this.input=i,o.scrollbarFiller=ge("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=ge("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=ur("div",null,"CodeMirror-code"),o.selectionDiv=ge("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=ge("div",null,"CodeMirror-cursors"),o.measure=ge("div",null,"CodeMirror-measure"),o.lineMeasure=ge("div",null,"CodeMirror-measure"),o.lineSpace=ur("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var u=ur("div",[o.lineSpace],"CodeMirror-lines");o.mover=ge("div",[u],null,"position: relative"),o.sizer=ge("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=ge("div",null,null,"position: absolute; height: "+Cr+"px; width: 1px;"),o.gutters=ge("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=ge("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=ge("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),o.wrapper.setAttribute("translate","no"),ce&&Se<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),!Ne&&!(f&&Ht)&&(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=ll(n.gutters,n.lineNumbers),Vl(o),i.init(o)}var du=0,fs=null;ce?fs=-.53:f?fs=15:qe?fs=-.7:tr&&(fs=-1/3);function hu(e){var t=e.wheelDeltaX,i=e.wheelDeltaY;return t==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),i==null&&e.detail&&e.axis==e.VERTICAL_AXIS?i=e.detail:i==null&&(i=e.wheelDelta),{x:t,y:i}}function Gl(e){var t=hu(e);return t.x*=fs,t.y*=fs,t}function ql(e,t){qe&&ot>=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 i=hu(t),n=i.x,o=i.y,u=fs;t.deltaMode===0&&(n=t.deltaX,o=t.deltaY,u=1);var g=e.display,S=g.scroller,L=S.scrollWidth>S.clientWidth,J=S.scrollHeight>S.clientHeight;if(!!(n&&L||o&&J)){if(o&&dr&&Ne){e:for(var Oe=t.target,Me=g.view;Oe!=S;Oe=Oe.parentNode)for(var N=0;N<Me.length;N++)if(Me[N].node==Oe){e.display.currentWheelTarget=Oe;break e}}if(n&&!f&&!At&&u!=null){o&&J&&$s(e,Math.max(0,S.scrollTop+o*u)),go(e,Math.max(0,S.scrollLeft+n*u)),(!o||o&&J)&&xt(t),g.wheelStartX=null;return}if(o&&u!=null){var De=o*u,lt=e.doc.scrollTop,Tt=lt+g.wrapper.clientHeight;De<0?lt=Math.max(0,lt+De-50):Tt=Math.min(e.doc.height,Tt+De+50),al(e,{top:lt,bottom:Tt})}du<20&&t.deltaMode!==0&&(g.wheelStartX==null?(g.wheelStartX=S.scrollLeft,g.wheelStartY=S.scrollTop,g.wheelDX=n,g.wheelDY=o,setTimeout(function(){if(g.wheelStartX!=null){var $t=S.scrollLeft-g.wheelStartX,Sr=S.scrollTop-g.wheelStartY,Nr=Sr&&g.wheelDY&&Sr/g.wheelDY||$t&&g.wheelDX&&$t/g.wheelDX;g.wheelStartX=g.wheelStartY=null,Nr&&(fs=(fs*du+Nr)/(du+1),++du)}},200)):(g.wheelDX+=n,g.wheelDY+=o))}}var mo=function(e,t){this.ranges=e,this.primIndex=t};mo.prototype.primary=function(){return this.ranges[this.primIndex]},mo.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 i=this.ranges[t],n=e.ranges[t];if(!er(i.anchor,n.anchor)||!er(i.head,n.head))return!1}return!0},mo.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new ui(fr(this.ranges[t].anchor),fr(this.ranges[t].head));return new mo(e,this.primIndex)},mo.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},mo.prototype.contains=function(e,t){t||(t=e);for(var i=0;i<this.ranges.length;i++){var n=this.ranges[i];if(Be(t,n.from())>=0&&Be(e,n.to())<=0)return i}return-1};var ui=function(e,t){this.anchor=e,this.head=t};ui.prototype.from=function(){return Yn(this.anchor,this.head)},ui.prototype.to=function(){return mn(this.anchor,this.head)},ui.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ro(e,t,i){var n=e&&e.options.selectionsMayTouch,o=t[i];t.sort(function(N,De){return Be(N.from(),De.from())}),i=Ot(t,o);for(var u=1;u<t.length;u++){var g=t[u],S=t[u-1],L=Be(S.to(),g.from());if(n&&!g.empty()?L>0:L>=0){var J=Yn(S.from(),g.from()),Oe=mn(S.to(),g.to()),Me=S.empty()?g.from()==g.head:S.from()==S.head;u<=i&&--i,t.splice(--u,2,new ui(Me?Oe:J,Me?J:Oe))}}return new mo(t,i)}function ks(e,t){return new mo([new ui(e,t||e)],0)}function Ts(e){return e.text?V(e.from.line+e.text.length-1,Ft(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function gu(e,t){if(Be(e,t.from)<0)return e;if(Be(e,t.to)<=0)return Ts(t);var i=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=Ts(t).ch-t.to.ch),V(i,n)}function Gs(e,t){for(var i=[],n=0;n<e.sel.ranges.length;n++){var o=e.sel.ranges[n];i.push(new ui(gu(o.anchor,t),gu(o.head,t)))}return Ro(e.cm,i,e.sel.primIndex)}function cl(e,t,i){return e.line==t.line?V(i.line,e.ch-t.ch+i.ch):V(i.line+(e.line-t.line),e.ch)}function Kl(e,t,i){for(var n=[],o=V(e.first,0),u=o,g=0;g<t.length;g++){var S=t[g],L=cl(S.from,o,u),J=cl(Ts(S),o,u);if(o=S.to,u=J,i=="around"){var Oe=e.sel.ranges[g],Me=Be(Oe.head,Oe.anchor)<0;n[g]=new ui(Me?J:L,Me?L:J)}else n[g]=new ui(L,L)}return new mo(n,e.sel.primIndex)}function ds(e){e.doc.mode=Dn(e.options,e.doc.modeOption),zo(e)}function zo(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,Na(e,100),e.state.modeGen++,e.curOp&&Ui(e)}function Jl(e,t){return t.from.ch==0&&t.to.ch==0&&Ft(t.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function pl(e,t,i,n){function o(Nr){return i?i[Nr]:null}function u(Nr,Qt,pr){Tl(Nr,Qt,pr,n),Pi(Nr,"change",Nr,t)}function g(Nr,Qt){for(var pr=[],Sn=Nr;Sn<Qt;++Sn)pr.push(new Ps(J[Sn],o(Sn),n));return pr}var S=t.from,L=t.to,J=t.text,Oe=Jr(e,S.line),Me=Jr(e,L.line),N=Ft(J),De=o(J.length-1),lt=L.line-S.line;if(t.full)e.insert(0,g(0,J.length)),e.remove(J.length,e.size-J.length);else if(Jl(e,t)){var Tt=g(0,J.length-1);u(Me,Me.text,De),lt&&e.remove(S.line,lt),Tt.length&&e.insert(S.line,Tt)}else if(Oe==Me)if(J.length==1)u(Oe,Oe.text.slice(0,S.ch)+N+Oe.text.slice(L.ch),De);else{var $t=g(1,J.length-1);$t.push(new Ps(N+Oe.text.slice(L.ch),De,n)),u(Oe,Oe.text.slice(0,S.ch)+J[0],o(0)),e.insert(S.line+1,$t)}else if(J.length==1)u(Oe,Oe.text.slice(0,S.ch)+J[0]+Me.text.slice(L.ch),o(0)),e.remove(S.line+1,lt);else{u(Oe,Oe.text.slice(0,S.ch)+J[0],o(0)),u(Me,N+Me.text.slice(L.ch),De);var Sr=g(1,J.length-1);lt>1&&e.remove(S.line+1,lt-1),e.insert(S.line+1,Sr)}Pi(e,"change",e,t)}function Ns(e,t,i){function n(o,u,g){if(o.linked)for(var S=0;S<o.linked.length;++S){var L=o.linked[S];if(L.doc!=u){var J=g&&L.sharedHist;i&&!J||(t(L.doc,J),n(L.doc,o,J))}}}n(e,null,!0)}function fl(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,lu(e),ds(e),dl(e),e.options.direction=t.direction,e.options.lineWrapping||Ya(e),e.options.mode=t.modeOption,Ui(e)}function dl(e){(e.doc.direction=="rtl"?Jn:xn)(e.display.lineDiv,"CodeMirror-rtl")}function Tc(e){oo(e,function(){dl(e),Ui(e)})}function sa(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 Pa(e,t){var i={from:fr(t.from),to:Ts(t),text:xi(e,t.from,t.to)};return he(e,i,t.from.line,t.to.line+1),Ns(e,function(n){return he(n,i,t.from.line,t.to.line+1)},!0),i}function mu(e){for(;e.length;){var t=Ft(e);if(t.ranges)e.pop();else break}}function m(e,t){if(t)return mu(e.done),Ft(e.done);if(e.done.length&&!Ft(e.done).ranges)return Ft(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Ft(e.done)}function ee(e,t,i,n){var o=e.history;o.undone.length=0;var u=+new Date,g,S;if((o.lastOp==n||o.lastOrigin==t.origin&&t.origin&&(t.origin.charAt(0)=="+"&&o.lastModTime>u-(e.cm?e.cm.options.historyEventDelay:500)||t.origin.charAt(0)=="*"))&&(g=m(o,o.lastOp==n)))S=Ft(g.changes),Be(t.from,t.to)==0&&Be(t.from,S.to)==0?S.to=Ts(t):g.changes.push(Pa(e,t));else{var L=Ft(o.done);for((!L||!L.ranges)&&Z(e.sel,o.done),g={changes:[Pa(e,t)],generation:o.generation},o.done.push(g);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(i),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=u,o.lastOp=o.lastSelOp=n,o.lastOrigin=o.lastSelOrigin=t.origin,S||br(e,"historyAdded")}function X(e,t,i,n){var o=t.charAt(0);return o=="*"||o=="+"&&i.ranges.length==n.ranges.length&&i.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function G(e,t,i,n){var o=e.history,u=n&&n.origin;i==o.lastSelOp||u&&o.lastSelOrigin==u&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==u||X(e,u,Ft(o.done),t))?o.done[o.done.length-1]=t:Z(t,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=u,o.lastSelOp=i,n&&n.clearRedo!==!1&&mu(o.undone)}function Z(e,t){var i=Ft(t);i&&i.ranges&&i.equals(e)||t.push(e)}function he(e,t,i,n){var o=t["spans_"+e.id],u=0;e.iter(Math.max(e.first,i),Math.min(e.first+e.size,n),function(g){g.markedSpans&&((o||(o=t["spans_"+e.id]={}))[u]=g.markedSpans),++u})}function me(e){if(!e)return null;for(var t,i=0;i<e.length;++i)e[i].marker.explicitlyCleared?t||(t=e.slice(0,i)):t&&t.push(e[i]);return t?t.length?t:null:e}function we(e,t){var i=t["spans_"+e.id];if(!i)return null;for(var n=[],o=0;o<t.text.length;++o)n.push(me(i[o]));return n}function pe(e,t){var i=we(e,t),n=ha(e,t);if(!i)return n;if(!n)return i;for(var o=0;o<i.length;++o){var u=i[o],g=n[o];if(u&&g){e:for(var S=0;S<g.length;++S){for(var L=g[S],J=0;J<u.length;++J)if(u[J].marker==L.marker)continue e;u.push(L)}}else g&&(i[o]=g)}return i}function ye(e,t,i){for(var n=[],o=0;o<e.length;++o){var u=e[o];if(u.ranges){n.push(i?mo.prototype.deepCopy.call(u):u);continue}var g=u.changes,S=[];n.push({changes:S});for(var L=0;L<g.length;++L){var J=g[L],Oe=void 0;if(S.push({from:J.from,to:J.to,text:J.text}),t)for(var Me in J)(Oe=Me.match(/^spans_(\d+)$/))&&Ot(t,Number(Oe[1]))>-1&&(Ft(S)[Me]=J[Me],delete J[Me])}}return n}function E(e,t,i,n){if(n){var o=e.anchor;if(i){var u=Be(t,o)<0;u!=Be(i,o)<0?(o=t,t=i):u!=Be(t,i)<0&&(t=i)}return new ui(o,t)}else return new ui(i||t,t)}function h(e,t,i,n,o){o==null&&(o=e.cm&&(e.cm.display.shift||e.extend)),ke(e,new mo([E(e.sel.primary(),t,i,o)],0),n)}function Q(e,t,i){for(var n=[],o=e.cm&&(e.cm.display.shift||e.extend),u=0;u<e.sel.ranges.length;u++)n[u]=E(e.sel.ranges[u],t[u],null,o);var g=Ro(e.cm,n,e.sel.primIndex);ke(e,g,i)}function q(e,t,i,n){var o=e.sel.ranges.slice(0);o[t]=i,ke(e,Ro(e.cm,o,e.sel.primIndex),n)}function Ee(e,t,i,n){ke(e,ks(t,i),n)}function ve(e,t,i){var n={ranges:t.ranges,update:function(o){this.ranges=[];for(var u=0;u<o.length;u++)this.ranges[u]=new ui(Qr(e,o[u].anchor),Qr(e,o[u].head))},origin:i&&i.origin};return br(e,"beforeSelectionChange",e,n),e.cm&&br(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?Ro(e.cm,n.ranges,n.ranges.length-1):t}function _e(e,t,i){var n=e.history.done,o=Ft(n);o&&o.ranges?(n[n.length-1]=t,Ae(e,t,i)):ke(e,t,i)}function ke(e,t,i){Ae(e,t,i),G(e,e.sel,e.cm?e.cm.curOp.id:NaN,i)}function Ae(e,t,i){(Zr(e,"beforeSelectionChange")||e.cm&&Zr(e.cm,"beforeSelectionChange"))&&(t=ve(e,t,i));var n=i&&i.bias||(Be(t.primary().head,e.sel.primary().head)<0?-1:1);Xe(e,gt(e,t,n,!0)),!(i&&i.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&$i(e.cm)}function Xe(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Kr(e.cm)),Pi(e,"cursorActivity",e))}function nt(e){Xe(e,gt(e,e.sel,null,!1))}function gt(e,t,i,n){for(var o,u=0;u<t.ranges.length;u++){var g=t.ranges[u],S=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[u],L=Or(e,g.anchor,S&&S.anchor,i,n),J=Or(e,g.head,S&&S.head,i,n);(o||L!=g.anchor||J!=g.head)&&(o||(o=t.ranges.slice(0,u)),o[u]=new ui(L,J))}return o?Ro(e.cm,o,t.primIndex):t}function lr(e,t,i,n,o){var u=Jr(e,t.line);if(u.markedSpans)for(var g=0;g<u.markedSpans.length;++g){var S=u.markedSpans[g],L=S.marker,J="selectLeft"in L?!L.selectLeft:L.inclusiveLeft,Oe="selectRight"in L?!L.selectRight:L.inclusiveRight;if((S.from==null||(J?S.from<=t.ch:S.from<t.ch))&&(S.to==null||(Oe?S.to>=t.ch:S.to>t.ch))){if(o&&(br(L,"beforeCursorEnter"),L.explicitlyCleared))if(u.markedSpans){--g;continue}else break;if(!L.atomic)continue;if(i){var Me=L.find(n<0?1:-1),N=void 0;if((n<0?Oe:J)&&(Me=Rr(e,Me,-n,Me&&Me.line==t.line?u:null)),Me&&Me.line==t.line&&(N=Be(Me,i))&&(n<0?N<0:N>0))return lr(e,Me,t,n,o)}var De=L.find(n<0?-1:1);return(n<0?J:Oe)&&(De=Rr(e,De,n,De.line==t.line?u:null)),De?lr(e,De,t,n,o):null}}return t}function Or(e,t,i,n,o){var u=n||1,g=lr(e,t,i,u,o)||!o&&lr(e,t,i,u,!0)||lr(e,t,i,-u,o)||!o&&lr(e,t,i,-u,!0);return g||(e.cantEdit=!0,V(e.first,0))}function Rr(e,t,i,n){return i<0&&t.ch==0?t.line>e.first?Qr(e,V(t.line-1)):null:i>0&&t.ch==(n||Jr(e,t.line)).text.length?t.line<e.first+e.size-1?V(t.line+1,0):null:new V(t.line,t.ch+i)}function on(e){e.setSelection(V(e.firstLine(),0),V(e.lastLine()),Gr)}function pn(e,t,i){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return i&&(n.update=function(o,u,g,S){o&&(n.from=Qr(e,o)),u&&(n.to=Qr(e,u)),g&&(n.text=g),S!==void 0&&(n.origin=S)}),br(e,"beforeChange",e,n),e.cm&&br(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function wn(e,t,i){if(e.cm){if(!e.cm.curOp)return Mi(e.cm,wn)(e,t,i);if(e.cm.state.suppressEdits)return}if(!((Zr(e,"beforeChange")||e.cm&&Zr(e.cm,"beforeChange"))&&(t=pn(e,t,!0),!t))){var n=fa&&!i&&Fl(e,t.from,t.to);if(n)for(var o=n.length-1;o>=0;--o)cn(e,{from:n[o].from,to:n[o].to,text:o?[""]:t.text,origin:t.origin});else cn(e,t)}}function cn(e,t){if(!(t.text.length==1&&t.text[0]==""&&Be(t.from,t.to)==0)){var i=Gs(e,t);ee(e,t,i,e.cm?e.cm.curOp.id:NaN),Yt(e,t,i,ha(e,t));var n=[];Ns(e,function(o,u){!u&&Ot(n,o.history)==-1&&(oi(o.history,t),n.push(o.history)),Yt(o,t,null,ha(o,t))})}}function fn(e,t,i){var n=e.cm&&e.cm.state.suppressEdits;if(!(n&&!i)){for(var o=e.history,u,g=e.sel,S=t=="undo"?o.done:o.undone,L=t=="undo"?o.undone:o.done,J=0;J<S.length&&(u=S[J],!(i?u.ranges&&!u.equals(e.sel):!u.ranges));J++);if(J!=S.length){for(o.lastOrigin=o.lastSelOrigin=null;;)if(u=S.pop(),u.ranges){if(Z(u,L),i&&!u.equals(e.sel)){ke(e,u,{clearRedo:!1});return}g=u}else if(n){S.push(u);return}else break;var Oe=[];Z(g,L),L.push({changes:Oe,generation:o.generation}),o.generation=u.generation||++o.maxGeneration;for(var Me=Zr(e,"beforeChange")||e.cm&&Zr(e.cm,"beforeChange"),N=function(Tt){var $t=u.changes[Tt];if($t.origin=t,Me&&!pn(e,$t,!1))return S.length=0,{};Oe.push(Pa(e,$t));var Sr=Tt?Gs(e,$t):Ft(S);Yt(e,$t,Sr,pe(e,$t)),!Tt&&e.cm&&e.cm.scrollIntoView({from:$t.from,to:Ts($t)});var Nr=[];Ns(e,function(Qt,pr){!pr&&Ot(Nr,Qt.history)==-1&&(oi(Qt.history,$t),Nr.push(Qt.history)),Yt(Qt,$t,null,pe(Qt,$t))})},De=u.changes.length-1;De>=0;--De){var lt=N(De);if(lt)return lt.v}}}}function Dr(e,t){if(t!=0&&(e.first+=t,e.sel=new mo(nr(e.sel.ranges,function(o){return new ui(V(o.anchor.line+t,o.anchor.ch),V(o.head.line+t,o.head.ch))}),e.sel.primIndex),e.cm)){Ui(e.cm,e.first,e.first-t,t);for(var i=e.cm.display,n=i.viewFrom;n<i.viewTo;n++)Xo(e.cm,n,"gutter")}}function Yt(e,t,i,n){if(e.cm&&!e.cm.curOp)return Mi(e.cm,Yt)(e,t,i,n);if(t.to.line<e.first){Dr(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 o=t.text.length-1-(e.first-t.from.line);Dr(e,o),t={from:V(e.first,0),to:V(t.to.line+o,t.to.ch),text:[Ft(t.text)],origin:t.origin}}var u=e.lastLine();t.to.line>u&&(t={from:t.from,to:V(u,Jr(e,u).text.length),text:[t.text[0]],origin:t.origin}),t.removed=xi(e,t.from,t.to),i||(i=Gs(e,t)),e.cm?xr(e.cm,t,n):pl(e,t,n),Ae(e,i,Gr),e.cantEdit&&Or(e,V(e.firstLine(),0))&&(e.cantEdit=!1)}}function xr(e,t,i){var n=e.doc,o=e.display,u=t.from,g=t.to,S=!1,L=u.line;e.options.lineWrapping||(L=Nn(fo(Jr(n,u.line))),n.iter(L,g.line+1,function(De){if(De==o.maxLine)return S=!0,!0})),n.sel.contains(t.from,t.to)>-1&&Kr(e),pl(n,t,i,Yu(e)),e.options.lineWrapping||(n.iter(L,u.line+t.text.length,function(De){var lt=ga(De);lt>o.maxLineLength&&(o.maxLine=De,o.maxLineLength=lt,o.maxLineChanged=!0,S=!1)}),S&&(e.curOp.updateMaxLine=!0)),$a(n,u.line),Na(e,400);var J=t.text.length-(g.line-u.line)-1;t.full?Ui(e):u.line==g.line&&t.text.length==1&&!Jl(e.doc,t)?Xo(e,u.line,"text"):Ui(e,u.line,g.line+1,J);var Oe=Zr(e,"changes"),Me=Zr(e,"change");if(Me||Oe){var N={from:u,to:g,text:t.text,removed:t.removed,origin:t.origin};Me&&Pi(e,"change",e,N),Oe&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(N)}e.display.selForContextMenu=null}function Gt(e,t,i,n,o){var u;n||(n=i),Be(n,i)<0&&(u=[n,i],i=u[0],n=u[1]),typeof t=="string"&&(t=e.splitLines(t)),wn(e,{from:i,to:n,text:t,origin:o})}function wi(e,t,i,n){i<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function ri(e,t,i,n){for(var o=0;o<e.length;++o){var u=e[o],g=!0;if(u.ranges){u.copied||(u=e[o]=u.deepCopy(),u.copied=!0);for(var S=0;S<u.ranges.length;S++)wi(u.ranges[S].anchor,t,i,n),wi(u.ranges[S].head,t,i,n);continue}for(var L=0;L<u.changes.length;++L){var J=u.changes[L];if(i<J.from.line)J.from=V(J.from.line+n,J.from.ch),J.to=V(J.to.line+n,J.to.ch);else if(t<=J.to.line){g=!1;break}}g||(e.splice(0,o+1),o=0)}}function oi(e,t){var i=t.from.line,n=t.to.line,o=t.text.length-(n-i)-1;ri(e.done,i,n,o),ri(e.undone,i,n,o)}function qn(e,t,i,n){var o=t,u=t;return typeof t=="number"?u=Jr(e,ii(e,t)):o=Nn(t),o==null?null:(n(u,o)&&e.cm&&Xo(e.cm,o,i),u)}function Rn(e){this.lines=e,this.parent=null;for(var t=0,i=0;i<e.length;++i)e[i].parent=this,t+=e[i].height;this.height=t}Rn.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var i=e,n=e+t;i<n;++i){var o=this.lines[i];this.height-=o.height,js(o),Pi(o,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,i){this.height+=i,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,i){for(var n=e+t;e<n;++e)if(i(this.lines[e]))return!0}};function qr(e){this.children=e;for(var t=0,i=0,n=0;n<e.length;++n){var o=e[n];t+=o.chunkSize(),i+=o.height,o.parent=this}this.size=t,this.height=i,this.parent=null}qr.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var i=0;i<this.children.length;++i){var n=this.children[i],o=n.chunkSize();if(e<o){var u=Math.min(t,o-e),g=n.height;if(n.removeInner(e,u),this.height-=g-n.height,o==u&&(this.children.splice(i--,1),n.parent=null),(t-=u)==0)break;e=0}else e-=o}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Rn))){var S=[];this.collapse(S),this.children=[new Rn(S)],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,i){this.size+=t.length,this.height+=i;for(var n=0;n<this.children.length;++n){var o=this.children[n],u=o.chunkSize();if(e<=u){if(o.insertInner(e,t,i),o.lines&&o.lines.length>50){for(var g=o.lines.length%25+25,S=g;S<o.lines.length;){var L=new Rn(o.lines.slice(S,S+=25));o.height-=L.height,this.children.splice(++n,0,L),L.parent=this}o.lines=o.lines.slice(0,g),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),i=new qr(t);if(e.parent){e.size-=i.size,e.height-=i.height;var o=Ot(e.parent.children,e);e.parent.children.splice(o+1,0,i)}else{var n=new qr(e.children);n.parent=e,e.children=[n,i],e=n}i.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,i){for(var n=0;n<this.children.length;++n){var o=this.children[n],u=o.chunkSize();if(e<u){var g=Math.min(t,u-e);if(o.iterN(e,g,i))return!0;if((t-=g)==0)break;e=0}else e-=u}}};var Bn=function(e,t,i){if(i)for(var n in i)i.hasOwnProperty(n)&&(this[n]=i[n]);this.doc=e,this.node=t};Bn.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,i=this.line,n=Nn(i);if(!(n==null||!t)){for(var o=0;o<t.length;++o)t[o]==this&&t.splice(o--,1);t.length||(i.widgets=null);var u=Io(this);Hn(i,Math.max(0,i.height-u)),e&&(oo(e,function(){An(e,i,-u),Xo(e,n,"widget")}),Pi(e,"lineWidgetCleared",e,this,n))}},Bn.prototype.changed=function(){var e=this,t=this.height,i=this.doc.cm,n=this.line;this.height=null;var o=Io(this)-t;!o||(is(this.doc,n)||Hn(n,n.height+o),i&&oo(i,function(){i.curOp.forceUpdate=!0,An(i,n,o),Pi(i,"lineWidgetChanged",i,e,Nn(n))}))},Tn(Bn);function An(e,t,i){Go(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&nl(e,i)}function Cn(e,t,i,n){var o=new Bn(e,i,n),u=e.cm;return u&&o.noHScroll&&(u.display.alignWidgets=!0),qn(e,t,"widget",function(g){var S=g.widgets||(g.widgets=[]);if(o.insertAt==null?S.push(o):S.splice(Math.min(S.length,Math.max(0,o.insertAt)),0,o),o.line=g,u&&!is(e,g)){var L=Go(g)<e.scrollTop;Hn(g,g.height+Io(o)),L&&nl(u,o.height),u.curOp.forceUpdate=!0}return!0}),u&&Pi(u,"lineWidgetAdded",u,o,typeof t=="number"?t:Nn(t)),o}var ht=0,_t=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ht};_t.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&ps(e),Zr(this,"clear")){var i=this.find();i&&Pi(this,"clear",i.from,i.to)}for(var n=null,o=null,u=0;u<this.lines.length;++u){var g=this.lines[u],S=ta(g.markedSpans,this);e&&!this.collapsed?Xo(e,Nn(g),"text"):e&&(S.to!=null&&(o=Nn(g)),S.from!=null&&(n=Nn(g))),g.markedSpans=jn(g.markedSpans,S),S.from==null&&this.collapsed&&!is(this.doc,g)&&e&&Hn(g,xs(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var L=0;L<this.lines.length;++L){var J=fo(this.lines[L]),Oe=ga(J);Oe>e.display.maxLineLength&&(e.display.maxLine=J,e.display.maxLineLength=Oe,e.display.maxLineChanged=!0)}n!=null&&e&&this.collapsed&&Ui(e,n,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&nt(e.doc)),e&&Pi(e,"markerCleared",e,this,n,o),t&&Vs(e),this.parent&&this.parent.clear()}},_t.prototype.find=function(e,t){e==null&&this.type=="bookmark"&&(e=1);for(var i,n,o=0;o<this.lines.length;++o){var u=this.lines[o],g=ta(u.markedSpans,this);if(g.from!=null&&(i=V(t?u:Nn(u),g.from),e==-1))return i;if(g.to!=null&&(n=V(t?u:Nn(u),g.to),e==1))return n}return i&&{from:i,to:n}},_t.prototype.changed=function(){var e=this,t=this.find(-1,!0),i=this,n=this.doc.cm;!t||!n||oo(n,function(){var o=t.line,u=Nn(t.line),g=ji(n,u);if(g&&(Bl(g),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!is(i.doc,o)&&i.height!=null){var S=i.height;i.height=null;var L=Io(i)-S;L&&Hn(o,o.height+L)}Pi(n,"markerChanged",n,e)})},_t.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(!t.maybeHiddenMarkers||Ot(t.maybeHiddenMarkers,this)==-1)&&(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},_t.prototype.detachLine=function(e){if(this.lines.splice(Ot(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},Tn(_t);function Wt(e,t,i,n,o){if(n&&n.shared)return ft(e,t,i,n,o);if(e.cm&&!e.cm.curOp)return Mi(e.cm,Wt)(e,t,i,n,o);var u=new _t(e,o),g=Be(t,i);if(n&&hi(n,u,!1),g>0||g==0&&u.clearWhenEmpty!==!1)return u;if(u.replacedWith&&(u.collapsed=!0,u.widgetNode=ur("span",[u.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||u.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(u.widgetNode.insertLeft=!0)),u.collapsed){if(Ka(e,t.line,t,i,u)||t.line!=i.line&&Ka(e,i.line,t,i,u))throw new Error("Inserting collapsed marker partially overlapping an existing one");Iu()}u.addToHistory&&ee(e,{from:t,to:i,origin:"markText"},e.sel,NaN);var S=t.line,L=e.cm,J;if(e.iter(S,i.line+1,function(Me){L&&u.collapsed&&!L.options.lineWrapping&&fo(Me)==L.display.maxLine&&(J=!0),u.collapsed&&S!=t.line&&Hn(Me,0),Al(Me,new da(u,S==t.line?t.ch:null,S==i.line?i.ch:null),e.cm&&e.cm.curOp),++S}),u.collapsed&&e.iter(t.line,i.line+1,function(Me){is(e,Me)&&Hn(Me,0)}),u.clearOnEnter&&vt(u,"beforeCursorEnter",function(){return u.clear()}),u.readOnly&&(wl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),u.collapsed&&(u.id=++ht,u.atomic=!0),L){if(J&&(L.curOp.updateMaxLine=!0),u.collapsed)Ui(L,t.line,i.line+1);else if(u.className||u.startStyle||u.endStyle||u.css||u.attributes||u.title)for(var Oe=t.line;Oe<=i.line;Oe++)Xo(L,Oe,"text");u.atomic&&nt(L.doc),Pi(L,"markerAdded",L,u)}return u}var Pr=function(e,t){this.markers=e,this.primary=t;for(var i=0;i<e.length;++i)e[i].parent=this};Pr.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Pi(this,"clear")}},Pr.prototype.find=function(e,t){return this.primary.find(e,t)},Tn(Pr);function ft(e,t,i,n,o){n=hi(n),n.shared=!1;var u=[Wt(e,t,i,n,o)],g=u[0],S=n.widgetNode;return Ns(e,function(L){S&&(n.widgetNode=S.cloneNode(!0)),u.push(Wt(L,Qr(L,t),Qr(L,i),n,o));for(var J=0;J<L.linked.length;++J)if(L.linked[J].isParent)return;g=Ft(u)}),new Pr(u,g)}function rn(e){return e.findMarks(V(e.first,0),e.clipPos(V(e.lastLine())),function(t){return t.parent})}function $r(e,t){for(var i=0;i<t.length;i++){var n=t[i],o=n.find(),u=e.clipPos(o.from),g=e.clipPos(o.to);if(Be(u,g)){var S=Wt(e,u,g,n.primary,n.primary.type);n.markers.push(S),S.parent=n}}}function Li(e){for(var t=function(n){var o=e[n],u=[o.primary.doc];Ns(o.primary.doc,function(L){return u.push(L)});for(var g=0;g<o.markers.length;g++){var S=o.markers[g];Ot(u,S.doc)==-1&&(S.parent=null,o.markers.splice(g--,1))}},i=0;i<e.length;i++)t(i)}var _i=0,pi=function(e,t,i,n,o){if(!(this instanceof pi))return new pi(e,t,i,n,o);i==null&&(i=0),qr.call(this,[new Rn([new Ps("",null)])]),this.first=i,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=i;var u=V(i,0);this.sel=ks(u),this.history=new sa(null),this.id=++_i,this.modeOption=t,this.lineSep=n,this.direction=o=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),pl(this,{from:u,to:u,text:e}),ke(this,ks(u),Gr)};pi.prototype=kr(qr.prototype,{constructor:pi,iter:function(e,t,i){i?this.iterN(e-this.first,t-e,i):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var i=0,n=0;n<t.length;++n)i+=t[n].height;this.insertInner(e-this.first,t,i)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Ni(this,this.first,this.first+this.size);return e===!1?t:t.join(e||this.lineSeparator())},setValue:Ei(function(e){var t=V(this.first,0),i=this.first+this.size-1;wn(this,{from:t,to:V(i,Jr(this,i).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Zo(this.cm,0,0),ke(this,ks(t),Gr)}),replaceRange:function(e,t,i,n){t=Qr(this,t),i=i?Qr(this,i):t,Gt(this,e,t,i,n)},getRange:function(e,t,i){var n=xi(this,Qr(this,e),Qr(this,t));return i===!1?n:i===""?n.join(""):n.join(i||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(xo(this,e))return Jr(this,e)},getLineNumber:function(e){return Nn(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Jr(this,e)),fo(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(),i;return e==null||e=="head"?i=t.head:e=="anchor"?i=t.anchor:e=="end"||e=="to"||e===!1?i=t.to():i=t.from(),i},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ei(function(e,t,i){Ee(this,Qr(this,typeof e=="number"?V(e,t||0):e),null,i)}),setSelection:Ei(function(e,t,i){Ee(this,Qr(this,e),Qr(this,t||e),i)}),extendSelection:Ei(function(e,t,i){h(this,Qr(this,e),t&&Qr(this,t),i)}),extendSelections:Ei(function(e,t){Q(this,bn(this,e),t)}),extendSelectionsBy:Ei(function(e,t){var i=nr(this.sel.ranges,e);Q(this,bn(this,i),t)}),setSelections:Ei(function(e,t,i){if(!!e.length){for(var n=[],o=0;o<e.length;o++)n[o]=new ui(Qr(this,e[o].anchor),Qr(this,e[o].head||e[o].anchor));t==null&&(t=Math.min(e.length-1,this.sel.primIndex)),ke(this,Ro(this.cm,n,t),i)}}),addSelection:Ei(function(e,t,i){var n=this.sel.ranges.slice(0);n.push(new ui(Qr(this,e),Qr(this,t||e))),ke(this,Ro(this.cm,n,n.length-1),i)}),getSelection:function(e){for(var t=this.sel.ranges,i,n=0;n<t.length;n++){var o=xi(this,t[n].from(),t[n].to());i=i?i.concat(o):o}return e===!1?i:i.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],i=this.sel.ranges,n=0;n<i.length;n++){var o=xi(this,i[n].from(),i[n].to());e!==!1&&(o=o.join(e||this.lineSeparator())),t[n]=o}return t},replaceSelection:function(e,t,i){for(var n=[],o=0;o<this.sel.ranges.length;o++)n[o]=e;this.replaceSelections(n,t,i||"+input")},replaceSelections:Ei(function(e,t,i){for(var n=[],o=this.sel,u=0;u<o.ranges.length;u++){var g=o.ranges[u];n[u]={from:g.from(),to:g.to(),text:this.splitLines(e[u]),origin:i}}for(var S=t&&t!="end"&&Kl(this,n,t),L=n.length-1;L>=0;L--)wn(this,n[L]);S?_e(this,S):this.cm&&$i(this.cm)}),undo:Ei(function(){fn(this,"undo")}),redo:Ei(function(){fn(this,"redo")}),undoSelection:Ei(function(){fn(this,"undo",!0)}),redoSelection:Ei(function(){fn(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,i=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var o=0;o<e.undone.length;o++)e.undone[o].ranges||++i;return{undo:t,redo:i}},clearHistory:function(){var e=this;this.history=new sa(this.history),Ns(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:ye(this.history.done),undone:ye(this.history.undone)}},setHistory:function(e){var t=this.history=new sa(this.history);t.done=ye(e.done.slice(0),null,!0),t.undone=ye(e.undone.slice(0),null,!0)},setGutterMarker:Ei(function(e,t,i){return qn(this,e,"gutter",function(n){var o=n.gutterMarkers||(n.gutterMarkers={});return o[t]=i,!i&&ct(o)&&(n.gutterMarkers=null),!0})}),clearGutter:Ei(function(e){var t=this;this.iter(function(i){i.gutterMarkers&&i.gutterMarkers[e]&&qn(t,i,"gutter",function(){return i.gutterMarkers[e]=null,ct(i.gutterMarkers)&&(i.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if(typeof e=="number"){if(!xo(this,e)||(t=e,e=Jr(this,e),!e))return null}else if(t=Nn(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:Ei(function(e,t,i){return qn(this,e,t=="gutter"?"gutter":"class",function(n){var o=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass";if(!n[o])n[o]=i;else{if(_r(i).test(n[o]))return!1;n[o]+=" "+i}return!0})}),removeLineClass:Ei(function(e,t,i){return qn(this,e,t=="gutter"?"gutter":"class",function(n){var o=t=="text"?"textClass":t=="background"?"bgClass":t=="gutter"?"gutterClass":"wrapClass",u=n[o];if(u)if(i==null)n[o]=null;else{var g=u.match(_r(i));if(!g)return!1;var S=g.index+g[0].length;n[o]=u.slice(0,g.index)+(!g.index||S==u.length?"":" ")+u.slice(S)||null}else return!1;return!0})}),addLineWidget:Ei(function(e,t,i){return Cn(this,e,t,i)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,i){return Wt(this,Qr(this,e),Qr(this,t),i,i&&i.type||"range")},setBookmark:function(e,t){var i={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),Wt(this,e,e,i,"bookmark")},findMarksAt:function(e){e=Qr(this,e);var t=[],i=Jr(this,e.line).markedSpans;if(i)for(var n=0;n<i.length;++n){var o=i[n];(o.from==null||o.from<=e.ch)&&(o.to==null||o.to>=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,i){e=Qr(this,e),t=Qr(this,t);var n=[],o=e.line;return this.iter(e.line,t.line+1,function(u){var g=u.markedSpans;if(g)for(var S=0;S<g.length;S++){var L=g[S];!(L.to!=null&&o==e.line&&e.ch>=L.to||L.from==null&&o!=e.line||L.from!=null&&o==t.line&&L.from>=t.ch)&&(!i||i(L.marker))&&n.push(L.marker.parent||L.marker)}++o}),n},getAllMarks:function(){var e=[];return this.iter(function(t){var i=t.markedSpans;if(i)for(var n=0;n<i.length;++n)i[n].from!=null&&e.push(i[n].marker)}),e},posFromIndex:function(e){var t,i=this.first,n=this.lineSeparator().length;return this.iter(function(o){var u=o.text.length+n;if(u>e)return t=e,!0;e-=u,++i}),Qr(this,V(i,t))},indexFromPos:function(e){e=Qr(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var i=this.lineSeparator().length;return this.iter(this.first,e.line,function(n){t+=n.text.length+i}),t},copy:function(e){var t=new pi(Ni(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,i=this.first+this.size;e.from!=null&&e.from>t&&(t=e.from),e.to!=null&&e.to<i&&(i=e.to);var n=new pi(Ni(this,t,i),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],$r(n,rn(this)),n},unlinkDoc:function(e){if(e instanceof Tr&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var i=this.linked[t];if(i.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Li(rn(this));break}}if(e.history==this.history){var n=[e.id];Ns(e,function(o){return n.push(o.id)},!0),e.history=new sa(null),e.history.done=ye(this.history.done,n),e.history.undone=ye(this.history.undone,n)}},iterLinkedDocs:function(e){Ns(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Pt(e)},lineSeparator:function(){return this.lineSep||`
11
- `},setDirection:Ei(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(t){return t.order=null}),this.cm&&Tc(this.cm))})}),pi.prototype.eachLine=pi.prototype.iter;var Fo=0;function Xi(e){var t=this;if(Ri(t),!(dt(t,e)||wo(t.display,e))){xt(e),ce&&(Fo=+new Date);var i=Es(t,e,!0),n=e.dataTransfer.files;if(!(!i||t.isReadOnly()))if(n&&n.length&&window.FileReader&&window.File)for(var o=n.length,u=Array(o),g=0,S=function(){++g==o&&Mi(t,function(){i=Qr(t.doc,i);var De={from:i,to:i,text:t.doc.splitLines(u.filter(function(lt){return lt!=null}).join(t.doc.lineSeparator())),origin:"paste"};wn(t.doc,De),_e(t.doc,ks(Qr(t.doc,i),Qr(t.doc,Ts(De))))})()},L=function(De,lt){if(t.options.allowDropFileTypes&&Ot(t.options.allowDropFileTypes,De.type)==-1){S();return}var Tt=new FileReader;Tt.onerror=function(){return S()},Tt.onload=function(){var $t=Tt.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test($t)){S();return}u[lt]=$t,S()},Tt.readAsText(De)},J=0;J<n.length;J++)L(n[J],J);else{if(t.state.draggingText&&t.doc.sel.contains(i)>-1){t.state.draggingText(e),setTimeout(function(){return t.display.input.focus()},20);return}try{var Oe=e.dataTransfer.getData("Text");if(Oe){var Me;if(t.state.draggingText&&!t.state.draggingText.copy&&(Me=t.listSelections()),Ae(t.doc,ks(i,i)),Me)for(var N=0;N<Me.length;++N)Gt(t.doc,"",Me[N].anchor,Me[N].head,"drag");t.replaceSelection(Oe,"around","paste"),t.display.input.focus()}}catch{}}}}function yi(e,t){if(ce&&(!e.state.draggingText||+new Date-Fo<100)){Un(t);return}if(!(dt(e,t)||wo(e.display,t))&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!tr)){var i=ge("img",null,null,"position: fixed; left: 0; top: 0;");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",At&&(i.width=i.height=1,e.display.wrapper.appendChild(i),i._top=i.offsetTop),t.dataTransfer.setDragImage(i,0,0),At&&i.parentNode.removeChild(i)}}function so(e,t){var i=Es(e,t);if(!!i){var n=document.createDocumentFragment();Ws(e,i,n),e.display.dragCursor||(e.display.dragCursor=ge("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),Er(e.display.dragCursor,n)}}function Ri(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function ki(e){if(!!document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),i=[],n=0;n<t.length;n++){var o=t[n].CodeMirror;o&&i.push(o)}i.length&&i[0].operation(function(){for(var u=0;u<i.length;u++)e(i[u])})}}var Qi=!1;function Bs(){Qi||(yu(),Qi=!0)}function yu(){var e;vt(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,ki(x)},100))}),vt(window,"blur",function(){return ki(Us)})}function x(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var w={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"},d=0;d<10;d++)w[d+48]=w[d+96]=String(d);for(var b=65;b<=90;b++)w[b]=String.fromCharCode(b);for(var v=1;v<=12;v++)w[v+111]=w[v+63235]="F"+v;var c={};c.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"},c.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"},c.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"},c.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"]},c.default=dr?c.macDefault:c.pcDefault;function p(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var i,n,o,u,g=0;g<t.length-1;g++){var S=t[g];if(/^(cmd|meta|m)$/i.test(S))u=!0;else if(/^a(lt)?$/i.test(S))i=!0;else if(/^(c|ctrl|control)$/i.test(S))n=!0;else if(/^s(hift)?$/i.test(S))o=!0;else throw new Error("Unrecognized modifier name: "+S)}return i&&(e="Alt-"+e),n&&(e="Ctrl-"+e),u&&(e="Cmd-"+e),o&&(e="Shift-"+e),e}function y(e){var t={};for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];if(/^(name|fallthrough|(de|at)tach)$/.test(i))continue;if(n=="..."){delete e[i];continue}for(var o=nr(i.split(" "),p),u=0;u<o.length;u++){var g=void 0,S=void 0;u==o.length-1?(S=o.join(" "),g=n):(S=o.slice(0,u+1).join(" "),g="...");var L=t[S];if(!L)t[S]=g;else if(L!=g)throw new Error("Inconsistent bindings for "+S)}delete e[i]}for(var J in t)e[J]=t[J];return e}function C(e,t,i,n){t=I(t);var o=t.call?t.call(e,n):t[e];if(o===!1)return"nothing";if(o==="...")return"multi";if(o!=null&&i(o))return"handled";if(t.fallthrough){if(Object.prototype.toString.call(t.fallthrough)!="[object Array]")return C(e,t.fallthrough,i,n);for(var u=0;u<t.fallthrough.length;u++){var g=C(e,t.fallthrough[u],i,n);if(g)return g}}}function F(e){var t=typeof e=="string"?e:w[e.keyCode];return t=="Ctrl"||t=="Alt"||t=="Shift"||t=="Mod"}function M(e,t,i){var n=e;return t.altKey&&n!="Alt"&&(e="Alt-"+e),(En?t.metaKey:t.ctrlKey)&&n!="Ctrl"&&(e="Ctrl-"+e),(En?t.ctrlKey:t.metaKey)&&n!="Mod"&&(e="Cmd-"+e),!i&&t.shiftKey&&n!="Shift"&&(e="Shift-"+e),e}function _(e,t){if(At&&e.keyCode==34&&e.char)return!1;var i=w[e.keyCode];return i==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(i=e.code),M(i,e,t))}function I(e){return typeof e=="string"?c[e]:e}function k(e,t){for(var i=e.doc.sel.ranges,n=[],o=0;o<i.length;o++){for(var u=t(i[o]);n.length&&Be(u.from,Ft(n).to)<=0;){var g=n.pop();if(Be(g.from,u.from)<0){u.from=g.from;break}}n.push(u)}oo(e,function(){for(var S=n.length-1;S>=0;S--)Gt(e.doc,"",n[S].from,n[S].to,"+delete");$i(e)})}function T(e,t,i){var n=Gn(e.text,t+i,i);return n<0||n>e.text.length?null:n}function j(e,t,i){var n=T(e,t.ch,i);return n==null?null:new V(t.line,n,i<0?"after":"before")}function te(e,t,i,n,o){if(e){t.doc.direction=="rtl"&&(o=-o);var u=Lt(i,t.doc.direction);if(u){var g=o<0?Ft(u):u[0],S=o<0==(g.level==1),L=S?"after":"before",J;if(g.level>0||t.doc.direction=="rtl"){var Oe=Jo(t,i);J=o<0?i.text.length-1:0;var Me=Ao(t,Oe,J).top;J=Xn(function(N){return Ao(t,Oe,N).top==Me},o<0==(g.level==1)?g.from:g.to-1,J),L=="before"&&(J=T(i,J,1))}else J=o<0?g.to:g.from;return new V(n,J,L)}}return new V(n,o<0?i.text.length:0,o<0?"before":"after")}function ie(e,t,i,n){var o=Lt(t,e.doc.direction);if(!o)return j(t,i,n);i.ch>=t.text.length?(i.ch=t.text.length,i.sticky="before"):i.ch<=0&&(i.ch=0,i.sticky="after");var u=bi(o,i.ch,i.sticky),g=o[u];if(e.doc.direction=="ltr"&&g.level%2==0&&(n>0?g.to>i.ch:g.from<i.ch))return j(t,i,n);var S=function(Sr,Nr){return T(t,Sr instanceof V?Sr.ch:Sr,Nr)},L,J=function(Sr){return e.options.lineWrapping?(L=L||Jo(e,t),Ju(e,t,L,Sr)):{begin:0,end:t.text.length}},Oe=J(i.sticky=="before"?S(i,-1):i.ch);if(e.doc.direction=="rtl"||g.level==1){var Me=g.level==1==n<0,N=S(i,Me?1:-1);if(N!=null&&(Me?N<=g.to&&N<=Oe.end:N>=g.from&&N>=Oe.begin)){var De=Me?"before":"after";return new V(i.line,N,De)}}var lt=function(Sr,Nr,Qt){for(var pr=function(gi,Hi){return Hi?new V(i.line,S(gi,1),"before"):new V(i.line,gi,"after")};Sr>=0&&Sr<o.length;Sr+=Nr){var Sn=o[Sr],Fn=Nr>0==(Sn.level!=1),Kn=Fn?Qt.begin:S(Qt.end,-1);if(Sn.from<=Kn&&Kn<Sn.to||(Kn=Fn?Sn.from:S(Sn.to,-1),Qt.begin<=Kn&&Kn<Qt.end))return pr(Kn,Fn)}},Tt=lt(u+n,n,Oe);if(Tt)return Tt;var $t=n>0?Oe.end:S(Oe.begin,-1);return $t!=null&&!(n>0&&$t==t.text.length)&&(Tt=lt(n>0?0:o.length-1,n,J($t)),Tt)?Tt:null}var W={selectAll:on,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Gr)},killLine:function(e){return k(e,function(t){if(t.empty()){var i=Jr(e.doc,t.head.line).text.length;return t.head.ch==i&&t.head.line<e.lastLine()?{from:t.head,to:V(t.head.line+1,0)}:{from:t.head,to:V(t.head.line,i)}}else return{from:t.from(),to:t.to()}})},deleteLine:function(e){return k(e,function(t){return{from:V(t.from().line,0),to:Qr(e.doc,V(t.to().line+1,0))}})},delLineLeft:function(e){return k(e,function(t){return{from:V(t.from().line,0),to:t.from()}})},delWrappedLineLeft:function(e){return k(e,function(t){var i=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:i},"div");return{from:n,to:t.from()}})},delWrappedLineRight:function(e){return k(e,function(t){var i=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div");return{from:t.from(),to:n}})},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(V(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(V(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return Y(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return re(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return H(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:i},"div")},sn)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:i},"div")},sn)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var i=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:i},"div");return n.ch<e.getLine(n.line).search(/\S/)?re(e,t.head):n},sn)},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=[],i=e.listSelections(),n=e.options.tabSize,o=0;o<i.length;o++){var u=i[o].from(),g=Ut(e.getLine(u.line),u.ch,n);t.push(jt(n-g%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return oo(e,function(){for(var t=e.listSelections(),i=[],n=0;n<t.length;n++)if(!!t[n].empty()){var o=t[n].head,u=Jr(e.doc,o.line).text;if(u){if(o.ch==u.length&&(o=new V(o.line,o.ch-1)),o.ch>0)o=new V(o.line,o.ch+1),e.replaceRange(u.charAt(o.ch-1)+u.charAt(o.ch-2),V(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var g=Jr(e.doc,o.line-1).text;g&&(o=new V(o.line,1),e.replaceRange(u.charAt(0)+e.doc.lineSeparator()+g.charAt(g.length-1),V(o.line-1,g.length-1),o,"+transpose"))}}i.push(new ui(o,o))}e.setSelections(i)})},newlineAndIndent:function(e){return oo(e,function(){for(var t=e.listSelections(),i=t.length-1;i>=0;i--)e.replaceRange(e.doc.lineSeparator(),t[i].anchor,t[i].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);$i(e)})},openLine:function(e){return e.replaceSelection(`
12
- `,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Y(e,t){var i=Jr(e.doc,t),n=fo(i);return n!=i&&(t=Nn(n)),te(!0,e,n,t,1)}function H(e,t){var i=Jr(e.doc,t),n=kl(i);return n!=i&&(t=Nn(n)),te(!0,e,i,t,-1)}function re(e,t){var i=Y(e,t.line),n=Jr(e.doc,i.line),o=Lt(n,e.doc.direction);if(!o||o[0].level==0){var u=Math.max(i.ch,n.text.search(/\S/)),g=t.line==i.line&&t.ch<=u&&t.ch;return V(i.line,g?0:u,i.sticky)}return i}function ne(e,t,i){if(typeof t=="string"&&(t=W[t],!t))return!1;e.display.input.ensurePolled();var n=e.display.shift,o=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),i&&(e.display.shift=!1),o=t(e)!=ln}finally{e.display.shift=n,e.state.suppressEdits=!1}return o}function ue(e,t,i){for(var n=0;n<e.state.keyMaps.length;n++){var o=C(t,e.state.keyMaps[n],i,e);if(o)return o}return e.options.extraKeys&&C(t,e.options.extraKeys,i,e)||C(t,e.options.keyMap,i,e)}var R=new sr;function B(e,t,i,n){var o=e.state.keySeq;if(o){if(F(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:R.set(50,function(){e.state.keySeq==o&&(e.state.keySeq=null,e.display.input.reset())}),O(e,o+" "+t,i,n))return!0}return O(e,t,i,n)}function O(e,t,i,n){var o=ue(e,t,n);return o=="multi"&&(e.state.keySeq=t),o=="handled"&&Pi(e,"keyHandled",e,t,i),(o=="handled"||o=="multi")&&(xt(i),cu(e)),!!o}function P(e,t){var i=_(t,!0);return i?t.shiftKey&&!e.state.keySeq?B(e,"Shift-"+i,t,function(n){return ne(e,n,!0)})||B(e,i,t,function(n){if(typeof n=="string"?/^go[A-Z]/.test(n):n.motion)return ne(e,n)}):B(e,i,t,function(n){return ne(e,n)}):!1}function D(e,t,i){return B(e,"'"+i+"'",t,function(n){return ne(e,n,!0)})}var $=null;function z(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&(t.curOp.focus=un(),!dt(t,e))){ce&&Se<11&&e.keyCode==27&&(e.returnValue=!1);var i=e.keyCode;t.display.shift=i==16||e.shiftKey;var n=P(t,e);At&&($=n?i:null,!n&&i==88&&!Vt&&(dr?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),f&&!dr&&!n&&i==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),i==18&&!/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)&&U(t)}}function U(e){var t=e.display.lineDiv;Jn(t,"CodeMirror-crosshair");function i(n){(n.keyCode==18||!n.altKey)&&(xn(t,"CodeMirror-crosshair"),kt(document,"keyup",i),kt(document,"mouseover",i))}vt(document,"keyup",i),vt(document,"mouseover",i)}function se(e){e.keyCode==16&&(this.doc.sel.shift=!1),dt(this,e)}function ae(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField())&&!(wo(t.display,e)||dt(t,e)||e.ctrlKey&&!e.altKey||dr&&e.metaKey)){var i=e.keyCode,n=e.charCode;if(At&&i==$){$=null,xt(e);return}if(!(At&&(!e.which||e.which<10)&&P(t,e))){var o=String.fromCharCode(n==null?i:n);o!="\b"&&(D(t,e,o)||t.display.input.onKeyPress(e))}}}var de=400,xe=function(e,t,i){this.time=e,this.pos=t,this.button=i};xe.prototype.compare=function(e,t,i){return this.time+de>e&&Be(t,this.pos)==0&&i==this.button};var be,je;function oe(e,t){var i=+new Date;return je&&je.compare(i,e,t)?(be=je=null,"triple"):be&&be.compare(i,e,t)?(je=new xe(i,e,t),be=null,"double"):(be=new xe(i,e,t),je=null,"single")}function Ie(e){var t=this,i=t.display;if(!(dt(t,e)||i.activeTouch&&i.input.supportsTouch())){if(i.input.ensurePolled(),i.shift=e.shiftKey,wo(i,e)){Ne||(i.scroller.draggable=!1,setTimeout(function(){return i.scroller.draggable=!0},100));return}if(!ut(t,e)){var n=Es(t,e),o=ti(e),u=n?oe(n,o):"single";window.focus(),o==1&&t.state.selectingText&&t.state.selectingText(e),!(n&&rt(t,o,n,u,e))&&(o==1?n?Pe(t,n,u,e):Ln(e)==i.scroller&&xt(e):o==2?(n&&h(t.doc,n),setTimeout(function(){return i.input.focus()},20)):o==3&&(Wr?t.display.input.onContextMenu(e):pu(t)))}}}function rt(e,t,i,n,o){var u="Click";return n=="double"?u="Double"+u:n=="triple"&&(u="Triple"+u),u=(t==1?"Left":t==2?"Middle":"Right")+u,B(e,M(u,o),o,function(g){if(typeof g=="string"&&(g=W[g]),!g)return!1;var S=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),S=g(e,i)!=ln}finally{e.state.suppressEdits=!1}return S})}function Te(e,t,i){var n=e.getOption("configureMouse"),o=n?n(e,t,i):{};if(o.unit==null){var u=jr?i.shiftKey&&i.metaKey:i.altKey;o.unit=u?"rectangle":t=="single"?"char":t=="double"?"word":"line"}return(o.extend==null||e.doc.extend)&&(o.extend=e.doc.extend||i.shiftKey),o.addNew==null&&(o.addNew=dr?i.metaKey:i.ctrlKey),o.moveOnDrag==null&&(o.moveOnDrag=!(dr?i.altKey:i.ctrlKey)),o}function Pe(e,t,i,n){ce?setTimeout(Wn(Zu,e),0):e.curOp.focus=un();var o=Te(e,i,n),u=e.doc.sel,g;e.options.dragDrop&&mi&&!e.isReadOnly()&&i=="single"&&(g=u.contains(t))>-1&&(Be((g=u.ranges[g]).from(),t)<0||t.xRel>0)&&(Be(g.to(),t)>0||t.xRel<0)?Ke(e,n,t,o):et(e,n,t,o)}function Ke(e,t,i,n){var o=e.display,u=!1,g=Mi(e,function(J){Ne&&(o.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:pu(e)),kt(o.wrapper.ownerDocument,"mouseup",g),kt(o.wrapper.ownerDocument,"mousemove",S),kt(o.scroller,"dragstart",L),kt(o.scroller,"drop",g),u||(xt(J),n.addNew||h(e.doc,i,null,null,n.extend),Ne&&!tr||ce&&Se==9?setTimeout(function(){o.wrapper.ownerDocument.body.focus({preventScroll:!0}),o.input.focus()},20):o.input.focus())}),S=function(J){u=u||Math.abs(t.clientX-J.clientX)+Math.abs(t.clientY-J.clientY)>=10},L=function(){return u=!0};Ne&&(o.scroller.draggable=!0),e.state.draggingText=g,g.copy=!n.moveOnDrag,vt(o.wrapper.ownerDocument,"mouseup",g),vt(o.wrapper.ownerDocument,"mousemove",S),vt(o.scroller,"dragstart",L),vt(o.scroller,"drop",g),e.state.delayingBlurEvent=!0,setTimeout(function(){return o.input.focus()},20),o.scroller.dragDrop&&o.scroller.dragDrop()}function Ue(e,t,i){if(i=="char")return new ui(t,t);if(i=="word")return e.findWordAt(t);if(i=="line")return new ui(V(t.line,0),Qr(e.doc,V(t.line+1,0)));var n=i(e,t);return new ui(n.from,n.to)}function et(e,t,i,n){ce&&pu(e);var o=e.display,u=e.doc;xt(t);var g,S,L=u.sel,J=L.ranges;if(n.addNew&&!n.extend?(S=u.sel.contains(i),S>-1?g=J[S]:g=new ui(i,i)):(g=u.sel.primary(),S=u.sel.primIndex),n.unit=="rectangle")n.addNew||(g=new ui(i,i)),i=Es(e,t,!0,!0),S=-1;else{var Oe=Ue(e,i,n.unit);n.extend?g=E(g,Oe.anchor,Oe.head,n.extend):g=Oe}n.addNew?S==-1?(S=J.length,ke(u,Ro(e,J.concat([g]),S),{scroll:!1,origin:"*mouse"})):J.length>1&&J[S].empty()&&n.unit=="char"&&!n.extend?(ke(u,Ro(e,J.slice(0,S).concat(J.slice(S+1)),0),{scroll:!1,origin:"*mouse"}),L=u.sel):q(u,S,g,Lr):(S=0,ke(u,new mo([g],0),Lr),L=u.sel);var Me=i;function N(Qt){if(Be(Me,Qt)!=0)if(Me=Qt,n.unit=="rectangle"){for(var pr=[],Sn=e.options.tabSize,Fn=Ut(Jr(u,i.line).text,i.ch,Sn),Kn=Ut(Jr(u,Qt.line).text,Qt.ch,Sn),gi=Math.min(Fn,Kn),Hi=Math.max(Fn,Kn),Ti=Math.min(i.line,Qt.line),yo=Math.min(e.lastLine(),Math.max(i.line,Qt.line));Ti<=yo;Ti++){var ao=Jr(u,Ti).text,Vi=We(ao,gi,Sn);gi==Hi?pr.push(new ui(V(Ti,Vi),V(Ti,Vi))):ao.length>Vi&&pr.push(new ui(V(Ti,Vi),V(Ti,We(ao,Hi,Sn))))}pr.length||pr.push(new ui(i,i)),ke(u,Ro(e,L.ranges.slice(0,S).concat(pr),S),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Qt)}else{var Wo=g,uo=Ue(e,Qt,n.unit),Zi=Wo.anchor,Gi;Be(uo.anchor,Zi)>0?(Gi=uo.head,Zi=Yn(Wo.from(),uo.anchor)):(Gi=uo.anchor,Zi=mn(Wo.to(),uo.head));var zi=L.ranges.slice(0);zi[S]=it(e,new ui(Qr(u,Zi),Gi)),ke(u,Ro(e,zi,S),Lr)}}var De=o.wrapper.getBoundingClientRect(),lt=0;function Tt(Qt){var pr=++lt,Sn=Es(e,Qt,!0,n.unit=="rectangle");if(!!Sn)if(Be(Sn,Me)!=0){e.curOp.focus=un(),N(Sn);var Fn=Lo(o,u);(Sn.line>=Fn.to||Sn.line<Fn.from)&&setTimeout(Mi(e,function(){lt==pr&&Tt(Qt)}),150)}else{var Kn=Qt.clientY<De.top?-20:Qt.clientY>De.bottom?20:0;Kn&&setTimeout(Mi(e,function(){lt==pr&&(o.scroller.scrollTop+=Kn,Tt(Qt))}),50)}}function $t(Qt){e.state.selectingText=!1,lt=1/0,Qt&&(xt(Qt),o.input.focus()),kt(o.wrapper.ownerDocument,"mousemove",Sr),kt(o.wrapper.ownerDocument,"mouseup",Nr),u.history.lastSelOrigin=null}var Sr=Mi(e,function(Qt){Qt.buttons===0||!ti(Qt)?$t(Qt):Tt(Qt)}),Nr=Mi(e,$t);e.state.selectingText=Nr,vt(o.wrapper.ownerDocument,"mousemove",Sr),vt(o.wrapper.ownerDocument,"mouseup",Nr)}function it(e,t){var i=t.anchor,n=t.head,o=Jr(e.doc,i.line);if(Be(i,n)==0&&i.sticky==n.sticky)return t;var u=Lt(o);if(!u)return t;var g=bi(u,i.ch,i.sticky),S=u[g];if(S.from!=i.ch&&S.to!=i.ch)return t;var L=g+(S.from==i.ch==(S.level!=1)?0:1);if(L==0||L==u.length)return t;var J;if(n.line!=i.line)J=(n.line-i.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var Oe=bi(u,n.ch,n.sticky),Me=Oe-g||(n.ch-i.ch)*(S.level==1?-1:1);Oe==L-1||Oe==L?J=Me<0:J=Me>0}var N=u[L+(J?-1:0)],De=J==(N.level==1),lt=De?N.from:N.to,Tt=De?"after":"before";return i.ch==lt&&i.sticky==Tt?t:new ui(new V(i.line,lt,Tt),n)}function Fe(e,t,i,n){var o,u;if(t.touches)o=t.touches[0].clientX,u=t.touches[0].clientY;else try{o=t.clientX,u=t.clientY}catch{return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&xt(t);var g=e.display,S=g.lineDiv.getBoundingClientRect();if(u>S.bottom||!Zr(e,i))return On(t);u-=S.top-g.viewOffset;for(var L=0;L<e.display.gutterSpecs.length;++L){var J=g.gutters.childNodes[L];if(J&&J.getBoundingClientRect().right>=o){var Oe=Je(e.doc,u),Me=e.display.gutterSpecs[L];return br(e,i,e,Oe,Me.className,t),On(t)}}}function ut(e,t){return Fe(e,t,"gutterClick",!0)}function Qe(e,t){wo(e.display,t)||ar(e,t)||dt(e,t,"contextmenu")||Wr||e.display.input.onContextMenu(t)}function ar(e,t){return Zr(e,"gutterContextMenu")?Fe(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-"),ia(e)}var Ct={toString:function(){return"CodeMirror.Init"}},tt={},Ye={};function Jt(e){var t=e.optionHandlers;function i(n,o,u,g){e.defaults[n]=o,u&&(t[n]=g?function(S,L,J){J!=Ct&&u(S,L,J)}:u)}e.defineOption=i,e.Init=Ct,i("value","",function(n,o){return n.setValue(o)},!0),i("mode",null,function(n,o){n.doc.modeOption=o,ds(n)},!0),i("indentUnit",2,ds,!0),i("indentWithTabs",!1),i("smartIndent",!0),i("tabSize",4,function(n){zo(n),ia(n),Ui(n)},!0),i("lineSeparator",null,function(n,o){if(n.doc.lineSep=o,!!o){var u=[],g=n.doc.first;n.doc.iter(function(L){for(var J=0;;){var Oe=L.text.indexOf(o,J);if(Oe==-1)break;J=Oe+o.length,u.push(V(g,Oe))}g++});for(var S=u.length-1;S>=0;S--)Gt(n.doc,o,u[S],V(u[S].line,u[S].ch+o.length))}}),i("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(n,o,u){n.state.specialChars=new RegExp(o.source+(o.test(" ")?"":"| "),"g"),u!=Ct&&n.refresh()}),i("specialCharPlaceholder",mc,function(n){return n.refresh()},!0),i("electricChars",!0),i("inputStyle",Ht?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),i("spellcheck",!1,function(n,o){return n.getInputField().spellcheck=o},!0),i("autocorrect",!1,function(n,o){return n.getInputField().autocorrect=o},!0),i("autocapitalize",!1,function(n,o){return n.getInputField().autocapitalize=o},!0),i("rtlMoveVisually",!Ur),i("wholeLineUpdateBefore",!0),i("theme","default",function(n){Ce(n),Oa(n)},!0),i("keyMap","default",function(n,o,u){var g=I(o),S=u!=Ct&&I(u);S&&S.detach&&S.detach(n,g),g.attach&&g.attach(n,S||null)}),i("extraKeys",null),i("configureMouse",null),i("lineWrapping",!1,cr,!0),i("gutters",[],function(n,o){n.display.gutterSpecs=ll(o,n.options.lineNumbers),Oa(n)},!0),i("fixedGutter",!0,function(n,o){n.display.gutters.style.left=o?uu(n.display)+"px":"0",n.refresh()},!0),i("coverGutterNextToScrollbar",!1,function(n){return ls(n)},!0),i("scrollbarStyle","native",function(n){fu(n),ls(n),n.display.scrollbars.setScrollTop(n.doc.scrollTop),n.display.scrollbars.setScrollLeft(n.doc.scrollLeft)},!0),i("lineNumbers",!1,function(n,o){n.display.gutterSpecs=ll(n.options.gutters,o),Oa(n)},!0),i("firstLineNumber",1,Oa,!0),i("lineNumberFormatter",function(n){return n},Oa,!0),i("showCursorWhenSelecting",!1,Qo,!0),i("resetSelectionOnContextMenu",!0),i("lineWiseCopyCut",!0),i("pasteLinesPerSelection",!0),i("selectionsMayTouch",!1),i("readOnly",!1,function(n,o){o=="nocursor"&&(Us(n),n.display.input.blur()),n.display.input.readOnlyChanged(o)}),i("screenReaderLabel",null,function(n,o){o=o===""?null:o,n.display.input.screenReaderLabelChanged(o)}),i("disableInput",!1,function(n,o){o||n.display.input.reset()},!0),i("dragDrop",!0,qt),i("allowDropFileTypes",null),i("cursorBlinkRate",530),i("cursorScrollMargin",0),i("cursorHeight",1,Qo,!0),i("singleCursorHeightPerLine",!0,Qo,!0),i("workTime",100),i("workDelay",100),i("flattenSpans",!0,zo,!0),i("addModeClass",!1,zo,!0),i("pollInterval",100),i("undoDepth",200,function(n,o){return n.doc.history.undoDepth=o}),i("historyEventDelay",1250),i("viewportMargin",10,function(n){return n.refresh()},!0),i("maxHighlightLength",1e4,zo,!0),i("moveInputWithCursor",!0,function(n,o){o||n.display.input.resetPosition()}),i("tabindex",null,function(n,o){return n.display.input.getField().tabIndex=o||""}),i("autofocus",null),i("direction","ltr",function(n,o){return n.doc.setDirection(o)},!0),i("phrases",null)}function qt(e,t,i){var n=i&&i!=Ct;if(!t!=!n){var o=e.display.dragFunctions,u=t?vt:kt;u(e.display.scroller,"dragstart",o.start),u(e.display.scroller,"dragenter",o.enter),u(e.display.scroller,"dragover",o.over),u(e.display.scroller,"dragleave",o.leave),u(e.display.scroller,"drop",o.drop)}}function cr(e){e.options.lineWrapping?(Jn(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(xn(e.display.wrapper,"CodeMirror-wrap"),Ya(e)),lu(e),Ui(e),ia(e),setTimeout(function(){return ls(e)},100)}function Tr(e,t){var i=this;if(!(this instanceof Tr))return new Tr(e,t);this.options=t=t?hi(t):{},hi(tt,t,!1);var n=t.value;typeof n=="string"?n=new pi(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var o=new Tr.inputStyles[t.inputStyle](this),u=this.display=new kc(e,n,o,t);u.wrapper.CodeMirror=this,Ce(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),fu(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 sr,keySeq:null,specialChars:null},t.autofocus&&!Ht&&u.input.focus(),ce&&Se<11&&setTimeout(function(){return i.display.input.reset(!0)},20),an(this),Bs(),ps(this),this.curOp.forceUpdate=!0,fl(this,n),t.autofocus&&!Ht||this.hasFocus()?setTimeout(function(){i.hasFocus()&&!i.state.focused&&Sa(i)},20):Us(this);for(var g in Ye)Ye.hasOwnProperty(g)&&Ye[g](this,t[g],Ct);$l(this),t.finishInit&&t.finishInit(this);for(var S=0;S<St.length;++S)St[S](this);Vs(this),Ne&&t.lineWrapping&&getComputedStyle(u.lineDiv).textRendering=="optimizelegibility"&&(u.lineDiv.style.textRendering="auto")}Tr.defaults=tt,Tr.optionHandlers=Ye;function an(e){var t=e.display;vt(t.scroller,"mousedown",Mi(e,Ie)),ce&&Se<11?vt(t.scroller,"dblclick",Mi(e,function(L){if(!dt(e,L)){var J=Es(e,L);if(!(!J||ut(e,L)||wo(e.display,L))){xt(L);var Oe=e.findWordAt(J);h(e.doc,Oe.anchor,Oe.head)}}})):vt(t.scroller,"dblclick",function(L){return dt(e,L)||xt(L)}),vt(t.scroller,"contextmenu",function(L){return Qe(e,L)}),vt(t.input.getField(),"contextmenu",function(L){t.scroller.contains(L.target)||Qe(e,L)});var i,n={end:0};function o(){t.activeTouch&&(i=setTimeout(function(){return t.activeTouch=null},1e3),n=t.activeTouch,n.end=+new Date)}function u(L){if(L.touches.length!=1)return!1;var J=L.touches[0];return J.radiusX<=1&&J.radiusY<=1}function g(L,J){if(J.left==null)return!0;var Oe=J.left-L.left,Me=J.top-L.top;return Oe*Oe+Me*Me>20*20}vt(t.scroller,"touchstart",function(L){if(!dt(e,L)&&!u(L)&&!ut(e,L)){t.input.ensurePolled(),clearTimeout(i);var J=+new Date;t.activeTouch={start:J,moved:!1,prev:J-n.end<=300?n:null},L.touches.length==1&&(t.activeTouch.left=L.touches[0].pageX,t.activeTouch.top=L.touches[0].pageY)}}),vt(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),vt(t.scroller,"touchend",function(L){var J=t.activeTouch;if(J&&!wo(t,L)&&J.left!=null&&!J.moved&&new Date-J.start<300){var Oe=e.coordsChar(t.activeTouch,"page"),Me;!J.prev||g(J,J.prev)?Me=new ui(Oe,Oe):!J.prev.prev||g(J,J.prev.prev)?Me=e.findWordAt(Oe):Me=new ui(V(Oe.line,0),Qr(e.doc,V(Oe.line+1,0))),e.setSelection(Me.anchor,Me.head),e.focus(),xt(L)}o()}),vt(t.scroller,"touchcancel",o),vt(t.scroller,"scroll",function(){t.scroller.clientHeight&&($s(e,t.scroller.scrollTop),go(e,t.scroller.scrollLeft,!0),br(e,"scroll",e))}),vt(t.scroller,"mousewheel",function(L){return ql(e,L)}),vt(t.scroller,"DOMMouseScroll",function(L){return ql(e,L)}),vt(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(L){dt(e,L)||Un(L)},over:function(L){dt(e,L)||(so(e,L),Un(L))},start:function(L){return yi(e,L)},drop:Mi(e,Xi),leave:function(L){dt(e,L)||Ri(e)}};var S=t.input.getField();vt(S,"keyup",function(L){return se.call(e,L)}),vt(S,"keydown",Mi(e,z)),vt(S,"keypress",Mi(e,ae)),vt(S,"focus",function(L){return Sa(e,L)}),vt(S,"blur",function(L){return Us(e,L)})}var St=[];Tr.defineInitHook=function(e){return St.push(e)};function Et(e,t,i,n){var o=e.doc,u;i==null&&(i="add"),i=="smart"&&(o.mode.indent?u=Zs(e,t).state:i="prev");var g=e.options.tabSize,S=Jr(o,t),L=Ut(S.text,null,g);S.stateAfter&&(S.stateAfter=null);var J=S.text.match(/^\s*/)[0],Oe;if(!n&&!/\S/.test(S.text))Oe=0,i="not";else if(i=="smart"&&(Oe=o.mode.indent(u,S.text.slice(J.length),S.text),Oe==ln||Oe>150)){if(!n)return;i="prev"}i=="prev"?t>o.first?Oe=Ut(Jr(o,t-1).text,null,g):Oe=0:i=="add"?Oe=L+e.options.indentUnit:i=="subtract"?Oe=L-e.options.indentUnit:typeof i=="number"&&(Oe=L+i),Oe=Math.max(0,Oe);var Me="",N=0;if(e.options.indentWithTabs)for(var De=Math.floor(Oe/g);De;--De)N+=g,Me+=" ";if(N<Oe&&(Me+=jt(Oe-N)),Me!=J)return Gt(o,Me,V(t,0),V(t,J.length),"+input"),S.stateAfter=null,!0;for(var lt=0;lt<o.sel.ranges.length;lt++){var Tt=o.sel.ranges[lt];if(Tt.head.line==t&&Tt.head.ch<J.length){var $t=V(t,J.length);q(o,lt,new ui($t,$t));break}}}var Nt=null;function bt(e){Nt=e}function Xt(e,t,i,n,o){var u=e.doc;e.display.shift=!1,n||(n=u.sel);var g=+new Date-200,S=o=="paste"||e.state.pasteIncoming>g,L=Pt(t),J=null;if(S&&n.ranges.length>1)if(Nt&&Nt.text.join(`
13
- `)==t){if(n.ranges.length%Nt.text.length==0){J=[];for(var Oe=0;Oe<Nt.text.length;Oe++)J.push(u.splitLines(Nt.text[Oe]))}}else L.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(J=nr(L,function(Sr){return[Sr]}));for(var Me=e.curOp.updateInput,N=n.ranges.length-1;N>=0;N--){var De=n.ranges[N],lt=De.from(),Tt=De.to();De.empty()&&(i&&i>0?lt=V(lt.line,lt.ch-i):e.state.overwrite&&!S?Tt=V(Tt.line,Math.min(Jr(u,Tt.line).text.length,Tt.ch+Ft(L).length)):S&&Nt&&Nt.lineWise&&Nt.text.join(`
14
- `)==L.join(`
15
- `)&&(lt=Tt=V(lt.line,0)));var $t={from:lt,to:Tt,text:J?J[N%J.length]:L,origin:o||(S?"paste":e.state.cutIncoming>g?"cut":"+input")};wn(e.doc,$t),Pi(e,"inputRead",e,$t)}t&&!S&&Kt(e,t),$i(e),e.curOp.updateInput<2&&(e.curOp.updateInput=Me),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Le(e,t){var i=e.clipboardData&&e.clipboardData.getData("Text");if(i)return e.preventDefault(),!t.isReadOnly()&&!t.options.disableInput&&t.hasFocus()&&oo(t,function(){return Xt(t,i,0,null,"paste")}),!0}function Kt(e,t){if(!(!e.options.electricChars||!e.options.smartIndent))for(var i=e.doc.sel,n=i.ranges.length-1;n>=0;n--){var o=i.ranges[n];if(!(o.head.ch>100||n&&i.ranges[n-1].head.line==o.head.line)){var u=e.getModeAt(o.head),g=!1;if(u.electricChars){for(var S=0;S<u.electricChars.length;S++)if(t.indexOf(u.electricChars.charAt(S))>-1){g=Et(e,o.head.line,"smart");break}}else u.electricInput&&u.electricInput.test(Jr(e.doc,o.head.line).text.slice(0,o.head.ch))&&(g=Et(e,o.head.line,"smart"));g&&Pi(e,"electricInput",e,o.head.line)}}}function Ge(e){for(var t=[],i=[],n=0;n<e.doc.sel.ranges.length;n++){var o=e.doc.sel.ranges[n].head.line,u={anchor:V(o,0),head:V(o+1,0)};i.push(u),t.push(e.getRange(u.anchor,u.head))}return{text:t,ranges:i}}function Ve(e,t,i,n){e.setAttribute("autocorrect",i?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function Ze(){var e=ge("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=ge("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Ne?e.style.width="1000px":e.setAttribute("wrap","off"),yt&&(e.style.border="1px solid black"),Ve(e),t}function $e(e){var t=e.optionHandlers,i=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(n,o){var u=this.options,g=u[n];u[n]==o&&n!="mode"||(u[n]=o,t.hasOwnProperty(n)&&Mi(this,t[n])(this,o,g),br(this,"optionChange",this,n))},getOption:function(n){return this.options[n]},getDoc:function(){return this.doc},addKeyMap:function(n,o){this.state.keyMaps[o?"push":"unshift"](I(n))},removeKeyMap:function(n){for(var o=this.state.keyMaps,u=0;u<o.length;++u)if(o[u]==n||o[u].name==n)return o.splice(u,1),!0},addOverlay:Yi(function(n,o){var u=n.token?n:e.getMode(this.options,n);if(u.startState)throw new Error("Overlays may not be stateful.");vr(this.state.overlays,{mode:u,modeSpec:n,opaque:o&&o.opaque,priority:o&&o.priority||0},function(g){return g.priority}),this.state.modeGen++,Ui(this)}),removeOverlay:Yi(function(n){for(var o=this.state.overlays,u=0;u<o.length;++u){var g=o[u].modeSpec;if(g==n||typeof n=="string"&&g.name==n){o.splice(u,1),this.state.modeGen++,Ui(this);return}}}),indentLine:Yi(function(n,o,u){typeof o!="string"&&typeof o!="number"&&(o==null?o=this.options.smartIndent?"smart":"prev":o=o?"add":"subtract"),xo(this.doc,n)&&Et(this,n,o,u)}),indentSelection:Yi(function(n){for(var o=this.doc.sel.ranges,u=-1,g=0;g<o.length;g++){var S=o[g];if(S.empty())S.head.line>u&&(Et(this,S.head.line,n,!0),u=S.head.line,g==this.doc.sel.primIndex&&$i(this));else{var L=S.from(),J=S.to(),Oe=Math.max(u,L.line);u=Math.min(this.lastLine(),J.line-(J.ch?0:1))+1;for(var Me=Oe;Me<u;++Me)Et(this,Me,n);var N=this.doc.sel.ranges;L.ch==0&&o.length==N.length&&N[g].from().ch>0&&q(this.doc,g,new ui(L,N[g].to()),Gr)}}}),getTokenAt:function(n,o){return Ou(this,n,o)},getLineTokens:function(n,o){return Ou(this,V(n),o,!0)},getTokenTypeAt:function(n){n=Qr(this.doc,n);var o=Nu(this,Jr(this.doc,n.line)),u=0,g=(o.length-1)/2,S=n.ch,L;if(S==0)L=o[2];else for(;;){var J=u+g>>1;if((J?o[J*2-1]:0)>=S)g=J;else if(o[J*2+1]<S)u=J+1;else{L=o[J*2+2];break}}var Oe=L?L.indexOf("overlay "):-1;return Oe<0?L:Oe==0?null:L.slice(0,Oe-1)},getModeAt:function(n){var o=this.doc.mode;return o.innerMode?e.innerMode(o,this.getTokenAt(n).state).mode:o},getHelper:function(n,o){return this.getHelpers(n,o)[0]},getHelpers:function(n,o){var u=[];if(!i.hasOwnProperty(o))return u;var g=i[o],S=this.getModeAt(n);if(typeof S[o]=="string")g[S[o]]&&u.push(g[S[o]]);else if(S[o])for(var L=0;L<S[o].length;L++){var J=g[S[o][L]];J&&u.push(J)}else S.helperType&&g[S.helperType]?u.push(g[S.helperType]):g[S.name]&&u.push(g[S.name]);for(var Oe=0;Oe<g._global.length;Oe++){var Me=g._global[Oe];Me.pred(S,this)&&Ot(u,Me.val)==-1&&u.push(Me.val)}return u},getStateAfter:function(n,o){var u=this.doc;return n=ii(u,n==null?u.first+u.size-1:n),Zs(this,n+1,o).state},cursorCoords:function(n,o){var u,g=this.doc.sel.primary();return n==null?u=g.head:typeof n=="object"?u=Qr(this.doc,n):u=n?g.from():g.to(),ho(this,u,o||"page")},charCoords:function(n,o){return Ii(this,Qr(this.doc,n),o||"page")},coordsChar:function(n,o){return n=Rs(this,n,o||"page"),Zn(this,n.left,n.top)},lineAtHeight:function(n,o){return n=Rs(this,{top:n,left:0},o||"page").top,Je(this.doc,n+this.display.viewOffset)},heightAtLine:function(n,o,u){var g=!1,S;if(typeof n=="number"){var L=this.doc.first+this.doc.size-1;n<this.doc.first?n=this.doc.first:n>L&&(n=L,g=!0),S=Jr(this.doc,n)}else S=n;return Yo(this,S,{top:0,left:0},o||"page",u||g).top+(g?this.doc.height-Go(S):0)},defaultTextHeight:function(){return xs(this.display)},defaultCharWidth:function(){return Cs(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(n,o,u,g,S){var L=this.display;n=ho(this,Qr(this.doc,n));var J=n.bottom,Oe=n.left;if(o.style.position="absolute",o.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(o),L.sizer.appendChild(o),g=="over")J=n.top;else if(g=="above"||g=="near"){var Me=Math.max(L.wrapper.clientHeight,this.doc.height),N=Math.max(L.sizer.clientWidth,L.lineSpace.clientWidth);(g=="above"||n.bottom+o.offsetHeight>Me)&&n.top>o.offsetHeight?J=n.top-o.offsetHeight:n.bottom+o.offsetHeight<=Me&&(J=n.bottom),Oe+o.offsetWidth>N&&(Oe=N-o.offsetWidth)}o.style.top=J+"px",o.style.left=o.style.right="",S=="right"?(Oe=L.sizer.clientWidth-o.offsetWidth,o.style.right="0px"):(S=="left"?Oe=0:S=="middle"&&(Oe=(L.sizer.clientWidth-o.offsetWidth)/2),o.style.left=Oe+"px"),u&&tl(this,{left:Oe,top:J,right:Oe+o.offsetWidth,bottom:J+o.offsetHeight})},triggerOnKeyDown:Yi(z),triggerOnKeyPress:Yi(ae),triggerOnKeyUp:se,triggerOnMouseDown:Yi(Ie),execCommand:function(n){if(W.hasOwnProperty(n))return W[n].call(null,this)},triggerElectric:Yi(function(n){Kt(this,n)}),findPosH:function(n,o,u,g){var S=1;o<0&&(S=-1,o=-o);for(var L=Qr(this.doc,n),J=0;J<o&&(L=fe(this.doc,L,S,u,g),!L.hitSide);++J);return L},moveH:Yi(function(n,o){var u=this;this.extendSelectionsBy(function(g){return u.display.shift||u.doc.extend||g.empty()?fe(u.doc,g.head,n,o,u.options.rtlMoveVisually):n<0?g.from():g.to()},sn)}),deleteH:Yi(function(n,o){var u=this.doc.sel,g=this.doc;u.somethingSelected()?g.replaceSelection("",null,"+delete"):k(this,function(S){var L=fe(g,S.head,n,o,!1);return n<0?{from:L,to:S.head}:{from:S.head,to:L}})}),findPosV:function(n,o,u,g){var S=1,L=g;o<0&&(S=-1,o=-o);for(var J=Qr(this.doc,n),Oe=0;Oe<o;++Oe){var Me=ho(this,J,"div");if(L==null?L=Me.left:Me.left=L,J=ir(this,Me,S,u),J.hitSide)break}return J},moveV:Yi(function(n,o){var u=this,g=this.doc,S=[],L=!this.display.shift&&!g.extend&&g.sel.somethingSelected();if(g.extendSelectionsBy(function(Oe){if(L)return n<0?Oe.from():Oe.to();var Me=ho(u,Oe.head,"div");Oe.goalColumn!=null&&(Me.left=Oe.goalColumn),S.push(Me.left);var N=ir(u,Me,n,o);return o=="page"&&Oe==g.sel.primary()&&nl(u,Ii(u,N,"div").top-Me.top),N},sn),S.length)for(var J=0;J<g.sel.ranges.length;J++)g.sel.ranges[J].goalColumn=S[J]}),findWordAt:function(n){var o=this.doc,u=Jr(o,n.line).text,g=n.ch,S=n.ch;if(u){var L=this.getHelper(n,"wordChars");(n.sticky=="before"||S==u.length)&&g?--g:++S;for(var J=u.charAt(g),Oe=It(J,L)?function(Me){return It(Me,L)}:/\s/.test(J)?function(Me){return/\s/.test(Me)}:function(Me){return!/\s/.test(Me)&&!It(Me)};g>0&&Oe(u.charAt(g-1));)--g;for(;S<u.length&&Oe(u.charAt(S));)++S}return new ui(V(n.line,g),V(n.line,S))},toggleOverwrite:function(n){n!=null&&n==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Jn(this.display.cursorDiv,"CodeMirror-overwrite"):xn(this.display.cursorDiv,"CodeMirror-overwrite"),br(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==un()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Yi(function(n,o){Zo(this,n,o)}),getScrollInfo:function(){var n=this.display.scroller;return{left:n.scrollLeft,top:n.scrollTop,height:n.scrollHeight-Mo(this)-this.display.barHeight,width:n.scrollWidth-Mo(this)-this.display.barWidth,clientHeight:xa(this),clientWidth:os(this)}},scrollIntoView:Yi(function(n,o){n==null?(n={from:this.doc.sel.primary().head,to:null},o==null&&(o=this.options.cursorScrollMargin)):typeof n=="number"?n={from:V(n,0),to:null}:n.from==null&&(n={from:n,to:null}),n.to||(n.to=n.from),n.margin=o||0,n.from.line!=null?Ll(this,n):ka(this,n.from,n.to,n.margin)}),setSize:Yi(function(n,o){var u=this,g=function(L){return typeof L=="number"||/^\d+$/.test(String(L))?L+"px":L};n!=null&&(this.display.wrapper.style.width=g(n)),o!=null&&(this.display.wrapper.style.height=g(o)),this.options.lineWrapping&&Vu(this);var S=this.display.viewFrom;this.doc.iter(S,this.display.viewTo,function(L){if(L.widgets){for(var J=0;J<L.widgets.length;J++)if(L.widgets[J].noHScroll){Xo(u,S,"widget");break}}++S}),this.curOp.forceUpdate=!0,br(this,"refresh",this)}),operation:function(n){return oo(this,n)},startOperation:function(){return ps(this)},endOperation:function(){return Vs(this)},refresh:Yi(function(){var n=this.display.cachedTextHeight;Ui(this),this.curOp.forceUpdate=!0,ia(this),Zo(this,this.doc.scrollLeft,this.doc.scrollTop),Ba(this.display),(n==null||Math.abs(n-xs(this.display))>.5||this.options.lineWrapping)&&lu(this),br(this,"refresh",this)}),swapDoc:Yi(function(n){var o=this.doc;return o.cm=null,this.state.selectingText&&this.state.selectingText(),fl(this,n),ia(this),this.display.input.reset(),Zo(this,n.scrollLeft,n.scrollTop),this.curOp.forceScroll=!0,Pi(this,"swapDoc",this,o),o}),phrase:function(n){var o=this.options.phrases;return o&&Object.prototype.hasOwnProperty.call(o,n)?o[n]:n},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}},Tn(e),e.registerHelper=function(n,o,u){i.hasOwnProperty(n)||(i[n]=e[n]={_global:[]}),i[n][o]=u},e.registerGlobalHelper=function(n,o,u,g){e.registerHelper(n,o,g),i[n]._global.push({pred:u,val:g})}}function fe(e,t,i,n,o){var u=t,g=i,S=Jr(e,t.line),L=o&&e.direction=="rtl"?-i:i;function J(){var Nr=t.line+L;return Nr<e.first||Nr>=e.first+e.size?!1:(t=new V(Nr,t.ch,t.sticky),S=Jr(e,Nr))}function Oe(Nr){var Qt;if(n=="codepoint"){var pr=S.text.charCodeAt(t.ch+(i>0?0:-1));if(isNaN(pr))Qt=null;else{var Sn=i>0?pr>=55296&&pr<56320:pr>=56320&&pr<57343;Qt=new V(t.line,Math.max(0,Math.min(S.text.length,t.ch+i*(Sn?2:1))),-i)}}else o?Qt=ie(e.cm,S,t,i):Qt=j(S,t,i);if(Qt==null)if(!Nr&&J())t=te(o,e.cm,S,t.line,L);else return!1;else t=Qt;return!0}if(n=="char"||n=="codepoint")Oe();else if(n=="column")Oe(!0);else if(n=="word"||n=="group")for(var Me=null,N=n=="group",De=e.cm&&e.cm.getHelper(t,"wordChars"),lt=!0;!(i<0&&!Oe(!lt));lt=!1){var Tt=S.text.charAt(t.ch)||`
16
- `,$t=It(Tt,De)?"w":N&&Tt==`
17
- `?"n":!N||/\s/.test(Tt)?null:"p";if(N&&!lt&&!$t&&($t="s"),Me&&Me!=$t){i<0&&(i=1,Oe(),t.sticky="after");break}if($t&&(Me=$t),i>0&&!Oe(!lt))break}var Sr=Or(e,t,u,g,!0);return er(u,Sr)&&(Sr.hitSide=!0),Sr}function ir(e,t,i,n){var o=e.doc,u=t.left,g;if(n=="page"){var S=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),L=Math.max(S-.5*xs(e.display),3);g=(i>0?t.bottom:t.top)+i*L}else n=="line"&&(g=i>0?t.bottom+3:t.top-3);for(var J;J=Zn(e,u,g),!!J.outside;){if(i<0?g<=0:g>=o.height){J.hitSide=!0;break}g+=i*5}return J}var Ar=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new sr,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ar.prototype.init=function(e){var t=this,i=this,n=i.cm,o=i.div=e.lineDiv;o.contentEditable=!0,Ve(o,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize);function u(S){for(var L=S.target;L;L=L.parentNode){if(L==o)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(L.className))break}return!1}vt(o,"paste",function(S){!u(S)||dt(n,S)||Le(S,n)||Se<=11&&setTimeout(Mi(n,function(){return t.updateFromDOM()}),20)}),vt(o,"compositionstart",function(S){t.composing={data:S.data,done:!1}}),vt(o,"compositionupdate",function(S){t.composing||(t.composing={data:S.data,done:!1})}),vt(o,"compositionend",function(S){t.composing&&(S.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),vt(o,"touchstart",function(){return i.forceCompositionEnd()}),vt(o,"input",function(){t.composing||t.readFromDOMSoon()});function g(S){if(!(!u(S)||dt(n,S))){if(n.somethingSelected())bt({lineWise:!1,text:n.getSelections()}),S.type=="cut"&&n.replaceSelection("",null,"cut");else if(n.options.lineWiseCopyCut){var L=Ge(n);bt({lineWise:!0,text:L.text}),S.type=="cut"&&n.operation(function(){n.setSelections(L.ranges,0,Gr),n.replaceSelection("",null,"cut")})}else return;if(S.clipboardData){S.clipboardData.clearData();var J=Nt.text.join(`
18
- `);if(S.clipboardData.setData("Text",J),S.clipboardData.getData("Text")==J){S.preventDefault();return}}var Oe=Ze(),Me=Oe.firstChild;n.display.lineSpace.insertBefore(Oe,n.display.lineSpace.firstChild),Me.value=Nt.text.join(`
19
- `);var N=un();di(Me),setTimeout(function(){n.display.lineSpace.removeChild(Oe),N.focus(),N==o&&i.showPrimarySelection()},50)}}vt(o,"copy",g),vt(o,"cut",g)},Ar.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ar.prototype.prepareSelection=function(){var e=zs(this.cm,!1);return e.focus=un()==this.div,e},Ar.prototype.showSelection=function(e,t){!e||!this.cm.display.view.length||((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ar.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ar.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,i=t.doc.sel.primary(),n=i.from(),o=i.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||o.line<t.display.viewFrom){e.removeAllRanges();return}var u=dn(t,e.anchorNode,e.anchorOffset),g=dn(t,e.focusNode,e.focusOffset);if(!(u&&!u.bad&&g&&!g.bad&&Be(Yn(u,g),n)==0&&Be(mn(u,g),o)==0)){var S=t.display.view,L=n.line>=t.display.viewFrom&&In(t,n)||{node:S[0].measure.map[2],offset:0},J=o.line<t.display.viewTo&&In(t,o);if(!J){var Oe=S[S.length-1].measure,Me=Oe.maps?Oe.maps[Oe.maps.length-1]:Oe.map;J={node:Me[Me.length-1],offset:Me[Me.length-2]-Me[Me.length-3]}}if(!L||!J){e.removeAllRanges();return}var N=e.rangeCount&&e.getRangeAt(0),De;try{De=zt(L.node,L.offset,J.offset,J.node)}catch{}De&&(!f&&t.state.focused?(e.collapse(L.node,L.offset),De.collapsed||(e.removeAllRanges(),e.addRange(De))):(e.removeAllRanges(),e.addRange(De)),N&&e.anchorNode==null?e.addRange(N):f&&this.startGracePeriod()),this.rememberSelection()}},Ar.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)},Ar.prototype.showMultipleSelections=function(e){Er(this.cm.display.cursorDiv,e.cursors),Er(this.cm.display.selectionDiv,e.selection)},Ar.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ar.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Fr(this.div,t)},Ar.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||un()!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ar.prototype.blur=function(){this.div.blur()},Ar.prototype.getField=function(){return this.div},Ar.prototype.supportsTouch=function(){return!0},Ar.prototype.receivedFocus=function(){var e=this,t=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):oo(this.cm,function(){return t.cm.curOp.selectionChanged=!0});function i(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,i))}this.polling.set(this.cm.options.pollInterval,i)},Ar.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ar.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),t=this.cm;if(Dt&&qe&&this.cm.display.gutterSpecs.length&&si(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var i=dn(t,e.anchorNode,e.anchorOffset),n=dn(t,e.focusNode,e.focusOffset);i&&n&&oo(t,function(){ke(t.doc,ks(i,n),Gr),(i.bad||n.bad)&&(t.curOp.selectionChanged=!0)})}}},Ar.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,i=e.doc.sel.primary(),n=i.from(),o=i.to();if(n.ch==0&&n.line>e.firstLine()&&(n=V(n.line-1,Jr(e.doc,n.line-1).length)),o.ch==Jr(e.doc,o.line).text.length&&o.line<e.lastLine()&&(o=V(o.line+1,0)),n.line<t.viewFrom||o.line>t.viewTo-1)return!1;var u,g,S;n.line==t.viewFrom||(u=ws(e,n.line))==0?(g=Nn(t.view[0].line),S=t.view[0].node):(g=Nn(t.view[u].line),S=t.view[u-1].node.nextSibling);var L=ws(e,o.line),J,Oe;if(L==t.view.length-1?(J=t.viewTo-1,Oe=t.lineDiv.lastChild):(J=Nn(t.view[L+1].line)-1,Oe=t.view[L+1].node.previousSibling),!S)return!1;for(var Me=e.doc.splitLines(Vr(e,S,Oe,g,J)),N=xi(e.doc,V(g,0),V(J,Jr(e.doc,J).text.length));Me.length>1&&N.length>1;)if(Ft(Me)==Ft(N))Me.pop(),N.pop(),J--;else if(Me[0]==N[0])Me.shift(),N.shift(),g++;else break;for(var De=0,lt=0,Tt=Me[0],$t=N[0],Sr=Math.min(Tt.length,$t.length);De<Sr&&Tt.charCodeAt(De)==$t.charCodeAt(De);)++De;for(var Nr=Ft(Me),Qt=Ft(N),pr=Math.min(Nr.length-(Me.length==1?De:0),Qt.length-(N.length==1?De:0));lt<pr&&Nr.charCodeAt(Nr.length-lt-1)==Qt.charCodeAt(Qt.length-lt-1);)++lt;if(Me.length==1&&N.length==1&&g==n.line)for(;De&&De>n.ch&&Nr.charCodeAt(Nr.length-lt-1)==Qt.charCodeAt(Qt.length-lt-1);)De--,lt++;Me[Me.length-1]=Nr.slice(0,Nr.length-lt).replace(/^\u200b+/,""),Me[0]=Me[0].slice(De).replace(/\u200b+$/,"");var Sn=V(g,De),Fn=V(J,N.length?Ft(N).length-lt:0);if(Me.length>1||Me[0]||Be(Sn,Fn))return Gt(e.doc,Me,Sn,Fn,"+input"),!0},Ar.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ar.prototype.reset=function(){this.forceCompositionEnd()},Ar.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ar.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))},Ar.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&oo(this.cm,function(){return Ui(e.cm)})},Ar.prototype.setUneditable=function(e){e.contentEditable="false"},Ar.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Mi(this.cm,Xt)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Ar.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Ar.prototype.onContextMenu=function(){},Ar.prototype.resetPosition=function(){},Ar.prototype.needsContentAttribute=!0;function In(e,t){var i=ji(e,t.line);if(!i||i.hidden)return null;var n=Jr(e.doc,t.line),o=Hu(i,n,t.line),u=Lt(n,e.doc.direction),g="left";if(u){var S=bi(u,t.ch);g=S%2?"right":"left"}var L=su(o.map,t.ch,g);return L.offset=L.collapse=="right"?L.end:L.start,L}function si(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function vi(e,t){return t&&(e.bad=!0),e}function Vr(e,t,i,n,o){var u="",g=!1,S=e.doc.lineSeparator(),L=!1;function J(De){return function(lt){return lt.id==De}}function Oe(){g&&(u+=S,L&&(u+=S),g=L=!1)}function Me(De){De&&(Oe(),u+=De)}function N(De){if(De.nodeType==1){var lt=De.getAttribute("cm-text");if(lt){Me(lt);return}var Tt=De.getAttribute("cm-marker"),$t;if(Tt){var Sr=e.findMarks(V(n,0),V(o+1,0),J(+Tt));Sr.length&&($t=Sr[0].find(0))&&Me(xi(e.doc,$t.from,$t.to).join(S));return}if(De.getAttribute("contenteditable")=="false")return;var Nr=/^(pre|div|p|li|table|br)$/i.test(De.nodeName);if(!/^br$/i.test(De.nodeName)&&De.textContent.length==0)return;Nr&&Oe();for(var Qt=0;Qt<De.childNodes.length;Qt++)N(De.childNodes[Qt]);/^(pre|p)$/i.test(De.nodeName)&&(L=!0),Nr&&(g=!0)}else De.nodeType==3&&Me(De.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;N(t),t!=i;)t=t.nextSibling,L=!1;return u}function dn(e,t,i){var n;if(t==e.display.lineDiv){if(n=e.display.lineDiv.childNodes[i],!n)return vi(e.clipPos(V(e.display.viewTo-1)),!0);t=null,i=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var o=0;o<e.display.view.length;o++){var u=e.display.view[o];if(u.node==n)return hr(u,t,i)}}function hr(e,t,i){var n=e.text.firstChild,o=!1;if(!t||!Fr(n,t))return vi(V(Nn(e.line),0),!0);if(t==n&&(o=!0,t=n.childNodes[i],i=0,!t)){var u=e.rest?Ft(e.rest):e.line;return vi(V(Nn(u),u.text.length),o)}var g=t.nodeType==3?t:null,S=t;for(!g&&t.childNodes.length==1&&t.firstChild.nodeType==3&&(g=t.firstChild,i&&(i=g.nodeValue.length));S.parentNode!=n;)S=S.parentNode;var L=e.measure,J=L.maps;function Oe($t,Sr,Nr){for(var Qt=-1;Qt<(J?J.length:0);Qt++)for(var pr=Qt<0?L.map:J[Qt],Sn=0;Sn<pr.length;Sn+=3){var Fn=pr[Sn+2];if(Fn==$t||Fn==Sr){var Kn=Nn(Qt<0?e.line:e.rest[Qt]),gi=pr[Sn]+Nr;return(Nr<0||Fn!=$t)&&(gi=pr[Sn+(Nr?1:0)]),V(Kn,gi)}}}var Me=Oe(g,S,i);if(Me)return vi(Me,o);for(var N=S.nextSibling,De=g?g.nodeValue.length-i:0;N;N=N.nextSibling){if(Me=Oe(N,N.firstChild,0),Me)return vi(V(Me.line,Me.ch-De),o);De+=N.textContent.length}for(var lt=S.previousSibling,Tt=i;lt;lt=lt.previousSibling){if(Me=Oe(lt,lt.firstChild,-1),Me)return vi(V(Me.line,Me.ch+Tt),o);Tt+=lt.textContent.length}}var zn=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new sr,this.hasSelection=!1,this.composing=null};zn.prototype.init=function(e){var t=this,i=this,n=this.cm;this.createField(e);var o=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),yt&&(o.style.width="0px"),vt(o,"input",function(){ce&&Se>=9&&t.hasSelection&&(t.hasSelection=null),i.poll()}),vt(o,"paste",function(g){dt(n,g)||Le(g,n)||(n.state.pasteIncoming=+new Date,i.fastPoll())});function u(g){if(!dt(n,g)){if(n.somethingSelected())bt({lineWise:!1,text:n.getSelections()});else if(n.options.lineWiseCopyCut){var S=Ge(n);bt({lineWise:!0,text:S.text}),g.type=="cut"?n.setSelections(S.ranges,null,Gr):(i.prevInput="",o.value=S.text.join(`
20
- `),di(o))}else return;g.type=="cut"&&(n.state.cutIncoming=+new Date)}}vt(o,"cut",u),vt(o,"copy",u),vt(e.scroller,"paste",function(g){if(!(wo(e,g)||dt(n,g))){if(!o.dispatchEvent){n.state.pasteIncoming=+new Date,i.focus();return}var S=new Event("paste");S.clipboardData=g.clipboardData,o.dispatchEvent(S)}}),vt(e.lineSpace,"selectstart",function(g){wo(e,g)||xt(g)}),vt(o,"compositionstart",function(){var g=n.getCursor("from");i.composing&&i.composing.range.clear(),i.composing={start:g,range:n.markText(g,n.getCursor("to"),{className:"CodeMirror-composing"})}}),vt(o,"compositionend",function(){i.composing&&(i.poll(),i.composing.range.clear(),i.composing=null)})},zn.prototype.createField=function(e){this.wrapper=Ze(),this.textarea=this.wrapper.firstChild},zn.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},zn.prototype.prepareSelection=function(){var e=this.cm,t=e.display,i=e.doc,n=zs(e);if(e.options.moveInputWithCursor){var o=ho(e,i.sel.primary().head,"div"),u=t.wrapper.getBoundingClientRect(),g=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+g.top-u.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+g.left-u.left))}return n},zn.prototype.showSelection=function(e){var t=this.cm,i=t.display;Er(i.cursorDiv,e.cursors),Er(i.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},zn.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var i=t.getSelection();this.textarea.value=i,t.state.focused&&di(this.textarea),ce&&Se>=9&&(this.hasSelection=i)}else e||(this.prevInput=this.textarea.value="",ce&&Se>=9&&(this.hasSelection=null))}},zn.prototype.getField=function(){return this.textarea},zn.prototype.supportsTouch=function(){return!1},zn.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ht||un()!=this.textarea))try{this.textarea.focus()}catch{}},zn.prototype.blur=function(){this.textarea.blur()},zn.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},zn.prototype.receivedFocus=function(){this.slowPoll()},zn.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},zn.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0;function i(){var n=t.poll();!n&&!e?(e=!0,t.polling.set(60,i)):(t.pollingFast=!1,t.slowPoll())}t.polling.set(20,i)},zn.prototype.poll=function(){var e=this,t=this.cm,i=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||Bt(i)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var o=i.value;if(o==n&&!t.somethingSelected())return!1;if(ce&&Se>=9&&this.hasSelection===o||dr&&/[\uf700-\uf7ff]/.test(o))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var u=o.charCodeAt(0);if(u==8203&&!n&&(n="\u200B"),u==8666)return this.reset(),this.cm.execCommand("undo")}for(var g=0,S=Math.min(n.length,o.length);g<S&&n.charCodeAt(g)==o.charCodeAt(g);)++g;return oo(t,function(){Xt(t,o.slice(g),n.length-g,null,e.composing?"*compose":null),o.length>1e3||o.indexOf(`
21
- `)>-1?i.value=e.prevInput="":e.prevInput=o,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},zn.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},zn.prototype.onKeyPress=function(){ce&&Se>=9&&(this.hasSelection=null),this.fastPoll()},zn.prototype.onContextMenu=function(e){var t=this,i=t.cm,n=i.display,o=t.textarea;t.contextMenuPending&&t.contextMenuPending();var u=Es(i,e),g=n.scroller.scrollTop;if(!u||At)return;var S=i.options.resetSelectionOnContextMenu;S&&i.doc.sel.contains(u)==-1&&Mi(i,ke)(i.doc,ks(u),Gr);var L=o.style.cssText,J=t.wrapper.style.cssText,Oe=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",o.style.cssText=`position: absolute; width: 30px; height: 30px;
22
- top: `+(e.clientY-Oe.top-5)+"px; left: "+(e.clientX-Oe.left-5)+`px;
23
- z-index: 1000; background: `+(ce?"rgba(255, 255, 255, .05)":"transparent")+`;
24
- outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Me;Ne&&(Me=window.scrollY),n.input.focus(),Ne&&window.scrollTo(null,Me),n.input.reset(),i.somethingSelected()||(o.value=t.prevInput=" "),t.contextMenuPending=De,n.selForContextMenu=i.doc.sel,clearTimeout(n.detectingSelectAll);function N(){if(o.selectionStart!=null){var Tt=i.somethingSelected(),$t="\u200B"+(Tt?o.value:"");o.value="\u21DA",o.value=$t,t.prevInput=Tt?"":"\u200B",o.selectionStart=1,o.selectionEnd=$t.length,n.selForContextMenu=i.doc.sel}}function De(){if(t.contextMenuPending==De&&(t.contextMenuPending=!1,t.wrapper.style.cssText=J,o.style.cssText=L,ce&&Se<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=g),o.selectionStart!=null)){(!ce||ce&&Se<9)&&N();var Tt=0,$t=function(){n.selForContextMenu==i.doc.sel&&o.selectionStart==0&&o.selectionEnd>0&&t.prevInput=="\u200B"?Mi(i,on)(i):Tt++<10?n.detectingSelectAll=setTimeout($t,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout($t,200)}}if(ce&&Se>=9&&N(),Wr){Un(e);var lt=function(){kt(window,"mouseup",lt),setTimeout(De,20)};vt(window,"mouseup",lt)}else setTimeout(De,50)},zn.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},zn.prototype.setUneditable=function(){},zn.prototype.needsContentAttribute=!1;function Mr(e,t){if(t=t?hi(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 i=un();t.autofocus=i==e||e.getAttribute("autofocus")!=null&&i==document.body}function n(){e.value=S.getValue()}var o;if(e.form&&(vt(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var u=e.form;o=u.submit;try{var g=u.submit=function(){n(),u.submit=o,u.submit(),u.submit=g}}catch{}}t.finishInit=function(L){L.save=n,L.getTextArea=function(){return e},L.toTextArea=function(){L.toTextArea=isNaN,n(),e.parentNode.removeChild(L.getWrapperElement()),e.style.display="",e.form&&(kt(e.form,"submit",n),!t.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=o))}},e.style.display="none";var S=Tr(function(L){return e.parentNode.insertBefore(L,e.nextSibling)},t);return S}function li(e){e.off=kt,e.on=vt,e.wheelEventPixels=Gl,e.Doc=pi,e.splitLines=Pt,e.countColumn=Ut,e.findColumn=We,e.isWordChar=ze,e.Pass=ln,e.signal=br,e.Line=Ps,e.changeEnd=Ts,e.scrollbarModel=cs,e.Pos=V,e.cmpPos=Be,e.modes=Br,e.mimeModes=zr,e.resolveMode=tn,e.getMode=Dn,e.modeExtensions=nn,e.extendMode=gn,e.copyState=ai,e.startState=He,e.innerMode=ni,e.commands=W,e.keyMap=c,e.keyName=_,e.isModifierKey=F,e.lookupKey=C,e.normalizeKeyMap=y,e.StringStream=$n,e.SharedTextMarker=Pr,e.TextMarker=_t,e.LineWidget=Bn,e.e_preventDefault=xt,e.e_stopPropagation=vn,e.e_stop=Un,e.addClass=Jn,e.contains=Fr,e.rmClass=xn,e.keyNames=w}Jt(Tr),$e(Tr);var Xr="iter insert remove copy getEditor constructor".split(" ");for(var hn in pi.prototype)pi.prototype.hasOwnProperty(hn)&&Ot(Xr,hn)<0&&(Tr.prototype[hn]=function(e){return function(){return e.apply(this.doc,arguments)}}(pi.prototype[hn]));return Tn(pi),Tr.inputStyles={textarea:zn,contenteditable:Ar},Tr.defineMode=function(e){!Tr.defaults.mode&&e!="null"&&(Tr.defaults.mode=e),Yr.apply(this,arguments)},Tr.defineMIME=en,Tr.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Tr.defineMIME("text/plain","null"),Tr.defineExtension=function(e,t){Tr.prototype[e]=t},Tr.defineDocExtension=function(e,t){pi.prototype[e]=t},Tr.fromTextArea=Mr,li(Tr),Tr.version="5.65.5",Tr})})(Wa);var gv=Wa.exports,ug={exports:{}};(function(r,s){(function(a){a(Wa.exports)})(function(a){a.defineMode("javascript",function(l,f){var A=l.indentUnit,K=f.statementIndent,le=f.jsonld,ce=f.json||le,Se=f.trackScope!==!1,Ne=f.typescript,Re=f.wordCharacters||/[\w$\xa1-\uffff]/,qe=function(){function V(Qr){return{type:Qr,style:"keyword"}}var Be=V("keyword a"),er=V("keyword b"),fr=V("keyword c"),mn=V("keyword d"),Yn=V("operator"),ii={type:"atom",style:"atom"};return{if:V("if"),while:Be,with:Be,else:er,do:er,try:er,finally:er,return:mn,break:mn,continue:mn,new:V("new"),delete:fr,void:fr,throw:fr,debugger:V("debugger"),var:V("var"),const:V("var"),let:V("var"),function:V("function"),catch:V("catch"),for:V("for"),switch:V("switch"),case:V("case"),default:V("default"),in:Yn,typeof:Yn,instanceof:Yn,true:ii,false:ii,null:ii,undefined:ii,NaN:ii,Infinity:ii,this:V("this"),class:V("class"),super:V("atom"),yield:fr,export:V("export"),import:V("import"),extends:fr,await:fr}}(),ot=/[+\-*&%=<>!?|~^@]/,At=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function tr(V){for(var Be=!1,er,fr=!1;(er=V.next())!=null;){if(!Be){if(er=="/"&&!fr)return;er=="["?fr=!0:fr&&er=="]"&&(fr=!1)}Be=!Be&&er=="\\"}}var rr,st;function yt(V,Be,er){return rr=V,st=er,Be}function Dt(V,Be){var er=V.next();if(er=='"'||er=="'")return Be.tokenize=Ht(er),Be.tokenize(V,Be);if(er=="."&&V.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return yt("number","number");if(er=="."&&V.match(".."))return yt("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(er))return yt(er);if(er=="="&&V.eat(">"))return yt("=>","operator");if(er=="0"&&V.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return yt("number","number");if(/\d/.test(er))return V.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),yt("number","number");if(er=="/")return V.eat("*")?(Be.tokenize=dr,dr(V,Be)):V.eat("/")?(V.skipToEnd(),yt("comment","comment")):Ji(V,Be,1)?(tr(V),V.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),yt("regexp","string-2")):(V.eat("="),yt("operator","operator",V.current()));if(er=="`")return Be.tokenize=jr,jr(V,Be);if(er=="#"&&V.peek()=="!")return V.skipToEnd(),yt("meta","meta");if(er=="#"&&V.eatWhile(Re))return yt("variable","property");if(er=="<"&&V.match("!--")||er=="-"&&V.match("->")&&!/\S/.test(V.string.slice(0,V.start)))return V.skipToEnd(),yt("comment","comment");if(ot.test(er))return(er!=">"||!Be.lexical||Be.lexical.type!=">")&&(V.eat("=")?(er=="!"||er=="=")&&V.eat("="):/[<>*+\-|&?]/.test(er)&&(V.eat(er),er==">"&&V.eat(er))),er=="?"&&V.eat(".")?yt("."):yt("operator","operator",V.current());if(Re.test(er)){V.eatWhile(Re);var fr=V.current();if(Be.lastType!="."){if(qe.propertyIsEnumerable(fr)){var mn=qe[fr];return yt(mn.type,mn.style,fr)}if(fr=="async"&&V.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return yt("async","keyword",fr)}return yt("variable","variable",fr)}}function Ht(V){return function(Be,er){var fr=!1,mn;if(le&&Be.peek()=="@"&&Be.match(At))return er.tokenize=Dt,yt("jsonld-keyword","meta");for(;(mn=Be.next())!=null&&!(mn==V&&!fr);)fr=!fr&&mn=="\\";return fr||(er.tokenize=Dt),yt("string","string")}}function dr(V,Be){for(var er=!1,fr;fr=V.next();){if(fr=="/"&&er){Be.tokenize=Dt;break}er=fr=="*"}return yt("comment","comment")}function jr(V,Be){for(var er=!1,fr;(fr=V.next())!=null;){if(!er&&(fr=="`"||fr=="$"&&V.eat("{"))){Be.tokenize=Dt;break}er=!er&&fr=="\\"}return yt("quasi","string-2",V.current())}var Ur="([{}])";function _n(V,Be){Be.fatArrowAt&&(Be.fatArrowAt=null);var er=V.string.indexOf("=>",V.start);if(!(er<0)){if(Ne){var fr=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(V.string.slice(V.start,er));fr&&(er=fr.index)}for(var mn=0,Yn=!1,ii=er-1;ii>=0;--ii){var Qr=V.string.charAt(ii),Ci=Ur.indexOf(Qr);if(Ci>=0&&Ci<3){if(!mn){++ii;break}if(--mn==0){Qr=="("&&(Yn=!0);break}}else if(Ci>=3&&Ci<6)++mn;else if(Re.test(Qr))Yn=!0;else if(/["'\/`]/.test(Qr))for(;;--ii){if(ii==0)return;var bn=V.string.charAt(ii-1);if(bn==Qr&&V.string.charAt(ii-2)!="\\"){ii--;break}}else if(Yn&&!mn){++ii;break}}Yn&&!mn&&(Be.fatArrowAt=ii)}}var En={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Wr(V,Be,er,fr,mn,Yn){this.indented=V,this.column=Be,this.type=er,this.prev=mn,this.info=Yn,fr!=null&&(this.align=fr)}function _r(V,Be){if(!Se)return!1;for(var er=V.localVars;er;er=er.next)if(er.name==Be)return!0;for(var fr=V.context;fr;fr=fr.prev)for(var er=fr.vars;er;er=er.next)if(er.name==Be)return!0}function xn(V,Be,er,fr,mn){var Yn=V.cc;for(Mt.state=V,Mt.stream=mn,Mt.marked=null,Mt.cc=Yn,Mt.style=Be,V.lexical.hasOwnProperty("align")||(V.lexical.align=!0);;){var ii=Yn.length?Yn.pop():ce?Lr:ln;if(ii(er,fr)){for(;Yn.length&&Yn[Yn.length-1].lex;)Yn.pop()();return Mt.marked?Mt.marked:er=="variable"&&_r(V,fr)?"variable-2":Be}}}var Mt={state:null,column:null,marked:null,cc:null};function Er(){for(var V=arguments.length-1;V>=0;V--)Mt.cc.push(arguments[V])}function ge(){return Er.apply(null,arguments),!0}function ur(V,Be){for(var er=Be;er;er=er.next)if(er.name==V)return!0;return!1}function zt(V){var Be=Mt.state;if(Mt.marked="def",!!Se){if(Be.context){if(Be.lexical.info=="var"&&Be.context&&Be.context.block){var er=Fr(V,Be.context);if(er!=null){Be.context=er;return}}else if(!ur(V,Be.localVars)){Be.localVars=new fi(V,Be.localVars);return}}f.globalVars&&!ur(V,Be.globalVars)&&(Be.globalVars=new fi(V,Be.globalVars))}}function Fr(V,Be){if(Be)if(Be.block){var er=Fr(V,Be.prev);return er?er==Be.prev?Be:new Jn(er,Be.vars,!0):null}else return ur(V,Be.vars)?Be:new Jn(Be.prev,new fi(V,Be.vars),!1);else return null}function un(V){return V=="public"||V=="private"||V=="protected"||V=="abstract"||V=="readonly"}function Jn(V,Be,er){this.prev=V,this.vars=Be,this.block=er}function fi(V,Be){this.name=V,this.next=Be}var di=new fi("this",new fi("arguments",null));function Wn(){Mt.state.context=new Jn(Mt.state.context,Mt.state.localVars,!1),Mt.state.localVars=di}function hi(){Mt.state.context=new Jn(Mt.state.context,Mt.state.localVars,!0),Mt.state.localVars=null}Wn.lex=hi.lex=!0;function Ut(){Mt.state.localVars=Mt.state.context.vars,Mt.state.context=Mt.state.context.prev}Ut.lex=!0;function sr(V,Be){var er=function(){var fr=Mt.state,mn=fr.indented;if(fr.lexical.type=="stat")mn=fr.lexical.indented;else for(var Yn=fr.lexical;Yn&&Yn.type==")"&&Yn.align;Yn=Yn.prev)mn=Yn.indented;fr.lexical=new Wr(mn,Mt.stream.column(),V,null,fr.lexical,Be)};return er.lex=!0,er}function Ot(){var V=Mt.state;V.lexical.prev&&(V.lexical.type==")"&&(V.indented=V.lexical.indented),V.lexical=V.lexical.prev)}Ot.lex=!0;function Cr(V){function Be(er){return er==V?ge():V==";"||er=="}"||er==")"||er=="]"?Er():ge(Be)}return Be}function ln(V,Be){return V=="var"?ge(sr("vardef",Be),ti,Cr(";"),Ot):V=="keyword a"?ge(sr("form"),We,ln,Ot):V=="keyword b"?ge(sr("form"),ln,Ot):V=="keyword d"?Mt.stream.match(/^\s*$/,!1)?ge():ge(sr("stat"),jt,Cr(";"),Ot):V=="debugger"?ge(Cr(";")):V=="{"?ge(sr("}"),hi,Hr,Ot,Ut):V==";"?ge():V=="if"?(Mt.state.lexical.info=="else"&&Mt.state.cc[Mt.state.cc.length-1]==Ot&&Mt.state.cc.pop()(),ge(sr("form"),We,ln,Ot,Pt)):V=="function"?ge(yr):V=="for"?ge(sr("form"),hi,Bt,ln,Ut,Ot):V=="class"||Ne&&Be=="interface"?(Mt.marked="keyword",ge(sr("form",V=="class"?V:Be),tn,Ot)):V=="variable"?Ne&&Be=="declare"?(Mt.marked="keyword",ge(ln)):Ne&&(Be=="module"||Be=="enum"||Be=="type")&&Mt.stream.match(/^\s*\w/,!1)?(Mt.marked="keyword",Be=="enum"?ge(Nn):Be=="type"?ge(zr,Cr("operator"),kt,Cr(";")):ge(sr("form"),mi,Cr("{"),sr("}"),Hr,Ot,Ot)):Ne&&Be=="namespace"?(Mt.marked="keyword",ge(sr("form"),Lr,ln,Ot)):Ne&&Be=="abstract"?(Mt.marked="keyword",ge(ln)):ge(sr("stat"),Ir):V=="switch"?ge(sr("form"),We,Cr("{"),sr("}","switch"),hi,Hr,Ot,Ot,Ut):V=="case"?ge(Lr,Cr(":")):V=="default"?ge(Cr(":")):V=="catch"?ge(sr("form"),Wn,Gr,ln,Ot,Ut):V=="export"?ge(sr("stat"),ai,Ot):V=="import"?ge(sr("stat"),He,Ot):V=="async"?ge(ln):Be=="@"?ge(Lr,ln):Er(sr("stat"),Lr,Cr(";"),Ot)}function Gr(V){if(V=="(")return ge(Yr,Cr(")"))}function Lr(V,Be){return at(V,Be,!1)}function sn(V,Be){return at(V,Be,!0)}function We(V){return V!="("?Er():ge(sr(")"),jt,Cr(")"),Ot)}function at(V,Be,er){if(Mt.state.fatArrowAt==Mt.stream.start){var fr=er?mr:kr;if(V=="(")return ge(Wn,sr(")"),Pn(Yr,")"),Ot,Cr("=>"),fr,Ut);if(V=="variable")return Er(Wn,mi,Cr("=>"),fr,Ut)}var mn=er?nr:Ft;return En.hasOwnProperty(V)?ge(mn):V=="function"?ge(yr,mn):V=="class"||Ne&&Be=="interface"?(Mt.marked="keyword",ge(sr("form"),en,Ot)):V=="keyword c"||V=="async"?ge(er?sn:Lr):V=="("?ge(sr(")"),jt,Cr(")"),Ot,mn):V=="operator"||V=="spread"?ge(er?sn:Lr):V=="["?ge(sr("]"),Hn,Ot,mn):V=="{"?bi(Gn,"}",null,mn):V=="quasi"?Er(vr,mn):V=="new"?ge(ze(er)):ge()}function jt(V){return V.match(/[;\}\)\],]/)?Er():Er(Lr)}function Ft(V,Be){return V==","?ge(jt):nr(V,Be,!1)}function nr(V,Be,er){var fr=er==!1?Ft:nr,mn=er==!1?Lr:sn;if(V=="=>")return ge(Wn,er?mr:kr,Ut);if(V=="operator")return/\+\+|--/.test(Be)||Ne&&Be=="!"?ge(fr):Ne&&Be=="<"&&Mt.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?ge(sr(">"),Pn(kt,">"),Ot,fr):Be=="?"?ge(Lr,Cr(":"),mn):ge(mn);if(V=="quasi")return Er(vr,fr);if(V!=";"){if(V=="(")return bi(sn,")","call",fr);if(V==".")return ge(yn,fr);if(V=="[")return ge(sr("]"),jt,Cr("]"),Ot,fr);if(Ne&&Be=="as")return Mt.marked="keyword",ge(kt,fr);if(V=="regexp")return Mt.state.lastType=Mt.marked="operator",Mt.stream.backUp(Mt.stream.pos-Mt.stream.start-1),ge(mn)}}function vr(V,Be){return V!="quasi"?Er():Be.slice(Be.length-2)!="${"?ge(vr):ge(jt,wr)}function wr(V){if(V=="}")return Mt.marked="string-2",Mt.state.tokenize=jr,ge(vr)}function kr(V){return _n(Mt.stream,Mt.state),Er(V=="{"?ln:Lr)}function mr(V){return _n(Mt.stream,Mt.state),Er(V=="{"?ln:sn)}function ze(V){return function(Be){return Be=="."?ge(V?ct:It):Be=="variable"&&Ne?ge(On,V?nr:Ft):Er(V?sn:Lr)}}function It(V,Be){if(Be=="target")return Mt.marked="keyword",ge(Ft)}function ct(V,Be){if(Be=="target")return Mt.marked="keyword",ge(nr)}function Ir(V){return V==":"?ge(Ot,ln):Er(Ft,Cr(";"),Ot)}function yn(V){if(V=="variable")return Mt.marked="property",ge()}function Gn(V,Be){if(V=="async")return Mt.marked="property",ge(Gn);if(V=="variable"||Mt.style=="keyword"){if(Mt.marked="property",Be=="get"||Be=="set")return ge(Xn);var er;return Ne&&Mt.state.fatArrowAt==Mt.stream.start&&(er=Mt.stream.match(/^\s*:\s*/,!1))&&(Mt.state.fatArrowAt=Mt.stream.pos+er[0].length),ge(Qn)}else{if(V=="number"||V=="string")return Mt.marked=le?"property":Mt.style+" property",ge(Qn);if(V=="jsonld-keyword")return ge(Qn);if(Ne&&un(Be))return Mt.marked="keyword",ge(Gn);if(V=="[")return ge(Lr,Lt,Cr("]"),Qn);if(V=="spread")return ge(sn,Qn);if(Be=="*")return Mt.marked="keyword",ge(Gn);if(V==":")return Er(Qn)}}function Xn(V){return V!="variable"?Er(Qn):(Mt.marked="property",ge(yr))}function Qn(V){if(V==":")return ge(sn);if(V=="(")return Er(yr)}function Pn(V,Be,er){function fr(mn,Yn){if(er?er.indexOf(mn)>-1:mn==","){var ii=Mt.state.lexical;return ii.info=="call"&&(ii.pos=(ii.pos||0)+1),ge(function(Qr,Ci){return Qr==Be||Ci==Be?Er():Er(V)},fr)}return mn==Be||Yn==Be?ge():er&&er.indexOf(";")>-1?Er(V):ge(Cr(Be))}return function(mn,Yn){return mn==Be||Yn==Be?ge():Er(V,fr)}}function bi(V,Be,er){for(var fr=3;fr<arguments.length;fr++)Mt.cc.push(arguments[fr]);return ge(sr(Be,er),Pn(V,Be),Ot)}function Hr(V){return V=="}"?ge():Er(ln,Hr)}function Lt(V,Be){if(Ne){if(V==":")return ge(kt);if(Be=="?")return ge(Lt)}}function Rt(V,Be){if(Ne&&(V==":"||Be=="in"))return ge(kt)}function vt(V){if(Ne&&V==":")return Mt.stream.match(/^\s*\w+\s+is\b/,!1)?ge(Lr,Zt,kt):ge(kt)}function Zt(V,Be){if(Be=="is")return Mt.marked="keyword",ge()}function kt(V,Be){if(Be=="keyof"||Be=="typeof"||Be=="infer"||Be=="readonly")return Mt.marked="keyword",ge(Be=="typeof"?sn:kt);if(V=="variable"||Be=="void")return Mt.marked="type",ge(vn);if(Be=="|"||Be=="&")return ge(kt);if(V=="string"||V=="number"||V=="atom")return ge(vn);if(V=="[")return ge(sr("]"),Pn(kt,"]",","),Ot,vn);if(V=="{")return ge(sr("}"),dt,Ot,vn);if(V=="(")return ge(Pn(xt,")"),br,vn);if(V=="<")return ge(Pn(kt,">"),kt);if(V=="quasi")return Er(Zr,vn)}function br(V){if(V=="=>")return ge(kt)}function dt(V){return V.match(/[\}\)\]]/)?ge():V==","||V==";"?ge(dt):Er(Kr,dt)}function Kr(V,Be){if(V=="variable"||Mt.style=="keyword")return Mt.marked="property",ge(Kr);if(Be=="?"||V=="number"||V=="string")return ge(Kr);if(V==":")return ge(kt);if(V=="[")return ge(Cr("variable"),Rt,Cr("]"),Kr);if(V=="(")return Er(Br,Kr);if(!V.match(/[;\}\)\],]/))return ge()}function Zr(V,Be){return V!="quasi"?Er():Be.slice(Be.length-2)!="${"?ge(Zr):ge(kt,Tn)}function Tn(V){if(V=="}")return Mt.marked="string-2",Mt.state.tokenize=jr,ge(Zr)}function xt(V,Be){return V=="variable"&&Mt.stream.match(/^\s*[?:]/,!1)||Be=="?"?ge(xt):V==":"?ge(kt):V=="spread"?ge(xt):Er(kt)}function vn(V,Be){if(Be=="<")return ge(sr(">"),Pn(kt,">"),Ot,vn);if(Be=="|"||V=="."||Be=="&")return ge(kt);if(V=="[")return ge(kt,Cr("]"),vn);if(Be=="extends"||Be=="implements")return Mt.marked="keyword",ge(kt);if(Be=="?")return ge(kt,Cr(":"),kt)}function On(V,Be){if(Be=="<")return ge(sr(">"),Pn(kt,">"),Ot,vn)}function Un(){return Er(kt,Ln)}function Ln(V,Be){if(Be=="=")return ge(kt)}function ti(V,Be){return Be=="enum"?(Mt.marked="keyword",ge(Nn)):Er(mi,Lt,pt,wt)}function mi(V,Be){if(Ne&&un(Be))return Mt.marked="keyword",ge(mi);if(V=="variable")return zt(Be),ge();if(V=="spread")return ge(mi);if(V=="[")return bi(mt,"]");if(V=="{")return bi(gr,"}")}function gr(V,Be){return V=="variable"&&!Mt.stream.match(/^\s*:/,!1)?(zt(Be),ge(pt)):(V=="variable"&&(Mt.marked="property"),V=="spread"?ge(mi):V=="}"?Er():V=="["?ge(Lr,Cr("]"),Cr(":"),gr):ge(Cr(":"),mi,pt))}function mt(){return Er(mi,pt)}function pt(V,Be){if(Be=="=")return ge(sn)}function wt(V){if(V==",")return ge(ti)}function Pt(V,Be){if(V=="keyword b"&&Be=="else")return ge(sr("form","else"),ln,Ot)}function Bt(V,Be){if(Be=="await")return ge(Bt);if(V=="(")return ge(sr(")"),Vt,Ot)}function Vt(V){return V=="var"?ge(ti,or):V=="variable"?ge(or):Er(or)}function or(V,Be){return V==")"?ge():V==";"?ge(or):Be=="in"||Be=="of"?(Mt.marked="keyword",ge(Lr,or)):Er(Lr,or)}function yr(V,Be){if(Be=="*")return Mt.marked="keyword",ge(yr);if(V=="variable")return zt(Be),ge(yr);if(V=="(")return ge(Wn,sr(")"),Pn(Yr,")"),Ot,vt,ln,Ut);if(Ne&&Be=="<")return ge(sr(">"),Pn(Un,">"),Ot,yr)}function Br(V,Be){if(Be=="*")return Mt.marked="keyword",ge(Br);if(V=="variable")return zt(Be),ge(Br);if(V=="(")return ge(Wn,sr(")"),Pn(Yr,")"),Ot,vt,Ut);if(Ne&&Be=="<")return ge(sr(">"),Pn(Un,">"),Ot,Br)}function zr(V,Be){if(V=="keyword"||V=="variable")return Mt.marked="type",ge(zr);if(Be=="<")return ge(sr(">"),Pn(Un,">"),Ot)}function Yr(V,Be){return Be=="@"&&ge(Lr,Yr),V=="spread"?ge(Yr):Ne&&un(Be)?(Mt.marked="keyword",ge(Yr)):Ne&&V=="this"?ge(Lt,pt):Er(mi,Lt,pt)}function en(V,Be){return V=="variable"?tn(V,Be):Dn(V,Be)}function tn(V,Be){if(V=="variable")return zt(Be),ge(Dn)}function Dn(V,Be){if(Be=="<")return ge(sr(">"),Pn(Un,">"),Ot,Dn);if(Be=="extends"||Be=="implements"||Ne&&V==",")return Be=="implements"&&(Mt.marked="keyword"),ge(Ne?kt:Lr,Dn);if(V=="{")return ge(sr("}"),nn,Ot)}function nn(V,Be){if(V=="async"||V=="variable"&&(Be=="static"||Be=="get"||Be=="set"||Ne&&un(Be))&&Mt.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return Mt.marked="keyword",ge(nn);if(V=="variable"||Mt.style=="keyword")return Mt.marked="property",ge(gn,nn);if(V=="number"||V=="string")return ge(gn,nn);if(V=="[")return ge(Lr,Lt,Cr("]"),gn,nn);if(Be=="*")return Mt.marked="keyword",ge(nn);if(Ne&&V=="(")return Er(Br,nn);if(V==";"||V==",")return ge(nn);if(V=="}")return ge();if(Be=="@")return ge(Lr,nn)}function gn(V,Be){if(Be=="!"||Be=="?")return ge(gn);if(V==":")return ge(kt,pt);if(Be=="=")return ge(sn);var er=Mt.state.lexical.prev,fr=er&&er.info=="interface";return Er(fr?Br:yr)}function ai(V,Be){return Be=="*"?(Mt.marked="keyword",ge(Ni,Cr(";"))):Be=="default"?(Mt.marked="keyword",ge(Lr,Cr(";"))):V=="{"?ge(Pn(ni,"}"),Ni,Cr(";")):Er(ln)}function ni(V,Be){if(Be=="as")return Mt.marked="keyword",ge(Cr("variable"));if(V=="variable")return Er(sn,ni)}function He(V){return V=="string"?ge():V=="("?Er(Lr):V=="."?Er(Ft):Er($n,Jr,Ni)}function $n(V,Be){return V=="{"?bi($n,"}"):(V=="variable"&&zt(Be),Be=="*"&&(Mt.marked="keyword"),ge(xi))}function Jr(V){if(V==",")return ge($n,Jr)}function xi(V,Be){if(Be=="as")return Mt.marked="keyword",ge($n)}function Ni(V,Be){if(Be=="from")return Mt.marked="keyword",ge(Lr)}function Hn(V){return V=="]"?ge():Er(Pn(sn,"]"))}function Nn(){return Er(sr("form"),mi,Cr("{"),sr("}"),Pn(Je,"}"),Ot,Ot)}function Je(){return Er(mi,pt)}function xo(V,Be){return V.lastType=="operator"||V.lastType==","||ot.test(Be.charAt(0))||/[,.]/.test(Be.charAt(0))}function Ji(V,Be,er){return Be.tokenize==Dt&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Be.lastType)||Be.lastType=="quasi"&&/\{\s*$/.test(V.string.slice(0,V.pos-(er||0)))}return{startState:function(V){var Be={tokenize:Dt,lastType:"sof",cc:[],lexical:new Wr((V||0)-A,0,"block",!1),localVars:f.localVars,context:f.localVars&&new Jn(null,null,!1),indented:V||0};return f.globalVars&&typeof f.globalVars=="object"&&(Be.globalVars=f.globalVars),Be},token:function(V,Be){if(V.sol()&&(Be.lexical.hasOwnProperty("align")||(Be.lexical.align=!1),Be.indented=V.indentation(),_n(V,Be)),Be.tokenize!=dr&&V.eatSpace())return null;var er=Be.tokenize(V,Be);return rr=="comment"?er:(Be.lastType=rr=="operator"&&(st=="++"||st=="--")?"incdec":rr,xn(Be,er,rr,st,V))},indent:function(V,Be){if(V.tokenize==dr||V.tokenize==jr)return a.Pass;if(V.tokenize!=Dt)return 0;var er=Be&&Be.charAt(0),fr=V.lexical,mn;if(!/^\s*else\b/.test(Be))for(var Yn=V.cc.length-1;Yn>=0;--Yn){var ii=V.cc[Yn];if(ii==Ot)fr=fr.prev;else if(ii!=Pt&&ii!=Ut)break}for(;(fr.type=="stat"||fr.type=="form")&&(er=="}"||(mn=V.cc[V.cc.length-1])&&(mn==Ft||mn==nr)&&!/^[,\.=+\-*:?[\(]/.test(Be));)fr=fr.prev;K&&fr.type==")"&&fr.prev.type=="stat"&&(fr=fr.prev);var Qr=fr.type,Ci=er==Qr;return Qr=="vardef"?fr.indented+(V.lastType=="operator"||V.lastType==","?fr.info.length+1:0):Qr=="form"&&er=="{"?fr.indented:Qr=="form"?fr.indented+A:Qr=="stat"?fr.indented+(xo(V,Be)?K||A:0):fr.info=="switch"&&!Ci&&f.doubleIndentSwitch!=!1?fr.indented+(/^(?:case|default)\b/.test(Be)?A:2*A):fr.align?fr.column+(Ci?0:1):fr.indented+(Ci?0:A)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:ce?null:"/*",blockCommentEnd:ce?null:"*/",blockCommentContinue:ce?null:" * ",lineComment:ce?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:ce?"json":"javascript",jsonldMode:le,jsonMode:ce,expressionAllowed:Ji,skipExpression:function(V){xn(V,"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 mv={exports:{}};(function(r,s){(function(a){a(Wa.exports)})(function(a){a.defineMode("css",function(Wr,_r){var xn=_r.inline;_r.propertyKeywords||(_r=a.resolveMode("text/css"));var Mt=Wr.indentUnit,Er=_r.tokenHooks,ge=_r.documentTypes||{},ur=_r.mediaTypes||{},zt=_r.mediaFeatures||{},Fr=_r.mediaValueKeywords||{},un=_r.propertyKeywords||{},Jn=_r.nonStandardPropertyKeywords||{},fi=_r.fontProperties||{},di=_r.counterDescriptors||{},Wn=_r.colorKeywords||{},hi=_r.valueKeywords||{},Ut=_r.allowNested,sr=_r.lineComment,Ot=_r.supportsAtComponent===!0,Cr=Wr.highlightNonStandardPropertyKeywords!==!1,ln,Gr;function Lr(ze,It){return ln=It,ze}function sn(ze,It){var ct=ze.next();if(Er[ct]){var Ir=Er[ct](ze,It);if(Ir!==!1)return Ir}if(ct=="@")return ze.eatWhile(/[\w\\\-]/),Lr("def",ze.current());if(ct=="="||(ct=="~"||ct=="|")&&ze.eat("="))return Lr(null,"compare");if(ct=='"'||ct=="'")return It.tokenize=We(ct),It.tokenize(ze,It);if(ct=="#")return ze.eatWhile(/[\w\\\-]/),Lr("atom","hash");if(ct=="!")return ze.match(/^\s*\w*/),Lr("keyword","important");if(/\d/.test(ct)||ct=="."&&ze.eat(/\d/))return ze.eatWhile(/[\w.%]/),Lr("number","unit");if(ct==="-"){if(/[\d.]/.test(ze.peek()))return ze.eatWhile(/[\w.%]/),Lr("number","unit");if(ze.match(/^-[\w\\\-]*/))return ze.eatWhile(/[\w\\\-]/),ze.match(/^\s*:/,!1)?Lr("variable-2","variable-definition"):Lr("variable-2","variable");if(ze.match(/^\w+-/))return Lr("meta","meta")}else return/[,+>*\/]/.test(ct)?Lr(null,"select-op"):ct=="."&&ze.match(/^-?[_a-z][_a-z0-9-]*/i)?Lr("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(ct)?Lr(null,ct):ze.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(ze.current())&&(It.tokenize=at),Lr("variable callee","variable")):/[\w\\\-]/.test(ct)?(ze.eatWhile(/[\w\\\-]/),Lr("property","word")):Lr(null,null)}function We(ze){return function(It,ct){for(var Ir=!1,yn;(yn=It.next())!=null;){if(yn==ze&&!Ir){ze==")"&&It.backUp(1);break}Ir=!Ir&&yn=="\\"}return(yn==ze||!Ir&&ze!=")")&&(ct.tokenize=null),Lr("string","string")}}function at(ze,It){return ze.next(),ze.match(/^\s*[\"\')]/,!1)?It.tokenize=null:It.tokenize=We(")"),Lr(null,"(")}function jt(ze,It,ct){this.type=ze,this.indent=It,this.prev=ct}function Ft(ze,It,ct,Ir){return ze.context=new jt(ct,It.indentation()+(Ir===!1?0:Mt),ze.context),ct}function nr(ze){return ze.context.prev&&(ze.context=ze.context.prev),ze.context.type}function vr(ze,It,ct){return mr[ct.context.type](ze,It,ct)}function wr(ze,It,ct,Ir){for(var yn=Ir||1;yn>0;yn--)ct.context=ct.context.prev;return vr(ze,It,ct)}function kr(ze){var It=ze.current().toLowerCase();hi.hasOwnProperty(It)?Gr="atom":Wn.hasOwnProperty(It)?Gr="keyword":Gr="variable"}var mr={};return mr.top=function(ze,It,ct){if(ze=="{")return Ft(ct,It,"block");if(ze=="}"&&ct.context.prev)return nr(ct);if(Ot&&/@component/i.test(ze))return Ft(ct,It,"atComponentBlock");if(/^@(-moz-)?document$/i.test(ze))return Ft(ct,It,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(ze))return Ft(ct,It,"atBlock");if(/^@(font-face|counter-style)/i.test(ze))return ct.stateArg=ze,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(ze))return"keyframes";if(ze&&ze.charAt(0)=="@")return Ft(ct,It,"at");if(ze=="hash")Gr="builtin";else if(ze=="word")Gr="tag";else{if(ze=="variable-definition")return"maybeprop";if(ze=="interpolation")return Ft(ct,It,"interpolation");if(ze==":")return"pseudo";if(Ut&&ze=="(")return Ft(ct,It,"parens")}return ct.context.type},mr.block=function(ze,It,ct){if(ze=="word"){var Ir=It.current().toLowerCase();return un.hasOwnProperty(Ir)?(Gr="property","maybeprop"):Jn.hasOwnProperty(Ir)?(Gr=Cr?"string-2":"property","maybeprop"):Ut?(Gr=It.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(Gr+=" error","maybeprop")}else return ze=="meta"?"block":!Ut&&(ze=="hash"||ze=="qualifier")?(Gr="error","block"):mr.top(ze,It,ct)},mr.maybeprop=function(ze,It,ct){return ze==":"?Ft(ct,It,"prop"):vr(ze,It,ct)},mr.prop=function(ze,It,ct){if(ze==";")return nr(ct);if(ze=="{"&&Ut)return Ft(ct,It,"propBlock");if(ze=="}"||ze=="{")return wr(ze,It,ct);if(ze=="(")return Ft(ct,It,"parens");if(ze=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(It.current()))Gr+=" error";else if(ze=="word")kr(It);else if(ze=="interpolation")return Ft(ct,It,"interpolation");return"prop"},mr.propBlock=function(ze,It,ct){return ze=="}"?nr(ct):ze=="word"?(Gr="property","maybeprop"):ct.context.type},mr.parens=function(ze,It,ct){return ze=="{"||ze=="}"?wr(ze,It,ct):ze==")"?nr(ct):ze=="("?Ft(ct,It,"parens"):ze=="interpolation"?Ft(ct,It,"interpolation"):(ze=="word"&&kr(It),"parens")},mr.pseudo=function(ze,It,ct){return ze=="meta"?"pseudo":ze=="word"?(Gr="variable-3",ct.context.type):vr(ze,It,ct)},mr.documentTypes=function(ze,It,ct){return ze=="word"&&ge.hasOwnProperty(It.current())?(Gr="tag",ct.context.type):mr.atBlock(ze,It,ct)},mr.atBlock=function(ze,It,ct){if(ze=="(")return Ft(ct,It,"atBlock_parens");if(ze=="}"||ze==";")return wr(ze,It,ct);if(ze=="{")return nr(ct)&&Ft(ct,It,Ut?"block":"top");if(ze=="interpolation")return Ft(ct,It,"interpolation");if(ze=="word"){var Ir=It.current().toLowerCase();Ir=="only"||Ir=="not"||Ir=="and"||Ir=="or"?Gr="keyword":ur.hasOwnProperty(Ir)?Gr="attribute":zt.hasOwnProperty(Ir)?Gr="property":Fr.hasOwnProperty(Ir)?Gr="keyword":un.hasOwnProperty(Ir)?Gr="property":Jn.hasOwnProperty(Ir)?Gr=Cr?"string-2":"property":hi.hasOwnProperty(Ir)?Gr="atom":Wn.hasOwnProperty(Ir)?Gr="keyword":Gr="error"}return ct.context.type},mr.atComponentBlock=function(ze,It,ct){return ze=="}"?wr(ze,It,ct):ze=="{"?nr(ct)&&Ft(ct,It,Ut?"block":"top",!1):(ze=="word"&&(Gr="error"),ct.context.type)},mr.atBlock_parens=function(ze,It,ct){return ze==")"?nr(ct):ze=="{"||ze=="}"?wr(ze,It,ct,2):mr.atBlock(ze,It,ct)},mr.restricted_atBlock_before=function(ze,It,ct){return ze=="{"?Ft(ct,It,"restricted_atBlock"):ze=="word"&&ct.stateArg=="@counter-style"?(Gr="variable","restricted_atBlock_before"):vr(ze,It,ct)},mr.restricted_atBlock=function(ze,It,ct){return ze=="}"?(ct.stateArg=null,nr(ct)):ze=="word"?(ct.stateArg=="@font-face"&&!fi.hasOwnProperty(It.current().toLowerCase())||ct.stateArg=="@counter-style"&&!di.hasOwnProperty(It.current().toLowerCase())?Gr="error":Gr="property","maybeprop"):"restricted_atBlock"},mr.keyframes=function(ze,It,ct){return ze=="word"?(Gr="variable","keyframes"):ze=="{"?Ft(ct,It,"top"):vr(ze,It,ct)},mr.at=function(ze,It,ct){return ze==";"?nr(ct):ze=="{"||ze=="}"?wr(ze,It,ct):(ze=="word"?Gr="tag":ze=="hash"&&(Gr="builtin"),"at")},mr.interpolation=function(ze,It,ct){return ze=="}"?nr(ct):ze=="{"||ze==";"?wr(ze,It,ct):(ze=="word"?Gr="variable":ze!="variable"&&ze!="("&&ze!=")"&&(Gr="error"),"interpolation")},{startState:function(ze){return{tokenize:null,state:xn?"block":"top",stateArg:null,context:new jt(xn?"block":"top",ze||0,null)}},token:function(ze,It){if(!It.tokenize&&ze.eatSpace())return null;var ct=(It.tokenize||sn)(ze,It);return ct&&typeof ct=="object"&&(ln=ct[1],ct=ct[0]),Gr=ct,ln!="comment"&&(It.state=mr[It.state](ln,ze,It)),Gr},indent:function(ze,It){var ct=ze.context,Ir=It&&It.charAt(0),yn=ct.indent;return ct.type=="prop"&&(Ir=="}"||Ir==")")&&(ct=ct.prev),ct.prev&&(Ir=="}"&&(ct.type=="block"||ct.type=="top"||ct.type=="interpolation"||ct.type=="restricted_atBlock")?(ct=ct.prev,yn=ct.indent):(Ir==")"&&(ct.type=="parens"||ct.type=="atBlock_parens")||Ir=="{"&&(ct.type=="at"||ct.type=="atBlock"))&&(yn=Math.max(0,ct.indent-Mt))),yn},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:sr,fold:"brace"}});function l(Wr){for(var _r={},xn=0;xn<Wr.length;++xn)_r[Wr[xn].toLowerCase()]=!0;return _r}var f=["domain","regexp","url","url-prefix"],A=l(f),K=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],le=l(K),ce=["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"],Se=l(ce),Ne=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],Re=l(Ne),qe=["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"],ot=l(qe),At=["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"],tr=l(At),rr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],st=l(rr),yt=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],Dt=l(yt),Ht=["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"],dr=l(Ht),jr=["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"],Ur=l(jr),_n=f.concat(K).concat(ce).concat(Ne).concat(qe).concat(At).concat(Ht).concat(jr);a.registerHelper("hintWords","css",_n);function En(Wr,_r){for(var xn=!1,Mt;(Mt=Wr.next())!=null;){if(xn&&Mt=="/"){_r.tokenize=null;break}xn=Mt=="*"}return["comment","comment"]}a.defineMIME("text/css",{documentTypes:A,mediaTypes:le,mediaFeatures:Se,mediaValueKeywords:Re,propertyKeywords:ot,nonStandardPropertyKeywords:tr,fontProperties:st,counterDescriptors:Dt,colorKeywords:dr,valueKeywords:Ur,tokenHooks:{"/":function(Wr,_r){return Wr.eat("*")?(_r.tokenize=En,En(Wr,_r)):!1}},name:"css"}),a.defineMIME("text/x-scss",{mediaTypes:le,mediaFeatures:Se,mediaValueKeywords:Re,propertyKeywords:ot,nonStandardPropertyKeywords:tr,colorKeywords:dr,valueKeywords:Ur,fontProperties:st,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Wr,_r){return Wr.eat("/")?(Wr.skipToEnd(),["comment","comment"]):Wr.eat("*")?(_r.tokenize=En,En(Wr,_r)):["operator","operator"]},":":function(Wr){return Wr.match(/^\s*\{/,!1)?[null,null]:!1},$:function(Wr){return Wr.match(/^[\w-]+/),Wr.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(Wr){return Wr.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),a.defineMIME("text/x-less",{mediaTypes:le,mediaFeatures:Se,mediaValueKeywords:Re,propertyKeywords:ot,nonStandardPropertyKeywords:tr,colorKeywords:dr,valueKeywords:Ur,fontProperties:st,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Wr,_r){return Wr.eat("/")?(Wr.skipToEnd(),["comment","comment"]):Wr.eat("*")?(_r.tokenize=En,En(Wr,_r)):["operator","operator"]},"@":function(Wr){return Wr.eat("{")?[null,"interpolation"]:Wr.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(Wr.eatWhile(/[\w\\\-]/),Wr.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),a.defineMIME("text/x-gss",{documentTypes:A,mediaTypes:le,mediaFeatures:Se,propertyKeywords:ot,nonStandardPropertyKeywords:tr,fontProperties:st,counterDescriptors:Dt,colorKeywords:dr,valueKeywords:Ur,supportsAtComponent:!0,tokenHooks:{"/":function(Wr,_r){return Wr.eat("*")?(_r.tokenize=En,En(Wr,_r)):!1}},name:"css",helperType:"gss"})})})();var lg={exports:{}};(function(r,s){(function(a){a(Wa.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(A,K){var le=A.indentUnit,ce={},Se=K.htmlMode?l:f;for(var Ne in Se)ce[Ne]=Se[Ne];for(var Ne in K)ce[Ne]=K[Ne];var Re,qe;function ot(ge,ur){function zt(Jn){return ur.tokenize=Jn,Jn(ge,ur)}var Fr=ge.next();if(Fr=="<")return ge.eat("!")?ge.eat("[")?ge.match("CDATA[")?zt(rr("atom","]]>")):null:ge.match("--")?zt(rr("comment","-->")):ge.match("DOCTYPE",!0,!0)?(ge.eatWhile(/[\w\._\-]/),zt(st(1))):null:ge.eat("?")?(ge.eatWhile(/[\w\._\-]/),ur.tokenize=rr("meta","?>"),"meta"):(Re=ge.eat("/")?"closeTag":"openTag",ur.tokenize=At,"tag bracket");if(Fr=="&"){var un;return ge.eat("#")?ge.eat("x")?un=ge.eatWhile(/[a-fA-F\d]/)&&ge.eat(";"):un=ge.eatWhile(/[\d]/)&&ge.eat(";"):un=ge.eatWhile(/[\w\.\-:]/)&&ge.eat(";"),un?"atom":"error"}else return ge.eatWhile(/[^&<]/),null}ot.isInText=!0;function At(ge,ur){var zt=ge.next();if(zt==">"||zt=="/"&&ge.eat(">"))return ur.tokenize=ot,Re=zt==">"?"endTag":"selfcloseTag","tag bracket";if(zt=="=")return Re="equals",null;if(zt=="<"){ur.tokenize=ot,ur.state=jr,ur.tagName=ur.tagStart=null;var Fr=ur.tokenize(ge,ur);return Fr?Fr+" tag error":"tag error"}else return/[\'\"]/.test(zt)?(ur.tokenize=tr(zt),ur.stringStartCol=ge.column(),ur.tokenize(ge,ur)):(ge.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function tr(ge){var ur=function(zt,Fr){for(;!zt.eol();)if(zt.next()==ge){Fr.tokenize=At;break}return"string"};return ur.isInAttribute=!0,ur}function rr(ge,ur){return function(zt,Fr){for(;!zt.eol();){if(zt.match(ur)){Fr.tokenize=ot;break}zt.next()}return ge}}function st(ge){return function(ur,zt){for(var Fr;(Fr=ur.next())!=null;){if(Fr=="<")return zt.tokenize=st(ge+1),zt.tokenize(ur,zt);if(Fr==">")if(ge==1){zt.tokenize=ot;break}else return zt.tokenize=st(ge-1),zt.tokenize(ur,zt)}return"meta"}}function yt(ge){return ge&&ge.toLowerCase()}function Dt(ge,ur,zt){this.prev=ge.context,this.tagName=ur||"",this.indent=ge.indented,this.startOfLine=zt,(ce.doNotIndent.hasOwnProperty(ur)||ge.context&&ge.context.noIndent)&&(this.noIndent=!0)}function Ht(ge){ge.context&&(ge.context=ge.context.prev)}function dr(ge,ur){for(var zt;;){if(!ge.context||(zt=ge.context.tagName,!ce.contextGrabbers.hasOwnProperty(yt(zt))||!ce.contextGrabbers[yt(zt)].hasOwnProperty(yt(ur))))return;Ht(ge)}}function jr(ge,ur,zt){return ge=="openTag"?(zt.tagStart=ur.column(),Ur):ge=="closeTag"?_n:jr}function Ur(ge,ur,zt){return ge=="word"?(zt.tagName=ur.current(),qe="tag",_r):ce.allowMissingTagName&&ge=="endTag"?(qe="tag bracket",_r(ge,ur,zt)):(qe="error",Ur)}function _n(ge,ur,zt){if(ge=="word"){var Fr=ur.current();return zt.context&&zt.context.tagName!=Fr&&ce.implicitlyClosed.hasOwnProperty(yt(zt.context.tagName))&&Ht(zt),zt.context&&zt.context.tagName==Fr||ce.matchClosing===!1?(qe="tag",En):(qe="tag error",Wr)}else return ce.allowMissingTagName&&ge=="endTag"?(qe="tag bracket",En(ge,ur,zt)):(qe="error",Wr)}function En(ge,ur,zt){return ge!="endTag"?(qe="error",En):(Ht(zt),jr)}function Wr(ge,ur,zt){return qe="error",En(ge,ur,zt)}function _r(ge,ur,zt){if(ge=="word")return qe="attribute",xn;if(ge=="endTag"||ge=="selfcloseTag"){var Fr=zt.tagName,un=zt.tagStart;return zt.tagName=zt.tagStart=null,ge=="selfcloseTag"||ce.autoSelfClosers.hasOwnProperty(yt(Fr))?dr(zt,Fr):(dr(zt,Fr),zt.context=new Dt(zt,Fr,un==zt.indented)),jr}return qe="error",_r}function xn(ge,ur,zt){return ge=="equals"?Mt:(ce.allowMissing||(qe="error"),_r(ge,ur,zt))}function Mt(ge,ur,zt){return ge=="string"?Er:ge=="word"&&ce.allowUnquoted?(qe="string",_r):(qe="error",_r(ge,ur,zt))}function Er(ge,ur,zt){return ge=="string"?Er:_r(ge,ur,zt)}return{startState:function(ge){var ur={tokenize:ot,state:jr,indented:ge||0,tagName:null,tagStart:null,context:null};return ge!=null&&(ur.baseIndent=ge),ur},token:function(ge,ur){if(!ur.tagName&&ge.sol()&&(ur.indented=ge.indentation()),ge.eatSpace())return null;Re=null;var zt=ur.tokenize(ge,ur);return(zt||Re)&&zt!="comment"&&(qe=null,ur.state=ur.state(Re||zt,ge,ur),qe&&(zt=qe=="error"?zt+" error":qe)),zt},indent:function(ge,ur,zt){var Fr=ge.context;if(ge.tokenize.isInAttribute)return ge.tagStart==ge.indented?ge.stringStartCol+1:ge.indented+le;if(Fr&&Fr.noIndent)return a.Pass;if(ge.tokenize!=At&&ge.tokenize!=ot)return zt?zt.match(/^(\s*)/)[0].length:0;if(ge.tagName)return ce.multilineTagIndentPastTag!==!1?ge.tagStart+ge.tagName.length+2:ge.tagStart+le*(ce.multilineTagIndentFactor||1);if(ce.alignCDATA&&/<!\[CDATA\[/.test(ur))return 0;var un=ur&&/^<(\/)?([\w_:\.-]*)/.exec(ur);if(un&&un[1])for(;Fr;)if(Fr.tagName==un[2]){Fr=Fr.prev;break}else if(ce.implicitlyClosed.hasOwnProperty(yt(Fr.tagName)))Fr=Fr.prev;else break;else if(un)for(;Fr;){var Jn=ce.contextGrabbers[yt(Fr.tagName)];if(Jn&&Jn.hasOwnProperty(yt(un[2])))Fr=Fr.prev;else break}for(;Fr&&Fr.prev&&!Fr.startOfLine;)Fr=Fr.prev;return Fr?Fr.indent+le:ge.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ce.htmlMode?"html":"xml",helperType:ce.htmlMode?"html":"xml",skipAttribute:function(ge){ge.state==Mt&&(ge.state=_r)},xmlCurrentTag:function(ge){return ge.tagName?{name:ge.tagName,close:ge.type=="closeTag"}:null},xmlCurrentContext:function(ge){for(var ur=[],zt=ge.context;zt;zt=zt.prev)ur.push(zt.tagName);return ur.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(Wa.exports,lg.exports,ug.exports,mv.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(Re,qe,ot){var At=Re.current(),tr=At.search(qe);return tr>-1?Re.backUp(At.length-tr):At.match(/<\/?$/)&&(Re.backUp(At.length),Re.match(qe,!1)||Re.match(At)),ot}var A={};function K(Re){var qe=A[Re];return qe||(A[Re]=new RegExp("\\s+"+Re+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function le(Re,qe){var ot=Re.match(K(qe));return ot?/^\s*(.*?)\s*$/.exec(ot[2])[1]:""}function ce(Re,qe){return new RegExp((qe?"^":"")+"</\\s*"+Re+"\\s*>","i")}function Se(Re,qe){for(var ot in Re)for(var At=qe[ot]||(qe[ot]=[]),tr=Re[ot],rr=tr.length-1;rr>=0;rr--)At.unshift(tr[rr])}function Ne(Re,qe){for(var ot=0;ot<Re.length;ot++){var At=Re[ot];if(!At[0]||At[1].test(le(qe,At[0])))return At[2]}}a.defineMode("htmlmixed",function(Re,qe){var ot=a.getMode(Re,{name:"xml",htmlMode:!0,multilineTagIndentFactor:qe.multilineTagIndentFactor,multilineTagIndentPastTag:qe.multilineTagIndentPastTag,allowMissingTagName:qe.allowMissingTagName}),At={},tr=qe&&qe.tags,rr=qe&&qe.scriptTypes;if(Se(l,At),tr&&Se(tr,At),rr)for(var st=rr.length-1;st>=0;st--)At.script.unshift(["type",rr[st].matches,rr[st].mode]);function yt(Dt,Ht){var dr=ot.token(Dt,Ht.htmlState),jr=/\btag\b/.test(dr),Ur;if(jr&&!/[<>\s\/]/.test(Dt.current())&&(Ur=Ht.htmlState.tagName&&Ht.htmlState.tagName.toLowerCase())&&At.hasOwnProperty(Ur))Ht.inTag=Ur+" ";else if(Ht.inTag&&jr&&/>$/.test(Dt.current())){var _n=/^([\S]+) (.*)/.exec(Ht.inTag);Ht.inTag=null;var En=Dt.current()==">"&&Ne(At[_n[1]],_n[2]),Wr=a.getMode(Re,En),_r=ce(_n[1],!0),xn=ce(_n[1],!1);Ht.token=function(Mt,Er){return Mt.match(_r,!1)?(Er.token=yt,Er.localState=Er.localMode=null,null):f(Mt,xn,Er.localMode.token(Mt,Er.localState))},Ht.localMode=Wr,Ht.localState=a.startState(Wr,ot.indent(Ht.htmlState,"",""))}else Ht.inTag&&(Ht.inTag+=Dt.current(),Dt.eol()&&(Ht.inTag+=" "));return dr}return{startState:function(){var Dt=a.startState(ot);return{token:yt,inTag:null,localMode:null,localState:null,htmlState:Dt}},copyState:function(Dt){var Ht;return Dt.localState&&(Ht=a.copyState(Dt.localMode,Dt.localState)),{token:Dt.token,inTag:Dt.inTag,localMode:Dt.localMode,localState:Ht,htmlState:a.copyState(ot,Dt.htmlState)}},token:function(Dt,Ht){return Ht.token(Dt,Ht)},indent:function(Dt,Ht,dr){return!Dt.localMode||/^\s*<\//.test(Ht)?ot.indent(Dt.htmlState,Ht,dr):Dt.localMode.indent?Dt.localMode.indent(Dt.localState,Ht,dr):a.Pass},innerMode:function(Dt){return{state:Dt.localState||Dt.htmlState,mode:Dt.localMode||ot}}}},"xml","javascript","css"),a.defineMIME("text/html","htmlmixed")})})();(function(r,s){(function(a){a(Wa.exports,lg.exports,ug.exports)})(function(a){function l(A,K,le,ce){this.state=A,this.mode=K,this.depth=le,this.prev=ce}function f(A){return new l(a.copyState(A.mode,A.state),A.mode,A.depth,A.prev&&f(A.prev))}a.defineMode("jsx",function(A,K){var le=a.getMode(A,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),ce=a.getMode(A,K&&K.base||"javascript");function Se(ot){var At=ot.tagName;ot.tagName=null;var tr=le.indent(ot,"","");return ot.tagName=At,tr}function Ne(ot,At){return At.context.mode==le?Re(ot,At,At.context):qe(ot,At,At.context)}function Re(ot,At,tr){if(tr.depth==2)return ot.match(/^.*?\*\//)?tr.depth=1:ot.skipToEnd(),"comment";if(ot.peek()=="{"){le.skipAttribute(tr.state);var rr=Se(tr.state),st=tr.state.context;if(st&&ot.match(/^[^>]*>\s*$/,!1)){for(;st.prev&&!st.startOfLine;)st=st.prev;st.startOfLine?rr-=A.indentUnit:tr.prev.state.lexical&&(rr=tr.prev.state.lexical.indented)}else tr.depth==1&&(rr+=A.indentUnit);return At.context=new l(a.startState(ce,rr),ce,0,At.context),null}if(tr.depth==1){if(ot.peek()=="<")return le.skipAttribute(tr.state),At.context=new l(a.startState(le,Se(tr.state)),le,0,At.context),null;if(ot.match("//"))return ot.skipToEnd(),"comment";if(ot.match("/*"))return tr.depth=2,Ne(ot,At)}var yt=le.token(ot,tr.state),Dt=ot.current(),Ht;return/\btag\b/.test(yt)?/>$/.test(Dt)?tr.state.context?tr.depth=0:At.context=At.context.prev:/^</.test(Dt)&&(tr.depth=1):!yt&&(Ht=Dt.indexOf("{"))>-1&&ot.backUp(Dt.length-Ht),yt}function qe(ot,At,tr){if(ot.peek()=="<"&&ce.expressionAllowed(ot,tr.state))return At.context=new l(a.startState(le,ce.indent(tr.state,"","")),le,0,At.context),ce.skipExpression(tr.state),null;var rr=ce.token(ot,tr.state);if(!rr&&tr.depth!=null){var st=ot.current();st=="{"?tr.depth++:st=="}"&&--tr.depth==0&&(At.context=At.context.prev)}return rr}return{startState:function(){return{context:new l(a.startState(ce),ce)}},copyState:function(ot){return{context:f(ot.context)}},token:Ne,indent:function(ot,At,tr){return ot.context.mode.indent(ot.context.state,At,tr)},innerMode:function(ot){return ot.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(Wa.exports)})(function(a){a.defineOption("placeholder","",function(Se,Ne,Re){var qe=Re&&Re!=a.Init;if(Ne&&!qe)Se.on("blur",K),Se.on("change",le),Se.on("swapDoc",le),a.on(Se.getInputField(),"compositionupdate",Se.state.placeholderCompose=function(){A(Se)}),le(Se);else if(!Ne&&qe){Se.off("blur",K),Se.off("change",le),Se.off("swapDoc",le),a.off(Se.getInputField(),"compositionupdate",Se.state.placeholderCompose),l(Se);var ot=Se.getWrapperElement();ot.className=ot.className.replace(" CodeMirror-empty","")}Ne&&!Se.hasFocus()&&K(Se)});function l(Se){Se.state.placeholder&&(Se.state.placeholder.parentNode.removeChild(Se.state.placeholder),Se.state.placeholder=null)}function f(Se){l(Se);var Ne=Se.state.placeholder=document.createElement("pre");Ne.style.cssText="height: 0; overflow: visible",Ne.style.direction=Se.getOption("direction"),Ne.className="CodeMirror-placeholder CodeMirror-line-like";var Re=Se.getOption("placeholder");typeof Re=="string"&&(Re=document.createTextNode(Re)),Ne.appendChild(Re),Se.display.lineSpace.insertBefore(Ne,Se.display.lineSpace.firstChild)}function A(Se){setTimeout(function(){var Ne=!1;if(Se.lineCount()==1){var Re=Se.getInputField();Ne=Re.nodeName=="TEXTAREA"?!Se.getLine(0).length:!/[^\u200b]/.test(Re.querySelector(".CodeMirror-line").textContent)}Ne?f(Se):l(Se)},20)}function K(Se){ce(Se)&&f(Se)}function le(Se){var Ne=Se.getWrapperElement(),Re=ce(Se);Ne.className=Ne.className.replace(" CodeMirror-empty","")+(Re?" CodeMirror-empty":""),Re?f(Se):l(Se)}function ce(Se){return Se.lineCount()===1&&Se.getLine(0)===""}})})();(function(r,s){(function(a){a(Wa.exports)})(function(a){var l="CodeMirror-hint",f="CodeMirror-hint-active";a.showHint=function(st,yt,Dt){if(!yt)return st.showHint(Dt);Dt&&Dt.async&&(yt.async=!0);var Ht={hint:yt};if(Dt)for(var dr in Dt)Ht[dr]=Dt[dr];return st.showHint(Ht)},a.defineExtension("showHint",function(st){st=ce(this,this.getCursor("start"),st);var yt=this.listSelections();if(!(yt.length>1)){if(this.somethingSelected()){if(!st.hint.supportsSelection)return;for(var Dt=0;Dt<yt.length;Dt++)if(yt[Dt].head.line!=yt[Dt].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Ht=this.state.completionActive=new A(this,st);!Ht.options.hint||(a.signal(this,"startCompletion",this),Ht.update(!0))}}),a.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function A(st,yt){if(this.cm=st,this.options=yt,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;st.on("cursorActivity",this.activityFunc=function(){Dt.cursorActivity()})}}var K=window.requestAnimationFrame||function(st){return setTimeout(st,1e3/60)},le=window.cancelAnimationFrame||clearTimeout;A.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(st,yt){var Dt=st.list[yt],Ht=this;this.cm.operation(function(){Dt.hint?Dt.hint(Ht.cm,st,Dt):Ht.cm.replaceRange(Se(Dt),Dt.from||st.from,Dt.to||st.to,"complete"),a.signal(st,"pick",Dt),Ht.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(le(this.debounce),this.debounce=0);var st=this.startPos;this.data&&(st=this.data.from);var yt=this.cm.getCursor(),Dt=this.cm.getLine(yt.line);if(yt.line!=this.startPos.line||Dt.length-yt.ch!=this.startLen-this.startPos.ch||yt.ch<st.ch||this.cm.somethingSelected()||!yt.ch||this.options.closeCharacters.test(Dt.charAt(yt.ch-1)))this.close();else{var Ht=this;this.debounce=K(function(){Ht.update()}),this.widget&&this.widget.disable()}},update:function(st){if(this.tick!=null){var yt=this,Dt=++this.tick;At(this.options.hint,this.cm,this.options,function(Ht){yt.tick==Dt&&yt.finishUpdate(Ht,st)})}},finishUpdate:function(st,yt){this.data&&a.signal(this.data,"update");var Dt=this.widget&&this.widget.picked||yt&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=st,st&&st.list.length&&(Dt&&st.list.length==1?this.pick(st,0):(this.widget=new qe(this,st),a.signal(st,"shown")))}};function ce(st,yt,Dt){var Ht=st.options.hintOptions,dr={};for(var jr in rr)dr[jr]=rr[jr];if(Ht)for(var jr in Ht)Ht[jr]!==void 0&&(dr[jr]=Ht[jr]);if(Dt)for(var jr in Dt)Dt[jr]!==void 0&&(dr[jr]=Dt[jr]);return dr.hint.resolve&&(dr.hint=dr.hint.resolve(st,yt)),dr}function Se(st){return typeof st=="string"?st:st.text}function Ne(st,yt){var Dt={Up:function(){yt.moveFocus(-1)},Down:function(){yt.moveFocus(1)},PageUp:function(){yt.moveFocus(-yt.menuSize()+1,!0)},PageDown:function(){yt.moveFocus(yt.menuSize()-1,!0)},Home:function(){yt.setFocus(0)},End:function(){yt.setFocus(yt.length-1)},Enter:yt.pick,Tab:yt.pick,Esc:yt.close},Ht=/Mac/.test(navigator.platform);Ht&&(Dt["Ctrl-P"]=function(){yt.moveFocus(-1)},Dt["Ctrl-N"]=function(){yt.moveFocus(1)});var dr=st.options.customKeys,jr=dr?{}:Dt;function Ur(Wr,_r){var xn;typeof _r!="string"?xn=function(Mt){return _r(Mt,yt)}:Dt.hasOwnProperty(_r)?xn=Dt[_r]:xn=_r,jr[Wr]=xn}if(dr)for(var _n in dr)dr.hasOwnProperty(_n)&&Ur(_n,dr[_n]);var En=st.options.extraKeys;if(En)for(var _n in En)En.hasOwnProperty(_n)&&Ur(_n,En[_n]);return jr}function Re(st,yt){for(;yt&&yt!=st;){if(yt.nodeName.toUpperCase()==="LI"&&yt.parentNode==st)return yt;yt=yt.parentNode}}function qe(st,yt){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=st,this.data=yt,this.picked=!1;var Dt=this,Ht=st.cm,dr=Ht.getInputField().ownerDocument,jr=dr.defaultView||dr.parentWindow,Ur=this.hints=dr.createElement("ul");Ur.setAttribute("role","listbox"),Ur.setAttribute("aria-expanded","true"),Ur.id=this.id;var _n=st.cm.options.theme;Ur.className="CodeMirror-hints "+_n,this.selectedHint=yt.selectedHint||0;for(var En=yt.list,Wr=0;Wr<En.length;++Wr){var _r=Ur.appendChild(dr.createElement("li")),xn=En[Wr],Mt=l+(Wr!=this.selectedHint?"":" "+f);xn.className!=null&&(Mt=xn.className+" "+Mt),_r.className=Mt,Wr==this.selectedHint&&_r.setAttribute("aria-selected","true"),_r.id=this.id+"-"+Wr,_r.setAttribute("role","option"),xn.render?xn.render(_r,yt,xn):_r.appendChild(dr.createTextNode(xn.displayText||Se(xn))),_r.hintId=Wr}var Er=st.options.container||dr.body,ge=Ht.cursorCoords(st.options.alignWithWord?yt.from:null),ur=ge.left,zt=ge.bottom,Fr=!0,un=0,Jn=0;if(Er!==dr.body){var fi=["absolute","relative","fixed"].indexOf(jr.getComputedStyle(Er).position)!==-1,di=fi?Er:Er.offsetParent,Wn=di.getBoundingClientRect(),hi=dr.body.getBoundingClientRect();un=Wn.left-hi.left-di.scrollLeft,Jn=Wn.top-hi.top-di.scrollTop}Ur.style.left=ur-un+"px",Ur.style.top=zt-Jn+"px";var Ut=jr.innerWidth||Math.max(dr.body.offsetWidth,dr.documentElement.offsetWidth),sr=jr.innerHeight||Math.max(dr.body.offsetHeight,dr.documentElement.offsetHeight);Er.appendChild(Ur),Ht.getInputField().setAttribute("aria-autocomplete","list"),Ht.getInputField().setAttribute("aria-owns",this.id),Ht.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Ot=st.options.moveOnOverlap?Ur.getBoundingClientRect():new DOMRect,Cr=st.options.paddingForScrollbar?Ur.scrollHeight>Ur.clientHeight+1:!1,ln;setTimeout(function(){ln=Ht.getScrollInfo()});var Gr=Ot.bottom-sr;if(Gr>0){var Lr=Ot.bottom-Ot.top,sn=ge.top-(ge.bottom-Ot.top);if(sn-Lr>0)Ur.style.top=(zt=ge.top-Lr-Jn)+"px",Fr=!1;else if(Lr>sr){Ur.style.height=sr-5+"px",Ur.style.top=(zt=ge.bottom-Ot.top-Jn)+"px";var We=Ht.getCursor();yt.from.ch!=We.ch&&(ge=Ht.cursorCoords(We),Ur.style.left=(ur=ge.left-un)+"px",Ot=Ur.getBoundingClientRect())}}var at=Ot.right-Ut;if(Cr&&(at+=Ht.display.nativeBarWidth),at>0&&(Ot.right-Ot.left>Ut&&(Ur.style.width=Ut-5+"px",at-=Ot.right-Ot.left-Ut),Ur.style.left=(ur=ge.left-at-un)+"px"),Cr)for(var jt=Ur.firstChild;jt;jt=jt.nextSibling)jt.style.paddingRight=Ht.display.nativeBarWidth+"px";if(Ht.addKeyMap(this.keyMap=Ne(st,{moveFocus:function(vr,wr){Dt.changeActive(Dt.selectedHint+vr,wr)},setFocus:function(vr){Dt.changeActive(vr)},menuSize:function(){return Dt.screenAmount()},length:En.length,close:function(){st.close()},pick:function(){Dt.pick()},data:yt})),st.options.closeOnUnfocus){var Ft;Ht.on("blur",this.onBlur=function(){Ft=setTimeout(function(){st.close()},100)}),Ht.on("focus",this.onFocus=function(){clearTimeout(Ft)})}Ht.on("scroll",this.onScroll=function(){var vr=Ht.getScrollInfo(),wr=Ht.getWrapperElement().getBoundingClientRect();ln||(ln=Ht.getScrollInfo());var kr=zt+ln.top-vr.top,mr=kr-(jr.pageYOffset||(dr.documentElement||dr.body).scrollTop);if(Fr||(mr+=Ur.offsetHeight),mr<=wr.top||mr>=wr.bottom)return st.close();Ur.style.top=kr+"px",Ur.style.left=ur+ln.left-vr.left+"px"}),a.on(Ur,"dblclick",function(vr){var wr=Re(Ur,vr.target||vr.srcElement);wr&&wr.hintId!=null&&(Dt.changeActive(wr.hintId),Dt.pick())}),a.on(Ur,"click",function(vr){var wr=Re(Ur,vr.target||vr.srcElement);wr&&wr.hintId!=null&&(Dt.changeActive(wr.hintId),st.options.completeOnSingleClick&&Dt.pick())}),a.on(Ur,"mousedown",function(){setTimeout(function(){Ht.focus()},20)});var nr=this.getSelectedHintRange();return(nr.from!==0||nr.to!==0)&&this.scrollToActive(),a.signal(yt,"select",En[this.selectedHint],Ur.childNodes[this.selectedHint]),!0}qe.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 st=this.completion.cm.getInputField();st.removeAttribute("aria-activedescendant"),st.removeAttribute("aria-owns");var yt=this.completion.cm;this.completion.options.closeOnUnfocus&&(yt.off("blur",this.onBlur),yt.off("focus",this.onFocus)),yt.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var st=this;this.keyMap={Enter:function(){st.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(st,yt){if(st>=this.data.list.length?st=yt?this.data.list.length-1:0:st<0&&(st=yt?0:this.data.list.length-1),this.selectedHint!=st){var Dt=this.hints.childNodes[this.selectedHint];Dt&&(Dt.className=Dt.className.replace(" "+f,""),Dt.removeAttribute("aria-selected")),Dt=this.hints.childNodes[this.selectedHint=st],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 st=this.getSelectedHintRange(),yt=this.hints.childNodes[st.from],Dt=this.hints.childNodes[st.to],Ht=this.hints.firstChild;yt.offsetTop<this.hints.scrollTop?this.hints.scrollTop=yt.offsetTop-Ht.offsetTop:Dt.offsetTop+Dt.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Dt.offsetTop+Dt.offsetHeight-this.hints.clientHeight+Ht.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var st=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-st),to:Math.min(this.data.list.length-1,this.selectedHint+st)}}};function ot(st,yt){if(!st.somethingSelected())return yt;for(var Dt=[],Ht=0;Ht<yt.length;Ht++)yt[Ht].supportsSelection&&Dt.push(yt[Ht]);return Dt}function At(st,yt,Dt,Ht){if(st.async)st(yt,Ht,Dt);else{var dr=st(yt,Dt);dr&&dr.then?dr.then(Ht):Ht(dr)}}function tr(st,yt){var Dt=st.getHelpers(yt,"hint"),Ht;if(Dt.length){var dr=function(jr,Ur,_n){var En=ot(jr,Dt);function Wr(_r){if(_r==En.length)return Ur(null);At(En[_r],jr,_n,function(xn){xn&&xn.list.length>0?Ur(xn):Wr(_r+1)})}Wr(0)};return dr.async=!0,dr.supportsSelection=!0,dr}else return(Ht=st.getHelper(st.getCursor(),"hintWords"))?function(jr){return a.hint.fromList(jr,{words:Ht})}:a.hint.anyword?function(jr,Ur){return a.hint.anyword(jr,Ur)}:function(){}}a.registerHelper("hint","auto",{resolve:tr}),a.registerHelper("hint","fromList",function(st,yt){var Dt=st.getCursor(),Ht=st.getTokenAt(Dt),dr,jr=a.Pos(Dt.line,Ht.start),Ur=Dt;Ht.start<Dt.ch&&/\w/.test(Ht.string.charAt(Dt.ch-Ht.start-1))?dr=Ht.string.substr(0,Dt.ch-Ht.start):(dr="",jr=Dt);for(var _n=[],En=0;En<yt.words.length;En++){var Wr=yt.words[En];Wr.slice(0,dr.length)==dr&&_n.push(Wr)}if(_n.length)return{list:_n,from:jr,to:Ur}}),a.commands.autocomplete=a.showHint;var rr={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 yv(r,s,a={}){const l=gv.fromTextArea(r.value,Up({theme:"vars"},kn(a)));bo(a,A=>Object.entries(A).forEach(([K,le])=>l.setOption(K,le)));let f=!1;return l.on("change",()=>{if(f){f=!1;return}s.value=l.getValue()}),bo(s,A=>{if(A!==l.getValue()){f=!0;const K=l.listSelections();l.replaceRange(A,l.posFromIndex(0),l.posFromIndex(1/0)),l.setSelections(K)}},{immediate:!0}),l}const vv={relative:"","font-mono":"","text-sm":""},Dv=Qs({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=no(),A=lv(a,"modelValue",s,{passive:!0}),K=Oi(()=>l[a.mode||""]||a.mode),le=Oi(()=>a.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),ce=Oi(()=>a.getHint?{hint:a.getHint}:{});return _f(async()=>{const Se=yv(f,A,hc(Gf(Up({},Bm(a)),{mode:K,hintOptions:ce,extraKeys:le})));Se.setSize("100%","100%"),a.getHint&&Se.on("keyup",(At,tr)=>{tr.key.match(/^[\w:-]$/)&&At.execCommand("autocomplete")}),setTimeout(()=>Se.refresh(),100);const Ne=[];function Re(At,tr){Ne.push(Se.markText(Se.posFromIndex(At),Se.posFromIndex(tr),{className:"highlighted"}))}function qe(){Ne.forEach(At=>At.clear()),hv(a.modelValue,Array.from(a.matched||[])).forEach(At=>Re(At[0],At[1]))}let ot=0;bo(()=>[a.modelValue,a.matched],async()=>{clearTimeout(ot),a.matched&&(ot=setTimeout(qe,200))},{immediate:!0})}),(Se,Ne)=>(Wi(),Do("div",vv,[Mn("textarea",{ref_key:"el",ref:f},null,512)]))}});var cg=(r,s)=>{const a=r.__vccOpts||r;for(const[l,f]of s)a[l]=f;return a};const bv={},xv={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function Cv(r,s){return Wi(),Do("div",xv,[mp(r.$slots,"default")])}var Ev=cg(bv,[["render",Cv]]);const wv={style:{"background-color":"var(--cm-background)"},border:"l y gray-400/20",text:"gray-400/80","p-2":"","select-none":"",flex:"","all:my-auto":""},Av={"mr-2":"","op-60":""},Sv={flex:"","gap-2":"","flex-auto":""},Fv=Qs({name:"TitleBar",props:{title:null},setup(r){return(s,a)=>(Wi(),Do("div",wv,[mp(s.$slots,"before"),Mn("div",Av,$o(r.title),1),Mn("div",Sv,[mp(s.$slots,"default")])]))}}),kv="/@vite/client",pg=zc(),fg=zc(),Tv=pg.on,dg=fg.on;vf(()=>import(kv),[]).then(r=>{const s=r.createHotContext("/");s.on("vite:beforeUpdate",a=>{a.updates.forEach(l=>{pg.trigger(l)})}),s.on("unocss:config-changed",()=>{fg.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 Rp="/__unocss_api",hg=Lp(Rp).json(),zf=Lp(`${Rp}/overview`,{immediate:!1}).json(),lo=hg.data,op=zf.data;dg(()=>{hg.execute(),zf.execute()});function t1(r){const s=Lp(Oi(()=>`${Rp}/module?id=${encodeURIComponent(kn(r))}`),{refetch:!0}).json();return dg(()=>s.execute()),Tv(a=>{var l;(a.path===kn(r)||a.path===kn(r).slice(((l=lo.value)==null?void 0:l.root.length)||0))&&setTimeout(()=>{s.execute()},50)}),s}function r1(r){const s=yy(r,500);return Lp(Oi(()=>`${Rp}/repl?token=${encodeURIComponent(s.value)}`),{refetch:!0}).json()}const sp=Oi(()=>{if(!lo.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const r=lo.value.modules.map(l=>({full:l,path:l})),s=r.filter(l=>l.full.startsWith(lo.value.root)),a=r.filter(l=>!l.full.startsWith(lo.value.root));return s.forEach(l=>l.path=l.path.slice(lo.value.root.length+1)),{workspace:Ld(s,"Project Root"),root:Ld(a,"Disk Root")}});function Ld(r,s){const a={name:s,children:{},items:[]};function l(f,A,K=a){if(A.length<=1){K.items.push(f);return}const le=A.shift();K.children[le]||(K.children[le]={name:le,children:{},items:[]}),l(f,A,K.children[le])}return r.forEach(f=>{const A=f.path.split(/\//g).filter(Boolean);l(f,A)}),a}const Nv={key:0,"ws-wrap":""},Bv=Mn("span",{op80:""},".",-1),_v={key:1},Ov=Qs({name:"ModuleId",props:{id:null},setup(r){return(s,a)=>r.id&&kn(lo)?(Wi(),Do("span",Nv,[r.id.startsWith(kn(lo).root)?(Wi(),Do(ns,{key:0},[Bv,Mn("span",null,$o(r.id.slice(kn(lo).root.length)),1)],64)):(Wi(),Do("span",_v,$o(r.id),1))])):bp("",!0)}}),Pv=(r,s)=>{const a=no(null);return rv(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 gg={exports:{}};(function(r,s){(function(a){r.exports=a()})(function(){var a=(gr,mt)=>()=>(mt||gr((mt={exports:{}}).exports,mt),mt.exports),l=a((gr,mt)=>{var pt=function(wt){return wt&&wt.Math==Math&&wt};mt.exports=pt(typeof globalThis=="object"&&globalThis)||pt(typeof window=="object"&&window)||pt(typeof self=="object"&&self)||pt(typeof Yc=="object"&&Yc)||function(){return this}()||Function("return this")()}),f=a((gr,mt)=>{mt.exports=function(pt){try{return!!pt()}catch{return!0}}}),A=a((gr,mt)=>{var pt=f();mt.exports=!pt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),K=a((gr,mt)=>{var pt=f();mt.exports=!pt(function(){var wt=function(){}.bind();return typeof wt!="function"||wt.hasOwnProperty("prototype")})}),le=a((gr,mt)=>{var pt=K(),wt=Function.prototype.call;mt.exports=pt?wt.bind(wt):function(){return wt.apply(wt,arguments)}}),ce=a(gr=>{var mt={}.propertyIsEnumerable,pt=Object.getOwnPropertyDescriptor,wt=pt&&!mt.call({1:2},1);gr.f=wt?function(Pt){var Bt=pt(this,Pt);return!!Bt&&Bt.enumerable}:mt}),Se=a((gr,mt)=>{mt.exports=function(pt,wt){return{enumerable:!(pt&1),configurable:!(pt&2),writable:!(pt&4),value:wt}}}),Ne=a((gr,mt)=>{var pt=K(),wt=Function.prototype,Pt=wt.bind,Bt=wt.call,Vt=pt&&Pt.bind(Bt,Bt);mt.exports=pt?function(or){return or&&Vt(or)}:function(or){return or&&function(){return Bt.apply(or,arguments)}}}),Re=a((gr,mt)=>{var pt=Ne(),wt=pt({}.toString),Pt=pt("".slice);mt.exports=function(Bt){return Pt(wt(Bt),8,-1)}}),qe=a((gr,mt)=>{var pt=l(),wt=Ne(),Pt=f(),Bt=Re(),Vt=pt.Object,or=wt("".split);mt.exports=Pt(function(){return!Vt("z").propertyIsEnumerable(0)})?function(yr){return Bt(yr)=="String"?or(yr,""):Vt(yr)}:Vt}),ot=a((gr,mt)=>{var pt=l(),wt=pt.TypeError;mt.exports=function(Pt){if(Pt==null)throw wt("Can't call method on "+Pt);return Pt}}),At=a((gr,mt)=>{var pt=qe(),wt=ot();mt.exports=function(Pt){return pt(wt(Pt))}}),tr=a((gr,mt)=>{mt.exports=function(pt){return typeof pt=="function"}}),rr=a((gr,mt)=>{var pt=tr();mt.exports=function(wt){return typeof wt=="object"?wt!==null:pt(wt)}}),st=a((gr,mt)=>{var pt=l(),wt=tr(),Pt=function(Bt){return wt(Bt)?Bt:void 0};mt.exports=function(Bt,Vt){return arguments.length<2?Pt(pt[Bt]):pt[Bt]&&pt[Bt][Vt]}}),yt=a((gr,mt)=>{var pt=Ne();mt.exports=pt({}.isPrototypeOf)}),Dt=a((gr,mt)=>{var pt=st();mt.exports=pt("navigator","userAgent")||""}),Ht=a((gr,mt)=>{var pt=l(),wt=Dt(),Pt=pt.process,Bt=pt.Deno,Vt=Pt&&Pt.versions||Bt&&Bt.version,or=Vt&&Vt.v8,yr,Br;or&&(yr=or.split("."),Br=yr[0]>0&&yr[0]<4?1:+(yr[0]+yr[1])),!Br&&wt&&(yr=wt.match(/Edge\/(\d+)/),(!yr||yr[1]>=74)&&(yr=wt.match(/Chrome\/(\d+)/),yr&&(Br=+yr[1]))),mt.exports=Br}),dr=a((gr,mt)=>{var pt=Ht(),wt=f();mt.exports=!!Object.getOwnPropertySymbols&&!wt(function(){var Pt=Symbol();return!String(Pt)||!(Object(Pt)instanceof Symbol)||!Symbol.sham&&pt&&pt<41})}),jr=a((gr,mt)=>{var pt=dr();mt.exports=pt&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Ur=a((gr,mt)=>{var pt=l(),wt=st(),Pt=tr(),Bt=yt(),Vt=jr(),or=pt.Object;mt.exports=Vt?function(yr){return typeof yr=="symbol"}:function(yr){var Br=wt("Symbol");return Pt(Br)&&Bt(Br.prototype,or(yr))}}),_n=a((gr,mt)=>{var pt=l(),wt=pt.String;mt.exports=function(Pt){try{return wt(Pt)}catch{return"Object"}}}),En=a((gr,mt)=>{var pt=l(),wt=tr(),Pt=_n(),Bt=pt.TypeError;mt.exports=function(Vt){if(wt(Vt))return Vt;throw Bt(Pt(Vt)+" is not a function")}}),Wr=a((gr,mt)=>{var pt=En();mt.exports=function(wt,Pt){var Bt=wt[Pt];return Bt==null?void 0:pt(Bt)}}),_r=a((gr,mt)=>{var pt=l(),wt=le(),Pt=tr(),Bt=rr(),Vt=pt.TypeError;mt.exports=function(or,yr){var Br,zr;if(yr==="string"&&Pt(Br=or.toString)&&!Bt(zr=wt(Br,or))||Pt(Br=or.valueOf)&&!Bt(zr=wt(Br,or))||yr!=="string"&&Pt(Br=or.toString)&&!Bt(zr=wt(Br,or)))return zr;throw Vt("Can't convert object to primitive value")}}),xn=a((gr,mt)=>{mt.exports=!1}),Mt=a((gr,mt)=>{var pt=l(),wt=Object.defineProperty;mt.exports=function(Pt,Bt){try{wt(pt,Pt,{value:Bt,configurable:!0,writable:!0})}catch{pt[Pt]=Bt}return Bt}}),Er=a((gr,mt)=>{var pt=l(),wt=Mt(),Pt="__core-js_shared__",Bt=pt[Pt]||wt(Pt,{});mt.exports=Bt}),ge=a((gr,mt)=>{var pt=xn(),wt=Er();(mt.exports=function(Pt,Bt){return wt[Pt]||(wt[Pt]=Bt!==void 0?Bt:{})})("versions",[]).push({version:"3.21.1",mode:pt?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),ur=a((gr,mt)=>{var pt=l(),wt=ot(),Pt=pt.Object;mt.exports=function(Bt){return Pt(wt(Bt))}}),zt=a((gr,mt)=>{var pt=Ne(),wt=ur(),Pt=pt({}.hasOwnProperty);mt.exports=Object.hasOwn||function(Bt,Vt){return Pt(wt(Bt),Vt)}}),Fr=a((gr,mt)=>{var pt=Ne(),wt=0,Pt=Math.random(),Bt=pt(1 .toString);mt.exports=function(Vt){return"Symbol("+(Vt===void 0?"":Vt)+")_"+Bt(++wt+Pt,36)}}),un=a((gr,mt)=>{var pt=l(),wt=ge(),Pt=zt(),Bt=Fr(),Vt=dr(),or=jr(),yr=wt("wks"),Br=pt.Symbol,zr=Br&&Br.for,Yr=or?Br:Br&&Br.withoutSetter||Bt;mt.exports=function(en){if(!Pt(yr,en)||!(Vt||typeof yr[en]=="string")){var tn="Symbol."+en;Vt&&Pt(Br,en)?yr[en]=Br[en]:or&&zr?yr[en]=zr(tn):yr[en]=Yr(tn)}return yr[en]}}),Jn=a((gr,mt)=>{var pt=l(),wt=le(),Pt=rr(),Bt=Ur(),Vt=Wr(),or=_r(),yr=un(),Br=pt.TypeError,zr=yr("toPrimitive");mt.exports=function(Yr,en){if(!Pt(Yr)||Bt(Yr))return Yr;var tn=Vt(Yr,zr),Dn;if(tn){if(en===void 0&&(en="default"),Dn=wt(tn,Yr,en),!Pt(Dn)||Bt(Dn))return Dn;throw Br("Can't convert object to primitive value")}return en===void 0&&(en="number"),or(Yr,en)}}),fi=a((gr,mt)=>{var pt=Jn(),wt=Ur();mt.exports=function(Pt){var Bt=pt(Pt,"string");return wt(Bt)?Bt:Bt+""}}),di=a((gr,mt)=>{var pt=l(),wt=rr(),Pt=pt.document,Bt=wt(Pt)&&wt(Pt.createElement);mt.exports=function(Vt){return Bt?Pt.createElement(Vt):{}}}),Wn=a((gr,mt)=>{var pt=A(),wt=f(),Pt=di();mt.exports=!pt&&!wt(function(){return Object.defineProperty(Pt("div"),"a",{get:function(){return 7}}).a!=7})}),hi=a(gr=>{var mt=A(),pt=le(),wt=ce(),Pt=Se(),Bt=At(),Vt=fi(),or=zt(),yr=Wn(),Br=Object.getOwnPropertyDescriptor;gr.f=mt?Br:function(zr,Yr){if(zr=Bt(zr),Yr=Vt(Yr),yr)try{return Br(zr,Yr)}catch{}if(or(zr,Yr))return Pt(!pt(wt.f,zr,Yr),zr[Yr])}}),Ut=a((gr,mt)=>{var pt=A(),wt=f();mt.exports=pt&&wt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),sr=a((gr,mt)=>{var pt=l(),wt=rr(),Pt=pt.String,Bt=pt.TypeError;mt.exports=function(Vt){if(wt(Vt))return Vt;throw Bt(Pt(Vt)+" is not an object")}}),Ot=a(gr=>{var mt=l(),pt=A(),wt=Wn(),Pt=Ut(),Bt=sr(),Vt=fi(),or=mt.TypeError,yr=Object.defineProperty,Br=Object.getOwnPropertyDescriptor,zr="enumerable",Yr="configurable",en="writable";gr.f=pt?Pt?function(tn,Dn,nn){if(Bt(tn),Dn=Vt(Dn),Bt(nn),typeof tn=="function"&&Dn==="prototype"&&"value"in nn&&en in nn&&!nn[en]){var gn=Br(tn,Dn);gn&&gn[en]&&(tn[Dn]=nn.value,nn={configurable:Yr in nn?nn[Yr]:gn[Yr],enumerable:zr in nn?nn[zr]:gn[zr],writable:!1})}return yr(tn,Dn,nn)}:yr:function(tn,Dn,nn){if(Bt(tn),Dn=Vt(Dn),Bt(nn),wt)try{return yr(tn,Dn,nn)}catch{}if("get"in nn||"set"in nn)throw or("Accessors not supported");return"value"in nn&&(tn[Dn]=nn.value),tn}}),Cr=a((gr,mt)=>{var pt=A(),wt=Ot(),Pt=Se();mt.exports=pt?function(Bt,Vt,or){return wt.f(Bt,Vt,Pt(1,or))}:function(Bt,Vt,or){return Bt[Vt]=or,Bt}}),ln=a((gr,mt)=>{var pt=Ne(),wt=tr(),Pt=Er(),Bt=pt(Function.toString);wt(Pt.inspectSource)||(Pt.inspectSource=function(Vt){return Bt(Vt)}),mt.exports=Pt.inspectSource}),Gr=a((gr,mt)=>{var pt=l(),wt=tr(),Pt=ln(),Bt=pt.WeakMap;mt.exports=wt(Bt)&&/native code/.test(Pt(Bt))}),Lr=a((gr,mt)=>{var pt=ge(),wt=Fr(),Pt=pt("keys");mt.exports=function(Bt){return Pt[Bt]||(Pt[Bt]=wt(Bt))}}),sn=a((gr,mt)=>{mt.exports={}}),We=a((gr,mt)=>{var pt=Gr(),wt=l(),Pt=Ne(),Bt=rr(),Vt=Cr(),or=zt(),yr=Er(),Br=Lr(),zr=sn(),Yr="Object already initialized",en=wt.TypeError,tn=wt.WeakMap,Dn,nn,gn,ai=function(Hn){return gn(Hn)?nn(Hn):Dn(Hn,{})},ni=function(Hn){return function(Nn){var Je;if(!Bt(Nn)||(Je=nn(Nn)).type!==Hn)throw en("Incompatible receiver, "+Hn+" required");return Je}};pt||yr.state?(He=yr.state||(yr.state=new tn),$n=Pt(He.get),Jr=Pt(He.has),xi=Pt(He.set),Dn=function(Hn,Nn){if(Jr(He,Hn))throw new en(Yr);return Nn.facade=Hn,xi(He,Hn,Nn),Nn},nn=function(Hn){return $n(He,Hn)||{}},gn=function(Hn){return Jr(He,Hn)}):(Ni=Br("state"),zr[Ni]=!0,Dn=function(Hn,Nn){if(or(Hn,Ni))throw new en(Yr);return Nn.facade=Hn,Vt(Hn,Ni,Nn),Nn},nn=function(Hn){return or(Hn,Ni)?Hn[Ni]:{}},gn=function(Hn){return or(Hn,Ni)});var He,$n,Jr,xi,Ni;mt.exports={set:Dn,get:nn,has:gn,enforce:ai,getterFor:ni}}),at=a((gr,mt)=>{var pt=A(),wt=zt(),Pt=Function.prototype,Bt=pt&&Object.getOwnPropertyDescriptor,Vt=wt(Pt,"name"),or=Vt&&function(){}.name==="something",yr=Vt&&(!pt||pt&&Bt(Pt,"name").configurable);mt.exports={EXISTS:Vt,PROPER:or,CONFIGURABLE:yr}}),jt=a((gr,mt)=>{var pt=l(),wt=tr(),Pt=zt(),Bt=Cr(),Vt=Mt(),or=ln(),yr=We(),Br=at().CONFIGURABLE,zr=yr.get,Yr=yr.enforce,en=String(String).split("String");(mt.exports=function(tn,Dn,nn,gn){var ai=gn?!!gn.unsafe:!1,ni=gn?!!gn.enumerable:!1,He=gn?!!gn.noTargetGet:!1,$n=gn&&gn.name!==void 0?gn.name:Dn,Jr;if(wt(nn)&&(String($n).slice(0,7)==="Symbol("&&($n="["+String($n).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Pt(nn,"name")||Br&&nn.name!==$n)&&Bt(nn,"name",$n),Jr=Yr(nn),Jr.source||(Jr.source=en.join(typeof $n=="string"?$n:""))),tn===pt){ni?tn[Dn]=nn:Vt(Dn,nn);return}else ai?!He&&tn[Dn]&&(ni=!0):delete tn[Dn];ni?tn[Dn]=nn:Bt(tn,Dn,nn)})(Function.prototype,"toString",function(){return wt(this)&&zr(this).source||or(this)})}),Ft=a((gr,mt)=>{var pt=Math.ceil,wt=Math.floor;mt.exports=function(Pt){var Bt=+Pt;return Bt!==Bt||Bt===0?0:(Bt>0?wt:pt)(Bt)}}),nr=a((gr,mt)=>{var pt=Ft(),wt=Math.max,Pt=Math.min;mt.exports=function(Bt,Vt){var or=pt(Bt);return or<0?wt(or+Vt,0):Pt(or,Vt)}}),vr=a((gr,mt)=>{var pt=Ft(),wt=Math.min;mt.exports=function(Pt){return Pt>0?wt(pt(Pt),9007199254740991):0}}),wr=a((gr,mt)=>{var pt=vr();mt.exports=function(wt){return pt(wt.length)}}),kr=a((gr,mt)=>{var pt=At(),wt=nr(),Pt=wr(),Bt=function(Vt){return function(or,yr,Br){var zr=pt(or),Yr=Pt(zr),en=wt(Br,Yr),tn;if(Vt&&yr!=yr){for(;Yr>en;)if(tn=zr[en++],tn!=tn)return!0}else for(;Yr>en;en++)if((Vt||en in zr)&&zr[en]===yr)return Vt||en||0;return!Vt&&-1}};mt.exports={includes:Bt(!0),indexOf:Bt(!1)}}),mr=a((gr,mt)=>{var pt=Ne(),wt=zt(),Pt=At(),Bt=kr().indexOf,Vt=sn(),or=pt([].push);mt.exports=function(yr,Br){var zr=Pt(yr),Yr=0,en=[],tn;for(tn in zr)!wt(Vt,tn)&&wt(zr,tn)&&or(en,tn);for(;Br.length>Yr;)wt(zr,tn=Br[Yr++])&&(~Bt(en,tn)||or(en,tn));return en}}),ze=a((gr,mt)=>{mt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),It=a(gr=>{var mt=mr(),pt=ze(),wt=pt.concat("length","prototype");gr.f=Object.getOwnPropertyNames||function(Pt){return mt(Pt,wt)}}),ct=a(gr=>{gr.f=Object.getOwnPropertySymbols}),Ir=a((gr,mt)=>{var pt=st(),wt=Ne(),Pt=It(),Bt=ct(),Vt=sr(),or=wt([].concat);mt.exports=pt("Reflect","ownKeys")||function(yr){var Br=Pt.f(Vt(yr)),zr=Bt.f;return zr?or(Br,zr(yr)):Br}}),yn=a((gr,mt)=>{var pt=zt(),wt=Ir(),Pt=hi(),Bt=Ot();mt.exports=function(Vt,or,yr){for(var Br=wt(or),zr=Bt.f,Yr=Pt.f,en=0;en<Br.length;en++){var tn=Br[en];!pt(Vt,tn)&&!(yr&&pt(yr,tn))&&zr(Vt,tn,Yr(or,tn))}}}),Gn=a((gr,mt)=>{var pt=f(),wt=tr(),Pt=/#|\.prototype\./,Bt=function(zr,Yr){var en=or[Vt(zr)];return en==Br?!0:en==yr?!1:wt(Yr)?pt(Yr):!!Yr},Vt=Bt.normalize=function(zr){return String(zr).replace(Pt,".").toLowerCase()},or=Bt.data={},yr=Bt.NATIVE="N",Br=Bt.POLYFILL="P";mt.exports=Bt}),Xn=a((gr,mt)=>{var pt=l(),wt=hi().f,Pt=Cr(),Bt=jt(),Vt=Mt(),or=yn(),yr=Gn();mt.exports=function(Br,zr){var Yr=Br.target,en=Br.global,tn=Br.stat,Dn,nn,gn,ai,ni,He;if(en?nn=pt:tn?nn=pt[Yr]||Vt(Yr,{}):nn=(pt[Yr]||{}).prototype,nn)for(gn in zr){if(ni=zr[gn],Br.noTargetGet?(He=wt(nn,gn),ai=He&&He.value):ai=nn[gn],Dn=yr(en?gn:Yr+(tn?".":"#")+gn,Br.forced),!Dn&&ai!==void 0){if(typeof ni==typeof ai)continue;or(ni,ai)}(Br.sham||ai&&ai.sham)&&Pt(ni,"sham",!0),Bt(nn,gn,ni,Br)}}}),Qn=a((gr,mt)=>{var pt=Re();mt.exports=Array.isArray||function(wt){return pt(wt)=="Array"}}),Pn=a((gr,mt)=>{var pt=Ne(),wt=En(),Pt=K(),Bt=pt(pt.bind);mt.exports=function(Vt,or){return wt(Vt),or===void 0?Vt:Pt?Bt(Vt,or):function(){return Vt.apply(or,arguments)}}}),bi=a((gr,mt)=>{var pt=l(),wt=Qn(),Pt=wr(),Bt=Pn(),Vt=pt.TypeError,or=function(yr,Br,zr,Yr,en,tn,Dn,nn){for(var gn=en,ai=0,ni=Dn?Bt(Dn,nn):!1,He,$n;ai<Yr;){if(ai in zr){if(He=ni?ni(zr[ai],ai,Br):zr[ai],tn>0&&wt(He))$n=Pt(He),gn=or(yr,Br,He,$n,gn,tn-1)-1;else{if(gn>=9007199254740991)throw Vt("Exceed the acceptable array length");yr[gn]=He}gn++}ai++}return gn};mt.exports=or}),Hr=a((gr,mt)=>{var pt=un(),wt=pt("toStringTag"),Pt={};Pt[wt]="z",mt.exports=String(Pt)==="[object z]"}),Lt=a((gr,mt)=>{var pt=l(),wt=Hr(),Pt=tr(),Bt=Re(),Vt=un(),or=Vt("toStringTag"),yr=pt.Object,Br=Bt(function(){return arguments}())=="Arguments",zr=function(Yr,en){try{return Yr[en]}catch{}};mt.exports=wt?Bt:function(Yr){var en,tn,Dn;return Yr===void 0?"Undefined":Yr===null?"Null":typeof(tn=zr(en=yr(Yr),or))=="string"?tn:Br?Bt(en):(Dn=Bt(en))=="Object"&&Pt(en.callee)?"Arguments":Dn}}),Rt=a((gr,mt)=>{var pt=Ne(),wt=f(),Pt=tr(),Bt=Lt(),Vt=st(),or=ln(),yr=function(){},Br=[],zr=Vt("Reflect","construct"),Yr=/^\s*(?:class|function)\b/,en=pt(Yr.exec),tn=!Yr.exec(yr),Dn=function(gn){if(!Pt(gn))return!1;try{return zr(yr,Br,gn),!0}catch{return!1}},nn=function(gn){if(!Pt(gn))return!1;switch(Bt(gn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return tn||!!en(Yr,or(gn))}catch{return!0}};nn.sham=!0,mt.exports=!zr||wt(function(){var gn;return Dn(Dn.call)||!Dn(Object)||!Dn(function(){gn=!0})||gn})?nn:Dn}),vt=a((gr,mt)=>{var pt=l(),wt=Qn(),Pt=Rt(),Bt=rr(),Vt=un(),or=Vt("species"),yr=pt.Array;mt.exports=function(Br){var zr;return wt(Br)&&(zr=Br.constructor,Pt(zr)&&(zr===yr||wt(zr.prototype))?zr=void 0:Bt(zr)&&(zr=zr[or],zr===null&&(zr=void 0))),zr===void 0?yr:zr}}),Zt=a((gr,mt)=>{var pt=vt();mt.exports=function(wt,Pt){return new(pt(wt))(Pt===0?0:Pt)}}),kt=a(()=>{var gr=Xn(),mt=bi(),pt=En(),wt=ur(),Pt=wr(),Bt=Zt();gr({target:"Array",proto:!0},{flatMap:function(Vt){var or=wt(this),yr=Pt(or),Br;return pt(Vt),Br=Bt(or,0),Br.length=mt(Br,or,or,yr,0,1,Vt,arguments.length>1?arguments[1]:void 0),Br}})}),br=a((gr,mt)=>{mt.exports={}}),dt=a((gr,mt)=>{var pt=un(),wt=br(),Pt=pt("iterator"),Bt=Array.prototype;mt.exports=function(Vt){return Vt!==void 0&&(wt.Array===Vt||Bt[Pt]===Vt)}}),Kr=a((gr,mt)=>{var pt=Lt(),wt=Wr(),Pt=br(),Bt=un(),Vt=Bt("iterator");mt.exports=function(or){if(or!=null)return wt(or,Vt)||wt(or,"@@iterator")||Pt[pt(or)]}}),Zr=a((gr,mt)=>{var pt=l(),wt=le(),Pt=En(),Bt=sr(),Vt=_n(),or=Kr(),yr=pt.TypeError;mt.exports=function(Br,zr){var Yr=arguments.length<2?or(Br):zr;if(Pt(Yr))return Bt(wt(Yr,Br));throw yr(Vt(Br)+" is not iterable")}}),Tn=a((gr,mt)=>{var pt=le(),wt=sr(),Pt=Wr();mt.exports=function(Bt,Vt,or){var yr,Br;wt(Bt);try{if(yr=Pt(Bt,"return"),!yr){if(Vt==="throw")throw or;return or}yr=pt(yr,Bt)}catch(zr){Br=!0,yr=zr}if(Vt==="throw")throw or;if(Br)throw yr;return wt(yr),or}}),xt=a((gr,mt)=>{var pt=l(),wt=Pn(),Pt=le(),Bt=sr(),Vt=_n(),or=dt(),yr=wr(),Br=yt(),zr=Zr(),Yr=Kr(),en=Tn(),tn=pt.TypeError,Dn=function(gn,ai){this.stopped=gn,this.result=ai},nn=Dn.prototype;mt.exports=function(gn,ai,ni){var He=ni&&ni.that,$n=!!(ni&&ni.AS_ENTRIES),Jr=!!(ni&&ni.IS_ITERATOR),xi=!!(ni&&ni.INTERRUPTED),Ni=wt(ai,He),Hn,Nn,Je,xo,Ji,V,Be,er=function(mn){return Hn&&en(Hn,"normal",mn),new Dn(!0,mn)},fr=function(mn){return $n?(Bt(mn),xi?Ni(mn[0],mn[1],er):Ni(mn[0],mn[1])):xi?Ni(mn,er):Ni(mn)};if(Jr)Hn=gn;else{if(Nn=Yr(gn),!Nn)throw tn(Vt(gn)+" is not iterable");if(or(Nn)){for(Je=0,xo=yr(gn);xo>Je;Je++)if(Ji=fr(gn[Je]),Ji&&Br(nn,Ji))return Ji;return new Dn(!1)}Hn=zr(gn,Nn)}for(V=Hn.next;!(Be=Pt(V,Hn)).done;){try{Ji=fr(Be.value)}catch(mn){en(Hn,"throw",mn)}if(typeof Ji=="object"&&Ji&&Br(nn,Ji))return Ji}return new Dn(!1)}}),vn=a((gr,mt)=>{var pt=fi(),wt=Ot(),Pt=Se();mt.exports=function(Bt,Vt,or){var yr=pt(Vt);yr in Bt?wt.f(Bt,yr,Pt(0,or)):Bt[yr]=or}}),On=a(()=>{var gr=Xn(),mt=xt(),pt=vn();gr({target:"Object",stat:!0},{fromEntries:function(wt){var Pt={};return mt(wt,function(Bt,Vt){pt(Pt,Bt,Vt)},{AS_ENTRIES:!0}),Pt}})}),Un=a(()=>{var gr=Xn(),mt=l();gr({global:!0},{globalThis:mt})}),Ln=a(()=>{Un()}),ti=a(()=>{var gr=Xn(),mt=bi(),pt=ur(),wt=wr(),Pt=Ft(),Bt=Zt();gr({target:"Array",proto:!0},{flat:function(){var Vt=arguments.length?arguments[0]:void 0,or=pt(this),yr=wt(or),Br=Bt(or,0);return Br.length=mt(Br,or,or,yr,0,Vt===void 0?1:Pt(Vt)),Br}})}),mi=a((gr,mt)=>{var pt=["cliName","cliCategory","cliDescription"],wt=["_"],Pt=["languageId"],Bt,Vt,or,yr,Br,zr;function Yr(x,w){if(x==null)return{};var d=en(x,w),b,v;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(x);for(v=0;v<c.length;v++)b=c[v],!(w.indexOf(b)>=0)&&(!Object.prototype.propertyIsEnumerable.call(x,b)||(d[b]=x[b]))}return d}function en(x,w){if(x==null)return{};var d={},b=Object.keys(x),v,c;for(c=0;c<b.length;c++)v=b[c],!(w.indexOf(v)>=0)&&(d[v]=x[v]);return d}kt(),On(),Ln(),ti();function tn(x,w){return w||(w=x.slice(0)),Object.freeze(Object.defineProperties(x,{raw:{value:Object.freeze(w)}}))}var Dn=Object.defineProperty,nn=Object.getOwnPropertyDescriptor,gn=Object.getOwnPropertyNames,ai=Object.prototype.hasOwnProperty,ni=(x,w)=>function(){return x&&(w=(0,x[gn(x)[0]])(x=0)),w},He=(x,w)=>function(){return w||(0,x[gn(x)[0]])((w={exports:{}}).exports,w),w.exports},$n=(x,w)=>{for(var d in w)Dn(x,d,{get:w[d],enumerable:!0})},Jr=(x,w,d,b)=>{if(w&&typeof w=="object"||typeof w=="function")for(let v of gn(w))!ai.call(x,v)&&v!==d&&Dn(x,v,{get:()=>w[v],enumerable:!(b=nn(w,v))||b.enumerable});return x},xi=x=>Jr(Dn({},"__esModule",{value:!0}),x),Ni,Hn,Nn,Je=ni({"<define:process>"(){Ni={},Hn=[],Nn={env:Ni,argv:Hn}}}),xo=He({"package.json"(x,w){w.exports={version:"2.6.2"}}}),Ji=He({"node_modules/diff/lib/diff/base.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0}),x.default=w;function w(){}w.prototype={diff:function(v,c){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=p.callback;typeof p=="function"&&(y=p,p={}),this.options=p;var C=this;function F(W){return y?(setTimeout(function(){y(void 0,W)},0),!0):W}v=this.castInput(v),c=this.castInput(c),v=this.removeEmpty(this.tokenize(v)),c=this.removeEmpty(this.tokenize(c));var M=c.length,_=v.length,I=1,k=M+_,T=[{newPos:-1,components:[]}],j=this.extractCommon(T[0],c,v,0);if(T[0].newPos+1>=M&&j+1>=_)return F([{value:this.join(c),count:c.length}]);function te(){for(var W=-1*I;W<=I;W+=2){var Y=void 0,H=T[W-1],re=T[W+1],ne=(re?re.newPos:0)-W;H&&(T[W-1]=void 0);var ue=H&&H.newPos+1<M,R=re&&0<=ne&&ne<_;if(!ue&&!R){T[W]=void 0;continue}if(!ue||R&&H.newPos<re.newPos?(Y=b(re),C.pushComponent(Y.components,void 0,!0)):(Y=H,Y.newPos++,C.pushComponent(Y.components,!0,void 0)),ne=C.extractCommon(Y,c,v,W),Y.newPos+1>=M&&ne+1>=_)return F(d(C,Y.components,c,v,C.useLongestToken));T[W]=Y}I++}if(y)(function W(){setTimeout(function(){if(I>k)return y();te()||W()},0)})();else for(;I<=k;){var ie=te();if(ie)return ie}},pushComponent:function(v,c,p){var y=v[v.length-1];y&&y.added===c&&y.removed===p?v[v.length-1]={count:y.count+1,added:c,removed:p}:v.push({count:1,added:c,removed:p})},extractCommon:function(v,c,p,y){for(var C=c.length,F=p.length,M=v.newPos,_=M-y,I=0;M+1<C&&_+1<F&&this.equals(c[M+1],p[_+1]);)M++,_++,I++;return I&&v.components.push({count:I}),v.newPos=M,_},equals:function(v,c){return this.options.comparator?this.options.comparator(v,c):v===c||this.options.ignoreCase&&v.toLowerCase()===c.toLowerCase()},removeEmpty:function(v){for(var c=[],p=0;p<v.length;p++)v[p]&&c.push(v[p]);return c},castInput:function(v){return v},tokenize:function(v){return v.split("")},join:function(v){return v.join("")}};function d(v,c,p,y,C){for(var F=0,M=c.length,_=0,I=0;F<M;F++){var k=c[F];if(k.removed){if(k.value=v.join(y.slice(I,I+k.count)),I+=k.count,F&&c[F-1].added){var T=c[F-1];c[F-1]=c[F],c[F]=T}}else{if(!k.added&&C){var j=p.slice(_,_+k.count);j=j.map(function(ie,W){var Y=y[I+W];return Y.length>ie.length?Y:ie}),k.value=v.join(j)}else k.value=v.join(p.slice(_,_+k.count));_+=k.count,k.added||(I+=k.count)}}var te=c[M-1];return M>1&&typeof te.value=="string"&&(te.added||te.removed)&&v.equals("",te.value)&&(c[M-2].value+=te.value,c.pop()),c}function b(v){return{newPos:v.newPos,components:v.components.slice(0)}}}}),V=He({"node_modules/diff/lib/diff/array.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0}),x.diffArrays=v,x.arrayDiff=void 0;var w=d(Ji());function d(c){return c&&c.__esModule?c:{default:c}}var b=new w.default;x.arrayDiff=b,b.tokenize=function(c){return c.slice()},b.join=b.removeEmpty=function(c){return c};function v(c,p,y){return b.diff(c,p,y)}}}),Be=He({"src/document/doc-builders.js"(x,w){Je();function d(P){return{type:"concat",parts:P}}function b(P){return{type:"indent",contents:P}}function v(P,D){return{type:"align",contents:D,n:P}}function c(P){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:D.id,contents:P,break:Boolean(D.shouldBreak),expandedStates:D.expandedStates}}function p(P){return v(Number.NEGATIVE_INFINITY,P)}function y(P){return v({type:"root"},P)}function C(P){return v(-1,P)}function F(P,D){return c(P[0],Object.assign(Object.assign({},D),{},{expandedStates:P}))}function M(P){return{type:"fill",parts:P}}function _(P,D){let $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:P,flatContents:D,groupId:$.groupId}}function I(P,D){return{type:"indent-if-break",contents:P,groupId:D.groupId,negate:D.negate}}function k(P){return{type:"line-suffix",contents:P}}var T={type:"line-suffix-boundary"},j={type:"break-parent"},te={type:"trim"},ie={type:"line",hard:!0},W={type:"line",hard:!0,literal:!0},Y={type:"line"},H={type:"line",soft:!0},re=d([ie,j]),ne=d([W,j]),ue={type:"cursor",placeholder:Symbol("cursor")};function R(P,D){let $=[];for(let z=0;z<D.length;z++)z!==0&&$.push(P),$.push(D[z]);return d($)}function B(P,D,$){let z=P;if(D>0){for(let U=0;U<Math.floor(D/$);++U)z=b(z);z=v(D%$,z),z=v(Number.NEGATIVE_INFINITY,z)}return z}function O(P,D){return{type:"label",label:P,contents:D}}w.exports={concat:d,join:R,line:Y,softline:H,hardline:re,literalline:ne,group:c,conditionalGroup:F,fill:M,lineSuffix:k,lineSuffixBoundary:T,cursor:ue,breakParent:j,ifBreak:_,trim:te,indent:b,indentIfBreak:I,align:v,addAlignmentToDoc:B,markAsRoot:y,dedentToRoot:p,dedent:C,hardlineWithoutBreakParent:ie,literallineWithoutBreakParent:W,label:O}}}),er=He({"src/common/end-of-line.js"(x,w){Je();function d(p){let y=p.indexOf("\r");return y>=0?p.charAt(y+1)===`
25
- `?"crlf":"cr":"lf"}function b(p){switch(p){case"cr":return"\r";case"crlf":return`\r
26
- `;default:return`
27
- `}}function v(p,y){let C;switch(y){case`
28
- `:C=/\n/g;break;case"\r":C=/\r/g;break;case`\r
29
- `:C=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(y),"."))}let F=p.match(C);return F?F.length:0}function c(p){return p.replace(/\r\n?/g,`
30
- `)}w.exports={guessEndOfLine:d,convertEndOfLineToChars:b,countEndOfLineChars:v,normalizeEndOfLine:c}}}),fr=He({"src/utils/get-last.js"(x,w){Je();var d=b=>b[b.length-1];w.exports=d}}),mn=He({"vendors/string-width.js"(x,w){Je();var d=Object.create,b=Object.defineProperty,v=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,C=(H,re)=>function(){return re||(0,H[c(H)[0]])((re={exports:{}}).exports,re),re.exports},F=(H,re)=>{for(var ne in re)b(H,ne,{get:re[ne],enumerable:!0})},M=(H,re,ne,ue)=>{if(re&&typeof re=="object"||typeof re=="function")for(let R of c(re))!y.call(H,R)&&R!==ne&&b(H,R,{get:()=>re[R],enumerable:!(ue=v(re,R))||ue.enumerable});return H},_=(H,re,ne)=>(ne=H!=null?d(p(H)):{},M(re||!H||!H.__esModule?b(ne,"default",{value:H,enumerable:!0}):ne,H)),I=H=>M(b({},"__esModule",{value:!0}),H),k=C({"node_modules/emoji-regex/index.js"(H,re){re.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),T={};F(T,{default:()=>Y}),w.exports=I(T);function j(){let{onlyFirst:H=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},re=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(re,H?void 0:"g")}function te(H){if(typeof H!="string")throw new TypeError("Expected a `string`, got `".concat(typeof H,"`"));return H.replace(j(),"")}function ie(H){return Number.isInteger(H)?H>=4352&&(H<=4447||H===9001||H===9002||11904<=H&&H<=12871&&H!==12351||12880<=H&&H<=19903||19968<=H&&H<=42182||43360<=H&&H<=43388||44032<=H&&H<=55203||63744<=H&&H<=64255||65040<=H&&H<=65049||65072<=H&&H<=65131||65281<=H&&H<=65376||65504<=H&&H<=65510||110592<=H&&H<=110593||127488<=H&&H<=127569||131072<=H&&H<=262141):!1}var W=_(k(),1);function Y(H){if(typeof H!="string"||H.length===0||(H=te(H),H.length===0))return 0;H=H.replace((0,W.default)()," ");let re=0;for(let ne=0;ne<H.length;ne++){let ue=H.codePointAt(ne);ue<=31||ue>=127&&ue<=159||ue>=768&&ue<=879||(ue>65535&&ne++,re+=ie(ue)?2:1)}return re}}}),Yn=He({"src/utils/get-string-width.js"(x,w){Je();var d=mn().default,b=/[^\x20-\x7F]/;function v(c){return c?b.test(c)?d(c):c.length:0}w.exports=v}}),ii=He({"src/document/doc-utils.js"(x,w){Je();var d=fr(),{literalline:b,join:v}=Be(),c=D=>Array.isArray(D)||D&&D.type==="concat",p=D=>{if(Array.isArray(D))return D;if(D.type!=="concat"&&D.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return D.parts},y={};function C(D,$,z,U){let se=[D];for(;se.length>0;){let ae=se.pop();if(ae===y){z(se.pop());continue}if(z&&se.push(ae,y),!$||$(ae)!==!1)if(c(ae)||ae.type==="fill"){let de=p(ae);for(let xe=de.length,be=xe-1;be>=0;--be)se.push(de[be])}else if(ae.type==="if-break")ae.flatContents&&se.push(ae.flatContents),ae.breakContents&&se.push(ae.breakContents);else if(ae.type==="group"&&ae.expandedStates)if(U)for(let de=ae.expandedStates.length,xe=de-1;xe>=0;--xe)se.push(ae.expandedStates[xe]);else se.push(ae.contents);else ae.contents&&se.push(ae.contents)}}function F(D,$){let z=new Map;return U(D);function U(ae){if(z.has(ae))return z.get(ae);let de=se(ae);return z.set(ae,de),de}function se(ae){if(Array.isArray(ae))return $(ae.map(U));if(ae.type==="concat"||ae.type==="fill"){let de=ae.parts.map(U);return $(Object.assign(Object.assign({},ae),{},{parts:de}))}if(ae.type==="if-break"){let de=ae.breakContents&&U(ae.breakContents),xe=ae.flatContents&&U(ae.flatContents);return $(Object.assign(Object.assign({},ae),{},{breakContents:de,flatContents:xe}))}if(ae.type==="group"&&ae.expandedStates){let de=ae.expandedStates.map(U),xe=de[0];return $(Object.assign(Object.assign({},ae),{},{contents:xe,expandedStates:de}))}if(ae.contents){let de=U(ae.contents);return $(Object.assign(Object.assign({},ae),{},{contents:de}))}return $(ae)}}function M(D,$,z){let U=z,se=!1;function ae(de){let xe=$(de);if(xe!==void 0&&(se=!0,U=xe),se)return!1}return C(D,ae),U}function _(D){if(D.type==="group"&&D.break||D.type==="line"&&D.hard||D.type==="break-parent")return!0}function I(D){return M(D,_,!1)}function k(D){if(D.length>0){let $=d(D);!$.expandedStates&&!$.break&&($.break="propagated")}return null}function T(D){let $=new Set,z=[];function U(ae){if(ae.type==="break-parent"&&k(z),ae.type==="group"){if(z.push(ae),$.has(ae))return!1;$.add(ae)}}function se(ae){ae.type==="group"&&z.pop().break&&k(z)}C(D,U,se,!0)}function j(D){return D.type==="line"&&!D.hard?D.soft?"":" ":D.type==="if-break"?D.flatContents||"":D}function te(D){return F(D,j)}var ie=(D,$)=>D&&D.type==="line"&&D.hard&&$&&$.type==="break-parent";function W(D){if(!D)return D;if(c(D)||D.type==="fill"){let $=p(D);for(;$.length>1&&ie(...$.slice(-2));)$.length-=2;if($.length>0){let z=W(d($));$[$.length-1]=z}return Array.isArray(D)?$:Object.assign(Object.assign({},D),{},{parts:$})}switch(D.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let $=W(D.contents);return Object.assign(Object.assign({},D),{},{contents:$})}case"if-break":{let $=W(D.breakContents),z=W(D.flatContents);return Object.assign(Object.assign({},D),{},{breakContents:$,flatContents:z})}}return D}function Y(D){return W(re(D))}function H(D){switch(D.type){case"fill":if(D.parts.every(z=>z===""))return"";break;case"group":if(!D.contents&&!D.id&&!D.break&&!D.expandedStates)return"";if(D.contents.type==="group"&&D.contents.id===D.id&&D.contents.break===D.break&&D.contents.expandedStates===D.expandedStates)return D.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!D.contents)return"";break;case"if-break":if(!D.flatContents&&!D.breakContents)return"";break}if(!c(D))return D;let $=[];for(let z of p(D)){if(!z)continue;let[U,...se]=c(z)?p(z):[z];typeof U=="string"&&typeof d($)=="string"?$[$.length-1]+=U:$.push(U),$.push(...se)}return $.length===0?"":$.length===1?$[0]:Array.isArray(D)?$:Object.assign(Object.assign({},D),{},{parts:$})}function re(D){return F(D,$=>H($))}function ne(D){let $=[],z=D.filter(Boolean);for(;z.length>0;){let U=z.shift();if(U){if(c(U)){z.unshift(...p(U));continue}if($.length>0&&typeof d($)=="string"&&typeof U=="string"){$[$.length-1]+=U;continue}$.push(U)}}return $}function ue(D){return F(D,$=>Array.isArray($)?ne($):$.parts?Object.assign(Object.assign({},$),{},{parts:ne($.parts)}):$)}function R(D){return F(D,$=>typeof $=="string"&&$.includes(`
31
- `)?B($):$)}function B(D){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b;return v($,D.split(`
32
- `)).parts}function O(D){if(D.type==="line")return!0}function P(D){return M(D,O,!1)}w.exports={isConcat:c,getDocParts:p,willBreak:I,traverseDoc:C,findInDoc:M,mapDoc:F,propagateBreaks:T,removeLines:te,stripTrailingHardline:Y,normalizeParts:ne,normalizeDoc:ue,cleanDoc:re,replaceTextEndOfLine:B,replaceEndOfLine:R,canBreak:P}}}),Qr=He({"src/document/doc-printer.js"(x,w){Je();var{convertEndOfLineToChars:d}=er(),b=fr(),v=Yn(),{fill:c,cursor:p,indent:y}=Be(),{isConcat:C,getDocParts:F}=ii(),M,_=1,I=2;function k(){return{value:"",length:0,queue:[]}}function T(H,re){return te(H,{type:"indent"},re)}function j(H,re,ne){return re===Number.NEGATIVE_INFINITY?H.root||k():re<0?te(H,{type:"dedent"},ne):re?re.type==="root"?Object.assign(Object.assign({},H),{},{root:H}):te(H,{type:typeof re=="string"?"stringAlign":"numberAlign",n:re},ne):H}function te(H,re,ne){let ue=re.type==="dedent"?H.queue.slice(0,-1):[...H.queue,re],R="",B=0,O=0,P=0;for(let de of ue)switch(de.type){case"indent":z(),ne.useTabs?D(1):$(ne.tabWidth);break;case"stringAlign":z(),R+=de.n,B+=de.n.length;break;case"numberAlign":O+=1,P+=de.n;break;default:throw new Error("Unexpected type '".concat(de.type,"'"))}return se(),Object.assign(Object.assign({},H),{},{value:R,length:B,queue:ue});function D(de){R+=" ".repeat(de),B+=ne.tabWidth*de}function $(de){R+=" ".repeat(de),B+=de}function z(){ne.useTabs?U():se()}function U(){O>0&&D(O),ae()}function se(){P>0&&$(P),ae()}function ae(){O=0,P=0}}function ie(H){if(H.length===0)return 0;let re=0;for(;H.length>0&&typeof b(H)=="string"&&/^[\t ]*$/.test(b(H));)re+=H.pop().length;if(H.length>0&&typeof b(H)=="string"){let ne=b(H).replace(/[\t ]*$/,"");re+=b(H).length-ne.length,H[H.length-1]=ne}return re}function W(H,re,ne,ue,R,B){let O=re.length,P=[H],D=[];for(;ne>=0;){if(P.length===0){if(O===0)return!0;P.push(re[O-1]),O--;continue}let[$,z,U]=P.pop();if(typeof U=="string")D.push(U),ne-=v(U);else if(C(U)){let se=F(U);for(let ae=se.length-1;ae>=0;ae--)P.push([$,z,se[ae]])}else switch(U.type){case"indent":P.push([T($,ue),z,U.contents]);break;case"align":P.push([j($,U.n,ue),z,U.contents]);break;case"trim":ne+=ie(D);break;case"group":{if(B&&U.break)return!1;let se=U.break?_:z;P.push([$,se,U.expandedStates&&se===_?b(U.expandedStates):U.contents]),U.id&&(M[U.id]=se);break}case"fill":for(let se=U.parts.length-1;se>=0;se--)P.push([$,z,U.parts[se]]);break;case"if-break":case"indent-if-break":{let se=U.groupId?M[U.groupId]:z;if(se===_){let ae=U.type==="if-break"?U.breakContents:U.negate?U.contents:y(U.contents);ae&&P.push([$,z,ae])}if(se===I){let ae=U.type==="if-break"?U.flatContents:U.negate?y(U.contents):U.contents;ae&&P.push([$,z,ae])}break}case"line":switch(z){case I:if(!U.hard){U.soft||(D.push(" "),ne-=1);break}return!0;case _:return!0}break;case"line-suffix":R=!0;break;case"line-suffix-boundary":if(R)return!1;break;case"label":P.push([$,z,U.contents]);break}}return!1}function Y(H,re){M={};let ne=re.printWidth,ue=d(re.endOfLine),R=0,B=[[k(),_,H]],O=[],P=!1,D=[];for(;B.length>0;){let[z,U,se]=B.pop();if(typeof se=="string"){let ae=ue!==`
33
- `?se.replace(/\n/g,ue):se;O.push(ae),R+=v(ae)}else if(C(se)){let ae=F(se);for(let de=ae.length-1;de>=0;de--)B.push([z,U,ae[de]])}else switch(se.type){case"cursor":O.push(p.placeholder);break;case"indent":B.push([T(z,re),U,se.contents]);break;case"align":B.push([j(z,se.n,re),U,se.contents]);break;case"trim":R-=ie(O);break;case"group":switch(U){case I:if(!P){B.push([z,se.break?_:I,se.contents]);break}case _:{P=!1;let ae=[z,I,se.contents],de=ne-R,xe=D.length>0;if(!se.break&&W(ae,B,de,re,xe))B.push(ae);else if(se.expandedStates){let be=b(se.expandedStates);if(se.break){B.push([z,_,be]);break}else for(let je=1;je<se.expandedStates.length+1;je++)if(je>=se.expandedStates.length){B.push([z,_,be]);break}else{let oe=se.expandedStates[je],Ie=[z,I,oe];if(W(Ie,B,de,re,xe)){B.push(Ie);break}}}else B.push([z,_,se.contents]);break}}se.id&&(M[se.id]=b(B)[1]);break;case"fill":{let ae=ne-R,{parts:de}=se;if(de.length===0)break;let[xe,be]=de,je=[z,I,xe],oe=[z,_,xe],Ie=W(je,[],ae,re,D.length>0,!0);if(de.length===1){Ie?B.push(je):B.push(oe);break}let rt=[z,I,be],Te=[z,_,be];if(de.length===2){Ie?B.push(rt,je):B.push(Te,oe);break}de.splice(0,2);let Pe=[z,U,c(de)],Ke=de[0];W([z,I,[xe,be,Ke]],[],ae,re,D.length>0,!0)?B.push(Pe,rt,je):Ie?B.push(Pe,Te,je):B.push(Pe,Te,oe);break}case"if-break":case"indent-if-break":{let ae=se.groupId?M[se.groupId]:U;if(ae===_){let de=se.type==="if-break"?se.breakContents:se.negate?se.contents:y(se.contents);de&&B.push([z,U,de])}if(ae===I){let de=se.type==="if-break"?se.flatContents:se.negate?y(se.contents):se.contents;de&&B.push([z,U,de])}break}case"line-suffix":D.push([z,U,se.contents]);break;case"line-suffix-boundary":D.length>0&&B.push([z,U,{type:"line",hard:!0}]);break;case"line":switch(U){case I:if(se.hard)P=!0;else{se.soft||(O.push(" "),R+=1);break}case _:if(D.length>0){B.push([z,U,se],...D.reverse()),D=[];break}se.literal?z.root?(O.push(ue,z.root.value),R=z.root.length):(O.push(ue),R=0):(R-=ie(O),O.push(ue+z.value),R=z.length);break}break;case"label":B.push([z,U,se.contents]);break}B.length===0&&D.length>0&&(B.push(...D.reverse()),D=[])}let $=O.indexOf(p.placeholder);if($!==-1){let z=O.indexOf(p.placeholder,$+1),U=O.slice(0,$).join(""),se=O.slice($+1,z).join(""),ae=O.slice(z+1).join("");return{formatted:U+se+ae,cursorNodeStart:U.length,cursorNodeText:se}}return{formatted:O.join("")}}w.exports={printDocToString:Y}}}),Ci=He({"src/document/doc-debug.js"(x,w){Je();var{isConcat:d,getDocParts:b}=ii();function v(p){if(!p)return"";if(d(p)){let y=[];for(let C of b(p))if(d(C))y.push(...v(C).parts);else{let F=v(C);F!==""&&y.push(F)}return{type:"concat",parts:y}}return p.type==="if-break"?Object.assign(Object.assign({},p),{},{breakContents:v(p.breakContents),flatContents:v(p.flatContents)}):p.type==="group"?Object.assign(Object.assign({},p),{},{contents:v(p.contents),expandedStates:p.expandedStates&&p.expandedStates.map(v)}):p.type==="fill"?{type:"fill",parts:p.parts.map(v)}:p.contents?Object.assign(Object.assign({},p),{},{contents:v(p.contents)}):p}function c(p){let y=Object.create(null),C=new Set;return F(v(p));function F(_,I,k){if(typeof _=="string")return JSON.stringify(_);if(d(_)){let T=b(_).map(F).filter(Boolean);return T.length===1?T[0]:"[".concat(T.join(", "),"]")}if(_.type==="line"){let T=Array.isArray(k)&&k[I+1]&&k[I+1].type==="break-parent";return _.literal?T?"literalline":"literallineWithoutBreakParent":_.hard?T?"hardline":"hardlineWithoutBreakParent":_.soft?"softline":"line"}if(_.type==="break-parent")return Array.isArray(k)&&k[I-1]&&k[I-1].type==="line"&&k[I-1].hard?void 0:"breakParent";if(_.type==="trim")return"trim";if(_.type==="indent")return"indent("+F(_.contents)+")";if(_.type==="align")return _.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+F(_.contents)+")":_.n<0?"dedent("+F(_.contents)+")":_.n.type==="root"?"markAsRoot("+F(_.contents)+")":"align("+JSON.stringify(_.n)+", "+F(_.contents)+")";if(_.type==="if-break")return"ifBreak("+F(_.breakContents)+(_.flatContents?", "+F(_.flatContents):"")+(_.groupId?(_.flatContents?"":', ""')+", { groupId: ".concat(M(_.groupId)," }"):"")+")";if(_.type==="indent-if-break"){let T=[];_.negate&&T.push("negate: true"),_.groupId&&T.push("groupId: ".concat(M(_.groupId)));let j=T.length>0?", { ".concat(T.join(", ")," }"):"";return"indentIfBreak(".concat(F(_.contents)).concat(j,")")}if(_.type==="group"){let T=[];_.break&&_.break!=="propagated"&&T.push("shouldBreak: true"),_.id&&T.push("id: ".concat(M(_.id)));let j=T.length>0?", { ".concat(T.join(", ")," }"):"";return _.expandedStates?"conditionalGroup([".concat(_.expandedStates.map(te=>F(te)).join(","),"]").concat(j,")"):"group(".concat(F(_.contents)).concat(j,")")}if(_.type==="fill")return"fill([".concat(_.parts.map(T=>F(T)).join(", "),"])");if(_.type==="line-suffix")return"lineSuffix("+F(_.contents)+")";if(_.type==="line-suffix-boundary")return"lineSuffixBoundary";if(_.type==="label")return"label(".concat(JSON.stringify(_.label),", ").concat(F(_.contents),")");throw new Error("Unknown doc type "+_.type)}function M(_){if(typeof _!="symbol")return JSON.stringify(String(_));if(_ in y)return y[_];let I=String(_).slice(7,-1)||"symbol";for(let k=0;;k++){let T=I+(k>0?" #".concat(k):"");if(!C.has(T))return C.add(T),y[_]="Symbol.for(".concat(JSON.stringify(T),")")}}}w.exports={printDocToDebug:c}}}),bn=He({"src/document/index.js"(x,w){Je(),w.exports={builders:Be(),printer:Qr(),utils:ii(),debug:Ci()}}}),pa=He({"vendors/escape-string-regexp.js"(x,w){Je();var d=Object.defineProperty,b=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,p=(_,I)=>{for(var k in I)d(_,k,{get:I[k],enumerable:!0})},y=(_,I,k,T)=>{if(I&&typeof I=="object"||typeof I=="function")for(let j of v(I))!c.call(_,j)&&j!==k&&d(_,j,{get:()=>I[j],enumerable:!(T=b(I,j))||T.enumerable});return _},C=_=>y(d({},"__esModule",{value:!0}),_),F={};p(F,{default:()=>M}),w.exports=C(F);function M(_){if(typeof _!="string")throw new TypeError("Expected a string");return _.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}}}),Co=He({"node_modules/semver/internal/debug.js"(x,w){Je();var d=typeof Nn=="object"&&Nn.env&&Nn.env.NODE_DEBUG&&/\bsemver\b/i.test(Nn.env.NODE_DEBUG)?function(){for(var b=arguments.length,v=new Array(b),c=0;c<b;c++)v[c]=arguments[c];return console.error("SEMVER",...v)}:()=>{};w.exports=d}}),Ha=He({"node_modules/semver/internal/constants.js"(x,w){Je();var d="2.0.0",b=256,v=Number.MAX_SAFE_INTEGER||9007199254740991,c=16;w.exports={SEMVER_SPEC_VERSION:d,MAX_LENGTH:b,MAX_SAFE_INTEGER:v,MAX_SAFE_COMPONENT_LENGTH:c}}}),Nu=He({"node_modules/semver/internal/re.js"(x,w){Je();var{MAX_SAFE_COMPONENT_LENGTH:d}=Ha(),b=Co();x=w.exports={};var v=x.re=[],c=x.src=[],p=x.t={},y=0,C=(F,M,_)=>{let I=y++;b(I,M),p[F]=I,c[I]=M,v[I]=new RegExp(M,_?"g":void 0)};C("NUMERICIDENTIFIER","0|[1-9]\\d*"),C("NUMERICIDENTIFIERLOOSE","[0-9]+"),C("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),C("MAINVERSION","(".concat(c[p.NUMERICIDENTIFIER],")\\.(").concat(c[p.NUMERICIDENTIFIER],")\\.(").concat(c[p.NUMERICIDENTIFIER],")")),C("MAINVERSIONLOOSE","(".concat(c[p.NUMERICIDENTIFIERLOOSE],")\\.(").concat(c[p.NUMERICIDENTIFIERLOOSE],")\\.(").concat(c[p.NUMERICIDENTIFIERLOOSE],")")),C("PRERELEASEIDENTIFIER","(?:".concat(c[p.NUMERICIDENTIFIER],"|").concat(c[p.NONNUMERICIDENTIFIER],")")),C("PRERELEASEIDENTIFIERLOOSE","(?:".concat(c[p.NUMERICIDENTIFIERLOOSE],"|").concat(c[p.NONNUMERICIDENTIFIER],")")),C("PRERELEASE","(?:-(".concat(c[p.PRERELEASEIDENTIFIER],"(?:\\.").concat(c[p.PRERELEASEIDENTIFIER],")*))")),C("PRERELEASELOOSE","(?:-?(".concat(c[p.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(c[p.PRERELEASEIDENTIFIERLOOSE],")*))")),C("BUILDIDENTIFIER","[0-9A-Za-z-]+"),C("BUILD","(?:\\+(".concat(c[p.BUILDIDENTIFIER],"(?:\\.").concat(c[p.BUILDIDENTIFIER],")*))")),C("FULLPLAIN","v?".concat(c[p.MAINVERSION]).concat(c[p.PRERELEASE],"?").concat(c[p.BUILD],"?")),C("FULL","^".concat(c[p.FULLPLAIN],"$")),C("LOOSEPLAIN","[v=\\s]*".concat(c[p.MAINVERSIONLOOSE]).concat(c[p.PRERELEASELOOSE],"?").concat(c[p.BUILD],"?")),C("LOOSE","^".concat(c[p.LOOSEPLAIN],"$")),C("GTLT","((?:<|>)?=?)"),C("XRANGEIDENTIFIERLOOSE","".concat(c[p.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),C("XRANGEIDENTIFIER","".concat(c[p.NUMERICIDENTIFIER],"|x|X|\\*")),C("XRANGEPLAIN","[v=\\s]*(".concat(c[p.XRANGEIDENTIFIER],")(?:\\.(").concat(c[p.XRANGEIDENTIFIER],")(?:\\.(").concat(c[p.XRANGEIDENTIFIER],")(?:").concat(c[p.PRERELEASE],")?").concat(c[p.BUILD],"?)?)?")),C("XRANGEPLAINLOOSE","[v=\\s]*(".concat(c[p.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(c[p.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(c[p.XRANGEIDENTIFIERLOOSE],")(?:").concat(c[p.PRERELEASELOOSE],")?").concat(c[p.BUILD],"?)?)?")),C("XRANGE","^".concat(c[p.GTLT],"\\s*").concat(c[p.XRANGEPLAIN],"$")),C("XRANGELOOSE","^".concat(c[p.GTLT],"\\s*").concat(c[p.XRANGEPLAINLOOSE],"$")),C("COERCE","(^|[^\\d])(\\d{1,".concat(d,"})(?:\\.(\\d{1,").concat(d,"}))?(?:\\.(\\d{1,").concat(d,"}))?(?:$|[^\\d])")),C("COERCERTL",c[p.COERCE],!0),C("LONETILDE","(?:~>?)"),C("TILDETRIM","(\\s*)".concat(c[p.LONETILDE],"\\s+"),!0),x.tildeTrimReplace="$1~",C("TILDE","^".concat(c[p.LONETILDE]).concat(c[p.XRANGEPLAIN],"$")),C("TILDELOOSE","^".concat(c[p.LONETILDE]).concat(c[p.XRANGEPLAINLOOSE],"$")),C("LONECARET","(?:\\^)"),C("CARETTRIM","(\\s*)".concat(c[p.LONECARET],"\\s+"),!0),x.caretTrimReplace="$1^",C("CARET","^".concat(c[p.LONECARET]).concat(c[p.XRANGEPLAIN],"$")),C("CARETLOOSE","^".concat(c[p.LONECARET]).concat(c[p.XRANGEPLAINLOOSE],"$")),C("COMPARATORLOOSE","^".concat(c[p.GTLT],"\\s*(").concat(c[p.LOOSEPLAIN],")$|^$")),C("COMPARATOR","^".concat(c[p.GTLT],"\\s*(").concat(c[p.FULLPLAIN],")$|^$")),C("COMPARATORTRIM","(\\s*)".concat(c[p.GTLT],"\\s*(").concat(c[p.LOOSEPLAIN],"|").concat(c[p.XRANGEPLAIN],")"),!0),x.comparatorTrimReplace="$1$2$3",C("HYPHENRANGE","^\\s*(".concat(c[p.XRANGEPLAIN],")\\s+-\\s+(").concat(c[p.XRANGEPLAIN],")\\s*$")),C("HYPHENRANGELOOSE","^\\s*(".concat(c[p.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(c[p.XRANGEPLAINLOOSE],")\\s*$")),C("STAR","(<|>)?=?\\s*\\*"),C("GTE0","^\\s*>=\\s*0.0.0\\s*$"),C("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}}),Zs=He({"node_modules/semver/internal/parse-options.js"(x,w){Je();var d=["includePrerelease","loose","rtl"],b=v=>v?typeof v!="object"?{loose:!0}:d.filter(c=>v[c]).reduce((c,p)=>(c[p]=!0,c),{}):{};w.exports=b}}),Ua=He({"node_modules/semver/internal/identifiers.js"(x,w){Je();var d=/^[0-9]+$/,b=(c,p)=>{let y=d.test(c),C=d.test(p);return y&&C&&(c=+c,p=+p),c===p?0:y&&!C?-1:C&&!y?1:c<p?-1:1},v=(c,p)=>b(p,c);w.exports={compareIdentifiers:b,rcompareIdentifiers:v}}}),Bu=He({"node_modules/semver/classes/semver.js"(x,w){Je();var d=Co(),{MAX_LENGTH:b,MAX_SAFE_INTEGER:v}=Ha(),{re:c,t:p}=Nu(),y=Zs(),{compareIdentifiers:C}=Ua(),F=class{constructor(M,_){if(_=y(_),M instanceof F){if(M.loose===!!_.loose&&M.includePrerelease===!!_.includePrerelease)return M;M=M.version}else if(typeof M!="string")throw new TypeError("Invalid Version: ".concat(M));if(M.length>b)throw new TypeError("version is longer than ".concat(b," characters"));d("SemVer",M,_),this.options=_,this.loose=!!_.loose,this.includePrerelease=!!_.includePrerelease;let I=M.trim().match(_.loose?c[p.LOOSE]:c[p.FULL]);if(!I)throw new TypeError("Invalid Version: ".concat(M));if(this.raw=M,this.major=+I[1],this.minor=+I[2],this.patch=+I[3],this.major>v||this.major<0)throw new TypeError("Invalid major version");if(this.minor>v||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>v||this.patch<0)throw new TypeError("Invalid patch version");I[4]?this.prerelease=I[4].split(".").map(k=>{if(/^[0-9]+$/.test(k)){let T=+k;if(T>=0&&T<v)return T}return k}):this.prerelease=[],this.build=I[5]?I[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(M){if(d("SemVer.compare",this.version,this.options,M),!(M instanceof F)){if(typeof M=="string"&&M===this.version)return 0;M=new F(M,this.options)}return M.version===this.version?0:this.compareMain(M)||this.comparePre(M)}compareMain(M){return M instanceof F||(M=new F(M,this.options)),C(this.major,M.major)||C(this.minor,M.minor)||C(this.patch,M.patch)}comparePre(M){if(M instanceof F||(M=new F(M,this.options)),this.prerelease.length&&!M.prerelease.length)return-1;if(!this.prerelease.length&&M.prerelease.length)return 1;if(!this.prerelease.length&&!M.prerelease.length)return 0;let _=0;do{let I=this.prerelease[_],k=M.prerelease[_];if(d("prerelease compare",_,I,k),I===void 0&&k===void 0)return 0;if(k===void 0)return 1;if(I===void 0)return-1;if(I!==k)return C(I,k)}while(++_)}compareBuild(M){M instanceof F||(M=new F(M,this.options));let _=0;do{let I=this.build[_],k=M.build[_];if(d("prerelease compare",_,I,k),I===void 0&&k===void 0)return 0;if(k===void 0)return 1;if(I===void 0)return-1;if(I!==k)return C(I,k)}while(++_)}inc(M,_){switch(M){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",_);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",_);break;case"prepatch":this.prerelease.length=0,this.inc("patch",_),this.inc("pre",_);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",_),this.inc("pre",_);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 I=this.prerelease.length;for(;--I>=0;)typeof this.prerelease[I]=="number"&&(this.prerelease[I]++,I=-2);I===-1&&this.prerelease.push(0)}_&&(this.prerelease[0]===_?isNaN(this.prerelease[1])&&(this.prerelease=[_,0]):this.prerelease=[_,0]);break;default:throw new Error("invalid increment argument: ".concat(M))}return this.format(),this.raw=this.version,this}};w.exports=F}}),ea=He({"node_modules/semver/functions/compare.js"(x,w){Je();var d=Bu(),b=(v,c,p)=>new d(v,p).compare(new d(c,p));w.exports=b}}),_u=He({"node_modules/semver/functions/lt.js"(x,w){Je();var d=ea(),b=(v,c,p)=>d(v,c,p)<0;w.exports=b}}),Ou=He({"node_modules/semver/functions/gte.js"(x,w){Je();var d=ea(),b=(v,c,p)=>d(v,c,p)>=0;w.exports=b}}),Pu=He({"src/utils/arrayify.js"(x,w){Je(),w.exports=(d,b)=>Object.entries(d).map(v=>{let[c,p]=v;return Object.assign({[b]:c},p)})}}),ju=He({"node_modules/outdent/lib/index.js"(x,w){Je(),Object.defineProperty(x,"__esModule",{value:!0}),x.outdent=void 0;function d(){for(var W=[],Y=0;Y<arguments.length;Y++)W[Y]=arguments[Y]}function b(){return typeof WeakMap<"u"?new WeakMap:v()}function v(){return{add:d,delete:d,get:d,set:d,has:function(W){return!1}}}var c=Object.prototype.hasOwnProperty,p=function(W,Y){return c.call(W,Y)};function y(W,Y){for(var H in Y)p(Y,H)&&(W[H]=Y[H]);return W}var C=/^[ \t]*(?:\r\n|\r|\n)/,F=/(?:\r\n|\r|\n)[ \t]*$/,M=/^(?:[\r\n]|$)/,_=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,I=/^[ \t]*[\r\n][ \t\r\n]*$/;function k(W,Y,H){var re=0,ne=W[0].match(_);ne&&(re=ne[1].length);var ue="(\\r\\n|\\r|\\n).{0,"+re+"}",R=new RegExp(ue,"g");Y&&(W=W.slice(1));var B=H.newline,O=H.trimLeadingNewline,P=H.trimTrailingNewline,D=typeof B=="string",$=W.length,z=W.map(function(U,se){return U=U.replace(R,"$1"),se===0&&O&&(U=U.replace(C,"")),se===$-1&&P&&(U=U.replace(F,"")),D&&(U=U.replace(/\r\n|\n|\r/g,function(ae){return B})),U});return z}function T(W,Y){for(var H="",re=0,ne=W.length;re<ne;re++)H+=W[re],re<ne-1&&(H+=Y[re]);return H}function j(W){return p(W,"raw")&&p(W,"length")}function te(W){var Y=b(),H=b();function re(ue){for(var R=[],B=1;B<arguments.length;B++)R[B-1]=arguments[B];if(j(ue)){var O=ue,P=(R[0]===re||R[0]===ie)&&I.test(O[0])&&M.test(O[1]),D=P?H:Y,$=D.get(O);if($||($=k(O,P,W),D.set(O,$)),R.length===0)return $[0];var z=T($,P?R.slice(1):R);return z}else return te(y(y({},W),ue||{}))}var ne=y(re,{string:function(ue){return k([ue],!1,W)[0]}});return ne}var ie=te({trimLeadingNewline:!0,trimTrailingNewline:!0});if(x.outdent=ie,x.default=ie,typeof w<"u")try{w.exports=ie,Object.defineProperty(ie,"__esModule",{value:!0}),ie.default=ie,ie.outdent=ie}catch{}}}),El=He({"src/main/core-options.js"(x,w){Je();var{outdent:d}=ju(),b="Config",v="Editor",c="Format",p="Other",y="Output",C="Global",F="Special",M={cursorOffset:{since:"1.4.0",category:F,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:d(Bt||(Bt=tn([`
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:v},endOfLine:{since:"1.15.0",category:C,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:d(Vt||(Vt=tn([`
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:F,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:p,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:F,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:p},parser:{since:"0.0.10",category:C,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:_=>typeof _=="string"||typeof _=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:C,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:_=>typeof _=="string"||typeof _=="object",cliName:"plugin",cliCategory:b},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:C,description:d(or||(or=tn([`
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:_=>typeof _=="string"||typeof _=="object",cliName:"plugin-search-dir",cliCategory:b},printWidth:{since:"0.0.0",category:C,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:F,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:d(yr||(yr=tn([`
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:v},rangeStart:{since:"1.4.0",category:F,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:d(Br||(Br=tn([`
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:v},requirePragma:{since:"1.7.0",category:F,type:"boolean",default:!1,description:d(zr||(zr=tn([`
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:p},tabWidth:{type:"int",category:C,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:C,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:C,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};w.exports={CATEGORY_CONFIG:b,CATEGORY_EDITOR:v,CATEGORY_FORMAT:c,CATEGORY_OTHER:p,CATEGORY_OUTPUT:y,CATEGORY_GLOBAL:C,CATEGORY_SPECIAL:F,options:M}}}),$a=He({"src/main/support.js"(x,w){Je();var d={compare:ea(),lt:_u(),gte:Ou()},b=Pu(),v=xo().version,c=El().options;function p(){let{plugins:C=[],showUnreleased:F=!1,showDeprecated:M=!1,showInternal:_=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=v.split("-",1)[0],k=C.flatMap(W=>W.languages||[]).filter(j),T=b(Object.assign({},...C.map(W=>{let{options:Y}=W;return Y}),c),"name").filter(W=>j(W)&&te(W)).sort((W,Y)=>W.name===Y.name?0:W.name<Y.name?-1:1).map(ie).map(W=>{W=Object.assign({},W),Array.isArray(W.default)&&(W.default=W.default.length===1?W.default[0].value:W.default.filter(j).sort((H,re)=>d.compare(re.since,H.since))[0].value),Array.isArray(W.choices)&&(W.choices=W.choices.filter(H=>j(H)&&te(H)),W.name==="parser"&&y(W,k,C));let Y=Object.fromEntries(C.filter(H=>H.defaultOptions&&H.defaultOptions[W.name]!==void 0).map(H=>[H.name,H.defaultOptions[W.name]]));return Object.assign(Object.assign({},W),{},{pluginDefaults:Y})});return{languages:k,options:T};function j(W){return F||!("since"in W)||W.since&&d.gte(I,W.since)}function te(W){return M||!("deprecated"in W)||W.deprecated&&d.lt(I,W.deprecated)}function ie(W){return _?W:Yr(W,pt)}}function y(C,F,M){let _=new Set(C.choices.map(I=>I.value));for(let I of F)if(I.parsers){for(let k of I.parsers)if(!_.has(k)){_.add(k);let T=M.find(te=>te.parsers&&te.parsers[k]),j=I.name;T&&T.name&&(j+=" (plugin: ".concat(T.name,")")),C.choices.push({value:k,description:j})}}}w.exports={getSupportInfo:p}}}),fa=He({"src/utils/is-non-empty-array.js"(x,w){Je();function d(b){return Array.isArray(b)&&b.length>0}w.exports=d}}),Eo=He({"src/utils/text/skip.js"(x,w){Je();function d(y){return(C,F,M)=>{let _=M&&M.backwards;if(F===!1)return!1;let{length:I}=C,k=F;for(;k>=0&&k<I;){let T=C.charAt(k);if(y instanceof RegExp){if(!y.test(T))return k}else if(!y.includes(T))return k;_?k--:k++}return k===-1||k===I?k:!1}}var b=d(/\s/),v=d(" "),c=d(",; "),p=d(/[^\n\r]/);w.exports={skipWhitespace:b,skipSpaces:v,skipToLineEnd:c,skipEverythingButNewLine:p}}}),wl=He({"src/utils/text/skip-inline-comment.js"(x,w){Je();function d(b,v){if(v===!1)return!1;if(b.charAt(v)==="/"&&b.charAt(v+1)==="*"){for(let c=v+2;c<b.length;++c)if(b.charAt(c)==="*"&&b.charAt(c+1)==="/")return c+2}return v}w.exports=d}}),Iu=He({"src/utils/text/skip-trailing-comment.js"(x,w){Je();var{skipEverythingButNewLine:d}=Eo();function b(v,c){return c===!1?!1:v.charAt(c)==="/"&&v.charAt(c+1)==="/"?d(v,c):c}w.exports=b}}),da=He({"src/utils/text/skip-newline.js"(x,w){Je();function d(b,v,c){let p=c&&c.backwards;if(v===!1)return!1;let y=b.charAt(v);if(p){if(b.charAt(v-1)==="\r"&&y===`
55
- `)return v-2;if(y===`
56
- `||y==="\r"||y==="\u2028"||y==="\u2029")return v-1}else{if(y==="\r"&&b.charAt(v+1)===`
57
- `)return v+2;if(y===`
58
- `||y==="\r"||y==="\u2028"||y==="\u2029")return v+1}return v}w.exports=d}}),ta=He({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(x,w){Je();var d=wl(),b=da(),v=Iu(),{skipSpaces:c}=Eo();function p(y,C){let F=null,M=C;for(;M!==F;)F=M,M=c(y,M),M=d(y,M),M=v(y,M),M=b(y,M);return M}w.exports=p}}),jn=He({"src/common/util.js"(x,w){Je();var{default:d}=pa(),b=fr(),{getSupportInfo:v}=$a(),c=fa(),p=Yn(),{skipWhitespace:y,skipSpaces:C,skipToLineEnd:F,skipEverythingButNewLine:M}=Eo(),_=wl(),I=Iu(),k=da(),T=ta(),j=Te=>Te[Te.length-2];function te(Te){return(Pe,Ke,Ue)=>{let et=Ue&&Ue.backwards;if(Ke===!1)return!1;let{length:it}=Pe,Fe=Ke;for(;Fe>=0&&Fe<it;){let ut=Pe.charAt(Fe);if(Te instanceof RegExp){if(!Te.test(ut))return Fe}else if(!Te.includes(ut))return Fe;et?Fe--:Fe++}return Fe===-1||Fe===it?Fe:!1}}function ie(Te,Pe){let Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ue=C(Te,Ke.backwards?Pe-1:Pe,Ke),et=k(Te,Ue,Ke);return Ue!==et}function W(Te,Pe,Ke){for(let Ue=Pe;Ue<Ke;++Ue)if(Te.charAt(Ue)===`
59
- `)return!0;return!1}function Y(Te,Pe,Ke){let Ue=Ke(Pe)-1;Ue=C(Te,Ue,{backwards:!0}),Ue=k(Te,Ue,{backwards:!0}),Ue=C(Te,Ue,{backwards:!0});let et=k(Te,Ue,{backwards:!0});return Ue!==et}function H(Te,Pe){let Ke=null,Ue=Pe;for(;Ue!==Ke;)Ke=Ue,Ue=F(Te,Ue),Ue=_(Te,Ue),Ue=C(Te,Ue);return Ue=I(Te,Ue),Ue=k(Te,Ue),Ue!==!1&&ie(Te,Ue)}function re(Te,Pe,Ke){return H(Te,Ke(Pe))}function ne(Te,Pe,Ke){return T(Te,Ke(Pe))}function ue(Te,Pe,Ke){return Te.charAt(ne(Te,Pe,Ke))}function R(Te,Pe){let Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return C(Te,Ke.backwards?Pe-1:Pe,Ke)!==Pe}function B(Te,Pe){let Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Ue=0;for(let et=Ke;et<Te.length;++et)Te[et]===" "?Ue=Ue+Pe-Ue%Pe:Ue++;return Ue}function O(Te,Pe){let Ke=Te.lastIndexOf(`
60
- `);return Ke===-1?0:B(Te.slice(Ke+1).match(/^[\t ]*/)[0],Pe)}function P(Te,Pe){let Ke={quote:'"',regex:/"/g,escaped:"&quot;"},Ue={quote:"'",regex:/'/g,escaped:"&apos;"},et=Pe==="'"?Ue:Ke,it=et===Ue?Ke:Ue,Fe=et;if(Te.includes(et.quote)||Te.includes(it.quote)){let ut=(Te.match(et.regex)||[]).length,Qe=(Te.match(it.regex)||[]).length;Fe=ut>Qe?it:et}return Fe}function D(Te,Pe){let Ke=Te.slice(1,-1),Ue=Pe.parser==="json"||Pe.parser==="json5"&&Pe.quoteProps==="preserve"&&!Pe.singleQuote?'"':Pe.__isInHtmlAttribute?"'":P(Ke,Pe.singleQuote?"'":'"').quote;return $(Ke,Ue,!(Pe.parser==="css"||Pe.parser==="less"||Pe.parser==="scss"||Pe.__embeddedInHtml))}function $(Te,Pe,Ke){let Ue=Pe==='"'?"'":'"',et=/\\(.)|(["'])/gs,it=Te.replace(et,(Fe,ut,Qe)=>ut===Ue?ut:Qe===Pe?"\\"+Qe:Qe||(Ke&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(ut)?ut:"\\"+ut));return Pe+it+Pe}function z(Te){return Te.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function U(Te,Pe){let Ke=Te.match(new RegExp("(".concat(d(Pe),")+"),"g"));return Ke===null?0:Ke.reduce((Ue,et)=>Math.max(Ue,et.length/Pe.length),0)}function se(Te,Pe){let Ke=Te.match(new RegExp("(".concat(d(Pe),")+"),"g"));if(Ke===null)return 0;let Ue=new Map,et=0;for(let it of Ke){let Fe=it.length/Pe.length;Ue.set(Fe,!0),Fe>et&&(et=Fe)}for(let it=1;it<et;it++)if(!Ue.get(it))return it;return et+1}function ae(Te,Pe){(Te.comments||(Te.comments=[])).push(Pe),Pe.printed=!1,Pe.nodeDescription=rt(Te)}function de(Te,Pe){Pe.leading=!0,Pe.trailing=!1,ae(Te,Pe)}function xe(Te,Pe,Ke){Pe.leading=!1,Pe.trailing=!1,Ke&&(Pe.marker=Ke),ae(Te,Pe)}function be(Te,Pe){Pe.leading=!1,Pe.trailing=!0,ae(Te,Pe)}function je(Te,Pe){let{languages:Ke}=v({plugins:Pe.plugins}),Ue=Ke.find(et=>{let{name:it}=et;return it.toLowerCase()===Te})||Ke.find(et=>{let{aliases:it}=et;return Array.isArray(it)&&it.includes(Te)})||Ke.find(et=>{let{extensions:it}=et;return Array.isArray(it)&&it.includes(".".concat(Te))});return Ue&&Ue.parsers[0]}function oe(Te){return Te&&Te.type==="front-matter"}function Ie(Te){let Pe=new WeakMap;return function(Ke){return Pe.has(Ke)||Pe.set(Ke,Symbol(Te)),Pe.get(Ke)}}function rt(Te){let Pe=Te.type||Te.kind||"(unknown type)",Ke=String(Te.name||Te.id&&(typeof Te.id=="object"?Te.id.name:Te.id)||Te.key&&(typeof Te.key=="object"?Te.key.name:Te.key)||Te.value&&(typeof Te.value=="object"?"":String(Te.value))||Te.operator||"");return Ke.length>20&&(Ke=Ke.slice(0,19)+"\u2026"),Pe+(Ke?" "+Ke:"")}w.exports={inferParserByLanguage:je,getStringWidth:p,getMaxContinuousCount:U,getMinNotPresentContinuousCount:se,getPenultimate:j,getLast:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:T,getNextNonSpaceNonCommentCharacterIndex:ne,getNextNonSpaceNonCommentCharacter:ue,skip:te,skipWhitespace:y,skipSpaces:C,skipToLineEnd:F,skipEverythingButNewLine:M,skipInlineComment:_,skipTrailingComment:I,skipNewline:k,isNextLineEmptyAfterIndex:H,isNextLineEmpty:re,isPreviousLineEmpty:Y,hasNewline:ie,hasNewlineInRange:W,hasSpaces:R,getAlignmentSize:B,getIndentSize:O,getPreferredQuote:P,printString:D,printNumber:z,makeString:$,addLeadingComment:de,addDanglingComment:xe,addTrailingComment:be,isFrontMatterNode:oe,isNonEmptyArray:c,createGroupIdMapper:Ie}}}),Al={};$n(Al,{basename:()=>io,default:()=>Ka,delimiter:()=>qa,dirname:()=>Bo,extname:()=>_o,isAbsolute:()=>Ga,join:()=>Fl,normalize:()=>ha,relative:()=>No,resolve:()=>Va,sep:()=>Os});function Sl(x,w){for(var d=0,b=x.length-1;b>=0;b--){var v=x[b];v==="."?x.splice(b,1):v===".."?(x.splice(b,1),d++):d&&(x.splice(b,1),d--)}if(w)for(;d--;d)x.unshift("..");return x}function Va(){for(var x="",w=!1,d=arguments.length-1;d>=-1&&!w;d--){var b=d>=0?arguments[d]:"/";if(typeof b!="string")throw new TypeError("Arguments to path.resolve must be strings");!b||(x=b+"/"+x,w=b.charAt(0)==="/")}return x=Sl(Oo(x.split("/"),function(v){return!!v}),!w).join("/"),(w?"/":"")+x||"."}function ha(x){var w=Ga(x),d=fo(x,-1)==="/";return x=Sl(Oo(x.split("/"),function(b){return!!b}),!w).join("/"),!x&&!w&&(x="."),x&&d&&(x+="/"),(w?"/":"")+x}function Ga(x){return x.charAt(0)==="/"}function Fl(){var x=Array.prototype.slice.call(arguments,0);return ha(Oo(x,function(w,d){if(typeof w!="string")throw new TypeError("Arguments to path.join must be strings");return w}).join("/"))}function No(x,w){x=Va(x).substr(1),w=Va(w).substr(1);function d(F){for(var M=0;M<F.length&&F[M]==="";M++);for(var _=F.length-1;_>=0&&F[_]==="";_--);return M>_?[]:F.slice(M,_-M+1)}for(var b=d(x.split("/")),v=d(w.split("/")),c=Math.min(b.length,v.length),p=c,y=0;y<c;y++)if(b[y]!==v[y]){p=y;break}for(var C=[],y=p;y<b.length;y++)C.push("..");return C=C.concat(v.slice(p)),C.join("/")}function Bo(x){var w=ra(x),d=w[0],b=w[1];return!d&&!b?".":(b&&(b=b.substr(0,b.length-1)),d+b)}function io(x,w){var d=ra(x)[2];return w&&d.substr(-1*w.length)===w&&(d=d.substr(0,d.length-w.length)),d}function _o(x){return ra(x)[3]}function Oo(x,w){if(x.filter)return x.filter(w);for(var d=[],b=0;b<x.length;b++)w(x[b],b,x)&&d.push(x[b]);return d}var _s,ra,Os,qa,Ka,fo,kl=ni({"node-modules-polyfills:path"(){Je(),_s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ra=function(x){return _s.exec(x).slice(1)},Os="/",qa=":",Ka={extname:_o,basename:io,dirname:Bo,sep:Os,delimiter:qa,relative:No,join:Fl,isAbsolute:Ga,normalize:ha,resolve:Va},fo="ab".substr(-1)==="b"?function(x,w,d){return x.substr(w,d)}:function(x,w,d){return w<0&&(w=x.length+w),x.substr(w,d)}}}),Mu=He({"node-modules-polyfills-commonjs:path"(x,w){Je();var d=(kl(),xi(Al));if(d&&d.default){w.exports=d.default;for(let b in d)w.exports[b]=d[b]}else d&&(w.exports=d)}}),ys=He({"src/common/errors.js"(x,w){Je();var d=class extends Error{},b=class extends Error{},v=class extends Error{},c=class extends Error{};w.exports={ConfigError:d,DebugError:b,UndefinedParserError:v,ArgExpansionBailout:c}}}),Po={};$n(Po,{__assign:()=>ru,__asyncDelegator:()=>yc,__asyncGenerator:()=>Lu,__asyncValues:()=>Ru,__await:()=>Is,__awaiter:()=>Ps,__classPrivateFieldGet:()=>eo,__classPrivateFieldSet:()=>vc,__createBinding:()=>js,__decorate:()=>Go,__exportStar:()=>Nl,__extends:()=>is,__generator:()=>Tl,__importDefault:()=>ma,__importStar:()=>eu,__makeTemplateObject:()=>Za,__metadata:()=>Ya,__param:()=>ga,__read:()=>Qa,__rest:()=>Ja,__spread:()=>na,__spreadArrays:()=>mc,__values:()=>Xa});function is(x,w){tu(x,w);function d(){this.constructor=x}x.prototype=w===null?Object.create(w):(d.prototype=w.prototype,new d)}function Ja(x,w){var d={};for(var b in x)Object.prototype.hasOwnProperty.call(x,b)&&w.indexOf(b)<0&&(d[b]=x[b]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,b=Object.getOwnPropertySymbols(x);v<b.length;v++)w.indexOf(b[v])<0&&Object.prototype.propertyIsEnumerable.call(x,b[v])&&(d[b[v]]=x[b[v]]);return d}function Go(x,w,d,b){var v=arguments.length,c=v<3?w:b===null?b=Object.getOwnPropertyDescriptor(w,d):b,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(x,w,d,b);else for(var y=x.length-1;y>=0;y--)(p=x[y])&&(c=(v<3?p(c):v>3?p(w,d,c):p(w,d))||c);return v>3&&c&&Object.defineProperty(w,d,c),c}function ga(x,w){return function(d,b){w(d,b,x)}}function Ya(x,w){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(x,w)}function Ps(x,w,d,b){function v(c){return c instanceof d?c:new d(function(p){p(c)})}return new(d||(d=Promise))(function(c,p){function y(M){try{F(b.next(M))}catch(_){p(_)}}function C(M){try{F(b.throw(M))}catch(_){p(_)}}function F(M){M.done?c(M.value):v(M.value).then(y,C)}F((b=b.apply(x,w||[])).next())})}function Tl(x,w){var d={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},b,v,c,p;return p={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function y(F){return function(M){return C([F,M])}}function C(F){if(b)throw new TypeError("Generator is already executing.");for(;d;)try{if(b=1,v&&(c=F[0]&2?v.return:F[0]?v.throw||((c=v.return)&&c.call(v),0):v.next)&&!(c=c.call(v,F[1])).done)return c;switch(v=0,c&&(F=[F[0]&2,c.value]),F[0]){case 0:case 1:c=F;break;case 4:return d.label++,{value:F[1],done:!1};case 5:d.label++,v=F[1],F=[0];continue;case 7:F=d.ops.pop(),d.trys.pop();continue;default:if(c=d.trys,!(c=c.length>0&&c[c.length-1])&&(F[0]===6||F[0]===2)){d=0;continue}if(F[0]===3&&(!c||F[1]>c[0]&&F[1]<c[3])){d.label=F[1];break}if(F[0]===6&&d.label<c[1]){d.label=c[1],c=F;break}if(c&&d.label<c[2]){d.label=c[2],d.ops.push(F);break}c[2]&&d.ops.pop(),d.trys.pop();continue}F=w.call(x,d)}catch(M){F=[6,M],v=0}finally{b=c=0}if(F[0]&5)throw F[1];return{value:F[0]?F[1]:void 0,done:!0}}}function js(x,w,d,b){b===void 0&&(b=d),x[b]=w[d]}function Nl(x,w){for(var d in x)d!=="default"&&!w.hasOwnProperty(d)&&(w[d]=x[d])}function Xa(x){var w=typeof Symbol=="function"&&Symbol.iterator,d=w&&x[w],b=0;if(d)return d.call(x);if(x&&typeof x.length=="number")return{next:function(){return x&&b>=x.length&&(x=void 0),{value:x&&x[b++],done:!x}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qa(x,w){var d=typeof Symbol=="function"&&x[Symbol.iterator];if(!d)return x;var b=d.call(x),v,c=[],p;try{for(;(w===void 0||w-- >0)&&!(v=b.next()).done;)c.push(v.value)}catch(y){p={error:y}}finally{try{v&&!v.done&&(d=b.return)&&d.call(b)}finally{if(p)throw p.error}}return c}function na(){for(var x=[],w=0;w<arguments.length;w++)x=x.concat(Qa(arguments[w]));return x}function mc(){for(var x=0,w=0,d=arguments.length;w<d;w++)x+=arguments[w].length;for(var b=Array(x),v=0,w=0;w<d;w++)for(var c=arguments[w],p=0,y=c.length;p<y;p++,v++)b[v]=c[p];return b}function Is(x){return this instanceof Is?(this.v=x,this):new Is(x)}function Lu(x,w,d){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b=d.apply(x,w||[]),v,c=[];return v={},p("next"),p("throw"),p("return"),v[Symbol.asyncIterator]=function(){return this},v;function p(I){b[I]&&(v[I]=function(k){return new Promise(function(T,j){c.push([I,k,T,j])>1||y(I,k)})})}function y(I,k){try{C(b[I](k))}catch(T){_(c[0][3],T)}}function C(I){I.value instanceof Is?Promise.resolve(I.value.v).then(F,M):_(c[0][2],I)}function F(I){y("next",I)}function M(I){y("throw",I)}function _(I,k){I(k),c.shift(),c.length&&y(c[0][0],c[0][1])}}function yc(x){var w,d;return w={},b("next"),b("throw",function(v){throw v}),b("return"),w[Symbol.iterator]=function(){return this},w;function b(v,c){w[v]=x[v]?function(p){return(d=!d)?{value:Is(x[v](p)),done:v==="return"}:c?c(p):p}:c}}function Ru(x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var w=x[Symbol.asyncIterator],d;return w?w.call(x):(x=typeof Xa=="function"?Xa(x):x[Symbol.iterator](),d={},b("next"),b("throw"),b("return"),d[Symbol.asyncIterator]=function(){return this},d);function b(c){d[c]=x[c]&&function(p){return new Promise(function(y,C){p=x[c](p),v(y,C,p.done,p.value)})}}function v(c,p,y,C){Promise.resolve(C).then(function(F){c({value:F,done:y})},p)}}function Za(x,w){return Object.defineProperty?Object.defineProperty(x,"raw",{value:w}):x.raw=w,x}function eu(x){if(x&&x.__esModule)return x;var w={};if(x!=null)for(var d in x)Object.hasOwnProperty.call(x,d)&&(w[d]=x[d]);return w.default=x,w}function ma(x){return x&&x.__esModule?x:{default:x}}function eo(x,w){if(!w.has(x))throw new TypeError("attempted to get private field on non-instance");return w.get(x)}function vc(x,w,d){if(!w.has(x))throw new TypeError("attempted to set private field on non-instance");return w.set(x,d),d}var tu,ru,to=ni({"node_modules/tslib/tslib.es6.js"(){Je(),tu=function(x,w){return tu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var v in b)b.hasOwnProperty(v)&&(d[v]=b[v])},tu(x,w)},ru=function(){return ru=Object.assign||function(x){for(var w,d=1,b=arguments.length;d<b;d++){w=arguments[d];for(var v in w)Object.prototype.hasOwnProperty.call(w,v)&&(x[v]=w[v])}return x},ru.apply(this,arguments)}}}),Pi=He({"node_modules/vnopts/lib/descriptors/api.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0}),x.apiDescriptor={key:w=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(w)?w:JSON.stringify(w),value(w){if(w===null||typeof w!="object")return JSON.stringify(w);if(Array.isArray(w))return"[".concat(w.map(b=>x.apiDescriptor.value(b)).join(", "),"]");let d=Object.keys(w);return d.length===0?"{}":"{ ".concat(d.map(b=>"".concat(x.apiDescriptor.key(b),": ").concat(x.apiDescriptor.value(w[b]))).join(", ")," }")},pair:w=>{let{key:d,value:b}=w;return x.apiDescriptor.value({[d]:b})}}}}),zu=He({"node_modules/vnopts/lib/descriptors/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=(to(),xi(Po));w.__exportStar(Pi(),x)}}),ya=He({"scripts/build/shims/chalk.cjs"(x,w){Je();var d=b=>b;d.grey=d,d.red=d,d.bold=d,d.yellow=d,d.blue=d,d.default=d,w.exports=d}}),vs=He({"node_modules/vnopts/lib/handlers/deprecated/common.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=ya();x.commonDeprecatedHandler=(d,b,v)=>{let{descriptor:c}=v,p=["".concat(w.default.yellow(typeof d=="string"?c.key(d):c.pair(d))," is deprecated")];return b&&p.push("we now treat it as ".concat(w.default.blue(typeof b=="string"?c.key(b):c.pair(b)))),p.join("; ")+"."}}}),Dc=He({"node_modules/vnopts/lib/handlers/deprecated/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=(to(),xi(Po));w.__exportStar(vs(),x)}}),nu=He({"node_modules/vnopts/lib/handlers/invalid/common.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=ya();x.commonInvalidHandler=(d,b,v)=>["Invalid ".concat(w.default.red(v.descriptor.key(d))," value."),"Expected ".concat(w.default.blue(v.schemas[d].expected(v)),","),"but received ".concat(w.default.red(v.descriptor.value(b)),".")].join(" ")}}),va=He({"node_modules/vnopts/lib/handlers/invalid/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=(to(),xi(Po));w.__exportStar(nu(),x)}}),Ms=He({"node_modules/vnopts/node_modules/leven/index.js"(x,w){Je();var d=[],b=[];w.exports=function(v,c){if(v===c)return 0;var p=v;v.length>c.length&&(v=c,c=p);var y=v.length,C=c.length;if(y===0)return C;if(C===0)return y;for(;y>0&&v.charCodeAt(~-y)===c.charCodeAt(~-C);)y--,C--;if(y===0)return C;for(var F=0;F<y&&v.charCodeAt(F)===c.charCodeAt(F);)F++;if(y-=F,C-=F,y===0)return C;for(var M,_,I,k,T=0,j=0;T<y;)b[F+T]=v.charCodeAt(F+T),d[T]=++T;for(;j<C;)for(M=c.charCodeAt(F+j),I=j++,_=j,T=0;T<y;T++)k=M===b[F+T]?I:I+1,I=d[T],_=d[T]=I>_?k>_?_+1:k:k>I?I+1:k;return _}}}),iu=He({"node_modules/vnopts/lib/handlers/unknown/leven.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=ya(),d=Ms();x.levenUnknownHandler=(b,v,c)=>{let{descriptor:p,logger:y,schemas:C}=c,F=["Ignored unknown option ".concat(w.default.yellow(p.pair({key:b,value:v})),".")],M=Object.keys(C).sort().find(_=>d(b,_)<3);M&&F.push("Did you mean ".concat(w.default.blue(p.key(M)),"?")),y.warn(F.join(" "))}}}),Wu=He({"node_modules/vnopts/lib/handlers/unknown/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=(to(),xi(Po));w.__exportStar(iu(),x)}}),Da=He({"node_modules/vnopts/lib/handlers/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=(to(),xi(Po));w.__exportStar(Dc(),x),w.__exportStar(va(),x),w.__exportStar(Wu(),x)}}),qo=He({"node_modules/vnopts/lib/schema.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function d(c,p){let y=new c(p),C=Object.create(y);for(let F of w)F in p&&(C[F]=v(p[F],y,b.prototype[F].length));return C}x.createSchema=d;var b=class{constructor(c){this.name=c.name}static create(c){return d(this,c)}default(c){}expected(c){return"nothing"}validate(c,p){return!1}deprecated(c,p){return!1}forward(c,p){}redirect(c,p){}overlap(c,p,y){return c}preprocess(c,p){return c}postprocess(c,p){return c}};x.Schema=b;function v(c,p,y){return typeof c=="function"?function(){for(var C=arguments.length,F=new Array(C),M=0;M<C;M++)F[M]=arguments[M];return c(...F.slice(0,y-1),p,...F.slice(y-1))}:()=>c}}}),jo=He({"node_modules/vnopts/lib/schemas/alias.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=qo(),d=class extends w.Schema{constructor(b){super(b),this._sourceName=b.sourceName}expected(b){return b.schemas[this._sourceName].expected(b)}validate(b,v){return v.schemas[this._sourceName].validate(b,v)}redirect(b,v){return this._sourceName}};x.AliasSchema=d}}),ba=He({"node_modules/vnopts/lib/schemas/any.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=qo(),d=class extends w.Schema{expected(){return"anything"}validate(){return!0}};x.AnySchema=d}}),Io=He({"node_modules/vnopts/lib/schemas/array.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=(to(),xi(Po)),d=qo(),b=class extends d.Schema{constructor(c){var{valueSchema:p,name:y=p.name}=c,C=w.__rest(c,["valueSchema","name"]);super(Object.assign({},C,{name:y})),this._valueSchema=p}expected(c){return"an array of ".concat(this._valueSchema.expected(c))}validate(c,p){if(!Array.isArray(c))return!1;let y=[];for(let C of c){let F=p.normalizeValidateResult(this._valueSchema.validate(C,p),C);F!==!0&&y.push(F.value)}return y.length===0?!0:{value:y}}deprecated(c,p){let y=[];for(let C of c){let F=p.normalizeDeprecatedResult(this._valueSchema.deprecated(C,p),C);F!==!1&&y.push(...F.map(M=>{let{value:_}=M;return{value:[_]}}))}return y}forward(c,p){let y=[];for(let C of c){let F=p.normalizeForwardResult(this._valueSchema.forward(C,p),C);y.push(...F.map(v))}return y}redirect(c,p){let y=[],C=[];for(let F of c){let M=p.normalizeRedirectResult(this._valueSchema.redirect(F,p),F);"remain"in M&&y.push(M.remain),C.push(...M.redirect.map(v))}return y.length===0?{redirect:C}:{redirect:C,remain:y}}overlap(c,p){return c.concat(p)}};x.ArraySchema=b;function v(c){let{from:p,to:y}=c;return{from:[p],to:y}}}}),wo=He({"node_modules/vnopts/lib/schemas/boolean.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=qo(),d=class extends w.Schema{expected(){return"true or false"}validate(b){return typeof b=="boolean"}};x.BooleanSchema=d}}),Ko=He({"node_modules/vnopts/lib/utils.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});function w(k,T){let j=Object.create(null);for(let te of k){let ie=te[T];if(j[ie])throw new Error("Duplicate ".concat(T," ").concat(JSON.stringify(ie)));j[ie]=te}return j}x.recordFromArray=w;function d(k,T){let j=new Map;for(let te of k){let ie=te[T];if(j.has(ie))throw new Error("Duplicate ".concat(T," ").concat(JSON.stringify(ie)));j.set(ie,te)}return j}x.mapFromArray=d;function b(){let k=Object.create(null);return T=>{let j=JSON.stringify(T);return k[j]?!0:(k[j]=!0,!1)}}x.createAutoChecklist=b;function v(k,T){let j=[],te=[];for(let ie of k)T(ie)?j.push(ie):te.push(ie);return[j,te]}x.partition=v;function c(k){return k===Math.floor(k)}x.isInt=c;function p(k,T){if(k===T)return 0;let j=typeof k,te=typeof T,ie=["undefined","object","boolean","number","string"];return j!==te?ie.indexOf(j)-ie.indexOf(te):j!=="string"?Number(k)-Number(T):k.localeCompare(T)}x.comparePrimitive=p;function y(k){return k===void 0?{}:k}x.normalizeDefaultResult=y;function C(k,T){return k===!0?!0:k===!1?{value:T}:k}x.normalizeValidateResult=C;function F(k,T){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return k===!1?!1:k===!0?j?!0:[{value:T}]:"value"in k?[k]:k.length===0?!1:k}x.normalizeDeprecatedResult=F;function M(k,T){return typeof k=="string"||"key"in k?{from:T,to:k}:"from"in k?{from:k.from,to:k.to}:{from:T,to:k.to}}x.normalizeTransferResult=M;function _(k,T){return k===void 0?[]:Array.isArray(k)?k.map(j=>M(j,T)):[M(k,T)]}x.normalizeForwardResult=_;function I(k,T){let j=_(typeof k=="object"&&"redirect"in k?k.redirect:k,T);return j.length===0?{remain:T,redirect:j}:typeof k=="object"&&"remain"in k?{remain:k.remain,redirect:j}:{redirect:j}}x.normalizeRedirectResult=I}}),Ls=He({"node_modules/vnopts/lib/schemas/choice.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=qo(),d=Ko(),b=class extends w.Schema{constructor(v){super(v),this._choices=d.mapFromArray(v.choices.map(c=>c&&typeof c=="object"?c:{value:c}),"value")}expected(v){let{descriptor:c}=v,p=Array.from(this._choices.keys()).map(F=>this._choices.get(F)).filter(F=>!F.deprecated).map(F=>F.value).sort(d.comparePrimitive).map(c.value),y=p.slice(0,-2),C=p.slice(-2);return y.concat(C.join(" or ")).join(", ")}validate(v){return this._choices.has(v)}deprecated(v){let c=this._choices.get(v);return c&&c.deprecated?{value:v}:!1}forward(v){let c=this._choices.get(v);return c?c.forward:void 0}redirect(v){let c=this._choices.get(v);return c?c.redirect:void 0}};x.ChoiceSchema=b}}),ou=He({"node_modules/vnopts/lib/schemas/number.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=qo(),d=class extends w.Schema{expected(){return"a number"}validate(b,v){return typeof b=="number"}};x.NumberSchema=d}}),Mo=He({"node_modules/vnopts/lib/schemas/integer.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=Ko(),d=ou(),b=class extends d.NumberSchema{expected(){return"an integer"}validate(v,c){return c.normalizeValidateResult(super.validate(v,c),v)===!0&&w.isInt(v)}};x.IntegerSchema=b}}),os=He({"node_modules/vnopts/lib/schemas/string.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=qo(),d=class extends w.Schema{expected(){return"a string"}validate(b){return typeof b=="string"}};x.StringSchema=d}}),xa=He({"node_modules/vnopts/lib/schemas/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=(to(),xi(Po));w.__exportStar(jo(),x),w.__exportStar(ba(),x),w.__exportStar(Io(),x),w.__exportStar(wo(),x),w.__exportStar(Ls(),x),w.__exportStar(Mo(),x),w.__exportStar(ou(),x),w.__exportStar(os(),x)}}),bc=He({"node_modules/vnopts/lib/defaults.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=Pi(),d=vs(),b=va(),v=iu();x.defaultDescriptor=w.apiDescriptor,x.defaultUnknownHandler=v.levenUnknownHandler,x.defaultInvalidHandler=b.commonInvalidHandler,x.defaultDeprecatedHandler=d.commonDeprecatedHandler}}),Hu=He({"node_modules/vnopts/lib/normalize.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=bc(),d=Ko();x.normalize=(v,c,p)=>new b(c,p).normalize(v);var b=class{constructor(v,c){let{logger:p=console,descriptor:y=w.defaultDescriptor,unknown:C=w.defaultUnknownHandler,invalid:F=w.defaultInvalidHandler,deprecated:M=w.defaultDeprecatedHandler}=c||{};this._utils={descriptor:y,logger:p||{warn:()=>{}},schemas:d.recordFromArray(v,"name"),normalizeDefaultResult:d.normalizeDefaultResult,normalizeDeprecatedResult:d.normalizeDeprecatedResult,normalizeForwardResult:d.normalizeForwardResult,normalizeRedirectResult:d.normalizeRedirectResult,normalizeValidateResult:d.normalizeValidateResult},this._unknownHandler=C,this._invalidHandler=F,this._deprecatedHandler=M,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=d.createAutoChecklist()}normalize(v){let c={},p=[v],y=()=>{for(;p.length!==0;){let C=p.shift(),F=this._applyNormalization(C,c);p.push(...F)}};y();for(let C of Object.keys(this._utils.schemas)){let F=this._utils.schemas[C];if(!(C in c)){let M=d.normalizeDefaultResult(F.default(this._utils));"value"in M&&p.push({[C]:M.value})}}y();for(let C of Object.keys(this._utils.schemas)){let F=this._utils.schemas[C];C in c&&(c[C]=F.postprocess(c[C],this._utils))}return c}_applyNormalization(v,c){let p=[],[y,C]=d.partition(Object.keys(v),F=>F in this._utils.schemas);for(let F of y){let M=this._utils.schemas[F],_=M.preprocess(v[F],this._utils),I=d.normalizeValidateResult(M.validate(_,this._utils),_);if(I!==!0){let{value:te}=I,ie=this._invalidHandler(F,te,this._utils);throw typeof ie=="string"?new Error(ie):ie}let k=te=>{let{from:ie,to:W}=te;p.push(typeof W=="string"?{[W]:ie}:{[W.key]:W.value})},T=te=>{let{value:ie,redirectTo:W}=te,Y=d.normalizeDeprecatedResult(M.deprecated(ie,this._utils),_,!0);if(Y!==!1)if(Y===!0)this._hasDeprecationWarned(F)||this._utils.logger.warn(this._deprecatedHandler(F,W,this._utils));else for(let{value:H}of Y){let re={key:F,value:H};if(!this._hasDeprecationWarned(re)){let ne=typeof W=="string"?{key:W,value:H}:W;this._utils.logger.warn(this._deprecatedHandler(re,ne,this._utils))}}};d.normalizeForwardResult(M.forward(_,this._utils),_).forEach(k);let j=d.normalizeRedirectResult(M.redirect(_,this._utils),_);if(j.redirect.forEach(k),"remain"in j){let te=j.remain;c[F]=F in c?M.overlap(c[F],te,this._utils):te,T({value:te})}for(let{from:te,to:ie}of j.redirect)T({value:te,redirectTo:ie})}for(let F of C){let M=v[F],_=this._unknownHandler(F,M,this._utils);if(_)for(let I of Object.keys(_)){let k={[I]:_[I]};I in this._utils.schemas?p.push(k):Object.assign(c,k)}}return p}};x.Normalizer=b}}),Uu=He({"node_modules/vnopts/lib/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=(to(),xi(Po));w.__exportStar(zu(),x),w.__exportStar(Da(),x),w.__exportStar(xa(),x),w.__exportStar(Hu(),x),w.__exportStar(qo(),x)}}),$u=He({"src/main/options-normalizer.js"(x,w){Je();var d=Uu(),b=fr(),v={key:I=>I.length===1?"-".concat(I):"--".concat(I),value:I=>d.apiDescriptor.value(I),pair:I=>{let{key:k,value:T}=I;return T===!1?"--no-".concat(k):T===!0?v.key(k):T===""?"".concat(v.key(k)," without an argument"):"".concat(v.key(k),"=").concat(T)}},c=I=>{let{colorsModule:k,levenshteinDistance:T}=I;return class extends d.ChoiceSchema{constructor(j){let{name:te,flags:ie}=j;super({name:te,choices:ie}),this._flags=[...ie].sort()}preprocess(j,te){if(typeof j=="string"&&j.length>0&&!this._flags.includes(j)){let ie=this._flags.find(W=>T(W,j)<3);if(ie)return te.logger.warn(["Unknown flag ".concat(k.yellow(te.descriptor.value(j)),","),"did you mean ".concat(k.blue(te.descriptor.value(ie)),"?")].join(" ")),ie}return j}expected(){return"a flag"}}},p;function y(I,k){let{logger:T,isCLI:j=!1,passThrough:te=!1,colorsModule:ie,levenshteinDistance:W}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Y=te?Array.isArray(te)?(B,O)=>te.includes(B)?{[B]:O}:void 0:(B,O)=>({[B]:O}):(B,O,P)=>{let D=P.schemas,$=Yr(D,wt);return d.levenUnknownHandler(B,O,Object.assign(Object.assign({},P),{},{schemas:$}))},H=j?v:d.apiDescriptor,re=C(k,{isCLI:j,colorsModule:ie,levenshteinDistance:W}),ne=new d.Normalizer(re,{logger:T,unknown:Y,descriptor:H}),ue=T!==!1;ue&&p&&(ne._hasDeprecationWarned=p);let R=ne.normalize(I);return ue&&(p=ne._hasDeprecationWarned),j&&R["plugin-search"]===!1&&(R["plugin-search-dir"]=!1),R}function C(I,k){let{isCLI:T,colorsModule:j,levenshteinDistance:te}=k,ie=[];T&&ie.push(d.AnySchema.create({name:"_"}));for(let W of I)ie.push(F(W,{isCLI:T,optionInfos:I,colorsModule:j,levenshteinDistance:te})),W.alias&&T&&ie.push(d.AliasSchema.create({name:W.alias,sourceName:W.name}));return ie}function F(I,k){let{isCLI:T,optionInfos:j,colorsModule:te,levenshteinDistance:ie}=k,{name:W}=I;if(W==="plugin-search-dir"||W==="pluginSearchDirs")return d.AnySchema.create({name:W,preprocess(ne){return ne===!1||(ne=Array.isArray(ne)?ne:[ne]),ne},validate(ne){return ne===!1?!0:ne.every(ue=>typeof ue=="string")},expected(){return"false or paths to plugin search dir"}});let Y={name:W},H,re={};switch(I.type){case"int":H=d.IntegerSchema,T&&(Y.preprocess=ne=>Number(ne));break;case"string":H=d.StringSchema;break;case"choice":H=d.ChoiceSchema,Y.choices=I.choices.map(ne=>typeof ne=="object"&&ne.redirect?Object.assign(Object.assign({},ne),{},{redirect:{to:{key:I.name,value:ne.redirect}}}):ne);break;case"boolean":H=d.BooleanSchema;break;case"flag":H=c({colorsModule:te,levenshteinDistance:ie}),Y.flags=j.flatMap(ne=>[ne.alias,ne.description&&ne.name,ne.oppositeDescription&&"no-".concat(ne.name)].filter(Boolean));break;case"path":H=d.StringSchema;break;default:throw new Error("Unexpected type ".concat(I.type))}if(I.exception?Y.validate=(ne,ue,R)=>I.exception(ne)||ue.validate(ne,R):Y.validate=(ne,ue,R)=>ne===void 0||ue.validate(ne,R),I.redirect&&(re.redirect=ne=>ne?{to:{key:I.redirect.option,value:I.redirect.value}}:void 0),I.deprecated&&(re.deprecated=!0),T&&!I.array){let ne=Y.preprocess||(ue=>ue);Y.preprocess=(ue,R,B)=>R.preprocess(ne(Array.isArray(ue)?b(ue):ue),B)}return I.array?d.ArraySchema.create(Object.assign(Object.assign(Object.assign({},T?{preprocess:ne=>Array.isArray(ne)?ne:[ne]}:{}),re),{},{valueSchema:H.create(Y)})):H.create(Object.assign(Object.assign({},Y),re))}function M(I,k,T){return y(I,k,T)}function _(I,k,T){return y(I,k,Object.assign({isCLI:!0},T))}w.exports={normalizeApiOptions:M,normalizeCliOptions:_}}}),ji=He({"src/language-js/loc.js"(x,w){Je();var d=fa();function b(C,F){let{ignoreDecorators:M}=F||{};if(!M){let _=C.declaration&&C.declaration.decorators||C.decorators;if(d(_))return b(_[0])}return C.range?C.range[0]:C.start}function v(C){return C.range?C.range[1]:C.end}function c(C,F){let M=b(C);return Number.isInteger(M)&&M===b(F)}function p(C,F){let M=v(C);return Number.isInteger(M)&&M===v(F)}function y(C,F){return c(C,F)&&p(C,F)}w.exports={locStart:b,locEnd:v,hasSameLocStart:c,hasSameLoc:y}}}),Jo=He({"scripts/build/shims/babel-highlight.cjs"(x,w){Je();var d=ya(),b={shouldHighlight:()=>!1,getChalk:()=>d};w.exports=b}}),Ao=He({"node_modules/@babel/code-frame/lib/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0}),x.codeFrameColumns=p,x.default=y;var w=Jo(),d=!1;function b(C){return{gutter:C.grey,marker:C.red.bold,message:C.red.bold}}var v=/\r\n|[\n\r\u2028\u2029]/;function c(C,F,M){let _=Object.assign({column:0,line:-1},C.start),I=Object.assign({},_,C.end),{linesAbove:k=2,linesBelow:T=3}=M||{},j=_.line,te=_.column,ie=I.line,W=I.column,Y=Math.max(j-(k+1),0),H=Math.min(F.length,ie+T);j===-1&&(Y=0),ie===-1&&(H=F.length);let re=ie-j,ne={};if(re)for(let ue=0;ue<=re;ue++){let R=ue+j;if(!te)ne[R]=!0;else if(ue===0){let B=F[R-1].length;ne[R]=[te,B-te+1]}else if(ue===re)ne[R]=[0,W];else{let B=F[R-ue].length;ne[R]=[0,B]}}else te===W?te?ne[j]=[te,0]:ne[j]=!0:ne[j]=[te,W-te];return{start:Y,end:H,markerLines:ne}}function p(C,F){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_=(M.highlightCode||M.forceColor)&&(0,w.shouldHighlight)(M),I=(0,w.getChalk)(M),k=b(I),T=(ne,ue)=>_?ne(ue):ue,j=C.split(v),{start:te,end:ie,markerLines:W}=c(F,j,M),Y=F.start&&typeof F.start.column=="number",H=String(ie).length,re=(_?(0,w.default)(C,M):C).split(v,ie).slice(te,ie).map((ne,ue)=>{let R=te+1+ue,B=" ".concat(R).slice(-H),O=" ".concat(B," |"),P=W[R],D=!W[R+1];if(P){let $="";if(Array.isArray(P)){let z=ne.slice(0,Math.max(P[0]-1,0)).replace(/[^\t]/g," "),U=P[1]||1;$=[`
61
- `,T(k.gutter,O.replace(/\d/g," "))," ",z,T(k.marker,"^").repeat(U)].join(""),D&&M.message&&($+=" "+T(k.message,M.message))}return[T(k.marker,">"),T(k.gutter,O),ne.length>0?" ".concat(ne):"",$].join("")}else return" ".concat(T(k.gutter,O)).concat(ne.length>0?" ".concat(ne):"")}).join(`
62
- `);return M.message&&!Y&&(re="".concat(" ".repeat(H+1)).concat(M.message,`
63
- `).concat(re)),_?I.reset(re):re}function y(C,F,M){let _=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!d){d=!0;let I="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Nn.emitWarning)Nn.emitWarning(I,"DeprecationWarning");else{let k=new Error(I);k.name="DeprecationWarning",console.warn(new Error(I))}}return M=Math.max(M,0),p(C,{start:{column:M,line:F}},_)}}}),Ca=He({"src/main/parser.js"(x,w){Je(),Mu();var{ConfigError:d}=ys(),b=ji(),{locStart:v,locEnd:c}=b,p=Object.getOwnPropertyNames,y=Object.getOwnPropertyDescriptor;function C(_){let I={};for(let k of _.plugins)if(k.parsers)for(let T of p(k.parsers))Object.defineProperty(I,T,y(k.parsers,T));return I}function F(_){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C(_);if(typeof _.parser=="function")return{parse:_.parser,astFormat:"estree",locStart:v,locEnd:c};if(typeof _.parser=="string"){if(Object.prototype.hasOwnProperty.call(I,_.parser))return I[_.parser];throw new d(`Couldn't resolve parser "`.concat(_.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function M(_,I){let k=C(I),T=Object.defineProperties({},Object.fromEntries(Object.keys(k).map(te=>[te,{enumerable:!0,get(){return k[te].parse}}]))),j=F(I,k);try{return j.preprocess&&(_=j.preprocess(_,I)),{text:_,ast:j.parse(_,T,I)}}catch(te){let{loc:ie}=te;if(ie){let{codeFrameColumns:W}=Ao();throw te.codeFrame=W(_,ie,{highlightCode:!0}),te.message+=`
64
- `+te.codeFrame,te}throw te.stack}}w.exports={parse:M,resolveParser:F}}}),su=He({"src/main/options.js"(x,w){Je();var d=Mu(),{UndefinedParserError:b}=ys(),{getSupportInfo:v}=$a(),c=$u(),{resolveParser:p}=Ca(),y={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function C(_){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=Object.assign({},_),T=v({plugins:_.plugins,showUnreleased:!0,showDeprecated:!0}).options,j=Object.assign(Object.assign({},y),Object.fromEntries(T.filter(H=>H.default!==void 0).map(H=>[H.name,H.default])));if(!k.parser){if(!k.filepath)(I.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."),k.parser="babel";else if(k.parser=M(k.filepath,k.plugins),!k.parser)throw new b("No parser could be inferred for file: ".concat(k.filepath))}let te=p(c.normalizeApiOptions(k,[T.find(H=>H.name==="parser")],{passThrough:!0,logger:!1}));k.astFormat=te.astFormat,k.locEnd=te.locEnd,k.locStart=te.locStart;let ie=F(k);k.printer=ie.printers[k.astFormat];let W=Object.fromEntries(T.filter(H=>H.pluginDefaults&&H.pluginDefaults[ie.name]!==void 0).map(H=>[H.name,H.pluginDefaults[ie.name]])),Y=Object.assign(Object.assign({},j),W);for(let[H,re]of Object.entries(Y))(k[H]===null||k[H]===void 0)&&(k[H]=re);return k.parser==="json"&&(k.trailingComma="none"),c.normalizeApiOptions(k,T,Object.assign({passThrough:Object.keys(y)},I))}function F(_){let{astFormat:I}=_;if(!I)throw new Error("getPlugin() requires astFormat to be set");let k=_.plugins.find(T=>T.printers&&T.printers[I]);if(!k)throw new Error(`Couldn't find plugin for AST format "`.concat(I,'"'));return k}function M(_,I){let k=d.basename(_).toLowerCase(),T=v({plugins:I}).languages.filter(j=>j.since!==null).find(j=>j.extensions&&j.extensions.some(te=>k.endsWith(te))||j.filenames&&j.filenames.some(te=>te.toLowerCase()===k));return T&&T.parsers[0]}w.exports={normalize:C,hiddenDefaults:y,inferParser:M}}}),xc=He({"src/main/massage-ast.js"(x,w){Je();function d(b,v,c){if(Array.isArray(b))return b.map(F=>d(F,v,c)).filter(Boolean);if(!b||typeof b!="object")return b;let p=v.printer.massageAstNode,y;p&&p.ignoredProperties?y=p.ignoredProperties:y=new Set;let C={};for(let[F,M]of Object.entries(b))!y.has(F)&&typeof M!="function"&&(C[F]=d(M,v,b));if(p){let F=p(b,C,c);if(F===null)return;if(F)return F}return C}w.exports=d}}),Ea=He({"scripts/build/shims/assert.cjs"(x,w){Je();var d=()=>{};d.ok=d,d.strictEqual=d,w.exports=d}}),Bi=He({"src/main/comments.js"(x,w){Je();var d=Ea(),{builders:{line:b,hardline:v,breakParent:c,indent:p,lineSuffix:y,join:C,cursor:F}}=bn(),{hasNewline:M,skipNewline:_,skipSpaces:I,isPreviousLineEmpty:k,addLeadingComment:T,addDanglingComment:j,addTrailingComment:te}=jn(),ie=new WeakMap;function W(de,xe,be){if(!de)return;let{printer:je,locStart:oe,locEnd:Ie}=xe;if(be){if(je.canAttachComment&&je.canAttachComment(de)){let Te;for(Te=be.length-1;Te>=0&&!(oe(be[Te])<=oe(de)&&Ie(be[Te])<=Ie(de));--Te);be.splice(Te+1,0,de);return}}else if(ie.has(de))return ie.get(de);let rt=je.getCommentChildNodes&&je.getCommentChildNodes(de,xe)||typeof de=="object"&&Object.entries(de).filter(Te=>{let[Pe]=Te;return Pe!=="enclosingNode"&&Pe!=="precedingNode"&&Pe!=="followingNode"&&Pe!=="tokens"&&Pe!=="comments"&&Pe!=="parent"}).map(Te=>{let[,Pe]=Te;return Pe});if(rt){be||(be=[],ie.set(de,be));for(let Te of rt)W(Te,xe,be);return be}}function Y(de,xe,be,je){let{locStart:oe,locEnd:Ie}=be,rt=oe(xe),Te=Ie(xe),Pe=W(de,be),Ke,Ue,et=0,it=Pe.length;for(;et<it;){let Fe=et+it>>1,ut=Pe[Fe],Qe=oe(ut),ar=Ie(ut);if(Qe<=rt&&Te<=ar)return Y(ut,xe,be,ut);if(ar<=rt){Ke=ut,et=Fe+1;continue}if(Te<=Qe){Ue=ut,it=Fe;continue}throw new Error("Comment location overlaps with node location")}if(je&&je.type==="TemplateLiteral"){let{quasis:Fe}=je,ut=P(Fe,xe,be);Ke&&P(Fe,Ke,be)!==ut&&(Ke=null),Ue&&P(Fe,Ue,be)!==ut&&(Ue=null)}return{enclosingNode:je,precedingNode:Ke,followingNode:Ue}}var H=()=>!1;function re(de,xe,be,je){if(!Array.isArray(de))return;let oe=[],{locStart:Ie,locEnd:rt,printer:{handleComments:Te={}}}=je,{avoidAstMutation:Pe,ownLine:Ke=H,endOfLine:Ue=H,remaining:et=H}=Te,it=de.map((Fe,ut)=>Object.assign(Object.assign({},Y(xe,Fe,je)),{},{comment:Fe,text:be,options:je,ast:xe,isLastComment:de.length-1===ut}));for(let[Fe,ut]of it.entries()){let{comment:Qe,precedingNode:ar,enclosingNode:Ce,followingNode:Ct,text:tt,options:Ye,ast:Jt,isLastComment:qt}=ut;if(Ye.parser==="json"||Ye.parser==="json5"||Ye.parser==="__js_expression"||Ye.parser==="__vue_expression"){if(Ie(Qe)-Ie(Jt)<=0){T(Jt,Qe);continue}if(rt(Qe)-rt(Jt)>=0){te(Jt,Qe);continue}}let cr;if(Pe?cr=[ut]:(Qe.enclosingNode=Ce,Qe.precedingNode=ar,Qe.followingNode=Ct,cr=[Qe,tt,Ye,Jt,qt]),ue(tt,Ye,it,Fe))Qe.placement="ownLine",Ke(...cr)||(Ct?T(Ct,Qe):ar?te(ar,Qe):j(Ce||Jt,Qe));else if(R(tt,Ye,it,Fe))Qe.placement="endOfLine",Ue(...cr)||(ar?te(ar,Qe):Ct?T(Ct,Qe):j(Ce||Jt,Qe));else if(Qe.placement="remaining",!et(...cr))if(ar&&Ct){let Tr=oe.length;Tr>0&&oe[Tr-1].followingNode!==Ct&&B(oe,tt,Ye),oe.push(ut)}else ar?te(ar,Qe):Ct?T(Ct,Qe):j(Ce||Jt,Qe)}if(B(oe,be,je),!Pe)for(let Fe of de)delete Fe.precedingNode,delete Fe.enclosingNode,delete Fe.followingNode}var ne=de=>!/[\S\n\u2028\u2029]/.test(de);function ue(de,xe,be,je){let{comment:oe,precedingNode:Ie}=be[je],{locStart:rt,locEnd:Te}=xe,Pe=rt(oe);if(Ie)for(let Ke=je-1;Ke>=0;Ke--){let{comment:Ue,precedingNode:et}=be[Ke];if(et!==Ie||!ne(de.slice(Te(Ue),Pe)))break;Pe=rt(Ue)}return M(de,Pe,{backwards:!0})}function R(de,xe,be,je){let{comment:oe,followingNode:Ie}=be[je],{locStart:rt,locEnd:Te}=xe,Pe=Te(oe);if(Ie)for(let Ke=je+1;Ke<be.length;Ke++){let{comment:Ue,followingNode:et}=be[Ke];if(et!==Ie||!ne(de.slice(Pe,rt(Ue))))break;Pe=Te(Ue)}return M(de,Pe)}function B(de,xe,be){let je=de.length;if(je===0)return;let{precedingNode:oe,followingNode:Ie,enclosingNode:rt}=de[0],Te=be.printer.getGapRegex&&be.printer.getGapRegex(rt)||/^[\s(]*$/,Pe=be.locStart(Ie),Ke;for(Ke=je;Ke>0;--Ke){let{comment:Ue,precedingNode:et,followingNode:it}=de[Ke-1];d.strictEqual(et,oe),d.strictEqual(it,Ie);let Fe=xe.slice(be.locEnd(Ue),Pe);if(Te.test(Fe))Pe=be.locStart(Ue);else break}for(let[Ue,{comment:et}]of de.entries())Ue<Ke?te(oe,et):T(Ie,et);for(let Ue of[oe,Ie])Ue.comments&&Ue.comments.length>1&&Ue.comments.sort((et,it)=>be.locStart(et)-be.locStart(it));de.length=0}function O(de,xe){let be=de.getValue();return be.printed=!0,xe.printer.printComment(de,xe)}function P(de,xe,be){let je=be.locStart(xe)-1;for(let oe=1;oe<de.length;++oe)if(je<be.locStart(de[oe]))return oe-1;return 0}function D(de,xe){let be=de.getValue(),je=[O(de,xe)],{printer:oe,originalText:Ie,locStart:rt,locEnd:Te}=xe;if(oe.isBlockComment&&oe.isBlockComment(be)){let Ke=M(Ie,Te(be))?M(Ie,rt(be),{backwards:!0})?v:b:" ";je.push(Ke)}else je.push(v);let Pe=_(Ie,I(Ie,Te(be)));return Pe!==!1&&M(Ie,Pe)&&je.push(v),je}function $(de,xe){let be=de.getValue(),je=O(de,xe),{printer:oe,originalText:Ie,locStart:rt}=xe,Te=oe.isBlockComment&&oe.isBlockComment(be);if(M(Ie,rt(be),{backwards:!0})){let Ke=k(Ie,be,rt);return y([v,Ke?v:"",je])}let Pe=[" ",je];return Te||(Pe=[y(Pe),c]),Pe}function z(de,xe,be,je){let oe=[],Ie=de.getValue();return!Ie||!Ie.comments||(de.each(()=>{let rt=de.getValue();!rt.leading&&!rt.trailing&&(!je||je(rt))&&oe.push(O(de,xe))},"comments"),oe.length===0)?"":be?C(v,oe):p([v,C(v,oe)])}function U(de,xe,be){let je=de.getValue();if(!je)return{};let oe=je.comments||[];be&&(oe=oe.filter(Pe=>!be.has(Pe)));let Ie=je===xe.cursorNode;if(oe.length===0){let Pe=Ie?F:"";return{leading:Pe,trailing:Pe}}let rt=[],Te=[];return de.each(()=>{let Pe=de.getValue();if(be&&be.has(Pe))return;let{leading:Ke,trailing:Ue}=Pe;Ke?rt.push(D(de,xe)):Ue&&Te.push($(de,xe))},"comments"),Ie&&(rt.unshift(F),Te.push(F)),{leading:rt,trailing:Te}}function se(de,xe,be,je){let{leading:oe,trailing:Ie}=U(de,be,je);return!oe&&!Ie?xe:[oe,xe,Ie]}function ae(de){if(de)for(let xe of de){if(!xe.printed)throw new Error('Comment "'+xe.value.trim()+'" was not printed. Please report this error!');delete xe.printed}}w.exports={attach:re,printComments:se,printCommentsSeparately:U,printDanglingComments:z,getSortedChildNodes:W,ensureAllCommentsPrinted:ae}}}),Bl=He({"src/common/ast-path.js"(x,w){Je();var d=fr();function b(p,y){let C=v(p.stack,y);return C===-1?null:p.stack[C]}function v(p,y){for(let C=p.length-1;C>=0;C-=2){let F=p[C];if(F&&!Array.isArray(F)&&--y<0)return C}return-1}var c=class{constructor(p){this.stack=[p]}getName(){let{stack:p}=this,{length:y}=p;return y>1?p[y-2]:null}getValue(){return d(this.stack)}getNode(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return b(this,p)}getParentNode(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return b(this,p+1)}call(p){let{stack:y}=this,{length:C}=y,F=d(y);for(var M=arguments.length,_=new Array(M>1?M-1:0),I=1;I<M;I++)_[I-1]=arguments[I];for(let T of _)F=F[T],y.push(T,F);let k=p(this);return y.length=C,k}callParent(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=v(this.stack,y+1),F=this.stack.splice(C+1),M=p(this);return this.stack.push(...F),M}each(p){let{stack:y}=this,{length:C}=y,F=d(y);for(var M=arguments.length,_=new Array(M>1?M-1:0),I=1;I<M;I++)_[I-1]=arguments[I];for(let k of _)F=F[k],y.push(k,F);for(let k=0;k<F.length;++k)y.push(k,F[k]),p(this,k,F),y.length-=2;y.length=C}map(p){let y=[];for(var C=arguments.length,F=new Array(C>1?C-1:0),M=1;M<C;M++)F[M-1]=arguments[M];return this.each((_,I,k)=>{y[I]=p(_,I,k)},...F),y}try(p){let{stack:y}=this,C=[...y];try{return p()}finally{y.length=0,y.push(...C)}}match(){let p=this.stack.length-1,y=null,C=this.stack[p--];for(var F=arguments.length,M=new Array(F),_=0;_<F;_++)M[_]=arguments[_];for(let I of M){if(C===void 0)return!1;let k=null;if(typeof y=="number"&&(k=y,y=this.stack[p--],C=this.stack[p--]),I&&!I(C,y,k))return!1;y=this.stack[p--],C=this.stack[p--]}return!0}findAncestor(p){let y=this.stack.length-1,C=null,F=this.stack[y--];for(;F;){let M=null;if(typeof C=="number"&&(M=C,C=this.stack[y--],F=this.stack[y--]),C!==null&&p(F,C,M))return F;C=this.stack[y--],F=this.stack[y--]}}};w.exports=c}}),Vu=He({"src/main/multiparser.js"(x,w){Je();var{utils:{stripTrailingHardline:d}}=bn(),{normalize:b}=su(),v=Bi();function c(y,C,F,M){if(F.printer.embed&&F.embeddedLanguageFormatting==="auto")return F.printer.embed(y,C,(_,I,k)=>p(_,I,F,M,k),F)}function p(y,C,F,M){let{stripTrailingHardline:_=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},I=b(Object.assign(Object.assign(Object.assign({},F),C),{},{parentParser:F.parser,originalText:y}),{passThrough:!0}),k=Ca().parse(y,I),{ast:T}=k;y=k.text;let j=T.comments;delete T.comments,v.attach(j,T,y,I),I[Symbol.for("comments")]=j||[],I[Symbol.for("tokens")]=T.tokens||[];let te=M(T,I);return v.ensureAllCommentsPrinted(j),_?typeof te=="string"?te.replace(/(?:\r?\n)*$/,""):d(te):te}w.exports={printSubtree:c}}}),ia=He({"src/main/ast-to-doc.js"(x,w){Je();var d=Bl(),{builders:{hardline:b,addAlignmentToDoc:v},utils:{propagateBreaks:c}}=bn(),{printComments:p}=Bi(),y=Vu();function C(_,I){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:T}=I;T.preprocess&&(_=T.preprocess(_,I));let j=new Map,te=new d(_),ie=W();return k>0&&(ie=v([b,ie],k,I.tabWidth)),c(ie),ie;function W(H,re){return H===void 0||H===te?Y(re):Array.isArray(H)?te.call(()=>Y(re),...H):te.call(()=>Y(re),H)}function Y(H){let re=te.getValue(),ne=re&&typeof re=="object"&&H===void 0;if(ne&&j.has(re))return j.get(re);let ue=M(te,I,W,H);return ne&&j.set(re,ue),ue}}function F(_,I){let{originalText:k,[Symbol.for("comments")]:T,locStart:j,locEnd:te}=I,ie=j(_),W=te(_),Y=new Set;for(let H of T)j(H)>=ie&&te(H)<=W&&(H.printed=!0,Y.add(H));return{doc:k.slice(ie,W),printedComments:Y}}function M(_,I,k,T){let j=_.getValue(),{printer:te}=I,ie,W;if(te.hasPrettierIgnore&&te.hasPrettierIgnore(_))({doc:ie,printedComments:W}=F(j,I));else{if(j)try{ie=y.printSubtree(_,k,I,C)}catch(Y){if(globalThis.PRETTIER_DEBUG)throw Y}ie||(ie=te.print(_,I,k,T))}return(!te.willPrintOwnComments||!te.willPrintOwnComments(_,I))&&(ie=p(_,ie,I,W)),ie}w.exports=C}}),Gu=He({"src/main/range-util.js"(x,w){Je();var d=Ea(),b=Bi(),v=T=>{let{parser:j}=T;return j==="json"||j==="json5"||j==="json-stringify"};function c(T,j){let te=[T.node,...T.parentNodes],ie=new Set([j.node,...j.parentNodes]);return te.find(W=>M.has(W.type)&&ie.has(W))}function p(T){let j=T.length-1;for(;;){let te=T[j];if(te&&(te.type==="Program"||te.type==="File"))j--;else break}return T.slice(0,j+1)}function y(T,j,te){let{locStart:ie,locEnd:W}=te,Y=T.node,H=j.node;if(Y===H)return{startNode:Y,endNode:H};let re=ie(T.node);for(let ue of p(j.parentNodes))if(ie(ue)>=re)H=ue;else break;let ne=W(j.node);for(let ue of p(T.parentNodes))if(W(ue)<=ne)Y=ue;else break;return{startNode:Y,endNode:H}}function C(T,j,te,ie){let W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],Y=arguments.length>5?arguments[5]:void 0,{locStart:H,locEnd:re}=te,ne=H(T),ue=re(T);if(!(j>ue||j<ne||Y==="rangeEnd"&&j===ne||Y==="rangeStart"&&j===ue)){for(let R of b.getSortedChildNodes(T,te)){let B=C(R,j,te,ie,[T,...W],Y);if(B)return B}if(!ie||ie(T,W[0]))return{node:T,parentNodes:W}}}function F(T,j){return j!=="DeclareExportDeclaration"&&T!=="TypeParameterDeclaration"&&(T==="Directive"||T==="TypeAlias"||T==="TSExportAssignment"||T.startsWith("Declare")||T.startsWith("TSDeclare")||T.endsWith("Statement")||T.endsWith("Declaration"))}var M=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),_=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function I(T,j,te){if(!j)return!1;switch(T.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return F(j.type,te&&te.type);case"json":case"json5":case"json-stringify":return M.has(j.type);case"graphql":return _.has(j.kind);case"vue":return j.tag!=="root"}return!1}function k(T,j,te){let{rangeStart:ie,rangeEnd:W,locStart:Y,locEnd:H}=j;d.ok(W>ie);let re=T.slice(ie,W).search(/\S/),ne=re===-1;if(!ne)for(ie+=re;W>ie&&!/\S/.test(T[W-1]);--W);let ue=C(te,ie,j,(P,D)=>I(j,P,D),[],"rangeStart"),R=ne?ue:C(te,W,j,P=>I(j,P),[],"rangeEnd");if(!ue||!R)return{rangeStart:0,rangeEnd:0};let B,O;if(v(j)){let P=c(ue,R);B=P,O=P}else({startNode:B,endNode:O}=y(ue,R,j));return{rangeStart:Math.min(Y(B),Y(O)),rangeEnd:Math.max(H(B),H(O))}}w.exports={calculateRange:k,findNodeAtOffset:C}}}),_l=He({"src/main/core.js"(x,w){Je();var{diffArrays:d}=V(),{printer:{printDocToString:b},debug:{printDocToDebug:v}}=bn(),{getAlignmentSize:c}=jn(),{guessEndOfLine:p,convertEndOfLineToChars:y,countEndOfLineChars:C,normalizeEndOfLine:F}=er(),M=su().normalize,_=xc(),I=Bi(),k=Ca(),T=ia(),j=Gu(),te="\uFEFF",ie=Symbol("cursor");function W(O,P,D){let $=P.comments;return $&&(delete P.comments,I.attach($,P,O,D)),D[Symbol.for("comments")]=$||[],D[Symbol.for("tokens")]=P.tokens||[],D.originalText=O,$}function Y(O,P){let D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!O||O.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:$,text:z}=k.parse(O,P);if(P.cursorOffset>=0){let de=j.findNodeAtOffset($,P.cursorOffset,P);de&&de.node&&(P.cursorNode=de.node)}let U=W(z,$,P),se=T($,P,D),ae=b(se,P);if(I.ensureAllCommentsPrinted(U),D>0){let de=ae.formatted.trim();ae.cursorNodeStart!==void 0&&(ae.cursorNodeStart-=ae.formatted.indexOf(de)),ae.formatted=de+y(P.endOfLine)}if(P.cursorOffset>=0){let de,xe,be,je,oe;if(P.cursorNode&&ae.cursorNodeText?(de=P.locStart(P.cursorNode),xe=z.slice(de,P.locEnd(P.cursorNode)),be=P.cursorOffset-de,je=ae.cursorNodeStart,oe=ae.cursorNodeText):(de=0,xe=z,be=P.cursorOffset,je=0,oe=ae.formatted),xe===oe)return{formatted:ae.formatted,cursorOffset:je+be,comments:U};let Ie=[...xe];Ie.splice(be,0,ie);let rt=[...oe],Te=d(Ie,rt),Pe=je;for(let Ke of Te)if(Ke.removed){if(Ke.value.includes(ie))break}else Pe+=Ke.count;return{formatted:ae.formatted,cursorOffset:Pe,comments:U}}return{formatted:ae.formatted,cursorOffset:-1,comments:U}}function H(O,P){let{ast:D,text:$}=k.parse(O,P),{rangeStart:z,rangeEnd:U}=j.calculateRange($,P,D),se=$.slice(z,U),ae=Math.min(z,$.lastIndexOf(`
65
- `,z)+1),de=$.slice(ae,z).match(/^\s*/)[0],xe=c(de,P.tabWidth),be=Y(se,Object.assign(Object.assign({},P),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:P.cursorOffset>z&&P.cursorOffset<=U?P.cursorOffset-z:-1,endOfLine:"lf"}),xe),je=be.formatted.trimEnd(),{cursorOffset:oe}=P;oe>U?oe+=je.length-se.length:be.cursorOffset>=0&&(oe=be.cursorOffset+z);let Ie=$.slice(0,z)+je+$.slice(U);if(P.endOfLine!=="lf"){let rt=y(P.endOfLine);oe>=0&&rt===`\r
66
- `&&(oe+=C(Ie.slice(0,oe),`
67
- `)),Ie=Ie.replace(/\n/g,rt)}return{formatted:Ie,cursorOffset:oe,comments:be.comments}}function re(O,P,D){return typeof P!="number"||Number.isNaN(P)||P<0||P>O.length?D:P}function ne(O,P){let{cursorOffset:D,rangeStart:$,rangeEnd:z}=P;return D=re(O,D,-1),$=re(O,$,0),z=re(O,z,O.length),Object.assign(Object.assign({},P),{},{cursorOffset:D,rangeStart:$,rangeEnd:z})}function ue(O,P){let{cursorOffset:D,rangeStart:$,rangeEnd:z,endOfLine:U}=ne(O,P),se=O.charAt(0)===te;if(se&&(O=O.slice(1),D--,$--,z--),U==="auto"&&(U=p(O)),O.includes("\r")){let ae=de=>C(O.slice(0,Math.max(de,0)),`\r
68
- `);D-=ae(D),$-=ae($),z-=ae(z),O=F(O)}return{hasBOM:se,text:O,options:ne(O,Object.assign(Object.assign({},P),{},{cursorOffset:D,rangeStart:$,rangeEnd:z,endOfLine:U}))}}function R(O,P){let D=k.resolveParser(P);return!D.hasPragma||D.hasPragma(O)}function B(O,P){let{hasBOM:D,text:$,options:z}=ue(O,M(P));if(z.rangeStart>=z.rangeEnd&&$!==""||z.requirePragma&&!R($,z))return{formatted:O,cursorOffset:P.cursorOffset,comments:[]};let U;return z.rangeStart>0||z.rangeEnd<$.length?U=H($,z):(!z.requirePragma&&z.insertPragma&&z.printer.insertPragma&&!R($,z)&&($=z.printer.insertPragma($)),U=Y($,z)),D&&(U.formatted=te+U.formatted,U.cursorOffset>=0&&U.cursorOffset++),U}w.exports={formatWithCursor:B,parse(O,P,D){let{text:$,options:z}=ue(O,M(P)),U=k.parse($,z);return D&&(U.ast=_(U.ast,z)),U},formatAST(O,P){P=M(P);let D=T(O,P);return b(D,P)},formatDoc(O,P){return B(v(O),Object.assign(Object.assign({},P),{},{parser:"__js_expression"})).formatted},printToDoc(O,P){P=M(P);let{ast:D,text:$}=k.parse(O,P);return W($,D,P),T(D,P)},printDocToString(O,P){return b(O,M(P))}}}}),qu=He({"src/common/util-shared.js"(x,w){Je();var{getMaxContinuousCount:d,getStringWidth:b,getAlignmentSize:v,getIndentSize:c,skip:p,skipWhitespace:y,skipSpaces:C,skipNewline:F,skipToLineEnd:M,skipEverythingButNewLine:_,skipInlineComment:I,skipTrailingComment:k,hasNewline:T,hasNewlineInRange:j,hasSpaces:te,isNextLineEmpty:ie,isNextLineEmptyAfterIndex:W,isPreviousLineEmpty:Y,getNextNonSpaceNonCommentCharacterIndex:H,makeString:re,addLeadingComment:ne,addDanglingComment:ue,addTrailingComment:R}=jn();w.exports={getMaxContinuousCount:d,getStringWidth:b,getAlignmentSize:v,getIndentSize:c,skip:p,skipWhitespace:y,skipSpaces:C,skipNewline:F,skipToLineEnd:M,skipEverythingButNewLine:_,skipInlineComment:I,skipTrailingComment:k,hasNewline:T,hasNewlineInRange:j,hasSpaces:te,isNextLineEmpty:ie,isNextLineEmptyAfterIndex:W,isPreviousLineEmpty:Y,getNextNonSpaceNonCommentCharacterIndex:H,makeString:re,addLeadingComment:ne,addDanglingComment:ue,addTrailingComment:R}}}),Yo=He({"src/utils/create-language.js"(x,w){Je(),w.exports=function(d,b){let{languageId:v}=d,c=Yr(d,Pt);return Object.assign(Object.assign({linguistLanguageId:v},c),b(d))}}}),Rs=He({"node_modules/esutils/lib/ast.js"(x,w){Je(),function(){function d(C){if(C==null)return!1;switch(C.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function b(C){if(C==null)return!1;switch(C.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function v(C){if(C==null)return!1;switch(C.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function c(C){return v(C)||C!=null&&C.type==="FunctionDeclaration"}function p(C){switch(C.type){case"IfStatement":return C.alternate!=null?C.alternate:C.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return C.body}return null}function y(C){var F;if(C.type!=="IfStatement"||C.alternate==null)return!1;F=C.consequent;do{if(F.type==="IfStatement"&&F.alternate==null)return!0;F=p(F)}while(F);return!1}w.exports={isExpression:d,isStatement:v,isIterationStatement:b,isSourceElement:c,isProblematicIfStatement:y,trailingStatement:p}}()}}),Ii=He({"node_modules/esutils/lib/code.js"(x,w){Je(),function(){var d,b,v,c,p,y;b={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]/},d={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function C(W){return 48<=W&&W<=57}function F(W){return 48<=W&&W<=57||97<=W&&W<=102||65<=W&&W<=70}function M(W){return W>=48&&W<=55}v=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function _(W){return W===32||W===9||W===11||W===12||W===160||W>=5760&&v.indexOf(W)>=0}function I(W){return W===10||W===13||W===8232||W===8233}function k(W){if(W<=65535)return String.fromCharCode(W);var Y=String.fromCharCode(Math.floor((W-65536)/1024)+55296),H=String.fromCharCode((W-65536)%1024+56320);return Y+H}for(c=new Array(128),y=0;y<128;++y)c[y]=y>=97&&y<=122||y>=65&&y<=90||y===36||y===95;for(p=new Array(128),y=0;y<128;++y)p[y]=y>=97&&y<=122||y>=65&&y<=90||y>=48&&y<=57||y===36||y===95;function T(W){return W<128?c[W]:b.NonAsciiIdentifierStart.test(k(W))}function j(W){return W<128?p[W]:b.NonAsciiIdentifierPart.test(k(W))}function te(W){return W<128?c[W]:d.NonAsciiIdentifierStart.test(k(W))}function ie(W){return W<128?p[W]:d.NonAsciiIdentifierPart.test(k(W))}w.exports={isDecimalDigit:C,isHexDigit:F,isOctalDigit:M,isWhiteSpace:_,isLineTerminator:I,isIdentifierStartES5:T,isIdentifierPartES5:j,isIdentifierStartES6:te,isIdentifierPartES6:ie}}()}}),ho=He({"node_modules/esutils/lib/keyword.js"(x,w){Je(),function(){var d=Ii();function b(T){switch(T){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function v(T,j){return!j&&T==="yield"?!1:c(T,j)}function c(T,j){if(j&&b(T))return!0;switch(T.length){case 2:return T==="if"||T==="in"||T==="do";case 3:return T==="var"||T==="for"||T==="new"||T==="try";case 4:return T==="this"||T==="else"||T==="case"||T==="void"||T==="with"||T==="enum";case 5:return T==="while"||T==="break"||T==="catch"||T==="throw"||T==="const"||T==="yield"||T==="class"||T==="super";case 6:return T==="return"||T==="typeof"||T==="delete"||T==="switch"||T==="export"||T==="import";case 7:return T==="default"||T==="finally"||T==="extends";case 8:return T==="function"||T==="continue"||T==="debugger";case 10:return T==="instanceof";default:return!1}}function p(T,j){return T==="null"||T==="true"||T==="false"||v(T,j)}function y(T,j){return T==="null"||T==="true"||T==="false"||c(T,j)}function C(T){return T==="eval"||T==="arguments"}function F(T){var j,te,ie;if(T.length===0||(ie=T.charCodeAt(0),!d.isIdentifierStartES5(ie)))return!1;for(j=1,te=T.length;j<te;++j)if(ie=T.charCodeAt(j),!d.isIdentifierPartES5(ie))return!1;return!0}function M(T,j){return(T-55296)*1024+(j-56320)+65536}function _(T){var j,te,ie,W,Y;if(T.length===0)return!1;for(Y=d.isIdentifierStartES6,j=0,te=T.length;j<te;++j){if(ie=T.charCodeAt(j),55296<=ie&&ie<=56319){if(++j,j>=te||(W=T.charCodeAt(j),!(56320<=W&&W<=57343)))return!1;ie=M(ie,W)}if(!Y(ie))return!1;Y=d.isIdentifierPartES6}return!0}function I(T,j){return F(T)&&!p(T,j)}function k(T,j){return _(T)&&!y(T,j)}w.exports={isKeywordES5:v,isKeywordES6:c,isReservedWordES5:p,isReservedWordES6:y,isRestrictedWord:C,isIdentifierNameES5:F,isIdentifierNameES6:_,isIdentifierES5:I,isIdentifierES6:k}}()}}),Ku=He({"node_modules/esutils/lib/utils.js"(x){Je(),function(){x.ast=Rs(),x.code=Ii(),x.keyword=ho()}()}}),ss=He({"src/language-js/utils/is-block-comment.js"(x,w){Je();function d(b){return b.type==="Block"||b.type==="CommentBlock"||b.type==="MultiLine"}w.exports=d}}),Zn=He({"src/language-js/utils/index.js"(x,w){Je();var d=Ku().keyword.isIdentifierNameES5,{getLast:b,hasNewline:v,skipWhitespace:c,isNonEmptyArray:p,isNextLineEmptyAfterIndex:y,getStringWidth:C}=jn(),{locStart:F,locEnd:M,hasSameLocStart:_}=ji(),I=ss(),k="(?:(?=.)\\s)",T=new RegExp("^".concat(k,"*:")),j=new RegExp("^".concat(k,"*::"));function te(N){return N.extra&&N.extra.parenthesized&&p(N.trailingComments)&&I(N.trailingComments[0])&&T.test(N.trailingComments[0].value)}function ie(N){return p(N)&&I(N[0])&&j.test(N[0].value)}function W(N,De){if(!N||typeof N!="object")return!1;if(Array.isArray(N))return N.some(Tt=>W(Tt,De));let lt=De(N);return typeof lt=="boolean"?lt:Object.values(N).some(Tt=>W(Tt,De))}function Y(N){return N.type==="AssignmentExpression"||N.type==="BinaryExpression"||N.type==="LogicalExpression"||N.type==="NGPipeExpression"||N.type==="ConditionalExpression"||ar(N)||Ce(N)||N.type==="SequenceExpression"||N.type==="TaggedTemplateExpression"||N.type==="BindExpression"||N.type==="UpdateExpression"&&!N.prefix||N.type==="TSAsExpression"||N.type==="TSNonNullExpression"}function H(N){return N.expressions?N.expressions[0]:N.left||N.test||N.callee||N.object||N.tag||N.argument||N.expression}function re(N,De){if(De.expressions)return["expressions",0];if(De.left)return["left"];if(De.test)return["test"];if(De.object)return["object"];if(De.callee)return["callee"];if(De.tag)return["tag"];if(De.argument)return["argument"];if(De.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function ne(N){return N.type==="Line"||N.type==="CommentLine"||N.type==="SingleLine"||N.type==="HashbangComment"||N.type==="HTMLOpen"||N.type==="HTMLClose"}var ue=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function R(N){return N&&ue.has(N.type)}function B(N){let De=N.getParentNode();return N.getName()==="declaration"&&R(De)?De:null}function O(N){return N.type==="BooleanLiteral"||N.type==="DirectiveLiteral"||N.type==="Literal"||N.type==="NullLiteral"||N.type==="NumericLiteral"||N.type==="BigIntLiteral"||N.type==="DecimalLiteral"||N.type==="RegExpLiteral"||N.type==="StringLiteral"||N.type==="TemplateLiteral"||N.type==="TSTypeLiteral"||N.type==="JSXText"}function P(N){return N.type==="NumericLiteral"||N.type==="Literal"&&typeof N.value=="number"}function D(N){return N.type==="UnaryExpression"&&(N.operator==="+"||N.operator==="-")&&P(N.argument)}function $(N){return N.type==="StringLiteral"||N.type==="Literal"&&typeof N.value=="string"}function z(N){return N.type==="ObjectTypeAnnotation"||N.type==="TSTypeLiteral"||N.type==="TSMappedType"}function U(N){return N.type==="FunctionExpression"||N.type==="ArrowFunctionExpression"}function se(N){return N.type==="FunctionExpression"||N.type==="ArrowFunctionExpression"&&N.body.type==="BlockStatement"}function ae(N){return N.type==="TemplateLiteral"}function de(N){return ar(N)&&N.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(N.callee.name)}function xe(N){return N.type==="JSXElement"||N.type==="JSXFragment"}function be(N,De){if(N.parentParser!=="markdown"&&N.parentParser!=="mdx")return!1;let lt=De.getNode();if(!lt.expression||!xe(lt.expression))return!1;let Tt=De.getParentNode();return Tt.type==="Program"&&Tt.body.length===1}function je(N){return N.kind==="get"||N.kind==="set"}function oe(N){return je(N)||_(N,N.value)}function Ie(N){return(N.type==="ObjectTypeProperty"||N.type==="ObjectTypeInternalSlot")&&N.value.type==="FunctionTypeAnnotation"&&!N.static&&!oe(N)}function rt(N){return(N.type==="TypeAnnotation"||N.type==="TSTypeAnnotation")&&N.typeAnnotation.type==="FunctionTypeAnnotation"&&!N.static&&!_(N,N.typeAnnotation)}var Te=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Pe(N){return Te.has(N.type)}function Ke(N){return Ce(N)||N.type==="BindExpression"&&Boolean(N.object)}var Ue=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 et(N){return N?!!((N.type==="GenericTypeAnnotation"||N.type==="TSTypeReference")&&!N.typeParameters||Ue.has(N.type)):!1}var it=/^(?:skip|[fx]?(?:it|describe|test))$/;function Fe(N){return Ce(N.callee)&&N.callee.object.type==="Identifier"&&N.callee.property.type==="Identifier"&&it.test(N.callee.object.name)&&(N.callee.property.name==="only"||N.callee.property.name==="skip")}function ut(N){let De=/^(?:before|after)(?:Each|All)$/;return N.callee.type==="Identifier"&&De.test(N.callee.name)&&N.arguments.length===1}function Qe(N,De){if(N.type!=="CallExpression")return!1;if(N.arguments.length===1){if(de(N)&&De&&Qe(De))return U(N.arguments[0]);if(ut(N))return de(N.arguments[0])}else if((N.arguments.length===2||N.arguments.length===3)&&(N.callee.type==="Identifier"&&it.test(N.callee.name)||Fe(N))&&(ae(N.arguments[0])||$(N.arguments[0])))return N.arguments[2]&&!P(N.arguments[2])?!1:(N.arguments.length===2?U(N.arguments[1]):se(N.arguments[1])&&zn(N.arguments[1]).length<=1)||de(N.arguments[1]);return!1}function ar(N){return N&&(N.type==="CallExpression"||N.type==="OptionalCallExpression")}function Ce(N){return N&&(N.type==="MemberExpression"||N.type==="OptionalMemberExpression")}function Ct(N){let De="expressions";N.type==="TSTemplateLiteralType"&&(De="types");let lt=N[De];return lt.length===0?!1:lt.every(Tt=>{if(u(Tt))return!1;if(Tt.type==="Identifier"||Tt.type==="ThisExpression")return!0;if(Ce(Tt)){let $t=Tt;for(;Ce($t);)if($t.property.type!=="Identifier"&&$t.property.type!=="Literal"&&$t.property.type!=="StringLiteral"&&$t.property.type!=="NumericLiteral"||($t=$t.object,u($t)))return!1;return $t.type==="Identifier"||$t.type==="ThisExpression"}return!1})}function tt(N,De){return N==="+"?"+"+De:N==="-"?"-"+De:De}function Ye(N,De){let lt=F(De),Tt=c(N,M(De));return Tt!==!1&&N.slice(lt,lt+2)==="/*"&&N.slice(Tt,Tt+2)==="*/"}function Jt(N,De){return xe(De)?t(De):u(De,n.Leading,lt=>v(N,M(lt)))}function qt(N,De){return De.parser!=="json"&&$(N.key)&&Le(N.key).slice(1,-1)===N.key.value&&(d(N.key.value)&&!(De.parser==="babel-ts"&&N.type==="ClassProperty"||De.parser==="typescript"&&N.type==="PropertyDefinition")||cr(N.key.value)&&String(Number(N.key.value))===N.key.value&&(De.parser==="babel"||De.parser==="acorn"||De.parser==="espree"||De.parser==="meriyah"||De.parser==="__babel_estree"))}function cr(N){return/^(?:\d+|\d+\.\d+)$/.test(N)}function Tr(N,De){let lt=/^[fx]?(?:describe|it|test)$/;return De.type==="TaggedTemplateExpression"&&De.quasi===N&&De.tag.type==="MemberExpression"&&De.tag.property.type==="Identifier"&&De.tag.property.name==="each"&&(De.tag.object.type==="Identifier"&&lt.test(De.tag.object.name)||De.tag.object.type==="MemberExpression"&&De.tag.object.property.type==="Identifier"&&(De.tag.object.property.name==="only"||De.tag.object.property.name==="skip")&&De.tag.object.object.type==="Identifier"&&lt.test(De.tag.object.object.name))}function an(N){return N.quasis.some(De=>De.value.raw.includes(`
69
- `))}function St(N,De){return(N.type==="TemplateLiteral"&&an(N)||N.type==="TaggedTemplateExpression"&&an(N.quasi))&&!v(De,F(N),{backwards:!0})}function Et(N){if(!u(N))return!1;let De=b(g(N,n.Dangling));return De&&!I(De)}function Nt(N){if(N.length<=1)return!1;let De=0;for(let lt of N)if(U(lt)){if(De+=1,De>1)return!0}else if(ar(lt)){for(let Tt of lt.arguments)if(U(Tt))return!0}return!1}function bt(N){let De=N.getValue(),lt=N.getParentNode();return ar(De)&&ar(lt)&&lt.callee===De&&De.arguments.length>lt.arguments.length&&lt.arguments.length>0}function Xt(N,De){if(De>=2)return!1;let lt=$t=>Xt($t,De+1),Tt=N.type==="Literal"&&"regex"in N&&N.regex.pattern||N.type==="RegExpLiteral"&&N.pattern;return Tt&&C(Tt)>5?!1:N.type==="Literal"||N.type==="BigIntLiteral"||N.type==="DecimalLiteral"||N.type==="BooleanLiteral"||N.type==="NullLiteral"||N.type==="NumericLiteral"||N.type==="RegExpLiteral"||N.type==="StringLiteral"||N.type==="Identifier"||N.type==="ThisExpression"||N.type==="Super"||N.type==="PrivateName"||N.type==="PrivateIdentifier"||N.type==="ArgumentPlaceholder"||N.type==="Import"?!0:N.type==="TemplateLiteral"?N.quasis.every($t=>!$t.value.raw.includes(`
70
- `))&&N.expressions.every(lt):N.type==="ObjectExpression"?N.properties.every($t=>!$t.computed&&($t.shorthand||$t.value&&lt($t.value))):N.type==="ArrayExpression"?N.elements.every($t=>$t===null||lt($t)):L(N)?(N.type==="ImportExpression"||Xt(N.callee,De))&&Xr(N).every(lt):Ce(N)?Xt(N.object,De)&&Xt(N.property,De):N.type==="UnaryExpression"&&(N.operator==="!"||N.operator==="-")?Xt(N.argument,De):N.type==="TSNonNullExpression"?Xt(N.expression,De):!1}function Le(N){return N.extra?N.extra.raw:N.raw}function Kt(N){return N}function Ge(N){return N.filepath&&/\.tsx$/i.test(N.filepath)}function Ve(N){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return N.trailingComma==="es5"&&De==="es5"||N.trailingComma==="all"&&(De==="all"||De==="es5")}function Ze(N,De){switch(N=vi(N),N.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return De;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Ze(N.object,De);case"TaggedTemplateExpression":return N.tag.type==="FunctionExpression"?!1:Ze(N.tag,De);case"CallExpression":case"OptionalCallExpression":return N.callee.type==="FunctionExpression"?!1:Ze(N.callee,De);case"ConditionalExpression":return Ze(N.test,De);case"UpdateExpression":return!N.prefix&&Ze(N.argument,De);case"BindExpression":return N.object&&Ze(N.object,De);case"SequenceExpression":return Ze(N.expressions[0],De);case"TSAsExpression":case"TSNonNullExpression":return Ze(N.expression,De);default:return!1}}var $e={"==":!0,"!=":!0,"===":!0,"!==":!0},fe={"*":!0,"/":!0,"%":!0},ir={">>":!0,">>>":!0,"<<":!0};function Ar(N,De){return!(si(De)!==si(N)||N==="**"||$e[N]&&$e[De]||De==="%"&&fe[N]||N==="%"&&fe[De]||De!==N&&fe[De]&&fe[N]||ir[N]&&ir[De])}var In={};for(let[N,De]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(let lt of De)In[lt]=N;function si(N){return In[N]}function vi(N){for(;N.left;)N=N.left;return N}function Vr(N){return Boolean(ir[N])||N==="|"||N==="^"||N==="&"}function dn(N){if(N.rest)return!0;let De=zn(N);return De.length>0&&b(De).type==="RestElement"}var hr=new WeakMap;function zn(N){if(hr.has(N))return hr.get(N);let De=[];return N.this&&De.push(N.this),Array.isArray(N.parameters)?De.push(...N.parameters):Array.isArray(N.params)&&De.push(...N.params),N.rest&&De.push(N.rest),hr.set(N,De),De}function Mr(N,De){let lt=N.getValue(),Tt=0,$t=Sr=>De(Sr,Tt++);lt.this&&N.call($t,"this"),Array.isArray(lt.parameters)?N.each($t,"parameters"):Array.isArray(lt.params)&&N.each($t,"params"),lt.rest&&N.call($t,"rest")}var li=new WeakMap;function Xr(N){if(li.has(N))return li.get(N);let De=N.arguments;return N.type==="ImportExpression"&&(De=[N.source],N.attributes&&De.push(N.attributes)),li.set(N,De),De}function hn(N,De){let lt=N.getValue();lt.type==="ImportExpression"?(N.call(Tt=>De(Tt,0),"source"),lt.attributes&&N.call(Tt=>De(Tt,1),"attributes")):N.each(De,"arguments")}function e(N){return N.value.trim()==="prettier-ignore"&&!N.unignore}function t(N){return N&&(N.prettierIgnore||u(N,n.PrettierIgnore))}function i(N){let De=N.getValue();return t(De)}var n={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},o=(N,De)=>{if(typeof N=="function"&&(De=N,N=0),N||De)return(lt,Tt,$t)=>!(N&n.Leading&&!lt.leading||N&n.Trailing&&!lt.trailing||N&n.Dangling&&(lt.leading||lt.trailing)||N&n.Block&&!I(lt)||N&n.Line&&!ne(lt)||N&n.First&&Tt!==0||N&n.Last&&Tt!==$t.length-1||N&n.PrettierIgnore&&!e(lt)||De&&!De(lt))};function u(N,De,lt){if(!N||!p(N.comments))return!1;let Tt=o(De,lt);return Tt?N.comments.some(Tt):!0}function g(N,De,lt){if(!N||!Array.isArray(N.comments))return[];let Tt=o(De,lt);return Tt?N.comments.filter(Tt):N.comments}var S=(N,De)=>{let{originalText:lt}=De;return y(lt,M(N))};function L(N){return ar(N)||N.type==="NewExpression"||N.type==="ImportExpression"}function J(N){return N&&(N.type==="ObjectProperty"||N.type==="Property"&&!N.method&&N.kind==="init")}function Oe(N){return Boolean(N.__isUsingHackPipeline)}var Me=Symbol("ifWithoutBlockAndSameLineComment");w.exports={getFunctionParameters:zn,iterateFunctionParametersPath:Mr,getCallArguments:Xr,iterateCallArgumentsPath:hn,hasRestParameter:dn,getLeftSide:H,getLeftSidePathName:re,getParentExportDeclaration:B,getTypeScriptMappedTypeModifier:tt,hasFlowAnnotationComment:ie,hasFlowShorthandAnnotationComment:te,hasLeadingOwnLineComment:Jt,hasNakedLeftSide:Y,hasNode:W,hasIgnoreComment:i,hasNodeIgnoreComment:t,identity:Kt,isBinaryish:Pe,isCallLikeExpression:L,isEnabledHackPipeline:Oe,isLineComment:ne,isPrettierIgnoreComment:e,isCallExpression:ar,isMemberExpression:Ce,isExportDeclaration:R,isFlowAnnotationComment:Ye,isFunctionCompositionArgs:Nt,isFunctionNotation:oe,isFunctionOrArrowExpression:U,isGetterOrSetter:je,isJestEachTemplateLiteral:Tr,isJsxNode:xe,isLiteral:O,isLongCurriedCallExpression:bt,isSimpleCallArgument:Xt,isMemberish:Ke,isNumericLiteral:P,isSignedNumericLiteral:D,isObjectProperty:J,isObjectType:z,isObjectTypePropertyAFunction:Ie,isSimpleType:et,isSimpleNumber:cr,isSimpleTemplateLiteral:Ct,isStringLiteral:$,isStringPropSafeToUnquote:qt,isTemplateOnItsOwnLine:St,isTestCall:Qe,isTheOnlyJsxElementInMarkdown:be,isTSXFile:Ge,isTypeAnnotationAFunction:rt,isNextLineEmpty:S,needsHardlineAfterDanglingComment:Et,rawText:Le,shouldPrintComma:Ve,isBitwiseOperator:Vr,shouldFlatten:Ar,startsWithNoLookaheadToken:Ze,getPrecedence:si,hasComment:u,getComments:g,CommentCheckFlags:n,markerForIfWithoutBlockAndSameLineComment:Me}}}),Ds=He({"src/language-js/print/template-literal.js"(x,w){Je();var d=fr(),{getStringWidth:b,getIndentSize:v}=jn(),{builders:{join:c,hardline:p,softline:y,group:C,indent:F,align:M,lineSuffixBoundary:_,addAlignmentToDoc:I},printer:{printDocToString:k},utils:{mapDoc:T}}=bn(),{isBinaryish:j,isJestEachTemplateLiteral:te,isSimpleTemplateLiteral:ie,hasComment:W,isMemberExpression:Y}=Zn();function H(O,P,D){let $=O.getValue();if($.type==="TemplateLiteral"&&te($,O.getParentNode())){let de=re(O,D,P);if(de)return de}let z="expressions";$.type==="TSTemplateLiteralType"&&(z="types");let U=[],se=O.map(P,z),ae=ie($);return ae&&(se=se.map(de=>k(de,Object.assign(Object.assign({},D),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),U.push(_,"`"),O.each(de=>{let xe=de.getName();if(U.push(P()),xe<se.length){let{tabWidth:be}=D,je=de.getValue(),oe=v(je.value.raw,be),Ie=se[xe];if(!ae){let Te=$[z][xe];(W(Te)||Y(Te)||Te.type==="ConditionalExpression"||Te.type==="SequenceExpression"||Te.type==="TSAsExpression"||j(Te))&&(Ie=[F([y,Ie]),y])}let rt=oe===0&&je.value.raw.endsWith(`
71
- `)?M(Number.NEGATIVE_INFINITY,Ie):I(Ie,oe,be);U.push(C(["${",rt,_,"}"]))}},"quasis"),U.push("`"),U}function re(O,P,D){let $=O.getNode(),z=$.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(z.length>1||z.some(U=>U.length>0)){P.__inJestEach=!0;let U=O.map(D,"expressions");P.__inJestEach=!1;let se=[],ae=U.map(oe=>"${"+k(oe,Object.assign(Object.assign({},P),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),de=[{hasLineBreak:!1,cells:[]}];for(let oe=1;oe<$.quasis.length;oe++){let Ie=d(de),rt=ae[oe-1];Ie.cells.push(rt),rt.includes(`
72
- `)&&(Ie.hasLineBreak=!0),$.quasis[oe].value.raw.includes(`
73
- `)&&de.push({hasLineBreak:!1,cells:[]})}let xe=Math.max(z.length,...de.map(oe=>oe.cells.length)),be=Array.from({length:xe}).fill(0),je=[{cells:z},...de.filter(oe=>oe.cells.length>0)];for(let{cells:oe}of je.filter(Ie=>!Ie.hasLineBreak))for(let[Ie,rt]of oe.entries())be[Ie]=Math.max(be[Ie],b(rt));return se.push(_,"`",F([p,c(p,je.map(oe=>c(" | ",oe.cells.map((Ie,rt)=>oe.hasLineBreak?Ie:Ie+" ".repeat(be[rt]-b(Ie))))))]),p,"`"),se}}function ne(O,P){let D=O.getValue(),$=P();return W(D)&&($=C([F([y,$]),y])),["${",$,_,"}"]}function ue(O,P){return O.map(D=>ne(D,P),"expressions")}function R(O,P){return T(O,D=>typeof D=="string"?P?D.replace(/(\\*)`/g,"$1$1\\`"):B(D):D)}function B(O){return O.replace(/([\\`]|\${)/g,"\\$1")}w.exports={printTemplateLiteral:H,printTemplateExpressions:ue,escapeTemplateCharacters:R,uncookTemplateElementValue:B}}}),Ju=He({"src/language-js/embed/markdown.js"(x,w){Je();var{builders:{indent:d,softline:b,literalline:v,dedentToRoot:c}}=bn(),{escapeTemplateCharacters:p}=Ds();function y(F,M,_){let I=F.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(te,ie)=>"\\".repeat(ie.length/2)+"`"),k=C(I),T=k!=="";T&&(I=I.replace(new RegExp("^".concat(k),"gm"),""));let j=p(_(I,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",T?d([b,j]):[v,c(j)],b,"`"]}function C(F){let M=F.match(/^([^\S\n]*)\S/m);return M===null?"":M[1]}w.exports=y}}),au=He({"src/language-js/embed/css.js"(x,w){Je();var{isNonEmptyArray:d}=jn(),{builders:{indent:b,hardline:v,softline:c},utils:{mapDoc:p,replaceEndOfLine:y,cleanDoc:C}}=bn(),{printTemplateExpressions:F}=Ds();function M(k,T,j){let te=k.getValue(),ie=te.quasis.map(ne=>ne.value.raw),W=0,Y=ie.reduce((ne,ue,R)=>R===0?ue:ne+"@prettier-placeholder-"+W+++"-id"+ue,""),H=j(Y,{parser:"scss"},{stripTrailingHardline:!0}),re=F(k,T);return _(H,te,re)}function _(k,T,j){if(T.quasis.length===1&&!T.quasis[0].value.raw.trim())return"``";let te=I(k,j);if(!te)throw new Error("Couldn't insert all the expressions");return["`",b([v,te]),c,"`"]}function I(k,T){if(!d(T))return k;let j=0,te=p(C(k),ie=>typeof ie!="string"||!ie.includes("@prettier-placeholder")?ie:ie.split(/@prettier-placeholder-(\d+)-id/).map((W,Y)=>Y%2===0?y(W):(j++,T[W])));return T.length===j?te:null}w.exports=M}}),Ol=He({"src/language-js/embed/graphql.js"(x,w){Je();var{builders:{indent:d,join:b,hardline:v}}=bn(),{escapeTemplateCharacters:c,printTemplateExpressions:p}=Ds();function y(F,M,_){let I=F.getValue(),k=I.quasis.length;if(k===1&&I.quasis[0].value.raw.trim()==="")return"``";let T=p(F,M),j=[];for(let te=0;te<k;te++){let ie=I.quasis[te],W=te===0,Y=te===k-1,H=ie.value.cooked,re=H.split(`
74
- `),ne=re.length,ue=T[te],R=ne>2&&re[0].trim()===""&&re[1].trim()==="",B=ne>2&&re[ne-1].trim()===""&&re[ne-2].trim()==="",O=re.every(D=>/^\s*(?:#[^\n\r]*)?$/.test(D));if(!Y&&/#[^\n\r]*$/.test(re[ne-1]))return null;let P=null;O?P=C(re):P=_(H,{parser:"graphql"},{stripTrailingHardline:!0}),P?(P=c(P,!1),!W&&R&&j.push(""),j.push(P),!Y&&B&&j.push("")):!W&&!Y&&R&&j.push(""),ue&&j.push(ue)}return["`",d([v,b(v,j)]),v,"`"]}function C(F){let M=[],_=!1,I=F.map(k=>k.trim());for(let[k,T]of I.entries())T!==""&&(I[k-1]===""&&_?M.push([v,T]):M.push(T),_=!0);return M.length===0?null:b(v,M)}w.exports=y}}),Pl=He({"src/language-js/embed/html.js"(x,w){Je();var{builders:{indent:d,line:b,hardline:v,group:c},utils:{mapDoc:p}}=bn(),{printTemplateExpressions:y,uncookTemplateElementValue:C}=Ds(),F=0;function M(_,I,k,T,j){let{parser:te}=j,ie=_.getValue(),W=F;F=F+1>>>0;let Y=$=>"PRETTIER_HTML_PLACEHOLDER_".concat($,"_").concat(W,"_IN_JS"),H=ie.quasis.map(($,z,U)=>z===U.length-1?$.value.cooked:$.value.cooked+Y(z)).join(""),re=y(_,I);if(re.length===0&&H.trim().length===0)return"``";let ne=new RegExp(Y("(\\d+)"),"g"),ue=0,R=k(H,{parser:te,__onHtmlRoot($){ue=$.children.length}},{stripTrailingHardline:!0}),B=p(R,$=>{if(typeof $!="string")return $;let z=[],U=$.split(ne);for(let se=0;se<U.length;se++){let ae=U[se];if(se%2===0){ae&&(ae=C(ae),T.__embeddedInHtml&&(ae=ae.replace(/<\/(script)\b/gi,"<\\/$1")),z.push(ae));continue}let de=Number(ae);z.push(re[de])}return z}),O=/^\s/.test(H)?" ":"",P=/\s$/.test(H)?" ":"",D=T.htmlWhitespaceSensitivity==="ignore"?v:O&&P?b:null;return c(D?["`",d([D,c(B)]),D,"`"]:["`",O,ue>1?d(c(B)):c(B),P,"`"])}w.exports=M}}),jl=He({"src/language-js/embed.js"(x,w){Je();var{hasComment:d,CommentCheckFlags:b,isObjectProperty:v}=Zn(),c=Ju(),p=au(),y=Ol(),C=Pl();function F(R){if(I(R)||te(R)||ie(R)||k(R))return"css";if(H(R))return"graphql";if(ne(R))return"html";if(T(R))return"angular";if(_(R))return"markdown"}function M(R,B,O,P){let D=R.getValue();if(D.type!=="TemplateLiteral"||ue(D))return;let $=F(R);if($){if($==="markdown")return c(R,B,O);if($==="css")return p(R,B,O);if($==="graphql")return y(R,B,O);if($==="html"||$==="angular")return C(R,B,O,P,{parser:$})}}function _(R){let B=R.getValue(),O=R.getParentNode();return O&&O.type==="TaggedTemplateExpression"&&B.quasis.length===1&&O.tag.type==="Identifier"&&(O.tag.name==="md"||O.tag.name==="markdown")}function I(R){let B=R.getValue(),O=R.getParentNode(),P=R.getParentNode(1);return P&&B.quasis&&O.type==="JSXExpressionContainer"&&P.type==="JSXElement"&&P.openingElement.name.name==="style"&&P.openingElement.attributes.some(D=>D.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 k(R){return R.match(B=>B.type==="TemplateLiteral",(B,O)=>B.type==="ArrayExpression"&&O==="elements",(B,O)=>v(B)&&B.key.type==="Identifier"&&B.key.name==="styles"&&O==="value",...j)}function T(R){return R.match(B=>B.type==="TemplateLiteral",(B,O)=>v(B)&&B.key.type==="Identifier"&&B.key.name==="template"&&O==="value",...j)}var j=[(R,B)=>R.type==="ObjectExpression"&&B==="properties",(R,B)=>R.type==="CallExpression"&&R.callee.type==="Identifier"&&R.callee.name==="Component"&&B==="arguments",(R,B)=>R.type==="Decorator"&&B==="expression"];function te(R){let B=R.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 W(O.object)||Y(O);case"CallExpression":return W(O.callee)||O.callee.type==="MemberExpression"&&(O.callee.object.type==="MemberExpression"&&(W(O.callee.object.object)||Y(O.callee.object))||O.callee.object.type==="CallExpression"&&W(O.callee.object.callee));case"Identifier":return O.name==="css";default:return!1}}function ie(R){let B=R.getParentNode(),O=R.getParentNode(1);return O&&B.type==="JSXExpressionContainer"&&O.type==="JSXAttribute"&&O.name.type==="JSXIdentifier"&&O.name.name==="css"}function W(R){return R.type==="Identifier"&&R.name==="styled"}function Y(R){return/^[A-Z]/.test(R.object.name)&&R.property.name==="extend"}function H(R){let B=R.getValue(),O=R.getParentNode();return re(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 re(R,B){return d(R,b.Block|b.Leading,O=>{let{value:P}=O;return P===" ".concat(B," ")})}function ne(R){return re(R.getValue(),"HTML")||R.match(B=>B.type==="TemplateLiteral",(B,O)=>B.type==="TaggedTemplateExpression"&&B.tag.type==="Identifier"&&B.tag.name==="html"&&O==="quasi")}function ue(R){let{quasis:B}=R;return B.some(O=>{let{value:{cooked:P}}=O;return P===null})}w.exports=M}}),bs=He({"src/language-js/clean.js"(x,w){Je();var d=ss(),b=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),v=p=>{for(let y of p.quasis)delete y.value};function c(p,y,C){if(p.type==="Program"&&delete y.sourceType,(p.type==="BigIntLiteral"||p.type==="BigIntLiteralTypeAnnotation")&&y.value&&(y.value=y.value.toLowerCase()),(p.type==="BigIntLiteral"||p.type==="Literal")&&y.bigint&&(y.bigint=y.bigint.toLowerCase()),p.type==="DecimalLiteral"&&(y.value=Number(y.value)),p.type==="Literal"&&y.decimal&&(y.decimal=Number(y.decimal)),p.type==="EmptyStatement"||p.type==="JSXText"||p.type==="JSXExpressionContainer"&&(p.expression.type==="Literal"||p.expression.type==="StringLiteral")&&p.expression.value===" ")return null;if((p.type==="Property"||p.type==="ObjectProperty"||p.type==="MethodDefinition"||p.type==="ClassProperty"||p.type==="ClassMethod"||p.type==="PropertyDefinition"||p.type==="TSDeclareMethod"||p.type==="TSPropertySignature"||p.type==="ObjectTypeProperty")&&typeof p.key=="object"&&p.key&&(p.key.type==="Literal"||p.key.type==="NumericLiteral"||p.key.type==="StringLiteral"||p.key.type==="Identifier")&&delete y.key,p.type==="JSXElement"&&p.openingElement.name.name==="style"&&p.openingElement.attributes.some(M=>M.name.name==="jsx"))for(let{type:M,expression:_}of y.children)M==="JSXExpressionContainer"&&_.type==="TemplateLiteral"&&v(_);p.type==="JSXAttribute"&&p.name.name==="css"&&p.value.type==="JSXExpressionContainer"&&p.value.expression.type==="TemplateLiteral"&&v(y.value.expression),p.type==="JSXAttribute"&&p.value&&p.value.type==="Literal"&&/["']|&quot;|&apos;/.test(p.value.value)&&(y.value.value=y.value.value.replace(/["']|&quot;|&apos;/g,'"'));let F=p.expression||p.callee;if(p.type==="Decorator"&&F.type==="CallExpression"&&F.callee.name==="Component"&&F.arguments.length===1){let M=p.expression.arguments[0].properties;for(let[_,I]of y.expression.arguments[0].properties.entries())switch(M[_].key.name){case"styles":I.value.type==="ArrayExpression"&&v(I.value.elements[0]);break;case"template":I.value.type==="TemplateLiteral"&&v(I.value);break}}if(p.type==="TaggedTemplateExpression"&&(p.tag.type==="MemberExpression"||p.tag.type==="Identifier"&&(p.tag.name==="gql"||p.tag.name==="graphql"||p.tag.name==="css"||p.tag.name==="md"||p.tag.name==="markdown"||p.tag.name==="html")||p.tag.type==="CallExpression")&&v(y.quasi),p.type==="TemplateLiteral"&&(p.leadingComments&&p.leadingComments.some(M=>d(M)&&["GraphQL","HTML"].some(_=>M.value===" ".concat(_," ")))||C.type==="CallExpression"&&C.callee.name==="graphql"||!p.leadingComments)&&v(y),p.type==="InterpreterDirective"&&(y.value=y.value.trimEnd()),(p.type==="TSIntersectionType"||p.type==="TSUnionType")&&p.types.length===1)return y.types[0]}c.ignoredProperties=b,w.exports=c}}),xs={};$n(xs,{EOL:()=>Hs,arch:()=>Il,cpus:()=>ws,default:()=>Qu,endianness:()=>Cs,freemem:()=>lu,getNetworkInterfaces:()=>Aa,hostname:()=>wa,loadavg:()=>uu,networkInterfaces:()=>as,platform:()=>Xu,release:()=>Xo,tmpDir:()=>Qo,tmpdir:()=>Ws,totalmem:()=>Es,type:()=>Ui,uptime:()=>Yu});function Cs(){if(typeof zs>"u"){var x=new ArrayBuffer(2),w=new Uint8Array(x),d=new Uint16Array(x);if(w[0]=1,w[1]=2,d[0]===258)zs="BE";else if(d[0]===513)zs="LE";else throw new Error("unable to figure out endianess")}return zs}function wa(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function uu(){return[]}function Yu(){return 0}function lu(){return Number.MAX_VALUE}function Es(){return Number.MAX_VALUE}function ws(){return[]}function Ui(){return"Browser"}function Xo(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function as(){}function Aa(){}function Il(){return"javascript"}function Xu(){return"browser"}function Qo(){return"/tmp"}var zs,Ws,Hs,Qu,cu=ni({"node-modules-polyfills:os"(){Je(),Ws=Qo,Hs=`
75
- `,Qu={EOL:Hs,tmpdir:Ws,tmpDir:Qo,networkInterfaces:as,getNetworkInterfaces:Aa,release:Xo,type:Ui,cpus:ws,totalmem:Es,freemem:lu,uptime:Yu,loadavg:uu,hostname:wa,endianness:Cs}}}),Zu=He({"node-modules-polyfills-commonjs:os"(x,w){Je();var d=(cu(),xi(xs));if(d&&d.default){w.exports=d.default;for(let b in d)w.exports[b]=d[b]}else d&&(w.exports=d)}}),pu=He({"node_modules/detect-newline/index.js"(x,w){Je();var d=b=>{if(typeof b!="string")throw new TypeError("Expected a string");let v=b.match(/(?:\r?\n)/g)||[];if(v.length===0)return;let c=v.filter(y=>y===`\r
76
- `).length,p=v.length-c;return c>p?`\r
77
- `:`
78
- `};w.exports=d,w.exports.graceful=b=>typeof b=="string"&&d(b)||`
79
- `}}),Sa=He({"node_modules/jest-docblock/build/index.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0}),x.extract=k,x.parse=j,x.parseWithComments=te,x.print=ie,x.strip=T;function w(){let Y=Zu();return w=function(){return Y},Y}function d(){let Y=b(pu());return d=function(){return Y},Y}function b(Y){return Y&&Y.__esModule?Y:{default:Y}}var v=/\*\/$/,c=/^\/\*\*/,p=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,y=/(^|\s+)\/\/([^\r\n]*)/g,C=/^(\r?\n)+/,F=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,M=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,_=/(\r?\n|^) *\* ?/g,I=[];function k(Y){let H=Y.match(p);return H?H[0].trimLeft():""}function T(Y){let H=Y.match(p);return H&&H[0]?Y.substring(H[0].length):Y}function j(Y){return te(Y).pragmas}function te(Y){let H=(0,d().default)(Y)||w().EOL;Y=Y.replace(c,"").replace(v,"").replace(_,"$1");let re="";for(;re!==Y;)re=Y,Y=Y.replace(F,"".concat(H,"$1 $2").concat(H));Y=Y.replace(C,"").trimRight();let ne=Object.create(null),ue=Y.replace(M,"").replace(C,"").trimRight(),R;for(;R=M.exec(Y);){let B=R[2].replace(y,"");typeof ne[R[1]]=="string"||Array.isArray(ne[R[1]])?ne[R[1]]=I.concat(ne[R[1]],B):ne[R[1]]=B}return{comments:ue,pragmas:ne}}function ie(Y){let{comments:H="",pragmas:re={}}=Y,ne=(0,d().default)(H)||w().EOL,ue="/**",R=" *",B=" */",O=Object.keys(re),P=O.map($=>W($,re[$])).reduce(($,z)=>$.concat(z),[]).map($=>R+" "+$+ne).join("");if(!H){if(O.length===0)return"";if(O.length===1&&!Array.isArray(re[O[0]])){let $=re[O[0]];return"".concat(ue," ").concat(W(O[0],$)[0]).concat(B)}}let D=H.split(ne).map($=>"".concat(R," ").concat($)).join(ne)+ne;return ue+ne+(H?D:"")+(H&&O.length?R+ne:"")+P+B}function W(Y,H){return I.concat(H).map(re=>"@".concat(Y," ").concat(re).trim())}}}),Us=He({"src/language-js/utils/get-shebang.js"(x,w){Je();function d(b){if(!b.startsWith("#!"))return"";let v=b.indexOf(`
80
- `);return v===-1?b:b.slice(0,v)}w.exports=d}}),As=He({"src/language-js/pragma.js"(x,w){Je();var{parseWithComments:d,strip:b,extract:v,print:c}=Sa(),{normalizeEndOfLine:p}=er(),y=Us();function C(_){let I=y(_);I&&(_=_.slice(I.length+1));let k=v(_),{pragmas:T,comments:j}=d(k);return{shebang:I,text:_,pragmas:T,comments:j}}function F(_){let I=Object.keys(C(_).pragmas);return I.includes("prettier")||I.includes("format")}function M(_){let{shebang:I,text:k,pragmas:T,comments:j}=C(_),te=b(k),ie=c({pragmas:Object.assign({format:""},T),comments:j.trimStart()});return(I?"".concat(I,`
81
- `):"")+p(ie)+(te.startsWith(`
82
- `)?`
83
- `:`
84
-
85
- `)+te}w.exports={hasPragma:F,insertPragma:M}}}),Fa=He({"src/language-js/comments.js"(x,w){Je();var{getLast:d,hasNewline:b,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:v,getNextNonSpaceNonCommentCharacter:c,hasNewlineInRange:p,addLeadingComment:y,addTrailingComment:C,addDanglingComment:F,getNextNonSpaceNonCommentCharacterIndex:M,isNonEmptyArray:_}=jn(),{getFunctionParameters:I,isPrettierIgnoreComment:k,isJsxNode:T,hasFlowShorthandAnnotationComment:j,hasFlowAnnotationComment:te,hasIgnoreComment:ie,isCallLikeExpression:W,getCallArguments:Y,isCallExpression:H,isMemberExpression:re,isObjectProperty:ne,isLineComment:ue,getComments:R,CommentCheckFlags:B,markerForIfWithoutBlockAndSameLineComment:O}=Zn(),{locStart:P,locEnd:D}=ji(),$=ss();function z(Ge){return[St,Fe,Ie,be,je,oe,Pe,ut,Jt,Ct,Ye,qt,cr,Ke,Qe,ar].some(Ve=>Ve(Ge))}function U(Ge){return[xe,Fe,rt,ut,be,je,oe,Pe,Qe,Ce,tt,Ye,Tr,ar,Nt].some(Ve=>Ve(Ge))}function se(Ge){return[St,be,je,Te,it,Ke,Ye,et,Ue,Et,ar,an].some(Ve=>Ve(Ge))}function ae(Ge,Ve){let Ze=(Ge.body||Ge.properties).find($e=>{let{type:fe}=$e;return fe!=="EmptyStatement"});Ze?y(Ze,Ve):F(Ge,Ve)}function de(Ge,Ve){Ge.type==="BlockStatement"?ae(Ge,Ve):y(Ge,Ve)}function xe(Ge){let{comment:Ve,followingNode:Ze}=Ge;return Ze&&Le(Ve)?(y(Ze,Ve),!0):!1}function be(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,followingNode:fe,text:ir}=Ge;if(!$e||$e.type!=="IfStatement"||!fe)return!1;if(c(ir,Ve,D)===")")return C(Ze,Ve),!0;if(Ze===$e.consequent&&fe===$e.alternate){if(Ze.type==="BlockStatement")C(Ze,Ve);else{let Ar=Ve.type==="SingleLine"||Ve.loc.start.line===Ve.loc.end.line,In=Ve.loc.start.line===Ze.loc.start.line;Ar&&In?F(Ze,Ve,O):F($e,Ve)}return!0}return fe.type==="BlockStatement"?(ae(fe,Ve),!0):fe.type==="IfStatement"?(de(fe.consequent,Ve),!0):$e.consequent===fe?(y(fe,Ve),!0):!1}function je(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,followingNode:fe,text:ir}=Ge;return!$e||$e.type!=="WhileStatement"||!fe?!1:c(ir,Ve,D)===")"?(C(Ze,Ve),!0):fe.type==="BlockStatement"?(ae(fe,Ve),!0):$e.body===fe?(y(fe,Ve),!0):!1}function oe(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,followingNode:fe}=Ge;return!$e||$e.type!=="TryStatement"&&$e.type!=="CatchClause"||!fe?!1:$e.type==="CatchClause"&&Ze?(C(Ze,Ve),!0):fe.type==="BlockStatement"?(ae(fe,Ve),!0):fe.type==="TryStatement"?(de(fe.finalizer,Ve),!0):fe.type==="CatchClause"?(de(fe.body,Ve),!0):!1}function Ie(Ge){let{comment:Ve,enclosingNode:Ze,followingNode:$e}=Ge;return re(Ze)&&$e&&$e.type==="Identifier"?(y(Ze,Ve),!0):!1}function rt(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,followingNode:fe,text:ir}=Ge,Ar=Ze&&!p(ir,D(Ze),P(Ve));return(!Ze||!Ar)&&$e&&($e.type==="ConditionalExpression"||$e.type==="TSConditionalType")&&fe?(y(fe,Ve),!0):!1}function Te(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e}=Ge;return ne($e)&&$e.shorthand&&$e.key===Ze&&$e.value.type==="AssignmentPattern"?(C($e.value.left,Ve),!0):!1}function Pe(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,followingNode:fe}=Ge;if($e&&($e.type==="ClassDeclaration"||$e.type==="ClassExpression"||$e.type==="DeclareClass"||$e.type==="DeclareInterface"||$e.type==="InterfaceDeclaration"||$e.type==="TSInterfaceDeclaration")){if(_($e.decorators)&&!(fe&&fe.type==="Decorator"))return C(d($e.decorators),Ve),!0;if($e.body&&fe===$e.body)return ae($e.body,Ve),!0;if(fe){if($e.superClass&&fe===$e.superClass&&Ze&&(Ze===$e.id||Ze===$e.typeParameters))return C(Ze,Ve),!0;for(let ir of["implements","extends","mixins"])if($e[ir]&&fe===$e[ir][0])return Ze&&(Ze===$e.id||Ze===$e.typeParameters||Ze===$e.superClass)?C(Ze,Ve):F($e,Ve,ir),!0}}return!1}function Ke(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,text:fe}=Ge;return $e&&Ze&&c(fe,Ve,D)==="("&&($e.type==="Property"||$e.type==="TSDeclareMethod"||$e.type==="TSAbstractMethodDefinition")&&Ze.type==="Identifier"&&$e.key===Ze&&c(fe,Ze,D)!==":"||Ze&&$e&&Ze.type==="Decorator"&&($e.type==="ClassMethod"||$e.type==="ClassProperty"||$e.type==="PropertyDefinition"||$e.type==="TSAbstractPropertyDefinition"||$e.type==="TSAbstractMethodDefinition"||$e.type==="TSDeclareMethod"||$e.type==="MethodDefinition")?(C(Ze,Ve),!0):!1}function Ue(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,text:fe}=Ge;return c(fe,Ve,D)!=="("?!1:Ze&&$e&&($e.type==="FunctionDeclaration"||$e.type==="FunctionExpression"||$e.type==="ClassMethod"||$e.type==="MethodDefinition"||$e.type==="ObjectMethod")?(C(Ze,Ve),!0):!1}function et(Ge){let{comment:Ve,enclosingNode:Ze,text:$e}=Ge;if(!(Ze&&Ze.type==="ArrowFunctionExpression"))return!1;let fe=M($e,Ve,D);return fe!==!1&&$e.slice(fe,fe+2)==="=>"?(F(Ze,Ve),!0):!1}function it(Ge){let{comment:Ve,enclosingNode:Ze,text:$e}=Ge;return c($e,Ve,D)!==")"?!1:Ze&&(bt(Ze)&&I(Ze).length===0||W(Ze)&&Y(Ze).length===0)?(F(Ze,Ve),!0):Ze&&(Ze.type==="MethodDefinition"||Ze.type==="TSAbstractMethodDefinition")&&I(Ze.value).length===0?(F(Ze.value,Ve),!0):!1}function Fe(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,followingNode:fe,text:ir}=Ge;if(Ze&&Ze.type==="FunctionTypeParam"&&$e&&$e.type==="FunctionTypeAnnotation"&&fe&&fe.type!=="FunctionTypeParam"||Ze&&(Ze.type==="Identifier"||Ze.type==="AssignmentPattern")&&$e&&bt($e)&&c(ir,Ve,D)===")")return C(Ze,Ve),!0;if($e&&$e.type==="FunctionDeclaration"&&fe&&fe.type==="BlockStatement"){let Ar=(()=>{let In=I($e);if(In.length>0)return v(ir,D(d(In)));let si=v(ir,D($e.id));return si!==!1&&v(ir,si+1)})();if(P(Ve)>Ar)return ae(fe,Ve),!0}return!1}function ut(Ge){let{comment:Ve,enclosingNode:Ze}=Ge;return Ze&&Ze.type==="ImportSpecifier"?(y(Ze,Ve),!0):!1}function Qe(Ge){let{comment:Ve,enclosingNode:Ze}=Ge;return Ze&&Ze.type==="LabeledStatement"?(y(Ze,Ve),!0):!1}function ar(Ge){let{comment:Ve,enclosingNode:Ze}=Ge;return Ze&&(Ze.type==="ContinueStatement"||Ze.type==="BreakStatement")&&!Ze.label?(C(Ze,Ve),!0):!1}function Ce(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e}=Ge;return H($e)&&Ze&&$e.callee===Ze&&$e.arguments.length>0?(y($e.arguments[0],Ve),!0):!1}function Ct(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,followingNode:fe}=Ge;return $e&&($e.type==="UnionTypeAnnotation"||$e.type==="TSUnionType")?(k(Ve)&&(fe.prettierIgnore=!0,Ve.unignore=!0),Ze?(C(Ze,Ve),!0):!1):(fe&&(fe.type==="UnionTypeAnnotation"||fe.type==="TSUnionType")&&k(Ve)&&(fe.types[0].prettierIgnore=!0,Ve.unignore=!0),!1)}function tt(Ge){let{comment:Ve,enclosingNode:Ze}=Ge;return ne(Ze)?(y(Ze,Ve),!0):!1}function Ye(Ge){let{comment:Ve,enclosingNode:Ze,followingNode:$e,ast:fe,isLastComment:ir}=Ge;return fe&&fe.body&&fe.body.length===0?(ir?F(fe,Ve):y(fe,Ve),!0):Ze&&Ze.type==="Program"&&Ze.body.length===0&&!_(Ze.directives)?(ir?F(Ze,Ve):y(Ze,Ve),!0):$e&&$e.type==="Program"&&$e.body.length===0&&Ze&&Ze.type==="ModuleExpression"?(F($e,Ve),!0):!1}function Jt(Ge){let{comment:Ve,enclosingNode:Ze}=Ge;return Ze&&(Ze.type==="ForInStatement"||Ze.type==="ForOfStatement")?(y(Ze,Ve),!0):!1}function qt(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,text:fe}=Ge;return Ze&&Ze.type==="ImportSpecifier"&&$e&&$e.type==="ImportDeclaration"&&b(fe,D(Ve))?(C(Ze,Ve),!0):!1}function cr(Ge){let{comment:Ve,enclosingNode:Ze}=Ge;return Ze&&Ze.type==="AssignmentPattern"?(y(Ze,Ve),!0):!1}function Tr(Ge){let{comment:Ve,enclosingNode:Ze,followingNode:$e}=Ge;return Ze&&(Ze.type==="VariableDeclarator"||Ze.type==="AssignmentExpression"||Ze.type==="TypeAlias"||Ze.type==="TSTypeAliasDeclaration")&&$e&&($e.type==="ObjectExpression"||$e.type==="ArrayExpression"||$e.type==="TemplateLiteral"||$e.type==="TaggedTemplateExpression"||$e.type==="ObjectTypeAnnotation"||$e.type==="TSTypeLiteral"||$(Ve))?(y($e,Ve),!0):!1}function an(Ge){let{comment:Ve,enclosingNode:Ze,followingNode:$e,text:fe}=Ge;return!$e&&Ze&&(Ze.type==="TSMethodSignature"||Ze.type==="TSDeclareFunction"||Ze.type==="TSAbstractMethodDefinition")&&c(fe,Ve,D)===";"?(C(Ze,Ve),!0):!1}function St(Ge){let{comment:Ve,enclosingNode:Ze,followingNode:$e}=Ge;if(k(Ve)&&Ze&&Ze.type==="TSMappedType"&&$e&&$e.type==="TSTypeParameter"&&$e.constraint)return Ze.prettierIgnore=!0,Ve.unignore=!0,!0}function Et(Ge){let{comment:Ve,precedingNode:Ze,enclosingNode:$e,followingNode:fe}=Ge;return!$e||$e.type!=="TSMappedType"?!1:fe&&fe.type==="TSTypeParameter"&&fe.name?(y(fe.name,Ve),!0):Ze&&Ze.type==="TSTypeParameter"&&Ze.constraint?(C(Ze.constraint,Ve),!0):!1}function Nt(Ge){let{comment:Ve,enclosingNode:Ze,followingNode:$e}=Ge;return!Ze||Ze.type!=="SwitchCase"||Ze.test?!1:($e.type==="BlockStatement"&&ue(Ve)?ae($e,Ve):F(Ze,Ve),!0)}function bt(Ge){return Ge.type==="ArrowFunctionExpression"||Ge.type==="FunctionExpression"||Ge.type==="FunctionDeclaration"||Ge.type==="ObjectMethod"||Ge.type==="ClassMethod"||Ge.type==="TSDeclareFunction"||Ge.type==="TSCallSignatureDeclaration"||Ge.type==="TSConstructSignatureDeclaration"||Ge.type==="TSMethodSignature"||Ge.type==="TSConstructorType"||Ge.type==="TSFunctionType"||Ge.type==="TSDeclareMethod"}function Xt(Ge,Ve){if((Ve.parser==="typescript"||Ve.parser==="flow"||Ve.parser==="acorn"||Ve.parser==="espree"||Ve.parser==="meriyah"||Ve.parser==="__babel_estree")&&Ge.type==="MethodDefinition"&&Ge.value&&Ge.value.type==="FunctionExpression"&&I(Ge.value).length===0&&!Ge.value.returnType&&!_(Ge.value.typeParameters)&&Ge.value.body)return[...Ge.decorators||[],Ge.key,Ge.value.body]}function Le(Ge){return $(Ge)&&Ge.value[0]==="*"&&/@type\b/.test(Ge.value)}function Kt(Ge){let Ve=Ge.getValue(),Ze=Ge.getParentNode(),$e=fe=>te(R(fe,B.Leading))||te(R(fe,B.Trailing));return(Ve&&(T(Ve)||j(Ve)||H(Ze)&&$e(Ve))||Ze&&(Ze.type==="JSXSpreadAttribute"||Ze.type==="JSXSpreadChild"||Ze.type==="UnionTypeAnnotation"||Ze.type==="TSUnionType"||(Ze.type==="ClassDeclaration"||Ze.type==="ClassExpression")&&Ze.superClass===Ve))&&(!ie(Ge)||Ze.type==="UnionTypeAnnotation"||Ze.type==="TSUnionType")}w.exports={handleOwnLineComment:z,handleEndOfLineComment:U,handleRemainingComment:se,isTypeCastComment:Le,getCommentChildNodes:Xt,willPrintOwnComments:Kt}}}),Lo=He({"src/language-js/needs-parens.js"(x,w){Je();var d=fr(),b=fa(),{getFunctionParameters:v,getLeftSidePathName:c,hasFlowShorthandAnnotationComment:p,hasNakedLeftSide:y,hasNode:C,isBitwiseOperator:F,startsWithNoLookaheadToken:M,shouldFlatten:_,getPrecedence:I,isCallExpression:k,isMemberExpression:T,isObjectProperty:j}=Zn();function te(ue,R){let B=ue.getParentNode();if(!B)return!1;let O=ue.getName(),P=ue.getNode();if(R.__isInHtmlInterpolation&&!R.bracketSpacing&&H(P)&&re(ue))return!0;if(ie(P))return!1;if(R.parser!=="flow"&&p(ue.getValue()))return!0;if(P.type==="Identifier")return!!(P.extra&&P.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(P.name)||O==="left"&&P.name==="async"&&B.type==="ForOfStatement"&&!B.await);switch(B.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(O==="superClass"&&(P.type==="ArrowFunctionExpression"||P.type==="AssignmentExpression"||P.type==="AwaitExpression"||P.type==="BinaryExpression"||P.type==="ConditionalExpression"||P.type==="LogicalExpression"||P.type==="NewExpression"||P.type==="ObjectExpression"||P.type==="SequenceExpression"||P.type==="TaggedTemplateExpression"||P.type==="UnaryExpression"||P.type==="UpdateExpression"||P.type==="YieldExpression"||P.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return ne(ue,R)||P.type==="SequenceExpression";case"Decorator":{if(O==="expression"){let D=!1,$=!1,z=P;for(;z;)switch(z.type){case"MemberExpression":$=!0,z=z.object;break;case"CallExpression":if($||D)return R.parser!=="typescript";D=!0,z=z.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return R.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if(M(P,!0))return!0;break}case"ArrowFunctionExpression":{if(O==="body"&&P.type!=="SequenceExpression"&&M(P,!1))return!0;break}}switch(P.type){case"UpdateExpression":if(B.type==="UnaryExpression")return P.prefix&&(P.operator==="++"&&B.operator==="+"||P.operator==="--"&&B.operator==="-");case"UnaryExpression":switch(B.type){case"UnaryExpression":return P.operator===B.operator&&(P.operator==="+"||P.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"||P.operator==="in"&&W(ue))return!0;if(P.operator==="|>"&&P.extra&&P.extra.parenthesized){let D=ue.getParentNode(1);if(D.type==="BinaryExpression"&&D.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(B.type){case"TSAsExpression":return P.type!=="TSAsExpression";case"ConditionalExpression":return P.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"&&(P.type==="TSTypeAssertion"||P.type==="TSAsExpression");case"LogicalExpression":if(P.type==="LogicalExpression")return B.operator!==P.operator;case"BinaryExpression":{let{operator:D,type:$}=P;if(!D&&$!=="TSTypeAssertion")return!0;let z=I(D),U=B.operator,se=I(U);return se>z||O==="right"&&se===z||se===z&&!_(U,D)?!0:se<z&&D==="%"?U==="+"||U==="-":!!F(U)}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!(!P.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&&(!P.types||P.types.length>1))return!0;case"TSInferType":if(P.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"&&ue.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 D=B.type==="NullableTypeAnnotation"?ue.getParentNode(1):B;return D.type==="UnionTypeAnnotation"||D.type==="IntersectionTypeAnnotation"||D.type==="ArrayTypeAnnotation"||O==="objectType"&&(D.type==="IndexedAccessType"||D.type==="OptionalIndexedAccessType")||D.type==="NullableTypeAnnotation"||B.type==="FunctionTypeParam"&&B.name===null&&v(P).some($=>$.typeAnnotation&&$.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 P.value=="string"&&B.type==="ExpressionStatement"&&!B.directive){let D=ue.getParentNode(1);return D.type==="Program"||D.type==="BlockStatement"}return O==="object"&&B.type==="MemberExpression"&&typeof P.value=="number";case"AssignmentExpression":{let D=ue.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"?P.left.type==="ObjectPattern":!(O==="key"&&B.type==="TSPropertySignature"||B.type==="AssignmentExpression"||B.type==="SequenceExpression"&&D&&D.type==="ForStatement"&&(D.init===B||D.update===B)||O==="value"&&B.type==="Property"&&D&&D.type==="ObjectPattern"&&D.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!=="|>"||P.extra&&P.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(b(P.decorators))return!0;switch(B.type){case"NewExpression":return O==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let D=ue.getParentNode(1);if(O==="object"&&B.type==="MemberExpression"||O==="callee"&&(B.type==="CallExpression"||B.type==="NewExpression")||B.type==="TSNonNullExpression"&&D.type==="MemberExpression"&&D.object===B)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(O==="callee"&&(B.type==="BindExpression"||B.type==="NewExpression")){let D=P;for(;D;)switch(D.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":D=D.object;break;case"TaggedTemplateExpression":D=D.tag;break;case"TSNonNullExpression":D=D.expression;break;default:return!1}}return!1;case"BindExpression":return O==="callee"&&(B.type==="BindExpression"||B.type==="NewExpression")||O==="object"&&T(B);case"NGPipeExpression":return!(B.type==="NGRoot"||B.type==="NGMicrosyntaxExpression"||B.type==="ObjectProperty"&&!(P.extra&&P.extra.parenthesized)||B.type==="ArrayExpression"||k(B)&&B.arguments[O]===P||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"&&!k(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"&&Y(P)}return!1}function ie(ue){return ue.type==="BlockStatement"||ue.type==="BreakStatement"||ue.type==="ClassBody"||ue.type==="ClassDeclaration"||ue.type==="ClassMethod"||ue.type==="ClassProperty"||ue.type==="PropertyDefinition"||ue.type==="ClassPrivateProperty"||ue.type==="ContinueStatement"||ue.type==="DebuggerStatement"||ue.type==="DeclareClass"||ue.type==="DeclareExportAllDeclaration"||ue.type==="DeclareExportDeclaration"||ue.type==="DeclareFunction"||ue.type==="DeclareInterface"||ue.type==="DeclareModule"||ue.type==="DeclareModuleExports"||ue.type==="DeclareVariable"||ue.type==="DoWhileStatement"||ue.type==="EnumDeclaration"||ue.type==="ExportAllDeclaration"||ue.type==="ExportDefaultDeclaration"||ue.type==="ExportNamedDeclaration"||ue.type==="ExpressionStatement"||ue.type==="ForInStatement"||ue.type==="ForOfStatement"||ue.type==="ForStatement"||ue.type==="FunctionDeclaration"||ue.type==="IfStatement"||ue.type==="ImportDeclaration"||ue.type==="InterfaceDeclaration"||ue.type==="LabeledStatement"||ue.type==="MethodDefinition"||ue.type==="ReturnStatement"||ue.type==="SwitchStatement"||ue.type==="ThrowStatement"||ue.type==="TryStatement"||ue.type==="TSDeclareFunction"||ue.type==="TSEnumDeclaration"||ue.type==="TSImportEqualsDeclaration"||ue.type==="TSInterfaceDeclaration"||ue.type==="TSModuleDeclaration"||ue.type==="TSNamespaceExportDeclaration"||ue.type==="TypeAlias"||ue.type==="VariableDeclaration"||ue.type==="WhileStatement"||ue.type==="WithStatement"}function W(ue){let R=0,B=ue.getValue();for(;B;){let O=ue.getParentNode(R++);if(O&&O.type==="ForStatement"&&O.init===B)return!0;B=O}return!1}function Y(ue){return C(ue,R=>R.type==="ObjectTypeAnnotation"&&C(R,B=>B.type==="FunctionTypeAnnotation"||void 0)||void 0)}function H(ue){switch(ue.type){case"ObjectExpression":return!0;default:return!1}}function re(ue){let R=ue.getValue(),B=ue.getParentNode(),O=ue.getName();switch(B.type){case"NGPipeExpression":if(typeof O=="number"&&B.arguments[O]===R&&B.arguments.length-1===O)return ue.callParent(re);break;case"ObjectProperty":if(O==="value"){let P=ue.getParentNode(1);return d(P.properties)===B}break;case"BinaryExpression":case"LogicalExpression":if(O==="right")return ue.callParent(re);break;case"ConditionalExpression":if(O==="alternate")return ue.callParent(re);break;case"UnaryExpression":if(B.prefix)return ue.callParent(re);break}return!1}function ne(ue,R){let B=ue.getValue(),O=ue.getParentNode();return B.type==="FunctionExpression"||B.type==="ClassExpression"?O.type==="ExportDefaultDeclaration"||!te(ue,R):!y(B)||O.type!=="ExportDefaultDeclaration"&&te(ue,R)?!1:ue.call(P=>ne(P,R),...c(ue,B))}w.exports=te}}),el=He({"src/language-js/print-preprocess.js"(x,w){Je();function d(b,v){switch(v.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign(Object.assign({},b),{},{type:v.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:b,comments:[],rootMarker:v.rootMarker});default:return b}}w.exports=d}}),Ml=He({"src/language-js/print/html-binding.js"(x,w){Je();var{builders:{join:d,line:b,group:v,softline:c,indent:p}}=bn();function y(F,M,_){let I=F.getValue();if(M.__onHtmlBindingRoot&&F.getName()===null&&M.__onHtmlBindingRoot(I,M),I.type==="File"){if(M.__isVueForBindingLeft)return F.call(k=>{let T=d([",",b],k.map(_,"params")),{params:j}=k.getValue();return j.length===1?T:["(",p([c,v(T)]),c,")"]},"program","body",0);if(M.__isVueBindings)return F.call(k=>d([",",b],k.map(_,"params")),"program","body",0)}}function C(F){switch(F.type){case"MemberExpression":switch(F.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return C(F.object)}return!1;case"Identifier":return!0;default:return!1}}w.exports={isVueEventBindingExpression:C,printHtmlBinding:y}}}),tl=He({"src/language-js/print/binaryish.js"(x,w){Je();var{printComments:d}=Bi(),{getLast:b}=jn(),{builders:{join:v,line:c,softline:p,group:y,indent:C,align:F,ifBreak:M,indentIfBreak:_},utils:{cleanDoc:I,getDocParts:k,isConcat:T}}=bn(),{hasLeadingOwnLineComment:j,isBinaryish:te,isJsxNode:ie,shouldFlatten:W,hasComment:Y,CommentCheckFlags:H,isCallExpression:re,isMemberExpression:ne,isObjectProperty:ue,isEnabledHackPipeline:R}=Zn(),B=0;function O($,z,U){let se=$.getValue(),ae=$.getParentNode(),de=$.getParentNode(1),xe=se!==ae.body&&(ae.type==="IfStatement"||ae.type==="WhileStatement"||ae.type==="SwitchStatement"||ae.type==="DoWhileStatement"),be=R(z)&&se.operator==="|>",je=P($,U,z,!1,xe);if(xe)return je;if(be)return y(je);if(re(ae)&&ae.callee===se||ae.type==="UnaryExpression"||ne(ae)&&!ae.computed)return y([C([p,...je]),p]);let oe=ae.type==="ReturnStatement"||ae.type==="ThrowStatement"||ae.type==="JSXExpressionContainer"&&de.type==="JSXAttribute"||se.operator!=="|"&&ae.type==="JsExpressionRoot"||se.type!=="NGPipeExpression"&&(ae.type==="NGRoot"&&z.parser==="__ng_binding"||ae.type==="NGMicrosyntaxExpression"&&de.type==="NGMicrosyntax"&&de.body.length===1)||se===ae.body&&ae.type==="ArrowFunctionExpression"||se!==ae.body&&ae.type==="ForStatement"||ae.type==="ConditionalExpression"&&de.type!=="ReturnStatement"&&de.type!=="ThrowStatement"&&!re(de)||ae.type==="TemplateLiteral",Ie=ae.type==="AssignmentExpression"||ae.type==="VariableDeclarator"||ae.type==="ClassProperty"||ae.type==="PropertyDefinition"||ae.type==="TSAbstractPropertyDefinition"||ae.type==="ClassPrivateProperty"||ue(ae),rt=te(se.left)&&W(se.operator,se.left.operator);if(oe||D(se)&&!rt||!D(se)&&Ie)return y(je);if(je.length===0)return"";let Te=ie(se.right),Pe=je.findIndex(ut=>typeof ut!="string"&&!Array.isArray(ut)&&ut.type==="group"),Ke=je.slice(0,Pe===-1?1:Pe+1),Ue=je.slice(Ke.length,Te?-1:void 0),et=Symbol("logicalChain-"+ ++B),it=y([...Ke,C(Ue)],{id:et});if(!Te)return it;let Fe=b(je);return y([it,_(Fe,{groupId:et})])}function P($,z,U,se,ae){let de=$.getValue();if(!te(de))return[y(z())];let xe=[];W(de.operator,de.left.operator)?xe=$.call(Ue=>P(Ue,z,U,!0,ae),"left"):xe.push(y(z("left")));let be=D(de),je=(de.operator==="|>"||de.type==="NGPipeExpression"||de.operator==="|"&&U.parser==="__vue_expression")&&!j(U.originalText,de.right),oe=de.type==="NGPipeExpression"?"|":de.operator,Ie=de.type==="NGPipeExpression"&&de.arguments.length>0?y(C([p,": ",v([p,":",M(" ")],$.map(z,"arguments").map(Ue=>F(2,y(Ue))))])):"",rt;if(be)rt=[oe," ",z("right"),Ie];else{let Ue=R(U)&&oe==="|>"?$.call(et=>P(et,z,U,!0,ae),"right"):z("right");rt=[je?c:"",oe,je?" ":c,Ue,Ie]}let Te=$.getParentNode(),Pe=Y(de.left,H.Trailing|H.Line),Ke=Pe||!(ae&&de.type==="LogicalExpression")&&Te.type!==de.type&&de.left.type!==de.type&&de.right.type!==de.type;if(xe.push(je?"":" ",Ke?y(rt,{shouldBreak:Pe}):rt),se&&Y(de)){let Ue=I(d($,xe,U));return T(Ue)||Ue.type==="fill"?k(Ue):[Ue]}return xe}function D($){return $.type!=="LogicalExpression"?!1:!!($.right.type==="ObjectExpression"&&$.right.properties.length>0||$.right.type==="ArrayExpression"&&$.right.elements.length>0||ie($.right))}w.exports={printBinaryishExpression:O,shouldInlineLogicalExpression:D}}}),rl=He({"src/language-js/print/angular.js"(x,w){Je();var{builders:{join:d,line:b,group:v}}=bn(),{hasNode:c,hasComment:p,getComments:y}=Zn(),{printBinaryishExpression:C}=tl();function F(I,k,T){let j=I.getValue();if(j.type.startsWith("NG"))switch(j.type){case"NGRoot":return[T("node"),p(j.node)?" //"+y(j.node)[0].value.trimEnd():""];case"NGPipeExpression":return C(I,k,T);case"NGChainedExpression":return v(d([";",b],I.map(te=>_(te)?T():["(",T(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[j.prefix,": ",j.value.trim()];case"NGMicrosyntax":return I.map((te,ie)=>[ie===0?"":M(te.getValue(),ie,j)?" ":[";",b],T()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(j.name)?j.name:JSON.stringify(j.name);case"NGMicrosyntaxExpression":return[T("expression"),j.alias===null?"":[" as ",T("alias")]];case"NGMicrosyntaxKeyedExpression":{let te=I.getName(),ie=I.getParentNode(),W=M(j,te,ie)||(te===1&&(j.key.name==="then"||j.key.name==="else")||te===2&&j.key.name==="else"&&ie.body[te-1].type==="NGMicrosyntaxKeyedExpression"&&ie.body[te-1].key.name==="then")&&ie.body[0].type==="NGMicrosyntaxExpression";return[T("key"),W?" ":": ",T("expression")]}case"NGMicrosyntaxLet":return["let ",T("key"),j.value===null?"":[" = ",T("value")]];case"NGMicrosyntaxAs":return[T("key")," as ",T("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(j.type),"."))}}function M(I,k,T){return I.type==="NGMicrosyntaxKeyedExpression"&&I.key.name==="of"&&k===1&&T.body[0].type==="NGMicrosyntaxLet"&&T.body[0].value===null}function _(I){return c(I.getValue(),k=>{switch(k.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}w.exports={printAngular:F}}}),nl=He({"src/language-js/print/jsx.js"(x,w){Je();var{printComments:d,printDanglingComments:b}=Bi(),{builders:{line:v,hardline:c,softline:p,group:y,indent:C,conditionalGroup:F,fill:M,ifBreak:_,lineSuffixBoundary:I,join:k},utils:{willBreak:T}}=bn(),{getLast:j,getPreferredQuote:te}=jn(),{isJsxNode:ie,rawText:W,isLiteral:Y,isCallExpression:H,isStringLiteral:re,isBinaryish:ne,hasComment:ue,CommentCheckFlags:R,hasNodeIgnoreComment:B}=Zn(),O=Lo(),{willPrintOwnComments:P}=Fa(),D=Ce=>Ce===""||Ce===v||Ce===c||Ce===p;function $(Ce,Ct,tt){let Ye=Ce.getValue();if(Ye.type==="JSXElement"&&Fe(Ye))return[tt("openingElement"),tt("closingElement")];let Jt=Ye.type==="JSXElement"?tt("openingElement"):tt("openingFragment"),qt=Ye.type==="JSXElement"?tt("closingElement"):tt("closingFragment");if(Ye.children.length===1&&Ye.children[0].type==="JSXExpressionContainer"&&(Ye.children[0].expression.type==="TemplateLiteral"||Ye.children[0].expression.type==="TaggedTemplateExpression"))return[Jt,...Ce.map(tt,"children"),qt];Ye.children=Ye.children.map($e=>Qe($e)?{type:"JSXText",value:" ",raw:" "}:$e);let cr=Ye.children.some(ie),Tr=Ye.children.filter($e=>$e.type==="JSXExpressionContainer").length>1,an=Ye.type==="JSXElement"&&Ye.openingElement.attributes.length>1,St=T(Jt)||cr||an||Tr,Et=Ce.getParentNode().rootMarker==="mdx",Nt=Ct.singleQuote?"{' '}":'{" "}',bt=Et?" ":_([Nt,p]," "),Xt=Ye.openingElement&&Ye.openingElement.name&&Ye.openingElement.name.name==="fbt",Le=z(Ce,Ct,tt,bt,Xt),Kt=Ye.children.some($e=>ut($e));for(let $e=Le.length-2;$e>=0;$e--){let fe=Le[$e]===""&&Le[$e+1]==="",ir=Le[$e]===c&&Le[$e+1]===""&&Le[$e+2]===c,Ar=(Le[$e]===p||Le[$e]===c)&&Le[$e+1]===""&&Le[$e+2]===bt,In=Le[$e]===bt&&Le[$e+1]===""&&(Le[$e+2]===p||Le[$e+2]===c),si=Le[$e]===bt&&Le[$e+1]===""&&Le[$e+2]===bt,vi=Le[$e]===p&&Le[$e+1]===""&&Le[$e+2]===c||Le[$e]===c&&Le[$e+1]===""&&Le[$e+2]===p;ir&&Kt||fe||Ar||si||vi?Le.splice($e,2):In&&Le.splice($e+1,2)}for(;Le.length>0&&D(j(Le));)Le.pop();for(;Le.length>1&&D(Le[0])&&D(Le[1]);)Le.shift(),Le.shift();let Ge=[];for(let[$e,fe]of Le.entries()){if(fe===bt){if($e===1&&Le[$e-1]===""){if(Le.length===2){Ge.push(Nt);continue}Ge.push([Nt,c]);continue}else if($e===Le.length-1){Ge.push(Nt);continue}else if(Le[$e-1]===""&&Le[$e-2]===c){Ge.push(Nt);continue}}Ge.push(fe),T(fe)&&(St=!0)}let Ve=Kt?M(Ge):y(Ge,{shouldBreak:!0});if(Et)return Ve;let Ze=y([Jt,C([c,Ve]),c,qt]);return St?Ze:F([y([Jt,...Le,qt]),Ze])}function z(Ce,Ct,tt,Ye,Jt){let qt=[];return Ce.each((cr,Tr,an)=>{let St=cr.getValue();if(Y(St)){let Et=W(St);if(ut(St)){let Nt=Et.split(Ue);if(Nt[0]===""){if(qt.push(""),Nt.shift(),/\n/.test(Nt[0])){let Xt=an[Tr+1];qt.push(se(Jt,Nt[1],St,Xt))}else qt.push(Ye);Nt.shift()}let bt;if(j(Nt)===""&&(Nt.pop(),bt=Nt.pop()),Nt.length===0)return;for(let[Xt,Le]of Nt.entries())Xt%2===1?qt.push(v):qt.push(Le);if(bt!==void 0)if(/\n/.test(bt)){let Xt=an[Tr+1];qt.push(se(Jt,j(qt),St,Xt))}else qt.push(Ye);else{let Xt=an[Tr+1];qt.push(U(Jt,j(qt),St,Xt))}}else/\n/.test(Et)?Et.match(/\n/g).length>1&&qt.push("",c):qt.push("",Ye)}else{let Et=tt();qt.push(Et);let Nt=an[Tr+1];if(Nt&&ut(Nt)){let bt=it(W(Nt)).split(Ue)[0];qt.push(U(Jt,bt,St,Nt))}else qt.push(c)}},"children"),qt}function U(Ce,Ct,tt,Ye){return Ce?"":tt.type==="JSXElement"&&!tt.closingElement||Ye&&Ye.type==="JSXElement"&&!Ye.closingElement?Ct.length===1?p:c:p}function se(Ce,Ct,tt,Ye){return Ce?c:Ct.length===1?tt.type==="JSXElement"&&!tt.closingElement||Ye&&Ye.type==="JSXElement"&&!Ye.closingElement?c:p:c}function ae(Ce,Ct,tt){let Ye=Ce.getParentNode();if(!Ye||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Ye.type])return Ct;let Jt=Ce.match(void 0,cr=>cr.type==="ArrowFunctionExpression",H,cr=>cr.type==="JSXExpressionContainer"),qt=O(Ce,tt);return y([qt?"":_("("),C([p,Ct]),p,qt?"":_(")")],{shouldBreak:Jt})}function de(Ce,Ct,tt){let Ye=Ce.getValue(),Jt=[];if(Jt.push(tt("name")),Ye.value){let qt;if(re(Ye.value)){let cr=W(Ye.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:Tr,quote:an,regex:St}=te(cr,Ct.jsxSingleQuote?"'":'"');cr=cr.replace(St,Tr),qt=[an,cr,an]}else qt=tt("value");Jt.push("=",qt)}return Jt}function xe(Ce,Ct,tt){let Ye=Ce.getValue(),Jt=(qt,cr)=>qt.type==="JSXEmptyExpression"||!ue(qt)&&(qt.type==="ArrayExpression"||qt.type==="ObjectExpression"||qt.type==="ArrowFunctionExpression"||qt.type==="AwaitExpression"&&(Jt(qt.argument,qt)||qt.argument.type==="JSXElement")||H(qt)||qt.type==="FunctionExpression"||qt.type==="TemplateLiteral"||qt.type==="TaggedTemplateExpression"||qt.type==="DoExpression"||ie(cr)&&(qt.type==="ConditionalExpression"||ne(qt)));return Jt(Ye.expression,Ce.getParentNode(0))?y(["{",tt("expression"),I,"}"]):y(["{",C([p,tt("expression")]),p,I,"}"])}function be(Ce,Ct,tt){let Ye=Ce.getValue(),Jt=Ye.name&&ue(Ye.name)||Ye.typeParameters&&ue(Ye.typeParameters);if(Ye.selfClosing&&Ye.attributes.length===0&&!Jt)return["<",tt("name"),tt("typeParameters")," />"];if(Ye.attributes&&Ye.attributes.length===1&&Ye.attributes[0].value&&re(Ye.attributes[0].value)&&!Ye.attributes[0].value.value.includes(`
86
- `)&&!Jt&&!ue(Ye.attributes[0]))return y(["<",tt("name"),tt("typeParameters")," ",...Ce.map(tt,"attributes"),Ye.selfClosing?" />":">"]);let qt=Ye.attributes.length>0&&ue(j(Ye.attributes),R.Trailing),cr=Ye.attributes.length===0&&!Jt||(Ct.bracketSameLine||Ct.jsxBracketSameLine)&&(!Jt||Ye.attributes.length>0)&&!qt,Tr=Ye.attributes&&Ye.attributes.some(St=>St.value&&re(St.value)&&St.value.value.includes(`
87
- `)),an=Ct.singleAttributePerLine&&Ye.attributes.length>1?c:v;return y(["<",tt("name"),tt("typeParameters"),C(Ce.map(()=>[an,tt()],"attributes")),Ye.selfClosing?v:cr?">":p,Ye.selfClosing?"/>":cr?"":">"],{shouldBreak:Tr})}function je(Ce,Ct,tt){let Ye=Ce.getValue(),Jt=[];Jt.push("</");let qt=tt("name");return ue(Ye.name,R.Leading|R.Line)?Jt.push(C([c,qt]),c):ue(Ye.name,R.Leading|R.Block)?Jt.push(" ",qt):Jt.push(qt),Jt.push(">"),Jt}function oe(Ce,Ct){let tt=Ce.getValue(),Ye=ue(tt),Jt=ue(tt,R.Line),qt=tt.type==="JSXOpeningFragment";return[qt?"<":"</",C([Jt?c:Ye&&!qt?" ":"",b(Ce,Ct,!0)]),Jt?c:"",">"]}function Ie(Ce,Ct,tt){let Ye=d(Ce,$(Ce,Ct,tt),Ct);return ae(Ce,Ye,Ct)}function rt(Ce,Ct){let tt=Ce.getValue(),Ye=ue(tt,R.Line);return[b(Ce,Ct,!Ye),Ye?c:""]}function Te(Ce,Ct,tt){let Ye=Ce.getValue();return["{",Ce.call(Jt=>{let qt=["...",tt()],cr=Jt.getValue();return!ue(cr)||!P(Jt)?qt:[C([p,d(Jt,qt,Ct)]),p]},Ye.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Pe(Ce,Ct,tt){let Ye=Ce.getValue();if(Ye.type.startsWith("JSX"))switch(Ye.type){case"JSXAttribute":return de(Ce,Ct,tt);case"JSXIdentifier":return String(Ye.name);case"JSXNamespacedName":return k(":",[tt("namespace"),tt("name")]);case"JSXMemberExpression":return k(".",[tt("object"),tt("property")]);case"JSXSpreadAttribute":return Te(Ce,Ct,tt);case"JSXSpreadChild":return Te(Ce,Ct,tt);case"JSXExpressionContainer":return xe(Ce,Ct,tt);case"JSXFragment":case"JSXElement":return Ie(Ce,Ct,tt);case"JSXOpeningElement":return be(Ce,Ct,tt);case"JSXClosingElement":return je(Ce,Ct,tt);case"JSXOpeningFragment":case"JSXClosingFragment":return oe(Ce,Ct);case"JSXEmptyExpression":return rt(Ce,Ct);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(Ye.type),"."))}}var Ke=`
88
- \r `,Ue=new RegExp("(["+Ke+"]+)"),et=new RegExp("[^"+Ke+"]"),it=Ce=>Ce.replace(new RegExp("(?:^"+Ue.source+"|"+Ue.source+"$)"),"");function Fe(Ce){if(Ce.children.length===0)return!0;if(Ce.children.length>1)return!1;let Ct=Ce.children[0];return Y(Ct)&&!ut(Ct)}function ut(Ce){return Y(Ce)&&(et.test(W(Ce))||!/\n/.test(W(Ce)))}function Qe(Ce){return Ce.type==="JSXExpressionContainer"&&Y(Ce.expression)&&Ce.expression.value===" "&&!ue(Ce.expression)}function ar(Ce){let Ct=Ce.getValue(),tt=Ce.getParentNode();if(!tt||!Ct||!ie(Ct)||!ie(tt))return!1;let Ye=tt.children.indexOf(Ct),Jt=null;for(let qt=Ye;qt>0;qt--){let cr=tt.children[qt-1];if(!(cr.type==="JSXText"&&!ut(cr))){Jt=cr;break}}return Jt&&Jt.type==="JSXExpressionContainer"&&Jt.expression.type==="JSXEmptyExpression"&&B(Jt.expression)}w.exports={hasJsxIgnoreComment:ar,printJsx:Pe}}}),$i=He({"src/language-js/print/misc.js"(x,w){Je();var{isNonEmptyArray:d}=jn(),{builders:{indent:b,join:v,line:c}}=bn(),{isFlowAnnotationComment:p}=Zn();function y(j){let te=j.getValue();return!te.optional||te.type==="Identifier"&&te===j.getParentNode().key?"":te.type==="OptionalCallExpression"||te.type==="OptionalMemberExpression"&&te.computed?"?.":"?"}function C(j){return j.getValue().definite||j.match(void 0,(te,ie)=>ie==="id"&&te.type==="VariableDeclarator"&&te.definite)?"!":""}function F(j,te,ie){let W=j.getValue();return W.typeArguments?ie("typeArguments"):W.typeParameters?ie("typeParameters"):""}function M(j,te,ie){let W=j.getValue();if(!W.typeAnnotation)return"";let Y=j.getParentNode(),H=Y.type==="DeclareFunction"&&Y.id===W;return p(te.originalText,W.typeAnnotation)?[" /*: ",ie("typeAnnotation")," */"]:[H?"":": ",ie("typeAnnotation")]}function _(j,te,ie){return["::",ie("callee")]}function I(j,te,ie){let W=j.getValue();return d(W.modifiers)?[v(" ",j.map(ie,"modifiers"))," "]:""}function k(j,te,ie){return j.type==="EmptyStatement"?";":j.type==="BlockStatement"||ie?[" ",te]:b([c,te])}function T(j,te,ie){return["...",ie("argument"),M(j,te,ie)]}w.exports={printOptionalToken:y,printDefiniteToken:C,printFunctionTypeParameters:F,printBindExpressionCallee:_,printTypeScriptModifiers:I,printTypeAnnotation:M,printRestSpread:T,adjustClause:k}}}),Zo=He({"src/language-js/print/array.js"(x,w){Je();var{printDanglingComments:d}=Bi(),{builders:{line:b,softline:v,hardline:c,group:p,indent:y,ifBreak:C,fill:F}}=bn(),{getLast:M,hasNewline:_}=jn(),{shouldPrintComma:I,hasComment:k,CommentCheckFlags:T,isNextLineEmpty:j,isNumericLiteral:te,isSignedNumericLiteral:ie}=Zn(),{locStart:W}=ji(),{printOptionalToken:Y,printTypeAnnotation:H}=$i();function re(B,O,P){let D=B.getValue(),$=[],z=D.type==="TupleExpression"?"#[":"[",U="]";if(D.elements.length===0)k(D,T.Dangling)?$.push(p([z,d(B,O),v,U])):$.push(z,U);else{let se=M(D.elements),ae=!(se&&se.type==="RestElement"),de=se===null,xe=Symbol("array"),be=!O.__inJestEach&&D.elements.length>1&&D.elements.every((Ie,rt,Te)=>{let Pe=Ie&&Ie.type;if(Pe!=="ArrayExpression"&&Pe!=="ObjectExpression")return!1;let Ke=Te[rt+1];if(Ke&&Pe!==Ke.type)return!1;let Ue=Pe==="ArrayExpression"?"elements":"properties";return Ie[Ue]&&Ie[Ue].length>1}),je=ne(D,O),oe=ae?de?",":I(O)?je?C(",","",{groupId:xe}):C(","):"":"";$.push(p([z,y([v,je?R(B,O,P,oe):[ue(B,O,"elements",P),oe],d(B,O,!0)]),v,U],{shouldBreak:be,id:xe}))}return $.push(Y(B),H(B,O,P)),$}function ne(B,O){return B.elements.length>1&&B.elements.every(P=>P&&(te(P)||ie(P)&&!k(P.argument))&&!k(P,T.Trailing|T.Line,D=>!_(O.originalText,W(D),{backwards:!0})))}function ue(B,O,P,D){let $=[],z=[];return B.each(U=>{$.push(z,p(D())),z=[",",b],U.getValue()&&j(U.getValue(),O)&&z.push(v)},P),$}function R(B,O,P,D){let $=[];return B.each((z,U,se)=>{let ae=U===se.length-1;$.push([P(),ae?D:","]),ae||$.push(j(z.getValue(),O)?[c,c]:k(se[U+1],T.Leading|T.Line)?c:b)},"elements"),F($)}w.exports={printArray:re,printArrayItems:ue,isConciselyPrintedArray:ne}}}),Ll=He({"src/language-js/print/call-arguments.js"(x,w){Je();var{printDanglingComments:d}=Bi(),{getLast:b,getPenultimate:v}=jn(),{getFunctionParameters:c,hasComment:p,CommentCheckFlags:y,isFunctionCompositionArgs:C,isJsxNode:F,isLongCurriedCallExpression:M,shouldPrintComma:_,getCallArguments:I,iterateCallArgumentsPath:k,isNextLineEmpty:T,isCallExpression:j,isStringLiteral:te,isObjectProperty:ie}=Zn(),{builders:{line:W,hardline:Y,softline:H,group:re,indent:ne,conditionalGroup:ue,ifBreak:R,breakParent:B},utils:{willBreak:O}}=bn(),{ArgExpansionBailout:P}=ys(),{isConciselyPrintedArray:D}=Zo();function $(be,je,oe){let Ie=be.getValue(),rt=Ie.type==="ImportExpression",Te=I(Ie);if(Te.length===0)return["(",d(be,je,!0),")"];if(ae(Te))return["(",oe(["arguments",0]),", ",oe(["arguments",1]),")"];let Pe=!1,Ke=!1,Ue=Te.length-1,et=[];k(be,(Ce,Ct)=>{let tt=Ce.getNode(),Ye=[oe()];Ct===Ue||(T(tt,je)?(Ct===0&&(Ke=!0),Pe=!0,Ye.push(",",Y,Y)):Ye.push(",",W)),et.push(Ye)});let it=!(rt||Ie.callee&&Ie.callee.type==="Import")&&_(je,"all")?",":"";function Fe(){return re(["(",ne([W,...et]),it,W,")"],{shouldBreak:!0})}if(Pe||be.getParentNode().type!=="Decorator"&&C(Te))return Fe();let ut=se(Te),Qe=U(Te,je);if(ut||Qe){if(ut?et.slice(1).some(O):et.slice(0,-1).some(O))return Fe();let Ce=[];try{be.try(()=>{k(be,(Ct,tt)=>{ut&&tt===0&&(Ce=[[oe([],{expandFirstArg:!0}),et.length>1?",":"",Ke?Y:W,Ke?Y:""],...et.slice(1)]),Qe&&tt===Ue&&(Ce=[...et.slice(0,-1),oe([],{expandLastArg:!0})])})})}catch(Ct){if(Ct instanceof P)return Fe();throw Ct}return[et.some(O)?B:"",ue([["(",...Ce,")"],ut?["(",re(Ce[0],{shouldBreak:!0}),...Ce.slice(1),")"]:["(",...et.slice(0,-1),re(b(Ce),{shouldBreak:!0}),")"],Fe()])]}let ar=["(",ne([H,...et]),R(it),H,")"];return M(be)?ar:re(ar,{shouldBreak:et.some(O)||Pe})}function z(be){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return be.type==="ObjectExpression"&&(be.properties.length>0||p(be))||be.type==="ArrayExpression"&&(be.elements.length>0||p(be))||be.type==="TSTypeAssertion"&&z(be.expression)||be.type==="TSAsExpression"&&z(be.expression)||be.type==="FunctionExpression"||be.type==="ArrowFunctionExpression"&&(!be.returnType||!be.returnType.typeAnnotation||be.returnType.typeAnnotation.type!=="TSTypeReference"||de(be.body))&&(be.body.type==="BlockStatement"||be.body.type==="ArrowFunctionExpression"&&z(be.body,!0)||be.body.type==="ObjectExpression"||be.body.type==="ArrayExpression"||!je&&(j(be.body)||be.body.type==="ConditionalExpression")||F(be.body))||be.type==="DoExpression"||be.type==="ModuleExpression"}function U(be,je){let oe=b(be),Ie=v(be);return!p(oe,y.Leading)&&!p(oe,y.Trailing)&&z(oe)&&(!Ie||Ie.type!==oe.type)&&(be.length!==2||Ie.type!=="ArrowFunctionExpression"||oe.type!=="ArrayExpression")&&!(be.length>1&&oe.type==="ArrayExpression"&&D(oe,je))}function se(be){if(be.length!==2)return!1;let[je,oe]=be;return je.type==="ModuleExpression"&&xe(oe)?!0:!p(je)&&(je.type==="FunctionExpression"||je.type==="ArrowFunctionExpression"&&je.body.type==="BlockStatement")&&oe.type!=="FunctionExpression"&&oe.type!=="ArrowFunctionExpression"&&oe.type!=="ConditionalExpression"&&!z(oe)}function ae(be){return be.length===2&&be[0].type==="ArrowFunctionExpression"&&c(be[0]).length===0&&be[0].body.type==="BlockStatement"&&be[1].type==="ArrayExpression"&&!be.some(je=>p(je))}function de(be){return be.type==="BlockStatement"&&(be.body.some(je=>je.type!=="EmptyStatement")||p(be,y.Dangling))}function xe(be){return be.type==="ObjectExpression"&&be.properties.length===1&&ie(be.properties[0])&&be.properties[0].key.type==="Identifier"&&be.properties[0].key.name==="type"&&te(be.properties[0].value)&&be.properties[0].value.value==="module"}w.exports=$}}),Ss=He({"src/language-js/print/member.js"(x,w){Je();var{builders:{softline:d,group:b,indent:v,label:c}}=bn(),{isNumericLiteral:p,isMemberExpression:y,isCallExpression:C}=Zn(),{printOptionalToken:F}=$i();function M(I,k,T){let j=I.getValue(),te=I.getParentNode(),ie,W=0;do ie=I.getParentNode(W),W++;while(ie&&(y(ie)||ie.type==="TSNonNullExpression"));let Y=T("object"),H=_(I,k,T),re=ie&&(ie.type==="NewExpression"||ie.type==="BindExpression"||ie.type==="AssignmentExpression"&&ie.left.type!=="Identifier")||j.computed||j.object.type==="Identifier"&&j.property.type==="Identifier"&&!y(te)||(te.type==="AssignmentExpression"||te.type==="VariableDeclarator")&&(C(j.object)&&j.object.arguments.length>0||j.object.type==="TSNonNullExpression"&&C(j.object.expression)&&j.object.expression.arguments.length>0||Y.label==="member-chain");return c(Y.label==="member-chain"?"member-chain":"member",[Y,re?H:b(v([d,H]))])}function _(I,k,T){let j=T("property"),te=I.getValue(),ie=F(I);return te.computed?!te.property||p(te.property)?[ie,"[",j,"]"]:b([ie,"[",v([d,j]),d,"]"]):[ie,".",j]}w.exports={printMemberExpression:M,printMemberLookup:_}}}),ka=He({"src/language-js/print/member-chain.js"(x,w){Je();var{printComments:d}=Bi(),{getLast:b,isNextLineEmptyAfterIndex:v,getNextNonSpaceNonCommentCharacterIndex:c}=jn(),p=Lo(),{isCallExpression:y,isMemberExpression:C,isFunctionOrArrowExpression:F,isLongCurriedCallExpression:M,isMemberish:_,isNumericLiteral:I,isSimpleCallArgument:k,hasComment:T,CommentCheckFlags:j,isNextLineEmpty:te}=Zn(),{locEnd:ie}=ji(),{builders:{join:W,hardline:Y,group:H,indent:re,conditionalGroup:ne,breakParent:ue,label:R},utils:{willBreak:B}}=bn(),O=Ll(),{printMemberLookup:P}=Ss(),{printOptionalToken:D,printFunctionTypeParameters:$,printBindExpressionCallee:z}=$i();function U(se,ae,de){let xe=se.getParentNode(),be=!xe||xe.type==="ExpressionStatement",je=[];function oe(Nt){let{originalText:bt}=ae,Xt=c(bt,Nt,ie);return bt.charAt(Xt)===")"?Xt!==!1&&v(bt,Xt+1):te(Nt,ae)}function Ie(Nt){let bt=Nt.getValue();y(bt)&&(_(bt.callee)||y(bt.callee))?(je.unshift({node:bt,printed:[d(Nt,[D(Nt),$(Nt,ae,de),O(Nt,ae,de)],ae),oe(bt)?Y:""]}),Nt.call(Xt=>Ie(Xt),"callee")):_(bt)?(je.unshift({node:bt,needsParens:p(Nt,ae),printed:d(Nt,C(bt)?P(Nt,ae,de):z(Nt,ae,de),ae)}),Nt.call(Xt=>Ie(Xt),"object")):bt.type==="TSNonNullExpression"?(je.unshift({node:bt,printed:d(Nt,"!",ae)}),Nt.call(Xt=>Ie(Xt),"expression")):je.unshift({node:bt,printed:de()})}let rt=se.getValue();je.unshift({node:rt,printed:[D(se),$(se,ae,de),O(se,ae,de)]}),rt.callee&&se.call(Nt=>Ie(Nt),"callee");let Te=[],Pe=[je[0]],Ke=1;for(;Ke<je.length&&(je[Ke].node.type==="TSNonNullExpression"||y(je[Ke].node)||C(je[Ke].node)&&je[Ke].node.computed&&I(je[Ke].node.property));++Ke)Pe.push(je[Ke]);if(!y(je[0].node))for(;Ke+1<je.length&&_(je[Ke].node)&&_(je[Ke+1].node);++Ke)Pe.push(je[Ke]);Te.push(Pe),Pe=[];let Ue=!1;for(;Ke<je.length;++Ke){if(Ue&&_(je[Ke].node)){if(je[Ke].node.computed&&I(je[Ke].node.property)){Pe.push(je[Ke]);continue}Te.push(Pe),Pe=[],Ue=!1}(y(je[Ke].node)||je[Ke].node.type==="ImportExpression")&&(Ue=!0),Pe.push(je[Ke]),T(je[Ke].node,j.Trailing)&&(Te.push(Pe),Pe=[],Ue=!1)}Pe.length>0&&Te.push(Pe);function et(Nt){return/^[A-Z]|^[$_]+$/.test(Nt)}function it(Nt){return Nt.length<=ae.tabWidth}function Fe(Nt){let bt=Nt[1].length>0&&Nt[1][0].node.computed;if(Nt[0].length===1){let Le=Nt[0][0].node;return Le.type==="ThisExpression"||Le.type==="Identifier"&&(et(Le.name)||be&&it(Le.name)||bt)}let Xt=b(Nt[0]).node;return C(Xt)&&Xt.property.type==="Identifier"&&(et(Xt.property.name)||bt)}let ut=Te.length>=2&&!T(Te[1][0].node)&&Fe(Te);function Qe(Nt){let bt=Nt.map(Xt=>Xt.printed);return Nt.length>0&&b(Nt).needsParens?["(",...bt,")"]:bt}function ar(Nt){return Nt.length===0?"":re(H([Y,W(Y,Nt.map(Qe))]))}let Ce=Te.map(Qe),Ct=Ce,tt=ut?3:2,Ye=Te.flat(),Jt=Ye.slice(1,-1).some(Nt=>T(Nt.node,j.Leading))||Ye.slice(0,-1).some(Nt=>T(Nt.node,j.Trailing))||Te[tt]&&T(Te[tt][0].node,j.Leading);if(Te.length<=tt&&!Jt)return M(se)?Ct:H(Ct);let qt=b(Te[ut?1:0]).node,cr=!y(qt)&&oe(qt),Tr=[Qe(Te[0]),ut?Te.slice(1,2).map(Qe):"",cr?Y:"",ar(Te.slice(ut?2:1))],an=je.map(Nt=>{let{node:bt}=Nt;return bt}).filter(y);function St(){let Nt=b(b(Te)).node,bt=b(Ce);return y(Nt)&&B(bt)&&an.slice(0,-1).some(Xt=>Xt.arguments.some(F))}let Et;return Jt||an.length>2&&an.some(Nt=>!Nt.arguments.every(bt=>k(bt,0)))||Ce.slice(0,-1).some(B)||St()?Et=H(Tr):Et=[B(Ct)||cr?ue:"",ne([Ct,Tr])],R("member-chain",Et)}w.exports=U}}),$s=He({"src/language-js/print/call-expression.js"(x,w){Je();var{builders:{join:d,group:b}}=bn(),v=Lo(),{getCallArguments:c,hasFlowAnnotationComment:p,isCallExpression:y,isMemberish:C,isStringLiteral:F,isTemplateOnItsOwnLine:M,isTestCall:_,iterateCallArgumentsPath:I}=Zn(),k=ka(),T=Ll(),{printOptionalToken:j,printFunctionTypeParameters:te}=$i();function ie(Y,H,re){let ne=Y.getValue(),ue=Y.getParentNode(),R=ne.type==="NewExpression",B=ne.type==="ImportExpression",O=j(Y),P=c(ne);if(P.length>0&&(!B&&!R&&W(ne,ue)||P.length===1&&M(P[0],H.originalText)||!R&&_(ne,ue))){let z=[];return I(Y,()=>{z.push(re())}),[R?"new ":"",re("callee"),O,te(Y,H,re),"(",d(", ",z),")"]}let D=(H.parser==="babel"||H.parser==="babel-flow")&&ne.callee&&ne.callee.type==="Identifier"&&p(ne.callee.trailingComments);if(D&&(ne.callee.trailingComments[0].printed=!0),!B&&!R&&C(ne.callee)&&!Y.call(z=>v(z,H),"callee"))return k(Y,H,re);let $=[R?"new ":"",B?"import":re("callee"),O,D?"/*:: ".concat(ne.callee.trailingComments[0].value.slice(2).trim()," */"):"",te(Y,H,re),T(Y,H,re)];return B||y(ne.callee)?b($):$}function W(Y,H){if(Y.callee.type!=="Identifier")return!1;if(Y.callee.name==="require")return!0;if(Y.callee.name==="define"){let re=c(Y);return H.type==="ExpressionStatement"&&(re.length===1||re.length===2&&re[0].type==="ArrayExpression"||re.length===3&&F(re[0])&&re[1].type==="ArrayExpression")}return!1}w.exports={printCallExpression:ie}}}),Fs=He({"src/language-js/print/assignment.js"(x,w){Je();var{isNonEmptyArray:d,getStringWidth:b}=jn(),{builders:{line:v,group:c,indent:p,indentIfBreak:y,lineSuffixBoundary:C},utils:{cleanDoc:F,willBreak:M,canBreak:_}}=bn(),{hasLeadingOwnLineComment:I,isBinaryish:k,isStringLiteral:T,isLiteral:j,isNumericLiteral:te,isCallExpression:ie,isMemberExpression:W,getCallArguments:Y,rawText:H,hasComment:re,isSignedNumericLiteral:ne,isObjectProperty:ue}=Zn(),{shouldInlineLogicalExpression:R}=tl(),{printCallExpression:B}=$s();function O(Fe,ut,Qe,ar,Ce,Ct){let tt=$(Fe,ut,Qe,ar,Ct),Ye=Qe(Ct,{assignmentLayout:tt});switch(tt){case"break-after-operator":return c([c(ar),Ce,c(p([v,Ye]))]);case"never-break-after-operator":return c([c(ar),Ce," ",Ye]);case"fluid":{let Jt=Symbol("assignment");return c([c(ar),Ce,c(p(v),{id:Jt}),C,y(Ye,{groupId:Jt})])}case"break-lhs":return c([ar,Ce," ",c(Ye)]);case"chain":return[c(ar),Ce,v,Ye];case"chain-tail":return[c(ar),Ce,p([v,Ye])];case"chain-tail-arrow-chain":return[c(ar),Ce,Ye];case"only-left":return ar}}function P(Fe,ut,Qe){let ar=Fe.getValue();return O(Fe,ut,Qe,Qe("left"),[" ",ar.operator],"right")}function D(Fe,ut,Qe){return O(Fe,ut,Qe,Qe("id")," =","init")}function $(Fe,ut,Qe,ar,Ce){let Ct=Fe.getValue(),tt=Ct[Ce];if(!tt)return"only-left";let Ye=!se(tt);if(Fe.match(se,ae,qt=>!Ye||qt.type!=="ExpressionStatement"&&qt.type!=="VariableDeclaration"))return Ye?tt.type==="ArrowFunctionExpression"&&tt.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!Ye&&se(tt.right)||I(ut.originalText,tt))return"break-after-operator";if(tt.type==="CallExpression"&&tt.callee.name==="require"||ut.parser==="json5"||ut.parser==="json")return"never-break-after-operator";if(U(Ct)||de(Ct)||je(Ct)||oe(Ct)&&_(ar))return"break-lhs";let Jt=Ue(Ct,ar,ut);return Fe.call(()=>z(Fe,ut,Qe,Jt),Ce)?"break-after-operator":Jt||tt.type==="TemplateLiteral"||tt.type==="TaggedTemplateExpression"||tt.type==="BooleanLiteral"||te(tt)||tt.type==="ClassExpression"?"never-break-after-operator":"fluid"}function z(Fe,ut,Qe,ar){let Ce=Fe.getValue();if(k(Ce)&&!R(Ce))return!0;switch(Ce.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:Ye}=Ce;return k(Ye)&&!R(Ye)}case"ClassExpression":return d(Ce.decorators)}if(ar)return!1;let Ct=Ce,tt=[];for(;;)if(Ct.type==="UnaryExpression")Ct=Ct.argument,tt.push("argument");else if(Ct.type==="TSNonNullExpression")Ct=Ct.expression,tt.push("expression");else break;return!!(T(Ct)||Fe.call(()=>Te(Fe,ut,Qe),...tt))}function U(Fe){if(ae(Fe)){let ut=Fe.left||Fe.id;return ut.type==="ObjectPattern"&&ut.properties.length>2&&ut.properties.some(Qe=>ue(Qe)&&(!Qe.shorthand||Qe.value&&Qe.value.type==="AssignmentPattern"))}return!1}function se(Fe){return Fe.type==="AssignmentExpression"}function ae(Fe){return se(Fe)||Fe.type==="VariableDeclarator"}function de(Fe){let ut=xe(Fe);if(d(ut)){let Qe=Fe.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(ut.length>1&&ut.some(ar=>ar[Qe]||ar.default))return!0}return!1}function xe(Fe){return be(Fe)&&Fe.typeParameters&&Fe.typeParameters.params?Fe.typeParameters.params:null}function be(Fe){return Fe.type==="TSTypeAliasDeclaration"||Fe.type==="TypeAlias"}function je(Fe){if(Fe.type!=="VariableDeclarator")return!1;let{typeAnnotation:ut}=Fe.id;if(!ut||!ut.typeAnnotation)return!1;let Qe=Ie(ut.typeAnnotation);return d(Qe)&&Qe.length>1&&Qe.some(ar=>d(Ie(ar))||ar.type==="TSConditionalType")}function oe(Fe){return Fe.type==="VariableDeclarator"&&Fe.init&&Fe.init.type==="ArrowFunctionExpression"}function Ie(Fe){return rt(Fe)&&Fe.typeParameters&&Fe.typeParameters.params?Fe.typeParameters.params:null}function rt(Fe){return Fe.type==="TSTypeReference"||Fe.type==="GenericTypeAnnotation"}function Te(Fe,ut,Qe){let ar=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ce=Fe.getValue(),Ct=()=>Te(Fe,ut,Qe,!0);if(Ce.type==="TSNonNullExpression")return Fe.call(Ct,"expression");if(ie(Ce)){if(B(Fe,ut,Qe).label==="member-chain")return!1;let tt=Y(Ce);return!(tt.length===0||tt.length===1&&Ke(tt[0],ut))||et(Ce,Qe)?!1:Fe.call(Ct,"callee")}return W(Ce)?Fe.call(Ct,"object"):ar&&(Ce.type==="Identifier"||Ce.type==="ThisExpression")}var Pe=.25;function Ke(Fe,ut){let{printWidth:Qe}=ut;if(re(Fe))return!1;let ar=Qe*Pe;if(Fe.type==="ThisExpression"||Fe.type==="Identifier"&&Fe.name.length<=ar||ne(Fe)&&!re(Fe.argument))return!0;let Ce=Fe.type==="Literal"&&"regex"in Fe&&Fe.regex.pattern||Fe.type==="RegExpLiteral"&&Fe.pattern;return Ce?Ce.length<=ar:T(Fe)?H(Fe).length<=ar:Fe.type==="TemplateLiteral"?Fe.expressions.length===0&&Fe.quasis[0].value.raw.length<=ar&&!Fe.quasis[0].value.raw.includes(`
89
- `):j(Fe)}function Ue(Fe,ut,Qe){if(!ue(Fe))return!1;ut=F(ut);let ar=3;return typeof ut=="string"&&b(ut)<Qe.tabWidth+ar}function et(Fe,ut){let Qe=it(Fe);if(d(Qe)){if(Qe.length>1)return!0;if(Qe.length===1){let Ce=Qe[0];if(Ce.type==="TSUnionType"||Ce.type==="UnionTypeAnnotation"||Ce.type==="TSIntersectionType"||Ce.type==="IntersectionTypeAnnotation"||Ce.type==="TSTypeLiteral"||Ce.type==="ObjectTypeAnnotation")return!0}let ar=Fe.typeParameters?"typeParameters":"typeArguments";if(M(ut(ar)))return!0}return!1}function it(Fe){return Fe.typeParameters&&Fe.typeParameters.params||Fe.typeArguments&&Fe.typeArguments.params}w.exports={printVariableDeclarator:D,printAssignmentExpression:P,printAssignment:O,isArrowFunctionVariableDeclarator:oe}}}),go=He({"src/language-js/print/function-parameters.js"(x,w){Je();var{getNextNonSpaceNonCommentCharacter:d}=jn(),{printDanglingComments:b}=Bi(),{builders:{line:v,hardline:c,softline:p,group:y,indent:C,ifBreak:F},utils:{removeLines:M,willBreak:_}}=bn(),{getFunctionParameters:I,iterateFunctionParametersPath:k,isSimpleType:T,isTestCall:j,isTypeAnnotationAFunction:te,isObjectType:ie,isObjectTypePropertyAFunction:W,hasRestParameter:Y,shouldPrintComma:H,hasComment:re,isNextLineEmpty:ne}=Zn(),{locEnd:ue}=ji(),{ArgExpansionBailout:R}=ys(),{printFunctionTypeParameters:B}=$i();function O(z,U,se,ae,de){let xe=z.getValue(),be=I(xe),je=de?B(z,se,U):"";if(be.length===0)return[je,"(",b(z,se,!0,Ke=>d(se.originalText,Ke,ue)===")"),")"];let oe=z.getParentNode(),Ie=j(oe),rt=P(xe),Te=[];if(k(z,(Ke,Ue)=>{let et=Ue===be.length-1;et&&xe.rest&&Te.push("..."),Te.push(U()),!et&&(Te.push(","),Ie||rt?Te.push(" "):ne(be[Ue],se)?Te.push(c,c):Te.push(v))}),ae){if(_(je)||_(Te))throw new R;return y([M(je),"(",M(Te),")"])}let Pe=be.every(Ke=>!Ke.decorators);return rt&&Pe?[je,"(",...Te,")"]:Ie?[je,"(",...Te,")"]:(W(oe)||te(oe)||oe.type==="TypeAlias"||oe.type==="UnionTypeAnnotation"||oe.type==="TSUnionType"||oe.type==="IntersectionTypeAnnotation"||oe.type==="FunctionTypeAnnotation"&&oe.returnType===xe)&&be.length===1&&be[0].name===null&&xe.this!==be[0]&&be[0].typeAnnotation&&xe.typeParameters===null&&T(be[0].typeAnnotation)&&!xe.rest?se.arrowParens==="always"?["(",...Te,")"]:Te:[je,"(",C([p,...Te]),F(!Y(xe)&&H(se,"all")?",":""),p,")"]}function P(z){if(!z)return!1;let U=I(z);if(U.length!==1)return!1;let[se]=U;return!re(se)&&(se.type==="ObjectPattern"||se.type==="ArrayPattern"||se.type==="Identifier"&&se.typeAnnotation&&(se.typeAnnotation.type==="TypeAnnotation"||se.typeAnnotation.type==="TSTypeAnnotation")&&ie(se.typeAnnotation.typeAnnotation)||se.type==="FunctionTypeParam"&&ie(se.typeAnnotation)||se.type==="AssignmentPattern"&&(se.left.type==="ObjectPattern"||se.left.type==="ArrayPattern")&&(se.right.type==="Identifier"||se.right.type==="ObjectExpression"&&se.right.properties.length===0||se.right.type==="ArrayExpression"&&se.right.elements.length===0))}function D(z){let U;return z.returnType?(U=z.returnType,U.typeAnnotation&&(U=U.typeAnnotation)):z.typeAnnotation&&(U=z.typeAnnotation),U}function $(z,U){let se=D(z);if(!se)return!1;let ae=z.typeParameters&&z.typeParameters.params;if(ae){if(ae.length>1)return!1;if(ae.length===1){let de=ae[0];if(de.constraint||de.default)return!1}}return I(z).length===1&&(ie(se)||_(U))}w.exports={printFunctionParameters:O,shouldHugFunctionParameters:P,shouldGroupFunctionParameters:$}}}),us=He({"src/language-js/print/type-annotation.js"(x,w){Je();var{printComments:d,printDanglingComments:b}=Bi(),{isNonEmptyArray:v}=jn(),{builders:{group:c,join:p,line:y,softline:C,indent:F,align:M,ifBreak:_}}=bn(),I=Lo(),{locStart:k}=ji(),{isSimpleType:T,isObjectType:j,hasLeadingOwnLineComment:te,isObjectTypePropertyAFunction:ie,shouldPrintComma:W}=Zn(),{printAssignment:Y}=Fs(),{printFunctionParameters:H,shouldGroupFunctionParameters:re}=go(),{printArrayItems:ne}=Zo();function ue(U){if(T(U)||j(U))return!0;if(U.type==="UnionTypeAnnotation"||U.type==="TSUnionType"){let se=U.types.filter(de=>de.type==="VoidTypeAnnotation"||de.type==="TSVoidKeyword"||de.type==="NullLiteralTypeAnnotation"||de.type==="TSNullKeyword").length,ae=U.types.some(de=>de.type==="ObjectTypeAnnotation"||de.type==="TSTypeLiteral"||de.type==="GenericTypeAnnotation"||de.type==="TSTypeReference");if(U.types.length-1===se&&ae)return!0}return!1}function R(U,se,ae){let de=se.semi?";":"",xe=U.getValue(),be=[];return be.push("opaque type ",ae("id"),ae("typeParameters")),xe.supertype&&be.push(": ",ae("supertype")),xe.impltype&&be.push(" = ",ae("impltype")),be.push(de),be}function B(U,se,ae){let de=se.semi?";":"",xe=U.getValue(),be=[];xe.declare&&be.push("declare "),be.push("type ",ae("id"),ae("typeParameters"));let je=xe.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[Y(U,se,ae,be," =",je),de]}function O(U,se,ae){let de=U.getValue(),xe=U.map(ae,"types"),be=[],je=!1;for(let oe=0;oe<xe.length;++oe)oe===0?be.push(xe[oe]):j(de.types[oe-1])&&j(de.types[oe])?be.push([" & ",je?F(xe[oe]):xe[oe]]):!j(de.types[oe-1])&&!j(de.types[oe])?be.push(F([" &",y,xe[oe]])):(oe>1&&(je=!0),be.push(" & ",oe>1?F(xe[oe]):xe[oe]));return c(be)}function P(U,se,ae){let de=U.getValue(),xe=U.getParentNode(),be=xe.type!=="TypeParameterInstantiation"&&xe.type!=="TSTypeParameterInstantiation"&&xe.type!=="GenericTypeAnnotation"&&xe.type!=="TSTypeReference"&&xe.type!=="TSTypeAssertion"&&xe.type!=="TupleTypeAnnotation"&&xe.type!=="TSTupleType"&&!(xe.type==="FunctionTypeParam"&&!xe.name&&U.getParentNode(1).this!==xe)&&!((xe.type==="TypeAlias"||xe.type==="VariableDeclarator"||xe.type==="TSTypeAliasDeclaration")&&te(se.originalText,de)),je=ue(de),oe=U.map(Te=>{let Pe=ae();return je||(Pe=M(2,Pe)),d(Te,Pe,se)},"types");if(je)return p(" | ",oe);let Ie=be&&!te(se.originalText,de),rt=[_([Ie?y:"","| "]),p([y,"| "],oe)];return I(U,se)?c([F(rt),C]):xe.type==="TupleTypeAnnotation"&&xe.types.length>1||xe.type==="TSTupleType"&&xe.elementTypes.length>1?c([F([_(["(",C]),rt]),C,_(")")]):c(be?F(rt):rt)}function D(U,se,ae){let de=U.getValue(),xe=[],be=U.getParentNode(0),je=U.getParentNode(1),oe=U.getParentNode(2),Ie=de.type==="TSFunctionType"||!((be.type==="ObjectTypeProperty"||be.type==="ObjectTypeInternalSlot")&&!be.variance&&!be.optional&&k(be)===k(de)||be.type==="ObjectTypeCallProperty"||oe&&oe.type==="DeclareFunction"),rt=Ie&&(be.type==="TypeAnnotation"||be.type==="TSTypeAnnotation"),Te=rt&&Ie&&(be.type==="TypeAnnotation"||be.type==="TSTypeAnnotation")&&je.type==="ArrowFunctionExpression";ie(be)&&(Ie=!0,rt=!0),Te&&xe.push("(");let Pe=H(U,ae,se,!1,!0),Ke=de.returnType||de.predicate||de.typeAnnotation?[Ie?" => ":": ",ae("returnType"),ae("predicate"),ae("typeAnnotation")]:"",Ue=re(de,Ke);return xe.push(Ue?c(Pe):Pe),Ke&&xe.push(Ke),Te&&xe.push(")"),c(xe)}function $(U,se,ae){let de=U.getValue(),xe=de.type==="TSTupleType"?"elementTypes":"types",be=de[xe],je=v(be),oe=je?C:"";return c(["[",F([oe,ne(U,se,xe,ae)]),_(je&&W(se,"all")?",":""),b(U,se,!0),oe,"]"])}function z(U,se,ae){let de=U.getValue(),xe=de.type==="OptionalIndexedAccessType"&&de.optional?"?.[":"[";return[ae("objectType"),xe,ae("indexType"),"]"]}w.exports={printOpaqueType:R,printTypeAlias:B,printIntersectionType:O,printUnionType:P,printFunctionType:D,printTupleType:$,printIndexedAccessType:z,shouldHugType:ue}}}),So=He({"src/language-js/print/type-parameters.js"(x,w){Je();var{printDanglingComments:d}=Bi(),{builders:{join:b,line:v,hardline:c,softline:p,group:y,indent:C,ifBreak:F}}=bn(),{isTestCall:M,hasComment:_,CommentCheckFlags:I,isTSXFile:k,shouldPrintComma:T,getFunctionParameters:j,isObjectType:te}=Zn(),{createGroupIdMapper:ie}=jn(),{shouldHugType:W}=us(),{isArrowFunctionVariableDeclarator:Y}=Fs(),H=ie("typeParameters");function re(R,B,O,P){let D=R.getValue();if(!D[P])return"";if(!Array.isArray(D[P]))return O(P);let $=R.getNode(2),z=$&&M($);if(!R.match(se=>!(se[P].length===1&&te(se[P][0])),void 0,(se,ae)=>ae==="typeAnnotation",se=>se.type==="Identifier",Y)&&(z||D[P].length===0||D[P].length===1&&(D[P][0].type==="NullableTypeAnnotation"||W(D[P][0]))))return["<",b(", ",R.map(O,P)),ne(R,B),">"];let U=D.type==="TSTypeParameterInstantiation"?"":j(D).length===1&&k(B)&&!D[P][0].constraint&&R.getParentNode().type==="ArrowFunctionExpression"?",":T(B,"all")?F(","):"";return y(["<",C([p,b([",",v],R.map(O,P))]),U,p,">"],{id:H(D)})}function ne(R,B){let O=R.getValue();if(!_(O,I.Dangling))return"";let P=!_(O,I.Line),D=d(R,B,P);return P?D:[D,c]}function ue(R,B,O){let P=R.getValue(),D=[],$=R.getParentNode();return $.type==="TSMappedType"?(D.push("[",O("name")),P.constraint&&D.push(" in ",O("constraint")),$.nameType&&D.push(" as ",R.callParent(()=>O("nameType"))),D.push("]"),D):(P.variance&&D.push(O("variance")),D.push(O("name")),P.bound&&D.push(": ",O("bound")),P.constraint&&D.push(" extends ",O("constraint")),P.default&&D.push(" = ",O("default")),D)}w.exports={printTypeParameter:ue,printTypeParameters:re,getTypeParametersGroupId:H}}}),es=He({"src/language-js/print/property.js"(x,w){Je();var{printComments:d}=Bi(),{printString:b,printNumber:v}=jn(),{isNumericLiteral:c,isSimpleNumber:p,isStringLiteral:y,isStringPropSafeToUnquote:C,rawText:F}=Zn(),{printAssignment:M}=Fs(),_=new WeakMap;function I(T,j,te){let ie=T.getNode();if(ie.computed)return["[",te("key"),"]"];let W=T.getParentNode(),{key:Y}=ie;if(ie.type==="ClassPrivateProperty"&&Y.type==="Identifier")return["#",te("key")];if(j.quoteProps==="consistent"&&!_.has(W)){let H=(W.properties||W.body||W.members).some(re=>!re.computed&&re.key&&y(re.key)&&!C(re,j));_.set(W,H)}if((Y.type==="Identifier"||c(Y)&&p(v(F(Y)))&&String(Y.value)===v(F(Y))&&!(j.parser==="typescript"||j.parser==="babel-ts"))&&(j.parser==="json"||j.quoteProps==="consistent"&&_.get(W))){let H=b(JSON.stringify(Y.type==="Identifier"?Y.name:Y.value.toString()),j);return T.call(re=>d(re,H,j),"key")}return C(ie,j)&&(j.quoteProps==="as-needed"||j.quoteProps==="consistent"&&!_.get(W))?T.call(H=>d(H,/^\d/.test(Y.value)?v(Y.value):Y.value,j),"key"):te("key")}function k(T,j,te){return T.getValue().shorthand?te("value"):M(T,j,te,I(T,j,te),":","value")}w.exports={printProperty:k,printPropertyKey:I}}}),ls=He({"src/language-js/print/function.js"(x,w){Je();var d=Ea(),{printDanglingComments:b,printCommentsSeparately:v}=Bi(),c=fr(),{getNextNonSpaceNonCommentCharacterIndex:p}=jn(),{builders:{line:y,softline:C,group:F,indent:M,ifBreak:_,hardline:I,join:k,indentIfBreak:T},utils:{removeLines:j,willBreak:te}}=bn(),{ArgExpansionBailout:ie}=ys(),{getFunctionParameters:W,hasLeadingOwnLineComment:Y,isFlowAnnotationComment:H,isJsxNode:re,isTemplateOnItsOwnLine:ne,shouldPrintComma:ue,startsWithNoLookaheadToken:R,isBinaryish:B,isLineComment:O,hasComment:P,getComments:D,CommentCheckFlags:$,isCallLikeExpression:z,isCallExpression:U,getCallArguments:se,hasNakedLeftSide:ae,getLeftSide:de}=Zn(),{locEnd:xe}=ji(),{printFunctionParameters:be,shouldGroupFunctionParameters:je}=go(),{printPropertyKey:oe}=es(),{printFunctionTypeParameters:Ie}=$i();function rt(tt,Ye,Jt,qt){let cr=tt.getValue(),Tr=!1;if((cr.type==="FunctionDeclaration"||cr.type==="FunctionExpression")&&qt&&qt.expandLastArg){let bt=tt.getParentNode();U(bt)&&se(bt).length>1&&(Tr=!0)}let an=[];cr.type==="TSDeclareFunction"&&cr.declare&&an.push("declare "),cr.async&&an.push("async "),cr.generator?an.push("function* "):an.push("function "),cr.id&&an.push(Ye("id"));let St=be(tt,Ye,Jt,Tr),Et=ut(tt,Ye,Jt),Nt=je(cr,Et);return an.push(Ie(tt,Jt,Ye),F([Nt?F(St):St,Et]),cr.body?" ":"",Ye("body")),Jt.semi&&(cr.declare||!cr.body)&&an.push(";"),an}function Te(tt,Ye,Jt){let qt=tt.getNode(),{kind:cr}=qt,Tr=qt.value||qt,an=[];return!cr||cr==="init"||cr==="method"||cr==="constructor"?Tr.async&&an.push("async "):(d.ok(cr==="get"||cr==="set"),an.push(cr," ")),Tr.generator&&an.push("*"),an.push(oe(tt,Ye,Jt),qt.optional||qt.key.optional?"?":""),qt===Tr?an.push(Pe(tt,Ye,Jt)):Tr.type==="FunctionExpression"?an.push(tt.call(St=>Pe(St,Ye,Jt),"value")):an.push(Jt("value")),an}function Pe(tt,Ye,Jt){let qt=tt.getNode(),cr=be(tt,Jt,Ye),Tr=ut(tt,Jt,Ye),an=je(qt,Tr),St=[Ie(tt,Ye,Jt),F([an?F(cr):cr,Tr])];return qt.body?St.push(" ",Jt("body")):St.push(Ye.semi?";":""),St}function Ke(tt,Ye,Jt,qt){let cr=tt.getValue(),Tr=[];if(cr.async&&Tr.push("async "),Fe(tt,Ye))Tr.push(Jt(["params",0]));else{let St=qt&&(qt.expandLastArg||qt.expandFirstArg),Et=ut(tt,Jt,Ye);if(St){if(te(Et))throw new ie;Et=F(j(Et))}Tr.push(F([be(tt,Jt,Ye,St,!0),Et]))}let an=b(tt,Ye,!0,St=>{let Et=p(Ye.originalText,St,xe);return Et!==!1&&Ye.originalText.slice(Et,Et+2)==="=>"});return an&&Tr.push(" ",an),Tr}function Ue(tt,Ye,Jt,qt,cr,Tr){let an=tt.getName(),St=tt.getParentNode(),Et=z(St)&&an==="callee",Nt=Boolean(Ye&&Ye.assignmentLayout),bt=Tr.body.type!=="BlockStatement"&&Tr.body.type!=="ObjectExpression"&&Tr.body.type!=="SequenceExpression",Xt=Et&&bt||Ye&&Ye.assignmentLayout==="chain-tail-arrow-chain",Le=Symbol("arrow-chain");return Tr.body.type==="SequenceExpression"&&(cr=F(["(",M([C,cr]),C,")"])),F([F(M([Et||Nt?C:"",F(k([" =>",y],Jt),{shouldBreak:qt})]),{id:Le,shouldBreak:Xt})," =>",T(bt?M([y,cr]):[" ",cr],{groupId:Le}),Et?_(C,"",{groupId:Le}):""])}function et(tt,Ye,Jt,qt){let cr=tt.getValue(),Tr=[],an=[],St=!1;if(function Le(){let Kt=Ke(tt,Ye,Jt,qt);if(Tr.length===0)Tr.push(Kt);else{let{leading:Ge,trailing:Ve}=v(tt,Ye);Tr.push([Ge,Kt]),an.unshift(Ve)}St=St||cr.returnType&&W(cr).length>0||cr.typeParameters||W(cr).some(Ge=>Ge.type!=="Identifier"),cr.body.type!=="ArrowFunctionExpression"||qt&&qt.expandLastArg?an.unshift(Jt("body",qt)):(cr=cr.body,tt.call(Le,"body"))}(),Tr.length>1)return Ue(tt,qt,Tr,St,an,cr);let Et=Tr;if(Et.push(" =>"),!Y(Ye.originalText,cr.body)&&(cr.body.type==="ArrayExpression"||cr.body.type==="ObjectExpression"||cr.body.type==="BlockStatement"||re(cr.body)||ne(cr.body,Ye.originalText)||cr.body.type==="ArrowFunctionExpression"||cr.body.type==="DoExpression"))return F([...Et," ",an]);if(cr.body.type==="SequenceExpression")return F([...Et,F([" (",M([C,an]),C,")"])]);let Nt=(qt&&qt.expandLastArg||tt.getParentNode().type==="JSXExpressionContainer")&&!P(cr),bt=qt&&qt.expandLastArg&&ue(Ye,"all"),Xt=cr.body.type==="ConditionalExpression"&&!R(cr.body,!1);return F([...Et,F([M([y,Xt?_("","("):"",an,Xt?_("",")"):""]),Nt?[_(bt?",":""),C]:""])])}function it(tt){let Ye=W(tt);return Ye.length===1&&!tt.typeParameters&&!P(tt,$.Dangling)&&Ye[0].type==="Identifier"&&!Ye[0].typeAnnotation&&!P(Ye[0])&&!Ye[0].optional&&!tt.predicate&&!tt.returnType}function Fe(tt,Ye){if(Ye.arrowParens==="always")return!1;if(Ye.arrowParens==="avoid"){let Jt=tt.getValue();return it(Jt)}return!1}function ut(tt,Ye,Jt){let qt=tt.getValue(),cr=Ye("returnType");if(qt.returnType&&H(Jt.originalText,qt.returnType))return[" /*: ",cr," */"];let Tr=[cr];return qt.returnType&&qt.returnType.typeAnnotation&&Tr.unshift(": "),qt.predicate&&Tr.push(qt.returnType?" ":": ",Ye("predicate")),Tr}function Qe(tt,Ye,Jt){let qt=tt.getValue(),cr=Ye.semi?";":"",Tr=[];qt.argument&&(Ct(Ye,qt.argument)?Tr.push([" (",M([I,Jt("argument")]),I,")"]):B(qt.argument)||qt.argument.type==="SequenceExpression"?Tr.push(F([_(" ("," "),M([C,Jt("argument")]),C,_(")")])):Tr.push(" ",Jt("argument")));let an=D(qt),St=c(an),Et=St&&O(St);return Et&&Tr.push(cr),P(qt,$.Dangling)&&Tr.push(" ",b(tt,Ye,!0)),Et||Tr.push(cr),Tr}function ar(tt,Ye,Jt){return["return",Qe(tt,Ye,Jt)]}function Ce(tt,Ye,Jt){return["throw",Qe(tt,Ye,Jt)]}function Ct(tt,Ye){if(Y(tt.originalText,Ye))return!0;if(ae(Ye)){let Jt=Ye,qt;for(;qt=de(Jt);)if(Jt=qt,Y(tt.originalText,Jt))return!0}return!1}w.exports={printFunction:rt,printArrowFunction:et,printMethod:Te,printReturnStatement:ar,printThrowStatement:Ce,printMethodInternal:Pe,shouldPrintParamsWithoutParens:Fe}}}),Ta=He({"src/language-js/print/decorators.js"(x,w){Je();var{isNonEmptyArray:d,hasNewline:b}=jn(),{builders:{line:v,hardline:c,join:p,breakParent:y,group:C}}=bn(),{locStart:F,locEnd:M}=ji(),{getParentExportDeclaration:_}=Zn();function I(ie,W,Y){let H=ie.getValue();return C([p(v,ie.map(Y,"decorators")),j(H,W)?c:v])}function k(ie,W,Y){return[p(c,ie.map(Y,"declaration","decorators")),c]}function T(ie,W,Y){let H=ie.getValue(),{decorators:re}=H;if(!d(re)||te(ie.getParentNode()))return;let ne=H.type==="ClassExpression"||H.type==="ClassDeclaration"||j(H,W);return[_(ie)?c:ne?y:"",p(v,ie.map(Y,"decorators")),v]}function j(ie,W){return ie.decorators.some(Y=>b(W.originalText,M(Y)))}function te(ie){if(ie.type!=="ExportDefaultDeclaration"&&ie.type!=="ExportNamedDeclaration"&&ie.type!=="DeclareExportDeclaration")return!1;let W=ie.declaration&&ie.declaration.decorators;return d(W)&&F(ie,{ignoreDecorators:!0})>F(W[0])}w.exports={printDecorators:T,printClassMemberDecorators:I,printDecoratorsBeforeExport:k,hasDecoratorsBeforeExport:te}}}),cs=He({"src/language-js/print/class.js"(x,w){Je();var{isNonEmptyArray:d,createGroupIdMapper:b}=jn(),{printComments:v,printDanglingComments:c}=Bi(),{builders:{join:p,line:y,hardline:C,softline:F,group:M,indent:_,ifBreak:I}}=bn(),{hasComment:k,CommentCheckFlags:T}=Zn(),{getTypeParametersGroupId:j}=So(),{printMethod:te}=ls(),{printOptionalToken:ie,printTypeAnnotation:W,printDefiniteToken:Y}=$i(),{printPropertyKey:H}=es(),{printAssignment:re}=Fs(),{printClassMemberDecorators:ne}=Ta();function ue(se,ae,de){let xe=se.getValue(),be=[];xe.declare&&be.push("declare "),xe.abstract&&be.push("abstract "),be.push("class");let je=xe.id&&k(xe.id,T.Trailing)||xe.typeParameters&&k(xe.typeParameters,T.Trailing)||xe.superClass&&k(xe.superClass)||d(xe.extends)||d(xe.mixins)||d(xe.implements),oe=[],Ie=[];if(xe.id&&oe.push(" ",de("id")),oe.push(de("typeParameters")),xe.superClass){let rt=[$(se,ae,de),de("superTypeParameters")],Te=se.call(Pe=>["extends ",v(Pe,rt,ae)],"superClass");je?Ie.push(y,M(Te)):Ie.push(" ",Te)}else Ie.push(D(se,ae,de,"extends"));if(Ie.push(D(se,ae,de,"mixins"),D(se,ae,de,"implements")),je){let rt;P(xe)?rt=[...oe,_(Ie)]:rt=_([...oe,Ie]),be.push(M(rt,{id:R(xe)}))}else be.push(...oe,...Ie);return be.push(" ",de("body")),be}var R=b("heritageGroup");function B(se){return I(C,"",{groupId:R(se)})}function O(se){return["superClass","extends","mixins","implements"].filter(ae=>Boolean(se[ae])).length>1}function P(se){return se.typeParameters&&!k(se.typeParameters,T.Trailing|T.Line)&&!O(se)}function D(se,ae,de,xe){let be=se.getValue();if(!d(be[xe]))return"";let je=c(se,ae,!0,oe=>{let{marker:Ie}=oe;return Ie===xe});return[P(be)?I(" ",y,{groupId:j(be.typeParameters)}):y,je,je&&C,xe,M(_([y,p([",",y],se.map(de,xe))]))]}function $(se,ae,de){let xe=de("superClass");return se.getParentNode().type==="AssignmentExpression"?M(I(["(",_([F,xe]),F,")"],xe)):xe}function z(se,ae,de){let xe=se.getValue(),be=[];return d(xe.decorators)&&be.push(ne(se,ae,de)),xe.accessibility&&be.push(xe.accessibility+" "),xe.readonly&&be.push("readonly "),xe.declare&&be.push("declare "),xe.static&&be.push("static "),(xe.type==="TSAbstractMethodDefinition"||xe.abstract)&&be.push("abstract "),xe.override&&be.push("override "),be.push(te(se,ae,de)),be}function U(se,ae,de){let xe=se.getValue(),be=[],je=ae.semi?";":"";return d(xe.decorators)&&be.push(ne(se,ae,de)),xe.accessibility&&be.push(xe.accessibility+" "),xe.declare&&be.push("declare "),xe.static&&be.push("static "),(xe.type==="TSAbstractPropertyDefinition"||xe.abstract)&&be.push("abstract "),xe.override&&be.push("override "),xe.readonly&&be.push("readonly "),xe.variance&&be.push(de("variance")),xe.type==="ClassAccessorProperty"&&be.push("accessor "),be.push(H(se,ae,de),ie(se),Y(se),W(se,ae,de)),[re(se,ae,de,be," =","value"),je]}w.exports={printClass:ue,printClassMethod:z,printClassProperty:U,printHardlineAfterHeritage:B}}}),fu=He({"src/language-js/print/interface.js"(x,w){Je();var{isNonEmptyArray:d}=jn(),{builders:{join:b,line:v,group:c,indent:p,ifBreak:y}}=bn(),{hasComment:C,identity:F,CommentCheckFlags:M}=Zn(),{getTypeParametersGroupId:_}=So(),{printTypeScriptModifiers:I}=$i();function k(T,j,te){let ie=T.getValue(),W=[];ie.declare&&W.push("declare "),ie.type==="TSInterfaceDeclaration"&&W.push(ie.abstract?"abstract ":"",I(T,j,te)),W.push("interface");let Y=[],H=[];ie.type!=="InterfaceTypeAnnotation"&&Y.push(" ",te("id"),te("typeParameters"));let re=ie.typeParameters&&!C(ie.typeParameters,M.Trailing|M.Line);return d(ie.extends)&&H.push(re?y(" ",v,{groupId:_(ie.typeParameters)}):v,"extends ",(ie.extends.length===1?F:p)(b([",",v],T.map(te,"extends")))),ie.id&&C(ie.id,M.Trailing)||d(ie.extends)?re?W.push(c([...Y,p(H)])):W.push(c(p([...Y,...H]))):W.push(...Y,...H),W.push(" ",te("body")),c(W)}w.exports={printInterface:k}}}),Rl=He({"src/language-js/print/module.js"(x,w){Je();var{isNonEmptyArray:d}=jn(),{builders:{softline:b,group:v,indent:c,join:p,line:y,ifBreak:C,hardline:F}}=bn(),{printDanglingComments:M}=Bi(),{hasComment:_,CommentCheckFlags:I,shouldPrintComma:k,needsHardlineAfterDanglingComment:T,isStringLiteral:j,rawText:te}=Zn(),{locStart:ie,hasSameLoc:W}=ji(),{hasDecoratorsBeforeExport:Y,printDecoratorsBeforeExport:H}=Ta();function re(U,se,ae){let de=U.getValue(),xe=se.semi?";":"",be=[],{importKind:je}=de;return be.push("import"),je&&je!=="value"&&be.push(" ",je),be.push(O(U,se,ae),B(U,se,ae),D(U,se,ae),xe),be}function ne(U,se,ae){let de=U.getValue(),xe=[];Y(de)&&xe.push(H(U,se,ae));let{type:be,exportKind:je,declaration:oe}=de;return xe.push("export"),(de.default||be==="ExportDefaultDeclaration")&&xe.push(" default"),_(de,I.Dangling)&&(xe.push(" ",M(U,se,!0)),T(de)&&xe.push(F)),oe?xe.push(" ",ae("declaration")):xe.push(je==="type"?" type":"",O(U,se,ae),B(U,se,ae),D(U,se,ae)),R(de,se)&&xe.push(";"),xe}function ue(U,se,ae){let de=U.getValue(),xe=se.semi?";":"",be=[],{exportKind:je,exported:oe}=de;return be.push("export"),je==="type"&&be.push(" type"),be.push(" *"),oe&&be.push(" as ",ae("exported")),be.push(B(U,se,ae),D(U,se,ae),xe),be}function R(U,se){if(!se.semi)return!1;let{type:ae,declaration:de}=U,xe=U.default||ae==="ExportDefaultDeclaration";if(!de)return!0;let{type:be}=de;return!!(xe&&be!=="ClassDeclaration"&&be!=="FunctionDeclaration"&&be!=="TSInterfaceDeclaration"&&be!=="DeclareClass"&&be!=="DeclareFunction"&&be!=="TSDeclareFunction"&&be!=="EnumDeclaration")}function B(U,se,ae){let de=U.getValue();if(!de.source)return"";let xe=[];return P(de,se)||xe.push(" from"),xe.push(" ",ae("source")),xe}function O(U,se,ae){let de=U.getValue();if(P(de,se))return"";let xe=[" "];if(d(de.specifiers)){let be=[],je=[];U.each(()=>{let oe=U.getValue().type;if(oe==="ExportNamespaceSpecifier"||oe==="ExportDefaultSpecifier"||oe==="ImportNamespaceSpecifier"||oe==="ImportDefaultSpecifier")be.push(ae());else if(oe==="ExportSpecifier"||oe==="ImportSpecifier")je.push(ae());else throw new Error("Unknown specifier type ".concat(JSON.stringify(oe)))},"specifiers"),xe.push(p(", ",be)),je.length>0&&(be.length>0&&xe.push(", "),je.length>1||be.length>0||de.specifiers.some(oe=>_(oe))?xe.push(v(["{",c([se.bracketSpacing?y:b,p([",",y],je)]),C(k(se)?",":""),se.bracketSpacing?y:b,"}"])):xe.push(["{",se.bracketSpacing?" ":"",...je,se.bracketSpacing?" ":"","}"]))}else xe.push("{}");return xe}function P(U,se){let{type:ae,importKind:de,source:xe,specifiers:be}=U;return ae!=="ImportDeclaration"||d(be)||de==="type"?!1:!/{\s*}/.test(se.originalText.slice(ie(U),ie(xe)))}function D(U,se,ae){let de=U.getNode();return d(de.assertions)?[" assert {",se.bracketSpacing?" ":"",p(", ",U.map(ae,"assertions")),se.bracketSpacing?" ":"","}"]:""}function $(U,se,ae){let de=U.getNode(),{type:xe}=de,be=[],je=xe==="ImportSpecifier"?de.importKind:de.exportKind;je&&je!=="value"&&be.push(je," ");let oe=xe.startsWith("Import"),Ie=oe?"imported":"local",rt=oe?"local":"exported",Te=de[Ie],Pe=de[rt],Ke="",Ue="";return xe==="ExportNamespaceSpecifier"||xe==="ImportNamespaceSpecifier"?Ke="*":Te&&(Ke=ae(Ie)),Pe&&!z(de)&&(Ue=ae(rt)),be.push(Ke,Ke&&Ue?" as ":"",Ue),be}function z(U){if(U.type!=="ImportSpecifier"&&U.type!=="ExportSpecifier")return!1;let{local:se,[U.type==="ImportSpecifier"?"imported":"exported"]:ae}=U;if(se.type!==ae.type||!W(se,ae))return!1;if(j(se))return se.value===ae.value&&te(se)===te(ae);switch(se.type){case"Identifier":return se.name===ae.name;default:return!1}}w.exports={printImportDeclaration:re,printExportDeclaration:ne,printExportAllDeclaration:ue,printModuleSpecifier:$}}}),ps=He({"src/language-js/print/object.js"(x,w){Je();var{printDanglingComments:d}=Bi(),{builders:{line:b,softline:v,group:c,indent:p,ifBreak:y,hardline:C}}=bn(),{getLast:F,hasNewlineInRange:M,hasNewline:_,isNonEmptyArray:I}=jn(),{shouldPrintComma:k,hasComment:T,getComments:j,CommentCheckFlags:te,isNextLineEmpty:ie}=Zn(),{locStart:W,locEnd:Y}=ji(),{printOptionalToken:H,printTypeAnnotation:re}=$i(),{shouldHugFunctionParameters:ne}=go(),{shouldHugType:ue}=us(),{printHardlineAfterHeritage:R}=cs();function B(O,P,D){let $=P.semi?";":"",z=O.getValue(),U;z.type==="TSTypeLiteral"?U="members":z.type==="TSInterfaceBody"?U="body":U="properties";let se=z.type==="ObjectTypeAnnotation",ae=[U];se&&ae.push("indexers","callProperties","internalSlots");let de=ae.map(Fe=>z[Fe][0]).sort((Fe,ut)=>W(Fe)-W(ut))[0],xe=O.getParentNode(0),be=se&&xe&&(xe.type==="InterfaceDeclaration"||xe.type==="DeclareInterface"||xe.type==="DeclareClass")&&O.getName()==="body",je=z.type==="TSInterfaceBody"||be||z.type==="ObjectPattern"&&xe.type!=="FunctionDeclaration"&&xe.type!=="FunctionExpression"&&xe.type!=="ArrowFunctionExpression"&&xe.type!=="ObjectMethod"&&xe.type!=="ClassMethod"&&xe.type!=="ClassPrivateMethod"&&xe.type!=="AssignmentPattern"&&xe.type!=="CatchClause"&&z.properties.some(Fe=>Fe.value&&(Fe.value.type==="ObjectPattern"||Fe.value.type==="ArrayPattern"))||z.type!=="ObjectPattern"&&de&&M(P.originalText,W(z),W(de)),oe=be?";":z.type==="TSInterfaceBody"||z.type==="TSTypeLiteral"?y($,";"):",",Ie=z.type==="RecordExpression"?"#{":z.exact?"{|":"{",rt=z.exact?"|}":"}",Te=[];for(let Fe of ae)O.each(ut=>{let Qe=ut.getValue();Te.push({node:Qe,printed:D(),loc:W(Qe)})},Fe);ae.length>1&&Te.sort((Fe,ut)=>Fe.loc-ut.loc);let Pe=[],Ke=Te.map(Fe=>{let ut=[...Pe,c(Fe.printed)];return Pe=[oe,b],(Fe.node.type==="TSPropertySignature"||Fe.node.type==="TSMethodSignature"||Fe.node.type==="TSConstructSignatureDeclaration")&&T(Fe.node,te.PrettierIgnore)&&Pe.shift(),ie(Fe.node,P)&&Pe.push(C),ut});if(z.inexact){let Fe;if(T(z,te.Dangling)){let ut=T(z,te.Line);Fe=[d(O,P,!0),ut||_(P.originalText,Y(F(j(z))))?C:b,"..."]}else Fe=["..."];Ke.push([...Pe,...Fe])}let Ue=F(z[U]),et=!(z.inexact||Ue&&Ue.type==="RestElement"||Ue&&(Ue.type==="TSPropertySignature"||Ue.type==="TSCallSignatureDeclaration"||Ue.type==="TSMethodSignature"||Ue.type==="TSConstructSignatureDeclaration")&&T(Ue,te.PrettierIgnore)),it;if(Ke.length===0){if(!T(z,te.Dangling))return[Ie,rt,re(O,P,D)];it=c([Ie,d(O,P),v,rt,H(O),re(O,P,D)])}else it=[be&&I(z.properties)?R(xe):"",Ie,p([P.bracketSpacing?b:v,...Ke]),y(et&&(oe!==","||k(P))?oe:""),P.bracketSpacing?b:v,rt,H(O),re(O,P,D)];return O.match(Fe=>Fe.type==="ObjectPattern"&&!Fe.decorators,(Fe,ut,Qe)=>ne(Fe)&&(ut==="params"||ut==="parameters"||ut==="this"||ut==="rest")&&Qe===0)||O.match(ue,(Fe,ut)=>ut==="typeAnnotation",(Fe,ut)=>ut==="typeAnnotation",(Fe,ut,Qe)=>ne(Fe)&&(ut==="params"||ut==="parameters"||ut==="this"||ut==="rest")&&Qe===0)||!je&&O.match(Fe=>Fe.type==="ObjectPattern",Fe=>Fe.type==="AssignmentExpression"||Fe.type==="VariableDeclarator")?it:c(it,{shouldBreak:je})}w.exports={printObject:B}}}),Vs=He({"src/language-js/print/flow.js"(x,w){Je();var d=Ea(),{printDanglingComments:b}=Bi(),{printString:v,printNumber:c}=jn(),{builders:{hardline:p,softline:y,group:C,indent:F}}=bn(),{getParentExportDeclaration:M,isFunctionNotation:_,isGetterOrSetter:I,rawText:k,shouldPrintComma:T}=Zn(),{locStart:j,locEnd:te}=ji(),{printClass:ie}=cs(),{printOpaqueType:W,printTypeAlias:Y,printIntersectionType:H,printUnionType:re,printFunctionType:ne,printTupleType:ue,printIndexedAccessType:R}=us(),{printInterface:B}=fu(),{printTypeParameter:O,printTypeParameters:P}=So(),{printExportDeclaration:D,printExportAllDeclaration:$}=Rl(),{printArrayItems:z}=Zo(),{printObject:U}=ps(),{printPropertyKey:se}=es(),{printOptionalToken:ae,printTypeAnnotation:de,printRestSpread:xe}=$i();function be(oe,Ie,rt){let Te=oe.getValue(),Pe=Ie.semi?";":"",Ke=[];switch(Te.type){case"DeclareClass":return je(oe,ie(oe,Ie,rt));case"DeclareFunction":return je(oe,["function ",rt("id"),Te.predicate?" ":"",rt("predicate"),Pe]);case"DeclareModule":return je(oe,["module ",rt("id")," ",rt("body")]);case"DeclareModuleExports":return je(oe,["module.exports",": ",rt("typeAnnotation"),Pe]);case"DeclareVariable":return je(oe,["var ",rt("id"),Pe]);case"DeclareOpaqueType":return je(oe,W(oe,Ie,rt));case"DeclareInterface":return je(oe,B(oe,Ie,rt));case"DeclareTypeAlias":return je(oe,Y(oe,Ie,rt));case"DeclareExportDeclaration":return je(oe,D(oe,Ie,rt));case"DeclareExportAllDeclaration":return je(oe,$(oe,Ie,rt));case"OpaqueType":return W(oe,Ie,rt);case"TypeAlias":return Y(oe,Ie,rt);case"IntersectionTypeAnnotation":return H(oe,Ie,rt);case"UnionTypeAnnotation":return re(oe,Ie,rt);case"FunctionTypeAnnotation":return ne(oe,Ie,rt);case"TupleTypeAnnotation":return ue(oe,Ie,rt);case"GenericTypeAnnotation":return[rt("id"),P(oe,Ie,rt,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return R(oe,Ie,rt);case"TypeAnnotation":return rt("typeAnnotation");case"TypeParameter":return O(oe,Ie,rt);case"TypeofTypeAnnotation":return["typeof ",rt("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[rt("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(Te.value);case"EnumDeclaration":return["enum ",rt("id")," ",rt("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(Te.type==="EnumSymbolBody"||Te.explicitType){let Ue=null;switch(Te.type){case"EnumBooleanBody":Ue="boolean";break;case"EnumNumberBody":Ue="number";break;case"EnumStringBody":Ue="string";break;case"EnumSymbolBody":Ue="symbol";break}Ke.push("of ",Ue," ")}if(Te.members.length===0&&!Te.hasUnknownMembers)Ke.push(C(["{",b(oe,Ie),y,"}"]));else{let Ue=Te.members.length>0?[p,z(oe,Ie,"members",rt),Te.hasUnknownMembers||T(Ie)?",":""]:[];Ke.push(C(["{",F([...Ue,...Te.hasUnknownMembers?[p,"..."]:[]]),b(oe,Ie,!0),p,"}"]))}return Ke}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[rt("id")," = ",typeof Te.init=="object"?rt("init"):String(Te.init)];case"EnumDefaultedMember":return rt("id");case"FunctionTypeParam":{let Ue=Te.name?rt("name"):oe.getParentNode().this===Te?"this":"";return[Ue,ae(oe),Ue?": ":"",rt("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return B(oe,Ie,rt);case"ClassImplements":case"InterfaceExtends":return[rt("id"),rt("typeParameters")];case"NullableTypeAnnotation":return["?",rt("typeAnnotation")];case"Variance":{let{kind:Ue}=Te;return d.ok(Ue==="plus"||Ue==="minus"),Ue==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Te.static&&Ke.push("static "),Ke.push(rt("value")),Ke;case"ObjectTypeIndexer":return[Te.static?"static ":"",Te.variance?rt("variance"):"","[",rt("id"),Te.id?": ":"",rt("key"),"]: ",rt("value")];case"ObjectTypeProperty":{let Ue="";return Te.proto?Ue="proto ":Te.static&&(Ue="static "),[Ue,I(Te)?Te.kind+" ":"",Te.variance?rt("variance"):"",se(oe,Ie,rt),ae(oe),_(Te)?"":": ",rt("value")]}case"ObjectTypeAnnotation":return U(oe,Ie,rt);case"ObjectTypeInternalSlot":return[Te.static?"static ":"","[[",rt("id"),"]]",ae(oe),Te.method?"":": ",rt("value")];case"ObjectTypeSpreadProperty":return xe(oe,Ie,rt);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[rt("qualification"),".",rt("id")];case"StringLiteralTypeAnnotation":return v(k(Te),Ie);case"NumberLiteralTypeAnnotation":d.strictEqual(typeof Te.value,"number");case"BigIntLiteralTypeAnnotation":return Te.extra?c(Te.extra.raw):c(Te.raw);case"TypeCastExpression":return["(",rt("expression"),de(oe,Ie,rt),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Ue=P(oe,Ie,rt,"params");if(Ie.parser==="flow"){let et=j(Te),it=te(Te),Fe=Ie.originalText.lastIndexOf("/*",et),ut=Ie.originalText.indexOf("*/",it);if(Fe!==-1&&ut!==-1){let Qe=Ie.originalText.slice(Fe+2,ut).trim();if(Qe.startsWith("::")&&!Qe.includes("/*")&&!Qe.includes("*/"))return["/*:: ",Ue," */"]}}return Ue}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",rt("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(Te.type))}}function je(oe,Ie){let rt=M(oe);return rt?(d.strictEqual(rt.type,"DeclareExportDeclaration"),Ie):["declare ",Ie]}w.exports={printFlow:be}}}),Cc=He({"src/language-js/utils/is-ts-keyword-type.js"(x,w){Je();function d(b){let{type:v}=b;return v.startsWith("TS")&&v.endsWith("Keyword")}w.exports=d}}),il=He({"src/language-js/print/ternary.js"(x,w){Je();var{hasNewlineInRange:d}=jn(),{isJsxNode:b,getComments:v,isCallExpression:c,isMemberExpression:p}=Zn(),{locStart:y,locEnd:C}=ji(),F=ss(),{builders:{line:M,softline:_,group:I,indent:k,align:T,ifBreak:j,dedent:te,breakParent:ie}}=bn();function W(ue){let R=[ue];for(let B=0;B<R.length;B++){let O=R[B];for(let P of["test","consequent","alternate"]){let D=O[P];if(b(D))return!0;D.type==="ConditionalExpression"&&R.push(D)}}return!1}function Y(ue,R,B){let O=ue.getValue(),P=O.type==="ConditionalExpression",D=P?"alternate":"falseType",$=ue.getParentNode(),z=P?B("test"):[B("checkType")," ","extends"," ",B("extendsType")];return $.type===O.type&&$[D]===O?T(2,z):z}var H=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function re(ue){let R=ue.getValue();if(R.type!=="ConditionalExpression")return!1;let B,O=R;for(let P=0;!B;P++){let D=ue.getParentNode(P);if(c(D)&&D.callee===O||p(D)&&D.object===O||D.type==="TSNonNullExpression"&&D.expression===O){O=D;continue}D.type==="NewExpression"&&D.callee===O||D.type==="TSAsExpression"&&D.expression===O?(B=ue.getParentNode(P+1),O=D):B=D}return O===R?!1:B[H.get(B.type)]===O}function ne(ue,R,B){let O=ue.getValue(),P=O.type==="ConditionalExpression",D=P?"consequent":"trueType",$=P?"alternate":"falseType",z=P?["test"]:["checkType","extendsType"],U=O[D],se=O[$],ae=[],de=!1,xe=ue.getParentNode(),be=xe.type===O.type&&z.some(ut=>xe[ut]===O),je=xe.type===O.type&&!be,oe,Ie,rt=0;do Ie=oe||O,oe=ue.getParentNode(rt),rt++;while(oe&&oe.type===O.type&&z.every(ut=>oe[ut]!==Ie));let Te=oe||xe,Pe=Ie;if(P&&(b(O[z[0]])||b(U)||b(se)||W(Pe))){de=!0,je=!0;let ut=ar=>[j("("),k([_,ar]),_,j(")")],Qe=ar=>ar.type==="NullLiteral"||ar.type==="Literal"&&ar.value===null||ar.type==="Identifier"&&ar.name==="undefined";ae.push(" ? ",Qe(U)?B(D):ut(B(D))," : ",se.type===O.type||Qe(se)?B($):ut(B($)))}else{let ut=[M,"? ",U.type===O.type?j("","("):"",T(2,B(D)),U.type===O.type?j("",")"):"",M,": ",se.type===O.type?B($):T(2,B($))];ae.push(xe.type!==O.type||xe[$]===O||be?ut:R.useTabs?te(k(ut)):T(Math.max(0,R.tabWidth-2),ut))}let Ke=[...z.map(ut=>v(O[ut])),v(U),v(se)].flat().some(ut=>F(ut)&&d(R.originalText,y(ut),C(ut))),Ue=ut=>xe===Te?I(ut,{shouldBreak:Ke}):Ke?[ut,ie]:ut,et=!de&&(p(xe)||xe.type==="NGPipeExpression"&&xe.left===O)&&!xe.computed,it=re(ue),Fe=Ue([Y(ue,R,B),je?ae:k(ae),P&&et&&!it?_:""]);return be||it?I([k([_,Fe]),_]):Fe}w.exports={printTernary:ne}}}),zl=He({"src/language-js/print/statement.js"(x,w){Je();var{builders:{hardline:d}}=bn(),b=Lo(),{getLeftSidePathName:v,hasNakedLeftSide:c,isJsxNode:p,isTheOnlyJsxElementInMarkdown:y,hasComment:C,CommentCheckFlags:F,isNextLineEmpty:M}=Zn(),{shouldPrintParamsWithoutParens:_}=ls();function I(H,re,ne,ue){let R=H.getValue(),B=[],O=R.type==="ClassBody",P=k(R[ue]);return H.each((D,$,z)=>{let U=D.getValue();if(U.type==="EmptyStatement")return;let se=ne();!re.semi&&!O&&!y(re,D)&&T(D,re)?C(U,F.Leading)?B.push(ne([],{needsSemi:!0})):B.push(";",se):B.push(se),!re.semi&&O&&W(U)&&Y(U,z[$+1])&&B.push(";"),U!==P&&(B.push(d),M(U,re)&&B.push(d))},ue),B}function k(H){for(let re=H.length-1;re>=0;re--){let ne=H[re];if(ne.type!=="EmptyStatement")return ne}}function T(H,re){return H.getNode().type!=="ExpressionStatement"?!1:H.call(ne=>j(ne,re),"expression")}function j(H,re){let ne=H.getValue();switch(ne.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!_(H,re))return!0;break}case"UnaryExpression":{let{prefix:ue,operator:R}=ne;if(ue&&(R==="+"||R==="-"))return!0;break}case"BindExpression":{if(!ne.object)return!0;break}case"Literal":{if(ne.regex)return!0;break}default:if(p(ne))return!0}return b(H,re)?!0:c(ne)?H.call(ue=>j(ue,re),...v(H,ne)):!1}function te(H,re,ne){return I(H,re,ne,"body")}function ie(H,re,ne){return I(H,re,ne,"consequent")}var W=H=>{let{type:re}=H;return re==="ClassProperty"||re==="PropertyDefinition"||re==="ClassPrivateProperty"||re==="ClassAccessorProperty"};function Y(H,re){let ne=H.key&&H.key.name;if((ne==="static"||ne==="get"||ne==="set")&&!H.value&&!H.typeAnnotation)return!0;if(!re||re.static||re.accessibility)return!1;if(!re.computed){let ue=re.key&&re.key.name;if(ue==="in"||ue==="instanceof")return!0}if(W(re)&&re.variance&&!re.static&&!re.declare)return!0;switch(re.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return re.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((re.value?re.value.async:re.async)||re.kind==="get"||re.kind==="set")return!1;let ue=re.value?re.value.generator:re.generator;return!!(re.computed||ue)}case"TSIndexSignature":return!0}return!1}w.exports={printBody:te,printSwitchCaseConsequent:ie}}}),Wl=He({"src/language-js/print/block.js"(x,w){Je();var{printDanglingComments:d}=Bi(),{isNonEmptyArray:b}=jn(),{builders:{hardline:v,indent:c}}=bn(),{hasComment:p,CommentCheckFlags:y,isNextLineEmpty:C}=Zn(),{printHardlineAfterHeritage:F}=cs(),{printBody:M}=zl();function _(k,T,j){let te=k.getValue(),ie=[];if(te.type==="StaticBlock"&&ie.push("static "),te.type==="ClassBody"&&b(te.body)){let Y=k.getParentNode();ie.push(F(Y))}ie.push("{");let W=I(k,T,j);if(W)ie.push(c([v,W]),v);else{let Y=k.getParentNode(),H=k.getParentNode(1);Y.type==="ArrowFunctionExpression"||Y.type==="FunctionExpression"||Y.type==="FunctionDeclaration"||Y.type==="ObjectMethod"||Y.type==="ClassMethod"||Y.type==="ClassPrivateMethod"||Y.type==="ForStatement"||Y.type==="WhileStatement"||Y.type==="DoWhileStatement"||Y.type==="DoExpression"||Y.type==="CatchClause"&&!H.finalizer||Y.type==="TSModuleDeclaration"||Y.type==="TSDeclareFunction"||te.type==="StaticBlock"||te.type==="ClassBody"||ie.push(v)}return ie.push("}"),ie}function I(k,T,j){let te=k.getValue(),ie=b(te.directives),W=te.body.some(re=>re.type!=="EmptyStatement"),Y=p(te,y.Dangling);if(!ie&&!W&&!Y)return"";let H=[];if(ie&&k.each((re,ne,ue)=>{H.push(j()),(ne<ue.length-1||W||Y)&&(H.push(v),C(re.getValue(),T)&&H.push(v))},"directives"),W&&H.push(M(k,T,j)),Y&&H.push(d(k,T,!0)),te.type==="Program"){let re=k.getParentNode();(!re||re.type!=="ModuleExpression")&&H.push(v)}return H}w.exports={printBlock:_,printBlockBody:I}}}),ol=He({"src/language-js/print/typescript.js"(x,w){Je();var{printDanglingComments:d}=Bi(),{hasNewlineInRange:b}=jn(),{builders:{join:v,line:c,hardline:p,softline:y,group:C,indent:F,conditionalGroup:M,ifBreak:_}}=bn(),{isLiteral:I,getTypeScriptMappedTypeModifier:k,shouldPrintComma:T,isCallExpression:j,isMemberExpression:te}=Zn(),ie=Cc(),{locStart:W,locEnd:Y}=ji(),{printOptionalToken:H,printTypeScriptModifiers:re}=$i(),{printTernary:ne}=il(),{printFunctionParameters:ue,shouldGroupFunctionParameters:R}=go(),{printTemplateLiteral:B}=Ds(),{printArrayItems:O}=Zo(),{printObject:P}=ps(),{printClassProperty:D,printClassMethod:$}=cs(),{printTypeParameter:z,printTypeParameters:U}=So(),{printPropertyKey:se}=es(),{printFunction:ae,printMethodInternal:de}=ls(),{printInterface:xe}=fu(),{printBlock:be}=Wl(),{printTypeAlias:je,printIntersectionType:oe,printUnionType:Ie,printFunctionType:rt,printTupleType:Te,printIndexedAccessType:Pe}=us();function Ke(Ue,et,it){let Fe=Ue.getValue();if(!Fe.type.startsWith("TS"))return;if(ie(Fe))return Fe.type.slice(2,-7).toLowerCase();let ut=et.semi?";":"",Qe=[];switch(Fe.type){case"TSThisType":return"this";case"TSTypeAssertion":{let ar=!(Fe.expression.type==="ArrayExpression"||Fe.expression.type==="ObjectExpression"),Ce=C(["<",F([y,it("typeAnnotation")]),y,">"]),Ct=[_("("),F([y,it("expression")]),y,_(")")];return ar?M([[Ce,it("expression")],[Ce,C(Ct,{shouldBreak:!0})],[Ce,it("expression")]]):C([Ce,it("expression")])}case"TSDeclareFunction":return ae(Ue,it,et);case"TSExportAssignment":return["export = ",it("expression"),ut];case"TSModuleBlock":return be(Ue,et,it);case"TSInterfaceBody":case"TSTypeLiteral":return P(Ue,et,it);case"TSTypeAliasDeclaration":return je(Ue,et,it);case"TSQualifiedName":return v(".",[it("left"),it("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return $(Ue,et,it);case"TSAbstractPropertyDefinition":return D(Ue,et,it);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Qe.push(it("expression")),Fe.typeParameters&&Qe.push(it("typeParameters")),Qe;case"TSTemplateLiteralType":return B(Ue,it,et);case"TSNamedTupleMember":return[it("label"),Fe.optional?"?":"",": ",it("elementType")];case"TSRestType":return["...",it("typeAnnotation")];case"TSOptionalType":return[it("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return xe(Ue,et,it);case"TSClassImplements":return[it("expression"),it("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return U(Ue,et,it,"params");case"TSTypeParameter":return z(Ue,et,it);case"TSAsExpression":{Qe.push(it("expression")," as ",it("typeAnnotation"));let ar=Ue.getParentNode();return j(ar)&&ar.callee===Fe||te(ar)&&ar.object===Fe?C([F([y,...Qe]),y]):Qe}case"TSArrayType":return[it("elementType"),"[]"];case"TSPropertySignature":return Fe.readonly&&Qe.push("readonly "),Qe.push(se(Ue,et,it),H(Ue)),Fe.typeAnnotation&&Qe.push(": ",it("typeAnnotation")),Fe.initializer&&Qe.push(" = ",it("initializer")),Qe;case"TSParameterProperty":return Fe.accessibility&&Qe.push(Fe.accessibility+" "),Fe.export&&Qe.push("export "),Fe.static&&Qe.push("static "),Fe.override&&Qe.push("override "),Fe.readonly&&Qe.push("readonly "),Qe.push(it("parameter")),Qe;case"TSTypeQuery":return["typeof ",it("exprName")];case"TSIndexSignature":{let ar=Ue.getParentNode(),Ce=Fe.parameters.length>1?_(T(et)?",":""):"",Ct=C([F([y,v([", ",y],Ue.map(it,"parameters"))]),Ce,y]);return[Fe.export?"export ":"",Fe.accessibility?[Fe.accessibility," "]:"",Fe.static?"static ":"",Fe.readonly?"readonly ":"",Fe.declare?"declare ":"","[",Fe.parameters?Ct:"",Fe.typeAnnotation?"]: ":"]",Fe.typeAnnotation?it("typeAnnotation"):"",ar.type==="ClassBody"?ut:""]}case"TSTypePredicate":return[Fe.asserts?"asserts ":"",it("parameterName"),Fe.typeAnnotation?[" is ",it("typeAnnotation")]:""];case"TSNonNullExpression":return[it("expression"),"!"];case"TSImportType":return[Fe.isTypeOf?"typeof ":"","import(",it(Fe.parameter?"parameter":"argument"),")",Fe.qualifier?[".",it("qualifier")]:"",U(Ue,et,it,"typeParameters")];case"TSLiteralType":return it("literal");case"TSIndexedAccessType":return Pe(Ue,et,it);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Fe.type==="TSConstructorType"&&Fe.abstract&&Qe.push("abstract "),Fe.type!=="TSCallSignatureDeclaration"&&Qe.push("new "),Qe.push(C(ue(Ue,it,et,!1,!0))),Fe.returnType||Fe.typeAnnotation){let ar=Fe.type==="TSConstructorType";Qe.push(ar?" => ":": ",it("returnType"),it("typeAnnotation"))}return Qe}case"TSTypeOperator":return[Fe.operator," ",it("typeAnnotation")];case"TSMappedType":{let ar=b(et.originalText,W(Fe),Y(Fe));return C(["{",F([et.bracketSpacing?c:y,Fe.readonly?[k(Fe.readonly,"readonly")," "]:"",re(Ue,et,it),it("typeParameter"),Fe.optional?k(Fe.optional,"?"):"",Fe.typeAnnotation?": ":"",it("typeAnnotation"),_(ut)]),d(Ue,et,!0),et.bracketSpacing?c:y,"}"],{shouldBreak:ar})}case"TSMethodSignature":{let ar=Fe.kind&&Fe.kind!=="method"?"".concat(Fe.kind," "):"";Qe.push(Fe.accessibility?[Fe.accessibility," "]:"",ar,Fe.export?"export ":"",Fe.static?"static ":"",Fe.readonly?"readonly ":"",Fe.abstract?"abstract ":"",Fe.declare?"declare ":"",Fe.computed?"[":"",it("key"),Fe.computed?"]":"",H(Ue));let Ce=ue(Ue,it,et,!1,!0),Ct=Fe.returnType?"returnType":"typeAnnotation",tt=Fe[Ct],Ye=tt?it(Ct):"",Jt=R(Fe,Ye);return Qe.push(Jt?C(Ce):Ce),tt&&Qe.push(": ",C(Ye)),C(Qe)}case"TSNamespaceExportDeclaration":return Qe.push("export as namespace ",it("id")),et.semi&&Qe.push(";"),C(Qe);case"TSEnumDeclaration":return Fe.declare&&Qe.push("declare "),Fe.modifiers&&Qe.push(re(Ue,et,it)),Fe.const&&Qe.push("const "),Qe.push("enum ",it("id")," "),Fe.members.length===0?Qe.push(C(["{",d(Ue,et),y,"}"])):Qe.push(C(["{",F([p,O(Ue,et,"members",it),T(et,"es5")?",":""]),d(Ue,et,!0),p,"}"])),Qe;case"TSEnumMember":return Qe.push(it("id")),Fe.initializer&&Qe.push(" = ",it("initializer")),Qe;case"TSImportEqualsDeclaration":return Fe.isExport&&Qe.push("export "),Qe.push("import "),Fe.importKind&&Fe.importKind!=="value"&&Qe.push(Fe.importKind," "),Qe.push(it("id")," = ",it("moduleReference")),et.semi&&Qe.push(";"),C(Qe);case"TSExternalModuleReference":return["require(",it("expression"),")"];case"TSModuleDeclaration":{let ar=Ue.getParentNode(),Ce=I(Fe.id),Ct=ar.type==="TSModuleDeclaration",tt=Fe.body&&Fe.body.type==="TSModuleDeclaration";if(Ct)Qe.push(".");else{Fe.declare&&Qe.push("declare "),Qe.push(re(Ue,et,it));let Ye=et.originalText.slice(W(Fe),W(Fe.id));Fe.id.type==="Identifier"&&Fe.id.name==="global"&&!/namespace|module/.test(Ye)||Qe.push(Ce||/(?:^|\s)module(?:\s|$)/.test(Ye)?"module ":"namespace ")}return Qe.push(it("id")),tt?Qe.push(it("body")):Fe.body?Qe.push(" ",C(it("body"))):Qe.push(ut),Qe}case"TSConditionalType":return ne(Ue,et,it);case"TSInferType":return["infer"," ",it("typeParameter")];case"TSIntersectionType":return oe(Ue,et,it);case"TSUnionType":return Ie(Ue,et,it);case"TSFunctionType":return rt(Ue,et,it);case"TSTupleType":return Te(Ue,et,it);case"TSTypeReference":return[it("typeName"),U(Ue,et,it,"typeParameters")];case"TSTypeAnnotation":return it("typeAnnotation");case"TSEmptyBodyFunctionExpression":return de(Ue,et,it);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",it("typeAnnotation")];case"TSJSDocNonNullableType":return["!",it("typeAnnotation")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(Fe.type),"."))}}w.exports={printTypescript:Ke}}}),Ec=He({"src/language-js/print/comment.js"(x,w){Je();var{hasNewline:d}=jn(),{builders:{join:b,hardline:v},utils:{replaceTextEndOfLine:c}}=bn(),{isLineComment:p}=Zn(),{locStart:y,locEnd:C}=ji(),F=ss();function M(k,T){let j=k.getValue();if(p(j))return T.originalText.slice(y(j),C(j)).trimEnd();if(F(j)){if(_(j)){let W=I(j);return j.trailing&&!d(T.originalText,y(j),{backwards:!0})?[v,W]:W}let te=C(j),ie=T.originalText.slice(te-3,te)==="*-/";return["/*",c(j.value),ie?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(j))}function _(k){let T="*".concat(k.value,"*").split(`
90
- `);return T.length>1&&T.every(j=>j.trim()[0]==="*")}function I(k){let T=k.value.split(`
91
- `);return["/*",b(v,T.map((j,te)=>te===0?j.trimEnd():" "+(te<T.length-1?j.trim():j.trimStart()))),"*/"]}w.exports={printComment:M}}}),oo=He({"src/language-js/print/literal.js"(x,w){Je();var{printString:d,printNumber:b}=jn();function v(y,C){let F=y.getNode();switch(F.type){case"RegExpLiteral":return p(F);case"BigIntLiteral":return c(F.bigint||F.extra.raw);case"NumericLiteral":return b(F.extra.raw);case"StringLiteral":return d(F.extra.raw,C);case"NullLiteral":return"null";case"BooleanLiteral":return String(F.value);case"DecimalLiteral":return b(F.value)+"m";case"Literal":{if(F.regex)return p(F.regex);if(F.bigint)return c(F.raw);if(F.decimal)return b(F.decimal)+"m";let{value:M}=F;return typeof M=="number"?b(F.raw):typeof M=="string"?d(F.raw,C):String(M)}}}function c(y){return y.toLowerCase()}function p(y){let{pattern:C,flags:F}=y;return F=[...F].sort().join(""),"/".concat(C,"/").concat(F)}w.exports={printLiteral:v}}}),Mi=He({"src/language-js/printer-estree.js"(x,w){Je();var{printDanglingComments:d}=Bi(),{hasNewline:b}=jn(),{builders:{join:v,line:c,hardline:p,softline:y,group:C,indent:F},utils:{replaceTextEndOfLine:M}}=bn(),_=jl(),I=bs(),{insertPragma:k}=As(),T=Fa(),j=Lo(),te=el(),{hasFlowShorthandAnnotationComment:ie,hasComment:W,CommentCheckFlags:Y,isTheOnlyJsxElementInMarkdown:H,isLineComment:re,isNextLineEmpty:ne,needsHardlineAfterDanglingComment:ue,rawText:R,hasIgnoreComment:B,isCallExpression:O,isMemberExpression:P,markerForIfWithoutBlockAndSameLineComment:D}=Zn(),{locStart:$,locEnd:z}=ji(),U=ss(),{printHtmlBinding:se,isVueEventBindingExpression:ae}=Ml(),{printAngular:de}=rl(),{printJsx:xe,hasJsxIgnoreComment:be}=nl(),{printFlow:je}=Vs(),{printTypescript:oe}=ol(),{printOptionalToken:Ie,printBindExpressionCallee:rt,printTypeAnnotation:Te,adjustClause:Pe,printRestSpread:Ke,printDefiniteToken:Ue}=$i(),{printImportDeclaration:et,printExportDeclaration:it,printExportAllDeclaration:Fe,printModuleSpecifier:ut}=Rl(),{printTernary:Qe}=il(),{printTemplateLiteral:ar}=Ds(),{printArray:Ce}=Zo(),{printObject:Ct}=ps(),{printClass:tt,printClassMethod:Ye,printClassProperty:Jt}=cs(),{printProperty:qt}=es(),{printFunction:cr,printArrowFunction:Tr,printMethod:an,printReturnStatement:St,printThrowStatement:Et}=ls(),{printCallExpression:Nt}=$s(),{printVariableDeclarator:bt,printAssignmentExpression:Xt}=Fs(),{printBinaryishExpression:Le}=tl(),{printSwitchCaseConsequent:Kt}=zl(),{printMemberExpression:Ge}=Ss(),{printBlock:Ve,printBlockBody:Ze}=Wl(),{printComment:$e}=Ec(),{printLiteral:fe}=oo(),{printDecorators:ir}=Ta();function Ar(Vr,dn,hr,zn){let Mr=In(Vr,dn,hr,zn);if(!Mr)return"";let li=Vr.getValue(),{type:Xr}=li;if(Xr==="ClassMethod"||Xr==="ClassPrivateMethod"||Xr==="ClassProperty"||Xr==="ClassAccessorProperty"||Xr==="PropertyDefinition"||Xr==="TSAbstractPropertyDefinition"||Xr==="ClassPrivateProperty"||Xr==="MethodDefinition"||Xr==="TSAbstractMethodDefinition"||Xr==="TSDeclareMethod")return Mr;let hn=[Mr],e=ir(Vr,dn,hr),t=li.type==="ClassExpression"&&e;if(e&&(hn=[...e,Mr],!t))return C(hn);if(!j(Vr,dn))return zn&&zn.needsSemi&&hn.unshift(";"),hn.length===1&&hn[0]===Mr?Mr:hn;if(t&&(hn=[F([c,...hn])]),hn.unshift("("),zn&&zn.needsSemi&&hn.unshift(";"),ie(li)){let[i]=li.trailingComments;hn.push(" /*",i.value.trimStart(),"*/"),i.printed=!0}return t&&hn.push(c),hn.push(")"),hn}function In(Vr,dn,hr,zn){let Mr=Vr.getValue(),li=dn.semi?";":"";if(!Mr)return"";if(typeof Mr=="string")return Mr;for(let hn of[fe,se,de,xe,je,oe]){let e=hn(Vr,dn,hr);if(typeof e<"u")return e}let Xr=[];switch(Mr.type){case"JsExpressionRoot":return hr("node");case"JsonRoot":return[hr("node"),p];case"File":return Mr.program&&Mr.program.interpreter&&Xr.push(hr(["program","interpreter"])),Xr.push(hr("program")),Xr;case"Program":return Ze(Vr,dn,hr);case"EmptyStatement":return"";case"ExpressionStatement":{if(Mr.directive)return[si(Mr.expression,dn),li];if(dn.parser==="__vue_event_binding"){let e=Vr.getParentNode();if(e.type==="Program"&&e.body.length===1&&e.body[0]===Mr)return[hr("expression"),ae(Mr.expression)?";":""]}let hn=d(Vr,dn,!0,e=>{let{marker:t}=e;return t===D});return[hr("expression"),H(dn,Vr)?"":li,hn?[" ",hn]:""]}case"ParenthesizedExpression":return!W(Mr.expression)&&(Mr.expression.type==="ObjectExpression"||Mr.expression.type==="ArrayExpression")?["(",hr("expression"),")"]:C(["(",F([y,hr("expression")]),y,")"]);case"AssignmentExpression":return Xt(Vr,dn,hr);case"VariableDeclarator":return bt(Vr,dn,hr);case"BinaryExpression":case"LogicalExpression":return Le(Vr,dn,hr);case"AssignmentPattern":return[hr("left")," = ",hr("right")];case"OptionalMemberExpression":case"MemberExpression":return Ge(Vr,dn,hr);case"MetaProperty":return[hr("meta"),".",hr("property")];case"BindExpression":return Mr.object&&Xr.push(hr("object")),Xr.push(C(F([y,rt(Vr,dn,hr)]))),Xr;case"Identifier":return[Mr.name,Ie(Vr),Ue(Vr),Te(Vr,dn,hr)];case"V8IntrinsicIdentifier":return["%",Mr.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Ke(Vr,dn,hr);case"FunctionDeclaration":case"FunctionExpression":return cr(Vr,hr,dn,zn);case"ArrowFunctionExpression":return Tr(Vr,dn,hr,zn);case"YieldExpression":return Xr.push("yield"),Mr.delegate&&Xr.push("*"),Mr.argument&&Xr.push(" ",hr("argument")),Xr;case"AwaitExpression":{if(Xr.push("await"),Mr.argument){Xr.push(" ",hr("argument"));let hn=Vr.getParentNode();if(O(hn)&&hn.callee===Mr||P(hn)&&hn.object===Mr){Xr=[F([y,...Xr]),y];let e=Vr.findAncestor(t=>t.type==="AwaitExpression"||t.type==="BlockStatement");if(!e||e.type!=="AwaitExpression")return C(Xr)}}return Xr}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return it(Vr,dn,hr);case"ExportAllDeclaration":return Fe(Vr,dn,hr);case"ImportDeclaration":return et(Vr,dn,hr);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return ut(Vr,dn,hr);case"ImportAttribute":return[hr("key"),": ",hr("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Ve(Vr,dn,hr);case"ThrowStatement":return Et(Vr,dn,hr);case"ReturnStatement":return St(Vr,dn,hr);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Nt(Vr,dn,hr);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Ct(Vr,dn,hr);case"ObjectProperty":case"Property":return Mr.method||Mr.kind==="get"||Mr.kind==="set"?an(Vr,dn,hr):qt(Vr,dn,hr);case"ObjectMethod":return an(Vr,dn,hr);case"Decorator":return["@",hr("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Ce(Vr,dn,hr);case"SequenceExpression":{let hn=Vr.getParentNode(0);if(hn.type==="ExpressionStatement"||hn.type==="ForStatement"){let e=[];return Vr.each((t,i)=>{i===0?e.push(hr()):e.push(",",F([c,hr()]))},"expressions"),C(e)}return C(v([",",c],Vr.map(hr,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[hr("value"),li];case"DirectiveLiteral":return si(Mr,dn);case"UnaryExpression":return Xr.push(Mr.operator),/[a-z]$/.test(Mr.operator)&&Xr.push(" "),W(Mr.argument)?Xr.push(C(["(",F([y,hr("argument")]),y,")"])):Xr.push(hr("argument")),Xr;case"UpdateExpression":return Xr.push(hr("argument"),Mr.operator),Mr.prefix&&Xr.reverse(),Xr;case"ConditionalExpression":return Qe(Vr,dn,hr);case"VariableDeclaration":{let hn=Vr.map(hr,"declarations"),e=Vr.getParentNode(),t=e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement",i=Mr.declarations.some(o=>o.init),n;return hn.length===1&&!W(Mr.declarations[0])?n=hn[0]:hn.length>0&&(n=F(hn[0])),Xr=[Mr.declare?"declare ":"",Mr.kind,n?[" ",n]:"",F(hn.slice(1).map(o=>[",",i&&!t?p:c,o]))],t&&e.body!==Mr||Xr.push(li),C(Xr)}case"WithStatement":return C(["with (",hr("object"),")",Pe(Mr.body,hr("body"))]);case"IfStatement":{let hn=Pe(Mr.consequent,hr("consequent")),e=C(["if (",C([F([y,hr("test")]),y]),")",hn]);if(Xr.push(e),Mr.alternate){let t=W(Mr.consequent,Y.Trailing|Y.Line)||ue(Mr),i=Mr.consequent.type==="BlockStatement"&&!t;Xr.push(i?" ":p),W(Mr,Y.Dangling)&&Xr.push(d(Vr,dn,!0),t?p:" "),Xr.push("else",C(Pe(Mr.alternate,hr("alternate"),Mr.alternate.type==="IfStatement")))}return Xr}case"ForStatement":{let hn=Pe(Mr.body,hr("body")),e=d(Vr,dn,!0),t=e?[e,y]:"";return!Mr.init&&!Mr.test&&!Mr.update?[t,C(["for (;;)",hn])]:[t,C(["for (",C([F([y,hr("init"),";",c,hr("test"),";",c,hr("update")]),y]),")",hn])]}case"WhileStatement":return C(["while (",C([F([y,hr("test")]),y]),")",Pe(Mr.body,hr("body"))]);case"ForInStatement":return C(["for (",hr("left")," in ",hr("right"),")",Pe(Mr.body,hr("body"))]);case"ForOfStatement":return C(["for",Mr.await?" await":""," (",hr("left")," of ",hr("right"),")",Pe(Mr.body,hr("body"))]);case"DoWhileStatement":{let hn=Pe(Mr.body,hr("body"));return Xr=[C(["do",hn])],Mr.body.type==="BlockStatement"?Xr.push(" "):Xr.push(p),Xr.push("while (",C([F([y,hr("test")]),y]),")",li),Xr}case"DoExpression":return[Mr.async?"async ":"","do ",hr("body")];case"BreakStatement":return Xr.push("break"),Mr.label&&Xr.push(" ",hr("label")),Xr.push(li),Xr;case"ContinueStatement":return Xr.push("continue"),Mr.label&&Xr.push(" ",hr("label")),Xr.push(li),Xr;case"LabeledStatement":return Mr.body.type==="EmptyStatement"?[hr("label"),":;"]:[hr("label"),": ",hr("body")];case"TryStatement":return["try ",hr("block"),Mr.handler?[" ",hr("handler")]:"",Mr.finalizer?[" finally ",hr("finalizer")]:""];case"CatchClause":if(Mr.param){let hn=W(Mr.param,t=>!U(t)||t.leading&&b(dn.originalText,z(t))||t.trailing&&b(dn.originalText,$(t),{backwards:!0})),e=hr("param");return["catch ",hn?["(",F([y,e]),y,") "]:["(",e,") "],hr("body")]}return["catch ",hr("body")];case"SwitchStatement":return[C(["switch (",F([y,hr("discriminant")]),y,")"])," {",Mr.cases.length>0?F([p,v(p,Vr.map((hn,e,t)=>{let i=hn.getValue();return[hr(),e!==t.length-1&&ne(i,dn)?p:""]},"cases"))]):"",p,"}"];case"SwitchCase":{Mr.test?Xr.push("case ",hr("test"),":"):Xr.push("default:"),W(Mr,Y.Dangling)&&Xr.push(" ",d(Vr,dn,!0));let hn=Mr.consequent.filter(e=>e.type!=="EmptyStatement");if(hn.length>0){let e=Kt(Vr,dn,hr);Xr.push(hn.length===1&&hn[0].type==="BlockStatement"?[" ",e]:F([p,e]))}return Xr}case"DebuggerStatement":return["debugger",li];case"ClassDeclaration":case"ClassExpression":return tt(Vr,dn,hr);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Ye(Vr,dn,hr);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return Jt(Vr,dn,hr);case"TemplateElement":return M(Mr.value.raw);case"TemplateLiteral":return ar(Vr,hr,dn);case"TaggedTemplateExpression":return[hr("tag"),hr("typeParameters"),hr("quasi")];case"PrivateIdentifier":return["#",hr("name")];case"PrivateName":return["#",hr("id")];case"InterpreterDirective":return Xr.push("#!",Mr.value,p),ne(Mr,dn)&&Xr.push(p),Xr;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Xr.push("module {");let hn=hr("body");return hn&&Xr.push(F([p,hn]),p),Xr.push("}"),Xr}default:throw new Error("unknown type: "+JSON.stringify(Mr.type))}}function si(Vr,dn){let hr=R(Vr),zn=hr.slice(1,-1);if(zn.includes('"')||zn.includes("'"))return hr;let Mr=dn.singleQuote?"'":'"';return Mr+zn+Mr}function vi(Vr){return Vr.type&&!U(Vr)&&!re(Vr)&&Vr.type!=="EmptyStatement"&&Vr.type!=="TemplateElement"&&Vr.type!=="Import"&&Vr.type!=="TSEmptyBodyFunctionExpression"}w.exports={preprocess:te,print:Ar,embed:_,insertPragma:k,massageAstNode:I,hasPrettierIgnore(Vr){return B(Vr)||be(Vr)},willPrintOwnComments:T.willPrintOwnComments,canAttachComment:vi,printComment:$e,isBlockComment:U,handleComments:{avoidAstMutation:!0,ownLine:T.handleOwnLineComment,endOfLine:T.handleEndOfLineComment,remaining:T.handleRemainingComment},getCommentChildNodes:T.getCommentChildNodes}}}),Yi=He({"src/language-js/printer-estree-json.js"(x,w){Je();var{builders:{hardline:d,indent:b,join:v}}=bn(),c=el();function p(F,M,_){let I=F.getValue();switch(I.type){case"JsonRoot":return[_("node"),d];case"ArrayExpression":{if(I.elements.length===0)return"[]";let k=F.map(()=>F.getValue()===null?"null":_(),"elements");return["[",b([d,v([",",d],k)]),d,"]"]}case"ObjectExpression":return I.properties.length===0?"{}":["{",b([d,v([",",d],F.map(_,"properties"))]),d,"}"];case"ObjectProperty":return[_("key"),": ",_("value")];case"UnaryExpression":return[I.operator==="+"?"":I.operator,_("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return I.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(I.value);case"Identifier":{let k=F.getParentNode();return k&&k.type==="ObjectProperty"&&k.key===I?JSON.stringify(I.name):I.name}case"TemplateLiteral":return _(["quasis",0]);case"TemplateElement":return JSON.stringify(I.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(I.type))}}var y=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function C(F,M){let{type:_}=F;if(_==="ObjectProperty"&&F.key.type==="Identifier"){M.key={type:"StringLiteral",value:F.key.name};return}if(_==="UnaryExpression"&&F.operator==="+")return M.argument;if(_==="ArrayExpression"){for(let[I,k]of F.elements.entries())k===null&&M.elements.splice(I,0,{type:"NullLiteral"});return}if(_==="TemplateLiteral")return{type:"StringLiteral",value:F.quasis[0].value.cooked}}C.ignoredProperties=y,w.exports={preprocess:c,print:p,massageAstNode:C}}}),Ei=He({"src/common/common-options.js"(x,w){Je();var d="Common";w.exports={bracketSpacing:{since:"0.0.0",category:d,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:d,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:d,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:d,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:d,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Na=He({"src/language-js/options.js"(x,w){Je();var d=Ei(),b="JavaScript";w.exports={arrowParens:{since:"1.9.0",category:b,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:d.bracketSameLine,bracketSpacing:d.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:b,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:b,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:d.singleQuote,jsxSingleQuote:{since:"1.15.0",category:b,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:b,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:b,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:d.singleAttributePerLine}}}),wc=He({"src/language-js/parse/parsers.js"(){Je()}}),oa=He({"node_modules/linguist-languages/data/JavaScript.json"(x,w){w.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",".jsb",".jscad",".jsfl",".jsm",".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}}}),Ac=He({"node_modules/linguist-languages/data/TypeScript.json"(x,w){w.exports={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Sc=He({"node_modules/linguist-languages/data/TSX.json"(x,w){w.exports={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Hl=He({"node_modules/linguist-languages/data/JSON.json"(x,w){w.exports={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".imgbotconfig",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),sl=He({"node_modules/linguist-languages/data/JSON with Comments.json"(x,w){w.exports={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".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",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),Ul=He({"node_modules/linguist-languages/data/JSON5.json"(x,w){w.exports={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),al=He({"src/language-js/index.js"(x,w){Je();var d=Yo(),b=Mi(),v=Yi(),c=Na(),p=wc(),y=[d(oa(),F=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...F.interpreters,"zx"],extensions:[...F.extensions.filter(M=>M!==".jsx"),".wxs"]})),d(oa(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),d(oa(),()=>({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})),d(Ac(),F=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],extensions:[...F.extensions,".mts",".cts"]})),d(Sc(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),d(Hl(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),d(Hl(),F=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:F.extensions.filter(M=>M!==".jsonl")})),d(sl(),F=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...F.filenames,".eslintrc",".swcrc"]})),d(Ul(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],C={estree:b,"estree-json":v};w.exports={languages:y,options:c,printers:C,parsers:p}}}),Fc=He({"src/language-css/clean.js"(x,w){Je();var{isFrontMatterNode:d}=jn(),b=fr(),v=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function c(y,C,F){if(d(y)&&y.lang==="yaml"&&delete C.value,y.type==="css-comment"&&F.type==="css-root"&&F.nodes.length>0&&((F.nodes[0]===y||d(F.nodes[0])&&F.nodes[1]===y)&&(delete C.text,/^\*\s*@(?:format|prettier)\s*$/.test(y.text))||F.type==="css-root"&&b(F.nodes)===y))return null;if(y.type==="value-root"&&delete C.text,(y.type==="media-query"||y.type==="media-query-list"||y.type==="media-feature-expression")&&delete C.value,y.type==="css-rule"&&delete C.params,y.type==="selector-combinator"&&(C.value=C.value.replace(/\s+/g," ")),y.type==="media-feature"&&(C.value=C.value.replace(/ /g,"")),(y.type==="value-word"&&(y.isColor&&y.isHex||["initial","inherit","unset","revert"].includes(C.value.replace().toLowerCase()))||y.type==="media-feature"||y.type==="selector-root-invalid"||y.type==="selector-pseudo")&&(C.value=C.value.toLowerCase()),y.type==="css-decl"&&(C.prop=C.prop.toLowerCase()),(y.type==="css-atrule"||y.type==="css-import")&&(C.name=C.name.toLowerCase()),y.type==="value-number"&&(C.unit=C.unit.toLowerCase()),(y.type==="media-feature"||y.type==="media-keyword"||y.type==="media-type"||y.type==="media-unknown"||y.type==="media-url"||y.type==="media-value"||y.type==="selector-attribute"||y.type==="selector-string"||y.type==="selector-class"||y.type==="selector-combinator"||y.type==="value-string")&&C.value&&(C.value=p(C.value)),y.type==="selector-attribute"&&(C.attribute=C.attribute.trim(),C.namespace&&typeof C.namespace=="string"&&(C.namespace=C.namespace.trim(),C.namespace.length===0&&(C.namespace=!0)),C.value&&(C.value=C.value.trim().replace(/^["']|["']$/g,""),delete C.quoted)),(y.type==="media-value"||y.type==="media-type"||y.type==="value-number"||y.type==="selector-root-invalid"||y.type==="selector-class"||y.type==="selector-combinator"||y.type==="selector-tag")&&C.value&&(C.value=C.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(M,_,I)=>{let k=Number(_);return Number.isNaN(k)?M:k+I.toLowerCase()})),y.type==="selector-tag"){let M=y.value.toLowerCase();["from","to"].includes(M)&&(C.value=M)}if(y.type==="css-atrule"&&y.name.toLowerCase()==="supports"&&delete C.value,y.type==="selector-unknown"&&delete C.value,y.type==="value-comma_group"){let M=y.groups.findIndex(_=>_.type==="value-number"&&_.unit==="...");M!==-1&&(C.groups[M].unit="",C.groups.splice(M+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}c.ignoredProperties=v;function p(y){return y.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}w.exports=c}}),Ba=He({"src/utils/front-matter/print.js"(x,w){Je();var{builders:{hardline:d,markAsRoot:b}}=bn();function v(c,p){if(c.lang==="yaml"){let y=c.value.trim(),C=y?p(y,{parser:"yaml"},{stripTrailingHardline:!0}):"";return b([c.startDelimiter,d,C,C?d:"",c.endDelimiter])}}w.exports=v}}),_a=He({"src/language-css/embed.js"(x,w){Je();var{builders:{hardline:d}}=bn(),b=Ba();function v(c,p,y){let C=c.getValue();if(C.type==="front-matter"){let F=b(C,y);return F?[F,d]:""}}w.exports=v}}),ul=He({"src/utils/front-matter/parse.js"(x,w){Je();var d=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function b(v){let c=v.match(d);if(!c)return{content:v};let{startDelimiter:p,language:y,value:C="",endDelimiter:F}=c.groups,M=y.trim()||"yaml";if(p==="+++"&&(M="toml"),M!=="yaml"&&p!==F)return{content:v};let[_]=c;return{frontMatter:{type:"front-matter",lang:M,value:C,startDelimiter:p,endDelimiter:F,raw:_.replace(/\n$/,"")},content:_.replace(/[^\n]/g," ")+v.slice(_.length)}}w.exports=b}}),$l=He({"src/language-css/pragma.js"(x,w){Je();var d=As(),b=ul();function v(p){return d.hasPragma(b(p).content)}function c(p){let{frontMatter:y,content:C}=b(p);return(y?y.raw+`
92
-
93
- `:"")+d.insertPragma(C)}w.exports={hasPragma:v,insertPragma:c}}}),ll=He({"src/language-css/utils/index.js"(x,w){Je();var d=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 b(Ce,Ct){let tt=Array.isArray(Ct)?Ct:[Ct],Ye=-1,Jt;for(;Jt=Ce.getParentNode(++Ye);)if(tt.includes(Jt.type))return Ye;return-1}function v(Ce,Ct){let tt=b(Ce,Ct);return tt===-1?null:Ce.getParentNode(tt)}function c(Ce){let Ct=v(Ce,"css-decl");return Ct&&Ct.prop&&Ct.prop.toLowerCase()}function p(Ce){return["initial","inherit","unset","revert"].includes(Ce.toLowerCase())}function y(Ce,Ct){let tt=v(Ce,"css-atrule");return tt&&tt.name&&tt.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Ct.toLowerCase())}function C(Ce){return Ce.includes("$")||Ce.includes("@")||Ce.includes("#")||Ce.startsWith("%")||Ce.startsWith("--")||Ce.startsWith(":--")||Ce.includes("(")&&Ce.includes(")")?Ce:Ce.toLowerCase()}function F(Ce,Ct){let tt=v(Ce,"value-func");return tt&&tt.value&&tt.value.toLowerCase()===Ct}function M(Ce){let Ct=v(Ce,"css-rule");return Ct&&Ct.raws&&Ct.raws.selector&&(Ct.raws.selector.startsWith(":import")||Ct.raws.selector.startsWith(":export"))}function _(Ce,Ct){let tt=Array.isArray(Ct)?Ct:[Ct],Ye=v(Ce,"css-atrule");return Ye&&tt.includes(Ye.name.toLowerCase())}function I(Ce){let Ct=Ce.getValue(),tt=v(Ce,"css-atrule");return tt&&tt.name==="import"&&Ct.groups[0].value==="url"&&Ct.groups.length===2}function k(Ce){return Ce.type==="value-func"&&Ce.value.toLowerCase()==="url"}function T(Ce,Ct){let tt=Ce.getParentNode();if(!tt)return!1;let{nodes:Ye}=tt;return Ye&&Ye.indexOf(Ct)===Ye.length-1}function j(Ce){return Ce.selector?typeof Ce.selector=="string"&&/^@.+:.*$/.test(Ce.selector)||Ce.selector.value&&/^@.+:.*$/.test(Ce.selector.value):!1}function te(Ce){return Ce.type==="value-word"&&["from","through","end"].includes(Ce.value)}function ie(Ce){return Ce.type==="value-word"&&["and","or","not"].includes(Ce.value)}function W(Ce){return Ce.type==="value-word"&&Ce.value==="in"}function Y(Ce){return Ce.type==="value-operator"&&Ce.value==="*"}function H(Ce){return Ce.type==="value-operator"&&Ce.value==="/"}function re(Ce){return Ce.type==="value-operator"&&Ce.value==="+"}function ne(Ce){return Ce.type==="value-operator"&&Ce.value==="-"}function ue(Ce){return Ce.type==="value-operator"&&Ce.value==="%"}function R(Ce){return Y(Ce)||H(Ce)||re(Ce)||ne(Ce)||ue(Ce)}function B(Ce){return Ce.type==="value-word"&&["==","!="].includes(Ce.value)}function O(Ce){return Ce.type==="value-word"&&["<",">","<=",">="].includes(Ce.value)}function P(Ce){return Ce.type==="css-atrule"&&["if","else","for","each","while"].includes(Ce.name)}function D(Ce){return Ce.raws&&Ce.raws.params&&/^\(\s*\)$/.test(Ce.raws.params)}function $(Ce){return Ce.name.startsWith("prettier-placeholder")}function z(Ce){return Ce.prop.startsWith("@prettier-placeholder")}function U(Ce,Ct){return Ce.value==="$$"&&Ce.type==="value-func"&&Ct&&Ct.type==="value-word"&&!Ct.raws.before}function se(Ce){return Ce.value&&Ce.value.type==="value-root"&&Ce.value.group&&Ce.value.group.type==="value-value"&&Ce.prop.toLowerCase()==="composes"}function ae(Ce){return Ce.value&&Ce.value.group&&Ce.value.group.group&&Ce.value.group.group.type==="value-paren_group"&&Ce.value.group.group.open!==null&&Ce.value.group.group.close!==null}function de(Ce){return Ce.raws&&Ce.raws.before===""}function xe(Ce){return Ce.type==="value-comma_group"&&Ce.groups&&Ce.groups[1]&&Ce.groups[1].type==="value-colon"}function be(Ce){return Ce.type==="value-paren_group"&&Ce.groups&&Ce.groups[0]&&xe(Ce.groups[0])}function je(Ce){let Ct=Ce.getValue();if(Ct.groups.length===0)return!1;let tt=Ce.getParentNode(1);if(!be(Ct)&&!(tt&&be(tt)))return!1;let Ye=v(Ce,"css-decl");return!!(Ye&&Ye.prop&&Ye.prop.startsWith("$")||be(tt)||tt.type==="value-func")}function oe(Ce){return Ce.type==="value-comment"&&Ce.inline}function Ie(Ce){return Ce.type==="value-word"&&Ce.value==="#"}function rt(Ce){return Ce.type==="value-word"&&Ce.value==="{"}function Te(Ce){return Ce.type==="value-word"&&Ce.value==="}"}function Pe(Ce){return["value-word","value-atword"].includes(Ce.type)}function Ke(Ce){return Ce&&Ce.type==="value-colon"}function Ue(Ce,Ct){if(!xe(Ct))return!1;let{groups:tt}=Ct,Ye=tt.indexOf(Ce);return Ye===-1?!1:Ke(tt[Ye+1])}function et(Ce){return Ce.value&&["not","and","or"].includes(Ce.value.toLowerCase())}function it(Ce){return Ce.type!=="value-func"?!1:d.has(Ce.value.toLowerCase())}function Fe(Ce){return/\/\//.test(Ce.split(/[\n\r]/).pop())}function ut(Ce){return Ce&&Ce.type==="value-atword"&&Ce.value.startsWith("prettier-placeholder-")}function Qe(Ce,Ct){if(!Ce.open||Ce.open.value!=="("||!Ce.close||Ce.close.value!==")"||Ce.groups.some(tt=>tt.type!=="value-comma_group"))return!1;if(Ct.type==="value-comma_group"){let tt=Ct.groups.indexOf(Ce)-1,Ye=Ct.groups[tt];if(Ye&&Ye.type==="value-word"&&Ye.value==="with")return!0}return!1}function ar(Ce){return Ce.type==="value-paren_group"&&Ce.open&&Ce.open.value==="("&&Ce.close&&Ce.close.value===")"}w.exports={getAncestorCounter:b,getAncestorNode:v,getPropOfDeclNode:c,maybeToLowerCase:C,insideValueFunctionNode:F,insideICSSRuleNode:M,insideAtRuleNode:_,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:y,isWideKeywords:p,isLastNode:T,isSCSSControlDirectiveNode:P,isDetachedRulesetDeclarationNode:j,isRelationalOperatorNode:O,isEqualityOperatorNode:B,isMultiplicationNode:Y,isDivisionNode:H,isAdditionNode:re,isSubtractionNode:ne,isModuloNode:ue,isMathOperatorNode:R,isEachKeywordNode:W,isForKeywordNode:te,isURLFunctionNode:k,isIfElseKeywordNode:ie,hasComposesNode:se,hasParensAroundNode:ae,hasEmptyRawBefore:de,isDetachedRulesetCallNode:D,isTemplatePlaceholderNode:$,isTemplatePropNode:z,isPostcssSimpleVarNode:U,isKeyValuePairNode:xe,isKeyValuePairInParenGroupNode:be,isKeyInValuePairNode:Ue,isSCSSMapItemNode:je,isInlineValueCommentNode:oe,isHashNode:Ie,isLeftCurlyBraceNode:rt,isRightCurlyBraceNode:Te,isWordNode:Pe,isColonNode:Ke,isMediaAndSupportsKeywords:et,isColorAdjusterFuncNode:it,lastLineHasInlineComment:Fe,isAtWordPlaceholderNode:ut,isConfigurationNode:Qe,isParenGroupNode:ar}}}),Vl=He({"src/utils/line-column-to-index.js"(x,w){Je(),w.exports=function(d,b){let v=0;for(let c=0;c<d.line-1;++c)v=b.indexOf(`
94
- `,v)+1;return v+d.column}}}),Oa=He({"src/language-css/loc.js"(x,w){Je();var{skipEverythingButNewLine:d}=Eo(),b=fr(),v=Vl();function c(k,T){return typeof k.sourceIndex=="number"?k.sourceIndex:k.source?v(k.source.start,T)-1:null}function p(k,T){if(k.type==="css-comment"&&k.inline)return d(T,k.source.startOffset);let j=k.nodes&&b(k.nodes);return j&&k.source&&!k.source.end&&(k=j),k.source&&k.source.end?v(k.source.end,T):null}function y(k,T){k.source&&(k.source.startOffset=c(k,T),k.source.endOffset=p(k,T));for(let j in k){let te=k[j];j==="source"||!te||typeof te!="object"||(te.type==="value-root"||te.type==="value-unknown"?C(te,F(k),te.text||te.value):y(te,T))}}function C(k,T,j){k.source&&(k.source.startOffset=c(k,j)+T,k.source.endOffset=p(k,j)+T);for(let te in k){let ie=k[te];te==="source"||!ie||typeof ie!="object"||C(ie,T,j)}}function F(k){let T=k.source.startOffset;return typeof k.prop=="string"&&(T+=k.prop.length),k.type==="css-atrule"&&typeof k.name=="string"&&(T+=1+k.name.length+k.raws.afterName.match(/^\s*:?\s*/)[0].length),k.type!=="css-atrule"&&k.raws&&typeof k.raws.between=="string"&&(T+=k.raws.between.length),T}function M(k){let T="initial",j="initial",te,ie=!1,W=[];for(let Y=0;Y<k.length;Y++){let H=k[Y];switch(T){case"initial":if(H==="'"){T="single-quotes";continue}if(H==='"'){T="double-quotes";continue}if((H==="u"||H==="U")&&k.slice(Y,Y+4).toLowerCase()==="url("){T="url",Y+=3;continue}if(H==="*"&&k[Y-1]==="/"){T="comment-block";continue}if(H==="/"&&k[Y-1]==="/"){T="comment-inline",te=Y-1;continue}continue;case"single-quotes":if(H==="'"&&k[Y-1]!=="\\"&&(T=j,j="initial"),H===`
95
- `||H==="\r")return k;continue;case"double-quotes":if(H==='"'&&k[Y-1]!=="\\"&&(T=j,j="initial"),H===`
96
- `||H==="\r")return k;continue;case"url":if(H===")"&&(T="initial"),H===`
97
- `||H==="\r")return k;if(H==="'"){T="single-quotes",j="url";continue}if(H==='"'){T="double-quotes",j="url";continue}continue;case"comment-block":H==="/"&&k[Y-1]==="*"&&(T="initial");continue;case"comment-inline":(H==='"'||H==="'"||H==="*")&&(ie=!0),(H===`
98
- `||H==="\r")&&(ie&&W.push([te,Y]),T="initial",ie=!1);continue}}for(let[Y,H]of W)k=k.slice(0,Y)+k.slice(Y,H).replace(/["'*]/g," ")+k.slice(H);return k}function _(k){return k.source.startOffset}function I(k){return k.source.endOffset}w.exports={locStart:_,locEnd:I,calculateLoc:y,replaceQuotesInInlineComments:M}}}),kc=He({"src/language-css/utils/is-less-parser.js"(x,w){Je();function d(b){return b.parser==="css"||b.parser==="less"}w.exports=d}}),du=He({"src/language-css/utils/is-scss.js"(x,w){Je();function d(b,v){return b==="less"||b==="scss"?b==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(v)}w.exports=d}}),fs=He({"src/language-css/utils/css-units.evaluate.js"(x,w){w.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",vh:"vh",vi:"vi",vb:"vb",vmin:"vmin",vmax:"vmax",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"}}}),hu=He({"src/language-css/utils/print-unit.js"(x,w){Je();var d=fs();function b(v){let c=v.toLowerCase();return Object.prototype.hasOwnProperty.call(d,c)?d[c]:v}w.exports=b}}),Gl=He({"src/language-css/printer-postcss.js"(x,w){Je();var d=fr(),{printNumber:b,printString:v,hasNewline:c,isFrontMatterNode:p,isNextLineEmpty:y,isNonEmptyArray:C}=jn(),{builders:{join:F,line:M,hardline:_,softline:I,group:k,fill:T,indent:j,dedent:te,ifBreak:ie,breakParent:W},utils:{removeLines:Y,getDocParts:H}}=bn(),re=Fc(),ne=_a(),{insertPragma:ue}=$l(),{getAncestorNode:R,getPropOfDeclNode:B,maybeToLowerCase:O,insideValueFunctionNode:P,insideICSSRuleNode:D,insideAtRuleNode:$,insideURLFunctionInImportAtRuleNode:z,isKeyframeAtRuleKeywords:U,isWideKeywords:se,isLastNode:ae,isSCSSControlDirectiveNode:de,isDetachedRulesetDeclarationNode:xe,isRelationalOperatorNode:be,isEqualityOperatorNode:je,isMultiplicationNode:oe,isDivisionNode:Ie,isAdditionNode:rt,isSubtractionNode:Te,isMathOperatorNode:Pe,isEachKeywordNode:Ke,isForKeywordNode:Ue,isURLFunctionNode:et,isIfElseKeywordNode:it,hasComposesNode:Fe,hasParensAroundNode:ut,hasEmptyRawBefore:Qe,isKeyValuePairNode:ar,isKeyInValuePairNode:Ce,isDetachedRulesetCallNode:Ct,isTemplatePlaceholderNode:tt,isTemplatePropNode:Ye,isPostcssSimpleVarNode:Jt,isSCSSMapItemNode:qt,isInlineValueCommentNode:cr,isHashNode:Tr,isLeftCurlyBraceNode:an,isRightCurlyBraceNode:St,isWordNode:Et,isColonNode:Nt,isMediaAndSupportsKeywords:bt,isColorAdjusterFuncNode:Xt,lastLineHasInlineComment:Le,isAtWordPlaceholderNode:Kt,isConfigurationNode:Ge,isParenGroupNode:Ve}=ll(),{locStart:Ze,locEnd:$e}=Oa(),fe=kc(),ir=du(),Ar=hu();function In(t){return t.trailingComma==="es5"||t.trailingComma==="all"}function si(t,i,n){let o=t.getValue();if(!o)return"";if(typeof o=="string")return o;switch(o.type){case"front-matter":return[o.raw,_];case"css-root":{let u=vi(t,i,n),g=o.raws.after.trim();return[u,g?" ".concat(g):"",H(u).length>0?_:""]}case"css-comment":{let u=o.inline||o.raws.inline,g=i.originalText.slice(Ze(o),$e(o));return u?g.trimEnd():g}case"css-rule":return[n("selector"),o.important?" !important":"",o.nodes?[o.selector&&o.selector.type==="selector-unknown"&&Le(o.selector.value)?M:" ","{",o.nodes.length>0?j([_,vi(t,i,n)]):"",_,"}",xe(o)?";":""]:";"];case"css-decl":{let u=t.getParentNode(),{between:g}=o.raws,S=g.trim(),L=S===":",J=Fe(o)?Y(n("value")):n("value");return!L&&Le(S)&&(J=j([_,te(J)])),[o.raws.before.replace(/[\s;]/g,""),D(t)?o.prop:O(o.prop),S.startsWith("//")?" ":"",S,o.extend?"":" ",fe(i)&&o.extend&&o.selector?["extend(",n("selector"),")"]:"",J,o.raws.important?o.raws.important.replace(/\s*!\s*important/i," !important"):o.important?" !important":"",o.raws.scssDefault?o.raws.scssDefault.replace(/\s*!default/i," !default"):o.scssDefault?" !default":"",o.raws.scssGlobal?o.raws.scssGlobal.replace(/\s*!global/i," !global"):o.scssGlobal?" !global":"",o.nodes?[" {",j([I,vi(t,i,n)]),I,"}"]:Ye(o)&&!u.raws.semicolon&&i.originalText[$e(o)-1]!==";"?"":i.__isHTMLStyleAttribute&&ae(t,o)?ie(";"):";"]}case"css-atrule":{let u=t.getParentNode(),g=tt(o)&&!u.raws.semicolon&&i.originalText[$e(o)-1]!==";";if(fe(i)){if(o.mixin)return[n("selector"),o.important?" !important":"",g?"":";"];if(o.function)return[o.name,n("params"),g?"":";"];if(o.variable)return["@",o.name,": ",o.value?n("value"):"",o.raws.between.trim()?o.raws.between.trim()+" ":"",o.nodes?["{",j([o.nodes.length>0?I:"",vi(t,i,n)]),I,"}"]:"",g?"":";"]}return["@",Ct(o)||o.name.endsWith(":")?o.name:O(o.name),o.params?[Ct(o)?"":tt(o)?o.raws.afterName===""?"":o.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(o.raws.afterName)?[_,_]:/^\s*\n/.test(o.raws.afterName)?_:" ":" ",n("params")]:"",o.selector?j([" ",n("selector")]):"",o.value?k([" ",n("value"),de(o)?ut(o)?" ":M:""]):o.name==="else"?" ":"",o.nodes?[de(o)?"":o.selector&&!o.selector.nodes&&typeof o.selector.value=="string"&&Le(o.selector.value)||!o.selector&&typeof o.params=="string"&&Le(o.params)?M:" ","{",j([o.nodes.length>0?I:"",vi(t,i,n)]),I,"}"]:g?"":";"]}case"media-query-list":{let u=[];return t.each(g=>{let S=g.getValue();S.type==="media-query"&&S.value===""||u.push(n())},"nodes"),k(j(F(M,u)))}case"media-query":return[F(" ",t.map(n,"nodes")),ae(t,o)?"":","];case"media-type":return hn(li(o.value,i));case"media-feature-expression":return o.nodes?["(",...t.map(n,"nodes"),")"]:o.value;case"media-feature":return O(li(o.value.replace(/ +/g," "),i));case"media-colon":return[o.value," "];case"media-value":return hn(li(o.value,i));case"media-keyword":return li(o.value,i);case"media-url":return li(o.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),i);case"media-unknown":return o.value;case"selector-root":return k([$(t,"custom-selector")?[R(t,"css-atrule").customSelector,M]:"",F([",",$(t,["extend","custom-selector","nest"])?M:_],t.map(n,"nodes"))]);case"selector-selector":return k(j(t.map(n,"nodes")));case"selector-comment":return o.value;case"selector-string":return li(o.value,i);case"selector-tag":{let u=t.getParentNode(),g=u&&u.nodes.indexOf(o),S=g&&u.nodes[g-1];return[o.namespace?[o.namespace===!0?"":o.namespace.trim(),"|"]:"",S.type==="selector-nesting"?o.value:hn(U(t,o.value)?o.value.toLowerCase():o.value)]}case"selector-id":return["#",o.value];case"selector-class":return[".",hn(li(o.value,i))];case"selector-attribute":return["[",o.namespace?[o.namespace===!0?"":o.namespace.trim(),"|"]:"",o.attribute.trim(),o.operator?o.operator:"",o.value?Xr(li(o.value.trim(),i),i):"",o.insensitive?" i":"","]"];case"selector-combinator":{if(o.value==="+"||o.value===">"||o.value==="~"||o.value===">>>"){let S=t.getParentNode();return[S.type==="selector-selector"&&S.nodes[0]===o?"":M,o.value,ae(t,o)?"":" "]}let u=o.value.trim().startsWith("(")?M:"",g=hn(li(o.value.trim(),i))||M;return[u,g]}case"selector-universal":return[o.namespace?[o.namespace===!0?"":o.namespace.trim(),"|"]:"",o.value];case"selector-pseudo":return[O(o.value),C(o.nodes)?["(",F(", ",t.map(n,"nodes")),")"]:""];case"selector-nesting":return o.value;case"selector-unknown":{let u=R(t,"css-rule");if(u&&u.isSCSSNesterProperty)return hn(li(O(o.value),i));let g=t.getParentNode();if(g.raws&&g.raws.selector){let L=Ze(g),J=L+g.raws.selector.length;return i.originalText.slice(L,J).trim()}let S=t.getParentNode(1);if(g.type==="value-paren_group"&&S&&S.type==="value-func"&&S.value==="selector"){let L=$e(g.open)+1,J=Ze(g.close),Oe=i.originalText.slice(L,J).trim();return Le(Oe)?[W,Oe]:Oe}return o.value}case"value-value":case"value-root":return n("group");case"value-comment":return i.originalText.slice(Ze(o),$e(o));case"value-comma_group":{let u=t.getParentNode(),g=t.getParentNode(1),S=B(t),L=S&&u.type==="value-value"&&(S==="grid"||S.startsWith("grid-template")),J=R(t,"css-atrule"),Oe=J&&de(J),Me=o.groups.some(Sr=>cr(Sr)),N=t.map(n,"groups"),De=[],lt=P(t,"url"),Tt=!1,$t=!1;for(let Sr=0;Sr<o.groups.length;++Sr){De.push(N[Sr]);let Nr=o.groups[Sr-1],Qt=o.groups[Sr],pr=o.groups[Sr+1],Sn=o.groups[Sr+2];if(lt){(pr&&rt(pr)||rt(Qt))&&De.push(" ");continue}if($(t,"forward")&&Qt.type==="value-word"&&Qt.value&&Nr!==void 0&&Nr.type==="value-word"&&Nr.value==="as"&&pr.type==="value-operator"&&pr.value==="*"||!pr||Qt.type==="value-word"&&Qt.value.endsWith("-")&&Kt(pr))continue;let Fn=Qt.type==="value-string"&&Qt.value.startsWith("#{"),Kn=Tt&&pr.type==="value-string"&&pr.value.endsWith("}");if(Fn||Kn){Tt=!Tt;continue}if(Tt||Nt(Qt)||Nt(pr)||Qt.type==="value-atword"&&Qt.value===""||Qt.value==="~"||Qt.value&&Qt.value.includes("\\")&&pr&&pr.type!=="value-comment"||Nr&&Nr.value&&Nr.value.indexOf("\\")===Nr.value.length-1&&Qt.type==="value-operator"&&Qt.value==="/"||Qt.value==="\\"||Jt(Qt,pr)||Tr(Qt)||an(Qt)||St(pr)||an(pr)&&Qe(pr)||St(Qt)&&Qe(pr)||Qt.value==="--"&&Tr(pr))continue;let gi=Pe(Qt),Hi=Pe(pr);if((gi&&Tr(pr)||Hi&&St(Qt))&&Qe(pr)||!Nr&&Ie(Qt)||P(t,"calc")&&(rt(Qt)||rt(pr)||Te(Qt)||Te(pr))&&Qe(pr))continue;let Ti=(rt(Qt)||Te(Qt))&&Sr===0&&(pr.type==="value-number"||pr.isHex)&&g&&Xt(g)&&!Qe(pr),yo=Sn&&Sn.type==="value-func"||Sn&&Et(Sn)||Qt.type==="value-func"||Et(Qt),ao=pr.type==="value-func"||Et(pr)||Nr&&Nr.type==="value-func"||Nr&&Et(Nr);if(!(!(oe(pr)||oe(Qt))&&!P(t,"calc")&&!Ti&&(Ie(pr)&&!yo||Ie(Qt)&&!ao||rt(pr)&&!yo||rt(Qt)&&!ao||Te(pr)||Te(Qt))&&(Qe(pr)||gi&&(!Nr||Nr&&Pe(Nr))))){if(cr(Qt)){if(u.type==="value-paren_group"){De.push(te(_));continue}De.push(_);continue}if(Oe&&(je(pr)||be(pr)||it(pr)||Ke(Qt)||Ue(Qt))){De.push(" ");continue}if(J&&J.name.toLowerCase()==="namespace"){De.push(" ");continue}if(L){Qt.source&&pr.source&&Qt.source.start.line!==pr.source.start.line?(De.push(_),$t=!0):De.push(" ");continue}if(Hi){De.push(" ");continue}if(!(pr&&pr.value==="...")&&!(Kt(Qt)&&Kt(pr)&&$e(Qt)===Ze(pr))){if(Kt(Qt)&&Ve(pr)&&$e(Qt)===Ze(pr.open)){De.push(I);continue}if(Qt.value==="with"&&Ve(pr)){De.push(" ");continue}De.push(M)}}}return Me&&De.push(W),$t&&De.unshift(_),Oe?k(j(De)):z(t)?k(T(De)):k(j(T(De)))}case"value-paren_group":{let u=t.getParentNode();if(u&&et(u)&&(o.groups.length===1||o.groups.length>0&&o.groups[0].type==="value-comma_group"&&o.groups[0].groups.length>0&&o.groups[0].groups[0].type==="value-word"&&o.groups[0].groups[0].value.startsWith("data:")))return[o.open?n("open"):"",F(",",t.map(n,"groups")),o.close?n("close"):""];if(!o.open){let lt=t.map(n,"groups"),Tt=[];for(let $t=0;$t<lt.length;$t++)$t!==0&&Tt.push([",",M]),Tt.push(lt[$t]);return k(j(T(Tt)))}let g=qt(t),S=d(o.groups),L=S&&S.type==="value-comment",J=Ce(o,u),Oe=Ge(o,u),Me=Oe||g&&!J,N=Oe||J,De=k([o.open?n("open"):"",j([I,F([M],t.map((lt,Tt)=>{let $t=lt.getValue(),Sr=Tt===o.groups.length-1,Nr=[n(),Sr?"":","];if(ar($t)&&$t.type==="value-comma_group"&&$t.groups&&$t.groups[0].type!=="value-paren_group"&&$t.groups[2]&&$t.groups[2].type==="value-paren_group"){let Qt=H(Nr[0].contents.contents);return Qt[1]=k(Qt[1]),k(te(Nr))}if(!Sr&&$t.type==="value-comma_group"&&C($t.groups)){let Qt=d($t.groups);Qt.source&&y(i.originalText,Qt,$e)&&Nr.push(_)}return Nr},"groups"))]),ie(!L&&ir(i.parser,i.originalText)&&g&&In(i)?",":""),I,o.close?n("close"):""],{shouldBreak:Me});return N?te(De):De}case"value-func":return[o.value,$(t,"supports")&&bt(o)?" ":"",n("group")];case"value-paren":return o.value;case"value-number":return[e(o.value),Ar(o.unit)];case"value-operator":return o.value;case"value-word":return o.isColor&&o.isHex||se(o.value)?o.value.toLowerCase():o.value;case"value-colon":{let u=t.getParentNode(),g=u&&u.groups.indexOf(o),S=g&&u.groups[g-1];return[o.value,S&&typeof S.value=="string"&&d(S.value)==="\\"||P(t,"url")?"":M]}case"value-comma":return[o.value," "];case"value-string":return v(o.raws.quote+o.value+o.raws.quote,i);case"value-atword":return["@",o.value];case"value-unicode-range":return o.value;case"value-unknown":return o.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(o.type)))}}function vi(t,i,n){let o=[];return t.each((u,g,S)=>{let L=S[g-1];if(L&&L.type==="css-comment"&&L.text.trim()==="prettier-ignore"){let J=u.getValue();o.push(i.originalText.slice(Ze(J),$e(J)))}else o.push(n());g!==S.length-1&&(S[g+1].type==="css-comment"&&!c(i.originalText,Ze(S[g+1]),{backwards:!0})&&!p(S[g])||S[g+1].type==="css-atrule"&&S[g+1].name==="else"&&S[g].type!=="css-comment"?o.push(" "):(o.push(i.__isHTMLStyleAttribute?M:_),y(i.originalText,u.getValue(),$e)&&!p(S[g])&&o.push(_)))},"nodes"),o}var Vr=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,dn=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,hr=/[A-Za-z]+/g,zn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Mr=new RegExp(Vr.source+"|(".concat(zn.source,")?(").concat(dn.source,")(").concat(hr.source,")?"),"g");function li(t,i){return t.replace(Vr,n=>v(n,i))}function Xr(t,i){let n=i.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:n+t+n}function hn(t){return t.replace(Mr,(i,n,o,u,g)=>!o&&u?e(u)+O(g||""):i)}function e(t){return b(t).replace(/\.0(?=$|e)/,"")}w.exports={print:si,embed:ne,insertPragma:ue,massageAstNode:re}}}),ql=He({"src/language-css/options.js"(x,w){Je();var d=Ei();w.exports={singleQuote:d.singleQuote}}}),mo=He({"src/language-css/parsers.js"(){Je()}}),ui=He({"node_modules/linguist-languages/data/CSS.json"(x,w){w.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Ro=He({"node_modules/linguist-languages/data/PostCSS.json"(x,w){w.exports={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),ks=He({"node_modules/linguist-languages/data/Less.json"(x,w){w.exports={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Ts=He({"node_modules/linguist-languages/data/SCSS.json"(x,w){w.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),gu=He({"src/language-css/index.js"(x,w){Je();var d=Yo(),b=Gl(),v=ql(),c=mo(),p=[d(ui(),C=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...C.extensions,".wxss"]})),d(Ro(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),d(ks(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),d(Ts(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],y={postcss:b};w.exports={languages:p,options:v,printers:y,parsers:c}}}),Gs=He({"src/language-handlebars/loc.js"(x,w){Je();function d(v){return v.loc.start.offset}function b(v){return v.loc.end.offset}w.exports={locStart:d,locEnd:b}}}),cl=He({"src/language-handlebars/clean.js"(x,w){Je();function d(b,v){if(b.type==="TextNode"){let c=b.chars.trim();if(!c)return null;v.chars=c.replace(/[\t\n\f\r ]+/g," ")}b.type==="AttrNode"&&b.name.toLowerCase()==="class"&&delete v.value}d.ignoredProperties=new Set(["loc","selfClosing"]),w.exports=d}}),Kl=He({"vendors/html-void-elements.json"(x,w){w.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"]}}}),ds=He({"src/language-handlebars/utils.js"(x,w){Je();var{htmlVoidElements:d}=Kl(),b=fr();function v(Y){let H=Y.getValue(),re=Y.getParentNode(0);return!!(_(Y,["ElementNode"])&&b(re.children)===H||_(Y,["Block"])&&b(re.body)===H)}function c(Y){return Y.toUpperCase()===Y}function p(Y){return M(Y,["ElementNode"])&&typeof Y.tag=="string"&&Y.tag[0]!==":"&&(c(Y.tag[0])||Y.tag.includes("."))}var y=new Set(d);function C(Y){return p(Y)&&Y.children.every(H=>F(H))||y.has(Y.tag)}function F(Y){return M(Y,["TextNode"])&&!/\S/.test(Y.chars)}function M(Y,H){return Y&&H.includes(Y.type)}function _(Y,H){let re=Y.getParentNode(0);return M(re,H)}function I(Y,H){let re=j(Y);return M(re,H)}function k(Y,H){let re=te(Y);return M(re,H)}function T(Y,H){let re=Y.getValue(),ne=Y.getParentNode(0)||{},ue=ne.children||ne.body||ne.parts||[],R=ue.indexOf(re);return R!==-1&&ue[R+H]}function j(Y){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return T(Y,-H)}function te(Y){return T(Y,1)}function ie(Y){return M(Y,["MustacheCommentStatement"])&&typeof Y.value=="string"&&Y.value.trim()==="prettier-ignore"}function W(Y){let H=Y.getValue(),re=j(Y,2);return ie(H)||ie(re)}w.exports={getNextNode:te,getPreviousNode:j,hasPrettierIgnore:W,isLastNodeOfSiblings:v,isNextNodeOfSomeType:k,isNodeOfSomeType:M,isParentOfSomeType:_,isPreviousNodeOfSomeType:I,isVoid:C,isWhitespaceNode:F}}}),zo=He({"src/language-handlebars/printer-glimmer.js"(x,w){Je();var{builders:{dedent:d,fill:b,group:v,hardline:c,ifBreak:p,indent:y,join:C,line:F,softline:M},utils:{getDocParts:_,replaceTextEndOfLine:I}}=bn(),{getPreferredQuote:k,isNonEmptyArray:T}=jn(),{locStart:j,locEnd:te}=Gs(),ie=cl(),{getNextNode:W,getPreviousNode:Y,hasPrettierIgnore:H,isLastNodeOfSiblings:re,isNextNodeOfSomeType:ne,isNodeOfSomeType:ue,isParentOfSomeType:R,isPreviousNodeOfSomeType:B,isVoid:O,isWhitespaceNode:P}=ds(),D=2;function $(Le,Kt,Ge){let Ve=Le.getValue();if(!Ve)return"";if(H(Le))return Kt.originalText.slice(j(Ve),te(Ve));let Ze=Kt.singleQuote?"'":'"';switch(Ve.type){case"Block":case"Program":case"Template":return v(Le.map(Ge,"body"));case"ElementNode":{let $e=v(U(Le,Ge)),fe=Kt.htmlWhitespaceSensitivity==="ignore"&&ne(Le,["ElementNode"])?M:"";if(O(Ve))return[$e,fe];let ir=["</",Ve.tag,">"];return Ve.children.length===0?[$e,y(ir),fe]:Kt.htmlWhitespaceSensitivity==="ignore"?[$e,y(se(Le,Kt,Ge)),c,y(ir),fe]:[$e,y(v(se(Le,Kt,Ge))),y(ir),fe]}case"BlockStatement":{let $e=Le.getParentNode(1);return $e&&$e.inverse&&$e.inverse.body.length===1&&$e.inverse.body[0]===Ve&&$e.inverse.body[0].path.parts[0]==="if"?[Ue(Le,Ge),Qe(Le,Ge,Kt),ar(Le,Ge,Kt)]:[Pe(Le,Ge),v([Qe(Le,Ge,Kt),ar(Le,Ge,Kt),et(Le,Ge,Kt)])]}case"ElementModifierStatement":return v(["{{",Et(Le,Ge),"}}"]);case"MustacheStatement":return v([de(Ve),Et(Le,Ge),xe(Ve)]);case"SubExpression":return v(["(",St(Le,Ge),M,")"]);case"AttrNode":{let $e=Ve.value.type==="TextNode";if($e&&Ve.value.chars===""&&j(Ve.value)===te(Ve.value))return Ve.name;let fe=$e?k(Ve.value.chars,Ze).quote:Ve.value.type==="ConcatStatement"?k(Ve.value.parts.filter(Ar=>Ar.type==="TextNode").map(Ar=>Ar.chars).join(""),Ze).quote:"",ir=Ge("value");return[Ve.name,"=",fe,Ve.name==="class"&&fe?v(y(ir)):ir,fe]}case"ConcatStatement":return Le.map(Ge,"parts");case"Hash":return C(F,Le.map(Ge,"pairs"));case"HashPair":return[Ve.key,"=",Ge("value")];case"TextNode":{let $e=Ve.chars.replace(/{{/g,"\\{{"),fe=tt(Le);if(fe){if(fe==="class"){let zn=$e.trim().split(/\s+/).join(" "),Mr=!1,li=!1;return R(Le,["ConcatStatement"])&&(B(Le,["MustacheStatement"])&&/^\s/.test($e)&&(Mr=!0),ne(Le,["MustacheStatement"])&&/\s$/.test($e)&&zn!==""&&(li=!0)),[Mr?F:"",zn,li?F:""]}return I($e)}let ir=/^[\t\n\f\r ]*$/.test($e),Ar=!Y(Le),In=!W(Le);if(Kt.htmlWhitespaceSensitivity!=="ignore"){let zn=/^[\t\n\f\r ]*/,Mr=/[\t\n\f\r ]*$/,li=In&&R(Le,["Template"]),Xr=Ar&&R(Le,["Template"]);if(ir){if(Xr||li)return"";let n=[F],o=Ye($e);return o&&(n=cr(o)),re(Le)&&(n=n.map(u=>d(u))),n}let[hn]=$e.match(zn),[e]=$e.match(Mr),t=[];if(hn){t=[F];let n=Ye(hn);n&&(t=cr(n)),$e=$e.replace(zn,"")}let i=[];if(e){if(!li){i=[F];let n=Ye(e);n&&(i=cr(n)),re(Le)&&(i=i.map(o=>d(o)))}$e=$e.replace(Mr,"")}return[...t,b(Ce($e)),...i]}let si=Ye($e),vi=Jt($e),Vr=qt($e);if((Ar||In)&&ir&&R(Le,["Block","ElementNode","Template"]))return"";ir&&si?(vi=Math.min(si,D),Vr=0):(ne(Le,["BlockStatement","ElementNode"])&&(Vr=Math.max(Vr,1)),B(Le,["BlockStatement","ElementNode"])&&(vi=Math.max(vi,1)));let dn="",hr="";return Vr===0&&ne(Le,["MustacheStatement"])&&(hr=" "),vi===0&&B(Le,["MustacheStatement"])&&(dn=" "),Ar&&(vi=0,dn=""),In&&(Vr=0,hr=""),$e=$e.replace(/^[\t\n\f\r ]+/g,dn).replace(/[\t\n\f\r ]+$/,hr),[...cr(vi),b(Ce($e)),...cr(Vr)]}case"MustacheCommentStatement":{let $e=j(Ve),fe=te(Ve),ir=Kt.originalText.charAt($e+2)==="~",Ar=Kt.originalText.charAt(fe-3)==="~",In=Ve.value.includes("}}")?"--":"";return["{{",ir?"~":"","!",In,Ve.value,In,Ar?"~":"","}}"]}case"PathExpression":return Ve.original;case"BooleanLiteral":return String(Ve.value);case"CommentStatement":return["<!--",Ve.value,"-->"];case"StringLiteral":{if(an(Le)){let $e=Kt.singleQuote?'"':"'";return Tr(Ve.value,$e)}return Tr(Ve.value,Ze)}case"NumberLiteral":return String(Ve.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(Ve.type))}}function z(Le,Kt){return j(Le)-j(Kt)}function U(Le,Kt){let Ge=Le.getValue(),Ve=["attributes","modifiers","comments"].filter($e=>T(Ge[$e])),Ze=Ve.flatMap($e=>Ge[$e]).sort(z);for(let $e of Ve)Le.each(fe=>{let ir=Ze.indexOf(fe.getValue());Ze.splice(ir,1,[F,Kt()])},$e);return T(Ge.blockParams)&&Ze.push(F,Xt(Ge)),["<",Ge.tag,y(Ze),ae(Ge)]}function se(Le,Kt,Ge){let Ve=Le.getValue().children.every(Ze=>P(Ze));return Kt.htmlWhitespaceSensitivity==="ignore"&&Ve?"":Le.map((Ze,$e)=>{let fe=Ge();return $e===0&&Kt.htmlWhitespaceSensitivity==="ignore"?[M,fe]:fe},"children")}function ae(Le){return O(Le)?p([M,"/>"],[" />",M]):p([M,">"],">")}function de(Le){let Kt=Le.escaped===!1?"{{{":"{{",Ge=Le.strip&&Le.strip.open?"~":"";return[Kt,Ge]}function xe(Le){let Kt=Le.escaped===!1?"}}}":"}}";return[Le.strip&&Le.strip.close?"~":"",Kt]}function be(Le){let Kt=de(Le),Ge=Le.openStrip.open?"~":"";return[Kt,Ge,"#"]}function je(Le){let Kt=xe(Le);return[Le.openStrip.close?"~":"",Kt]}function oe(Le){let Kt=de(Le),Ge=Le.closeStrip.open?"~":"";return[Kt,Ge,"/"]}function Ie(Le){let Kt=xe(Le);return[Le.closeStrip.close?"~":"",Kt]}function rt(Le){let Kt=de(Le),Ge=Le.inverseStrip.open?"~":"";return[Kt,Ge]}function Te(Le){let Kt=xe(Le);return[Le.inverseStrip.close?"~":"",Kt]}function Pe(Le,Kt){let Ge=Le.getValue(),Ve=be(Ge),Ze=je(Ge),$e=[Nt(Le,Kt)],fe=bt(Le,Kt);if(fe&&$e.push(F,fe),T(Ge.program.blockParams)){let ir=Xt(Ge.program);$e.push(F,ir)}return v([Ve,y($e),M,Ze])}function Ke(Le,Kt){return[Kt.htmlWhitespaceSensitivity==="ignore"?c:"",rt(Le),"else",Te(Le)]}function Ue(Le,Kt){let Ge=Le.getParentNode(1);return[rt(Ge),"else if ",bt(Le,Kt),Te(Ge)]}function et(Le,Kt,Ge){let Ve=Le.getValue();return Ge.htmlWhitespaceSensitivity==="ignore"?[it(Ve)?M:c,oe(Ve),Kt("path"),Ie(Ve)]:[oe(Ve),Kt("path"),Ie(Ve)]}function it(Le){return ue(Le,["BlockStatement"])&&Le.program.body.every(Kt=>P(Kt))}function Fe(Le){return ut(Le)&&Le.inverse.body.length===1&&ue(Le.inverse.body[0],["BlockStatement"])&&Le.inverse.body[0].path.parts[0]==="if"}function ut(Le){return ue(Le,["BlockStatement"])&&Le.inverse}function Qe(Le,Kt,Ge){let Ve=Le.getValue();if(it(Ve))return"";let Ze=Kt("program");return Ge.htmlWhitespaceSensitivity==="ignore"?y([c,Ze]):y(Ze)}function ar(Le,Kt,Ge){let Ve=Le.getValue(),Ze=Kt("inverse"),$e=Ge.htmlWhitespaceSensitivity==="ignore"?[c,Ze]:Ze;return Fe(Ve)?$e:ut(Ve)?[Ke(Ve,Ge),y($e)]:""}function Ce(Le){return _(C(F,Ct(Le)))}function Ct(Le){return Le.split(/[\t\n\f\r ]+/)}function tt(Le){for(let Kt=0;Kt<2;Kt++){let Ge=Le.getParentNode(Kt);if(Ge&&Ge.type==="AttrNode")return Ge.name.toLowerCase()}}function Ye(Le){return Le=typeof Le=="string"?Le:"",Le.split(`
99
- `).length-1}function Jt(Le){Le=typeof Le=="string"?Le:"";let Kt=(Le.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Ye(Kt)}function qt(Le){Le=typeof Le=="string"?Le:"";let Kt=(Le.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Ye(Kt)}function cr(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(Le,D)}).fill(c)}function Tr(Le,Kt){let{quote:Ge,regex:Ve}=k(Le,Kt);return[Ge,Le.replace(Ve,"\\".concat(Ge)),Ge]}function an(Le){let Kt=0,Ge=Le.getParentNode(Kt);for(;Ge&&ue(Ge,["SubExpression"]);)Kt++,Ge=Le.getParentNode(Kt);return!!(Ge&&ue(Le.getParentNode(Kt+1),["ConcatStatement"])&&ue(Le.getParentNode(Kt+2),["AttrNode"]))}function St(Le,Kt){let Ge=Nt(Le,Kt),Ve=bt(Le,Kt);return Ve?y([Ge,F,v(Ve)]):Ge}function Et(Le,Kt){let Ge=Nt(Le,Kt),Ve=bt(Le,Kt);return Ve?[y([Ge,F,Ve]),M]:Ge}function Nt(Le,Kt){return Kt("path")}function bt(Le,Kt){let Ge=Le.getValue(),Ve=[];if(Ge.params.length>0){let Ze=Le.map(Kt,"params");Ve.push(...Ze)}if(Ge.hash&&Ge.hash.pairs.length>0){let Ze=Kt("hash");Ve.push(Ze)}return Ve.length===0?"":C(F,Ve)}function Xt(Le){return["as |",Le.blockParams.join(" "),"|"]}w.exports={print:$,massageAstNode:ie}}}),Jl=He({"src/language-handlebars/parsers.js"(){Je()}}),pl=He({"node_modules/linguist-languages/data/Handlebars.json"(x,w){w.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Ns=He({"src/language-handlebars/index.js"(x,w){Je();var d=Yo(),b=zo(),v=Jl(),c=[d(pl(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],p={glimmer:b};w.exports={languages:c,printers:p,parsers:v}}}),fl=He({"src/language-graphql/pragma.js"(x,w){Je();function d(v){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(v)}function b(v){return`# @format
100
-
101
- `+v}w.exports={hasPragma:d,insertPragma:b}}}),dl=He({"src/language-graphql/loc.js"(x,w){Je();function d(v){return typeof v.start=="number"?v.start:v.loc&&v.loc.start}function b(v){return typeof v.end=="number"?v.end:v.loc&&v.loc.end}w.exports={locStart:d,locEnd:b}}}),Tc=He({"src/language-graphql/printer-graphql.js"(x,w){Je();var{builders:{join:d,hardline:b,line:v,softline:c,group:p,indent:y,ifBreak:C}}=bn(),{isNextLineEmpty:F,isNonEmptyArray:M}=jn(),{insertPragma:_}=fl(),{locStart:I,locEnd:k}=dl();function T(ne,ue,R){let B=ne.getValue();if(!B)return"";if(typeof B=="string")return B;switch(B.kind){case"Document":{let O=[];return ne.each((P,D,$)=>{O.push(R()),D!==$.length-1&&(O.push(b),F(ue.originalText,P.getValue(),k)&&O.push(b))},"definitions"),[...O,b]}case"OperationDefinition":{let O=ue.originalText[I(B)]!=="{",P=Boolean(B.name);return[O?B.operation:"",O&&P?[" ",R("name")]:"",O&&!P&&M(B.variableDefinitions)?" ":"",M(B.variableDefinitions)?p(["(",y([c,d([C("",", "),c],ne.map(R,"variableDefinitions"))]),c,")"]):"",j(ne,R,B),B.selectionSet?!O&&!P?"":" ":"",R("selectionSet")]}case"FragmentDefinition":return["fragment ",R("name"),M(B.variableDefinitions)?p(["(",y([c,d([C("",", "),c],ne.map(R,"variableDefinitions"))]),c,")"]):""," on ",R("typeCondition"),j(ne,R,B)," ",R("selectionSet")];case"SelectionSet":return["{",y([b,d(b,te(ne,ue,R,"selections"))]),b,"}"];case"Field":return p([B.alias?[R("alias"),": "]:"",R("name"),B.arguments.length>0?p(["(",y([c,d([C("",", "),c],te(ne,ue,R,"arguments"))]),c,")"]):"",j(ne,R,B),B.selectionSet?" ":"",R("selectionSet")]);case"Name":return B.value;case"StringValue":return B.block?['"""',b,d(b,B.value.replace(/"""/g,"\\$&").split(`
102
- `)),b,'"""']:['"',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["$",R("name")];case"ListValue":return p(["[",y([c,d([C("",", "),c],ne.map(R,"values"))]),c,"]"]);case"ObjectValue":return p(["{",ue.bracketSpacing&&B.fields.length>0?" ":"",y([c,d([C("",", "),c],ne.map(R,"fields"))]),c,C("",ue.bracketSpacing&&B.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[R("name"),": ",R("value")];case"Directive":return["@",R("name"),B.arguments.length>0?p(["(",y([c,d([C("",", "),c],te(ne,ue,R,"arguments"))]),c,")"]):""];case"NamedType":return R("name");case"VariableDefinition":return[R("variable"),": ",R("type"),B.defaultValue?[" = ",R("defaultValue")]:"",j(ne,R,B)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[R("description"),B.description?b:"",B.kind==="ObjectTypeExtension"?"extend ":"","type ",R("name"),B.interfaces.length>0?[" implements ",...Y(ne,ue,R)]:"",j(ne,R,B),B.fields.length>0?[" {",y([b,d(b,te(ne,ue,R,"fields"))]),b,"}"]:""];case"FieldDefinition":return[R("description"),B.description?b:"",R("name"),B.arguments.length>0?p(["(",y([c,d([C("",", "),c],te(ne,ue,R,"arguments"))]),c,")"]):"",": ",R("type"),j(ne,R,B)];case"DirectiveDefinition":return[R("description"),B.description?b:"","directive ","@",R("name"),B.arguments.length>0?p(["(",y([c,d([C("",", "),c],te(ne,ue,R,"arguments"))]),c,")"]):"",B.repeatable?" repeatable":""," on ",d(" | ",ne.map(R,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[R("description"),B.description?b:"",B.kind==="EnumTypeExtension"?"extend ":"","enum ",R("name"),j(ne,R,B),B.values.length>0?[" {",y([b,d(b,te(ne,ue,R,"values"))]),b,"}"]:""];case"EnumValueDefinition":return[R("description"),B.description?b:"",R("name"),j(ne,R,B)];case"InputValueDefinition":return[R("description"),B.description?B.description.block?b:v:"",R("name"),": ",R("type"),B.defaultValue?[" = ",R("defaultValue")]:"",j(ne,R,B)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[R("description"),B.description?b:"",B.kind==="InputObjectTypeExtension"?"extend ":"","input ",R("name"),j(ne,R,B),B.fields.length>0?[" {",y([b,d(b,te(ne,ue,R,"fields"))]),b,"}"]:""];case"SchemaDefinition":return[R("description"),B.description?b:"","schema",j(ne,R,B)," {",B.operationTypes.length>0?y([b,d(b,te(ne,ue,R,"operationTypes"))]):"",b,"}"];case"OperationTypeDefinition":return[R("operation"),": ",R("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[R("description"),B.description?b:"",B.kind==="InterfaceTypeExtension"?"extend ":"","interface ",R("name"),B.interfaces.length>0?[" implements ",...Y(ne,ue,R)]:"",j(ne,R,B),B.fields.length>0?[" {",y([b,d(b,te(ne,ue,R,"fields"))]),b,"}"]:""];case"FragmentSpread":return["...",R("name"),j(ne,R,B)];case"InlineFragment":return["...",B.typeCondition?[" on ",R("typeCondition")]:"",j(ne,R,B)," ",R("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return p([R("description"),B.description?b:"",p([B.kind==="UnionTypeExtension"?"extend ":"","union ",R("name"),j(ne,R,B),B.types.length>0?[" =",C(""," "),y([C([v," "]),d([v,"| "],ne.map(R,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[R("description"),B.description?b:"",B.kind==="ScalarTypeExtension"?"extend ":"","scalar ",R("name"),j(ne,R,B)];case"NonNullType":return[R("type"),"!"];case"ListType":return["[",R("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(B.kind))}}function j(ne,ue,R){if(R.directives.length===0)return"";let B=d(v,ne.map(ue,"directives"));return R.kind==="FragmentDefinition"||R.kind==="OperationDefinition"?p([v,B]):[" ",p(y([c,B]))]}function te(ne,ue,R,B){return ne.map((O,P,D)=>{let $=R();return P<D.length-1&&F(ue.originalText,O.getValue(),k)?[$,b]:$},B)}function ie(ne){return ne.kind&&ne.kind!=="Comment"}function W(ne){let ue=ne.getValue();if(ue.kind==="Comment")return"#"+ue.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(ue))}function Y(ne,ue,R){let B=ne.getNode(),O=[],{interfaces:P}=B,D=ne.map($=>R($),"interfaces");for(let $=0;$<P.length;$++){let z=P[$];O.push(D[$]);let U=P[$+1];if(U){let se=ue.originalText.slice(z.loc.end,U.loc.start),ae=se.includes("#"),de=se.replace(/#.*/g,"").trim();O.push(de===","?",":" &",ae?v:" ")}}return O}function H(){}H.ignoredProperties=new Set(["loc","comments"]);function re(ne){let ue=ne.getValue();return ue&&Array.isArray(ue.comments)&&ue.comments.some(R=>R.value.trim()==="prettier-ignore")}w.exports={print:T,massageAstNode:H,hasPrettierIgnore:re,insertPragma:_,printComment:W,canAttachComment:ie}}}),sa=He({"src/language-graphql/options.js"(x,w){Je();var d=Ei();w.exports={bracketSpacing:d.bracketSpacing}}}),Pa=He({"src/language-graphql/parsers.js"(){Je()}}),mu=He({"node_modules/linguist-languages/data/GraphQL.json"(x,w){w.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),m=He({"src/language-graphql/index.js"(x,w){Je();var d=Yo(),b=Tc(),v=sa(),c=Pa(),p=[d(mu(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],y={graphql:b};w.exports={languages:p,options:v,printers:y,parsers:c}}}),ee=He({"src/language-markdown/loc.js"(x,w){Je();function d(v){return v.position.start.offset}function b(v){return v.position.end.offset}w.exports={locStart:d,locEnd:b}}}),X=He({"src/language-markdown/constants.evaluate.js"(x,w){w.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]"}}}),G=He({"src/language-markdown/utils.js"(x,w){Je();var{getLast:d}=jn(),{locStart:b,locEnd:v}=ee(),{cjkPattern:c,kPattern:p,punctuationPattern:y}=X(),C=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],F=[...C,"tableCell","paragraph","heading"],M=new RegExp(p),_=new RegExp(y);function I(W,Y){let H="non-cjk",re="cj-letter",ne="k-letter",ue="cjk-punctuation",R=[],B=(Y.proseWrap==="preserve"?W:W.replace(new RegExp("(".concat(c,`)
103
- (`).concat(c,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[P,D]of B.entries()){if(P%2===1){R.push({type:"whitespace",value:/\n/.test(D)?`
104
- `:" "});continue}if((P===0||P===B.length-1)&&D==="")continue;let $=D.split(new RegExp("(".concat(c,")")));for(let[z,U]of $.entries())if(!((z===0||z===$.length-1)&&U==="")){if(z%2===0){U!==""&&O({type:"word",value:U,kind:H,hasLeadingPunctuation:_.test(U[0]),hasTrailingPunctuation:_.test(d(U))});continue}O(_.test(U)?{type:"word",value:U,kind:ue,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:U,kind:M.test(U)?ne:re,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return R;function O(P){let D=d(R);D&&D.type==="word"&&(D.kind===H&&P.kind===re&&!D.hasTrailingPunctuation||D.kind===re&&P.kind===H&&!P.hasLeadingPunctuation?R.push({type:"whitespace",value:" "}):!$(H,ue)&&![D.value,P.value].some(z=>/\u3000/.test(z))&&R.push({type:"whitespace",value:""})),R.push(P);function $(z,U){return D.kind===z&&P.kind===U||D.kind===U&&P.kind===z}}}function k(W,Y){let[,H,re,ne]=Y.slice(W.position.start.offset,W.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:H,marker:re,leadingSpaces:ne}}function T(W,Y){if(!W.ordered||W.children.length<2)return!1;let H=Number(k(W.children[0],Y.originalText).numberText),re=Number(k(W.children[1],Y.originalText).numberText);if(H===0&&W.children.length>2){let ne=Number(k(W.children[2],Y.originalText).numberText);return re===1&&ne===1}return re===1}function j(W,Y){let{value:H}=W;return W.position.end.offset===Y.length&&H.endsWith(`
105
- `)&&Y.endsWith(`
106
- `)?H.slice(0,-1):H}function te(W,Y){return function H(re,ne,ue){let R=Object.assign({},Y(re,ne,ue));return R.children&&(R.children=R.children.map((B,O)=>H(B,O,[R,...ue]))),R}(W,null,[])}function ie(W){if(!W||W.type!=="link"||W.children.length!==1)return!1;let Y=W.children[0];return Y&&b(W)===b(Y)&&v(W)===v(Y)}w.exports={mapAst:te,splitText:I,punctuationPattern:y,getFencedCodeBlockValue:j,getOrderedListItemInfo:k,hasGitDiffFriendlyOrderedList:T,INLINE_NODE_TYPES:C,INLINE_NODE_WRAPPER_TYPES:F,isAutolink:ie}}}),Z=He({"src/language-markdown/embed.js"(x,w){Je();var{inferParserByLanguage:d,getMaxContinuousCount:b}=jn(),{builders:{hardline:v,markAsRoot:c},utils:{replaceEndOfLine:p}}=bn(),y=Ba(),{getFencedCodeBlockValue:C}=G();function F(M,_,I,k){let T=M.getValue();if(T.type==="code"&&T.lang!==null){let j=d(T.lang,k);if(j){let te=k.__inJsTemplate?"~":"`",ie=te.repeat(Math.max(3,b(T.value,te)+1)),W={parser:j};T.lang==="tsx"&&(W.filepath="dummy.tsx");let Y=I(C(T,k.originalText),W,{stripTrailingHardline:!0});return c([ie,T.lang,T.meta?" "+T.meta:"",v,p(Y),v,ie])}}switch(T.type){case"front-matter":return y(T,I);case"importExport":return[I(T.value,{parser:"babel"},{stripTrailingHardline:!0}),v];case"jsx":return I("<$>".concat(T.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}w.exports=F}}),he=He({"src/language-markdown/pragma.js"(x,w){Je();var d=ul(),b=["format","prettier"];function v(c){let p="@(".concat(b.join("|"),")"),y=new RegExp(["<!--\\s*".concat(p,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(p,"\\s*\\*\\/\\s*}"),`<!--.*\r?
107
- [\\s\\S]*(^|
108
- )[^\\S
109
- ]*`.concat(p,`[^\\S
110
- ]*($|
111
- )[\\s\\S]*
112
- .*-->`)].join("|"),"m"),C=c.match(y);return C&&C.index===0}w.exports={startWithPragma:v,hasPragma:c=>v(d(c).content.trimStart()),insertPragma:c=>{let p=d(c),y="<!-- @".concat(b[0]," -->");return p.frontMatter?"".concat(p.frontMatter.raw,`
113
-
114
- `).concat(y,`
115
-
116
- `).concat(p.content):"".concat(y,`
117
-
118
- `).concat(p.content)}}}}),me=He({"src/language-markdown/print-preprocess.js"(x,w){Je();var d=fr(),{getOrderedListItemInfo:b,mapAst:v,splitText:c}=G(),p=/^.$/su;function y(ie,W){return ie=M(ie,W),ie=k(ie),ie=F(ie),ie=j(ie,W),ie=te(ie,W),ie=T(ie,W),ie=C(ie),ie=_(ie),ie}function C(ie){return v(ie,W=>W.type!=="import"&&W.type!=="export"?W:Object.assign(Object.assign({},W),{},{type:"importExport"}))}function F(ie){return v(ie,W=>W.type!=="inlineCode"?W:Object.assign(Object.assign({},W),{},{value:W.value.replace(/\s+/g," ")}))}function M(ie,W){return v(ie,Y=>Y.type!=="text"||Y.value==="*"||Y.value==="_"||!p.test(Y.value)||Y.position.end.offset-Y.position.start.offset===Y.value.length?Y:Object.assign(Object.assign({},Y),{},{value:W.originalText.slice(Y.position.start.offset,Y.position.end.offset)}))}function _(ie){return I(ie,(W,Y)=>W.type==="importExport"&&Y.type==="importExport",(W,Y)=>({type:"importExport",value:W.value+`
119
-
120
- `+Y.value,position:{start:W.position.start,end:Y.position.end}}))}function I(ie,W,Y){return v(ie,H=>{if(!H.children)return H;let re=H.children.reduce((ne,ue)=>{let R=d(ne);return R&&W(R,ue)?ne.splice(-1,1,Y(R,ue)):ne.push(ue),ne},[]);return Object.assign(Object.assign({},H),{},{children:re})})}function k(ie){return I(ie,(W,Y)=>W.type==="text"&&Y.type==="text",(W,Y)=>({type:"text",value:W.value+Y.value,position:{start:W.position.start,end:Y.position.end}}))}function T(ie,W){return v(ie,(Y,H,re)=>{let[ne]=re;if(Y.type!=="text")return Y;let{value:ue}=Y;return ne.type==="paragraph"&&(H===0&&(ue=ue.trimStart()),H===ne.children.length-1&&(ue=ue.trimEnd())),{type:"sentence",position:Y.position,children:c(ue,W)}})}function j(ie,W){return v(ie,(Y,H,re)=>{if(Y.type==="code"){let ne=/^\n?(?: {4,}|\t)/.test(W.originalText.slice(Y.position.start.offset,Y.position.end.offset));if(Y.isIndented=ne,ne)for(let ue=0;ue<re.length;ue++){let R=re[ue];if(R.hasIndentedCodeblock)break;R.type==="list"&&(R.hasIndentedCodeblock=!0)}}return Y})}function te(ie,W){return v(ie,(re,ne,ue)=>{if(re.type==="list"&&re.children.length>0){for(let R=0;R<ue.length;R++){let B=ue[R];if(B.type==="list"&&!B.isAligned)return re.isAligned=!1,re}re.isAligned=H(re)}return re});function Y(re){return re.children.length===0?-1:re.children[0].position.start.column-1}function H(re){if(!re.ordered)return!0;let[ne,ue]=re.children;if(b(ne,W.originalText).leadingSpaces.length>1)return!0;let R=Y(ne);if(R===-1)return!1;if(re.children.length===1)return R%W.tabWidth===0;let B=Y(ue);return R!==B?!1:R%W.tabWidth===0?!0:b(ue,W.originalText).leadingSpaces.length>1}}w.exports=y}}),we=He({"src/language-markdown/clean.js"(x,w){Je();var{isFrontMatterNode:d}=jn(),{startWithPragma:b}=he(),v=new Set(["position","raw"]);function c(p,y,C){if((p.type==="front-matter"||p.type==="code"||p.type==="yaml"||p.type==="import"||p.type==="export"||p.type==="jsx")&&delete y.value,p.type==="list"&&delete y.isAligned,(p.type==="list"||p.type==="listItem")&&(delete y.spread,delete y.loose),p.type==="text"||(p.type==="inlineCode"&&(y.value=p.value.replace(/[\t\n ]+/g," ")),p.type==="wikiLink"&&(y.value=p.value.trim().replace(/[\t\n]+/g," ")),(p.type==="definition"||p.type==="linkReference")&&(y.label=p.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(p.type==="definition"||p.type==="link"||p.type==="image")&&p.title&&(y.title=p.title.replace(/\\(["')])/g,"$1")),C&&C.type==="root"&&C.children.length>0&&(C.children[0]===p||d(C.children[0])&&C.children[1]===p)&&p.type==="html"&&b(p.value)))return null}c.ignoredProperties=v,w.exports=c}}),pe=He({"src/language-markdown/printer-markdown.js"(x,w){Je();var{getLast:d,getMinNotPresentContinuousCount:b,getMaxContinuousCount:v,getStringWidth:c,isNonEmptyArray:p}=jn(),{builders:{breakParent:y,join:C,line:F,literalline:M,markAsRoot:_,hardline:I,softline:k,ifBreak:T,fill:j,align:te,indent:ie,group:W,hardlineWithoutBreakParent:Y},utils:{normalizeDoc:H,replaceTextEndOfLine:re},printer:{printDocToString:ne}}=bn(),ue=Z(),{insertPragma:R}=he(),{locStart:B,locEnd:O}=ee(),P=me(),D=we(),{getFencedCodeBlockValue:$,hasGitDiffFriendlyOrderedList:z,splitText:U,punctuationPattern:se,INLINE_NODE_TYPES:ae,INLINE_NODE_WRAPPER_TYPES:de,isAutolink:xe}=G(),be=new Set(["importExport"]),je=["heading","tableCell","link","wikiLink"],oe=new Set(["listItem","definition","footnoteDefinition"]);function Ie(St,Et,Nt){let bt=St.getValue();if(Jt(St))return U(Et.originalText.slice(bt.position.start.offset,bt.position.end.offset),Et).map(Xt=>Xt.type==="word"?Xt.value:Xt.value===""?"":it(St,Xt.value,Et));switch(bt.type){case"front-matter":return Et.originalText.slice(bt.position.start.offset,bt.position.end.offset);case"root":return bt.children.length===0?"":[H(ut(St,Et,Nt)),be.has(ar(bt).type)?"":I];case"paragraph":return Qe(St,Et,Nt,{postprocessor:j});case"sentence":return Qe(St,Et,Nt);case"word":{let Xt=bt.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(se,")(_+)"),"(_+)(".concat(se,"|$)")].join("|"),"g"),(Ge,Ve,Ze,$e,fe)=>(Ze?"".concat(Ve).concat(Ze):"".concat($e).concat(fe)).replace(/_/g,"\\_")),Le=(Ge,Ve,Ze)=>Ge.type==="sentence"&&Ze===0,Kt=(Ge,Ve,Ze)=>xe(Ge.children[Ze-1]);return Xt!==bt.value&&(St.match(void 0,Le,Kt)||St.match(void 0,Le,(Ge,Ve,Ze)=>Ge.type==="emphasis"&&Ze===0,Kt))&&(Xt=Xt.replace(/^(\\?[*_])+/,Ge=>Ge.replace(/\\/g,""))),Xt}case"whitespace":{let Xt=St.getParentNode(),Le=Xt.children.indexOf(bt),Kt=Xt.children[Le+1],Ge=Kt&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Kt.value)?"never":Et.proseWrap;return it(St,bt.value,{proseWrap:Ge})}case"emphasis":{let Xt;if(xe(bt.children[0]))Xt=Et.originalText[bt.position.start.offset];else{let Le=St.getParentNode(),Kt=Le.children.indexOf(bt),Ge=Le.children[Kt-1],Ve=Le.children[Kt+1];Xt=Ge&&Ge.type==="sentence"&&Ge.children.length>0&&d(Ge.children).type==="word"&&!d(Ge.children).hasTrailingPunctuation||Ve&&Ve.type==="sentence"&&Ve.children.length>0&&Ve.children[0].type==="word"&&!Ve.children[0].hasLeadingPunctuation||et(St,"emphasis")?"*":"_"}return[Xt,Qe(St,Et,Nt),Xt]}case"strong":return["**",Qe(St,Et,Nt),"**"];case"delete":return["~~",Qe(St,Et,Nt),"~~"];case"inlineCode":{let Xt=b(bt.value,"`"),Le="`".repeat(Xt||1),Kt=Xt&&!/^\s/.test(bt.value)?" ":"";return[Le,Kt,bt.value,Kt,Le]}case"wikiLink":{let Xt="";return Et.proseWrap==="preserve"?Xt=bt.value:Xt=bt.value.replace(/[\t\n]+/g," "),["[[",Xt,"]]"]}case"link":switch(Et.originalText[bt.position.start.offset]){case"<":{let Xt="mailto:",Le=bt.url.startsWith(Xt)&&Et.originalText.slice(bt.position.start.offset+1,bt.position.start.offset+1+Xt.length)!==Xt?bt.url.slice(Xt.length):bt.url;return["<",Le,">"]}case"[":return["[",Qe(St,Et,Nt),"](",qt(bt.url,")"),cr(bt.title,Et),")"];default:return Et.originalText.slice(bt.position.start.offset,bt.position.end.offset)}case"image":return["![",bt.alt||"","](",qt(bt.url,")"),cr(bt.title,Et),")"];case"blockquote":return["> ",te("> ",Qe(St,Et,Nt))];case"heading":return["#".repeat(bt.depth)+" ",Qe(St,Et,Nt)];case"code":{if(bt.isIndented){let Kt=" ".repeat(4);return te(Kt,[Kt,...re(bt.value,I)])}let Xt=Et.__inJsTemplate?"~":"`",Le=Xt.repeat(Math.max(3,v(bt.value,Xt)+1));return[Le,bt.lang||"",bt.meta?" "+bt.meta:"",I,...re($(bt,Et.originalText),I),I,Le]}case"html":{let Xt=St.getParentNode(),Le=Xt.type==="root"&&d(Xt.children)===bt?bt.value.trimEnd():bt.value,Kt=/^<!--.*-->$/s.test(Le);return re(Le,Kt?I:_(M))}case"list":{let Xt=Pe(bt,St.getParentNode()),Le=z(bt,Et);return Qe(St,Et,Nt,{processor:(Kt,Ge)=>{let Ve=$e(),Ze=Kt.getValue();if(Ze.children.length===2&&Ze.children[1].type==="html"&&Ze.children[0].position.start.column!==Ze.children[1].position.start.column)return[Ve,rt(Kt,Et,Nt,Ve)];return[Ve,te(" ".repeat(Ve.length),rt(Kt,Et,Nt,Ve))];function $e(){let fe=bt.ordered?(Ge===0?bt.start:Le?1:bt.start+Ge)+(Xt%2===0?". ":") "):Xt%2===0?"- ":"* ";return bt.isAligned||bt.hasIndentedCodeblock?Te(fe,Et):fe}}})}case"thematicBreak":{let Xt=Ue(St,"list");return Xt===-1?"---":Pe(St.getParentNode(Xt),St.getParentNode(Xt+1))%2===0?"***":"---"}case"linkReference":return["[",Qe(St,Et,Nt),"]",bt.referenceType==="full"?["[",bt.identifier,"]"]:bt.referenceType==="collapsed"?"[]":""];case"imageReference":switch(bt.referenceType){case"full":return["![",bt.alt||"","][",bt.identifier,"]"];default:return["![",bt.alt,"]",bt.referenceType==="collapsed"?"[]":""]}case"definition":{let Xt=Et.proseWrap==="always"?F:" ";return W(["[",bt.identifier,"]:",ie([Xt,qt(bt.url),bt.title===null?"":[Xt,cr(bt.title,Et,!1)]])])}case"footnote":return["[^",Qe(St,Et,Nt),"]"];case"footnoteReference":return["[^",bt.identifier,"]"];case"footnoteDefinition":{let Xt=St.getParentNode().children[St.getName()+1],Le=bt.children.length===1&&bt.children[0].type==="paragraph"&&(Et.proseWrap==="never"||Et.proseWrap==="preserve"&&bt.children[0].position.start.line===bt.children[0].position.end.line);return["[^",bt.identifier,"]: ",Le?Qe(St,Et,Nt):W([te(" ".repeat(4),Qe(St,Et,Nt,{processor:(Kt,Ge)=>Ge===0?W([k,Nt()]):Nt()})),Xt&&Xt.type==="footnoteDefinition"?k:""])]}case"table":return Fe(St,Et,Nt);case"tableCell":return Qe(St,Et,Nt);case"break":return/\s/.test(Et.originalText[bt.position.start.offset])?[" ",_(M)]:["\\",I];case"liquidNode":return re(bt.value,I);case"importExport":return[bt.value,I];case"esComment":return["{/* ",bt.value," */}"];case"jsx":return bt.value;case"math":return["$$",I,bt.value?[...re(bt.value,I),I]:"","$$"];case"inlineMath":return Et.originalText.slice(B(bt),O(bt));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(bt.type)))}}function rt(St,Et,Nt,bt){let Xt=St.getValue(),Le=Xt.checked===null?"":Xt.checked?"[x] ":"[ ] ";return[Le,Qe(St,Et,Nt,{processor:(Kt,Ge)=>{if(Ge===0&&Kt.getValue().type!=="list")return te(" ".repeat(Le.length),Nt());let Ve=" ".repeat(Tr(Et.tabWidth-bt.length,0,3));return[Ve,te(Ve,Nt())]}})]}function Te(St,Et){let Nt=bt();return St+" ".repeat(Nt>=4?0:Nt);function bt(){let Xt=St.length%Et.tabWidth;return Xt===0?0:Et.tabWidth-Xt}}function Pe(St,Et){return Ke(St,Et,Nt=>Nt.ordered===St.ordered)}function Ke(St,Et,Nt){let bt=-1;for(let Xt of Et.children)if(Xt.type===St.type&&Nt(Xt)?bt++:bt=-1,Xt===St)return bt}function Ue(St,Et){let Nt=Array.isArray(Et)?Et:[Et],bt=-1,Xt;for(;Xt=St.getParentNode(++bt);)if(Nt.includes(Xt.type))return bt;return-1}function et(St,Et){let Nt=Ue(St,Et);return Nt===-1?null:St.getParentNode(Nt)}function it(St,Et,Nt){if(Nt.proseWrap==="preserve"&&Et===`
121
- `)return I;let bt=Nt.proseWrap==="always"&&!et(St,je);return Et!==""?bt?F:" ":bt?k:""}function Fe(St,Et,Nt){let bt=St.getValue(),Xt=[],Le=St.map(fe=>fe.map((ir,Ar)=>{let In=ne(Nt(),Et).formatted,si=c(In);return Xt[Ar]=Math.max(Xt[Ar]||3,si),{text:In,width:si}},"children"),"children"),Kt=Ve(!1);if(Et.proseWrap!=="never")return[y,Kt];let Ge=Ve(!0);return[y,W(T(Ge,Kt))];function Ve(fe){let ir=[$e(Le[0],fe),Ze(fe)];return Le.length>1&&ir.push(C(Y,Le.slice(1).map(Ar=>$e(Ar,fe)))),C(Y,ir)}function Ze(fe){let ir=Xt.map((Ar,In)=>{let si=bt.align[In],vi=si==="center"||si==="left"?":":"-",Vr=si==="center"||si==="right"?":":"-",dn=fe?"-":"-".repeat(Ar-2);return"".concat(vi).concat(dn).concat(Vr)});return"| ".concat(ir.join(" | ")," |")}function $e(fe,ir){let Ar=fe.map((In,si)=>{let{text:vi,width:Vr}=In;if(ir)return vi;let dn=Xt[si]-Vr,hr=bt.align[si],zn=0;hr==="right"?zn=dn:hr==="center"&&(zn=Math.floor(dn/2));let Mr=dn-zn;return"".concat(" ".repeat(zn)).concat(vi).concat(" ".repeat(Mr))});return"| ".concat(Ar.join(" | ")," |")}}function ut(St,Et,Nt){let bt=[],Xt=null,{children:Le}=St.getValue();for(let[Kt,Ge]of Le.entries())switch(Ce(Ge)){case"start":Xt===null&&(Xt={index:Kt,offset:Ge.position.end.offset});break;case"end":Xt!==null&&(bt.push({start:Xt,end:{index:Kt,offset:Ge.position.start.offset}}),Xt=null);break}return Qe(St,Et,Nt,{processor:(Kt,Ge)=>{if(bt.length>0){let Ve=bt[0];if(Ge===Ve.start.index)return[Le[Ve.start.index].value,Et.originalText.slice(Ve.start.offset,Ve.end.offset),Le[Ve.end.index].value];if(Ve.start.index<Ge&&Ge<Ve.end.index)return!1;if(Ge===Ve.end.index)return bt.shift(),!1}return Nt()}})}function Qe(St,Et,Nt){let bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Xt}=bt,Le=bt.processor||(()=>Nt()),Kt=St.getValue(),Ge=[],Ve;return St.each((Ze,$e)=>{let fe=Ze.getValue(),ir=Le(Ze,$e);if(ir!==!1){let Ar={parts:Ge,prevNode:Ve,parentNode:Kt,options:Et};Ct(fe,Ar)&&(Ge.push(I),Ve&&be.has(Ve.type)||(tt(fe,Ar)||Ye(fe,Ar))&&Ge.push(I),Ye(fe,Ar)&&Ge.push(I)),Ge.push(ir),Ve=fe}},"children"),Xt?Xt(Ge):Ge}function ar(St){let Et=St;for(;p(Et.children);)Et=d(Et.children);return Et}function Ce(St){let Et;if(St.type==="html")Et=St.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Nt;St.type==="esComment"?Nt=St:St.type==="paragraph"&&St.children.length===1&&St.children[0].type==="esComment"&&(Nt=St.children[0]),Nt&&(Et=Nt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return Et?Et[1]?Et[1]:"next":!1}function Ct(St,Et){let Nt=Et.parts.length===0,bt=ae.includes(St.type),Xt=St.type==="html"&&de.includes(Et.parentNode.type);return!Nt&&!bt&&!Xt}function tt(St,Et){let Nt=(Et.prevNode&&Et.prevNode.type)===St.type&&oe.has(St.type),bt=Et.parentNode.type==="listItem"&&!Et.parentNode.loose,Xt=Et.prevNode&&Et.prevNode.type==="listItem"&&Et.prevNode.loose,Le=Ce(Et.prevNode)==="next",Kt=St.type==="html"&&Et.prevNode&&Et.prevNode.type==="html"&&Et.prevNode.position.end.line+1===St.position.start.line,Ge=St.type==="html"&&Et.parentNode.type==="listItem"&&Et.prevNode&&Et.prevNode.type==="paragraph"&&Et.prevNode.position.end.line+1===St.position.start.line;return Xt||!(Nt||bt||Le||Kt||Ge)}function Ye(St,Et){let Nt=Et.prevNode&&Et.prevNode.type==="list",bt=St.type==="code"&&St.isIndented;return Nt&&bt}function Jt(St){let Et=et(St,["linkReference","imageReference"]);return Et&&(Et.type!=="linkReference"||Et.referenceType!=="full")}function qt(St){let Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Nt=[" ",...Array.isArray(Et)?Et:[Et]];return new RegExp(Nt.map(bt=>"\\".concat(bt)).join("|")).test(St)?"<".concat(St,">"):St}function cr(St,Et){let Nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!St)return"";if(Nt)return" "+cr(St,Et,!1);if(St=St.replace(/\\(["')])/g,"$1"),St.includes('"')&&St.includes("'")&&!St.includes(")"))return"(".concat(St,")");let bt=St.split("'").length-1,Xt=St.split('"').length-1,Le=bt>Xt?'"':Xt>bt||Et.singleQuote?"'":'"';return St=St.replace(/\\/,"\\\\"),St=St.replace(new RegExp("(".concat(Le,")"),"g"),"\\$1"),"".concat(Le).concat(St).concat(Le)}function Tr(St,Et,Nt){return St<Et?Et:St>Nt?Nt:St}function an(St){let Et=Number(St.getName());if(Et===0)return!1;let Nt=St.getParentNode().children[Et-1];return Ce(Nt)==="next"}w.exports={preprocess:P,print:Ie,embed:ue,massageAstNode:D,hasPrettierIgnore:an,insertPragma:R}}}),ye=He({"src/language-markdown/options.js"(x,w){Je();var d=Ei();w.exports={proseWrap:d.proseWrap,singleQuote:d.singleQuote}}}),E=He({"src/language-markdown/parsers.js"(){Je()}}),h=He({"node_modules/linguist-languages/data/Markdown.json"(x,w){w.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),Q=He({"src/language-markdown/index.js"(x,w){Je();var d=Yo(),b=pe(),v=ye(),c=E(),p=[d(h(),C=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...C.filenames,"README"],extensions:C.extensions.filter(F=>F!==".mdx")})),d(h(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],y={mdast:b};w.exports={languages:p,options:v,printers:y,parsers:c}}}),q=He({"src/language-html/clean.js"(x,w){Je();var{isFrontMatterNode:d}=jn(),b=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","parent"]);function v(c,p){if(c.type==="text"||c.type==="comment"||d(c)||c.type==="yaml"||c.type==="toml")return null;c.type==="attribute"&&delete p.value,c.type==="docType"&&delete p.value}v.ignoredProperties=b,w.exports=v}}),Ee=He({"src/language-html/constants.evaluate.js"(x,w){w.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"}}}),ve=He({"src/language-html/utils/is-unknown-namespace.js"(x,w){Je();function d(b){return b.type==="element"&&!b.hasExplicitNamespace&&!["html","svg"].includes(b.namespace)}w.exports=d}}),_e=He({"src/language-html/utils/index.js"(x,w){Je();var{inferParserByLanguage:d,isFrontMatterNode:b}=jn(),{builders:{line:v,hardline:c,join:p},utils:{getDocParts:y,replaceTextEndOfLine:C}}=bn(),{CSS_DISPLAY_TAGS:F,CSS_DISPLAY_DEFAULT:M,CSS_WHITE_SPACE_TAGS:_,CSS_WHITE_SPACE_DEFAULT:I}=Ee(),k=ve(),T=new Set([" ",`
122
- `,"\f","\r"," "]),j=fe=>fe.replace(/^[\t\n\f\r ]+/,""),te=fe=>fe.replace(/[\t\n\f\r ]+$/,""),ie=fe=>j(te(fe)),W=fe=>fe.replace(/^[\t\f\r ]*\n/g,""),Y=fe=>W(te(fe)),H=fe=>fe.split(/[\t\n\f\r ]+/),re=fe=>fe.match(/^[\t\n\f\r ]*/)[0],ne=fe=>{let[,ir,Ar,In]=fe.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:ir,trailingWhitespace:In,text:Ar}},ue=fe=>/[\t\n\f\r ]/.test(fe);function R(fe,ir){return!!(fe.type==="ieConditionalComment"&&fe.lastChild&&!fe.lastChild.isSelfClosing&&!fe.lastChild.endSourceSpan||fe.type==="ieConditionalComment"&&!fe.complete||Jt(fe)&&fe.children.some(Ar=>Ar.type!=="text"&&Ar.type!=="interpolation")||Ge(fe,ir)&&!D(fe)&&fe.type!=="interpolation")}function B(fe){return fe.type==="attribute"||!fe.parent||!fe.prev?!1:O(fe.prev)}function O(fe){return fe.type==="comment"&&fe.value.trim()==="prettier-ignore"}function P(fe){return fe.type==="text"||fe.type==="comment"}function D(fe){return fe.type==="element"&&(fe.fullName==="script"||fe.fullName==="style"||fe.fullName==="svg:style"||k(fe)&&(fe.name==="script"||fe.name==="style"))}function $(fe){return fe.children&&!D(fe)}function z(fe){return D(fe)||fe.type==="interpolation"||U(fe)}function U(fe){return an(fe).startsWith("pre")}function se(fe,ir){let Ar=In();if(Ar&&!fe.prev&&fe.parent&&fe.parent.tagDefinition&&fe.parent.tagDefinition.ignoreFirstLf)return fe.type==="interpolation";return Ar;function In(){return b(fe)?!1:(fe.type==="text"||fe.type==="interpolation")&&fe.prev&&(fe.prev.type==="text"||fe.prev.type==="interpolation")?!0:!fe.parent||fe.parent.cssDisplay==="none"?!1:Jt(fe.parent)?!0:!(!fe.prev&&(fe.parent.type==="root"||Jt(fe)&&fe.parent||D(fe.parent)||Le(fe.parent,ir)||!ar(fe.parent.cssDisplay))||fe.prev&&!tt(fe.prev.cssDisplay))}}function ae(fe,ir){return b(fe)?!1:(fe.type==="text"||fe.type==="interpolation")&&fe.next&&(fe.next.type==="text"||fe.next.type==="interpolation")?!0:!fe.parent||fe.parent.cssDisplay==="none"?!1:Jt(fe.parent)?!0:!(!fe.next&&(fe.parent.type==="root"||Jt(fe)&&fe.parent||D(fe.parent)||Le(fe.parent,ir)||!Ce(fe.parent.cssDisplay))||fe.next&&!Ct(fe.next.cssDisplay))}function de(fe){return Ye(fe.cssDisplay)&&!D(fe)}function xe(fe){return b(fe)||fe.next&&fe.sourceSpan.end&&fe.sourceSpan.end.line+1<fe.next.sourceSpan.start.line}function be(fe){return je(fe)||fe.type==="element"&&fe.children.length>0&&(["body","script","style"].includes(fe.name)||fe.children.some(ir=>et(ir)))||fe.firstChild&&fe.firstChild===fe.lastChild&&fe.firstChild.type!=="text"&&Te(fe.firstChild)&&(!fe.lastChild.isTrailingSpaceSensitive||Pe(fe.lastChild))}function je(fe){return fe.type==="element"&&fe.children.length>0&&(["html","head","ul","ol","select"].includes(fe.name)||fe.cssDisplay.startsWith("table")&&fe.cssDisplay!=="table-cell")}function oe(fe){return Ke(fe)||fe.prev&&Ie(fe.prev)||rt(fe)}function Ie(fe){return Ke(fe)||fe.type==="element"&&fe.fullName==="br"||rt(fe)}function rt(fe){return Te(fe)&&Pe(fe)}function Te(fe){return fe.hasLeadingSpaces&&(fe.prev?fe.prev.sourceSpan.end.line<fe.sourceSpan.start.line:fe.parent.type==="root"||fe.parent.startSourceSpan.end.line<fe.sourceSpan.start.line)}function Pe(fe){return fe.hasTrailingSpaces&&(fe.next?fe.next.sourceSpan.start.line>fe.sourceSpan.end.line:fe.parent.type==="root"||fe.parent.endSourceSpan&&fe.parent.endSourceSpan.start.line>fe.sourceSpan.end.line)}function Ke(fe){switch(fe.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(fe.name)}return!1}function Ue(fe){return fe.lastChild?Ue(fe.lastChild):fe}function et(fe){return fe.children&&fe.children.some(ir=>ir.type!=="text")}function it(fe){let{type:ir,lang:Ar}=fe.attrMap;if(ir==="module"||ir==="text/javascript"||ir==="text/babel"||ir==="application/javascript"||Ar==="jsx")return"babel";if(ir==="application/x-typescript"||Ar==="ts"||Ar==="tsx")return"typescript";if(ir==="text/markdown")return"markdown";if(ir==="text/html")return"html";if(ir&&(ir.endsWith("json")||ir.endsWith("importmap")))return"json";if(ir==="text/x-handlebars-template")return"glimmer"}function Fe(fe){let{lang:ir}=fe.attrMap;if(!ir||ir==="postcss"||ir==="css")return"css";if(ir==="scss")return"scss";if(ir==="less")return"less"}function ut(fe,ir){if(fe.name==="script"&&!fe.attrMap.src)return!fe.attrMap.lang&&!fe.attrMap.type?"babel":it(fe);if(fe.name==="style")return Fe(fe);if(ir&&Ge(fe,ir))return it(fe)||!("src"in fe.attrMap)&&d(fe.attrMap.lang,ir)}function Qe(fe){return fe==="block"||fe==="list-item"||fe.startsWith("table")}function ar(fe){return!Qe(fe)&&fe!=="inline-block"}function Ce(fe){return!Qe(fe)&&fe!=="inline-block"}function Ct(fe){return!Qe(fe)}function tt(fe){return!Qe(fe)}function Ye(fe){return!Qe(fe)&&fe!=="inline-block"}function Jt(fe){return an(fe).startsWith("pre")}function qt(fe,ir){let Ar=0;for(let In=fe.stack.length-1;In>=0;In--){let si=fe.stack[In];si&&typeof si=="object"&&!Array.isArray(si)&&ir(si)&&Ar++}return Ar}function cr(fe,ir){let Ar=fe;for(;Ar;){if(ir(Ar))return!0;Ar=Ar.parent}return!1}function Tr(fe,ir){if(fe.prev&&fe.prev.type==="comment"){let In=fe.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(In)return In[1]}let Ar=!1;if(fe.type==="element"&&fe.namespace==="svg")if(cr(fe,In=>In.fullName==="svg:foreignObject"))Ar=!0;else return fe.name==="svg"?"inline-block":"block";switch(ir.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return ir.parser==="vue"&&fe.parent&&fe.parent.type==="root"?"block":fe.type==="element"&&(!fe.namespace||Ar||k(fe))&&F[fe.name]||M}}function an(fe){return fe.type==="element"&&(!fe.namespace||k(fe))&&_[fe.name]||I}function St(fe){let ir=Number.POSITIVE_INFINITY;for(let Ar of fe.split(`
123
- `)){if(Ar.length===0)continue;if(!T.has(Ar[0]))return 0;let In=re(Ar).length;Ar.length!==In&&In<ir&&(ir=In)}return ir===Number.POSITIVE_INFINITY?0:ir}function Et(fe){let ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:St(fe);return ir===0?fe:fe.split(`
124
- `).map(Ar=>Ar.slice(ir)).join(`
125
- `)}function Nt(fe,ir){let Ar=0;for(let In=0;In<fe.length;In++)fe[In]===ir&&Ar++;return Ar}function bt(fe){return fe.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var Xt=new Set(["template","style","script"]);function Le(fe,ir){return Kt(fe,ir)&&!Xt.has(fe.fullName)}function Kt(fe,ir){return ir.parser==="vue"&&fe.type==="element"&&fe.parent.type==="root"&&fe.fullName.toLowerCase()!=="html"}function Ge(fe,ir){return Kt(fe,ir)&&(Le(fe,ir)||fe.attrMap.lang&&fe.attrMap.lang!=="html")}function Ve(fe){let ir=fe.fullName;return ir.charAt(0)==="#"||ir==="slot-scope"||ir==="v-slot"||ir.startsWith("v-slot:")}function Ze(fe,ir){let Ar=fe.parent;if(!Kt(Ar,ir))return!1;let In=Ar.fullName,si=fe.fullName;return In==="script"&&si==="setup"||In==="style"&&si==="vars"}function $e(fe){let ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fe.value;return fe.parent.isWhitespaceSensitive?fe.parent.isIndentationSensitive?C(ir):C(Et(Y(ir)),c):y(p(v,H(ir)))}w.exports={htmlTrim:ie,htmlTrimPreserveIndentation:Y,hasHtmlWhitespace:ue,getLeadingAndTrailingHtmlWhitespace:ne,canHaveInterpolation:$,countChars:Nt,countParents:qt,dedentString:Et,forceBreakChildren:je,forceBreakContent:be,forceNextEmptyLine:xe,getLastDescendant:Ue,getNodeCssStyleDisplay:Tr,getNodeCssStyleWhiteSpace:an,hasPrettierIgnore:B,inferScriptParser:ut,isVueCustomBlock:Le,isVueNonHtmlBlock:Ge,isVueSlotAttribute:Ve,isVueSfcBindingsAttribute:Ze,isDanglingSpaceSensitiveNode:de,isIndentationSensitiveNode:U,isLeadingSpaceSensitiveNode:se,isPreLikeNode:Jt,isScriptLikeTag:D,isTextLikeNode:P,isTrailingSpaceSensitiveNode:ae,isWhitespaceSensitiveNode:z,isUnknownNamespace:k,preferHardlineAsLeadingSpaces:oe,preferHardlineAsTrailingSpaces:Ie,shouldPreserveContent:R,unescapeQuoteEntities:bt,getTextValueParts:$e}}}),ke=He({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0}),x.$EOF=0,x.$BSPACE=8,x.$TAB=9,x.$LF=10,x.$VTAB=11,x.$FF=12,x.$CR=13,x.$SPACE=32,x.$BANG=33,x.$DQ=34,x.$HASH=35,x.$$=36,x.$PERCENT=37,x.$AMPERSAND=38,x.$SQ=39,x.$LPAREN=40,x.$RPAREN=41,x.$STAR=42,x.$PLUS=43,x.$COMMA=44,x.$MINUS=45,x.$PERIOD=46,x.$SLASH=47,x.$COLON=58,x.$SEMICOLON=59,x.$LT=60,x.$EQ=61,x.$GT=62,x.$QUESTION=63,x.$0=48,x.$7=55,x.$9=57,x.$A=65,x.$E=69,x.$F=70,x.$X=88,x.$Z=90,x.$LBRACKET=91,x.$BACKSLASH=92,x.$RBRACKET=93,x.$CARET=94,x.$_=95,x.$a=97,x.$b=98,x.$e=101,x.$f=102,x.$n=110,x.$r=114,x.$t=116,x.$u=117,x.$v=118,x.$x=120,x.$z=122,x.$LBRACE=123,x.$BAR=124,x.$RBRACE=125,x.$NBSP=160,x.$PIPE=124,x.$TILDA=126,x.$AT=64,x.$BT=96;function w(y){return y>=x.$TAB&&y<=x.$SPACE||y==x.$NBSP}x.isWhitespace=w;function d(y){return x.$0<=y&&y<=x.$9}x.isDigit=d;function b(y){return y>=x.$a&&y<=x.$z||y>=x.$A&&y<=x.$Z}x.isAsciiLetter=b;function v(y){return y>=x.$a&&y<=x.$f||y>=x.$A&&y<=x.$F||d(y)}x.isAsciiHexDigit=v;function c(y){return y===x.$LF||y===x.$CR}x.isNewLine=c;function p(y){return x.$0<=y&&y<=x.$7}x.isOctalDigit=p}}),Ae=He({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=class{constructor(b,v,c){this.filePath=b,this.name=v,this.members=c}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};x.StaticSymbol=w;var d=class{constructor(){this.cache=new Map}get(b,v,c){c=c||[];let p=c.length?".".concat(c.join(".")):"",y='"'.concat(b,'".').concat(v).concat(p),C=this.cache.get(y);return C||(C=new w(b,v,c),this.cache.set(y,C)),C}};x.StaticSymbolCache=d}}),Xe=He({"node_modules/angular-html-parser/lib/compiler/src/util.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=/-+([a-z0-9])/g;function d(D){return D.replace(w,function(){for(var $=arguments.length,z=new Array($),U=0;U<$;U++)z[U]=arguments[U];return z[1].toUpperCase()})}x.dashCaseToCamelCase=d;function b(D,$){return c(D,":",$)}x.splitAtColon=b;function v(D,$){return c(D,".",$)}x.splitAtPeriod=v;function c(D,$,z){let U=D.indexOf($);return U==-1?z:[D.slice(0,U).trim(),D.slice(U+1).trim()]}function p(D,$,z){return Array.isArray(D)?$.visitArray(D,z):W(D)?$.visitStringMap(D,z):D==null||typeof D=="string"||typeof D=="number"||typeof D=="boolean"?$.visitPrimitive(D,z):$.visitOther(D,z)}x.visitValue=p;function y(D){return D!=null}x.isDefined=y;function C(D){return D===void 0?null:D}x.noUndefined=C;var F=class{visitArray(D,$){return D.map(z=>p(z,this,$))}visitStringMap(D,$){let z={};return Object.keys(D).forEach(U=>{z[U]=p(D[U],this,$)}),z}visitPrimitive(D,$){return D}visitOther(D,$){return D}};x.ValueTransformer=F,x.SyncAsync={assertSync:D=>{if(ne(D))throw new Error("Illegal state: value cannot be a promise");return D},then:(D,$)=>ne(D)?D.then($):$(D),all:D=>D.some(ne)?Promise.all(D):D};function M(D){throw new Error("Internal Error: ".concat(D))}x.error=M;function _(D,$){let z=Error(D);return z[I]=!0,$&&(z[k]=$),z}x.syntaxError=_;var I="ngSyntaxError",k="ngParseErrors";function T(D){return D[I]}x.isSyntaxError=T;function j(D){return D[k]||[]}x.getParseErrors=j;function te(D){return D.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}x.escapeRegExp=te;var ie=Object.getPrototypeOf({});function W(D){return typeof D=="object"&&D!==null&&Object.getPrototypeOf(D)===ie}function Y(D){let $="";for(let z=0;z<D.length;z++){let U=D.charCodeAt(z);if(U>=55296&&U<=56319&&D.length>z+1){let se=D.charCodeAt(z+1);se>=56320&&se<=57343&&(z++,U=(U-55296<<10)+se-56320+65536)}U<=127?$+=String.fromCharCode(U):U<=2047?$+=String.fromCharCode(U>>6&31|192,U&63|128):U<=65535?$+=String.fromCharCode(U>>12|224,U>>6&63|128,U&63|128):U<=2097151&&($+=String.fromCharCode(U>>18&7|240,U>>12&63|128,U>>6&63|128,U&63|128))}return $}x.utf8Encode=Y;function H(D){if(typeof D=="string")return D;if(D instanceof Array)return"["+D.map(H).join(", ")+"]";if(D==null)return""+D;if(D.overriddenName)return"".concat(D.overriddenName);if(D.name)return"".concat(D.name);if(!D.toString)return"object";let $=D.toString();if($==null)return""+$;let z=$.indexOf(`
126
- `);return z===-1?$:$.substring(0,z)}x.stringify=H;function re(D){return typeof D=="function"&&D.hasOwnProperty("__forward_ref__")?D():D}x.resolveForwardRef=re;function ne(D){return!!D&&typeof D.then=="function"}x.isPromise=ne;var ue=class{constructor(D){this.full=D;let $=D.split(".");this.major=$[0],this.minor=$[1],this.patch=$.slice(2).join(".")}};x.Version=ue;var R=typeof window<"u"&&window,B=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,O=typeof globalThis<"u"&&globalThis,P=O||R||B;x.global=P}}),nt=He({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=Ae(),d=Xe(),b=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function v(z){return z.replace(/\W/g,"_")}x.sanitizeIdentifier=v;var c=0;function p(z){if(!z||!z.reference)return null;let U=z.reference;if(U instanceof w.StaticSymbol)return U.name;if(U.__anonymousType)return U.__anonymousType;let se=d.stringify(U);return se.indexOf("(")>=0?(se="anonymous_".concat(c++),U.__anonymousType=se):se=v(se),se}x.identifierName=p;function y(z){let U=z.reference;return U instanceof w.StaticSymbol?U.filePath:"./".concat(d.stringify(U))}x.identifierModuleUrl=y;function C(z,U){return"View_".concat(p({reference:z}),"_").concat(U)}x.viewClassName=C;function F(z){return"RenderType_".concat(p({reference:z}))}x.rendererTypeName=F;function M(z){return"HostView_".concat(p({reference:z}))}x.hostViewClassName=M;function _(z){return"".concat(p({reference:z}),"NgFactory")}x.componentFactoryName=_;var I;(function(z){z[z.Pipe=0]="Pipe",z[z.Directive=1]="Directive",z[z.NgModule=2]="NgModule",z[z.Injectable=3]="Injectable"})(I=x.CompileSummaryKind||(x.CompileSummaryKind={}));function k(z){return z.value!=null?v(z.value):p(z.identifier)}x.tokenName=k;function T(z){return z.identifier!=null?z.identifier.reference:z.value}x.tokenReference=T;var j=class{constructor(){let{moduleUrl:z,styles:U,styleUrls:se}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=z||null,this.styles=ne(U),this.styleUrls=ne(se)}};x.CompileStylesheetMetadata=j;var te=class{constructor(z){let{encapsulation:U,template:se,templateUrl:ae,htmlAst:de,styles:xe,styleUrls:be,externalStylesheets:je,animations:oe,ngContentSelectors:Ie,interpolation:rt,isInline:Te,preserveWhitespaces:Pe}=z;if(this.encapsulation=U,this.template=se,this.templateUrl=ae,this.htmlAst=de,this.styles=ne(xe),this.styleUrls=ne(be),this.externalStylesheets=ne(je),this.animations=oe?R(oe):[],this.ngContentSelectors=Ie||[],rt&&rt.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=rt,this.isInline=Te,this.preserveWhitespaces=Pe}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};x.CompileTemplateMetadata=te;var ie=class{static create(z){let{isHost:U,type:se,isComponent:ae,selector:de,exportAs:xe,changeDetection:be,inputs:je,outputs:oe,host:Ie,providers:rt,viewProviders:Te,queries:Pe,guards:Ke,viewQueries:Ue,entryComponents:et,template:it,componentViewType:Fe,rendererType:ut,componentFactory:Qe}=z,ar={},Ce={},Ct={};Ie!=null&&Object.keys(Ie).forEach(Jt=>{let qt=Ie[Jt],cr=Jt.match(b);cr===null?Ct[Jt]=qt:cr[1]!=null?Ce[cr[1]]=qt:cr[2]!=null&&(ar[cr[2]]=qt)});let tt={};je!=null&&je.forEach(Jt=>{let qt=d.splitAtColon(Jt,[Jt,Jt]);tt[qt[0]]=qt[1]});let Ye={};return oe!=null&&oe.forEach(Jt=>{let qt=d.splitAtColon(Jt,[Jt,Jt]);Ye[qt[0]]=qt[1]}),new ie({isHost:U,type:se,isComponent:!!ae,selector:de,exportAs:xe,changeDetection:be,inputs:tt,outputs:Ye,hostListeners:ar,hostProperties:Ce,hostAttributes:Ct,providers:rt,viewProviders:Te,queries:Pe,guards:Ke,viewQueries:Ue,entryComponents:et,template:it,componentViewType:Fe,rendererType:ut,componentFactory:Qe})}constructor(z){let{isHost:U,type:se,isComponent:ae,selector:de,exportAs:xe,changeDetection:be,inputs:je,outputs:oe,hostListeners:Ie,hostProperties:rt,hostAttributes:Te,providers:Pe,viewProviders:Ke,queries:Ue,guards:et,viewQueries:it,entryComponents:Fe,template:ut,componentViewType:Qe,rendererType:ar,componentFactory:Ce}=z;this.isHost=!!U,this.type=se,this.isComponent=ae,this.selector=de,this.exportAs=xe,this.changeDetection=be,this.inputs=je,this.outputs=oe,this.hostListeners=Ie,this.hostProperties=rt,this.hostAttributes=Te,this.providers=ne(Pe),this.viewProviders=ne(Ke),this.queries=ne(Ue),this.guards=et,this.viewQueries=ne(it),this.entryComponents=ne(Fe),this.template=ut,this.componentViewType=Qe,this.rendererType=ar,this.componentFactory=Ce}toSummary(){return{summaryKind:I.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}}};x.CompileDirectiveMetadata=ie;var W=class{constructor(z){let{type:U,name:se,pure:ae}=z;this.type=U,this.name=se,this.pure=!!ae}toSummary(){return{summaryKind:I.Pipe,type:this.type,name:this.name,pure:this.pure}}};x.CompilePipeMetadata=W;var Y=class{};x.CompileShallowModuleMetadata=Y;var H=class{constructor(z){let{type:U,providers:se,declaredDirectives:ae,exportedDirectives:de,declaredPipes:xe,exportedPipes:be,entryComponents:je,bootstrapComponents:oe,importedModules:Ie,exportedModules:rt,schemas:Te,transitiveModule:Pe,id:Ke}=z;this.type=U||null,this.declaredDirectives=ne(ae),this.exportedDirectives=ne(de),this.declaredPipes=ne(xe),this.exportedPipes=ne(be),this.providers=ne(se),this.entryComponents=ne(je),this.bootstrapComponents=ne(oe),this.importedModules=ne(Ie),this.exportedModules=ne(rt),this.schemas=ne(Te),this.id=Ke||null,this.transitiveModule=Pe||null}toSummary(){let z=this.transitiveModule;return{summaryKind:I.NgModule,type:this.type,entryComponents:z.entryComponents,providers:z.providers,modules:z.modules,exportedDirectives:z.exportedDirectives,exportedPipes:z.exportedPipes}}};x.CompileNgModuleMetadata=H;var re=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(z,U){this.providers.push({provider:z,module:U})}addDirective(z){this.directivesSet.has(z.reference)||(this.directivesSet.add(z.reference),this.directives.push(z))}addExportedDirective(z){this.exportedDirectivesSet.has(z.reference)||(this.exportedDirectivesSet.add(z.reference),this.exportedDirectives.push(z))}addPipe(z){this.pipesSet.has(z.reference)||(this.pipesSet.add(z.reference),this.pipes.push(z))}addExportedPipe(z){this.exportedPipesSet.has(z.reference)||(this.exportedPipesSet.add(z.reference),this.exportedPipes.push(z))}addModule(z){this.modulesSet.has(z.reference)||(this.modulesSet.add(z.reference),this.modules.push(z))}addEntryComponent(z){this.entryComponentsSet.has(z.componentType)||(this.entryComponentsSet.add(z.componentType),this.entryComponents.push(z))}};x.TransitiveCompileNgModuleMetadata=re;function ne(z){return z||[]}var ue=class{constructor(z,U){let{useClass:se,useValue:ae,useExisting:de,useFactory:xe,deps:be,multi:je}=U;this.token=z,this.useClass=se||null,this.useValue=ae,this.useExisting=de,this.useFactory=xe||null,this.dependencies=be||null,this.multi=!!je}};x.ProviderMeta=ue;function R(z){return z.reduce((U,se)=>{let ae=Array.isArray(se)?R(se):se;return U.concat(ae)},[])}x.flatten=R;function B(z){return z.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function O(z,U,se){let ae;return se.isInline?U.type.reference instanceof w.StaticSymbol?ae="".concat(U.type.reference.filePath,".").concat(U.type.reference.name,".html"):ae="".concat(p(z),"/").concat(p(U.type),".html"):ae=se.templateUrl,U.type.reference instanceof w.StaticSymbol?ae:B(ae)}x.templateSourceUrl=O;function P(z,U){let se=z.moduleUrl.split(/\/\\/g),ae=se[se.length-1];return B("css/".concat(U).concat(ae,".ngstyle.js"))}x.sharedStylesheetJitUrl=P;function D(z){return B("".concat(p(z.type),"/module.ngfactory.js"))}x.ngModuleJitUrl=D;function $(z,U){return B("".concat(p(z),"/").concat(p(U.type),".ngfactory.js"))}x.templateJitUrl=$}}),gt=He({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(x){Je(),Object.defineProperty(x,"__esModule",{value:!0});var w=ke(),d=nt(),b=class{constructor(M,_,I,k){this.file=M,this.offset=_,this.line=I,this.col=k}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(M){let _=this.file.content,I=_.length,k=this.offset,T=this.line,j=this.col;for(;k>0&&M<0;)if(k--,M++,_.charCodeAt(k)==w.$LF){T--;let te=_.substr(0,k-1).lastIndexOf(String.fromCharCode(w.$LF));j=te>0?k-te:k}else j--;for(;k<I&&M>0;){let te=_.charCodeAt(k);k++,M--,te==w.$LF?(T++,j=0):j++}return new b(this.file,k,T,j)}getContext(M,_){let I=this.file.content,k=this.offset;if(k!=null){k>I.length-1&&(k=I.length-1);let T=k,j=0,te=0;for(;j<M&&k>0&&(k--,j++,!(I[k]==`
127
- `&&++te==_)););for(j=0,te=0;j<M&&T<I.length-1&&(T++,j++,!(I[T]==`
128
- `&&++te==_)););return{before:I.substring(k,this.offset),after:I.substring(this.offset,T+1)}}return null}};x.ParseLocation=b;var v=class{constructor(M,_){this.content=M,this.url=_}};x.ParseSourceFile=v;var c=class{constructor(M,_){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=M,this.end=_,this.details=I}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};x.ParseSourceSpan=c,x.EMPTY_PARSE_LOCATION=new b(new v("",""),0,0,0),x.EMPTY_SOURCE_SPAN=new c(x.EMPTY_PARSE_LOCATION,x.EMPTY_PARSE_LOCATION);var p;(function(M){M[M.WARNING=0]="WARNING",M[M.ERROR=1]="ERROR"})(p=x.ParseErrorLevel||(x.ParseErrorLevel={}));var y=class{constructor(M,_){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.ERROR;this.span=M,this.msg=_,this.level=I}contextualMessage(){let M=this.span.start.getContext(100,3);return M?"".concat(this.msg,' ("').concat(M.before,"[").concat(p[this.level]," ->]").concat(M.after,'")'):this.msg}toString(){let M=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(M)}};x.ParseError=y;function C(M,_){let I=d.identifierModuleUrl(_),k=I!=null?"in ".concat(M," ").concat(d.identifierName(_)," in ").concat(I):"in ".concat(M," ").concat(d.identifierName(_)),T=new v("",k);return new c(new b(T,-1,-1,-1),new b(T,-1,-1,-1))}x.typeSourceSpan=C;function F(M,_,I){let k="in ".concat(M," ").concat(_," in ").concat(I),T=new v("",k);return new c(new b(T,-1,-1,-1),new b(T,-1,-1,-1))}x.r3JitTypeSourceSpan=F}}),lr=He({"src/language-html/print-preprocess.js"(x,w){Je();var{ParseSourceSpan:d}=gt(),{htmlTrim:b,getLeadingAndTrailingHtmlWhitespace:v,hasHtmlWhitespace:c,canHaveInterpolation:p,getNodeCssStyleDisplay:y,isDanglingSpaceSensitiveNode:C,isIndentationSensitiveNode:F,isLeadingSpaceSensitiveNode:M,isTrailingSpaceSensitiveNode:_,isWhitespaceSensitiveNode:I}=_e(),k=[j,te,W,H,re,R,ne,ue,B,Y];function T(O,P){for(let D of k)D(O,P);return O}function j(O){O.walk(P=>{if(P.type==="element"&&P.tagDefinition.ignoreFirstLf&&P.children.length>0&&P.children[0].type==="text"&&P.children[0].value[0]===`
129
- `){let D=P.children[0];D.value.length===1?P.removeChild(D):D.value=D.value.slice(1)}})}function te(O){let P=D=>D.type==="element"&&D.prev&&D.prev.type==="ieConditionalStartComment"&&D.prev.sourceSpan.end.offset===D.startSourceSpan.start.offset&&D.firstChild&&D.firstChild.type==="ieConditionalEndComment"&&D.firstChild.sourceSpan.start.offset===D.startSourceSpan.end.offset;O.walk(D=>{if(D.children)for(let $=0;$<D.children.length;$++){let z=D.children[$];if(!P(z))continue;let U=z.prev,se=z.firstChild;D.removeChild(U),$--;let ae=new d(U.sourceSpan.start,se.sourceSpan.end),de=new d(ae.start,z.sourceSpan.end);z.condition=U.condition,z.sourceSpan=de,z.startSourceSpan=ae,z.removeChild(se)}})}function ie(O,P,D){O.walk($=>{if($.children)for(let z=0;z<$.children.length;z++){let U=$.children[z];if(U.type!=="text"&&!P(U))continue;U.type!=="text"&&(U.type="text",U.value=D(U));let se=U.prev;!se||se.type!=="text"||(se.value+=U.value,se.sourceSpan=new d(se.sourceSpan.start,U.sourceSpan.end),$.removeChild(U),z--)}})}function W(O){return ie(O,P=>P.type==="cdata",P=>"<![CDATA[".concat(P.value,"]]>"))}function Y(O){let P=D=>D.type==="element"&&D.attrs.length===0&&D.children.length===1&&D.firstChild.type==="text"&&!c(D.children[0].value)&&!D.firstChild.hasLeadingSpaces&&!D.firstChild.hasTrailingSpaces&&D.isLeadingSpaceSensitive&&!D.hasLeadingSpaces&&D.isTrailingSpaceSensitive&&!D.hasTrailingSpaces&&D.prev&&D.prev.type==="text"&&D.next&&D.next.type==="text";O.walk(D=>{if(D.children)for(let $=0;$<D.children.length;$++){let z=D.children[$];if(!P(z))continue;let U=z.prev,se=z.next;U.value+="<".concat(z.rawName,">")+z.firstChild.value+"</".concat(z.rawName,">")+se.value,U.sourceSpan=new d(U.sourceSpan.start,se.sourceSpan.end),U.isTrailingSpaceSensitive=se.isTrailingSpaceSensitive,U.hasTrailingSpaces=se.hasTrailingSpaces,D.removeChild(z),$--,D.removeChild(se)}})}function H(O,P){if(P.parser==="html")return;let D=/{{(.+?)}}/s;O.walk($=>{if(p($))for(let z of $.children){if(z.type!=="text")continue;let U=z.sourceSpan.start,se=null,ae=z.value.split(D);for(let de=0;de<ae.length;de++,U=se){let xe=ae[de];if(de%2===0){se=U.moveBy(xe.length),xe.length>0&&$.insertChildBefore(z,{type:"text",value:xe,sourceSpan:new d(U,se)});continue}se=U.moveBy(xe.length+4),$.insertChildBefore(z,{type:"interpolation",sourceSpan:new d(U,se),children:xe.length===0?[]:[{type:"text",value:xe,sourceSpan:new d(U.moveBy(2),se.moveBy(-2))}]})}$.removeChild(z)}})}function re(O){O.walk(P=>{if(!P.children)return;if(P.children.length===0||P.children.length===1&&P.children[0].type==="text"&&b(P.children[0].value).length===0){P.hasDanglingSpaces=P.children.length>0,P.children=[];return}let D=I(P),$=F(P);if(!D)for(let z=0;z<P.children.length;z++){let U=P.children[z];if(U.type!=="text")continue;let{leadingWhitespace:se,text:ae,trailingWhitespace:de}=v(U.value),xe=U.prev,be=U.next;ae?(U.value=ae,U.sourceSpan=new d(U.sourceSpan.start.moveBy(se.length),U.sourceSpan.end.moveBy(-de.length)),se&&(xe&&(xe.hasTrailingSpaces=!0),U.hasLeadingSpaces=!0),de&&(U.hasTrailingSpaces=!0,be&&(be.hasLeadingSpaces=!0))):(P.removeChild(U),z--,(se||de)&&(xe&&(xe.hasTrailingSpaces=!0),be&&(be.hasLeadingSpaces=!0)))}P.isWhitespaceSensitive=D,P.isIndentationSensitive=$})}function ne(O){O.walk(P=>{P.isSelfClosing=!P.children||P.type==="element"&&(P.tagDefinition.isVoid||P.startSourceSpan===P.endSourceSpan)})}function ue(O,P){O.walk(D=>{D.type==="element"&&(D.hasHtmComponentClosingTag=D.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(P.originalText.slice(D.endSourceSpan.start.offset,D.endSourceSpan.end.offset)))})}function R(O,P){O.walk(D=>{D.cssDisplay=y(D,P)})}function B(O,P){O.walk(D=>{let{children:$}=D;if($){if($.length===0){D.isDanglingSpaceSensitive=C(D);return}for(let z of $)z.isLeadingSpaceSensitive=M(z,P),z.isTrailingSpaceSensitive=_(z,P);for(let z=0;z<$.length;z++){let U=$[z];U.isLeadingSpaceSensitive=(z===0||U.prev.isTrailingSpaceSensitive)&&U.isLeadingSpaceSensitive,U.isTrailingSpaceSensitive=(z===$.length-1||U.next.isLeadingSpaceSensitive)&&U.isTrailingSpaceSensitive}}})}w.exports=T}}),Or=He({"src/language-html/pragma.js"(x,w){Je();function d(v){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(v)}function b(v){return`<!-- @format -->
130
-
131
- `+v.replace(/^\s*\n/,"")}w.exports={hasPragma:d,insertPragma:b}}}),Rr=He({"src/language-html/loc.js"(x,w){Je();function d(v){return v.sourceSpan.start.offset}function b(v){return v.sourceSpan.end.offset}w.exports={locStart:d,locEnd:b}}}),on=He({"src/language-html/print/tag.js"(x,w){Je();var d=Ea(),{isNonEmptyArray:b}=jn(),{builders:{indent:v,join:c,line:p,softline:y,hardline:C},utils:{replaceTextEndOfLine:F}}=bn(),{locStart:M,locEnd:_}=Rr(),{isTextLikeNode:I,getLastDescendant:k,isPreLikeNode:T,hasPrettierIgnore:j,shouldPreserveContent:te}=_e();function ie(oe,Ie){return[oe.isSelfClosing?"":W(oe,Ie),Y(oe,Ie)]}function W(oe,Ie){return oe.lastChild&&P(oe.lastChild)?"":[H(oe,Ie),ne(oe,Ie)]}function Y(oe,Ie){return(oe.next?B(oe.next):O(oe.parent))?"":[ue(oe,Ie),re(oe,Ie)]}function H(oe,Ie){return O(oe)?ue(oe.lastChild,Ie):""}function re(oe,Ie){return P(oe)?ne(oe.parent,Ie):D(oe)?be(oe.next):""}function ne(oe,Ie){if(d(!oe.isSelfClosing),R(oe,Ie))return"";switch(oe.type){case"ieConditionalComment":return"<!";case"element":if(oe.hasHtmComponentClosingTag)return"<//";default:return"</".concat(oe.rawName)}}function ue(oe,Ie){if(R(oe,Ie))return"";switch(oe.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(oe.isSelfClosing)return"/>";default:return">"}}function R(oe,Ie){return!oe.isSelfClosing&&!oe.endSourceSpan&&(j(oe)||te(oe.parent,Ie))}function B(oe){return oe.prev&&oe.prev.type!=="docType"&&!I(oe.prev)&&oe.isLeadingSpaceSensitive&&!oe.hasLeadingSpaces}function O(oe){return oe.lastChild&&oe.lastChild.isTrailingSpaceSensitive&&!oe.lastChild.hasTrailingSpaces&&!I(k(oe.lastChild))&&!T(oe)}function P(oe){return!oe.next&&!oe.hasTrailingSpaces&&oe.isTrailingSpaceSensitive&&I(k(oe))}function D(oe){return oe.next&&!I(oe.next)&&I(oe)&&oe.isTrailingSpaceSensitive&&!oe.hasTrailingSpaces}function $(oe){let Ie=oe.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Ie?Ie[1]?Ie[1].split(/\s+/):!0:!1}function z(oe){return!oe.prev&&oe.isLeadingSpaceSensitive&&!oe.hasLeadingSpaces}function U(oe,Ie,rt){let Te=oe.getValue();if(!b(Te.attrs))return Te.isSelfClosing?" ":"";let Pe=Te.prev&&Te.prev.type==="comment"&&$(Te.prev.value),Ke=typeof Pe=="boolean"?()=>Pe:Array.isArray(Pe)?ut=>Pe.includes(ut.rawName):()=>!1,Ue=oe.map(ut=>{let Qe=ut.getValue();return Ke(Qe)?F(Ie.originalText.slice(M(Qe),_(Qe))):rt()},"attrs"),et=Te.type==="element"&&Te.fullName==="script"&&Te.attrs.length===1&&Te.attrs[0].fullName==="src"&&Te.children.length===0,it=Ie.singleAttributePerLine&&Te.attrs.length>1?C:p,Fe=[v([et?" ":p,c(it,Ue)])];return Te.firstChild&&z(Te.firstChild)||Te.isSelfClosing&&O(Te.parent)||et?Fe.push(Te.isSelfClosing?" ":""):Fe.push(Ie.bracketSameLine?Te.isSelfClosing?" ":"":Te.isSelfClosing?p:y),Fe}function se(oe){return oe.firstChild&&z(oe.firstChild)?"":je(oe)}function ae(oe,Ie,rt){let Te=oe.getValue();return[de(Te,Ie),U(oe,Ie,rt),Te.isSelfClosing?"":se(Te)]}function de(oe,Ie){return oe.prev&&D(oe.prev)?"":[xe(oe,Ie),be(oe)]}function xe(oe,Ie){return z(oe)?je(oe.parent):B(oe)?ue(oe.prev,Ie):""}function be(oe){switch(oe.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(oe.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(oe.condition)return"<!--[if ".concat(oe.condition,"]><!--><").concat(oe.rawName);default:return"<".concat(oe.rawName)}}function je(oe){switch(d(!oe.isSelfClosing),oe.type){case"ieConditionalComment":return"]>";case"element":if(oe.condition)return"><!--<![endif]-->";default:return">"}}w.exports={printClosingTag:ie,printClosingTagStart:W,printClosingTagStartMarker:ne,printClosingTagEndMarker:ue,printClosingTagSuffix:re,printClosingTagEnd:Y,needsToBorrowLastChildClosingTagEndMarker:O,needsToBorrowParentClosingTagStartMarker:P,needsToBorrowPrevClosingTagEndMarker:B,printOpeningTag:ae,printOpeningTagStart:de,printOpeningTagPrefix:xe,printOpeningTagStartMarker:be,printOpeningTagEndMarker:je,needsToBorrowNextOpeningTagStartMarker:D,needsToBorrowParentOpeningTagEndMarker:z}}}),pn=He({"node_modules/parse-srcset/src/parse-srcset.js"(x,w){Je(),function(d,b){typeof w=="object"&&w.exports?w.exports=b():d.parseSrcset=b()}(x,function(){return function(d,b){var v=b&&b.logger||console;function c(ue){return ue===" "||ue===" "||ue===`
132
- `||ue==="\f"||ue==="\r"}function p(ue){var R,B=ue.exec(d.substring(Y));if(B)return R=B[0],Y+=R.length,R}for(var y=d.length,C=/^[ \t\n\r\u000c]+/,F=/^[, \t\n\r\u000c]+/,M=/^[^ \t\n\r\u000c]+/,_=/[,]+$/,I=/^\d+$/,k=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,T,j,te,ie,W,Y=0,H=[];;){if(p(F),Y>=y)return H;T=p(M),j=[],T.slice(-1)===","?(T=T.replace(_,""),ne()):re()}function re(){for(p(C),te="",ie="in descriptor";;){if(W=d.charAt(Y),ie==="in descriptor")if(c(W))te&&(j.push(te),te="",ie="after descriptor");else if(W===","){Y+=1,te&&j.push(te),ne();return}else if(W==="(")te=te+W,ie="in parens";else if(W===""){te&&j.push(te),ne();return}else te=te+W;else if(ie==="in parens")if(W===")")te=te+W,ie="in descriptor";else if(W===""){j.push(te),ne();return}else te=te+W;else if(ie==="after descriptor"&&!c(W))if(W===""){ne();return}else ie="in descriptor",Y-=1;Y+=1}}function ne(){var ue=!1,R,B,O,P,D={},$,z,U,se,ae;for(P=0;P<j.length;P++)$=j[P],z=$[$.length-1],U=$.substring(0,$.length-1),se=parseInt(U,10),ae=parseFloat(U),I.test(U)&&z==="w"?((R||B)&&(ue=!0),se===0?ue=!0:R=se):k.test(U)&&z==="x"?((R||B||O)&&(ue=!0),ae<0?ue=!0:B=ae):I.test(U)&&z==="h"?((O||B)&&(ue=!0),se===0?ue=!0:O=se):ue=!0;ue?v&&v.error&&v.error("Invalid srcset descriptor found in '"+d+"' at '"+$+"'."):(D.url=T,R&&(D.w=R),B&&(D.d=B),O&&(D.h=O),H.push(D))}}})}}),wn=He({"src/language-html/syntax-attribute.js"(x,w){Je();var d=pn(),{builders:{ifBreak:b,join:v,line:c}}=bn();function p(C){let F=d(C,{logger:{error(re){throw new Error(re)}}}),M=F.some(re=>{let{w:ne}=re;return ne}),_=F.some(re=>{let{h:ne}=re;return ne}),I=F.some(re=>{let{d:ne}=re;return ne});if(M+_+I>1)throw new Error("Mixed descriptor in srcset is not supported");let k=M?"w":_?"h":"d",T=M?"w":_?"h":"x",j=re=>Math.max(...re),te=F.map(re=>re.url),ie=j(te.map(re=>re.length)),W=F.map(re=>re[k]).map(re=>re?re.toString():""),Y=W.map(re=>{let ne=re.indexOf(".");return ne===-1?re.length:ne}),H=j(Y);return v([",",c],te.map((re,ne)=>{let ue=[re],R=W[ne];if(R){let B=ie-re.length+1,O=H-Y[ne],P=" ".repeat(B+O);ue.push(b(P," "),R+T)}return ue}))}function y(C){return C.trim().split(/\s+/).join(" ")}w.exports={printImgSrcset:p,printClassNames:y}}}),cn=He({"src/language-html/syntax-vue.js"(x,w){Je();var{builders:{group:d}}=bn();function b(y,C){let{left:F,operator:M,right:_}=v(y);return[d(C("function _(".concat(F,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",M," ",C(_,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function v(y){let C=/(.*?)\s+(in|of)\s+(.*)/s,F=/,([^,\]}]*)(?:,([^,\]}]*))?$/,M=/^\(|\)$/g,_=y.match(C);if(!_)return;let I={};if(I.for=_[3].trim(),!I.for)return;let k=_[1].trim().replace(M,""),T=k.match(F);T?(I.alias=k.replace(F,""),I.iterator1=T[1].trim(),T[2]&&(I.iterator2=T[2].trim())):I.alias=k;let j=[I.alias,I.iterator1,I.iterator2];if(!j.some((te,ie)=>!te&&(ie===0||j.slice(ie+1).some(Boolean))))return{left:j.filter(Boolean).join(","),operator:_[2],right:I.for}}function c(y,C){return C("function _(".concat(y,") {}"),{parser:"babel",__isVueBindings:!0})}function p(y){let C=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,F=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,M=y.trim();return C.test(M)||F.test(M)}w.exports={isVueEventBindingExpression:p,printVueFor:b,printVueBindings:c}}}),fn=He({"src/language-html/get-node-content.js"(x,w){Je();var{needsToBorrowParentClosingTagStartMarker:d,printClosingTagStartMarker:b,needsToBorrowLastChildClosingTagEndMarker:v,printClosingTagEndMarker:c,needsToBorrowParentOpeningTagEndMarker:p,printOpeningTagEndMarker:y}=on();function C(F,M){let _=F.startSourceSpan.end.offset;F.firstChild&&p(F.firstChild)&&(_-=y(F).length);let I=F.endSourceSpan.start.offset;return F.lastChild&&d(F.lastChild)?I+=b(F,M).length:v(F)&&(I-=c(F.lastChild,M).length),M.originalText.slice(_,I)}w.exports=C}}),Dr=He({"src/language-html/embed.js"(x,w){Je();var{builders:{breakParent:d,group:b,hardline:v,indent:c,line:p,fill:y,softline:C},utils:{mapDoc:F,replaceTextEndOfLine:M}}=bn(),_=Ba(),{printClosingTag:I,printClosingTagSuffix:k,needsToBorrowPrevClosingTagEndMarker:T,printOpeningTagPrefix:j,printOpeningTag:te}=on(),{printImgSrcset:ie,printClassNames:W}=wn(),{printVueFor:Y,printVueBindings:H,isVueEventBindingExpression:re}=cn(),{isScriptLikeTag:ne,isVueNonHtmlBlock:ue,inferScriptParser:R,htmlTrimPreserveIndentation:B,dedentString:O,unescapeQuoteEntities:P,isVueSlotAttribute:D,isVueSfcBindingsAttribute:$,getTextValueParts:z}=_e(),U=fn();function se(de,xe,be){let je=et=>new RegExp(et.join("|")).test(de.fullName),oe=()=>P(de.value),Ie=!1,rt=(et,it)=>{let Fe=et.type==="NGRoot"?et.node.type==="NGMicrosyntax"&&et.node.body.length===1&&et.node.body[0].type==="NGMicrosyntaxExpression"?et.node.body[0].expression:et.node:et.type==="JsExpressionRoot"?et.node:et;Fe&&(Fe.type==="ObjectExpression"||Fe.type==="ArrayExpression"||it.parser==="__vue_expression"&&(Fe.type==="TemplateLiteral"||Fe.type==="StringLiteral"))&&(Ie=!0)},Te=et=>b(et),Pe=function(et){let it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return b([c([C,et]),it?C:""])},Ke=et=>Ie?Te(et):Pe(et),Ue=(et,it)=>xe(et,Object.assign({__onHtmlBindingRoot:rt,__embeddedInHtml:!0},it));if(de.fullName==="srcset"&&(de.parent.fullName==="img"||de.parent.fullName==="source"))return Pe(ie(oe()));if(de.fullName==="class"&&!be.parentParser){let et=oe();if(!et.includes("{{"))return W(et)}if(de.fullName==="style"&&!be.parentParser){let et=oe();if(!et.includes("{{"))return Pe(Ue(et,{parser:"css",__isHTMLStyleAttribute:!0}))}if(be.parser==="vue"){if(de.fullName==="v-for")return Y(oe(),Ue);if(D(de)||$(de,be))return H(oe(),Ue);let et=["^@","^v-on:"],it=["^:","^v-bind:"],Fe=["^v-"];if(je(et)){let ut=oe();return Ke(Ue(ut,{parser:re(ut)?"__js_expression":"__vue_event_binding"}))}if(je(it))return Ke(Ue(oe(),{parser:"__vue_expression"}));if(je(Fe))return Ke(Ue(oe(),{parser:"__js_expression"}))}if(be.parser==="angular"){let et=(Ct,tt)=>Ue(Ct,Object.assign(Object.assign({},tt),{},{trailingComma:"none"})),it=["^\\*"],Fe=["^\\(.+\\)$","^on-"],ut=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],Qe=["^i18n(-.+)?$"];if(je(Fe))return Ke(et(oe(),{parser:"__ng_action"}));if(je(ut))return Ke(et(oe(),{parser:"__ng_binding"}));if(je(Qe)){let Ct=oe().trim();return Pe(y(z(de,Ct)),!Ct.includes("@@"))}if(je(it))return Ke(et(oe(),{parser:"__ng_directive"}));let ar=/{{(.+?)}}/s,Ce=oe();if(ar.test(Ce)){let Ct=[];for(let[tt,Ye]of Ce.split(ar).entries())if(tt%2===0)Ct.push(M(Ye));else try{Ct.push(b(["{{",c([p,et(Ye,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),p,"}}"]))}catch{Ct.push("{{",M(Ye),"}}")}return b(Ct)}}return null}function ae(de,xe,be,je){let oe=de.getValue();switch(oe.type){case"element":{if(ne(oe)||oe.type==="interpolation")return;if(!oe.isSelfClosing&&ue(oe,je)){let Ie=R(oe,je);if(!Ie)return;let rt=U(oe,je),Te=/^\s*$/.test(rt),Pe="";return Te||(Pe=be(B(rt),{parser:Ie,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Te=Pe===""),[j(oe,je),b(te(de,je,xe)),Te?"":v,Pe,Te?"":v,I(oe,je),k(oe,je)]}break}case"text":{if(ne(oe.parent)){let Ie=R(oe.parent);if(Ie){let rt=Ie==="markdown"?O(oe.value.replace(/^[^\S\n]*\n/,"")):oe.value,Te={parser:Ie,__embeddedInHtml:!0};if(je.parser==="html"&&Ie==="babel"){let Pe="script",{attrMap:Ke}=oe.parent;Ke&&(Ke.type==="module"||Ke.type==="text/babel"&&Ke["data-type"]==="module")&&(Pe="module"),Te.__babelSourceType=Pe}return[d,j(oe,je),be(rt,Te,{stripTrailingHardline:!0}),k(oe,je)]}}else if(oe.parent.type==="interpolation"){let Ie={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return je.parser==="angular"?(Ie.parser="__ng_interpolation",Ie.trailingComma="none"):je.parser==="vue"?Ie.parser="__vue_expression":Ie.parser="__js_expression",[c([p,be(oe.value,Ie,{stripTrailingHardline:!0})]),oe.parent.next&&T(oe.parent.next)?" ":p]}break}case"attribute":{if(!oe.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(je.originalText.slice(oe.valueSpan.start.offset,oe.valueSpan.end.offset)))return[oe.rawName,"=",oe.value];if(je.parser==="lwc"&&/^{.*}$/s.test(je.originalText.slice(oe.valueSpan.start.offset,oe.valueSpan.end.offset)))return[oe.rawName,"=",oe.value];let Ie=se(oe,(rt,Te)=>be(rt,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Te),{stripTrailingHardline:!0}),je);if(Ie)return[oe.rawName,'="',b(F(Ie,rt=>typeof rt=="string"?rt.replace(/"/g,"&quot;"):rt)),'"'];break}case"front-matter":return _(oe,be)}}w.exports=ae}}),Yt=He({"src/language-html/print/children.js"(x,w){Je();var{builders:{breakParent:d,group:b,ifBreak:v,line:c,softline:p,hardline:y},utils:{replaceTextEndOfLine:C}}=bn(),{locStart:F,locEnd:M}=Rr(),{forceBreakChildren:_,forceNextEmptyLine:I,isTextLikeNode:k,hasPrettierIgnore:T,preferHardlineAsLeadingSpaces:j}=_e(),{printOpeningTagPrefix:te,needsToBorrowNextOpeningTagStartMarker:ie,printOpeningTagStartMarker:W,needsToBorrowPrevClosingTagEndMarker:Y,printClosingTagEndMarker:H,printClosingTagSuffix:re,needsToBorrowParentClosingTagStartMarker:ne}=on();function ue(O,P,D){let $=O.getValue();return T($)?[te($,P),...C(P.originalText.slice(F($)+($.prev&&ie($.prev)?W($).length:0),M($)-($.next&&Y($.next)?H($,P).length:0))),re($,P)]:D()}function R(O,P){return k(O)&&k(P)?O.isTrailingSpaceSensitive?O.hasTrailingSpaces?j(P)?y:c:"":j(P)?y:p:ie(O)&&(T(P)||P.firstChild||P.isSelfClosing||P.type==="element"&&P.attrs.length>0)||O.type==="element"&&O.isSelfClosing&&Y(P)?"":!P.isLeadingSpaceSensitive||j(P)||Y(P)&&O.lastChild&&ne(O.lastChild)&&O.lastChild.lastChild&&ne(O.lastChild.lastChild)?y:P.hasLeadingSpaces?c:p}function B(O,P,D){let $=O.getValue();if(_($))return[d,...O.map(U=>{let se=U.getValue(),ae=se.prev?R(se.prev,se):"";return[ae?[ae,I(se.prev)?y:""]:"",ue(U,P,D)]},"children")];let z=$.children.map(()=>Symbol(""));return O.map((U,se)=>{let ae=U.getValue();if(k(ae)){if(ae.prev&&k(ae.prev)){let rt=R(ae.prev,ae);if(rt)return I(ae.prev)?[y,y,ue(U,P,D)]:[rt,ue(U,P,D)]}return ue(U,P,D)}let de=[],xe=[],be=[],je=[],oe=ae.prev?R(ae.prev,ae):"",Ie=ae.next?R(ae,ae.next):"";return oe&&(I(ae.prev)?de.push(y,y):oe===y?de.push(y):k(ae.prev)?xe.push(oe):xe.push(v("",p,{groupId:z[se-1]}))),Ie&&(I(ae)?k(ae.next)&&je.push(y,y):Ie===y?k(ae.next)&&je.push(y):be.push(Ie)),[...de,b([...xe,b([ue(U,P,D),...be],{id:z[se]})]),...je]},"children")}w.exports={printChildren:B}}}),xr=He({"src/language-html/print/element.js"(x,w){Je();var{builders:{breakParent:d,dedentToRoot:b,group:v,ifBreak:c,indentIfBreak:p,indent:y,line:C,softline:F},utils:{replaceTextEndOfLine:M}}=bn(),_=fn(),{shouldPreserveContent:I,isScriptLikeTag:k,isVueCustomBlock:T,countParents:j,forceBreakContent:te}=_e(),{printOpeningTagPrefix:ie,printOpeningTag:W,printClosingTagSuffix:Y,printClosingTag:H,needsToBorrowPrevClosingTagEndMarker:re,needsToBorrowLastChildClosingTagEndMarker:ne}=on(),{printChildren:ue}=Yt();function R(B,O,P){let D=B.getValue();if(I(D,O))return[ie(D,O),v(W(B,O,P)),...M(_(D,O)),...H(D,O),Y(D,O)];let $=D.children.length===1&&D.firstChild.type==="interpolation"&&D.firstChild.isLeadingSpaceSensitive&&!D.firstChild.hasLeadingSpaces&&D.lastChild.isTrailingSpaceSensitive&&!D.lastChild.hasTrailingSpaces,z=Symbol("element-attr-group-id"),U=xe=>v([v(W(B,O,P),{id:z}),xe,H(D,O)]),se=xe=>$?p(xe,{groupId:z}):(k(D)||T(D,O))&&D.parent.type==="root"&&O.parser==="vue"&&!O.vueIndentScriptAndStyle?xe:y(xe),ae=()=>$?c(F,"",{groupId:z}):D.firstChild.hasLeadingSpaces&&D.firstChild.isLeadingSpaceSensitive?C:D.firstChild.type==="text"&&D.isWhitespaceSensitive&&D.isIndentationSensitive?b(F):F,de=()=>(D.next?re(D.next):ne(D.parent))?D.lastChild.hasTrailingSpaces&&D.lastChild.isTrailingSpaceSensitive?" ":"":$?c(F,"",{groupId:z}):D.lastChild.hasTrailingSpaces&&D.lastChild.isTrailingSpaceSensitive?C:(D.lastChild.type==="comment"||D.lastChild.type==="text"&&D.isWhitespaceSensitive&&D.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(O.tabWidth*j(B,xe=>xe.parent&&xe.parent.type!=="root"),"}$")).test(D.lastChild.value)?"":F;return D.children.length===0?U(D.hasDanglingSpaces&&D.isDanglingSpaceSensitive?C:""):U([te(D)?d:"",se([ae(),ue(B,O,P)]),de()])}w.exports={printElement:R}}}),Gt=He({"src/language-html/printer-html.js"(x,w){Je();var{builders:{fill:d,group:b,hardline:v,literalline:c},utils:{cleanDoc:p,getDocParts:y,isConcat:C,replaceTextEndOfLine:F}}=bn(),M=q(),{countChars:_,unescapeQuoteEntities:I,getTextValueParts:k}=_e(),T=lr(),{insertPragma:j}=Or(),{locStart:te,locEnd:ie}=Rr(),W=Dr(),{printClosingTagSuffix:Y,printClosingTagEnd:H,printOpeningTagPrefix:re,printOpeningTagStart:ne}=on(),{printElement:ue}=xr(),{printChildren:R}=Yt();function B(O,P,D){let $=O.getValue();switch($.type){case"front-matter":return F($.raw);case"root":return P.__onHtmlRoot&&P.__onHtmlRoot($),[b(R(O,P,D)),v];case"element":case"ieConditionalComment":return ue(O,P,D);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ne($),H($)];case"interpolation":return[ne($,P),...O.map(D,"children"),H($,P)];case"text":{if($.parent.type==="interpolation"){let U=/\n[^\S\n]*$/,se=U.test($.value),ae=se?$.value.replace(U,""):$.value;return[...F(ae),se?v:""]}let z=p([re($,P),...k($),Y($,P)]);return C(z)||z.type==="fill"?d(y(z)):z}case"docType":return[b([ne($,P)," ",$.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),H($,P)];case"comment":return[re($,P),...F(P.originalText.slice(te($),ie($)),c),Y($,P)];case"attribute":{if($.value===null)return $.rawName;let z=I($.value),U=_(z,"'"),se=_(z,'"'),ae=U<se?"'":'"';return[$.rawName,"=",ae,...F(ae==='"'?z.replace(/"/g,"&quot;"):z.replace(/'/g,"&apos;")),ae]}default:throw new Error("Unexpected node type ".concat($.type))}}w.exports={preprocess:T,print:B,insertPragma:j,massageAstNode:M,embed:W}}}),wi=He({"src/language-html/options.js"(x,w){Je();var d=Ei(),b="HTML";w.exports={bracketSameLine:d.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:b,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:d.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:b,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),ri=He({"src/language-html/parsers.js"(){Je()}}),oi=He({"node_modules/linguist-languages/data/HTML.json"(x,w){w.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),qn=He({"node_modules/linguist-languages/data/Vue.json"(x,w){w.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Rn=He({"src/language-html/index.js"(x,w){Je();var d=Yo(),b=Gt(),v=wi(),c=ri(),p=[d(oi(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),d(oi(),C=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...C.extensions,".mjml"]})),d(oi(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),d(qn(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],y={html:b};w.exports={languages:p,printers:y,options:v,parsers:c}}}),qr=He({"src/language-yaml/pragma.js"(x,w){Je();function d(c){return/^\s*@(?:prettier|format)\s*$/.test(c)}function b(c){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(c)}function v(c){return`# @format
133
-
134
- `.concat(c)}w.exports={isPragma:d,hasPragma:b,insertPragma:v}}}),Bn=He({"src/language-yaml/loc.js"(x,w){Je();function d(v){return v.position.start.offset}function b(v){return v.position.end.offset}w.exports={locStart:d,locEnd:b}}}),An=He({"src/language-yaml/embed.js"(x,w){Je();function d(b,v,c,p){if(b.getValue().type==="root"&&p.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(p.filepath))return c(p.originalText,Object.assign(Object.assign({},p),{},{parser:"json"}))}w.exports=d}}),Cn=He({"src/language-yaml/utils.js"(x,w){Je();var{getLast:d,isNonEmptyArray:b}=jn();function v(R,B){let O=0,P=R.stack.length-1;for(let D=0;D<P;D++){let $=R.stack[D];c($)&&B($)&&O++}return O}function c(R,B){return R&&typeof R.type=="string"&&(!B||B.includes(R.type))}function p(R,B,O){return B("children"in R?Object.assign(Object.assign({},R),{},{children:R.children.map(P=>p(P,B,R))}):R,O)}function y(R,B,O){Object.defineProperty(R,B,{get:O,enumerable:!1})}function C(R,B){let O=0,P=B.length;for(let D=R.position.end.offset-1;D<P;D++){let $=B[D];if($===`
135
- `&&O++,O===1&&/\S/.test($))return!1;if(O===2)return!0}return!1}function F(R){switch(R.getValue().type){case"tag":case"anchor":case"comment":return!1}let B=R.stack.length;for(let O=1;O<B;O++){let P=R.stack[O],D=R.stack[O-1];if(Array.isArray(D)&&typeof P=="number"&&P!==D.length-1)return!1}return!0}function M(R){return b(R.children)?M(d(R.children)):R}function _(R){return R.value.trim()==="prettier-ignore"}function I(R){let B=R.getValue();if(B.type==="documentBody"){let O=R.getParentNode();return Y(O.head)&&_(d(O.head.endComments))}return j(B)&&_(d(B.leadingComments))}function k(R){return!b(R.children)&&!T(R)}function T(R){return j(R)||te(R)||ie(R)||W(R)||Y(R)}function j(R){return R&&b(R.leadingComments)}function te(R){return R&&b(R.middleComments)}function ie(R){return R&&R.indicatorComment}function W(R){return R&&R.trailingComment}function Y(R){return R&&b(R.endComments)}function H(R){let B=[],O;for(let P of R.split(/( +)/))P!==" "?O===" "?B.push(P):B.push((B.pop()||"")+P):O===void 0&&B.unshift(""),O=P;return O===" "&&B.push((B.pop()||"")+" "),B[0]===""&&(B.shift(),B.unshift(" "+(B.shift()||""))),B}function re(R,B,O){let P=B.split(`
136
- `).map((D,$,z)=>$===0&&$===z.length-1?D:$!==0&&$!==z.length-1?D.trim():$===0?D.trimEnd():D.trimStart());return O.proseWrap==="preserve"?P.map(D=>D.length===0?[]:[D]):P.map(D=>D.length===0?[]:H(D)).reduce((D,$,z)=>z!==0&&P[z-1].length>0&&$.length>0&&!(R==="quoteDouble"&&d(d(D)).endsWith("\\"))?[...D.slice(0,-1),[...d(D),...$]]:[...D,$],[]).map(D=>O.proseWrap==="never"?[D.join(" ")]:D)}function ne(R,B){let{parentIndent:O,isLastDescendant:P,options:D}=B,$=R.position.start.line===R.position.end.line?"":D.originalText.slice(R.position.start.offset,R.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],z;if(R.indent===null){let ae=$.match(/^(?<leadingSpace> *)[^\n\r ]/m);z=ae?ae.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else z=R.indent-1+O;let U=$.split(`
137
- `).map(ae=>ae.slice(z));if(D.proseWrap==="preserve"||R.type==="blockLiteral")return se(U.map(ae=>ae.length===0?[]:[ae]));return se(U.map(ae=>ae.length===0?[]:H(ae)).reduce((ae,de,xe)=>xe!==0&&U[xe-1].length>0&&de.length>0&&!/^\s/.test(de[0])&&!/^\s|\s$/.test(d(ae))?[...ae.slice(0,-1),[...d(ae),...de]]:[...ae,de],[]).map(ae=>ae.reduce((de,xe)=>de.length>0&&/\s$/.test(d(de))?[...de.slice(0,-1),d(de)+" "+xe]:[...de,xe],[])).map(ae=>D.proseWrap==="never"?[ae.join(" ")]:ae));function se(ae){if(R.chomping==="keep")return d(ae).length===0?ae.slice(0,-1):ae;let de=0;for(let xe=ae.length-1;xe>=0&&ae[xe].length===0;xe--)de++;return de===0?ae:de>=2&&!P?ae.slice(0,-(de-1)):ae.slice(0,-de)}}function ue(R){if(!R)return!0;switch(R.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}w.exports={getLast:d,getAncestorCount:v,isNode:c,isEmptyNode:k,isInlineNode:ue,mapNode:p,defineShortcut:y,isNextLineEmpty:C,isLastDescendantNode:F,getBlockValueLineContents:ne,getFlowScalarLineContents:re,getLastDescendantNode:M,hasPrettierIgnore:I,hasLeadingComments:j,hasMiddleComments:te,hasIndicatorComment:ie,hasTrailingComment:W,hasEndComments:Y}}}),ht=He({"src/language-yaml/print-preprocess.js"(x,w){Je();var{defineShortcut:d,mapNode:b}=Cn();function v(p){return b(p,c)}function c(p){switch(p.type){case"document":d(p,"head",()=>p.children[0]),d(p,"body",()=>p.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":d(p,"content",()=>p.children[0]);break;case"mappingItem":case"flowMappingItem":d(p,"key",()=>p.children[0]),d(p,"value",()=>p.children[1]);break}return p}w.exports=v}}),_t=He({"src/language-yaml/print/misc.js"(x,w){Je();var{builders:{softline:d,align:b}}=bn(),{hasEndComments:v,isNextLineEmpty:c,isNode:p}=Cn(),y=new WeakMap;function C(_,I){let k=_.getValue(),T=_.stack[0],j;return y.has(T)?j=y.get(T):(j=new Set,y.set(T,j)),!j.has(k.position.end.line)&&(j.add(k.position.end.line),c(k,I)&&!F(_.getParentNode()))?d:""}function F(_){return v(_)&&!p(_,["documentHead","documentBody","flowMapping","flowSequence"])}function M(_,I){return b(" ".repeat(_),I)}w.exports={alignWithSpaces:M,shouldPrintEndComments:F,printNextEmptyLine:C}}}),Wt=He({"src/language-yaml/print/flow-mapping-sequence.js"(x,w){Je();var{builders:{ifBreak:d,line:b,softline:v,hardline:c,join:p}}=bn(),{isEmptyNode:y,getLast:C,hasEndComments:F}=Cn(),{printNextEmptyLine:M,alignWithSpaces:_}=_t();function I(T,j,te){let ie=T.getValue(),W=ie.type==="flowMapping",Y=W?"{":"[",H=W?"}":"]",re=v;W&&ie.children.length>0&&te.bracketSpacing&&(re=b);let ne=C(ie.children),ue=ne&&ne.type==="flowMappingItem"&&y(ne.key)&&y(ne.value);return[Y,_(te.tabWidth,[re,k(T,j,te),te.trailingComma==="none"?"":d(","),F(ie)?[c,p(c,T.map(j,"endComments"))]:""]),ue?"":re,H]}function k(T,j,te){let ie=T.getValue();return T.map((W,Y)=>[j(),Y===ie.children.length-1?"":[",",b,ie.children[Y].position.start.line!==ie.children[Y+1].position.start.line?M(W,te.originalText):""]],"children")}w.exports={printFlowMapping:I,printFlowSequence:I}}}),Pr=He({"src/language-yaml/print/mapping-item.js"(x,w){Je();var{builders:{conditionalGroup:d,group:b,hardline:v,ifBreak:c,join:p,line:y}}=bn(),{hasLeadingComments:C,hasMiddleComments:F,hasTrailingComment:M,hasEndComments:_,isNode:I,isEmptyNode:k,isInlineNode:T}=Cn(),{alignWithSpaces:j}=_t();function te(H,re,ne,ue,R){let{key:B,value:O}=H,P=k(B),D=k(O);if(P&&D)return": ";let $=ue("key"),z=W(H)?" ":"";if(D)return H.type==="flowMappingItem"&&re.type==="flowMapping"?$:H.type==="mappingItem"&&ie(B.content,R)&&!M(B.content)&&(!re.tag||re.tag.value!=="tag:yaml.org,2002:set")?[$,z,":"]:["? ",j(2,$)];let U=ue("value");if(P)return[": ",j(2,U)];if(C(O)||!T(B.content))return["? ",j(2,$),v,p("",ne.map(ue,"value","leadingComments").map(je=>[je,v])),": ",j(2,U)];if(Y(B.content)&&!C(B.content)&&!F(B.content)&&!M(B.content)&&!_(B)&&!C(O.content)&&!F(O.content)&&!_(O)&&ie(O.content,R))return[$,z,": ",U];let se=Symbol("mappingKey"),ae=b([c("? "),b(j(2,$),{id:se})]),de=[v,": ",j(2,U)],xe=[z,":"];C(O.content)||_(O)&&O.content&&!I(O.content,["mapping","sequence"])||re.type==="mapping"&&M(B.content)&&T(O.content)||I(O.content,["mapping","sequence"])&&O.content.tag===null&&O.content.anchor===null?xe.push(v):O.content&&xe.push(y),xe.push(U);let be=j(R.tabWidth,xe);return ie(B.content,R)&&!C(B.content)&&!F(B.content)&&!_(B)?d([[$,be]]):d([[ae,c(de,be,{groupId:se})]])}function ie(H,re){if(!H)return!0;switch(H.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(re.proseWrap==="preserve")return H.position.start.line===H.position.end.line;if(/\\$/m.test(re.originalText.slice(H.position.start.offset,H.position.end.offset)))return!1;switch(re.proseWrap){case"never":return!H.value.includes(`
138
- `);case"always":return!/[\n ]/.test(H.value);default:return!1}}function W(H){return H.key.content&&H.key.content.type==="alias"}function Y(H){if(!H)return!0;switch(H.type){case"plain":case"quoteDouble":case"quoteSingle":return H.position.start.line===H.position.end.line;case"alias":return!0;default:return!1}}w.exports=te}}),ft=He({"src/language-yaml/print/block.js"(x,w){Je();var{builders:{dedent:d,dedentToRoot:b,fill:v,hardline:c,join:p,line:y,literalline:C,markAsRoot:F},utils:{getDocParts:M}}=bn(),{getAncestorCount:_,getBlockValueLineContents:I,hasIndicatorComment:k,isLastDescendantNode:T,isNode:j}=Cn(),{alignWithSpaces:te}=_t();function ie(W,Y,H){let re=W.getValue(),ne=_(W,P=>j(P,["sequence","mapping"])),ue=T(W),R=[re.type==="blockFolded"?">":"|"];re.indent!==null&&R.push(re.indent.toString()),re.chomping!=="clip"&&R.push(re.chomping==="keep"?"+":"-"),k(re)&&R.push(" ",Y("indicatorComment"));let B=I(re,{parentIndent:ne,isLastDescendant:ue,options:H}),O=[];for(let[P,D]of B.entries())P===0&&O.push(c),O.push(v(M(p(y,D)))),P!==B.length-1?O.push(D.length===0?c:F(C)):re.chomping==="keep"&&ue&&O.push(b(D.length===0?c:C));return re.indent===null?R.push(d(te(H.tabWidth,O))):R.push(b(te(re.indent-1+ne,O))),R}w.exports=ie}}),rn=He({"src/language-yaml/printer-yaml.js"(x,w){Je();var{builders:{breakParent:d,fill:b,group:v,hardline:c,join:p,line:y,lineSuffix:C,literalline:F},utils:{getDocParts:M,replaceTextEndOfLine:_}}=bn(),{isPreviousLineEmpty:I}=jn(),{insertPragma:k,isPragma:T}=qr(),{locStart:j}=Bn(),te=An(),{getFlowScalarLineContents:ie,getLastDescendantNode:W,hasLeadingComments:Y,hasMiddleComments:H,hasTrailingComment:re,hasEndComments:ne,hasPrettierIgnore:ue,isLastDescendantNode:R,isNode:B,isInlineNode:O}=Cn(),P=ht(),{alignWithSpaces:D,printNextEmptyLine:$,shouldPrintEndComments:z}=_t(),{printFlowMapping:U,printFlowSequence:se}=Wt(),ae=Pr(),de=ft();function xe(Pe,Ke,Ue){let et=Pe.getValue(),it=[];et.type!=="mappingValue"&&Y(et)&&it.push([p(c,Pe.map(Ue,"leadingComments")),c]);let{tag:Fe,anchor:ut}=et;Fe&&it.push(Ue("tag")),Fe&&ut&&it.push(" "),ut&&it.push(Ue("anchor"));let Qe="";B(et,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!R(Pe)&&(Qe=$(Pe,Ke.originalText)),(Fe||ut)&&(B(et,["sequence","mapping"])&&!H(et)?it.push(c):it.push(" ")),H(et)&&it.push([et.middleComments.length===1?"":c,p(c,Pe.map(Ue,"middleComments")),c]);let ar=Pe.getParentNode();return ue(Pe)?it.push(_(Ke.originalText.slice(et.position.start.offset,et.position.end.offset).trimEnd(),F)):it.push(v(be(et,ar,Pe,Ke,Ue))),re(et)&&!B(et,["document","documentHead"])&&it.push(C([et.type==="mappingValue"&&!et.content?"":" ",ar.type==="mappingKey"&&Pe.getParentNode(2).type==="mapping"&&O(et)?"":d,Ue("trailingComment")])),z(et)&&it.push(D(et.type==="sequenceItem"?2:0,[c,p(c,Pe.map(Ce=>[I(Ke.originalText,Ce.getValue(),j)?c:"",Ue()],"endComments"))])),it.push(Qe),it}function be(Pe,Ke,Ue,et,it){switch(Pe.type){case"root":{let{children:Fe}=Pe,ut=[];Ue.each((ar,Ce)=>{let Ct=Fe[Ce],tt=Fe[Ce+1];Ce!==0&&ut.push(c),ut.push(it()),oe(Ct,tt)?(ut.push(c,"..."),re(Ct)&&ut.push(" ",it("trailingComment"))):tt&&!re(tt.head)&&ut.push(c,"---")},"children");let Qe=W(Pe);return(!B(Qe,["blockLiteral","blockFolded"])||Qe.chomping!=="keep")&&ut.push(c),ut}case"document":{let Fe=Ke.children[Ue.getName()+1],ut=[];return Ie(Pe,Fe,Ke,et)==="head"&&((Pe.head.children.length>0||Pe.head.endComments.length>0)&&ut.push(it("head")),re(Pe.head)?ut.push(["---"," ",it(["head","trailingComment"])]):ut.push("---")),je(Pe)&&ut.push(it("body")),p(c,ut)}case"documentHead":return p(c,[...Ue.map(it,"children"),...Ue.map(it,"endComments")]);case"documentBody":{let{children:Fe,endComments:ut}=Pe,Qe="";if(Fe.length>0&&ut.length>0){let ar=W(Pe);B(ar,["blockFolded","blockLiteral"])?ar.chomping!=="keep"&&(Qe=[c,c]):Qe=c}return[p(c,Ue.map(it,"children")),Qe,p(c,Ue.map(it,"endComments"))]}case"directive":return["%",p(" ",[Pe.name,...Pe.parameters])];case"comment":return["#",Pe.value];case"alias":return["*",Pe.value];case"tag":return et.originalText.slice(Pe.position.start.offset,Pe.position.end.offset);case"anchor":return["&",Pe.value];case"plain":return rt(Pe.type,et.originalText.slice(Pe.position.start.offset,Pe.position.end.offset),et);case"quoteDouble":case"quoteSingle":{let Fe="'",ut='"',Qe=et.originalText.slice(Pe.position.start.offset+1,Pe.position.end.offset-1);if(Pe.type==="quoteSingle"&&Qe.includes("\\")||Pe.type==="quoteDouble"&&/\\[^"]/.test(Qe)){let Ce=Pe.type==="quoteDouble"?ut:Fe;return[Ce,rt(Pe.type,Qe,et),Ce]}if(Qe.includes(ut))return[Fe,rt(Pe.type,Pe.type==="quoteDouble"?Qe.replace(/\\"/g,ut).replace(/'/g,Fe.repeat(2)):Qe,et),Fe];if(Qe.includes(Fe))return[ut,rt(Pe.type,Pe.type==="quoteSingle"?Qe.replace(/''/g,Fe):Qe,et),ut];let ar=et.singleQuote?Fe:ut;return[ar,rt(Pe.type,Qe,et),ar]}case"blockFolded":case"blockLiteral":return de(Ue,it,et);case"mapping":case"sequence":return p(c,Ue.map(it,"children"));case"sequenceItem":return["- ",D(2,Pe.content?it("content"):"")];case"mappingKey":case"mappingValue":return Pe.content?it("content"):"";case"mappingItem":case"flowMappingItem":return ae(Pe,Ke,Ue,it,et);case"flowMapping":return U(Ue,it,et);case"flowSequence":return se(Ue,it,et);case"flowSequenceItem":return it("content");default:throw new Error("Unexpected node type ".concat(Pe.type))}}function je(Pe){return Pe.body.children.length>0||ne(Pe.body)}function oe(Pe,Ke){return re(Pe)||Ke&&(Ke.head.children.length>0||ne(Ke.head))}function Ie(Pe,Ke,Ue,et){return Ue.children[0]===Pe&&/---(?:\s|$)/.test(et.originalText.slice(j(Pe),j(Pe)+4))||Pe.head.children.length>0||ne(Pe.head)||re(Pe.head)?"head":oe(Pe,Ke)?!1:Ke?"root":!1}function rt(Pe,Ke,Ue){let et=ie(Pe,Ke,Ue);return p(c,et.map(it=>b(M(p(y,it)))))}function Te(Pe,Ke){if(B(Ke))switch(delete Ke.position,Ke.type){case"comment":if(T(Ke.value))return null;break;case"quoteDouble":case"quoteSingle":Ke.type="quote";break}}w.exports={preprocess:P,embed:te,print:xe,massageAstNode:Te,insertPragma:k}}}),$r=He({"src/language-yaml/options.js"(x,w){Je();var d=Ei();w.exports={bracketSpacing:d.bracketSpacing,singleQuote:d.singleQuote,proseWrap:d.proseWrap}}}),Li=He({"src/language-yaml/parsers.js"(){Je()}}),_i=He({"node_modules/linguist-languages/data/YAML.json"(x,w){w.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","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),pi=He({"src/language-yaml/index.js"(x,w){Je();var d=Yo(),b=rn(),v=$r(),c=Li(),p=[d(_i(),y=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...y.filenames.filter(C=>C!=="yarn.lock"),".prettierrc",".stylelintrc"]}))];w.exports={languages:p,printers:{yaml:b},options:v,parsers:c}}}),Fo=He({"src/languages.js"(x,w){Je(),w.exports=[al(),gu(),Ns(),m(),Q(),Rn(),pi()]}});Je();var{version:Xi}=xo(),yi=_l(),{getSupportInfo:so}=$a(),Ri=qu(),ki=Fo(),Qi=bn();function Bs(x){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var d=arguments.length,b=new Array(d),v=0;v<d;v++)b[v]=arguments[v];let c=b[w]||{},p=c.plugins||[];return b[w]=Object.assign(Object.assign({},c),{},{plugins:[...ki,...Array.isArray(p)?p:Object.values(p)]}),x(...b)}}var yu=Bs(yi.formatWithCursor);mt.exports={formatWithCursor:yu,format(x,w){return yu(x,w).formatted},check(x,w){let{formatted:d}=yu(x,w);return d===x},doc:Qi,getSupportInfo:Bs(so,0),version:Xi,util:Ri,__debug:{parse:Bs(yi.parse),formatAST:Bs(yi.formatAST),formatDoc:Bs(yi.formatDoc),printToDoc:Bs(yi.printToDoc),printDocToString:Bs(yi.printDocToString)}}});return mi()})})(gg);var jv=ag(gg.exports),mg={exports:{}};(function(r,s){(function(a){r.exports=a()})(function(){var a=(Hr,Lt)=>()=>(Lt||Hr((Lt={exports:{}}).exports,Lt),Lt.exports),l=a((Hr,Lt)=>{var Rt=function(vt){return vt&&vt.Math==Math&&vt};Lt.exports=Rt(typeof globalThis=="object"&&globalThis)||Rt(typeof window=="object"&&window)||Rt(typeof self=="object"&&self)||Rt(typeof Yc=="object"&&Yc)||function(){return this}()||Function("return this")()}),f=a((Hr,Lt)=>{Lt.exports=function(Rt){try{return!!Rt()}catch{return!0}}}),A=a((Hr,Lt)=>{var Rt=f();Lt.exports=!Rt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),K=a((Hr,Lt)=>{var Rt=f();Lt.exports=!Rt(function(){var vt=function(){}.bind();return typeof vt!="function"||vt.hasOwnProperty("prototype")})}),le=a((Hr,Lt)=>{var Rt=K(),vt=Function.prototype.call;Lt.exports=Rt?vt.bind(vt):function(){return vt.apply(vt,arguments)}}),ce=a(Hr=>{var Lt={}.propertyIsEnumerable,Rt=Object.getOwnPropertyDescriptor,vt=Rt&&!Lt.call({1:2},1);Hr.f=vt?function(Zt){var kt=Rt(this,Zt);return!!kt&&kt.enumerable}:Lt}),Se=a((Hr,Lt)=>{Lt.exports=function(Rt,vt){return{enumerable:!(Rt&1),configurable:!(Rt&2),writable:!(Rt&4),value:vt}}}),Ne=a((Hr,Lt)=>{var Rt=K(),vt=Function.prototype,Zt=vt.bind,kt=vt.call,br=Rt&&Zt.bind(kt,kt);Lt.exports=Rt?function(dt){return dt&&br(dt)}:function(dt){return dt&&function(){return kt.apply(dt,arguments)}}}),Re=a((Hr,Lt)=>{var Rt=Ne(),vt=Rt({}.toString),Zt=Rt("".slice);Lt.exports=function(kt){return Zt(vt(kt),8,-1)}}),qe=a((Hr,Lt)=>{var Rt=l(),vt=Ne(),Zt=f(),kt=Re(),br=Rt.Object,dt=vt("".split);Lt.exports=Zt(function(){return!br("z").propertyIsEnumerable(0)})?function(Kr){return kt(Kr)=="String"?dt(Kr,""):br(Kr)}:br}),ot=a((Hr,Lt)=>{var Rt=l(),vt=Rt.TypeError;Lt.exports=function(Zt){if(Zt==null)throw vt("Can't call method on "+Zt);return Zt}}),At=a((Hr,Lt)=>{var Rt=qe(),vt=ot();Lt.exports=function(Zt){return Rt(vt(Zt))}}),tr=a((Hr,Lt)=>{Lt.exports=function(Rt){return typeof Rt=="function"}}),rr=a((Hr,Lt)=>{var Rt=tr();Lt.exports=function(vt){return typeof vt=="object"?vt!==null:Rt(vt)}}),st=a((Hr,Lt)=>{var Rt=l(),vt=tr(),Zt=function(kt){return vt(kt)?kt:void 0};Lt.exports=function(kt,br){return arguments.length<2?Zt(Rt[kt]):Rt[kt]&&Rt[kt][br]}}),yt=a((Hr,Lt)=>{var Rt=Ne();Lt.exports=Rt({}.isPrototypeOf)}),Dt=a((Hr,Lt)=>{var Rt=st();Lt.exports=Rt("navigator","userAgent")||""}),Ht=a((Hr,Lt)=>{var Rt=l(),vt=Dt(),Zt=Rt.process,kt=Rt.Deno,br=Zt&&Zt.versions||kt&&kt.version,dt=br&&br.v8,Kr,Zr;dt&&(Kr=dt.split("."),Zr=Kr[0]>0&&Kr[0]<4?1:+(Kr[0]+Kr[1])),!Zr&&vt&&(Kr=vt.match(/Edge\/(\d+)/),(!Kr||Kr[1]>=74)&&(Kr=vt.match(/Chrome\/(\d+)/),Kr&&(Zr=+Kr[1]))),Lt.exports=Zr}),dr=a((Hr,Lt)=>{var Rt=Ht(),vt=f();Lt.exports=!!Object.getOwnPropertySymbols&&!vt(function(){var Zt=Symbol();return!String(Zt)||!(Object(Zt)instanceof Symbol)||!Symbol.sham&&Rt&&Rt<41})}),jr=a((Hr,Lt)=>{var Rt=dr();Lt.exports=Rt&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Ur=a((Hr,Lt)=>{var Rt=l(),vt=st(),Zt=tr(),kt=yt(),br=jr(),dt=Rt.Object;Lt.exports=br?function(Kr){return typeof Kr=="symbol"}:function(Kr){var Zr=vt("Symbol");return Zt(Zr)&&kt(Zr.prototype,dt(Kr))}}),_n=a((Hr,Lt)=>{var Rt=l(),vt=Rt.String;Lt.exports=function(Zt){try{return vt(Zt)}catch{return"Object"}}}),En=a((Hr,Lt)=>{var Rt=l(),vt=tr(),Zt=_n(),kt=Rt.TypeError;Lt.exports=function(br){if(vt(br))return br;throw kt(Zt(br)+" is not a function")}}),Wr=a((Hr,Lt)=>{var Rt=En();Lt.exports=function(vt,Zt){var kt=vt[Zt];return kt==null?void 0:Rt(kt)}}),_r=a((Hr,Lt)=>{var Rt=l(),vt=le(),Zt=tr(),kt=rr(),br=Rt.TypeError;Lt.exports=function(dt,Kr){var Zr,Tn;if(Kr==="string"&&Zt(Zr=dt.toString)&&!kt(Tn=vt(Zr,dt))||Zt(Zr=dt.valueOf)&&!kt(Tn=vt(Zr,dt))||Kr!=="string"&&Zt(Zr=dt.toString)&&!kt(Tn=vt(Zr,dt)))return Tn;throw br("Can't convert object to primitive value")}}),xn=a((Hr,Lt)=>{Lt.exports=!1}),Mt=a((Hr,Lt)=>{var Rt=l(),vt=Object.defineProperty;Lt.exports=function(Zt,kt){try{vt(Rt,Zt,{value:kt,configurable:!0,writable:!0})}catch{Rt[Zt]=kt}return kt}}),Er=a((Hr,Lt)=>{var Rt=l(),vt=Mt(),Zt="__core-js_shared__",kt=Rt[Zt]||vt(Zt,{});Lt.exports=kt}),ge=a((Hr,Lt)=>{var Rt=xn(),vt=Er();(Lt.exports=function(Zt,kt){return vt[Zt]||(vt[Zt]=kt!==void 0?kt:{})})("versions",[]).push({version:"3.21.1",mode:Rt?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),ur=a((Hr,Lt)=>{var Rt=l(),vt=ot(),Zt=Rt.Object;Lt.exports=function(kt){return Zt(vt(kt))}}),zt=a((Hr,Lt)=>{var Rt=Ne(),vt=ur(),Zt=Rt({}.hasOwnProperty);Lt.exports=Object.hasOwn||function(kt,br){return Zt(vt(kt),br)}}),Fr=a((Hr,Lt)=>{var Rt=Ne(),vt=0,Zt=Math.random(),kt=Rt(1 .toString);Lt.exports=function(br){return"Symbol("+(br===void 0?"":br)+")_"+kt(++vt+Zt,36)}}),un=a((Hr,Lt)=>{var Rt=l(),vt=ge(),Zt=zt(),kt=Fr(),br=dr(),dt=jr(),Kr=vt("wks"),Zr=Rt.Symbol,Tn=Zr&&Zr.for,xt=dt?Zr:Zr&&Zr.withoutSetter||kt;Lt.exports=function(vn){if(!Zt(Kr,vn)||!(br||typeof Kr[vn]=="string")){var On="Symbol."+vn;br&&Zt(Zr,vn)?Kr[vn]=Zr[vn]:dt&&Tn?Kr[vn]=Tn(On):Kr[vn]=xt(On)}return Kr[vn]}}),Jn=a((Hr,Lt)=>{var Rt=l(),vt=le(),Zt=rr(),kt=Ur(),br=Wr(),dt=_r(),Kr=un(),Zr=Rt.TypeError,Tn=Kr("toPrimitive");Lt.exports=function(xt,vn){if(!Zt(xt)||kt(xt))return xt;var On=br(xt,Tn),Un;if(On){if(vn===void 0&&(vn="default"),Un=vt(On,xt,vn),!Zt(Un)||kt(Un))return Un;throw Zr("Can't convert object to primitive value")}return vn===void 0&&(vn="number"),dt(xt,vn)}}),fi=a((Hr,Lt)=>{var Rt=Jn(),vt=Ur();Lt.exports=function(Zt){var kt=Rt(Zt,"string");return vt(kt)?kt:kt+""}}),di=a((Hr,Lt)=>{var Rt=l(),vt=rr(),Zt=Rt.document,kt=vt(Zt)&&vt(Zt.createElement);Lt.exports=function(br){return kt?Zt.createElement(br):{}}}),Wn=a((Hr,Lt)=>{var Rt=A(),vt=f(),Zt=di();Lt.exports=!Rt&&!vt(function(){return Object.defineProperty(Zt("div"),"a",{get:function(){return 7}}).a!=7})}),hi=a(Hr=>{var Lt=A(),Rt=le(),vt=ce(),Zt=Se(),kt=At(),br=fi(),dt=zt(),Kr=Wn(),Zr=Object.getOwnPropertyDescriptor;Hr.f=Lt?Zr:function(Tn,xt){if(Tn=kt(Tn),xt=br(xt),Kr)try{return Zr(Tn,xt)}catch{}if(dt(Tn,xt))return Zt(!Rt(vt.f,Tn,xt),Tn[xt])}}),Ut=a((Hr,Lt)=>{var Rt=A(),vt=f();Lt.exports=Rt&&vt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),sr=a((Hr,Lt)=>{var Rt=l(),vt=rr(),Zt=Rt.String,kt=Rt.TypeError;Lt.exports=function(br){if(vt(br))return br;throw kt(Zt(br)+" is not an object")}}),Ot=a(Hr=>{var Lt=l(),Rt=A(),vt=Wn(),Zt=Ut(),kt=sr(),br=fi(),dt=Lt.TypeError,Kr=Object.defineProperty,Zr=Object.getOwnPropertyDescriptor,Tn="enumerable",xt="configurable",vn="writable";Hr.f=Rt?Zt?function(On,Un,Ln){if(kt(On),Un=br(Un),kt(Ln),typeof On=="function"&&Un==="prototype"&&"value"in Ln&&vn in Ln&&!Ln[vn]){var ti=Zr(On,Un);ti&&ti[vn]&&(On[Un]=Ln.value,Ln={configurable:xt in Ln?Ln[xt]:ti[xt],enumerable:Tn in Ln?Ln[Tn]:ti[Tn],writable:!1})}return Kr(On,Un,Ln)}:Kr:function(On,Un,Ln){if(kt(On),Un=br(Un),kt(Ln),vt)try{return Kr(On,Un,Ln)}catch{}if("get"in Ln||"set"in Ln)throw dt("Accessors not supported");return"value"in Ln&&(On[Un]=Ln.value),On}}),Cr=a((Hr,Lt)=>{var Rt=A(),vt=Ot(),Zt=Se();Lt.exports=Rt?function(kt,br,dt){return vt.f(kt,br,Zt(1,dt))}:function(kt,br,dt){return kt[br]=dt,kt}}),ln=a((Hr,Lt)=>{var Rt=Ne(),vt=tr(),Zt=Er(),kt=Rt(Function.toString);vt(Zt.inspectSource)||(Zt.inspectSource=function(br){return kt(br)}),Lt.exports=Zt.inspectSource}),Gr=a((Hr,Lt)=>{var Rt=l(),vt=tr(),Zt=ln(),kt=Rt.WeakMap;Lt.exports=vt(kt)&&/native code/.test(Zt(kt))}),Lr=a((Hr,Lt)=>{var Rt=ge(),vt=Fr(),Zt=Rt("keys");Lt.exports=function(kt){return Zt[kt]||(Zt[kt]=vt(kt))}}),sn=a((Hr,Lt)=>{Lt.exports={}}),We=a((Hr,Lt)=>{var Rt=Gr(),vt=l(),Zt=Ne(),kt=rr(),br=Cr(),dt=zt(),Kr=Er(),Zr=Lr(),Tn=sn(),xt="Object already initialized",vn=vt.TypeError,On=vt.WeakMap,Un,Ln,ti,mi=function(Vt){return ti(Vt)?Ln(Vt):Un(Vt,{})},gr=function(Vt){return function(or){var yr;if(!kt(or)||(yr=Ln(or)).type!==Vt)throw vn("Incompatible receiver, "+Vt+" required");return yr}};Rt||Kr.state?(mt=Kr.state||(Kr.state=new On),pt=Zt(mt.get),wt=Zt(mt.has),Pt=Zt(mt.set),Un=function(Vt,or){if(wt(mt,Vt))throw new vn(xt);return or.facade=Vt,Pt(mt,Vt,or),or},Ln=function(Vt){return pt(mt,Vt)||{}},ti=function(Vt){return wt(mt,Vt)}):(Bt=Zr("state"),Tn[Bt]=!0,Un=function(Vt,or){if(dt(Vt,Bt))throw new vn(xt);return or.facade=Vt,br(Vt,Bt,or),or},Ln=function(Vt){return dt(Vt,Bt)?Vt[Bt]:{}},ti=function(Vt){return dt(Vt,Bt)});var mt,pt,wt,Pt,Bt;Lt.exports={set:Un,get:Ln,has:ti,enforce:mi,getterFor:gr}}),at=a((Hr,Lt)=>{var Rt=A(),vt=zt(),Zt=Function.prototype,kt=Rt&&Object.getOwnPropertyDescriptor,br=vt(Zt,"name"),dt=br&&function(){}.name==="something",Kr=br&&(!Rt||Rt&&kt(Zt,"name").configurable);Lt.exports={EXISTS:br,PROPER:dt,CONFIGURABLE:Kr}}),jt=a((Hr,Lt)=>{var Rt=l(),vt=tr(),Zt=zt(),kt=Cr(),br=Mt(),dt=ln(),Kr=We(),Zr=at().CONFIGURABLE,Tn=Kr.get,xt=Kr.enforce,vn=String(String).split("String");(Lt.exports=function(On,Un,Ln,ti){var mi=ti?!!ti.unsafe:!1,gr=ti?!!ti.enumerable:!1,mt=ti?!!ti.noTargetGet:!1,pt=ti&&ti.name!==void 0?ti.name:Un,wt;if(vt(Ln)&&(String(pt).slice(0,7)==="Symbol("&&(pt="["+String(pt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Zt(Ln,"name")||Zr&&Ln.name!==pt)&&kt(Ln,"name",pt),wt=xt(Ln),wt.source||(wt.source=vn.join(typeof pt=="string"?pt:""))),On===Rt){gr?On[Un]=Ln:br(Un,Ln);return}else mi?!mt&&On[Un]&&(gr=!0):delete On[Un];gr?On[Un]=Ln:kt(On,Un,Ln)})(Function.prototype,"toString",function(){return vt(this)&&Tn(this).source||dt(this)})}),Ft=a((Hr,Lt)=>{var Rt=Math.ceil,vt=Math.floor;Lt.exports=function(Zt){var kt=+Zt;return kt!==kt||kt===0?0:(kt>0?vt:Rt)(kt)}}),nr=a((Hr,Lt)=>{var Rt=Ft(),vt=Math.max,Zt=Math.min;Lt.exports=function(kt,br){var dt=Rt(kt);return dt<0?vt(dt+br,0):Zt(dt,br)}}),vr=a((Hr,Lt)=>{var Rt=Ft(),vt=Math.min;Lt.exports=function(Zt){return Zt>0?vt(Rt(Zt),9007199254740991):0}}),wr=a((Hr,Lt)=>{var Rt=vr();Lt.exports=function(vt){return Rt(vt.length)}}),kr=a((Hr,Lt)=>{var Rt=At(),vt=nr(),Zt=wr(),kt=function(br){return function(dt,Kr,Zr){var Tn=Rt(dt),xt=Zt(Tn),vn=vt(Zr,xt),On;if(br&&Kr!=Kr){for(;xt>vn;)if(On=Tn[vn++],On!=On)return!0}else for(;xt>vn;vn++)if((br||vn in Tn)&&Tn[vn]===Kr)return br||vn||0;return!br&&-1}};Lt.exports={includes:kt(!0),indexOf:kt(!1)}}),mr=a((Hr,Lt)=>{var Rt=Ne(),vt=zt(),Zt=At(),kt=kr().indexOf,br=sn(),dt=Rt([].push);Lt.exports=function(Kr,Zr){var Tn=Zt(Kr),xt=0,vn=[],On;for(On in Tn)!vt(br,On)&&vt(Tn,On)&&dt(vn,On);for(;Zr.length>xt;)vt(Tn,On=Zr[xt++])&&(~kt(vn,On)||dt(vn,On));return vn}}),ze=a((Hr,Lt)=>{Lt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),It=a(Hr=>{var Lt=mr(),Rt=ze(),vt=Rt.concat("length","prototype");Hr.f=Object.getOwnPropertyNames||function(Zt){return Lt(Zt,vt)}}),ct=a(Hr=>{Hr.f=Object.getOwnPropertySymbols}),Ir=a((Hr,Lt)=>{var Rt=st(),vt=Ne(),Zt=It(),kt=ct(),br=sr(),dt=vt([].concat);Lt.exports=Rt("Reflect","ownKeys")||function(Kr){var Zr=Zt.f(br(Kr)),Tn=kt.f;return Tn?dt(Zr,Tn(Kr)):Zr}}),yn=a((Hr,Lt)=>{var Rt=zt(),vt=Ir(),Zt=hi(),kt=Ot();Lt.exports=function(br,dt,Kr){for(var Zr=vt(dt),Tn=kt.f,xt=Zt.f,vn=0;vn<Zr.length;vn++){var On=Zr[vn];!Rt(br,On)&&!(Kr&&Rt(Kr,On))&&Tn(br,On,xt(dt,On))}}}),Gn=a((Hr,Lt)=>{var Rt=f(),vt=tr(),Zt=/#|\.prototype\./,kt=function(Tn,xt){var vn=dt[br(Tn)];return vn==Zr?!0:vn==Kr?!1:vt(xt)?Rt(xt):!!xt},br=kt.normalize=function(Tn){return String(Tn).replace(Zt,".").toLowerCase()},dt=kt.data={},Kr=kt.NATIVE="N",Zr=kt.POLYFILL="P";Lt.exports=kt}),Xn=a((Hr,Lt)=>{var Rt=l(),vt=hi().f,Zt=Cr(),kt=jt(),br=Mt(),dt=yn(),Kr=Gn();Lt.exports=function(Zr,Tn){var xt=Zr.target,vn=Zr.global,On=Zr.stat,Un,Ln,ti,mi,gr,mt;if(vn?Ln=Rt:On?Ln=Rt[xt]||br(xt,{}):Ln=(Rt[xt]||{}).prototype,Ln)for(ti in Tn){if(gr=Tn[ti],Zr.noTargetGet?(mt=vt(Ln,ti),mi=mt&&mt.value):mi=Ln[ti],Un=Kr(vn?ti:xt+(On?".":"#")+ti,Zr.forced),!Un&&mi!==void 0){if(typeof gr==typeof mi)continue;dt(gr,mi)}(Zr.sham||mi&&mi.sham)&&Zt(gr,"sham",!0),kt(Ln,ti,gr,Zr)}}}),Qn=a(()=>{var Hr=Xn(),Lt=l();Hr({global:!0},{globalThis:Lt})}),Pn=a(()=>{Qn()}),bi=a((Hr,Lt)=>{Pn();var Rt=Object.defineProperty,vt=Object.getOwnPropertyDescriptor,Zt=Object.getOwnPropertyNames,kt=Object.prototype.hasOwnProperty,br=(m,ee)=>function(){return m&&(ee=(0,m[Zt(m)[0]])(m=0)),ee},dt=(m,ee)=>function(){return ee||(0,m[Zt(m)[0]])((ee={exports:{}}).exports,ee),ee.exports},Kr=(m,ee)=>{for(var X in ee)Rt(m,X,{get:ee[X],enumerable:!0})},Zr=(m,ee,X,G)=>{if(ee&&typeof ee=="object"||typeof ee=="function")for(let Z of Zt(ee))!kt.call(m,Z)&&Z!==X&&Rt(m,Z,{get:()=>ee[Z],enumerable:!(G=vt(ee,Z))||G.enumerable});return m},Tn=m=>Zr(Rt({},"__esModule",{value:!0}),m),xt=br({"<define:process>"(){}}),vn=dt({"src/common/parser-create-error.js"(m,ee){xt();function X(G,Z){let he=new SyntaxError(G+" ("+Z.start.line+":"+Z.start.column+")");return he.loc=Z,he}ee.exports=X}}),On=dt({"src/utils/get-last.js"(m,ee){xt();var X=G=>G[G.length-1];ee.exports=X}}),Un=dt({"src/utils/front-matter/parse.js"(m,ee){xt();var X=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function G(Z){let he=Z.match(X);if(!he)return{content:Z};let{startDelimiter:me,language:we,value:pe="",endDelimiter:ye}=he.groups,E=we.trim()||"yaml";if(me==="+++"&&(E="toml"),E!=="yaml"&&me!==ye)return{content:Z};let[h]=he;return{frontMatter:{type:"front-matter",lang:E,value:pe,startDelimiter:me,endDelimiter:ye,raw:h.replace(/\n$/,"")},content:h.replace(/[^\n]/g," ")+Z.slice(h.length)}}ee.exports=G}}),Ln={};Kr(Ln,{EOL:()=>Dn,arch:()=>Br,cpus:()=>Pt,default:()=>nn,endianness:()=>ti,freemem:()=>pt,getNetworkInterfaces:()=>yr,hostname:()=>mi,loadavg:()=>gr,networkInterfaces:()=>or,platform:()=>zr,release:()=>Vt,tmpDir:()=>Yr,tmpdir:()=>tn,totalmem:()=>wt,type:()=>Bt,uptime:()=>mt});function ti(){if(typeof en>"u"){var m=new ArrayBuffer(2),ee=new Uint8Array(m),X=new Uint16Array(m);if(ee[0]=1,ee[1]=2,X[0]===258)en="BE";else if(X[0]===513)en="LE";else throw new Error("unable to figure out endianess")}return en}function mi(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function gr(){return[]}function mt(){return 0}function pt(){return Number.MAX_VALUE}function wt(){return Number.MAX_VALUE}function Pt(){return[]}function Bt(){return"Browser"}function Vt(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function or(){}function yr(){}function Br(){return"javascript"}function zr(){return"browser"}function Yr(){return"/tmp"}var en,tn,Dn,nn,gn=br({"node-modules-polyfills:os"(){xt(),tn=Yr,Dn=`
139
- `,nn={EOL:Dn,tmpdir:tn,tmpDir:Yr,networkInterfaces:or,getNetworkInterfaces:yr,release:Vt,type:Bt,cpus:Pt,totalmem:wt,freemem:pt,uptime:mt,loadavg:gr,hostname:mi,endianness:ti}}}),ai=dt({"node-modules-polyfills-commonjs:os"(m,ee){xt();var X=(gn(),Tn(Ln));if(X&&X.default){ee.exports=X.default;for(let G in X)ee.exports[G]=X[G]}else X&&(ee.exports=X)}}),ni=dt({"node_modules/detect-newline/index.js"(m,ee){xt();var X=G=>{if(typeof G!="string")throw new TypeError("Expected a string");let Z=G.match(/(?:\r?\n)/g)||[];if(Z.length===0)return;let he=Z.filter(we=>we===`\r
140
- `).length,me=Z.length-he;return he>me?`\r
141
- `:`
142
- `};ee.exports=X,ee.exports.graceful=G=>typeof G=="string"&&X(G)||`
143
- `}}),He=dt({"node_modules/jest-docblock/build/index.js"(m){xt(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=q,m.parse=ve,m.parseWithComments=_e,m.print=ke,m.strip=Ee;function ee(){let Xe=ai();return ee=function(){return Xe},Xe}function X(){let Xe=G(ni());return X=function(){return Xe},Xe}function G(Xe){return Xe&&Xe.__esModule?Xe:{default:Xe}}var Z=/\*\/$/,he=/^\/\*\*/,me=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,we=/(^|\s+)\/\/([^\r\n]*)/g,pe=/^(\r?\n)+/,ye=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,E=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,Q=[];function q(Xe){let nt=Xe.match(me);return nt?nt[0].trimLeft():""}function Ee(Xe){let nt=Xe.match(me);return nt&&nt[0]?Xe.substring(nt[0].length):Xe}function ve(Xe){return _e(Xe).pragmas}function _e(Xe){let nt=(0,X().default)(Xe)||ee().EOL;Xe=Xe.replace(he,"").replace(Z,"").replace(h,"$1");let gt="";for(;gt!==Xe;)gt=Xe,Xe=Xe.replace(ye,"".concat(nt,"$1 $2").concat(nt));Xe=Xe.replace(pe,"").trimRight();let lr=Object.create(null),Or=Xe.replace(E,"").replace(pe,"").trimRight(),Rr;for(;Rr=E.exec(Xe);){let on=Rr[2].replace(we,"");typeof lr[Rr[1]]=="string"||Array.isArray(lr[Rr[1]])?lr[Rr[1]]=Q.concat(lr[Rr[1]],on):lr[Rr[1]]=on}return{comments:Or,pragmas:lr}}function ke(Xe){let{comments:nt="",pragmas:gt={}}=Xe,lr=(0,X().default)(nt)||ee().EOL,Or="/**",Rr=" *",on=" */",pn=Object.keys(gt),wn=pn.map(fn=>Ae(fn,gt[fn])).reduce((fn,Dr)=>fn.concat(Dr),[]).map(fn=>Rr+" "+fn+lr).join("");if(!nt){if(pn.length===0)return"";if(pn.length===1&&!Array.isArray(gt[pn[0]])){let fn=gt[pn[0]];return"".concat(Or," ").concat(Ae(pn[0],fn)[0]).concat(on)}}let cn=nt.split(lr).map(fn=>"".concat(Rr," ").concat(fn)).join(lr)+lr;return Or+lr+(nt?cn:"")+(nt&&pn.length?Rr+lr:"")+wn+on}function Ae(Xe,nt){return Q.concat(nt).map(gt=>"@".concat(Xe," ").concat(gt).trim())}}}),$n=dt({"src/common/end-of-line.js"(m,ee){xt();function X(me){let we=me.indexOf("\r");return we>=0?me.charAt(we+1)===`
144
- `?"crlf":"cr":"lf"}function G(me){switch(me){case"cr":return"\r";case"crlf":return`\r
145
- `;default:return`
146
- `}}function Z(me,we){let pe;switch(we){case`
147
- `:pe=/\n/g;break;case"\r":pe=/\r/g;break;case`\r
148
- `:pe=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(we),"."))}let ye=me.match(pe);return ye?ye.length:0}function he(me){return me.replace(/\r\n?/g,`
149
- `)}ee.exports={guessEndOfLine:X,convertEndOfLineToChars:G,countEndOfLineChars:Z,normalizeEndOfLine:he}}}),Jr=dt({"src/language-js/utils/get-shebang.js"(m,ee){xt();function X(G){if(!G.startsWith("#!"))return"";let Z=G.indexOf(`
150
- `);return Z===-1?G:G.slice(0,Z)}ee.exports=X}}),xi=dt({"src/language-js/pragma.js"(m,ee){xt();var{parseWithComments:X,strip:G,extract:Z,print:he}=He(),{normalizeEndOfLine:me}=$n(),we=Jr();function pe(h){let Q=we(h);Q&&(h=h.slice(Q.length+1));let q=Z(h),{pragmas:Ee,comments:ve}=X(q);return{shebang:Q,text:h,pragmas:Ee,comments:ve}}function ye(h){let Q=Object.keys(pe(h).pragmas);return Q.includes("prettier")||Q.includes("format")}function E(h){let{shebang:Q,text:q,pragmas:Ee,comments:ve}=pe(h),_e=G(q),ke=he({pragmas:Object.assign({format:""},Ee),comments:ve.trimStart()});return(Q?"".concat(Q,`
151
- `):"")+me(ke)+(_e.startsWith(`
152
- `)?`
153
- `:`
154
-
155
- `)+_e}ee.exports={hasPragma:ye,insertPragma:E}}}),Ni=dt({"src/language-css/pragma.js"(m,ee){xt();var X=xi(),G=Un();function Z(me){return X.hasPragma(G(me).content)}function he(me){let{frontMatter:we,content:pe}=G(me);return(we?we.raw+`
156
-
157
- `:"")+X.insertPragma(pe)}ee.exports={hasPragma:Z,insertPragma:he}}}),Hn=dt({"src/utils/text/skip.js"(m,ee){xt();function X(we){return(pe,ye,E)=>{let h=E&&E.backwards;if(ye===!1)return!1;let{length:Q}=pe,q=ye;for(;q>=0&&q<Q;){let Ee=pe.charAt(q);if(we instanceof RegExp){if(!we.test(Ee))return q}else if(!we.includes(Ee))return q;h?q--:q++}return q===-1||q===Q?q:!1}}var G=X(/\s/),Z=X(" "),he=X(",; "),me=X(/[^\n\r]/);ee.exports={skipWhitespace:G,skipSpaces:Z,skipToLineEnd:he,skipEverythingButNewLine:me}}}),Nn=dt({"src/utils/line-column-to-index.js"(m,ee){xt(),ee.exports=function(X,G){let Z=0;for(let he=0;he<X.line-1;++he)Z=G.indexOf(`
158
- `,Z)+1;return Z+X.column}}}),Je=dt({"src/language-css/loc.js"(m,ee){xt();var{skipEverythingButNewLine:X}=Hn(),G=On(),Z=Nn();function he(q,Ee){return typeof q.sourceIndex=="number"?q.sourceIndex:q.source?Z(q.source.start,Ee)-1:null}function me(q,Ee){if(q.type==="css-comment"&&q.inline)return X(Ee,q.source.startOffset);let ve=q.nodes&&G(q.nodes);return ve&&q.source&&!q.source.end&&(q=ve),q.source&&q.source.end?Z(q.source.end,Ee):null}function we(q,Ee){q.source&&(q.source.startOffset=he(q,Ee),q.source.endOffset=me(q,Ee));for(let ve in q){let _e=q[ve];ve==="source"||!_e||typeof _e!="object"||(_e.type==="value-root"||_e.type==="value-unknown"?pe(_e,ye(q),_e.text||_e.value):we(_e,Ee))}}function pe(q,Ee,ve){q.source&&(q.source.startOffset=he(q,ve)+Ee,q.source.endOffset=me(q,ve)+Ee);for(let _e in q){let ke=q[_e];_e==="source"||!ke||typeof ke!="object"||pe(ke,Ee,ve)}}function ye(q){let Ee=q.source.startOffset;return typeof q.prop=="string"&&(Ee+=q.prop.length),q.type==="css-atrule"&&typeof q.name=="string"&&(Ee+=1+q.name.length+q.raws.afterName.match(/^\s*:?\s*/)[0].length),q.type!=="css-atrule"&&q.raws&&typeof q.raws.between=="string"&&(Ee+=q.raws.between.length),Ee}function E(q){let Ee="initial",ve="initial",_e,ke=!1,Ae=[];for(let Xe=0;Xe<q.length;Xe++){let nt=q[Xe];switch(Ee){case"initial":if(nt==="'"){Ee="single-quotes";continue}if(nt==='"'){Ee="double-quotes";continue}if((nt==="u"||nt==="U")&&q.slice(Xe,Xe+4).toLowerCase()==="url("){Ee="url",Xe+=3;continue}if(nt==="*"&&q[Xe-1]==="/"){Ee="comment-block";continue}if(nt==="/"&&q[Xe-1]==="/"){Ee="comment-inline",_e=Xe-1;continue}continue;case"single-quotes":if(nt==="'"&&q[Xe-1]!=="\\"&&(Ee=ve,ve="initial"),nt===`
159
- `||nt==="\r")return q;continue;case"double-quotes":if(nt==='"'&&q[Xe-1]!=="\\"&&(Ee=ve,ve="initial"),nt===`
160
- `||nt==="\r")return q;continue;case"url":if(nt===")"&&(Ee="initial"),nt===`
161
- `||nt==="\r")return q;if(nt==="'"){Ee="single-quotes",ve="url";continue}if(nt==='"'){Ee="double-quotes",ve="url";continue}continue;case"comment-block":nt==="/"&&q[Xe-1]==="*"&&(Ee="initial");continue;case"comment-inline":(nt==='"'||nt==="'"||nt==="*")&&(ke=!0),(nt===`
162
- `||nt==="\r")&&(ke&&Ae.push([_e,Xe]),Ee="initial",ke=!1);continue}}for(let[Xe,nt]of Ae)q=q.slice(0,Xe)+q.slice(Xe,nt).replace(/["'*]/g," ")+q.slice(nt);return q}function h(q){return q.source.startOffset}function Q(q){return q.source.endOffset}ee.exports={locStart:h,locEnd:Q,calculateLoc:we,replaceQuotesInInlineComments:E}}}),xo=dt({"src/utils/is-non-empty-array.js"(m,ee){xt();function X(G){return Array.isArray(G)&&G.length>0}ee.exports=X}}),Ji=dt({"src/language-css/utils/has-scss-interpolation.js"(m,ee){xt();var X=xo();function G(Z){if(X(Z)){for(let he=Z.length-1;he>0;he--)if(Z[he].type==="word"&&Z[he].value==="{"&&Z[he-1].type==="word"&&Z[he-1].value.endsWith("#"))return!0}return!1}ee.exports=G}}),V=dt({"src/language-css/utils/has-string-or-function.js"(m,ee){xt();var X=xo();function G(Z){if(X(Z)){for(let he=0;he<Z.length;he++)if(Z[he].type==="string"||Z[he].type==="func")return!0}return!1}ee.exports=G}}),Be=dt({"src/language-css/utils/is-less-parser.js"(m,ee){xt();function X(G){return G.parser==="css"||G.parser==="less"}ee.exports=X}}),er=dt({"src/language-css/utils/is-scss.js"(m,ee){xt();function X(G,Z){return G==="less"||G==="scss"?G==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(Z)}ee.exports=X}}),fr=dt({"src/language-css/utils/is-scss-nested-property-node.js"(m,ee){xt();function X(G){return G.selector?G.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}ee.exports=X}}),mn=dt({"src/language-css/utils/is-scss-variable.js"(m,ee){xt();function X(G){return Boolean(G&&G.type==="word"&&G.value.startsWith("$"))}ee.exports=X}}),Yn=dt({"src/language-css/utils/stringify-node.js"(m,ee){xt();function X(G){if(G.groups){let h=G.open&&G.open.value?G.open.value:"",Q=G.groups.reduce((Ee,ve,_e)=>Ee+X(ve)+(G.groups[0].type==="comma_group"&&_e!==G.groups.length-1?",":""),""),q=G.close&&G.close.value?G.close.value:"";return h+Q+q}let Z=G.raws&&G.raws.before?G.raws.before:"",he=G.raws&&G.raws.quote?G.raws.quote:"",me=G.type==="atword"?"@":"",we=G.value?G.value:"",pe=G.unit?G.unit:"",ye=G.group?X(G.group):"",E=G.raws&&G.raws.after?G.raws.after:"";return Z+he+me+we+he+pe+ye+E}ee.exports=X}}),ii=dt({"src/language-css/utils/is-module-rule-name.js"(m,ee){xt();var X=new Set(["import","use","forward"]);function G(Z){return X.has(Z)}ee.exports=G}}),Qr=dt({"node_modules/postcss-values-parser/lib/node.js"(m,ee){xt();var X=function(G,Z){let he=new G.constructor;for(let me in G){if(!G.hasOwnProperty(me))continue;let we=G[me],pe=typeof we;me==="parent"&&pe==="object"?Z&&(he[me]=Z):me==="source"?he[me]=we:we instanceof Array?he[me]=we.map(ye=>X(ye,he)):me!=="before"&&me!=="after"&&me!=="between"&&me!=="semicolon"&&(pe==="object"&&we!==null&&(we=X(we)),he[me]=we)}return he};ee.exports=class{constructor(G){G=G||{},this.raws={before:"",after:""};for(let Z in G)this[Z]=G[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(G){G=G||{};let Z=X(this);for(let he in G)Z[he]=G[he];return Z}cloneBefore(G){G=G||{};let Z=this.clone(G);return this.parent.insertBefore(this,Z),Z}cloneAfter(G){G=G||{};let Z=this.clone(G);return this.parent.insertAfter(this,Z),Z}replaceWith(){let G=Array.prototype.slice.call(arguments);if(this.parent){for(let Z of G)this.parent.insertBefore(this,Z);this.remove()}return this}moveTo(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.append(this),this}moveBefore(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.parent.insertBefore(G,this),this}moveAfter(G){return this.cleanRaws(this.root()===G.root()),this.remove(),G.parent.insertAfter(G,this),this}next(){let G=this.parent.index(this);return this.parent.nodes[G+1]}prev(){let G=this.parent.index(this);return this.parent.nodes[G-1]}toJSON(){let G={};for(let Z in this){if(!this.hasOwnProperty(Z)||Z==="parent")continue;let he=this[Z];he instanceof Array?G[Z]=he.map(me=>typeof me=="object"&&me.toJSON?me.toJSON():me):typeof he=="object"&&he.toJSON?G[Z]=he.toJSON():G[Z]=he}return G}root(){let G=this;for(;G.parent;)G=G.parent;return G}cleanRaws(G){delete this.raws.before,delete this.raws.after,G||delete this.raws.between}positionInside(G){let Z=this.toString(),he=this.source.start.column,me=this.source.start.line;for(let we=0;we<G;we++)Z[we]===`
163
- `?(he=1,me+=1):he+=1;return{line:me,column:he}}positionBy(G){let Z=this.source.start;if(Object(G).index)Z=this.positionInside(G.index);else if(Object(G).word){let he=this.toString().indexOf(G.word);he!==-1&&(Z=this.positionInside(he))}return Z}}}}),Ci=dt({"node_modules/postcss-values-parser/lib/container.js"(m,ee){xt();var X=Qr(),G=class extends X{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 he=this.lastEach,me,we;if(this.indexes[he]=0,!!this.nodes){for(;this.indexes[he]<this.nodes.length&&(me=this.indexes[he],we=Z(this.nodes[me],me),we!==!1);)this.indexes[he]+=1;return delete this.indexes[he],we}}walk(Z){return this.each((he,me)=>{let we=Z(he,me);return we!==!1&&he.walk&&(we=he.walk(Z)),we})}walkType(Z,he){if(!Z||!he)throw new Error("Parameters {type} and {callback} are required.");let me=typeof Z=="function";return this.walk((we,pe)=>{if(me&&we instanceof Z||!me&&we.type===Z)return he.call(this,we,pe)})}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 he of this.nodes)he.cleanRaws(Z)}insertAfter(Z,he){let me=this.index(Z),we;this.nodes.splice(me+1,0,he);for(let pe in this.indexes)we=this.indexes[pe],me<=we&&(this.indexes[pe]=we+this.nodes.length);return this}insertBefore(Z,he){let me=this.index(Z),we;this.nodes.splice(me,0,he);for(let pe in this.indexes)we=this.indexes[pe],me<=we&&(this.indexes[pe]=we+this.nodes.length);return this}removeChild(Z){Z=this.index(Z),this.nodes[Z].parent=void 0,this.nodes.splice(Z,1);let he;for(let me in this.indexes)he=this.indexes[me],he>=Z&&(this.indexes[me]=he-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}};G.registerWalker=Z=>{let he="walk"+Z.name;he.lastIndexOf("s")!==he.length-1&&(he+="s"),!G.prototype[he]&&(G.prototype[he]=function(me){return this.walkType(Z,me)})},ee.exports=G}}),bn=dt({"node_modules/postcss-values-parser/lib/root.js"(m,ee){xt();var X=Ci();ee.exports=class extends X{constructor(G){super(G),this.type="root"}}}}),pa=dt({"node_modules/postcss-values-parser/lib/value.js"(m,ee){xt();var X=Ci();ee.exports=class extends X{constructor(G){super(G),this.type="value",this.unbalanced=0}}}}),Co=dt({"node_modules/postcss-values-parser/lib/atword.js"(m,ee){xt();var X=Ci(),G=class extends X{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("")}};X.registerWalker(G),ee.exports=G}}),Ha=dt({"node_modules/postcss-values-parser/lib/colon.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="colon"}};X.registerWalker(Z),ee.exports=Z}}),Nu=dt({"node_modules/postcss-values-parser/lib/comma.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="comma"}};X.registerWalker(Z),ee.exports=Z}}),Zs=dt({"node_modules/postcss-values-parser/lib/comment.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="comment",this.inline=Object(he).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};X.registerWalker(Z),ee.exports=Z}}),Ua=dt({"node_modules/postcss-values-parser/lib/function.js"(m,ee){xt();var X=Ci(),G=class extends X{constructor(Z){super(Z),this.type="func",this.unbalanced=-1}};X.registerWalker(G),ee.exports=G}}),Bu=dt({"node_modules/postcss-values-parser/lib/number.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="number",this.unit=Object(he).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};X.registerWalker(Z),ee.exports=Z}}),ea=dt({"node_modules/postcss-values-parser/lib/operator.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="operator"}};X.registerWalker(Z),ee.exports=Z}}),_u=dt({"node_modules/postcss-values-parser/lib/paren.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="paren",this.parenType=""}};X.registerWalker(Z),ee.exports=Z}}),Ou=dt({"node_modules/postcss-values-parser/lib/string.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="string"}toString(){let he=this.quoted?this.raws.quote:"";return[this.raws.before,he,this.value+"",he,this.raws.after].join("")}};X.registerWalker(Z),ee.exports=Z}}),Pu=dt({"node_modules/postcss-values-parser/lib/word.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="word"}};X.registerWalker(Z),ee.exports=Z}}),ju=dt({"node_modules/postcss-values-parser/lib/unicode-range.js"(m,ee){xt();var X=Ci(),G=Qr(),Z=class extends G{constructor(he){super(he),this.type="unicode-range"}};X.registerWalker(Z),ee.exports=Z}});function El(){throw new Error("setTimeout has not been defined")}function $a(){throw new Error("clearTimeout has not been defined")}function fa(m){if(No===setTimeout)return setTimeout(m,0);if((No===El||!No)&&setTimeout)return No=setTimeout,setTimeout(m,0);try{return No(m,0)}catch{try{return No.call(null,m,0)}catch{return No.call(this,m,0)}}}function Eo(m){if(Bo===clearTimeout)return clearTimeout(m);if((Bo===$a||!Bo)&&clearTimeout)return Bo=clearTimeout,clearTimeout(m);try{return Bo(m)}catch{try{return Bo.call(null,m)}catch{return Bo.call(this,m)}}}function wl(){!_o||!Oo||(_o=!1,Oo.length?io=Oo.concat(io):_s=-1,io.length&&Iu())}function Iu(){if(!_o){var m=fa(wl);_o=!0;for(var ee=io.length;ee;){for(Oo=io,io=[];++_s<ee;)Oo&&Oo[_s].run();_s=-1,ee=io.length}Oo=null,_o=!1,Eo(m)}}function da(m){var ee=new Array(arguments.length-1);if(arguments.length>1)for(var X=1;X<arguments.length;X++)ee[X-1]=arguments[X];io.push(new ta(m,ee)),io.length===1&&!_o&&fa(Iu)}function ta(m,ee){this.fun=m,this.array=ee}function jn(){}function Al(m){throw new Error("process.binding is not supported")}function Sl(){return"/"}function Va(m){throw new Error("process.chdir is not supported")}function ha(){return 0}function Ga(m){var ee=Nl.call(js)*.001,X=Math.floor(ee),G=Math.floor(ee%1*1e9);return m&&(X=X-m[0],G=G-m[1],G<0&&(X--,G+=1e9)),[X,G]}function Fl(){var m=new Date,ee=m-Xa;return ee/1e3}var No,Bo,io,_o,Oo,_s,ra,Os,qa,Ka,fo,kl,Mu,ys,Po,is,Ja,Go,ga,Ya,Ps,Tl,js,Nl,Xa,Qa,na,mc=br({"node-modules-polyfills:process"(){xt(),No=El,Bo=$a,typeof globalThis.setTimeout=="function"&&(No=setTimeout),typeof globalThis.clearTimeout=="function"&&(Bo=clearTimeout),io=[],_o=!1,_s=-1,ta.prototype.run=function(){this.fun.apply(null,this.array)},ra="browser",Os="browser",qa=!0,Ka={},fo=[],kl="",Mu={},ys={},Po={},is=jn,Ja=jn,Go=jn,ga=jn,Ya=jn,Ps=jn,Tl=jn,js=globalThis.performance||{},Nl=js.now||js.mozNow||js.msNow||js.oNow||js.webkitNow||function(){return new Date().getTime()},Xa=new Date,Qa={nextTick:da,title:ra,browser:qa,env:Ka,argv:fo,version:kl,versions:Mu,on:is,addListener:Ja,once:Go,off:ga,removeListener:Ya,removeAllListeners:Ps,emit:Tl,binding:Al,cwd:Sl,chdir:Va,umask:ha,hrtime:Ga,platform:Os,release:ys,config:Po,uptime:Fl},na=Qa}}),Is,Lu,yc=br({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){xt(),typeof Object.create=="function"?Is=function(m,ee){m.super_=ee,m.prototype=Object.create(ee.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}})}:Is=function(m,ee){m.super_=ee;var X=function(){};X.prototype=ee.prototype,m.prototype=new X,m.prototype.constructor=m},Lu=Is}}),Ru={};Kr(Ru,{_extend:()=>Uu,debuglog:()=>ma,default:()=>su,deprecate:()=>eu,format:()=>Za,inherits:()=>Lu,inspect:()=>eo,isArray:()=>nu,isBoolean:()=>va,isBuffer:()=>Mo,isDate:()=>wo,isError:()=>Ko,isFunction:()=>Ls,isNull:()=>Ms,isNullOrUndefined:()=>iu,isNumber:()=>Wu,isObject:()=>Io,isPrimitive:()=>ou,isRegExp:()=>ba,isString:()=>Da,isSymbol:()=>qo,isUndefined:()=>jo,log:()=>Hu});function Za(m){if(!Da(m)){for(var ee=[],X=0;X<arguments.length;X++)ee.push(eo(arguments[X]));return ee.join(" ")}for(var X=1,G=arguments,Z=G.length,he=String(m).replace(ji,function(pe){if(pe==="%%")return"%";if(X>=Z)return pe;switch(pe){case"%s":return String(G[X++]);case"%d":return Number(G[X++]);case"%j":try{return JSON.stringify(G[X++])}catch{return"[Circular]"}default:return pe}}),me=G[X];X<Z;me=G[++X])Ms(me)||!Io(me)?he+=" "+me:he+=" "+eo(me);return he}function eu(m,ee){if(jo(globalThis.process))return function(){return eu(m,ee).apply(this,arguments)};if(na.noDeprecation===!0)return m;var X=!1;function G(){if(!X){if(na.throwDeprecation)throw new Error(ee);na.traceDeprecation?console.trace(ee):console.error(ee),X=!0}return m.apply(this,arguments)}return G}function ma(m){if(jo(Ao)&&(Ao=na.env.NODE_DEBUG||""),m=m.toUpperCase(),!Jo[m])if(new RegExp("\\b"+m+"\\b","i").test(Ao)){var ee=0;Jo[m]=function(){var X=Za.apply(null,arguments);console.error("%s %d: %s",m,ee,X)}}else Jo[m]=function(){};return Jo[m]}function eo(m,ee){var X={seen:[],stylize:tu};return arguments.length>=3&&(X.depth=arguments[2]),arguments.length>=4&&(X.colors=arguments[3]),va(ee)?X.showHidden=ee:ee&&Uu(X,ee),jo(X.showHidden)&&(X.showHidden=!1),jo(X.depth)&&(X.depth=2),jo(X.colors)&&(X.colors=!1),jo(X.customInspect)&&(X.customInspect=!0),X.colors&&(X.stylize=vc),to(X,m,X.depth)}function vc(m,ee){var X=eo.styles[ee];return X?"\x1B["+eo.colors[X][0]+"m"+m+"\x1B["+eo.colors[X][1]+"m":m}function tu(m,ee){return m}function ru(m){var ee={};return m.forEach(function(X,G){ee[X]=!0}),ee}function to(m,ee,X){if(m.customInspect&&ee&&Ls(ee.inspect)&&ee.inspect!==eo&&!(ee.constructor&&ee.constructor.prototype===ee)){var G=ee.inspect(X,m);return Da(G)||(G=to(m,G,X)),G}var Z=Pi(m,ee);if(Z)return Z;var he=Object.keys(ee),me=ru(he);if(m.showHidden&&(he=Object.getOwnPropertyNames(ee)),Ko(ee)&&(he.indexOf("message")>=0||he.indexOf("description")>=0))return zu(ee);if(he.length===0){if(Ls(ee)){var we=ee.name?": "+ee.name:"";return m.stylize("[Function"+we+"]","special")}if(ba(ee))return m.stylize(RegExp.prototype.toString.call(ee),"regexp");if(wo(ee))return m.stylize(Date.prototype.toString.call(ee),"date");if(Ko(ee))return zu(ee)}var pe="",ye=!1,E=["{","}"];if(nu(ee)&&(ye=!0,E=["[","]"]),Ls(ee)){var h=ee.name?": "+ee.name:"";pe=" [Function"+h+"]"}if(ba(ee)&&(pe=" "+RegExp.prototype.toString.call(ee)),wo(ee)&&(pe=" "+Date.prototype.toUTCString.call(ee)),Ko(ee)&&(pe=" "+zu(ee)),he.length===0&&(!ye||ee.length==0))return E[0]+pe+E[1];if(X<0)return ba(ee)?m.stylize(RegExp.prototype.toString.call(ee),"regexp"):m.stylize("[Object]","special");m.seen.push(ee);var Q;return ye?Q=ya(m,ee,X,me,he):Q=he.map(function(q){return vs(m,ee,X,me,q,ye)}),m.seen.pop(),Dc(Q,pe,E)}function Pi(m,ee){if(jo(ee))return m.stylize("undefined","undefined");if(Da(ee)){var X="'"+JSON.stringify(ee).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return m.stylize(X,"string")}if(Wu(ee))return m.stylize(""+ee,"number");if(va(ee))return m.stylize(""+ee,"boolean");if(Ms(ee))return m.stylize("null","null")}function zu(m){return"["+Error.prototype.toString.call(m)+"]"}function ya(m,ee,X,G,Z){for(var he=[],me=0,we=ee.length;me<we;++me)$u(ee,String(me))?he.push(vs(m,ee,X,G,String(me),!0)):he.push("");return Z.forEach(function(pe){pe.match(/^\d+$/)||he.push(vs(m,ee,X,G,pe,!0))}),he}function vs(m,ee,X,G,Z,he){var me,we,pe;if(pe=Object.getOwnPropertyDescriptor(ee,Z)||{value:ee[Z]},pe.get?pe.set?we=m.stylize("[Getter/Setter]","special"):we=m.stylize("[Getter]","special"):pe.set&&(we=m.stylize("[Setter]","special")),$u(G,Z)||(me="["+Z+"]"),we||(m.seen.indexOf(pe.value)<0?(Ms(X)?we=to(m,pe.value,null):we=to(m,pe.value,X-1),we.indexOf(`
164
- `)>-1&&(he?we=we.split(`
165
- `).map(function(ye){return" "+ye}).join(`
166
- `).substr(2):we=`
167
- `+we.split(`
168
- `).map(function(ye){return" "+ye}).join(`
169
- `))):we=m.stylize("[Circular]","special")),jo(me)){if(he&&Z.match(/^\d+$/))return we;me=JSON.stringify(""+Z),me.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(me=me.substr(1,me.length-2),me=m.stylize(me,"name")):(me=me.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),me=m.stylize(me,"string"))}return me+": "+we}function Dc(m,ee,X){var G=0,Z=m.reduce(function(he,me){return G++,me.indexOf(`
170
- `)>=0&&G++,he+me.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Z>60?X[0]+(ee===""?"":ee+`
171
- `)+" "+m.join(`,
172
- `)+" "+X[1]:X[0]+ee+" "+m.join(", ")+" "+X[1]}function nu(m){return Array.isArray(m)}function va(m){return typeof m=="boolean"}function Ms(m){return m===null}function iu(m){return m==null}function Wu(m){return typeof m=="number"}function Da(m){return typeof m=="string"}function qo(m){return typeof m=="symbol"}function jo(m){return m===void 0}function ba(m){return Io(m)&&os(m)==="[object RegExp]"}function Io(m){return typeof m=="object"&&m!==null}function wo(m){return Io(m)&&os(m)==="[object Date]"}function Ko(m){return Io(m)&&(os(m)==="[object Error]"||m instanceof Error)}function Ls(m){return typeof m=="function"}function ou(m){return m===null||typeof m=="boolean"||typeof m=="number"||typeof m=="string"||typeof m=="symbol"||typeof m>"u"}function Mo(m){return Buffer.isBuffer(m)}function os(m){return Object.prototype.toString.call(m)}function xa(m){return m<10?"0"+m.toString(10):m.toString(10)}function bc(){var m=new Date,ee=[xa(m.getHours()),xa(m.getMinutes()),xa(m.getSeconds())].join(":");return[m.getDate(),Ca[m.getMonth()],ee].join(" ")}function Hu(){console.log("%s - %s",bc(),Za.apply(null,arguments))}function Uu(m,ee){if(!ee||!Io(ee))return m;for(var X=Object.keys(ee),G=X.length;G--;)m[X[G]]=ee[X[G]];return m}function $u(m,ee){return Object.prototype.hasOwnProperty.call(m,ee)}var ji,Jo,Ao,Ca,su,xc=br({"node-modules-polyfills:util"(){xt(),mc(),yc(),ji=/%[sdj%]/g,Jo={},eo.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]},eo.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Ca=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],su={inherits:Lu,_extend:Uu,log:Hu,isBuffer:Mo,isPrimitive:ou,isFunction:Ls,isError:Ko,isDate:wo,isObject:Io,isRegExp:ba,isUndefined:jo,isSymbol:qo,isString:Da,isNumber:Wu,isNullOrUndefined:iu,isNull:Ms,isBoolean:va,isArray:nu,inspect:eo,deprecate:eu,format:Za,debuglog:ma}}}),Ea=dt({"node-modules-polyfills-commonjs:util"(m,ee){xt();var X=(xc(),Tn(Ru));if(X&&X.default){ee.exports=X.default;for(let G in X)ee.exports[G]=X[G]}else X&&(ee.exports=X)}}),Bi=dt({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(m,ee){xt();var X=class extends Error{constructor(G){super(G),this.name=this.constructor.name,this.message=G||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(G).stack}};ee.exports=X}}),Bl=dt({"node_modules/postcss-values-parser/lib/tokenize.js"(m,ee){xt();var X="{".charCodeAt(0),G="}".charCodeAt(0),Z="(".charCodeAt(0),he=")".charCodeAt(0),me="'".charCodeAt(0),we='"'.charCodeAt(0),pe="\\".charCodeAt(0),ye="/".charCodeAt(0),E=".".charCodeAt(0),h=",".charCodeAt(0),Q=":".charCodeAt(0),q="*".charCodeAt(0),Ee="-".charCodeAt(0),ve="+".charCodeAt(0),_e="#".charCodeAt(0),ke=`
173
- `.charCodeAt(0),Ae=" ".charCodeAt(0),Xe="\f".charCodeAt(0),nt=" ".charCodeAt(0),gt="\r".charCodeAt(0),lr="@".charCodeAt(0),Or="e".charCodeAt(0),Rr="E".charCodeAt(0),on="0".charCodeAt(0),pn="9".charCodeAt(0),wn="u".charCodeAt(0),cn="U".charCodeAt(0),fn=/[ \n\t\r\{\(\)'"\\;,/]/g,Dr=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Yt=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,xr=/^[a-z0-9]/i,Gt=/^[a-f0-9?\-]/i,wi=Ea(),ri=Bi();ee.exports=function(oi,qn){qn=qn||{};let Rn=[],qr=oi.valueOf(),Bn=qr.length,An=-1,Cn=1,ht=0,_t=0,Wt=null,Pr,ft,rn,$r,Li,_i,pi,Fo,Xi,yi,so;function Ri(ki){let Qi=wi.format("Unclosed %s at line: %d, column: %d, token: %d",ki,Cn,ht-An,ht);throw new ri(Qi)}for(;ht<Bn;){switch(Pr=qr.charCodeAt(ht),Pr===ke&&(An=ht,Cn+=1),Pr){case ke:case Ae:case nt:case gt:case Xe:ft=ht;do ft+=1,Pr=qr.charCodeAt(ft),Pr===ke&&(An=ft,Cn+=1);while(Pr===Ae||Pr===ke||Pr===nt||Pr===gt||Pr===Xe);Rn.push(["space",qr.slice(ht,ft),Cn,ht-An,Cn,ft-An,ht]),ht=ft-1;break;case Q:ft=ht+1,Rn.push(["colon",qr.slice(ht,ft),Cn,ht-An,Cn,ft-An,ht]),ht=ft-1;break;case h:ft=ht+1,Rn.push(["comma",qr.slice(ht,ft),Cn,ht-An,Cn,ft-An,ht]),ht=ft-1;break;case X:Rn.push(["{","{",Cn,ht-An,Cn,ft-An,ht]);break;case G:Rn.push(["}","}",Cn,ht-An,Cn,ft-An,ht]);break;case Z:_t++,Wt=!Wt&&_t===1&&Rn.length>0&&Rn[Rn.length-1][0]==="word"&&Rn[Rn.length-1][1]==="url",Rn.push(["(","(",Cn,ht-An,Cn,ft-An,ht]);break;case he:_t--,Wt=Wt&&_t>0,Rn.push([")",")",Cn,ht-An,Cn,ft-An,ht]);break;case me:case we:rn=Pr===me?"'":'"',ft=ht;do for(Xi=!1,ft=qr.indexOf(rn,ft+1),ft===-1&&Ri("quote"),yi=ft;qr.charCodeAt(yi-1)===pe;)yi-=1,Xi=!Xi;while(Xi);Rn.push(["string",qr.slice(ht,ft+1),Cn,ht-An,Cn,ft-An,ht]),ht=ft;break;case lr:fn.lastIndex=ht+1,fn.test(qr),fn.lastIndex===0?ft=qr.length-1:ft=fn.lastIndex-2,Rn.push(["atword",qr.slice(ht,ft+1),Cn,ht-An,Cn,ft-An,ht]),ht=ft;break;case pe:ft=ht,Pr=qr.charCodeAt(ft+1),Rn.push(["word",qr.slice(ht,ft+1),Cn,ht-An,Cn,ft-An,ht]),ht=ft;break;case ve:case Ee:case q:if(ft=ht+1,so=qr.slice(ht+1,ft+1),qr.slice(ht-1,ht),Pr===Ee&&so.charCodeAt(0)===Ee){ft++,Rn.push(["word",qr.slice(ht,ft),Cn,ht-An,Cn,ft-An,ht]),ht=ft-1;break}Rn.push(["operator",qr.slice(ht,ft),Cn,ht-An,Cn,ft-An,ht]),ht=ft-1;break;default:if(Pr===ye&&(qr.charCodeAt(ht+1)===q||qn.loose&&!Wt&&qr.charCodeAt(ht+1)===ye)){if(qr.charCodeAt(ht+1)===q)ft=qr.indexOf("*/",ht+2)+1,ft===0&&Ri("comment");else{let ki=qr.indexOf(`
174
- `,ht+2);ft=ki!==-1?ki-1:Bn}_i=qr.slice(ht,ft+1),$r=_i.split(`
175
- `),Li=$r.length-1,Li>0?(pi=Cn+Li,Fo=ft-$r[Li].length):(pi=Cn,Fo=An),Rn.push(["comment",_i,Cn,ht-An,pi,ft-Fo,ht]),An=Fo,Cn=pi,ht=ft}else if(Pr===_e&&!xr.test(qr.slice(ht+1,ht+2)))ft=ht+1,Rn.push(["#",qr.slice(ht,ft),Cn,ht-An,Cn,ft-An,ht]),ht=ft-1;else if((Pr===wn||Pr===cn)&&qr.charCodeAt(ht+1)===ve){ft=ht+2;do ft+=1,Pr=qr.charCodeAt(ft);while(ft<Bn&&Gt.test(qr.slice(ft,ft+1)));Rn.push(["unicoderange",qr.slice(ht,ft),Cn,ht-An,Cn,ft-An,ht]),ht=ft-1}else if(Pr===ye)ft=ht+1,Rn.push(["operator",qr.slice(ht,ft),Cn,ht-An,Cn,ft-An,ht]),ht=ft-1;else{let ki=Dr;if(Pr>=on&&Pr<=pn&&(ki=Yt),ki.lastIndex=ht+1,ki.test(qr),ki.lastIndex===0?ft=qr.length-1:ft=ki.lastIndex-2,ki===Yt||Pr===E){let Qi=qr.charCodeAt(ft),Bs=qr.charCodeAt(ft+1),yu=qr.charCodeAt(ft+2);(Qi===Or||Qi===Rr)&&(Bs===Ee||Bs===ve)&&yu>=on&&yu<=pn&&(Yt.lastIndex=ft+2,Yt.test(qr),Yt.lastIndex===0?ft=qr.length-1:ft=Yt.lastIndex-2)}Rn.push(["word",qr.slice(ht,ft+1),Cn,ht-An,Cn,ft-An,ht]),ht=ft}break}ht++}return Rn}}}),Vu=dt({"node_modules/flatten/index.js"(m,ee){xt(),ee.exports=function(X,G){if(G=typeof G=="number"?G:1/0,!G)return Array.isArray(X)?X.map(function(he){return he}):X;return Z(X,1);function Z(he,me){return he.reduce(function(we,pe){return Array.isArray(pe)&&me<G?we.concat(Z(pe,me+1)):we.concat(pe)},[])}}}}),ia=dt({"node_modules/indexes-of/index.js"(m,ee){xt(),ee.exports=function(X,G){for(var Z=-1,he=[];(Z=X.indexOf(G,Z+1))!==-1;)he.push(Z);return he}}}),Gu=dt({"node_modules/uniq/uniq.js"(m,ee){xt();function X(he,me){for(var we=1,pe=he.length,ye=he[0],E=he[0],h=1;h<pe;++h)if(E=ye,ye=he[h],me(ye,E)){if(h===we){we++;continue}he[we++]=ye}return he.length=we,he}function G(he){for(var me=1,we=he.length,pe=he[0],ye=he[0],E=1;E<we;++E,ye=pe)if(ye=pe,pe=he[E],pe!==ye){if(E===me){me++;continue}he[me++]=pe}return he.length=me,he}function Z(he,me,we){return he.length===0?he:me?(we||he.sort(me),X(he,me)):(we||he.sort(),G(he))}ee.exports=Z}}),_l=dt({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(m,ee){xt();var X=class extends Error{constructor(G){super(G),this.name=this.constructor.name,this.message=G||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(G).stack}};ee.exports=X}}),qu=dt({"node_modules/postcss-values-parser/lib/parser.js"(m,ee){xt();var X=bn(),G=pa(),Z=Co(),he=Ha(),me=Nu(),we=Zs(),pe=Ua(),ye=Bu(),E=ea(),h=_u(),Q=Ou(),q=Pu(),Ee=ju(),ve=Bl(),_e=Vu(),ke=ia(),Ae=Gu(),Xe=_l();function nt(gt){return gt.sort((lr,Or)=>lr-Or)}ee.exports=class{constructor(gt,lr){let Or={loose:!1};this.cache=[],this.input=gt,this.options=Object.assign({},Or,lr),this.position=0,this.unbalanced=0,this.root=new X;let Rr=new G;this.root.append(Rr),this.current=Rr,this.tokens=ve(gt,this.options)}parse(){return this.loop()}colon(){let gt=this.currToken;this.newNode(new he({value:gt[1],source:{start:{line:gt[2],column:gt[3]},end:{line:gt[4],column:gt[5]}},sourceIndex:gt[6]})),this.position++}comma(){let gt=this.currToken;this.newNode(new me({value:gt[1],source:{start:{line:gt[2],column:gt[3]},end:{line:gt[4],column:gt[5]}},sourceIndex:gt[6]})),this.position++}comment(){let gt=!1,lr=this.currToken[1].replace(/\/\*|\*\//g,""),Or;this.options.loose&&lr.startsWith("//")&&(lr=lr.substring(2),gt=!0),Or=new we({value:lr,inline:gt,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(Or),this.position++}error(gt,lr){throw new Xe(gt+" at line: ".concat(lr[2],", column ").concat(lr[3]))}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let gt=this.currToken[1],lr;if(gt==="+"||gt==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return lr=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(lr)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let gt=1,lr=this.position+1,Or=this.currToken,Rr;for(;lr<this.tokens.length&&gt;){let on=this.tokens[lr];on[0]==="("&&gt++,on[0]===")"&&gt--,lr++}if(gt&&this.error("Expected closing parenthesis",Or),Rr=this.current.last,Rr&&Rr.type==="func"&&Rr.unbalanced<0&&(Rr.unbalanced=0,this.current=Rr),this.current.unbalanced++,this.newNode(new h({value:Or[1],source:{start:{line:Or[2],column:Or[3]},end:{line:Or[4],column:Or[5]}},sourceIndex:Or[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 on=this.nextToken,pn=this.currToken[1],wn={line:this.currToken[2],column:this.currToken[3]};for(;on&&on[0]!==")"&&this.current.unbalanced;)this.position++,pn+=this.currToken[1],on=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new q({value:pn,source:{start:wn,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let gt=this.currToken;this.newNode(new h({value:gt[1],source:{start:{line:gt[2],column:gt[3]},end:{line:gt[4],column:gt[5]}},sourceIndex:gt[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",gt),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let gt=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=gt[1],this.position++):(this.spaces=gt[1],this.position++)}unicodeRange(){let gt=this.currToken;this.newNode(new Ee({value:gt[1],source:{start:{line:gt[2],column:gt[3]},end:{line:gt[4],column:gt[5]}},sourceIndex:gt[6]})),this.position++}splitWord(){let gt=this.nextToken,lr=this.currToken[1],Or=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,Rr=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,on,pn;if(!Rr.test(lr))for(;gt&&gt[0]==="word";)this.position++,lr+=this.currToken[1],gt=this.nextToken;on=ke(lr,"@"),pn=nt(Ae(_e([[0],on]))),pn.forEach((wn,cn)=>{let fn=pn[cn+1]||lr.length,Dr=lr.slice(wn,fn),Yt;if(~on.indexOf(wn))Yt=new Z({value:Dr.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+wn},end:{line:this.currToken[4],column:this.currToken[3]+(fn-1)}},sourceIndex:this.currToken[6]+pn[cn]});else if(Or.test(this.currToken[1])){let xr=Dr.replace(Or,"");Yt=new ye({value:Dr.replace(xr,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+wn},end:{line:this.currToken[4],column:this.currToken[3]+(fn-1)}},sourceIndex:this.currToken[6]+pn[cn],unit:xr})}else Yt=new(gt&&gt[0]==="("?pe:q)({value:Dr,source:{start:{line:this.currToken[2],column:this.currToken[3]+wn},end:{line:this.currToken[4],column:this.currToken[3]+(fn-1)}},sourceIndex:this.currToken[6]+pn[cn]}),Yt.type==="word"?(Yt.isHex=/^#(.+)/.test(Dr),Yt.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(Dr)):this.cache.push(this.current);this.newNode(Yt)}),this.position++}string(){let gt=this.currToken,lr=this.currToken[1],Or=/^(\"|\')/,Rr=Or.test(lr),on="",pn;Rr&&(on=lr.match(Or)[0],lr=lr.slice(1,lr.length-1)),pn=new Q({value:lr,source:{start:{line:gt[2],column:gt[3]},end:{line:gt[4],column:gt[5]}},sourceIndex:gt[6],quoted:Rr}),pn.raws.quote=on,this.newNode(pn),this.position++}word(){return this.splitWord()}newNode(gt){return this.spaces&&(gt.raws.before+=this.spaces,this.spaces=""),this.current.append(gt)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),Yo=dt({"node_modules/postcss-values-parser/lib/index.js"(m,ee){xt();var X=qu(),G=Co(),Z=Ha(),he=Nu(),me=Zs(),we=Ua(),pe=Bu(),ye=ea(),E=_u(),h=Ou(),Q=ju(),q=pa(),Ee=Pu(),ve=function(_e,ke){return new X(_e,ke)};ve.atword=function(_e){return new G(_e)},ve.colon=function(_e){return new Z(Object.assign({value:":"},_e))},ve.comma=function(_e){return new he(Object.assign({value:","},_e))},ve.comment=function(_e){return new me(_e)},ve.func=function(_e){return new we(_e)},ve.number=function(_e){return new pe(_e)},ve.operator=function(_e){return new ye(_e)},ve.paren=function(_e){return new E(Object.assign({value:"("},_e))},ve.string=function(_e){return new h(Object.assign({quote:"'"},_e))},ve.value=function(_e){return new q(_e)},ve.word=function(_e){return new Ee(_e)},ve.unicodeRange=function(_e){return new Q(_e)},ee.exports=ve}}),Rs=dt({"node_modules/postcss-selector-parser/dist/selectors/node.js"(m,ee){xt(),m.__esModule=!0;var X=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(me){return typeof me}:function(me){return me&&typeof Symbol=="function"&&me.constructor===Symbol&&me!==Symbol.prototype?"symbol":typeof me};function G(me,we){if(!(me instanceof we))throw new TypeError("Cannot call a class as a function")}var Z=function me(we,pe){if((typeof we>"u"?"undefined":X(we))!=="object")return we;var ye=new we.constructor;for(var E in we)if(we.hasOwnProperty(E)){var h=we[E],Q=typeof h>"u"?"undefined":X(h);E==="parent"&&Q==="object"?pe&&(ye[E]=pe):h instanceof Array?ye[E]=h.map(function(q){return me(q,ye)}):ye[E]=me(h,ye)}return ye},he=function(){function me(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};G(this,me);for(var pe in we)this[pe]=we[pe];var ye=we.spaces;ye=ye===void 0?{}:ye;var E=ye.before,h=E===void 0?"":E,Q=ye.after,q=Q===void 0?"":Q;this.spaces={before:h,after:q}}return me.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},me.prototype.replaceWith=function(){if(this.parent){for(var we in arguments)this.parent.insertBefore(this,arguments[we]);this.remove()}return this},me.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},me.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},me.prototype.clone=function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pe=Z(this);for(var ye in we)pe[ye]=we[ye];return pe},me.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},me}();m.default=he,ee.exports=m.default}}),Ii=dt({"node_modules/postcss-selector-parser/dist/selectors/types.js"(m){xt(),m.__esModule=!0,m.TAG="tag",m.STRING="string",m.SELECTOR="selector",m.ROOT="root",m.PSEUDO="pseudo",m.NESTING="nesting",m.ID="id",m.COMMENT="comment",m.COMBINATOR="combinator",m.CLASS="class",m.ATTRIBUTE="attribute",m.UNIVERSAL="universal"}}),ho=dt({"node_modules/postcss-selector-parser/dist/selectors/container.js"(m,ee){xt(),m.__esModule=!0;var X=function(){function q(Ee,ve){for(var _e=0;_e<ve.length;_e++){var ke=ve[_e];ke.enumerable=ke.enumerable||!1,ke.configurable=!0,"value"in ke&&(ke.writable=!0),Object.defineProperty(Ee,ke.key,ke)}}return function(Ee,ve,_e){return ve&&q(Ee.prototype,ve),_e&&q(Ee,_e),Ee}}(),G=Rs(),Z=pe(G),he=Ii(),me=we(he);function we(q){if(q&&q.__esModule)return q;var Ee={};if(q!=null)for(var ve in q)Object.prototype.hasOwnProperty.call(q,ve)&&(Ee[ve]=q[ve]);return Ee.default=q,Ee}function pe(q){return q&&q.__esModule?q:{default:q}}function ye(q,Ee){if(!(q instanceof Ee))throw new TypeError("Cannot call a class as a function")}function E(q,Ee){if(!q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ee&&(typeof Ee=="object"||typeof Ee=="function")?Ee:q}function h(q,Ee){if(typeof Ee!="function"&&Ee!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ee);q.prototype=Object.create(Ee&&Ee.prototype,{constructor:{value:q,enumerable:!1,writable:!0,configurable:!0}}),Ee&&(Object.setPrototypeOf?Object.setPrototypeOf(q,Ee):q.__proto__=Ee)}var Q=function(q){h(Ee,q);function Ee(ve){ye(this,Ee);var _e=E(this,q.call(this,ve));return _e.nodes||(_e.nodes=[]),_e}return Ee.prototype.append=function(ve){return ve.parent=this,this.nodes.push(ve),this},Ee.prototype.prepend=function(ve){return ve.parent=this,this.nodes.unshift(ve),this},Ee.prototype.at=function(ve){return this.nodes[ve]},Ee.prototype.index=function(ve){return typeof ve=="number"?ve:this.nodes.indexOf(ve)},Ee.prototype.removeChild=function(ve){ve=this.index(ve),this.at(ve).parent=void 0,this.nodes.splice(ve,1);var _e=void 0;for(var ke in this.indexes)_e=this.indexes[ke],_e>=ve&&(this.indexes[ke]=_e-1);return this},Ee.prototype.removeAll=function(){for(var ke=this.nodes,ve=Array.isArray(ke),_e=0,ke=ve?ke:ke[Symbol.iterator]();;){var Ae;if(ve){if(_e>=ke.length)break;Ae=ke[_e++]}else{if(_e=ke.next(),_e.done)break;Ae=_e.value}var Xe=Ae;Xe.parent=void 0}return this.nodes=[],this},Ee.prototype.empty=function(){return this.removeAll()},Ee.prototype.insertAfter=function(ve,_e){var ke=this.index(ve);this.nodes.splice(ke+1,0,_e);var Ae=void 0;for(var Xe in this.indexes)Ae=this.indexes[Xe],ke<=Ae&&(this.indexes[Xe]=Ae+this.nodes.length);return this},Ee.prototype.insertBefore=function(ve,_e){var ke=this.index(ve);this.nodes.splice(ke,0,_e);var Ae=void 0;for(var Xe in this.indexes)Ae=this.indexes[Xe],ke<=Ae&&(this.indexes[Xe]=Ae+this.nodes.length);return this},Ee.prototype.each=function(ve){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var _e=this.lastEach;if(this.indexes[_e]=0,!!this.length){for(var ke=void 0,Ae=void 0;this.indexes[_e]<this.length&&(ke=this.indexes[_e],Ae=ve(this.at(ke),ke),Ae!==!1);)this.indexes[_e]+=1;if(delete this.indexes[_e],Ae===!1)return!1}},Ee.prototype.walk=function(ve){return this.each(function(_e,ke){var Ae=ve(_e,ke);if(Ae!==!1&&_e.length&&(Ae=_e.walk(ve)),Ae===!1)return!1})},Ee.prototype.walkAttributes=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.ATTRIBUTE)return ve.call(_e,ke)})},Ee.prototype.walkClasses=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.CLASS)return ve.call(_e,ke)})},Ee.prototype.walkCombinators=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.COMBINATOR)return ve.call(_e,ke)})},Ee.prototype.walkComments=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.COMMENT)return ve.call(_e,ke)})},Ee.prototype.walkIds=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.ID)return ve.call(_e,ke)})},Ee.prototype.walkNesting=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.NESTING)return ve.call(_e,ke)})},Ee.prototype.walkPseudos=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.PSEUDO)return ve.call(_e,ke)})},Ee.prototype.walkTags=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.TAG)return ve.call(_e,ke)})},Ee.prototype.walkUniversals=function(ve){var _e=this;return this.walk(function(ke){if(ke.type===me.UNIVERSAL)return ve.call(_e,ke)})},Ee.prototype.split=function(ve){var _e=this,ke=[];return this.reduce(function(Ae,Xe,nt){var gt=ve.call(_e,Xe);return ke.push(Xe),gt?(Ae.push(ke),ke=[]):nt===_e.length-1&&Ae.push(ke),Ae},[])},Ee.prototype.map=function(ve){return this.nodes.map(ve)},Ee.prototype.reduce=function(ve,_e){return this.nodes.reduce(ve,_e)},Ee.prototype.every=function(ve){return this.nodes.every(ve)},Ee.prototype.some=function(ve){return this.nodes.some(ve)},Ee.prototype.filter=function(ve){return this.nodes.filter(ve)},Ee.prototype.sort=function(ve){return this.nodes.sort(ve)},Ee.prototype.toString=function(){return this.map(String).join("")},X(Ee,[{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}}]),Ee}(Z.default);m.default=Q,ee.exports=m.default}}),Ku=dt({"node_modules/postcss-selector-parser/dist/selectors/root.js"(m,ee){xt(),m.__esModule=!0;var X=ho(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.ROOT,q}return h.prototype.toString=function(){var Q=this.reduce(function(q,Ee){var ve=String(Ee);return ve?q+ve+",":""},"").slice(0,-1);return this.trailingComma?Q+",":Q},h}(G.default);m.default=ye,ee.exports=m.default}}),ss=dt({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(m,ee){xt(),m.__esModule=!0;var X=ho(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.SELECTOR,q}return h}(G.default);m.default=ye,ee.exports=m.default}}),Zn=dt({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(m,ee){xt(),m.__esModule=!0;var X=function(){function E(h,Q){for(var q=0;q<Q.length;q++){var Ee=Q[q];Ee.enumerable=Ee.enumerable||!1,Ee.configurable=!0,"value"in Ee&&(Ee.writable=!0),Object.defineProperty(h,Ee.key,Ee)}}return function(h,Q,q){return Q&&E(h.prototype,Q),q&&E(h,q),h}}(),G=Rs(),Z=he(G);function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(){return me(this,h),we(this,E.apply(this,arguments))}return h.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},X(h,[{key:"ns",get:function(){var Q=this.namespace;return Q?(typeof Q=="string"?Q:"")+"|":""}}]),h}(Z.default);m.default=ye,ee.exports=m.default}}),Ds=dt({"node_modules/postcss-selector-parser/dist/selectors/className.js"(m,ee){xt(),m.__esModule=!0;var X=Zn(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.CLASS,q}return h.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},h}(G.default);m.default=ye,ee.exports=m.default}}),Ju=dt({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(m,ee){xt(),m.__esModule=!0;var X=Rs(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.COMMENT,q}return h}(G.default);m.default=ye,ee.exports=m.default}}),au=dt({"node_modules/postcss-selector-parser/dist/selectors/id.js"(m,ee){xt(),m.__esModule=!0;var X=Zn(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.ID,q}return h.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},h}(G.default);m.default=ye,ee.exports=m.default}}),Ol=dt({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(m,ee){xt(),m.__esModule=!0;var X=Zn(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.TAG,q}return h}(G.default);m.default=ye,ee.exports=m.default}}),Pl=dt({"node_modules/postcss-selector-parser/dist/selectors/string.js"(m,ee){xt(),m.__esModule=!0;var X=Rs(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.STRING,q}return h}(G.default);m.default=ye,ee.exports=m.default}}),jl=dt({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(m,ee){xt(),m.__esModule=!0;var X=ho(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.PSEUDO,q}return h.prototype.toString=function(){var Q=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),Q,this.spaces.after].join("")},h}(G.default);m.default=ye,ee.exports=m.default}}),bs=dt({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(m,ee){xt(),m.__esModule=!0;var X=Zn(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.ATTRIBUTE,q.raws={},q}return h.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("")},h}(G.default);m.default=ye,ee.exports=m.default}}),xs=dt({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(m,ee){xt(),m.__esModule=!0;var X=Zn(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.UNIVERSAL,q.value="*",q}return h}(G.default);m.default=ye,ee.exports=m.default}}),Cs=dt({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(m,ee){xt(),m.__esModule=!0;var X=Rs(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.COMBINATOR,q}return h}(G.default);m.default=ye,ee.exports=m.default}}),wa=dt({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(m,ee){xt(),m.__esModule=!0;var X=Rs(),G=he(X),Z=Ii();function he(E){return E&&E.__esModule?E:{default:E}}function me(E,h){if(!(E instanceof h))throw new TypeError("Cannot call a class as a function")}function we(E,h){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:E}function pe(E,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);E.prototype=Object.create(h&&h.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(E,h):E.__proto__=h)}var ye=function(E){pe(h,E);function h(Q){me(this,h);var q=we(this,E.call(this,Q));return q.type=Z.NESTING,q.value="&",q}return h}(G.default);m.default=ye,ee.exports=m.default}}),uu=dt({"node_modules/postcss-selector-parser/dist/sortAscending.js"(m,ee){xt(),m.__esModule=!0,m.default=X;function X(G){return G.sort(function(Z,he){return Z-he})}ee.exports=m.default}}),Yu=dt({"node_modules/postcss-selector-parser/dist/tokenize.js"(m,ee){xt(),m.__esModule=!0,m.default=wn;var X=39,G=34,Z=92,he=47,me=10,we=32,pe=12,ye=9,E=13,h=43,Q=62,q=126,Ee=124,ve=44,_e=40,ke=41,Ae=91,Xe=93,nt=59,gt=42,lr=58,Or=38,Rr=64,on=/[ \n\t\r\{\(\)'"\\;/]/g,pn=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function wn(cn){for(var fn=[],Dr=cn.css.valueOf(),Yt=void 0,xr=void 0,Gt=void 0,wi=void 0,ri=void 0,oi=void 0,qn=void 0,Rn=void 0,qr=void 0,Bn=void 0,An=void 0,Cn=Dr.length,ht=-1,_t=1,Wt=0,Pr=function(ft,rn){if(cn.safe)Dr+=rn,xr=Dr.length-1;else throw cn.error("Unclosed "+ft,_t,Wt-ht,Wt)};Wt<Cn;){switch(Yt=Dr.charCodeAt(Wt),Yt===me&&(ht=Wt,_t+=1),Yt){case me:case we:case ye:case E:case pe:xr=Wt;do xr+=1,Yt=Dr.charCodeAt(xr),Yt===me&&(ht=xr,_t+=1);while(Yt===we||Yt===me||Yt===ye||Yt===E||Yt===pe);fn.push(["space",Dr.slice(Wt,xr),_t,Wt-ht,Wt]),Wt=xr-1;break;case h:case Q:case q:case Ee:xr=Wt;do xr+=1,Yt=Dr.charCodeAt(xr);while(Yt===h||Yt===Q||Yt===q||Yt===Ee);fn.push(["combinator",Dr.slice(Wt,xr),_t,Wt-ht,Wt]),Wt=xr-1;break;case gt:fn.push(["*","*",_t,Wt-ht,Wt]);break;case Or:fn.push(["&","&",_t,Wt-ht,Wt]);break;case ve:fn.push([",",",",_t,Wt-ht,Wt]);break;case Ae:fn.push(["[","[",_t,Wt-ht,Wt]);break;case Xe:fn.push(["]","]",_t,Wt-ht,Wt]);break;case lr:fn.push([":",":",_t,Wt-ht,Wt]);break;case nt:fn.push([";",";",_t,Wt-ht,Wt]);break;case _e:fn.push(["(","(",_t,Wt-ht,Wt]);break;case ke:fn.push([")",")",_t,Wt-ht,Wt]);break;case X:case G:Gt=Yt===X?"'":'"',xr=Wt;do for(Bn=!1,xr=Dr.indexOf(Gt,xr+1),xr===-1&&Pr("quote",Gt),An=xr;Dr.charCodeAt(An-1)===Z;)An-=1,Bn=!Bn;while(Bn);fn.push(["string",Dr.slice(Wt,xr+1),_t,Wt-ht,_t,xr-ht,Wt]),Wt=xr;break;case Rr:on.lastIndex=Wt+1,on.test(Dr),on.lastIndex===0?xr=Dr.length-1:xr=on.lastIndex-2,fn.push(["at-word",Dr.slice(Wt,xr+1),_t,Wt-ht,_t,xr-ht,Wt]),Wt=xr;break;case Z:for(xr=Wt,qn=!0;Dr.charCodeAt(xr+1)===Z;)xr+=1,qn=!qn;Yt=Dr.charCodeAt(xr+1),qn&&Yt!==he&&Yt!==we&&Yt!==me&&Yt!==ye&&Yt!==E&&Yt!==pe&&(xr+=1),fn.push(["word",Dr.slice(Wt,xr+1),_t,Wt-ht,_t,xr-ht,Wt]),Wt=xr;break;default:Yt===he&&Dr.charCodeAt(Wt+1)===gt?(xr=Dr.indexOf("*/",Wt+2)+1,xr===0&&Pr("comment","*/"),oi=Dr.slice(Wt,xr+1),wi=oi.split(`
176
- `),ri=wi.length-1,ri>0?(Rn=_t+ri,qr=xr-wi[ri].length):(Rn=_t,qr=ht),fn.push(["comment",oi,_t,Wt-ht,Rn,xr-qr,Wt]),ht=qr,_t=Rn,Wt=xr):(pn.lastIndex=Wt+1,pn.test(Dr),pn.lastIndex===0?xr=Dr.length-1:xr=pn.lastIndex-2,fn.push(["word",Dr.slice(Wt,xr+1),_t,Wt-ht,_t,xr-ht,Wt]),Wt=xr);break}Wt++}return fn}ee.exports=m.default}}),lu=dt({"node_modules/postcss-selector-parser/dist/parser.js"(m,ee){xt(),m.__esModule=!0;var X=function(){function ht(_t,Wt){for(var Pr=0;Pr<Wt.length;Pr++){var ft=Wt[Pr];ft.enumerable=ft.enumerable||!1,ft.configurable=!0,"value"in ft&&(ft.writable=!0),Object.defineProperty(_t,ft.key,ft)}}return function(_t,Wt,Pr){return Wt&&ht(_t.prototype,Wt),Pr&&ht(_t,Pr),_t}}(),G=Vu(),Z=Bn(G),he=ia(),me=Bn(he),we=Gu(),pe=Bn(we),ye=Ku(),E=Bn(ye),h=ss(),Q=Bn(h),q=Ds(),Ee=Bn(q),ve=Ju(),_e=Bn(ve),ke=au(),Ae=Bn(ke),Xe=Ol(),nt=Bn(Xe),gt=Pl(),lr=Bn(gt),Or=jl(),Rr=Bn(Or),on=bs(),pn=Bn(on),wn=xs(),cn=Bn(wn),fn=Cs(),Dr=Bn(fn),Yt=wa(),xr=Bn(Yt),Gt=uu(),wi=Bn(Gt),ri=Yu(),oi=Bn(ri),qn=Ii(),Rn=qr(qn);function qr(ht){if(ht&&ht.__esModule)return ht;var _t={};if(ht!=null)for(var Wt in ht)Object.prototype.hasOwnProperty.call(ht,Wt)&&(_t[Wt]=ht[Wt]);return _t.default=ht,_t}function Bn(ht){return ht&&ht.__esModule?ht:{default:ht}}function An(ht,_t){if(!(ht instanceof _t))throw new TypeError("Cannot call a class as a function")}var Cn=function(){function ht(_t){An(this,ht),this.input=_t,this.lossy=_t.options.lossless===!1,this.position=0,this.root=new E.default;var Wt=new Q.default;return this.root.append(Wt),this.current=Wt,this.lossy?this.tokens=(0,oi.default)({safe:_t.safe,css:_t.css.trim()}):this.tokens=(0,oi.default)(_t),this.loop()}return ht.prototype.attribute=function(){var _t="",Wt=void 0,Pr=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)_t+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~_t.indexOf("]")&&this.error("Expected a closing square bracket.");var ft=_t.split(/((?:[*~^$|]?=))([^]*)/),rn=ft[0].split(/(\|)/g),$r={operator:ft[1],value:ft[2],source:{start:{line:Pr[2],column:Pr[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Pr[4]};if(rn.length>1?(rn[0]===""&&(rn[0]=!0),$r.attribute=this.parseValue(rn[2]),$r.namespace=this.parseNamespace(rn[0])):$r.attribute=this.parseValue(ft[0]),Wt=new pn.default($r),ft[2]){var Li=ft[2].split(/(\s+i\s*?)$/),_i=Li[0].trim();Wt.value=this.lossy?_i:Li[0],Li[1]&&(Wt.insensitive=!0,this.lossy||(Wt.raws.insensitive=Li[1])),Wt.quoted=_i[0]==="'"||_i[0]==='"',Wt.raws.unquoted=Wt.quoted?_i.slice(1,-1):_i}this.newNode(Wt),this.position++},ht.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var _t=new Dr.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"?(_t.spaces.before=this.parseSpace(this.currToken[1]),_t.source.start.line=this.nextToken[2],_t.source.start.column=this.nextToken[3],_t.source.end.column=this.nextToken[3],_t.source.end.line=this.nextToken[2],_t.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?_t.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?_t.value=this.currToken[1]:this.currToken[0]==="space"&&(_t.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(_t)},ht.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var _t=new Q.default;this.current.parent.append(_t),this.current=_t,this.position++},ht.prototype.comment=function(){var _t=new _e.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(_t),this.position++},ht.prototype.error=function(_t){throw new this.input.error(_t)},ht.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},ht.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},ht.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},ht.prototype.namespace=function(){var _t=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(_t);if(this.nextToken[0]==="*")return this.position++,this.universal(_t)},ht.prototype.nesting=function(){this.newNode(new xr.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++},ht.prototype.parentheses=function(){var _t=this.current.last;if(_t&&_t.type===Rn.PSEUDO){var Wt=new Q.default,Pr=this.current;_t.append(Wt),this.current=Wt;var ft=1;for(this.position++;this.position<this.tokens.length&&ft;)this.currToken[0]==="("&&ft++,this.currToken[0]===")"&&ft--,ft?this.parse():(Wt.parent.source.end.line=this.currToken[2],Wt.parent.source.end.column=this.currToken[3],this.position++);ft&&this.error("Expected closing parenthesis."),this.current=Pr}else{var rn=1;for(this.position++,_t.value+="(";this.position<this.tokens.length&&rn;)this.currToken[0]==="("&&rn++,this.currToken[0]===")"&&rn--,_t.value+=this.parseParenthesisToken(this.currToken),this.position++;rn&&this.error("Expected closing parenthesis.")}},ht.prototype.pseudo=function(){for(var _t=this,Wt="",Pr=this.currToken;this.currToken&&this.currToken[0]===":";)Wt+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var ft=void 0;this.splitWord(!1,function(rn,$r){Wt+=rn,ft=new Rr.default({value:Wt,source:{start:{line:Pr[2],column:Pr[3]},end:{line:_t.currToken[4],column:_t.currToken[5]}},sourceIndex:Pr[4]}),_t.newNode(ft),$r>1&&_t.nextToken&&_t.nextToken[0]==="("&&_t.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},ht.prototype.space=function(){var _t=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(_t[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(_t[1]),this.position++):this.combinator()},ht.prototype.string=function(){var _t=this.currToken;this.newNode(new lr.default({value:this.currToken[1],source:{start:{line:_t[2],column:_t[3]},end:{line:_t[4],column:_t[5]}},sourceIndex:_t[6]})),this.position++},ht.prototype.universal=function(_t){var Wt=this.nextToken;if(Wt&&Wt[1]==="|")return this.position++,this.namespace();this.newNode(new cn.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),_t),this.position++},ht.prototype.splitWord=function(_t,Wt){for(var Pr=this,ft=this.nextToken,rn=this.currToken[1];ft&&ft[0]==="word";){this.position++;var $r=this.currToken[1];if(rn+=$r,$r.lastIndexOf("\\")===$r.length-1){var Li=this.nextToken;Li&&Li[0]==="space"&&(rn+=this.parseSpace(Li[1]," "),this.position++)}ft=this.nextToken}var _i=(0,me.default)(rn,"."),pi=(0,me.default)(rn,"#"),Fo=(0,me.default)(rn,"#{");Fo.length&&(pi=pi.filter(function(yi){return!~Fo.indexOf(yi)}));var Xi=(0,wi.default)((0,pe.default)((0,Z.default)([[0],_i,pi])));Xi.forEach(function(yi,so){var Ri=Xi[so+1]||rn.length,ki=rn.slice(yi,Ri);if(so===0&&Wt)return Wt.call(Pr,ki,Xi.length);var Qi=void 0;~_i.indexOf(yi)?Qi=new Ee.default({value:ki.slice(1),source:{start:{line:Pr.currToken[2],column:Pr.currToken[3]+yi},end:{line:Pr.currToken[4],column:Pr.currToken[3]+(Ri-1)}},sourceIndex:Pr.currToken[6]+Xi[so]}):~pi.indexOf(yi)?Qi=new Ae.default({value:ki.slice(1),source:{start:{line:Pr.currToken[2],column:Pr.currToken[3]+yi},end:{line:Pr.currToken[4],column:Pr.currToken[3]+(Ri-1)}},sourceIndex:Pr.currToken[6]+Xi[so]}):Qi=new nt.default({value:ki,source:{start:{line:Pr.currToken[2],column:Pr.currToken[3]+yi},end:{line:Pr.currToken[4],column:Pr.currToken[3]+(Ri-1)}},sourceIndex:Pr.currToken[6]+Xi[so]}),Pr.newNode(Qi,_t)}),this.position++},ht.prototype.word=function(_t){var Wt=this.nextToken;return Wt&&Wt[1]==="|"?(this.position++,this.namespace()):this.splitWord(_t)},ht.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},ht.prototype.parse=function(_t){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":_t&&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}},ht.prototype.parseNamespace=function(_t){if(this.lossy&&typeof _t=="string"){var Wt=_t.trim();return Wt.length?Wt:!0}return _t},ht.prototype.parseSpace=function(_t,Wt){return this.lossy?Wt||"":_t},ht.prototype.parseValue=function(_t){return this.lossy&&_t&&typeof _t=="string"?_t.trim():_t},ht.prototype.parseParenthesisToken=function(_t){return this.lossy?_t[0]==="space"?this.parseSpace(_t[1]," "):this.parseValue(_t[1]):_t[1]},ht.prototype.newNode=function(_t,Wt){return Wt&&(_t.namespace=this.parseNamespace(Wt)),this.spaces&&(_t.spaces.before=this.spaces,this.spaces=""),this.current.append(_t)},X(ht,[{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]}}]),ht}();m.default=Cn,ee.exports=m.default}}),Es=dt({"node_modules/postcss-selector-parser/dist/processor.js"(m,ee){xt(),m.__esModule=!0;var X=function(){function pe(ye,E){for(var h=0;h<E.length;h++){var Q=E[h];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(ye,Q.key,Q)}}return function(ye,E,h){return E&&pe(ye.prototype,E),h&&pe(ye,h),ye}}(),G=lu(),Z=he(G);function he(pe){return pe&&pe.__esModule?pe:{default:pe}}function me(pe,ye){if(!(pe instanceof ye))throw new TypeError("Cannot call a class as a function")}var we=function(){function pe(ye){return me(this,pe),this.func=ye||function(){},this}return pe.prototype.process=function(ye){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=new Z.default({css:ye,error:function(Q){throw new Error(Q)},options:E});return this.res=h,this.func(h),this},X(pe,[{key:"result",get:function(){return String(this.res)}}]),pe}();m.default=we,ee.exports=m.default}}),ws=dt({"node_modules/postcss-selector-parser/dist/index.js"(m,ee){xt(),m.__esModule=!0;var X=Es(),G=Yt(X),Z=bs(),he=Yt(Z),me=Ds(),we=Yt(me),pe=Cs(),ye=Yt(pe),E=Ju(),h=Yt(E),Q=au(),q=Yt(Q),Ee=wa(),ve=Yt(Ee),_e=jl(),ke=Yt(_e),Ae=Ku(),Xe=Yt(Ae),nt=ss(),gt=Yt(nt),lr=Pl(),Or=Yt(lr),Rr=Ol(),on=Yt(Rr),pn=xs(),wn=Yt(pn),cn=Ii(),fn=Dr(cn);function Dr(Gt){if(Gt&&Gt.__esModule)return Gt;var wi={};if(Gt!=null)for(var ri in Gt)Object.prototype.hasOwnProperty.call(Gt,ri)&&(wi[ri]=Gt[ri]);return wi.default=Gt,wi}function Yt(Gt){return Gt&&Gt.__esModule?Gt:{default:Gt}}var xr=function(Gt){return new G.default(Gt)};xr.attribute=function(Gt){return new he.default(Gt)},xr.className=function(Gt){return new we.default(Gt)},xr.combinator=function(Gt){return new ye.default(Gt)},xr.comment=function(Gt){return new h.default(Gt)},xr.id=function(Gt){return new q.default(Gt)},xr.nesting=function(Gt){return new ve.default(Gt)},xr.pseudo=function(Gt){return new ke.default(Gt)},xr.root=function(Gt){return new Xe.default(Gt)},xr.selector=function(Gt){return new gt.default(Gt)},xr.string=function(Gt){return new Or.default(Gt)},xr.tag=function(Gt){return new on.default(Gt)},xr.universal=function(Gt){return new wn.default(Gt)},Object.keys(fn).forEach(function(Gt){Gt!=="__esModule"&&(xr[Gt]=fn[Gt])}),m.default=xr,ee.exports=m.default}}),Ui=dt({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(m){xt(),Object.defineProperty(m,"__esModule",{value:!0});function ee(X){this.after=X.after,this.before=X.before,this.type=X.type,this.value=X.value,this.sourceIndex=X.sourceIndex}m.default=ee}}),Xo=dt({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(m){xt(),Object.defineProperty(m,"__esModule",{value:!0});var ee=Ui(),X=G(ee);function G(he){return he&&he.__esModule?he:{default:he}}function Z(he){var me=this;this.constructor(he),this.nodes=he.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(we){we.parent=me})}Z.prototype=Object.create(X.default.prototype),Z.constructor=X.default,Z.prototype.walk=function(he,me){for(var we=typeof he=="string"||he instanceof RegExp,pe=we?me:he,ye=typeof he=="string"?new RegExp(he):he,E=0;E<this.nodes.length;E++){var h=this.nodes[E],Q=we?ye.test(h.type):!0;if(Q&&pe&&pe(h,E,this.nodes)===!1||h.nodes&&h.walk(he,me)===!1)return!1}return!0},Z.prototype.each=function(){for(var he=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],me=0;me<this.nodes.length;me++){var we=this.nodes[me];if(he(we,me,this.nodes)===!1)return!1}return!0},m.default=Z}}),as=dt({"node_modules/postcss-media-query-parser/dist/parsers.js"(m){xt(),Object.defineProperty(m,"__esModule",{value:!0}),m.parseMediaFeature=me,m.parseMediaQuery=we,m.parseMediaList=pe;var ee=Ui(),X=he(ee),G=Xo(),Z=he(G);function he(ye){return ye&&ye.__esModule?ye:{default:ye}}function me(ye){var E=arguments.length<=1||arguments[1]===void 0?0:arguments[1],h=[{mode:"normal",character:null}],Q=[],q=0,Ee="",ve=null,_e=null,ke=E,Ae=ye;ye[0]==="("&&ye[ye.length-1]===")"&&(Ae=ye.substring(1,ye.length-1),ke++);for(var Xe=0;Xe<Ae.length;Xe++){var nt=Ae[Xe];if((nt==="'"||nt==='"')&&(h[q].isCalculationEnabled===!0?(h.push({mode:"string",isCalculationEnabled:!1,character:nt}),q++):h[q].mode==="string"&&h[q].character===nt&&Ae[Xe-1]!=="\\"&&(h.pop(),q--)),nt==="{"?(h.push({mode:"interpolation",isCalculationEnabled:!0}),q++):nt==="}"&&(h.pop(),q--),h[q].mode==="normal"&&nt===":"){var gt=Ae.substring(Xe+1);_e={type:"value",before:/^(\s*)/.exec(gt)[1],after:/(\s*)$/.exec(gt)[1],value:gt.trim()},_e.sourceIndex=_e.before.length+Xe+1+ke,ve={type:"colon",sourceIndex:Xe+ke,after:_e.before,value:":"};break}Ee+=nt}return Ee={type:"media-feature",before:/^(\s*)/.exec(Ee)[1],after:/(\s*)$/.exec(Ee)[1],value:Ee.trim()},Ee.sourceIndex=Ee.before.length+ke,Q.push(Ee),ve!==null&&(ve.before=Ee.after,Q.push(ve)),_e!==null&&Q.push(_e),Q}function we(ye){var E=arguments.length<=1||arguments[1]===void 0?0:arguments[1],h=[],Q=0,q=!1,Ee=void 0;function ve(){return{before:"",after:"",value:""}}Ee=ve();for(var _e=0;_e<ye.length;_e++){var ke=ye[_e];q?(Ee.value+=ke,(ke==="{"||ke==="(")&&Q++,(ke===")"||ke==="}")&&Q--):ke.search(/\s/)!==-1?Ee.before+=ke:(ke==="("&&(Ee.type="media-feature-expression",Q++),Ee.value=ke,Ee.sourceIndex=E+_e,q=!0),q&&Q===0&&(ke===")"||_e===ye.length-1||ye[_e+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(Ee.value)!==-1&&(Ee.type="keyword"),Ee.type==="media-feature-expression"&&(Ee.nodes=me(Ee.value,Ee.sourceIndex)),h.push(Array.isArray(Ee.nodes)?new Z.default(Ee):new X.default(Ee)),Ee=ve(),q=!1)}for(var Ae=0;Ae<h.length;Ae++)if(Ee=h[Ae],Ae>0&&(h[Ae-1].after=Ee.before),Ee.type===void 0){if(Ae>0){if(h[Ae-1].type==="media-feature-expression"){Ee.type="keyword";continue}if(h[Ae-1].value==="not"||h[Ae-1].value==="only"){Ee.type="media-type";continue}if(h[Ae-1].value==="and"){Ee.type="media-feature-expression";continue}h[Ae-1].type==="media-type"&&(h[Ae+1]?Ee.type=h[Ae+1].type==="media-feature-expression"?"keyword":"media-feature-expression":Ee.type="media-feature-expression")}if(Ae===0){if(!h[Ae+1]){Ee.type="media-type";continue}if(h[Ae+1]&&(h[Ae+1].type==="media-feature-expression"||h[Ae+1].type==="keyword")){Ee.type="media-type";continue}if(h[Ae+2]){if(h[Ae+2].type==="media-feature-expression"){Ee.type="media-type",h[Ae+1].type="keyword";continue}if(h[Ae+2].type==="keyword"){Ee.type="keyword",h[Ae+1].type="media-type";continue}}if(h[Ae+3]&&h[Ae+3].type==="media-feature-expression"){Ee.type="keyword",h[Ae+1].type="media-type",h[Ae+2].type="keyword";continue}}}return h}function pe(ye){var E=[],h=0,Q=0,q=/^(\s*)url\s*\(/.exec(ye);if(q!==null){for(var Ee=q[0].length,ve=1;ve>0;){var _e=ye[Ee];_e==="("&&ve++,_e===")"&&ve--,Ee++}E.unshift(new X.default({type:"url",value:ye.substring(0,Ee).trim(),sourceIndex:q[1].length,before:q[1],after:/^(\s*)/.exec(ye.substring(Ee))[1]})),h=Ee}for(var ke=h;ke<ye.length;ke++){var Ae=ye[ke];if(Ae==="("&&Q++,Ae===")"&&Q--,Q===0&&Ae===","){var Xe=ye.substring(h,ke),nt=/^(\s*)/.exec(Xe)[1];E.push(new Z.default({type:"media-query",value:Xe.trim(),sourceIndex:h+nt.length,nodes:we(Xe,h),before:nt,after:/(\s*)$/.exec(Xe)[1]})),h=ke+1}}var gt=ye.substring(h),lr=/^(\s*)/.exec(gt)[1];return E.push(new Z.default({type:"media-query",value:gt.trim(),sourceIndex:h+lr.length,nodes:we(gt,h),before:lr,after:/(\s*)$/.exec(gt)[1]})),E}}}),Aa=dt({"node_modules/postcss-media-query-parser/dist/index.js"(m){xt(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=he;var ee=Xo(),X=Z(ee),G=as();function Z(me){return me&&me.__esModule?me:{default:me}}function he(me){return new X.default({nodes:(0,G.parseMediaList)(me),type:"media-query-list",value:me.trim()})}}}),Il={};Kr(Il,{basename:()=>Zu,default:()=>el,delimiter:()=>Lo,dirname:()=>cu,extname:()=>pu,isAbsolute:()=>Ws,join:()=>Hs,normalize:()=>zs,relative:()=>Qu,resolve:()=>Qo,sep:()=>Fa});function Xu(m,ee){for(var X=0,G=m.length-1;G>=0;G--){var Z=m[G];Z==="."?m.splice(G,1):Z===".."?(m.splice(G,1),X++):X&&(m.splice(G,1),X--)}if(ee)for(;X--;X)m.unshift("..");return m}function Qo(){for(var m="",ee=!1,X=arguments.length-1;X>=-1&&!ee;X--){var G=X>=0?arguments[X]:"/";if(typeof G!="string")throw new TypeError("Arguments to path.resolve must be strings");!G||(m=G+"/"+m,ee=G.charAt(0)==="/")}return m=Xu(Sa(m.split("/"),function(Z){return!!Z}),!ee).join("/"),(ee?"/":"")+m||"."}function zs(m){var ee=Ws(m),X=Ml(m,-1)==="/";return m=Xu(Sa(m.split("/"),function(G){return!!G}),!ee).join("/"),!m&&!ee&&(m="."),m&&X&&(m+="/"),(ee?"/":"")+m}function Ws(m){return m.charAt(0)==="/"}function Hs(){var m=Array.prototype.slice.call(arguments,0);return zs(Sa(m,function(ee,X){if(typeof ee!="string")throw new TypeError("Arguments to path.join must be strings");return ee}).join("/"))}function Qu(m,ee){m=Qo(m).substr(1),ee=Qo(ee).substr(1);function X(ye){for(var E=0;E<ye.length&&ye[E]==="";E++);for(var h=ye.length-1;h>=0&&ye[h]==="";h--);return E>h?[]:ye.slice(E,h-E+1)}for(var G=X(m.split("/")),Z=X(ee.split("/")),he=Math.min(G.length,Z.length),me=he,we=0;we<he;we++)if(G[we]!==Z[we]){me=we;break}for(var pe=[],we=me;we<G.length;we++)pe.push("..");return pe=pe.concat(Z.slice(me)),pe.join("/")}function cu(m){var ee=As(m),X=ee[0],G=ee[1];return!X&&!G?".":(G&&(G=G.substr(0,G.length-1)),X+G)}function Zu(m,ee){var X=As(m)[2];return ee&&X.substr(-1*ee.length)===ee&&(X=X.substr(0,X.length-ee.length)),X}function pu(m){return As(m)[3]}function Sa(m,ee){if(m.filter)return m.filter(ee);for(var X=[],G=0;G<m.length;G++)ee(m[G],G,m)&&X.push(m[G]);return X}var Us,As,Fa,Lo,el,Ml,tl=br({"node-modules-polyfills:path"(){xt(),Us=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,As=function(m){return Us.exec(m).slice(1)},Fa="/",Lo=":",el={extname:pu,basename:Zu,dirname:cu,sep:Fa,delimiter:Lo,relative:Qu,join:Hs,isAbsolute:Ws,normalize:zs,resolve:Qo},Ml="ab".substr(-1)==="b"?function(m,ee,X){return m.substr(ee,X)}:function(m,ee,X){return ee<0&&(ee=m.length+ee),m.substr(ee,X)}}}),rl=dt({"node-modules-polyfills-commonjs:path"(m,ee){xt();var X=(tl(),Tn(Il));if(X&&X.default){ee.exports=X.default;for(let G in X)ee.exports[G]=X[G]}else X&&(ee.exports=X)}}),nl=dt({"node_modules/picocolors/picocolors.browser.js"(m,ee){xt();var X=String,G=function(){return{isColorSupported:!1,reset:X,bold:X,dim:X,italic:X,underline:X,inverse:X,hidden:X,strikethrough:X,black:X,red:X,green:X,yellow:X,blue:X,magenta:X,cyan:X,white:X,gray:X,bgBlack:X,bgRed:X,bgGreen:X,bgYellow:X,bgBlue:X,bgMagenta:X,bgCyan:X,bgWhite:X}};ee.exports=G(),ee.exports.createColors=G}}),$i=dt({"(disabled):node_modules/postcss/lib/terminal-highlight"(){xt()}}),Zo=dt({"node_modules/postcss/lib/css-syntax-error.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=Z(nl()),G=Z($i());function Z(ve){return ve&&ve.__esModule?ve:{default:ve}}function he(ve){if(ve===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve}function me(ve,_e){ve.prototype=Object.create(_e.prototype),ve.prototype.constructor=ve,ve.__proto__=_e}function we(ve){var _e=typeof Map=="function"?new Map:void 0;return we=function(ke){if(ke===null||!E(ke))return ke;if(typeof ke!="function")throw new TypeError("Super expression must either be null or a function");if(typeof _e<"u"){if(_e.has(ke))return _e.get(ke);_e.set(ke,Ae)}function Ae(){return pe(ke,arguments,Q(this).constructor)}return Ae.prototype=Object.create(ke.prototype,{constructor:{value:Ae,enumerable:!1,writable:!0,configurable:!0}}),h(Ae,ke)},we(ve)}function pe(ve,_e,ke){return ye()?pe=Reflect.construct:pe=function(Ae,Xe,nt){var gt=[null];gt.push.apply(gt,Xe);var lr=Function.bind.apply(Ae,gt),Or=new lr;return nt&&h(Or,nt.prototype),Or},pe.apply(null,arguments)}function ye(){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(ve){return Function.toString.call(ve).indexOf("[native code]")!==-1}function h(ve,_e){return h=Object.setPrototypeOf||function(ke,Ae){return ke.__proto__=Ae,ke},h(ve,_e)}function Q(ve){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(_e){return _e.__proto__||Object.getPrototypeOf(_e)},Q(ve)}var q=function(ve){me(_e,ve);function _e(Ae,Xe,nt,gt,lr,Or){var Rr;return Rr=ve.call(this,Ae)||this,Rr.name="CssSyntaxError",Rr.reason=Ae,lr&&(Rr.file=lr),gt&&(Rr.source=gt),Or&&(Rr.plugin=Or),typeof Xe<"u"&&typeof nt<"u"&&(Rr.line=Xe,Rr.column=nt),Rr.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(he(Rr),_e),Rr}var ke=_e.prototype;return ke.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},ke.showSourceCode=function(Ae){var Xe=this;if(!this.source)return"";var nt=this.source;G.default&&(typeof Ae>"u"&&(Ae=X.default.isColorSupported),Ae&&(nt=(0,G.default)(nt)));var gt=nt.split(/\r?\n/),lr=Math.max(this.line-3,0),Or=Math.min(this.line+2,gt.length),Rr=String(Or).length;function on(wn){return Ae&&X.default.red?X.default.red(X.default.bold(wn)):wn}function pn(wn){return Ae&&X.default.gray?X.default.gray(wn):wn}return gt.slice(lr,Or).map(function(wn,cn){var fn=lr+1+cn,Dr=" "+(" "+fn).slice(-Rr)+" | ";if(fn===Xe.line){var Yt=pn(Dr.replace(/\d/g," "))+wn.slice(0,Xe.column-1).replace(/[^\t]/g," ");return on(">")+pn(Dr)+wn+`
177
- `+Yt+on("^")}return" "+pn(Dr)+wn}).join(`
178
- `)},ke.toString=function(){var Ae=this.showSourceCode();return Ae&&(Ae=`
179
-
180
- `+Ae+`
181
- `),this.name+": "+this.message+Ae},_e}(we(Error)),Ee=q;m.default=Ee,ee.exports=m.default}}),Ll=dt({"node_modules/postcss/lib/previous-map.js"(m,ee){xt(),ee.exports=class{}}}),Ss=dt({"node_modules/postcss/lib/input.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=he(rl()),G=he(Zo()),Z=he(Ll());function he(h){return h&&h.__esModule?h:{default:h}}function me(h,Q){for(var q=0;q<Q.length;q++){var Ee=Q[q];Ee.enumerable=Ee.enumerable||!1,Ee.configurable=!0,"value"in Ee&&(Ee.writable=!0),Object.defineProperty(h,Ee.key,Ee)}}function we(h,Q,q){return Q&&me(h.prototype,Q),q&&me(h,q),h}var pe=0,ye=function(){function h(q,Ee){if(Ee===void 0&&(Ee={}),q===null||typeof q>"u"||typeof q=="object"&&!q.toString)throw new Error("PostCSS received "+q+" instead of CSS string");this.css=q.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,Ee.from&&(/^\w+:\/\//.test(Ee.from)||X.default.isAbsolute(Ee.from)?this.file=Ee.from:this.file=X.default.resolve(Ee.from));var ve=new Z.default(this.css,Ee);if(ve.text){this.map=ve;var _e=ve.consumer().file;!this.file&&_e&&(this.file=this.mapResolve(_e))}this.file||(pe+=1,this.id="<input css "+pe+">"),this.map&&(this.map.file=this.from)}var Q=h.prototype;return Q.error=function(q,Ee,ve,_e){_e===void 0&&(_e={});var ke,Ae=this.origin(Ee,ve);return Ae?ke=new G.default(q,Ae.line,Ae.column,Ae.source,Ae.file,_e.plugin):ke=new G.default(q,Ee,ve,this.css,this.file,_e.plugin),ke.input={line:Ee,column:ve,source:this.css},this.file&&(ke.input.file=this.file),ke},Q.origin=function(q,Ee){if(!this.map)return!1;var ve=this.map.consumer(),_e=ve.originalPositionFor({line:q,column:Ee});if(!_e.source)return!1;var ke={file:this.mapResolve(_e.source),line:_e.line,column:_e.column},Ae=ve.sourceContentFor(_e.source);return Ae&&(ke.source=Ae),ke},Q.mapResolve=function(q){return/^\w+:\/\//.test(q)?q:X.default.resolve(this.map.consumer().sourceRoot||".",q)},we(h,[{key:"from",get:function(){return this.file||this.id}}]),h}(),E=ye;m.default=E,ee.exports=m.default}}),ka=dt({"node_modules/postcss/lib/stringifier.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X={colon:": ",indent:" ",beforeDecl:`
182
- `,beforeRule:`
183
- `,beforeOpen:" ",beforeClose:`
184
- `,beforeComment:`
185
- `,after:`
186
- `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function G(me){return me[0].toUpperCase()+me.slice(1)}var Z=function(){function me(pe){this.builder=pe}var we=me.prototype;return we.stringify=function(pe,ye){this[pe.type](pe,ye)},we.root=function(pe){this.body(pe),pe.raws.after&&this.builder(pe.raws.after)},we.comment=function(pe){var ye=this.raw(pe,"left","commentLeft"),E=this.raw(pe,"right","commentRight");this.builder("/*"+ye+pe.text+E+"*/",pe)},we.decl=function(pe,ye){var E=this.raw(pe,"between","colon"),h=pe.prop+E+this.rawValue(pe,"value");pe.important&&(h+=pe.raws.important||" !important"),ye&&(h+=";"),this.builder(h,pe)},we.rule=function(pe){this.block(pe,this.rawValue(pe,"selector")),pe.raws.ownSemicolon&&this.builder(pe.raws.ownSemicolon,pe,"end")},we.atrule=function(pe,ye){var E="@"+pe.name,h=pe.params?this.rawValue(pe,"params"):"";if(typeof pe.raws.afterName<"u"?E+=pe.raws.afterName:h&&(E+=" "),pe.nodes)this.block(pe,E+h);else{var Q=(pe.raws.between||"")+(ye?";":"");this.builder(E+h+Q,pe)}},we.body=function(pe){for(var ye=pe.nodes.length-1;ye>0&&pe.nodes[ye].type==="comment";)ye-=1;for(var E=this.raw(pe,"semicolon"),h=0;h<pe.nodes.length;h++){var Q=pe.nodes[h],q=this.raw(Q,"before");q&&this.builder(q),this.stringify(Q,ye!==h||E)}},we.block=function(pe,ye){var E=this.raw(pe,"between","beforeOpen");this.builder(ye+E+"{",pe,"start");var h;pe.nodes&&pe.nodes.length?(this.body(pe),h=this.raw(pe,"after")):h=this.raw(pe,"after","emptyBody"),h&&this.builder(h),this.builder("}",pe,"end")},we.raw=function(pe,ye,E){var h;if(E||(E=ye),ye&&(h=pe.raws[ye],typeof h<"u"))return h;var Q=pe.parent;if(E==="before"&&(!Q||Q.type==="root"&&Q.first===pe))return"";if(!Q)return X[E];var q=pe.root();if(q.rawCache||(q.rawCache={}),typeof q.rawCache[E]<"u")return q.rawCache[E];if(E==="before"||E==="after")return this.beforeAfter(pe,E);var Ee="raw"+G(E);return this[Ee]?h=this[Ee](q,pe):q.walk(function(ve){if(h=ve.raws[ye],typeof h<"u")return!1}),typeof h>"u"&&(h=X[E]),q.rawCache[E]=h,h},we.rawSemicolon=function(pe){var ye;return pe.walk(function(E){if(E.nodes&&E.nodes.length&&E.last.type==="decl"&&(ye=E.raws.semicolon,typeof ye<"u"))return!1}),ye},we.rawEmptyBody=function(pe){var ye;return pe.walk(function(E){if(E.nodes&&E.nodes.length===0&&(ye=E.raws.after,typeof ye<"u"))return!1}),ye},we.rawIndent=function(pe){if(pe.raws.indent)return pe.raws.indent;var ye;return pe.walk(function(E){var h=E.parent;if(h&&h!==pe&&h.parent&&h.parent===pe&&typeof E.raws.before<"u"){var Q=E.raws.before.split(`
187
- `);return ye=Q[Q.length-1],ye=ye.replace(/[^\s]/g,""),!1}}),ye},we.rawBeforeComment=function(pe,ye){var E;return pe.walkComments(function(h){if(typeof h.raws.before<"u")return E=h.raws.before,E.indexOf(`
188
- `)!==-1&&(E=E.replace(/[^\n]+$/,"")),!1}),typeof E>"u"?E=this.raw(ye,null,"beforeDecl"):E&&(E=E.replace(/[^\s]/g,"")),E},we.rawBeforeDecl=function(pe,ye){var E;return pe.walkDecls(function(h){if(typeof h.raws.before<"u")return E=h.raws.before,E.indexOf(`
189
- `)!==-1&&(E=E.replace(/[^\n]+$/,"")),!1}),typeof E>"u"?E=this.raw(ye,null,"beforeRule"):E&&(E=E.replace(/[^\s]/g,"")),E},we.rawBeforeRule=function(pe){var ye;return pe.walk(function(E){if(E.nodes&&(E.parent!==pe||pe.first!==E)&&typeof E.raws.before<"u")return ye=E.raws.before,ye.indexOf(`
190
- `)!==-1&&(ye=ye.replace(/[^\n]+$/,"")),!1}),ye&&(ye=ye.replace(/[^\s]/g,"")),ye},we.rawBeforeClose=function(pe){var ye;return pe.walk(function(E){if(E.nodes&&E.nodes.length>0&&typeof E.raws.after<"u")return ye=E.raws.after,ye.indexOf(`
191
- `)!==-1&&(ye=ye.replace(/[^\n]+$/,"")),!1}),ye&&(ye=ye.replace(/[^\s]/g,"")),ye},we.rawBeforeOpen=function(pe){var ye;return pe.walk(function(E){if(E.type!=="decl"&&(ye=E.raws.between,typeof ye<"u"))return!1}),ye},we.rawColon=function(pe){var ye;return pe.walkDecls(function(E){if(typeof E.raws.between<"u")return ye=E.raws.between.replace(/[^\s:]/g,""),!1}),ye},we.beforeAfter=function(pe,ye){var E;pe.type==="decl"?E=this.raw(pe,null,"beforeDecl"):pe.type==="comment"?E=this.raw(pe,null,"beforeComment"):ye==="before"?E=this.raw(pe,null,"beforeRule"):E=this.raw(pe,null,"beforeClose");for(var h=pe.parent,Q=0;h&&h.type!=="root";)Q+=1,h=h.parent;if(E.indexOf(`
192
- `)!==-1){var q=this.raw(pe,null,"indent");if(q.length)for(var Ee=0;Ee<Q;Ee++)E+=q}return E},we.rawValue=function(pe,ye){var E=pe[ye],h=pe.raws[ye];return h&&h.value===E?h.raw:E},me}(),he=Z;m.default=he,ee.exports=m.default}}),$s=dt({"node_modules/postcss/lib/stringify.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=G(ka());function G(me){return me&&me.__esModule?me:{default:me}}function Z(me,we){var pe=new X.default(we);pe.stringify(me)}var he=Z;m.default=he,ee.exports=m.default}}),Fs=dt({"node_modules/postcss/lib/node.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=he(Zo()),G=he(ka()),Z=he($s());function he(ye){return ye&&ye.__esModule?ye:{default:ye}}function me(ye,E){var h=new ye.constructor;for(var Q in ye)if(ye.hasOwnProperty(Q)){var q=ye[Q],Ee=typeof q;Q==="parent"&&Ee==="object"?E&&(h[Q]=E):Q==="source"?h[Q]=q:q instanceof Array?h[Q]=q.map(function(ve){return me(ve,h)}):(Ee==="object"&&q!==null&&(q=me(q)),h[Q]=q)}return h}var we=function(){function ye(h){h===void 0&&(h={}),this.raws={};for(var Q in h)this[Q]=h[Q]}var E=ye.prototype;return E.error=function(h,Q){if(Q===void 0&&(Q={}),this.source){var q=this.positionBy(Q);return this.source.input.error(h,q.line,q.column,Q)}return new X.default(h)},E.warn=function(h,Q,q){var Ee={node:this};for(var ve in q)Ee[ve]=q[ve];return h.warn(Q,Ee)},E.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},E.toString=function(h){h===void 0&&(h=Z.default),h.stringify&&(h=h.stringify);var Q="";return h(this,function(q){Q+=q}),Q},E.clone=function(h){h===void 0&&(h={});var Q=me(this);for(var q in h)Q[q]=h[q];return Q},E.cloneBefore=function(h){h===void 0&&(h={});var Q=this.clone(h);return this.parent.insertBefore(this,Q),Q},E.cloneAfter=function(h){h===void 0&&(h={});var Q=this.clone(h);return this.parent.insertAfter(this,Q),Q},E.replaceWith=function(){if(this.parent){for(var h=arguments.length,Q=new Array(h),q=0;q<h;q++)Q[q]=arguments[q];for(var Ee=0,ve=Q;Ee<ve.length;Ee++){var _e=ve[Ee];this.parent.insertBefore(this,_e)}this.remove()}return this},E.next=function(){if(this.parent){var h=this.parent.index(this);return this.parent.nodes[h+1]}},E.prev=function(){if(this.parent){var h=this.parent.index(this);return this.parent.nodes[h-1]}},E.before=function(h){return this.parent.insertBefore(this,h),this},E.after=function(h){return this.parent.insertAfter(this,h),this},E.toJSON=function(){var h={};for(var Q in this)if(!!this.hasOwnProperty(Q)&&Q!=="parent"){var q=this[Q];q instanceof Array?h[Q]=q.map(function(Ee){return typeof Ee=="object"&&Ee.toJSON?Ee.toJSON():Ee}):typeof q=="object"&&q.toJSON?h[Q]=q.toJSON():h[Q]=q}return h},E.raw=function(h,Q){var q=new G.default;return q.raw(this,h,Q)},E.root=function(){for(var h=this;h.parent;)h=h.parent;return h},E.cleanRaws=function(h){delete this.raws.before,delete this.raws.after,h||delete this.raws.between},E.positionInside=function(h){for(var Q=this.toString(),q=this.source.start.column,Ee=this.source.start.line,ve=0;ve<h;ve++)Q[ve]===`
193
- `?(q=1,Ee+=1):q+=1;return{line:Ee,column:q}},E.positionBy=function(h){var Q=this.source.start;if(h.index)Q=this.positionInside(h.index);else if(h.word){var q=this.toString().indexOf(h.word);q!==-1&&(Q=this.positionInside(q))}return Q},ye}(),pe=we;m.default=pe,ee.exports=m.default}}),go=dt({"node_modules/postcss/lib/comment.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=G(Fs());function G(we){return we&&we.__esModule?we:{default:we}}function Z(we,pe){we.prototype=Object.create(pe.prototype),we.prototype.constructor=we,we.__proto__=pe}var he=function(we){Z(pe,we);function pe(ye){var E;return E=we.call(this,ye)||this,E.type="comment",E}return pe}(X.default),me=he;m.default=me,ee.exports=m.default}}),us=dt({"node_modules/postcss/lib/declaration.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=G(Fs());function G(we){return we&&we.__esModule?we:{default:we}}function Z(we,pe){we.prototype=Object.create(pe.prototype),we.prototype.constructor=we,we.__proto__=pe}var he=function(we){Z(pe,we);function pe(ye){var E;return E=we.call(this,ye)||this,E.type="decl",E}return pe}(X.default),me=he;m.default=me,ee.exports=m.default}}),So=dt({"node_modules/postcss/lib/tokenize.js"(m,ee){xt(),m.__esModule=!0,m.default=on;var X="'".charCodeAt(0),G='"'.charCodeAt(0),Z="\\".charCodeAt(0),he="/".charCodeAt(0),me=`
194
- `.charCodeAt(0),we=" ".charCodeAt(0),pe="\f".charCodeAt(0),ye=" ".charCodeAt(0),E="\r".charCodeAt(0),h="[".charCodeAt(0),Q="]".charCodeAt(0),q="(".charCodeAt(0),Ee=")".charCodeAt(0),ve="{".charCodeAt(0),_e="}".charCodeAt(0),ke=";".charCodeAt(0),Ae="*".charCodeAt(0),Xe=":".charCodeAt(0),nt="@".charCodeAt(0),gt=/[ \n\t\r\f{}()'"\\;/[\]#]/g,lr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Or=/.[\\/("'\n]/,Rr=/[a-f0-9]/i;function on(pn,wn){wn===void 0&&(wn={});var cn=pn.css.valueOf(),fn=wn.ignoreErrors,Dr,Yt,xr,Gt,wi,ri,oi,qn,Rn,qr,Bn,An,Cn,ht,_t=cn.length,Wt=-1,Pr=1,ft=0,rn=[],$r=[];function Li(){return ft}function _i(yi){throw pn.error("Unclosed "+yi,Pr,ft-Wt)}function pi(){return $r.length===0&&ft>=_t}function Fo(yi){if($r.length)return $r.pop();if(!(ft>=_t)){var so=yi?yi.ignoreUnclosed:!1;switch(Dr=cn.charCodeAt(ft),(Dr===me||Dr===pe||Dr===E&&cn.charCodeAt(ft+1)!==me)&&(Wt=ft,Pr+=1),Dr){case me:case we:case ye:case E:case pe:Yt=ft;do Yt+=1,Dr=cn.charCodeAt(Yt),Dr===me&&(Wt=Yt,Pr+=1);while(Dr===we||Dr===me||Dr===ye||Dr===E||Dr===pe);ht=["space",cn.slice(ft,Yt)],ft=Yt-1;break;case h:case Q:case ve:case _e:case Xe:case ke:case Ee:var Ri=String.fromCharCode(Dr);ht=[Ri,Ri,Pr,ft-Wt];break;case q:if(An=rn.length?rn.pop()[1]:"",Cn=cn.charCodeAt(ft+1),An==="url"&&Cn!==X&&Cn!==G&&Cn!==we&&Cn!==me&&Cn!==ye&&Cn!==pe&&Cn!==E){Yt=ft;do{if(qr=!1,Yt=cn.indexOf(")",Yt+1),Yt===-1)if(fn||so){Yt=ft;break}else _i("bracket");for(Bn=Yt;cn.charCodeAt(Bn-1)===Z;)Bn-=1,qr=!qr}while(qr);ht=["brackets",cn.slice(ft,Yt+1),Pr,ft-Wt,Pr,Yt-Wt],ft=Yt}else Yt=cn.indexOf(")",ft+1),ri=cn.slice(ft,Yt+1),Yt===-1||Or.test(ri)?ht=["(","(",Pr,ft-Wt]:(ht=["brackets",ri,Pr,ft-Wt,Pr,Yt-Wt],ft=Yt);break;case X:case G:xr=Dr===X?"'":'"',Yt=ft;do{if(qr=!1,Yt=cn.indexOf(xr,Yt+1),Yt===-1)if(fn||so){Yt=ft+1;break}else _i("string");for(Bn=Yt;cn.charCodeAt(Bn-1)===Z;)Bn-=1,qr=!qr}while(qr);ri=cn.slice(ft,Yt+1),Gt=ri.split(`
195
- `),wi=Gt.length-1,wi>0?(qn=Pr+wi,Rn=Yt-Gt[wi].length):(qn=Pr,Rn=Wt),ht=["string",cn.slice(ft,Yt+1),Pr,ft-Wt,qn,Yt-Rn],Wt=Rn,Pr=qn,ft=Yt;break;case nt:gt.lastIndex=ft+1,gt.test(cn),gt.lastIndex===0?Yt=cn.length-1:Yt=gt.lastIndex-2,ht=["at-word",cn.slice(ft,Yt+1),Pr,ft-Wt,Pr,Yt-Wt],ft=Yt;break;case Z:for(Yt=ft,oi=!0;cn.charCodeAt(Yt+1)===Z;)Yt+=1,oi=!oi;if(Dr=cn.charCodeAt(Yt+1),oi&&Dr!==he&&Dr!==we&&Dr!==me&&Dr!==ye&&Dr!==E&&Dr!==pe&&(Yt+=1,Rr.test(cn.charAt(Yt)))){for(;Rr.test(cn.charAt(Yt+1));)Yt+=1;cn.charCodeAt(Yt+1)===we&&(Yt+=1)}ht=["word",cn.slice(ft,Yt+1),Pr,ft-Wt,Pr,Yt-Wt],ft=Yt;break;default:Dr===he&&cn.charCodeAt(ft+1)===Ae?(Yt=cn.indexOf("*/",ft+2)+1,Yt===0&&(fn||so?Yt=cn.length:_i("comment")),ri=cn.slice(ft,Yt+1),Gt=ri.split(`
196
- `),wi=Gt.length-1,wi>0?(qn=Pr+wi,Rn=Yt-Gt[wi].length):(qn=Pr,Rn=Wt),ht=["comment",ri,Pr,ft-Wt,qn,Yt-Rn],Wt=Rn,Pr=qn,ft=Yt):(lr.lastIndex=ft+1,lr.test(cn),lr.lastIndex===0?Yt=cn.length-1:Yt=lr.lastIndex-2,ht=["word",cn.slice(ft,Yt+1),Pr,ft-Wt,Pr,Yt-Wt],rn.push(ht),ft=Yt);break}return ft++,ht}}function Xi(yi){$r.push(yi)}return{back:Xi,nextToken:Fo,endOfFile:pi,position:Li}}ee.exports=m.default}}),es=dt({"node_modules/postcss/lib/parse.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=Z(ol()),G=Z(Ss());function Z(we){return we&&we.__esModule?we:{default:we}}function he(we,pe){var ye=new G.default(we,pe),E=new X.default(ye);try{E.parse()}catch(h){throw h}return E.root}var me=he;m.default=me,ee.exports=m.default}}),ls=dt({"node_modules/postcss/lib/list.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X={split:function(Z,he,me){for(var we=[],pe="",ye=!1,E=0,h=!1,Q=!1,q=0;q<Z.length;q++){var Ee=Z[q];h?Q?Q=!1:Ee==="\\"?Q=!0:Ee===h&&(h=!1):Ee==='"'||Ee==="'"?h=Ee:Ee==="("?E+=1:Ee===")"?E>0&&(E-=1):E===0&&he.indexOf(Ee)!==-1&&(ye=!0),ye?(pe!==""&&we.push(pe.trim()),pe="",ye=!1):pe+=Ee}return(me||pe!=="")&&we.push(pe.trim()),we},space:function(Z){var he=[" ",`
197
- `," "];return X.split(Z,he)},comma:function(Z){return X.split(Z,[","],!0)}},G=X;m.default=G,ee.exports=m.default}}),Ta=dt({"node_modules/postcss/lib/rule.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=Z(cs()),G=Z(ls());function Z(E){return E&&E.__esModule?E:{default:E}}function he(E,h){for(var Q=0;Q<h.length;Q++){var q=h[Q];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(E,q.key,q)}}function me(E,h,Q){return h&&he(E.prototype,h),Q&&he(E,Q),E}function we(E,h){E.prototype=Object.create(h.prototype),E.prototype.constructor=E,E.__proto__=h}var pe=function(E){we(h,E);function h(Q){var q;return q=E.call(this,Q)||this,q.type="rule",q.nodes||(q.nodes=[]),q}return me(h,[{key:"selectors",get:function(){return G.default.comma(this.selector)},set:function(Q){var q=this.selector?this.selector.match(/,\s*/):null,Ee=q?q[0]:","+this.raw("between","beforeOpen");this.selector=Q.join(Ee)}}]),h}(X.default),ye=pe;m.default=ye,ee.exports=m.default}}),cs=dt({"node_modules/postcss/lib/container.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=he(us()),G=he(go()),Z=he(Fs());function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function me(ve,_e){var ke;if(typeof Symbol>"u"||ve[Symbol.iterator]==null){if(Array.isArray(ve)||(ke=we(ve))||_e&&ve&&typeof ve.length=="number"){ke&&(ve=ke);var Ae=0;return function(){return Ae>=ve.length?{done:!0}:{done:!1,value:ve[Ae++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
198
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ke=ve[Symbol.iterator](),ke.next.bind(ke)}function we(ve,_e){if(ve){if(typeof ve=="string")return pe(ve,_e);var ke=Object.prototype.toString.call(ve).slice(8,-1);if(ke==="Object"&&ve.constructor&&(ke=ve.constructor.name),ke==="Map"||ke==="Set")return Array.from(ve);if(ke==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ke))return pe(ve,_e)}}function pe(ve,_e){(_e==null||_e>ve.length)&&(_e=ve.length);for(var ke=0,Ae=new Array(_e);ke<_e;ke++)Ae[ke]=ve[ke];return Ae}function ye(ve,_e){for(var ke=0;ke<_e.length;ke++){var Ae=_e[ke];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(ve,Ae.key,Ae)}}function E(ve,_e,ke){return _e&&ye(ve.prototype,_e),ke&&ye(ve,ke),ve}function h(ve,_e){ve.prototype=Object.create(_e.prototype),ve.prototype.constructor=ve,ve.__proto__=_e}function Q(ve){return ve.map(function(_e){return _e.nodes&&(_e.nodes=Q(_e.nodes)),delete _e.source,_e})}var q=function(ve){h(_e,ve);function _e(){return ve.apply(this,arguments)||this}var ke=_e.prototype;return ke.push=function(Ae){return Ae.parent=this,this.nodes.push(Ae),this},ke.each=function(Ae){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var Xe=this.lastEach;if(this.indexes[Xe]=0,!!this.nodes){for(var nt,gt;this.indexes[Xe]<this.nodes.length&&(nt=this.indexes[Xe],gt=Ae(this.nodes[nt],nt),gt!==!1);)this.indexes[Xe]+=1;return delete this.indexes[Xe],gt}},ke.walk=function(Ae){return this.each(function(Xe,nt){var gt;try{gt=Ae(Xe,nt)}catch(Or){if(Or.postcssNode=Xe,Or.stack&&Xe.source&&/\n\s{4}at /.test(Or.stack)){var lr=Xe.source;Or.stack=Or.stack.replace(/\n\s{4}at /,"$&"+lr.input.from+":"+lr.start.line+":"+lr.start.column+"$&")}throw Or}return gt!==!1&&Xe.walk&&(gt=Xe.walk(Ae)),gt})},ke.walkDecls=function(Ae,Xe){return Xe?Ae instanceof RegExp?this.walk(function(nt,gt){if(nt.type==="decl"&&Ae.test(nt.prop))return Xe(nt,gt)}):this.walk(function(nt,gt){if(nt.type==="decl"&&nt.prop===Ae)return Xe(nt,gt)}):(Xe=Ae,this.walk(function(nt,gt){if(nt.type==="decl")return Xe(nt,gt)}))},ke.walkRules=function(Ae,Xe){return Xe?Ae instanceof RegExp?this.walk(function(nt,gt){if(nt.type==="rule"&&Ae.test(nt.selector))return Xe(nt,gt)}):this.walk(function(nt,gt){if(nt.type==="rule"&&nt.selector===Ae)return Xe(nt,gt)}):(Xe=Ae,this.walk(function(nt,gt){if(nt.type==="rule")return Xe(nt,gt)}))},ke.walkAtRules=function(Ae,Xe){return Xe?Ae instanceof RegExp?this.walk(function(nt,gt){if(nt.type==="atrule"&&Ae.test(nt.name))return Xe(nt,gt)}):this.walk(function(nt,gt){if(nt.type==="atrule"&&nt.name===Ae)return Xe(nt,gt)}):(Xe=Ae,this.walk(function(nt,gt){if(nt.type==="atrule")return Xe(nt,gt)}))},ke.walkComments=function(Ae){return this.walk(function(Xe,nt){if(Xe.type==="comment")return Ae(Xe,nt)})},ke.append=function(){for(var Ae=arguments.length,Xe=new Array(Ae),nt=0;nt<Ae;nt++)Xe[nt]=arguments[nt];for(var gt=0,lr=Xe;gt<lr.length;gt++)for(var Or=lr[gt],Rr=this.normalize(Or,this.last),on=me(Rr),pn;!(pn=on()).done;){var wn=pn.value;this.nodes.push(wn)}return this},ke.prepend=function(){for(var Ae=arguments.length,Xe=new Array(Ae),nt=0;nt<Ae;nt++)Xe[nt]=arguments[nt];Xe=Xe.reverse();for(var gt=me(Xe),lr;!(lr=gt()).done;){for(var Or=lr.value,Rr=this.normalize(Or,this.first,"prepend").reverse(),on=me(Rr),pn;!(pn=on()).done;){var wn=pn.value;this.nodes.unshift(wn)}for(var cn in this.indexes)this.indexes[cn]=this.indexes[cn]+Rr.length}return this},ke.cleanRaws=function(Ae){if(ve.prototype.cleanRaws.call(this,Ae),this.nodes)for(var Xe=me(this.nodes),nt;!(nt=Xe()).done;){var gt=nt.value;gt.cleanRaws(Ae)}},ke.insertBefore=function(Ae,Xe){Ae=this.index(Ae);for(var nt=Ae===0?"prepend":!1,gt=this.normalize(Xe,this.nodes[Ae],nt).reverse(),lr=me(gt),Or;!(Or=lr()).done;){var Rr=Or.value;this.nodes.splice(Ae,0,Rr)}var on;for(var pn in this.indexes)on=this.indexes[pn],Ae<=on&&(this.indexes[pn]=on+gt.length);return this},ke.insertAfter=function(Ae,Xe){Ae=this.index(Ae);for(var nt=this.normalize(Xe,this.nodes[Ae]).reverse(),gt=me(nt),lr;!(lr=gt()).done;){var Or=lr.value;this.nodes.splice(Ae+1,0,Or)}var Rr;for(var on in this.indexes)Rr=this.indexes[on],Ae<Rr&&(this.indexes[on]=Rr+nt.length);return this},ke.removeChild=function(Ae){Ae=this.index(Ae),this.nodes[Ae].parent=void 0,this.nodes.splice(Ae,1);var Xe;for(var nt in this.indexes)Xe=this.indexes[nt],Xe>=Ae&&(this.indexes[nt]=Xe-1);return this},ke.removeAll=function(){for(var Ae=me(this.nodes),Xe;!(Xe=Ae()).done;){var nt=Xe.value;nt.parent=void 0}return this.nodes=[],this},ke.replaceValues=function(Ae,Xe,nt){return nt||(nt=Xe,Xe={}),this.walkDecls(function(gt){Xe.props&&Xe.props.indexOf(gt.prop)===-1||Xe.fast&&gt.value.indexOf(Xe.fast)===-1||(gt.value=gt.value.replace(Ae,nt))}),this},ke.every=function(Ae){return this.nodes.every(Ae)},ke.some=function(Ae){return this.nodes.some(Ae)},ke.index=function(Ae){return typeof Ae=="number"?Ae:this.nodes.indexOf(Ae)},ke.normalize=function(Ae,Xe){var nt=this;if(typeof Ae=="string"){var gt=es();Ae=Q(gt(Ae).nodes)}else if(Array.isArray(Ae)){Ae=Ae.slice(0);for(var lr=me(Ae),Or;!(Or=lr()).done;){var Rr=Or.value;Rr.parent&&Rr.parent.removeChild(Rr,"ignore")}}else if(Ae.type==="root"){Ae=Ae.nodes.slice(0);for(var on=me(Ae),pn;!(pn=on()).done;){var wn=pn.value;wn.parent&&wn.parent.removeChild(wn,"ignore")}}else if(Ae.type)Ae=[Ae];else if(Ae.prop){if(typeof Ae.value>"u")throw new Error("Value field is missed in node creation");typeof Ae.value!="string"&&(Ae.value=String(Ae.value)),Ae=[new X.default(Ae)]}else if(Ae.selector){var cn=Ta();Ae=[new cn(Ae)]}else if(Ae.name){var fn=fu();Ae=[new fn(Ae)]}else if(Ae.text)Ae=[new G.default(Ae)];else throw new Error("Unknown node type in node creation");var Dr=Ae.map(function(Yt){return Yt.parent&&Yt.parent.removeChild(Yt),typeof Yt.raws.before>"u"&&Xe&&typeof Xe.raws.before<"u"&&(Yt.raws.before=Xe.raws.before.replace(/[^\s]/g,"")),Yt.parent=nt,Yt});return Dr},E(_e,[{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]}}]),_e}(Z.default),Ee=q;m.default=Ee,ee.exports=m.default}}),fu=dt({"node_modules/postcss/lib/at-rule.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=G(cs());function G(we){return we&&we.__esModule?we:{default:we}}function Z(we,pe){we.prototype=Object.create(pe.prototype),we.prototype.constructor=we,we.__proto__=pe}var he=function(we){Z(pe,we);function pe(E){var h;return h=we.call(this,E)||this,h.type="atrule",h}var ye=pe.prototype;return ye.append=function(){var E;this.nodes||(this.nodes=[]);for(var h=arguments.length,Q=new Array(h),q=0;q<h;q++)Q[q]=arguments[q];return(E=we.prototype.append).call.apply(E,[this].concat(Q))},ye.prepend=function(){var E;this.nodes||(this.nodes=[]);for(var h=arguments.length,Q=new Array(h),q=0;q<h;q++)Q[q]=arguments[q];return(E=we.prototype.prepend).call.apply(E,[this].concat(Q))},pe}(X.default),me=he;m.default=me,ee.exports=m.default}}),Rl=dt({"node_modules/postcss/lib/map-generator.js"(m,ee){xt(),ee.exports=class{generate(){}}}}),ps=dt({"node_modules/postcss/lib/warn-once.js"(m,ee){xt(),m.__esModule=!0,m.default=G;var X={};function G(Z){X[Z]||(X[Z]=!0,typeof console<"u"&&console.warn&&console.warn(Z))}ee.exports=m.default}}),Vs=dt({"node_modules/postcss/lib/warning.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=function(){function Z(me,we){if(we===void 0&&(we={}),this.type="warning",this.text=me,we.node&&we.node.source){var pe=we.node.positionBy(we);this.line=pe.line,this.column=pe.column}for(var ye in we)this[ye]=we[ye]}var he=Z.prototype;return he.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}(),G=X;m.default=G,ee.exports=m.default}}),Cc=dt({"node_modules/postcss/lib/result.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=G(Vs());function G(pe){return pe&&pe.__esModule?pe:{default:pe}}function Z(pe,ye){for(var E=0;E<ye.length;E++){var h=ye[E];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(pe,h.key,h)}}function he(pe,ye,E){return ye&&Z(pe.prototype,ye),E&&Z(pe,E),pe}var me=function(){function pe(E,h,Q){this.processor=E,this.messages=[],this.root=h,this.opts=Q,this.css=void 0,this.map=void 0}var ye=pe.prototype;return ye.toString=function(){return this.css},ye.warn=function(E,h){h===void 0&&(h={}),h.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(h.plugin=this.lastPlugin.postcssPlugin);var Q=new X.default(E,h);return this.messages.push(Q),Q},ye.warnings=function(){return this.messages.filter(function(E){return E.type==="warning"})},he(pe,[{key:"content",get:function(){return this.css}}]),pe}(),we=me;m.default=we,ee.exports=m.default}}),il=dt({"node_modules/postcss/lib/lazy-result.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=me(Rl()),G=me($s());me(ps());var Z=me(Cc()),he=me(es());function me(ve){return ve&&ve.__esModule?ve:{default:ve}}function we(ve,_e){var ke;if(typeof Symbol>"u"||ve[Symbol.iterator]==null){if(Array.isArray(ve)||(ke=pe(ve))||_e&&ve&&typeof ve.length=="number"){ke&&(ve=ke);var Ae=0;return function(){return Ae>=ve.length?{done:!0}:{done:!1,value:ve[Ae++]}}}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 ke=ve[Symbol.iterator](),ke.next.bind(ke)}function pe(ve,_e){if(ve){if(typeof ve=="string")return ye(ve,_e);var ke=Object.prototype.toString.call(ve).slice(8,-1);if(ke==="Object"&&ve.constructor&&(ke=ve.constructor.name),ke==="Map"||ke==="Set")return Array.from(ve);if(ke==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ke))return ye(ve,_e)}}function ye(ve,_e){(_e==null||_e>ve.length)&&(_e=ve.length);for(var ke=0,Ae=new Array(_e);ke<_e;ke++)Ae[ke]=ve[ke];return Ae}function E(ve,_e){for(var ke=0;ke<_e.length;ke++){var Ae=_e[ke];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(ve,Ae.key,Ae)}}function h(ve,_e,ke){return _e&&E(ve.prototype,_e),ke&&E(ve,ke),ve}function Q(ve){return typeof ve=="object"&&typeof ve.then=="function"}var q=function(){function ve(ke,Ae,Xe){this.stringified=!1,this.processed=!1;var nt;if(typeof Ae=="object"&&Ae!==null&&Ae.type==="root")nt=Ae;else if(Ae instanceof ve||Ae instanceof Z.default)nt=Ae.root,Ae.map&&(typeof Xe.map>"u"&&(Xe.map={}),Xe.map.inline||(Xe.map.inline=!1),Xe.map.prev=Ae.map);else{var gt=he.default;Xe.syntax&&(gt=Xe.syntax.parse),Xe.parser&&(gt=Xe.parser),gt.parse&&(gt=gt.parse);try{nt=gt(Ae,Xe)}catch(lr){this.error=lr}}this.result=new Z.default(ke,nt,Xe)}var _e=ve.prototype;return _e.warnings=function(){return this.sync().warnings()},_e.toString=function(){return this.css},_e.then=function(ke,Ae){return this.async().then(ke,Ae)},_e.catch=function(ke){return this.async().catch(ke)},_e.finally=function(ke){return this.async().then(ke,ke)},_e.handleError=function(ke,Ae){try{if(this.error=ke,ke.name==="CssSyntaxError"&&!ke.plugin)ke.plugin=Ae.postcssPlugin,ke.setMessage();else if(Ae.postcssVersion&&!1)var Xe,nt,gt,lr,Or}catch(Rr){console&&console.error&&console.error(Rr)}},_e.asyncTick=function(ke,Ae){var Xe=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,ke();try{var nt=this.processor.plugins[this.plugin],gt=this.run(nt);this.plugin+=1,Q(gt)?gt.then(function(){Xe.asyncTick(ke,Ae)}).catch(function(lr){Xe.handleError(lr,nt),Xe.processed=!0,Ae(lr)}):this.asyncTick(ke,Ae)}catch(lr){this.processed=!0,Ae(lr)}},_e.async=function(){var ke=this;return this.processed?new Promise(function(Ae,Xe){ke.error?Xe(ke.error):Ae(ke.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ae,Xe){if(ke.error)return Xe(ke.error);ke.plugin=0,ke.asyncTick(Ae,Xe)}).then(function(){return ke.processed=!0,ke.stringify()}),this.processing)},_e.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 ke=we(this.result.processor.plugins),Ae;!(Ae=ke()).done;){var Xe=Ae.value,nt=this.run(Xe);if(Q(nt))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},_e.run=function(ke){this.result.lastPlugin=ke;try{return ke(this.result.root,this.result)}catch(Ae){throw this.handleError(Ae,ke),Ae}},_e.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var ke=this.result.opts,Ae=G.default;ke.syntax&&(Ae=ke.syntax.stringify),ke.stringifier&&(Ae=ke.stringifier),Ae.stringify&&(Ae=Ae.stringify);var Xe=new X.default(Ae,this.result.root,this.result.opts),nt=Xe.generate();return this.result.css=nt[0],this.result.map=nt[1],this.result},h(ve,[{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}}]),ve}(),Ee=q;m.default=Ee,ee.exports=m.default}}),zl=dt({"node_modules/postcss/lib/processor.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=G(il());function G(ye){return ye&&ye.__esModule?ye:{default:ye}}function Z(ye,E){var h;if(typeof Symbol>"u"||ye[Symbol.iterator]==null){if(Array.isArray(ye)||(h=he(ye))||E&&ye&&typeof ye.length=="number"){h&&(ye=h);var Q=0;return function(){return Q>=ye.length?{done:!0}:{done:!1,value:ye[Q++]}}}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 h=ye[Symbol.iterator](),h.next.bind(h)}function he(ye,E){if(ye){if(typeof ye=="string")return me(ye,E);var h=Object.prototype.toString.call(ye).slice(8,-1);if(h==="Object"&&ye.constructor&&(h=ye.constructor.name),h==="Map"||h==="Set")return Array.from(ye);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return me(ye,E)}}function me(ye,E){(E==null||E>ye.length)&&(E=ye.length);for(var h=0,Q=new Array(E);h<E;h++)Q[h]=ye[h];return Q}var we=function(){function ye(h){h===void 0&&(h=[]),this.version="7.0.39",this.plugins=this.normalize(h)}var E=ye.prototype;return E.use=function(h){return this.plugins=this.plugins.concat(this.normalize([h])),this},E.process=function(h){function Q(q){return h.apply(this,arguments)}return Q.toString=function(){return h.toString()},Q}(function(h,Q){return Q===void 0&&(Q={}),this.plugins.length===0&&(Q.parser,Q.stringifier),new X.default(this,h,Q)}),E.normalize=function(h){for(var Q=[],q=Z(h),Ee;!(Ee=q()).done;){var ve=Ee.value;if(ve.postcss===!0){var _e=ve();throw new Error("PostCSS plugin "+_e.postcssPlugin+` requires PostCSS 8.
201
- Migration guide for end-users:
202
- https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(ve.postcss&&(ve=ve.postcss),typeof ve=="object"&&Array.isArray(ve.plugins))Q=Q.concat(ve.plugins);else if(typeof ve=="function")Q.push(ve);else if(!(typeof ve=="object"&&(ve.parse||ve.stringify)))throw typeof ve=="object"&&ve.postcssPlugin?new Error("PostCSS plugin "+ve.postcssPlugin+` requires PostCSS 8.
203
- Migration guide for end-users:
204
- https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(ve+" is not a PostCSS plugin")}return Q},ye}(),pe=we;m.default=pe,ee.exports=m.default}}),Wl=dt({"node_modules/postcss/lib/root.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=G(cs());function G(E){return E&&E.__esModule?E:{default:E}}function Z(E,h){var Q;if(typeof Symbol>"u"||E[Symbol.iterator]==null){if(Array.isArray(E)||(Q=he(E))||h&&E&&typeof E.length=="number"){Q&&(E=Q);var q=0;return function(){return q>=E.length?{done:!0}:{done:!1,value:E[q++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
205
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Q=E[Symbol.iterator](),Q.next.bind(Q)}function he(E,h){if(E){if(typeof E=="string")return me(E,h);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 me(E,h)}}function me(E,h){(h==null||h>E.length)&&(h=E.length);for(var Q=0,q=new Array(h);Q<h;Q++)q[Q]=E[Q];return q}function we(E,h){E.prototype=Object.create(h.prototype),E.prototype.constructor=E,E.__proto__=h}var pe=function(E){we(h,E);function h(q){var Ee;return Ee=E.call(this,q)||this,Ee.type="root",Ee.nodes||(Ee.nodes=[]),Ee}var Q=h.prototype;return Q.removeChild=function(q,Ee){var ve=this.index(q);return!Ee&&ve===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[ve].raws.before),E.prototype.removeChild.call(this,q)},Q.normalize=function(q,Ee,ve){var _e=E.prototype.normalize.call(this,q);if(Ee){if(ve==="prepend")this.nodes.length>1?Ee.raws.before=this.nodes[1].raws.before:delete Ee.raws.before;else if(this.first!==Ee)for(var ke=Z(_e),Ae;!(Ae=ke()).done;){var Xe=Ae.value;Xe.raws.before=Ee.raws.before}}return _e},Q.toResult=function(q){q===void 0&&(q={});var Ee=il(),ve=zl(),_e=new Ee(new ve,this,q);return _e.stringify()},h}(X.default),ye=pe;m.default=ye,ee.exports=m.default}}),ol=dt({"node_modules/postcss/lib/parser.js"(m,ee){xt(),m.__esModule=!0,m.default=void 0;var X=pe(us()),G=pe(So()),Z=pe(go()),he=pe(fu()),me=pe(Wl()),we=pe(Ta());function pe(E){return E&&E.__esModule?E:{default:E}}var ye=function(){function E(Q){this.input=Q,this.root=new me.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:Q,start:{line:1,column:1}}}var h=E.prototype;return h.createTokenizer=function(){this.tokenizer=(0,G.default)(this.input)},h.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()},h.comment=function(Q){var q=new Z.default;this.init(q,Q[2],Q[3]),q.source.end={line:Q[4],column:Q[5]};var Ee=Q[1].slice(2,-2);if(/^\s*$/.test(Ee))q.text="",q.raws.left=Ee,q.raws.right="";else{var ve=Ee.match(/^(\s*)([^]*[^\s])(\s*)$/);q.text=ve[2],q.raws.left=ve[1],q.raws.right=ve[3]}},h.emptyRule=function(Q){var q=new we.default;this.init(q,Q[2],Q[3]),q.selector="",q.raws.between="",this.current=q},h.other=function(Q){for(var q=!1,Ee=null,ve=!1,_e=null,ke=[],Ae=[],Xe=Q;Xe;){if(Ee=Xe[0],Ae.push(Xe),Ee==="("||Ee==="[")_e||(_e=Xe),ke.push(Ee==="("?")":"]");else if(ke.length===0)if(Ee===";")if(ve){this.decl(Ae);return}else break;else if(Ee==="{"){this.rule(Ae);return}else if(Ee==="}"){this.tokenizer.back(Ae.pop()),q=!0;break}else Ee===":"&&(ve=!0);else Ee===ke[ke.length-1]&&(ke.pop(),ke.length===0&&(_e=null));Xe=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(q=!0),ke.length>0&&this.unclosedBracket(_e),q&&ve){for(;Ae.length&&(Xe=Ae[Ae.length-1][0],!(Xe!=="space"&&Xe!=="comment"));)this.tokenizer.back(Ae.pop());this.decl(Ae)}else this.unknownWord(Ae)},h.rule=function(Q){Q.pop();var q=new we.default;this.init(q,Q[0][2],Q[0][3]),q.raws.between=this.spacesAndCommentsFromEnd(Q),this.raw(q,"selector",Q),this.current=q},h.decl=function(Q){var q=new X.default;this.init(q);var Ee=Q[Q.length-1];for(Ee[0]===";"&&(this.semicolon=!0,Q.pop()),Ee[4]?q.source.end={line:Ee[4],column:Ee[5]}:q.source.end={line:Ee[2],column:Ee[3]};Q[0][0]!=="word";)Q.length===1&&this.unknownWord(Q),q.raws.before+=Q.shift()[1];for(q.source.start={line:Q[0][2],column:Q[0][3]},q.prop="";Q.length;){var ve=Q[0][0];if(ve===":"||ve==="space"||ve==="comment")break;q.prop+=Q.shift()[1]}q.raws.between="";for(var _e;Q.length;)if(_e=Q.shift(),_e[0]===":"){q.raws.between+=_e[1];break}else _e[0]==="word"&&/\w/.test(_e[1])&&this.unknownWord([_e]),q.raws.between+=_e[1];(q.prop[0]==="_"||q.prop[0]==="*")&&(q.raws.before+=q.prop[0],q.prop=q.prop.slice(1)),q.raws.between+=this.spacesAndCommentsFromStart(Q),this.precheckMissedSemicolon(Q);for(var ke=Q.length-1;ke>0;ke--){if(_e=Q[ke],_e[1].toLowerCase()==="!important"){q.important=!0;var Ae=this.stringFrom(Q,ke);Ae=this.spacesFromEnd(Q)+Ae,Ae!==" !important"&&(q.raws.important=Ae);break}else if(_e[1].toLowerCase()==="important"){for(var Xe=Q.slice(0),nt="",gt=ke;gt>0;gt--){var lr=Xe[gt][0];if(nt.trim().indexOf("!")===0&&lr!=="space")break;nt=Xe.pop()[1]+nt}nt.trim().indexOf("!")===0&&(q.important=!0,q.raws.important=nt,Q=Xe)}if(_e[0]!=="space"&&_e[0]!=="comment")break}this.raw(q,"value",Q),q.value.indexOf(":")!==-1&&this.checkMissedSemicolon(Q)},h.atrule=function(Q){var q=new he.default;q.name=Q[1].slice(1),q.name===""&&this.unnamedAtrule(q,Q),this.init(q,Q[2],Q[3]);for(var Ee,ve,_e=!1,ke=!1,Ae=[];!this.tokenizer.endOfFile();){if(Q=this.tokenizer.nextToken(),Q[0]===";"){q.source.end={line:Q[2],column:Q[3]},this.semicolon=!0;break}else if(Q[0]==="{"){ke=!0;break}else if(Q[0]==="}"){if(Ae.length>0){for(ve=Ae.length-1,Ee=Ae[ve];Ee&&Ee[0]==="space";)Ee=Ae[--ve];Ee&&(q.source.end={line:Ee[4],column:Ee[5]})}this.end(Q);break}else Ae.push(Q);if(this.tokenizer.endOfFile()){_e=!0;break}}q.raws.between=this.spacesAndCommentsFromEnd(Ae),Ae.length?(q.raws.afterName=this.spacesAndCommentsFromStart(Ae),this.raw(q,"params",Ae),_e&&(Q=Ae[Ae.length-1],q.source.end={line:Q[4],column:Q[5]},this.spaces=q.raws.between,q.raws.between="")):(q.raws.afterName="",q.params=""),ke&&(q.nodes=[],this.current=q)},h.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)},h.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},h.freeSemicolon=function(Q){if(this.spaces+=Q[1],this.current.nodes){var q=this.current.nodes[this.current.nodes.length-1];q&&q.type==="rule"&&!q.raws.ownSemicolon&&(q.raws.ownSemicolon=this.spaces,this.spaces="")}},h.init=function(Q,q,Ee){this.current.push(Q),Q.source={start:{line:q,column:Ee},input:this.input},Q.raws.before=this.spaces,this.spaces="",Q.type!=="comment"&&(this.semicolon=!1)},h.raw=function(Q,q,Ee){for(var ve,_e,ke=Ee.length,Ae="",Xe=!0,nt,gt,lr=/^([.|#])?([\w])+/i,Or=0;Or<ke;Or+=1){if(ve=Ee[Or],_e=ve[0],_e==="comment"&&Q.type==="rule"){gt=Ee[Or-1],nt=Ee[Or+1],gt[0]!=="space"&&nt[0]!=="space"&&lr.test(gt[1])&&lr.test(nt[1])?Ae+=ve[1]:Xe=!1;continue}_e==="comment"||_e==="space"&&Or===ke-1?Xe=!1:Ae+=ve[1]}if(!Xe){var Rr=Ee.reduce(function(on,pn){return on+pn[1]},"");Q.raws[q]={value:Ae,raw:Rr}}Q[q]=Ae},h.spacesAndCommentsFromEnd=function(Q){for(var q,Ee="";Q.length&&(q=Q[Q.length-1][0],!(q!=="space"&&q!=="comment"));)Ee=Q.pop()[1]+Ee;return Ee},h.spacesAndCommentsFromStart=function(Q){for(var q,Ee="";Q.length&&(q=Q[0][0],!(q!=="space"&&q!=="comment"));)Ee+=Q.shift()[1];return Ee},h.spacesFromEnd=function(Q){for(var q,Ee="";Q.length&&(q=Q[Q.length-1][0],q==="space");)Ee=Q.pop()[1]+Ee;return Ee},h.stringFrom=function(Q,q){for(var Ee="",ve=q;ve<Q.length;ve++)Ee+=Q[ve][1];return Q.splice(q,Q.length-q),Ee},h.colon=function(Q){for(var q=0,Ee,ve,_e,ke=0;ke<Q.length;ke++){if(Ee=Q[ke],ve=Ee[0],ve==="("&&(q+=1),ve===")"&&(q-=1),q===0&&ve===":")if(!_e)this.doubleColon(Ee);else{if(_e[0]==="word"&&_e[1]==="progid")continue;return ke}_e=Ee}return!1},h.unclosedBracket=function(Q){throw this.input.error("Unclosed bracket",Q[2],Q[3])},h.unknownWord=function(Q){throw this.input.error("Unknown word",Q[0][2],Q[0][3])},h.unexpectedClose=function(Q){throw this.input.error("Unexpected }",Q[2],Q[3])},h.unclosedBlock=function(){var Q=this.current.source.start;throw this.input.error("Unclosed block",Q.line,Q.column)},h.doubleColon=function(Q){throw this.input.error("Double colon",Q[2],Q[3])},h.unnamedAtrule=function(Q,q){throw this.input.error("At-rule without name",q[2],q[3])},h.precheckMissedSemicolon=function(){},h.checkMissedSemicolon=function(Q){var q=this.colon(Q);if(q!==!1){for(var Ee=0,ve,_e=q-1;_e>=0&&(ve=Q[_e],!(ve[0]!=="space"&&(Ee+=1,Ee===2)));_e--);throw this.input.error("Missed semicolon",ve[2],ve[3])}},E}();m.default=ye,ee.exports=m.default}}),Ec=dt({"node_modules/postcss-less/lib/nodes/inline-comment.js"(m,ee){xt();var X=So(),G=Ss();ee.exports={isInlineComment(Z){if(Z[0]==="word"&&Z[1].slice(0,2)==="//"){let he=Z,me=[],we;for(;Z;){if(/\r?\n/.test(Z[1])){if(/['"].*\r?\n/.test(Z[1])){me.push(Z[1].substring(0,Z[1].indexOf(`
206
- `)));let ye=Z[1].substring(Z[1].indexOf(`
207
- `));ye+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new G(ye),this.tokenizer=X(this.input)}else this.tokenizer.back(Z);break}me.push(Z[1]),we=Z,Z=this.tokenizer.nextToken({ignoreUnclosed:!0})}let pe=["comment",me.join(""),he[2],he[3],we[2],we[3]];return this.inlineComment(pe),!0}else if(Z[1]==="/"){let he=this.tokenizer.nextToken({ignoreUnclosed:!0});if(he[0]==="comment"&&/^\/\*/.test(he[1]))return he[0]="word",he[1]=he[1].slice(1),Z[1]="//",this.tokenizer.back(he),ee.exports.isInlineComment.bind(this)(Z)}return!1}}}}),oo=dt({"node_modules/postcss-less/lib/nodes/interpolation.js"(m,ee){xt(),ee.exports={interpolation(X){let G=X,Z=[X],he=["word","{","}"];if(X=this.tokenizer.nextToken(),G[1].length>1||X[0]!=="{")return this.tokenizer.back(X),!1;for(;X&&he.includes(X[0]);)Z.push(X),X=this.tokenizer.nextToken();let me=Z.map(h=>h[1]);[G]=Z;let we=Z.pop(),pe=[G[2],G[3]],ye=[we[4]||we[2],we[5]||we[3]],E=["word",me.join("")].concat(pe,ye);return this.tokenizer.back(X),this.tokenizer.back(E),!0}}}}),Mi=dt({"node_modules/postcss-less/lib/nodes/mixin.js"(m,ee){xt();var X=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,G=/\.[0-9]/,Z=he=>{let[,me]=he,[we]=me;return(we==="."||we==="#")&&X.test(me)===!1&&G.test(me)===!1};ee.exports={isMixinToken:Z}}}),Yi=dt({"node_modules/postcss-less/lib/nodes/import.js"(m,ee){xt();var X=So(),G=/^url\((.+)\)/;ee.exports=Z=>{let{name:he,params:me=""}=Z;if(he==="import"&&me.length){Z.import=!0;let we=X({css:me});for(Z.filename=me.replace(G,"$1");!we.endOfFile();){let[pe,ye]=we.nextToken();if(pe==="word"&&ye==="url")return;if(pe==="brackets"){Z.options=ye,Z.filename=me.replace(ye,"").trim();break}}}}}}),Ei=dt({"node_modules/postcss-less/lib/nodes/variable.js"(m,ee){xt();var X=/:$/,G=/^:(\s+)?/;ee.exports=Z=>{let{name:he,params:me=""}=Z;if(Z.name.slice(-1)===":"){if(X.test(he)){let[we]=he.match(X);Z.name=he.replace(we,""),Z.raws.afterName=we+(Z.raws.afterName||""),Z.variable=!0,Z.value=Z.params}if(G.test(me)){let[we]=me.match(G);Z.value=me.replace(we,""),Z.raws.afterName=(Z.raws.afterName||"")+we,Z.variable=!0}}}}}),Na=dt({"node_modules/postcss-less/lib/LessParser.js"(m,ee){xt();var X=go(),G=ol(),{isInlineComment:Z}=Ec(),{interpolation:he}=oo(),{isMixinToken:me}=Mi(),we=Yi(),pe=Ei(),ye=/(!\s*important)$/i;ee.exports=class extends G{constructor(){super(...arguments),this.lastNode=null}atrule(E){he.bind(this)(E)||(super.atrule(E),we(this.lastNode),pe(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 h=E.findIndex(ve=>ve[0]==="("),Q=E.reverse().find(ve=>ve[0]===")"),q=E.reverse().indexOf(Q),Ee=E.splice(h,q).map(ve=>ve[1]).join("");for(let ve of E.reverse())this.tokenizer.back(ve);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Ee}init(E,h,Q){super.init(E,h,Q),this.lastNode=E}inlineComment(E){let h=new X,Q=E[1].slice(2);if(this.init(h,E[2],E[3]),h.source.end={line:E[4],column:E[5]},h.inline=!0,h.raws.begin="//",/^\s*$/.test(Q))h.text="",h.raws.left=Q,h.raws.right="";else{let q=Q.match(/^(\s*)([^]*[^\s])(\s*)$/);[,h.raws.left,h.text,h.raws.right]=q}}mixin(E){let[h]=E,Q=h[1].slice(0,1),q=E.findIndex(Ae=>Ae[0]==="brackets"),Ee=E.findIndex(Ae=>Ae[0]==="("),ve="";if((q<0||q>3)&&Ee>0){let Ae=E.reduce((wn,cn,fn)=>cn[0]===")"?fn:wn),Xe=E.slice(Ee,Ae+Ee).map(wn=>wn[1]).join(""),[nt]=E.slice(Ee),gt=[nt[2],nt[3]],[lr]=E.slice(Ae,Ae+1),Or=[lr[2],lr[3]],Rr=["brackets",Xe].concat(gt,Or),on=E.slice(0,Ee),pn=E.slice(Ae+1);E=on,E.push(Rr),E=E.concat(pn)}let _e=[];for(let Ae of E)if((Ae[1]==="!"||_e.length)&&_e.push(Ae),Ae[1]==="important")break;if(_e.length){let[Ae]=_e,Xe=E.indexOf(Ae),nt=_e[_e.length-1],gt=[Ae[2],Ae[3]],lr=[nt[4],nt[5]],Or=_e.map(on=>on[1]).join(""),Rr=["word",Or].concat(gt,lr);E.splice(Xe,_e.length,Rr)}let ke=E.findIndex(Ae=>ye.test(Ae[1]));ke>0&&([,ve]=E[ke],E.splice(ke,1));for(let Ae of E.reverse())this.tokenizer.back(Ae);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=Q,ve&&(this.lastNode.important=!0,this.lastNode.raws.important=ve)}other(E){Z.bind(this)(E)||super.other(E)}rule(E){let h=E[E.length-1],Q=E[E.length-2];if(Q[0]==="at-word"&&h[0]==="{"&&(this.tokenizer.back(h),he.bind(this)(Q))){let q=this.tokenizer.nextToken();E=E.slice(0,E.length-2).concat([q]);for(let Ee of E.reverse())this.tokenizer.back(Ee);return}super.rule(E),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(E){let[h]=E;if(E[0][1]==="each"&&E[1][0]==="("){this.each(E);return}if(me(h)){this.mixin(E);return}super.unknownWord(E)}}}}),wc=dt({"node_modules/postcss-less/lib/LessStringifier.js"(m,ee){xt();var X=ka();ee.exports=class extends X{atrule(G,Z){if(!G.mixin&&!G.variable&&!G.function){super.atrule(G,Z);return}let he=G.function?"":G.raws.identifier||"@",me="".concat(he).concat(G.name),we=G.params?this.rawValue(G,"params"):"",pe=G.raws.important||"";if(G.variable&&(we=G.value),typeof G.raws.afterName<"u"?me+=G.raws.afterName:we&&(me+=" "),G.nodes)this.block(G,me+we+pe);else{let ye=(G.raws.between||"")+pe+(Z?";":"");this.builder(me+we+ye,G)}}comment(G){if(G.inline){let Z=this.raw(G,"left","commentLeft"),he=this.raw(G,"right","commentRight");this.builder("//".concat(Z).concat(G.text).concat(he),G)}else super.comment(G)}}}}),oa=dt({"node_modules/postcss-less/lib/index.js"(m,ee){xt();var X=Ss(),G=Na(),Z=wc();ee.exports={parse(he,me){let we=new X(he,me),pe=new G(we);return pe.parse(),pe.root},stringify(he,me){new Z(me).stringify(he)},nodeToString(he){let me="";return ee.exports.stringify(he,we=>{me+=we}),me}}}}),Ac=dt({"node_modules/postcss-scss/lib/scss-stringifier.js"(m,ee){xt();function X(he,me){he.prototype=Object.create(me.prototype),he.prototype.constructor=he,he.__proto__=me}var G=ka(),Z=function(he){X(me,he);function me(){return he.apply(this,arguments)||this}var we=me.prototype;return we.comment=function(pe){var ye=this.raw(pe,"left","commentLeft"),E=this.raw(pe,"right","commentRight");if(pe.raws.inline){var h=pe.raws.text||pe.text;this.builder("//"+ye+h+E,pe)}else this.builder("/*"+ye+pe.text+E+"*/",pe)},we.decl=function(pe,ye){if(!pe.isNested)he.prototype.decl.call(this,pe,ye);else{var E=this.raw(pe,"between","colon"),h=pe.prop+E+this.rawValue(pe,"value");pe.important&&(h+=pe.raws.important||" !important"),this.builder(h+"{",pe,"start");var Q;pe.nodes&&pe.nodes.length?(this.body(pe),Q=this.raw(pe,"after")):Q=this.raw(pe,"after","emptyBody"),Q&&this.builder(Q),this.builder("}",pe,"end")}},we.rawValue=function(pe,ye){var E=pe[ye],h=pe.raws[ye];return h&&h.value===E?h.scss?h.scss:h.raw:E},me}(G);ee.exports=Z}}),Sc=dt({"node_modules/postcss-scss/lib/scss-stringify.js"(m,ee){xt();var X=Ac();ee.exports=function(G,Z){var he=new X(Z);he.stringify(G)}}}),Hl=dt({"node_modules/postcss-scss/lib/nested-declaration.js"(m,ee){xt();function X(he,me){he.prototype=Object.create(me.prototype),he.prototype.constructor=he,he.__proto__=me}var G=cs(),Z=function(he){X(me,he);function me(we){var pe;return pe=he.call(this,we)||this,pe.type="decl",pe.isNested=!0,pe.nodes||(pe.nodes=[]),pe}return me}(G);ee.exports=Z}}),sl=dt({"node_modules/postcss-scss/lib/scss-tokenize.js"(m,ee){xt();var X="'".charCodeAt(0),G='"'.charCodeAt(0),Z="\\".charCodeAt(0),he="/".charCodeAt(0),me=`
208
- `.charCodeAt(0),we=" ".charCodeAt(0),pe="\f".charCodeAt(0),ye=" ".charCodeAt(0),E="\r".charCodeAt(0),h="[".charCodeAt(0),Q="]".charCodeAt(0),q="(".charCodeAt(0),Ee=")".charCodeAt(0),ve="{".charCodeAt(0),_e="}".charCodeAt(0),ke=";".charCodeAt(0),Ae="*".charCodeAt(0),Xe=":".charCodeAt(0),nt="@".charCodeAt(0),gt=",".charCodeAt(0),lr="#".charCodeAt(0),Or=/[ \n\t\r\f{}()'"\\;/[\]#]/g,Rr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,on=/.[\\/("'\n]/,pn=/[a-f0-9]/i,wn=/[\r\f\n]/g;ee.exports=function(cn,fn){fn===void 0&&(fn={});var Dr=cn.css.valueOf(),Yt=fn.ignoreErrors,xr,Gt,wi,ri,oi,qn,Rn,qr,Bn,An,Cn,ht,_t,Wt,Pr=Dr.length,ft=-1,rn=1,$r=0,Li=[],_i=[];function pi(Ri){throw cn.error("Unclosed "+Ri,rn,$r-ft)}function Fo(){return _i.length===0&&$r>=Pr}function Xi(){for(var Ri=1,ki=!1,Qi=!1;Ri>0;)Gt+=1,Dr.length<=Gt&&pi("interpolation"),xr=Dr.charCodeAt(Gt),ht=Dr.charCodeAt(Gt+1),ki?!Qi&&xr===ki?(ki=!1,Qi=!1):xr===Z?Qi=!An:Qi&&(Qi=!1):xr===X||xr===G?ki=xr:xr===_e?Ri-=1:xr===lr&&ht===ve&&(Ri+=1)}function yi(){if(_i.length)return _i.pop();if(!($r>=Pr)){switch(xr=Dr.charCodeAt($r),(xr===me||xr===pe||xr===E&&Dr.charCodeAt($r+1)!==me)&&(ft=$r,rn+=1),xr){case me:case we:case ye:case E:case pe:Gt=$r;do Gt+=1,xr=Dr.charCodeAt(Gt),xr===me&&(ft=Gt,rn+=1);while(xr===we||xr===me||xr===ye||xr===E||xr===pe);_t=["space",Dr.slice($r,Gt)],$r=Gt-1;break;case h:_t=["[","[",rn,$r-ft];break;case Q:_t=["]","]",rn,$r-ft];break;case ve:_t=["{","{",rn,$r-ft];break;case _e:_t=["}","}",rn,$r-ft];break;case gt:_t=["word",",",rn,$r-ft,rn,$r-ft+1];break;case Xe:_t=[":",":",rn,$r-ft];break;case ke:_t=[";",";",rn,$r-ft];break;case q:if(Cn=Li.length?Li.pop()[1]:"",ht=Dr.charCodeAt($r+1),Cn==="url"&&ht!==X&&ht!==G){for(Wt=1,An=!1,Gt=$r+1;Gt<=Dr.length-1;){if(ht=Dr.charCodeAt(Gt),ht===Z)An=!An;else if(ht===q)Wt+=1;else if(ht===Ee&&(Wt-=1,Wt===0))break;Gt+=1}qn=Dr.slice($r,Gt+1),ri=qn.split(`
209
- `),oi=ri.length-1,oi>0?(qr=rn+oi,Bn=Gt-ri[oi].length):(qr=rn,Bn=ft),_t=["brackets",qn,rn,$r-ft,qr,Gt-Bn],ft=Bn,rn=qr,$r=Gt}else Gt=Dr.indexOf(")",$r+1),qn=Dr.slice($r,Gt+1),Gt===-1||on.test(qn)?_t=["(","(",rn,$r-ft]:(_t=["brackets",qn,rn,$r-ft,rn,Gt-ft],$r=Gt);break;case Ee:_t=[")",")",rn,$r-ft];break;case X:case G:for(wi=xr,Gt=$r,An=!1;Gt<Pr&&(Gt++,Gt===Pr&&pi("string"),xr=Dr.charCodeAt(Gt),ht=Dr.charCodeAt(Gt+1),!(!An&&xr===wi));)xr===Z?An=!An:An?An=!1:xr===lr&&ht===ve&&Xi();qn=Dr.slice($r,Gt+1),ri=qn.split(`
210
- `),oi=ri.length-1,oi>0?(qr=rn+oi,Bn=Gt-ri[oi].length):(qr=rn,Bn=ft),_t=["string",Dr.slice($r,Gt+1),rn,$r-ft,qr,Gt-Bn],ft=Bn,rn=qr,$r=Gt;break;case nt:Or.lastIndex=$r+1,Or.test(Dr),Or.lastIndex===0?Gt=Dr.length-1:Gt=Or.lastIndex-2,_t=["at-word",Dr.slice($r,Gt+1),rn,$r-ft,rn,Gt-ft],$r=Gt;break;case Z:for(Gt=$r,Rn=!0;Dr.charCodeAt(Gt+1)===Z;)Gt+=1,Rn=!Rn;if(xr=Dr.charCodeAt(Gt+1),Rn&&xr!==he&&xr!==we&&xr!==me&&xr!==ye&&xr!==E&&xr!==pe&&(Gt+=1,pn.test(Dr.charAt(Gt)))){for(;pn.test(Dr.charAt(Gt+1));)Gt+=1;Dr.charCodeAt(Gt+1)===we&&(Gt+=1)}_t=["word",Dr.slice($r,Gt+1),rn,$r-ft,rn,Gt-ft],$r=Gt;break;default:ht=Dr.charCodeAt($r+1),xr===lr&&ht===ve?(Gt=$r,Xi(),qn=Dr.slice($r,Gt+1),ri=qn.split(`
211
- `),oi=ri.length-1,oi>0?(qr=rn+oi,Bn=Gt-ri[oi].length):(qr=rn,Bn=ft),_t=["word",qn,rn,$r-ft,qr,Gt-Bn],ft=Bn,rn=qr,$r=Gt):xr===he&&ht===Ae?(Gt=Dr.indexOf("*/",$r+2)+1,Gt===0&&(Yt?Gt=Dr.length:pi("comment")),qn=Dr.slice($r,Gt+1),ri=qn.split(`
212
- `),oi=ri.length-1,oi>0?(qr=rn+oi,Bn=Gt-ri[oi].length):(qr=rn,Bn=ft),_t=["comment",qn,rn,$r-ft,qr,Gt-Bn],ft=Bn,rn=qr,$r=Gt):xr===he&&ht===he?(wn.lastIndex=$r+1,wn.test(Dr),wn.lastIndex===0?Gt=Dr.length-1:Gt=wn.lastIndex-2,qn=Dr.slice($r,Gt+1),_t=["comment",qn,rn,$r-ft,rn,Gt-ft,"inline"],$r=Gt):(Rr.lastIndex=$r+1,Rr.test(Dr),Rr.lastIndex===0?Gt=Dr.length-1:Gt=Rr.lastIndex-2,_t=["word",Dr.slice($r,Gt+1),rn,$r-ft,rn,Gt-ft],Li.push(_t),$r=Gt);break}return $r++,_t}}function so(Ri){_i.push(Ri)}return{back:so,nextToken:yi,endOfFile:Fo}}}}),Ul=dt({"node_modules/postcss-scss/lib/scss-parser.js"(m,ee){xt();function X(pe,ye){pe.prototype=Object.create(ye.prototype),pe.prototype.constructor=pe,pe.__proto__=ye}var G=go(),Z=ol(),he=Hl(),me=sl(),we=function(pe){X(ye,pe);function ye(){return pe.apply(this,arguments)||this}var E=ye.prototype;return E.createTokenizer=function(){this.tokenizer=me(this.input)},E.rule=function(h){for(var Q=!1,q=0,Ee="",ke=h,ve=Array.isArray(ke),_e=0,ke=ve?ke:ke[Symbol.iterator]();;){var Ae;if(ve){if(_e>=ke.length)break;Ae=ke[_e++]}else{if(_e=ke.next(),_e.done)break;Ae=_e.value}var Xe=Ae;if(Q)Xe[0]!=="comment"&&Xe[0]!=="{"&&(Ee+=Xe[1]);else{if(Xe[0]==="space"&&Xe[1].indexOf(`
213
- `)!==-1)break;Xe[0]==="("?q+=1:Xe[0]===")"?q-=1:q===0&&Xe[0]===":"&&(Q=!0)}}if(!Q||Ee.trim()===""||/^[a-zA-Z-:#]/.test(Ee))pe.prototype.rule.call(this,h);else{h.pop();var nt=new he;this.init(nt);var gt=h[h.length-1];for(gt[4]?nt.source.end={line:gt[4],column:gt[5]}:nt.source.end={line:gt[2],column:gt[3]};h[0][0]!=="word";)nt.raws.before+=h.shift()[1];for(nt.source.start={line:h[0][2],column:h[0][3]},nt.prop="";h.length;){var lr=h[0][0];if(lr===":"||lr==="space"||lr==="comment")break;nt.prop+=h.shift()[1]}nt.raws.between="";for(var Or;h.length;)if(Or=h.shift(),Or[0]===":"){nt.raws.between+=Or[1];break}else nt.raws.between+=Or[1];(nt.prop[0]==="_"||nt.prop[0]==="*")&&(nt.raws.before+=nt.prop[0],nt.prop=nt.prop.slice(1)),nt.raws.between+=this.spacesAndCommentsFromStart(h),this.precheckMissedSemicolon(h);for(var Rr=h.length-1;Rr>0;Rr--){if(Or=h[Rr],Or[1]==="!important"){nt.important=!0;var on=this.stringFrom(h,Rr);on=this.spacesFromEnd(h)+on,on!==" !important"&&(nt.raws.important=on);break}else if(Or[1]==="important"){for(var pn=h.slice(0),wn="",cn=Rr;cn>0;cn--){var fn=pn[cn][0];if(wn.trim().indexOf("!")===0&&fn!=="space")break;wn=pn.pop()[1]+wn}wn.trim().indexOf("!")===0&&(nt.important=!0,nt.raws.important=wn,h=pn)}if(Or[0]!=="space"&&Or[0]!=="comment")break}this.raw(nt,"value",h),nt.value.indexOf(":")!==-1&&this.checkMissedSemicolon(h),this.current=nt}},E.comment=function(h){if(h[6]==="inline"){var Q=new G;this.init(Q,h[2],h[3]),Q.raws.inline=!0,Q.source.end={line:h[4],column:h[5]};var q=h[1].slice(2);if(/^\s*$/.test(q))Q.text="",Q.raws.left=q,Q.raws.right="";else{var Ee=q.match(/^(\s*)([^]*[^\s])(\s*)$/),ve=Ee[2].replace(/(\*\/|\/\*)/g,"*//*");Q.text=ve,Q.raws.left=Ee[1],Q.raws.right=Ee[3],Q.raws.text=Ee[2]}}else pe.prototype.comment.call(this,h)},E.raw=function(h,Q,q){if(pe.prototype.raw.call(this,h,Q,q),h.raws[Q]){var Ee=h.raws[Q].raw;h.raws[Q].raw=q.reduce(function(ve,_e){if(_e[0]==="comment"&&_e[6]==="inline"){var ke=_e[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return ve+"/*"+ke+"*/"}else return ve+_e[1]},""),Ee!==h.raws[Q].raw&&(h.raws[Q].scss=Ee)}},ye}(Z);ee.exports=we}}),al=dt({"node_modules/postcss-scss/lib/scss-parse.js"(m,ee){xt();var X=Ss(),G=Ul();ee.exports=function(Z,he){var me=new X(Z,he),we=new G(me);return we.parse(),we.root}}}),Fc=dt({"node_modules/postcss-scss/lib/scss-syntax.js"(m,ee){xt();var X=Sc(),G=al();ee.exports={parse:G,stringify:X}}});xt();var Ba=vn(),_a=On(),ul=Un(),{hasPragma:$l}=Ni(),{locStart:ll,locEnd:Vl}=Je(),{calculateLoc:Oa,replaceQuotesInInlineComments:kc}=Je(),du=Ji(),fs=V(),hu=Be(),Gl=er(),ql=fr(),mo=mn(),ui=Yn(),Ro=ii(),ks=m=>{for(;m.parent;)m=m.parent;return m};function Ts(m,ee){let{nodes:X}=m,G={open:null,close:null,groups:[],type:"paren_group"},Z=[G],he=G,me={groups:[],type:"comma_group"},we=[me];for(let pe=0;pe<X.length;++pe){let ye=X[pe];if(Gl(ee.parser,ye.value)&&ye.type==="number"&&ye.unit===".."&&_a(ye.value)==="."&&(ye.value=ye.value.slice(0,-1),ye.unit="..."),ye.type==="func"&&ye.value==="selector"&&(ye.group.groups=[zo(ks(m).text.slice(ye.group.open.sourceIndex+1,ye.group.close.sourceIndex))]),ye.type==="func"&&ye.value==="url"){let E=ye.group&&ye.group.groups||[],h=[];for(let Q=0;Q<E.length;Q++){let q=E[Q];q.type==="comma_group"?h=[...h,...q.groups]:h.push(q)}if(du(h)||!fs(h)&&!mo(h[0])){let Q=ui({groups:ye.group.groups});ye.group.groups=[Q.trim()]}}if(ye.type==="paren"&&ye.value==="(")G={open:ye,close:null,groups:[],type:"paren_group"},Z.push(G),me={groups:[],type:"comma_group"},we.push(me);else if(ye.type==="paren"&&ye.value===")"){if(me.groups.length>0&&G.groups.push(me),G.close=ye,we.length===1)throw new Error("Unbalanced parenthesis");we.pop(),me=_a(we),me.groups.push(G),Z.pop(),G=_a(Z)}else ye.type==="comma"?(G.groups.push(me),me={groups:[],type:"comma_group"},we[we.length-1]=me):me.groups.push(ye)}return me.groups.length>0&&G.groups.push(me),he}function gu(m){return m.type==="paren_group"&&!m.open&&!m.close&&m.groups.length===1||m.type==="comma_group"&&m.groups.length===1?gu(m.groups[0]):m.type==="paren_group"||m.type==="comma_group"?Object.assign(Object.assign({},m),{},{groups:m.groups.map(gu)}):m}function Gs(m,ee,X){if(m&&typeof m=="object"){delete m.parent;for(let G in m)Gs(m[G],ee,X),G==="type"&&typeof m[G]=="string"&&!m[G].startsWith(ee)&&(!X||!X.test(m[G]))&&(m[G]=ee+m[G])}return m}function cl(m){if(m&&typeof m=="object"){delete m.parent;for(let ee in m)cl(m[ee]);!Array.isArray(m)&&m.value&&!m.type&&(m.type="unknown")}return m}function Kl(m,ee){if(m&&typeof m=="object"){for(let X in m)X!=="parent"&&(Kl(m[X],ee),X==="nodes"&&(m.group=gu(Ts(m,ee)),delete m[X]));delete m.parent}return m}function ds(m,ee){let X=Yo(),G=null;try{G=X(m,{loose:!0}).parse()}catch{return{type:"value-unknown",value:m}}G.text=m;let Z=Kl(G,ee);return Gs(Z,"value-",/^selector-/)}function zo(m){if(/\/\/|\/\*/.test(m))return{type:"selector-unknown",value:m.trim()};let ee=ws(),X=null;try{ee(G=>{X=G}).process(m)}catch{return{type:"selector-unknown",value:m}}return Gs(X,"selector-")}function Jl(m){let ee=Aa().default,X=null;try{X=ee(m)}catch{return{type:"selector-unknown",value:m}}return Gs(cl(X),"media-")}var pl=/(\s*)(!default).*$/,Ns=/(\s*)(!global).*$/;function fl(m,ee){if(m&&typeof m=="object"){delete m.parent;for(let he in m)fl(m[he],ee);if(!m.type)return m;m.raws||(m.raws={});let X="";typeof m.selector=="string"&&(X=m.raws.selector?m.raws.selector.scss?m.raws.selector.scss:m.raws.selector.raw:m.selector,m.raws.between&&m.raws.between.trim().length>0&&(X+=m.raws.between),m.raws.selector=X);let G="";typeof m.value=="string"&&(G=m.raws.value?m.raws.value.scss?m.raws.value.scss:m.raws.value.raw:m.value,G=G.trim(),m.raws.value=G);let Z="";if(typeof m.params=="string"&&(Z=m.raws.params?m.raws.params.scss?m.raws.params.scss:m.raws.params.raw:m.params,m.raws.afterName&&m.raws.afterName.trim().length>0&&(Z=m.raws.afterName+Z),m.raws.between&&m.raws.between.trim().length>0&&(Z=Z+m.raws.between),Z=Z.trim(),m.raws.params=Z),X.trim().length>0)return X.startsWith("@")&&X.endsWith(":")?m:m.mixin?(m.selector=ds(X,ee),m):(ql(m)&&(m.isSCSSNesterProperty=!0),m.selector=zo(X),m);if(G.length>0){let he=G.match(pl);he&&(G=G.slice(0,he.index),m.scssDefault=!0,he[0].trim()!=="!default"&&(m.raws.scssDefault=he[0]));let me=G.match(Ns);if(me&&(G=G.slice(0,me.index),m.scssGlobal=!0,me[0].trim()!=="!global"&&(m.raws.scssGlobal=me[0])),G.startsWith("progid:"))return{type:"value-unknown",value:G};m.value=ds(G,ee)}if(hu(ee)&&m.type==="css-decl"&&G.startsWith("extend(")&&(m.extend||(m.extend=m.raws.between===":"),m.extend&&!m.selector&&(delete m.value,m.selector=zo(G.slice(7,-1)))),m.type==="css-atrule"){if(hu(ee)){if(m.mixin){let he=m.raws.identifier+m.name+m.raws.afterName+m.raws.params;return m.selector=zo(he),delete m.params,m}if(m.function)return m}if(ee.parser==="css"&&m.name==="custom-selector"){let he=m.params.match(/:--\S+\s+/)[0].trim();return m.customSelector=he,m.selector=zo(m.params.slice(he.length).trim()),delete m.params,m}if(hu(ee)){if(m.name.includes(":")&&!m.params){m.variable=!0;let he=m.name.split(":");m.name=he[0],m.value=ds(he.slice(1).join(":"),ee)}if(!["page","nest","keyframes"].includes(m.name)&&m.params&&m.params[0]===":"&&(m.variable=!0,m.value=ds(m.params.slice(1),ee),m.raws.afterName+=":"),m.variable)return delete m.params,m}}if(m.type==="css-atrule"&&Z.length>0){let{name:he}=m,me=m.name.toLowerCase();return he==="warn"||he==="error"?(m.params={type:"media-unknown",value:Z},m):he==="extend"||he==="nest"?(m.selector=zo(Z),delete m.params,m):he==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(Z)?m.params=ds(Z,ee):(m.selector=zo(Z),delete m.params),m):Ro(me)?(m.import=!0,delete m.filename,m.params=ds(Z,ee),m):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(he)?(Z=Z.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),Z=Z.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),m.value=ds(Z,ee),delete m.params,m):["media","custom-media"].includes(me)?Z.includes("#{")?{type:"media-unknown",value:Z}:(m.params=Jl(Z),m):(m.params=Z,m)}}return m}function dl(m,ee,X){let G=ul(ee),{frontMatter:Z}=G;ee=G.content;let he;try{he=m(ee)}catch(me){let{name:we,reason:pe,line:ye,column:E}=me;throw typeof ye!="number"?me:Ba("".concat(we,": ").concat(pe),{start:{line:ye,column:E}})}return he=fl(Gs(he,"css-"),X),Oa(he,ee),Z&&(Z.source={startOffset:0,endOffset:Z.raw.length},he.nodes.unshift(Z)),he}function Tc(m,ee){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},G=Gl(X.parser,m)?[Pa,sa]:[sa,Pa],Z;for(let he of G)try{return he(m,ee,X)}catch(me){Z=Z||me}if(Z)throw Z}function sa(m,ee){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},G=oa();return dl(Z=>G.parse(kc(Z)),m,X)}function Pa(m,ee){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:G}=Fc();return dl(G,m,X)}var mu={astFormat:"postcss",hasPragma:$l,locStart:ll,locEnd:Vl};Lt.exports={parsers:{css:Object.assign(Object.assign({},mu),{},{parse:Tc}),less:Object.assign(Object.assign({},mu),{},{parse:sa}),scss:Object.assign(Object.assign({},mu),{},{parse:Pa})}}});return bi()})})(mg);var Iv=ag(mg.exports);function Mv(r,s){return Oi(()=>{var a,l,f;if(!kn(s))return((a=kn(r))==null?void 0:a.css)||"/* empty */";try{return jv.format(((l=kn(r))==null?void 0:l.css)||"",{parser:"css",plugins:[Iv]})}catch(A){return console.error(A),`/* Error on prettifying: ${A.message} */
214
- ${((f=kn(r))==null?void 0:f.css)||""}`}})}const Lv={"h-full":""},Rv={p:"x4 y2",grid:"~ cols-4 gap-4"},zv=Mn("div",{op80:""}," Presets ",-1),Wv={op50:"","ws-pre":""},Hv={overflow:"auto"},Uv=Mn("div",{op80:""}," Rules ",-1),$v=Mn("span",{op50:""},"dynamic",-1),Vv=Mn("br",null,null,-1),Gv=Mn("span",{op50:""},"static",-1),qv=Mn("div",{op80:""}," Variants ",-1),Kv=Mn("div",{op80:""}," Shortcuts ",-1),Jv={key:0},Yv=Mn("div",{op80:""}," Config File ",-1),Xv=Mn("div",{op80:""}," Version ",-1),Qv={op50:"","ws-pre":""},Zv={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},eD=Mn("div",{op80:""}," Included Files ",-1),tD=Mn("div",{op80:""}," CSS Size ",-1),rD=Mn("span",{op50:""},"gzipped",-1),nD=Mn("div",{op80:""}," Matched Rules ",-1),iD=Mn("div",{op80:""}," Layers ",-1),oD={op50:"","ws-pre":""},sD=qs(" Prettify "),aD=Qs({name:"Overview",setup(r){const s=no(null),a=Pv(s,"overview-scrolls");zf.execute();const l=no(!1),f=Mv(op,l);return(A,K)=>{const le=Ov,ce=Fv,Se=Ev,Ne=Dv;return Wi(),Do("div",Lv,[Ai(Se,{ref_key:"status",ref:s,p0:""},{default:Ma(()=>{var Re,qe,ot,At,tr,rr,st,yt,Dt,Ht,dr,jr,Ur,_n,En,Wr,_r,xn;return[Mn("div",Rv,[Mn("div",null,[zv,Mn("div",Wv,$o((ot=(qe=(Re=kn(lo))==null?void 0:Re.config)==null?void 0:qe.presets)==null?void 0:ot.map(Mt=>Mt.name).join(`
215
- `)),1)]),Mn("div",Hv,[Uv,qs(" "+$o((rr=(tr=(At=kn(lo))==null?void 0:At.config)==null?void 0:tr.rulesDynamic)==null?void 0:rr.filter(Boolean).length)+" ",1),$v,Vv,qs(" "+$o(Object.keys(((yt=(st=kn(lo))==null?void 0:st.config)==null?void 0:yt.rulesStaticMap)||{}).length)+" ",1),Gv]),Mn("div",null,[qv,qs(" "+$o((dr=(Ht=(Dt=kn(lo))==null?void 0:Dt.config)==null?void 0:Ht.variants)==null?void 0:dr.length),1)]),Mn("div",null,[Kv,qs(" "+$o((jr=kn(lo))==null?void 0:jr.config.shortcuts.length),1)]),(Ur=kn(lo))!=null&&Ur.configPath?(Wi(),Do("div",Jv,[Yv,Ai(le,{id:kn(lo).configPath},null,8,["id"])])):bp("",!0),Mn("div",null,[Xv,Mn("div",Qv,$o((_n=kn(lo))==null?void 0:_n.version),1)])]),Mn("div",Zv,[Mn("div",null,[eD,qs(" "+$o((En=kn(lo))==null?void 0:En.modules.length),1)]),Mn("div",null,[tD,qs(" "+$o(((((Wr=kn(op))==null?void 0:Wr.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),rD]),Mn("div",null,[nD,qs(" "+$o((_r=kn(op))==null?void 0:_r.matched.length),1)]),Mn("div",null,[iD,Mn("div",oD,$o((xn=kn(op))==null?void 0:xn.layers.join(`
216
- `)),1)])]),Ai(ce,{border:"t gray-400/20",title:"Output CSS"},{default:Ma(()=>[Mn("label",null,[s0(Mn("input",{"onUpdate:modelValue":K[0]||(K[0]=Mt=>l.value=Mt),type:"checkbox"},null,512),[[iy,l.value]]),sD])]),_:1})]}),_:1},512),Ai(Ne,{"model-value":kn(f),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:Qc(kn(a))},null,8,["model-value","style"])])}}}),uD={};function lD(r,s){const a=aD;return Wi(),sc(a)}var cD=cg(uD,[["render",lD]]);const pD=()=>vf(()=>import("./repl.0bd3ca4c.js"),[]),fD=()=>vf(()=>import("./_id_.9d480657.js"),[]),dD=[{name:"index",path:"/",component:cD,props:!0},{name:"repl",path:"/repl",component:pD,props:!0},{name:"module-id",path:"/module/:id",component:fD,props:!0}];/*!
217
- * vue-router v4.0.15
218
- * (c) 2022 Eduardo San Martin Morote
219
- * @license MIT
220
- */const yg=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",gc=r=>yg?Symbol(r):"_vr_"+r,hD=gc("rvlm"),Rd=gc("rvd"),Wf=gc("r"),Hf=gc("rl"),gf=gc("rvl"),tc=typeof window!="undefined";function gD(r){return r.__esModule||yg&&r[Symbol.toStringTag]==="Module"}const Si=Object.assign;function Jp(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 Wc=()=>{},mD=/\/$/,yD=r=>r.replace(mD,"");function Yp(r,s,a="/"){let l,f={},A="",K="";const le=s.indexOf("?"),ce=s.indexOf("#",le>-1?le:0);return le>-1&&(l=s.slice(0,le),A=s.slice(le+1,ce>-1?ce:s.length),f=r(A)),ce>-1&&(l=l||s.slice(0,ce),K=s.slice(ce,s.length)),l=xD(l!=null?l:s,a),{fullPath:l+(A&&"?")+A+K,path:l,query:f,hash:K}}function vD(r,s){const a=s.query?r(s.query):"";return s.path+(a&&"?")+a+(s.hash||"")}function zd(r,s){return!s||!r.toLowerCase().startsWith(s.toLowerCase())?r:r.slice(s.length)||"/"}function DD(r,s,a){const l=s.matched.length-1,f=a.matched.length-1;return l>-1&&l===f&&lc(s.matched[l],a.matched[f])&&vg(s.params,a.params)&&r(s.query)===r(a.query)&&s.hash===a.hash}function lc(r,s){return(r.aliasOf||r)===(s.aliasOf||s)}function vg(r,s){if(Object.keys(r).length!==Object.keys(s).length)return!1;for(const a in r)if(!bD(r[a],s[a]))return!1;return!0}function bD(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 xD(r,s){if(r.startsWith("/"))return r;if(!r)return s;const a=s.split("/"),l=r.split("/");let f=a.length-1,A,K;for(A=0;A<l.length;A++)if(K=l[A],!(f===1||K==="."))if(K==="..")f--;else break;return a.slice(0,f).join("/")+"/"+l.slice(A-(A===l.length?1:0)).join("/")}var Xc;(function(r){r.pop="pop",r.push="push"})(Xc||(Xc={}));var Hc;(function(r){r.back="back",r.forward="forward",r.unknown=""})(Hc||(Hc={}));function CD(r){if(!r)if(tc){const s=document.querySelector("base");r=s&&s.getAttribute("href")||"/",r=r.replace(/^\w+:\/\/[^\/]+/,"")}else r="/";return r[0]!=="/"&&r[0]!=="#"&&(r="/"+r),yD(r)}const ED=/^[^#]+#/;function wD(r,s){return r.replace(ED,"#")+s}function AD(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 zp=()=>({left:window.pageXOffset,top:window.pageYOffset});function SD(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=AD(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 Hd(r,s){return(history.state?history.state.position-s:-1)+r}const mf=new Map;function FD(r,s){mf.set(r,s)}function kD(r){const s=mf.get(r);return mf.delete(r),s}let TD=()=>location.protocol+"//"+location.host;function Dg(r,s){const{pathname:a,search:l,hash:f}=s,A=r.indexOf("#");if(A>-1){let le=f.includes(r.slice(A))?r.slice(A).length:1,ce=f.slice(le);return ce[0]!=="/"&&(ce="/"+ce),zd(ce,"")}return zd(a,r)+l+f}function ND(r,s,a,l){let f=[],A=[],K=null;const le=({state:qe})=>{const ot=Dg(r,location),At=a.value,tr=s.value;let rr=0;if(qe){if(a.value=ot,s.value=qe,K&&K===At){K=null;return}rr=tr?qe.position-tr.position:0}else l(ot);f.forEach(st=>{st(a.value,At,{delta:rr,type:Xc.pop,direction:rr?rr>0?Hc.forward:Hc.back:Hc.unknown})})};function ce(){K=a.value}function Se(qe){f.push(qe);const ot=()=>{const At=f.indexOf(qe);At>-1&&f.splice(At,1)};return A.push(ot),ot}function Ne(){const{history:qe}=window;!qe.state||qe.replaceState(Si({},qe.state,{scroll:zp()}),"")}function Re(){for(const qe of A)qe();A=[],window.removeEventListener("popstate",le),window.removeEventListener("beforeunload",Ne)}return window.addEventListener("popstate",le),window.addEventListener("beforeunload",Ne),{pauseListeners:ce,listen:Se,destroy:Re}}function Ud(r,s,a,l=!1,f=!1){return{back:r,current:s,forward:a,replaced:l,position:window.history.length,scroll:f?zp():null}}function BD(r){const{history:s,location:a}=window,l={value:Dg(r,a)},f={value:s.state};f.value||A(l.value,{back:null,current:l.value,forward:null,position:s.length-1,replaced:!0,scroll:null},!0);function A(ce,Se,Ne){const Re=r.indexOf("#"),qe=Re>-1?(a.host&&document.querySelector("base")?r:r.slice(Re))+ce:TD()+r+ce;try{s[Ne?"replaceState":"pushState"](Se,"",qe),f.value=Se}catch(ot){console.error(ot),a[Ne?"replace":"assign"](qe)}}function K(ce,Se){const Ne=Si({},s.state,Ud(f.value.back,ce,f.value.forward,!0),Se,{position:f.value.position});A(ce,Ne,!0),l.value=ce}function le(ce,Se){const Ne=Si({},f.value,s.state,{forward:ce,scroll:zp()});A(Ne.current,Ne,!0);const Re=Si({},Ud(l.value,ce,null),{position:Ne.position+1},Se);A(ce,Re,!1),l.value=ce}return{location:l,state:f,push:le,replace:K}}function _D(r){r=CD(r);const s=BD(r),a=ND(r,s.state,s.location,s.replace);function l(A,K=!0){K||a.pauseListeners(),history.go(A)}const f=Si({location:"",base:r,go:l,createHref:wD.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+="#"),_D(r)}function PD(r){return typeof r=="string"||r&&typeof r=="object"}function bg(r){return typeof r=="string"||typeof r=="symbol"}const bu={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xg=gc("nf");var $d;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})($d||($d={}));function cc(r,s){return Si(new Error,{type:r,[xg]:!0},s)}function xu(r,s){return r instanceof Error&&xg in r&&(s==null||!!(r.type&s))}const Vd="[^/]+?",jD={sensitive:!1,strict:!1,start:!0,end:!0},ID=/[.+*?^${}()[\]/\\]/g;function MD(r,s){const a=Si({},jD,s),l=[];let f=a.start?"^":"";const A=[];for(const Se of r){const Ne=Se.length?[]:[90];a.strict&&!Se.length&&(f+="/");for(let Re=0;Re<Se.length;Re++){const qe=Se[Re];let ot=40+(a.sensitive?.25:0);if(qe.type===0)Re||(f+="/"),f+=qe.value.replace(ID,"\\$&"),ot+=40;else if(qe.type===1){const{value:At,repeatable:tr,optional:rr,regexp:st}=qe;A.push({name:At,repeatable:tr,optional:rr});const yt=st||Vd;if(yt!==Vd){ot+=10;try{new RegExp(`(${yt})`)}catch(Ht){throw new Error(`Invalid custom RegExp for param "${At}" (${yt}): `+Ht.message)}}let Dt=tr?`((?:${yt})(?:/(?:${yt}))*)`:`(${yt})`;Re||(Dt=rr&&Se.length<2?`(?:/${Dt})`:"/"+Dt),rr&&(Dt+="?"),f+=Dt,ot+=20,rr&&(ot+=-8),tr&&(ot+=-20),yt===".*"&&(ot+=-50)}Ne.push(ot)}l.push(Ne)}if(a.strict&&a.end){const Se=l.length-1;l[Se][l[Se].length-1]+=.7000000000000001}a.strict||(f+="/?"),a.end?f+="$":a.strict&&(f+="(?:/|$)");const K=new RegExp(f,a.sensitive?"":"i");function le(Se){const Ne=Se.match(K),Re={};if(!Ne)return null;for(let qe=1;qe<Ne.length;qe++){const ot=Ne[qe]||"",At=A[qe-1];Re[At.name]=ot&&At.repeatable?ot.split("/"):ot}return Re}function ce(Se){let Ne="",Re=!1;for(const qe of r){(!Re||!Ne.endsWith("/"))&&(Ne+="/"),Re=!1;for(const ot of qe)if(ot.type===0)Ne+=ot.value;else if(ot.type===1){const{value:At,repeatable:tr,optional:rr}=ot,st=At in Se?Se[At]:"";if(Array.isArray(st)&&!tr)throw new Error(`Provided param "${At}" is an array but it is not repeatable (* or + modifiers)`);const yt=Array.isArray(st)?st.join("/"):st;if(!yt)if(rr)qe.length<2&&r.length>1&&(Ne.endsWith("/")?Ne=Ne.slice(0,-1):Re=!0);else throw new Error(`Missing required param "${At}"`);Ne+=yt}}return Ne}return{re:K,score:l,keys:A,parse:le,stringify:ce}}function LD(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 RD(r,s){let a=0;const l=r.score,f=s.score;for(;a<l.length&&a<f.length;){const A=LD(l[a],f[a]);if(A)return A;a++}return f.length-l.length}const zD={type:0,value:""},WD=/[a-zA-Z0-9_]/;function HD(r){if(!r)return[[]];if(r==="/")return[[zD]];if(!r.startsWith("/"))throw new Error(`Invalid path "${r}"`);function s(ot){throw new Error(`ERR (${a})/"${Se}": ${ot}`)}let a=0,l=a;const f=[];let A;function K(){A&&f.push(A),A=[]}let le=0,ce,Se="",Ne="";function Re(){!Se||(a===0?A.push({type:0,value:Se}):a===1||a===2||a===3?(A.length>1&&(ce==="*"||ce==="+")&&s(`A repeatable param (${Se}) must be alone in its segment. eg: '/:ids+.`),A.push({type:1,value:Se,regexp:Ne,repeatable:ce==="*"||ce==="+",optional:ce==="*"||ce==="?"})):s("Invalid state to consume buffer"),Se="")}function qe(){Se+=ce}for(;le<r.length;){if(ce=r[le++],ce==="\\"&&a!==2){l=a,a=4;continue}switch(a){case 0:ce==="/"?(Se&&Re(),K()):ce===":"?(Re(),a=1):qe();break;case 4:qe(),a=l;break;case 1:ce==="("?a=2:WD.test(ce)?qe():(Re(),a=0,ce!=="*"&&ce!=="?"&&ce!=="+"&&le--);break;case 2:ce===")"?Ne[Ne.length-1]=="\\"?Ne=Ne.slice(0,-1)+ce:a=3:Ne+=ce;break;case 3:Re(),a=0,ce!=="*"&&ce!=="?"&&ce!=="+"&&le--,Ne="";break;default:s("Unknown state");break}}return a===2&&s(`Unfinished custom RegExp for param "${Se}"`),Re(),K(),f}function UD(r,s,a){const l=MD(HD(r.path),a),f=Si(l,{record:r,parent:s,children:[],alias:[]});return s&&!f.record.aliasOf==!s.record.aliasOf&&s.children.push(f),f}function $D(r,s){const a=[],l=new Map;s=qd({strict:!1,end:!0,sensitive:!1},s);function f(Ne){return l.get(Ne)}function A(Ne,Re,qe){const ot=!qe,At=GD(Ne);At.aliasOf=qe&&qe.record;const tr=qd(s,Ne),rr=[At];if("alias"in Ne){const Dt=typeof Ne.alias=="string"?[Ne.alias]:Ne.alias;for(const Ht of Dt)rr.push(Si({},At,{components:qe?qe.record.components:At.components,path:Ht,aliasOf:qe?qe.record:At}))}let st,yt;for(const Dt of rr){const{path:Ht}=Dt;if(Re&&Ht[0]!=="/"){const dr=Re.record.path,jr=dr[dr.length-1]==="/"?"":"/";Dt.path=Re.record.path+(Ht&&jr+Ht)}if(st=UD(Dt,Re,tr),qe?qe.alias.push(st):(yt=yt||st,yt!==st&&yt.alias.push(st),ot&&Ne.name&&!Gd(st)&&K(Ne.name)),"children"in At){const dr=At.children;for(let jr=0;jr<dr.length;jr++)A(dr[jr],st,qe&&qe.children[jr])}qe=qe||st,ce(st)}return yt?()=>{K(yt)}:Wc}function K(Ne){if(bg(Ne)){const Re=l.get(Ne);Re&&(l.delete(Ne),a.splice(a.indexOf(Re),1),Re.children.forEach(K),Re.alias.forEach(K))}else{const Re=a.indexOf(Ne);Re>-1&&(a.splice(Re,1),Ne.record.name&&l.delete(Ne.record.name),Ne.children.forEach(K),Ne.alias.forEach(K))}}function le(){return a}function ce(Ne){let Re=0;for(;Re<a.length&&RD(Ne,a[Re])>=0&&(Ne.record.path!==a[Re].record.path||!Cg(Ne,a[Re]));)Re++;a.splice(Re,0,Ne),Ne.record.name&&!Gd(Ne)&&l.set(Ne.record.name,Ne)}function Se(Ne,Re){let qe,ot={},At,tr;if("name"in Ne&&Ne.name){if(qe=l.get(Ne.name),!qe)throw cc(1,{location:Ne});tr=qe.record.name,ot=Si(VD(Re.params,qe.keys.filter(yt=>!yt.optional).map(yt=>yt.name)),Ne.params),At=qe.stringify(ot)}else if("path"in Ne)At=Ne.path,qe=a.find(yt=>yt.re.test(At)),qe&&(ot=qe.parse(At),tr=qe.record.name);else{if(qe=Re.name?l.get(Re.name):a.find(yt=>yt.re.test(Re.path)),!qe)throw cc(1,{location:Ne,currentLocation:Re});tr=qe.record.name,ot=Si({},Re.params,Ne.params),At=qe.stringify(ot)}const rr=[];let st=qe;for(;st;)rr.unshift(st.record),st=st.parent;return{name:tr,path:At,params:ot,matched:rr,meta:KD(rr)}}return r.forEach(Ne=>A(Ne)),{addRoute:A,resolve:Se,removeRoute:K,getRoutes:le,getRecordMatcher:f}}function VD(r,s){const a={};for(const l of s)l in r&&(a[l]=r[l]);return a}function GD(r){return{path:r.path,redirect:r.redirect,name:r.name,meta:r.meta||{},aliasOf:void 0,beforeEnter:r.beforeEnter,props:qD(r),children:r.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in r?r.components||{}:{default:r.component}}}function qD(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 KD(r){return r.reduce((s,a)=>Si(s,a.meta),{})}function qd(r,s){const a={};for(const l in r)a[l]=l in s?s[l]:r[l];return a}function Cg(r,s){return s.children.some(a=>a===r||Cg(r,a))}const Eg=/#/g,JD=/&/g,YD=/\//g,XD=/=/g,QD=/\?/g,wg=/\+/g,ZD=/%5B/g,eb=/%5D/g,Ag=/%5E/g,tb=/%60/g,Sg=/%7B/g,rb=/%7C/g,Fg=/%7D/g,nb=/%20/g;function Uf(r){return encodeURI(""+r).replace(rb,"|").replace(ZD,"[").replace(eb,"]")}function ib(r){return Uf(r).replace(Sg,"{").replace(Fg,"}").replace(Ag,"^")}function yf(r){return Uf(r).replace(wg,"%2B").replace(nb,"+").replace(Eg,"%23").replace(JD,"%26").replace(tb,"`").replace(Sg,"{").replace(Fg,"}").replace(Ag,"^")}function ob(r){return yf(r).replace(XD,"%3D")}function sb(r){return Uf(r).replace(Eg,"%23").replace(QD,"%3F")}function ab(r){return r==null?"":sb(r).replace(YD,"%2F")}function Cp(r){try{return decodeURIComponent(""+r)}catch{}return""+r}function ub(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 A=l[f].replace(wg," "),K=A.indexOf("="),le=Cp(K<0?A:A.slice(0,K)),ce=K<0?null:Cp(A.slice(K+1));if(le in s){let Se=s[le];Array.isArray(Se)||(Se=s[le]=[Se]),Se.push(ce)}else s[le]=ce}return s}function Kd(r){let s="";for(let a in r){const l=r[a];if(a=ob(a),l==null){l!==void 0&&(s+=(s.length?"&":"")+a);continue}(Array.isArray(l)?l.map(A=>A&&yf(A)):[l&&yf(l)]).forEach(A=>{A!==void 0&&(s+=(s.length?"&":"")+a,A!=null&&(s+="="+A))})}return s}function lb(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 _c(){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 wu(r,s,a,l,f){const A=l&&(l.enterCallbacks[f]=l.enterCallbacks[f]||[]);return()=>new Promise((K,le)=>{const ce=Re=>{Re===!1?le(cc(4,{from:a,to:s})):Re instanceof Error?le(Re):PD(Re)?le(cc(2,{from:s,to:Re})):(A&&l.enterCallbacks[f]===A&&typeof Re=="function"&&A.push(Re),K())},Se=r.call(l&&l.instances[f],s,a,ce);let Ne=Promise.resolve(Se);r.length<3&&(Ne=Ne.then(ce)),Ne.catch(Re=>le(Re))})}function Xp(r,s,a,l){const f=[];for(const A of r)for(const K in A.components){let le=A.components[K];if(!(s!=="beforeRouteEnter"&&!A.instances[K]))if(cb(le)){const Se=(le.__vccOpts||le)[s];Se&&f.push(wu(Se,a,l,A,K))}else{let ce=le();f.push(()=>ce.then(Se=>{if(!Se)return Promise.reject(new Error(`Couldn't resolve component "${K}" at "${A.path}"`));const Ne=gD(Se)?Se.default:Se;A.components[K]=Ne;const qe=(Ne.__vccOpts||Ne)[s];return qe&&wu(qe,a,l,A,K)()}))}}return f}function cb(r){return typeof r=="object"||"displayName"in r||"props"in r||"__vccOpts"in r}function Jd(r){const s=La(Wf),a=La(Hf),l=Oi(()=>s.resolve(kn(r.to))),f=Oi(()=>{const{matched:ce}=l.value,{length:Se}=ce,Ne=ce[Se-1],Re=a.matched;if(!Ne||!Re.length)return-1;const qe=Re.findIndex(lc.bind(null,Ne));if(qe>-1)return qe;const ot=Yd(ce[Se-2]);return Se>1&&Yd(Ne)===ot&&Re[Re.length-1].path!==ot?Re.findIndex(lc.bind(null,ce[Se-2])):qe}),A=Oi(()=>f.value>-1&&hb(a.params,l.value.params)),K=Oi(()=>f.value>-1&&f.value===a.matched.length-1&&vg(a.params,l.value.params));function le(ce={}){return db(ce)?s[kn(r.replace)?"replace":"push"](kn(r.to)).catch(Wc):Promise.resolve()}return{route:l,href:Oi(()=>l.value.href),isActive:A,isExactActive:K,navigate:le}}const pb=Qs({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Jd,setup(r,{slots:s}){const a=hc(Jd(r)),{options:l}=La(Wf),f=Oi(()=>({[Xd(r.activeClass,l.linkActiveClass,"router-link-active")]:a.isActive,[Xd(r.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const A=s.default&&s.default(a);return r.custom?A:Mf("a",{"aria-current":a.isExactActive?r.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:f.value},A)}}}),fb=pb;function db(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 hb(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((A,K)=>A!==f[K]))return!1}return!0}function Yd(r){return r?r.aliasOf?r.aliasOf.path:r.path:""}const Xd=(r,s,a)=>r!=null?r:s!=null?s:a,gb=Qs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(r,{attrs:s,slots:a}){const l=La(gf),f=Oi(()=>r.route||l.value),A=La(Rd,0),K=Oi(()=>f.value.matched[A]);lp(Rd,A+1),lp(hD,K),lp(gf,f);const le=no();return bo(()=>[le.value,K.value,r.name],([ce,Se,Ne],[Re,qe,ot])=>{Se&&(Se.instances[Ne]=ce,qe&&qe!==Se&&ce&&ce===Re&&(Se.leaveGuards.size||(Se.leaveGuards=qe.leaveGuards),Se.updateGuards.size||(Se.updateGuards=qe.updateGuards))),ce&&Se&&(!qe||!lc(Se,qe)||!Re)&&(Se.enterCallbacks[Ne]||[]).forEach(At=>At(ce))},{flush:"post"}),()=>{const ce=f.value,Se=K.value,Ne=Se&&Se.components[r.name],Re=r.name;if(!Ne)return Qd(a.default,{Component:Ne,route:ce});const qe=Se.props[r.name],ot=qe?qe===!0?ce.params:typeof qe=="function"?qe(ce):qe:null,tr=Mf(Ne,Si({},ot,s,{onVnodeUnmounted:rr=>{rr.component.isUnmounted&&(Se.instances[Re]=null)},ref:le}));return Qd(a.default,{Component:tr,route:ce})||tr}}});function Qd(r,s){if(!r)return null;const a=r(s);return a.length===1?a[0]:a}const mb=gb;function yb(r){const s=$D(r.routes,r),a=r.parseQuery||ub,l=r.stringifyQuery||Kd,f=r.history,A=_c(),K=_c(),le=_c(),ce=jc(bu);let Se=bu;tc&&r.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Ne=Jp.bind(null,Ut=>""+Ut),Re=Jp.bind(null,ab),qe=Jp.bind(null,Cp);function ot(Ut,sr){let Ot,Cr;return bg(Ut)?(Ot=s.getRecordMatcher(Ut),Cr=sr):Cr=Ut,s.addRoute(Cr,Ot)}function At(Ut){const sr=s.getRecordMatcher(Ut);sr&&s.removeRoute(sr)}function tr(){return s.getRoutes().map(Ut=>Ut.record)}function rr(Ut){return!!s.getRecordMatcher(Ut)}function st(Ut,sr){if(sr=Si({},sr||ce.value),typeof Ut=="string"){const sn=Yp(a,Ut,sr.path),We=s.resolve({path:sn.path},sr),at=f.createHref(sn.fullPath);return Si(sn,We,{params:qe(We.params),hash:Cp(sn.hash),redirectedFrom:void 0,href:at})}let Ot;if("path"in Ut)Ot=Si({},Ut,{path:Yp(a,Ut.path,sr.path).path});else{const sn=Si({},Ut.params);for(const We in sn)sn[We]==null&&delete sn[We];Ot=Si({},Ut,{params:Re(Ut.params)}),sr.params=Re(sr.params)}const Cr=s.resolve(Ot,sr),ln=Ut.hash||"";Cr.params=Ne(qe(Cr.params));const Gr=vD(l,Si({},Ut,{hash:ib(ln),path:Cr.path})),Lr=f.createHref(Gr);return Si({fullPath:Gr,hash:ln,query:l===Kd?lb(Ut.query):Ut.query||{}},Cr,{redirectedFrom:void 0,href:Lr})}function yt(Ut){return typeof Ut=="string"?Yp(a,Ut,ce.value.path):Si({},Ut)}function Dt(Ut,sr){if(Se!==Ut)return cc(8,{from:sr,to:Ut})}function Ht(Ut){return Ur(Ut)}function dr(Ut){return Ht(Si(yt(Ut),{replace:!0}))}function jr(Ut){const sr=Ut.matched[Ut.matched.length-1];if(sr&&sr.redirect){const{redirect:Ot}=sr;let Cr=typeof Ot=="function"?Ot(Ut):Ot;return typeof Cr=="string"&&(Cr=Cr.includes("?")||Cr.includes("#")?Cr=yt(Cr):{path:Cr},Cr.params={}),Si({query:Ut.query,hash:Ut.hash,params:Ut.params},Cr)}}function Ur(Ut,sr){const Ot=Se=st(Ut),Cr=ce.value,ln=Ut.state,Gr=Ut.force,Lr=Ut.replace===!0,sn=jr(Ot);if(sn)return Ur(Si(yt(sn),{state:ln,force:Gr,replace:Lr}),sr||Ot);const We=Ot;We.redirectedFrom=sr;let at;return!Gr&&DD(l,Cr,Ot)&&(at=cc(16,{to:We,from:Cr}),Jn(Cr,Cr,!0,!1)),(at?Promise.resolve(at):En(We,Cr)).catch(jt=>xu(jt)?xu(jt,2)?jt:un(jt):zt(jt,We,Cr)).then(jt=>{if(jt){if(xu(jt,2))return Ur(Si(yt(jt.to),{state:ln,force:Gr,replace:Lr}),sr||We)}else jt=_r(We,Cr,!0,Lr,ln);return Wr(We,Cr,jt),jt})}function _n(Ut,sr){const Ot=Dt(Ut,sr);return Ot?Promise.reject(Ot):Promise.resolve()}function En(Ut,sr){let Ot;const[Cr,ln,Gr]=vb(Ut,sr);Ot=Xp(Cr.reverse(),"beforeRouteLeave",Ut,sr);for(const sn of Cr)sn.leaveGuards.forEach(We=>{Ot.push(wu(We,Ut,sr))});const Lr=_n.bind(null,Ut,sr);return Ot.push(Lr),Ql(Ot).then(()=>{Ot=[];for(const sn of A.list())Ot.push(wu(sn,Ut,sr));return Ot.push(Lr),Ql(Ot)}).then(()=>{Ot=Xp(ln,"beforeRouteUpdate",Ut,sr);for(const sn of ln)sn.updateGuards.forEach(We=>{Ot.push(wu(We,Ut,sr))});return Ot.push(Lr),Ql(Ot)}).then(()=>{Ot=[];for(const sn of Ut.matched)if(sn.beforeEnter&&!sr.matched.includes(sn))if(Array.isArray(sn.beforeEnter))for(const We of sn.beforeEnter)Ot.push(wu(We,Ut,sr));else Ot.push(wu(sn.beforeEnter,Ut,sr));return Ot.push(Lr),Ql(Ot)}).then(()=>(Ut.matched.forEach(sn=>sn.enterCallbacks={}),Ot=Xp(Gr,"beforeRouteEnter",Ut,sr),Ot.push(Lr),Ql(Ot))).then(()=>{Ot=[];for(const sn of K.list())Ot.push(wu(sn,Ut,sr));return Ot.push(Lr),Ql(Ot)}).catch(sn=>xu(sn,8)?sn:Promise.reject(sn))}function Wr(Ut,sr,Ot){for(const Cr of le.list())Cr(Ut,sr,Ot)}function _r(Ut,sr,Ot,Cr,ln){const Gr=Dt(Ut,sr);if(Gr)return Gr;const Lr=sr===bu,sn=tc?history.state:{};Ot&&(Cr||Lr?f.replace(Ut.fullPath,Si({scroll:Lr&&sn&&sn.scroll},ln)):f.push(Ut.fullPath,ln)),ce.value=Ut,Jn(Ut,sr,Ot,Lr),un()}let xn;function Mt(){xn||(xn=f.listen((Ut,sr,Ot)=>{const Cr=st(Ut),ln=jr(Cr);if(ln){Ur(Si(ln,{replace:!0}),Cr).catch(Wc);return}Se=Cr;const Gr=ce.value;tc&&FD(Hd(Gr.fullPath,Ot.delta),zp()),En(Cr,Gr).catch(Lr=>xu(Lr,12)?Lr:xu(Lr,2)?(Ur(Lr.to,Cr).then(sn=>{xu(sn,20)&&!Ot.delta&&Ot.type===Xc.pop&&f.go(-1,!1)}).catch(Wc),Promise.reject()):(Ot.delta&&f.go(-Ot.delta,!1),zt(Lr,Cr,Gr))).then(Lr=>{Lr=Lr||_r(Cr,Gr,!1),Lr&&(Ot.delta?f.go(-Ot.delta,!1):Ot.type===Xc.pop&&xu(Lr,20)&&f.go(-1,!1)),Wr(Cr,Gr,Lr)}).catch(Wc)}))}let Er=_c(),ge=_c(),ur;function zt(Ut,sr,Ot){un(Ut);const Cr=ge.list();return Cr.length?Cr.forEach(ln=>ln(Ut,sr,Ot)):console.error(Ut),Promise.reject(Ut)}function Fr(){return ur&&ce.value!==bu?Promise.resolve():new Promise((Ut,sr)=>{Er.add([Ut,sr])})}function un(Ut){return ur||(ur=!Ut,Mt(),Er.list().forEach(([sr,Ot])=>Ut?Ot(Ut):sr()),Er.reset()),Ut}function Jn(Ut,sr,Ot,Cr){const{scrollBehavior:ln}=r;if(!tc||!ln)return Promise.resolve();const Gr=!Ot&&kD(Hd(Ut.fullPath,0))||(Cr||!Ot)&&history.state&&history.state.scroll||null;return Bp().then(()=>ln(Ut,sr,Gr)).then(Lr=>Lr&&SD(Lr)).catch(Lr=>zt(Lr,Ut,sr))}const fi=Ut=>f.go(Ut);let di;const Wn=new Set;return{currentRoute:ce,addRoute:ot,removeRoute:At,hasRoute:rr,getRoutes:tr,resolve:st,options:r,push:Ht,replace:dr,go:fi,back:()=>fi(-1),forward:()=>fi(1),beforeEach:A.add,beforeResolve:K.add,afterEach:le.add,onError:ge.add,isReady:Fr,install(Ut){const sr=this;Ut.component("RouterLink",fb),Ut.component("RouterView",mb),Ut.config.globalProperties.$router=sr,Object.defineProperty(Ut.config.globalProperties,"$route",{enumerable:!0,get:()=>kn(ce)}),tc&&!di&&ce.value===bu&&(di=!0,Ht(f.location).catch(ln=>{}));const Ot={};for(const ln in bu)Ot[ln]=Oi(()=>ce.value[ln]);Ut.provide(Wf,sr),Ut.provide(Hf,hc(Ot)),Ut.provide(gf,ce);const Cr=Ut.unmount;Wn.add(Ut),Ut.unmount=function(){Wn.delete(Ut),Wn.size<1&&(Se=bu,xn&&xn(),xn=null,ce.value=bu,di=!1,ur=!1),Cr()}}}}function Ql(r){return r.reduce((s,a)=>s.then(()=>a()),Promise.resolve())}function vb(r,s){const a=[],l=[],f=[],A=Math.max(s.matched.length,r.matched.length);for(let K=0;K<A;K++){const le=s.matched[K];le&&(r.matched.find(Se=>lc(Se,le))?l.push(le):a.push(le));const ce=r.matched[K];ce&&(s.matched.find(Se=>lc(Se,ce))||f.push(ce))}return[a,l,f]}function Db(){return La(Hf)}const bb=Qs({name:"FileIcon",props:{id:null},setup(r){const s=r,a=Oi(()=>s.id.split(/\./g).pop()),l=Oi(()=>{switch(a.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(f,A)=>(Wi(),Do("div",{class:oc(kn(l))},null,2))}}),xb={open:""},Cb={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},Eb={"ml-1":""},wb=Qs({name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(r){const s=Db();return(a,l)=>{const f=gp("ModuleTreeNode",!0),A=bb,K=gp("RouterLink");return Wi(),Do("details",xb,[Mn("summary",Cb,[Mn("div",{class:oc(r.icon)},null,2),qs(" "+$o(r.node.name),1)]),(Wi(!0),Do(ns,null,sd(Object.entries(r.node.children),le=>(Wi(),sc(f,{key:le[0],ml2:"",node:le[1]},null,8,["node"]))),128)),(Wi(!0),Do(ns,null,sd(r.node.items,le=>(Wi(),Do("div",{key:le.full,ml4:"","ws-nowrap":""},[Ai(K,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(le.full)}`,class:oc({"bg-gray/10":le.full===kn(s).params.id})},{default:Ma(()=>[Ai(A,{id:le.path},null,8,["id"]),Mn("span",Eb,$o(le.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}});var Ab="/__unocss/icon.svg";const Sb={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},Fb=Mn("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Mn("img",{src:Ab,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Mn("div",{"of-hidden":""},[qs(" Inspector "),Mn("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),kb=Qs({name:"NarBar",setup(r){const s=Qy(),a=Cy(s);return(l,f)=>(Wi(),Do("nav",Sb,[Fb,Mn("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:f[0]||(f[0]=A=>kn(a)())})]))}}),Tb={"h-full":""},Nb={b:"r main","of-hidden":""},Bb={pt:"4",flex:"~ col gap-3"},_b=Mn("div",{"i-carbon-dashboard":""},null,-1),Ob=Mn("span",null," Overview ",-1),Pb=Mn("div",{"i-carbon-terminal":""},null,-1),jb=Mn("span",null," REPL ",-1),Ib=Mn("div",{b:"b main"},null,-1),Mb={b:"r main",class:"scrolls scrolls-sidebar"},Lb=Qs({name:"Sidebar",setup(r){return(s,a)=>{const l=kb,f=gp("RouterLink"),A=wb;return Wi(),Do("div",Tb,[Mn("div",Nb,[Ai(l),Mn("div",Bb,[Ai(f,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:Ma(()=>[_b,Ob]),_:1}),Ai(f,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:Ma(()=>[Pb,jb]),_:1}),Ib])]),Mn("div",Mb,[Object.keys(kn(sp).workspace.children).length?(Wi(),sc(A,{key:0,node:kn(sp).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):bp("",!0),Object.keys(kn(sp).root.children).length?(Wi(),sc(A,{key:1,node:kn(sp).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):bp("",!0)])])}}});var Rb=Object.defineProperty,zb=Object.defineProperties,Wb=Object.getOwnPropertyDescriptors,Ep=Object.getOwnPropertySymbols,kg=Object.prototype.hasOwnProperty,Tg=Object.prototype.propertyIsEnumerable,Zd=(r,s,a)=>s in r?Rb(r,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[s]=a,Hb=(r,s)=>{for(var a in s||(s={}))kg.call(s,a)&&Zd(r,a,s[a]);if(Ep)for(var a of Ep(s))Tg.call(s,a)&&Zd(r,a,s[a]);return r},Ub=(r,s)=>zb(r,Wb(s)),$b=(r,s)=>{var a={};for(var l in r)kg.call(r,l)&&s.indexOf(l)<0&&(a[l]=r[l]);if(r!=null&&Ep)for(var l of Ep(r))s.indexOf(l)<0&&Tg.call(r,l)&&(a[l]=r[l]);return a};const Vb={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),A=Math.max(Math.min(this.getCurrentDragPercentage(r),f),l);let K=[s,s+1],le=this.panes[K[0]]||null,ce=this.panes[K[1]]||null;const Se=le.max<100&&A>=le.max+a.prevPanesSize,Ne=ce.max<100&&A<=100-(ce.max+this.sumNextPanesSize(s+1));if(Se||Ne){Se?(le.size=le.max,ce.size=Math.max(100-le.max-a.prevPanesSize-a.nextPanesSize,0)):(le.size=Math.max(100-ce.max-a.prevPanesSize-this.sumNextPanesSize(s+1),0),ce.size=ce.max);return}if(this.pushOtherPanes){const Re=this.doPushOtherPanes(a,A);if(!Re)return;({sums:a,panesToResize:K}=Re),le=this.panes[K[0]]||null,ce=this.panes[K[1]]||null}le!==null&&(le.size=Math.min(Math.max(A-a.prevPanesSize-a.prevReachedMinPanes,le.min),le.max)),ce!==null&&(ce.size=Math.min(Math.max(100-A-a.nextPanesSize-a.nextReachedMinPanes,ce.min),ce.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,A)=>{A>l[0]&&A<=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,A)=>{A>0&&A<=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,A)=>{A>a&&A<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,A)=>{A<this.panesCount-1&&A>=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=A=>this.onMouseDown(A,l),typeof window!="undefined"&&"ontouchstart"in window&&(f.ontouchstart=A=>this.onMouseDown(A,l)),f.onclick=A=>this.onSplitterClick(A,l+1)),this.dblClickSplitter&&(f.ondblclick=A=>this.onSplitterDblClick(A,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=$b(s,["target"]);const f=this.indexedPanes[a._.uid];Object.entries(l).forEach(([A,K])=>f[A]=K)},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,A)=>f.index=A),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(Hb({},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(A=>{r-=A.size,A.size!==null&&l++,A.size>=A.max&&s.push(A.id),A.size<=A.min&&a.push(A.id)});let f=100;r>.1&&(this.panes.forEach(A=>{A.size===null&&(A.size=Math.max(Math.min(r/(this.panesCount-l),A.max),A.min)),f-=A.size}),f>.1&&this.readjustSizes(r,s,a))},equalizeAfterAddOrRemove({addedPane:r,removedPane:s}={}){let a=100/this.panesCount,l=0,f=[],A=[];r&&r.givenSize!==null&&(a=(100-r.givenSize)/(this.panesCount-1)),this.panes.forEach(K=>{l-=K.size,K.size>=K.max&&f.push(K.id),K.size<=K.min&&A.push(K.id)}),!(Math.abs(l)<.1)&&(this.panes.forEach(K=>{r&&r.givenSize!==null&&r.id===K.id||(K.size=Math.max(Math.min(a,K.max),K.min)),l-=K.size,K.size>=K.max&&f.push(K.id),K.size<=K.min&&A.push(K.id)}),l>.1&&this.readjustSizes(l,f,A))},readjustSizes(r,s,a){let l;r>0?l=r/(this.panesCount-s.length):l=r/(this.panesCount-a.length),this.panes.forEach((f,A)=>{if(r>0&&!s.includes(f.id)){const K=Math.max(Math.min(f.size+l,f.max),f.min);r-=K-f.size,f.size=K}else if(!a.includes(f.id)){const K=Math.max(Math.min(f.size+l,f.max),f.min);r-=K-f.size,f.size=K}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 Gb=(r,s)=>{const a=r.__vccOpts||r;for(const[l,f]of s)a[l]=f;return a};const qb={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 Kb(r,s,a,l,f,A){return Wi(),Do("div",{class:"splitpanes__pane",onClick:s[0]||(s[0]=K=>A.onPaneClick(K,r._.uid)),style:Qc(r.style)},[mp(r.$slots,"default")],4)}var eh=Gb(qb,[["render",Kb]]);const Jb={"h-screen":"","w-screen":"","of-hidden":""},Yb={"h-full":"","of-hidden":""},Xb=Qs({name:"App",setup(r){return(s,a)=>{const l=Lb,f=gp("RouterView");return Wi(),Do("div",Jb,[Ai(kn(Vb),null,{default:Ma(()=>[Ai(kn(eh),{size:"20","push-other-panes":!1},{default:Ma(()=>[Ai(l)]),_:1}),Ai(kn(eh),{size:"80"},{default:Ma(()=>[Mn("div",Yb,[Ai(f)])]),_:1})]),_:1})])}}}),Ng=uy(Xb);Ng.use(yb({history:OD(),routes:dD}));Ng.mount("#app");export{s0 as A,iy as B,Vb as C,Ov as D,Fv as E,Db as F,Ev as _,Ry as a,Ai as b,Do as c,Qs as d,Mn as e,r1 as f,kn as g,Dv as h,qi as i,cg as j,sc as k,e1 as l,dv as m,Qc as n,Wi as o,t1 as p,Zb as q,no as r,Mv as s,Om as t,Pv as u,qs as v,Ma as w,$o as x,bp as y,eh as z};